2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libmudflap 1.0.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME
='libmudflap'
269 PACKAGE_TARNAME
='libmudflap'
270 PACKAGE_VERSION
='1.0'
271 PACKAGE_STRING
='libmudflap 1.0'
274 ac_unique_file
="mf-runtime.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS CPP CPPFLAGS EGREP LN_S RANLIB ac_ct_RANLIB LIBTOOL enable_shared enable_static MF_HAVE_STDINT_H MF_HAVE_UINTPTR_T LIBMUDFLAPTH_TRUE LIBMUDFLAPTH_FALSE build_libmudflapth toolexecdir toolexeclibdir NM ac_ct_NM SECTION_FLAGS LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CPP_set
=${CPP+set}
754 ac_env_CPP_value
=$CPP
755 ac_cv_env_CPP_set
=${CPP+set}
756 ac_cv_env_CPP_value
=$CPP
757 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value
=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
763 # Report the --help message.
765 if test "$ac_init_help" = "long"; then
766 # Omit some internal or obsolete options to make the list less imposing.
767 # This message is too long to be a string in the A/UX 3.1 sh.
769 \`configure' configures libmudflap 1.0 to adapt to many kinds of systems.
771 Usage: $0 [OPTION]... [VAR=VALUE]...
773 To assign environment variables (e.g., CC, CFLAGS...), specify them as
774 VAR=VALUE. See below for descriptions of some of the useful variables.
776 Defaults for the options are specified in brackets.
779 -h, --help display this help and exit
780 --help=short display options specific to this package
781 --help=recursive display the short help of all the included packages
782 -V, --version display version information and exit
783 -q, --quiet, --silent do not print \`checking...' messages
784 --cache-file=FILE cache test results in FILE [disabled]
785 -C, --config-cache alias for \`--cache-file=config.cache'
786 -n, --no-create do not create output files
787 --srcdir=DIR find the sources in DIR [configure dir or \`..']
792 Installation directories:
793 --prefix=PREFIX install architecture-independent files in PREFIX
795 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
798 By default, \`make install' will install all the files in
799 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
800 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
801 for instance \`--prefix=\$HOME'.
803 For better control, use the options below.
805 Fine tuning of the installation directories:
806 --bindir=DIR user executables [EPREFIX/bin]
807 --sbindir=DIR system admin executables [EPREFIX/sbin]
808 --libexecdir=DIR program executables [EPREFIX/libexec]
809 --datadir=DIR read-only architecture-independent data [PREFIX/share]
810 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
811 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
812 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
813 --libdir=DIR object code libraries [EPREFIX/lib]
814 --includedir=DIR C header files [PREFIX/include]
815 --oldincludedir=DIR C header files for non-gcc [/usr/include]
816 --infodir=DIR info documentation [PREFIX/info]
817 --mandir=DIR man documentation [PREFIX/man]
823 --program-prefix=PREFIX prepend PREFIX to installed program names
824 --program-suffix=SUFFIX append SUFFIX to installed program names
825 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
828 --build=BUILD configure
for building on BUILD
[guessed
]
829 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
830 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
834 if test -n "$ac_init_help"; then
835 case $ac_init_help in
836 short | recursive
) echo "Configuration of libmudflap 1.0:";;
841 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
842 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
843 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
844 --enable-maintainer-mode enable make rules and dependencies not useful
845 (and sometimes confusing
) to the casual installer
846 --enable-multilib build many library versions
(default
)
847 --disable-dependency-tracking speeds up one-time build
848 --enable-dependency-tracking do not reject slow dependency extractors
849 --enable-shared=PKGS build shared libraries default
=yes
850 --enable-static=PKGS build static libraries default
=yes
851 --enable-fast-install=PKGS optimize
for fast installation default
=yes
852 --disable-libtool-lock avoid locking
(might
break parallel builds
)
853 _g_switchUse thread-local storage
857 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
858 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
859 --with-gnu-ld assume the C compiler uses GNU ld default
=no
860 --with-pic try to use only PIC
/non-PIC objects default
=use both
862 Some influential environment variables
:
863 CC C compiler
command
864 CFLAGS C compiler flags
865 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
866 nonstandard directory
<lib dir
>
867 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
868 headers
in a nonstandard directory
<include dir
>
871 Use these variables to override the choices made by
`configure' or to help
872 it to find libraries and programs with nonstandard names/locations.
877 if test "$ac_init_help" = "recursive"; then
878 # If there are subdirs, report their specific --help.
880 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
881 test -d $ac_dir || continue
884 if test "$ac_dir" != .; then
885 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
886 # A "../" for each directory in $ac_dir_suffix.
887 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
889 ac_dir_suffix= ac_top_builddir=
893 .) # No --srcdir option. We are building in place.
895 if test -z "$ac_top_builddir"; then
898 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
900 [\\/]* | ?:[\\/]* ) # Absolute path.
901 ac_srcdir=$srcdir$ac_dir_suffix;
902 ac_top_srcdir=$srcdir ;;
904 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
905 ac_top_srcdir=$ac_top_builddir$srcdir ;;
908 # Do not use `cd foo
&& pwd` to compute absolute paths, because
909 # the directories may not exist.
911 .) ac_abs_builddir="$ac_dir";;
914 .) ac_abs_builddir=`pwd`;;
915 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
916 *) ac_abs_builddir=`pwd`/"$ac_dir";;
919 case $ac_abs_builddir in
920 .) ac_abs_top_builddir=${ac_top_builddir}.;;
922 case ${ac_top_builddir}. in
923 .) ac_abs_top_builddir=$ac_abs_builddir;;
924 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
925 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
928 case $ac_abs_builddir in
929 .) ac_abs_srcdir=$ac_srcdir;;
932 .) ac_abs_srcdir=$ac_abs_builddir;;
933 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
934 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
937 case $ac_abs_builddir in
938 .) ac_abs_top_srcdir=$ac_top_srcdir;;
940 case $ac_top_srcdir in
941 .) ac_abs_top_srcdir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
943 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
948 # Check for guested configure; otherwise get Cygnus style configure.
949 if test -f $ac_srcdir/configure.gnu; then
951 $SHELL $ac_srcdir/configure.gnu --help=recursive
952 elif test -f $ac_srcdir/configure; then
954 $SHELL $ac_srcdir/configure --help=recursive
955 elif test -f $ac_srcdir/configure.ac ||
956 test -f $ac_srcdir/configure.in; then
960 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
966 test -n "$ac_init_help" && exit 0
967 if $ac_init_version; then
969 libmudflap configure 1.0
970 generated by GNU Autoconf 2.59
972 Copyright (C) 2003 Free Software Foundation, Inc.
973 This configure script is free software; the Free Software Foundation
974 gives unlimited permission to copy, distribute and modify it.
980 This file contains any messages produced by compilers while
981 running configure, to aid debugging if configure makes a mistake.
983 It was created by libmudflap $as_me 1.0, which was
984 generated by GNU Autoconf 2.59. Invocation command line was
995 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
996 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
997 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
998 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
999 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1001 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1002 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1004 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1005 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1006 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1007 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1008 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1009 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1010 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1018 test -z "$as_dir" && as_dir=.
1019 echo "PATH: $as_dir"
1034 # Keep a trace of the command line.
1035 # Strip out --no-create and --no-recursion so they do not pile up.
1036 # Strip out --silent because we don't want to record it for future runs.
1037 # Also quote any args containing shell meta-characters.
1038 # Make two passes to allow for proper duplicate-argument suppression.
1043 ac_must_keep_next=false
1049 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1050 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1051 | -silent | --silent | --silen | --sile | --sil)
1053 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1054 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1057 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1059 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1060 if test $ac_must_keep_next = true; then
1061 ac_must_keep_next=false # Got value, back to normal.
1064 *=* | --config-cache | -C | -disable-* | --disable-* \
1065 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1066 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1067 | -with-* | --with-* | -without-* | --without-* | --x)
1068 case "$ac_configure_args0 " in
1069 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1072 -* ) ac_must_keep_next=true ;;
1075 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1076 # Get rid of the leading space.
1082 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1083 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1085 # When interrupted or exit'd, cleanup temporary files, and complete
1086 # config.log. We remove comments because anyway the quotes in there
1087 # would cause problems or look ugly.
1088 # WARNING: Be sure not to use single quotes in there, as some shells,
1089 # such as our DU 5.0 friend, will then `close
' the trap.
1090 trap 'exit_status
=$?
1091 # Save into config.log some information that might help in debugging.
1096 ## ---------------- ##
1097 ## Cache variables. ##
1098 ## ---------------- ##
1101 # The following way of writing the cache mishandles newlines in values,
1104 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1107 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1108 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1112 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1119 ## ----------------- ##
1120 ## Output variables. ##
1121 ## ----------------- ##
1124 for ac_var
in $ac_subst_vars
1126 eval ac_val
=$
`echo $ac_var`
1127 echo "$ac_var='"'"'$ac_val'"'"'"
1131 if test -n "$ac_subst_files"; then
1138 for ac_var
in $ac_subst_files
1140 eval ac_val
=$
`echo $ac_var`
1141 echo "$ac_var='"'"'$ac_val'"'"'"
1146 if test -s confdefs.h
; then
1153 sed "/^$/d" confdefs.h |
sort
1156 test "$ac_signal" != 0 &&
1157 echo "$as_me: caught signal $ac_signal"
1158 echo "$as_me: exit $exit_status"
1160 rm -f core
*.core
&&
1161 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1164 for ac_signal in 1 2 13 15; do
1165 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1169 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1170 rm -rf conftest* confdefs.h
1171 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1174 # Predefined preprocessor variables.
1176 cat >>confdefs.h <<_ACEOF
1177 #define PACKAGE_NAME "$PACKAGE_NAME"
1181 cat >>confdefs.h <<_ACEOF
1182 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_STRING "$PACKAGE_STRING"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1201 # Let the site file select an alternate cache file if it wants to.
1202 # Prefer explicitly selected file to automatically selected ones.
1203 if test -z "$CONFIG_SITE"; then
1204 if test "x$prefix" != xNONE; then
1205 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1207 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1210 for ac_site_file in $CONFIG_SITE; do
1211 if test -r "$ac_site_file"; then
1212 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1213 echo "$as_me: loading site script $ac_site_file" >&6;}
1214 sed 's
/^
/|
/' "$ac_site_file" >&5
1219 if test -r "$cache_file"; then
1220 # Some versions of bash will fail to source /dev/null (special
1221 # files actually), so we avoid doing that.
1222 if test -f "$cache_file"; then
1223 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1224 echo "$as_me: loading cache $cache_file" >&6;}
1226 [\\/]* | ?:[\\/]* ) . $cache_file;;
1227 *) . ./$cache_file;;
1231 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1232 echo "$as_me: creating cache $cache_file" >&6;}
1236 # Check that the precious variables saved in the cache have kept the same
1238 ac_cache_corrupted=false
1239 for ac_var in `(set) 2>&1 |
1240 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1241 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1242 eval ac_new_set=\$ac_env_${ac_var}_set
1243 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1244 eval ac_new_val="\$ac_env_${ac_var}_value"
1245 case $ac_old_set,$ac_new_set in
1247 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1248 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1249 ac_cache_corrupted=: ;;
1251 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1252 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1253 ac_cache_corrupted=: ;;
1256 if test "x$ac_old_val" != "x$ac_new_val"; then
1257 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1258 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1259 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1260 echo "$as_me: former value: $ac_old_val" >&2;}
1261 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1262 echo "$as_me: current value: $ac_new_val" >&2;}
1263 ac_cache_corrupted=:
1266 # Pass precious variables to config.status.
1267 if test "$ac_new_set" = set; then
1269 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1270 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1271 *) ac_arg=$ac_var=$ac_new_val ;;
1273 case " $ac_configure_args " in
1274 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1275 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1279 if $ac_cache_corrupted; then
1280 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1281 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1282 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1283 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1284 { (exit 1); exit 1; }; }
1288 ac_cpp='$CPP $CPPFLAGS'
1289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1290 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1321 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1322 if test -f $ac_dir/install-sh; then
1324 ac_install_sh="$ac_aux_dir/install-sh -c"
1326 elif test -f $ac_dir/install.sh; then
1328 ac_install_sh="$ac_aux_dir/install.sh -c"
1330 elif test -f $ac_dir/shtool; then
1332 ac_install_sh="$ac_aux_dir/shtool install -c"
1336 if test -z "$ac_aux_dir"; then
1337 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1338 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1339 { (exit 1); exit 1; }; }
1341 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1342 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1343 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1345 # Make sure we can run config.sub.
1346 $ac_config_sub sun4 >/dev/null 2>&1 ||
1347 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1348 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1349 { (exit 1); exit 1; }; }
1351 echo "$as_me:$LINENO: checking build system type" >&5
1352 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1353 if test "${ac_cv_build+set}" = set; then
1354 echo $ECHO_N "(cached) $ECHO_C" >&6
1356 ac_cv_build_alias=$build_alias
1357 test -z "$ac_cv_build_alias" &&
1358 ac_cv_build_alias=`$ac_config_guess`
1359 test -z "$ac_cv_build_alias" &&
1360 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1361 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1362 { (exit 1); exit 1; }; }
1363 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1364 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1365 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1366 { (exit 1); exit 1; }; }
1369 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1370 echo "${ECHO_T}$ac_cv_build" >&6
1372 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1373 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1374 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1377 echo "$as_me:$LINENO: checking host system type" >&5
1378 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1379 if test "${ac_cv_host+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 ac_cv_host_alias=$host_alias
1383 test -z "$ac_cv_host_alias" &&
1384 ac_cv_host_alias=$ac_cv_build_alias
1385 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1386 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1387 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1388 { (exit 1); exit 1; }; }
1391 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1392 echo "${ECHO_T}$ac_cv_host" >&6
1394 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1395 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1396 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1399 echo "$as_me:$LINENO: checking target system type" >&5
1400 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1401 if test "${ac_cv_target+set}" = set; then
1402 echo $ECHO_N "(cached) $ECHO_C" >&6
1404 ac_cv_target_alias=$target_alias
1405 test "x$ac_cv_target_alias" = "x" &&
1406 ac_cv_target_alias=$ac_cv_host_alias
1407 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1408 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1409 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1410 { (exit 1); exit 1; }; }
1413 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1414 echo "${ECHO_T}$ac_cv_target" >&6
1415 target=$ac_cv_target
1416 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1417 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1418 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1421 # The aliases save the names the user supplied, while $host etc.
1422 # will get canonicalized.
1423 test -n "$target_alias" &&
1424 test "$program_prefix$program_suffix$program_transform_name" = \
1426 program_prefix=${target_alias}-
1427 case ${build_alias} in
1428 "") build_noncanonical=${build} ;;
1429 *) build_noncanonical=${build_alias} ;;
1432 case ${host_alias} in
1433 "") host_noncanonical=${build_noncanonical} ;;
1434 *) host_noncanonical=${host_alias} ;;
1437 case ${target_alias} in
1438 "") target_noncanonical=${host_noncanonical} ;;
1439 *) target_noncanonical=${target_alias} ;;
1445 am__api_version="1.9"
1446 # Find a good install program. We prefer a C program (faster),
1447 # so one script is as good as another. But avoid the broken or
1448 # incompatible versions:
1449 # SysV /etc/install, /usr/sbin/install
1450 # SunOS /usr/etc/install
1451 # IRIX /sbin/install
1453 # AmigaOS /C/install, which installs bootblocks on floppy discs
1454 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1455 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1456 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1457 # OS/2's system install, which has a completely different semantic
1458 # ./install, which can be erroneously created by make from ./install.sh.
1459 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1460 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1461 if test -z "$INSTALL"; then
1462 if test "${ac_cv_path_install+set}" = set; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1469 test -z "$as_dir" && as_dir
=.
1470 # Account for people who put trailing slashes in PATH elements.
1472 .
/ | .
// |
/cC
/* | \
1473 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1474 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1477 # OSF1 and SCO ODT 3.0 have their own names for install.
1478 # Don't use installbsd from OSF since it installs stuff as root
1480 for ac_prog
in ginstall scoinst
install; do
1481 for ac_exec_ext
in '' $ac_executable_extensions; do
1482 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1483 if test $ac_prog = install &&
1484 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1485 # AIX install. It has an incompatible calling convention.
1487 elif test $ac_prog = install &&
1488 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1489 # program-specific install script used by HP pwplus--don't use.
1492 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1504 if test "${ac_cv_path_install+set}" = set; then
1505 INSTALL
=$ac_cv_path_install
1507 # As a last resort, use the slow shell script. We don't cache a
1508 # path for INSTALL within a source directory, because that will
1509 # break other packages using the cache if that directory is
1510 # removed, or if the path is relative.
1511 INSTALL
=$ac_install_sh
1514 echo "$as_me:$LINENO: result: $INSTALL" >&5
1515 echo "${ECHO_T}$INSTALL" >&6
1517 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1518 # It thinks the first close brace ends the variable substitution.
1519 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1521 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1523 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1525 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1526 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1529 echo timestamp
> conftest.
file
1530 # Do `set' in a subshell so we don't clobber the current shell's
1531 # arguments. Must try -L first in case configure is actually a
1532 # symlink; some systems play weird games with the mod time of symlinks
1533 # (eg FreeBSD returns the mod time of the symlink's containing
1536 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1537 if test "$*" = "X"; then
1539 set X
`ls -t $srcdir/configure conftest.file`
1542 if test "$*" != "X $srcdir/configure conftest.file" \
1543 && test "$*" != "X conftest.file $srcdir/configure"; then
1545 # If neither matched, then we have a broken ls. This can happen
1546 # if, for instance, CONFIG_SHELL is bash and it inherits a
1547 # broken ls alias from the environment. This has actually
1548 # happened. Such a system could not be considered "sane".
1549 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1550 alias in your environment" >&5
1551 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1552 alias in your environment" >&2;}
1553 { (exit 1); exit 1; }; }
1556 test "$2" = conftest.
file
1562 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1563 Check your system clock" >&5
1564 echo "$as_me: error: newly created file is older than distributed files!
1565 Check your system clock" >&2;}
1566 { (exit 1); exit 1; }; }
1568 echo "$as_me:$LINENO: result: yes" >&5
1569 echo "${ECHO_T}yes" >&6
1570 test "$program_prefix" != NONE
&&
1571 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1572 # Use a double $ so make ignores it.
1573 test "$program_suffix" != NONE
&&
1574 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1575 # Double any \ or $. echo might interpret backslashes.
1576 # By default was `s,x,x', remove it if useless.
1577 cat <<\_ACEOF
>conftest.
sed
1578 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1580 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1583 # expand $ac_aux_dir to an absolute path
1584 am_aux_dir
=`cd $ac_aux_dir && pwd`
1586 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1587 # Use eval to expand $SHELL
1588 if eval "$MISSING --run true"; then
1589 am_missing_run
="$MISSING --run "
1592 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1593 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1596 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1597 # We used to keeping the `.' as first argument, in order to
1598 # allow $(mkdir_p) to be used without argument. As in
1599 # $(mkdir_p) $(somedir)
1600 # where $(somedir) is conditionally defined. However this is wrong
1602 # 1. if the package is installed by a user who cannot write `.'
1603 # make install will fail,
1604 # 2. the above comment should most certainly read
1605 # $(mkdir_p) $(DESTDIR)$(somedir)
1606 # so it does not work when $(somedir) is undefined and
1607 # $(DESTDIR) is not.
1608 # To support the latter case, we have to write
1609 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1610 # so the `.' trick is pointless.
1611 mkdir_p
='mkdir -p --'
1613 # On NextStep and OpenStep, the `mkdir' command does not
1614 # recognize any option. It will interpret all options as
1615 # directories to create, and then abort because `.' already
1617 for d
in .
/-p .
/--version;
1619 test -d $d && rmdir $d
1621 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1622 if test -f "$ac_aux_dir/mkinstalldirs"; then
1623 mkdir_p
='$(mkinstalldirs)'
1625 mkdir_p
='$(install_sh) -d'
1629 for ac_prog
in gawk mawk nawk
awk
1631 # Extract the first word of "$ac_prog", so it can be a program name with args.
1632 set dummy
$ac_prog; ac_word
=$2
1633 echo "$as_me:$LINENO: checking for $ac_word" >&5
1634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1635 if test "${ac_cv_prog_AWK+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1638 if test -n "$AWK"; then
1639 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1645 test -z "$as_dir" && as_dir
=.
1646 for ac_exec_ext
in '' $ac_executable_extensions; do
1647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1648 ac_cv_prog_AWK
="$ac_prog"
1649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1658 if test -n "$AWK"; then
1659 echo "$as_me:$LINENO: result: $AWK" >&5
1660 echo "${ECHO_T}$AWK" >&6
1662 echo "$as_me:$LINENO: result: no" >&5
1663 echo "${ECHO_T}no" >&6
1666 test -n "$AWK" && break
1669 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1670 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1671 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1672 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1673 echo $ECHO_N "(cached) $ECHO_C" >&6
1675 cat >conftest.
make <<\_ACEOF
1677 @
echo 'ac_maketemp="$(MAKE)"'
1679 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1680 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1681 if test -n "$ac_maketemp"; then
1682 eval ac_cv_prog_make_
${ac_make}_set
=yes
1684 eval ac_cv_prog_make_
${ac_make}_set
=no
1688 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1689 echo "$as_me:$LINENO: result: yes" >&5
1690 echo "${ECHO_T}yes" >&6
1693 echo "$as_me:$LINENO: result: no" >&5
1694 echo "${ECHO_T}no" >&6
1695 SET_MAKE
="MAKE=${MAKE-make}"
1698 rm -rf .tst
2>/dev
/null
1699 mkdir .tst
2>/dev
/null
1700 if test -d .tst
; then
1705 rmdir .tst
2>/dev
/null
1707 # test to see if srcdir already configured
1708 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1709 test -f $srcdir/config.status
; then
1710 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1711 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1712 { (exit 1); exit 1; }; }
1715 # test whether we have cygpath
1716 if test -z "$CYGPATH_W"; then
1717 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1718 CYGPATH_W
='cygpath -w'
1725 # Define the identity of the package.
1726 PACKAGE
='libmudflap'
1730 cat >>confdefs.h
<<_ACEOF
1731 #define PACKAGE "$PACKAGE"
1735 cat >>confdefs.h
<<_ACEOF
1736 #define VERSION "$VERSION"
1739 # Some tools Automake needs.
1741 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1744 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1747 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1750 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1753 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1755 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1757 # Installed binaries are usually stripped using `strip' when the user
1758 # run `make install-strip'. However `strip' might not be the right
1759 # tool to use in cross-compilation environments, therefore Automake
1760 # will honor the `STRIP' environment variable to overrule this program.
1761 if test "$cross_compiling" != no
; then
1762 if test -n "$ac_tool_prefix"; then
1763 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1764 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1765 echo "$as_me:$LINENO: checking for $ac_word" >&5
1766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1767 if test "${ac_cv_prog_STRIP+set}" = set; then
1768 echo $ECHO_N "(cached) $ECHO_C" >&6
1770 if test -n "$STRIP"; then
1771 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1777 test -z "$as_dir" && as_dir
=.
1778 for ac_exec_ext
in '' $ac_executable_extensions; do
1779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1780 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1789 STRIP
=$ac_cv_prog_STRIP
1790 if test -n "$STRIP"; then
1791 echo "$as_me:$LINENO: result: $STRIP" >&5
1792 echo "${ECHO_T}$STRIP" >&6
1794 echo "$as_me:$LINENO: result: no" >&5
1795 echo "${ECHO_T}no" >&6
1799 if test -z "$ac_cv_prog_STRIP"; then
1801 # Extract the first word of "strip", so it can be a program name with args.
1802 set dummy strip
; ac_word
=$2
1803 echo "$as_me:$LINENO: checking for $ac_word" >&5
1804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1805 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1808 if test -n "$ac_ct_STRIP"; then
1809 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1815 test -z "$as_dir" && as_dir
=.
1816 for ac_exec_ext
in '' $ac_executable_extensions; do
1817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1818 ac_cv_prog_ac_ct_STRIP
="strip"
1819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1825 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1828 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1829 if test -n "$ac_ct_STRIP"; then
1830 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1831 echo "${ECHO_T}$ac_ct_STRIP" >&6
1833 echo "$as_me:$LINENO: result: no" >&5
1834 echo "${ECHO_T}no" >&6
1839 STRIP
="$ac_cv_prog_STRIP"
1843 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1845 # We need awk for the "check" target. The system "awk" is bad on
1847 # Always define AMTAR for backward compatibility.
1849 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1851 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1858 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1859 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1860 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1861 if test "${enable_version_specific_runtime_libs+set}" = set; then
1862 enableval
="$enable_version_specific_runtime_libs"
1863 case "$enableval" in
1864 yes) version_specific_libs
=yes ;;
1865 no
) version_specific_libs
=no
;;
1866 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1867 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1868 { (exit 1); exit 1; }; };;
1871 version_specific_libs
=no
1873 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1874 echo "${ECHO_T}$version_specific_libs" >&6
1876 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1877 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1878 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1879 if test "${enable_maintainer_mode+set}" = set; then
1880 enableval
="$enable_maintainer_mode"
1881 USE_MAINTAINER_MODE
=$enableval
1883 USE_MAINTAINER_MODE
=no
1885 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1886 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1889 if test $USE_MAINTAINER_MODE = yes; then
1890 MAINTAINER_MODE_TRUE
=
1891 MAINTAINER_MODE_FALSE
='#'
1893 MAINTAINER_MODE_TRUE
='#'
1894 MAINTAINER_MODE_FALSE
=
1897 MAINT
=$MAINTAINER_MODE_TRUE
1902 # Default to --enable-multilib
1903 # Check whether --enable-multilib or --disable-multilib was given.
1904 if test "${enable_multilib+set}" = set; then
1905 enableval
="$enable_multilib"
1906 case "$enableval" in
1907 yes) multilib
=yes ;;
1909 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1910 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1911 { (exit 1); exit 1; }; } ;;
1917 # We may get other options which we leave undocumented:
1918 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1919 # See config-ml.in if you want the gory details.
1921 if test "$srcdir" = "."; then
1922 if test "$with_target_subdir" != "."; then
1923 multi_basedir
="$srcdir/$with_multisrctop../.."
1925 multi_basedir
="$srcdir/$with_multisrctop.."
1928 multi_basedir
="$srcdir/.."
1932 ac_config_commands
="$ac_config_commands default-1"
1935 target_alias
=${target_alias-$host_alias}
1938 ac_config_headers
="$ac_config_headers config.h"
1942 ac_cpp
='$CPP $CPPFLAGS'
1943 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1944 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1945 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1947 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1948 # We must force CC to /not/ be precious variables; otherwise
1949 # the wrong, non-multilib-adjusted value will be used in multilibs.
1950 # As a side effect, we have to subst CFLAGS ourselves.
1955 ac_cpp
='$CPP $CPPFLAGS'
1956 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1957 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1958 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1959 if test -n "$ac_tool_prefix"; then
1960 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1961 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1962 echo "$as_me:$LINENO: checking for $ac_word" >&5
1963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1964 if test "${ac_cv_prog_CC+set}" = set; then
1965 echo $ECHO_N "(cached) $ECHO_C" >&6
1967 if test -n "$CC"; then
1968 ac_cv_prog_CC
="$CC" # Let the user override the test.
1970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1974 test -z "$as_dir" && as_dir
=.
1975 for ac_exec_ext
in '' $ac_executable_extensions; do
1976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1977 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1987 if test -n "$CC"; then
1988 echo "$as_me:$LINENO: result: $CC" >&5
1989 echo "${ECHO_T}$CC" >&6
1991 echo "$as_me:$LINENO: result: no" >&5
1992 echo "${ECHO_T}no" >&6
1996 if test -z "$ac_cv_prog_CC"; then
1998 # Extract the first word of "gcc", so it can be a program name with args.
1999 set dummy gcc
; ac_word
=$2
2000 echo "$as_me:$LINENO: checking for $ac_word" >&5
2001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2002 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 if test -n "$ac_ct_CC"; then
2006 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2012 test -z "$as_dir" && as_dir
=.
2013 for ac_exec_ext
in '' $ac_executable_extensions; do
2014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2015 ac_cv_prog_ac_ct_CC
="gcc"
2016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2024 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2025 if test -n "$ac_ct_CC"; then
2026 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2027 echo "${ECHO_T}$ac_ct_CC" >&6
2029 echo "$as_me:$LINENO: result: no" >&5
2030 echo "${ECHO_T}no" >&6
2038 if test -z "$CC"; then
2039 if test -n "$ac_tool_prefix"; then
2040 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2041 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2042 echo "$as_me:$LINENO: checking for $ac_word" >&5
2043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2044 if test "${ac_cv_prog_CC+set}" = set; then
2045 echo $ECHO_N "(cached) $ECHO_C" >&6
2047 if test -n "$CC"; then
2048 ac_cv_prog_CC
="$CC" # Let the user override the test.
2050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2054 test -z "$as_dir" && as_dir
=.
2055 for ac_exec_ext
in '' $ac_executable_extensions; do
2056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2057 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 if test -n "$CC"; then
2068 echo "$as_me:$LINENO: result: $CC" >&5
2069 echo "${ECHO_T}$CC" >&6
2071 echo "$as_me:$LINENO: result: no" >&5
2072 echo "${ECHO_T}no" >&6
2076 if test -z "$ac_cv_prog_CC"; then
2078 # Extract the first word of "cc", so it can be a program name with args.
2079 set dummy cc
; ac_word
=$2
2080 echo "$as_me:$LINENO: checking for $ac_word" >&5
2081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2082 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2085 if test -n "$ac_ct_CC"; then
2086 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2092 test -z "$as_dir" && as_dir
=.
2093 for ac_exec_ext
in '' $ac_executable_extensions; do
2094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2095 ac_cv_prog_ac_ct_CC
="cc"
2096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2105 if test -n "$ac_ct_CC"; then
2106 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2107 echo "${ECHO_T}$ac_ct_CC" >&6
2109 echo "$as_me:$LINENO: result: no" >&5
2110 echo "${ECHO_T}no" >&6
2119 if test -z "$CC"; then
2120 # Extract the first word of "cc", so it can be a program name with args.
2121 set dummy cc
; ac_word
=$2
2122 echo "$as_me:$LINENO: checking for $ac_word" >&5
2123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2124 if test "${ac_cv_prog_CC+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2127 if test -n "$CC"; then
2128 ac_cv_prog_CC
="$CC" # Let the user override the test.
2131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2135 test -z "$as_dir" && as_dir
=.
2136 for ac_exec_ext
in '' $ac_executable_extensions; do
2137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2138 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2139 ac_prog_rejected
=yes
2143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2149 if test $ac_prog_rejected = yes; then
2150 # We found a bogon in the path, so make sure we never use it.
2151 set dummy
$ac_cv_prog_CC
2153 if test $# != 0; then
2154 # We chose a different compiler from the bogus one.
2155 # However, it has the same basename, so the bogon will be chosen
2156 # first if we set CC to just the basename; use the full file name.
2158 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2164 if test -n "$CC"; then
2165 echo "$as_me:$LINENO: result: $CC" >&5
2166 echo "${ECHO_T}$CC" >&6
2168 echo "$as_me:$LINENO: result: no" >&5
2169 echo "${ECHO_T}no" >&6
2173 if test -z "$CC"; then
2174 if test -n "$ac_tool_prefix"; then
2177 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2178 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2179 echo "$as_me:$LINENO: checking for $ac_word" >&5
2180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2181 if test "${ac_cv_prog_CC+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 if test -n "$CC"; then
2185 ac_cv_prog_CC
="$CC" # Let the user override the test.
2187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2191 test -z "$as_dir" && as_dir
=.
2192 for ac_exec_ext
in '' $ac_executable_extensions; do
2193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2194 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2204 if test -n "$CC"; then
2205 echo "$as_me:$LINENO: result: $CC" >&5
2206 echo "${ECHO_T}$CC" >&6
2208 echo "$as_me:$LINENO: result: no" >&5
2209 echo "${ECHO_T}no" >&6
2212 test -n "$CC" && break
2215 if test -z "$CC"; then
2219 # Extract the first word of "$ac_prog", so it can be a program name with args.
2220 set dummy
$ac_prog; ac_word
=$2
2221 echo "$as_me:$LINENO: checking for $ac_word" >&5
2222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2223 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2226 if test -n "$ac_ct_CC"; then
2227 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2233 test -z "$as_dir" && as_dir
=.
2234 for ac_exec_ext
in '' $ac_executable_extensions; do
2235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2236 ac_cv_prog_ac_ct_CC
="$ac_prog"
2237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2246 if test -n "$ac_ct_CC"; then
2247 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2248 echo "${ECHO_T}$ac_ct_CC" >&6
2250 echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6
2254 test -n "$ac_ct_CC" && break
2263 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2264 See \`config.log' for more details." >&5
2265 echo "$as_me: error: no acceptable C compiler found in \$PATH
2266 See \`config.log' for more details." >&2;}
2267 { (exit 1); exit 1; }; }
2269 # Provide some information about the compiler.
2270 echo "$as_me:$LINENO:" \
2271 "checking for C compiler version" >&5
2272 ac_compiler
=`set X $ac_compile; echo $2`
2273 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2274 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277 (exit $ac_status); }
2278 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2279 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282 (exit $ac_status); }
2283 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2284 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287 (exit $ac_status); }
2289 cat >conftest.
$ac_ext <<_ACEOF
2292 cat confdefs.h
>>conftest.
$ac_ext
2293 cat >>conftest.
$ac_ext <<_ACEOF
2294 /* end confdefs.h. */
2304 ac_clean_files_save
=$ac_clean_files
2305 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2306 # Try to create an executable without -o first, disregard a.out.
2307 # It will help us diagnose broken compilers, and finding out an intuition
2309 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2310 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2311 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2312 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2313 (eval $ac_link_default) 2>&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); }; then
2317 # Find the output, starting from the most likely. This scheme is
2318 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2321 # Be careful to initialize this variable, since it used to be cached.
2322 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2324 # b.out is created by i960 compilers.
2325 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2327 test -f "$ac_file" ||
continue
2329 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2332 # This is the source file.
2335 # We found the default executable, but exeext='' is most
2339 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2340 # FIXME: I believe we export ac_cv_exeext for Libtool,
2341 # but it would be cool to find out if it's true. Does anybody
2342 # maintain Libtool? --akim.
2350 echo "$as_me: failed program was:" >&5
2351 sed 's/^/| /' conftest.
$ac_ext >&5
2353 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2354 See \`config.log' for more details." >&5
2355 echo "$as_me: error: C compiler cannot create executables
2356 See \`config.log' for more details." >&2;}
2357 { (exit 77); exit 77; }; }
2360 ac_exeext
=$ac_cv_exeext
2361 echo "$as_me:$LINENO: result: $ac_file" >&5
2362 echo "${ECHO_T}$ac_file" >&6
2364 # Check the compiler produces executables we can run. If not, either
2365 # the compiler is broken, or we cross compile.
2366 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2367 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2368 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2369 # If not cross compiling, check that we can run a simple program.
2370 if test "$cross_compiling" != yes; then
2371 if { ac_try
='./$ac_file'
2372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }; }; then
2379 if test "$cross_compiling" = maybe
; then
2382 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2383 If you meant to cross compile, use \`--host'.
2384 See \`config.log' for more details." >&5
2385 echo "$as_me: error: cannot run C compiled programs.
2386 If you meant to cross compile, use \`--host'.
2387 See \`config.log' for more details." >&2;}
2388 { (exit 1); exit 1; }; }
2392 echo "$as_me:$LINENO: result: yes" >&5
2393 echo "${ECHO_T}yes" >&6
2395 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2396 ac_clean_files
=$ac_clean_files_save
2397 # Check the compiler produces executables we can run. If not, either
2398 # the compiler is broken, or we cross compile.
2399 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2400 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2401 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2402 echo "${ECHO_T}$cross_compiling" >&6
2404 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2405 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2407 (eval $ac_link) 2>&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; then
2411 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2412 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2413 # work properly (i.e., refer to `conftest.exe'), while it won't with
2415 for ac_file
in conftest.exe conftest conftest.
*; do
2416 test -f "$ac_file" ||
continue
2418 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2419 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2426 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2427 See \`config.log' for more details." >&5
2428 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2429 See \`config.log' for more details." >&2;}
2430 { (exit 1); exit 1; }; }
2433 rm -f conftest
$ac_cv_exeext
2434 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2435 echo "${ECHO_T}$ac_cv_exeext" >&6
2437 rm -f conftest.
$ac_ext
2438 EXEEXT
=$ac_cv_exeext
2440 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2441 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2442 if test "${ac_cv_objext+set}" = set; then
2443 echo $ECHO_N "(cached) $ECHO_C" >&6
2445 cat >conftest.
$ac_ext <<_ACEOF
2448 cat confdefs.h
>>conftest.
$ac_ext
2449 cat >>conftest.
$ac_ext <<_ACEOF
2450 /* end confdefs.h. */
2460 rm -f conftest.o conftest.obj
2461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2462 (eval $ac_compile) 2>&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }; then
2466 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2468 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2469 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2474 echo "$as_me: failed program was:" >&5
2475 sed 's/^/| /' conftest.
$ac_ext >&5
2477 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2478 See \`config.log' for more details." >&5
2479 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2480 See \`config.log' for more details." >&2;}
2481 { (exit 1); exit 1; }; }
2484 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2486 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2487 echo "${ECHO_T}$ac_cv_objext" >&6
2488 OBJEXT
=$ac_cv_objext
2490 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2491 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2492 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 cat >conftest.
$ac_ext <<_ACEOF
2498 cat confdefs.h
>>conftest.
$ac_ext
2499 cat >>conftest.
$ac_ext <<_ACEOF
2500 /* end confdefs.h. */
2513 rm -f conftest.
$ac_objext
2514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2515 (eval $ac_compile) 2>conftest.er1
2517 grep -v '^ *+' conftest.er1
>conftest.err
2519 cat conftest.err
>&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); } &&
2522 { ac_try
='test -z "$ac_c_werror_flag"
2523 || test ! -s conftest.err'
2524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }; } &&
2529 { ac_try
='test -s conftest.$ac_objext'
2530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); }; }; then
2537 echo "$as_me: failed program was:" >&5
2538 sed 's/^/| /' conftest.
$ac_ext >&5
2542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2543 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2546 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2547 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2548 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2549 ac_test_CFLAGS
=${CFLAGS+set}
2550 ac_save_CFLAGS
=$CFLAGS
2552 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2553 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2554 if test "${ac_cv_prog_cc_g+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 cat >conftest.
$ac_ext <<_ACEOF
2560 cat confdefs.h
>>conftest.
$ac_ext
2561 cat >>conftest.
$ac_ext <<_ACEOF
2562 /* end confdefs.h. */
2572 rm -f conftest.
$ac_objext
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574 (eval $ac_compile) 2>conftest.er1
2576 grep -v '^ *+' conftest.er1
>conftest.err
2578 cat conftest.err
>&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); } &&
2581 { ac_try
='test -z "$ac_c_werror_flag"
2582 || test ! -s conftest.err'
2583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; } &&
2588 { ac_try
='test -s conftest.$ac_objext'
2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; }; then
2596 echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.
$ac_ext >&5
2601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2603 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2604 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2605 if test "$ac_test_CFLAGS" = set; then
2606 CFLAGS
=$ac_save_CFLAGS
2607 elif test $ac_cv_prog_cc_g = yes; then
2608 if test "$GCC" = yes; then
2614 if test "$GCC" = yes; then
2620 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2621 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2622 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2623 echo $ECHO_N "(cached) $ECHO_C" >&6
2625 ac_cv_prog_cc_stdc
=no
2627 cat >conftest.
$ac_ext <<_ACEOF
2630 cat confdefs.h
>>conftest.
$ac_ext
2631 cat >>conftest.
$ac_ext <<_ACEOF
2632 /* end confdefs.h. */
2635 #include <sys/types.h>
2636 #include <sys/stat.h>
2637 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2638 struct buf { int x; };
2639 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2640 static char *e (p, i)
2646 static char *f (char * (*g) (char **, int), char **p, ...)
2651 s = g (p, va_arg (v,int));
2656 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2657 function prototypes and stuff, but not '\xHH' hex character constants.
2658 These don't provoke an error unfortunately, instead are silently treated
2659 as 'x'. The following induces an error, until -std1 is added to get
2660 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2661 array size at least. It's necessary to write '\x00'==0 to get something
2662 that's true only with -std1. */
2663 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2665 int test (int i, double x);
2666 struct s1 {int (*f) (int a);};
2667 struct s2 {int (*f) (double a);};
2668 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2674 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2679 # Don't try gcc -ansi; that turns off useful extensions and
2680 # breaks some systems' header files.
2681 # AIX -qlanglvl=ansi
2682 # Ultrix and OSF/1 -std1
2683 # HP-UX 10.20 and later -Ae
2684 # HP-UX older versions -Aa -D_HPUX_SOURCE
2685 # SVR4 -Xc -D__EXTENSIONS__
2686 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2688 CC
="$ac_save_CC $ac_arg"
2689 rm -f conftest.
$ac_objext
2690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2691 (eval $ac_compile) 2>conftest.er1
2693 grep -v '^ *+' conftest.er1
>conftest.err
2695 cat conftest.err
>&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); } &&
2698 { ac_try
='test -z "$ac_c_werror_flag"
2699 || test ! -s conftest.err'
2700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); }; } &&
2705 { ac_try
='test -s conftest.$ac_objext'
2706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); }; }; then
2711 ac_cv_prog_cc_stdc
=$ac_arg
2714 echo "$as_me: failed program was:" >&5
2715 sed 's/^/| /' conftest.
$ac_ext >&5
2718 rm -f conftest.err conftest.
$ac_objext
2720 rm -f conftest.
$ac_ext conftest.
$ac_objext
2725 case "x$ac_cv_prog_cc_stdc" in
2727 echo "$as_me:$LINENO: result: none needed" >&5
2728 echo "${ECHO_T}none needed" >&6 ;;
2730 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2731 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2732 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2735 # Some people use a C++ compiler to compile C. Since we use `exit',
2736 # in C++ we need to declare it. In case someone uses the same compiler
2737 # for both compiling C and C++ we need to have the C++ compiler decide
2738 # the declaration of exit, since it's the most demanding environment.
2739 cat >conftest.
$ac_ext <<_ACEOF
2744 rm -f conftest.
$ac_objext
2745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2746 (eval $ac_compile) 2>conftest.er1
2748 grep -v '^ *+' conftest.er1
>conftest.err
2750 cat conftest.err
>&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); } &&
2753 { ac_try
='test -z "$ac_c_werror_flag"
2754 || test ! -s conftest.err'
2755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; } &&
2760 { ac_try
='test -s conftest.$ac_objext'
2761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); }; }; then
2766 for ac_declaration
in \
2768 'extern "C" void std::exit (int) throw (); using std::exit;' \
2769 'extern "C" void std::exit (int); using std::exit;' \
2770 'extern "C" void exit (int) throw ();' \
2771 'extern "C" void exit (int);' \
2774 cat >conftest.
$ac_ext <<_ACEOF
2777 cat confdefs.h
>>conftest.
$ac_ext
2778 cat >>conftest.
$ac_ext <<_ACEOF
2779 /* end confdefs.h. */
2790 rm -f conftest.
$ac_objext
2791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2792 (eval $ac_compile) 2>conftest.er1
2794 grep -v '^ *+' conftest.er1
>conftest.err
2796 cat conftest.err
>&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } &&
2799 { ac_try
='test -z "$ac_c_werror_flag"
2800 || test ! -s conftest.err'
2801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }; } &&
2806 { ac_try
='test -s conftest.$ac_objext'
2807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 (exit $ac_status); }; }; then
2814 echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.
$ac_ext >&5
2819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2820 cat >conftest.
$ac_ext <<_ACEOF
2823 cat confdefs.h
>>conftest.
$ac_ext
2824 cat >>conftest.
$ac_ext <<_ACEOF
2825 /* end confdefs.h. */
2835 rm -f conftest.
$ac_objext
2836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2837 (eval $ac_compile) 2>conftest.er1
2839 grep -v '^ *+' conftest.er1
>conftest.err
2841 cat conftest.err
>&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); } &&
2844 { ac_try
='test -z "$ac_c_werror_flag"
2845 || test ! -s conftest.err'
2846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }; } &&
2851 { ac_try
='test -s conftest.$ac_objext'
2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; }; then
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.
$ac_ext >&5
2863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2866 if test -n "$ac_declaration"; then
2867 echo '#ifdef __cplusplus' >>confdefs.h
2868 echo $ac_declaration >>confdefs.h
2869 echo '#endif' >>confdefs.h
2873 echo "$as_me: failed program was:" >&5
2874 sed 's/^/| /' conftest.
$ac_ext >&5
2877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2879 ac_cpp
='$CPP $CPPFLAGS'
2880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2883 DEPDIR
="${am__leading_dot}deps"
2885 ac_config_commands
="$ac_config_commands depfiles"
2888 am_make
=${MAKE-make}
2889 cat > confinc
<< 'END'
2894 # If we don't find an include directive, just comment out the code.
2895 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2896 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2900 # First try GNU make style include.
2901 echo "include confinc" > confmf
2902 # We grep out `Entering directory' and `Leaving directory'
2903 # messages which can occur if `w' ends up in MAKEFLAGS.
2904 # In particular we don't look at `^make:' because GNU make might
2905 # be invoked under some other name (usually "gmake"), in which
2906 # case it prints its new name instead of `make'.
2907 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2912 # Now try BSD make style include.
2913 if test "$am__include" = "#"; then
2914 echo '.include "confinc"' > confmf
2915 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2916 am__include
=.include
2923 echo "$as_me:$LINENO: result: $_am_result" >&5
2924 echo "${ECHO_T}$_am_result" >&6
2925 rm -f confinc confmf
2927 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2928 if test "${enable_dependency_tracking+set}" = set; then
2929 enableval
="$enable_dependency_tracking"
2932 if test "x$enable_dependency_tracking" != xno
; then
2933 am_depcomp
="$ac_aux_dir/depcomp"
2938 if test "x$enable_dependency_tracking" != xno; then
2949 depcc
="$CC" am_compiler_list
=
2951 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2952 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2953 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2954 echo $ECHO_N "(cached) $ECHO_C" >&6
2956 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2957 # We make a subdir and do the tests there. Otherwise we can end up
2958 # making bogus files that we don't know about and never remove. For
2959 # instance it was reported that on HP-UX the gcc test will end up
2960 # making a dummy file named `D' -- because `-MD' means `put the output
2963 # Copy depcomp to subdir because otherwise we won't find it if we're
2964 # using a relative directory.
2965 cp "$am_depcomp" conftest.dir
2967 # We will build objects and dependencies in a subdirectory because
2968 # it helps to detect inapplicable dependency modes. For instance
2969 # both Tru64's cc and ICC support -MD to output dependencies as a
2970 # side effect of compilation, but ICC will put the dependencies in
2971 # the current directory while Tru64 will put them in the object
2975 am_cv_CC_dependencies_compiler_type
=none
2976 if test "$am_compiler_list" = ""; then
2977 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2979 for depmode
in $am_compiler_list; do
2980 # Setup a source with many dependencies, because some compilers
2981 # like to wrap large dependency lists on column 80 (with \), and
2982 # we should not choose a depcomp mode which is confused by this.
2984 # We need to recreate these files for each test, as the compiler may
2985 # overwrite some of them when testing with obscure command lines.
2986 # This happens at least with the AIX C compiler.
2988 for i
in 1 2 3 4 5 6; do
2989 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2990 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2991 # Solaris 8's {/usr,}/bin/sh.
2992 touch sub
/conftst
$i.h
2994 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2998 # after this tag, mechanisms are not by side-effect, so they'll
2999 # only be used when explicitly requested
3000 if test "x$enable_dependency_tracking" = xyes
; then
3008 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3009 # mode. It turns out that the SunPro C++ compiler does not properly
3010 # handle `-M -o', and we need to detect this.
3011 if depmode
=$depmode \
3012 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3013 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3014 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3015 >/dev
/null
2>conftest.err
&&
3016 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3017 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3018 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3019 # icc doesn't choke on unknown options, it will just issue warnings
3020 # or remarks (even with -Werror). So we grep stderr for any message
3021 # that says an option was ignored or not supported.
3022 # When given -MP, icc 7.0 and 7.1 complain thusly:
3023 # icc: Command line warning: ignoring option '-M'; no argument required
3024 # The diagnosis changed in icc 8.0:
3025 # icc: Command line remark: option '-MP' not supported
3026 if (grep 'ignoring option' conftest.err ||
3027 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3028 am_cv_CC_dependencies_compiler_type
=$depmode
3037 am_cv_CC_dependencies_compiler_type
=none
3041 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3042 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3043 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3048 test "x$enable_dependency_tracking" != xno \
3049 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3051 am__fastdepCC_FALSE
='#'
3053 am__fastdepCC_TRUE
='#'
3054 am__fastdepCC_FALSE
=
3062 if test "x$GCC" != "xyes"; then
3063 { { echo "$as_me:$LINENO: error: libmudflap must be built with GCC" >&5
3064 echo "$as_me: error: libmudflap must be built with GCC" >&2;}
3065 { (exit 1); exit 1; }; }
3068 ac_cpp
='$CPP $CPPFLAGS'
3069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3072 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3073 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3074 # On Suns, sometimes $CPP names a directory.
3075 if test -n "$CPP" && test -d "$CPP"; then
3078 if test -z "$CPP"; then
3079 if test "${ac_cv_prog_CPP+set}" = set; then
3080 echo $ECHO_N "(cached) $ECHO_C" >&6
3082 # Double quotes because CPP needs to be expanded
3083 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3086 for ac_c_preproc_warn_flag
in '' yes
3088 # Use a header file that comes with gcc, so configuring glibc
3089 # with a fresh cross-compiler works.
3090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3091 # <limits.h> exists even on freestanding compilers.
3092 # On the NeXT, cc -E runs the code through the compiler's parser,
3093 # not just through cpp. "Syntax error" is here to catch this case.
3094 cat >conftest.
$ac_ext <<_ACEOF
3097 cat confdefs.h
>>conftest.
$ac_ext
3098 cat >>conftest.
$ac_ext <<_ACEOF
3099 /* end confdefs.h. */
3101 # include <limits.h>
3103 # include <assert.h>
3107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3108 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3110 grep -v '^ *+' conftest.er1
>conftest.err
3112 cat conftest.err
>&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); } >/dev
/null
; then
3115 if test -s conftest.err
; then
3116 ac_cpp_err
=$ac_c_preproc_warn_flag
3117 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3124 if test -z "$ac_cpp_err"; then
3127 echo "$as_me: failed program was:" >&5
3128 sed 's/^/| /' conftest.
$ac_ext >&5
3130 # Broken: fails on valid input.
3133 rm -f conftest.err conftest.
$ac_ext
3135 # OK, works on sane cases. Now check whether non-existent headers
3136 # can be detected and how.
3137 cat >conftest.
$ac_ext <<_ACEOF
3140 cat confdefs.h
>>conftest.
$ac_ext
3141 cat >>conftest.
$ac_ext <<_ACEOF
3142 /* end confdefs.h. */
3143 #include <ac_nonexistent.h>
3145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3146 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3148 grep -v '^ *+' conftest.er1
>conftest.err
3150 cat conftest.err
>&5
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); } >/dev
/null
; then
3153 if test -s conftest.err
; then
3154 ac_cpp_err
=$ac_c_preproc_warn_flag
3155 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3162 if test -z "$ac_cpp_err"; then
3163 # Broken: success on invalid input.
3166 echo "$as_me: failed program was:" >&5
3167 sed 's/^/| /' conftest.
$ac_ext >&5
3169 # Passes both tests.
3173 rm -f conftest.err conftest.
$ac_ext
3176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3177 rm -f conftest.err conftest.
$ac_ext
3178 if $ac_preproc_ok; then
3190 echo "$as_me:$LINENO: result: $CPP" >&5
3191 echo "${ECHO_T}$CPP" >&6
3193 for ac_c_preproc_warn_flag
in '' yes
3195 # Use a header file that comes with gcc, so configuring glibc
3196 # with a fresh cross-compiler works.
3197 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3198 # <limits.h> exists even on freestanding compilers.
3199 # On the NeXT, cc -E runs the code through the compiler's parser,
3200 # not just through cpp. "Syntax error" is here to catch this case.
3201 cat >conftest.
$ac_ext <<_ACEOF
3204 cat confdefs.h
>>conftest.
$ac_ext
3205 cat >>conftest.
$ac_ext <<_ACEOF
3206 /* end confdefs.h. */
3208 # include <limits.h>
3210 # include <assert.h>
3214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3215 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3217 grep -v '^ *+' conftest.er1
>conftest.err
3219 cat conftest.err
>&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); } >/dev
/null
; then
3222 if test -s conftest.err
; then
3223 ac_cpp_err
=$ac_c_preproc_warn_flag
3224 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3231 if test -z "$ac_cpp_err"; then
3234 echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.
$ac_ext >&5
3237 # Broken: fails on valid input.
3240 rm -f conftest.err conftest.
$ac_ext
3242 # OK, works on sane cases. Now check whether non-existent headers
3243 # can be detected and how.
3244 cat >conftest.
$ac_ext <<_ACEOF
3247 cat confdefs.h
>>conftest.
$ac_ext
3248 cat >>conftest.
$ac_ext <<_ACEOF
3249 /* end confdefs.h. */
3250 #include <ac_nonexistent.h>
3252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3255 grep -v '^ *+' conftest.er1
>conftest.err
3257 cat conftest.err
>&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } >/dev
/null
; then
3260 if test -s conftest.err
; then
3261 ac_cpp_err
=$ac_c_preproc_warn_flag
3262 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3269 if test -z "$ac_cpp_err"; then
3270 # Broken: success on invalid input.
3273 echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.
$ac_ext >&5
3276 # Passes both tests.
3280 rm -f conftest.err conftest.
$ac_ext
3283 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3284 rm -f conftest.err conftest.
$ac_ext
3285 if $ac_preproc_ok; then
3288 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3289 See \`config.log' for more details." >&5
3290 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3291 See \`config.log' for more details." >&2;}
3292 { (exit 1); exit 1; }; }
3296 ac_cpp
='$CPP $CPPFLAGS'
3297 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3298 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3299 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3302 # Some hosts don't have dlsym(RTLD_NEXT, "symbol") for use in
3303 # symbol interposition. We disable shared libraries for these.
3304 echo "$as_me:$LINENO: checking whether dlsym(RTLD_NEXT,...) is available" >&5
3305 echo $ECHO_N "checking whether dlsym(RTLD_NEXT,...) is available... $ECHO_C" >&6
3307 cat >conftest.
$ac_ext <<_ACEOF
3310 cat confdefs.h
>>conftest.
$ac_ext
3311 cat >>conftest.
$ac_ext <<_ACEOF
3312 /* end confdefs.h. */
3320 void *foo = dlsym (RTLD_NEXT, "exit");
3325 rm -f conftest.
$ac_objext
3326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3327 (eval $ac_compile) 2>conftest.er1
3329 grep -v '^ *+' conftest.er1
>conftest.err
3331 cat conftest.err
>&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); } &&
3334 { ac_try
='test -z "$ac_c_werror_flag"
3335 || test ! -s conftest.err'
3336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340 (exit $ac_status); }; } &&
3341 { ac_try
='test -s conftest.$ac_objext'
3342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); }; }; then
3347 echo "$as_me:$LINENO: result: yes" >&5
3348 echo "${ECHO_T}yes" >&6
3350 echo "$as_me: failed program was:" >&5
3351 sed 's/^/| /' conftest.
$ac_ext >&5
3353 echo "$as_me:$LINENO: result: no" >&5
3354 echo "${ECHO_T}no" >&6
3357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3360 echo "$as_me:$LINENO: checking for egrep" >&5
3361 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3362 if test "${ac_cv_prog_egrep+set}" = set; then
3363 echo $ECHO_N "(cached) $ECHO_C" >&6
3365 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3366 then ac_cv_prog_egrep
='grep -E'
3367 else ac_cv_prog_egrep
='egrep'
3370 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3371 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3372 EGREP
=$ac_cv_prog_egrep
3375 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3376 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3377 if test "${ac_cv_header_stdc+set}" = set; then
3378 echo $ECHO_N "(cached) $ECHO_C" >&6
3380 cat >conftest.
$ac_ext <<_ACEOF
3383 cat confdefs.h
>>conftest.
$ac_ext
3384 cat >>conftest.
$ac_ext <<_ACEOF
3385 /* end confdefs.h. */
3399 rm -f conftest.
$ac_objext
3400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3401 (eval $ac_compile) 2>conftest.er1
3403 grep -v '^ *+' conftest.er1
>conftest.err
3405 cat conftest.err
>&5
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); } &&
3408 { ac_try
='test -z "$ac_c_werror_flag"
3409 || test ! -s conftest.err'
3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; } &&
3415 { ac_try
='test -s conftest.$ac_objext'
3416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); }; }; then
3421 ac_cv_header_stdc
=yes
3423 echo "$as_me: failed program was:" >&5
3424 sed 's/^/| /' conftest.
$ac_ext >&5
3426 ac_cv_header_stdc
=no
3428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3430 if test $ac_cv_header_stdc = yes; then
3431 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3432 cat >conftest.
$ac_ext <<_ACEOF
3435 cat confdefs.h
>>conftest.
$ac_ext
3436 cat >>conftest.
$ac_ext <<_ACEOF
3437 /* end confdefs.h. */
3441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3442 $EGREP "memchr" >/dev
/null
2>&1; then
3445 ac_cv_header_stdc
=no
3451 if test $ac_cv_header_stdc = yes; then
3452 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3453 cat >conftest.
$ac_ext <<_ACEOF
3456 cat confdefs.h
>>conftest.
$ac_ext
3457 cat >>conftest.
$ac_ext <<_ACEOF
3458 /* end confdefs.h. */
3462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3463 $EGREP "free" >/dev
/null
2>&1; then
3466 ac_cv_header_stdc
=no
3472 if test $ac_cv_header_stdc = yes; then
3473 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3474 if test "$cross_compiling" = yes; then
3477 cat >conftest.
$ac_ext <<_ACEOF
3480 cat confdefs.h
>>conftest.
$ac_ext
3481 cat >>conftest.
$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3484 #if ((' ' & 0x0FF) == 0x020)
3485 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3486 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3488 # define ISLOWER(c) \
3489 (('a' <= (c) && (c) <= 'i') \
3490 || ('j' <= (c) && (c) <= 'r') \
3491 || ('s' <= (c) && (c) <= 'z'))
3492 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3495 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3500 for (i = 0; i < 256; i++)
3501 if (XOR (islower (i), ISLOWER (i))
3502 || toupper (i) != TOUPPER (i))
3507 rm -f conftest
$ac_exeext
3508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3509 (eval $ac_link) 2>&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); }; }; then
3520 echo "$as_me: program exited with status $ac_status" >&5
3521 echo "$as_me: failed program was:" >&5
3522 sed 's/^/| /' conftest.
$ac_ext >&5
3525 ac_cv_header_stdc
=no
3527 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3531 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3532 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3533 if test $ac_cv_header_stdc = yes; then
3535 cat >>confdefs.h
<<\_ACEOF
3536 #define STDC_HEADERS 1
3541 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3551 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3552 inttypes.h stdint.h unistd.h
3554 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3555 echo "$as_me:$LINENO: checking for $ac_header" >&5
3556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 cat >conftest.
$ac_ext <<_ACEOF
3563 cat confdefs.h
>>conftest.
$ac_ext
3564 cat >>conftest.
$ac_ext <<_ACEOF
3565 /* end confdefs.h. */
3566 $ac_includes_default
3568 #include <$ac_header>
3570 rm -f conftest.
$ac_objext
3571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3572 (eval $ac_compile) 2>conftest.er1
3574 grep -v '^ *+' conftest.er1
>conftest.err
3576 cat conftest.err
>&5
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); } &&
3579 { ac_try
='test -z "$ac_c_werror_flag"
3580 || test ! -s conftest.err'
3581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); }; } &&
3586 { ac_try
='test -s conftest.$ac_objext'
3587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); }; }; then
3592 eval "$as_ac_Header=yes"
3594 echo "$as_me: failed program was:" >&5
3595 sed 's/^/| /' conftest.
$ac_ext >&5
3597 eval "$as_ac_Header=no"
3599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3604 cat >>confdefs.h
<<_ACEOF
3605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3632 for ac_header
in stdint.h execinfo.h signal.h dlfcn.h dirent.h
pwd.h grp.h \
3633 netdb.h sys
/ipc.h sys
/sem.h sys
/shm.h sys
/wait.h ctype.h mntent.h \
3634 sys
/socket.h netinet
/in.h arpa
/inet.h dlfcn.h sys
/mman.h
3636 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3638 echo "$as_me:$LINENO: checking for $ac_header" >&5
3639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3641 echo $ECHO_N "(cached) $ECHO_C" >&6
3643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3646 # Is the header compilable?
3647 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3648 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3649 cat >conftest.
$ac_ext <<_ACEOF
3652 cat confdefs.h
>>conftest.
$ac_ext
3653 cat >>conftest.
$ac_ext <<_ACEOF
3654 /* end confdefs.h. */
3655 $ac_includes_default
3656 #include <$ac_header>
3658 rm -f conftest.
$ac_objext
3659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3660 (eval $ac_compile) 2>conftest.er1
3662 grep -v '^ *+' conftest.er1
>conftest.err
3664 cat conftest.err
>&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); } &&
3667 { ac_try
='test -z "$ac_c_werror_flag"
3668 || test ! -s conftest.err'
3669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); }; } &&
3674 { ac_try
='test -s conftest.$ac_objext'
3675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 (exit $ac_status); }; }; then
3680 ac_header_compiler
=yes
3682 echo "$as_me: failed program was:" >&5
3683 sed 's/^/| /' conftest.
$ac_ext >&5
3685 ac_header_compiler
=no
3687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3688 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3689 echo "${ECHO_T}$ac_header_compiler" >&6
3691 # Is the header present?
3692 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3693 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3694 cat >conftest.
$ac_ext <<_ACEOF
3697 cat confdefs.h
>>conftest.
$ac_ext
3698 cat >>conftest.
$ac_ext <<_ACEOF
3699 /* end confdefs.h. */
3700 #include <$ac_header>
3702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3703 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3705 grep -v '^ *+' conftest.er1
>conftest.err
3707 cat conftest.err
>&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); } >/dev
/null
; then
3710 if test -s conftest.err
; then
3711 ac_cpp_err
=$ac_c_preproc_warn_flag
3712 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3719 if test -z "$ac_cpp_err"; then
3720 ac_header_preproc
=yes
3722 echo "$as_me: failed program was:" >&5
3723 sed 's/^/| /' conftest.
$ac_ext >&5
3725 ac_header_preproc
=no
3727 rm -f conftest.err conftest.
$ac_ext
3728 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3729 echo "${ECHO_T}$ac_header_preproc" >&6
3731 # So? What about this header?
3732 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3734 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3735 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3737 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3738 ac_header_preproc
=yes
3741 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3742 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3743 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3744 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3745 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3746 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3747 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3748 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3750 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3751 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3752 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3755 ## ------------------------------------- ##
3756 ## Report this to the libmudflap lists. ##
3757 ## ------------------------------------- ##
3760 sed "s/^/$as_me: WARNING: /" >&2
3763 echo "$as_me:$LINENO: checking for $ac_header" >&5
3764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3768 eval "$as_ac_Header=\$ac_header_preproc"
3770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3775 cat >>confdefs.h
<<_ACEOF
3776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3788 for ac_func
in backtrace backtrace_symbols gettimeofday signal
3790 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3791 echo "$as_me:$LINENO: checking for $ac_func" >&5
3792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3793 if eval "test \"\${$as_ac_var+set}\" = set"; then
3794 echo $ECHO_N "(cached) $ECHO_C" >&6
3796 cat >conftest.
$ac_ext <<_ACEOF
3799 cat confdefs.h
>>conftest.
$ac_ext
3800 cat >>conftest.
$ac_ext <<_ACEOF
3801 /* end confdefs.h. */
3802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3804 #define $ac_func innocuous_$ac_func
3806 /* System header to define __stub macros and hopefully few prototypes,
3807 which can conflict with char $ac_func (); below.
3808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3809 <limits.h> exists even on freestanding compilers. */
3812 # include <limits.h>
3814 # include <assert.h>
3819 /* Override any gcc2 internal prototype to avoid an error. */
3824 /* We use char because int might match the return type of a gcc2
3825 builtin and then its argument prototype would still apply. */
3827 /* The GNU C library defines this for functions which it implements
3828 to always fail with ENOSYS. Some functions are actually named
3829 something starting with __ and the normal name is an alias. */
3830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3833 char (*f) () = $ac_func;
3842 return f != $ac_func;
3847 rm -f conftest.
$ac_objext conftest
$ac_exeext
3848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3849 (eval $ac_link) 2>conftest.er1
3851 grep -v '^ *+' conftest.er1
>conftest.err
3853 cat conftest.err
>&5
3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 (exit $ac_status); } &&
3856 { ac_try
='test -z "$ac_c_werror_flag"
3857 || test ! -s conftest.err'
3858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862 (exit $ac_status); }; } &&
3863 { ac_try
='test -s conftest$ac_exeext'
3864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); }; }; then
3869 eval "$as_ac_var=yes"
3871 echo "$as_me: failed program was:" >&5
3872 sed 's/^/| /' conftest.
$ac_ext >&5
3874 eval "$as_ac_var=no"
3876 rm -f conftest.err conftest.
$ac_objext \
3877 conftest
$ac_exeext conftest.
$ac_ext
3879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3881 if test `eval echo '${'$as_ac_var'}'` = yes; then
3882 cat >>confdefs.h
<<_ACEOF
3883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3894 for ac_func
in fopen64 fseeko64 ftello64 stat64 freopen64
3896 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3897 echo "$as_me:$LINENO: checking for $ac_func" >&5
3898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3899 if eval "test \"\${$as_ac_var+set}\" = set"; then
3900 echo $ECHO_N "(cached) $ECHO_C" >&6
3902 cat >conftest.
$ac_ext <<_ACEOF
3905 cat confdefs.h
>>conftest.
$ac_ext
3906 cat >>conftest.
$ac_ext <<_ACEOF
3907 /* end confdefs.h. */
3908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3910 #define $ac_func innocuous_$ac_func
3912 /* System header to define __stub macros and hopefully few prototypes,
3913 which can conflict with char $ac_func (); below.
3914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3915 <limits.h> exists even on freestanding compilers. */
3918 # include <limits.h>
3920 # include <assert.h>
3925 /* Override any gcc2 internal prototype to avoid an error. */
3930 /* We use char because int might match the return type of a gcc2
3931 builtin and then its argument prototype would still apply. */
3933 /* The GNU C library defines this for functions which it implements
3934 to always fail with ENOSYS. Some functions are actually named
3935 something starting with __ and the normal name is an alias. */
3936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3939 char (*f) () = $ac_func;
3948 return f != $ac_func;
3953 rm -f conftest.
$ac_objext conftest
$ac_exeext
3954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3955 (eval $ac_link) 2>conftest.er1
3957 grep -v '^ *+' conftest.er1
>conftest.err
3959 cat conftest.err
>&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); } &&
3962 { ac_try
='test -z "$ac_c_werror_flag"
3963 || test ! -s conftest.err'
3964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); }; } &&
3969 { ac_try
='test -s conftest$ac_exeext'
3970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); }; }; then
3975 eval "$as_ac_var=yes"
3977 echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.
$ac_ext >&5
3980 eval "$as_ac_var=no"
3982 rm -f conftest.err conftest.
$ac_objext \
3983 conftest
$ac_exeext conftest.
$ac_ext
3985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3987 if test `eval echo '${'$as_ac_var'}'` = yes; then
3988 cat >>confdefs.h
<<_ACEOF
3989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3999 for ac_func
in setbuf setbuffer setlinebuf setvbuf
4001 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4002 echo "$as_me:$LINENO: checking for $ac_func" >&5
4003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4004 if eval "test \"\${$as_ac_var+set}\" = set"; then
4005 echo $ECHO_N "(cached) $ECHO_C" >&6
4007 cat >conftest.
$ac_ext <<_ACEOF
4010 cat confdefs.h
>>conftest.
$ac_ext
4011 cat >>conftest.
$ac_ext <<_ACEOF
4012 /* end confdefs.h. */
4013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4015 #define $ac_func innocuous_$ac_func
4017 /* System header to define __stub macros and hopefully few prototypes,
4018 which can conflict with char $ac_func (); below.
4019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4020 <limits.h> exists even on freestanding compilers. */
4023 # include <limits.h>
4025 # include <assert.h>
4030 /* Override any gcc2 internal prototype to avoid an error. */
4035 /* We use char because int might match the return type of a gcc2
4036 builtin and then its argument prototype would still apply. */
4038 /* The GNU C library defines this for functions which it implements
4039 to always fail with ENOSYS. Some functions are actually named
4040 something starting with __ and the normal name is an alias. */
4041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4044 char (*f) () = $ac_func;
4053 return f != $ac_func;
4058 rm -f conftest.
$ac_objext conftest
$ac_exeext
4059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4060 (eval $ac_link) 2>conftest.er1
4062 grep -v '^ *+' conftest.er1
>conftest.err
4064 cat conftest.err
>&5
4065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4066 (exit $ac_status); } &&
4067 { ac_try
='test -z "$ac_c_werror_flag"
4068 || test ! -s conftest.err'
4069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073 (exit $ac_status); }; } &&
4074 { ac_try
='test -s conftest$ac_exeext'
4075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); }; }; then
4080 eval "$as_ac_var=yes"
4082 echo "$as_me: failed program was:" >&5
4083 sed 's/^/| /' conftest.
$ac_ext >&5
4085 eval "$as_ac_var=no"
4087 rm -f conftest.err conftest.
$ac_objext \
4088 conftest
$ac_exeext conftest.
$ac_ext
4090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4092 if test `eval echo '${'$as_ac_var'}'` = yes; then
4093 cat >>confdefs.h
<<_ACEOF
4094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4105 for ac_func
in strnlen memrchr strncpy memmem sethostname
4107 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4108 echo "$as_me:$LINENO: checking for $ac_func" >&5
4109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4110 if eval "test \"\${$as_ac_var+set}\" = set"; then
4111 echo $ECHO_N "(cached) $ECHO_C" >&6
4113 cat >conftest.
$ac_ext <<_ACEOF
4116 cat confdefs.h
>>conftest.
$ac_ext
4117 cat >>conftest.
$ac_ext <<_ACEOF
4118 /* end confdefs.h. */
4119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4121 #define $ac_func innocuous_$ac_func
4123 /* System header to define __stub macros and hopefully few prototypes,
4124 which can conflict with char $ac_func (); below.
4125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4126 <limits.h> exists even on freestanding compilers. */
4129 # include <limits.h>
4131 # include <assert.h>
4136 /* Override any gcc2 internal prototype to avoid an error. */
4141 /* We use char because int might match the return type of a gcc2
4142 builtin and then its argument prototype would still apply. */
4144 /* The GNU C library defines this for functions which it implements
4145 to always fail with ENOSYS. Some functions are actually named
4146 something starting with __ and the normal name is an alias. */
4147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4150 char (*f) () = $ac_func;
4159 return f != $ac_func;
4164 rm -f conftest.
$ac_objext conftest
$ac_exeext
4165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4166 (eval $ac_link) 2>conftest.er1
4168 grep -v '^ *+' conftest.er1
>conftest.err
4170 cat conftest.err
>&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); } &&
4173 { ac_try
='test -z "$ac_c_werror_flag"
4174 || test ! -s conftest.err'
4175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); }; } &&
4180 { ac_try
='test -s conftest$ac_exeext'
4181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); }; }; then
4186 eval "$as_ac_var=yes"
4188 echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.
$ac_ext >&5
4191 eval "$as_ac_var=no"
4193 rm -f conftest.err conftest.
$ac_objext \
4194 conftest
$ac_exeext conftest.
$ac_ext
4196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4198 if test `eval echo '${'$as_ac_var'}'` = yes; then
4199 cat >>confdefs.h
<<_ACEOF
4200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4209 for ac_func
in __ctype_b_loc __ctype_tolower_loc __ctype_toupper_loc
4211 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4212 echo "$as_me:$LINENO: checking for $ac_func" >&5
4213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4214 if eval "test \"\${$as_ac_var+set}\" = set"; then
4215 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 cat >conftest.
$ac_ext <<_ACEOF
4220 cat confdefs.h
>>conftest.
$ac_ext
4221 cat >>conftest.
$ac_ext <<_ACEOF
4222 /* end confdefs.h. */
4223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4225 #define $ac_func innocuous_$ac_func
4227 /* System header to define __stub macros and hopefully few prototypes,
4228 which can conflict with char $ac_func (); below.
4229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4230 <limits.h> exists even on freestanding compilers. */
4233 # include <limits.h>
4235 # include <assert.h>
4240 /* Override any gcc2 internal prototype to avoid an error. */
4245 /* We use char because int might match the return type of a gcc2
4246 builtin and then its argument prototype would still apply. */
4248 /* The GNU C library defines this for functions which it implements
4249 to always fail with ENOSYS. Some functions are actually named
4250 something starting with __ and the normal name is an alias. */
4251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4254 char (*f) () = $ac_func;
4263 return f != $ac_func;
4268 rm -f conftest.
$ac_objext conftest
$ac_exeext
4269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4270 (eval $ac_link) 2>conftest.er1
4272 grep -v '^ *+' conftest.er1
>conftest.err
4274 cat conftest.err
>&5
4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); } &&
4277 { ac_try
='test -z "$ac_c_werror_flag"
4278 || test ! -s conftest.err'
4279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); }; } &&
4284 { ac_try
='test -s conftest$ac_exeext'
4285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289 (exit $ac_status); }; }; then
4290 eval "$as_ac_var=yes"
4292 echo "$as_me: failed program was:" >&5
4293 sed 's/^/| /' conftest.
$ac_ext >&5
4295 eval "$as_ac_var=no"
4297 rm -f conftest.err conftest.
$ac_objext \
4298 conftest
$ac_exeext conftest.
$ac_ext
4300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4302 if test `eval echo '${'$as_ac_var'}'` = yes; then
4303 cat >>confdefs.h
<<_ACEOF
4304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4318 for ac_func
in getlogin cuserid getpwnam getpwuid getpwent getgrnam getgrgid getgrent
4320 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4321 echo "$as_me:$LINENO: checking for $ac_func" >&5
4322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4323 if eval "test \"\${$as_ac_var+set}\" = set"; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 cat >conftest.
$ac_ext <<_ACEOF
4329 cat confdefs.h
>>conftest.
$ac_ext
4330 cat >>conftest.
$ac_ext <<_ACEOF
4331 /* end confdefs.h. */
4332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4334 #define $ac_func innocuous_$ac_func
4336 /* System header to define __stub macros and hopefully few prototypes,
4337 which can conflict with char $ac_func (); below.
4338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4339 <limits.h> exists even on freestanding compilers. */
4342 # include <limits.h>
4344 # include <assert.h>
4349 /* Override any gcc2 internal prototype to avoid an error. */
4354 /* We use char because int might match the return type of a gcc2
4355 builtin and then its argument prototype would still apply. */
4357 /* The GNU C library defines this for functions which it implements
4358 to always fail with ENOSYS. Some functions are actually named
4359 something starting with __ and the normal name is an alias. */
4360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4363 char (*f) () = $ac_func;
4372 return f != $ac_func;
4377 rm -f conftest.
$ac_objext conftest
$ac_exeext
4378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4379 (eval $ac_link) 2>conftest.er1
4381 grep -v '^ *+' conftest.er1
>conftest.err
4383 cat conftest.err
>&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); } &&
4386 { ac_try
='test -z "$ac_c_werror_flag"
4387 || test ! -s conftest.err'
4388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392 (exit $ac_status); }; } &&
4393 { ac_try
='test -s conftest$ac_exeext'
4394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; }; then
4399 eval "$as_ac_var=yes"
4401 echo "$as_me: failed program was:" >&5
4402 sed 's/^/| /' conftest.
$ac_ext >&5
4404 eval "$as_ac_var=no"
4406 rm -f conftest.err conftest.
$ac_objext \
4407 conftest
$ac_exeext conftest.
$ac_ext
4409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4411 if test `eval echo '${'$as_ac_var'}'` = yes; then
4412 cat >>confdefs.h
<<_ACEOF
4413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4424 for ac_func
in getlogin_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r
4426 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4427 echo "$as_me:$LINENO: checking for $ac_func" >&5
4428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4429 if eval "test \"\${$as_ac_var+set}\" = set"; then
4430 echo $ECHO_N "(cached) $ECHO_C" >&6
4432 cat >conftest.
$ac_ext <<_ACEOF
4435 cat confdefs.h
>>conftest.
$ac_ext
4436 cat >>conftest.
$ac_ext <<_ACEOF
4437 /* end confdefs.h. */
4438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4440 #define $ac_func innocuous_$ac_func
4442 /* System header to define __stub macros and hopefully few prototypes,
4443 which can conflict with char $ac_func (); below.
4444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4445 <limits.h> exists even on freestanding compilers. */
4448 # include <limits.h>
4450 # include <assert.h>
4455 /* Override any gcc2 internal prototype to avoid an error. */
4460 /* We use char because int might match the return type of a gcc2
4461 builtin and then its argument prototype would still apply. */
4463 /* The GNU C library defines this for functions which it implements
4464 to always fail with ENOSYS. Some functions are actually named
4465 something starting with __ and the normal name is an alias. */
4466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4469 char (*f) () = $ac_func;
4478 return f != $ac_func;
4483 rm -f conftest.
$ac_objext conftest
$ac_exeext
4484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4485 (eval $ac_link) 2>conftest.er1
4487 grep -v '^ *+' conftest.er1
>conftest.err
4489 cat conftest.err
>&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); } &&
4492 { ac_try
='test -z "$ac_c_werror_flag"
4493 || test ! -s conftest.err'
4494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); }; } &&
4499 { ac_try
='test -s conftest$ac_exeext'
4500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); }; }; then
4505 eval "$as_ac_var=yes"
4507 echo "$as_me: failed program was:" >&5
4508 sed 's/^/| /' conftest.
$ac_ext >&5
4510 eval "$as_ac_var=no"
4512 rm -f conftest.err conftest.
$ac_objext \
4513 conftest
$ac_exeext conftest.
$ac_ext
4515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4517 if test `eval echo '${'$as_ac_var'}'` = yes; then
4518 cat >>confdefs.h
<<_ACEOF
4519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4530 for ac_func
in getservent getservbyname getservbyport getaddrinfo gai_strerror
4532 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4533 echo "$as_me:$LINENO: checking for $ac_func" >&5
4534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4535 if eval "test \"\${$as_ac_var+set}\" = set"; then
4536 echo $ECHO_N "(cached) $ECHO_C" >&6
4538 cat >conftest.
$ac_ext <<_ACEOF
4541 cat confdefs.h
>>conftest.
$ac_ext
4542 cat >>conftest.
$ac_ext <<_ACEOF
4543 /* end confdefs.h. */
4544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4546 #define $ac_func innocuous_$ac_func
4548 /* System header to define __stub macros and hopefully few prototypes,
4549 which can conflict with char $ac_func (); below.
4550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4551 <limits.h> exists even on freestanding compilers. */
4554 # include <limits.h>
4556 # include <assert.h>
4561 /* Override any gcc2 internal prototype to avoid an error. */
4566 /* We use char because int might match the return type of a gcc2
4567 builtin and then its argument prototype would still apply. */
4569 /* The GNU C library defines this for functions which it implements
4570 to always fail with ENOSYS. Some functions are actually named
4571 something starting with __ and the normal name is an alias. */
4572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4575 char (*f) () = $ac_func;
4584 return f != $ac_func;
4589 rm -f conftest.
$ac_objext conftest
$ac_exeext
4590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4591 (eval $ac_link) 2>conftest.er1
4593 grep -v '^ *+' conftest.er1
>conftest.err
4595 cat conftest.err
>&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); } &&
4598 { ac_try
='test -z "$ac_c_werror_flag"
4599 || test ! -s conftest.err'
4600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); }; } &&
4605 { ac_try
='test -s conftest$ac_exeext'
4606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; }; then
4611 eval "$as_ac_var=yes"
4613 echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.
$ac_ext >&5
4616 eval "$as_ac_var=no"
4618 rm -f conftest.err conftest.
$ac_objext \
4619 conftest
$ac_exeext conftest.
$ac_ext
4621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4623 if test `eval echo '${'$as_ac_var'}'` = yes; then
4624 cat >>confdefs.h
<<_ACEOF
4625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4634 for ac_func
in getprotoent getprotobyname getprotobynumber
4636 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4637 echo "$as_me:$LINENO: checking for $ac_func" >&5
4638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4639 if eval "test \"\${$as_ac_var+set}\" = set"; then
4640 echo $ECHO_N "(cached) $ECHO_C" >&6
4642 cat >conftest.
$ac_ext <<_ACEOF
4645 cat confdefs.h
>>conftest.
$ac_ext
4646 cat >>conftest.
$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4650 #define $ac_func innocuous_$ac_func
4652 /* System header to define __stub macros and hopefully few prototypes,
4653 which can conflict with char $ac_func (); below.
4654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4655 <limits.h> exists even on freestanding compilers. */
4658 # include <limits.h>
4660 # include <assert.h>
4665 /* Override any gcc2 internal prototype to avoid an error. */
4670 /* We use char because int might match the return type of a gcc2
4671 builtin and then its argument prototype would still apply. */
4673 /* The GNU C library defines this for functions which it implements
4674 to always fail with ENOSYS. Some functions are actually named
4675 something starting with __ and the normal name is an alias. */
4676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4679 char (*f) () = $ac_func;
4688 return f != $ac_func;
4693 rm -f conftest.
$ac_objext conftest
$ac_exeext
4694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4695 (eval $ac_link) 2>conftest.er1
4697 grep -v '^ *+' conftest.er1
>conftest.err
4699 cat conftest.err
>&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); } &&
4702 { ac_try
='test -z "$ac_c_werror_flag"
4703 || test ! -s conftest.err'
4704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); }; } &&
4709 { ac_try
='test -s conftest$ac_exeext'
4710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714 (exit $ac_status); }; }; then
4715 eval "$as_ac_var=yes"
4717 echo "$as_me: failed program was:" >&5
4718 sed 's/^/| /' conftest.
$ac_ext >&5
4720 eval "$as_ac_var=no"
4722 rm -f conftest.err conftest.
$ac_objext \
4723 conftest
$ac_exeext conftest.
$ac_ext
4725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4727 if test `eval echo '${'$as_ac_var'}'` = yes; then
4728 cat >>confdefs.h
<<_ACEOF
4729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4738 for ac_func
in getmntent setmntent addmntent
4740 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4741 echo "$as_me:$LINENO: checking for $ac_func" >&5
4742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4743 if eval "test \"\${$as_ac_var+set}\" = set"; then
4744 echo $ECHO_N "(cached) $ECHO_C" >&6
4746 cat >conftest.
$ac_ext <<_ACEOF
4749 cat confdefs.h
>>conftest.
$ac_ext
4750 cat >>conftest.
$ac_ext <<_ACEOF
4751 /* end confdefs.h. */
4752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4754 #define $ac_func innocuous_$ac_func
4756 /* System header to define __stub macros and hopefully few prototypes,
4757 which can conflict with char $ac_func (); below.
4758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4759 <limits.h> exists even on freestanding compilers. */
4762 # include <limits.h>
4764 # include <assert.h>
4769 /* Override any gcc2 internal prototype to avoid an error. */
4774 /* We use char because int might match the return type of a gcc2
4775 builtin and then its argument prototype would still apply. */
4777 /* The GNU C library defines this for functions which it implements
4778 to always fail with ENOSYS. Some functions are actually named
4779 something starting with __ and the normal name is an alias. */
4780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4783 char (*f) () = $ac_func;
4792 return f != $ac_func;
4797 rm -f conftest.
$ac_objext conftest
$ac_exeext
4798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4799 (eval $ac_link) 2>conftest.er1
4801 grep -v '^ *+' conftest.er1
>conftest.err
4803 cat conftest.err
>&5
4804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); } &&
4806 { ac_try
='test -z "$ac_c_werror_flag"
4807 || test ! -s conftest.err'
4808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }; } &&
4813 { ac_try
='test -s conftest$ac_exeext'
4814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); }; }; then
4819 eval "$as_ac_var=yes"
4821 echo "$as_me: failed program was:" >&5
4822 sed 's/^/| /' conftest.
$ac_ext >&5
4824 eval "$as_ac_var=no"
4826 rm -f conftest.err conftest.
$ac_objext \
4827 conftest
$ac_exeext conftest.
$ac_ext
4829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4831 if test `eval echo '${'$as_ac_var'}'` = yes; then
4832 cat >>confdefs.h
<<_ACEOF
4833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4842 for ac_func
in inet_ntoa mmap munmap
4844 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4845 echo "$as_me:$LINENO: checking for $ac_func" >&5
4846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4847 if eval "test \"\${$as_ac_var+set}\" = set"; then
4848 echo $ECHO_N "(cached) $ECHO_C" >&6
4850 cat >conftest.
$ac_ext <<_ACEOF
4853 cat confdefs.h
>>conftest.
$ac_ext
4854 cat >>conftest.
$ac_ext <<_ACEOF
4855 /* end confdefs.h. */
4856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4858 #define $ac_func innocuous_$ac_func
4860 /* System header to define __stub macros and hopefully few prototypes,
4861 which can conflict with char $ac_func (); below.
4862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4863 <limits.h> exists even on freestanding compilers. */
4866 # include <limits.h>
4868 # include <assert.h>
4873 /* Override any gcc2 internal prototype to avoid an error. */
4878 /* We use char because int might match the return type of a gcc2
4879 builtin and then its argument prototype would still apply. */
4881 /* The GNU C library defines this for functions which it implements
4882 to always fail with ENOSYS. Some functions are actually named
4883 something starting with __ and the normal name is an alias. */
4884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4887 char (*f) () = $ac_func;
4896 return f != $ac_func;
4901 rm -f conftest.
$ac_objext conftest
$ac_exeext
4902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4903 (eval $ac_link) 2>conftest.er1
4905 grep -v '^ *+' conftest.er1
>conftest.err
4907 cat conftest.err
>&5
4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); } &&
4910 { ac_try
='test -z "$ac_c_werror_flag"
4911 || test ! -s conftest.err'
4912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); }; } &&
4917 { ac_try
='test -s conftest$ac_exeext'
4918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); }; }; then
4923 eval "$as_ac_var=yes"
4925 echo "$as_me: failed program was:" >&5
4926 sed 's/^/| /' conftest.
$ac_ext >&5
4928 eval "$as_ac_var=no"
4930 rm -f conftest.err conftest.
$ac_objext \
4931 conftest
$ac_exeext conftest.
$ac_ext
4933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4935 if test `eval echo '${'$as_ac_var'}'` = yes; then
4936 cat >>confdefs.h
<<_ACEOF
4937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4944 cat >conftest.
$ac_ext <<_ACEOF
4947 cat confdefs.h
>>conftest.
$ac_ext
4948 cat >>conftest.
$ac_ext <<_ACEOF
4949 /* end confdefs.h. */
4950 #include <sys/types.h>
4951 #include <sys/ipc.h>
4952 #include <sys/sem.h>
4961 rm -f conftest.
$ac_objext
4962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4963 (eval $ac_compile) 2>conftest.er1
4965 grep -v '^ *+' conftest.er1
>conftest.err
4967 cat conftest.err
>&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } &&
4970 { ac_try
='test -z "$ac_c_werror_flag"
4971 || test ! -s conftest.err'
4972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); }; } &&
4977 { ac_try
='test -s conftest.$ac_objext'
4978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4982 (exit $ac_status); }; }; then
4985 echo "$as_me: failed program was:" >&5
4986 sed 's/^/| /' conftest.
$ac_ext >&5
4990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4991 if test $mf_have_semun = 1
4994 cat >>confdefs.h
<<\_ACEOF
4995 #define HAVE_UNION_SEMUN 1
5001 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
5002 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
5003 cat >conftest.
$ac_ext <<_ACEOF
5006 cat confdefs.h
>>conftest.
$ac_ext
5007 cat >>conftest.
$ac_ext <<_ACEOF
5008 /* end confdefs.h. */
5009 #define _POSIX_PII_SOCKET
5010 #include <sys/types.h>
5011 #include <sys/socket.h>
5020 rm -f conftest.
$ac_objext
5021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5022 (eval $ac_compile) 2>conftest.er1
5024 grep -v '^ *+' conftest.er1
>conftest.err
5026 cat conftest.err
>&5
5027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028 (exit $ac_status); } &&
5029 { ac_try
='test -z "$ac_c_werror_flag"
5030 || test ! -s conftest.err'
5031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); }; } &&
5036 { ac_try
='test -s conftest.$ac_objext'
5037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); }; }; then
5043 cat >>confdefs.h
<<\_ACEOF
5044 #define HAVE_SOCKLEN_T 1
5047 echo "$as_me:$LINENO: result: yes" >&5
5048 echo "${ECHO_T}yes" >&6
5050 echo "$as_me: failed program was:" >&5
5051 sed 's/^/| /' conftest.
$ac_ext >&5
5053 echo "$as_me:$LINENO: result: no" >&5
5054 echo "${ECHO_T}no" >&6
5056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5059 # Check whether --enable-shared or --disable-shared was given.
5060 if test "${enable_shared+set}" = set; then
5061 enableval
="$enable_shared"
5062 p
=${PACKAGE-default}
5064 yes) enable_shared
=yes ;;
5065 no
) enable_shared
=no
;;
5068 # Look at the argument we got. We use all the common list separators.
5069 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5070 for pkg
in $enableval; do
5071 if test "X$pkg" = "X$p"; then
5081 # Check whether --enable-static or --disable-static was given.
5082 if test "${enable_static+set}" = set; then
5083 enableval
="$enable_static"
5084 p
=${PACKAGE-default}
5086 yes) enable_static
=yes ;;
5087 no
) enable_static
=no
;;
5090 # Look at the argument we got. We use all the common list separators.
5091 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5092 for pkg
in $enableval; do
5093 if test "X$pkg" = "X$p"; then
5103 # Check whether --enable-fast-install or --disable-fast-install was given.
5104 if test "${enable_fast_install+set}" = set; then
5105 enableval
="$enable_fast_install"
5106 p
=${PACKAGE-default}
5108 yes) enable_fast_install
=yes ;;
5109 no
) enable_fast_install
=no
;;
5111 enable_fast_install
=no
5112 # Look at the argument we got. We use all the common list separators.
5113 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5114 for pkg
in $enableval; do
5115 if test "X$pkg" = "X$p"; then
5116 enable_fast_install
=yes
5123 enable_fast_install
=yes
5126 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5127 if test "${with_gnu_ld+set}" = set; then
5128 withval
="$with_gnu_ld"
5129 test "$withval" = no || with_gnu_ld
=yes
5134 if test "$GCC" = yes; then
5135 # Check if gcc -print-prog-name=ld gives a path.
5136 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5137 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5140 # gcc leaves a trailing carriage return which upsets mingw
5141 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5143 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5146 # Accept absolute paths.
5147 [\\/]* |
[A-Za-z
]:[\\/]*)
5148 re_direlt
='/[^/][^/]*/\.\./'
5149 # Canonicalize the path of ld
5150 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5151 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5152 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5154 test -z "$LD" && LD
="$ac_prog"
5157 # If it fails, then pretend we aren't using GCC.
5161 # If it is relative, then search for the first ld in PATH.
5165 elif test "$with_gnu_ld" = yes; then
5166 echo "$as_me:$LINENO: checking for GNU ld" >&5
5167 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5169 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5170 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5172 if test "${lt_cv_path_LD+set}" = set; then
5173 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 if test -z "$LD"; then
5176 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5177 for ac_dir
in $PATH; do
5178 test -z "$ac_dir" && ac_dir
=.
5179 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5180 lt_cv_path_LD
="$ac_dir/$ac_prog"
5181 # Check to see if the program is GNU ld. I'd rather use --version,
5182 # but apparently some GNU ld's only accept -v.
5183 # Break only if it was the GNU/non-GNU ld that we prefer.
5184 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5185 test "$with_gnu_ld" != no
&& break
5187 test "$with_gnu_ld" != yes && break
5193 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5198 if test -n "$LD"; then
5199 echo "$as_me:$LINENO: result: $LD" >&5
5200 echo "${ECHO_T}$LD" >&6
5202 echo "$as_me:$LINENO: result: no" >&5
5203 echo "${ECHO_T}no" >&6
5205 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5206 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5207 { (exit 1); exit 1; }; }
5208 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5209 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5210 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5211 echo $ECHO_N "(cached) $ECHO_C" >&6
5213 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5214 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5215 lt_cv_prog_gnu_ld
=yes
5217 lt_cv_prog_gnu_ld
=no
5220 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5221 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5222 with_gnu_ld
=$lt_cv_prog_gnu_ld
5225 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5226 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5227 if test "${lt_cv_ld_reload_flag+set}" = set; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5230 lt_cv_ld_reload_flag
='-r'
5232 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5233 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5234 reload_flag
=$lt_cv_ld_reload_flag
5235 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5237 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5238 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5239 if test "${lt_cv_path_NM+set}" = set; then
5240 echo $ECHO_N "(cached) $ECHO_C" >&6
5242 if test -n "$NM"; then
5243 # Let the user override the test.
5246 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5247 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5248 test -z "$ac_dir" && ac_dir
=.
5249 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5250 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5251 # Check to see if the nm accepts a BSD-compat flag.
5252 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5253 # nm: unknown option "B" ignored
5254 # Tru64's nm complains that /dev/null is an invalid object file
5255 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5256 lt_cv_path_NM
="$tmp_nm -B"
5258 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5259 lt_cv_path_NM
="$tmp_nm -p"
5262 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5263 continue # so that we can try to find one that supports BSD flags
5268 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5273 echo "$as_me:$LINENO: result: $NM" >&5
5274 echo "${ECHO_T}$NM" >&6
5276 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5277 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5279 if test "$LN_S" = "ln -s"; then
5280 echo "$as_me:$LINENO: result: yes" >&5
5281 echo "${ECHO_T}yes" >&6
5283 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5284 echo "${ECHO_T}no, using $LN_S" >&6
5287 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5288 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5289 if test "${lt_cv_deplibs_check_method+set}" = set; then
5290 echo $ECHO_N "(cached) $ECHO_C" >&6
5292 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5293 lt_cv_file_magic_test_file
=
5294 lt_cv_deplibs_check_method
='unknown'
5295 # Need to set the preceding variable on all platforms that support
5296 # interlibrary dependencies.
5297 # 'none' -- dependencies not supported.
5298 # `unknown' -- same as none, but documents that we really don't know.
5299 # 'pass_all' -- all dependencies passed with no checks.
5300 # 'test_compile' -- check by making test program.
5301 # 'file_magic [regex]' -- check by looking for files in library path
5302 # which responds to the $file_magic_cmd with a given egrep regex.
5303 # If you have `file' or equivalent on your system and you're not sure
5304 # whether `pass_all' will *always* work, you probably want this one.
5308 lt_cv_deplibs_check_method
=pass_all
5312 lt_cv_deplibs_check_method
=pass_all
5316 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5317 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5318 lt_cv_file_magic_test_file
=/shlib
/libc.so
5321 cygwin
* | mingw
* |pw32
*)
5322 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5323 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5326 darwin
* | rhapsody
*)
5327 # this will be overwritten by pass_all, but leave it in just in case
5328 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5329 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5331 rhapsody
* | darwin1.012
)
5332 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5335 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5338 lt_cv_deplibs_check_method
=pass_all
5341 freebsd
* | kfreebsd
*-gnu)
5342 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5345 # Not sure whether the presence of OpenBSD here was a mistake.
5346 # Let's accept both of them until this is cleared up.
5347 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5348 lt_cv_file_magic_cmd
=/usr
/bin
/file
5349 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5353 lt_cv_deplibs_check_method
=pass_all
5358 lt_cv_deplibs_check_method
=pass_all
5364 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5365 lt_cv_file_magic_cmd
=/usr
/bin
/file
5366 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5369 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5370 lt_cv_file_magic_cmd
=/usr
/bin
/file
5371 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5379 # this will be overridden with pass_all, but let us keep it just in case
5380 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5384 *-32|
*"-32 ") libmagic
=32-bit;;
5385 *-n32|
*"-n32 ") libmagic
=N32
;;
5386 *-64|
*"-64 ") libmagic
=64-bit;;
5387 *) libmagic
=never-match
;;
5389 # this will be overridden with pass_all, but let us keep it just in case
5390 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5393 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5394 lt_cv_deplibs_check_method
=pass_all
5397 # This must be Linux ELF.
5399 lt_cv_deplibs_check_method
=pass_all
5402 netbsd
* | knetbsd
*-gnu)
5403 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5404 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5406 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5411 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5412 lt_cv_file_magic_cmd
=/usr
/bin
/file
5413 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5416 osf3
* | osf4
* | osf5
*)
5417 # this will be overridden with pass_all, but let us keep it just in case
5418 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5419 lt_cv_file_magic_test_file
=/shlib
/libc.so
5420 lt_cv_deplibs_check_method
=pass_all
5424 lt_cv_deplibs_check_method
=pass_all
5428 lt_cv_deplibs_check_method
=pass_all
5429 lt_cv_file_magic_test_file
=/lib
/libc.so
5432 sysv5uw
[78]* | sysv4
*uw2
*)
5433 lt_cv_deplibs_check_method
=pass_all
5436 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5437 case $host_vendor in
5439 lt_cv_deplibs_check_method
=pass_all
5442 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]'
5443 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5450 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5451 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5452 file_magic_cmd
=$lt_cv_file_magic_cmd
5453 deplibs_check_method
=$lt_cv_deplibs_check_method
5457 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5459 # find the maximum length of command line arguments
5460 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5461 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5462 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5463 echo $ECHO_N "(cached) $ECHO_C" >&6
5470 # On DJGPP, this test can blow up pretty badly due to problems in libc
5471 # (any single argument exceeding 2000 bytes causes a buffer overrun
5472 # during glob expansion). Even if it were fixed, the result of this
5473 # check would be larger than it should be.
5474 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5478 # On Win9x/ME, this test blows up -- it succeeds, but takes
5479 # about 5 minutes as the teststring grows exponentially.
5480 # Worse, since 9x/ME are not pre-emptively multitasking,
5481 # you end up with a "frozen" computer, even though with patience
5482 # the test eventually succeeds (with a max line length of 256k).
5483 # Instead, let's just punt: use the minimum linelength reported by
5484 # all of the supported platforms: 8192 (on NT/2K/XP).
5485 lt_cv_sys_max_cmd_len
=8192;
5489 # On AmigaOS with pdksh, this test takes hours, literally.
5490 # So we just punt and use a minimum line length of 8192.
5491 lt_cv_sys_max_cmd_len
=8192;
5494 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5495 # This has been around since 386BSD, at least. Likely further.
5496 if test -x /sbin
/sysctl
; then
5497 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5498 elif test -x /usr
/sbin
/sysctl
; then
5499 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5501 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5503 # And add a safety zone
5504 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5505 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5511 if test -n "$lt_cv_sys_max_cmd_len" ; then
5512 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5513 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5515 echo "$as_me:$LINENO: result: none" >&5
5516 echo "${ECHO_T}none" >&6
5520 # Only perform the check for file, if the check method requires it
5521 case $deplibs_check_method in
5523 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5524 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5525 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5526 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5527 echo $ECHO_N "(cached) $ECHO_C" >&6
5531 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5534 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5537 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5538 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5539 ac_dummy
="/usr/bin:$PATH"
5540 for ac_dir
in $ac_dummy; do
5541 test -z "$ac_dir" && ac_dir
=.
5542 if test -f $ac_dir/${ac_tool_prefix}file; then
5543 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5544 if test -n "$file_magic_test_file"; then
5545 case $deplibs_check_method in
5547 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5548 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5549 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5550 egrep "$file_magic_regex" > /dev
/null
; then
5555 *** Warning: the command libtool uses to detect shared libraries,
5556 *** $file_magic_cmd, produces output that libtool cannot recognize.
5557 *** The result is that libtool may fail to recognize shared libraries
5558 *** as such. This will affect the creation of libtool libraries that
5559 *** depend on shared libraries, but programs linked with such libtool
5560 *** libraries will work regardless of this problem. Nevertheless, you
5561 *** may want to report the problem to your system manager and/or to
5562 *** bug-libtool@gnu.org
5572 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5577 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5578 if test -n "$MAGIC_CMD"; then
5579 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5580 echo "${ECHO_T}$MAGIC_CMD" >&6
5582 echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6
5586 if test -z "$lt_cv_path_MAGIC_CMD"; then
5587 if test -n "$ac_tool_prefix"; then
5588 echo "$as_me:$LINENO: checking for file" >&5
5589 echo $ECHO_N "checking for file... $ECHO_C" >&6
5590 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5591 echo $ECHO_N "(cached) $ECHO_C" >&6
5595 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5598 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5601 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5602 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5603 ac_dummy
="/usr/bin:$PATH"
5604 for ac_dir
in $ac_dummy; do
5605 test -z "$ac_dir" && ac_dir
=.
5606 if test -f $ac_dir/file; then
5607 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5608 if test -n "$file_magic_test_file"; then
5609 case $deplibs_check_method in
5611 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5612 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5613 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5614 egrep "$file_magic_regex" > /dev
/null
; then
5619 *** Warning: the command libtool uses to detect shared libraries,
5620 *** $file_magic_cmd, produces output that libtool cannot recognize.
5621 *** The result is that libtool may fail to recognize shared libraries
5622 *** as such. This will affect the creation of libtool libraries that
5623 *** depend on shared libraries, but programs linked with such libtool
5624 *** libraries will work regardless of this problem. Nevertheless, you
5625 *** may want to report the problem to your system manager and/or to
5626 *** bug-libtool@gnu.org
5636 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5641 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5642 if test -n "$MAGIC_CMD"; then
5643 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5644 echo "${ECHO_T}$MAGIC_CMD" >&6
5646 echo "$as_me:$LINENO: result: no" >&5
5647 echo "${ECHO_T}no" >&6
5659 if test -n "$ac_tool_prefix"; then
5660 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5661 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5662 echo "$as_me:$LINENO: checking for $ac_word" >&5
5663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5664 if test "${ac_cv_prog_RANLIB+set}" = set; then
5665 echo $ECHO_N "(cached) $ECHO_C" >&6
5667 if test -n "$RANLIB"; then
5668 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5674 test -z "$as_dir" && as_dir
=.
5675 for ac_exec_ext
in '' $ac_executable_extensions; do
5676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5677 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5686 RANLIB
=$ac_cv_prog_RANLIB
5687 if test -n "$RANLIB"; then
5688 echo "$as_me:$LINENO: result: $RANLIB" >&5
5689 echo "${ECHO_T}$RANLIB" >&6
5691 echo "$as_me:$LINENO: result: no" >&5
5692 echo "${ECHO_T}no" >&6
5696 if test -z "$ac_cv_prog_RANLIB"; then
5697 ac_ct_RANLIB
=$RANLIB
5698 # Extract the first word of "ranlib", so it can be a program name with args.
5699 set dummy ranlib
; ac_word
=$2
5700 echo "$as_me:$LINENO: checking for $ac_word" >&5
5701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5702 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5705 if test -n "$ac_ct_RANLIB"; then
5706 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5712 test -z "$as_dir" && as_dir
=.
5713 for ac_exec_ext
in '' $ac_executable_extensions; do
5714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5715 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5725 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5726 if test -n "$ac_ct_RANLIB"; then
5727 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5728 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5730 echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6
5734 RANLIB
=$ac_ct_RANLIB
5736 RANLIB
="$ac_cv_prog_RANLIB"
5739 if test -n "$ac_tool_prefix"; then
5740 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5741 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5742 echo "$as_me:$LINENO: checking for $ac_word" >&5
5743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5744 if test "${ac_cv_prog_STRIP+set}" = set; then
5745 echo $ECHO_N "(cached) $ECHO_C" >&6
5747 if test -n "$STRIP"; then
5748 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5754 test -z "$as_dir" && as_dir
=.
5755 for ac_exec_ext
in '' $ac_executable_extensions; do
5756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5757 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5766 STRIP
=$ac_cv_prog_STRIP
5767 if test -n "$STRIP"; then
5768 echo "$as_me:$LINENO: result: $STRIP" >&5
5769 echo "${ECHO_T}$STRIP" >&6
5771 echo "$as_me:$LINENO: result: no" >&5
5772 echo "${ECHO_T}no" >&6
5776 if test -z "$ac_cv_prog_STRIP"; then
5778 # Extract the first word of "strip", so it can be a program name with args.
5779 set dummy strip
; ac_word
=$2
5780 echo "$as_me:$LINENO: checking for $ac_word" >&5
5781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5782 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5783 echo $ECHO_N "(cached) $ECHO_C" >&6
5785 if test -n "$ac_ct_STRIP"; then
5786 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5792 test -z "$as_dir" && as_dir
=.
5793 for ac_exec_ext
in '' $ac_executable_extensions; do
5794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5795 ac_cv_prog_ac_ct_STRIP
="strip"
5796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5805 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5806 if test -n "$ac_ct_STRIP"; then
5807 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5808 echo "${ECHO_T}$ac_ct_STRIP" >&6
5810 echo "$as_me:$LINENO: result: no" >&5
5811 echo "${ECHO_T}no" >&6
5816 STRIP
="$ac_cv_prog_STRIP"
5820 # Check for any special flags to pass to ltconfig.
5821 libtool_flags
="--cache-file=$cache_file"
5822 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5823 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5824 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5825 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5826 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5829 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5830 if test "${enable_libtool_lock+set}" = set; then
5831 enableval
="$enable_libtool_lock"
5834 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5835 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5838 # Check whether --with-pic or --without-pic was given.
5839 if test "${with_pic+set}" = set; then
5845 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5846 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5848 # Some flags need to be propagated to the compiler or linker for good
5852 # Find out which ABI we are using.
5853 echo '#line 5853 "configure"' > conftest.
$ac_ext
5854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5855 (eval $ac_compile) 2>&5
5857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 (exit $ac_status); }; then
5859 if test "$lt_cv_prog_gnu_ld" = yes; then
5860 case `/usr/bin/file conftest.$ac_objext` in
5862 LD
="${LD-ld} -melf32bsmip"
5865 LD
="${LD-ld} -melf32bmipn32"
5868 LD
="${LD-ld} -melf64bmip"
5872 case `/usr/bin/file conftest.$ac_objext` in
5889 # Find out which ABI we are using.
5890 echo 'int i;' > conftest.
$ac_ext
5891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5892 (eval $ac_compile) 2>&5
5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5895 (exit $ac_status); }; then
5896 case "`/usr/bin/file conftest.o`" in
5908 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5909 # Find out which ABI we are using.
5910 echo 'int i;' > conftest.
$ac_ext
5911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5912 (eval $ac_compile) 2>&5
5914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915 (exit $ac_status); }; then
5916 case "`/usr/bin/file conftest.o`" in
5920 LD
="${LD-ld} -m elf_i386"
5922 ppc64-
*linux
*|powerpc64-
*linux
*)
5923 LD
="${LD-ld} -m elf32ppclinux"
5926 LD
="${LD-ld} -m elf_s390"
5929 LD
="${LD-ld} -m elf32_sparc"
5936 LD
="${LD-ld} -m elf_x86_64"
5938 ppc
*-*linux
*|powerpc
*-*linux
*)
5939 LD
="${LD-ld} -m elf64ppc"
5942 LD
="${LD-ld} -m elf64_s390"
5945 LD
="${LD-ld} -m elf64_sparc"
5955 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5956 SAVE_CFLAGS
="$CFLAGS"
5957 CFLAGS
="$CFLAGS -belf"
5958 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5959 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5960 if test "${lt_cv_cc_needs_belf+set}" = set; then
5961 echo $ECHO_N "(cached) $ECHO_C" >&6
5966 ac_cpp
='$CPP $CPPFLAGS'
5967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5971 cat >conftest.
$ac_ext <<_ACEOF
5974 cat confdefs.h
>>conftest.
$ac_ext
5975 cat >>conftest.
$ac_ext <<_ACEOF
5976 /* end confdefs.h. */
5986 rm -f conftest.
$ac_objext conftest
$ac_exeext
5987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5988 (eval $ac_link) 2>conftest.er1
5990 grep -v '^ *+' conftest.er1
>conftest.err
5992 cat conftest.err
>&5
5993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); } &&
5995 { ac_try
='test -z "$ac_c_werror_flag"
5996 || test ! -s conftest.err'
5997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6001 (exit $ac_status); }; } &&
6002 { ac_try
='test -s conftest$ac_exeext'
6003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); }; }; then
6008 lt_cv_cc_needs_belf
=yes
6010 echo "$as_me: failed program was:" >&5
6011 sed 's/^/| /' conftest.
$ac_ext >&5
6013 lt_cv_cc_needs_belf
=no
6015 rm -f conftest.err conftest.
$ac_objext \
6016 conftest
$ac_exeext conftest.
$ac_ext
6018 ac_cpp
='$CPP $CPPFLAGS'
6019 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6020 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6021 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6024 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6025 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6026 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6027 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6028 CFLAGS
="$SAVE_CFLAGS"
6036 # Save cache, so that ltconfig can load it
6037 cat >confcache
<<\_ACEOF
6038 # This file is a shell script that caches the results of configure
6039 # tests run on this system so they can be shared between configure
6040 # scripts and configure runs, see configure's option --config-cache.
6041 # It is not useful on other systems. If it contains results you don't
6042 # want to keep, you may remove or edit it.
6044 # config.status only pays attention to the cache file if you give it
6045 # the --recheck option to rerun configure.
6047 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6048 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6053 # The following way of writing the cache mishandles newlines in values,
6054 # but we know of no workaround that is simple, portable, and efficient.
6055 # So, don't put newlines in cache variables' values.
6056 # Ultrix sh set writes to stderr and can't be redirected directly,
6057 # and sets the high bit in the cache file unless we assign to the vars.
6060 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6062 # `set' does not quote correctly, so add quotes (double-quote
6063 # substitution turns \\\\ into \\, and sed turns \\ into \).
6066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6069 # `set' quotes correctly as required by POSIX, so do not add quotes.
6071 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6078 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6080 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6082 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6083 if test -w $cache_file; then
6084 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6085 cat confcache
>$cache_file
6087 echo "not updating unwritable cache $cache_file"
6092 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6093 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
6094 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6095 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6096 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6097 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6098 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
6099 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
6100 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
6101 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6102 echo "$as_me: error: libtool configure failed" >&2;}
6103 { (exit 1); exit 1; }; }
6105 # Reload cache, that may have been modified by ltconfig
6106 if test -r "$cache_file"; then
6107 # Some versions of bash will fail to source /dev/null (special
6108 # files actually), so we avoid doing that.
6109 if test -f "$cache_file"; then
6110 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6111 echo "$as_me: loading cache $cache_file" >&6;}
6113 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
6114 *) . .
/$cache_file;;
6118 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6119 echo "$as_me: creating cache $cache_file" >&6;}
6124 # This can be used to rebuild libtool when needed
6125 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6127 # Always use our own libtool.
6128 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6130 # Redirect the config.log output again, so that the ltconfig log is not
6131 # clobbered by the next message.
6132 exec 5>>.
/config.log
6142 if test "${ac_cv_header_stdint_h+set}" = set; then
6143 echo "$as_me:$LINENO: checking for stdint.h" >&5
6144 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
6145 if test "${ac_cv_header_stdint_h+set}" = set; then
6146 echo $ECHO_N "(cached) $ECHO_C" >&6
6148 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
6149 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
6151 # Is the header compilable?
6152 echo "$as_me:$LINENO: checking stdint.h usability" >&5
6153 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6
6154 cat >conftest.
$ac_ext <<_ACEOF
6157 cat confdefs.h
>>conftest.
$ac_ext
6158 cat >>conftest.
$ac_ext <<_ACEOF
6159 /* end confdefs.h. */
6160 $ac_includes_default
6163 rm -f conftest.
$ac_objext
6164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6165 (eval $ac_compile) 2>conftest.er1
6167 grep -v '^ *+' conftest.er1
>conftest.err
6169 cat conftest.err
>&5
6170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6171 (exit $ac_status); } &&
6172 { ac_try
='test -z "$ac_c_werror_flag"
6173 || test ! -s conftest.err'
6174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178 (exit $ac_status); }; } &&
6179 { ac_try
='test -s conftest.$ac_objext'
6180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); }; }; then
6185 ac_header_compiler
=yes
6187 echo "$as_me: failed program was:" >&5
6188 sed 's/^/| /' conftest.
$ac_ext >&5
6190 ac_header_compiler
=no
6192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6193 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6194 echo "${ECHO_T}$ac_header_compiler" >&6
6196 # Is the header present?
6197 echo "$as_me:$LINENO: checking stdint.h presence" >&5
6198 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6
6199 cat >conftest.
$ac_ext <<_ACEOF
6202 cat confdefs.h
>>conftest.
$ac_ext
6203 cat >>conftest.
$ac_ext <<_ACEOF
6204 /* end confdefs.h. */
6207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6208 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6210 grep -v '^ *+' conftest.er1
>conftest.err
6212 cat conftest.err
>&5
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); } >/dev
/null
; then
6215 if test -s conftest.err
; then
6216 ac_cpp_err
=$ac_c_preproc_warn_flag
6217 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6224 if test -z "$ac_cpp_err"; then
6225 ac_header_preproc
=yes
6227 echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.
$ac_ext >&5
6230 ac_header_preproc
=no
6232 rm -f conftest.err conftest.
$ac_ext
6233 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6234 echo "${ECHO_T}$ac_header_preproc" >&6
6236 # So? What about this header?
6237 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6239 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
6240 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6241 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5
6242 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;}
6243 ac_header_preproc
=yes
6246 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
6247 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
6248 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5
6249 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;}
6250 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5
6251 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;}
6252 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5
6253 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;}
6254 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
6255 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
6256 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5
6257 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;}
6260 ## ------------------------------------- ##
6261 ## Report this to the libmudflap lists. ##
6262 ## ------------------------------------- ##
6265 sed "s/^/$as_me: WARNING: /" >&2
6268 echo "$as_me:$LINENO: checking for stdint.h" >&5
6269 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
6270 if test "${ac_cv_header_stdint_h+set}" = set; then
6271 echo $ECHO_N "(cached) $ECHO_C" >&6
6273 ac_cv_header_stdint_h
=$ac_header_preproc
6275 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
6276 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
6279 if test $ac_cv_header_stdint_h = yes; then
6287 if test $MF_HAVE_STDINT_H = 1
6291 cat >conftest.
$ac_ext <<_ACEOF
6294 cat confdefs.h
>>conftest.
$ac_ext
6295 cat >>conftest.
$ac_ext <<_ACEOF
6296 /* end confdefs.h. */
6297 #include <sys/types.h>
6306 rm -f conftest.
$ac_objext
6307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6308 (eval $ac_compile) 2>conftest.er1
6310 grep -v '^ *+' conftest.er1
>conftest.err
6312 cat conftest.err
>&5
6313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 (exit $ac_status); } &&
6315 { ac_try
='test -z "$ac_c_werror_flag"
6316 || test ! -s conftest.err'
6317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321 (exit $ac_status); }; } &&
6322 { ac_try
='test -s conftest.$ac_objext'
6323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327 (exit $ac_status); }; }; then
6330 echo "$as_me: failed program was:" >&5
6331 sed 's/^/| /' conftest.
$ac_ext >&5
6335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6341 # libmudflapth objects are built in this subdirectory
6346 for ac_header
in pthread.h
6348 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6350 echo "$as_me:$LINENO: checking for $ac_header" >&5
6351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6353 echo $ECHO_N "(cached) $ECHO_C" >&6
6355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6358 # Is the header compilable?
6359 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6360 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6361 cat >conftest.
$ac_ext <<_ACEOF
6364 cat confdefs.h
>>conftest.
$ac_ext
6365 cat >>conftest.
$ac_ext <<_ACEOF
6366 /* end confdefs.h. */
6367 $ac_includes_default
6368 #include <$ac_header>
6370 rm -f conftest.
$ac_objext
6371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6372 (eval $ac_compile) 2>conftest.er1
6374 grep -v '^ *+' conftest.er1
>conftest.err
6376 cat conftest.err
>&5
6377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6378 (exit $ac_status); } &&
6379 { ac_try
='test -z "$ac_c_werror_flag"
6380 || test ! -s conftest.err'
6381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6385 (exit $ac_status); }; } &&
6386 { ac_try
='test -s conftest.$ac_objext'
6387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); }; }; then
6392 ac_header_compiler
=yes
6394 echo "$as_me: failed program was:" >&5
6395 sed 's/^/| /' conftest.
$ac_ext >&5
6397 ac_header_compiler
=no
6399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6401 echo "${ECHO_T}$ac_header_compiler" >&6
6403 # Is the header present?
6404 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6406 cat >conftest.
$ac_ext <<_ACEOF
6409 cat confdefs.h
>>conftest.
$ac_ext
6410 cat >>conftest.
$ac_ext <<_ACEOF
6411 /* end confdefs.h. */
6412 #include <$ac_header>
6414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6415 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6417 grep -v '^ *+' conftest.er1
>conftest.err
6419 cat conftest.err
>&5
6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421 (exit $ac_status); } >/dev
/null
; then
6422 if test -s conftest.err
; then
6423 ac_cpp_err
=$ac_c_preproc_warn_flag
6424 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6431 if test -z "$ac_cpp_err"; then
6432 ac_header_preproc
=yes
6434 echo "$as_me: failed program was:" >&5
6435 sed 's/^/| /' conftest.
$ac_ext >&5
6437 ac_header_preproc
=no
6439 rm -f conftest.err conftest.
$ac_ext
6440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6441 echo "${ECHO_T}$ac_header_preproc" >&6
6443 # So? What about this header?
6444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6449 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6450 ac_header_preproc
=yes
6453 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6454 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6455 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6456 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6457 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6458 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6459 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6460 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6462 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6463 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6464 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6467 ## ------------------------------------- ##
6468 ## Report this to the libmudflap lists. ##
6469 ## ------------------------------------- ##
6472 sed "s/^/$as_me: WARNING: /" >&2
6475 echo "$as_me:$LINENO: checking for $ac_header" >&5
6476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6478 echo $ECHO_N "(cached) $ECHO_C" >&6
6480 eval "$as_ac_Header=\$ac_header_preproc"
6482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6487 cat >>confdefs.h
<<_ACEOF
6488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6496 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
6497 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
6498 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
6499 echo "$as_me:$LINENO: result: $target_thread_file" >&5
6500 echo "${ECHO_T}$target_thread_file" >&6
6502 # We only support posix threads, or no threads at all.
6504 case ${target_thread_file} in
6511 echo "${target_thread_file} is an unsupported thread package" 1>&2
6518 if test "x$posix_threads" != "x"; then
6520 LIBMUDFLAPTH_FALSE
='#'
6522 LIBMUDFLAPTH_TRUE
='#'
6526 if test "x$posix_threads" != "x"
6528 build_libmudflapth
=1
6530 build_libmudflapth
=0
6535 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
6536 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
6537 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
6538 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 ac_check_lib_save_LIBS
=$LIBS
6542 cat >conftest.
$ac_ext <<_ACEOF
6545 cat confdefs.h
>>conftest.
$ac_ext
6546 cat >>conftest.
$ac_ext <<_ACEOF
6547 /* end confdefs.h. */
6549 /* Override any gcc2 internal prototype to avoid an error. */
6553 /* We use char because int might match the return type of a gcc2
6554 builtin and then its argument prototype would still apply. */
6564 rm -f conftest.
$ac_objext conftest
$ac_exeext
6565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6566 (eval $ac_link) 2>conftest.er1
6568 grep -v '^ *+' conftest.er1
>conftest.err
6570 cat conftest.err
>&5
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); } &&
6573 { ac_try
='test -z "$ac_c_werror_flag"
6574 || test ! -s conftest.err'
6575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579 (exit $ac_status); }; } &&
6580 { ac_try
='test -s conftest$ac_exeext'
6581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); }; }; then
6586 ac_cv_lib_dl_dlsym
=yes
6588 echo "$as_me: failed program was:" >&5
6589 sed 's/^/| /' conftest.
$ac_ext >&5
6591 ac_cv_lib_dl_dlsym
=no
6593 rm -f conftest.err conftest.
$ac_objext \
6594 conftest
$ac_exeext conftest.
$ac_ext
6595 LIBS
=$ac_check_lib_save_LIBS
6597 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
6598 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
6599 if test $ac_cv_lib_dl_dlsym = yes; then
6600 cat >>confdefs.h
<<_ACEOF
6601 #define HAVE_LIBDL 1
6609 # Calculate toolexeclibdir
6610 # Also toolexecdir, though it's only used in toolexeclibdir
6611 case ${version_specific_libs} in
6613 # Need the gcc compiler version to know where to install libraries
6614 # and header files if --enable-version-specific-runtime-libs option
6616 toolexecdir
='$(libdir)/gcc/$(target_alias)'
6617 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
6620 if test -n "$with_cross_host" &&
6621 test x
"$with_cross_host" != x
"no"; then
6622 # Install a library built with a cross compiler in tooldir, not libdir.
6623 toolexecdir
='$(exec_prefix)/$(target_alias)'
6624 toolexeclibdir
='$(toolexecdir)/lib'
6626 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
6627 toolexeclibdir
='$(libdir)'
6629 multi_os_directory
=`$CC -print-multi-os-directory`
6630 case $multi_os_directory in
6631 .
) ;; # Avoid trailing /.
6632 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
6639 includedir
=${toolexecdir}/include
6642 pthread_create_version
='""'
6643 if test "x$enable_shared" = "xyes" && test "x$posix_threads" != "x"; then
6644 # NB: don't check for -lpthread here, because then it would be
6645 # added to LIBS. For the thread-unaware libmudflap.la, we don't
6648 # glibc-related hacks. dlsym() may pick the wrong version of
6649 # interposed functions like pthread_create on modern glibc.
6650 # We need to find the proper symbol version string, and use
6651 # the nonstandard dlvsym().
6653 for ac_func
in dlvsym
6655 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6656 echo "$as_me:$LINENO: checking for $ac_func" >&5
6657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6658 if eval "test \"\${$as_ac_var+set}\" = set"; then
6659 echo $ECHO_N "(cached) $ECHO_C" >&6
6661 cat >conftest.
$ac_ext <<_ACEOF
6664 cat confdefs.h
>>conftest.
$ac_ext
6665 cat >>conftest.
$ac_ext <<_ACEOF
6666 /* end confdefs.h. */
6667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6669 #define $ac_func innocuous_$ac_func
6671 /* System header to define __stub macros and hopefully few prototypes,
6672 which can conflict with char $ac_func (); below.
6673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6674 <limits.h> exists even on freestanding compilers. */
6677 # include <limits.h>
6679 # include <assert.h>
6684 /* Override any gcc2 internal prototype to avoid an error. */
6689 /* We use char because int might match the return type of a gcc2
6690 builtin and then its argument prototype would still apply. */
6692 /* The GNU C library defines this for functions which it implements
6693 to always fail with ENOSYS. Some functions are actually named
6694 something starting with __ and the normal name is an alias. */
6695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6698 char (*f) () = $ac_func;
6707 return f != $ac_func;
6712 rm -f conftest.
$ac_objext conftest
$ac_exeext
6713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6714 (eval $ac_link) 2>conftest.er1
6716 grep -v '^ *+' conftest.er1
>conftest.err
6718 cat conftest.err
>&5
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); } &&
6721 { ac_try
='test -z "$ac_c_werror_flag"
6722 || test ! -s conftest.err'
6723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); }; } &&
6728 { ac_try
='test -s conftest$ac_exeext'
6729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); }; }; then
6734 eval "$as_ac_var=yes"
6736 echo "$as_me: failed program was:" >&5
6737 sed 's/^/| /' conftest.
$ac_ext >&5
6739 eval "$as_ac_var=no"
6741 rm -f conftest.err conftest.
$ac_objext \
6742 conftest
$ac_exeext conftest.
$ac_ext
6744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6746 if test `eval echo '${'$as_ac_var'}'` = yes; then
6747 cat >>confdefs.h
<<_ACEOF
6748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6754 if test -n "$ac_tool_prefix"; then
6755 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
6756 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
6757 echo "$as_me:$LINENO: checking for $ac_word" >&5
6758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6759 if test "${ac_cv_prog_NM+set}" = set; then
6760 echo $ECHO_N "(cached) $ECHO_C" >&6
6762 if test -n "$NM"; then
6763 ac_cv_prog_NM
="$NM" # Let the user override the test.
6765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6769 test -z "$as_dir" && as_dir
=.
6770 for ac_exec_ext
in '' $ac_executable_extensions; do
6771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6772 ac_cv_prog_NM
="${ac_tool_prefix}nm"
6773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6782 if test -n "$NM"; then
6783 echo "$as_me:$LINENO: result: $NM" >&5
6784 echo "${ECHO_T}$NM" >&6
6786 echo "$as_me:$LINENO: result: no" >&5
6787 echo "${ECHO_T}no" >&6
6791 if test -z "$ac_cv_prog_NM"; then
6793 # Extract the first word of "nm", so it can be a program name with args.
6794 set dummy nm
; ac_word
=$2
6795 echo "$as_me:$LINENO: checking for $ac_word" >&5
6796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6797 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
6798 echo $ECHO_N "(cached) $ECHO_C" >&6
6800 if test -n "$ac_ct_NM"; then
6801 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
6803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6807 test -z "$as_dir" && as_dir
=.
6808 for ac_exec_ext
in '' $ac_executable_extensions; do
6809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6810 ac_cv_prog_ac_ct_NM
="nm"
6811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6819 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
6820 if test -n "$ac_ct_NM"; then
6821 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
6822 echo "${ECHO_T}$ac_ct_NM" >&6
6824 echo "$as_me:$LINENO: result: no" >&5
6825 echo "${ECHO_T}no" >&6
6833 if test "x$ac_cv_have_dlvsym" != "x"; then
6834 # Try compiling a simple pthreads program. Find the shared libraries it
6835 # ends up with. Then use "nm" on those libraries to extract the
6836 # default symbol versioning suffix ("@@"), if any. But that's tricky.
6837 # Rather, run nm on the resulting executable. Unfortunately, autoconf
6838 # doesn't appear to have a macro that builds a test executable for
6839 # subsequent analysis ... so we do it by hand here.
6840 cat >> conftest.c
<< EOF
6841 #include <pthread.h>
6842 int main () { void *p = (void *) & pthread_create; return (int) p; }
6845 LIBS
="$LIBS -lpthread"
6846 pthread_create_version
="\"\""
6847 echo "$as_me:$LINENO: checking pthread_create symbol version" >&5
6848 echo $ECHO_N "checking pthread_create symbol version... $ECHO_C" >&6
6849 if eval $ac_link 2>&5 && test -s conftest
${ac_exeext}; then
6850 version
=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
6851 if test "x$version" != "x"; then
6852 pthread_create_version
="\"$version\""
6855 echo "$as_me:$LINENO: result: $pthread_create_version" >&5
6856 echo "${ECHO_T}$pthread_create_version" >&6
6861 cat >>confdefs.h
<<_ACEOF
6862 #define PTHREAD_CREATE_VERSION $pthread_create_version
6867 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6868 # similarly to how libstdc++ does it
6869 ac_test_CFLAGS
="${CFLAGS+set}"
6870 ac_save_CFLAGS
="$CFLAGS"
6872 # Check for -ffunction-sections -fdata-sections
6873 echo "$as_me:$LINENO: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6874 echo $ECHO_N "checking for gcc that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
6875 CFLAGS
='-Werror -ffunction-sections -fdata-sections'
6876 cat >conftest.
$ac_ext <<_ACEOF
6879 cat confdefs.h
>>conftest.
$ac_ext
6880 cat >>conftest.
$ac_ext <<_ACEOF
6881 /* end confdefs.h. */
6891 rm -f conftest.
$ac_objext
6892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6893 (eval $ac_compile) 2>conftest.er1
6895 grep -v '^ *+' conftest.er1
>conftest.err
6897 cat conftest.err
>&5
6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); } &&
6900 { ac_try
='test -z "$ac_c_werror_flag"
6901 || test ! -s conftest.err'
6902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); }; } &&
6907 { ac_try
='test -s conftest.$ac_objext'
6908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); }; }; then
6915 echo "$as_me: failed program was:" >&5
6916 sed 's/^/| /' conftest.
$ac_ext >&5
6920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6921 if test "$ac_test_CFLAGS" = set; then
6922 CFLAGS
="$ac_save_CFLAGS"
6924 # this is the suspicious part
6927 if test x
"$ac_fdsections" = x
"yes"; then
6928 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
6930 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
6931 echo "${ECHO_T}$ac_fdsections" >&6
6935 # Check for the name of the symbol used for the entry point.
6936 echo "$as_me:$LINENO: checking for the name of the symbol used for the entry point" >&5
6937 echo $ECHO_N "checking for the name of the symbol used for the entry point... $ECHO_C" >&6
6938 if test "${mudflap_cv_entry_point+set}" = set; then
6939 echo $ECHO_N "(cached) $ECHO_C" >&6
6942 for name
in _start __start unknown
; do
6943 cat >conftest.
$ac_ext <<_ACEOF
6946 cat confdefs.h
>>conftest.
$ac_ext
6947 cat >>conftest.
$ac_ext <<_ACEOF
6948 /* end confdefs.h. */
6949 extern char $name[];
6958 rm -f conftest.
$ac_objext conftest
$ac_exeext
6959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6960 (eval $ac_link) 2>conftest.er1
6962 grep -v '^ *+' conftest.er1
>conftest.err
6964 cat conftest.err
>&5
6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966 (exit $ac_status); } &&
6967 { ac_try
='test -z "$ac_c_werror_flag"
6968 || test ! -s conftest.err'
6969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); }; } &&
6974 { ac_try
='test -s conftest$ac_exeext'
6975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); }; }; then
6982 echo "$as_me: failed program was:" >&5
6983 sed 's/^/| /' conftest.
$ac_ext >&5
6986 rm -f conftest.err conftest.
$ac_objext \
6987 conftest
$ac_exeext conftest.
$ac_ext
6989 mudflap_cv_entry_point
="$name"
6991 echo "$as_me:$LINENO: result: $mudflap_cv_entry_point" >&5
6992 echo "${ECHO_T}$mudflap_cv_entry_point" >&6
6993 if test "$mudflap_cv_entry_point" = unknown
; then
6994 { { echo "$as_me:$LINENO: error: none of the known symbol names works" >&5
6995 echo "$as_me: error: none of the known symbol names works" >&2;}
6996 { (exit 1); exit 1; }; }
6999 cat >>confdefs.h
<<_ACEOF
7000 #define ENTRY_POINT $mudflap_cv_entry_point
7005 if test ${multilib} = yes; then
7006 multilib_arg
="--enable-multilib"
7011 # See if we support thread-local storage.
7013 # Check whether --enable-tls or --disable-tls was given.
7014 if test "${enable_tls+set}" = set; then
7015 enableval
="$enable_tls"
7017 case "$enableval" in
7019 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
7020 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
7021 { (exit 1); exit 1; }; } ;;
7028 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
7029 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
7030 if test "${have_tls+set}" = set; then
7031 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 if test "$cross_compiling" = yes; then
7035 cat >conftest.
$ac_ext <<_ACEOF
7038 rm -f conftest.
$ac_objext
7039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7040 (eval $ac_compile) 2>conftest.er1
7042 grep -v '^ *+' conftest.er1
>conftest.err
7044 cat conftest.err
>&5
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); } &&
7047 { ac_try
='test -z "$ac_c_werror_flag"
7048 || test ! -s conftest.err'
7049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); }; } &&
7054 { ac_try
='test -s conftest.$ac_objext'
7055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); }; }; then
7062 echo "$as_me: failed program was:" >&5
7063 sed 's/^/| /' conftest.
$ac_ext >&5
7067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7070 cat >conftest.
$ac_ext <<_ACEOF
7071 __thread int a; int b; int main() { return a = b; }
7073 rm -f conftest
$ac_exeext
7074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7075 (eval $ac_link) 2>&5
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083 (exit $ac_status); }; }; then
7084 save_LDFLAGS
="$LDFLAGS"
7085 LDFLAGS
="-static $LDFLAGS"
7086 if test "$cross_compiling" = yes; then
7087 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7088 See \`config.log' for more details." >&5
7089 echo "$as_me: error: cannot run test program while cross compiling
7090 See \`config.log' for more details." >&2;}
7091 { (exit 1); exit 1; }; }
7093 cat >conftest.
$ac_ext <<_ACEOF
7094 __thread int a; int b; int main() { return a = b; }
7096 rm -f conftest
$ac_exeext
7097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7098 (eval $ac_link) 2>&5
7100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7101 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); }; }; then
7109 echo "$as_me: program exited with status $ac_status" >&5
7110 echo "$as_me: failed program was:" >&5
7111 sed 's/^/| /' conftest.
$ac_ext >&5
7116 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7118 LDFLAGS
="$save_LDFLAGS"
7120 echo "$as_me: program exited with status $ac_status" >&5
7121 echo "$as_me: failed program was:" >&5
7122 sed 's/^/| /' conftest.
$ac_ext >&5
7127 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7130 echo "$as_me:$LINENO: result: $have_tls" >&5
7131 echo "${ECHO_T}$have_tls" >&6
7132 if test "$enable_tls $have_tls" = "yes yes"; then
7134 cat >>confdefs.h
<<\_ACEOF
7140 ac_config_files
="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp"
7142 cat >confcache
<<\_ACEOF
7143 # This file is a shell script that caches the results of configure
7144 # tests run on this system so they can be shared between configure
7145 # scripts and configure runs, see configure's option --config-cache.
7146 # It is not useful on other systems. If it contains results you don't
7147 # want to keep, you may remove or edit it.
7149 # config.status only pays attention to the cache file if you give it
7150 # the --recheck option to rerun configure.
7152 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7153 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7158 # The following way of writing the cache mishandles newlines in values,
7159 # but we know of no workaround that is simple, portable, and efficient.
7160 # So, don't put newlines in cache variables' values.
7161 # Ultrix sh set writes to stderr and can't be redirected directly,
7162 # and sets the high bit in the cache file unless we assign to the vars.
7165 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7167 # `set' does not quote correctly, so add quotes (double-quote
7168 # substitution turns \\\\ into \\, and sed turns \\ into \).
7171 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7174 # `set' quotes correctly as required by POSIX, so do not add quotes.
7176 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7183 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7185 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7187 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7188 if test -w $cache_file; then
7189 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7190 cat confcache
>$cache_file
7192 echo "not updating unwritable cache $cache_file"
7197 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7198 # Let make expand exec_prefix.
7199 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7201 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7202 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7203 # trailing colons and then remove the whole line if VPATH becomes empty
7204 # (actually we leave an empty line to preserve line numbers).
7205 if test "x$srcdir" = x.
; then
7206 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7207 s/:*\$(srcdir):*/:/;
7208 s/:*\${srcdir}:*/:/;
7210 s/^\([^=]*=[ ]*\):*/\1/;
7216 DEFS
=-DHAVE_CONFIG_H
7220 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7221 # 1. Remove the extension, and $U if already installed.
7222 ac_i
=`echo "$ac_i" |
7223 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7225 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7226 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7230 LTLIBOBJS
=$ac_ltlibobjs
7233 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7234 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7235 Usually this means the macro was only invoked conditionally." >&5
7236 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7237 Usually this means the macro was only invoked conditionally." >&2;}
7238 { (exit 1); exit 1; }; }
7240 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7241 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7242 Usually this means the macro was only invoked conditionally." >&5
7243 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7244 Usually this means the macro was only invoked conditionally." >&2;}
7245 { (exit 1); exit 1; }; }
7247 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7248 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7249 Usually this means the macro was only invoked conditionally." >&5
7250 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7251 Usually this means the macro was only invoked conditionally." >&2;}
7252 { (exit 1); exit 1; }; }
7254 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
7255 { { echo "$as_me:$LINENO: error: conditional \"LIBMUDFLAPTH\" was never defined.
7256 Usually this means the macro was only invoked conditionally." >&5
7257 echo "$as_me: error: conditional \"LIBMUDFLAPTH\" was never defined.
7258 Usually this means the macro was only invoked conditionally." >&2;}
7259 { (exit 1); exit 1; }; }
7262 : ${CONFIG_STATUS=./config.status}
7263 ac_clean_files_save
=$ac_clean_files
7264 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7265 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7266 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7267 cat >$CONFIG_STATUS <<_ACEOF
7269 # Generated by $as_me.
7270 # Run this file to recreate the current configuration.
7271 # Compiler output produced by configure, useful for debugging
7272 # configure, is in config.log if it exists.
7277 SHELL=\${CONFIG_SHELL-$SHELL}
7280 cat >>$CONFIG_STATUS <<\_ACEOF
7281 ## --------------------- ##
7282 ## M4sh Initialization. ##
7283 ## --------------------- ##
7285 # Be Bourne compatible
7286 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7289 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7290 # is contrary to our usage. Disable this feature.
7291 alias -g '${1+"$@"}'='"$@"'
7292 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7295 DUALCASE
=1; export DUALCASE
# for MKS sh
7297 # Support unset when possible.
7298 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7305 # Work around bugs in pre-3.0 UWIN ksh.
7306 $as_unset ENV MAIL MAILPATH
7313 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7314 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7315 LC_TELEPHONE LC_TIME
7317 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7318 eval $as_var=C
; export $as_var
7324 # Required to use basename.
7325 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7331 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7332 as_basename
=basename
7338 # Name of the executable.
7339 as_me
=`$as_basename "$0" ||
7340 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7341 X"$0" : 'X\(//\)$' \| \
7342 X"$0" : 'X\(/\)$' \| \
7343 . : '\(.\)' 2>/dev/null ||
7345 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7346 /^X\/\(\/\/\)$/{ s//\1/; q; }
7347 /^X\/\(\/\).*/{ s//\1/; q; }
7351 # PATH needs CR, and LINENO needs CR and PATH.
7352 # Avoid depending upon Character Ranges.
7353 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7354 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7355 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7356 as_cr_digits
='0123456789'
7357 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7359 # The user is always right.
7360 if test "${PATH_SEPARATOR+set}" != set; then
7361 echo "#! /bin/sh" >conf$$.sh
7362 echo "exit 0" >>conf$$.sh
7364 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7375 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7376 test "x$as_lineno_1" != "x$as_lineno_2" &&
7377 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7378 # Find who we are. Look in the path if we contain no path at all
7381 *[\\/]* ) as_myself
=$0 ;;
7382 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7386 test -z "$as_dir" && as_dir
=.
7387 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7392 # We did not find ourselves, most probably we were run as `sh COMMAND'
7393 # in which case we are not to be found in the path.
7394 if test "x$as_myself" = x
; then
7397 if test ! -f "$as_myself"; then
7398 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7399 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7400 { (exit 1); exit 1; }; }
7402 case $CONFIG_SHELL in
7404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7405 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7408 test -z "$as_dir" && as_dir
=.
7409 for as_base
in sh bash ksh sh5
; do
7412 if ("$as_dir/$as_base" -c '
7415 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7416 test "x$as_lineno_1" != "x$as_lineno_2" &&
7417 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7418 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7419 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7420 CONFIG_SHELL
=$as_dir/$as_base
7422 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7431 # uniformly replaced by the line number. The first 'sed' inserts a
7432 # line-number line before each line; the second 'sed' does the real
7433 # work. The second script uses 'N' to pair each line-number line
7434 # with the numbered line, and appends trailing '-' during
7435 # substitution so that $LINENO is not a special case at line end.
7436 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7437 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7438 sed '=' <$as_myself |
7443 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7446 s,^['$as_cr_digits']*\n,,
7448 chmod +x
$as_me.lineno ||
7449 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7450 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7451 { (exit 1); exit 1; }; }
7453 # Don't try to exec as it changes $[0], causing all sort of problems
7454 # (the dirname of $[0] is not the place where we might find the
7455 # original and so on. Autoconf is especially sensible to this).
7457 # Exit status is that of the last command.
7462 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7463 *c
*,-n*) ECHO_N
= ECHO_C
='
7465 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7466 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7469 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7475 rm -f conf$$ conf$$.exe conf$$.
file
7477 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7478 # We could just check for DJGPP; but this test a) works b) is more generic
7479 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7480 if test -f conf$$.exe
; then
7481 # Don't use ln at all; we don't have any links
7486 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7491 rm -f conf$$ conf$$.exe conf$$.
file
7493 if mkdir
-p .
2>/dev
/null
; then
7496 test -d .
/-p && rmdir .
/-p
7500 as_executable_p
="test -f"
7502 # Sed expression to map a string onto a valid CPP name.
7503 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7505 # Sed expression to map a string onto a valid variable name.
7506 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7510 # We need space, tab and new line, in precisely that order.
7520 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7521 # report actual input values of CONFIG_FILES etc. instead of their
7522 # values after options handling. Logging --version etc. is OK.
7526 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7527 ## Running $as_me. ##
7532 This file was extended by libmudflap $as_me 1.0, which was
7533 generated by GNU Autoconf 2.59. Invocation command line was
7535 CONFIG_FILES = $CONFIG_FILES
7536 CONFIG_HEADERS = $CONFIG_HEADERS
7537 CONFIG_LINKS = $CONFIG_LINKS
7538 CONFIG_COMMANDS = $CONFIG_COMMANDS
7542 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7546 # Files that config.status was made for.
7547 if test -n "$ac_config_files"; then
7548 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7551 if test -n "$ac_config_headers"; then
7552 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7555 if test -n "$ac_config_links"; then
7556 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7559 if test -n "$ac_config_commands"; then
7560 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7563 cat >>$CONFIG_STATUS <<\_ACEOF
7566 \`$as_me' instantiates files from templates according to the
7567 current configuration.
7569 Usage: $0 [OPTIONS] [FILE]...
7571 -h, --help print this help, then exit
7572 -V, --version print version number, then exit
7573 -q, --quiet do not print progress messages
7574 -d, --debug don't remove temporary files
7575 --recheck update $as_me by reconfiguring in the same conditions
7576 --file=FILE[:TEMPLATE]
7577 instantiate the configuration file FILE
7578 --header=FILE[:TEMPLATE]
7579 instantiate the configuration header FILE
7581 Configuration files:
7584 Configuration headers:
7587 Configuration commands:
7590 Report bugs to <bug-autoconf@gnu.org>."
7593 cat >>$CONFIG_STATUS <<_ACEOF
7595 libmudflap config.status 1.0
7596 configured by $0, generated by GNU Autoconf 2.59,
7597 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7599 Copyright (C) 2003 Free Software Foundation, Inc.
7600 This config.status script is free software; the Free Software Foundation
7601 gives unlimited permission to copy, distribute and modify it."
7606 cat >>$CONFIG_STATUS <<\_ACEOF
7607 # If no file are specified by the user, then we need to provide default
7608 # value. By we need to know if files were specified by the user.
7614 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7615 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7623 *) # This is not an option, so the user has probably given explicit
7626 ac_need_defaults
=false
;;
7630 # Handling of the options.
7632 cat >>$CONFIG_STATUS <<\_ACEOF
7633 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7635 --version |
--vers* |
-V )
7636 echo "$ac_cs_version"; exit 0 ;;
7638 # Conflict between --help and --header
7639 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7640 Try \`$0 --help' for more information." >&5
7641 echo "$as_me: error: ambiguous option: $1
7642 Try \`$0 --help' for more information." >&2;}
7643 { (exit 1); exit 1; }; };;
7644 --help |
--hel |
-h )
7645 echo "$ac_cs_usage"; exit 0 ;;
7646 --debug |
--d* |
-d )
7648 --file |
--fil |
--fi |
--f )
7650 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7651 ac_need_defaults
=false
;;
7652 --header |
--heade |
--head |
--hea )
7654 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7655 ac_need_defaults
=false
;;
7656 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7657 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7661 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7662 Try \`$0 --help' for more information." >&5
7663 echo "$as_me: error: unrecognized option: $1
7664 Try \`$0 --help' for more information." >&2;}
7665 { (exit 1); exit 1; }; } ;;
7667 *) ac_config_targets
="$ac_config_targets $1" ;;
7673 ac_configure_extra_args
=
7675 if $ac_cs_silent; then
7677 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7681 cat >>$CONFIG_STATUS <<_ACEOF
7682 if \$ac_cs_recheck; then
7683 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7684 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7689 cat >>$CONFIG_STATUS <<_ACEOF
7691 # INIT-COMMANDS section.
7698 with_multisubdir="$with_multisubdir"
7699 with_multisrctop="$with_multisrctop"
7700 with_target_subdir="$with_target_subdir"
7701 ac_configure_args="${multilib_arg} ${ac_configure_args}"
7702 multi_basedir="$multi_basedir"
7703 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
7705 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7711 cat >>$CONFIG_STATUS <<\_ACEOF
7712 for ac_config_target
in $ac_config_targets
7714 case "$ac_config_target" in
7715 # Handling of arguments.
7716 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7717 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
7718 "testsuite/mfconfig.exp" ) CONFIG_FILES
="$CONFIG_FILES testsuite/mfconfig.exp" ;;
7719 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7720 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7721 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7722 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7723 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7724 { (exit 1); exit 1; }; };;
7728 # If the user did not use the arguments to specify the items to instantiate,
7729 # then the envvar interface is used. Set only those that are not.
7730 # We use the long form for the default assignment because of an extremely
7731 # bizarre bug on SunOS 4.1.3.
7732 if $ac_need_defaults; then
7733 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7734 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7735 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7738 # Have a temporary directory for convenience. Make it in the build tree
7739 # simply because there is no reason to put it here, and in addition,
7740 # creating and moving files from /tmp can sometimes cause problems.
7741 # Create a temporary directory, and hook for its removal unless debugging.
7744 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7745 trap '{ (exit 1); exit 1; }' 1 2 13 15
7748 # Create a (secure) tmp directory for tmp files.
7751 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7752 test -n "$tmp" && test -d "$tmp"
7755 tmp
=.
/confstat$$
-$RANDOM
7756 (umask 077 && mkdir
$tmp)
7759 echo "$me: cannot create a temporary directory in ." >&2
7760 { (exit 1); exit 1; }
7765 cat >>$CONFIG_STATUS <<_ACEOF
7768 # CONFIG_FILES section.
7771 # No need to generate the scripts if there are no CONFIG_FILES.
7772 # This happens for instance when ./config.status config.h
7773 if test -n "\$CONFIG_FILES"; then
7774 # Protect against being on the right side of a sed subst in config.status.
7775 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7776 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7777 s,@SHELL@,$SHELL,;t t
7778 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7779 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7780 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7781 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7782 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7783 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7784 s,@exec_prefix@,$exec_prefix,;t t
7785 s,@prefix@,$prefix,;t t
7786 s,@program_transform_name@,$program_transform_name,;t t
7787 s,@bindir@,$bindir,;t t
7788 s,@sbindir@,$sbindir,;t t
7789 s,@libexecdir@,$libexecdir,;t t
7790 s,@datadir@,$datadir,;t t
7791 s,@sysconfdir@,$sysconfdir,;t t
7792 s,@sharedstatedir@,$sharedstatedir,;t t
7793 s,@localstatedir@,$localstatedir,;t t
7794 s,@libdir@,$libdir,;t t
7795 s,@includedir@,$includedir,;t t
7796 s,@oldincludedir@,$oldincludedir,;t t
7797 s,@infodir@,$infodir,;t t
7798 s,@mandir@,$mandir,;t t
7799 s,@build_alias@,$build_alias,;t t
7800 s,@host_alias@,$host_alias,;t t
7801 s,@target_alias@,$target_alias,;t t
7803 s,@ECHO_C@,$ECHO_C,;t t
7804 s,@ECHO_N@,$ECHO_N,;t t
7805 s,@ECHO_T@,$ECHO_T,;t t
7807 s,@build@,$build,;t t
7808 s,@build_cpu@,$build_cpu,;t t
7809 s,@build_vendor@,$build_vendor,;t t
7810 s,@build_os@,$build_os,;t t
7812 s,@host_cpu@,$host_cpu,;t t
7813 s,@host_vendor@,$host_vendor,;t t
7814 s,@host_os@,$host_os,;t t
7815 s,@target@,$target,;t t
7816 s,@target_cpu@,$target_cpu,;t t
7817 s,@target_vendor@,$target_vendor,;t t
7818 s,@target_os@,$target_os,;t t
7819 s,@target_noncanonical@,$target_noncanonical,;t t
7820 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7821 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7822 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7823 s,@CYGPATH_W@,$CYGPATH_W,;t t
7824 s,@PACKAGE@,$PACKAGE,;t t
7825 s,@VERSION@,$VERSION,;t t
7826 s,@ACLOCAL@,$ACLOCAL,;t t
7827 s,@AUTOCONF@,$AUTOCONF,;t t
7828 s,@AUTOMAKE@,$AUTOMAKE,;t t
7829 s,@AUTOHEADER@,$AUTOHEADER,;t t
7830 s,@MAKEINFO@,$MAKEINFO,;t t
7831 s,@install_sh@,$install_sh,;t t
7832 s,@STRIP@,$STRIP,;t t
7833 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7834 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7835 s,@mkdir_p@,$mkdir_p,;t t
7837 s,@SET_MAKE@,$SET_MAKE,;t t
7838 s,@am__leading_dot@,$am__leading_dot,;t t
7839 s,@AMTAR@,$AMTAR,;t t
7840 s,@am__tar@,$am__tar,;t t
7841 s,@am__untar@,$am__untar,;t t
7842 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7843 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7844 s,@MAINT@,$MAINT,;t t
7845 s,@multi_basedir@,$multi_basedir,;t t
7847 s,@ac_ct_CC@,$ac_ct_CC,;t t
7848 s,@EXEEXT@,$EXEEXT,;t t
7849 s,@OBJEXT@,$OBJEXT,;t t
7850 s,@DEPDIR@,$DEPDIR,;t t
7851 s,@am__include@,$am__include,;t t
7852 s,@am__quote@,$am__quote,;t t
7853 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7854 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7855 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7856 s,@CCDEPMODE@,$CCDEPMODE,;t t
7857 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7858 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7859 s,@CFLAGS@,$CFLAGS,;t t
7861 s,@CPPFLAGS@,$CPPFLAGS,;t t
7862 s,@EGREP@,$EGREP,;t t
7864 s,@RANLIB@,$RANLIB,;t t
7865 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7866 s,@LIBTOOL@,$LIBTOOL,;t t
7867 s,@enable_shared@,$enable_shared,;t t
7868 s,@enable_static@,$enable_static,;t t
7869 s,@MF_HAVE_STDINT_H@,$MF_HAVE_STDINT_H,;t t
7870 s,@MF_HAVE_UINTPTR_T@,$MF_HAVE_UINTPTR_T,;t t
7871 s,@LIBMUDFLAPTH_TRUE@,$LIBMUDFLAPTH_TRUE,;t t
7872 s,@LIBMUDFLAPTH_FALSE@,$LIBMUDFLAPTH_FALSE,;t t
7873 s,@build_libmudflapth@,$build_libmudflapth,;t t
7874 s,@toolexecdir@,$toolexecdir,;t t
7875 s,@toolexeclibdir@,$toolexeclibdir,;t t
7877 s,@ac_ct_NM@,$ac_ct_NM,;t t
7878 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
7879 s,@LIBOBJS@,$LIBOBJS,;t t
7880 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7885 cat >>$CONFIG_STATUS <<\_ACEOF
7886 # Split the substitutions into bite-sized pieces for seds with
7887 # small command number limits, like on Digital OSF/1 and HP-UX.
7889 ac_sed_frag
=1 # Number of current file.
7890 ac_beg
=1 # First line for current file.
7891 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7894 while $ac_more_lines; do
7895 if test $ac_beg -gt 1; then
7896 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7898 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7900 if test ! -s $tmp/subs.frag
; then
7903 # The purpose of the label and of the branching condition is to
7904 # speed up the sed processing (if there are no `@' at all, there
7905 # is no need to browse any of the substitutions).
7906 # These are the two extra sed commands mentioned above.
7908 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7909 if test -z "$ac_sed_cmds"; then
7910 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7912 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7914 ac_sed_frag
=`expr $ac_sed_frag + 1`
7916 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7919 if test -z "$ac_sed_cmds"; then
7922 fi # test -n "$CONFIG_FILES"
7925 cat >>$CONFIG_STATUS <<\_ACEOF
7926 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7927 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7929 - |
*:- |
*:-:* ) # input from stdin
7931 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7932 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7933 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7934 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7935 * ) ac_file_in
=$ac_file.
in ;;
7938 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7939 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7940 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7941 X"$ac_file" : 'X\(//\)[^/]' \| \
7942 X"$ac_file" : 'X\(//\)$' \| \
7943 X"$ac_file" : 'X\(/\)' \| \
7944 . : '\(.\)' 2>/dev/null ||
7946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7947 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7948 /^X\(\/\/\)$/{ s//\1/; q; }
7949 /^X\(\/\).*/{ s//\1/; q; }
7951 { if $as_mkdir_p; then
7956 while test ! -d "$as_dir"; do
7957 as_dirs
="$as_dir $as_dirs"
7958 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7959 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7960 X"$as_dir" : 'X\(//\)[^/]' \| \
7961 X"$as_dir" : 'X\(//\)$' \| \
7962 X"$as_dir" : 'X\(/\)' \| \
7963 . : '\(.\)' 2>/dev/null ||
7965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7966 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7967 /^X\(\/\/\)$/{ s//\1/; q; }
7968 /^X\(\/\).*/{ s//\1/; q; }
7971 test ! -n "$as_dirs" || mkdir
$as_dirs
7972 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7973 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7974 { (exit 1); exit 1; }; }; }
7978 if test "$ac_dir" != .
; then
7979 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7980 # A "../" for each directory in $ac_dir_suffix.
7981 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7983 ac_dir_suffix
= ac_top_builddir
=
7987 .
) # No --srcdir option. We are building in place.
7989 if test -z "$ac_top_builddir"; then
7992 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7994 [\\/]* | ?
:[\\/]* ) # Absolute path.
7995 ac_srcdir
=$srcdir$ac_dir_suffix;
7996 ac_top_srcdir
=$srcdir ;;
7998 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7999 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8002 # Do not use `cd foo && pwd` to compute absolute paths, because
8003 # the directories may not exist.
8005 .
) ac_abs_builddir
="$ac_dir";;
8008 .
) ac_abs_builddir
=`pwd`;;
8009 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8010 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8013 case $ac_abs_builddir in
8014 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8016 case ${ac_top_builddir}.
in
8017 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8018 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8019 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8022 case $ac_abs_builddir in
8023 .
) ac_abs_srcdir
=$ac_srcdir;;
8026 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8027 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8028 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8031 case $ac_abs_builddir in
8032 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8034 case $ac_top_srcdir in
8035 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8036 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8037 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8043 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8044 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8047 if test x
"$ac_file" != x-
; then
8048 { echo "$as_me:$LINENO: creating $ac_file" >&5
8049 echo "$as_me: creating $ac_file" >&6;}
8052 # Let's still pretend it is `configure' which instantiates (i.e., don't
8053 # use $as_me), people would be surprised to read:
8054 # /* config.h. Generated by config.status. */
8055 if test x
"$ac_file" = x-
; then
8058 configure_input
="$ac_file. "
8060 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8061 sed 's,.*/,,'` by configure."
8063 # First look for the input files in the build tree, otherwise in the
8065 ac_file_inputs
=`IFS=:
8066 for f in $ac_file_in; do
8068 -) echo $tmp/stdin ;;
8070 # Absolute (can't be DOS-style, as IFS=:)
8071 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8072 echo "$as_me: error: cannot find input file: $f" >&2;}
8073 { (exit 1); exit 1; }; }
8076 if test -f "$f"; then
8079 elif test -f "$srcdir/$f"; then
8084 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8085 echo "$as_me: error: cannot find input file: $f" >&2;}
8086 { (exit 1); exit 1; }; }
8089 done` ||
{ (exit 1); exit 1; }
8091 cat >>$CONFIG_STATUS <<_ACEOF
8095 cat >>$CONFIG_STATUS <<\_ACEOF
8097 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8098 s
,@configure_input@
,$configure_input,;t t
8099 s
,@srcdir@
,$ac_srcdir,;t t
8100 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8101 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8102 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8103 s
,@builddir@
,$ac_builddir,;t t
8104 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8105 s
,@top_builddir@
,$ac_top_builddir,;t t
8106 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8107 s
,@INSTALL@
,$ac_INSTALL,;t t
8108 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8110 if test x"$ac_file" != x-; then
8111 mv $tmp/out $ac_file
8119 cat >>$CONFIG_STATUS <<\_ACEOF
8122 # CONFIG_HEADER section.
8125 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8126 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8128 # ac_d sets the value in "#define NAME VALUE" lines.
8129 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8130 ac_dB
='[ ].*$,\1#\2'
8133 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8134 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8135 ac_uB
='$,\1#\2define\3'
8139 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8140 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8142 - |
*:- |
*:-:* ) # input from stdin
8144 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8145 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8146 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8147 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8148 * ) ac_file_in
=$ac_file.
in ;;
8151 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8152 echo "$as_me: creating $ac_file" >&6;}
8154 # First look for the input files in the build tree, otherwise in the
8156 ac_file_inputs
=`IFS=:
8157 for f in $ac_file_in; do
8159 -) echo $tmp/stdin ;;
8161 # Absolute (can't be DOS-style, as IFS=:)
8162 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8163 echo "$as_me: error: cannot find input file: $f" >&2;}
8164 { (exit 1); exit 1; }; }
8165 # Do quote $f, to prevent DOS paths from being IFS'd.
8168 if test -f "$f"; then
8171 elif test -f "$srcdir/$f"; then
8176 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8177 echo "$as_me: error: cannot find input file: $f" >&2;}
8178 { (exit 1); exit 1; }; }
8181 done` ||
{ (exit 1); exit 1; }
8182 # Remove the trailing spaces.
8183 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8187 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8188 # `conftest.undefs', that substitutes the proper values into
8189 # config.h.in to produce config.h. The first handles `#define'
8190 # templates, and the second `#undef' templates.
8191 # And first: Protect against being on the right side of a sed subst in
8192 # config.status. Protect against being in an unquoted here document
8194 rm -f conftest.defines conftest.undefs
8195 # Using a here document instead of a string reduces the quoting nightmare.
8196 # Putting comments in sed scripts is not portable.
8198 # `end' is used to avoid that the second main sed command (meant for
8199 # 0-ary CPP macros) applies to n-ary macro definitions.
8200 # See the Autoconf documentation for `clear'.
8201 cat >confdef2sed.
sed <<\_ACEOF
8206 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8208 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8211 # If some macros were called several times there might be several times
8212 # the same #defines, which is useless. Nevertheless, we may not want to
8213 # sort them, since we want the *last* AC-DEFINE to be honored.
8214 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8215 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8216 rm -f confdef2sed.sed
8218 # This sed command replaces #undef with comments. This is necessary, for
8219 # example, in the case of _POSIX_SOURCE, which is predefined and required
8220 # on some systems where configure will not decide to define it.
8221 cat >>conftest.undefs <<\_ACEOF
8222 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8225 # Break up conftest.defines because some shells have a limit on the size
8226 # of here documents, and old seds have small limits too (100 cmds).
8227 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8228 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8229 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8230 echo ' :' >>$CONFIG_STATUS
8232 while grep . conftest.defines >/dev/null
8234 # Write a limited-size here document to $tmp/defines.sed.
8235 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8236 # Speed up: don't consider the non `#define' lines.
8237 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8238 # Work around the forget-to-reset-the-flag bug.
8239 echo 't clr' >>$CONFIG_STATUS
8240 echo ': clr' >>$CONFIG_STATUS
8241 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8243 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8247 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8248 rm -f conftest.defines
8249 mv conftest.
tail conftest.defines
8251 rm -f conftest.defines
8252 echo ' fi # grep' >>$CONFIG_STATUS
8253 echo >>$CONFIG_STATUS
8255 # Break up conftest.undefs because some shells have a limit on the size
8256 # of here documents, and old seds have small limits too (100 cmds).
8257 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8259 while grep . conftest.undefs
>/dev
/null
8261 # Write a limited-size here document to $tmp/undefs.sed.
8262 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8263 # Speed up: don't consider the non
`#undef'
8264 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8265 # Work around the forget-to-reset-the-flag bug.
8266 echo 't clr' >>$CONFIG_STATUS
8267 echo ': clr' >>$CONFIG_STATUS
8268 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8270 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8274 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8275 rm -f conftest.undefs
8276 mv conftest.tail conftest.undefs
8278 rm -f conftest.undefs
8280 cat >>$CONFIG_STATUS <<\_ACEOF
8281 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8282 # use $as_me), people would be surprised to read:
8283 # /* config.h. Generated by config.status. */
8284 if test x
"$ac_file" = x-
; then
8285 echo "/* Generated by configure. */" >$tmp/config.h
8287 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8289 cat $tmp/in >>$tmp/config.h
8291 if test x
"$ac_file" != x-
; then
8292 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8293 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8294 echo "$as_me: $ac_file is unchanged" >&6;}
8296 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8297 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8298 X"$ac_file" : 'X\(//\)[^/]' \| \
8299 X"$ac_file" : 'X\(//\)$' \| \
8300 X"$ac_file" : 'X\(/\)' \| \
8301 . : '\(.\)' 2>/dev/null ||
8303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8304 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8305 /^X\(\/\/\)$/{ s//\1/; q; }
8306 /^X\(\/\).*/{ s//\1/; q; }
8308 { if $as_mkdir_p; then
8313 while test ! -d "$as_dir"; do
8314 as_dirs
="$as_dir $as_dirs"
8315 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8316 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8317 X"$as_dir" : 'X\(//\)[^/]' \| \
8318 X"$as_dir" : 'X\(//\)$' \| \
8319 X"$as_dir" : 'X\(/\)' \| \
8320 . : '\(.\)' 2>/dev/null ||
8322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8323 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8324 /^X\(\/\/\)$/{ s//\1/; q; }
8325 /^X\(\/\).*/{ s//\1/; q; }
8328 test ! -n "$as_dirs" || mkdir
$as_dirs
8329 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8330 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8331 { (exit 1); exit 1; }; }; }
8334 mv $tmp/config.h
$ac_file
8340 # Compute $ac_file's index in $config_headers.
8342 for _am_header
in $config_headers :; do
8344 $ac_file |
$ac_file:* )
8347 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8350 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8351 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8352 X$ac_file : 'X\(//\)[^/]' \| \
8353 X$ac_file : 'X\(//\)$' \| \
8354 X$ac_file : 'X\(/\)' \| \
8355 . : '\(.\)' 2>/dev/null ||
8357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8358 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8359 /^X\(\/\/\)$/{ s//\1/; q; }
8360 /^X\(\/\).*/{ s//\1/; q; }
8361 s/.*/./; q'`/stamp-h
$_am_stamp_count
8364 cat >>$CONFIG_STATUS <<\_ACEOF
8367 # CONFIG_COMMANDS section.
8369 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8370 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8371 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8372 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8373 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8374 X"$ac_dest" : 'X\(//\)[^/]' \| \
8375 X"$ac_dest" : 'X\(//\)$' \| \
8376 X"$ac_dest" : 'X\(/\)' \| \
8377 . : '\(.\)' 2>/dev/null ||
8379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8380 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8381 /^X\(\/\/\)$/{ s//\1/; q; }
8382 /^X\(\/\).*/{ s//\1/; q; }
8384 { if $as_mkdir_p; then
8389 while test ! -d "$as_dir"; do
8390 as_dirs
="$as_dir $as_dirs"
8391 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8392 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8393 X"$as_dir" : 'X\(//\)[^/]' \| \
8394 X"$as_dir" : 'X\(//\)$' \| \
8395 X"$as_dir" : 'X\(/\)' \| \
8396 . : '\(.\)' 2>/dev/null ||
8398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8399 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8400 /^X\(\/\/\)$/{ s//\1/; q; }
8401 /^X\(\/\).*/{ s//\1/; q; }
8404 test ! -n "$as_dirs" || mkdir
$as_dirs
8405 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8406 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8407 { (exit 1); exit 1; }; }; }
8411 if test "$ac_dir" != .
; then
8412 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8413 # A "../" for each directory in $ac_dir_suffix.
8414 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8416 ac_dir_suffix
= ac_top_builddir
=
8420 .
) # No --srcdir option. We are building in place.
8422 if test -z "$ac_top_builddir"; then
8425 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8427 [\\/]* | ?
:[\\/]* ) # Absolute path.
8428 ac_srcdir
=$srcdir$ac_dir_suffix;
8429 ac_top_srcdir
=$srcdir ;;
8431 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8432 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8435 # Do not use `cd foo && pwd` to compute absolute paths, because
8436 # the directories may not exist.
8438 .
) ac_abs_builddir
="$ac_dir";;
8441 .
) ac_abs_builddir
=`pwd`;;
8442 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8443 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8446 case $ac_abs_builddir in
8447 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8449 case ${ac_top_builddir}.
in
8450 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8451 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8452 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8455 case $ac_abs_builddir in
8456 .
) ac_abs_srcdir
=$ac_srcdir;;
8459 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8460 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8461 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8464 case $ac_abs_builddir in
8465 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8467 case $ac_top_srcdir in
8468 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8469 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8470 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8475 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8476 echo "$as_me: executing $ac_dest commands" >&6;}
8479 # Only add multilib support code if we just rebuilt the top-level
8481 case " $CONFIG_FILES " in
8483 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
8486 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8487 # Strip MF so we end up with the name of the file.
8488 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8489 # Check whether this is an Automake generated Makefile or not.
8490 # We used to match only the files named `Makefile.in', but
8491 # some people rename them; so instead we look at the file content.
8492 # Grep'ing the first line is not enough: some people post-process
8493 # each Makefile.in and add a new line on top of each file to say so.
8494 # So let's grep whole file.
8495 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8496 dirpart
=`(dirname "$mf") 2>/dev/null ||
8497 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8498 X"$mf" : 'X\(//\)[^/]' \| \
8499 X"$mf" : 'X\(//\)$' \| \
8500 X"$mf" : 'X\(/\)' \| \
8501 . : '\(.\)' 2>/dev/null ||
8503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8504 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8505 /^X\(\/\/\)$/{ s//\1/; q; }
8506 /^X\(\/\).*/{ s//\1/; q; }
8511 # Extract the definition of DEPDIR, am__include, and am__quote
8512 # from the Makefile without running `make'.
8513 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8514 test -z "$DEPDIR" && continue
8515 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8516 test -z "am__include" && continue
8517 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8518 # When using ansi2knr, U may be empty or an underscore; expand it
8519 U
=`sed -n 's/^U = //p' < "$mf"`
8520 # Find all dependency output files, they are included files with
8521 # $(DEPDIR) in their names. We invoke sed twice because it is the
8522 # simplest approach to changing $(DEPDIR) to its actual value in the
8524 for file in `sed -n "
8525 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8526 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8527 # Make sure the directory exists.
8528 test -f "$dirpart/$file" && continue
8529 fdir
=`(dirname "$file") 2>/dev/null ||
8530 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8531 X"$file" : 'X\(//\)[^/]' \| \
8532 X"$file" : 'X\(//\)$' \| \
8533 X"$file" : 'X\(/\)' \| \
8534 . : '\(.\)' 2>/dev/null ||
8536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8537 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8538 /^X\(\/\/\)$/{ s//\1/; q; }
8539 /^X\(\/\).*/{ s//\1/; q; }
8541 { if $as_mkdir_p; then
8542 mkdir
-p $dirpart/$fdir
8544 as_dir
=$dirpart/$fdir
8546 while test ! -d "$as_dir"; do
8547 as_dirs
="$as_dir $as_dirs"
8548 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8549 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8550 X"$as_dir" : 'X\(//\)[^/]' \| \
8551 X"$as_dir" : 'X\(//\)$' \| \
8552 X"$as_dir" : 'X\(/\)' \| \
8553 . : '\(.\)' 2>/dev/null ||
8555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8556 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8557 /^X\(\/\/\)$/{ s//\1/; q; }
8558 /^X\(\/\).*/{ s//\1/; q; }
8561 test ! -n "$as_dirs" || mkdir
$as_dirs
8562 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8563 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8564 { (exit 1); exit 1; }; }; }
8566 # echo "creating $dirpart/$file"
8567 echo '# dummy' > "$dirpart/$file"
8575 cat >>$CONFIG_STATUS <<\_ACEOF
8577 { (exit 0); exit 0; }
8579 chmod +x
$CONFIG_STATUS
8580 ac_clean_files
=$ac_clean_files_save
8583 # configure is writing to config.log, and then calls config.status.
8584 # config.status does its own redirection, appending to config.log.
8585 # Unfortunately, on DOS this fails, as config.log is still kept open
8586 # by configure, so config.status won't be able to write to it; its
8587 # output is simply discarded. So we exec the FD to /dev/null,
8588 # effectively closing config.log, so it can be properly (re)opened and
8589 # appended to by config.status. When coming back to configure, we
8590 # need to make the FD available again.
8591 if test "$no_create" != yes; then
8593 ac_config_status_args
=
8594 test "$silent" = yes &&
8595 ac_config_status_args
="$ac_config_status_args --quiet"
8597 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8599 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8600 # would make configure fail if this is the last instruction.
8601 $ac_cs_success ||
{ (exit 1); exit 1; }