2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libmudflap 1.0.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME
='libmudflap'
269 PACKAGE_TARNAME
='libmudflap'
270 PACKAGE_VERSION
='1.0'
271 PACKAGE_STRING
='libmudflap 1.0'
274 ac_unique_file
="mf-runtime.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS CPP CPPFLAGS EGREP LN_S RANLIB ac_ct_RANLIB LIBTOOL enable_shared enable_static MF_HAVE_STDINT_H MF_HAVE_UINTPTR_T LIBMUDFLAPTH_TRUE LIBMUDFLAPTH_FALSE build_libmudflapth toolexecdir toolexeclibdir NM ac_ct_NM SECTION_FLAGS LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CPP_set
=${CPP+set}
754 ac_env_CPP_value
=$CPP
755 ac_cv_env_CPP_set
=${CPP+set}
756 ac_cv_env_CPP_value
=$CPP
757 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value
=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
763 # Report the --help message.
765 if test "$ac_init_help" = "long"; then
766 # Omit some internal or obsolete options to make the list less imposing.
767 # This message is too long to be a string in the A/UX 3.1 sh.
769 \`configure' configures libmudflap 1.0 to adapt to many kinds of systems.
771 Usage: $0 [OPTION]... [VAR=VALUE]...
773 To assign environment variables (e.g., CC, CFLAGS...), specify them as
774 VAR=VALUE. See below for descriptions of some of the useful variables.
776 Defaults for the options are specified in brackets.
779 -h, --help display this help and exit
780 --help=short display options specific to this package
781 --help=recursive display the short help of all the included packages
782 -V, --version display version information and exit
783 -q, --quiet, --silent do not print \`checking...' messages
784 --cache-file=FILE cache test results in FILE [disabled]
785 -C, --config-cache alias for \`--cache-file=config.cache'
786 -n, --no-create do not create output files
787 --srcdir=DIR find the sources in DIR [configure dir or \`..']
792 Installation directories:
793 --prefix=PREFIX install architecture-independent files in PREFIX
795 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
798 By default, \`make install' will install all the files in
799 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
800 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
801 for instance \`--prefix=\$HOME'.
803 For better control, use the options below.
805 Fine tuning of the installation directories:
806 --bindir=DIR user executables [EPREFIX/bin]
807 --sbindir=DIR system admin executables [EPREFIX/sbin]
808 --libexecdir=DIR program executables [EPREFIX/libexec]
809 --datadir=DIR read-only architecture-independent data [PREFIX/share]
810 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
811 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
812 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
813 --libdir=DIR object code libraries [EPREFIX/lib]
814 --includedir=DIR C header files [PREFIX/include]
815 --oldincludedir=DIR C header files for non-gcc [/usr/include]
816 --infodir=DIR info documentation [PREFIX/info]
817 --mandir=DIR man documentation [PREFIX/man]
823 --program-prefix=PREFIX prepend PREFIX to installed program names
824 --program-suffix=SUFFIX append SUFFIX to installed program names
825 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
828 --build=BUILD configure
for building on BUILD
[guessed
]
829 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
830 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
834 if test -n "$ac_init_help"; then
835 case $ac_init_help in
836 short | recursive
) echo "Configuration of libmudflap 1.0:";;
841 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
842 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
843 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
844 --enable-maintainer-mode enable make rules and dependencies not useful
845 (and sometimes confusing
) to the casual installer
846 --enable-multilib build many library versions
(default
)
847 --disable-dependency-tracking speeds up one-time build
848 --enable-dependency-tracking do not reject slow dependency extractors
849 --enable-shared=PKGS build shared libraries default
=yes
850 --enable-static=PKGS build static libraries default
=yes
851 --enable-fast-install=PKGS optimize
for fast installation default
=yes
852 --disable-libtool-lock avoid locking
(might
break parallel builds
)
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}-
1428 am__api_version="1.9"
1429 # Find a good install program. We prefer a C program (faster),
1430 # so one script is as good as another. But avoid the broken or
1431 # incompatible versions:
1432 # SysV /etc/install, /usr/sbin/install
1433 # SunOS /usr/etc/install
1434 # IRIX /sbin/install
1436 # AmigaOS /C/install, which installs bootblocks on floppy discs
1437 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1438 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1439 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1440 # OS/2's system install, which has a completely different semantic
1441 # ./install, which can be erroneously created by make from ./install.sh.
1442 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1443 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1444 if test -z "$INSTALL"; then
1445 if test "${ac_cv_path_install+set}" = set; then
1446 echo $ECHO_N "(cached) $ECHO_C" >&6
1448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1452 test -z "$as_dir" && as_dir
=.
1453 # Account for people who put trailing slashes in PATH elements.
1455 .
/ | .
// |
/cC
/* | \
1456 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1457 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1460 # OSF1 and SCO ODT 3.0 have their own names for install.
1461 # Don't use installbsd from OSF since it installs stuff as root
1463 for ac_prog
in ginstall scoinst
install; do
1464 for ac_exec_ext
in '' $ac_executable_extensions; do
1465 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1466 if test $ac_prog = install &&
1467 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1468 # AIX install. It has an incompatible calling convention.
1470 elif test $ac_prog = install &&
1471 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1472 # program-specific install script used by HP pwplus--don't use.
1475 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1487 if test "${ac_cv_path_install+set}" = set; then
1488 INSTALL
=$ac_cv_path_install
1490 # As a last resort, use the slow shell script. We don't cache a
1491 # path for INSTALL within a source directory, because that will
1492 # break other packages using the cache if that directory is
1493 # removed, or if the path is relative.
1494 INSTALL
=$ac_install_sh
1497 echo "$as_me:$LINENO: result: $INSTALL" >&5
1498 echo "${ECHO_T}$INSTALL" >&6
1500 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1501 # It thinks the first close brace ends the variable substitution.
1502 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1504 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1506 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1508 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1509 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1512 echo timestamp
> conftest.
file
1513 # Do `set' in a subshell so we don't clobber the current shell's
1514 # arguments. Must try -L first in case configure is actually a
1515 # symlink; some systems play weird games with the mod time of symlinks
1516 # (eg FreeBSD returns the mod time of the symlink's containing
1519 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1520 if test "$*" = "X"; then
1522 set X
`ls -t $srcdir/configure conftest.file`
1525 if test "$*" != "X $srcdir/configure conftest.file" \
1526 && test "$*" != "X conftest.file $srcdir/configure"; then
1528 # If neither matched, then we have a broken ls. This can happen
1529 # if, for instance, CONFIG_SHELL is bash and it inherits a
1530 # broken ls alias from the environment. This has actually
1531 # happened. Such a system could not be considered "sane".
1532 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1533 alias in your environment" >&5
1534 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1535 alias in your environment" >&2;}
1536 { (exit 1); exit 1; }; }
1539 test "$2" = conftest.
file
1545 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1546 Check your system clock" >&5
1547 echo "$as_me: error: newly created file is older than distributed files!
1548 Check your system clock" >&2;}
1549 { (exit 1); exit 1; }; }
1551 echo "$as_me:$LINENO: result: yes" >&5
1552 echo "${ECHO_T}yes" >&6
1553 test "$program_prefix" != NONE
&&
1554 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1555 # Use a double $ so make ignores it.
1556 test "$program_suffix" != NONE
&&
1557 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1558 # Double any \ or $. echo might interpret backslashes.
1559 # By default was `s,x,x', remove it if useless.
1560 cat <<\_ACEOF
>conftest.
sed
1561 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1563 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1566 # expand $ac_aux_dir to an absolute path
1567 am_aux_dir
=`cd $ac_aux_dir && pwd`
1569 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1570 # Use eval to expand $SHELL
1571 if eval "$MISSING --run true"; then
1572 am_missing_run
="$MISSING --run "
1575 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1576 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1579 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1580 # We used to keeping the `.' as first argument, in order to
1581 # allow $(mkdir_p) to be used without argument. As in
1582 # $(mkdir_p) $(somedir)
1583 # where $(somedir) is conditionally defined. However this is wrong
1585 # 1. if the package is installed by a user who cannot write `.'
1586 # make install will fail,
1587 # 2. the above comment should most certainly read
1588 # $(mkdir_p) $(DESTDIR)$(somedir)
1589 # so it does not work when $(somedir) is undefined and
1590 # $(DESTDIR) is not.
1591 # To support the latter case, we have to write
1592 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1593 # so the `.' trick is pointless.
1594 mkdir_p
='mkdir -p --'
1596 # On NextStep and OpenStep, the `mkdir' command does not
1597 # recognize any option. It will interpret all options as
1598 # directories to create, and then abort because `.' already
1600 for d
in .
/-p .
/--version;
1602 test -d $d && rmdir $d
1604 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1605 if test -f "$ac_aux_dir/mkinstalldirs"; then
1606 mkdir_p
='$(mkinstalldirs)'
1608 mkdir_p
='$(install_sh) -d'
1612 for ac_prog
in gawk mawk nawk
awk
1614 # Extract the first word of "$ac_prog", so it can be a program name with args.
1615 set dummy
$ac_prog; ac_word
=$2
1616 echo "$as_me:$LINENO: checking for $ac_word" >&5
1617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1618 if test "${ac_cv_prog_AWK+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 if test -n "$AWK"; then
1622 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1628 test -z "$as_dir" && as_dir
=.
1629 for ac_exec_ext
in '' $ac_executable_extensions; do
1630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1631 ac_cv_prog_AWK
="$ac_prog"
1632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1641 if test -n "$AWK"; then
1642 echo "$as_me:$LINENO: result: $AWK" >&5
1643 echo "${ECHO_T}$AWK" >&6
1645 echo "$as_me:$LINENO: result: no" >&5
1646 echo "${ECHO_T}no" >&6
1649 test -n "$AWK" && break
1652 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1653 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1654 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1655 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 cat >conftest.
make <<\_ACEOF
1660 @
echo 'ac_maketemp="$(MAKE)"'
1662 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1663 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1664 if test -n "$ac_maketemp"; then
1665 eval ac_cv_prog_make_
${ac_make}_set
=yes
1667 eval ac_cv_prog_make_
${ac_make}_set
=no
1671 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1672 echo "$as_me:$LINENO: result: yes" >&5
1673 echo "${ECHO_T}yes" >&6
1676 echo "$as_me:$LINENO: result: no" >&5
1677 echo "${ECHO_T}no" >&6
1678 SET_MAKE
="MAKE=${MAKE-make}"
1681 rm -rf .tst
2>/dev
/null
1682 mkdir .tst
2>/dev
/null
1683 if test -d .tst
; then
1688 rmdir .tst
2>/dev
/null
1690 # test to see if srcdir already configured
1691 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1692 test -f $srcdir/config.status
; then
1693 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1694 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1695 { (exit 1); exit 1; }; }
1698 # test whether we have cygpath
1699 if test -z "$CYGPATH_W"; then
1700 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1701 CYGPATH_W
='cygpath -w'
1708 # Define the identity of the package.
1709 PACKAGE
='libmudflap'
1713 cat >>confdefs.h
<<_ACEOF
1714 #define PACKAGE "$PACKAGE"
1718 cat >>confdefs.h
<<_ACEOF
1719 #define VERSION "$VERSION"
1722 # Some tools Automake needs.
1724 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1727 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1730 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1733 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1736 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1738 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1740 # Installed binaries are usually stripped using `strip' when the user
1741 # run `make install-strip'. However `strip' might not be the right
1742 # tool to use in cross-compilation environments, therefore Automake
1743 # will honor the `STRIP' environment variable to overrule this program.
1744 if test "$cross_compiling" != no
; then
1745 if test -n "$ac_tool_prefix"; then
1746 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1747 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750 if test "${ac_cv_prog_STRIP+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 if test -n "$STRIP"; then
1754 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir
=.
1761 for ac_exec_ext
in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1772 STRIP
=$ac_cv_prog_STRIP
1773 if test -n "$STRIP"; then
1774 echo "$as_me:$LINENO: result: $STRIP" >&5
1775 echo "${ECHO_T}$STRIP" >&6
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1782 if test -z "$ac_cv_prog_STRIP"; then
1784 # Extract the first word of "strip", so it can be a program name with args.
1785 set dummy strip
; ac_word
=$2
1786 echo "$as_me:$LINENO: checking for $ac_word" >&5
1787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1788 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1791 if test -n "$ac_ct_STRIP"; then
1792 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1798 test -z "$as_dir" && as_dir
=.
1799 for ac_exec_ext
in '' $ac_executable_extensions; do
1800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1801 ac_cv_prog_ac_ct_STRIP
="strip"
1802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1808 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1811 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1812 if test -n "$ac_ct_STRIP"; then
1813 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1814 echo "${ECHO_T}$ac_ct_STRIP" >&6
1816 echo "$as_me:$LINENO: result: no" >&5
1817 echo "${ECHO_T}no" >&6
1822 STRIP
="$ac_cv_prog_STRIP"
1826 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1828 # We need awk for the "check" target. The system "awk" is bad on
1830 # Always define AMTAR for backward compatibility.
1832 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1834 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1841 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1842 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1843 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1844 if test "${enable_version_specific_runtime_libs+set}" = set; then
1845 enableval
="$enable_version_specific_runtime_libs"
1846 case "$enableval" in
1847 yes) version_specific_libs
=yes ;;
1848 no
) version_specific_libs
=no
;;
1849 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1850 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1851 { (exit 1); exit 1; }; };;
1854 version_specific_libs
=no
1856 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1857 echo "${ECHO_T}$version_specific_libs" >&6
1859 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1860 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1861 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1862 if test "${enable_maintainer_mode+set}" = set; then
1863 enableval
="$enable_maintainer_mode"
1864 USE_MAINTAINER_MODE
=$enableval
1866 USE_MAINTAINER_MODE
=no
1868 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1869 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1872 if test $USE_MAINTAINER_MODE = yes; then
1873 MAINTAINER_MODE_TRUE
=
1874 MAINTAINER_MODE_FALSE
='#'
1876 MAINTAINER_MODE_TRUE
='#'
1877 MAINTAINER_MODE_FALSE
=
1880 MAINT
=$MAINTAINER_MODE_TRUE
1885 # Default to --enable-multilib
1886 # Check whether --enable-multilib or --disable-multilib was given.
1887 if test "${enable_multilib+set}" = set; then
1888 enableval
="$enable_multilib"
1889 case "$enableval" in
1890 yes) multilib
=yes ;;
1892 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1893 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1894 { (exit 1); exit 1; }; } ;;
1900 # We may get other options which we leave undocumented:
1901 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1902 # See config-ml.in if you want the gory details.
1904 if test "$srcdir" = "."; then
1905 if test "$with_target_subdir" != "."; then
1906 multi_basedir
="$srcdir/$with_multisrctop../.."
1908 multi_basedir
="$srcdir/$with_multisrctop.."
1911 multi_basedir
="$srcdir/.."
1915 ac_config_commands
="$ac_config_commands default-1"
1918 target_alias
=${target_alias-$host_alias}
1921 ac_config_headers
="$ac_config_headers config.h"
1925 ac_cpp
='$CPP $CPPFLAGS'
1926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1930 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1931 # We must force CC to /not/ be precious variables; otherwise
1932 # the wrong, non-multilib-adjusted value will be used in multilibs.
1933 # As a side effect, we have to subst CFLAGS ourselves.
1938 ac_cpp
='$CPP $CPPFLAGS'
1939 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1940 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1941 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1942 if test -n "$ac_tool_prefix"; then
1943 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1944 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1945 echo "$as_me:$LINENO: checking for $ac_word" >&5
1946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1947 if test "${ac_cv_prog_CC+set}" = set; then
1948 echo $ECHO_N "(cached) $ECHO_C" >&6
1950 if test -n "$CC"; then
1951 ac_cv_prog_CC
="$CC" # Let the user override the test.
1953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1957 test -z "$as_dir" && as_dir
=.
1958 for ac_exec_ext
in '' $ac_executable_extensions; do
1959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1960 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1970 if test -n "$CC"; then
1971 echo "$as_me:$LINENO: result: $CC" >&5
1972 echo "${ECHO_T}$CC" >&6
1974 echo "$as_me:$LINENO: result: no" >&5
1975 echo "${ECHO_T}no" >&6
1979 if test -z "$ac_cv_prog_CC"; then
1981 # Extract the first word of "gcc", so it can be a program name with args.
1982 set dummy gcc
; ac_word
=$2
1983 echo "$as_me:$LINENO: checking for $ac_word" >&5
1984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1985 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 if test -n "$ac_ct_CC"; then
1989 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1995 test -z "$as_dir" && as_dir
=.
1996 for ac_exec_ext
in '' $ac_executable_extensions; do
1997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1998 ac_cv_prog_ac_ct_CC
="gcc"
1999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2007 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2008 if test -n "$ac_ct_CC"; then
2009 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2010 echo "${ECHO_T}$ac_ct_CC" >&6
2012 echo "$as_me:$LINENO: result: no" >&5
2013 echo "${ECHO_T}no" >&6
2021 if test -z "$CC"; then
2022 if test -n "$ac_tool_prefix"; then
2023 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2024 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2025 echo "$as_me:$LINENO: checking for $ac_word" >&5
2026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2027 if test "${ac_cv_prog_CC+set}" = set; then
2028 echo $ECHO_N "(cached) $ECHO_C" >&6
2030 if test -n "$CC"; then
2031 ac_cv_prog_CC
="$CC" # Let the user override the test.
2033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2037 test -z "$as_dir" && as_dir
=.
2038 for ac_exec_ext
in '' $ac_executable_extensions; do
2039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2040 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2050 if test -n "$CC"; then
2051 echo "$as_me:$LINENO: result: $CC" >&5
2052 echo "${ECHO_T}$CC" >&6
2054 echo "$as_me:$LINENO: result: no" >&5
2055 echo "${ECHO_T}no" >&6
2059 if test -z "$ac_cv_prog_CC"; then
2061 # Extract the first word of "cc", so it can be a program name with args.
2062 set dummy cc
; ac_word
=$2
2063 echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2065 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2068 if test -n "$ac_ct_CC"; then
2069 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2075 test -z "$as_dir" && as_dir
=.
2076 for ac_exec_ext
in '' $ac_executable_extensions; do
2077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078 ac_cv_prog_ac_ct_CC
="cc"
2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2087 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2088 if test -n "$ac_ct_CC"; then
2089 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2090 echo "${ECHO_T}$ac_ct_CC" >&6
2092 echo "$as_me:$LINENO: result: no" >&5
2093 echo "${ECHO_T}no" >&6
2102 if test -z "$CC"; then
2103 # Extract the first word of "cc", so it can be a program name with args.
2104 set dummy cc
; ac_word
=$2
2105 echo "$as_me:$LINENO: checking for $ac_word" >&5
2106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2107 if test "${ac_cv_prog_CC+set}" = set; then
2108 echo $ECHO_N "(cached) $ECHO_C" >&6
2110 if test -n "$CC"; then
2111 ac_cv_prog_CC
="$CC" # Let the user override the test.
2114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2118 test -z "$as_dir" && as_dir
=.
2119 for ac_exec_ext
in '' $ac_executable_extensions; do
2120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2121 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2122 ac_prog_rejected
=yes
2126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2132 if test $ac_prog_rejected = yes; then
2133 # We found a bogon in the path, so make sure we never use it.
2134 set dummy
$ac_cv_prog_CC
2136 if test $# != 0; then
2137 # We chose a different compiler from the bogus one.
2138 # However, it has the same basename, so the bogon will be chosen
2139 # first if we set CC to just the basename; use the full file name.
2141 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2147 if test -n "$CC"; then
2148 echo "$as_me:$LINENO: result: $CC" >&5
2149 echo "${ECHO_T}$CC" >&6
2151 echo "$as_me:$LINENO: result: no" >&5
2152 echo "${ECHO_T}no" >&6
2156 if test -z "$CC"; then
2157 if test -n "$ac_tool_prefix"; then
2160 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2161 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2162 echo "$as_me:$LINENO: checking for $ac_word" >&5
2163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2164 if test "${ac_cv_prog_CC+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2167 if test -n "$CC"; then
2168 ac_cv_prog_CC
="$CC" # Let the user override the test.
2170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2174 test -z "$as_dir" && as_dir
=.
2175 for ac_exec_ext
in '' $ac_executable_extensions; do
2176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2177 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187 if test -n "$CC"; then
2188 echo "$as_me:$LINENO: result: $CC" >&5
2189 echo "${ECHO_T}$CC" >&6
2191 echo "$as_me:$LINENO: result: no" >&5
2192 echo "${ECHO_T}no" >&6
2195 test -n "$CC" && break
2198 if test -z "$CC"; then
2202 # Extract the first word of "$ac_prog", so it can be a program name with args.
2203 set dummy
$ac_prog; ac_word
=$2
2204 echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2206 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2209 if test -n "$ac_ct_CC"; then
2210 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2216 test -z "$as_dir" && as_dir
=.
2217 for ac_exec_ext
in '' $ac_executable_extensions; do
2218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2219 ac_cv_prog_ac_ct_CC
="$ac_prog"
2220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2228 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2229 if test -n "$ac_ct_CC"; then
2230 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2231 echo "${ECHO_T}$ac_ct_CC" >&6
2233 echo "$as_me:$LINENO: result: no" >&5
2234 echo "${ECHO_T}no" >&6
2237 test -n "$ac_ct_CC" && break
2246 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2247 See \`config.log' for more details." >&5
2248 echo "$as_me: error: no acceptable C compiler found in \$PATH
2249 See \`config.log' for more details." >&2;}
2250 { (exit 1); exit 1; }; }
2252 # Provide some information about the compiler.
2253 echo "$as_me:$LINENO:" \
2254 "checking for C compiler version" >&5
2255 ac_compiler
=`set X $ac_compile; echo $2`
2256 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2257 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260 (exit $ac_status); }
2261 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2262 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }
2266 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2267 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); }
2272 cat >conftest.
$ac_ext <<_ACEOF
2275 cat confdefs.h
>>conftest.
$ac_ext
2276 cat >>conftest.
$ac_ext <<_ACEOF
2277 /* end confdefs.h. */
2287 ac_clean_files_save
=$ac_clean_files
2288 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2289 # Try to create an executable without -o first, disregard a.out.
2290 # It will help us diagnose broken compilers, and finding out an intuition
2292 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2293 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2294 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2295 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2296 (eval $ac_link_default) 2>&5
2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299 (exit $ac_status); }; then
2300 # Find the output, starting from the most likely. This scheme is
2301 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2304 # Be careful to initialize this variable, since it used to be cached.
2305 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2307 # b.out is created by i960 compilers.
2308 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2310 test -f "$ac_file" ||
continue
2312 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2315 # This is the source file.
2318 # We found the default executable, but exeext='' is most
2322 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2323 # FIXME: I believe we export ac_cv_exeext for Libtool,
2324 # but it would be cool to find out if it's true. Does anybody
2325 # maintain Libtool? --akim.
2333 echo "$as_me: failed program was:" >&5
2334 sed 's/^/| /' conftest.
$ac_ext >&5
2336 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2337 See \`config.log' for more details." >&5
2338 echo "$as_me: error: C compiler cannot create executables
2339 See \`config.log' for more details." >&2;}
2340 { (exit 77); exit 77; }; }
2343 ac_exeext
=$ac_cv_exeext
2344 echo "$as_me:$LINENO: result: $ac_file" >&5
2345 echo "${ECHO_T}$ac_file" >&6
2347 # Check the compiler produces executables we can run. If not, either
2348 # the compiler is broken, or we cross compile.
2349 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2350 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2351 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2352 # If not cross compiling, check that we can run a simple program.
2353 if test "$cross_compiling" != yes; then
2354 if { ac_try
='./$ac_file'
2355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }; }; then
2362 if test "$cross_compiling" = maybe
; then
2365 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2366 If you meant to cross compile, use \`--host'.
2367 See \`config.log' for more details." >&5
2368 echo "$as_me: error: cannot run C compiled programs.
2369 If you meant to cross compile, use \`--host'.
2370 See \`config.log' for more details." >&2;}
2371 { (exit 1); exit 1; }; }
2375 echo "$as_me:$LINENO: result: yes" >&5
2376 echo "${ECHO_T}yes" >&6
2378 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2379 ac_clean_files
=$ac_clean_files_save
2380 # Check the compiler produces executables we can run. If not, either
2381 # the compiler is broken, or we cross compile.
2382 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2383 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2384 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2385 echo "${ECHO_T}$cross_compiling" >&6
2387 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2388 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2390 (eval $ac_link) 2>&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }; then
2394 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2395 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2396 # work properly (i.e., refer to `conftest.exe'), while it won't with
2398 for ac_file
in conftest.exe conftest conftest.
*; do
2399 test -f "$ac_file" ||
continue
2401 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2402 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2409 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2410 See \`config.log' for more details." >&5
2411 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2412 See \`config.log' for more details." >&2;}
2413 { (exit 1); exit 1; }; }
2416 rm -f conftest
$ac_cv_exeext
2417 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2418 echo "${ECHO_T}$ac_cv_exeext" >&6
2420 rm -f conftest.
$ac_ext
2421 EXEEXT
=$ac_cv_exeext
2423 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2424 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2425 if test "${ac_cv_objext+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2428 cat >conftest.
$ac_ext <<_ACEOF
2431 cat confdefs.h
>>conftest.
$ac_ext
2432 cat >>conftest.
$ac_ext <<_ACEOF
2433 /* end confdefs.h. */
2443 rm -f conftest.o conftest.obj
2444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2445 (eval $ac_compile) 2>&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }; then
2449 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2451 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2452 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2457 echo "$as_me: failed program was:" >&5
2458 sed 's/^/| /' conftest.
$ac_ext >&5
2460 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2461 See \`config.log' for more details." >&5
2462 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2463 See \`config.log' for more details." >&2;}
2464 { (exit 1); exit 1; }; }
2467 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2469 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2470 echo "${ECHO_T}$ac_cv_objext" >&6
2471 OBJEXT
=$ac_cv_objext
2473 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2474 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2475 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 cat >conftest.
$ac_ext <<_ACEOF
2481 cat confdefs.h
>>conftest.
$ac_ext
2482 cat >>conftest.
$ac_ext <<_ACEOF
2483 /* end confdefs.h. */
2496 rm -f conftest.
$ac_objext
2497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2498 (eval $ac_compile) 2>conftest.er1
2500 grep -v '^ *+' conftest.er1
>conftest.err
2502 cat conftest.err
>&5
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); } &&
2505 { ac_try
='test -z "$ac_c_werror_flag"
2506 || test ! -s conftest.err'
2507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); }; } &&
2512 { ac_try
='test -s conftest.$ac_objext'
2513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); }; }; then
2520 echo "$as_me: failed program was:" >&5
2521 sed 's/^/| /' conftest.
$ac_ext >&5
2525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2526 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2529 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2530 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2531 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2532 ac_test_CFLAGS
=${CFLAGS+set}
2533 ac_save_CFLAGS
=$CFLAGS
2535 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2536 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2537 if test "${ac_cv_prog_cc_g+set}" = set; then
2538 echo $ECHO_N "(cached) $ECHO_C" >&6
2540 cat >conftest.
$ac_ext <<_ACEOF
2543 cat confdefs.h
>>conftest.
$ac_ext
2544 cat >>conftest.
$ac_ext <<_ACEOF
2545 /* end confdefs.h. */
2555 rm -f conftest.
$ac_objext
2556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2557 (eval $ac_compile) 2>conftest.er1
2559 grep -v '^ *+' conftest.er1
>conftest.err
2561 cat conftest.err
>&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); } &&
2564 { ac_try
='test -z "$ac_c_werror_flag"
2565 || test ! -s conftest.err'
2566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); }; } &&
2571 { ac_try
='test -s conftest.$ac_objext'
2572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }; }; then
2579 echo "$as_me: failed program was:" >&5
2580 sed 's/^/| /' conftest.
$ac_ext >&5
2584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2586 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2587 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2588 if test "$ac_test_CFLAGS" = set; then
2589 CFLAGS
=$ac_save_CFLAGS
2590 elif test $ac_cv_prog_cc_g = yes; then
2591 if test "$GCC" = yes; then
2597 if test "$GCC" = yes; then
2603 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2604 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2605 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2606 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 ac_cv_prog_cc_stdc
=no
2610 cat >conftest.
$ac_ext <<_ACEOF
2613 cat confdefs.h
>>conftest.
$ac_ext
2614 cat >>conftest.
$ac_ext <<_ACEOF
2615 /* end confdefs.h. */
2618 #include <sys/types.h>
2619 #include <sys/stat.h>
2620 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2621 struct buf { int x; };
2622 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2623 static char *e (p, i)
2629 static char *f (char * (*g) (char **, int), char **p, ...)
2634 s = g (p, va_arg (v,int));
2639 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2640 function prototypes and stuff, but not '\xHH' hex character constants.
2641 These don't provoke an error unfortunately, instead are silently treated
2642 as 'x'. The following induces an error, until -std1 is added to get
2643 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2644 array size at least. It's necessary to write '\x00'==0 to get something
2645 that's true only with -std1. */
2646 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2648 int test (int i, double x);
2649 struct s1 {int (*f) (int a);};
2650 struct s2 {int (*f) (double a);};
2651 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2657 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2662 # Don't try gcc -ansi; that turns off useful extensions and
2663 # breaks some systems' header files.
2664 # AIX -qlanglvl=ansi
2665 # Ultrix and OSF/1 -std1
2666 # HP-UX 10.20 and later -Ae
2667 # HP-UX older versions -Aa -D_HPUX_SOURCE
2668 # SVR4 -Xc -D__EXTENSIONS__
2669 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2671 CC
="$ac_save_CC $ac_arg"
2672 rm -f conftest.
$ac_objext
2673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2674 (eval $ac_compile) 2>conftest.er1
2676 grep -v '^ *+' conftest.er1
>conftest.err
2678 cat conftest.err
>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); } &&
2681 { ac_try
='test -z "$ac_c_werror_flag"
2682 || test ! -s conftest.err'
2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }; } &&
2688 { ac_try
='test -s conftest.$ac_objext'
2689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; }; then
2694 ac_cv_prog_cc_stdc
=$ac_arg
2697 echo "$as_me: failed program was:" >&5
2698 sed 's/^/| /' conftest.
$ac_ext >&5
2701 rm -f conftest.err conftest.
$ac_objext
2703 rm -f conftest.
$ac_ext conftest.
$ac_objext
2708 case "x$ac_cv_prog_cc_stdc" in
2710 echo "$as_me:$LINENO: result: none needed" >&5
2711 echo "${ECHO_T}none needed" >&6 ;;
2713 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2714 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2715 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2718 # Some people use a C++ compiler to compile C. Since we use `exit',
2719 # in C++ we need to declare it. In case someone uses the same compiler
2720 # for both compiling C and C++ we need to have the C++ compiler decide
2721 # the declaration of exit, since it's the most demanding environment.
2722 cat >conftest.
$ac_ext <<_ACEOF
2727 rm -f conftest.
$ac_objext
2728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2729 (eval $ac_compile) 2>conftest.er1
2731 grep -v '^ *+' conftest.er1
>conftest.err
2733 cat conftest.err
>&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); } &&
2736 { ac_try
='test -z "$ac_c_werror_flag"
2737 || test ! -s conftest.err'
2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; } &&
2743 { ac_try
='test -s conftest.$ac_objext'
2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; }; then
2749 for ac_declaration
in \
2751 'extern "C" void std::exit (int) throw (); using std::exit;' \
2752 'extern "C" void std::exit (int); using std::exit;' \
2753 'extern "C" void exit (int) throw ();' \
2754 'extern "C" void exit (int);' \
2757 cat >conftest.
$ac_ext <<_ACEOF
2760 cat confdefs.h
>>conftest.
$ac_ext
2761 cat >>conftest.
$ac_ext <<_ACEOF
2762 /* end confdefs.h. */
2773 rm -f conftest.
$ac_objext
2774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2775 (eval $ac_compile) 2>conftest.er1
2777 grep -v '^ *+' conftest.er1
>conftest.err
2779 cat conftest.err
>&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); } &&
2782 { ac_try
='test -z "$ac_c_werror_flag"
2783 || test ! -s conftest.err'
2784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; } &&
2789 { ac_try
='test -s conftest.$ac_objext'
2790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }; }; then
2797 echo "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.
$ac_ext >&5
2802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2803 cat >conftest.
$ac_ext <<_ACEOF
2806 cat confdefs.h
>>conftest.
$ac_ext
2807 cat >>conftest.
$ac_ext <<_ACEOF
2808 /* end confdefs.h. */
2818 rm -f conftest.
$ac_objext
2819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2820 (eval $ac_compile) 2>conftest.er1
2822 grep -v '^ *+' conftest.er1
>conftest.err
2824 cat conftest.err
>&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); } &&
2827 { ac_try
='test -z "$ac_c_werror_flag"
2828 || test ! -s conftest.err'
2829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }; } &&
2834 { ac_try
='test -s conftest.$ac_objext'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; }; then
2842 echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.
$ac_ext >&5
2846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2849 if test -n "$ac_declaration"; then
2850 echo '#ifdef __cplusplus' >>confdefs.h
2851 echo $ac_declaration >>confdefs.h
2852 echo '#endif' >>confdefs.h
2856 echo "$as_me: failed program was:" >&5
2857 sed 's/^/| /' conftest.
$ac_ext >&5
2860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2862 ac_cpp
='$CPP $CPPFLAGS'
2863 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2864 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2865 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2866 DEPDIR
="${am__leading_dot}deps"
2868 ac_config_commands
="$ac_config_commands depfiles"
2871 am_make
=${MAKE-make}
2872 cat > confinc
<< 'END'
2877 # If we don't find an include directive, just comment out the code.
2878 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2879 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2883 # First try GNU make style include.
2884 echo "include confinc" > confmf
2885 # We grep out `Entering directory' and `Leaving directory'
2886 # messages which can occur if `w' ends up in MAKEFLAGS.
2887 # In particular we don't look at `^make:' because GNU make might
2888 # be invoked under some other name (usually "gmake"), in which
2889 # case it prints its new name instead of `make'.
2890 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2895 # Now try BSD make style include.
2896 if test "$am__include" = "#"; then
2897 echo '.include "confinc"' > confmf
2898 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2899 am__include
=.include
2906 echo "$as_me:$LINENO: result: $_am_result" >&5
2907 echo "${ECHO_T}$_am_result" >&6
2908 rm -f confinc confmf
2910 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2911 if test "${enable_dependency_tracking+set}" = set; then
2912 enableval
="$enable_dependency_tracking"
2915 if test "x$enable_dependency_tracking" != xno
; then
2916 am_depcomp
="$ac_aux_dir/depcomp"
2921 if test "x$enable_dependency_tracking" != xno; then
2932 depcc
="$CC" am_compiler_list
=
2934 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2935 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2936 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2937 echo $ECHO_N "(cached) $ECHO_C" >&6
2939 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2940 # We make a subdir and do the tests there. Otherwise we can end up
2941 # making bogus files that we don't know about and never remove. For
2942 # instance it was reported that on HP-UX the gcc test will end up
2943 # making a dummy file named `D' -- because `-MD' means `put the output
2946 # Copy depcomp to subdir because otherwise we won't find it if we're
2947 # using a relative directory.
2948 cp "$am_depcomp" conftest.dir
2950 # We will build objects and dependencies in a subdirectory because
2951 # it helps to detect inapplicable dependency modes. For instance
2952 # both Tru64's cc and ICC support -MD to output dependencies as a
2953 # side effect of compilation, but ICC will put the dependencies in
2954 # the current directory while Tru64 will put them in the object
2958 am_cv_CC_dependencies_compiler_type
=none
2959 if test "$am_compiler_list" = ""; then
2960 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2962 for depmode
in $am_compiler_list; do
2963 # Setup a source with many dependencies, because some compilers
2964 # like to wrap large dependency lists on column 80 (with \), and
2965 # we should not choose a depcomp mode which is confused by this.
2967 # We need to recreate these files for each test, as the compiler may
2968 # overwrite some of them when testing with obscure command lines.
2969 # This happens at least with the AIX C compiler.
2971 for i
in 1 2 3 4 5 6; do
2972 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2973 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2974 # Solaris 8's {/usr,}/bin/sh.
2975 touch sub
/conftst
$i.h
2977 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2981 # after this tag, mechanisms are not by side-effect, so they'll
2982 # only be used when explicitly requested
2983 if test "x$enable_dependency_tracking" = xyes
; then
2991 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2992 # mode. It turns out that the SunPro C++ compiler does not properly
2993 # handle `-M -o', and we need to detect this.
2994 if depmode
=$depmode \
2995 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2996 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2997 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2998 >/dev
/null
2>conftest.err
&&
2999 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3000 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3001 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3002 # icc doesn't choke on unknown options, it will just issue warnings
3003 # or remarks (even with -Werror). So we grep stderr for any message
3004 # that says an option was ignored or not supported.
3005 # When given -MP, icc 7.0 and 7.1 complain thusly:
3006 # icc: Command line warning: ignoring option '-M'; no argument required
3007 # The diagnosis changed in icc 8.0:
3008 # icc: Command line remark: option '-MP' not supported
3009 if (grep 'ignoring option' conftest.err ||
3010 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3011 am_cv_CC_dependencies_compiler_type
=$depmode
3020 am_cv_CC_dependencies_compiler_type
=none
3024 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3025 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3026 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3031 test "x$enable_dependency_tracking" != xno \
3032 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3034 am__fastdepCC_FALSE
='#'
3036 am__fastdepCC_TRUE
='#'
3037 am__fastdepCC_FALSE
=
3045 if test "x$GCC" != "xyes"; then
3046 { { echo "$as_me:$LINENO: error: libmudflap must be built with GCC" >&5
3047 echo "$as_me: error: libmudflap must be built with GCC" >&2;}
3048 { (exit 1); exit 1; }; }
3051 ac_cpp
='$CPP $CPPFLAGS'
3052 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3053 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3054 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3055 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3056 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3057 # On Suns, sometimes $CPP names a directory.
3058 if test -n "$CPP" && test -d "$CPP"; then
3061 if test -z "$CPP"; then
3062 if test "${ac_cv_prog_CPP+set}" = set; then
3063 echo $ECHO_N "(cached) $ECHO_C" >&6
3065 # Double quotes because CPP needs to be expanded
3066 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3069 for ac_c_preproc_warn_flag
in '' yes
3071 # Use a header file that comes with gcc, so configuring glibc
3072 # with a fresh cross-compiler works.
3073 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3074 # <limits.h> exists even on freestanding compilers.
3075 # On the NeXT, cc -E runs the code through the compiler's parser,
3076 # not just through cpp. "Syntax error" is here to catch this case.
3077 cat >conftest.
$ac_ext <<_ACEOF
3080 cat confdefs.h
>>conftest.
$ac_ext
3081 cat >>conftest.
$ac_ext <<_ACEOF
3082 /* end confdefs.h. */
3084 # include <limits.h>
3086 # include <assert.h>
3090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3091 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3093 grep -v '^ *+' conftest.er1
>conftest.err
3095 cat conftest.err
>&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); } >/dev
/null
; then
3098 if test -s conftest.err
; then
3099 ac_cpp_err
=$ac_c_preproc_warn_flag
3100 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3107 if test -z "$ac_cpp_err"; then
3110 echo "$as_me: failed program was:" >&5
3111 sed 's/^/| /' conftest.
$ac_ext >&5
3113 # Broken: fails on valid input.
3116 rm -f conftest.err conftest.
$ac_ext
3118 # OK, works on sane cases. Now check whether non-existent headers
3119 # can be detected and how.
3120 cat >conftest.
$ac_ext <<_ACEOF
3123 cat confdefs.h
>>conftest.
$ac_ext
3124 cat >>conftest.
$ac_ext <<_ACEOF
3125 /* end confdefs.h. */
3126 #include <ac_nonexistent.h>
3128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3129 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3131 grep -v '^ *+' conftest.er1
>conftest.err
3133 cat conftest.err
>&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); } >/dev
/null
; then
3136 if test -s conftest.err
; then
3137 ac_cpp_err
=$ac_c_preproc_warn_flag
3138 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3145 if test -z "$ac_cpp_err"; then
3146 # Broken: success on invalid input.
3149 echo "$as_me: failed program was:" >&5
3150 sed 's/^/| /' conftest.
$ac_ext >&5
3152 # Passes both tests.
3156 rm -f conftest.err conftest.
$ac_ext
3159 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3160 rm -f conftest.err conftest.
$ac_ext
3161 if $ac_preproc_ok; then
3173 echo "$as_me:$LINENO: result: $CPP" >&5
3174 echo "${ECHO_T}$CPP" >&6
3176 for ac_c_preproc_warn_flag
in '' yes
3178 # Use a header file that comes with gcc, so configuring glibc
3179 # with a fresh cross-compiler works.
3180 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3181 # <limits.h> exists even on freestanding compilers.
3182 # On the NeXT, cc -E runs the code through the compiler's parser,
3183 # not just through cpp. "Syntax error" is here to catch this case.
3184 cat >conftest.
$ac_ext <<_ACEOF
3187 cat confdefs.h
>>conftest.
$ac_ext
3188 cat >>conftest.
$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3191 # include <limits.h>
3193 # include <assert.h>
3197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3198 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3200 grep -v '^ *+' conftest.er1
>conftest.err
3202 cat conftest.err
>&5
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); } >/dev
/null
; then
3205 if test -s conftest.err
; then
3206 ac_cpp_err
=$ac_c_preproc_warn_flag
3207 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3214 if test -z "$ac_cpp_err"; then
3217 echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.
$ac_ext >&5
3220 # Broken: fails on valid input.
3223 rm -f conftest.err conftest.
$ac_ext
3225 # OK, works on sane cases. Now check whether non-existent headers
3226 # can be detected and how.
3227 cat >conftest.
$ac_ext <<_ACEOF
3230 cat confdefs.h
>>conftest.
$ac_ext
3231 cat >>conftest.
$ac_ext <<_ACEOF
3232 /* end confdefs.h. */
3233 #include <ac_nonexistent.h>
3235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3236 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3238 grep -v '^ *+' conftest.er1
>conftest.err
3240 cat conftest.err
>&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } >/dev
/null
; then
3243 if test -s conftest.err
; then
3244 ac_cpp_err
=$ac_c_preproc_warn_flag
3245 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3252 if test -z "$ac_cpp_err"; then
3253 # Broken: success on invalid input.
3256 echo "$as_me: failed program was:" >&5
3257 sed 's/^/| /' conftest.
$ac_ext >&5
3259 # Passes both tests.
3263 rm -f conftest.err conftest.
$ac_ext
3266 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3267 rm -f conftest.err conftest.
$ac_ext
3268 if $ac_preproc_ok; then
3271 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3272 See \`config.log' for more details." >&5
3273 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3274 See \`config.log' for more details." >&2;}
3275 { (exit 1); exit 1; }; }
3279 ac_cpp
='$CPP $CPPFLAGS'
3280 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3281 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3282 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3285 # Some hosts don't have dlsym(RTLD_NEXT, "symbol") for use in
3286 # symbol interposition. We disable shared libraries for these.
3287 echo "$as_me:$LINENO: checking whether dlsym(RTLD_NEXT,...) is available" >&5
3288 echo $ECHO_N "checking whether dlsym(RTLD_NEXT,...) is available... $ECHO_C" >&6
3290 cat >conftest.
$ac_ext <<_ACEOF
3293 cat confdefs.h
>>conftest.
$ac_ext
3294 cat >>conftest.
$ac_ext <<_ACEOF
3295 /* end confdefs.h. */
3303 void *foo = dlsym (RTLD_NEXT, "exit");
3308 rm -f conftest.
$ac_objext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3310 (eval $ac_compile) 2>conftest.er1
3312 grep -v '^ *+' conftest.er1
>conftest.err
3314 cat conftest.err
>&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } &&
3317 { ac_try
='test -z "$ac_c_werror_flag"
3318 || test ! -s conftest.err'
3319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); }; } &&
3324 { ac_try
='test -s conftest.$ac_objext'
3325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); }; }; then
3330 echo "$as_me:$LINENO: result: yes" >&5
3331 echo "${ECHO_T}yes" >&6
3333 echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.
$ac_ext >&5
3336 echo "$as_me:$LINENO: result: no" >&5
3337 echo "${ECHO_T}no" >&6
3340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3343 echo "$as_me:$LINENO: checking for egrep" >&5
3344 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3345 if test "${ac_cv_prog_egrep+set}" = set; then
3346 echo $ECHO_N "(cached) $ECHO_C" >&6
3348 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3349 then ac_cv_prog_egrep
='grep -E'
3350 else ac_cv_prog_egrep
='egrep'
3353 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3354 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3355 EGREP
=$ac_cv_prog_egrep
3358 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3359 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3360 if test "${ac_cv_header_stdc+set}" = set; then
3361 echo $ECHO_N "(cached) $ECHO_C" >&6
3363 cat >conftest.
$ac_ext <<_ACEOF
3366 cat confdefs.h
>>conftest.
$ac_ext
3367 cat >>conftest.
$ac_ext <<_ACEOF
3368 /* end confdefs.h. */
3382 rm -f conftest.
$ac_objext
3383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3384 (eval $ac_compile) 2>conftest.er1
3386 grep -v '^ *+' conftest.er1
>conftest.err
3388 cat conftest.err
>&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); } &&
3391 { ac_try
='test -z "$ac_c_werror_flag"
3392 || test ! -s conftest.err'
3393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); }; } &&
3398 { ac_try
='test -s conftest.$ac_objext'
3399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); }; }; then
3404 ac_cv_header_stdc
=yes
3406 echo "$as_me: failed program was:" >&5
3407 sed 's/^/| /' conftest.
$ac_ext >&5
3409 ac_cv_header_stdc
=no
3411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3413 if test $ac_cv_header_stdc = yes; then
3414 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3415 cat >conftest.
$ac_ext <<_ACEOF
3418 cat confdefs.h
>>conftest.
$ac_ext
3419 cat >>conftest.
$ac_ext <<_ACEOF
3420 /* end confdefs.h. */
3424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3425 $EGREP "memchr" >/dev
/null
2>&1; then
3428 ac_cv_header_stdc
=no
3434 if test $ac_cv_header_stdc = yes; then
3435 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3436 cat >conftest.
$ac_ext <<_ACEOF
3439 cat confdefs.h
>>conftest.
$ac_ext
3440 cat >>conftest.
$ac_ext <<_ACEOF
3441 /* end confdefs.h. */
3445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3446 $EGREP "free" >/dev
/null
2>&1; then
3449 ac_cv_header_stdc
=no
3455 if test $ac_cv_header_stdc = yes; then
3456 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3457 if test "$cross_compiling" = yes; then
3460 cat >conftest.
$ac_ext <<_ACEOF
3463 cat confdefs.h
>>conftest.
$ac_ext
3464 cat >>conftest.
$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3467 #if ((' ' & 0x0FF) == 0x020)
3468 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3469 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3471 # define ISLOWER(c) \
3472 (('a' <= (c) && (c) <= 'i') \
3473 || ('j' <= (c) && (c) <= 'r') \
3474 || ('s' <= (c) && (c) <= 'z'))
3475 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3478 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3483 for (i = 0; i < 256; i++)
3484 if (XOR (islower (i), ISLOWER (i))
3485 || toupper (i) != TOUPPER (i))
3490 rm -f conftest
$ac_exeext
3491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3492 (eval $ac_link) 2>&5
3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); }; }; then
3503 echo "$as_me: program exited with status $ac_status" >&5
3504 echo "$as_me: failed program was:" >&5
3505 sed 's/^/| /' conftest.
$ac_ext >&5
3508 ac_cv_header_stdc
=no
3510 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3514 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3515 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3516 if test $ac_cv_header_stdc = yes; then
3518 cat >>confdefs.h
<<\_ACEOF
3519 #define STDC_HEADERS 1
3524 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3534 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3535 inttypes.h stdint.h unistd.h
3537 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3538 echo "$as_me:$LINENO: checking for $ac_header" >&5
3539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3541 echo $ECHO_N "(cached) $ECHO_C" >&6
3543 cat >conftest.
$ac_ext <<_ACEOF
3546 cat confdefs.h
>>conftest.
$ac_ext
3547 cat >>conftest.
$ac_ext <<_ACEOF
3548 /* end confdefs.h. */
3549 $ac_includes_default
3551 #include <$ac_header>
3553 rm -f conftest.
$ac_objext
3554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3555 (eval $ac_compile) 2>conftest.er1
3557 grep -v '^ *+' conftest.er1
>conftest.err
3559 cat conftest.err
>&5
3560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 (exit $ac_status); } &&
3562 { ac_try
='test -z "$ac_c_werror_flag"
3563 || test ! -s conftest.err'
3564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); }; } &&
3569 { ac_try
='test -s conftest.$ac_objext'
3570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); }; }; then
3575 eval "$as_ac_Header=yes"
3577 echo "$as_me: failed program was:" >&5
3578 sed 's/^/| /' conftest.
$ac_ext >&5
3580 eval "$as_ac_Header=no"
3582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3587 cat >>confdefs.h
<<_ACEOF
3588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3615 for ac_header
in stdint.h execinfo.h signal.h dlfcn.h dirent.h
pwd.h grp.h \
3616 netdb.h sys
/ipc.h sys
/sem.h sys
/shm.h sys
/wait.h ctype.h mntent.h \
3617 sys
/socket.h netinet
/in.h arpa
/inet.h dlfcn.h sys
/mman.h
3619 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3621 echo "$as_me:$LINENO: checking for $ac_header" >&5
3622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3624 echo $ECHO_N "(cached) $ECHO_C" >&6
3626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3629 # Is the header compilable?
3630 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3631 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3632 cat >conftest.
$ac_ext <<_ACEOF
3635 cat confdefs.h
>>conftest.
$ac_ext
3636 cat >>conftest.
$ac_ext <<_ACEOF
3637 /* end confdefs.h. */
3638 $ac_includes_default
3639 #include <$ac_header>
3641 rm -f conftest.
$ac_objext
3642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3643 (eval $ac_compile) 2>conftest.er1
3645 grep -v '^ *+' conftest.er1
>conftest.err
3647 cat conftest.err
>&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } &&
3650 { ac_try
='test -z "$ac_c_werror_flag"
3651 || test ! -s conftest.err'
3652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); }; } &&
3657 { ac_try
='test -s conftest.$ac_objext'
3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); }; }; then
3663 ac_header_compiler
=yes
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.
$ac_ext >&5
3668 ac_header_compiler
=no
3670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3672 echo "${ECHO_T}$ac_header_compiler" >&6
3674 # Is the header present?
3675 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3677 cat >conftest.
$ac_ext <<_ACEOF
3680 cat confdefs.h
>>conftest.
$ac_ext
3681 cat >>conftest.
$ac_ext <<_ACEOF
3682 /* end confdefs.h. */
3683 #include <$ac_header>
3685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3686 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3688 grep -v '^ *+' conftest.er1
>conftest.err
3690 cat conftest.err
>&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); } >/dev
/null
; then
3693 if test -s conftest.err
; then
3694 ac_cpp_err
=$ac_c_preproc_warn_flag
3695 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3702 if test -z "$ac_cpp_err"; then
3703 ac_header_preproc
=yes
3705 echo "$as_me: failed program was:" >&5
3706 sed 's/^/| /' conftest.
$ac_ext >&5
3708 ac_header_preproc
=no
3710 rm -f conftest.err conftest.
$ac_ext
3711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3712 echo "${ECHO_T}$ac_header_preproc" >&6
3714 # So? What about this header?
3715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3717 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3718 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3720 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3721 ac_header_preproc
=yes
3724 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3726 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3728 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3729 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3730 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3731 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3734 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3735 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3738 ## ------------------------------------- ##
3739 ## Report this to the libmudflap lists. ##
3740 ## ------------------------------------- ##
3743 sed "s/^/$as_me: WARNING: /" >&2
3746 echo "$as_me:$LINENO: checking for $ac_header" >&5
3747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3749 echo $ECHO_N "(cached) $ECHO_C" >&6
3751 eval "$as_ac_Header=\$ac_header_preproc"
3753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3758 cat >>confdefs.h
<<_ACEOF
3759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3771 for ac_func
in backtrace backtrace_symbols gettimeofday signal
3773 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3774 echo "$as_me:$LINENO: checking for $ac_func" >&5
3775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3776 if eval "test \"\${$as_ac_var+set}\" = set"; then
3777 echo $ECHO_N "(cached) $ECHO_C" >&6
3779 cat >conftest.
$ac_ext <<_ACEOF
3782 cat confdefs.h
>>conftest.
$ac_ext
3783 cat >>conftest.
$ac_ext <<_ACEOF
3784 /* end confdefs.h. */
3785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3787 #define $ac_func innocuous_$ac_func
3789 /* System header to define __stub macros and hopefully few prototypes,
3790 which can conflict with char $ac_func (); below.
3791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3792 <limits.h> exists even on freestanding compilers. */
3795 # include <limits.h>
3797 # include <assert.h>
3802 /* Override any gcc2 internal prototype to avoid an error. */
3807 /* We use char because int might match the return type of a gcc2
3808 builtin and then its argument prototype would still apply. */
3810 /* The GNU C library defines this for functions which it implements
3811 to always fail with ENOSYS. Some functions are actually named
3812 something starting with __ and the normal name is an alias. */
3813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3816 char (*f) () = $ac_func;
3825 return f != $ac_func;
3830 rm -f conftest.
$ac_objext conftest
$ac_exeext
3831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3832 (eval $ac_link) 2>conftest.er1
3834 grep -v '^ *+' conftest.er1
>conftest.err
3836 cat conftest.err
>&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); } &&
3839 { ac_try
='test -z "$ac_c_werror_flag"
3840 || test ! -s conftest.err'
3841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3845 (exit $ac_status); }; } &&
3846 { ac_try
='test -s conftest$ac_exeext'
3847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851 (exit $ac_status); }; }; then
3852 eval "$as_ac_var=yes"
3854 echo "$as_me: failed program was:" >&5
3855 sed 's/^/| /' conftest.
$ac_ext >&5
3857 eval "$as_ac_var=no"
3859 rm -f conftest.err conftest.
$ac_objext \
3860 conftest
$ac_exeext conftest.
$ac_ext
3862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3864 if test `eval echo '${'$as_ac_var'}'` = yes; then
3865 cat >>confdefs.h
<<_ACEOF
3866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3877 for ac_func
in fopen64 fseeko64 ftello64 stat64 freopen64
3879 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3880 echo "$as_me:$LINENO: checking for $ac_func" >&5
3881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3882 if eval "test \"\${$as_ac_var+set}\" = set"; then
3883 echo $ECHO_N "(cached) $ECHO_C" >&6
3885 cat >conftest.
$ac_ext <<_ACEOF
3888 cat confdefs.h
>>conftest.
$ac_ext
3889 cat >>conftest.
$ac_ext <<_ACEOF
3890 /* end confdefs.h. */
3891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3893 #define $ac_func innocuous_$ac_func
3895 /* System header to define __stub macros and hopefully few prototypes,
3896 which can conflict with char $ac_func (); below.
3897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3898 <limits.h> exists even on freestanding compilers. */
3901 # include <limits.h>
3903 # include <assert.h>
3908 /* Override any gcc2 internal prototype to avoid an error. */
3913 /* We use char because int might match the return type of a gcc2
3914 builtin and then its argument prototype would still apply. */
3916 /* The GNU C library defines this for functions which it implements
3917 to always fail with ENOSYS. Some functions are actually named
3918 something starting with __ and the normal name is an alias. */
3919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3922 char (*f) () = $ac_func;
3931 return f != $ac_func;
3936 rm -f conftest.
$ac_objext conftest
$ac_exeext
3937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3938 (eval $ac_link) 2>conftest.er1
3940 grep -v '^ *+' conftest.er1
>conftest.err
3942 cat conftest.err
>&5
3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); } &&
3945 { ac_try
='test -z "$ac_c_werror_flag"
3946 || test ! -s conftest.err'
3947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951 (exit $ac_status); }; } &&
3952 { ac_try
='test -s conftest$ac_exeext'
3953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); }; }; then
3958 eval "$as_ac_var=yes"
3960 echo "$as_me: failed program was:" >&5
3961 sed 's/^/| /' conftest.
$ac_ext >&5
3963 eval "$as_ac_var=no"
3965 rm -f conftest.err conftest.
$ac_objext \
3966 conftest
$ac_exeext conftest.
$ac_ext
3968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3970 if test `eval echo '${'$as_ac_var'}'` = yes; then
3971 cat >>confdefs.h
<<_ACEOF
3972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3982 for ac_func
in setbuf setbuffer setlinebuf setvbuf
3984 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3985 echo "$as_me:$LINENO: checking for $ac_func" >&5
3986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3987 if eval "test \"\${$as_ac_var+set}\" = set"; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
3990 cat >conftest.
$ac_ext <<_ACEOF
3993 cat confdefs.h
>>conftest.
$ac_ext
3994 cat >>conftest.
$ac_ext <<_ACEOF
3995 /* end confdefs.h. */
3996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3998 #define $ac_func innocuous_$ac_func
4000 /* System header to define __stub macros and hopefully few prototypes,
4001 which can conflict with char $ac_func (); below.
4002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4003 <limits.h> exists even on freestanding compilers. */
4006 # include <limits.h>
4008 # include <assert.h>
4013 /* Override any gcc2 internal prototype to avoid an error. */
4018 /* We use char because int might match the return type of a gcc2
4019 builtin and then its argument prototype would still apply. */
4021 /* The GNU C library defines this for functions which it implements
4022 to always fail with ENOSYS. Some functions are actually named
4023 something starting with __ and the normal name is an alias. */
4024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4027 char (*f) () = $ac_func;
4036 return f != $ac_func;
4041 rm -f conftest.
$ac_objext conftest
$ac_exeext
4042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4043 (eval $ac_link) 2>conftest.er1
4045 grep -v '^ *+' conftest.er1
>conftest.err
4047 cat conftest.err
>&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); } &&
4050 { ac_try
='test -z "$ac_c_werror_flag"
4051 || test ! -s conftest.err'
4052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); }; } &&
4057 { ac_try
='test -s conftest$ac_exeext'
4058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062 (exit $ac_status); }; }; then
4063 eval "$as_ac_var=yes"
4065 echo "$as_me: failed program was:" >&5
4066 sed 's/^/| /' conftest.
$ac_ext >&5
4068 eval "$as_ac_var=no"
4070 rm -f conftest.err conftest.
$ac_objext \
4071 conftest
$ac_exeext conftest.
$ac_ext
4073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4075 if test `eval echo '${'$as_ac_var'}'` = yes; then
4076 cat >>confdefs.h
<<_ACEOF
4077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4088 for ac_func
in strnlen memrchr strncpy memmem sethostname
4090 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4091 echo "$as_me:$LINENO: checking for $ac_func" >&5
4092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4093 if eval "test \"\${$as_ac_var+set}\" = set"; then
4094 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 cat >conftest.
$ac_ext <<_ACEOF
4099 cat confdefs.h
>>conftest.
$ac_ext
4100 cat >>conftest.
$ac_ext <<_ACEOF
4101 /* end confdefs.h. */
4102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4104 #define $ac_func innocuous_$ac_func
4106 /* System header to define __stub macros and hopefully few prototypes,
4107 which can conflict with char $ac_func (); below.
4108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4109 <limits.h> exists even on freestanding compilers. */
4112 # include <limits.h>
4114 # include <assert.h>
4119 /* Override any gcc2 internal prototype to avoid an error. */
4124 /* We use char because int might match the return type of a gcc2
4125 builtin and then its argument prototype would still apply. */
4127 /* The GNU C library defines this for functions which it implements
4128 to always fail with ENOSYS. Some functions are actually named
4129 something starting with __ and the normal name is an alias. */
4130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4133 char (*f) () = $ac_func;
4142 return f != $ac_func;
4147 rm -f conftest.
$ac_objext conftest
$ac_exeext
4148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4149 (eval $ac_link) 2>conftest.er1
4151 grep -v '^ *+' conftest.er1
>conftest.err
4153 cat conftest.err
>&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); } &&
4156 { ac_try
='test -z "$ac_c_werror_flag"
4157 || test ! -s conftest.err'
4158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); }; } &&
4163 { ac_try
='test -s conftest$ac_exeext'
4164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168 (exit $ac_status); }; }; then
4169 eval "$as_ac_var=yes"
4171 echo "$as_me: failed program was:" >&5
4172 sed 's/^/| /' conftest.
$ac_ext >&5
4174 eval "$as_ac_var=no"
4176 rm -f conftest.err conftest.
$ac_objext \
4177 conftest
$ac_exeext conftest.
$ac_ext
4179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4181 if test `eval echo '${'$as_ac_var'}'` = yes; then
4182 cat >>confdefs.h
<<_ACEOF
4183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4192 for ac_func
in __ctype_b_loc __ctype_tolower_loc __ctype_toupper_loc
4194 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4195 echo "$as_me:$LINENO: checking for $ac_func" >&5
4196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4197 if eval "test \"\${$as_ac_var+set}\" = set"; then
4198 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 cat >conftest.
$ac_ext <<_ACEOF
4203 cat confdefs.h
>>conftest.
$ac_ext
4204 cat >>conftest.
$ac_ext <<_ACEOF
4205 /* end confdefs.h. */
4206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4208 #define $ac_func innocuous_$ac_func
4210 /* System header to define __stub macros and hopefully few prototypes,
4211 which can conflict with char $ac_func (); below.
4212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4213 <limits.h> exists even on freestanding compilers. */
4216 # include <limits.h>
4218 # include <assert.h>
4223 /* Override any gcc2 internal prototype to avoid an error. */
4228 /* We use char because int might match the return type of a gcc2
4229 builtin and then its argument prototype would still apply. */
4231 /* The GNU C library defines this for functions which it implements
4232 to always fail with ENOSYS. Some functions are actually named
4233 something starting with __ and the normal name is an alias. */
4234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4237 char (*f) () = $ac_func;
4246 return f != $ac_func;
4251 rm -f conftest.
$ac_objext conftest
$ac_exeext
4252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4253 (eval $ac_link) 2>conftest.er1
4255 grep -v '^ *+' conftest.er1
>conftest.err
4257 cat conftest.err
>&5
4258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259 (exit $ac_status); } &&
4260 { ac_try
='test -z "$ac_c_werror_flag"
4261 || test ! -s conftest.err'
4262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); }; } &&
4267 { ac_try
='test -s conftest$ac_exeext'
4268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; }; then
4273 eval "$as_ac_var=yes"
4275 echo "$as_me: failed program was:" >&5
4276 sed 's/^/| /' conftest.
$ac_ext >&5
4278 eval "$as_ac_var=no"
4280 rm -f conftest.err conftest.
$ac_objext \
4281 conftest
$ac_exeext conftest.
$ac_ext
4283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4285 if test `eval echo '${'$as_ac_var'}'` = yes; then
4286 cat >>confdefs.h
<<_ACEOF
4287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4301 for ac_func
in getlogin cuserid getpwnam getpwuid getpwent getgrnam getgrgid getgrent
4303 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4304 echo "$as_me:$LINENO: checking for $ac_func" >&5
4305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4306 if eval "test \"\${$as_ac_var+set}\" = set"; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4309 cat >conftest.
$ac_ext <<_ACEOF
4312 cat confdefs.h
>>conftest.
$ac_ext
4313 cat >>conftest.
$ac_ext <<_ACEOF
4314 /* end confdefs.h. */
4315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4317 #define $ac_func innocuous_$ac_func
4319 /* System header to define __stub macros and hopefully few prototypes,
4320 which can conflict with char $ac_func (); below.
4321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4322 <limits.h> exists even on freestanding compilers. */
4325 # include <limits.h>
4327 # include <assert.h>
4332 /* Override any gcc2 internal prototype to avoid an error. */
4337 /* We use char because int might match the return type of a gcc2
4338 builtin and then its argument prototype would still apply. */
4340 /* The GNU C library defines this for functions which it implements
4341 to always fail with ENOSYS. Some functions are actually named
4342 something starting with __ and the normal name is an alias. */
4343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4346 char (*f) () = $ac_func;
4355 return f != $ac_func;
4360 rm -f conftest.
$ac_objext conftest
$ac_exeext
4361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4362 (eval $ac_link) 2>conftest.er1
4364 grep -v '^ *+' conftest.er1
>conftest.err
4366 cat conftest.err
>&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } &&
4369 { ac_try
='test -z "$ac_c_werror_flag"
4370 || test ! -s conftest.err'
4371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); }; } &&
4376 { ac_try
='test -s conftest$ac_exeext'
4377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); }; }; then
4382 eval "$as_ac_var=yes"
4384 echo "$as_me: failed program was:" >&5
4385 sed 's/^/| /' conftest.
$ac_ext >&5
4387 eval "$as_ac_var=no"
4389 rm -f conftest.err conftest.
$ac_objext \
4390 conftest
$ac_exeext conftest.
$ac_ext
4392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4394 if test `eval echo '${'$as_ac_var'}'` = yes; then
4395 cat >>confdefs.h
<<_ACEOF
4396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4407 for ac_func
in getlogin_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r
4409 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4410 echo "$as_me:$LINENO: checking for $ac_func" >&5
4411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4412 if eval "test \"\${$as_ac_var+set}\" = set"; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4415 cat >conftest.
$ac_ext <<_ACEOF
4418 cat confdefs.h
>>conftest.
$ac_ext
4419 cat >>conftest.
$ac_ext <<_ACEOF
4420 /* end confdefs.h. */
4421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4423 #define $ac_func innocuous_$ac_func
4425 /* System header to define __stub macros and hopefully few prototypes,
4426 which can conflict with char $ac_func (); below.
4427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4428 <limits.h> exists even on freestanding compilers. */
4431 # include <limits.h>
4433 # include <assert.h>
4438 /* Override any gcc2 internal prototype to avoid an error. */
4443 /* We use char because int might match the return type of a gcc2
4444 builtin and then its argument prototype would still apply. */
4446 /* The GNU C library defines this for functions which it implements
4447 to always fail with ENOSYS. Some functions are actually named
4448 something starting with __ and the normal name is an alias. */
4449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4452 char (*f) () = $ac_func;
4461 return f != $ac_func;
4466 rm -f conftest.
$ac_objext conftest
$ac_exeext
4467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4468 (eval $ac_link) 2>conftest.er1
4470 grep -v '^ *+' conftest.er1
>conftest.err
4472 cat conftest.err
>&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); } &&
4475 { ac_try
='test -z "$ac_c_werror_flag"
4476 || test ! -s conftest.err'
4477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); }; } &&
4482 { ac_try
='test -s conftest$ac_exeext'
4483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); }; }; then
4488 eval "$as_ac_var=yes"
4490 echo "$as_me: failed program was:" >&5
4491 sed 's/^/| /' conftest.
$ac_ext >&5
4493 eval "$as_ac_var=no"
4495 rm -f conftest.err conftest.
$ac_objext \
4496 conftest
$ac_exeext conftest.
$ac_ext
4498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4500 if test `eval echo '${'$as_ac_var'}'` = yes; then
4501 cat >>confdefs.h
<<_ACEOF
4502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4513 for ac_func
in getservent getservbyname getservbyport getaddrinfo gai_strerror
4515 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4516 echo "$as_me:$LINENO: checking for $ac_func" >&5
4517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4518 if eval "test \"\${$as_ac_var+set}\" = set"; then
4519 echo $ECHO_N "(cached) $ECHO_C" >&6
4521 cat >conftest.
$ac_ext <<_ACEOF
4524 cat confdefs.h
>>conftest.
$ac_ext
4525 cat >>conftest.
$ac_ext <<_ACEOF
4526 /* end confdefs.h. */
4527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4529 #define $ac_func innocuous_$ac_func
4531 /* System header to define __stub macros and hopefully few prototypes,
4532 which can conflict with char $ac_func (); below.
4533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4534 <limits.h> exists even on freestanding compilers. */
4537 # include <limits.h>
4539 # include <assert.h>
4544 /* Override any gcc2 internal prototype to avoid an error. */
4549 /* We use char because int might match the return type of a gcc2
4550 builtin and then its argument prototype would still apply. */
4552 /* The GNU C library defines this for functions which it implements
4553 to always fail with ENOSYS. Some functions are actually named
4554 something starting with __ and the normal name is an alias. */
4555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4558 char (*f) () = $ac_func;
4567 return f != $ac_func;
4572 rm -f conftest.
$ac_objext conftest
$ac_exeext
4573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4574 (eval $ac_link) 2>conftest.er1
4576 grep -v '^ *+' conftest.er1
>conftest.err
4578 cat conftest.err
>&5
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); } &&
4581 { ac_try
='test -z "$ac_c_werror_flag"
4582 || test ! -s conftest.err'
4583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); }; } &&
4588 { ac_try
='test -s conftest$ac_exeext'
4589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); }; }; then
4594 eval "$as_ac_var=yes"
4596 echo "$as_me: failed program was:" >&5
4597 sed 's/^/| /' conftest.
$ac_ext >&5
4599 eval "$as_ac_var=no"
4601 rm -f conftest.err conftest.
$ac_objext \
4602 conftest
$ac_exeext conftest.
$ac_ext
4604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4606 if test `eval echo '${'$as_ac_var'}'` = yes; then
4607 cat >>confdefs.h
<<_ACEOF
4608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4617 for ac_func
in getprotoent getprotobyname getprotobynumber
4619 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4620 echo "$as_me:$LINENO: checking for $ac_func" >&5
4621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4622 if eval "test \"\${$as_ac_var+set}\" = set"; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 cat >conftest.
$ac_ext <<_ACEOF
4628 cat confdefs.h
>>conftest.
$ac_ext
4629 cat >>conftest.
$ac_ext <<_ACEOF
4630 /* end confdefs.h. */
4631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4633 #define $ac_func innocuous_$ac_func
4635 /* System header to define __stub macros and hopefully few prototypes,
4636 which can conflict with char $ac_func (); below.
4637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4638 <limits.h> exists even on freestanding compilers. */
4641 # include <limits.h>
4643 # include <assert.h>
4648 /* Override any gcc2 internal prototype to avoid an error. */
4653 /* We use char because int might match the return type of a gcc2
4654 builtin and then its argument prototype would still apply. */
4656 /* The GNU C library defines this for functions which it implements
4657 to always fail with ENOSYS. Some functions are actually named
4658 something starting with __ and the normal name is an alias. */
4659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4662 char (*f) () = $ac_func;
4671 return f != $ac_func;
4676 rm -f conftest.
$ac_objext conftest
$ac_exeext
4677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4678 (eval $ac_link) 2>conftest.er1
4680 grep -v '^ *+' conftest.er1
>conftest.err
4682 cat conftest.err
>&5
4683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4684 (exit $ac_status); } &&
4685 { ac_try
='test -z "$ac_c_werror_flag"
4686 || test ! -s conftest.err'
4687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); }; } &&
4692 { ac_try
='test -s conftest$ac_exeext'
4693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); }; }; then
4698 eval "$as_ac_var=yes"
4700 echo "$as_me: failed program was:" >&5
4701 sed 's/^/| /' conftest.
$ac_ext >&5
4703 eval "$as_ac_var=no"
4705 rm -f conftest.err conftest.
$ac_objext \
4706 conftest
$ac_exeext conftest.
$ac_ext
4708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4710 if test `eval echo '${'$as_ac_var'}'` = yes; then
4711 cat >>confdefs.h
<<_ACEOF
4712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4721 for ac_func
in getmntent setmntent addmntent
4723 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4724 echo "$as_me:$LINENO: checking for $ac_func" >&5
4725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4726 if eval "test \"\${$as_ac_var+set}\" = set"; then
4727 echo $ECHO_N "(cached) $ECHO_C" >&6
4729 cat >conftest.
$ac_ext <<_ACEOF
4732 cat confdefs.h
>>conftest.
$ac_ext
4733 cat >>conftest.
$ac_ext <<_ACEOF
4734 /* end confdefs.h. */
4735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4737 #define $ac_func innocuous_$ac_func
4739 /* System header to define __stub macros and hopefully few prototypes,
4740 which can conflict with char $ac_func (); below.
4741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4742 <limits.h> exists even on freestanding compilers. */
4745 # include <limits.h>
4747 # include <assert.h>
4752 /* Override any gcc2 internal prototype to avoid an error. */
4757 /* We use char because int might match the return type of a gcc2
4758 builtin and then its argument prototype would still apply. */
4760 /* The GNU C library defines this for functions which it implements
4761 to always fail with ENOSYS. Some functions are actually named
4762 something starting with __ and the normal name is an alias. */
4763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4766 char (*f) () = $ac_func;
4775 return f != $ac_func;
4780 rm -f conftest.
$ac_objext conftest
$ac_exeext
4781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4782 (eval $ac_link) 2>conftest.er1
4784 grep -v '^ *+' conftest.er1
>conftest.err
4786 cat conftest.err
>&5
4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788 (exit $ac_status); } &&
4789 { ac_try
='test -z "$ac_c_werror_flag"
4790 || test ! -s conftest.err'
4791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); }; } &&
4796 { ac_try
='test -s conftest$ac_exeext'
4797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); }; }; then
4802 eval "$as_ac_var=yes"
4804 echo "$as_me: failed program was:" >&5
4805 sed 's/^/| /' conftest.
$ac_ext >&5
4807 eval "$as_ac_var=no"
4809 rm -f conftest.err conftest.
$ac_objext \
4810 conftest
$ac_exeext conftest.
$ac_ext
4812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4814 if test `eval echo '${'$as_ac_var'}'` = yes; then
4815 cat >>confdefs.h
<<_ACEOF
4816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4825 for ac_func
in inet_ntoa mmap munmap
4827 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4828 echo "$as_me:$LINENO: checking for $ac_func" >&5
4829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4830 if eval "test \"\${$as_ac_var+set}\" = set"; then
4831 echo $ECHO_N "(cached) $ECHO_C" >&6
4833 cat >conftest.
$ac_ext <<_ACEOF
4836 cat confdefs.h
>>conftest.
$ac_ext
4837 cat >>conftest.
$ac_ext <<_ACEOF
4838 /* end confdefs.h. */
4839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4841 #define $ac_func innocuous_$ac_func
4843 /* System header to define __stub macros and hopefully few prototypes,
4844 which can conflict with char $ac_func (); below.
4845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4846 <limits.h> exists even on freestanding compilers. */
4849 # include <limits.h>
4851 # include <assert.h>
4856 /* Override any gcc2 internal prototype to avoid an error. */
4861 /* We use char because int might match the return type of a gcc2
4862 builtin and then its argument prototype would still apply. */
4864 /* The GNU C library defines this for functions which it implements
4865 to always fail with ENOSYS. Some functions are actually named
4866 something starting with __ and the normal name is an alias. */
4867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4870 char (*f) () = $ac_func;
4879 return f != $ac_func;
4884 rm -f conftest.
$ac_objext conftest
$ac_exeext
4885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4886 (eval $ac_link) 2>conftest.er1
4888 grep -v '^ *+' conftest.er1
>conftest.err
4890 cat conftest.err
>&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); } &&
4893 { ac_try
='test -z "$ac_c_werror_flag"
4894 || test ! -s conftest.err'
4895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899 (exit $ac_status); }; } &&
4900 { ac_try
='test -s conftest$ac_exeext'
4901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); }; }; then
4906 eval "$as_ac_var=yes"
4908 echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.
$ac_ext >&5
4911 eval "$as_ac_var=no"
4913 rm -f conftest.err conftest.
$ac_objext \
4914 conftest
$ac_exeext conftest.
$ac_ext
4916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4918 if test `eval echo '${'$as_ac_var'}'` = yes; then
4919 cat >>confdefs.h
<<_ACEOF
4920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4927 cat >conftest.
$ac_ext <<_ACEOF
4930 cat confdefs.h
>>conftest.
$ac_ext
4931 cat >>conftest.
$ac_ext <<_ACEOF
4932 /* end confdefs.h. */
4933 #include <sys/types.h>
4934 #include <sys/ipc.h>
4935 #include <sys/sem.h>
4944 rm -f conftest.
$ac_objext
4945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4946 (eval $ac_compile) 2>conftest.er1
4948 grep -v '^ *+' conftest.er1
>conftest.err
4950 cat conftest.err
>&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); } &&
4953 { ac_try
='test -z "$ac_c_werror_flag"
4954 || test ! -s conftest.err'
4955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); }; } &&
4960 { ac_try
='test -s conftest.$ac_objext'
4961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); }; }; then
4968 echo "$as_me: failed program was:" >&5
4969 sed 's/^/| /' conftest.
$ac_ext >&5
4973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4974 if test $mf_have_semun = 1
4977 cat >>confdefs.h
<<\_ACEOF
4978 #define HAVE_UNION_SEMUN 1
4984 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
4985 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
4986 cat >conftest.
$ac_ext <<_ACEOF
4989 cat confdefs.h
>>conftest.
$ac_ext
4990 cat >>conftest.
$ac_ext <<_ACEOF
4991 /* end confdefs.h. */
4992 #define _POSIX_PII_SOCKET
4993 #include <sys/types.h>
4994 #include <sys/socket.h>
5003 rm -f conftest.
$ac_objext
5004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5005 (eval $ac_compile) 2>conftest.er1
5007 grep -v '^ *+' conftest.er1
>conftest.err
5009 cat conftest.err
>&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); } &&
5012 { ac_try
='test -z "$ac_c_werror_flag"
5013 || test ! -s conftest.err'
5014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018 (exit $ac_status); }; } &&
5019 { ac_try
='test -s conftest.$ac_objext'
5020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); }; }; then
5026 cat >>confdefs.h
<<\_ACEOF
5027 #define HAVE_SOCKLEN_T 1
5030 echo "$as_me:$LINENO: result: yes" >&5
5031 echo "${ECHO_T}yes" >&6
5033 echo "$as_me: failed program was:" >&5
5034 sed 's/^/| /' conftest.
$ac_ext >&5
5036 echo "$as_me:$LINENO: result: no" >&5
5037 echo "${ECHO_T}no" >&6
5039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5042 # Check whether --enable-shared or --disable-shared was given.
5043 if test "${enable_shared+set}" = set; then
5044 enableval
="$enable_shared"
5045 p
=${PACKAGE-default}
5047 yes) enable_shared
=yes ;;
5048 no
) enable_shared
=no
;;
5051 # Look at the argument we got. We use all the common list separators.
5052 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5053 for pkg
in $enableval; do
5054 if test "X$pkg" = "X$p"; then
5064 # Check whether --enable-static or --disable-static was given.
5065 if test "${enable_static+set}" = set; then
5066 enableval
="$enable_static"
5067 p
=${PACKAGE-default}
5069 yes) enable_static
=yes ;;
5070 no
) enable_static
=no
;;
5073 # Look at the argument we got. We use all the common list separators.
5074 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5075 for pkg
in $enableval; do
5076 if test "X$pkg" = "X$p"; then
5086 # Check whether --enable-fast-install or --disable-fast-install was given.
5087 if test "${enable_fast_install+set}" = set; then
5088 enableval
="$enable_fast_install"
5089 p
=${PACKAGE-default}
5091 yes) enable_fast_install
=yes ;;
5092 no
) enable_fast_install
=no
;;
5094 enable_fast_install
=no
5095 # Look at the argument we got. We use all the common list separators.
5096 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5097 for pkg
in $enableval; do
5098 if test "X$pkg" = "X$p"; then
5099 enable_fast_install
=yes
5106 enable_fast_install
=yes
5109 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5110 if test "${with_gnu_ld+set}" = set; then
5111 withval
="$with_gnu_ld"
5112 test "$withval" = no || with_gnu_ld
=yes
5117 if test "$GCC" = yes; then
5118 # Check if gcc -print-prog-name=ld gives a path.
5119 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5120 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5123 # gcc leaves a trailing carriage return which upsets mingw
5124 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5126 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5129 # Accept absolute paths.
5130 [\\/]* |
[A-Za-z
]:[\\/]*)
5131 re_direlt
='/[^/][^/]*/\.\./'
5132 # Canonicalize the path of ld
5133 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5134 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5135 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5137 test -z "$LD" && LD
="$ac_prog"
5140 # If it fails, then pretend we aren't using GCC.
5144 # If it is relative, then search for the first ld in PATH.
5148 elif test "$with_gnu_ld" = yes; then
5149 echo "$as_me:$LINENO: checking for GNU ld" >&5
5150 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5152 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5153 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5155 if test "${lt_cv_path_LD+set}" = set; then
5156 echo $ECHO_N "(cached) $ECHO_C" >&6
5158 if test -z "$LD"; then
5159 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5160 for ac_dir
in $PATH; do
5161 test -z "$ac_dir" && ac_dir
=.
5162 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5163 lt_cv_path_LD
="$ac_dir/$ac_prog"
5164 # Check to see if the program is GNU ld. I'd rather use --version,
5165 # but apparently some GNU ld's only accept -v.
5166 # Break only if it was the GNU/non-GNU ld that we prefer.
5167 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5168 test "$with_gnu_ld" != no
&& break
5170 test "$with_gnu_ld" != yes && break
5176 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5181 if test -n "$LD"; then
5182 echo "$as_me:$LINENO: result: $LD" >&5
5183 echo "${ECHO_T}$LD" >&6
5185 echo "$as_me:$LINENO: result: no" >&5
5186 echo "${ECHO_T}no" >&6
5188 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5189 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5190 { (exit 1); exit 1; }; }
5191 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5192 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5193 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5194 echo $ECHO_N "(cached) $ECHO_C" >&6
5196 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5197 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5198 lt_cv_prog_gnu_ld
=yes
5200 lt_cv_prog_gnu_ld
=no
5203 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5204 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5205 with_gnu_ld
=$lt_cv_prog_gnu_ld
5208 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5209 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5210 if test "${lt_cv_ld_reload_flag+set}" = set; then
5211 echo $ECHO_N "(cached) $ECHO_C" >&6
5213 lt_cv_ld_reload_flag
='-r'
5215 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5216 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5217 reload_flag
=$lt_cv_ld_reload_flag
5218 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5220 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5221 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5222 if test "${lt_cv_path_NM+set}" = set; then
5223 echo $ECHO_N "(cached) $ECHO_C" >&6
5225 if test -n "$NM"; then
5226 # Let the user override the test.
5229 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5230 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5231 test -z "$ac_dir" && ac_dir
=.
5232 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5233 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5234 # Check to see if the nm accepts a BSD-compat flag.
5235 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5236 # nm: unknown option "B" ignored
5237 # Tru64's nm complains that /dev/null is an invalid object file
5238 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5239 lt_cv_path_NM
="$tmp_nm -B"
5241 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5242 lt_cv_path_NM
="$tmp_nm -p"
5245 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5246 continue # so that we can try to find one that supports BSD flags
5251 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5256 echo "$as_me:$LINENO: result: $NM" >&5
5257 echo "${ECHO_T}$NM" >&6
5259 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5260 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5262 if test "$LN_S" = "ln -s"; then
5263 echo "$as_me:$LINENO: result: yes" >&5
5264 echo "${ECHO_T}yes" >&6
5266 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5267 echo "${ECHO_T}no, using $LN_S" >&6
5270 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5271 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5272 if test "${lt_cv_deplibs_check_method+set}" = set; then
5273 echo $ECHO_N "(cached) $ECHO_C" >&6
5275 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5276 lt_cv_file_magic_test_file
=
5277 lt_cv_deplibs_check_method
='unknown'
5278 # Need to set the preceding variable on all platforms that support
5279 # interlibrary dependencies.
5280 # 'none' -- dependencies not supported.
5281 # `unknown' -- same as none, but documents that we really don't know.
5282 # 'pass_all' -- all dependencies passed with no checks.
5283 # 'test_compile' -- check by making test program.
5284 # 'file_magic [regex]' -- check by looking for files in library path
5285 # which responds to the $file_magic_cmd with a given egrep regex.
5286 # If you have `file' or equivalent on your system and you're not sure
5287 # whether `pass_all' will *always* work, you probably want this one.
5291 lt_cv_deplibs_check_method
=pass_all
5295 lt_cv_deplibs_check_method
=pass_all
5299 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5300 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5301 lt_cv_file_magic_test_file
=/shlib
/libc.so
5304 cygwin
* | mingw
* |pw32
*)
5305 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5306 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5309 darwin
* | rhapsody
*)
5310 # this will be overwritten by pass_all, but leave it in just in case
5311 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5312 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5314 rhapsody
* | darwin1.012
)
5315 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5318 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5321 lt_cv_deplibs_check_method
=pass_all
5324 freebsd
* | kfreebsd
*-gnu)
5325 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5328 # Not sure whether the presence of OpenBSD here was a mistake.
5329 # Let's accept both of them until this is cleared up.
5330 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5331 lt_cv_file_magic_cmd
=/usr
/bin
/file
5332 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5336 lt_cv_deplibs_check_method
=pass_all
5341 lt_cv_deplibs_check_method
=pass_all
5347 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5348 lt_cv_file_magic_cmd
=/usr
/bin
/file
5349 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5352 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5353 lt_cv_file_magic_cmd
=/usr
/bin
/file
5354 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5362 # this will be overridden with pass_all, but let us keep it just in case
5363 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5367 *-32|
*"-32 ") libmagic
=32-bit;;
5368 *-n32|
*"-n32 ") libmagic
=N32
;;
5369 *-64|
*"-64 ") libmagic
=64-bit;;
5370 *) libmagic
=never-match
;;
5372 # this will be overridden with pass_all, but let us keep it just in case
5373 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5376 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5377 lt_cv_deplibs_check_method
=pass_all
5380 # This must be Linux ELF.
5382 lt_cv_deplibs_check_method
=pass_all
5385 netbsd
* | knetbsd
*-gnu)
5386 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5387 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5389 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5394 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5395 lt_cv_file_magic_cmd
=/usr
/bin
/file
5396 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5399 osf3
* | osf4
* | osf5
*)
5400 # this will be overridden with pass_all, but let us keep it just in case
5401 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5402 lt_cv_file_magic_test_file
=/shlib
/libc.so
5403 lt_cv_deplibs_check_method
=pass_all
5407 lt_cv_deplibs_check_method
=pass_all
5411 lt_cv_deplibs_check_method
=pass_all
5412 lt_cv_file_magic_test_file
=/lib
/libc.so
5415 sysv5uw
[78]* | sysv4
*uw2
*)
5416 lt_cv_deplibs_check_method
=pass_all
5419 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5420 case $host_vendor in
5422 lt_cv_deplibs_check_method
=pass_all
5425 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]'
5426 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5433 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5434 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5435 file_magic_cmd
=$lt_cv_file_magic_cmd
5436 deplibs_check_method
=$lt_cv_deplibs_check_method
5440 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5442 # find the maximum length of command line arguments
5443 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5444 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5445 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5446 echo $ECHO_N "(cached) $ECHO_C" >&6
5453 # On DJGPP, this test can blow up pretty badly due to problems in libc
5454 # (any single argument exceeding 2000 bytes causes a buffer overrun
5455 # during glob expansion). Even if it were fixed, the result of this
5456 # check would be larger than it should be.
5457 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5461 # On Win9x/ME, this test blows up -- it succeeds, but takes
5462 # about 5 minutes as the teststring grows exponentially.
5463 # Worse, since 9x/ME are not pre-emptively multitasking,
5464 # you end up with a "frozen" computer, even though with patience
5465 # the test eventually succeeds (with a max line length of 256k).
5466 # Instead, let's just punt: use the minimum linelength reported by
5467 # all of the supported platforms: 8192 (on NT/2K/XP).
5468 lt_cv_sys_max_cmd_len
=8192;
5472 # On AmigaOS with pdksh, this test takes hours, literally.
5473 # So we just punt and use a minimum line length of 8192.
5474 lt_cv_sys_max_cmd_len
=8192;
5477 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5478 # This has been around since 386BSD, at least. Likely further.
5479 if test -x /sbin
/sysctl
; then
5480 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5481 elif test -x /usr
/sbin
/sysctl
; then
5482 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5484 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5486 # And add a safety zone
5487 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5488 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5494 if test -n "$lt_cv_sys_max_cmd_len" ; then
5495 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5496 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5498 echo "$as_me:$LINENO: result: none" >&5
5499 echo "${ECHO_T}none" >&6
5503 # Only perform the check for file, if the check method requires it
5504 case $deplibs_check_method in
5506 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5507 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5508 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5509 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5510 echo $ECHO_N "(cached) $ECHO_C" >&6
5514 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5517 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5520 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5521 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5522 ac_dummy
="/usr/bin:$PATH"
5523 for ac_dir
in $ac_dummy; do
5524 test -z "$ac_dir" && ac_dir
=.
5525 if test -f $ac_dir/${ac_tool_prefix}file; then
5526 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5527 if test -n "$file_magic_test_file"; then
5528 case $deplibs_check_method in
5530 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5531 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5532 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5533 egrep "$file_magic_regex" > /dev
/null
; then
5538 *** Warning: the command libtool uses to detect shared libraries,
5539 *** $file_magic_cmd, produces output that libtool cannot recognize.
5540 *** The result is that libtool may fail to recognize shared libraries
5541 *** as such. This will affect the creation of libtool libraries that
5542 *** depend on shared libraries, but programs linked with such libtool
5543 *** libraries will work regardless of this problem. Nevertheless, you
5544 *** may want to report the problem to your system manager and/or to
5545 *** bug-libtool@gnu.org
5555 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5560 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5561 if test -n "$MAGIC_CMD"; then
5562 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5563 echo "${ECHO_T}$MAGIC_CMD" >&6
5565 echo "$as_me:$LINENO: result: no" >&5
5566 echo "${ECHO_T}no" >&6
5569 if test -z "$lt_cv_path_MAGIC_CMD"; then
5570 if test -n "$ac_tool_prefix"; then
5571 echo "$as_me:$LINENO: checking for file" >&5
5572 echo $ECHO_N "checking for file... $ECHO_C" >&6
5573 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5574 echo $ECHO_N "(cached) $ECHO_C" >&6
5578 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5581 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5584 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5585 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5586 ac_dummy
="/usr/bin:$PATH"
5587 for ac_dir
in $ac_dummy; do
5588 test -z "$ac_dir" && ac_dir
=.
5589 if test -f $ac_dir/file; then
5590 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5591 if test -n "$file_magic_test_file"; then
5592 case $deplibs_check_method in
5594 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5595 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5596 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5597 egrep "$file_magic_regex" > /dev
/null
; then
5602 *** Warning: the command libtool uses to detect shared libraries,
5603 *** $file_magic_cmd, produces output that libtool cannot recognize.
5604 *** The result is that libtool may fail to recognize shared libraries
5605 *** as such. This will affect the creation of libtool libraries that
5606 *** depend on shared libraries, but programs linked with such libtool
5607 *** libraries will work regardless of this problem. Nevertheless, you
5608 *** may want to report the problem to your system manager and/or to
5609 *** bug-libtool@gnu.org
5619 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5624 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5625 if test -n "$MAGIC_CMD"; then
5626 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5627 echo "${ECHO_T}$MAGIC_CMD" >&6
5629 echo "$as_me:$LINENO: result: no" >&5
5630 echo "${ECHO_T}no" >&6
5642 if test -n "$ac_tool_prefix"; then
5643 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5644 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5645 echo "$as_me:$LINENO: checking for $ac_word" >&5
5646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5647 if test "${ac_cv_prog_RANLIB+set}" = set; then
5648 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 if test -n "$RANLIB"; then
5651 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5657 test -z "$as_dir" && as_dir
=.
5658 for ac_exec_ext
in '' $ac_executable_extensions; do
5659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5660 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5669 RANLIB
=$ac_cv_prog_RANLIB
5670 if test -n "$RANLIB"; then
5671 echo "$as_me:$LINENO: result: $RANLIB" >&5
5672 echo "${ECHO_T}$RANLIB" >&6
5674 echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6
5679 if test -z "$ac_cv_prog_RANLIB"; then
5680 ac_ct_RANLIB
=$RANLIB
5681 # Extract the first word of "ranlib", so it can be a program name with args.
5682 set dummy ranlib
; ac_word
=$2
5683 echo "$as_me:$LINENO: checking for $ac_word" >&5
5684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5685 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5688 if test -n "$ac_ct_RANLIB"; then
5689 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5695 test -z "$as_dir" && as_dir
=.
5696 for ac_exec_ext
in '' $ac_executable_extensions; do
5697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5708 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5709 if test -n "$ac_ct_RANLIB"; then
5710 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5711 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5713 echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6
5717 RANLIB
=$ac_ct_RANLIB
5719 RANLIB
="$ac_cv_prog_RANLIB"
5722 if test -n "$ac_tool_prefix"; then
5723 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5724 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5725 echo "$as_me:$LINENO: checking for $ac_word" >&5
5726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5727 if test "${ac_cv_prog_STRIP+set}" = set; then
5728 echo $ECHO_N "(cached) $ECHO_C" >&6
5730 if test -n "$STRIP"; then
5731 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5737 test -z "$as_dir" && as_dir
=.
5738 for ac_exec_ext
in '' $ac_executable_extensions; do
5739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5740 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 STRIP
=$ac_cv_prog_STRIP
5750 if test -n "$STRIP"; then
5751 echo "$as_me:$LINENO: result: $STRIP" >&5
5752 echo "${ECHO_T}$STRIP" >&6
5754 echo "$as_me:$LINENO: result: no" >&5
5755 echo "${ECHO_T}no" >&6
5759 if test -z "$ac_cv_prog_STRIP"; then
5761 # Extract the first word of "strip", so it can be a program name with args.
5762 set dummy strip
; ac_word
=$2
5763 echo "$as_me:$LINENO: checking for $ac_word" >&5
5764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5765 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5766 echo $ECHO_N "(cached) $ECHO_C" >&6
5768 if test -n "$ac_ct_STRIP"; then
5769 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5775 test -z "$as_dir" && as_dir
=.
5776 for ac_exec_ext
in '' $ac_executable_extensions; do
5777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5778 ac_cv_prog_ac_ct_STRIP
="strip"
5779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5788 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5789 if test -n "$ac_ct_STRIP"; then
5790 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5791 echo "${ECHO_T}$ac_ct_STRIP" >&6
5793 echo "$as_me:$LINENO: result: no" >&5
5794 echo "${ECHO_T}no" >&6
5799 STRIP
="$ac_cv_prog_STRIP"
5803 # Check for any special flags to pass to ltconfig.
5804 libtool_flags
="--cache-file=$cache_file"
5805 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5806 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5807 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5808 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5809 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5812 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5813 if test "${enable_libtool_lock+set}" = set; then
5814 enableval
="$enable_libtool_lock"
5817 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5818 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5821 # Check whether --with-pic or --without-pic was given.
5822 if test "${with_pic+set}" = set; then
5828 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5829 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5831 # Some flags need to be propagated to the compiler or linker for good
5835 # Find out which ABI we are using.
5836 echo '#line 5836 "configure"' > conftest.
$ac_ext
5837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5838 (eval $ac_compile) 2>&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); }; then
5842 if test "$lt_cv_prog_gnu_ld" = yes; then
5843 case `/usr/bin/file conftest.$ac_objext` in
5845 LD
="${LD-ld} -melf32bsmip"
5848 LD
="${LD-ld} -melf32bmipn32"
5851 LD
="${LD-ld} -melf64bmip"
5855 case `/usr/bin/file conftest.$ac_objext` in
5872 # Find out which ABI we are using.
5873 echo 'int i;' > conftest.
$ac_ext
5874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5875 (eval $ac_compile) 2>&5
5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 (exit $ac_status); }; then
5879 case "`/usr/bin/file conftest.o`" in
5891 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5892 # Find out which ABI we are using.
5893 echo 'int i;' > conftest.
$ac_ext
5894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5895 (eval $ac_compile) 2>&5
5897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5898 (exit $ac_status); }; then
5899 case "`/usr/bin/file conftest.o`" in
5903 LD
="${LD-ld} -m elf_i386"
5905 ppc64-
*linux
*|powerpc64-
*linux
*)
5906 LD
="${LD-ld} -m elf32ppclinux"
5909 LD
="${LD-ld} -m elf_s390"
5912 LD
="${LD-ld} -m elf32_sparc"
5919 LD
="${LD-ld} -m elf_x86_64"
5921 ppc
*-*linux
*|powerpc
*-*linux
*)
5922 LD
="${LD-ld} -m elf64ppc"
5925 LD
="${LD-ld} -m elf64_s390"
5928 LD
="${LD-ld} -m elf64_sparc"
5938 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5939 SAVE_CFLAGS
="$CFLAGS"
5940 CFLAGS
="$CFLAGS -belf"
5941 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5942 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5943 if test "${lt_cv_cc_needs_belf+set}" = set; then
5944 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 ac_cpp
='$CPP $CPPFLAGS'
5950 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5951 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5952 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5954 cat >conftest.
$ac_ext <<_ACEOF
5957 cat confdefs.h
>>conftest.
$ac_ext
5958 cat >>conftest.
$ac_ext <<_ACEOF
5959 /* end confdefs.h. */
5969 rm -f conftest.
$ac_objext conftest
$ac_exeext
5970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5971 (eval $ac_link) 2>conftest.er1
5973 grep -v '^ *+' conftest.er1
>conftest.err
5975 cat conftest.err
>&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); } &&
5978 { ac_try
='test -z "$ac_c_werror_flag"
5979 || test ! -s conftest.err'
5980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5984 (exit $ac_status); }; } &&
5985 { ac_try
='test -s conftest$ac_exeext'
5986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990 (exit $ac_status); }; }; then
5991 lt_cv_cc_needs_belf
=yes
5993 echo "$as_me: failed program was:" >&5
5994 sed 's/^/| /' conftest.
$ac_ext >&5
5996 lt_cv_cc_needs_belf
=no
5998 rm -f conftest.err conftest.
$ac_objext \
5999 conftest
$ac_exeext conftest.
$ac_ext
6001 ac_cpp
='$CPP $CPPFLAGS'
6002 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6003 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6004 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6007 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6008 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6009 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6010 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6011 CFLAGS
="$SAVE_CFLAGS"
6019 # Save cache, so that ltconfig can load it
6020 cat >confcache
<<\_ACEOF
6021 # This file is a shell script that caches the results of configure
6022 # tests run on this system so they can be shared between configure
6023 # scripts and configure runs, see configure's option --config-cache.
6024 # It is not useful on other systems. If it contains results you don't
6025 # want to keep, you may remove or edit it.
6027 # config.status only pays attention to the cache file if you give it
6028 # the --recheck option to rerun configure.
6030 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6031 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6036 # The following way of writing the cache mishandles newlines in values,
6037 # but we know of no workaround that is simple, portable, and efficient.
6038 # So, don't put newlines in cache variables' values.
6039 # Ultrix sh set writes to stderr and can't be redirected directly,
6040 # and sets the high bit in the cache file unless we assign to the vars.
6043 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6045 # `set' does not quote correctly, so add quotes (double-quote
6046 # substitution turns \\\\ into \\, and sed turns \\ into \).
6049 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6052 # `set' quotes correctly as required by POSIX, so do not add quotes.
6054 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6061 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6063 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6065 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6066 if test -w $cache_file; then
6067 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6068 cat confcache
>$cache_file
6070 echo "not updating unwritable cache $cache_file"
6075 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6076 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
6077 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6078 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6079 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6080 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6081 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
6082 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
6083 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
6084 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6085 echo "$as_me: error: libtool configure failed" >&2;}
6086 { (exit 1); exit 1; }; }
6088 # Reload cache, that may have been modified by ltconfig
6089 if test -r "$cache_file"; then
6090 # Some versions of bash will fail to source /dev/null (special
6091 # files actually), so we avoid doing that.
6092 if test -f "$cache_file"; then
6093 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6094 echo "$as_me: loading cache $cache_file" >&6;}
6096 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
6097 *) . .
/$cache_file;;
6101 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6102 echo "$as_me: creating cache $cache_file" >&6;}
6107 # This can be used to rebuild libtool when needed
6108 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6110 # Always use our own libtool.
6111 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6113 # Redirect the config.log output again, so that the ltconfig log is not
6114 # clobbered by the next message.
6115 exec 5>>.
/config.log
6125 if test "${ac_cv_header_stdint_h+set}" = set; then
6126 echo "$as_me:$LINENO: checking for stdint.h" >&5
6127 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
6128 if test "${ac_cv_header_stdint_h+set}" = set; then
6129 echo $ECHO_N "(cached) $ECHO_C" >&6
6131 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
6132 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
6134 # Is the header compilable?
6135 echo "$as_me:$LINENO: checking stdint.h usability" >&5
6136 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6
6137 cat >conftest.
$ac_ext <<_ACEOF
6140 cat confdefs.h
>>conftest.
$ac_ext
6141 cat >>conftest.
$ac_ext <<_ACEOF
6142 /* end confdefs.h. */
6143 $ac_includes_default
6146 rm -f conftest.
$ac_objext
6147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6148 (eval $ac_compile) 2>conftest.er1
6150 grep -v '^ *+' conftest.er1
>conftest.err
6152 cat conftest.err
>&5
6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); } &&
6155 { ac_try
='test -z "$ac_c_werror_flag"
6156 || test ! -s conftest.err'
6157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161 (exit $ac_status); }; } &&
6162 { ac_try
='test -s conftest.$ac_objext'
6163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); }; }; then
6168 ac_header_compiler
=yes
6170 echo "$as_me: failed program was:" >&5
6171 sed 's/^/| /' conftest.
$ac_ext >&5
6173 ac_header_compiler
=no
6175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6176 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6177 echo "${ECHO_T}$ac_header_compiler" >&6
6179 # Is the header present?
6180 echo "$as_me:$LINENO: checking stdint.h presence" >&5
6181 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6
6182 cat >conftest.
$ac_ext <<_ACEOF
6185 cat confdefs.h
>>conftest.
$ac_ext
6186 cat >>conftest.
$ac_ext <<_ACEOF
6187 /* end confdefs.h. */
6190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6191 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6193 grep -v '^ *+' conftest.er1
>conftest.err
6195 cat conftest.err
>&5
6196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); } >/dev
/null
; then
6198 if test -s conftest.err
; then
6199 ac_cpp_err
=$ac_c_preproc_warn_flag
6200 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6207 if test -z "$ac_cpp_err"; then
6208 ac_header_preproc
=yes
6210 echo "$as_me: failed program was:" >&5
6211 sed 's/^/| /' conftest.
$ac_ext >&5
6213 ac_header_preproc
=no
6215 rm -f conftest.err conftest.
$ac_ext
6216 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6217 echo "${ECHO_T}$ac_header_preproc" >&6
6219 # So? What about this header?
6220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6222 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
6223 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6224 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5
6225 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;}
6226 ac_header_preproc
=yes
6229 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
6230 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
6231 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5
6232 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;}
6233 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5
6234 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;}
6235 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5
6236 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;}
6237 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
6238 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
6239 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5
6240 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;}
6243 ## ------------------------------------- ##
6244 ## Report this to the libmudflap lists. ##
6245 ## ------------------------------------- ##
6248 sed "s/^/$as_me: WARNING: /" >&2
6251 echo "$as_me:$LINENO: checking for stdint.h" >&5
6252 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
6253 if test "${ac_cv_header_stdint_h+set}" = set; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6256 ac_cv_header_stdint_h
=$ac_header_preproc
6258 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
6259 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
6262 if test $ac_cv_header_stdint_h = yes; then
6270 if test $MF_HAVE_STDINT_H = 1
6274 cat >conftest.
$ac_ext <<_ACEOF
6277 cat confdefs.h
>>conftest.
$ac_ext
6278 cat >>conftest.
$ac_ext <<_ACEOF
6279 /* end confdefs.h. */
6280 #include <sys/types.h>
6289 rm -f conftest.
$ac_objext
6290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6291 (eval $ac_compile) 2>conftest.er1
6293 grep -v '^ *+' conftest.er1
>conftest.err
6295 cat conftest.err
>&5
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297 (exit $ac_status); } &&
6298 { ac_try
='test -z "$ac_c_werror_flag"
6299 || test ! -s conftest.err'
6300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6304 (exit $ac_status); }; } &&
6305 { ac_try
='test -s conftest.$ac_objext'
6306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6310 (exit $ac_status); }; }; then
6313 echo "$as_me: failed program was:" >&5
6314 sed 's/^/| /' conftest.
$ac_ext >&5
6318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6324 # libmudflapth objects are built in this subdirectory
6329 for ac_header
in pthread.h
6331 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6333 echo "$as_me:$LINENO: checking for $ac_header" >&5
6334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6336 echo $ECHO_N "(cached) $ECHO_C" >&6
6338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6341 # Is the header compilable?
6342 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6344 cat >conftest.
$ac_ext <<_ACEOF
6347 cat confdefs.h
>>conftest.
$ac_ext
6348 cat >>conftest.
$ac_ext <<_ACEOF
6349 /* end confdefs.h. */
6350 $ac_includes_default
6351 #include <$ac_header>
6353 rm -f conftest.
$ac_objext
6354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6355 (eval $ac_compile) 2>conftest.er1
6357 grep -v '^ *+' conftest.er1
>conftest.err
6359 cat conftest.err
>&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); } &&
6362 { ac_try
='test -z "$ac_c_werror_flag"
6363 || test ! -s conftest.err'
6364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); }; } &&
6369 { ac_try
='test -s conftest.$ac_objext'
6370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); }; }; then
6375 ac_header_compiler
=yes
6377 echo "$as_me: failed program was:" >&5
6378 sed 's/^/| /' conftest.
$ac_ext >&5
6380 ac_header_compiler
=no
6382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6384 echo "${ECHO_T}$ac_header_compiler" >&6
6386 # Is the header present?
6387 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6388 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6389 cat >conftest.
$ac_ext <<_ACEOF
6392 cat confdefs.h
>>conftest.
$ac_ext
6393 cat >>conftest.
$ac_ext <<_ACEOF
6394 /* end confdefs.h. */
6395 #include <$ac_header>
6397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6398 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6400 grep -v '^ *+' conftest.er1
>conftest.err
6402 cat conftest.err
>&5
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); } >/dev
/null
; then
6405 if test -s conftest.err
; then
6406 ac_cpp_err
=$ac_c_preproc_warn_flag
6407 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6414 if test -z "$ac_cpp_err"; then
6415 ac_header_preproc
=yes
6417 echo "$as_me: failed program was:" >&5
6418 sed 's/^/| /' conftest.
$ac_ext >&5
6420 ac_header_preproc
=no
6422 rm -f conftest.err conftest.
$ac_ext
6423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6424 echo "${ECHO_T}$ac_header_preproc" >&6
6426 # So? What about this header?
6427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6429 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6430 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6432 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6433 ac_header_preproc
=yes
6436 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6437 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6438 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6439 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6440 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6441 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6442 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6443 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6445 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6446 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6447 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6450 ## ------------------------------------- ##
6451 ## Report this to the libmudflap lists. ##
6452 ## ------------------------------------- ##
6455 sed "s/^/$as_me: WARNING: /" >&2
6458 echo "$as_me:$LINENO: checking for $ac_header" >&5
6459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6461 echo $ECHO_N "(cached) $ECHO_C" >&6
6463 eval "$as_ac_Header=\$ac_header_preproc"
6465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6470 cat >>confdefs.h
<<_ACEOF
6471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6479 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
6480 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
6481 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
6482 echo "$as_me:$LINENO: result: $target_thread_file" >&5
6483 echo "${ECHO_T}$target_thread_file" >&6
6485 # We only support posix threads, or no threads at all.
6487 case ${target_thread_file} in
6494 echo "${target_thread_file} is an unsupported thread package" 1>&2
6501 if test "x$posix_threads" != "x"; then
6503 LIBMUDFLAPTH_FALSE
='#'
6505 LIBMUDFLAPTH_TRUE
='#'
6509 if test "x$posix_threads" != "x"
6511 build_libmudflapth
=1
6513 build_libmudflapth
=0
6518 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
6519 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
6520 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
6521 echo $ECHO_N "(cached) $ECHO_C" >&6
6523 ac_check_lib_save_LIBS
=$LIBS
6525 cat >conftest.
$ac_ext <<_ACEOF
6528 cat confdefs.h
>>conftest.
$ac_ext
6529 cat >>conftest.
$ac_ext <<_ACEOF
6530 /* end confdefs.h. */
6532 /* Override any gcc2 internal prototype to avoid an error. */
6536 /* We use char because int might match the return type of a gcc2
6537 builtin and then its argument prototype would still apply. */
6547 rm -f conftest.
$ac_objext conftest
$ac_exeext
6548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6549 (eval $ac_link) 2>conftest.er1
6551 grep -v '^ *+' conftest.er1
>conftest.err
6553 cat conftest.err
>&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); } &&
6556 { ac_try
='test -z "$ac_c_werror_flag"
6557 || test ! -s conftest.err'
6558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); }; } &&
6563 { ac_try
='test -s conftest$ac_exeext'
6564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); }; }; then
6569 ac_cv_lib_dl_dlsym
=yes
6571 echo "$as_me: failed program was:" >&5
6572 sed 's/^/| /' conftest.
$ac_ext >&5
6574 ac_cv_lib_dl_dlsym
=no
6576 rm -f conftest.err conftest.
$ac_objext \
6577 conftest
$ac_exeext conftest.
$ac_ext
6578 LIBS
=$ac_check_lib_save_LIBS
6580 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
6581 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
6582 if test $ac_cv_lib_dl_dlsym = yes; then
6583 cat >>confdefs.h
<<_ACEOF
6584 #define HAVE_LIBDL 1
6592 # Calculate toolexeclibdir
6593 # Also toolexecdir, though it's only used in toolexeclibdir
6594 case ${version_specific_libs} in
6596 # Need the gcc compiler version to know where to install libraries
6597 # and header files if --enable-version-specific-runtime-libs option
6599 toolexecdir
='$(libdir)/gcc/$(target_alias)'
6600 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
6603 if test -n "$with_cross_host" &&
6604 test x
"$with_cross_host" != x
"no"; then
6605 # Install a library built with a cross compiler in tooldir, not libdir.
6606 toolexecdir
='$(exec_prefix)/$(target_alias)'
6607 toolexeclibdir
='$(toolexecdir)/lib'
6609 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
6610 toolexeclibdir
='$(libdir)'
6612 multi_os_directory
=`$CC -print-multi-os-directory`
6613 case $multi_os_directory in
6614 .
) ;; # Avoid trailing /.
6615 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
6622 pthread_create_version
='""'
6623 if test "x$enable_shared" = "xyes" && test "x$posix_threads" != "x"; then
6624 # NB: don't check for -lpthread here, because then it would be
6625 # added to LIBS. For the thread-unaware libmudflap.la, we don't
6628 # glibc-related hacks. dlsym() may pick the wrong version of
6629 # interposed functions like pthread_create on modern glibc.
6630 # We need to find the proper symbol version string, and use
6631 # the nonstandard dlvsym().
6633 for ac_func
in dlvsym
6635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6636 echo "$as_me:$LINENO: checking for $ac_func" >&5
6637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6638 if eval "test \"\${$as_ac_var+set}\" = set"; then
6639 echo $ECHO_N "(cached) $ECHO_C" >&6
6641 cat >conftest.
$ac_ext <<_ACEOF
6644 cat confdefs.h
>>conftest.
$ac_ext
6645 cat >>conftest.
$ac_ext <<_ACEOF
6646 /* end confdefs.h. */
6647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6649 #define $ac_func innocuous_$ac_func
6651 /* System header to define __stub macros and hopefully few prototypes,
6652 which can conflict with char $ac_func (); below.
6653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6654 <limits.h> exists even on freestanding compilers. */
6657 # include <limits.h>
6659 # include <assert.h>
6664 /* Override any gcc2 internal prototype to avoid an error. */
6669 /* We use char because int might match the return type of a gcc2
6670 builtin and then its argument prototype would still apply. */
6672 /* The GNU C library defines this for functions which it implements
6673 to always fail with ENOSYS. Some functions are actually named
6674 something starting with __ and the normal name is an alias. */
6675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6678 char (*f) () = $ac_func;
6687 return f != $ac_func;
6692 rm -f conftest.
$ac_objext conftest
$ac_exeext
6693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6694 (eval $ac_link) 2>conftest.er1
6696 grep -v '^ *+' conftest.er1
>conftest.err
6698 cat conftest.err
>&5
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); } &&
6701 { ac_try
='test -z "$ac_c_werror_flag"
6702 || test ! -s conftest.err'
6703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); }; } &&
6708 { ac_try
='test -s conftest$ac_exeext'
6709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6713 (exit $ac_status); }; }; then
6714 eval "$as_ac_var=yes"
6716 echo "$as_me: failed program was:" >&5
6717 sed 's/^/| /' conftest.
$ac_ext >&5
6719 eval "$as_ac_var=no"
6721 rm -f conftest.err conftest.
$ac_objext \
6722 conftest
$ac_exeext conftest.
$ac_ext
6724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6726 if test `eval echo '${'$as_ac_var'}'` = yes; then
6727 cat >>confdefs.h
<<_ACEOF
6728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6734 if test -n "$ac_tool_prefix"; then
6735 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
6736 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
6737 echo "$as_me:$LINENO: checking for $ac_word" >&5
6738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6739 if test "${ac_cv_prog_NM+set}" = set; then
6740 echo $ECHO_N "(cached) $ECHO_C" >&6
6742 if test -n "$NM"; then
6743 ac_cv_prog_NM
="$NM" # Let the user override the test.
6745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6749 test -z "$as_dir" && as_dir
=.
6750 for ac_exec_ext
in '' $ac_executable_extensions; do
6751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6752 ac_cv_prog_NM
="${ac_tool_prefix}nm"
6753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6762 if test -n "$NM"; then
6763 echo "$as_me:$LINENO: result: $NM" >&5
6764 echo "${ECHO_T}$NM" >&6
6766 echo "$as_me:$LINENO: result: no" >&5
6767 echo "${ECHO_T}no" >&6
6771 if test -z "$ac_cv_prog_NM"; then
6773 # Extract the first word of "nm", so it can be a program name with args.
6774 set dummy nm
; ac_word
=$2
6775 echo "$as_me:$LINENO: checking for $ac_word" >&5
6776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6777 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
6778 echo $ECHO_N "(cached) $ECHO_C" >&6
6780 if test -n "$ac_ct_NM"; then
6781 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
6783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6787 test -z "$as_dir" && as_dir
=.
6788 for ac_exec_ext
in '' $ac_executable_extensions; do
6789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6790 ac_cv_prog_ac_ct_NM
="nm"
6791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6799 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
6800 if test -n "$ac_ct_NM"; then
6801 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
6802 echo "${ECHO_T}$ac_ct_NM" >&6
6804 echo "$as_me:$LINENO: result: no" >&5
6805 echo "${ECHO_T}no" >&6
6813 if test "x$ac_cv_have_dlvsym" != "x"; then
6814 # Try compiling a simple pthreads program. Find the shared libraries it
6815 # ends up with. Then use "nm" on those libraries to extract the
6816 # default symbol versioning suffix ("@@"), if any. But that's tricky.
6817 # Rather, run nm on the resulting executable. Unfortunately, autoconf
6818 # doesn't appear to have a macro that builds a test executable for
6819 # subsequent analysis ... so we do it by hand here.
6820 cat >> conftest.c
<< EOF
6821 #include <pthread.h>
6822 int main () { void *p = (void *) & pthread_create; return (int) p; }
6825 LIBS
="$LIBS -lpthread"
6826 pthread_create_version
="\"\""
6827 echo "$as_me:$LINENO: checking pthread_create symbol version" >&5
6828 echo $ECHO_N "checking pthread_create symbol version... $ECHO_C" >&6
6829 if eval $ac_link 2>&5 && test -s conftest
${ac_exeext}; then
6830 version
=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
6831 if test "x$version" != "x"; then
6832 pthread_create_version
="\"$version\""
6835 echo "$as_me:$LINENO: result: $pthread_create_version" >&5
6836 echo "${ECHO_T}$pthread_create_version" >&6
6841 cat >>confdefs.h
<<_ACEOF
6842 #define PTHREAD_CREATE_VERSION $pthread_create_version
6847 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6848 # similarly to how libstdc++ does it
6849 ac_test_CFLAGS
="${CFLAGS+set}"
6850 ac_save_CFLAGS
="$CFLAGS"
6852 # Check for -ffunction-sections -fdata-sections
6853 echo "$as_me:$LINENO: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6854 echo $ECHO_N "checking for gcc that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
6855 CFLAGS
='-Werror -ffunction-sections -fdata-sections'
6856 cat >conftest.
$ac_ext <<_ACEOF
6859 cat confdefs.h
>>conftest.
$ac_ext
6860 cat >>conftest.
$ac_ext <<_ACEOF
6861 /* end confdefs.h. */
6871 rm -f conftest.
$ac_objext
6872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6873 (eval $ac_compile) 2>conftest.er1
6875 grep -v '^ *+' conftest.er1
>conftest.err
6877 cat conftest.err
>&5
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); } &&
6880 { ac_try
='test -z "$ac_c_werror_flag"
6881 || test ! -s conftest.err'
6882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); }; } &&
6887 { ac_try
='test -s conftest.$ac_objext'
6888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6892 (exit $ac_status); }; }; then
6895 echo "$as_me: failed program was:" >&5
6896 sed 's/^/| /' conftest.
$ac_ext >&5
6900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6901 if test "$ac_test_CFLAGS" = set; then
6902 CFLAGS
="$ac_save_CFLAGS"
6904 # this is the suspicious part
6907 if test x
"$ac_fdsections" = x
"yes"; then
6908 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
6910 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
6911 echo "${ECHO_T}$ac_fdsections" >&6
6915 # Check for the name of the symbol used for the entry point.
6916 echo "$as_me:$LINENO: checking for the name of the symbol used for the entry point" >&5
6917 echo $ECHO_N "checking for the name of the symbol used for the entry point... $ECHO_C" >&6
6918 if test "${mudflap_cv_entry_point+set}" = set; then
6919 echo $ECHO_N "(cached) $ECHO_C" >&6
6922 for name
in _start __start unknown
; do
6923 cat >conftest.
$ac_ext <<_ACEOF
6926 cat confdefs.h
>>conftest.
$ac_ext
6927 cat >>conftest.
$ac_ext <<_ACEOF
6928 /* end confdefs.h. */
6929 extern char $name[];
6938 rm -f conftest.
$ac_objext conftest
$ac_exeext
6939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6940 (eval $ac_link) 2>conftest.er1
6942 grep -v '^ *+' conftest.er1
>conftest.err
6944 cat conftest.err
>&5
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); } &&
6947 { ac_try
='test -z "$ac_c_werror_flag"
6948 || test ! -s conftest.err'
6949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); }; } &&
6954 { ac_try
='test -s conftest$ac_exeext'
6955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); }; }; then
6962 echo "$as_me: failed program was:" >&5
6963 sed 's/^/| /' conftest.
$ac_ext >&5
6966 rm -f conftest.err conftest.
$ac_objext \
6967 conftest
$ac_exeext conftest.
$ac_ext
6969 mudflap_cv_entry_point
="$name"
6971 echo "$as_me:$LINENO: result: $mudflap_cv_entry_point" >&5
6972 echo "${ECHO_T}$mudflap_cv_entry_point" >&6
6973 if test "$mudflap_cv_entry_point" = unknown
; then
6974 { { echo "$as_me:$LINENO: error: none of the known symbol names works" >&5
6975 echo "$as_me: error: none of the known symbol names works" >&2;}
6976 { (exit 1); exit 1; }; }
6979 cat >>confdefs.h
<<_ACEOF
6980 #define ENTRY_POINT $mudflap_cv_entry_point
6985 if test ${multilib} = yes; then
6986 multilib_arg
="--enable-multilib"
6991 # See if we support thread-local storage.
6993 # Check whether --enable-tls or --disable-tls was given.
6994 if test "${enable_tls+set}" = set; then
6995 enableval
="$enable_tls"
6997 case "$enableval" in
6999 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
7000 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
7001 { (exit 1); exit 1; }; } ;;
7008 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
7009 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
7010 if test "${have_tls+set}" = set; then
7011 echo $ECHO_N "(cached) $ECHO_C" >&6
7014 if test "$cross_compiling" = yes; then
7015 cat >conftest.
$ac_ext <<_ACEOF
7018 rm -f conftest.
$ac_objext
7019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7020 (eval $ac_compile) 2>conftest.er1
7022 grep -v '^ *+' conftest.er1
>conftest.err
7024 cat conftest.err
>&5
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); } &&
7027 { ac_try
='test -z "$ac_c_werror_flag"
7028 || test ! -s conftest.err'
7029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 (exit $ac_status); }; } &&
7034 { ac_try
='test -s conftest.$ac_objext'
7035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7039 (exit $ac_status); }; }; then
7042 echo "$as_me: failed program was:" >&5
7043 sed 's/^/| /' conftest.
$ac_ext >&5
7047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7050 cat >conftest.
$ac_ext <<_ACEOF
7051 __thread int a; int b; int main() { return a = b; }
7053 rm -f conftest
$ac_exeext
7054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7055 (eval $ac_link) 2>&5
7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); }; }; then
7064 save_LDFLAGS
="$LDFLAGS"
7065 LDFLAGS
="-static $LDFLAGS"
7066 if test "$cross_compiling" = yes; then
7067 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7068 See \`config.log' for more details." >&5
7069 echo "$as_me: error: cannot run test program while cross compiling
7070 See \`config.log' for more details." >&2;}
7071 { (exit 1); exit 1; }; }
7073 cat >conftest.
$ac_ext <<_ACEOF
7074 __thread int a; int b; int main() { return a = b; }
7076 rm -f conftest
$ac_exeext
7077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7078 (eval $ac_link) 2>&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); }; }; then
7089 echo "$as_me: program exited with status $ac_status" >&5
7090 echo "$as_me: failed program was:" >&5
7091 sed 's/^/| /' conftest.
$ac_ext >&5
7096 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7098 LDFLAGS
="$save_LDFLAGS"
7100 echo "$as_me: program exited with status $ac_status" >&5
7101 echo "$as_me: failed program was:" >&5
7102 sed 's/^/| /' conftest.
$ac_ext >&5
7107 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7110 echo "$as_me:$LINENO: result: $have_tls" >&5
7111 echo "${ECHO_T}$have_tls" >&6
7112 if test "$enable_tls $have_tls" = "yes yes"; then
7114 cat >>confdefs.h
<<\_ACEOF
7120 ac_config_files
="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp"
7122 cat >confcache
<<\_ACEOF
7123 # This file is a shell script that caches the results of configure
7124 # tests run on this system so they can be shared between configure
7125 # scripts and configure runs, see configure's option --config-cache.
7126 # It is not useful on other systems. If it contains results you don't
7127 # want to keep, you may remove or edit it.
7129 # config.status only pays attention to the cache file if you give it
7130 # the --recheck option to rerun configure.
7132 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7133 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7138 # The following way of writing the cache mishandles newlines in values,
7139 # but we know of no workaround that is simple, portable, and efficient.
7140 # So, don't put newlines in cache variables' values.
7141 # Ultrix sh set writes to stderr and can't be redirected directly,
7142 # and sets the high bit in the cache file unless we assign to the vars.
7145 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7147 # `set' does not quote correctly, so add quotes (double-quote
7148 # substitution turns \\\\ into \\, and sed turns \\ into \).
7151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7154 # `set' quotes correctly as required by POSIX, so do not add quotes.
7156 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7163 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7165 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7167 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7168 if test -w $cache_file; then
7169 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7170 cat confcache
>$cache_file
7172 echo "not updating unwritable cache $cache_file"
7177 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7178 # Let make expand exec_prefix.
7179 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7181 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7182 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7183 # trailing colons and then remove the whole line if VPATH becomes empty
7184 # (actually we leave an empty line to preserve line numbers).
7185 if test "x$srcdir" = x.
; then
7186 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7187 s/:*\$(srcdir):*/:/;
7188 s/:*\${srcdir}:*/:/;
7190 s/^\([^=]*=[ ]*\):*/\1/;
7196 DEFS
=-DHAVE_CONFIG_H
7200 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7201 # 1. Remove the extension, and $U if already installed.
7202 ac_i
=`echo "$ac_i" |
7203 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7205 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7206 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7210 LTLIBOBJS
=$ac_ltlibobjs
7213 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7214 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7215 Usually this means the macro was only invoked conditionally." >&5
7216 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7217 Usually this means the macro was only invoked conditionally." >&2;}
7218 { (exit 1); exit 1; }; }
7220 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7221 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7222 Usually this means the macro was only invoked conditionally." >&5
7223 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7224 Usually this means the macro was only invoked conditionally." >&2;}
7225 { (exit 1); exit 1; }; }
7227 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7228 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7229 Usually this means the macro was only invoked conditionally." >&5
7230 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7231 Usually this means the macro was only invoked conditionally." >&2;}
7232 { (exit 1); exit 1; }; }
7234 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
7235 { { echo "$as_me:$LINENO: error: conditional \"LIBMUDFLAPTH\" was never defined.
7236 Usually this means the macro was only invoked conditionally." >&5
7237 echo "$as_me: error: conditional \"LIBMUDFLAPTH\" was never defined.
7238 Usually this means the macro was only invoked conditionally." >&2;}
7239 { (exit 1); exit 1; }; }
7242 : ${CONFIG_STATUS=./config.status}
7243 ac_clean_files_save
=$ac_clean_files
7244 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7245 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7246 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7247 cat >$CONFIG_STATUS <<_ACEOF
7249 # Generated by $as_me.
7250 # Run this file to recreate the current configuration.
7251 # Compiler output produced by configure, useful for debugging
7252 # configure, is in config.log if it exists.
7257 SHELL=\${CONFIG_SHELL-$SHELL}
7260 cat >>$CONFIG_STATUS <<\_ACEOF
7261 ## --------------------- ##
7262 ## M4sh Initialization. ##
7263 ## --------------------- ##
7265 # Be Bourne compatible
7266 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7269 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7270 # is contrary to our usage. Disable this feature.
7271 alias -g '${1+"$@"}'='"$@"'
7272 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7275 DUALCASE
=1; export DUALCASE
# for MKS sh
7277 # Support unset when possible.
7278 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7285 # Work around bugs in pre-3.0 UWIN ksh.
7286 $as_unset ENV MAIL MAILPATH
7293 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7294 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7295 LC_TELEPHONE LC_TIME
7297 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7298 eval $as_var=C
; export $as_var
7304 # Required to use basename.
7305 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7311 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7312 as_basename
=basename
7318 # Name of the executable.
7319 as_me
=`$as_basename "$0" ||
7320 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7321 X"$0" : 'X\(//\)$' \| \
7322 X"$0" : 'X\(/\)$' \| \
7323 . : '\(.\)' 2>/dev/null ||
7325 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7326 /^X\/\(\/\/\)$/{ s//\1/; q; }
7327 /^X\/\(\/\).*/{ s//\1/; q; }
7331 # PATH needs CR, and LINENO needs CR and PATH.
7332 # Avoid depending upon Character Ranges.
7333 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7334 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7335 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7336 as_cr_digits
='0123456789'
7337 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7339 # The user is always right.
7340 if test "${PATH_SEPARATOR+set}" != set; then
7341 echo "#! /bin/sh" >conf$$.sh
7342 echo "exit 0" >>conf$$.sh
7344 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7355 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7356 test "x$as_lineno_1" != "x$as_lineno_2" &&
7357 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7358 # Find who we are. Look in the path if we contain no path at all
7361 *[\\/]* ) as_myself
=$0 ;;
7362 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7366 test -z "$as_dir" && as_dir
=.
7367 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7372 # We did not find ourselves, most probably we were run as `sh COMMAND'
7373 # in which case we are not to be found in the path.
7374 if test "x$as_myself" = x
; then
7377 if test ! -f "$as_myself"; then
7378 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7379 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7380 { (exit 1); exit 1; }; }
7382 case $CONFIG_SHELL in
7384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7385 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7388 test -z "$as_dir" && as_dir
=.
7389 for as_base
in sh bash ksh sh5
; do
7392 if ("$as_dir/$as_base" -c '
7395 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7396 test "x$as_lineno_1" != "x$as_lineno_2" &&
7397 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7398 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7399 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7400 CONFIG_SHELL
=$as_dir/$as_base
7402 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7410 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7411 # uniformly replaced by the line number. The first 'sed' inserts a
7412 # line-number line before each line; the second 'sed' does the real
7413 # work. The second script uses 'N' to pair each line-number line
7414 # with the numbered line, and appends trailing '-' during
7415 # substitution so that $LINENO is not a special case at line end.
7416 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7417 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7418 sed '=' <$as_myself |
7423 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7426 s,^['$as_cr_digits']*\n,,
7428 chmod +x
$as_me.lineno ||
7429 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7430 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7431 { (exit 1); exit 1; }; }
7433 # Don't try to exec as it changes $[0], causing all sort of problems
7434 # (the dirname of $[0] is not the place where we might find the
7435 # original and so on. Autoconf is especially sensible to this).
7437 # Exit status is that of the last command.
7442 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7443 *c
*,-n*) ECHO_N
= ECHO_C
='
7445 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7446 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7449 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7455 rm -f conf$$ conf$$.exe conf$$.
file
7457 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7458 # We could just check for DJGPP; but this test a) works b) is more generic
7459 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7460 if test -f conf$$.exe
; then
7461 # Don't use ln at all; we don't have any links
7466 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7471 rm -f conf$$ conf$$.exe conf$$.
file
7473 if mkdir
-p .
2>/dev
/null
; then
7476 test -d .
/-p && rmdir .
/-p
7480 as_executable_p
="test -f"
7482 # Sed expression to map a string onto a valid CPP name.
7483 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7485 # Sed expression to map a string onto a valid variable name.
7486 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7490 # We need space, tab and new line, in precisely that order.
7500 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7501 # report actual input values of CONFIG_FILES etc. instead of their
7502 # values after options handling. Logging --version etc. is OK.
7506 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7507 ## Running $as_me. ##
7512 This file was extended by libmudflap $as_me 1.0, which was
7513 generated by GNU Autoconf 2.59. Invocation command line was
7515 CONFIG_FILES = $CONFIG_FILES
7516 CONFIG_HEADERS = $CONFIG_HEADERS
7517 CONFIG_LINKS = $CONFIG_LINKS
7518 CONFIG_COMMANDS = $CONFIG_COMMANDS
7522 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7526 # Files that config.status was made for.
7527 if test -n "$ac_config_files"; then
7528 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7531 if test -n "$ac_config_headers"; then
7532 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7535 if test -n "$ac_config_links"; then
7536 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7539 if test -n "$ac_config_commands"; then
7540 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7543 cat >>$CONFIG_STATUS <<\_ACEOF
7546 \`$as_me' instantiates files from templates according to the
7547 current configuration.
7549 Usage: $0 [OPTIONS] [FILE]...
7551 -h, --help print this help, then exit
7552 -V, --version print version number, then exit
7553 -q, --quiet do not print progress messages
7554 -d, --debug don't remove temporary files
7555 --recheck update $as_me by reconfiguring in the same conditions
7556 --file=FILE[:TEMPLATE]
7557 instantiate the configuration file FILE
7558 --header=FILE[:TEMPLATE]
7559 instantiate the configuration header FILE
7561 Configuration files:
7564 Configuration headers:
7567 Configuration commands:
7570 Report bugs to <bug-autoconf@gnu.org>."
7573 cat >>$CONFIG_STATUS <<_ACEOF
7575 libmudflap config.status 1.0
7576 configured by $0, generated by GNU Autoconf 2.59,
7577 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7579 Copyright (C) 2003 Free Software Foundation, Inc.
7580 This config.status script is free software; the Free Software Foundation
7581 gives unlimited permission to copy, distribute and modify it."
7586 cat >>$CONFIG_STATUS <<\_ACEOF
7587 # If no file are specified by the user, then we need to provide default
7588 # value. By we need to know if files were specified by the user.
7594 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7595 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7603 *) # This is not an option, so the user has probably given explicit
7606 ac_need_defaults
=false
;;
7610 # Handling of the options.
7612 cat >>$CONFIG_STATUS <<\_ACEOF
7613 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7615 --version |
--vers* |
-V )
7616 echo "$ac_cs_version"; exit 0 ;;
7618 # Conflict between --help and --header
7619 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7620 Try \`$0 --help' for more information." >&5
7621 echo "$as_me: error: ambiguous option: $1
7622 Try \`$0 --help' for more information." >&2;}
7623 { (exit 1); exit 1; }; };;
7624 --help |
--hel |
-h )
7625 echo "$ac_cs_usage"; exit 0 ;;
7626 --debug |
--d* |
-d )
7628 --file |
--fil |
--fi |
--f )
7630 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7631 ac_need_defaults
=false
;;
7632 --header |
--heade |
--head |
--hea )
7634 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7635 ac_need_defaults
=false
;;
7636 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7637 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7641 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7642 Try \`$0 --help' for more information." >&5
7643 echo "$as_me: error: unrecognized option: $1
7644 Try \`$0 --help' for more information." >&2;}
7645 { (exit 1); exit 1; }; } ;;
7647 *) ac_config_targets
="$ac_config_targets $1" ;;
7653 ac_configure_extra_args
=
7655 if $ac_cs_silent; then
7657 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7661 cat >>$CONFIG_STATUS <<_ACEOF
7662 if \$ac_cs_recheck; then
7663 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7664 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7669 cat >>$CONFIG_STATUS <<_ACEOF
7671 # INIT-COMMANDS section.
7678 with_multisubdir="$with_multisubdir"
7679 with_multisrctop="$with_multisrctop"
7680 with_target_subdir="$with_target_subdir"
7681 ac_configure_args="${multilib_arg} ${ac_configure_args}"
7682 multi_basedir="$multi_basedir"
7683 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
7685 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7691 cat >>$CONFIG_STATUS <<\_ACEOF
7692 for ac_config_target
in $ac_config_targets
7694 case "$ac_config_target" in
7695 # Handling of arguments.
7696 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7697 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
7698 "testsuite/mfconfig.exp" ) CONFIG_FILES
="$CONFIG_FILES testsuite/mfconfig.exp" ;;
7699 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7700 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7701 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7702 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7703 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7704 { (exit 1); exit 1; }; };;
7708 # If the user did not use the arguments to specify the items to instantiate,
7709 # then the envvar interface is used. Set only those that are not.
7710 # We use the long form for the default assignment because of an extremely
7711 # bizarre bug on SunOS 4.1.3.
7712 if $ac_need_defaults; then
7713 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7714 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7715 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7718 # Have a temporary directory for convenience. Make it in the build tree
7719 # simply because there is no reason to put it here, and in addition,
7720 # creating and moving files from /tmp can sometimes cause problems.
7721 # Create a temporary directory, and hook for its removal unless debugging.
7724 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7725 trap '{ (exit 1); exit 1; }' 1 2 13 15
7728 # Create a (secure) tmp directory for tmp files.
7731 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7732 test -n "$tmp" && test -d "$tmp"
7735 tmp
=.
/confstat$$
-$RANDOM
7736 (umask 077 && mkdir
$tmp)
7739 echo "$me: cannot create a temporary directory in ." >&2
7740 { (exit 1); exit 1; }
7745 cat >>$CONFIG_STATUS <<_ACEOF
7748 # CONFIG_FILES section.
7751 # No need to generate the scripts if there are no CONFIG_FILES.
7752 # This happens for instance when ./config.status config.h
7753 if test -n "\$CONFIG_FILES"; then
7754 # Protect against being on the right side of a sed subst in config.status.
7755 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7756 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7757 s,@SHELL@,$SHELL,;t t
7758 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7759 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7760 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7761 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7762 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7763 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7764 s,@exec_prefix@,$exec_prefix,;t t
7765 s,@prefix@,$prefix,;t t
7766 s,@program_transform_name@,$program_transform_name,;t t
7767 s,@bindir@,$bindir,;t t
7768 s,@sbindir@,$sbindir,;t t
7769 s,@libexecdir@,$libexecdir,;t t
7770 s,@datadir@,$datadir,;t t
7771 s,@sysconfdir@,$sysconfdir,;t t
7772 s,@sharedstatedir@,$sharedstatedir,;t t
7773 s,@localstatedir@,$localstatedir,;t t
7774 s,@libdir@,$libdir,;t t
7775 s,@includedir@,$includedir,;t t
7776 s,@oldincludedir@,$oldincludedir,;t t
7777 s,@infodir@,$infodir,;t t
7778 s,@mandir@,$mandir,;t t
7779 s,@build_alias@,$build_alias,;t t
7780 s,@host_alias@,$host_alias,;t t
7781 s,@target_alias@,$target_alias,;t t
7783 s,@ECHO_C@,$ECHO_C,;t t
7784 s,@ECHO_N@,$ECHO_N,;t t
7785 s,@ECHO_T@,$ECHO_T,;t t
7787 s,@build@,$build,;t t
7788 s,@build_cpu@,$build_cpu,;t t
7789 s,@build_vendor@,$build_vendor,;t t
7790 s,@build_os@,$build_os,;t t
7792 s,@host_cpu@,$host_cpu,;t t
7793 s,@host_vendor@,$host_vendor,;t t
7794 s,@host_os@,$host_os,;t t
7795 s,@target@,$target,;t t
7796 s,@target_cpu@,$target_cpu,;t t
7797 s,@target_vendor@,$target_vendor,;t t
7798 s,@target_os@,$target_os,;t t
7799 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7800 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7801 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7802 s,@CYGPATH_W@,$CYGPATH_W,;t t
7803 s,@PACKAGE@,$PACKAGE,;t t
7804 s,@VERSION@,$VERSION,;t t
7805 s,@ACLOCAL@,$ACLOCAL,;t t
7806 s,@AUTOCONF@,$AUTOCONF,;t t
7807 s,@AUTOMAKE@,$AUTOMAKE,;t t
7808 s,@AUTOHEADER@,$AUTOHEADER,;t t
7809 s,@MAKEINFO@,$MAKEINFO,;t t
7810 s,@install_sh@,$install_sh,;t t
7811 s,@STRIP@,$STRIP,;t t
7812 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7813 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7814 s,@mkdir_p@,$mkdir_p,;t t
7816 s,@SET_MAKE@,$SET_MAKE,;t t
7817 s,@am__leading_dot@,$am__leading_dot,;t t
7818 s,@AMTAR@,$AMTAR,;t t
7819 s,@am__tar@,$am__tar,;t t
7820 s,@am__untar@,$am__untar,;t t
7821 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7822 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7823 s,@MAINT@,$MAINT,;t t
7824 s,@multi_basedir@,$multi_basedir,;t t
7826 s,@ac_ct_CC@,$ac_ct_CC,;t t
7827 s,@EXEEXT@,$EXEEXT,;t t
7828 s,@OBJEXT@,$OBJEXT,;t t
7829 s,@DEPDIR@,$DEPDIR,;t t
7830 s,@am__include@,$am__include,;t t
7831 s,@am__quote@,$am__quote,;t t
7832 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7833 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7834 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7835 s,@CCDEPMODE@,$CCDEPMODE,;t t
7836 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7837 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7838 s,@CFLAGS@,$CFLAGS,;t t
7840 s,@CPPFLAGS@,$CPPFLAGS,;t t
7841 s,@EGREP@,$EGREP,;t t
7843 s,@RANLIB@,$RANLIB,;t t
7844 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7845 s,@LIBTOOL@,$LIBTOOL,;t t
7846 s,@enable_shared@,$enable_shared,;t t
7847 s,@enable_static@,$enable_static,;t t
7848 s,@MF_HAVE_STDINT_H@,$MF_HAVE_STDINT_H,;t t
7849 s,@MF_HAVE_UINTPTR_T@,$MF_HAVE_UINTPTR_T,;t t
7850 s,@LIBMUDFLAPTH_TRUE@,$LIBMUDFLAPTH_TRUE,;t t
7851 s,@LIBMUDFLAPTH_FALSE@,$LIBMUDFLAPTH_FALSE,;t t
7852 s,@build_libmudflapth@,$build_libmudflapth,;t t
7853 s,@toolexecdir@,$toolexecdir,;t t
7854 s,@toolexeclibdir@,$toolexeclibdir,;t t
7856 s,@ac_ct_NM@,$ac_ct_NM,;t t
7857 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
7858 s,@LIBOBJS@,$LIBOBJS,;t t
7859 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7864 cat >>$CONFIG_STATUS <<\_ACEOF
7865 # Split the substitutions into bite-sized pieces for seds with
7866 # small command number limits, like on Digital OSF/1 and HP-UX.
7868 ac_sed_frag
=1 # Number of current file.
7869 ac_beg
=1 # First line for current file.
7870 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7873 while $ac_more_lines; do
7874 if test $ac_beg -gt 1; then
7875 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7877 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7879 if test ! -s $tmp/subs.frag
; then
7882 # The purpose of the label and of the branching condition is to
7883 # speed up the sed processing (if there are no `@' at all, there
7884 # is no need to browse any of the substitutions).
7885 # These are the two extra sed commands mentioned above.
7887 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7888 if test -z "$ac_sed_cmds"; then
7889 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7891 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7893 ac_sed_frag
=`expr $ac_sed_frag + 1`
7895 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7898 if test -z "$ac_sed_cmds"; then
7901 fi # test -n "$CONFIG_FILES"
7904 cat >>$CONFIG_STATUS <<\_ACEOF
7905 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7906 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7908 - |
*:- |
*:-:* ) # input from stdin
7910 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7911 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7912 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7913 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7914 * ) ac_file_in
=$ac_file.
in ;;
7917 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7918 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7919 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7920 X"$ac_file" : 'X\(//\)[^/]' \| \
7921 X"$ac_file" : 'X\(//\)$' \| \
7922 X"$ac_file" : 'X\(/\)' \| \
7923 . : '\(.\)' 2>/dev/null ||
7925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7926 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7927 /^X\(\/\/\)$/{ s//\1/; q; }
7928 /^X\(\/\).*/{ s//\1/; q; }
7930 { if $as_mkdir_p; then
7935 while test ! -d "$as_dir"; do
7936 as_dirs
="$as_dir $as_dirs"
7937 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7938 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7939 X"$as_dir" : 'X\(//\)[^/]' \| \
7940 X"$as_dir" : 'X\(//\)$' \| \
7941 X"$as_dir" : 'X\(/\)' \| \
7942 . : '\(.\)' 2>/dev/null ||
7944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7945 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7946 /^X\(\/\/\)$/{ s//\1/; q; }
7947 /^X\(\/\).*/{ s//\1/; q; }
7950 test ! -n "$as_dirs" || mkdir
$as_dirs
7951 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7952 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7953 { (exit 1); exit 1; }; }; }
7957 if test "$ac_dir" != .
; then
7958 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7959 # A "../" for each directory in $ac_dir_suffix.
7960 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7962 ac_dir_suffix
= ac_top_builddir
=
7966 .
) # No --srcdir option. We are building in place.
7968 if test -z "$ac_top_builddir"; then
7971 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7973 [\\/]* | ?
:[\\/]* ) # Absolute path.
7974 ac_srcdir
=$srcdir$ac_dir_suffix;
7975 ac_top_srcdir
=$srcdir ;;
7977 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7978 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7981 # Do not use `cd foo && pwd` to compute absolute paths, because
7982 # the directories may not exist.
7984 .
) ac_abs_builddir
="$ac_dir";;
7987 .
) ac_abs_builddir
=`pwd`;;
7988 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7989 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7992 case $ac_abs_builddir in
7993 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7995 case ${ac_top_builddir}.
in
7996 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7997 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7998 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8001 case $ac_abs_builddir in
8002 .
) ac_abs_srcdir
=$ac_srcdir;;
8005 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8006 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8007 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8010 case $ac_abs_builddir in
8011 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8013 case $ac_top_srcdir in
8014 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8015 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8016 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8022 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8023 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8026 if test x
"$ac_file" != x-
; then
8027 { echo "$as_me:$LINENO: creating $ac_file" >&5
8028 echo "$as_me: creating $ac_file" >&6;}
8031 # Let's still pretend it is `configure' which instantiates (i.e., don't
8032 # use $as_me), people would be surprised to read:
8033 # /* config.h. Generated by config.status. */
8034 if test x
"$ac_file" = x-
; then
8037 configure_input
="$ac_file. "
8039 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8040 sed 's,.*/,,'` by configure."
8042 # First look for the input files in the build tree, otherwise in the
8044 ac_file_inputs
=`IFS=:
8045 for f in $ac_file_in; do
8047 -) echo $tmp/stdin ;;
8049 # Absolute (can't be DOS-style, as IFS=:)
8050 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8051 echo "$as_me: error: cannot find input file: $f" >&2;}
8052 { (exit 1); exit 1; }; }
8055 if test -f "$f"; then
8058 elif test -f "$srcdir/$f"; then
8063 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8064 echo "$as_me: error: cannot find input file: $f" >&2;}
8065 { (exit 1); exit 1; }; }
8068 done` ||
{ (exit 1); exit 1; }
8070 cat >>$CONFIG_STATUS <<_ACEOF
8074 cat >>$CONFIG_STATUS <<\_ACEOF
8076 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8077 s
,@configure_input@
,$configure_input,;t t
8078 s
,@srcdir@
,$ac_srcdir,;t t
8079 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8080 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8081 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8082 s
,@builddir@
,$ac_builddir,;t t
8083 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8084 s
,@top_builddir@
,$ac_top_builddir,;t t
8085 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8086 s
,@INSTALL@
,$ac_INSTALL,;t t
8087 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8089 if test x"$ac_file" != x-; then
8090 mv $tmp/out $ac_file
8098 cat >>$CONFIG_STATUS <<\_ACEOF
8101 # CONFIG_HEADER section.
8104 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8105 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8107 # ac_d sets the value in "#define NAME VALUE" lines.
8108 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8109 ac_dB
='[ ].*$,\1#\2'
8112 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8113 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8114 ac_uB
='$,\1#\2define\3'
8118 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8119 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8121 - |
*:- |
*:-:* ) # input from stdin
8123 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8124 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8125 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8126 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8127 * ) ac_file_in
=$ac_file.
in ;;
8130 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8131 echo "$as_me: creating $ac_file" >&6;}
8133 # First look for the input files in the build tree, otherwise in the
8135 ac_file_inputs
=`IFS=:
8136 for f in $ac_file_in; do
8138 -) echo $tmp/stdin ;;
8140 # Absolute (can't be DOS-style, as IFS=:)
8141 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8142 echo "$as_me: error: cannot find input file: $f" >&2;}
8143 { (exit 1); exit 1; }; }
8144 # Do quote $f, to prevent DOS paths from being IFS'd.
8147 if test -f "$f"; then
8150 elif test -f "$srcdir/$f"; then
8155 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8156 echo "$as_me: error: cannot find input file: $f" >&2;}
8157 { (exit 1); exit 1; }; }
8160 done` ||
{ (exit 1); exit 1; }
8161 # Remove the trailing spaces.
8162 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8166 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8167 # `conftest.undefs', that substitutes the proper values into
8168 # config.h.in to produce config.h. The first handles `#define'
8169 # templates, and the second `#undef' templates.
8170 # And first: Protect against being on the right side of a sed subst in
8171 # config.status. Protect against being in an unquoted here document
8173 rm -f conftest.defines conftest.undefs
8174 # Using a here document instead of a string reduces the quoting nightmare.
8175 # Putting comments in sed scripts is not portable.
8177 # `end' is used to avoid that the second main sed command (meant for
8178 # 0-ary CPP macros) applies to n-ary macro definitions.
8179 # See the Autoconf documentation for `clear'.
8180 cat >confdef2sed.
sed <<\_ACEOF
8185 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8187 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8190 # If some macros were called several times there might be several times
8191 # the same #defines, which is useless. Nevertheless, we may not want to
8192 # sort them, since we want the *last* AC-DEFINE to be honored.
8193 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8194 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8195 rm -f confdef2sed.sed
8197 # This sed command replaces #undef with comments. This is necessary, for
8198 # example, in the case of _POSIX_SOURCE, which is predefined and required
8199 # on some systems where configure will not decide to define it.
8200 cat >>conftest.undefs <<\_ACEOF
8201 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8204 # Break up conftest.defines because some shells have a limit on the size
8205 # of here documents, and old seds have small limits too (100 cmds).
8206 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8207 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8208 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8209 echo ' :' >>$CONFIG_STATUS
8211 while grep . conftest.defines >/dev/null
8213 # Write a limited-size here document to $tmp/defines.sed.
8214 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8215 # Speed up: don't consider the non `#define' lines.
8216 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8217 # Work around the forget-to-reset-the-flag bug.
8218 echo 't clr' >>$CONFIG_STATUS
8219 echo ': clr' >>$CONFIG_STATUS
8220 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8222 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8226 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8227 rm -f conftest.defines
8228 mv conftest.
tail conftest.defines
8230 rm -f conftest.defines
8231 echo ' fi # grep' >>$CONFIG_STATUS
8232 echo >>$CONFIG_STATUS
8234 # Break up conftest.undefs because some shells have a limit on the size
8235 # of here documents, and old seds have small limits too (100 cmds).
8236 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8238 while grep . conftest.undefs
>/dev
/null
8240 # Write a limited-size here document to $tmp/undefs.sed.
8241 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8242 # Speed up: don't consider the non
`#undef'
8243 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8244 # Work around the forget-to-reset-the-flag bug.
8245 echo 't clr' >>$CONFIG_STATUS
8246 echo ': clr' >>$CONFIG_STATUS
8247 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8249 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8253 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8254 rm -f conftest.undefs
8255 mv conftest.tail conftest.undefs
8257 rm -f conftest.undefs
8259 cat >>$CONFIG_STATUS <<\_ACEOF
8260 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8261 # use $as_me), people would be surprised to read:
8262 # /* config.h. Generated by config.status. */
8263 if test x
"$ac_file" = x-
; then
8264 echo "/* Generated by configure. */" >$tmp/config.h
8266 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8268 cat $tmp/in >>$tmp/config.h
8270 if test x
"$ac_file" != x-
; then
8271 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8272 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8273 echo "$as_me: $ac_file is unchanged" >&6;}
8275 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8276 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8277 X"$ac_file" : 'X\(//\)[^/]' \| \
8278 X"$ac_file" : 'X\(//\)$' \| \
8279 X"$ac_file" : 'X\(/\)' \| \
8280 . : '\(.\)' 2>/dev/null ||
8282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8283 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8284 /^X\(\/\/\)$/{ s//\1/; q; }
8285 /^X\(\/\).*/{ s//\1/; q; }
8287 { if $as_mkdir_p; then
8292 while test ! -d "$as_dir"; do
8293 as_dirs
="$as_dir $as_dirs"
8294 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8296 X"$as_dir" : 'X\(//\)[^/]' \| \
8297 X"$as_dir" : 'X\(//\)$' \| \
8298 X"$as_dir" : 'X\(/\)' \| \
8299 . : '\(.\)' 2>/dev/null ||
8301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8302 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8303 /^X\(\/\/\)$/{ s//\1/; q; }
8304 /^X\(\/\).*/{ s//\1/; q; }
8307 test ! -n "$as_dirs" || mkdir
$as_dirs
8308 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8309 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8310 { (exit 1); exit 1; }; }; }
8313 mv $tmp/config.h
$ac_file
8319 # Compute $ac_file's index in $config_headers.
8321 for _am_header
in $config_headers :; do
8323 $ac_file |
$ac_file:* )
8326 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8329 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8330 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8331 X$ac_file : 'X\(//\)[^/]' \| \
8332 X$ac_file : 'X\(//\)$' \| \
8333 X$ac_file : 'X\(/\)' \| \
8334 . : '\(.\)' 2>/dev/null ||
8336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8337 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8338 /^X\(\/\/\)$/{ s//\1/; q; }
8339 /^X\(\/\).*/{ s//\1/; q; }
8340 s/.*/./; q'`/stamp-h
$_am_stamp_count
8343 cat >>$CONFIG_STATUS <<\_ACEOF
8346 # CONFIG_COMMANDS section.
8348 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8349 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8350 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8351 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8352 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8353 X"$ac_dest" : 'X\(//\)[^/]' \| \
8354 X"$ac_dest" : 'X\(//\)$' \| \
8355 X"$ac_dest" : 'X\(/\)' \| \
8356 . : '\(.\)' 2>/dev/null ||
8358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8359 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8360 /^X\(\/\/\)$/{ s//\1/; q; }
8361 /^X\(\/\).*/{ s//\1/; q; }
8363 { if $as_mkdir_p; then
8368 while test ! -d "$as_dir"; do
8369 as_dirs
="$as_dir $as_dirs"
8370 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8371 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8372 X"$as_dir" : 'X\(//\)[^/]' \| \
8373 X"$as_dir" : 'X\(//\)$' \| \
8374 X"$as_dir" : 'X\(/\)' \| \
8375 . : '\(.\)' 2>/dev/null ||
8377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8378 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8379 /^X\(\/\/\)$/{ s//\1/; q; }
8380 /^X\(\/\).*/{ s//\1/; q; }
8383 test ! -n "$as_dirs" || mkdir
$as_dirs
8384 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8385 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8386 { (exit 1); exit 1; }; }; }
8390 if test "$ac_dir" != .
; then
8391 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8392 # A "../" for each directory in $ac_dir_suffix.
8393 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8395 ac_dir_suffix
= ac_top_builddir
=
8399 .
) # No --srcdir option. We are building in place.
8401 if test -z "$ac_top_builddir"; then
8404 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8406 [\\/]* | ?
:[\\/]* ) # Absolute path.
8407 ac_srcdir
=$srcdir$ac_dir_suffix;
8408 ac_top_srcdir
=$srcdir ;;
8410 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8411 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8414 # Do not use `cd foo && pwd` to compute absolute paths, because
8415 # the directories may not exist.
8417 .
) ac_abs_builddir
="$ac_dir";;
8420 .
) ac_abs_builddir
=`pwd`;;
8421 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8422 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8425 case $ac_abs_builddir in
8426 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8428 case ${ac_top_builddir}.
in
8429 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8430 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8431 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8434 case $ac_abs_builddir in
8435 .
) ac_abs_srcdir
=$ac_srcdir;;
8438 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8439 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8440 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8443 case $ac_abs_builddir in
8444 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8446 case $ac_top_srcdir in
8447 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8448 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8449 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8454 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8455 echo "$as_me: executing $ac_dest commands" >&6;}
8458 # Only add multilib support code if we just rebuilt the top-level
8460 case " $CONFIG_FILES " in
8462 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
8465 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8466 # Strip MF so we end up with the name of the file.
8467 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8468 # Check whether this is an Automake generated Makefile or not.
8469 # We used to match only the files named `Makefile.in', but
8470 # some people rename them; so instead we look at the file content.
8471 # Grep'ing the first line is not enough: some people post-process
8472 # each Makefile.in and add a new line on top of each file to say so.
8473 # So let's grep whole file.
8474 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8475 dirpart
=`(dirname "$mf") 2>/dev/null ||
8476 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8477 X"$mf" : 'X\(//\)[^/]' \| \
8478 X"$mf" : 'X\(//\)$' \| \
8479 X"$mf" : 'X\(/\)' \| \
8480 . : '\(.\)' 2>/dev/null ||
8482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8483 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8484 /^X\(\/\/\)$/{ s//\1/; q; }
8485 /^X\(\/\).*/{ s//\1/; q; }
8490 # Extract the definition of DEPDIR, am__include, and am__quote
8491 # from the Makefile without running `make'.
8492 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8493 test -z "$DEPDIR" && continue
8494 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8495 test -z "am__include" && continue
8496 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8497 # When using ansi2knr, U may be empty or an underscore; expand it
8498 U
=`sed -n 's/^U = //p' < "$mf"`
8499 # Find all dependency output files, they are included files with
8500 # $(DEPDIR) in their names. We invoke sed twice because it is the
8501 # simplest approach to changing $(DEPDIR) to its actual value in the
8503 for file in `sed -n "
8504 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8505 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8506 # Make sure the directory exists.
8507 test -f "$dirpart/$file" && continue
8508 fdir
=`(dirname "$file") 2>/dev/null ||
8509 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8510 X"$file" : 'X\(//\)[^/]' \| \
8511 X"$file" : 'X\(//\)$' \| \
8512 X"$file" : 'X\(/\)' \| \
8513 . : '\(.\)' 2>/dev/null ||
8515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8516 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8517 /^X\(\/\/\)$/{ s//\1/; q; }
8518 /^X\(\/\).*/{ s//\1/; q; }
8520 { if $as_mkdir_p; then
8521 mkdir
-p $dirpart/$fdir
8523 as_dir
=$dirpart/$fdir
8525 while test ! -d "$as_dir"; do
8526 as_dirs
="$as_dir $as_dirs"
8527 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8528 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8529 X"$as_dir" : 'X\(//\)[^/]' \| \
8530 X"$as_dir" : 'X\(//\)$' \| \
8531 X"$as_dir" : 'X\(/\)' \| \
8532 . : '\(.\)' 2>/dev/null ||
8534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8535 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8536 /^X\(\/\/\)$/{ s//\1/; q; }
8537 /^X\(\/\).*/{ s//\1/; q; }
8540 test ! -n "$as_dirs" || mkdir
$as_dirs
8541 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8542 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8543 { (exit 1); exit 1; }; }; }
8545 # echo "creating $dirpart/$file"
8546 echo '# dummy' > "$dirpart/$file"
8554 cat >>$CONFIG_STATUS <<\_ACEOF
8556 { (exit 0); exit 0; }
8558 chmod +x
$CONFIG_STATUS
8559 ac_clean_files
=$ac_clean_files_save
8562 # configure is writing to config.log, and then calls config.status.
8563 # config.status does its own redirection, appending to config.log.
8564 # Unfortunately, on DOS this fails, as config.log is still kept open
8565 # by configure, so config.status won't be able to write to it; its
8566 # output is simply discarded. So we exec the FD to /dev/null,
8567 # effectively closing config.log, so it can be properly (re)opened and
8568 # appended to by config.status. When coming back to configure, we
8569 # need to make the FD available again.
8570 if test "$no_create" != yes; then
8572 ac_config_status_args
=
8573 test "$silent" = yes &&
8574 ac_config_status_args
="$ac_config_status_args --quiet"
8576 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8578 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8579 # would make configure fail if this is the last instruction.
8580 $ac_cs_success ||
{ (exit 1); exit 1; }