2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libmudflap 1.0.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='libmudflap'
269 PACKAGE_TARNAME='libmudflap'
270 PACKAGE_VERSION='1.0'
271 PACKAGE_STRING='libmudflap 1.0'
274 ac_unique_file="mf-runtime.c"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot libtool_VERSION MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS CPP CPPFLAGS EGREP LN_S RANLIB ac_ct_RANLIB LIBTOOL enable_shared enable_static MF_HAVE_STDINT_H MF_HAVE_UINTPTR_T LIBMUDFLAPTH_TRUE LIBMUDFLAPTH_FALSE build_libmudflapth gcc_version toolexecdir toolexeclibdir NM ac_ct_NM SECTION_FLAGS LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CPP_set=${CPP+set}
754 ac_env_CPP_value=$CPP
755 ac_cv_env_CPP_set=${CPP+set}
756 ac_cv_env_CPP_value=$CPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
763 # Report the --help message.
765 if test "$ac_init_help" = "long"; then
766 # Omit some internal or obsolete options to make the list less imposing.
767 # This message is too long to be a string in the A/UX 3.1 sh.
769 \`configure' configures libmudflap 1.0 to adapt to many kinds of systems.
771 Usage: $0 [OPTION]... [VAR=VALUE]...
773 To assign environment variables (e.g., CC, CFLAGS...), specify them as
774 VAR=VALUE. See below for descriptions of some of the useful variables.
776 Defaults for the options are specified in brackets.
779 -h, --help display this help and exit
780 --help=short display options specific to this package
781 --help=recursive display the short help of all the included packages
782 -V, --version display version information and exit
783 -q, --quiet, --silent do not print \`checking...' messages
784 --cache-file=FILE cache test results in FILE [disabled]
785 -C, --config-cache alias for \`--cache-file=config.cache'
786 -n, --no-create do not create output files
787 --srcdir=DIR find the sources in DIR [configure dir or \`..']
792 Installation directories:
793 --prefix=PREFIX install architecture-independent files in PREFIX
795 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
798 By default, \`make install' will install all the files in
799 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
800 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
801 for instance \`--prefix=\$HOME'.
803 For better control, use the options below.
805 Fine tuning of the installation directories:
806 --bindir=DIR user executables [EPREFIX/bin]
807 --sbindir=DIR system admin executables [EPREFIX/sbin]
808 --libexecdir=DIR program executables [EPREFIX/libexec]
809 --datadir=DIR read-only architecture-independent data [PREFIX/share]
810 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
811 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
812 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
813 --libdir=DIR object code libraries [EPREFIX/lib]
814 --includedir=DIR C header files [PREFIX/include]
815 --oldincludedir=DIR C header files for non-gcc [/usr/include]
816 --infodir=DIR info documentation [PREFIX/info]
817 --mandir=DIR man documentation [PREFIX/man]
823 --program-prefix=PREFIX prepend PREFIX to installed program names
824 --program-suffix=SUFFIX append SUFFIX to installed program names
825 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
828 --build=BUILD configure for building on BUILD [guessed]
829 --host=HOST cross-compile to build programs to run on HOST [BUILD]
830 --target=TARGET configure for building compilers for TARGET [HOST]
834 if test -n "$ac_init_help"; then
835 case $ac_init_help in
836 short | recursive ) echo "Configuration of libmudflap 1.0:";;
841 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
842 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
843 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
844 --enable-maintainer-mode enable make rules and dependencies not useful
845 (and sometimes confusing) to the casual installer
846 --enable-multilib build many library versions (default)
847 --disable-dependency-tracking speeds up one-time build
848 --enable-dependency-tracking do not reject slow dependency extractors
849 --enable-shared=PKGS build shared libraries default=yes
850 --enable-static=PKGS build static libraries default=yes
851 --enable-fast-install=PKGS optimize for fast installation default=yes
852 --disable-libtool-lock avoid locking (might break parallel builds)
855 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
856 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
857 --with-gnu-ld assume the C compiler uses GNU ld default=no
858 --with-pic try to use only PIC/non-PIC objects default=use both
860 Some influential environment variables:
861 CC C compiler command
862 CFLAGS C compiler flags
863 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
864 nonstandard directory <lib dir>
865 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
866 headers in a nonstandard directory <include dir>
869 Use these variables to override the choices made by `configure' or to help
870 it to find libraries and programs with nonstandard names/locations.
875 if test "$ac_init_help" = "recursive"; then
876 # If there are subdirs, report their specific --help.
878 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
879 test -d $ac_dir || continue
882 if test "$ac_dir" != .; then
883 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
884 # A "../" for each directory in $ac_dir_suffix.
885 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
887 ac_dir_suffix= ac_top_builddir=
891 .) # No --srcdir option. We are building in place.
893 if test -z "$ac_top_builddir"; then
896 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
898 [\\/]* | ?:[\\/]* ) # Absolute path.
899 ac_srcdir=$srcdir$ac_dir_suffix;
900 ac_top_srcdir=$srcdir ;;
902 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
903 ac_top_srcdir=$ac_top_builddir$srcdir ;;
906 # Do not use `cd foo && pwd` to compute absolute paths, because
907 # the directories may not exist.
909 .) ac_abs_builddir="$ac_dir";;
912 .) ac_abs_builddir=`pwd`;;
913 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
914 *) ac_abs_builddir=`pwd`/"$ac_dir";;
917 case $ac_abs_builddir in
918 .) ac_abs_top_builddir=${ac_top_builddir}.;;
920 case ${ac_top_builddir}. in
921 .) ac_abs_top_builddir=$ac_abs_builddir;;
922 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
923 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
926 case $ac_abs_builddir in
927 .) ac_abs_srcdir=$ac_srcdir;;
930 .) ac_abs_srcdir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
932 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
935 case $ac_abs_builddir in
936 .) ac_abs_top_srcdir=$ac_top_srcdir;;
938 case $ac_top_srcdir in
939 .) ac_abs_top_srcdir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
941 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
946 # Check for guested configure; otherwise get Cygnus style configure.
947 if test -f $ac_srcdir/configure.gnu; then
949 $SHELL $ac_srcdir/configure.gnu --help=recursive
950 elif test -f $ac_srcdir/configure; then
952 $SHELL $ac_srcdir/configure --help=recursive
953 elif test -f $ac_srcdir/configure.ac ||
954 test -f $ac_srcdir/configure.in; then
958 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
964 test -n "$ac_init_help" && exit 0
965 if $ac_init_version; then
967 libmudflap configure 1.0
968 generated by GNU Autoconf 2.59
970 Copyright (C) 2003 Free Software Foundation, Inc.
971 This configure script is free software; the Free Software Foundation
972 gives unlimited permission to copy, distribute and modify it.
978 This file contains any messages produced by compilers while
979 running configure, to aid debugging if configure makes a mistake.
981 It was created by libmudflap $as_me 1.0, which was
982 generated by GNU Autoconf 2.59. Invocation command line was
993 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
994 uname -m = `(uname -m) 2>/dev/null || echo unknown`
995 uname -r = `(uname -r) 2>/dev/null || echo unknown`
996 uname -s = `(uname -s) 2>/dev/null || echo unknown`
997 uname -v = `(uname -v) 2>/dev/null || echo unknown`
999 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1000 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1002 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1003 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1004 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1005 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1006 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1007 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1008 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1016 test -z "$as_dir" && as_dir=.
1017 echo "PATH: $as_dir"
1032 # Keep a trace of the command line.
1033 # Strip out --no-create and --no-recursion so they do not pile up.
1034 # Strip out --silent because we don't want to record it for future runs.
1035 # Also quote any args containing shell meta-characters.
1036 # Make two passes to allow for proper duplicate-argument suppression.
1041 ac_must_keep_next=false
1047 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049 | -silent | --silent | --silen | --sile | --sil)
1051 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1052 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1055 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1057 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1058 if test $ac_must_keep_next = true; then
1059 ac_must_keep_next=false # Got value, back to normal.
1062 *=* | --config-cache | -C | -disable-* | --disable-* \
1063 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1064 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1065 | -with-* | --with-* | -without-* | --without-* | --x)
1066 case "$ac_configure_args0 " in
1067 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1070 -* ) ac_must_keep_next=true ;;
1073 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1074 # Get rid of the leading space.
1080 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1081 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1083 # When interrupted or exit'd, cleanup temporary files, and complete
1084 # config.log. We remove comments because anyway the quotes in there
1085 # would cause problems or look ugly.
1086 # WARNING: Be sure not to use single quotes in there, as some shells,
1087 # such as our DU 5.0 friend, will then `close' the trap.
1088 trap 'exit_status=$?
1089 # Save into config.log some information that might help in debugging.
1094 ## ---------------- ##
1095 ## Cache variables. ##
1096 ## ---------------- ##
1099 # The following way of writing the cache mishandles newlines in values,
1102 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1105 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1106 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1110 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1117 ## ----------------- ##
1118 ## Output variables. ##
1119 ## ----------------- ##
1122 for ac_var in $ac_subst_vars
1124 eval ac_val=$`echo $ac_var`
1125 echo "$ac_var='"'"'$ac_val'"'"'"
1129 if test -n "$ac_subst_files"; then
1136 for ac_var in $ac_subst_files
1138 eval ac_val=$`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -s confdefs.h; then
1151 sed "/^$/d" confdefs.h | sort
1154 test "$ac_signal" != 0 &&
1155 echo "$as_me: caught signal $ac_signal"
1156 echo "$as_me: exit $exit_status"
1158 rm -f core *.core &&
1159 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1162 for ac_signal in 1 2 13 15; do
1163 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1167 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1168 rm -rf conftest* confdefs.h
1169 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1172 # Predefined preprocessor variables.
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_NAME "$PACKAGE_NAME"
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_STRING "$PACKAGE_STRING"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1199 # Let the site file select an alternate cache file if it wants to.
1200 # Prefer explicitly selected file to automatically selected ones.
1201 if test -z "$CONFIG_SITE"; then
1202 if test "x$prefix" != xNONE; then
1203 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1205 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1208 for ac_site_file in $CONFIG_SITE; do
1209 if test -r "$ac_site_file"; then
1210 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1211 echo "$as_me: loading site script $ac_site_file" >&6;}
1212 sed 's/^/| /' "$ac_site_file" >&5
1217 if test -r "$cache_file"; then
1218 # Some versions of bash will fail to source /dev/null (special
1219 # files actually), so we avoid doing that.
1220 if test -f "$cache_file"; then
1221 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1222 echo "$as_me: loading cache $cache_file" >&6;}
1224 [\\/]* | ?:[\\/]* ) . $cache_file;;
1225 *) . ./$cache_file;;
1229 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1230 echo "$as_me: creating cache $cache_file" >&6;}
1234 # Check that the precious variables saved in the cache have kept the same
1236 ac_cache_corrupted=false
1237 for ac_var in `(set) 2>&1 |
1238 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1239 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1240 eval ac_new_set=\$ac_env_${ac_var}_set
1241 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1242 eval ac_new_val="\$ac_env_${ac_var}_value"
1243 case $ac_old_set,$ac_new_set in
1245 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1246 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1247 ac_cache_corrupted=: ;;
1249 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1250 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1251 ac_cache_corrupted=: ;;
1254 if test "x$ac_old_val" != "x$ac_new_val"; then
1255 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1256 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1257 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1258 echo "$as_me: former value: $ac_old_val" >&2;}
1259 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1260 echo "$as_me: current value: $ac_new_val" >&2;}
1261 ac_cache_corrupted=:
1264 # Pass precious variables to config.status.
1265 if test "$ac_new_set" = set; then
1267 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1268 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1269 *) ac_arg=$ac_var=$ac_new_val ;;
1271 case " $ac_configure_args " in
1272 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1273 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1277 if $ac_cache_corrupted; then
1278 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1279 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1280 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1281 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1282 { (exit 1); exit 1; }; }
1286 ac_cpp='$CPP $CPPFLAGS'
1287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1319 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1320 if test -f $ac_dir/install-sh; then
1322 ac_install_sh="$ac_aux_dir/install-sh -c"
1324 elif test -f $ac_dir/install.sh; then
1326 ac_install_sh="$ac_aux_dir/install.sh -c"
1328 elif test -f $ac_dir/shtool; then
1330 ac_install_sh="$ac_aux_dir/shtool install -c"
1334 if test -z "$ac_aux_dir"; then
1335 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1336 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1337 { (exit 1); exit 1; }; }
1339 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1340 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1341 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1343 # Make sure we can run config.sub.
1344 $ac_config_sub sun4 >/dev/null 2>&1 ||
1345 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1346 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1347 { (exit 1); exit 1; }; }
1349 echo "$as_me:$LINENO: checking build system type" >&5
1350 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1351 if test "${ac_cv_build+set}" = set; then
1352 echo $ECHO_N "(cached) $ECHO_C" >&6
1354 ac_cv_build_alias=$build_alias
1355 test -z "$ac_cv_build_alias" &&
1356 ac_cv_build_alias=`$ac_config_guess`
1357 test -z "$ac_cv_build_alias" &&
1358 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1359 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1360 { (exit 1); exit 1; }; }
1361 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1362 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1363 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1364 { (exit 1); exit 1; }; }
1367 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1368 echo "${ECHO_T}$ac_cv_build" >&6
1370 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1371 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1372 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1375 echo "$as_me:$LINENO: checking host system type" >&5
1376 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1377 if test "${ac_cv_host+set}" = set; then
1378 echo $ECHO_N "(cached) $ECHO_C" >&6
1380 ac_cv_host_alias=$host_alias
1381 test -z "$ac_cv_host_alias" &&
1382 ac_cv_host_alias=$ac_cv_build_alias
1383 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1384 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1385 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1386 { (exit 1); exit 1; }; }
1389 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1390 echo "${ECHO_T}$ac_cv_host" >&6
1392 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1393 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1394 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1397 echo "$as_me:$LINENO: checking target system type" >&5
1398 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1399 if test "${ac_cv_target+set}" = set; then
1400 echo $ECHO_N "(cached) $ECHO_C" >&6
1402 ac_cv_target_alias=$target_alias
1403 test "x$ac_cv_target_alias" = "x" &&
1404 ac_cv_target_alias=$ac_cv_host_alias
1405 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1406 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1407 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1408 { (exit 1); exit 1; }; }
1411 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1412 echo "${ECHO_T}$ac_cv_target" >&6
1413 target=$ac_cv_target
1414 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1415 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1416 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1419 # The aliases save the names the user supplied, while $host etc.
1420 # will get canonicalized.
1421 test -n "$target_alias" &&
1422 test "$program_prefix$program_suffix$program_transform_name" = \
1424 program_prefix=${target_alias}-
1426 am__api_version="1.8"
1427 # Find a good install program. We prefer a C program (faster),
1428 # so one script is as good as another. But avoid the broken or
1429 # incompatible versions:
1430 # SysV /etc/install, /usr/sbin/install
1431 # SunOS /usr/etc/install
1432 # IRIX /sbin/install
1434 # AmigaOS /C/install, which installs bootblocks on floppy discs
1435 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1436 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1437 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1438 # OS/2's system install, which has a completely different semantic
1439 # ./install, which can be erroneously created by make from ./install.sh.
1440 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1441 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1442 if test -z "$INSTALL"; then
1443 if test "${ac_cv_path_install+set}" = set; then
1444 echo $ECHO_N "(cached) $ECHO_C" >&6
1446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1450 test -z "$as_dir" && as_dir=.
1451 # Account for people who put trailing slashes in PATH elements.
1453 ./ | .// | /cC/* | \
1454 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1455 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1458 # OSF1 and SCO ODT 3.0 have their own names for install.
1459 # Don't use installbsd from OSF since it installs stuff as root
1461 for ac_prog in ginstall scoinst install; do
1462 for ac_exec_ext in '' $ac_executable_extensions; do
1463 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1464 if test $ac_prog = install &&
1465 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1466 # AIX install. It has an incompatible calling convention.
1468 elif test $ac_prog = install &&
1469 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1470 # program-specific install script used by HP pwplus--don't use.
1473 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1485 if test "${ac_cv_path_install+set}" = set; then
1486 INSTALL=$ac_cv_path_install
1488 # As a last resort, use the slow shell script. We don't cache a
1489 # path for INSTALL within a source directory, because that will
1490 # break other packages using the cache if that directory is
1491 # removed, or if the path is relative.
1492 INSTALL=$ac_install_sh
1495 echo "$as_me:$LINENO: result: $INSTALL" >&5
1496 echo "${ECHO_T}$INSTALL" >&6
1498 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1499 # It thinks the first close brace ends the variable substitution.
1500 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1502 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1504 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1506 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1507 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1510 echo timestamp > conftest.file
1511 # Do `set' in a subshell so we don't clobber the current shell's
1512 # arguments. Must try -L first in case configure is actually a
1513 # symlink; some systems play weird games with the mod time of symlinks
1514 # (eg FreeBSD returns the mod time of the symlink's containing
1517 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1518 if test "$*" = "X"; then
1520 set X `ls -t $srcdir/configure conftest.file`
1523 if test "$*" != "X $srcdir/configure conftest.file" \
1524 && test "$*" != "X conftest.file $srcdir/configure"; then
1526 # If neither matched, then we have a broken ls. This can happen
1527 # if, for instance, CONFIG_SHELL is bash and it inherits a
1528 # broken ls alias from the environment. This has actually
1529 # happened. Such a system could not be considered "sane".
1530 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1531 alias in your environment" >&5
1532 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1533 alias in your environment" >&2;}
1534 { (exit 1); exit 1; }; }
1537 test "$2" = conftest.file
1543 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1544 Check your system clock" >&5
1545 echo "$as_me: error: newly created file is older than distributed files!
1546 Check your system clock" >&2;}
1547 { (exit 1); exit 1; }; }
1549 echo "$as_me:$LINENO: result: yes" >&5
1550 echo "${ECHO_T}yes" >&6
1551 test "$program_prefix" != NONE &&
1552 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1553 # Use a double $ so make ignores it.
1554 test "$program_suffix" != NONE &&
1555 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1556 # Double any \ or $. echo might interpret backslashes.
1557 # By default was `s,x,x', remove it if useless.
1558 cat <<\_ACEOF >conftest.sed
1559 s/[\\$]/&&/g;s/;s,x,x,$//
1561 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1564 # expand $ac_aux_dir to an absolute path
1565 am_aux_dir=`cd $ac_aux_dir && pwd`
1567 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1568 # Use eval to expand $SHELL
1569 if eval "$MISSING --run true"; then
1570 am_missing_run="$MISSING --run "
1573 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1574 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1577 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1578 # Keeping the `.' argument allows $(mkdir_p) to be used without
1579 # argument. Indeed, we sometimes output rules like
1580 # $(mkdir_p) $(somedir)
1581 # where $(somedir) is conditionally defined.
1582 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1583 # expensive solution, as it forces Make to start a sub-shell.)
1584 mkdir_p='mkdir -p -- .'
1586 # On NextStep and OpenStep, the `mkdir' command does not
1587 # recognize any option. It will interpret all options as
1588 # directories to create, and then abort because `.' already
1590 for d in ./-p ./--version;
1592 test -d $d && rmdir $d
1594 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1595 if test -f "$ac_aux_dir/mkinstalldirs"; then
1596 mkdir_p='$(mkinstalldirs)'
1598 mkdir_p='$(install_sh) -d'
1602 for ac_prog in gawk mawk nawk awk
1604 # Extract the first word of "$ac_prog", so it can be a program name with args.
1605 set dummy $ac_prog; ac_word=$2
1606 echo "$as_me:$LINENO: checking for $ac_word" >&5
1607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1608 if test "${ac_cv_prog_AWK+set}" = set; then
1609 echo $ECHO_N "(cached) $ECHO_C" >&6
1611 if test -n "$AWK"; then
1612 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1618 test -z "$as_dir" && as_dir=.
1619 for ac_exec_ext in '' $ac_executable_extensions; do
1620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1621 ac_cv_prog_AWK="$ac_prog"
1622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1631 if test -n "$AWK"; then
1632 echo "$as_me:$LINENO: result: $AWK" >&5
1633 echo "${ECHO_T}$AWK" >&6
1635 echo "$as_me:$LINENO: result: no" >&5
1636 echo "${ECHO_T}no" >&6
1639 test -n "$AWK" && break
1642 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1643 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1644 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1645 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1646 echo $ECHO_N "(cached) $ECHO_C" >&6
1648 cat >conftest.make <<\_ACEOF
1650 @echo 'ac_maketemp="$(MAKE)"'
1652 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1653 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1654 if test -n "$ac_maketemp"; then
1655 eval ac_cv_prog_make_${ac_make}_set=yes
1657 eval ac_cv_prog_make_${ac_make}_set=no
1661 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1662 echo "$as_me:$LINENO: result: yes" >&5
1663 echo "${ECHO_T}yes" >&6
1666 echo "$as_me:$LINENO: result: no" >&5
1667 echo "${ECHO_T}no" >&6
1668 SET_MAKE="MAKE=${MAKE-make}"
1671 rm -rf .tst 2>/dev/null
1672 mkdir .tst 2>/dev/null
1673 if test -d .tst; then
1678 rmdir .tst 2>/dev/null
1680 # test to see if srcdir already configured
1681 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1682 test -f $srcdir/config.status; then
1683 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1684 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1685 { (exit 1); exit 1; }; }
1688 # test whether we have cygpath
1689 if test -z "$CYGPATH_W"; then
1690 if (cygpath --version) >/dev/null 2>/dev/null; then
1691 CYGPATH_W='cygpath -w'
1698 # Define the identity of the package.
1699 PACKAGE='libmudflap'
1703 cat >>confdefs.h <<_ACEOF
1704 #define PACKAGE "$PACKAGE"
1708 cat >>confdefs.h <<_ACEOF
1709 #define VERSION "$VERSION"
1712 # Some tools Automake needs.
1714 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1717 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1720 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1723 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1726 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1729 AMTAR=${AMTAR-"${am_missing_run}tar"}
1731 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1733 # Installed binaries are usually stripped using `strip' when the user
1734 # run `make install-strip'. However `strip' might not be the right
1735 # tool to use in cross-compilation environments, therefore Automake
1736 # will honor the `STRIP' environment variable to overrule this program.
1737 if test "$cross_compiling" != no; then
1738 if test -n "$ac_tool_prefix"; then
1739 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1740 set dummy ${ac_tool_prefix}strip; ac_word=$2
1741 echo "$as_me:$LINENO: checking for $ac_word" >&5
1742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1743 if test "${ac_cv_prog_STRIP+set}" = set; then
1744 echo $ECHO_N "(cached) $ECHO_C" >&6
1746 if test -n "$STRIP"; then
1747 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1753 test -z "$as_dir" && as_dir=.
1754 for ac_exec_ext in '' $ac_executable_extensions; do
1755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1756 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1765 STRIP=$ac_cv_prog_STRIP
1766 if test -n "$STRIP"; then
1767 echo "$as_me:$LINENO: result: $STRIP" >&5
1768 echo "${ECHO_T}$STRIP" >&6
1770 echo "$as_me:$LINENO: result: no" >&5
1771 echo "${ECHO_T}no" >&6
1775 if test -z "$ac_cv_prog_STRIP"; then
1777 # Extract the first word of "strip", so it can be a program name with args.
1778 set dummy strip; ac_word=$2
1779 echo "$as_me:$LINENO: checking for $ac_word" >&5
1780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1781 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1782 echo $ECHO_N "(cached) $ECHO_C" >&6
1784 if test -n "$ac_ct_STRIP"; then
1785 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1791 test -z "$as_dir" && as_dir=.
1792 for ac_exec_ext in '' $ac_executable_extensions; do
1793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1794 ac_cv_prog_ac_ct_STRIP="strip"
1795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1804 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1805 if test -n "$ac_ct_STRIP"; then
1806 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1807 echo "${ECHO_T}$ac_ct_STRIP" >&6
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1815 STRIP="$ac_cv_prog_STRIP"
1819 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1821 # We need awk for the "check" target. The system "awk" is bad on
1827 # For libtool versioning info, format is CURRENT:REVISION:AGE
1828 libtool_VERSION=1:0:0
1831 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1832 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1833 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1834 if test "${enable_version_specific_runtime_libs+set}" = set; then
1835 enableval="$enable_version_specific_runtime_libs"
1836 case "$enableval" in
1837 yes) version_specific_libs=yes ;;
1838 no) version_specific_libs=no ;;
1839 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1840 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1841 { (exit 1); exit 1; }; };;
1844 version_specific_libs=no
1846 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1847 echo "${ECHO_T}$version_specific_libs" >&6
1849 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1850 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1851 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1852 if test "${enable_maintainer_mode+set}" = set; then
1853 enableval="$enable_maintainer_mode"
1854 USE_MAINTAINER_MODE=$enableval
1856 USE_MAINTAINER_MODE=no
1858 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1859 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1862 if test $USE_MAINTAINER_MODE = yes; then
1863 MAINTAINER_MODE_TRUE=
1864 MAINTAINER_MODE_FALSE='#'
1866 MAINTAINER_MODE_TRUE='#'
1867 MAINTAINER_MODE_FALSE=
1870 MAINT=$MAINTAINER_MODE_TRUE
1875 # Default to --enable-multilib
1876 # Check whether --enable-multilib or --disable-multilib was given.
1877 if test "${enable_multilib+set}" = set; then
1878 enableval="$enable_multilib"
1879 case "$enableval" in
1880 yes) multilib=yes ;;
1882 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1883 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1884 { (exit 1); exit 1; }; } ;;
1890 # We may get other options which we leave undocumented:
1891 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1892 # See config-ml.in if you want the gory details.
1894 if test "$srcdir" = "."; then
1895 if test "$with_target_subdir" != "."; then
1896 multi_basedir="$srcdir/$with_multisrctop../.."
1898 multi_basedir="$srcdir/$with_multisrctop.."
1901 multi_basedir="$srcdir/.."
1905 ac_config_commands="$ac_config_commands default-1"
1908 target_alias=${target_alias-$target}
1911 ac_config_headers="$ac_config_headers config.h"
1915 ac_cpp='$CPP $CPPFLAGS'
1916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1920 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1921 # We must force CC to /not/ be precious variables; otherwise
1922 # the wrong, non-multilib-adjusted value will be used in multilibs.
1923 # As a side effect, we have to subst CFLAGS ourselves.
1928 ac_cpp='$CPP $CPPFLAGS'
1929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1932 if test -n "$ac_tool_prefix"; then
1933 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1934 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1935 echo "$as_me:$LINENO: checking for $ac_word" >&5
1936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1937 if test "${ac_cv_prog_CC+set}" = set; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 if test -n "$CC"; then
1941 ac_cv_prog_CC="$CC" # Let the user override the test.
1943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1947 test -z "$as_dir" && as_dir=.
1948 for ac_exec_ext in '' $ac_executable_extensions; do
1949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1950 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1960 if test -n "$CC"; then
1961 echo "$as_me:$LINENO: result: $CC" >&5
1962 echo "${ECHO_T}$CC" >&6
1964 echo "$as_me:$LINENO: result: no" >&5
1965 echo "${ECHO_T}no" >&6
1969 if test -z "$ac_cv_prog_CC"; then
1971 # Extract the first word of "gcc", so it can be a program name with args.
1972 set dummy gcc; ac_word=$2
1973 echo "$as_me:$LINENO: checking for $ac_word" >&5
1974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1975 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1976 echo $ECHO_N "(cached) $ECHO_C" >&6
1978 if test -n "$ac_ct_CC"; then
1979 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 test -z "$as_dir" && as_dir=.
1986 for ac_exec_ext in '' $ac_executable_extensions; do
1987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1988 ac_cv_prog_ac_ct_CC="gcc"
1989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1997 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1998 if test -n "$ac_ct_CC"; then
1999 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2000 echo "${ECHO_T}$ac_ct_CC" >&6
2002 echo "$as_me:$LINENO: result: no" >&5
2003 echo "${ECHO_T}no" >&6
2011 if test -z "$CC"; then
2012 if test -n "$ac_tool_prefix"; then
2013 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2014 set dummy ${ac_tool_prefix}cc; ac_word=$2
2015 echo "$as_me:$LINENO: checking for $ac_word" >&5
2016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2017 if test "${ac_cv_prog_CC+set}" = set; then
2018 echo $ECHO_N "(cached) $ECHO_C" >&6
2020 if test -n "$CC"; then
2021 ac_cv_prog_CC="$CC" # Let the user override the test.
2023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 test -z "$as_dir" && as_dir=.
2028 for ac_exec_ext in '' $ac_executable_extensions; do
2029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2030 ac_cv_prog_CC="${ac_tool_prefix}cc"
2031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 if test -n "$CC"; then
2041 echo "$as_me:$LINENO: result: $CC" >&5
2042 echo "${ECHO_T}$CC" >&6
2044 echo "$as_me:$LINENO: result: no" >&5
2045 echo "${ECHO_T}no" >&6
2049 if test -z "$ac_cv_prog_CC"; then
2051 # Extract the first word of "cc", so it can be a program name with args.
2052 set dummy cc; ac_word=$2
2053 echo "$as_me:$LINENO: checking for $ac_word" >&5
2054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2055 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2056 echo $ECHO_N "(cached) $ECHO_C" >&6
2058 if test -n "$ac_ct_CC"; then
2059 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2065 test -z "$as_dir" && as_dir=.
2066 for ac_exec_ext in '' $ac_executable_extensions; do
2067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2068 ac_cv_prog_ac_ct_CC="cc"
2069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2077 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2078 if test -n "$ac_ct_CC"; then
2079 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2080 echo "${ECHO_T}$ac_ct_CC" >&6
2082 echo "$as_me:$LINENO: result: no" >&5
2083 echo "${ECHO_T}no" >&6
2092 if test -z "$CC"; then
2093 # Extract the first word of "cc", so it can be a program name with args.
2094 set dummy cc; ac_word=$2
2095 echo "$as_me:$LINENO: checking for $ac_word" >&5
2096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2097 if test "${ac_cv_prog_CC+set}" = set; then
2098 echo $ECHO_N "(cached) $ECHO_C" >&6
2100 if test -n "$CC"; then
2101 ac_cv_prog_CC="$CC" # Let the user override the test.
2104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 test -z "$as_dir" && as_dir=.
2109 for ac_exec_ext in '' $ac_executable_extensions; do
2110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2111 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2112 ac_prog_rejected=yes
2116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 if test $ac_prog_rejected = yes; then
2123 # We found a bogon in the path, so make sure we never use it.
2124 set dummy $ac_cv_prog_CC
2126 if test $# != 0; then
2127 # We chose a different compiler from the bogus one.
2128 # However, it has the same basename, so the bogon will be chosen
2129 # first if we set CC to just the basename; use the full file name.
2131 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2137 if test -n "$CC"; then
2138 echo "$as_me:$LINENO: result: $CC" >&5
2139 echo "${ECHO_T}$CC" >&6
2141 echo "$as_me:$LINENO: result: no" >&5
2142 echo "${ECHO_T}no" >&6
2146 if test -z "$CC"; then
2147 if test -n "$ac_tool_prefix"; then
2150 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2151 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2152 echo "$as_me:$LINENO: checking for $ac_word" >&5
2153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2154 if test "${ac_cv_prog_CC+set}" = set; then
2155 echo $ECHO_N "(cached) $ECHO_C" >&6
2157 if test -n "$CC"; then
2158 ac_cv_prog_CC="$CC" # Let the user override the test.
2160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2164 test -z "$as_dir" && as_dir=.
2165 for ac_exec_ext in '' $ac_executable_extensions; do
2166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2167 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2177 if test -n "$CC"; then
2178 echo "$as_me:$LINENO: result: $CC" >&5
2179 echo "${ECHO_T}$CC" >&6
2181 echo "$as_me:$LINENO: result: no" >&5
2182 echo "${ECHO_T}no" >&6
2185 test -n "$CC" && break
2188 if test -z "$CC"; then
2192 # Extract the first word of "$ac_prog", so it can be a program name with args.
2193 set dummy $ac_prog; ac_word=$2
2194 echo "$as_me:$LINENO: checking for $ac_word" >&5
2195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2196 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
2199 if test -n "$ac_ct_CC"; then
2200 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2206 test -z "$as_dir" && as_dir=.
2207 for ac_exec_ext in '' $ac_executable_extensions; do
2208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2209 ac_cv_prog_ac_ct_CC="$ac_prog"
2210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2218 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2219 if test -n "$ac_ct_CC"; then
2220 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2221 echo "${ECHO_T}$ac_ct_CC" >&6
2223 echo "$as_me:$LINENO: result: no" >&5
2224 echo "${ECHO_T}no" >&6
2227 test -n "$ac_ct_CC" && break
2236 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2237 See \`config.log' for more details." >&5
2238 echo "$as_me: error: no acceptable C compiler found in \$PATH
2239 See \`config.log' for more details." >&2;}
2240 { (exit 1); exit 1; }; }
2242 # Provide some information about the compiler.
2243 echo "$as_me:$LINENO:" \
2244 "checking for C compiler version" >&5
2245 ac_compiler=`set X $ac_compile; echo $2`
2246 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2247 (eval $ac_compiler --version </dev/null >&5) 2>&5
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250 (exit $ac_status); }
2251 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2252 (eval $ac_compiler -v </dev/null >&5) 2>&5
2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2255 (exit $ac_status); }
2256 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2257 (eval $ac_compiler -V </dev/null >&5) 2>&5
2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260 (exit $ac_status); }
2262 cat >conftest.$ac_ext <<_ACEOF
2265 cat confdefs.h >>conftest.$ac_ext
2266 cat >>conftest.$ac_ext <<_ACEOF
2267 /* end confdefs.h. */
2277 ac_clean_files_save=$ac_clean_files
2278 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2279 # Try to create an executable without -o first, disregard a.out.
2280 # It will help us diagnose broken compilers, and finding out an intuition
2282 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2283 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2284 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2285 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2286 (eval $ac_link_default) 2>&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); }; then
2290 # Find the output, starting from the most likely. This scheme is
2291 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2294 # Be careful to initialize this variable, since it used to be cached.
2295 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2297 # b.out is created by i960 compilers.
2298 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2300 test -f "$ac_file" || continue
2302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2305 # This is the source file.
2308 # We found the default executable, but exeext='' is most
2312 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2313 # FIXME: I believe we export ac_cv_exeext for Libtool,
2314 # but it would be cool to find out if it's true. Does anybody
2315 # maintain Libtool? --akim.
2323 echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.$ac_ext >&5
2326 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2327 See \`config.log' for more details." >&5
2328 echo "$as_me: error: C compiler cannot create executables
2329 See \`config.log' for more details." >&2;}
2330 { (exit 77); exit 77; }; }
2333 ac_exeext=$ac_cv_exeext
2334 echo "$as_me:$LINENO: result: $ac_file" >&5
2335 echo "${ECHO_T}$ac_file" >&6
2337 # Check the compiler produces executables we can run. If not, either
2338 # the compiler is broken, or we cross compile.
2339 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2340 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2341 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2342 # If not cross compiling, check that we can run a simple program.
2343 if test "$cross_compiling" != yes; then
2344 if { ac_try='./$ac_file'
2345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }; }; then
2352 if test "$cross_compiling" = maybe; then
2355 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2356 If you meant to cross compile, use \`--host'.
2357 See \`config.log' for more details." >&5
2358 echo "$as_me: error: cannot run C compiled programs.
2359 If you meant to cross compile, use \`--host'.
2360 See \`config.log' for more details." >&2;}
2361 { (exit 1); exit 1; }; }
2365 echo "$as_me:$LINENO: result: yes" >&5
2366 echo "${ECHO_T}yes" >&6
2368 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2369 ac_clean_files=$ac_clean_files_save
2370 # Check the compiler produces executables we can run. If not, either
2371 # the compiler is broken, or we cross compile.
2372 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2373 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2374 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2375 echo "${ECHO_T}$cross_compiling" >&6
2377 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2378 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2380 (eval $ac_link) 2>&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }; then
2384 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2385 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2386 # work properly (i.e., refer to `conftest.exe'), while it won't with
2388 for ac_file in conftest.exe conftest conftest.*; do
2389 test -f "$ac_file" || continue
2391 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2392 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2399 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2400 See \`config.log' for more details." >&5
2401 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2402 See \`config.log' for more details." >&2;}
2403 { (exit 1); exit 1; }; }
2406 rm -f conftest$ac_cv_exeext
2407 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2408 echo "${ECHO_T}$ac_cv_exeext" >&6
2410 rm -f conftest.$ac_ext
2411 EXEEXT=$ac_cv_exeext
2413 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2414 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2415 if test "${ac_cv_objext+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 cat >conftest.$ac_ext <<_ACEOF
2421 cat confdefs.h >>conftest.$ac_ext
2422 cat >>conftest.$ac_ext <<_ACEOF
2423 /* end confdefs.h. */
2433 rm -f conftest.o conftest.obj
2434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2435 (eval $ac_compile) 2>&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); }; then
2439 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2441 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2442 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2447 echo "$as_me: failed program was:" >&5
2448 sed 's/^/| /' conftest.$ac_ext >&5
2450 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2451 See \`config.log' for more details." >&5
2452 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2453 See \`config.log' for more details." >&2;}
2454 { (exit 1); exit 1; }; }
2457 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2459 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2460 echo "${ECHO_T}$ac_cv_objext" >&6
2461 OBJEXT=$ac_cv_objext
2463 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2464 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2465 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2468 cat >conftest.$ac_ext <<_ACEOF
2471 cat confdefs.h >>conftest.$ac_ext
2472 cat >>conftest.$ac_ext <<_ACEOF
2473 /* end confdefs.h. */
2486 rm -f conftest.$ac_objext
2487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2488 (eval $ac_compile) 2>conftest.er1
2490 grep -v '^ *+' conftest.er1 >conftest.err
2492 cat conftest.err >&5
2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494 (exit $ac_status); } &&
2495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); }; } &&
2501 { ac_try='test -s conftest.$ac_objext'
2502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; }; then
2509 echo "$as_me: failed program was:" >&5
2510 sed 's/^/| /' conftest.$ac_ext >&5
2514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2515 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2518 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2519 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2520 GCC=`test $ac_compiler_gnu = yes && echo yes`
2521 ac_test_CFLAGS=${CFLAGS+set}
2522 ac_save_CFLAGS=$CFLAGS
2524 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2525 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2526 if test "${ac_cv_prog_cc_g+set}" = set; then
2527 echo $ECHO_N "(cached) $ECHO_C" >&6
2529 cat >conftest.$ac_ext <<_ACEOF
2532 cat confdefs.h >>conftest.$ac_ext
2533 cat >>conftest.$ac_ext <<_ACEOF
2534 /* end confdefs.h. */
2544 rm -f conftest.$ac_objext
2545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2546 (eval $ac_compile) 2>conftest.er1
2548 grep -v '^ *+' conftest.er1 >conftest.err
2550 cat conftest.err >&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); } &&
2553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }; } &&
2559 { ac_try='test -s conftest.$ac_objext'
2560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; }; then
2567 echo "$as_me: failed program was:" >&5
2568 sed 's/^/| /' conftest.$ac_ext >&5
2572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2574 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2575 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2576 if test "$ac_test_CFLAGS" = set; then
2577 CFLAGS=$ac_save_CFLAGS
2578 elif test $ac_cv_prog_cc_g = yes; then
2579 if test "$GCC" = yes; then
2585 if test "$GCC" = yes; then
2591 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2592 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2593 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2594 echo $ECHO_N "(cached) $ECHO_C" >&6
2596 ac_cv_prog_cc_stdc=no
2598 cat >conftest.$ac_ext <<_ACEOF
2601 cat confdefs.h >>conftest.$ac_ext
2602 cat >>conftest.$ac_ext <<_ACEOF
2603 /* end confdefs.h. */
2606 #include <sys/types.h>
2607 #include <sys/stat.h>
2608 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2609 struct buf { int x; };
2610 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2611 static char *e (p, i)
2617 static char *f (char * (*g) (char **, int), char **p, ...)
2622 s = g (p, va_arg (v,int));
2627 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2628 function prototypes and stuff, but not '\xHH' hex character constants.
2629 These don't provoke an error unfortunately, instead are silently treated
2630 as 'x'. The following induces an error, until -std1 is added to get
2631 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2632 array size at least. It's necessary to write '\x00'==0 to get something
2633 that's true only with -std1. */
2634 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2636 int test (int i, double x);
2637 struct s1 {int (*f) (int a);};
2638 struct s2 {int (*f) (double a);};
2639 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2645 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2650 # Don't try gcc -ansi; that turns off useful extensions and
2651 # breaks some systems' header files.
2652 # AIX -qlanglvl=ansi
2653 # Ultrix and OSF/1 -std1
2654 # HP-UX 10.20 and later -Ae
2655 # HP-UX older versions -Aa -D_HPUX_SOURCE
2656 # SVR4 -Xc -D__EXTENSIONS__
2657 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2659 CC="$ac_save_CC $ac_arg"
2660 rm -f conftest.$ac_objext
2661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2662 (eval $ac_compile) 2>conftest.er1
2664 grep -v '^ *+' conftest.er1 >conftest.err
2666 cat conftest.err >&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); } &&
2669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); }; } &&
2675 { ac_try='test -s conftest.$ac_objext'
2676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; }; then
2681 ac_cv_prog_cc_stdc=$ac_arg
2684 echo "$as_me: failed program was:" >&5
2685 sed 's/^/| /' conftest.$ac_ext >&5
2688 rm -f conftest.err conftest.$ac_objext
2690 rm -f conftest.$ac_ext conftest.$ac_objext
2695 case "x$ac_cv_prog_cc_stdc" in
2697 echo "$as_me:$LINENO: result: none needed" >&5
2698 echo "${ECHO_T}none needed" >&6 ;;
2700 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2701 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2702 CC="$CC $ac_cv_prog_cc_stdc" ;;
2705 # Some people use a C++ compiler to compile C. Since we use `exit',
2706 # in C++ we need to declare it. In case someone uses the same compiler
2707 # for both compiling C and C++ we need to have the C++ compiler decide
2708 # the declaration of exit, since it's the most demanding environment.
2709 cat >conftest.$ac_ext <<_ACEOF
2714 rm -f conftest.$ac_objext
2715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2716 (eval $ac_compile) 2>conftest.er1
2718 grep -v '^ *+' conftest.er1 >conftest.err
2720 cat conftest.err >&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); } &&
2723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; } &&
2729 { ac_try='test -s conftest.$ac_objext'
2730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); }; }; then
2735 for ac_declaration in \
2737 'extern "C" void std::exit (int) throw (); using std::exit;' \
2738 'extern "C" void std::exit (int); using std::exit;' \
2739 'extern "C" void exit (int) throw ();' \
2740 'extern "C" void exit (int);' \
2743 cat >conftest.$ac_ext <<_ACEOF
2746 cat confdefs.h >>conftest.$ac_ext
2747 cat >>conftest.$ac_ext <<_ACEOF
2748 /* end confdefs.h. */
2759 rm -f conftest.$ac_objext
2760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2761 (eval $ac_compile) 2>conftest.er1
2763 grep -v '^ *+' conftest.er1 >conftest.err
2765 cat conftest.err >&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); } &&
2768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); }; } &&
2774 { ac_try='test -s conftest.$ac_objext'
2775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }; }; then
2782 echo "$as_me: failed program was:" >&5
2783 sed 's/^/| /' conftest.$ac_ext >&5
2787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2788 cat >conftest.$ac_ext <<_ACEOF
2791 cat confdefs.h >>conftest.$ac_ext
2792 cat >>conftest.$ac_ext <<_ACEOF
2793 /* end confdefs.h. */
2803 rm -f conftest.$ac_objext
2804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2805 (eval $ac_compile) 2>conftest.er1
2807 grep -v '^ *+' conftest.er1 >conftest.err
2809 cat conftest.err >&5
2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 (exit $ac_status); } &&
2812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); }; } &&
2818 { ac_try='test -s conftest.$ac_objext'
2819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; }; then
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2833 if test -n "$ac_declaration"; then
2834 echo '#ifdef __cplusplus' >>confdefs.h
2835 echo $ac_declaration >>confdefs.h
2836 echo '#endif' >>confdefs.h
2840 echo "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.$ac_ext >&5
2844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2846 ac_cpp='$CPP $CPPFLAGS'
2847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2850 DEPDIR="${am__leading_dot}deps"
2852 ac_config_commands="$ac_config_commands depfiles"
2855 am_make=${MAKE-make}
2856 cat > confinc << 'END'
2861 # If we don't find an include directive, just comment out the code.
2862 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2863 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2867 # First try GNU make style include.
2868 echo "include confinc" > confmf
2869 # We grep out `Entering directory' and `Leaving directory'
2870 # messages which can occur if `w' ends up in MAKEFLAGS.
2871 # In particular we don't look at `^make:' because GNU make might
2872 # be invoked under some other name (usually "gmake"), in which
2873 # case it prints its new name instead of `make'.
2874 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2879 # Now try BSD make style include.
2880 if test "$am__include" = "#"; then
2881 echo '.include "confinc"' > confmf
2882 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2883 am__include=.include
2890 echo "$as_me:$LINENO: result: $_am_result" >&5
2891 echo "${ECHO_T}$_am_result" >&6
2892 rm -f confinc confmf
2894 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2895 if test "${enable_dependency_tracking+set}" = set; then
2896 enableval="$enable_dependency_tracking"
2899 if test "x$enable_dependency_tracking" != xno; then
2900 am_depcomp="$ac_aux_dir/depcomp"
2905 if test "x$enable_dependency_tracking" != xno; then
2916 depcc="$CC" am_compiler_list=
2918 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2919 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2920 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2921 echo $ECHO_N "(cached) $ECHO_C" >&6
2923 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2924 # We make a subdir and do the tests there. Otherwise we can end up
2925 # making bogus files that we don't know about and never remove. For
2926 # instance it was reported that on HP-UX the gcc test will end up
2927 # making a dummy file named `D' -- because `-MD' means `put the output
2930 # Copy depcomp to subdir because otherwise we won't find it if we're
2931 # using a relative directory.
2932 cp "$am_depcomp" conftest.dir
2934 # We will build objects and dependencies in a subdirectory because
2935 # it helps to detect inapplicable dependency modes. For instance
2936 # both Tru64's cc and ICC support -MD to output dependencies as a
2937 # side effect of compilation, but ICC will put the dependencies in
2938 # the current directory while Tru64 will put them in the object
2942 am_cv_CC_dependencies_compiler_type=none
2943 if test "$am_compiler_list" = ""; then
2944 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2946 for depmode in $am_compiler_list; do
2947 # Setup a source with many dependencies, because some compilers
2948 # like to wrap large dependency lists on column 80 (with \), and
2949 # we should not choose a depcomp mode which is confused by this.
2951 # We need to recreate these files for each test, as the compiler may
2952 # overwrite some of them when testing with obscure command lines.
2953 # This happens at least with the AIX C compiler.
2955 for i in 1 2 3 4 5 6; do
2956 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2957 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2958 # Solaris 8's {/usr,}/bin/sh.
2959 touch sub/conftst$i.h
2961 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2965 # after this tag, mechanisms are not by side-effect, so they'll
2966 # only be used when explicitly requested
2967 if test "x$enable_dependency_tracking" = xyes; then
2975 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2976 # mode. It turns out that the SunPro C++ compiler does not properly
2977 # handle `-M -o', and we need to detect this.
2978 if depmode=$depmode \
2979 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2980 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2981 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2982 >/dev/null 2>conftest.err &&
2983 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2984 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2985 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2986 # icc doesn't choke on unknown options, it will just issue warnings
2987 # or remarks (even with -Werror). So we grep stderr for any message
2988 # that says an option was ignored or not supported.
2989 # When given -MP, icc 7.0 and 7.1 complain thusly:
2990 # icc: Command line warning: ignoring option '-M'; no argument required
2991 # The diagnosis changed in icc 8.0:
2992 # icc: Command line remark: option '-MP' not supported
2993 if (grep 'ignoring option' conftest.err ||
2994 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2995 am_cv_CC_dependencies_compiler_type=$depmode
3004 am_cv_CC_dependencies_compiler_type=none
3008 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3009 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3010 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3015 test "x$enable_dependency_tracking" != xno \
3016 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3018 am__fastdepCC_FALSE='#'
3020 am__fastdepCC_TRUE='#'
3021 am__fastdepCC_FALSE=
3029 if test "x$GCC" != "xyes"; then
3030 { { echo "$as_me:$LINENO: error: libmudflap must be built with GCC" >&5
3031 echo "$as_me: error: libmudflap must be built with GCC" >&2;}
3032 { (exit 1); exit 1; }; }
3035 ac_cpp='$CPP $CPPFLAGS'
3036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3039 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3040 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3041 # On Suns, sometimes $CPP names a directory.
3042 if test -n "$CPP" && test -d "$CPP"; then
3045 if test -z "$CPP"; then
3046 if test "${ac_cv_prog_CPP+set}" = set; then
3047 echo $ECHO_N "(cached) $ECHO_C" >&6
3049 # Double quotes because CPP needs to be expanded
3050 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3053 for ac_c_preproc_warn_flag in '' yes
3055 # Use a header file that comes with gcc, so configuring glibc
3056 # with a fresh cross-compiler works.
3057 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3058 # <limits.h> exists even on freestanding compilers.
3059 # On the NeXT, cc -E runs the code through the compiler's parser,
3060 # not just through cpp. "Syntax error" is here to catch this case.
3061 cat >conftest.$ac_ext <<_ACEOF
3064 cat confdefs.h >>conftest.$ac_ext
3065 cat >>conftest.$ac_ext <<_ACEOF
3066 /* end confdefs.h. */
3068 # include <limits.h>
3070 # include <assert.h>
3074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3077 grep -v '^ *+' conftest.er1 >conftest.err
3079 cat conftest.err >&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); } >/dev/null; then
3082 if test -s conftest.err; then
3083 ac_cpp_err=$ac_c_preproc_warn_flag
3084 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3091 if test -z "$ac_cpp_err"; then
3094 echo "$as_me: failed program was:" >&5
3095 sed 's/^/| /' conftest.$ac_ext >&5
3097 # Broken: fails on valid input.
3100 rm -f conftest.err conftest.$ac_ext
3102 # OK, works on sane cases. Now check whether non-existent headers
3103 # can be detected and how.
3104 cat >conftest.$ac_ext <<_ACEOF
3107 cat confdefs.h >>conftest.$ac_ext
3108 cat >>conftest.$ac_ext <<_ACEOF
3109 /* end confdefs.h. */
3110 #include <ac_nonexistent.h>
3112 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3113 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3115 grep -v '^ *+' conftest.er1 >conftest.err
3117 cat conftest.err >&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); } >/dev/null; then
3120 if test -s conftest.err; then
3121 ac_cpp_err=$ac_c_preproc_warn_flag
3122 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3129 if test -z "$ac_cpp_err"; then
3130 # Broken: success on invalid input.
3133 echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.$ac_ext >&5
3136 # Passes both tests.
3140 rm -f conftest.err conftest.$ac_ext
3143 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3144 rm -f conftest.err conftest.$ac_ext
3145 if $ac_preproc_ok; then
3157 echo "$as_me:$LINENO: result: $CPP" >&5
3158 echo "${ECHO_T}$CPP" >&6
3160 for ac_c_preproc_warn_flag in '' yes
3162 # Use a header file that comes with gcc, so configuring glibc
3163 # with a fresh cross-compiler works.
3164 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3165 # <limits.h> exists even on freestanding compilers.
3166 # On the NeXT, cc -E runs the code through the compiler's parser,
3167 # not just through cpp. "Syntax error" is here to catch this case.
3168 cat >conftest.$ac_ext <<_ACEOF
3171 cat confdefs.h >>conftest.$ac_ext
3172 cat >>conftest.$ac_ext <<_ACEOF
3173 /* end confdefs.h. */
3175 # include <limits.h>
3177 # include <assert.h>
3181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3184 grep -v '^ *+' conftest.er1 >conftest.err
3186 cat conftest.err >&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); } >/dev/null; then
3189 if test -s conftest.err; then
3190 ac_cpp_err=$ac_c_preproc_warn_flag
3191 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3198 if test -z "$ac_cpp_err"; then
3201 echo "$as_me: failed program was:" >&5
3202 sed 's/^/| /' conftest.$ac_ext >&5
3204 # Broken: fails on valid input.
3207 rm -f conftest.err conftest.$ac_ext
3209 # OK, works on sane cases. Now check whether non-existent headers
3210 # can be detected and how.
3211 cat >conftest.$ac_ext <<_ACEOF
3214 cat confdefs.h >>conftest.$ac_ext
3215 cat >>conftest.$ac_ext <<_ACEOF
3216 /* end confdefs.h. */
3217 #include <ac_nonexistent.h>
3219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3222 grep -v '^ *+' conftest.er1 >conftest.err
3224 cat conftest.err >&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 (exit $ac_status); } >/dev/null; then
3227 if test -s conftest.err; then
3228 ac_cpp_err=$ac_c_preproc_warn_flag
3229 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3236 if test -z "$ac_cpp_err"; then
3237 # Broken: success on invalid input.
3240 echo "$as_me: failed program was:" >&5
3241 sed 's/^/| /' conftest.$ac_ext >&5
3243 # Passes both tests.
3247 rm -f conftest.err conftest.$ac_ext
3250 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3251 rm -f conftest.err conftest.$ac_ext
3252 if $ac_preproc_ok; then
3255 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3256 See \`config.log' for more details." >&5
3257 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3258 See \`config.log' for more details." >&2;}
3259 { (exit 1); exit 1; }; }
3263 ac_cpp='$CPP $CPPFLAGS'
3264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3269 # Some hosts don't have dlsym(RTLD_NEXT, "symbol") for use in
3270 # symbol interposition. We disable shared libraries for these.
3271 echo "$as_me:$LINENO: checking whether dlsym(RTLD_NEXT,...) is available" >&5
3272 echo $ECHO_N "checking whether dlsym(RTLD_NEXT,...) is available... $ECHO_C" >&6
3274 cat >conftest.$ac_ext <<_ACEOF
3277 cat confdefs.h >>conftest.$ac_ext
3278 cat >>conftest.$ac_ext <<_ACEOF
3279 /* end confdefs.h. */
3287 void *foo = dlsym (RTLD_NEXT, "exit");
3292 rm -f conftest.$ac_objext
3293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3294 (eval $ac_compile) 2>conftest.er1
3296 grep -v '^ *+' conftest.er1 >conftest.err
3298 cat conftest.err >&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); } &&
3301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); }; } &&
3307 { ac_try='test -s conftest.$ac_objext'
3308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); }; }; then
3313 echo "$as_me:$LINENO: result: yes" >&5
3314 echo "${ECHO_T}yes" >&6
3316 echo "$as_me: failed program was:" >&5
3317 sed 's/^/| /' conftest.$ac_ext >&5
3319 echo "$as_me:$LINENO: result: no" >&5
3320 echo "${ECHO_T}no" >&6
3323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3326 echo "$as_me:$LINENO: checking for egrep" >&5
3327 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3328 if test "${ac_cv_prog_egrep+set}" = set; then
3329 echo $ECHO_N "(cached) $ECHO_C" >&6
3331 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3332 then ac_cv_prog_egrep='grep -E'
3333 else ac_cv_prog_egrep='egrep'
3336 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3337 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3338 EGREP=$ac_cv_prog_egrep
3341 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3342 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3343 if test "${ac_cv_header_stdc+set}" = set; then
3344 echo $ECHO_N "(cached) $ECHO_C" >&6
3346 cat >conftest.$ac_ext <<_ACEOF
3349 cat confdefs.h >>conftest.$ac_ext
3350 cat >>conftest.$ac_ext <<_ACEOF
3351 /* end confdefs.h. */
3365 rm -f conftest.$ac_objext
3366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3367 (eval $ac_compile) 2>conftest.er1
3369 grep -v '^ *+' conftest.er1 >conftest.err
3371 cat conftest.err >&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); } &&
3374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379 (exit $ac_status); }; } &&
3380 { ac_try='test -s conftest.$ac_objext'
3381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); }; }; then
3386 ac_cv_header_stdc=yes
3388 echo "$as_me: failed program was:" >&5
3389 sed 's/^/| /' conftest.$ac_ext >&5
3391 ac_cv_header_stdc=no
3393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3395 if test $ac_cv_header_stdc = yes; then
3396 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3397 cat >conftest.$ac_ext <<_ACEOF
3400 cat confdefs.h >>conftest.$ac_ext
3401 cat >>conftest.$ac_ext <<_ACEOF
3402 /* end confdefs.h. */
3406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3407 $EGREP "memchr" >/dev/null 2>&1; then
3410 ac_cv_header_stdc=no
3416 if test $ac_cv_header_stdc = yes; then
3417 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3418 cat >conftest.$ac_ext <<_ACEOF
3421 cat confdefs.h >>conftest.$ac_ext
3422 cat >>conftest.$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3428 $EGREP "free" >/dev/null 2>&1; then
3431 ac_cv_header_stdc=no
3437 if test $ac_cv_header_stdc = yes; then
3438 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3439 if test "$cross_compiling" = yes; then
3442 cat >conftest.$ac_ext <<_ACEOF
3445 cat confdefs.h >>conftest.$ac_ext
3446 cat >>conftest.$ac_ext <<_ACEOF
3447 /* end confdefs.h. */
3449 #if ((' ' & 0x0FF) == 0x020)
3450 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3451 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3453 # define ISLOWER(c) \
3454 (('a' <= (c) && (c) <= 'i') \
3455 || ('j' <= (c) && (c) <= 'r') \
3456 || ('s' <= (c) && (c) <= 'z'))
3457 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3460 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3465 for (i = 0; i < 256; i++)
3466 if (XOR (islower (i), ISLOWER (i))
3467 || toupper (i) != TOUPPER (i))
3472 rm -f conftest$ac_exeext
3473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3474 (eval $ac_link) 2>&5
3476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); }; }; then
3485 echo "$as_me: program exited with status $ac_status" >&5
3486 echo "$as_me: failed program was:" >&5
3487 sed 's/^/| /' conftest.$ac_ext >&5
3490 ac_cv_header_stdc=no
3492 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3496 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3497 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3498 if test $ac_cv_header_stdc = yes; then
3500 cat >>confdefs.h <<\_ACEOF
3501 #define STDC_HEADERS 1
3506 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3516 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3517 inttypes.h stdint.h unistd.h
3519 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3520 echo "$as_me:$LINENO: checking for $ac_header" >&5
3521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 cat >conftest.$ac_ext <<_ACEOF
3528 cat confdefs.h >>conftest.$ac_ext
3529 cat >>conftest.$ac_ext <<_ACEOF
3530 /* end confdefs.h. */
3531 $ac_includes_default
3533 #include <$ac_header>
3535 rm -f conftest.$ac_objext
3536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3537 (eval $ac_compile) 2>conftest.er1
3539 grep -v '^ *+' conftest.er1 >conftest.err
3541 cat conftest.err >&5
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); } &&
3544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); }; } &&
3550 { ac_try='test -s conftest.$ac_objext'
3551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); }; }; then
3556 eval "$as_ac_Header=yes"
3558 echo "$as_me: failed program was:" >&5
3559 sed 's/^/| /' conftest.$ac_ext >&5
3561 eval "$as_ac_Header=no"
3563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3568 cat >>confdefs.h <<_ACEOF
3569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3588 for ac_header in stdint.h execinfo.h signal.h dlfcn.h \
3589 netdb.h sys/ipc.h sys/sem.h sys/shm.h sys/wait.h sys/socket.h ctype.h
3591 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3593 echo "$as_me:$LINENO: checking for $ac_header" >&5
3594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3596 echo $ECHO_N "(cached) $ECHO_C" >&6
3598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3601 # Is the header compilable?
3602 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3603 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3604 cat >conftest.$ac_ext <<_ACEOF
3607 cat confdefs.h >>conftest.$ac_ext
3608 cat >>conftest.$ac_ext <<_ACEOF
3609 /* end confdefs.h. */
3610 $ac_includes_default
3611 #include <$ac_header>
3613 rm -f conftest.$ac_objext
3614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3615 (eval $ac_compile) 2>conftest.er1
3617 grep -v '^ *+' conftest.er1 >conftest.err
3619 cat conftest.err >&5
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); } &&
3622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); }; } &&
3628 { ac_try='test -s conftest.$ac_objext'
3629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); }; }; then
3634 ac_header_compiler=yes
3636 echo "$as_me: failed program was:" >&5
3637 sed 's/^/| /' conftest.$ac_ext >&5
3639 ac_header_compiler=no
3641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3642 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3643 echo "${ECHO_T}$ac_header_compiler" >&6
3645 # Is the header present?
3646 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3647 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3648 cat >conftest.$ac_ext <<_ACEOF
3651 cat confdefs.h >>conftest.$ac_ext
3652 cat >>conftest.$ac_ext <<_ACEOF
3653 /* end confdefs.h. */
3654 #include <$ac_header>
3656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3659 grep -v '^ *+' conftest.er1 >conftest.err
3661 cat conftest.err >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } >/dev/null; then
3664 if test -s conftest.err; then
3665 ac_cpp_err=$ac_c_preproc_warn_flag
3666 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3673 if test -z "$ac_cpp_err"; then
3674 ac_header_preproc=yes
3676 echo "$as_me: failed program was:" >&5
3677 sed 's/^/| /' conftest.$ac_ext >&5
3679 ac_header_preproc=no
3681 rm -f conftest.err conftest.$ac_ext
3682 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3683 echo "${ECHO_T}$ac_header_preproc" >&6
3685 # So? What about this header?
3686 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3688 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3689 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3691 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3692 ac_header_preproc=yes
3695 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3696 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3697 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3698 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3699 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3700 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3701 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3702 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3704 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3705 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3706 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3709 ## ------------------------------------- ##
3710 ## Report this to the libmudflap lists. ##
3711 ## ------------------------------------- ##
3714 sed "s/^/$as_me: WARNING: /" >&2
3717 echo "$as_me:$LINENO: checking for $ac_header" >&5
3718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 eval "$as_ac_Header=\$ac_header_preproc"
3724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3729 cat >>confdefs.h <<_ACEOF
3730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3741 for ac_func in backtrace backtrace_symbols gettimeofday signal
3743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3744 echo "$as_me:$LINENO: checking for $ac_func" >&5
3745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3746 if eval "test \"\${$as_ac_var+set}\" = set"; then
3747 echo $ECHO_N "(cached) $ECHO_C" >&6
3749 cat >conftest.$ac_ext <<_ACEOF
3752 cat confdefs.h >>conftest.$ac_ext
3753 cat >>conftest.$ac_ext <<_ACEOF
3754 /* end confdefs.h. */
3755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3757 #define $ac_func innocuous_$ac_func
3759 /* System header to define __stub macros and hopefully few prototypes,
3760 which can conflict with char $ac_func (); below.
3761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3762 <limits.h> exists even on freestanding compilers. */
3765 # include <limits.h>
3767 # include <assert.h>
3772 /* Override any gcc2 internal prototype to avoid an error. */
3777 /* We use char because int might match the return type of a gcc2
3778 builtin and then its argument prototype would still apply. */
3780 /* The GNU C library defines this for functions which it implements
3781 to always fail with ENOSYS. Some functions are actually named
3782 something starting with __ and the normal name is an alias. */
3783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3786 char (*f) () = $ac_func;
3795 return f != $ac_func;
3800 rm -f conftest.$ac_objext conftest$ac_exeext
3801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3802 (eval $ac_link) 2>conftest.er1
3804 grep -v '^ *+' conftest.er1 >conftest.err
3806 cat conftest.err >&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); } &&
3809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); }; } &&
3815 { ac_try='test -s conftest$ac_exeext'
3816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); }; }; then
3821 eval "$as_ac_var=yes"
3823 echo "$as_me: failed program was:" >&5
3824 sed 's/^/| /' conftest.$ac_ext >&5
3826 eval "$as_ac_var=no"
3828 rm -f conftest.err conftest.$ac_objext \
3829 conftest$ac_exeext conftest.$ac_ext
3831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3833 if test `eval echo '${'$as_ac_var'}'` = yes; then
3834 cat >>confdefs.h <<_ACEOF
3835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3846 for ac_func in fopen64 fseeko64 ftello64 stat64
3848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3849 echo "$as_me:$LINENO: checking for $ac_func" >&5
3850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3851 if eval "test \"\${$as_ac_var+set}\" = set"; then
3852 echo $ECHO_N "(cached) $ECHO_C" >&6
3854 cat >conftest.$ac_ext <<_ACEOF
3857 cat confdefs.h >>conftest.$ac_ext
3858 cat >>conftest.$ac_ext <<_ACEOF
3859 /* end confdefs.h. */
3860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3862 #define $ac_func innocuous_$ac_func
3864 /* System header to define __stub macros and hopefully few prototypes,
3865 which can conflict with char $ac_func (); below.
3866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3867 <limits.h> exists even on freestanding compilers. */
3870 # include <limits.h>
3872 # include <assert.h>
3877 /* Override any gcc2 internal prototype to avoid an error. */
3882 /* We use char because int might match the return type of a gcc2
3883 builtin and then its argument prototype would still apply. */
3885 /* The GNU C library defines this for functions which it implements
3886 to always fail with ENOSYS. Some functions are actually named
3887 something starting with __ and the normal name is an alias. */
3888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3891 char (*f) () = $ac_func;
3900 return f != $ac_func;
3905 rm -f conftest.$ac_objext conftest$ac_exeext
3906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3907 (eval $ac_link) 2>conftest.er1
3909 grep -v '^ *+' conftest.er1 >conftest.err
3911 cat conftest.err >&5
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); } &&
3914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); }; } &&
3920 { ac_try='test -s conftest$ac_exeext'
3921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); }; }; then
3926 eval "$as_ac_var=yes"
3928 echo "$as_me: failed program was:" >&5
3929 sed 's/^/| /' conftest.$ac_ext >&5
3931 eval "$as_ac_var=no"
3933 rm -f conftest.err conftest.$ac_objext \
3934 conftest$ac_exeext conftest.$ac_ext
3936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3938 if test `eval echo '${'$as_ac_var'}'` = yes; then
3939 cat >>confdefs.h <<_ACEOF
3940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3952 for ac_func in strnlen memrchr strncpy memmem sethostname
3954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3955 echo "$as_me:$LINENO: checking for $ac_func" >&5
3956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3957 if eval "test \"\${$as_ac_var+set}\" = set"; then
3958 echo $ECHO_N "(cached) $ECHO_C" >&6
3960 cat >conftest.$ac_ext <<_ACEOF
3963 cat confdefs.h >>conftest.$ac_ext
3964 cat >>conftest.$ac_ext <<_ACEOF
3965 /* end confdefs.h. */
3966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3968 #define $ac_func innocuous_$ac_func
3970 /* System header to define __stub macros and hopefully few prototypes,
3971 which can conflict with char $ac_func (); below.
3972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3973 <limits.h> exists even on freestanding compilers. */
3976 # include <limits.h>
3978 # include <assert.h>
3983 /* Override any gcc2 internal prototype to avoid an error. */
3988 /* We use char because int might match the return type of a gcc2
3989 builtin and then its argument prototype would still apply. */
3991 /* The GNU C library defines this for functions which it implements
3992 to always fail with ENOSYS. Some functions are actually named
3993 something starting with __ and the normal name is an alias. */
3994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3997 char (*f) () = $ac_func;
4006 return f != $ac_func;
4011 rm -f conftest.$ac_objext conftest$ac_exeext
4012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4013 (eval $ac_link) 2>conftest.er1
4015 grep -v '^ *+' conftest.er1 >conftest.err
4017 cat conftest.err >&5
4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); } &&
4020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); }; } &&
4026 { ac_try='test -s conftest$ac_exeext'
4027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; }; then
4032 eval "$as_ac_var=yes"
4034 echo "$as_me: failed program was:" >&5
4035 sed 's/^/| /' conftest.$ac_ext >&5
4037 eval "$as_ac_var=no"
4039 rm -f conftest.err conftest.$ac_objext \
4040 conftest$ac_exeext conftest.$ac_ext
4042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4044 if test `eval echo '${'$as_ac_var'}'` = yes; then
4045 cat >>confdefs.h <<_ACEOF
4046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4056 for ac_func in __ctype_b_loc __ctype_tolower_loc __ctype_toupper_loc
4058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4059 echo "$as_me:$LINENO: checking for $ac_func" >&5
4060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4061 if eval "test \"\${$as_ac_var+set}\" = set"; then
4062 echo $ECHO_N "(cached) $ECHO_C" >&6
4064 cat >conftest.$ac_ext <<_ACEOF
4067 cat confdefs.h >>conftest.$ac_ext
4068 cat >>conftest.$ac_ext <<_ACEOF
4069 /* end confdefs.h. */
4070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4072 #define $ac_func innocuous_$ac_func
4074 /* System header to define __stub macros and hopefully few prototypes,
4075 which can conflict with char $ac_func (); below.
4076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4077 <limits.h> exists even on freestanding compilers. */
4080 # include <limits.h>
4082 # include <assert.h>
4087 /* Override any gcc2 internal prototype to avoid an error. */
4092 /* We use char because int might match the return type of a gcc2
4093 builtin and then its argument prototype would still apply. */
4095 /* The GNU C library defines this for functions which it implements
4096 to always fail with ENOSYS. Some functions are actually named
4097 something starting with __ and the normal name is an alias. */
4098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4101 char (*f) () = $ac_func;
4110 return f != $ac_func;
4115 rm -f conftest.$ac_objext conftest$ac_exeext
4116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4117 (eval $ac_link) 2>conftest.er1
4119 grep -v '^ *+' conftest.er1 >conftest.err
4121 cat conftest.err >&5
4122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123 (exit $ac_status); } &&
4124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 (exit $ac_status); }; } &&
4130 { ac_try='test -s conftest$ac_exeext'
4131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); }; }; then
4136 eval "$as_ac_var=yes"
4138 echo "$as_me: failed program was:" >&5
4139 sed 's/^/| /' conftest.$ac_ext >&5
4141 eval "$as_ac_var=no"
4143 rm -f conftest.err conftest.$ac_objext \
4144 conftest$ac_exeext conftest.$ac_ext
4146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4148 if test `eval echo '${'$as_ac_var'}'` = yes; then
4149 cat >>confdefs.h <<_ACEOF
4150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4157 cat >conftest.$ac_ext <<_ACEOF
4160 cat confdefs.h >>conftest.$ac_ext
4161 cat >>conftest.$ac_ext <<_ACEOF
4162 /* end confdefs.h. */
4163 #include <sys/types.h>
4164 #include <sys/ipc.h>
4165 #include <sys/sem.h>
4174 rm -f conftest.$ac_objext
4175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4176 (eval $ac_compile) 2>conftest.er1
4178 grep -v '^ *+' conftest.er1 >conftest.err
4180 cat conftest.err >&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); } &&
4183 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); }; } &&
4189 { ac_try='test -s conftest.$ac_objext'
4190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); }; }; then
4197 echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.$ac_ext >&5
4202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4203 if test $mf_have_semun = 1
4206 cat >>confdefs.h <<\_ACEOF
4207 #define HAVE_UNION_SEMUN 1
4213 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
4214 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
4215 cat >conftest.$ac_ext <<_ACEOF
4218 cat confdefs.h >>conftest.$ac_ext
4219 cat >>conftest.$ac_ext <<_ACEOF
4220 /* end confdefs.h. */
4221 #define _POSIX_PII_SOCKET
4222 #include <sys/types.h>
4223 #include <sys/socket.h>
4232 rm -f conftest.$ac_objext
4233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4234 (eval $ac_compile) 2>conftest.er1
4236 grep -v '^ *+' conftest.er1 >conftest.err
4238 cat conftest.err >&5
4239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240 (exit $ac_status); } &&
4241 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); }; } &&
4247 { ac_try='test -s conftest.$ac_objext'
4248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252 (exit $ac_status); }; }; then
4254 cat >>confdefs.h <<\_ACEOF
4255 #define HAVE_SOCKLEN_T 1
4258 echo "$as_me:$LINENO: result: yes" >&5
4259 echo "${ECHO_T}yes" >&6
4261 echo "$as_me: failed program was:" >&5
4262 sed 's/^/| /' conftest.$ac_ext >&5
4264 echo "$as_me:$LINENO: result: no" >&5
4265 echo "${ECHO_T}no" >&6
4267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4270 # Check whether --enable-shared or --disable-shared was given.
4271 if test "${enable_shared+set}" = set; then
4272 enableval="$enable_shared"
4273 p=${PACKAGE-default}
4275 yes) enable_shared=yes ;;
4276 no) enable_shared=no ;;
4279 # Look at the argument we got. We use all the common list separators.
4280 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4281 for pkg in $enableval; do
4282 if test "X$pkg" = "X$p"; then
4292 # Check whether --enable-static or --disable-static was given.
4293 if test "${enable_static+set}" = set; then
4294 enableval="$enable_static"
4295 p=${PACKAGE-default}
4297 yes) enable_static=yes ;;
4298 no) enable_static=no ;;
4301 # Look at the argument we got. We use all the common list separators.
4302 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4303 for pkg in $enableval; do
4304 if test "X$pkg" = "X$p"; then
4314 # Check whether --enable-fast-install or --disable-fast-install was given.
4315 if test "${enable_fast_install+set}" = set; then
4316 enableval="$enable_fast_install"
4317 p=${PACKAGE-default}
4319 yes) enable_fast_install=yes ;;
4320 no) enable_fast_install=no ;;
4322 enable_fast_install=no
4323 # Look at the argument we got. We use all the common list separators.
4324 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4325 for pkg in $enableval; do
4326 if test "X$pkg" = "X$p"; then
4327 enable_fast_install=yes
4334 enable_fast_install=yes
4337 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4338 if test "${with_gnu_ld+set}" = set; then
4339 withval="$with_gnu_ld"
4340 test "$withval" = no || with_gnu_ld=yes
4345 if test "$GCC" = yes; then
4346 # Check if gcc -print-prog-name=ld gives a path.
4347 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4348 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4351 # gcc leaves a trailing carriage return which upsets mingw
4352 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4354 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4357 # Accept absolute paths.
4358 [\\/]* | [A-Za-z]:[\\/]*)
4359 re_direlt='/[^/][^/]*/\.\./'
4360 # Canonicalize the path of ld
4361 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4362 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4363 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4365 test -z "$LD" && LD="$ac_prog"
4368 # If it fails, then pretend we aren't using GCC.
4372 # If it is relative, then search for the first ld in PATH.
4376 elif test "$with_gnu_ld" = yes; then
4377 echo "$as_me:$LINENO: checking for GNU ld" >&5
4378 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4380 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4381 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4383 if test "${lt_cv_path_LD+set}" = set; then
4384 echo $ECHO_N "(cached) $ECHO_C" >&6
4386 if test -z "$LD"; then
4387 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4388 for ac_dir in $PATH; do
4389 test -z "$ac_dir" && ac_dir=.
4390 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4391 lt_cv_path_LD="$ac_dir/$ac_prog"
4392 # Check to see if the program is GNU ld. I'd rather use --version,
4393 # but apparently some GNU ld's only accept -v.
4394 # Break only if it was the GNU/non-GNU ld that we prefer.
4395 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4396 test "$with_gnu_ld" != no && break
4398 test "$with_gnu_ld" != yes && break
4404 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4409 if test -n "$LD"; then
4410 echo "$as_me:$LINENO: result: $LD" >&5
4411 echo "${ECHO_T}$LD" >&6
4413 echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6
4416 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4417 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4418 { (exit 1); exit 1; }; }
4419 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4420 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4421 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4422 echo $ECHO_N "(cached) $ECHO_C" >&6
4424 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4425 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4426 lt_cv_prog_gnu_ld=yes
4428 lt_cv_prog_gnu_ld=no
4431 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4432 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4433 with_gnu_ld=$lt_cv_prog_gnu_ld
4436 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4437 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4438 if test "${lt_cv_ld_reload_flag+set}" = set; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 lt_cv_ld_reload_flag='-r'
4443 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4444 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4445 reload_flag=$lt_cv_ld_reload_flag
4446 test -n "$reload_flag" && reload_flag=" $reload_flag"
4448 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4449 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4450 if test "${lt_cv_path_NM+set}" = set; then
4451 echo $ECHO_N "(cached) $ECHO_C" >&6
4453 if test -n "$NM"; then
4454 # Let the user override the test.
4457 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4458 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4459 test -z "$ac_dir" && ac_dir=.
4460 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4461 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4462 # Check to see if the nm accepts a BSD-compat flag.
4463 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4464 # nm: unknown option "B" ignored
4465 # Tru64's nm complains that /dev/null is an invalid object file
4466 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4467 lt_cv_path_NM="$tmp_nm -B"
4469 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4470 lt_cv_path_NM="$tmp_nm -p"
4473 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4474 continue # so that we can try to find one that supports BSD flags
4479 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4484 echo "$as_me:$LINENO: result: $NM" >&5
4485 echo "${ECHO_T}$NM" >&6
4487 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4488 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4490 if test "$LN_S" = "ln -s"; then
4491 echo "$as_me:$LINENO: result: yes" >&5
4492 echo "${ECHO_T}yes" >&6
4494 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4495 echo "${ECHO_T}no, using $LN_S" >&6
4498 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4499 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4500 lt_cv_file_magic_cmd='$MAGIC_CMD'
4501 lt_cv_file_magic_test_file=
4502 lt_cv_deplibs_check_method='unknown'
4503 # Need to set the preceding variable on all platforms that support
4504 # interlibrary dependencies.
4505 # 'none' -- dependencies not supported.
4506 # `unknown' -- same as none, but documents that we really don't know.
4507 # 'pass_all' -- all dependencies passed with no checks.
4508 # 'test_compile' -- check by making test program.
4509 # 'file_magic [regex]' -- check by looking for files in library path
4510 # which responds to the $file_magic_cmd with a given egrep regex.
4511 # If you have `file' or equivalent on your system and you're not sure
4512 # whether `pass_all' will *always* work, you probably want this one.
4516 lt_cv_deplibs_check_method=pass_all
4520 lt_cv_deplibs_check_method=pass_all
4524 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4525 lt_cv_file_magic_cmd='/usr/bin/file -L'
4526 lt_cv_file_magic_test_file=/shlib/libc.so
4529 cygwin* | mingw* |pw32*)
4530 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4531 lt_cv_file_magic_cmd='$OBJDUMP -f'
4534 darwin* | rhapsody*)
4535 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4536 lt_cv_file_magic_cmd='/usr/bin/file -L'
4538 rhapsody* | darwin1.012)
4539 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4542 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4548 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4551 # Not sure whether the presence of OpenBSD here was a mistake.
4552 # Let's accept both of them until this is cleared up.
4553 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4554 lt_cv_file_magic_cmd=/usr/bin/file
4555 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4559 lt_cv_deplibs_check_method=pass_all
4564 lt_cv_deplibs_check_method=pass_all
4570 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4571 lt_cv_file_magic_cmd=/usr/bin/file
4572 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4575 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4576 lt_cv_file_magic_cmd=/usr/bin/file
4577 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4585 # this will be overridden with pass_all, but let us keep it just in case
4586 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4590 *-32|*"-32 ") libmagic=32-bit;;
4591 *-n32|*"-n32 ") libmagic=N32;;
4592 *-64|*"-64 ") libmagic=64-bit;;
4593 *) libmagic=never-match;;
4595 # this will be overridden with pass_all, but let us keep it just in case
4596 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4599 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4600 lt_cv_deplibs_check_method=pass_all
4603 # This must be Linux ELF.
4606 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | x86_64* | sh*)
4607 lt_cv_deplibs_check_method=pass_all ;;
4608 # NB 2003-06-03: According to Alexandre Oliva, x86_64 should not be
4609 # in this list. However, it works around a libtool problem that
4610 # wrongly excludes -ldl/-lpthread from the libmudflap(th) dependencies.
4612 # glibc up to 2.1.1 does not perform some relocations on ARM
4613 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4615 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4619 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4620 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4622 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4627 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4628 lt_cv_file_magic_cmd=/usr/bin/file
4629 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4632 osf3* | osf4* | osf5*)
4633 # this will be overridden with pass_all, but let us keep it just in case
4634 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4635 lt_cv_file_magic_test_file=/shlib/libc.so
4636 lt_cv_deplibs_check_method=pass_all
4640 lt_cv_deplibs_check_method=pass_all
4644 lt_cv_deplibs_check_method=pass_all
4645 lt_cv_file_magic_test_file=/lib/libc.so
4648 sysv5uw[78]* | sysv4*uw2*)
4649 lt_cv_deplibs_check_method=pass_all
4652 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4653 case $host_vendor in
4655 lt_cv_deplibs_check_method=pass_all
4658 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]'
4659 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4664 file_magic_cmd=$lt_cv_file_magic_cmd
4665 deplibs_check_method=$lt_cv_deplibs_check_method
4666 # NB: See above NB ... this is to make sure that the overriden
4667 # local libtool variant doesn't pollute the upstream cache
4668 unset lt_cv_file_magic_cmd
4669 unset lt_cv_deplibs_check_method
4670 echo "$as_me:$LINENO: result: $deplibs_check_method" >&5
4671 echo "${ECHO_T}$deplibs_check_method" >&6
4675 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4677 # Only perform the check for file, if the check method requires it
4678 case $deplibs_check_method in
4680 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4681 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4682 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4683 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4684 echo $ECHO_N "(cached) $ECHO_C" >&6
4688 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4691 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4694 ac_save_MAGIC_CMD="$MAGIC_CMD"
4695 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4696 ac_dummy="/usr/bin:$PATH"
4697 for ac_dir in $ac_dummy; do
4698 test -z "$ac_dir" && ac_dir=.
4699 if test -f $ac_dir/${ac_tool_prefix}file; then
4700 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4701 if test -n "$file_magic_test_file"; then
4702 case $deplibs_check_method in
4704 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4705 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4706 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4707 egrep "$file_magic_regex" > /dev/null; then
4712 *** Warning: the command libtool uses to detect shared libraries,
4713 *** $file_magic_cmd, produces output that libtool cannot recognize.
4714 *** The result is that libtool may fail to recognize shared libraries
4715 *** as such. This will affect the creation of libtool libraries that
4716 *** depend on shared libraries, but programs linked with such libtool
4717 *** libraries will work regardless of this problem. Nevertheless, you
4718 *** may want to report the problem to your system manager and/or to
4719 *** bug-libtool@gnu.org
4729 MAGIC_CMD="$ac_save_MAGIC_CMD"
4734 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4735 if test -n "$MAGIC_CMD"; then
4736 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4737 echo "${ECHO_T}$MAGIC_CMD" >&6
4739 echo "$as_me:$LINENO: result: no" >&5
4740 echo "${ECHO_T}no" >&6
4743 if test -z "$lt_cv_path_MAGIC_CMD"; then
4744 if test -n "$ac_tool_prefix"; then
4745 echo "$as_me:$LINENO: checking for file" >&5
4746 echo $ECHO_N "checking for file... $ECHO_C" >&6
4747 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4748 echo $ECHO_N "(cached) $ECHO_C" >&6
4752 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4755 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4758 ac_save_MAGIC_CMD="$MAGIC_CMD"
4759 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4760 ac_dummy="/usr/bin:$PATH"
4761 for ac_dir in $ac_dummy; do
4762 test -z "$ac_dir" && ac_dir=.
4763 if test -f $ac_dir/file; then
4764 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4765 if test -n "$file_magic_test_file"; then
4766 case $deplibs_check_method in
4768 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4769 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4770 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4771 egrep "$file_magic_regex" > /dev/null; then
4776 *** Warning: the command libtool uses to detect shared libraries,
4777 *** $file_magic_cmd, produces output that libtool cannot recognize.
4778 *** The result is that libtool may fail to recognize shared libraries
4779 *** as such. This will affect the creation of libtool libraries that
4780 *** depend on shared libraries, but programs linked with such libtool
4781 *** libraries will work regardless of this problem. Nevertheless, you
4782 *** may want to report the problem to your system manager and/or to
4783 *** bug-libtool@gnu.org
4793 MAGIC_CMD="$ac_save_MAGIC_CMD"
4798 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4799 if test -n "$MAGIC_CMD"; then
4800 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4801 echo "${ECHO_T}$MAGIC_CMD" >&6
4803 echo "$as_me:$LINENO: result: no" >&5
4804 echo "${ECHO_T}no" >&6
4816 if test -n "$ac_tool_prefix"; then
4817 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4818 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4819 echo "$as_me:$LINENO: checking for $ac_word" >&5
4820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4821 if test "${ac_cv_prog_RANLIB+set}" = set; then
4822 echo $ECHO_N "(cached) $ECHO_C" >&6
4824 if test -n "$RANLIB"; then
4825 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4831 test -z "$as_dir" && as_dir=.
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4834 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 RANLIB=$ac_cv_prog_RANLIB
4844 if test -n "$RANLIB"; then
4845 echo "$as_me:$LINENO: result: $RANLIB" >&5
4846 echo "${ECHO_T}$RANLIB" >&6
4848 echo "$as_me:$LINENO: result: no" >&5
4849 echo "${ECHO_T}no" >&6
4853 if test -z "$ac_cv_prog_RANLIB"; then
4854 ac_ct_RANLIB=$RANLIB
4855 # Extract the first word of "ranlib", so it can be a program name with args.
4856 set dummy ranlib; ac_word=$2
4857 echo "$as_me:$LINENO: checking for $ac_word" >&5
4858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4859 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4860 echo $ECHO_N "(cached) $ECHO_C" >&6
4862 if test -n "$ac_ct_RANLIB"; then
4863 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4869 test -z "$as_dir" && as_dir=.
4870 for ac_exec_ext in '' $ac_executable_extensions; do
4871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4872 ac_cv_prog_ac_ct_RANLIB="ranlib"
4873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4879 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4882 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4883 if test -n "$ac_ct_RANLIB"; then
4884 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4885 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4887 echo "$as_me:$LINENO: result: no" >&5
4888 echo "${ECHO_T}no" >&6
4891 RANLIB=$ac_ct_RANLIB
4893 RANLIB="$ac_cv_prog_RANLIB"
4896 if test -n "$ac_tool_prefix"; then
4897 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4898 set dummy ${ac_tool_prefix}strip; ac_word=$2
4899 echo "$as_me:$LINENO: checking for $ac_word" >&5
4900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4901 if test "${ac_cv_prog_STRIP+set}" = set; then
4902 echo $ECHO_N "(cached) $ECHO_C" >&6
4904 if test -n "$STRIP"; then
4905 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911 test -z "$as_dir" && as_dir=.
4912 for ac_exec_ext in '' $ac_executable_extensions; do
4913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4914 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4923 STRIP=$ac_cv_prog_STRIP
4924 if test -n "$STRIP"; then
4925 echo "$as_me:$LINENO: result: $STRIP" >&5
4926 echo "${ECHO_T}$STRIP" >&6
4928 echo "$as_me:$LINENO: result: no" >&5
4929 echo "${ECHO_T}no" >&6
4933 if test -z "$ac_cv_prog_STRIP"; then
4935 # Extract the first word of "strip", so it can be a program name with args.
4936 set dummy strip; ac_word=$2
4937 echo "$as_me:$LINENO: checking for $ac_word" >&5
4938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4939 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4940 echo $ECHO_N "(cached) $ECHO_C" >&6
4942 if test -n "$ac_ct_STRIP"; then
4943 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4949 test -z "$as_dir" && as_dir=.
4950 for ac_exec_ext in '' $ac_executable_extensions; do
4951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4952 ac_cv_prog_ac_ct_STRIP="strip"
4953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4959 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4962 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4963 if test -n "$ac_ct_STRIP"; then
4964 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4965 echo "${ECHO_T}$ac_ct_STRIP" >&6
4967 echo "$as_me:$LINENO: result: no" >&5
4968 echo "${ECHO_T}no" >&6
4973 STRIP="$ac_cv_prog_STRIP"
4977 # Check for any special flags to pass to ltconfig.
4978 libtool_flags="--cache-file=$cache_file"
4979 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4980 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4981 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4982 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4983 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4986 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4987 if test "${enable_libtool_lock+set}" = set; then
4988 enableval="$enable_libtool_lock"
4991 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4992 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4995 # Check whether --with-pic or --without-pic was given.
4996 if test "${with_pic+set}" = set; then
5002 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
5003 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
5005 # Some flags need to be propagated to the compiler or linker for good
5009 # Find out which ABI we are using.
5010 echo '#line 5010 "configure"' > conftest.$ac_ext
5011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5012 (eval $ac_compile) 2>&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); }; then
5016 case `/usr/bin/file conftest.$ac_objext` in
5032 # Find out which ABI we are using.
5033 echo 'int i;' > conftest.$ac_ext
5034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5035 (eval $ac_compile) 2>&5
5037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5038 (exit $ac_status); }; then
5039 case "`/usr/bin/file conftest.o`" in
5051 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
5052 # Find out which ABI we are using.
5053 echo 'int i;' > conftest.$ac_ext
5054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5055 (eval $ac_compile) 2>&5
5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058 (exit $ac_status); }; then
5059 case "`/usr/bin/file conftest.o`" in
5063 LD="${LD-ld} -m elf_i386"
5066 LD="${LD-ld} -m elf32ppclinux"
5069 LD="${LD-ld} -m elf_s390"
5072 LD="${LD-ld} -m elf32_sparc"
5079 LD="${LD-ld} -m elf_x86_64"
5081 ppc*-*linux*|powerpc*-*linux*)
5082 LD="${LD-ld} -m elf64ppc"
5085 LD="${LD-ld} -m elf64_s390"
5088 LD="${LD-ld} -m elf64_sparc"
5098 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5099 SAVE_CFLAGS="$CFLAGS"
5100 CFLAGS="$CFLAGS -belf"
5101 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5102 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5103 if test "${lt_cv_cc_needs_belf+set}" = set; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5109 ac_cpp='$CPP $CPPFLAGS'
5110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5114 cat >conftest.$ac_ext <<_ACEOF
5117 cat confdefs.h >>conftest.$ac_ext
5118 cat >>conftest.$ac_ext <<_ACEOF
5119 /* end confdefs.h. */
5129 rm -f conftest.$ac_objext conftest$ac_exeext
5130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5131 (eval $ac_link) 2>conftest.er1
5133 grep -v '^ *+' conftest.er1 >conftest.err
5135 cat conftest.err >&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } &&
5138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); }; } &&
5144 { ac_try='test -s conftest$ac_exeext'
5145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); }; }; then
5150 lt_cv_cc_needs_belf=yes
5152 echo "$as_me: failed program was:" >&5
5153 sed 's/^/| /' conftest.$ac_ext >&5
5155 lt_cv_cc_needs_belf=no
5157 rm -f conftest.err conftest.$ac_objext \
5158 conftest$ac_exeext conftest.$ac_ext
5160 ac_cpp='$CPP $CPPFLAGS'
5161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5166 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5167 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5168 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5169 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5170 CFLAGS="$SAVE_CFLAGS"
5178 # Save cache, so that ltconfig can load it
5179 cat >confcache <<\_ACEOF
5180 # This file is a shell script that caches the results of configure
5181 # tests run on this system so they can be shared between configure
5182 # scripts and configure runs, see configure's option --config-cache.
5183 # It is not useful on other systems. If it contains results you don't
5184 # want to keep, you may remove or edit it.
5186 # config.status only pays attention to the cache file if you give it
5187 # the --recheck option to rerun configure.
5189 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5190 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5195 # The following way of writing the cache mishandles newlines in values,
5196 # but we know of no workaround that is simple, portable, and efficient.
5197 # So, don't put newlines in cache variables' values.
5198 # Ultrix sh set writes to stderr and can't be redirected directly,
5199 # and sets the high bit in the cache file unless we assign to the vars.
5202 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5204 # `set' does not quote correctly, so add quotes (double-quote
5205 # substitution turns \\\\ into \\, and sed turns \\ into \).
5208 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5211 # `set' quotes correctly as required by POSIX, so do not add quotes.
5213 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5220 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5222 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5224 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5225 if test -w $cache_file; then
5226 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5227 cat confcache >$cache_file
5229 echo "not updating unwritable cache $cache_file"
5234 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5235 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
5236 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5237 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5238 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5239 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5240 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
5241 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
5242 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
5243 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5244 echo "$as_me: error: libtool configure failed" >&2;}
5245 { (exit 1); exit 1; }; }
5247 # Reload cache, that may have been modified by ltconfig
5248 if test -r "$cache_file"; then
5249 # Some versions of bash will fail to source /dev/null (special
5250 # files actually), so we avoid doing that.
5251 if test -f "$cache_file"; then
5252 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5253 echo "$as_me: loading cache $cache_file" >&6;}
5255 [\\/]* | ?:[\\/]* ) . $cache_file;;
5256 *) . ./$cache_file;;
5260 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5261 echo "$as_me: creating cache $cache_file" >&6;}
5266 # This can be used to rebuild libtool when needed
5267 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5269 # Always use our own libtool.
5270 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5272 # Redirect the config.log output again, so that the ltconfig log is not
5273 # clobbered by the next message.
5274 exec 5>>./config.log
5284 if test "${ac_cv_header_stdint_h+set}" = set; then
5285 echo "$as_me:$LINENO: checking for stdint.h" >&5
5286 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
5287 if test "${ac_cv_header_stdint_h+set}" = set; then
5288 echo $ECHO_N "(cached) $ECHO_C" >&6
5290 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
5291 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
5293 # Is the header compilable?
5294 echo "$as_me:$LINENO: checking stdint.h usability" >&5
5295 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6
5296 cat >conftest.$ac_ext <<_ACEOF
5299 cat confdefs.h >>conftest.$ac_ext
5300 cat >>conftest.$ac_ext <<_ACEOF
5301 /* end confdefs.h. */
5302 $ac_includes_default
5305 rm -f conftest.$ac_objext
5306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5307 (eval $ac_compile) 2>conftest.er1
5309 grep -v '^ *+' conftest.er1 >conftest.err
5311 cat conftest.err >&5
5312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313 (exit $ac_status); } &&
5314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); }; } &&
5320 { ac_try='test -s conftest.$ac_objext'
5321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); }; }; then
5326 ac_header_compiler=yes
5328 echo "$as_me: failed program was:" >&5
5329 sed 's/^/| /' conftest.$ac_ext >&5
5331 ac_header_compiler=no
5333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5335 echo "${ECHO_T}$ac_header_compiler" >&6
5337 # Is the header present?
5338 echo "$as_me:$LINENO: checking stdint.h presence" >&5
5339 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6
5340 cat >conftest.$ac_ext <<_ACEOF
5343 cat confdefs.h >>conftest.$ac_ext
5344 cat >>conftest.$ac_ext <<_ACEOF
5345 /* end confdefs.h. */
5348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5349 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5351 grep -v '^ *+' conftest.er1 >conftest.err
5353 cat conftest.err >&5
5354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355 (exit $ac_status); } >/dev/null; then
5356 if test -s conftest.err; then
5357 ac_cpp_err=$ac_c_preproc_warn_flag
5358 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5365 if test -z "$ac_cpp_err"; then
5366 ac_header_preproc=yes
5368 echo "$as_me: failed program was:" >&5
5369 sed 's/^/| /' conftest.$ac_ext >&5
5371 ac_header_preproc=no
5373 rm -f conftest.err conftest.$ac_ext
5374 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5375 echo "${ECHO_T}$ac_header_preproc" >&6
5377 # So? What about this header?
5378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5380 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
5381 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5382 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5
5383 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;}
5384 ac_header_preproc=yes
5387 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
5388 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
5389 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5
5390 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;}
5391 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5
5392 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;}
5393 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5
5394 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;}
5395 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
5396 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
5397 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5
5398 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;}
5401 ## ------------------------------------- ##
5402 ## Report this to the libmudflap lists. ##
5403 ## ------------------------------------- ##
5406 sed "s/^/$as_me: WARNING: /" >&2
5409 echo "$as_me:$LINENO: checking for stdint.h" >&5
5410 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
5411 if test "${ac_cv_header_stdint_h+set}" = set; then
5412 echo $ECHO_N "(cached) $ECHO_C" >&6
5414 ac_cv_header_stdint_h=$ac_header_preproc
5416 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
5417 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
5420 if test $ac_cv_header_stdint_h = yes; then
5428 if test $MF_HAVE_STDINT_H = 1
5432 cat >conftest.$ac_ext <<_ACEOF
5435 cat confdefs.h >>conftest.$ac_ext
5436 cat >>conftest.$ac_ext <<_ACEOF
5437 /* end confdefs.h. */
5438 #include <sys/types.h>
5447 rm -f conftest.$ac_objext
5448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5449 (eval $ac_compile) 2>conftest.er1
5451 grep -v '^ *+' conftest.er1 >conftest.err
5453 cat conftest.err >&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); } &&
5456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); }; } &&
5462 { ac_try='test -s conftest.$ac_objext'
5463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); }; }; then
5470 echo "$as_me: failed program was:" >&5
5471 sed 's/^/| /' conftest.$ac_ext >&5
5475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5481 # libmudflapth objects are built in this subdirectory
5485 pthread_create_version='""'
5486 if test "${ac_cv_header_pthread_h+set}" = set; then
5487 echo "$as_me:$LINENO: checking for pthread.h" >&5
5488 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
5489 if test "${ac_cv_header_pthread_h+set}" = set; then
5490 echo $ECHO_N "(cached) $ECHO_C" >&6
5492 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
5493 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
5495 # Is the header compilable?
5496 echo "$as_me:$LINENO: checking pthread.h usability" >&5
5497 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6
5498 cat >conftest.$ac_ext <<_ACEOF
5501 cat confdefs.h >>conftest.$ac_ext
5502 cat >>conftest.$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5504 $ac_includes_default
5505 #include <pthread.h>
5507 rm -f conftest.$ac_objext
5508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5509 (eval $ac_compile) 2>conftest.er1
5511 grep -v '^ *+' conftest.er1 >conftest.err
5513 cat conftest.err >&5
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); } &&
5516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); }; } &&
5522 { ac_try='test -s conftest.$ac_objext'
5523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 (exit $ac_status); }; }; then
5528 ac_header_compiler=yes
5530 echo "$as_me: failed program was:" >&5
5531 sed 's/^/| /' conftest.$ac_ext >&5
5533 ac_header_compiler=no
5535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5537 echo "${ECHO_T}$ac_header_compiler" >&6
5539 # Is the header present?
5540 echo "$as_me:$LINENO: checking pthread.h presence" >&5
5541 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6
5542 cat >conftest.$ac_ext <<_ACEOF
5545 cat confdefs.h >>conftest.$ac_ext
5546 cat >>conftest.$ac_ext <<_ACEOF
5547 /* end confdefs.h. */
5548 #include <pthread.h>
5550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5551 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5553 grep -v '^ *+' conftest.er1 >conftest.err
5555 cat conftest.err >&5
5556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557 (exit $ac_status); } >/dev/null; then
5558 if test -s conftest.err; then
5559 ac_cpp_err=$ac_c_preproc_warn_flag
5560 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5567 if test -z "$ac_cpp_err"; then
5568 ac_header_preproc=yes
5570 echo "$as_me: failed program was:" >&5
5571 sed 's/^/| /' conftest.$ac_ext >&5
5573 ac_header_preproc=no
5575 rm -f conftest.err conftest.$ac_ext
5576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5577 echo "${ECHO_T}$ac_header_preproc" >&6
5579 # So? What about this header?
5580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5582 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
5583 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5584 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
5585 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
5586 ac_header_preproc=yes
5589 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
5590 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
5591 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
5592 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
5593 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
5594 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
5595 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
5596 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
5597 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
5598 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
5599 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
5600 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
5603 ## ------------------------------------- ##
5604 ## Report this to the libmudflap lists. ##
5605 ## ------------------------------------- ##
5608 sed "s/^/$as_me: WARNING: /" >&2
5611 echo "$as_me:$LINENO: checking for pthread.h" >&5
5612 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
5613 if test "${ac_cv_header_pthread_h+set}" = set; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 ac_cv_header_pthread_h=$ac_header_preproc
5618 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
5619 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
5622 if test $ac_cv_header_pthread_h = yes; then
5625 cat >>confdefs.h <<_ACEOF
5626 #define HAVE_PTHREAD_H 1
5629 ac_have_pthread_h=yes
5640 if test "x$ac_have_pthread_h" != "x"; then
5642 LIBMUDFLAPTH_FALSE='#'
5644 LIBMUDFLAPTH_TRUE='#'
5648 if test "x$ac_have_pthread_h" != "x"
5650 build_libmudflapth=1
5652 build_libmudflapth=0
5657 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
5658 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
5659 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5662 ac_check_lib_save_LIBS=$LIBS
5664 cat >conftest.$ac_ext <<_ACEOF
5667 cat confdefs.h >>conftest.$ac_ext
5668 cat >>conftest.$ac_ext <<_ACEOF
5669 /* end confdefs.h. */
5671 /* Override any gcc2 internal prototype to avoid an error. */
5675 /* We use char because int might match the return type of a gcc2
5676 builtin and then its argument prototype would still apply. */
5686 rm -f conftest.$ac_objext conftest$ac_exeext
5687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5688 (eval $ac_link) 2>conftest.er1
5690 grep -v '^ *+' conftest.er1 >conftest.err
5692 cat conftest.err >&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); } &&
5695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); }; } &&
5701 { ac_try='test -s conftest$ac_exeext'
5702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); }; }; then
5707 ac_cv_lib_dl_dlsym=yes
5709 echo "$as_me: failed program was:" >&5
5710 sed 's/^/| /' conftest.$ac_ext >&5
5712 ac_cv_lib_dl_dlsym=no
5714 rm -f conftest.err conftest.$ac_objext \
5715 conftest$ac_exeext conftest.$ac_ext
5716 LIBS=$ac_check_lib_save_LIBS
5718 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
5719 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
5720 if test $ac_cv_lib_dl_dlsym = yes; then
5721 cat >>confdefs.h <<_ACEOF
5722 #define HAVE_LIBDL 1
5730 # Process the option "--enable-version-specific-runtime-libs"
5731 gcc_version_trigger=${srcdir}/../gcc/version.c
5732 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
5733 gcc_version=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`
5736 # Calculate toolexeclibdir
5737 # Also toolexecdir, though it's only used in toolexeclibdir
5738 case ${version_specific_libs} in
5740 # Need the gcc compiler version to know where to install libraries
5741 # and header files if --enable-version-specific-runtime-libs option
5743 toolexecdir='$(libdir)/gcc/$(target_alias)'
5744 toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
5747 if test -n "$with_cross_host" &&
5748 test x"$with_cross_host" != x"no"; then
5749 # Install a library built with a cross compiler in tooldir, not libdir.
5750 toolexecdir='$(exec_prefix)/$(target_alias)'
5751 toolexeclibdir='$(toolexecdir)/lib'
5753 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5754 toolexeclibdir='$(libdir)'
5756 multi_os_directory=`$CC -print-multi-os-directory`
5757 case $multi_os_directory in
5758 .) ;; # Avoid trailing /.
5759 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5766 if test "x$enable_shared" = "xyes" && test "x$ac_have_pthread_h" != "x"; then
5767 # NB: don't check for -lpthread here, because then it would be
5768 # added to LIBS. For the thread-unaware libmudflap.la, we don't
5771 # glibc-related hacks. dlsym() may pick the wrong version of
5772 # interposed functions like pthread_create on modern glibc.
5773 # We need to find the proper symbol version string, and use
5774 # the nonstandard dlvsym().
5776 for ac_func in dlvsym
5778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5779 echo "$as_me:$LINENO: checking for $ac_func" >&5
5780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5781 if eval "test \"\${$as_ac_var+set}\" = set"; then
5782 echo $ECHO_N "(cached) $ECHO_C" >&6
5784 cat >conftest.$ac_ext <<_ACEOF
5787 cat confdefs.h >>conftest.$ac_ext
5788 cat >>conftest.$ac_ext <<_ACEOF
5789 /* end confdefs.h. */
5790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5792 #define $ac_func innocuous_$ac_func
5794 /* System header to define __stub macros and hopefully few prototypes,
5795 which can conflict with char $ac_func (); below.
5796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5797 <limits.h> exists even on freestanding compilers. */
5800 # include <limits.h>
5802 # include <assert.h>
5807 /* Override any gcc2 internal prototype to avoid an error. */
5812 /* We use char because int might match the return type of a gcc2
5813 builtin and then its argument prototype would still apply. */
5815 /* The GNU C library defines this for functions which it implements
5816 to always fail with ENOSYS. Some functions are actually named
5817 something starting with __ and the normal name is an alias. */
5818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5821 char (*f) () = $ac_func;
5830 return f != $ac_func;
5835 rm -f conftest.$ac_objext conftest$ac_exeext
5836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5837 (eval $ac_link) 2>conftest.er1
5839 grep -v '^ *+' conftest.er1 >conftest.err
5841 cat conftest.err >&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); } &&
5844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); }; } &&
5850 { ac_try='test -s conftest$ac_exeext'
5851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855 (exit $ac_status); }; }; then
5856 eval "$as_ac_var=yes"
5858 echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.$ac_ext >&5
5861 eval "$as_ac_var=no"
5863 rm -f conftest.err conftest.$ac_objext \
5864 conftest$ac_exeext conftest.$ac_ext
5866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5868 if test `eval echo '${'$as_ac_var'}'` = yes; then
5869 cat >>confdefs.h <<_ACEOF
5870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5876 if test -n "$ac_tool_prefix"; then
5877 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
5878 set dummy ${ac_tool_prefix}nm; ac_word=$2
5879 echo "$as_me:$LINENO: checking for $ac_word" >&5
5880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5881 if test "${ac_cv_prog_NM+set}" = set; then
5882 echo $ECHO_N "(cached) $ECHO_C" >&6
5884 if test -n "$NM"; then
5885 ac_cv_prog_NM="$NM" # Let the user override the test.
5887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5891 test -z "$as_dir" && as_dir=.
5892 for ac_exec_ext in '' $ac_executable_extensions; do
5893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5894 ac_cv_prog_NM="${ac_tool_prefix}nm"
5895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5904 if test -n "$NM"; then
5905 echo "$as_me:$LINENO: result: $NM" >&5
5906 echo "${ECHO_T}$NM" >&6
5908 echo "$as_me:$LINENO: result: no" >&5
5909 echo "${ECHO_T}no" >&6
5913 if test -z "$ac_cv_prog_NM"; then
5915 # Extract the first word of "nm", so it can be a program name with args.
5916 set dummy nm; ac_word=$2
5917 echo "$as_me:$LINENO: checking for $ac_word" >&5
5918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5919 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
5920 echo $ECHO_N "(cached) $ECHO_C" >&6
5922 if test -n "$ac_ct_NM"; then
5923 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
5925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 test -z "$as_dir" && as_dir=.
5930 for ac_exec_ext in '' $ac_executable_extensions; do
5931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5932 ac_cv_prog_ac_ct_NM="nm"
5933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5941 ac_ct_NM=$ac_cv_prog_ac_ct_NM
5942 if test -n "$ac_ct_NM"; then
5943 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
5944 echo "${ECHO_T}$ac_ct_NM" >&6
5946 echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6
5955 if test "x$ac_cv_have_dlvsym" != "x"; then
5956 # Try compiling a simple pthreads program. Find the shared libraries it
5957 # ends up with. Then use "nm" on those libraries to extract the
5958 # default symbol versioning suffix ("@@"), if any. But that's tricky.
5959 # Rather, run nm on the resulting executable. Unfortunately, autoconf
5960 # doesn't appear to have a macro that builds a test executable for
5961 # subsequent analysis ... so we do it by hand here.
5962 cat >> conftest.c << EOF
5963 #include <pthread.h>
5964 int main () { void *p = (void *) & pthread_create; return (int) p; }
5967 LIBS="$LIBS -lpthread"
5968 pthread_create_version="\"\""
5969 echo "$as_me:$LINENO: checking pthread_create symbol version" >&5
5970 echo $ECHO_N "checking pthread_create symbol version... $ECHO_C" >&6
5971 if eval $ac_link 2>&5 && test -s conftest${ac_exeext}; then
5972 version=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
5973 if test "x$version" != "x"; then
5974 pthread_create_version="\"$version\""
5977 echo "$as_me:$LINENO: result: $pthread_create_version" >&5
5978 echo "${ECHO_T}$pthread_create_version" >&6
5983 cat >>confdefs.h <<_ACEOF
5984 #define PTHREAD_CREATE_VERSION $pthread_create_version
5989 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5990 # similarly to how libstdc++ does it
5991 ac_test_CFLAGS="${CFLAGS+set}"
5992 ac_save_CFLAGS="$CFLAGS"
5994 # Check for -ffunction-sections -fdata-sections
5995 echo "$as_me:$LINENO: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5996 echo $ECHO_N "checking for gcc that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
5997 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5998 cat >conftest.$ac_ext <<_ACEOF
6001 cat confdefs.h >>conftest.$ac_ext
6002 cat >>conftest.$ac_ext <<_ACEOF
6003 /* end confdefs.h. */
6013 rm -f conftest.$ac_objext
6014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6015 (eval $ac_compile) 2>conftest.er1
6017 grep -v '^ *+' conftest.er1 >conftest.err
6019 cat conftest.err >&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); } &&
6022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); }; } &&
6028 { ac_try='test -s conftest.$ac_objext'
6029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6033 (exit $ac_status); }; }; then
6036 echo "$as_me: failed program was:" >&5
6037 sed 's/^/| /' conftest.$ac_ext >&5
6041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6042 if test "$ac_test_CFLAGS" = set; then
6043 CFLAGS="$ac_save_CFLAGS"
6045 # this is the suspicious part
6048 if test x"$ac_fdsections" = x"yes"; then
6049 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6051 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
6052 echo "${ECHO_T}$ac_fdsections" >&6
6056 if test ${multilib} = yes; then
6057 multilib_arg="--enable-multilib"
6062 ac_config_files="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp mf-runtime.h"
6064 cat >confcache <<\_ACEOF
6065 # This file is a shell script that caches the results of configure
6066 # tests run on this system so they can be shared between configure
6067 # scripts and configure runs, see configure's option --config-cache.
6068 # It is not useful on other systems. If it contains results you don't
6069 # want to keep, you may remove or edit it.
6071 # config.status only pays attention to the cache file if you give it
6072 # the --recheck option to rerun configure.
6074 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6075 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6080 # The following way of writing the cache mishandles newlines in values,
6081 # but we know of no workaround that is simple, portable, and efficient.
6082 # So, don't put newlines in cache variables' values.
6083 # Ultrix sh set writes to stderr and can't be redirected directly,
6084 # and sets the high bit in the cache file unless we assign to the vars.
6087 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6089 # `set' does not quote correctly, so add quotes (double-quote
6090 # substitution turns \\\\ into \\, and sed turns \\ into \).
6093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6096 # `set' quotes correctly as required by POSIX, so do not add quotes.
6098 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6105 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6107 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6109 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6110 if test -w $cache_file; then
6111 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6112 cat confcache >$cache_file
6114 echo "not updating unwritable cache $cache_file"
6119 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6120 # Let make expand exec_prefix.
6121 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6123 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6124 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6125 # trailing colons and then remove the whole line if VPATH becomes empty
6126 # (actually we leave an empty line to preserve line numbers).
6127 if test "x$srcdir" = x.; then
6128 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6129 s/:*\$(srcdir):*/:/;
6130 s/:*\${srcdir}:*/:/;
6132 s/^\([^=]*=[ ]*\):*/\1/;
6138 DEFS=-DHAVE_CONFIG_H
6142 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6143 # 1. Remove the extension, and $U if already installed.
6144 ac_i=`echo "$ac_i" |
6145 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6147 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6148 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6152 LTLIBOBJS=$ac_ltlibobjs
6155 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6156 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6157 Usually this means the macro was only invoked conditionally." >&5
6158 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6159 Usually this means the macro was only invoked conditionally." >&2;}
6160 { (exit 1); exit 1; }; }
6162 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6163 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6164 Usually this means the macro was only invoked conditionally." >&5
6165 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6166 Usually this means the macro was only invoked conditionally." >&2;}
6167 { (exit 1); exit 1; }; }
6169 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6170 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6171 Usually this means the macro was only invoked conditionally." >&5
6172 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6173 Usually this means the macro was only invoked conditionally." >&2;}
6174 { (exit 1); exit 1; }; }
6176 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
6177 { { echo "$as_me:$LINENO: error: conditional \"LIBMUDFLAPTH\" was never defined.
6178 Usually this means the macro was only invoked conditionally." >&5
6179 echo "$as_me: error: conditional \"LIBMUDFLAPTH\" was never defined.
6180 Usually this means the macro was only invoked conditionally." >&2;}
6181 { (exit 1); exit 1; }; }
6184 : ${CONFIG_STATUS=./config.status}
6185 ac_clean_files_save=$ac_clean_files
6186 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6187 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6188 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6189 cat >$CONFIG_STATUS <<_ACEOF
6191 # Generated by $as_me.
6192 # Run this file to recreate the current configuration.
6193 # Compiler output produced by configure, useful for debugging
6194 # configure, is in config.log if it exists.
6199 SHELL=\${CONFIG_SHELL-$SHELL}
6202 cat >>$CONFIG_STATUS <<\_ACEOF
6203 ## --------------------- ##
6204 ## M4sh Initialization. ##
6205 ## --------------------- ##
6207 # Be Bourne compatible
6208 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6211 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6212 # is contrary to our usage. Disable this feature.
6213 alias -g '${1+"$@"}'='"$@"'
6214 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6217 DUALCASE=1; export DUALCASE # for MKS sh
6219 # Support unset when possible.
6220 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6227 # Work around bugs in pre-3.0 UWIN ksh.
6228 $as_unset ENV MAIL MAILPATH
6235 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6236 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6237 LC_TELEPHONE LC_TIME
6239 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6240 eval $as_var=C; export $as_var
6246 # Required to use basename.
6247 if expr a : '\(a\)' >/dev/null 2>&1; then
6253 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6254 as_basename=basename
6260 # Name of the executable.
6261 as_me=`$as_basename "$0" ||
6262 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6263 X"$0" : 'X\(//\)$' \| \
6264 X"$0" : 'X\(/\)$' \| \
6265 . : '\(.\)' 2>/dev/null ||
6267 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6268 /^X\/\(\/\/\)$/{ s//\1/; q; }
6269 /^X\/\(\/\).*/{ s//\1/; q; }
6273 # PATH needs CR, and LINENO needs CR and PATH.
6274 # Avoid depending upon Character Ranges.
6275 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6276 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6277 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6278 as_cr_digits='0123456789'
6279 as_cr_alnum=$as_cr_Letters$as_cr_digits
6281 # The user is always right.
6282 if test "${PATH_SEPARATOR+set}" != set; then
6283 echo "#! /bin/sh" >conf$$.sh
6284 echo "exit 0" >>conf$$.sh
6286 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6297 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6298 test "x$as_lineno_1" != "x$as_lineno_2" &&
6299 test "x$as_lineno_3" = "x$as_lineno_2" || {
6300 # Find who we are. Look in the path if we contain no path at all
6303 *[\\/]* ) as_myself=$0 ;;
6304 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6308 test -z "$as_dir" && as_dir=.
6309 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6314 # We did not find ourselves, most probably we were run as `sh COMMAND'
6315 # in which case we are not to be found in the path.
6316 if test "x$as_myself" = x; then
6319 if test ! -f "$as_myself"; then
6320 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6321 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6322 { (exit 1); exit 1; }; }
6324 case $CONFIG_SHELL in
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6330 test -z "$as_dir" && as_dir=.
6331 for as_base in sh bash ksh sh5; do
6334 if ("$as_dir/$as_base" -c '
6337 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6338 test "x$as_lineno_1" != "x$as_lineno_2" &&
6339 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6340 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6341 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6342 CONFIG_SHELL=$as_dir/$as_base
6344 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6352 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6353 # uniformly replaced by the line number. The first 'sed' inserts a
6354 # line-number line before each line; the second 'sed' does the real
6355 # work. The second script uses 'N' to pair each line-number line
6356 # with the numbered line, and appends trailing '-' during
6357 # substitution so that $LINENO is not a special case at line end.
6358 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6359 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6360 sed '=' <$as_myself |
6365 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6368 s,^['$as_cr_digits']*\n,,
6370 chmod +x $as_me.lineno ||
6371 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6372 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6373 { (exit 1); exit 1; }; }
6375 # Don't try to exec as it changes $[0], causing all sort of problems
6376 # (the dirname of $[0] is not the place where we might find the
6377 # original and so on. Autoconf is especially sensible to this).
6379 # Exit status is that of the last command.
6384 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6385 *c*,-n*) ECHO_N= ECHO_C='
6387 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6388 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6391 if expr a : '\(a\)' >/dev/null 2>&1; then
6397 rm -f conf$$ conf$$.exe conf$$.file
6399 if ln -s conf$$.file conf$$ 2>/dev/null; then
6400 # We could just check for DJGPP; but this test a) works b) is more generic
6401 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6402 if test -f conf$$.exe; then
6403 # Don't use ln at all; we don't have any links
6408 elif ln conf$$.file conf$$ 2>/dev/null; then
6413 rm -f conf$$ conf$$.exe conf$$.file
6415 if mkdir -p . 2>/dev/null; then
6418 test -d ./-p && rmdir ./-p
6422 as_executable_p="test -f"
6424 # Sed expression to map a string onto a valid CPP name.
6425 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6427 # Sed expression to map a string onto a valid variable name.
6428 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6432 # We need space, tab and new line, in precisely that order.
6442 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6443 # report actual input values of CONFIG_FILES etc. instead of their
6444 # values after options handling. Logging --version etc. is OK.
6448 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6449 ## Running $as_me. ##
6454 This file was extended by libmudflap $as_me 1.0, which was
6455 generated by GNU Autoconf 2.59. Invocation command line was
6457 CONFIG_FILES = $CONFIG_FILES
6458 CONFIG_HEADERS = $CONFIG_HEADERS
6459 CONFIG_LINKS = $CONFIG_LINKS
6460 CONFIG_COMMANDS = $CONFIG_COMMANDS
6464 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6468 # Files that config.status was made for.
6469 if test -n "$ac_config_files"; then
6470 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6473 if test -n "$ac_config_headers"; then
6474 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6477 if test -n "$ac_config_links"; then
6478 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6481 if test -n "$ac_config_commands"; then
6482 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6485 cat >>$CONFIG_STATUS <<\_ACEOF
6488 \`$as_me' instantiates files from templates according to the
6489 current configuration.
6491 Usage: $0 [OPTIONS] [FILE]...
6493 -h, --help print this help, then exit
6494 -V, --version print version number, then exit
6495 -q, --quiet do not print progress messages
6496 -d, --debug don't remove temporary files
6497 --recheck update $as_me by reconfiguring in the same conditions
6498 --file=FILE[:TEMPLATE]
6499 instantiate the configuration file FILE
6500 --header=FILE[:TEMPLATE]
6501 instantiate the configuration header FILE
6503 Configuration files:
6506 Configuration headers:
6509 Configuration commands:
6512 Report bugs to <bug-autoconf@gnu.org>."
6515 cat >>$CONFIG_STATUS <<_ACEOF
6517 libmudflap config.status 1.0
6518 configured by $0, generated by GNU Autoconf 2.59,
6519 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6521 Copyright (C) 2003 Free Software Foundation, Inc.
6522 This config.status script is free software; the Free Software Foundation
6523 gives unlimited permission to copy, distribute and modify it."
6528 cat >>$CONFIG_STATUS <<\_ACEOF
6529 # If no file are specified by the user, then we need to provide default
6530 # value. By we need to know if files were specified by the user.
6536 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6537 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6545 *) # This is not an option, so the user has probably given explicit
6548 ac_need_defaults=false;;
6552 # Handling of the options.
6554 cat >>$CONFIG_STATUS <<\_ACEOF
6555 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6557 --version | --vers* | -V )
6558 echo "$ac_cs_version"; exit 0 ;;
6560 # Conflict between --help and --header
6561 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6562 Try \`$0 --help' for more information." >&5
6563 echo "$as_me: error: ambiguous option: $1
6564 Try \`$0 --help' for more information." >&2;}
6565 { (exit 1); exit 1; }; };;
6566 --help | --hel | -h )
6567 echo "$ac_cs_usage"; exit 0 ;;
6568 --debug | --d* | -d )
6570 --file | --fil | --fi | --f )
6572 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6573 ac_need_defaults=false;;
6574 --header | --heade | --head | --hea )
6576 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6577 ac_need_defaults=false;;
6578 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6579 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6583 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6584 Try \`$0 --help' for more information." >&5
6585 echo "$as_me: error: unrecognized option: $1
6586 Try \`$0 --help' for more information." >&2;}
6587 { (exit 1); exit 1; }; } ;;
6589 *) ac_config_targets="$ac_config_targets $1" ;;
6595 ac_configure_extra_args=
6597 if $ac_cs_silent; then
6599 ac_configure_extra_args="$ac_configure_extra_args --silent"
6603 cat >>$CONFIG_STATUS <<_ACEOF
6604 if \$ac_cs_recheck; then
6605 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6606 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6611 cat >>$CONFIG_STATUS <<_ACEOF
6613 # INIT-COMMANDS section.
6620 with_multisubdir="$with_multisubdir"
6621 with_multisrctop="$with_multisrctop"
6622 with_target_subdir="$with_target_subdir"
6623 ac_configure_args="${multilib_arg} ${ac_configure_args}"
6624 multi_basedir="$multi_basedir"
6625 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6627 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6633 cat >>$CONFIG_STATUS <<\_ACEOF
6634 for ac_config_target in $ac_config_targets
6636 case "$ac_config_target" in
6637 # Handling of arguments.
6638 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6639 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
6640 "testsuite/mfconfig.exp" ) CONFIG_FILES="$CONFIG_FILES testsuite/mfconfig.exp" ;;
6641 "mf-runtime.h" ) CONFIG_FILES="$CONFIG_FILES mf-runtime.h" ;;
6642 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
6643 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6644 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6645 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6646 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6647 { (exit 1); exit 1; }; };;
6651 # If the user did not use the arguments to specify the items to instantiate,
6652 # then the envvar interface is used. Set only those that are not.
6653 # We use the long form for the default assignment because of an extremely
6654 # bizarre bug on SunOS 4.1.3.
6655 if $ac_need_defaults; then
6656 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6657 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6658 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6661 # Have a temporary directory for convenience. Make it in the build tree
6662 # simply because there is no reason to put it here, and in addition,
6663 # creating and moving files from /tmp can sometimes cause problems.
6664 # Create a temporary directory, and hook for its removal unless debugging.
6667 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6668 trap '{ (exit 1); exit 1; }' 1 2 13 15
6671 # Create a (secure) tmp directory for tmp files.
6674 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6675 test -n "$tmp" && test -d "$tmp"
6678 tmp=./confstat$$-$RANDOM
6679 (umask 077 && mkdir $tmp)
6682 echo "$me: cannot create a temporary directory in ." >&2
6683 { (exit 1); exit 1; }
6688 cat >>$CONFIG_STATUS <<_ACEOF
6691 # CONFIG_FILES section.
6694 # No need to generate the scripts if there are no CONFIG_FILES.
6695 # This happens for instance when ./config.status config.h
6696 if test -n "\$CONFIG_FILES"; then
6697 # Protect against being on the right side of a sed subst in config.status.
6698 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6699 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6700 s,@SHELL@,$SHELL,;t t
6701 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6702 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6703 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6704 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6705 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6706 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6707 s,@exec_prefix@,$exec_prefix,;t t
6708 s,@prefix@,$prefix,;t t
6709 s,@program_transform_name@,$program_transform_name,;t t
6710 s,@bindir@,$bindir,;t t
6711 s,@sbindir@,$sbindir,;t t
6712 s,@libexecdir@,$libexecdir,;t t
6713 s,@datadir@,$datadir,;t t
6714 s,@sysconfdir@,$sysconfdir,;t t
6715 s,@sharedstatedir@,$sharedstatedir,;t t
6716 s,@localstatedir@,$localstatedir,;t t
6717 s,@libdir@,$libdir,;t t
6718 s,@includedir@,$includedir,;t t
6719 s,@oldincludedir@,$oldincludedir,;t t
6720 s,@infodir@,$infodir,;t t
6721 s,@mandir@,$mandir,;t t
6722 s,@build_alias@,$build_alias,;t t
6723 s,@host_alias@,$host_alias,;t t
6724 s,@target_alias@,$target_alias,;t t
6726 s,@ECHO_C@,$ECHO_C,;t t
6727 s,@ECHO_N@,$ECHO_N,;t t
6728 s,@ECHO_T@,$ECHO_T,;t t
6730 s,@build@,$build,;t t
6731 s,@build_cpu@,$build_cpu,;t t
6732 s,@build_vendor@,$build_vendor,;t t
6733 s,@build_os@,$build_os,;t t
6735 s,@host_cpu@,$host_cpu,;t t
6736 s,@host_vendor@,$host_vendor,;t t
6737 s,@host_os@,$host_os,;t t
6738 s,@target@,$target,;t t
6739 s,@target_cpu@,$target_cpu,;t t
6740 s,@target_vendor@,$target_vendor,;t t
6741 s,@target_os@,$target_os,;t t
6742 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6743 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6744 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6745 s,@CYGPATH_W@,$CYGPATH_W,;t t
6746 s,@PACKAGE@,$PACKAGE,;t t
6747 s,@VERSION@,$VERSION,;t t
6748 s,@ACLOCAL@,$ACLOCAL,;t t
6749 s,@AUTOCONF@,$AUTOCONF,;t t
6750 s,@AUTOMAKE@,$AUTOMAKE,;t t
6751 s,@AUTOHEADER@,$AUTOHEADER,;t t
6752 s,@MAKEINFO@,$MAKEINFO,;t t
6753 s,@AMTAR@,$AMTAR,;t t
6754 s,@install_sh@,$install_sh,;t t
6755 s,@STRIP@,$STRIP,;t t
6756 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6757 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6758 s,@mkdir_p@,$mkdir_p,;t t
6760 s,@SET_MAKE@,$SET_MAKE,;t t
6761 s,@am__leading_dot@,$am__leading_dot,;t t
6762 s,@libtool_VERSION@,$libtool_VERSION,;t t
6763 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6764 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6765 s,@MAINT@,$MAINT,;t t
6766 s,@multi_basedir@,$multi_basedir,;t t
6768 s,@ac_ct_CC@,$ac_ct_CC,;t t
6769 s,@EXEEXT@,$EXEEXT,;t t
6770 s,@OBJEXT@,$OBJEXT,;t t
6771 s,@DEPDIR@,$DEPDIR,;t t
6772 s,@am__include@,$am__include,;t t
6773 s,@am__quote@,$am__quote,;t t
6774 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6775 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6776 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6777 s,@CCDEPMODE@,$CCDEPMODE,;t t
6778 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6779 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6780 s,@CFLAGS@,$CFLAGS,;t t
6782 s,@CPPFLAGS@,$CPPFLAGS,;t t
6783 s,@EGREP@,$EGREP,;t t
6785 s,@RANLIB@,$RANLIB,;t t
6786 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6787 s,@LIBTOOL@,$LIBTOOL,;t t
6788 s,@enable_shared@,$enable_shared,;t t
6789 s,@enable_static@,$enable_static,;t t
6790 s,@MF_HAVE_STDINT_H@,$MF_HAVE_STDINT_H,;t t
6791 s,@MF_HAVE_UINTPTR_T@,$MF_HAVE_UINTPTR_T,;t t
6792 s,@LIBMUDFLAPTH_TRUE@,$LIBMUDFLAPTH_TRUE,;t t
6793 s,@LIBMUDFLAPTH_FALSE@,$LIBMUDFLAPTH_FALSE,;t t
6794 s,@build_libmudflapth@,$build_libmudflapth,;t t
6795 s,@gcc_version@,$gcc_version,;t t
6796 s,@toolexecdir@,$toolexecdir,;t t
6797 s,@toolexeclibdir@,$toolexeclibdir,;t t
6799 s,@ac_ct_NM@,$ac_ct_NM,;t t
6800 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
6801 s,@LIBOBJS@,$LIBOBJS,;t t
6802 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6807 cat >>$CONFIG_STATUS <<\_ACEOF
6808 # Split the substitutions into bite-sized pieces for seds with
6809 # small command number limits, like on Digital OSF/1 and HP-UX.
6811 ac_sed_frag=1 # Number of current file.
6812 ac_beg=1 # First line for current file.
6813 ac_end=$ac_max_sed_lines # Line after last line for current file.
6816 while $ac_more_lines; do
6817 if test $ac_beg -gt 1; then
6818 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6820 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6822 if test ! -s $tmp/subs.frag; then
6825 # The purpose of the label and of the branching condition is to
6826 # speed up the sed processing (if there are no `@' at all, there
6827 # is no need to browse any of the substitutions).
6828 # These are the two extra sed commands mentioned above.
6830 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6831 if test -z "$ac_sed_cmds"; then
6832 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6834 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6836 ac_sed_frag=`expr $ac_sed_frag + 1`
6838 ac_end=`expr $ac_end + $ac_max_sed_lines`
6841 if test -z "$ac_sed_cmds"; then
6844 fi # test -n "$CONFIG_FILES"
6847 cat >>$CONFIG_STATUS <<\_ACEOF
6848 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6849 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6851 - | *:- | *:-:* ) # input from stdin
6853 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6854 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6855 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6856 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6857 * ) ac_file_in=$ac_file.in ;;
6860 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6861 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6862 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6863 X"$ac_file" : 'X\(//\)[^/]' \| \
6864 X"$ac_file" : 'X\(//\)$' \| \
6865 X"$ac_file" : 'X\(/\)' \| \
6866 . : '\(.\)' 2>/dev/null ||
6868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6869 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6870 /^X\(\/\/\)$/{ s//\1/; q; }
6871 /^X\(\/\).*/{ s//\1/; q; }
6873 { if $as_mkdir_p; then
6878 while test ! -d "$as_dir"; do
6879 as_dirs="$as_dir $as_dirs"
6880 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6882 X"$as_dir" : 'X\(//\)[^/]' \| \
6883 X"$as_dir" : 'X\(//\)$' \| \
6884 X"$as_dir" : 'X\(/\)' \| \
6885 . : '\(.\)' 2>/dev/null ||
6887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6888 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6889 /^X\(\/\/\)$/{ s//\1/; q; }
6890 /^X\(\/\).*/{ s//\1/; q; }
6893 test ! -n "$as_dirs" || mkdir $as_dirs
6894 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6895 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6896 { (exit 1); exit 1; }; }; }
6900 if test "$ac_dir" != .; then
6901 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6902 # A "../" for each directory in $ac_dir_suffix.
6903 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6905 ac_dir_suffix= ac_top_builddir=
6909 .) # No --srcdir option. We are building in place.
6911 if test -z "$ac_top_builddir"; then
6914 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6916 [\\/]* | ?:[\\/]* ) # Absolute path.
6917 ac_srcdir=$srcdir$ac_dir_suffix;
6918 ac_top_srcdir=$srcdir ;;
6920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6924 # Do not use `cd foo && pwd` to compute absolute paths, because
6925 # the directories may not exist.
6927 .) ac_abs_builddir="$ac_dir";;
6930 .) ac_abs_builddir=`pwd`;;
6931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6932 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6935 case $ac_abs_builddir in
6936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6938 case ${ac_top_builddir}. in
6939 .) ac_abs_top_builddir=$ac_abs_builddir;;
6940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6944 case $ac_abs_builddir in
6945 .) ac_abs_srcdir=$ac_srcdir;;
6948 .) ac_abs_srcdir=$ac_abs_builddir;;
6949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6953 case $ac_abs_builddir in
6954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6956 case $ac_top_srcdir in
6957 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6965 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6966 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6969 # Let's still pretend it is `configure' which instantiates (i.e., don't
6970 # use $as_me), people would be surprised to read:
6971 # /* config.h. Generated by config.status. */
6972 if test x"$ac_file" = x-; then
6975 configure_input="$ac_file. "
6977 configure_input=$configure_input"Generated from `echo $ac_file_in |
6978 sed 's,.*/,,'` by configure."
6980 # First look for the input files in the build tree, otherwise in the
6982 ac_file_inputs=`IFS=:
6983 for f in $ac_file_in; do
6985 -) echo $tmp/stdin ;;
6987 # Absolute (can't be DOS-style, as IFS=:)
6988 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6989 echo "$as_me: error: cannot find input file: $f" >&2;}
6990 { (exit 1); exit 1; }; }
6993 if test -f "$f"; then
6996 elif test -f "$srcdir/$f"; then
7001 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7002 echo "$as_me: error: cannot find input file: $f" >&2;}
7003 { (exit 1); exit 1; }; }
7006 done` || { (exit 1); exit 1; }
7008 if test x"$ac_file" != x-; then
7009 { echo "$as_me:$LINENO: creating $ac_file" >&5
7010 echo "$as_me: creating $ac_file" >&6;}
7014 cat >>$CONFIG_STATUS <<_ACEOF
7018 cat >>$CONFIG_STATUS <<\_ACEOF
7020 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7021 s,@configure_input@,$configure_input,;t t
7022 s,@srcdir@,$ac_srcdir,;t t
7023 s,@abs_srcdir@,$ac_abs_srcdir,;t t
7024 s,@top_srcdir@,$ac_top_srcdir,;t t
7025 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7026 s,@builddir@,$ac_builddir,;t t
7027 s,@abs_builddir@,$ac_abs_builddir,;t t
7028 s,@top_builddir@,$ac_top_builddir,;t t
7029 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7030 s,@INSTALL@,$ac_INSTALL,;t t
7031 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7033 if test x"$ac_file" != x-; then
7034 mv $tmp/out $ac_file
7042 cat >>$CONFIG_STATUS <<\_ACEOF
7045 # CONFIG_HEADER section.
7048 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7049 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7051 # ac_d sets the value in "#define NAME VALUE" lines.
7052 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7053 ac_dB='[ ].*$,\1#\2'
7056 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7057 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7058 ac_uB='$,\1#\2define\3'
7062 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7063 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7065 - | *:- | *:-:* ) # input from stdin
7067 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7068 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7069 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7070 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7071 * ) ac_file_in=$ac_file.in ;;
7074 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7075 echo "$as_me: creating $ac_file" >&6;}
7077 # First look for the input files in the build tree, otherwise in the
7079 ac_file_inputs=`IFS=:
7080 for f in $ac_file_in; do
7082 -) echo $tmp/stdin ;;
7084 # Absolute (can't be DOS-style, as IFS=:)
7085 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7086 echo "$as_me: error: cannot find input file: $f" >&2;}
7087 { (exit 1); exit 1; }; }
7088 # Do quote $f, to prevent DOS paths from being IFS'd.
7091 if test -f "$f"; then
7094 elif test -f "$srcdir/$f"; then
7099 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7100 echo "$as_me: error: cannot find input file: $f" >&2;}
7101 { (exit 1); exit 1; }; }
7104 done` || { (exit 1); exit 1; }
7105 # Remove the trailing spaces.
7106 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7110 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7111 # `conftest.undefs', that substitutes the proper values into
7112 # config.h.in to produce config.h. The first handles `#define'
7113 # templates, and the second `#undef' templates.
7114 # And first: Protect against being on the right side of a sed subst in
7115 # config.status. Protect against being in an unquoted here document
7117 rm -f conftest.defines conftest.undefs
7118 # Using a here document instead of a string reduces the quoting nightmare.
7119 # Putting comments in sed scripts is not portable.
7121 # `end' is used to avoid that the second main sed command (meant for
7122 # 0-ary CPP macros) applies to n-ary macro definitions.
7123 # See the Autoconf documentation for `clear'.
7124 cat >confdef2sed.sed <<\_ACEOF
7129 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7131 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7134 # If some macros were called several times there might be several times
7135 # the same #defines, which is useless. Nevertheless, we may not want to
7136 # sort them, since we want the *last* AC-DEFINE to be honored.
7137 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7138 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7139 rm -f confdef2sed.sed
7141 # This sed command replaces #undef with comments. This is necessary, for
7142 # example, in the case of _POSIX_SOURCE, which is predefined and required
7143 # on some systems where configure will not decide to define it.
7144 cat >>conftest.undefs <<\_ACEOF
7145 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7148 # Break up conftest.defines because some shells have a limit on the size
7149 # of here documents, and old seds have small limits too (100 cmds).
7150 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7151 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7152 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7153 echo ' :' >>$CONFIG_STATUS
7155 while grep . conftest.defines >/dev/null
7157 # Write a limited-size here document to $tmp/defines.sed.
7158 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7159 # Speed up: don't consider the non `#define' lines.
7160 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7161 # Work around the forget-to-reset-the-flag bug.
7162 echo 't clr' >>$CONFIG_STATUS
7163 echo ': clr' >>$CONFIG_STATUS
7164 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7166 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7170 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7171 rm -f conftest.defines
7172 mv conftest.tail conftest.defines
7174 rm -f conftest.defines
7175 echo ' fi # grep' >>$CONFIG_STATUS
7176 echo >>$CONFIG_STATUS
7178 # Break up conftest.undefs because some shells have a limit on the size
7179 # of here documents, and old seds have small limits too (100 cmds).
7180 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7182 while grep . conftest.undefs >/dev/null
7184 # Write a limited-size here document to $tmp/undefs.sed.
7185 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7186 # Speed up: don't consider the non `#undef'
7187 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7188 # Work around the forget-to-reset-the-flag bug.
7189 echo 't clr' >>$CONFIG_STATUS
7190 echo ': clr' >>$CONFIG_STATUS
7191 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7193 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7197 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7198 rm -f conftest.undefs
7199 mv conftest.tail conftest.undefs
7201 rm -f conftest.undefs
7203 cat >>$CONFIG_STATUS <<\_ACEOF
7204 # Let's still pretend it is `configure' which instantiates (i.e., don't
7205 # use $as_me), people would be surprised to read:
7206 # /* config.h. Generated by config.status. */
7207 if test x"$ac_file" = x-; then
7208 echo "/* Generated by configure. */" >$tmp/config.h
7210 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7212 cat $tmp/in >>$tmp/config.h
7214 if test x"$ac_file" != x-; then
7215 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7216 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7217 echo "$as_me: $ac_file is unchanged" >&6;}
7219 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7220 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7221 X"$ac_file" : 'X\(//\)[^/]' \| \
7222 X"$ac_file" : 'X\(//\)$' \| \
7223 X"$ac_file" : 'X\(/\)' \| \
7224 . : '\(.\)' 2>/dev/null ||
7226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7227 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7228 /^X\(\/\/\)$/{ s//\1/; q; }
7229 /^X\(\/\).*/{ s//\1/; q; }
7231 { if $as_mkdir_p; then
7236 while test ! -d "$as_dir"; do
7237 as_dirs="$as_dir $as_dirs"
7238 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7239 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7240 X"$as_dir" : 'X\(//\)[^/]' \| \
7241 X"$as_dir" : 'X\(//\)$' \| \
7242 X"$as_dir" : 'X\(/\)' \| \
7243 . : '\(.\)' 2>/dev/null ||
7245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7246 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7247 /^X\(\/\/\)$/{ s//\1/; q; }
7248 /^X\(\/\).*/{ s//\1/; q; }
7251 test ! -n "$as_dirs" || mkdir $as_dirs
7252 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7253 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7254 { (exit 1); exit 1; }; }; }
7257 mv $tmp/config.h $ac_file
7263 # Compute $ac_file's index in $config_headers.
7265 for _am_header in $config_headers :; do
7267 $ac_file | $ac_file:* )
7270 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7273 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7274 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7275 X$ac_file : 'X\(//\)[^/]' \| \
7276 X$ac_file : 'X\(//\)$' \| \
7277 X$ac_file : 'X\(/\)' \| \
7278 . : '\(.\)' 2>/dev/null ||
7280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7281 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7282 /^X\(\/\/\)$/{ s//\1/; q; }
7283 /^X\(\/\).*/{ s//\1/; q; }
7284 s/.*/./; q'`/stamp-h$_am_stamp_count
7287 cat >>$CONFIG_STATUS <<\_ACEOF
7290 # CONFIG_COMMANDS section.
7292 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7293 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7294 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7295 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7296 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7297 X"$ac_dest" : 'X\(//\)[^/]' \| \
7298 X"$ac_dest" : 'X\(//\)$' \| \
7299 X"$ac_dest" : 'X\(/\)' \| \
7300 . : '\(.\)' 2>/dev/null ||
7302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7303 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7304 /^X\(\/\/\)$/{ s//\1/; q; }
7305 /^X\(\/\).*/{ s//\1/; q; }
7307 { if $as_mkdir_p; then
7312 while test ! -d "$as_dir"; do
7313 as_dirs="$as_dir $as_dirs"
7314 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7315 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7316 X"$as_dir" : 'X\(//\)[^/]' \| \
7317 X"$as_dir" : 'X\(//\)$' \| \
7318 X"$as_dir" : 'X\(/\)' \| \
7319 . : '\(.\)' 2>/dev/null ||
7321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7322 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7323 /^X\(\/\/\)$/{ s//\1/; q; }
7324 /^X\(\/\).*/{ s//\1/; q; }
7327 test ! -n "$as_dirs" || mkdir $as_dirs
7328 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7329 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7330 { (exit 1); exit 1; }; }; }
7334 if test "$ac_dir" != .; then
7335 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7336 # A "../" for each directory in $ac_dir_suffix.
7337 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7339 ac_dir_suffix= ac_top_builddir=
7343 .) # No --srcdir option. We are building in place.
7345 if test -z "$ac_top_builddir"; then
7348 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7350 [\\/]* | ?:[\\/]* ) # Absolute path.
7351 ac_srcdir=$srcdir$ac_dir_suffix;
7352 ac_top_srcdir=$srcdir ;;
7354 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7355 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7358 # Do not use `cd foo && pwd` to compute absolute paths, because
7359 # the directories may not exist.
7361 .) ac_abs_builddir="$ac_dir";;
7364 .) ac_abs_builddir=`pwd`;;
7365 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7366 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7369 case $ac_abs_builddir in
7370 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7372 case ${ac_top_builddir}. in
7373 .) ac_abs_top_builddir=$ac_abs_builddir;;
7374 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7375 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7378 case $ac_abs_builddir in
7379 .) ac_abs_srcdir=$ac_srcdir;;
7382 .) ac_abs_srcdir=$ac_abs_builddir;;
7383 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7384 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7387 case $ac_abs_builddir in
7388 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7390 case $ac_top_srcdir in
7391 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7392 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7393 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7398 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7399 echo "$as_me: executing $ac_dest commands" >&6;}
7402 # Only add multilib support code if we just rebuilt the top-level
7404 case " $CONFIG_FILES " in
7406 ac_file=Makefile . ${multi_basedir}/config-ml.in
7409 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7410 # Strip MF so we end up with the name of the file.
7411 mf=`echo "$mf" | sed -e 's/:.*$//'`
7412 # Check whether this is an Automake generated Makefile or not.
7413 # We used to match only the files named `Makefile.in', but
7414 # some people rename them; so instead we look at the file content.
7415 # Grep'ing the first line is not enough: some people post-process
7416 # each Makefile.in and add a new line on top of each file to say so.
7417 # So let's grep whole file.
7418 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7419 dirpart=`(dirname "$mf") 2>/dev/null ||
7420 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7421 X"$mf" : 'X\(//\)[^/]' \| \
7422 X"$mf" : 'X\(//\)$' \| \
7423 X"$mf" : 'X\(/\)' \| \
7424 . : '\(.\)' 2>/dev/null ||
7426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7427 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7428 /^X\(\/\/\)$/{ s//\1/; q; }
7429 /^X\(\/\).*/{ s//\1/; q; }
7434 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7435 # Extract the definition of DEP_FILES from the Makefile without
7437 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7438 test -z "$DEPDIR" && continue
7439 # When using ansi2knr, U may be empty or an underscore; expand it
7440 U=`sed -n 's/^U = //p' < "$mf"`
7441 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7442 # We invoke sed twice because it is the simplest approach to
7443 # changing $(DEPDIR) to its actual value in the expansion.
7444 for file in `sed -n '
7445 /^DEP_FILES = .*\\\\$/ {
7454 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7455 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7456 # Make sure the directory exists.
7457 test -f "$dirpart/$file" && continue
7458 fdir=`(dirname "$file") 2>/dev/null ||
7459 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7460 X"$file" : 'X\(//\)[^/]' \| \
7461 X"$file" : 'X\(//\)$' \| \
7462 X"$file" : 'X\(/\)' \| \
7463 . : '\(.\)' 2>/dev/null ||
7465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7466 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7467 /^X\(\/\/\)$/{ s//\1/; q; }
7468 /^X\(\/\).*/{ s//\1/; q; }
7470 { if $as_mkdir_p; then
7471 mkdir -p $dirpart/$fdir
7473 as_dir=$dirpart/$fdir
7475 while test ! -d "$as_dir"; do
7476 as_dirs="$as_dir $as_dirs"
7477 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7478 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7479 X"$as_dir" : 'X\(//\)[^/]' \| \
7480 X"$as_dir" : 'X\(//\)$' \| \
7481 X"$as_dir" : 'X\(/\)' \| \
7482 . : '\(.\)' 2>/dev/null ||
7484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7485 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7486 /^X\(\/\/\)$/{ s//\1/; q; }
7487 /^X\(\/\).*/{ s//\1/; q; }
7490 test ! -n "$as_dirs" || mkdir $as_dirs
7491 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7492 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7493 { (exit 1); exit 1; }; }; }
7495 # echo "creating $dirpart/$file"
7496 echo '# dummy' > "$dirpart/$file"
7504 cat >>$CONFIG_STATUS <<\_ACEOF
7506 { (exit 0); exit 0; }
7508 chmod +x $CONFIG_STATUS
7509 ac_clean_files=$ac_clean_files_save
7512 # configure is writing to config.log, and then calls config.status.
7513 # config.status does its own redirection, appending to config.log.
7514 # Unfortunately, on DOS this fails, as config.log is still kept open
7515 # by configure, so config.status won't be able to write to it; its
7516 # output is simply discarded. So we exec the FD to /dev/null,
7517 # effectively closing config.log, so it can be properly (re)opened and
7518 # appended to by config.status. When coming back to configure, we
7519 # need to make the FD available again.
7520 if test "$no_create" != yes; then
7522 ac_config_status_args=
7523 test "$silent" = yes &&
7524 ac_config_status_args="$ac_config_status_args --quiet"
7526 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7528 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7529 # would make configure fail if this is the last instruction.
7530 $ac_cs_success || { (exit 1); exit 1; }