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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot 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 gcc_version 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.8"
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 # Keeping the `.' argument allows $(mkdir_p) to be used without
1579 # argument. Indeed, we sometimes output rules like
1580 # $(mkdir_p) $(somedir)
1581 # where $(somedir) is conditionally defined.
1582 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1583 # expensive solution, as it forces Make to start a sub-shell.)
1584 mkdir_p
='mkdir -p -- .'
1586 # On NextStep and OpenStep, the `mkdir' command does not
1587 # recognize any option. It will interpret all options as
1588 # directories to create, and then abort because `.' already
1590 for d
in .
/-p .
/--version;
1592 test -d $d && rmdir $d
1594 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1595 if test -f "$ac_aux_dir/mkinstalldirs"; then
1596 mkdir_p
='$(mkinstalldirs)'
1598 mkdir_p
='$(install_sh) -d'
1602 for ac_prog
in gawk mawk nawk
awk
1604 # Extract the first word of "$ac_prog", so it can be a program name with args.
1605 set dummy
$ac_prog; ac_word
=$2
1606 echo "$as_me:$LINENO: checking for $ac_word" >&5
1607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1608 if test "${ac_cv_prog_AWK+set}" = set; then
1609 echo $ECHO_N "(cached) $ECHO_C" >&6
1611 if test -n "$AWK"; then
1612 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1618 test -z "$as_dir" && as_dir
=.
1619 for ac_exec_ext
in '' $ac_executable_extensions; do
1620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1621 ac_cv_prog_AWK
="$ac_prog"
1622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1631 if test -n "$AWK"; then
1632 echo "$as_me:$LINENO: result: $AWK" >&5
1633 echo "${ECHO_T}$AWK" >&6
1635 echo "$as_me:$LINENO: result: no" >&5
1636 echo "${ECHO_T}no" >&6
1639 test -n "$AWK" && break
1642 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1643 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1644 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1645 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1646 echo $ECHO_N "(cached) $ECHO_C" >&6
1648 cat >conftest.
make <<\_ACEOF
1650 @
echo 'ac_maketemp="$(MAKE)"'
1652 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1653 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1654 if test -n "$ac_maketemp"; then
1655 eval ac_cv_prog_make_
${ac_make}_set
=yes
1657 eval ac_cv_prog_make_
${ac_make}_set
=no
1661 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1662 echo "$as_me:$LINENO: result: yes" >&5
1663 echo "${ECHO_T}yes" >&6
1666 echo "$as_me:$LINENO: result: no" >&5
1667 echo "${ECHO_T}no" >&6
1668 SET_MAKE
="MAKE=${MAKE-make}"
1671 rm -rf .tst
2>/dev
/null
1672 mkdir .tst
2>/dev
/null
1673 if test -d .tst
; then
1678 rmdir .tst
2>/dev
/null
1680 # test to see if srcdir already configured
1681 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1682 test -f $srcdir/config.status
; then
1683 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1684 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1685 { (exit 1); exit 1; }; }
1688 # test whether we have cygpath
1689 if test -z "$CYGPATH_W"; then
1690 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1691 CYGPATH_W
='cygpath -w'
1698 # Define the identity of the package.
1699 PACKAGE
='libmudflap'
1703 cat >>confdefs.h
<<_ACEOF
1704 #define PACKAGE "$PACKAGE"
1708 cat >>confdefs.h
<<_ACEOF
1709 #define VERSION "$VERSION"
1712 # Some tools Automake needs.
1714 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1717 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1720 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1723 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1726 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1729 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1731 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1733 # Installed binaries are usually stripped using `strip' when the user
1734 # run `make install-strip'. However `strip' might not be the right
1735 # tool to use in cross-compilation environments, therefore Automake
1736 # will honor the `STRIP' environment variable to overrule this program.
1737 if test "$cross_compiling" != no
; then
1738 if test -n "$ac_tool_prefix"; then
1739 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1740 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1741 echo "$as_me:$LINENO: checking for $ac_word" >&5
1742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1743 if test "${ac_cv_prog_STRIP+set}" = set; then
1744 echo $ECHO_N "(cached) $ECHO_C" >&6
1746 if test -n "$STRIP"; then
1747 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1753 test -z "$as_dir" && as_dir
=.
1754 for ac_exec_ext
in '' $ac_executable_extensions; do
1755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1756 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1765 STRIP
=$ac_cv_prog_STRIP
1766 if test -n "$STRIP"; then
1767 echo "$as_me:$LINENO: result: $STRIP" >&5
1768 echo "${ECHO_T}$STRIP" >&6
1770 echo "$as_me:$LINENO: result: no" >&5
1771 echo "${ECHO_T}no" >&6
1775 if test -z "$ac_cv_prog_STRIP"; then
1777 # Extract the first word of "strip", so it can be a program name with args.
1778 set dummy strip
; ac_word
=$2
1779 echo "$as_me:$LINENO: checking for $ac_word" >&5
1780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1781 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1782 echo $ECHO_N "(cached) $ECHO_C" >&6
1784 if test -n "$ac_ct_STRIP"; then
1785 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1791 test -z "$as_dir" && as_dir
=.
1792 for ac_exec_ext
in '' $ac_executable_extensions; do
1793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1794 ac_cv_prog_ac_ct_STRIP
="strip"
1795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1804 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1805 if test -n "$ac_ct_STRIP"; then
1806 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1807 echo "${ECHO_T}$ac_ct_STRIP" >&6
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1815 STRIP
="$ac_cv_prog_STRIP"
1819 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1821 # We need awk for the "check" target. The system "awk" is bad on
1827 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1828 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1829 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1830 if test "${enable_version_specific_runtime_libs+set}" = set; then
1831 enableval
="$enable_version_specific_runtime_libs"
1832 case "$enableval" in
1833 yes) version_specific_libs
=yes ;;
1834 no
) version_specific_libs
=no
;;
1835 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1836 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1837 { (exit 1); exit 1; }; };;
1840 version_specific_libs
=no
1842 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1843 echo "${ECHO_T}$version_specific_libs" >&6
1845 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1846 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1847 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1848 if test "${enable_maintainer_mode+set}" = set; then
1849 enableval
="$enable_maintainer_mode"
1850 USE_MAINTAINER_MODE
=$enableval
1852 USE_MAINTAINER_MODE
=no
1854 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1855 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1858 if test $USE_MAINTAINER_MODE = yes; then
1859 MAINTAINER_MODE_TRUE
=
1860 MAINTAINER_MODE_FALSE
='#'
1862 MAINTAINER_MODE_TRUE
='#'
1863 MAINTAINER_MODE_FALSE
=
1866 MAINT
=$MAINTAINER_MODE_TRUE
1871 # Default to --enable-multilib
1872 # Check whether --enable-multilib or --disable-multilib was given.
1873 if test "${enable_multilib+set}" = set; then
1874 enableval
="$enable_multilib"
1875 case "$enableval" in
1876 yes) multilib
=yes ;;
1878 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1879 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1880 { (exit 1); exit 1; }; } ;;
1886 # We may get other options which we leave undocumented:
1887 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1888 # See config-ml.in if you want the gory details.
1890 if test "$srcdir" = "."; then
1891 if test "$with_target_subdir" != "."; then
1892 multi_basedir
="$srcdir/$with_multisrctop../.."
1894 multi_basedir
="$srcdir/$with_multisrctop.."
1897 multi_basedir
="$srcdir/.."
1901 ac_config_commands
="$ac_config_commands default-1"
1904 target_alias
=${target_alias-$target}
1907 ac_config_headers
="$ac_config_headers config.h"
1911 ac_cpp
='$CPP $CPPFLAGS'
1912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1916 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1917 # We must force CC to /not/ be precious variables; otherwise
1918 # the wrong, non-multilib-adjusted value will be used in multilibs.
1919 # As a side effect, we have to subst CFLAGS ourselves.
1924 ac_cpp
='$CPP $CPPFLAGS'
1925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1928 if test -n "$ac_tool_prefix"; then
1929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1930 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1931 echo "$as_me:$LINENO: checking for $ac_word" >&5
1932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1933 if test "${ac_cv_prog_CC+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 if test -n "$CC"; then
1937 ac_cv_prog_CC
="$CC" # Let the user override the test.
1939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1943 test -z "$as_dir" && as_dir
=.
1944 for ac_exec_ext
in '' $ac_executable_extensions; do
1945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1946 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1956 if test -n "$CC"; then
1957 echo "$as_me:$LINENO: result: $CC" >&5
1958 echo "${ECHO_T}$CC" >&6
1960 echo "$as_me:$LINENO: result: no" >&5
1961 echo "${ECHO_T}no" >&6
1965 if test -z "$ac_cv_prog_CC"; then
1967 # Extract the first word of "gcc", so it can be a program name with args.
1968 set dummy gcc
; ac_word
=$2
1969 echo "$as_me:$LINENO: checking for $ac_word" >&5
1970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1971 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 if test -n "$ac_ct_CC"; then
1975 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1981 test -z "$as_dir" && as_dir
=.
1982 for ac_exec_ext
in '' $ac_executable_extensions; do
1983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1984 ac_cv_prog_ac_ct_CC
="gcc"
1985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1994 if test -n "$ac_ct_CC"; then
1995 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1996 echo "${ECHO_T}$ac_ct_CC" >&6
1998 echo "$as_me:$LINENO: result: no" >&5
1999 echo "${ECHO_T}no" >&6
2007 if test -z "$CC"; then
2008 if test -n "$ac_tool_prefix"; then
2009 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2010 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2011 echo "$as_me:$LINENO: checking for $ac_word" >&5
2012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2013 if test "${ac_cv_prog_CC+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 if test -n "$CC"; then
2017 ac_cv_prog_CC
="$CC" # Let the user override the test.
2019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2023 test -z "$as_dir" && as_dir
=.
2024 for ac_exec_ext
in '' $ac_executable_extensions; do
2025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2026 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2036 if test -n "$CC"; then
2037 echo "$as_me:$LINENO: result: $CC" >&5
2038 echo "${ECHO_T}$CC" >&6
2040 echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6
2045 if test -z "$ac_cv_prog_CC"; then
2047 # Extract the first word of "cc", so it can be a program name with args.
2048 set dummy cc
; ac_word
=$2
2049 echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 if test -n "$ac_ct_CC"; then
2055 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir
=.
2062 for ac_exec_ext
in '' $ac_executable_extensions; do
2063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2064 ac_cv_prog_ac_ct_CC
="cc"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2074 if test -n "$ac_ct_CC"; then
2075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2076 echo "${ECHO_T}$ac_ct_CC" >&6
2078 echo "$as_me:$LINENO: result: no" >&5
2079 echo "${ECHO_T}no" >&6
2088 if test -z "$CC"; then
2089 # Extract the first word of "cc", so it can be a program name with args.
2090 set dummy cc
; ac_word
=$2
2091 echo "$as_me:$LINENO: checking for $ac_word" >&5
2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2093 if test "${ac_cv_prog_CC+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 if test -n "$CC"; then
2097 ac_cv_prog_CC
="$CC" # Let the user override the test.
2100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2104 test -z "$as_dir" && as_dir
=.
2105 for ac_exec_ext
in '' $ac_executable_extensions; do
2106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2107 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2108 ac_prog_rejected
=yes
2112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 if test $ac_prog_rejected = yes; then
2119 # We found a bogon in the path, so make sure we never use it.
2120 set dummy
$ac_cv_prog_CC
2122 if test $# != 0; then
2123 # We chose a different compiler from the bogus one.
2124 # However, it has the same basename, so the bogon will be chosen
2125 # first if we set CC to just the basename; use the full file name.
2127 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2133 if test -n "$CC"; then
2134 echo "$as_me:$LINENO: result: $CC" >&5
2135 echo "${ECHO_T}$CC" >&6
2137 echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6
2142 if test -z "$CC"; then
2143 if test -n "$ac_tool_prefix"; then
2146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2147 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2148 echo "$as_me:$LINENO: checking for $ac_word" >&5
2149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2150 if test "${ac_cv_prog_CC+set}" = set; then
2151 echo $ECHO_N "(cached) $ECHO_C" >&6
2153 if test -n "$CC"; then
2154 ac_cv_prog_CC
="$CC" # Let the user override the test.
2156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2160 test -z "$as_dir" && as_dir
=.
2161 for ac_exec_ext
in '' $ac_executable_extensions; do
2162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2163 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 if test -n "$CC"; then
2174 echo "$as_me:$LINENO: result: $CC" >&5
2175 echo "${ECHO_T}$CC" >&6
2177 echo "$as_me:$LINENO: result: no" >&5
2178 echo "${ECHO_T}no" >&6
2181 test -n "$CC" && break
2184 if test -z "$CC"; then
2188 # Extract the first word of "$ac_prog", so it can be a program name with args.
2189 set dummy
$ac_prog; ac_word
=$2
2190 echo "$as_me:$LINENO: checking for $ac_word" >&5
2191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2192 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2193 echo $ECHO_N "(cached) $ECHO_C" >&6
2195 if test -n "$ac_ct_CC"; then
2196 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2202 test -z "$as_dir" && as_dir
=.
2203 for ac_exec_ext
in '' $ac_executable_extensions; do
2204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2205 ac_cv_prog_ac_ct_CC
="$ac_prog"
2206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2214 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2215 if test -n "$ac_ct_CC"; then
2216 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2217 echo "${ECHO_T}$ac_ct_CC" >&6
2219 echo "$as_me:$LINENO: result: no" >&5
2220 echo "${ECHO_T}no" >&6
2223 test -n "$ac_ct_CC" && break
2232 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2233 See \`config.log' for more details." >&5
2234 echo "$as_me: error: no acceptable C compiler found in \$PATH
2235 See \`config.log' for more details." >&2;}
2236 { (exit 1); exit 1; }; }
2238 # Provide some information about the compiler.
2239 echo "$as_me:$LINENO:" \
2240 "checking for C compiler version" >&5
2241 ac_compiler
=`set X $ac_compile; echo $2`
2242 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2243 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }
2247 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2248 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); }
2252 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2253 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); }
2258 cat >conftest.
$ac_ext <<_ACEOF
2261 cat confdefs.h
>>conftest.
$ac_ext
2262 cat >>conftest.
$ac_ext <<_ACEOF
2263 /* end confdefs.h. */
2273 ac_clean_files_save
=$ac_clean_files
2274 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2275 # Try to create an executable without -o first, disregard a.out.
2276 # It will help us diagnose broken compilers, and finding out an intuition
2278 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2279 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2280 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2281 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2282 (eval $ac_link_default) 2>&5
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); }; then
2286 # Find the output, starting from the most likely. This scheme is
2287 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2290 # Be careful to initialize this variable, since it used to be cached.
2291 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2293 # b.out is created by i960 compilers.
2294 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2296 test -f "$ac_file" ||
continue
2298 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2301 # This is the source file.
2304 # We found the default executable, but exeext='' is most
2308 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2309 # FIXME: I believe we export ac_cv_exeext for Libtool,
2310 # but it would be cool to find out if it's true. Does anybody
2311 # maintain Libtool? --akim.
2319 echo "$as_me: failed program was:" >&5
2320 sed 's/^/| /' conftest.
$ac_ext >&5
2322 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2323 See \`config.log' for more details." >&5
2324 echo "$as_me: error: C compiler cannot create executables
2325 See \`config.log' for more details." >&2;}
2326 { (exit 77); exit 77; }; }
2329 ac_exeext
=$ac_cv_exeext
2330 echo "$as_me:$LINENO: result: $ac_file" >&5
2331 echo "${ECHO_T}$ac_file" >&6
2333 # Check the compiler produces executables we can run. If not, either
2334 # the compiler is broken, or we cross compile.
2335 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2336 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2337 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2338 # If not cross compiling, check that we can run a simple program.
2339 if test "$cross_compiling" != yes; then
2340 if { ac_try
='./$ac_file'
2341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); }; }; then
2348 if test "$cross_compiling" = maybe
; then
2351 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2352 If you meant to cross compile, use \`--host'.
2353 See \`config.log' for more details." >&5
2354 echo "$as_me: error: cannot run C compiled programs.
2355 If you meant to cross compile, use \`--host'.
2356 See \`config.log' for more details." >&2;}
2357 { (exit 1); exit 1; }; }
2361 echo "$as_me:$LINENO: result: yes" >&5
2362 echo "${ECHO_T}yes" >&6
2364 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2365 ac_clean_files
=$ac_clean_files_save
2366 # Check the compiler produces executables we can run. If not, either
2367 # the compiler is broken, or we cross compile.
2368 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2369 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2370 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2371 echo "${ECHO_T}$cross_compiling" >&6
2373 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2374 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2376 (eval $ac_link) 2>&5
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); }; then
2380 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2381 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2382 # work properly (i.e., refer to `conftest.exe'), while it won't with
2384 for ac_file
in conftest.exe conftest conftest.
*; do
2385 test -f "$ac_file" ||
continue
2387 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2388 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2395 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2396 See \`config.log' for more details." >&5
2397 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2398 See \`config.log' for more details." >&2;}
2399 { (exit 1); exit 1; }; }
2402 rm -f conftest
$ac_cv_exeext
2403 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2404 echo "${ECHO_T}$ac_cv_exeext" >&6
2406 rm -f conftest.
$ac_ext
2407 EXEEXT
=$ac_cv_exeext
2409 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2410 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2411 if test "${ac_cv_objext+set}" = set; then
2412 echo $ECHO_N "(cached) $ECHO_C" >&6
2414 cat >conftest.
$ac_ext <<_ACEOF
2417 cat confdefs.h
>>conftest.
$ac_ext
2418 cat >>conftest.
$ac_ext <<_ACEOF
2419 /* end confdefs.h. */
2429 rm -f conftest.o conftest.obj
2430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2431 (eval $ac_compile) 2>&5
2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); }; then
2435 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2437 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2438 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2443 echo "$as_me: failed program was:" >&5
2444 sed 's/^/| /' conftest.
$ac_ext >&5
2446 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2447 See \`config.log' for more details." >&5
2448 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2449 See \`config.log' for more details." >&2;}
2450 { (exit 1); exit 1; }; }
2453 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2455 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2456 echo "${ECHO_T}$ac_cv_objext" >&6
2457 OBJEXT
=$ac_cv_objext
2459 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2460 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2461 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 cat >conftest.
$ac_ext <<_ACEOF
2467 cat confdefs.h
>>conftest.
$ac_ext
2468 cat >>conftest.
$ac_ext <<_ACEOF
2469 /* end confdefs.h. */
2482 rm -f conftest.
$ac_objext
2483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2484 (eval $ac_compile) 2>conftest.er1
2486 grep -v '^ *+' conftest.er1
>conftest.err
2488 cat conftest.err
>&5
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); } &&
2491 { ac_try
='test -z "$ac_c_werror_flag"
2492 || test ! -s conftest.err'
2493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); }; } &&
2498 { ac_try
='test -s conftest.$ac_objext'
2499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; }; then
2506 echo "$as_me: failed program was:" >&5
2507 sed 's/^/| /' conftest.
$ac_ext >&5
2511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2512 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2515 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2516 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2517 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2518 ac_test_CFLAGS
=${CFLAGS+set}
2519 ac_save_CFLAGS
=$CFLAGS
2521 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2522 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2523 if test "${ac_cv_prog_cc_g+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 cat >conftest.
$ac_ext <<_ACEOF
2529 cat confdefs.h
>>conftest.
$ac_ext
2530 cat >>conftest.
$ac_ext <<_ACEOF
2531 /* end confdefs.h. */
2541 rm -f conftest.
$ac_objext
2542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2543 (eval $ac_compile) 2>conftest.er1
2545 grep -v '^ *+' conftest.er1
>conftest.err
2547 cat conftest.err
>&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); } &&
2550 { ac_try
='test -z "$ac_c_werror_flag"
2551 || test ! -s conftest.err'
2552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 (exit $ac_status); }; } &&
2557 { ac_try
='test -s conftest.$ac_objext'
2558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }; }; then
2565 echo "$as_me: failed program was:" >&5
2566 sed 's/^/| /' conftest.
$ac_ext >&5
2570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2572 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2573 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2574 if test "$ac_test_CFLAGS" = set; then
2575 CFLAGS
=$ac_save_CFLAGS
2576 elif test $ac_cv_prog_cc_g = yes; then
2577 if test "$GCC" = yes; then
2583 if test "$GCC" = yes; then
2589 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2590 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2591 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2592 echo $ECHO_N "(cached) $ECHO_C" >&6
2594 ac_cv_prog_cc_stdc
=no
2596 cat >conftest.
$ac_ext <<_ACEOF
2599 cat confdefs.h
>>conftest.
$ac_ext
2600 cat >>conftest.
$ac_ext <<_ACEOF
2601 /* end confdefs.h. */
2604 #include <sys/types.h>
2605 #include <sys/stat.h>
2606 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2607 struct buf { int x; };
2608 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2609 static char *e (p, i)
2615 static char *f (char * (*g) (char **, int), char **p, ...)
2620 s = g (p, va_arg (v,int));
2625 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2626 function prototypes and stuff, but not '\xHH' hex character constants.
2627 These don't provoke an error unfortunately, instead are silently treated
2628 as 'x'. The following induces an error, until -std1 is added to get
2629 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2630 array size at least. It's necessary to write '\x00'==0 to get something
2631 that's true only with -std1. */
2632 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2634 int test (int i, double x);
2635 struct s1 {int (*f) (int a);};
2636 struct s2 {int (*f) (double a);};
2637 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2643 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2648 # Don't try gcc -ansi; that turns off useful extensions and
2649 # breaks some systems' header files.
2650 # AIX -qlanglvl=ansi
2651 # Ultrix and OSF/1 -std1
2652 # HP-UX 10.20 and later -Ae
2653 # HP-UX older versions -Aa -D_HPUX_SOURCE
2654 # SVR4 -Xc -D__EXTENSIONS__
2655 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2657 CC
="$ac_save_CC $ac_arg"
2658 rm -f conftest.
$ac_objext
2659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2660 (eval $ac_compile) 2>conftest.er1
2662 grep -v '^ *+' conftest.er1
>conftest.err
2664 cat conftest.err
>&5
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); } &&
2667 { ac_try
='test -z "$ac_c_werror_flag"
2668 || test ! -s conftest.err'
2669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2673 (exit $ac_status); }; } &&
2674 { ac_try
='test -s conftest.$ac_objext'
2675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); }; }; then
2680 ac_cv_prog_cc_stdc
=$ac_arg
2683 echo "$as_me: failed program was:" >&5
2684 sed 's/^/| /' conftest.
$ac_ext >&5
2687 rm -f conftest.err conftest.
$ac_objext
2689 rm -f conftest.
$ac_ext conftest.
$ac_objext
2694 case "x$ac_cv_prog_cc_stdc" in
2696 echo "$as_me:$LINENO: result: none needed" >&5
2697 echo "${ECHO_T}none needed" >&6 ;;
2699 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2700 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2701 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2704 # Some people use a C++ compiler to compile C. Since we use `exit',
2705 # in C++ we need to declare it. In case someone uses the same compiler
2706 # for both compiling C and C++ we need to have the C++ compiler decide
2707 # the declaration of exit, since it's the most demanding environment.
2708 cat >conftest.
$ac_ext <<_ACEOF
2713 rm -f conftest.
$ac_objext
2714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2715 (eval $ac_compile) 2>conftest.er1
2717 grep -v '^ *+' conftest.er1
>conftest.err
2719 cat conftest.err
>&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } &&
2722 { ac_try
='test -z "$ac_c_werror_flag"
2723 || test ! -s conftest.err'
2724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; } &&
2729 { ac_try
='test -s conftest.$ac_objext'
2730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); }; }; then
2735 for ac_declaration
in \
2737 'extern "C" void std::exit (int) throw (); using std::exit;' \
2738 'extern "C" void std::exit (int); using std::exit;' \
2739 'extern "C" void exit (int) throw ();' \
2740 'extern "C" void exit (int);' \
2743 cat >conftest.
$ac_ext <<_ACEOF
2746 cat confdefs.h
>>conftest.
$ac_ext
2747 cat >>conftest.
$ac_ext <<_ACEOF
2748 /* end confdefs.h. */
2759 rm -f conftest.
$ac_objext
2760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2761 (eval $ac_compile) 2>conftest.er1
2763 grep -v '^ *+' conftest.er1
>conftest.err
2765 cat conftest.err
>&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); } &&
2768 { ac_try
='test -z "$ac_c_werror_flag"
2769 || test ! -s conftest.err'
2770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }; } &&
2775 { ac_try
='test -s conftest.$ac_objext'
2776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); }; }; then
2783 echo "$as_me: failed program was:" >&5
2784 sed 's/^/| /' conftest.
$ac_ext >&5
2788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2789 cat >conftest.
$ac_ext <<_ACEOF
2792 cat confdefs.h
>>conftest.
$ac_ext
2793 cat >>conftest.
$ac_ext <<_ACEOF
2794 /* end confdefs.h. */
2804 rm -f conftest.
$ac_objext
2805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2806 (eval $ac_compile) 2>conftest.er1
2808 grep -v '^ *+' conftest.er1
>conftest.err
2810 cat conftest.err
>&5
2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); } &&
2813 { ac_try
='test -z "$ac_c_werror_flag"
2814 || test ! -s conftest.err'
2815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); }; } &&
2820 { ac_try
='test -s conftest.$ac_objext'
2821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825 (exit $ac_status); }; }; then
2828 echo "$as_me: failed program was:" >&5
2829 sed 's/^/| /' conftest.
$ac_ext >&5
2832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2835 if test -n "$ac_declaration"; then
2836 echo '#ifdef __cplusplus' >>confdefs.h
2837 echo $ac_declaration >>confdefs.h
2838 echo '#endif' >>confdefs.h
2842 echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.
$ac_ext >&5
2846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2848 ac_cpp
='$CPP $CPPFLAGS'
2849 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2850 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2851 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2852 DEPDIR
="${am__leading_dot}deps"
2854 ac_config_commands
="$ac_config_commands depfiles"
2857 am_make
=${MAKE-make}
2858 cat > confinc
<< 'END'
2863 # If we don't find an include directive, just comment out the code.
2864 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2865 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2869 # First try GNU make style include.
2870 echo "include confinc" > confmf
2871 # We grep out `Entering directory' and `Leaving directory'
2872 # messages which can occur if `w' ends up in MAKEFLAGS.
2873 # In particular we don't look at `^make:' because GNU make might
2874 # be invoked under some other name (usually "gmake"), in which
2875 # case it prints its new name instead of `make'.
2876 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2881 # Now try BSD make style include.
2882 if test "$am__include" = "#"; then
2883 echo '.include "confinc"' > confmf
2884 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2885 am__include
=.include
2892 echo "$as_me:$LINENO: result: $_am_result" >&5
2893 echo "${ECHO_T}$_am_result" >&6
2894 rm -f confinc confmf
2896 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2897 if test "${enable_dependency_tracking+set}" = set; then
2898 enableval
="$enable_dependency_tracking"
2901 if test "x$enable_dependency_tracking" != xno
; then
2902 am_depcomp
="$ac_aux_dir/depcomp"
2907 if test "x$enable_dependency_tracking" != xno; then
2918 depcc
="$CC" am_compiler_list
=
2920 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2921 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2922 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2923 echo $ECHO_N "(cached) $ECHO_C" >&6
2925 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2926 # We make a subdir and do the tests there. Otherwise we can end up
2927 # making bogus files that we don't know about and never remove. For
2928 # instance it was reported that on HP-UX the gcc test will end up
2929 # making a dummy file named `D' -- because `-MD' means `put the output
2932 # Copy depcomp to subdir because otherwise we won't find it if we're
2933 # using a relative directory.
2934 cp "$am_depcomp" conftest.dir
2936 # We will build objects and dependencies in a subdirectory because
2937 # it helps to detect inapplicable dependency modes. For instance
2938 # both Tru64's cc and ICC support -MD to output dependencies as a
2939 # side effect of compilation, but ICC will put the dependencies in
2940 # the current directory while Tru64 will put them in the object
2944 am_cv_CC_dependencies_compiler_type
=none
2945 if test "$am_compiler_list" = ""; then
2946 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2948 for depmode
in $am_compiler_list; do
2949 # Setup a source with many dependencies, because some compilers
2950 # like to wrap large dependency lists on column 80 (with \), and
2951 # we should not choose a depcomp mode which is confused by this.
2953 # We need to recreate these files for each test, as the compiler may
2954 # overwrite some of them when testing with obscure command lines.
2955 # This happens at least with the AIX C compiler.
2957 for i
in 1 2 3 4 5 6; do
2958 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2959 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2960 # Solaris 8's {/usr,}/bin/sh.
2961 touch sub
/conftst
$i.h
2963 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2967 # after this tag, mechanisms are not by side-effect, so they'll
2968 # only be used when explicitly requested
2969 if test "x$enable_dependency_tracking" = xyes
; then
2977 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2978 # mode. It turns out that the SunPro C++ compiler does not properly
2979 # handle `-M -o', and we need to detect this.
2980 if depmode
=$depmode \
2981 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2982 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2983 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2984 >/dev
/null
2>conftest.err
&&
2985 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2986 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2987 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2988 # icc doesn't choke on unknown options, it will just issue warnings
2989 # or remarks (even with -Werror). So we grep stderr for any message
2990 # that says an option was ignored or not supported.
2991 # When given -MP, icc 7.0 and 7.1 complain thusly:
2992 # icc: Command line warning: ignoring option '-M'; no argument required
2993 # The diagnosis changed in icc 8.0:
2994 # icc: Command line remark: option '-MP' not supported
2995 if (grep 'ignoring option' conftest.err ||
2996 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2997 am_cv_CC_dependencies_compiler_type
=$depmode
3006 am_cv_CC_dependencies_compiler_type
=none
3010 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3011 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3012 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3017 test "x$enable_dependency_tracking" != xno \
3018 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3020 am__fastdepCC_FALSE
='#'
3022 am__fastdepCC_TRUE
='#'
3023 am__fastdepCC_FALSE
=
3031 if test "x$GCC" != "xyes"; then
3032 { { echo "$as_me:$LINENO: error: libmudflap must be built with GCC" >&5
3033 echo "$as_me: error: libmudflap must be built with GCC" >&2;}
3034 { (exit 1); exit 1; }; }
3037 ac_cpp
='$CPP $CPPFLAGS'
3038 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3039 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3040 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3041 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3042 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3043 # On Suns, sometimes $CPP names a directory.
3044 if test -n "$CPP" && test -d "$CPP"; then
3047 if test -z "$CPP"; then
3048 if test "${ac_cv_prog_CPP+set}" = set; then
3049 echo $ECHO_N "(cached) $ECHO_C" >&6
3051 # Double quotes because CPP needs to be expanded
3052 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3055 for ac_c_preproc_warn_flag
in '' yes
3057 # Use a header file that comes with gcc, so configuring glibc
3058 # with a fresh cross-compiler works.
3059 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3060 # <limits.h> exists even on freestanding compilers.
3061 # On the NeXT, cc -E runs the code through the compiler's parser,
3062 # not just through cpp. "Syntax error" is here to catch this case.
3063 cat >conftest.
$ac_ext <<_ACEOF
3066 cat confdefs.h
>>conftest.
$ac_ext
3067 cat >>conftest.
$ac_ext <<_ACEOF
3068 /* end confdefs.h. */
3070 # include <limits.h>
3072 # include <assert.h>
3076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3077 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3079 grep -v '^ *+' conftest.er1
>conftest.err
3081 cat conftest.err
>&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } >/dev
/null
; then
3084 if test -s conftest.err
; then
3085 ac_cpp_err
=$ac_c_preproc_warn_flag
3086 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3093 if test -z "$ac_cpp_err"; then
3096 echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.
$ac_ext >&5
3099 # Broken: fails on valid input.
3102 rm -f conftest.err conftest.
$ac_ext
3104 # OK, works on sane cases. Now check whether non-existent headers
3105 # can be detected and how.
3106 cat >conftest.
$ac_ext <<_ACEOF
3109 cat confdefs.h
>>conftest.
$ac_ext
3110 cat >>conftest.
$ac_ext <<_ACEOF
3111 /* end confdefs.h. */
3112 #include <ac_nonexistent.h>
3114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3115 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3117 grep -v '^ *+' conftest.er1
>conftest.err
3119 cat conftest.err
>&5
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); } >/dev
/null
; then
3122 if test -s conftest.err
; then
3123 ac_cpp_err
=$ac_c_preproc_warn_flag
3124 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3131 if test -z "$ac_cpp_err"; then
3132 # Broken: success on invalid input.
3135 echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.
$ac_ext >&5
3138 # Passes both tests.
3142 rm -f conftest.err conftest.
$ac_ext
3145 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3146 rm -f conftest.err conftest.
$ac_ext
3147 if $ac_preproc_ok; then
3159 echo "$as_me:$LINENO: result: $CPP" >&5
3160 echo "${ECHO_T}$CPP" >&6
3162 for ac_c_preproc_warn_flag
in '' yes
3164 # Use a header file that comes with gcc, so configuring glibc
3165 # with a fresh cross-compiler works.
3166 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3167 # <limits.h> exists even on freestanding compilers.
3168 # On the NeXT, cc -E runs the code through the compiler's parser,
3169 # not just through cpp. "Syntax error" is here to catch this case.
3170 cat >conftest.
$ac_ext <<_ACEOF
3173 cat confdefs.h
>>conftest.
$ac_ext
3174 cat >>conftest.
$ac_ext <<_ACEOF
3175 /* end confdefs.h. */
3177 # include <limits.h>
3179 # include <assert.h>
3183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3184 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3186 grep -v '^ *+' conftest.er1
>conftest.err
3188 cat conftest.err
>&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); } >/dev
/null
; then
3191 if test -s conftest.err
; then
3192 ac_cpp_err
=$ac_c_preproc_warn_flag
3193 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3200 if test -z "$ac_cpp_err"; then
3203 echo "$as_me: failed program was:" >&5
3204 sed 's/^/| /' conftest.
$ac_ext >&5
3206 # Broken: fails on valid input.
3209 rm -f conftest.err conftest.
$ac_ext
3211 # OK, works on sane cases. Now check whether non-existent headers
3212 # can be detected and how.
3213 cat >conftest.
$ac_ext <<_ACEOF
3216 cat confdefs.h
>>conftest.
$ac_ext
3217 cat >>conftest.
$ac_ext <<_ACEOF
3218 /* end confdefs.h. */
3219 #include <ac_nonexistent.h>
3221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3222 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3224 grep -v '^ *+' conftest.er1
>conftest.err
3226 cat conftest.err
>&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } >/dev
/null
; then
3229 if test -s conftest.err
; then
3230 ac_cpp_err
=$ac_c_preproc_warn_flag
3231 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3238 if test -z "$ac_cpp_err"; then
3239 # Broken: success on invalid input.
3242 echo "$as_me: failed program was:" >&5
3243 sed 's/^/| /' conftest.
$ac_ext >&5
3245 # Passes both tests.
3249 rm -f conftest.err conftest.
$ac_ext
3252 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3253 rm -f conftest.err conftest.
$ac_ext
3254 if $ac_preproc_ok; then
3257 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3258 See \`config.log' for more details." >&5
3259 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3260 See \`config.log' for more details." >&2;}
3261 { (exit 1); exit 1; }; }
3265 ac_cpp
='$CPP $CPPFLAGS'
3266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3271 # Some hosts don't have dlsym(RTLD_NEXT, "symbol") for use in
3272 # symbol interposition. We disable shared libraries for these.
3273 echo "$as_me:$LINENO: checking whether dlsym(RTLD_NEXT,...) is available" >&5
3274 echo $ECHO_N "checking whether dlsym(RTLD_NEXT,...) is available... $ECHO_C" >&6
3276 cat >conftest.
$ac_ext <<_ACEOF
3279 cat confdefs.h
>>conftest.
$ac_ext
3280 cat >>conftest.
$ac_ext <<_ACEOF
3281 /* end confdefs.h. */
3289 void *foo = dlsym (RTLD_NEXT, "exit");
3294 rm -f conftest.
$ac_objext
3295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3296 (eval $ac_compile) 2>conftest.er1
3298 grep -v '^ *+' conftest.er1
>conftest.err
3300 cat conftest.err
>&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); } &&
3303 { ac_try
='test -z "$ac_c_werror_flag"
3304 || test ! -s conftest.err'
3305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); }; } &&
3310 { ac_try
='test -s conftest.$ac_objext'
3311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); }; }; then
3316 echo "$as_me:$LINENO: result: yes" >&5
3317 echo "${ECHO_T}yes" >&6
3319 echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.
$ac_ext >&5
3322 echo "$as_me:$LINENO: result: no" >&5
3323 echo "${ECHO_T}no" >&6
3326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3329 echo "$as_me:$LINENO: checking for egrep" >&5
3330 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3331 if test "${ac_cv_prog_egrep+set}" = set; then
3332 echo $ECHO_N "(cached) $ECHO_C" >&6
3334 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3335 then ac_cv_prog_egrep
='grep -E'
3336 else ac_cv_prog_egrep
='egrep'
3339 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3340 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3341 EGREP
=$ac_cv_prog_egrep
3344 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3345 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3346 if test "${ac_cv_header_stdc+set}" = set; then
3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 cat >conftest.
$ac_ext <<_ACEOF
3352 cat confdefs.h
>>conftest.
$ac_ext
3353 cat >>conftest.
$ac_ext <<_ACEOF
3354 /* end confdefs.h. */
3368 rm -f conftest.
$ac_objext
3369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3370 (eval $ac_compile) 2>conftest.er1
3372 grep -v '^ *+' conftest.er1
>conftest.err
3374 cat conftest.err
>&5
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); } &&
3377 { ac_try
='test -z "$ac_c_werror_flag"
3378 || test ! -s conftest.err'
3379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); }; } &&
3384 { ac_try
='test -s conftest.$ac_objext'
3385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); }; }; then
3390 ac_cv_header_stdc
=yes
3392 echo "$as_me: failed program was:" >&5
3393 sed 's/^/| /' conftest.
$ac_ext >&5
3395 ac_cv_header_stdc
=no
3397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3399 if test $ac_cv_header_stdc = yes; then
3400 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3401 cat >conftest.
$ac_ext <<_ACEOF
3404 cat confdefs.h
>>conftest.
$ac_ext
3405 cat >>conftest.
$ac_ext <<_ACEOF
3406 /* end confdefs.h. */
3410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3411 $EGREP "memchr" >/dev
/null
2>&1; then
3414 ac_cv_header_stdc
=no
3420 if test $ac_cv_header_stdc = yes; then
3421 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3422 cat >conftest.
$ac_ext <<_ACEOF
3425 cat confdefs.h
>>conftest.
$ac_ext
3426 cat >>conftest.
$ac_ext <<_ACEOF
3427 /* end confdefs.h. */
3431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3432 $EGREP "free" >/dev
/null
2>&1; then
3435 ac_cv_header_stdc
=no
3441 if test $ac_cv_header_stdc = yes; then
3442 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3443 if test "$cross_compiling" = yes; then
3446 cat >conftest.
$ac_ext <<_ACEOF
3449 cat confdefs.h
>>conftest.
$ac_ext
3450 cat >>conftest.
$ac_ext <<_ACEOF
3451 /* end confdefs.h. */
3453 #if ((' ' & 0x0FF) == 0x020)
3454 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3455 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3457 # define ISLOWER(c) \
3458 (('a' <= (c) && (c) <= 'i') \
3459 || ('j' <= (c) && (c) <= 'r') \
3460 || ('s' <= (c) && (c) <= 'z'))
3461 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3464 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3469 for (i = 0; i < 256; i++)
3470 if (XOR (islower (i), ISLOWER (i))
3471 || toupper (i) != TOUPPER (i))
3476 rm -f conftest
$ac_exeext
3477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3478 (eval $ac_link) 2>&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); }; }; then
3489 echo "$as_me: program exited with status $ac_status" >&5
3490 echo "$as_me: failed program was:" >&5
3491 sed 's/^/| /' conftest.
$ac_ext >&5
3494 ac_cv_header_stdc
=no
3496 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3500 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3501 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3502 if test $ac_cv_header_stdc = yes; then
3504 cat >>confdefs.h
<<\_ACEOF
3505 #define STDC_HEADERS 1
3510 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3520 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3521 inttypes.h stdint.h unistd.h
3523 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3524 echo "$as_me:$LINENO: checking for $ac_header" >&5
3525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3527 echo $ECHO_N "(cached) $ECHO_C" >&6
3529 cat >conftest.
$ac_ext <<_ACEOF
3532 cat confdefs.h
>>conftest.
$ac_ext
3533 cat >>conftest.
$ac_ext <<_ACEOF
3534 /* end confdefs.h. */
3535 $ac_includes_default
3537 #include <$ac_header>
3539 rm -f conftest.
$ac_objext
3540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3541 (eval $ac_compile) 2>conftest.er1
3543 grep -v '^ *+' conftest.er1
>conftest.err
3545 cat conftest.err
>&5
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); } &&
3548 { ac_try
='test -z "$ac_c_werror_flag"
3549 || test ! -s conftest.err'
3550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554 (exit $ac_status); }; } &&
3555 { ac_try
='test -s conftest.$ac_objext'
3556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); }; }; then
3561 eval "$as_ac_Header=yes"
3563 echo "$as_me: failed program was:" >&5
3564 sed 's/^/| /' conftest.
$ac_ext >&5
3566 eval "$as_ac_Header=no"
3568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3573 cat >>confdefs.h
<<_ACEOF
3574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3600 for ac_header
in stdint.h execinfo.h signal.h dlfcn.h dirent.h
pwd.h grp.h \
3601 netdb.h sys
/ipc.h sys
/sem.h sys
/shm.h sys
/wait.h ctype.h mntent.h \
3602 sys
/socket.h netinet
/in.h arpa
/inet.h dlfcn.h
3604 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3606 echo "$as_me:$LINENO: checking for $ac_header" >&5
3607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3609 echo $ECHO_N "(cached) $ECHO_C" >&6
3611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3614 # Is the header compilable?
3615 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3617 cat >conftest.
$ac_ext <<_ACEOF
3620 cat confdefs.h
>>conftest.
$ac_ext
3621 cat >>conftest.
$ac_ext <<_ACEOF
3622 /* end confdefs.h. */
3623 $ac_includes_default
3624 #include <$ac_header>
3626 rm -f conftest.
$ac_objext
3627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3628 (eval $ac_compile) 2>conftest.er1
3630 grep -v '^ *+' conftest.er1
>conftest.err
3632 cat conftest.err
>&5
3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); } &&
3635 { ac_try
='test -z "$ac_c_werror_flag"
3636 || test ! -s conftest.err'
3637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; } &&
3642 { ac_try
='test -s conftest.$ac_objext'
3643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); }; }; then
3648 ac_header_compiler
=yes
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.
$ac_ext >&5
3653 ac_header_compiler
=no
3655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3656 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3657 echo "${ECHO_T}$ac_header_compiler" >&6
3659 # Is the header present?
3660 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3661 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3662 cat >conftest.
$ac_ext <<_ACEOF
3665 cat confdefs.h
>>conftest.
$ac_ext
3666 cat >>conftest.
$ac_ext <<_ACEOF
3667 /* end confdefs.h. */
3668 #include <$ac_header>
3670 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3671 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3673 grep -v '^ *+' conftest.er1
>conftest.err
3675 cat conftest.err
>&5
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); } >/dev
/null
; then
3678 if test -s conftest.err
; then
3679 ac_cpp_err
=$ac_c_preproc_warn_flag
3680 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3687 if test -z "$ac_cpp_err"; then
3688 ac_header_preproc
=yes
3690 echo "$as_me: failed program was:" >&5
3691 sed 's/^/| /' conftest.
$ac_ext >&5
3693 ac_header_preproc
=no
3695 rm -f conftest.err conftest.
$ac_ext
3696 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3697 echo "${ECHO_T}$ac_header_preproc" >&6
3699 # So? What about this header?
3700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3702 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3703 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3705 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3706 ac_header_preproc
=yes
3709 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3710 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3711 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3712 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3713 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3714 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3715 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3716 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3718 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3719 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3720 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3723 ## ------------------------------------- ##
3724 ## Report this to the libmudflap lists. ##
3725 ## ------------------------------------- ##
3728 sed "s/^/$as_me: WARNING: /" >&2
3731 echo "$as_me:$LINENO: checking for $ac_header" >&5
3732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3734 echo $ECHO_N "(cached) $ECHO_C" >&6
3736 eval "$as_ac_Header=\$ac_header_preproc"
3738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3743 cat >>confdefs.h
<<_ACEOF
3744 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3756 for ac_func
in backtrace backtrace_symbols gettimeofday signal
3758 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3759 echo "$as_me:$LINENO: checking for $ac_func" >&5
3760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3761 if eval "test \"\${$as_ac_var+set}\" = set"; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 cat >conftest.
$ac_ext <<_ACEOF
3767 cat confdefs.h
>>conftest.
$ac_ext
3768 cat >>conftest.
$ac_ext <<_ACEOF
3769 /* end confdefs.h. */
3770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3772 #define $ac_func innocuous_$ac_func
3774 /* System header to define __stub macros and hopefully few prototypes,
3775 which can conflict with char $ac_func (); below.
3776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3777 <limits.h> exists even on freestanding compilers. */
3780 # include <limits.h>
3782 # include <assert.h>
3787 /* Override any gcc2 internal prototype to avoid an error. */
3792 /* We use char because int might match the return type of a gcc2
3793 builtin and then its argument prototype would still apply. */
3795 /* The GNU C library defines this for functions which it implements
3796 to always fail with ENOSYS. Some functions are actually named
3797 something starting with __ and the normal name is an alias. */
3798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3801 char (*f) () = $ac_func;
3810 return f != $ac_func;
3815 rm -f conftest.
$ac_objext conftest
$ac_exeext
3816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3817 (eval $ac_link) 2>conftest.er1
3819 grep -v '^ *+' conftest.er1
>conftest.err
3821 cat conftest.err
>&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); } &&
3824 { ac_try
='test -z "$ac_c_werror_flag"
3825 || test ! -s conftest.err'
3826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3830 (exit $ac_status); }; } &&
3831 { ac_try
='test -s conftest$ac_exeext'
3832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836 (exit $ac_status); }; }; then
3837 eval "$as_ac_var=yes"
3839 echo "$as_me: failed program was:" >&5
3840 sed 's/^/| /' conftest.
$ac_ext >&5
3842 eval "$as_ac_var=no"
3844 rm -f conftest.err conftest.
$ac_objext \
3845 conftest
$ac_exeext conftest.
$ac_ext
3847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3849 if test `eval echo '${'$as_ac_var'}'` = yes; then
3850 cat >>confdefs.h
<<_ACEOF
3851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3861 for ac_func
in fopen64 fseeko64 ftello64 stat64
3863 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3864 echo "$as_me:$LINENO: checking for $ac_func" >&5
3865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3866 if eval "test \"\${$as_ac_var+set}\" = set"; then
3867 echo $ECHO_N "(cached) $ECHO_C" >&6
3869 cat >conftest.
$ac_ext <<_ACEOF
3872 cat confdefs.h
>>conftest.
$ac_ext
3873 cat >>conftest.
$ac_ext <<_ACEOF
3874 /* end confdefs.h. */
3875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3877 #define $ac_func innocuous_$ac_func
3879 /* System header to define __stub macros and hopefully few prototypes,
3880 which can conflict with char $ac_func (); below.
3881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3882 <limits.h> exists even on freestanding compilers. */
3885 # include <limits.h>
3887 # include <assert.h>
3892 /* Override any gcc2 internal prototype to avoid an error. */
3897 /* We use char because int might match the return type of a gcc2
3898 builtin and then its argument prototype would still apply. */
3900 /* The GNU C library defines this for functions which it implements
3901 to always fail with ENOSYS. Some functions are actually named
3902 something starting with __ and the normal name is an alias. */
3903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3906 char (*f) () = $ac_func;
3915 return f != $ac_func;
3920 rm -f conftest.
$ac_objext conftest
$ac_exeext
3921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3922 (eval $ac_link) 2>conftest.er1
3924 grep -v '^ *+' conftest.er1
>conftest.err
3926 cat conftest.err
>&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); } &&
3929 { ac_try
='test -z "$ac_c_werror_flag"
3930 || test ! -s conftest.err'
3931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); }; } &&
3936 { ac_try
='test -s conftest$ac_exeext'
3937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941 (exit $ac_status); }; }; then
3942 eval "$as_ac_var=yes"
3944 echo "$as_me: failed program was:" >&5
3945 sed 's/^/| /' conftest.
$ac_ext >&5
3947 eval "$as_ac_var=no"
3949 rm -f conftest.err conftest.
$ac_objext \
3950 conftest
$ac_exeext conftest.
$ac_ext
3952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3954 if test `eval echo '${'$as_ac_var'}'` = yes; then
3955 cat >>confdefs.h
<<_ACEOF
3956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3967 for ac_func
in strnlen memrchr strncpy memmem sethostname
3969 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3970 echo "$as_me:$LINENO: checking for $ac_func" >&5
3971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3972 if eval "test \"\${$as_ac_var+set}\" = set"; then
3973 echo $ECHO_N "(cached) $ECHO_C" >&6
3975 cat >conftest.
$ac_ext <<_ACEOF
3978 cat confdefs.h
>>conftest.
$ac_ext
3979 cat >>conftest.
$ac_ext <<_ACEOF
3980 /* end confdefs.h. */
3981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3983 #define $ac_func innocuous_$ac_func
3985 /* System header to define __stub macros and hopefully few prototypes,
3986 which can conflict with char $ac_func (); below.
3987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3988 <limits.h> exists even on freestanding compilers. */
3991 # include <limits.h>
3993 # include <assert.h>
3998 /* Override any gcc2 internal prototype to avoid an error. */
4003 /* We use char because int might match the return type of a gcc2
4004 builtin and then its argument prototype would still apply. */
4006 /* The GNU C library defines this for functions which it implements
4007 to always fail with ENOSYS. Some functions are actually named
4008 something starting with __ and the normal name is an alias. */
4009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4012 char (*f) () = $ac_func;
4021 return f != $ac_func;
4026 rm -f conftest.
$ac_objext conftest
$ac_exeext
4027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4028 (eval $ac_link) 2>conftest.er1
4030 grep -v '^ *+' conftest.er1
>conftest.err
4032 cat conftest.err
>&5
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); } &&
4035 { ac_try
='test -z "$ac_c_werror_flag"
4036 || test ! -s conftest.err'
4037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; } &&
4042 { ac_try
='test -s conftest$ac_exeext'
4043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); }; }; then
4048 eval "$as_ac_var=yes"
4050 echo "$as_me: failed program was:" >&5
4051 sed 's/^/| /' conftest.
$ac_ext >&5
4053 eval "$as_ac_var=no"
4055 rm -f conftest.err conftest.
$ac_objext \
4056 conftest
$ac_exeext conftest.
$ac_ext
4058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4060 if test `eval echo '${'$as_ac_var'}'` = yes; then
4061 cat >>confdefs.h
<<_ACEOF
4062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4071 for ac_func
in __ctype_b_loc __ctype_tolower_loc __ctype_toupper_loc
4073 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4074 echo "$as_me:$LINENO: checking for $ac_func" >&5
4075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4076 if eval "test \"\${$as_ac_var+set}\" = set"; then
4077 echo $ECHO_N "(cached) $ECHO_C" >&6
4079 cat >conftest.
$ac_ext <<_ACEOF
4082 cat confdefs.h
>>conftest.
$ac_ext
4083 cat >>conftest.
$ac_ext <<_ACEOF
4084 /* end confdefs.h. */
4085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4087 #define $ac_func innocuous_$ac_func
4089 /* System header to define __stub macros and hopefully few prototypes,
4090 which can conflict with char $ac_func (); below.
4091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4092 <limits.h> exists even on freestanding compilers. */
4095 # include <limits.h>
4097 # include <assert.h>
4102 /* Override any gcc2 internal prototype to avoid an error. */
4107 /* We use char because int might match the return type of a gcc2
4108 builtin and then its argument prototype would still apply. */
4110 /* The GNU C library defines this for functions which it implements
4111 to always fail with ENOSYS. Some functions are actually named
4112 something starting with __ and the normal name is an alias. */
4113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4116 char (*f) () = $ac_func;
4125 return f != $ac_func;
4130 rm -f conftest.
$ac_objext conftest
$ac_exeext
4131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4132 (eval $ac_link) 2>conftest.er1
4134 grep -v '^ *+' conftest.er1
>conftest.err
4136 cat conftest.err
>&5
4137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138 (exit $ac_status); } &&
4139 { ac_try
='test -z "$ac_c_werror_flag"
4140 || test ! -s conftest.err'
4141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145 (exit $ac_status); }; } &&
4146 { ac_try
='test -s conftest$ac_exeext'
4147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151 (exit $ac_status); }; }; then
4152 eval "$as_ac_var=yes"
4154 echo "$as_me: failed program was:" >&5
4155 sed 's/^/| /' conftest.
$ac_ext >&5
4157 eval "$as_ac_var=no"
4159 rm -f conftest.err conftest.
$ac_objext \
4160 conftest
$ac_exeext conftest.
$ac_ext
4162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4164 if test `eval echo '${'$as_ac_var'}'` = yes; then
4165 cat >>confdefs.h
<<_ACEOF
4166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4180 for ac_func
in getlogin cuserid getpwnam getpwuid getpwent getgrnam getgrgid getgrent
4182 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4183 echo "$as_me:$LINENO: checking for $ac_func" >&5
4184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4185 if eval "test \"\${$as_ac_var+set}\" = set"; then
4186 echo $ECHO_N "(cached) $ECHO_C" >&6
4188 cat >conftest.
$ac_ext <<_ACEOF
4191 cat confdefs.h
>>conftest.
$ac_ext
4192 cat >>conftest.
$ac_ext <<_ACEOF
4193 /* end confdefs.h. */
4194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4196 #define $ac_func innocuous_$ac_func
4198 /* System header to define __stub macros and hopefully few prototypes,
4199 which can conflict with char $ac_func (); below.
4200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4201 <limits.h> exists even on freestanding compilers. */
4204 # include <limits.h>
4206 # include <assert.h>
4211 /* Override any gcc2 internal prototype to avoid an error. */
4216 /* We use char because int might match the return type of a gcc2
4217 builtin and then its argument prototype would still apply. */
4219 /* The GNU C library defines this for functions which it implements
4220 to always fail with ENOSYS. Some functions are actually named
4221 something starting with __ and the normal name is an alias. */
4222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4225 char (*f) () = $ac_func;
4234 return f != $ac_func;
4239 rm -f conftest.
$ac_objext conftest
$ac_exeext
4240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4241 (eval $ac_link) 2>conftest.er1
4243 grep -v '^ *+' conftest.er1
>conftest.err
4245 cat conftest.err
>&5
4246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247 (exit $ac_status); } &&
4248 { ac_try
='test -z "$ac_c_werror_flag"
4249 || test ! -s conftest.err'
4250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); }; } &&
4255 { ac_try
='test -s conftest$ac_exeext'
4256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); }; }; then
4261 eval "$as_ac_var=yes"
4263 echo "$as_me: failed program was:" >&5
4264 sed 's/^/| /' conftest.
$ac_ext >&5
4266 eval "$as_ac_var=no"
4268 rm -f conftest.err conftest.
$ac_objext \
4269 conftest
$ac_exeext conftest.
$ac_ext
4271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4273 if test `eval echo '${'$as_ac_var'}'` = yes; then
4274 cat >>confdefs.h
<<_ACEOF
4275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4286 for ac_func
in getlogin_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r
4288 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4289 echo "$as_me:$LINENO: checking for $ac_func" >&5
4290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4291 if eval "test \"\${$as_ac_var+set}\" = set"; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4294 cat >conftest.
$ac_ext <<_ACEOF
4297 cat confdefs.h
>>conftest.
$ac_ext
4298 cat >>conftest.
$ac_ext <<_ACEOF
4299 /* end confdefs.h. */
4300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4302 #define $ac_func innocuous_$ac_func
4304 /* System header to define __stub macros and hopefully few prototypes,
4305 which can conflict with char $ac_func (); below.
4306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4307 <limits.h> exists even on freestanding compilers. */
4310 # include <limits.h>
4312 # include <assert.h>
4317 /* Override any gcc2 internal prototype to avoid an error. */
4322 /* We use char because int might match the return type of a gcc2
4323 builtin and then its argument prototype would still apply. */
4325 /* The GNU C library defines this for functions which it implements
4326 to always fail with ENOSYS. Some functions are actually named
4327 something starting with __ and the normal name is an alias. */
4328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4331 char (*f) () = $ac_func;
4340 return f != $ac_func;
4345 rm -f conftest.
$ac_objext conftest
$ac_exeext
4346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4347 (eval $ac_link) 2>conftest.er1
4349 grep -v '^ *+' conftest.er1
>conftest.err
4351 cat conftest.err
>&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); } &&
4354 { ac_try
='test -z "$ac_c_werror_flag"
4355 || test ! -s conftest.err'
4356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360 (exit $ac_status); }; } &&
4361 { ac_try
='test -s conftest$ac_exeext'
4362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); }; }; then
4367 eval "$as_ac_var=yes"
4369 echo "$as_me: failed program was:" >&5
4370 sed 's/^/| /' conftest.
$ac_ext >&5
4372 eval "$as_ac_var=no"
4374 rm -f conftest.err conftest.
$ac_objext \
4375 conftest
$ac_exeext conftest.
$ac_ext
4377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4379 if test `eval echo '${'$as_ac_var'}'` = yes; then
4380 cat >>confdefs.h
<<_ACEOF
4381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4392 for ac_func
in getservent getservbyname getservbyport getaddrinfo gai_strerror
4394 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4395 echo "$as_me:$LINENO: checking for $ac_func" >&5
4396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4397 if eval "test \"\${$as_ac_var+set}\" = set"; then
4398 echo $ECHO_N "(cached) $ECHO_C" >&6
4400 cat >conftest.
$ac_ext <<_ACEOF
4403 cat confdefs.h
>>conftest.
$ac_ext
4404 cat >>conftest.
$ac_ext <<_ACEOF
4405 /* end confdefs.h. */
4406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4408 #define $ac_func innocuous_$ac_func
4410 /* System header to define __stub macros and hopefully few prototypes,
4411 which can conflict with char $ac_func (); below.
4412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4413 <limits.h> exists even on freestanding compilers. */
4416 # include <limits.h>
4418 # include <assert.h>
4423 /* Override any gcc2 internal prototype to avoid an error. */
4428 /* We use char because int might match the return type of a gcc2
4429 builtin and then its argument prototype would still apply. */
4431 /* The GNU C library defines this for functions which it implements
4432 to always fail with ENOSYS. Some functions are actually named
4433 something starting with __ and the normal name is an alias. */
4434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4437 char (*f) () = $ac_func;
4446 return f != $ac_func;
4451 rm -f conftest.
$ac_objext conftest
$ac_exeext
4452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4453 (eval $ac_link) 2>conftest.er1
4455 grep -v '^ *+' conftest.er1
>conftest.err
4457 cat conftest.err
>&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); } &&
4460 { ac_try
='test -z "$ac_c_werror_flag"
4461 || test ! -s conftest.err'
4462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }; } &&
4467 { ac_try
='test -s conftest$ac_exeext'
4468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); }; }; then
4473 eval "$as_ac_var=yes"
4475 echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.
$ac_ext >&5
4478 eval "$as_ac_var=no"
4480 rm -f conftest.err conftest.
$ac_objext \
4481 conftest
$ac_exeext conftest.
$ac_ext
4483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4485 if test `eval echo '${'$as_ac_var'}'` = yes; then
4486 cat >>confdefs.h
<<_ACEOF
4487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4496 for ac_func
in getprotoent getprotobyname getprotobynumber
4498 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4499 echo "$as_me:$LINENO: checking for $ac_func" >&5
4500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4501 if eval "test \"\${$as_ac_var+set}\" = set"; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4504 cat >conftest.
$ac_ext <<_ACEOF
4507 cat confdefs.h
>>conftest.
$ac_ext
4508 cat >>conftest.
$ac_ext <<_ACEOF
4509 /* end confdefs.h. */
4510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4512 #define $ac_func innocuous_$ac_func
4514 /* System header to define __stub macros and hopefully few prototypes,
4515 which can conflict with char $ac_func (); below.
4516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4517 <limits.h> exists even on freestanding compilers. */
4520 # include <limits.h>
4522 # include <assert.h>
4527 /* Override any gcc2 internal prototype to avoid an error. */
4532 /* We use char because int might match the return type of a gcc2
4533 builtin and then its argument prototype would still apply. */
4535 /* The GNU C library defines this for functions which it implements
4536 to always fail with ENOSYS. Some functions are actually named
4537 something starting with __ and the normal name is an alias. */
4538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4541 char (*f) () = $ac_func;
4550 return f != $ac_func;
4555 rm -f conftest.
$ac_objext conftest
$ac_exeext
4556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4557 (eval $ac_link) 2>conftest.er1
4559 grep -v '^ *+' conftest.er1
>conftest.err
4561 cat conftest.err
>&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); } &&
4564 { ac_try
='test -z "$ac_c_werror_flag"
4565 || test ! -s conftest.err'
4566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); }; } &&
4571 { ac_try
='test -s conftest$ac_exeext'
4572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576 (exit $ac_status); }; }; then
4577 eval "$as_ac_var=yes"
4579 echo "$as_me: failed program was:" >&5
4580 sed 's/^/| /' conftest.
$ac_ext >&5
4582 eval "$as_ac_var=no"
4584 rm -f conftest.err conftest.
$ac_objext \
4585 conftest
$ac_exeext conftest.
$ac_ext
4587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4589 if test `eval echo '${'$as_ac_var'}'` = yes; then
4590 cat >>confdefs.h
<<_ACEOF
4591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4600 for ac_func
in getmntent setmntent addmntent
4602 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4603 echo "$as_me:$LINENO: checking for $ac_func" >&5
4604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4605 if eval "test \"\${$as_ac_var+set}\" = set"; then
4606 echo $ECHO_N "(cached) $ECHO_C" >&6
4608 cat >conftest.
$ac_ext <<_ACEOF
4611 cat confdefs.h
>>conftest.
$ac_ext
4612 cat >>conftest.
$ac_ext <<_ACEOF
4613 /* end confdefs.h. */
4614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4616 #define $ac_func innocuous_$ac_func
4618 /* System header to define __stub macros and hopefully few prototypes,
4619 which can conflict with char $ac_func (); below.
4620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4621 <limits.h> exists even on freestanding compilers. */
4624 # include <limits.h>
4626 # include <assert.h>
4631 /* Override any gcc2 internal prototype to avoid an error. */
4636 /* We use char because int might match the return type of a gcc2
4637 builtin and then its argument prototype would still apply. */
4639 /* The GNU C library defines this for functions which it implements
4640 to always fail with ENOSYS. Some functions are actually named
4641 something starting with __ and the normal name is an alias. */
4642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4645 char (*f) () = $ac_func;
4654 return f != $ac_func;
4659 rm -f conftest.
$ac_objext conftest
$ac_exeext
4660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4661 (eval $ac_link) 2>conftest.er1
4663 grep -v '^ *+' conftest.er1
>conftest.err
4665 cat conftest.err
>&5
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); } &&
4668 { ac_try
='test -z "$ac_c_werror_flag"
4669 || test ! -s conftest.err'
4670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); }; } &&
4675 { ac_try
='test -s conftest$ac_exeext'
4676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); }; }; then
4681 eval "$as_ac_var=yes"
4683 echo "$as_me: failed program was:" >&5
4684 sed 's/^/| /' conftest.
$ac_ext >&5
4686 eval "$as_ac_var=no"
4688 rm -f conftest.err conftest.
$ac_objext \
4689 conftest
$ac_exeext conftest.
$ac_ext
4691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4693 if test `eval echo '${'$as_ac_var'}'` = yes; then
4694 cat >>confdefs.h
<<_ACEOF
4695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4702 for ac_func
in inet_ntoa
4704 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4705 echo "$as_me:$LINENO: checking for $ac_func" >&5
4706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4707 if eval "test \"\${$as_ac_var+set}\" = set"; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 cat >conftest.
$ac_ext <<_ACEOF
4713 cat confdefs.h
>>conftest.
$ac_ext
4714 cat >>conftest.
$ac_ext <<_ACEOF
4715 /* end confdefs.h. */
4716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4718 #define $ac_func innocuous_$ac_func
4720 /* System header to define __stub macros and hopefully few prototypes,
4721 which can conflict with char $ac_func (); below.
4722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4723 <limits.h> exists even on freestanding compilers. */
4726 # include <limits.h>
4728 # include <assert.h>
4733 /* Override any gcc2 internal prototype to avoid an error. */
4738 /* We use char because int might match the return type of a gcc2
4739 builtin and then its argument prototype would still apply. */
4741 /* The GNU C library defines this for functions which it implements
4742 to always fail with ENOSYS. Some functions are actually named
4743 something starting with __ and the normal name is an alias. */
4744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4747 char (*f) () = $ac_func;
4756 return f != $ac_func;
4761 rm -f conftest.
$ac_objext conftest
$ac_exeext
4762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4763 (eval $ac_link) 2>conftest.er1
4765 grep -v '^ *+' conftest.er1
>conftest.err
4767 cat conftest.err
>&5
4768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 (exit $ac_status); } &&
4770 { ac_try
='test -z "$ac_c_werror_flag"
4771 || test ! -s conftest.err'
4772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 (exit $ac_status); }; } &&
4777 { ac_try
='test -s conftest$ac_exeext'
4778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782 (exit $ac_status); }; }; then
4783 eval "$as_ac_var=yes"
4785 echo "$as_me: failed program was:" >&5
4786 sed 's/^/| /' conftest.
$ac_ext >&5
4788 eval "$as_ac_var=no"
4790 rm -f conftest.err conftest.
$ac_objext \
4791 conftest
$ac_exeext conftest.
$ac_ext
4793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4795 if test `eval echo '${'$as_ac_var'}'` = yes; then
4796 cat >>confdefs.h
<<_ACEOF
4797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4804 cat >conftest.
$ac_ext <<_ACEOF
4807 cat confdefs.h
>>conftest.
$ac_ext
4808 cat >>conftest.
$ac_ext <<_ACEOF
4809 /* end confdefs.h. */
4810 #include <sys/types.h>
4811 #include <sys/ipc.h>
4812 #include <sys/sem.h>
4821 rm -f conftest.
$ac_objext
4822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4823 (eval $ac_compile) 2>conftest.er1
4825 grep -v '^ *+' conftest.er1
>conftest.err
4827 cat conftest.err
>&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); } &&
4830 { ac_try
='test -z "$ac_c_werror_flag"
4831 || test ! -s conftest.err'
4832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); }; } &&
4837 { ac_try
='test -s conftest.$ac_objext'
4838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); }; }; then
4845 echo "$as_me: failed program was:" >&5
4846 sed 's/^/| /' conftest.
$ac_ext >&5
4850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4851 if test $mf_have_semun = 1
4854 cat >>confdefs.h
<<\_ACEOF
4855 #define HAVE_UNION_SEMUN 1
4861 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
4862 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
4863 cat >conftest.
$ac_ext <<_ACEOF
4866 cat confdefs.h
>>conftest.
$ac_ext
4867 cat >>conftest.
$ac_ext <<_ACEOF
4868 /* end confdefs.h. */
4869 #define _POSIX_PII_SOCKET
4870 #include <sys/types.h>
4871 #include <sys/socket.h>
4880 rm -f conftest.
$ac_objext
4881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4882 (eval $ac_compile) 2>conftest.er1
4884 grep -v '^ *+' conftest.er1
>conftest.err
4886 cat conftest.err
>&5
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); } &&
4889 { ac_try
='test -z "$ac_c_werror_flag"
4890 || test ! -s conftest.err'
4891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); }; } &&
4896 { ac_try
='test -s conftest.$ac_objext'
4897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); }; }; then
4903 cat >>confdefs.h
<<\_ACEOF
4904 #define HAVE_SOCKLEN_T 1
4907 echo "$as_me:$LINENO: result: yes" >&5
4908 echo "${ECHO_T}yes" >&6
4910 echo "$as_me: failed program was:" >&5
4911 sed 's/^/| /' conftest.
$ac_ext >&5
4913 echo "$as_me:$LINENO: result: no" >&5
4914 echo "${ECHO_T}no" >&6
4916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4919 # Check whether --enable-shared or --disable-shared was given.
4920 if test "${enable_shared+set}" = set; then
4921 enableval
="$enable_shared"
4922 p
=${PACKAGE-default}
4924 yes) enable_shared
=yes ;;
4925 no
) enable_shared
=no
;;
4928 # Look at the argument we got. We use all the common list separators.
4929 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4930 for pkg
in $enableval; do
4931 if test "X$pkg" = "X$p"; then
4941 # Check whether --enable-static or --disable-static was given.
4942 if test "${enable_static+set}" = set; then
4943 enableval
="$enable_static"
4944 p
=${PACKAGE-default}
4946 yes) enable_static
=yes ;;
4947 no
) enable_static
=no
;;
4950 # Look at the argument we got. We use all the common list separators.
4951 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4952 for pkg
in $enableval; do
4953 if test "X$pkg" = "X$p"; then
4963 # Check whether --enable-fast-install or --disable-fast-install was given.
4964 if test "${enable_fast_install+set}" = set; then
4965 enableval
="$enable_fast_install"
4966 p
=${PACKAGE-default}
4968 yes) enable_fast_install
=yes ;;
4969 no
) enable_fast_install
=no
;;
4971 enable_fast_install
=no
4972 # Look at the argument we got. We use all the common list separators.
4973 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4974 for pkg
in $enableval; do
4975 if test "X$pkg" = "X$p"; then
4976 enable_fast_install
=yes
4983 enable_fast_install
=yes
4986 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4987 if test "${with_gnu_ld+set}" = set; then
4988 withval
="$with_gnu_ld"
4989 test "$withval" = no || with_gnu_ld
=yes
4994 if test "$GCC" = yes; then
4995 # Check if gcc -print-prog-name=ld gives a path.
4996 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4997 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5000 # gcc leaves a trailing carriage return which upsets mingw
5001 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5003 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5006 # Accept absolute paths.
5007 [\\/]* |
[A-Za-z
]:[\\/]*)
5008 re_direlt
='/[^/][^/]*/\.\./'
5009 # Canonicalize the path of ld
5010 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5011 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5012 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5014 test -z "$LD" && LD
="$ac_prog"
5017 # If it fails, then pretend we aren't using GCC.
5021 # If it is relative, then search for the first ld in PATH.
5025 elif test "$with_gnu_ld" = yes; then
5026 echo "$as_me:$LINENO: checking for GNU ld" >&5
5027 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5029 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5030 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5032 if test "${lt_cv_path_LD+set}" = set; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5035 if test -z "$LD"; then
5036 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5037 for ac_dir
in $PATH; do
5038 test -z "$ac_dir" && ac_dir
=.
5039 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5040 lt_cv_path_LD
="$ac_dir/$ac_prog"
5041 # Check to see if the program is GNU ld. I'd rather use --version,
5042 # but apparently some GNU ld's only accept -v.
5043 # Break only if it was the GNU/non-GNU ld that we prefer.
5044 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5045 test "$with_gnu_ld" != no
&& break
5047 test "$with_gnu_ld" != yes && break
5053 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5058 if test -n "$LD"; then
5059 echo "$as_me:$LINENO: result: $LD" >&5
5060 echo "${ECHO_T}$LD" >&6
5062 echo "$as_me:$LINENO: result: no" >&5
5063 echo "${ECHO_T}no" >&6
5065 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5066 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5067 { (exit 1); exit 1; }; }
5068 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5069 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5070 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5071 echo $ECHO_N "(cached) $ECHO_C" >&6
5073 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5074 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5075 lt_cv_prog_gnu_ld
=yes
5077 lt_cv_prog_gnu_ld
=no
5080 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5081 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5082 with_gnu_ld
=$lt_cv_prog_gnu_ld
5085 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5086 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5087 if test "${lt_cv_ld_reload_flag+set}" = set; then
5088 echo $ECHO_N "(cached) $ECHO_C" >&6
5090 lt_cv_ld_reload_flag
='-r'
5092 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5093 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5094 reload_flag
=$lt_cv_ld_reload_flag
5095 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5097 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5098 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5099 if test "${lt_cv_path_NM+set}" = set; then
5100 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 if test -n "$NM"; then
5103 # Let the user override the test.
5106 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5107 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5108 test -z "$ac_dir" && ac_dir
=.
5109 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5110 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5111 # Check to see if the nm accepts a BSD-compat flag.
5112 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5113 # nm: unknown option "B" ignored
5114 # Tru64's nm complains that /dev/null is an invalid object file
5115 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5116 lt_cv_path_NM
="$tmp_nm -B"
5118 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5119 lt_cv_path_NM
="$tmp_nm -p"
5122 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5123 continue # so that we can try to find one that supports BSD flags
5128 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5133 echo "$as_me:$LINENO: result: $NM" >&5
5134 echo "${ECHO_T}$NM" >&6
5136 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5137 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5139 if test "$LN_S" = "ln -s"; then
5140 echo "$as_me:$LINENO: result: yes" >&5
5141 echo "${ECHO_T}yes" >&6
5143 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5144 echo "${ECHO_T}no, using $LN_S" >&6
5147 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5148 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5149 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5150 lt_cv_file_magic_test_file
=
5151 lt_cv_deplibs_check_method
='unknown'
5152 # Need to set the preceding variable on all platforms that support
5153 # interlibrary dependencies.
5154 # 'none' -- dependencies not supported.
5155 # `unknown' -- same as none, but documents that we really don't know.
5156 # 'pass_all' -- all dependencies passed with no checks.
5157 # 'test_compile' -- check by making test program.
5158 # 'file_magic [regex]' -- check by looking for files in library path
5159 # which responds to the $file_magic_cmd with a given egrep regex.
5160 # If you have `file' or equivalent on your system and you're not sure
5161 # whether `pass_all' will *always* work, you probably want this one.
5165 lt_cv_deplibs_check_method
=pass_all
5169 lt_cv_deplibs_check_method
=pass_all
5173 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5174 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5175 lt_cv_file_magic_test_file
=/shlib
/libc.so
5178 cygwin
* | mingw
* |pw32
*)
5179 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5180 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5183 darwin
* | rhapsody
*)
5184 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5185 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5187 rhapsody
* | darwin1.012
)
5188 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5191 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5197 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5200 # Not sure whether the presence of OpenBSD here was a mistake.
5201 # Let's accept both of them until this is cleared up.
5202 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5203 lt_cv_file_magic_cmd
=/usr
/bin
/file
5204 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5208 lt_cv_deplibs_check_method
=pass_all
5213 lt_cv_deplibs_check_method
=pass_all
5219 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5220 lt_cv_file_magic_cmd
=/usr
/bin
/file
5221 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5224 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5225 lt_cv_file_magic_cmd
=/usr
/bin
/file
5226 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5234 # this will be overridden with pass_all, but let us keep it just in case
5235 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5239 *-32|
*"-32 ") libmagic
=32-bit;;
5240 *-n32|
*"-n32 ") libmagic
=N32
;;
5241 *-64|
*"-64 ") libmagic
=64-bit;;
5242 *) libmagic
=never-match
;;
5244 # this will be overridden with pass_all, but let us keep it just in case
5245 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5248 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5249 lt_cv_deplibs_check_method
=pass_all
5252 # This must be Linux ELF.
5255 alpha
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* | x86_64
* | sh
*)
5256 lt_cv_deplibs_check_method
=pass_all
;;
5257 # NB 2003-06-03: According to Alexandre Oliva, x86_64 should not be
5258 # in this list. However, it works around a libtool problem that
5259 # wrongly excludes -ldl/-lpthread from the libmudflap(th) dependencies.
5261 # glibc up to 2.1.1 does not perform some relocations on ARM
5262 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
5264 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
5268 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5269 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5271 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5276 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5277 lt_cv_file_magic_cmd
=/usr
/bin
/file
5278 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5281 osf3
* | osf4
* | osf5
*)
5282 # this will be overridden with pass_all, but let us keep it just in case
5283 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5284 lt_cv_file_magic_test_file
=/shlib
/libc.so
5285 lt_cv_deplibs_check_method
=pass_all
5289 lt_cv_deplibs_check_method
=pass_all
5293 lt_cv_deplibs_check_method
=pass_all
5294 lt_cv_file_magic_test_file
=/lib
/libc.so
5297 sysv5uw
[78]* | sysv4
*uw2
*)
5298 lt_cv_deplibs_check_method
=pass_all
5301 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5302 case $host_vendor in
5304 lt_cv_deplibs_check_method
=pass_all
5307 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]'
5308 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5313 file_magic_cmd
=$lt_cv_file_magic_cmd
5314 deplibs_check_method
=$lt_cv_deplibs_check_method
5315 # NB: See above NB ... this is to make sure that the overriden
5316 # local libtool variant doesn't pollute the upstream cache
5317 unset lt_cv_file_magic_cmd
5318 unset lt_cv_deplibs_check_method
5319 echo "$as_me:$LINENO: result: $deplibs_check_method" >&5
5320 echo "${ECHO_T}$deplibs_check_method" >&6
5324 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5326 # Only perform the check for file, if the check method requires it
5327 case $deplibs_check_method in
5329 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5330 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5331 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5332 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5333 echo $ECHO_N "(cached) $ECHO_C" >&6
5337 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5340 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5343 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5344 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5345 ac_dummy
="/usr/bin:$PATH"
5346 for ac_dir
in $ac_dummy; do
5347 test -z "$ac_dir" && ac_dir
=.
5348 if test -f $ac_dir/${ac_tool_prefix}file; then
5349 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5350 if test -n "$file_magic_test_file"; then
5351 case $deplibs_check_method in
5353 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5354 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5355 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5356 egrep "$file_magic_regex" > /dev
/null
; then
5361 *** Warning: the command libtool uses to detect shared libraries,
5362 *** $file_magic_cmd, produces output that libtool cannot recognize.
5363 *** The result is that libtool may fail to recognize shared libraries
5364 *** as such. This will affect the creation of libtool libraries that
5365 *** depend on shared libraries, but programs linked with such libtool
5366 *** libraries will work regardless of this problem. Nevertheless, you
5367 *** may want to report the problem to your system manager and/or to
5368 *** bug-libtool@gnu.org
5378 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5383 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5384 if test -n "$MAGIC_CMD"; then
5385 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5386 echo "${ECHO_T}$MAGIC_CMD" >&6
5388 echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6
5392 if test -z "$lt_cv_path_MAGIC_CMD"; then
5393 if test -n "$ac_tool_prefix"; then
5394 echo "$as_me:$LINENO: checking for file" >&5
5395 echo $ECHO_N "checking for file... $ECHO_C" >&6
5396 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5401 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5404 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5407 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5408 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5409 ac_dummy
="/usr/bin:$PATH"
5410 for ac_dir
in $ac_dummy; do
5411 test -z "$ac_dir" && ac_dir
=.
5412 if test -f $ac_dir/file; then
5413 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5414 if test -n "$file_magic_test_file"; then
5415 case $deplibs_check_method in
5417 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5418 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5419 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5420 egrep "$file_magic_regex" > /dev
/null
; then
5425 *** Warning: the command libtool uses to detect shared libraries,
5426 *** $file_magic_cmd, produces output that libtool cannot recognize.
5427 *** The result is that libtool may fail to recognize shared libraries
5428 *** as such. This will affect the creation of libtool libraries that
5429 *** depend on shared libraries, but programs linked with such libtool
5430 *** libraries will work regardless of this problem. Nevertheless, you
5431 *** may want to report the problem to your system manager and/or to
5432 *** bug-libtool@gnu.org
5442 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5447 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5448 if test -n "$MAGIC_CMD"; then
5449 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5450 echo "${ECHO_T}$MAGIC_CMD" >&6
5452 echo "$as_me:$LINENO: result: no" >&5
5453 echo "${ECHO_T}no" >&6
5465 if test -n "$ac_tool_prefix"; then
5466 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5467 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5468 echo "$as_me:$LINENO: checking for $ac_word" >&5
5469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5470 if test "${ac_cv_prog_RANLIB+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 if test -n "$RANLIB"; then
5474 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5480 test -z "$as_dir" && as_dir
=.
5481 for ac_exec_ext
in '' $ac_executable_extensions; do
5482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5483 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 RANLIB
=$ac_cv_prog_RANLIB
5493 if test -n "$RANLIB"; then
5494 echo "$as_me:$LINENO: result: $RANLIB" >&5
5495 echo "${ECHO_T}$RANLIB" >&6
5497 echo "$as_me:$LINENO: result: no" >&5
5498 echo "${ECHO_T}no" >&6
5502 if test -z "$ac_cv_prog_RANLIB"; then
5503 ac_ct_RANLIB
=$RANLIB
5504 # Extract the first word of "ranlib", so it can be a program name with args.
5505 set dummy ranlib
; ac_word
=$2
5506 echo "$as_me:$LINENO: checking for $ac_word" >&5
5507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5508 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5509 echo $ECHO_N "(cached) $ECHO_C" >&6
5511 if test -n "$ac_ct_RANLIB"; then
5512 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5518 test -z "$as_dir" && as_dir
=.
5519 for ac_exec_ext
in '' $ac_executable_extensions; do
5520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5521 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5531 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5532 if test -n "$ac_ct_RANLIB"; then
5533 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5534 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5536 echo "$as_me:$LINENO: result: no" >&5
5537 echo "${ECHO_T}no" >&6
5540 RANLIB
=$ac_ct_RANLIB
5542 RANLIB
="$ac_cv_prog_RANLIB"
5545 if test -n "$ac_tool_prefix"; then
5546 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5547 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5548 echo "$as_me:$LINENO: checking for $ac_word" >&5
5549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5550 if test "${ac_cv_prog_STRIP+set}" = set; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5553 if test -n "$STRIP"; then
5554 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5560 test -z "$as_dir" && as_dir
=.
5561 for ac_exec_ext
in '' $ac_executable_extensions; do
5562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5563 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5572 STRIP
=$ac_cv_prog_STRIP
5573 if test -n "$STRIP"; then
5574 echo "$as_me:$LINENO: result: $STRIP" >&5
5575 echo "${ECHO_T}$STRIP" >&6
5577 echo "$as_me:$LINENO: result: no" >&5
5578 echo "${ECHO_T}no" >&6
5582 if test -z "$ac_cv_prog_STRIP"; then
5584 # Extract the first word of "strip", so it can be a program name with args.
5585 set dummy strip
; ac_word
=$2
5586 echo "$as_me:$LINENO: checking for $ac_word" >&5
5587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5588 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5591 if test -n "$ac_ct_STRIP"; then
5592 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5598 test -z "$as_dir" && as_dir
=.
5599 for ac_exec_ext
in '' $ac_executable_extensions; do
5600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5601 ac_cv_prog_ac_ct_STRIP
="strip"
5602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5611 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5612 if test -n "$ac_ct_STRIP"; then
5613 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5614 echo "${ECHO_T}$ac_ct_STRIP" >&6
5616 echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6
5622 STRIP
="$ac_cv_prog_STRIP"
5626 # Check for any special flags to pass to ltconfig.
5627 libtool_flags
="--cache-file=$cache_file"
5628 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5629 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5630 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5631 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5632 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5635 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5636 if test "${enable_libtool_lock+set}" = set; then
5637 enableval
="$enable_libtool_lock"
5640 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5641 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5644 # Check whether --with-pic or --without-pic was given.
5645 if test "${with_pic+set}" = set; then
5651 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5652 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5654 # Some flags need to be propagated to the compiler or linker for good
5658 # Find out which ABI we are using.
5659 echo '#line 5659 "configure"' > conftest.
$ac_ext
5660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5661 (eval $ac_compile) 2>&5
5663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664 (exit $ac_status); }; then
5665 case `/usr/bin/file conftest.$ac_objext` in
5681 # Find out which ABI we are using.
5682 echo 'int i;' > conftest.
$ac_ext
5683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5684 (eval $ac_compile) 2>&5
5686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5687 (exit $ac_status); }; then
5688 case "`/usr/bin/file conftest.o`" in
5700 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5701 # Find out which ABI we are using.
5702 echo 'int i;' > conftest.
$ac_ext
5703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5704 (eval $ac_compile) 2>&5
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; then
5708 case "`/usr/bin/file conftest.o`" in
5712 LD
="${LD-ld} -m elf_i386"
5715 LD
="${LD-ld} -m elf32ppclinux"
5718 LD
="${LD-ld} -m elf_s390"
5721 LD
="${LD-ld} -m elf32_sparc"
5728 LD
="${LD-ld} -m elf_x86_64"
5730 ppc
*-*linux
*|powerpc
*-*linux
*)
5731 LD
="${LD-ld} -m elf64ppc"
5734 LD
="${LD-ld} -m elf64_s390"
5737 LD
="${LD-ld} -m elf64_sparc"
5747 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5748 SAVE_CFLAGS
="$CFLAGS"
5749 CFLAGS
="$CFLAGS -belf"
5750 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5751 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5752 if test "${lt_cv_cc_needs_belf+set}" = set; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5758 ac_cpp
='$CPP $CPPFLAGS'
5759 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5760 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5761 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5763 cat >conftest.
$ac_ext <<_ACEOF
5766 cat confdefs.h
>>conftest.
$ac_ext
5767 cat >>conftest.
$ac_ext <<_ACEOF
5768 /* end confdefs.h. */
5778 rm -f conftest.
$ac_objext conftest
$ac_exeext
5779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5780 (eval $ac_link) 2>conftest.er1
5782 grep -v '^ *+' conftest.er1
>conftest.err
5784 cat conftest.err
>&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); } &&
5787 { ac_try
='test -z "$ac_c_werror_flag"
5788 || test ! -s conftest.err'
5789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); }; } &&
5794 { ac_try
='test -s conftest$ac_exeext'
5795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799 (exit $ac_status); }; }; then
5800 lt_cv_cc_needs_belf
=yes
5802 echo "$as_me: failed program was:" >&5
5803 sed 's/^/| /' conftest.
$ac_ext >&5
5805 lt_cv_cc_needs_belf
=no
5807 rm -f conftest.err conftest.
$ac_objext \
5808 conftest
$ac_exeext conftest.
$ac_ext
5810 ac_cpp
='$CPP $CPPFLAGS'
5811 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5812 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5813 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5816 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5817 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5818 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5819 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5820 CFLAGS
="$SAVE_CFLAGS"
5828 # Save cache, so that ltconfig can load it
5829 cat >confcache
<<\_ACEOF
5830 # This file is a shell script that caches the results of configure
5831 # tests run on this system so they can be shared between configure
5832 # scripts and configure runs, see configure's option --config-cache.
5833 # It is not useful on other systems. If it contains results you don't
5834 # want to keep, you may remove or edit it.
5836 # config.status only pays attention to the cache file if you give it
5837 # the --recheck option to rerun configure.
5839 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5840 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5845 # The following way of writing the cache mishandles newlines in values,
5846 # but we know of no workaround that is simple, portable, and efficient.
5847 # So, don't put newlines in cache variables' values.
5848 # Ultrix sh set writes to stderr and can't be redirected directly,
5849 # and sets the high bit in the cache file unless we assign to the vars.
5852 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5854 # `set' does not quote correctly, so add quotes (double-quote
5855 # substitution turns \\\\ into \\, and sed turns \\ into \).
5858 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5861 # `set' quotes correctly as required by POSIX, so do not add quotes.
5863 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5870 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5872 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5874 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5875 if test -w $cache_file; then
5876 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5877 cat confcache
>$cache_file
5879 echo "not updating unwritable cache $cache_file"
5884 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5885 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
5886 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5887 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5888 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5889 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5890 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
5891 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
5892 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
5893 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5894 echo "$as_me: error: libtool configure failed" >&2;}
5895 { (exit 1); exit 1; }; }
5897 # Reload cache, that may have been modified by ltconfig
5898 if test -r "$cache_file"; then
5899 # Some versions of bash will fail to source /dev/null (special
5900 # files actually), so we avoid doing that.
5901 if test -f "$cache_file"; then
5902 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5903 echo "$as_me: loading cache $cache_file" >&6;}
5905 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5906 *) . .
/$cache_file;;
5910 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5911 echo "$as_me: creating cache $cache_file" >&6;}
5916 # This can be used to rebuild libtool when needed
5917 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5919 # Always use our own libtool.
5920 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5922 # Redirect the config.log output again, so that the ltconfig log is not
5923 # clobbered by the next message.
5924 exec 5>>.
/config.log
5934 if test "${ac_cv_header_stdint_h+set}" = set; then
5935 echo "$as_me:$LINENO: checking for stdint.h" >&5
5936 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
5937 if test "${ac_cv_header_stdint_h+set}" = set; then
5938 echo $ECHO_N "(cached) $ECHO_C" >&6
5940 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
5941 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
5943 # Is the header compilable?
5944 echo "$as_me:$LINENO: checking stdint.h usability" >&5
5945 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6
5946 cat >conftest.
$ac_ext <<_ACEOF
5949 cat confdefs.h
>>conftest.
$ac_ext
5950 cat >>conftest.
$ac_ext <<_ACEOF
5951 /* end confdefs.h. */
5952 $ac_includes_default
5955 rm -f conftest.
$ac_objext
5956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5957 (eval $ac_compile) 2>conftest.er1
5959 grep -v '^ *+' conftest.er1
>conftest.err
5961 cat conftest.err
>&5
5962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963 (exit $ac_status); } &&
5964 { ac_try
='test -z "$ac_c_werror_flag"
5965 || test ! -s conftest.err'
5966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5970 (exit $ac_status); }; } &&
5971 { ac_try
='test -s conftest.$ac_objext'
5972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976 (exit $ac_status); }; }; then
5977 ac_header_compiler
=yes
5979 echo "$as_me: failed program was:" >&5
5980 sed 's/^/| /' conftest.
$ac_ext >&5
5982 ac_header_compiler
=no
5984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5985 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5986 echo "${ECHO_T}$ac_header_compiler" >&6
5988 # Is the header present?
5989 echo "$as_me:$LINENO: checking stdint.h presence" >&5
5990 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6
5991 cat >conftest.
$ac_ext <<_ACEOF
5994 cat confdefs.h
>>conftest.
$ac_ext
5995 cat >>conftest.
$ac_ext <<_ACEOF
5996 /* end confdefs.h. */
5999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6000 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6002 grep -v '^ *+' conftest.er1
>conftest.err
6004 cat conftest.err
>&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); } >/dev
/null
; then
6007 if test -s conftest.err
; then
6008 ac_cpp_err
=$ac_c_preproc_warn_flag
6009 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6016 if test -z "$ac_cpp_err"; then
6017 ac_header_preproc
=yes
6019 echo "$as_me: failed program was:" >&5
6020 sed 's/^/| /' conftest.
$ac_ext >&5
6022 ac_header_preproc
=no
6024 rm -f conftest.err conftest.
$ac_ext
6025 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6026 echo "${ECHO_T}$ac_header_preproc" >&6
6028 # So? What about this header?
6029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6031 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
6032 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6033 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5
6034 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;}
6035 ac_header_preproc
=yes
6038 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
6039 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
6040 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5
6041 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;}
6042 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5
6043 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;}
6044 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5
6045 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;}
6046 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
6047 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
6048 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5
6049 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;}
6052 ## ------------------------------------- ##
6053 ## Report this to the libmudflap lists. ##
6054 ## ------------------------------------- ##
6057 sed "s/^/$as_me: WARNING: /" >&2
6060 echo "$as_me:$LINENO: checking for stdint.h" >&5
6061 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
6062 if test "${ac_cv_header_stdint_h+set}" = set; then
6063 echo $ECHO_N "(cached) $ECHO_C" >&6
6065 ac_cv_header_stdint_h
=$ac_header_preproc
6067 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
6068 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
6071 if test $ac_cv_header_stdint_h = yes; then
6079 if test $MF_HAVE_STDINT_H = 1
6083 cat >conftest.
$ac_ext <<_ACEOF
6086 cat confdefs.h
>>conftest.
$ac_ext
6087 cat >>conftest.
$ac_ext <<_ACEOF
6088 /* end confdefs.h. */
6089 #include <sys/types.h>
6098 rm -f conftest.
$ac_objext
6099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6100 (eval $ac_compile) 2>conftest.er1
6102 grep -v '^ *+' conftest.er1
>conftest.err
6104 cat conftest.err
>&5
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); } &&
6107 { ac_try
='test -z "$ac_c_werror_flag"
6108 || test ! -s conftest.err'
6109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); }; } &&
6114 { ac_try
='test -s conftest.$ac_objext'
6115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6119 (exit $ac_status); }; }; then
6122 echo "$as_me: failed program was:" >&5
6123 sed 's/^/| /' conftest.
$ac_ext >&5
6127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6133 # libmudflapth objects are built in this subdirectory
6137 pthread_create_version
='""'
6138 if test "${ac_cv_header_pthread_h+set}" = set; then
6139 echo "$as_me:$LINENO: checking for pthread.h" >&5
6140 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
6141 if test "${ac_cv_header_pthread_h+set}" = set; then
6142 echo $ECHO_N "(cached) $ECHO_C" >&6
6144 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
6145 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
6147 # Is the header compilable?
6148 echo "$as_me:$LINENO: checking pthread.h usability" >&5
6149 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6
6150 cat >conftest.
$ac_ext <<_ACEOF
6153 cat confdefs.h
>>conftest.
$ac_ext
6154 cat >>conftest.
$ac_ext <<_ACEOF
6155 /* end confdefs.h. */
6156 $ac_includes_default
6157 #include <pthread.h>
6159 rm -f conftest.
$ac_objext
6160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6161 (eval $ac_compile) 2>conftest.er1
6163 grep -v '^ *+' conftest.er1
>conftest.err
6165 cat conftest.err
>&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); } &&
6168 { ac_try
='test -z "$ac_c_werror_flag"
6169 || test ! -s conftest.err'
6170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6174 (exit $ac_status); }; } &&
6175 { ac_try
='test -s conftest.$ac_objext'
6176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180 (exit $ac_status); }; }; then
6181 ac_header_compiler
=yes
6183 echo "$as_me: failed program was:" >&5
6184 sed 's/^/| /' conftest.
$ac_ext >&5
6186 ac_header_compiler
=no
6188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6189 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6190 echo "${ECHO_T}$ac_header_compiler" >&6
6192 # Is the header present?
6193 echo "$as_me:$LINENO: checking pthread.h presence" >&5
6194 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6
6195 cat >conftest.
$ac_ext <<_ACEOF
6198 cat confdefs.h
>>conftest.
$ac_ext
6199 cat >>conftest.
$ac_ext <<_ACEOF
6200 /* end confdefs.h. */
6201 #include <pthread.h>
6203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6204 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6206 grep -v '^ *+' conftest.er1
>conftest.err
6208 cat conftest.err
>&5
6209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210 (exit $ac_status); } >/dev
/null
; then
6211 if test -s conftest.err
; then
6212 ac_cpp_err
=$ac_c_preproc_warn_flag
6213 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6220 if test -z "$ac_cpp_err"; then
6221 ac_header_preproc
=yes
6223 echo "$as_me: failed program was:" >&5
6224 sed 's/^/| /' conftest.
$ac_ext >&5
6226 ac_header_preproc
=no
6228 rm -f conftest.err conftest.
$ac_ext
6229 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6230 echo "${ECHO_T}$ac_header_preproc" >&6
6232 # So? What about this header?
6233 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6235 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
6236 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6237 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
6238 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
6239 ac_header_preproc
=yes
6242 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
6243 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
6244 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
6245 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
6246 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
6247 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
6248 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
6249 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
6250 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
6251 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
6252 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
6253 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
6256 ## ------------------------------------- ##
6257 ## Report this to the libmudflap lists. ##
6258 ## ------------------------------------- ##
6261 sed "s/^/$as_me: WARNING: /" >&2
6264 echo "$as_me:$LINENO: checking for pthread.h" >&5
6265 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
6266 if test "${ac_cv_header_pthread_h+set}" = set; then
6267 echo $ECHO_N "(cached) $ECHO_C" >&6
6269 ac_cv_header_pthread_h
=$ac_header_preproc
6271 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
6272 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
6275 if test $ac_cv_header_pthread_h = yes; then
6278 cat >>confdefs.h
<<_ACEOF
6279 #define HAVE_PTHREAD_H 1
6282 ac_have_pthread_h
=yes
6293 if test "x$ac_have_pthread_h" != "x"; then
6295 LIBMUDFLAPTH_FALSE
='#'
6297 LIBMUDFLAPTH_TRUE
='#'
6301 if test "x$ac_have_pthread_h" != "x"
6303 build_libmudflapth
=1
6305 build_libmudflapth
=0
6310 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
6311 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
6312 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
6313 echo $ECHO_N "(cached) $ECHO_C" >&6
6315 ac_check_lib_save_LIBS
=$LIBS
6317 cat >conftest.
$ac_ext <<_ACEOF
6320 cat confdefs.h
>>conftest.
$ac_ext
6321 cat >>conftest.
$ac_ext <<_ACEOF
6322 /* end confdefs.h. */
6324 /* Override any gcc2 internal prototype to avoid an error. */
6328 /* We use char because int might match the return type of a gcc2
6329 builtin and then its argument prototype would still apply. */
6339 rm -f conftest.
$ac_objext conftest
$ac_exeext
6340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6341 (eval $ac_link) 2>conftest.er1
6343 grep -v '^ *+' conftest.er1
>conftest.err
6345 cat conftest.err
>&5
6346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6347 (exit $ac_status); } &&
6348 { ac_try
='test -z "$ac_c_werror_flag"
6349 || test ! -s conftest.err'
6350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354 (exit $ac_status); }; } &&
6355 { ac_try
='test -s conftest$ac_exeext'
6356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 (exit $ac_status); }; }; then
6361 ac_cv_lib_dl_dlsym
=yes
6363 echo "$as_me: failed program was:" >&5
6364 sed 's/^/| /' conftest.
$ac_ext >&5
6366 ac_cv_lib_dl_dlsym
=no
6368 rm -f conftest.err conftest.
$ac_objext \
6369 conftest
$ac_exeext conftest.
$ac_ext
6370 LIBS
=$ac_check_lib_save_LIBS
6372 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
6373 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
6374 if test $ac_cv_lib_dl_dlsym = yes; then
6375 cat >>confdefs.h
<<_ACEOF
6376 #define HAVE_LIBDL 1
6384 # Process the option "--enable-version-specific-runtime-libs"
6385 gcc_version_trigger
=${srcdir}/..
/gcc
/version.c
6386 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
6387 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`
6390 # Calculate toolexeclibdir
6391 # Also toolexecdir, though it's only used in toolexeclibdir
6392 case ${version_specific_libs} in
6394 # Need the gcc compiler version to know where to install libraries
6395 # and header files if --enable-version-specific-runtime-libs option
6397 toolexecdir
='$(libdir)/gcc/$(target_alias)'
6398 toolexeclibdir
='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
6401 if test -n "$with_cross_host" &&
6402 test x
"$with_cross_host" != x
"no"; then
6403 # Install a library built with a cross compiler in tooldir, not libdir.
6404 toolexecdir
='$(exec_prefix)/$(target_alias)'
6405 toolexeclibdir
='$(toolexecdir)/lib'
6407 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
6408 toolexeclibdir
='$(libdir)'
6410 multi_os_directory
=`$CC -print-multi-os-directory`
6411 case $multi_os_directory in
6412 .
) ;; # Avoid trailing /.
6413 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
6420 if test "x$enable_shared" = "xyes" && test "x$ac_have_pthread_h" != "x"; then
6421 # NB: don't check for -lpthread here, because then it would be
6422 # added to LIBS. For the thread-unaware libmudflap.la, we don't
6425 # glibc-related hacks. dlsym() may pick the wrong version of
6426 # interposed functions like pthread_create on modern glibc.
6427 # We need to find the proper symbol version string, and use
6428 # the nonstandard dlvsym().
6430 for ac_func
in dlvsym
6432 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6433 echo "$as_me:$LINENO: checking for $ac_func" >&5
6434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6435 if eval "test \"\${$as_ac_var+set}\" = set"; then
6436 echo $ECHO_N "(cached) $ECHO_C" >&6
6438 cat >conftest.
$ac_ext <<_ACEOF
6441 cat confdefs.h
>>conftest.
$ac_ext
6442 cat >>conftest.
$ac_ext <<_ACEOF
6443 /* end confdefs.h. */
6444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6446 #define $ac_func innocuous_$ac_func
6448 /* System header to define __stub macros and hopefully few prototypes,
6449 which can conflict with char $ac_func (); below.
6450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6451 <limits.h> exists even on freestanding compilers. */
6454 # include <limits.h>
6456 # include <assert.h>
6461 /* Override any gcc2 internal prototype to avoid an error. */
6466 /* We use char because int might match the return type of a gcc2
6467 builtin and then its argument prototype would still apply. */
6469 /* The GNU C library defines this for functions which it implements
6470 to always fail with ENOSYS. Some functions are actually named
6471 something starting with __ and the normal name is an alias. */
6472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6475 char (*f) () = $ac_func;
6484 return f != $ac_func;
6489 rm -f conftest.
$ac_objext conftest
$ac_exeext
6490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6491 (eval $ac_link) 2>conftest.er1
6493 grep -v '^ *+' conftest.er1
>conftest.err
6495 cat conftest.err
>&5
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); } &&
6498 { ac_try
='test -z "$ac_c_werror_flag"
6499 || test ! -s conftest.err'
6500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6504 (exit $ac_status); }; } &&
6505 { ac_try
='test -s conftest$ac_exeext'
6506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); }; }; then
6511 eval "$as_ac_var=yes"
6513 echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.
$ac_ext >&5
6516 eval "$as_ac_var=no"
6518 rm -f conftest.err conftest.
$ac_objext \
6519 conftest
$ac_exeext conftest.
$ac_ext
6521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6523 if test `eval echo '${'$as_ac_var'}'` = yes; then
6524 cat >>confdefs.h
<<_ACEOF
6525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6531 if test -n "$ac_tool_prefix"; then
6532 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
6533 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
6534 echo "$as_me:$LINENO: checking for $ac_word" >&5
6535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6536 if test "${ac_cv_prog_NM+set}" = set; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6539 if test -n "$NM"; then
6540 ac_cv_prog_NM
="$NM" # Let the user override the test.
6542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6546 test -z "$as_dir" && as_dir
=.
6547 for ac_exec_ext
in '' $ac_executable_extensions; do
6548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6549 ac_cv_prog_NM
="${ac_tool_prefix}nm"
6550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 if test -n "$NM"; then
6560 echo "$as_me:$LINENO: result: $NM" >&5
6561 echo "${ECHO_T}$NM" >&6
6563 echo "$as_me:$LINENO: result: no" >&5
6564 echo "${ECHO_T}no" >&6
6568 if test -z "$ac_cv_prog_NM"; then
6570 # Extract the first word of "nm", so it can be a program name with args.
6571 set dummy nm
; ac_word
=$2
6572 echo "$as_me:$LINENO: checking for $ac_word" >&5
6573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6574 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
6575 echo $ECHO_N "(cached) $ECHO_C" >&6
6577 if test -n "$ac_ct_NM"; then
6578 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
6580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6584 test -z "$as_dir" && as_dir
=.
6585 for ac_exec_ext
in '' $ac_executable_extensions; do
6586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6587 ac_cv_prog_ac_ct_NM
="nm"
6588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6596 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
6597 if test -n "$ac_ct_NM"; then
6598 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
6599 echo "${ECHO_T}$ac_ct_NM" >&6
6601 echo "$as_me:$LINENO: result: no" >&5
6602 echo "${ECHO_T}no" >&6
6610 if test "x$ac_cv_have_dlvsym" != "x"; then
6611 # Try compiling a simple pthreads program. Find the shared libraries it
6612 # ends up with. Then use "nm" on those libraries to extract the
6613 # default symbol versioning suffix ("@@"), if any. But that's tricky.
6614 # Rather, run nm on the resulting executable. Unfortunately, autoconf
6615 # doesn't appear to have a macro that builds a test executable for
6616 # subsequent analysis ... so we do it by hand here.
6617 cat >> conftest.c
<< EOF
6618 #include <pthread.h>
6619 int main () { void *p = (void *) & pthread_create; return (int) p; }
6622 LIBS
="$LIBS -lpthread"
6623 pthread_create_version
="\"\""
6624 echo "$as_me:$LINENO: checking pthread_create symbol version" >&5
6625 echo $ECHO_N "checking pthread_create symbol version... $ECHO_C" >&6
6626 if eval $ac_link 2>&5 && test -s conftest
${ac_exeext}; then
6627 version
=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
6628 if test "x$version" != "x"; then
6629 pthread_create_version
="\"$version\""
6632 echo "$as_me:$LINENO: result: $pthread_create_version" >&5
6633 echo "${ECHO_T}$pthread_create_version" >&6
6638 cat >>confdefs.h
<<_ACEOF
6639 #define PTHREAD_CREATE_VERSION $pthread_create_version
6644 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6645 # similarly to how libstdc++ does it
6646 ac_test_CFLAGS
="${CFLAGS+set}"
6647 ac_save_CFLAGS
="$CFLAGS"
6649 # Check for -ffunction-sections -fdata-sections
6650 echo "$as_me:$LINENO: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6651 echo $ECHO_N "checking for gcc that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
6652 CFLAGS
='-Werror -ffunction-sections -fdata-sections'
6653 cat >conftest.
$ac_ext <<_ACEOF
6656 cat confdefs.h
>>conftest.
$ac_ext
6657 cat >>conftest.
$ac_ext <<_ACEOF
6658 /* end confdefs.h. */
6668 rm -f conftest.
$ac_objext
6669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6670 (eval $ac_compile) 2>conftest.er1
6672 grep -v '^ *+' conftest.er1
>conftest.err
6674 cat conftest.err
>&5
6675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6676 (exit $ac_status); } &&
6677 { ac_try
='test -z "$ac_c_werror_flag"
6678 || test ! -s conftest.err'
6679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); }; } &&
6684 { ac_try
='test -s conftest.$ac_objext'
6685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); }; }; then
6692 echo "$as_me: failed program was:" >&5
6693 sed 's/^/| /' conftest.
$ac_ext >&5
6697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6698 if test "$ac_test_CFLAGS" = set; then
6699 CFLAGS
="$ac_save_CFLAGS"
6701 # this is the suspicious part
6704 if test x
"$ac_fdsections" = x
"yes"; then
6705 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
6707 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
6708 echo "${ECHO_T}$ac_fdsections" >&6
6712 if test ${multilib} = yes; then
6713 multilib_arg
="--enable-multilib"
6718 ac_config_files
="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp mf-runtime.h"
6720 cat >confcache
<<\_ACEOF
6721 # This file is a shell script that caches the results of configure
6722 # tests run on this system so they can be shared between configure
6723 # scripts and configure runs, see configure's option --config-cache.
6724 # It is not useful on other systems. If it contains results you don't
6725 # want to keep, you may remove or edit it.
6727 # config.status only pays attention to the cache file if you give it
6728 # the --recheck option to rerun configure.
6730 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6731 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6736 # The following way of writing the cache mishandles newlines in values,
6737 # but we know of no workaround that is simple, portable, and efficient.
6738 # So, don't put newlines in cache variables' values.
6739 # Ultrix sh set writes to stderr and can't be redirected directly,
6740 # and sets the high bit in the cache file unless we assign to the vars.
6743 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6745 # `set' does not quote correctly, so add quotes (double-quote
6746 # substitution turns \\\\ into \\, and sed turns \\ into \).
6749 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6752 # `set' quotes correctly as required by POSIX, so do not add quotes.
6754 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6761 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6763 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6765 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6766 if test -w $cache_file; then
6767 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6768 cat confcache
>$cache_file
6770 echo "not updating unwritable cache $cache_file"
6775 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6776 # Let make expand exec_prefix.
6777 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6779 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6780 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6781 # trailing colons and then remove the whole line if VPATH becomes empty
6782 # (actually we leave an empty line to preserve line numbers).
6783 if test "x$srcdir" = x.
; then
6784 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6785 s/:*\$(srcdir):*/:/;
6786 s/:*\${srcdir}:*/:/;
6788 s/^\([^=]*=[ ]*\):*/\1/;
6794 DEFS
=-DHAVE_CONFIG_H
6798 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6799 # 1. Remove the extension, and $U if already installed.
6800 ac_i
=`echo "$ac_i" |
6801 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6803 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6804 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6808 LTLIBOBJS
=$ac_ltlibobjs
6811 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6812 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6813 Usually this means the macro was only invoked conditionally." >&5
6814 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6815 Usually this means the macro was only invoked conditionally." >&2;}
6816 { (exit 1); exit 1; }; }
6818 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6819 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6820 Usually this means the macro was only invoked conditionally." >&5
6821 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6822 Usually this means the macro was only invoked conditionally." >&2;}
6823 { (exit 1); exit 1; }; }
6825 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6826 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6827 Usually this means the macro was only invoked conditionally." >&5
6828 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6829 Usually this means the macro was only invoked conditionally." >&2;}
6830 { (exit 1); exit 1; }; }
6832 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
6833 { { echo "$as_me:$LINENO: error: conditional \"LIBMUDFLAPTH\" was never defined.
6834 Usually this means the macro was only invoked conditionally." >&5
6835 echo "$as_me: error: conditional \"LIBMUDFLAPTH\" was never defined.
6836 Usually this means the macro was only invoked conditionally." >&2;}
6837 { (exit 1); exit 1; }; }
6840 : ${CONFIG_STATUS=./config.status}
6841 ac_clean_files_save
=$ac_clean_files
6842 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6843 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6844 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6845 cat >$CONFIG_STATUS <<_ACEOF
6847 # Generated by $as_me.
6848 # Run this file to recreate the current configuration.
6849 # Compiler output produced by configure, useful for debugging
6850 # configure, is in config.log if it exists.
6855 SHELL=\${CONFIG_SHELL-$SHELL}
6858 cat >>$CONFIG_STATUS <<\_ACEOF
6859 ## --------------------- ##
6860 ## M4sh Initialization. ##
6861 ## --------------------- ##
6863 # Be Bourne compatible
6864 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6867 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6868 # is contrary to our usage. Disable this feature.
6869 alias -g '${1+"$@"}'='"$@"'
6870 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6873 DUALCASE
=1; export DUALCASE
# for MKS sh
6875 # Support unset when possible.
6876 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6883 # Work around bugs in pre-3.0 UWIN ksh.
6884 $as_unset ENV MAIL MAILPATH
6891 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6892 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6893 LC_TELEPHONE LC_TIME
6895 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6896 eval $as_var=C
; export $as_var
6902 # Required to use basename.
6903 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6909 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6910 as_basename
=basename
6916 # Name of the executable.
6917 as_me
=`$as_basename "$0" ||
6918 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6919 X"$0" : 'X\(//\)$' \| \
6920 X"$0" : 'X\(/\)$' \| \
6921 . : '\(.\)' 2>/dev/null ||
6923 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6924 /^X\/\(\/\/\)$/{ s//\1/; q; }
6925 /^X\/\(\/\).*/{ s//\1/; q; }
6929 # PATH needs CR, and LINENO needs CR and PATH.
6930 # Avoid depending upon Character Ranges.
6931 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6932 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6933 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6934 as_cr_digits
='0123456789'
6935 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6937 # The user is always right.
6938 if test "${PATH_SEPARATOR+set}" != set; then
6939 echo "#! /bin/sh" >conf$$.sh
6940 echo "exit 0" >>conf$$.sh
6942 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6953 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6954 test "x$as_lineno_1" != "x$as_lineno_2" &&
6955 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6956 # Find who we are. Look in the path if we contain no path at all
6959 *[\\/]* ) as_myself
=$0 ;;
6960 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6964 test -z "$as_dir" && as_dir
=.
6965 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6970 # We did not find ourselves, most probably we were run as `sh COMMAND'
6971 # in which case we are not to be found in the path.
6972 if test "x$as_myself" = x
; then
6975 if test ! -f "$as_myself"; then
6976 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6977 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6978 { (exit 1); exit 1; }; }
6980 case $CONFIG_SHELL in
6982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6983 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6986 test -z "$as_dir" && as_dir
=.
6987 for as_base
in sh bash ksh sh5
; do
6990 if ("$as_dir/$as_base" -c '
6993 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6994 test "x$as_lineno_1" != "x$as_lineno_2" &&
6995 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6996 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6997 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6998 CONFIG_SHELL
=$as_dir/$as_base
7000 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7008 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7009 # uniformly replaced by the line number. The first 'sed' inserts a
7010 # line-number line before each line; the second 'sed' does the real
7011 # work. The second script uses 'N' to pair each line-number line
7012 # with the numbered line, and appends trailing '-' during
7013 # substitution so that $LINENO is not a special case at line end.
7014 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7015 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7016 sed '=' <$as_myself |
7021 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7024 s,^['$as_cr_digits']*\n,,
7026 chmod +x
$as_me.lineno ||
7027 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7028 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7029 { (exit 1); exit 1; }; }
7031 # Don't try to exec as it changes $[0], causing all sort of problems
7032 # (the dirname of $[0] is not the place where we might find the
7033 # original and so on. Autoconf is especially sensible to this).
7035 # Exit status is that of the last command.
7040 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7041 *c
*,-n*) ECHO_N
= ECHO_C
='
7043 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7044 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7047 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7053 rm -f conf$$ conf$$.exe conf$$.
file
7055 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7056 # We could just check for DJGPP; but this test a) works b) is more generic
7057 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7058 if test -f conf$$.exe
; then
7059 # Don't use ln at all; we don't have any links
7064 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7069 rm -f conf$$ conf$$.exe conf$$.
file
7071 if mkdir
-p .
2>/dev
/null
; then
7074 test -d .
/-p && rmdir .
/-p
7078 as_executable_p
="test -f"
7080 # Sed expression to map a string onto a valid CPP name.
7081 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7083 # Sed expression to map a string onto a valid variable name.
7084 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7088 # We need space, tab and new line, in precisely that order.
7098 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7099 # report actual input values of CONFIG_FILES etc. instead of their
7100 # values after options handling. Logging --version etc. is OK.
7104 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7105 ## Running $as_me. ##
7110 This file was extended by libmudflap $as_me 1.0, which was
7111 generated by GNU Autoconf 2.59. Invocation command line was
7113 CONFIG_FILES = $CONFIG_FILES
7114 CONFIG_HEADERS = $CONFIG_HEADERS
7115 CONFIG_LINKS = $CONFIG_LINKS
7116 CONFIG_COMMANDS = $CONFIG_COMMANDS
7120 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7124 # Files that config.status was made for.
7125 if test -n "$ac_config_files"; then
7126 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7129 if test -n "$ac_config_headers"; then
7130 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7133 if test -n "$ac_config_links"; then
7134 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7137 if test -n "$ac_config_commands"; then
7138 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7141 cat >>$CONFIG_STATUS <<\_ACEOF
7144 \`$as_me' instantiates files from templates according to the
7145 current configuration.
7147 Usage: $0 [OPTIONS] [FILE]...
7149 -h, --help print this help, then exit
7150 -V, --version print version number, then exit
7151 -q, --quiet do not print progress messages
7152 -d, --debug don't remove temporary files
7153 --recheck update $as_me by reconfiguring in the same conditions
7154 --file=FILE[:TEMPLATE]
7155 instantiate the configuration file FILE
7156 --header=FILE[:TEMPLATE]
7157 instantiate the configuration header FILE
7159 Configuration files:
7162 Configuration headers:
7165 Configuration commands:
7168 Report bugs to <bug-autoconf@gnu.org>."
7171 cat >>$CONFIG_STATUS <<_ACEOF
7173 libmudflap config.status 1.0
7174 configured by $0, generated by GNU Autoconf 2.59,
7175 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7177 Copyright (C) 2003 Free Software Foundation, Inc.
7178 This config.status script is free software; the Free Software Foundation
7179 gives unlimited permission to copy, distribute and modify it."
7184 cat >>$CONFIG_STATUS <<\_ACEOF
7185 # If no file are specified by the user, then we need to provide default
7186 # value. By we need to know if files were specified by the user.
7192 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7193 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7201 *) # This is not an option, so the user has probably given explicit
7204 ac_need_defaults
=false
;;
7208 # Handling of the options.
7210 cat >>$CONFIG_STATUS <<\_ACEOF
7211 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7213 --version |
--vers* |
-V )
7214 echo "$ac_cs_version"; exit 0 ;;
7216 # Conflict between --help and --header
7217 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7218 Try \`$0 --help' for more information." >&5
7219 echo "$as_me: error: ambiguous option: $1
7220 Try \`$0 --help' for more information." >&2;}
7221 { (exit 1); exit 1; }; };;
7222 --help |
--hel |
-h )
7223 echo "$ac_cs_usage"; exit 0 ;;
7224 --debug |
--d* |
-d )
7226 --file |
--fil |
--fi |
--f )
7228 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7229 ac_need_defaults
=false
;;
7230 --header |
--heade |
--head |
--hea )
7232 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7233 ac_need_defaults
=false
;;
7234 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7235 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7239 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7240 Try \`$0 --help' for more information." >&5
7241 echo "$as_me: error: unrecognized option: $1
7242 Try \`$0 --help' for more information." >&2;}
7243 { (exit 1); exit 1; }; } ;;
7245 *) ac_config_targets
="$ac_config_targets $1" ;;
7251 ac_configure_extra_args
=
7253 if $ac_cs_silent; then
7255 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7259 cat >>$CONFIG_STATUS <<_ACEOF
7260 if \$ac_cs_recheck; then
7261 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7262 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7267 cat >>$CONFIG_STATUS <<_ACEOF
7269 # INIT-COMMANDS section.
7276 with_multisubdir="$with_multisubdir"
7277 with_multisrctop="$with_multisrctop"
7278 with_target_subdir="$with_target_subdir"
7279 ac_configure_args="${multilib_arg} ${ac_configure_args}"
7280 multi_basedir="$multi_basedir"
7281 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
7283 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7289 cat >>$CONFIG_STATUS <<\_ACEOF
7290 for ac_config_target
in $ac_config_targets
7292 case "$ac_config_target" in
7293 # Handling of arguments.
7294 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7295 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
7296 "testsuite/mfconfig.exp" ) CONFIG_FILES
="$CONFIG_FILES testsuite/mfconfig.exp" ;;
7297 "mf-runtime.h" ) CONFIG_FILES
="$CONFIG_FILES mf-runtime.h" ;;
7298 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7299 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7300 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7301 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7302 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7303 { (exit 1); exit 1; }; };;
7307 # If the user did not use the arguments to specify the items to instantiate,
7308 # then the envvar interface is used. Set only those that are not.
7309 # We use the long form for the default assignment because of an extremely
7310 # bizarre bug on SunOS 4.1.3.
7311 if $ac_need_defaults; then
7312 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7313 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7314 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7317 # Have a temporary directory for convenience. Make it in the build tree
7318 # simply because there is no reason to put it here, and in addition,
7319 # creating and moving files from /tmp can sometimes cause problems.
7320 # Create a temporary directory, and hook for its removal unless debugging.
7323 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7324 trap '{ (exit 1); exit 1; }' 1 2 13 15
7327 # Create a (secure) tmp directory for tmp files.
7330 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7331 test -n "$tmp" && test -d "$tmp"
7334 tmp
=.
/confstat$$
-$RANDOM
7335 (umask 077 && mkdir
$tmp)
7338 echo "$me: cannot create a temporary directory in ." >&2
7339 { (exit 1); exit 1; }
7344 cat >>$CONFIG_STATUS <<_ACEOF
7347 # CONFIG_FILES section.
7350 # No need to generate the scripts if there are no CONFIG_FILES.
7351 # This happens for instance when ./config.status config.h
7352 if test -n "\$CONFIG_FILES"; then
7353 # Protect against being on the right side of a sed subst in config.status.
7354 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7355 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7356 s,@SHELL@,$SHELL,;t t
7357 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7358 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7359 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7360 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7361 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7362 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7363 s,@exec_prefix@,$exec_prefix,;t t
7364 s,@prefix@,$prefix,;t t
7365 s,@program_transform_name@,$program_transform_name,;t t
7366 s,@bindir@,$bindir,;t t
7367 s,@sbindir@,$sbindir,;t t
7368 s,@libexecdir@,$libexecdir,;t t
7369 s,@datadir@,$datadir,;t t
7370 s,@sysconfdir@,$sysconfdir,;t t
7371 s,@sharedstatedir@,$sharedstatedir,;t t
7372 s,@localstatedir@,$localstatedir,;t t
7373 s,@libdir@,$libdir,;t t
7374 s,@includedir@,$includedir,;t t
7375 s,@oldincludedir@,$oldincludedir,;t t
7376 s,@infodir@,$infodir,;t t
7377 s,@mandir@,$mandir,;t t
7378 s,@build_alias@,$build_alias,;t t
7379 s,@host_alias@,$host_alias,;t t
7380 s,@target_alias@,$target_alias,;t t
7382 s,@ECHO_C@,$ECHO_C,;t t
7383 s,@ECHO_N@,$ECHO_N,;t t
7384 s,@ECHO_T@,$ECHO_T,;t t
7386 s,@build@,$build,;t t
7387 s,@build_cpu@,$build_cpu,;t t
7388 s,@build_vendor@,$build_vendor,;t t
7389 s,@build_os@,$build_os,;t t
7391 s,@host_cpu@,$host_cpu,;t t
7392 s,@host_vendor@,$host_vendor,;t t
7393 s,@host_os@,$host_os,;t t
7394 s,@target@,$target,;t t
7395 s,@target_cpu@,$target_cpu,;t t
7396 s,@target_vendor@,$target_vendor,;t t
7397 s,@target_os@,$target_os,;t t
7398 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7399 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7400 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7401 s,@CYGPATH_W@,$CYGPATH_W,;t t
7402 s,@PACKAGE@,$PACKAGE,;t t
7403 s,@VERSION@,$VERSION,;t t
7404 s,@ACLOCAL@,$ACLOCAL,;t t
7405 s,@AUTOCONF@,$AUTOCONF,;t t
7406 s,@AUTOMAKE@,$AUTOMAKE,;t t
7407 s,@AUTOHEADER@,$AUTOHEADER,;t t
7408 s,@MAKEINFO@,$MAKEINFO,;t t
7409 s,@AMTAR@,$AMTAR,;t t
7410 s,@install_sh@,$install_sh,;t t
7411 s,@STRIP@,$STRIP,;t t
7412 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7413 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7414 s,@mkdir_p@,$mkdir_p,;t t
7416 s,@SET_MAKE@,$SET_MAKE,;t t
7417 s,@am__leading_dot@,$am__leading_dot,;t t
7418 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7419 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7420 s,@MAINT@,$MAINT,;t t
7421 s,@multi_basedir@,$multi_basedir,;t t
7423 s,@ac_ct_CC@,$ac_ct_CC,;t t
7424 s,@EXEEXT@,$EXEEXT,;t t
7425 s,@OBJEXT@,$OBJEXT,;t t
7426 s,@DEPDIR@,$DEPDIR,;t t
7427 s,@am__include@,$am__include,;t t
7428 s,@am__quote@,$am__quote,;t t
7429 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7430 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7431 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7432 s,@CCDEPMODE@,$CCDEPMODE,;t t
7433 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7434 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7435 s,@CFLAGS@,$CFLAGS,;t t
7437 s,@CPPFLAGS@,$CPPFLAGS,;t t
7438 s,@EGREP@,$EGREP,;t t
7440 s,@RANLIB@,$RANLIB,;t t
7441 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7442 s,@LIBTOOL@,$LIBTOOL,;t t
7443 s,@enable_shared@,$enable_shared,;t t
7444 s,@enable_static@,$enable_static,;t t
7445 s,@MF_HAVE_STDINT_H@,$MF_HAVE_STDINT_H,;t t
7446 s,@MF_HAVE_UINTPTR_T@,$MF_HAVE_UINTPTR_T,;t t
7447 s,@LIBMUDFLAPTH_TRUE@,$LIBMUDFLAPTH_TRUE,;t t
7448 s,@LIBMUDFLAPTH_FALSE@,$LIBMUDFLAPTH_FALSE,;t t
7449 s,@build_libmudflapth@,$build_libmudflapth,;t t
7450 s,@gcc_version@,$gcc_version,;t t
7451 s,@toolexecdir@,$toolexecdir,;t t
7452 s,@toolexeclibdir@,$toolexeclibdir,;t t
7454 s,@ac_ct_NM@,$ac_ct_NM,;t t
7455 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
7456 s,@LIBOBJS@,$LIBOBJS,;t t
7457 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7462 cat >>$CONFIG_STATUS <<\_ACEOF
7463 # Split the substitutions into bite-sized pieces for seds with
7464 # small command number limits, like on Digital OSF/1 and HP-UX.
7466 ac_sed_frag
=1 # Number of current file.
7467 ac_beg
=1 # First line for current file.
7468 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7471 while $ac_more_lines; do
7472 if test $ac_beg -gt 1; then
7473 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7475 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7477 if test ! -s $tmp/subs.frag
; then
7480 # The purpose of the label and of the branching condition is to
7481 # speed up the sed processing (if there are no `@' at all, there
7482 # is no need to browse any of the substitutions).
7483 # These are the two extra sed commands mentioned above.
7485 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7486 if test -z "$ac_sed_cmds"; then
7487 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7489 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7491 ac_sed_frag
=`expr $ac_sed_frag + 1`
7493 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7496 if test -z "$ac_sed_cmds"; then
7499 fi # test -n "$CONFIG_FILES"
7502 cat >>$CONFIG_STATUS <<\_ACEOF
7503 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7504 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7506 - |
*:- |
*:-:* ) # input from stdin
7508 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7509 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7510 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7511 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7512 * ) ac_file_in
=$ac_file.
in ;;
7515 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7516 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7517 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7518 X"$ac_file" : 'X\(//\)[^/]' \| \
7519 X"$ac_file" : 'X\(//\)$' \| \
7520 X"$ac_file" : 'X\(/\)' \| \
7521 . : '\(.\)' 2>/dev/null ||
7523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7524 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7525 /^X\(\/\/\)$/{ s//\1/; q; }
7526 /^X\(\/\).*/{ s//\1/; q; }
7528 { if $as_mkdir_p; then
7533 while test ! -d "$as_dir"; do
7534 as_dirs
="$as_dir $as_dirs"
7535 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7536 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7537 X"$as_dir" : 'X\(//\)[^/]' \| \
7538 X"$as_dir" : 'X\(//\)$' \| \
7539 X"$as_dir" : 'X\(/\)' \| \
7540 . : '\(.\)' 2>/dev/null ||
7542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7543 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7544 /^X\(\/\/\)$/{ s//\1/; q; }
7545 /^X\(\/\).*/{ s//\1/; q; }
7548 test ! -n "$as_dirs" || mkdir
$as_dirs
7549 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7550 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7551 { (exit 1); exit 1; }; }; }
7555 if test "$ac_dir" != .
; then
7556 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7557 # A "../" for each directory in $ac_dir_suffix.
7558 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7560 ac_dir_suffix
= ac_top_builddir
=
7564 .
) # No --srcdir option. We are building in place.
7566 if test -z "$ac_top_builddir"; then
7569 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7571 [\\/]* | ?
:[\\/]* ) # Absolute path.
7572 ac_srcdir
=$srcdir$ac_dir_suffix;
7573 ac_top_srcdir
=$srcdir ;;
7575 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7576 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7579 # Do not use `cd foo && pwd` to compute absolute paths, because
7580 # the directories may not exist.
7582 .
) ac_abs_builddir
="$ac_dir";;
7585 .
) ac_abs_builddir
=`pwd`;;
7586 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7587 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7590 case $ac_abs_builddir in
7591 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7593 case ${ac_top_builddir}.
in
7594 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7595 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7596 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7599 case $ac_abs_builddir in
7600 .
) ac_abs_srcdir
=$ac_srcdir;;
7603 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7604 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7605 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7608 case $ac_abs_builddir in
7609 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7611 case $ac_top_srcdir in
7612 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7613 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7614 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7620 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7621 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7624 if test x
"$ac_file" != x-
; then
7625 { echo "$as_me:$LINENO: creating $ac_file" >&5
7626 echo "$as_me: creating $ac_file" >&6;}
7629 # Let's still pretend it is `configure' which instantiates (i.e., don't
7630 # use $as_me), people would be surprised to read:
7631 # /* config.h. Generated by config.status. */
7632 if test x
"$ac_file" = x-
; then
7635 configure_input
="$ac_file. "
7637 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7638 sed 's,.*/,,'` by configure."
7640 # First look for the input files in the build tree, otherwise in the
7642 ac_file_inputs
=`IFS=:
7643 for f in $ac_file_in; do
7645 -) echo $tmp/stdin ;;
7647 # Absolute (can't be DOS-style, as IFS=:)
7648 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7649 echo "$as_me: error: cannot find input file: $f" >&2;}
7650 { (exit 1); exit 1; }; }
7653 if test -f "$f"; then
7656 elif test -f "$srcdir/$f"; then
7661 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7662 echo "$as_me: error: cannot find input file: $f" >&2;}
7663 { (exit 1); exit 1; }; }
7666 done` ||
{ (exit 1); exit 1; }
7668 cat >>$CONFIG_STATUS <<_ACEOF
7672 cat >>$CONFIG_STATUS <<\_ACEOF
7674 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7675 s
,@configure_input@
,$configure_input,;t t
7676 s
,@srcdir@
,$ac_srcdir,;t t
7677 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7678 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7679 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7680 s
,@builddir@
,$ac_builddir,;t t
7681 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7682 s
,@top_builddir@
,$ac_top_builddir,;t t
7683 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7684 s
,@INSTALL@
,$ac_INSTALL,;t t
7685 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7687 if test x"$ac_file" != x-; then
7688 mv $tmp/out $ac_file
7696 cat >>$CONFIG_STATUS <<\_ACEOF
7699 # CONFIG_HEADER section.
7702 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7703 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7705 # ac_d sets the value in "#define NAME VALUE" lines.
7706 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7707 ac_dB
='[ ].*$,\1#\2'
7710 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7711 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7712 ac_uB
='$,\1#\2define\3'
7716 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7717 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7719 - |
*:- |
*:-:* ) # input from stdin
7721 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7722 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7723 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7724 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7725 * ) ac_file_in
=$ac_file.
in ;;
7728 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7729 echo "$as_me: creating $ac_file" >&6;}
7731 # First look for the input files in the build tree, otherwise in the
7733 ac_file_inputs
=`IFS=:
7734 for f in $ac_file_in; do
7736 -) echo $tmp/stdin ;;
7738 # Absolute (can't be DOS-style, as IFS=:)
7739 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7740 echo "$as_me: error: cannot find input file: $f" >&2;}
7741 { (exit 1); exit 1; }; }
7742 # Do quote $f, to prevent DOS paths from being IFS'd.
7745 if test -f "$f"; then
7748 elif test -f "$srcdir/$f"; then
7753 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7754 echo "$as_me: error: cannot find input file: $f" >&2;}
7755 { (exit 1); exit 1; }; }
7758 done` ||
{ (exit 1); exit 1; }
7759 # Remove the trailing spaces.
7760 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7764 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7765 # `conftest.undefs', that substitutes the proper values into
7766 # config.h.in to produce config.h. The first handles `#define'
7767 # templates, and the second `#undef' templates.
7768 # And first: Protect against being on the right side of a sed subst in
7769 # config.status. Protect against being in an unquoted here document
7771 rm -f conftest.defines conftest.undefs
7772 # Using a here document instead of a string reduces the quoting nightmare.
7773 # Putting comments in sed scripts is not portable.
7775 # `end' is used to avoid that the second main sed command (meant for
7776 # 0-ary CPP macros) applies to n-ary macro definitions.
7777 # See the Autoconf documentation for `clear'.
7778 cat >confdef2sed.
sed <<\_ACEOF
7783 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7785 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7788 # If some macros were called several times there might be several times
7789 # the same #defines, which is useless. Nevertheless, we may not want to
7790 # sort them, since we want the *last* AC-DEFINE to be honored.
7791 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7792 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7793 rm -f confdef2sed.sed
7795 # This sed command replaces #undef with comments. This is necessary, for
7796 # example, in the case of _POSIX_SOURCE, which is predefined and required
7797 # on some systems where configure will not decide to define it.
7798 cat >>conftest.undefs <<\_ACEOF
7799 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7802 # Break up conftest.defines because some shells have a limit on the size
7803 # of here documents, and old seds have small limits too (100 cmds).
7804 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7805 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7806 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7807 echo ' :' >>$CONFIG_STATUS
7809 while grep . conftest.defines >/dev/null
7811 # Write a limited-size here document to $tmp/defines.sed.
7812 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7813 # Speed up: don't consider the non `#define' lines.
7814 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7815 # Work around the forget-to-reset-the-flag bug.
7816 echo 't clr' >>$CONFIG_STATUS
7817 echo ': clr' >>$CONFIG_STATUS
7818 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7820 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7824 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7825 rm -f conftest.defines
7826 mv conftest.
tail conftest.defines
7828 rm -f conftest.defines
7829 echo ' fi # grep' >>$CONFIG_STATUS
7830 echo >>$CONFIG_STATUS
7832 # Break up conftest.undefs because some shells have a limit on the size
7833 # of here documents, and old seds have small limits too (100 cmds).
7834 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7836 while grep . conftest.undefs
>/dev
/null
7838 # Write a limited-size here document to $tmp/undefs.sed.
7839 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7840 # Speed up: don't consider the non
`#undef'
7841 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7842 # Work around the forget-to-reset-the-flag bug.
7843 echo 't clr' >>$CONFIG_STATUS
7844 echo ': clr' >>$CONFIG_STATUS
7845 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7847 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7851 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7852 rm -f conftest.undefs
7853 mv conftest.tail conftest.undefs
7855 rm -f conftest.undefs
7857 cat >>$CONFIG_STATUS <<\_ACEOF
7858 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7859 # use $as_me), people would be surprised to read:
7860 # /* config.h. Generated by config.status. */
7861 if test x
"$ac_file" = x-
; then
7862 echo "/* Generated by configure. */" >$tmp/config.h
7864 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7866 cat $tmp/in >>$tmp/config.h
7868 if test x
"$ac_file" != x-
; then
7869 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7870 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7871 echo "$as_me: $ac_file is unchanged" >&6;}
7873 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7874 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7875 X"$ac_file" : 'X\(//\)[^/]' \| \
7876 X"$ac_file" : 'X\(//\)$' \| \
7877 X"$ac_file" : 'X\(/\)' \| \
7878 . : '\(.\)' 2>/dev/null ||
7880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7881 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7882 /^X\(\/\/\)$/{ s//\1/; q; }
7883 /^X\(\/\).*/{ s//\1/; q; }
7885 { if $as_mkdir_p; then
7890 while test ! -d "$as_dir"; do
7891 as_dirs
="$as_dir $as_dirs"
7892 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7893 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7894 X"$as_dir" : 'X\(//\)[^/]' \| \
7895 X"$as_dir" : 'X\(//\)$' \| \
7896 X"$as_dir" : 'X\(/\)' \| \
7897 . : '\(.\)' 2>/dev/null ||
7899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7900 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7901 /^X\(\/\/\)$/{ s//\1/; q; }
7902 /^X\(\/\).*/{ s//\1/; q; }
7905 test ! -n "$as_dirs" || mkdir
$as_dirs
7906 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7907 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7908 { (exit 1); exit 1; }; }; }
7911 mv $tmp/config.h
$ac_file
7917 # Compute $ac_file's index in $config_headers.
7919 for _am_header
in $config_headers :; do
7921 $ac_file |
$ac_file:* )
7924 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7927 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7928 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7929 X$ac_file : 'X\(//\)[^/]' \| \
7930 X$ac_file : 'X\(//\)$' \| \
7931 X$ac_file : 'X\(/\)' \| \
7932 . : '\(.\)' 2>/dev/null ||
7934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7935 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7936 /^X\(\/\/\)$/{ s//\1/; q; }
7937 /^X\(\/\).*/{ s//\1/; q; }
7938 s/.*/./; q'`/stamp-h
$_am_stamp_count
7941 cat >>$CONFIG_STATUS <<\_ACEOF
7944 # CONFIG_COMMANDS section.
7946 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7947 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7948 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7949 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7950 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7951 X"$ac_dest" : 'X\(//\)[^/]' \| \
7952 X"$ac_dest" : 'X\(//\)$' \| \
7953 X"$ac_dest" : 'X\(/\)' \| \
7954 . : '\(.\)' 2>/dev/null ||
7956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7957 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7958 /^X\(\/\/\)$/{ s//\1/; q; }
7959 /^X\(\/\).*/{ s//\1/; q; }
7961 { if $as_mkdir_p; then
7966 while test ! -d "$as_dir"; do
7967 as_dirs
="$as_dir $as_dirs"
7968 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7969 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7970 X"$as_dir" : 'X\(//\)[^/]' \| \
7971 X"$as_dir" : 'X\(//\)$' \| \
7972 X"$as_dir" : 'X\(/\)' \| \
7973 . : '\(.\)' 2>/dev/null ||
7975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7976 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7977 /^X\(\/\/\)$/{ s//\1/; q; }
7978 /^X\(\/\).*/{ s//\1/; q; }
7981 test ! -n "$as_dirs" || mkdir
$as_dirs
7982 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7983 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7984 { (exit 1); exit 1; }; }; }
7988 if test "$ac_dir" != .
; then
7989 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7990 # A "../" for each directory in $ac_dir_suffix.
7991 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7993 ac_dir_suffix
= ac_top_builddir
=
7997 .
) # No --srcdir option. We are building in place.
7999 if test -z "$ac_top_builddir"; then
8002 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8004 [\\/]* | ?
:[\\/]* ) # Absolute path.
8005 ac_srcdir
=$srcdir$ac_dir_suffix;
8006 ac_top_srcdir
=$srcdir ;;
8008 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8009 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8012 # Do not use `cd foo && pwd` to compute absolute paths, because
8013 # the directories may not exist.
8015 .
) ac_abs_builddir
="$ac_dir";;
8018 .
) ac_abs_builddir
=`pwd`;;
8019 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8020 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8023 case $ac_abs_builddir in
8024 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8026 case ${ac_top_builddir}.
in
8027 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8028 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8029 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8032 case $ac_abs_builddir in
8033 .
) ac_abs_srcdir
=$ac_srcdir;;
8036 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8037 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8038 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8041 case $ac_abs_builddir in
8042 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8044 case $ac_top_srcdir in
8045 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8046 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8047 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8052 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8053 echo "$as_me: executing $ac_dest commands" >&6;}
8056 # Only add multilib support code if we just rebuilt the top-level
8058 case " $CONFIG_FILES " in
8060 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
8063 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8064 # Strip MF so we end up with the name of the file.
8065 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8066 # Check whether this is an Automake generated Makefile or not.
8067 # We used to match only the files named `Makefile.in', but
8068 # some people rename them; so instead we look at the file content.
8069 # Grep'ing the first line is not enough: some people post-process
8070 # each Makefile.in and add a new line on top of each file to say so.
8071 # So let's grep whole file.
8072 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8073 dirpart
=`(dirname "$mf") 2>/dev/null ||
8074 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8075 X"$mf" : 'X\(//\)[^/]' \| \
8076 X"$mf" : 'X\(//\)$' \| \
8077 X"$mf" : 'X\(/\)' \| \
8078 . : '\(.\)' 2>/dev/null ||
8080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8081 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8082 /^X\(\/\/\)$/{ s//\1/; q; }
8083 /^X\(\/\).*/{ s//\1/; q; }
8088 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
8089 # Extract the definition of DEP_FILES from the Makefile without
8091 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8092 test -z "$DEPDIR" && continue
8093 # When using ansi2knr, U may be empty or an underscore; expand it
8094 U
=`sed -n 's/^U = //p' < "$mf"`
8095 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
8096 # We invoke sed twice because it is the simplest approach to
8097 # changing $(DEPDIR) to its actual value in the expansion.
8098 for file in `sed -n '
8099 /^DEP_FILES = .*\\\\$/ {
8108 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
8109 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8110 # Make sure the directory exists.
8111 test -f "$dirpart/$file" && continue
8112 fdir
=`(dirname "$file") 2>/dev/null ||
8113 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8114 X"$file" : 'X\(//\)[^/]' \| \
8115 X"$file" : 'X\(//\)$' \| \
8116 X"$file" : 'X\(/\)' \| \
8117 . : '\(.\)' 2>/dev/null ||
8119 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8120 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8121 /^X\(\/\/\)$/{ s//\1/; q; }
8122 /^X\(\/\).*/{ s//\1/; q; }
8124 { if $as_mkdir_p; then
8125 mkdir
-p $dirpart/$fdir
8127 as_dir
=$dirpart/$fdir
8129 while test ! -d "$as_dir"; do
8130 as_dirs
="$as_dir $as_dirs"
8131 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8132 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8133 X"$as_dir" : 'X\(//\)[^/]' \| \
8134 X"$as_dir" : 'X\(//\)$' \| \
8135 X"$as_dir" : 'X\(/\)' \| \
8136 . : '\(.\)' 2>/dev/null ||
8138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8139 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8140 /^X\(\/\/\)$/{ s//\1/; q; }
8141 /^X\(\/\).*/{ s//\1/; q; }
8144 test ! -n "$as_dirs" || mkdir
$as_dirs
8145 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8146 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8147 { (exit 1); exit 1; }; }; }
8149 # echo "creating $dirpart/$file"
8150 echo '# dummy' > "$dirpart/$file"
8158 cat >>$CONFIG_STATUS <<\_ACEOF
8160 { (exit 0); exit 0; }
8162 chmod +x
$CONFIG_STATUS
8163 ac_clean_files
=$ac_clean_files_save
8166 # configure is writing to config.log, and then calls config.status.
8167 # config.status does its own redirection, appending to config.log.
8168 # Unfortunately, on DOS this fails, as config.log is still kept open
8169 # by configure, so config.status won't be able to write to it; its
8170 # output is simply discarded. So we exec the FD to /dev/null,
8171 # effectively closing config.log, so it can be properly (re)opened and
8172 # appended to by config.status. When coming back to configure, we
8173 # need to make the FD available again.
8174 if test "$no_create" != yes; then
8176 ac_config_status_args
=
8177 test "$silent" = yes &&
8178 ac_config_status_args
="$ac_config_status_args --quiet"
8180 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8182 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8183 # would make configure fail if this is the last instruction.
8184 $ac_cs_success ||
{ (exit 1); exit 1; }