2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/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 -n "`(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
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file="mf-runtime.c"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 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 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'
314 # Initialize some variables set by options.
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name=s,x,x,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he | -h)
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 # Obsolete; use --without-fp.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
559 -site=* | --site=* | --sit=*)
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 -version | --version | --versio | --versi | --vers | -V)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CPP_set=${CPP+set}
753 ac_env_CPP_value=$CPP
754 ac_cv_env_CPP_set=${CPP+set}
755 ac_cv_env_CPP_value=$CPP
756 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
757 ac_env_CPPFLAGS_value=$CPPFLAGS
758 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
759 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
762 # Report the --help message.
764 if test "$ac_init_help" = "long"; then
765 # Omit some internal or obsolete options to make the list less imposing.
766 # This message is too long to be a string in the A/UX 3.1 sh.
768 \`configure' configures this package to adapt to many kinds of systems.
770 Usage: $0 [OPTION]... [VAR=VALUE]...
772 To assign environment variables (e.g., CC, CFLAGS...), specify them as
773 VAR=VALUE. See below for descriptions of some of the useful variables.
775 Defaults for the options are specified in brackets.
778 -h, --help display this help and exit
779 --help=short display options specific to this package
780 --help=recursive display the short help of all the included packages
781 -V, --version display version information and exit
782 -q, --quiet, --silent do not print \`checking...' messages
783 --cache-file=FILE cache test results in FILE [disabled]
784 -C, --config-cache alias for \`--cache-file=config.cache'
785 -n, --no-create do not create output files
786 --srcdir=DIR find the sources in DIR [configure dir or \`..']
791 Installation directories:
792 --prefix=PREFIX install architecture-independent files in PREFIX
794 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
797 By default, \`make install' will install all the files in
798 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
799 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
800 for instance \`--prefix=\$HOME'.
802 For better control, use the options below.
804 Fine tuning of the installation directories:
805 --bindir=DIR user executables [EPREFIX/bin]
806 --sbindir=DIR system admin executables [EPREFIX/sbin]
807 --libexecdir=DIR program executables [EPREFIX/libexec]
808 --datadir=DIR read-only architecture-independent data [PREFIX/share]
809 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
810 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
811 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
812 --libdir=DIR object code libraries [EPREFIX/lib]
813 --includedir=DIR C header files [PREFIX/include]
814 --oldincludedir=DIR C header files for non-gcc [/usr/include]
815 --infodir=DIR info documentation [PREFIX/info]
816 --mandir=DIR man documentation [PREFIX/man]
822 --program-prefix=PREFIX prepend PREFIX to installed program names
823 --program-suffix=SUFFIX append SUFFIX to installed program names
824 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
827 --build=BUILD configure for building on BUILD [guessed]
828 --host=HOST cross-compile to build programs to run on HOST [BUILD]
829 --target=TARGET configure for building compilers for TARGET [HOST]
833 if test -n "$ac_init_help"; then
838 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
839 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
840 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
841 --enable-maintainer-mode enable make rules and dependencies not useful
842 (and sometimes confusing) to the casual installer
843 --enable-multilib build many library versions (default)
844 --disable-dependency-tracking Speeds up one-time builds
845 --enable-dependency-tracking Do not reject slow dependency extractors
846 --enable-shared=PKGS build shared libraries default=yes
847 --enable-static=PKGS build static libraries default=yes
848 --enable-fast-install=PKGS optimize for fast installation default=yes
849 --disable-libtool-lock avoid locking (might break parallel builds)
852 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
853 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
854 --with-gnu-ld assume the C compiler uses GNU ld default=no
855 --with-pic try to use only PIC/non-PIC objects default=use both
857 Some influential environment variables:
858 CC C compiler command
859 CFLAGS C compiler flags
860 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
861 nonstandard directory <lib dir>
862 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
863 headers in a nonstandard directory <include dir>
866 Use these variables to override the choices made by `configure' or to help
867 it to find libraries and programs with nonstandard names/locations.
872 if test "$ac_init_help" = "recursive"; then
873 # If there are subdirs, report their specific --help.
875 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
876 test -d $ac_dir || continue
879 if test "$ac_dir" != .; then
880 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
881 # A "../" for each directory in $ac_dir_suffix.
882 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
884 ac_dir_suffix= ac_top_builddir=
888 .) # No --srcdir option. We are building in place.
890 if test -z "$ac_top_builddir"; then
893 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
895 [\\/]* | ?:[\\/]* ) # Absolute path.
896 ac_srcdir=$srcdir$ac_dir_suffix;
897 ac_top_srcdir=$srcdir ;;
899 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
900 ac_top_srcdir=$ac_top_builddir$srcdir ;;
902 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
904 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
905 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
906 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
907 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
910 # Check for guested configure; otherwise get Cygnus style configure.
911 if test -f $ac_srcdir/configure.gnu; then
913 $SHELL $ac_srcdir/configure.gnu --help=recursive
914 elif test -f $ac_srcdir/configure; then
916 $SHELL $ac_srcdir/configure --help=recursive
917 elif test -f $ac_srcdir/configure.ac ||
918 test -f $ac_srcdir/configure.in; then
922 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
928 test -n "$ac_init_help" && exit 0
929 if $ac_init_version; then
932 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
933 Free Software Foundation, Inc.
934 This configure script is free software; the Free Software Foundation
935 gives unlimited permission to copy, distribute and modify it.
941 This file contains any messages produced by compilers while
942 running configure, to aid debugging if configure makes a mistake.
944 It was created by $as_me, which was
945 generated by GNU Autoconf 2.57. Invocation command line was
956 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
957 uname -m = `(uname -m) 2>/dev/null || echo unknown`
958 uname -r = `(uname -r) 2>/dev/null || echo unknown`
959 uname -s = `(uname -s) 2>/dev/null || echo unknown`
960 uname -v = `(uname -v) 2>/dev/null || echo unknown`
962 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
963 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
965 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
966 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
967 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
968 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
969 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
970 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
971 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
979 test -z "$as_dir" && as_dir=.
995 # Keep a trace of the command line.
996 # Strip out --no-create and --no-recursion so they do not pile up.
997 # Strip out --silent because we don't want to record it for future runs.
998 # Also quote any args containing shell meta-characters.
999 # Make two passes to allow for proper duplicate-argument suppression.
1004 ac_must_keep_next=false
1010 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1011 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1012 | -silent | --silent | --silen | --sile | --sil)
1014 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1015 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1018 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1020 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1021 if test $ac_must_keep_next = true; then
1022 ac_must_keep_next=false # Got value, back to normal.
1025 *=* | --config-cache | -C | -disable-* | --disable-* \
1026 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1027 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1028 | -with-* | --with-* | -without-* | --without-* | --x)
1029 case "$ac_configure_args0 " in
1030 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1033 -* ) ac_must_keep_next=true ;;
1036 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1037 # Get rid of the leading space.
1043 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1044 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1046 # When interrupted or exit'd, cleanup temporary files, and complete
1047 # config.log. We remove comments because anyway the quotes in there
1048 # would cause problems or look ugly.
1049 # WARNING: Be sure not to use single quotes in there, as some shells,
1050 # such as our DU 5.0 friend, will then `close' the trap.
1051 trap 'exit_status=$?
1052 # Save into config.log some information that might help in debugging.
1057 ## ---------------- ##
1058 ## Cache variables. ##
1059 ## ---------------- ##
1062 # The following way of writing the cache mishandles newlines in values,
1065 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1068 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1073 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1080 ## ----------------- ##
1081 ## Output variables. ##
1082 ## ----------------- ##
1085 for ac_var in $ac_subst_vars
1087 eval ac_val=$`echo $ac_var`
1088 echo "$ac_var='"'"'$ac_val'"'"'"
1092 if test -n "$ac_subst_files"; then
1099 for ac_var in $ac_subst_files
1101 eval ac_val=$`echo $ac_var`
1102 echo "$ac_var='"'"'$ac_val'"'"'"
1107 if test -s confdefs.h; then
1114 sed "/^$/d" confdefs.h | sort
1117 test "$ac_signal" != 0 &&
1118 echo "$as_me: caught signal $ac_signal"
1119 echo "$as_me: exit $exit_status"
1121 rm -f core core.* *.core &&
1122 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1125 for ac_signal in 1 2 13 15; do
1126 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1130 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1131 rm -rf conftest* confdefs.h
1132 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1135 # Predefined preprocessor variables.
1137 cat >>confdefs.h <<_ACEOF
1138 #define PACKAGE_NAME "$PACKAGE_NAME"
1142 cat >>confdefs.h <<_ACEOF
1143 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1152 cat >>confdefs.h <<_ACEOF
1153 #define PACKAGE_STRING "$PACKAGE_STRING"
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1162 # Let the site file select an alternate cache file if it wants to.
1163 # Prefer explicitly selected file to automatically selected ones.
1164 if test -z "$CONFIG_SITE"; then
1165 if test "x$prefix" != xNONE; then
1166 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1168 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1171 for ac_site_file in $CONFIG_SITE; do
1172 if test -r "$ac_site_file"; then
1173 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1174 echo "$as_me: loading site script $ac_site_file" >&6;}
1175 sed 's/^/| /' "$ac_site_file" >&5
1180 if test -r "$cache_file"; then
1181 # Some versions of bash will fail to source /dev/null (special
1182 # files actually), so we avoid doing that.
1183 if test -f "$cache_file"; then
1184 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1185 echo "$as_me: loading cache $cache_file" >&6;}
1187 [\\/]* | ?:[\\/]* ) . $cache_file;;
1188 *) . ./$cache_file;;
1192 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1193 echo "$as_me: creating cache $cache_file" >&6;}
1197 # Check that the precious variables saved in the cache have kept the same
1199 ac_cache_corrupted=false
1200 for ac_var in `(set) 2>&1 |
1201 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1202 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1203 eval ac_new_set=\$ac_env_${ac_var}_set
1204 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1205 eval ac_new_val="\$ac_env_${ac_var}_value"
1206 case $ac_old_set,$ac_new_set in
1208 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1209 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1210 ac_cache_corrupted=: ;;
1212 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1213 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1214 ac_cache_corrupted=: ;;
1217 if test "x$ac_old_val" != "x$ac_new_val"; then
1218 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1219 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1220 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1221 echo "$as_me: former value: $ac_old_val" >&2;}
1222 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1223 echo "$as_me: current value: $ac_new_val" >&2;}
1224 ac_cache_corrupted=:
1227 # Pass precious variables to config.status.
1228 if test "$ac_new_set" = set; then
1230 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1231 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1232 *) ac_arg=$ac_var=$ac_new_val ;;
1234 case " $ac_configure_args " in
1235 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1236 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1240 if $ac_cache_corrupted; then
1241 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1242 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1243 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1244 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1245 { (exit 1); exit 1; }; }
1249 ac_cpp='$CPP $CPPFLAGS'
1250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1273 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1274 if test -f $ac_dir/install-sh; then
1276 ac_install_sh="$ac_aux_dir/install-sh -c"
1278 elif test -f $ac_dir/install.sh; then
1280 ac_install_sh="$ac_aux_dir/install.sh -c"
1282 elif test -f $ac_dir/shtool; then
1284 ac_install_sh="$ac_aux_dir/shtool install -c"
1288 if test -z "$ac_aux_dir"; then
1289 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1290 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1291 { (exit 1); exit 1; }; }
1293 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1294 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1295 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1297 # Make sure we can run config.sub.
1298 $ac_config_sub sun4 >/dev/null 2>&1 ||
1299 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1300 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1301 { (exit 1); exit 1; }; }
1303 echo "$as_me:$LINENO: checking build system type" >&5
1304 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1305 if test "${ac_cv_build+set}" = set; then
1306 echo $ECHO_N "(cached) $ECHO_C" >&6
1308 ac_cv_build_alias=$build_alias
1309 test -z "$ac_cv_build_alias" &&
1310 ac_cv_build_alias=`$ac_config_guess`
1311 test -z "$ac_cv_build_alias" &&
1312 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1313 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1314 { (exit 1); exit 1; }; }
1315 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1316 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1317 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1318 { (exit 1); exit 1; }; }
1321 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1322 echo "${ECHO_T}$ac_cv_build" >&6
1324 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1325 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1326 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1329 echo "$as_me:$LINENO: checking host system type" >&5
1330 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1331 if test "${ac_cv_host+set}" = set; then
1332 echo $ECHO_N "(cached) $ECHO_C" >&6
1334 ac_cv_host_alias=$host_alias
1335 test -z "$ac_cv_host_alias" &&
1336 ac_cv_host_alias=$ac_cv_build_alias
1337 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1338 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1339 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1340 { (exit 1); exit 1; }; }
1343 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1344 echo "${ECHO_T}$ac_cv_host" >&6
1346 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1347 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1348 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1351 echo "$as_me:$LINENO: checking target system type" >&5
1352 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1353 if test "${ac_cv_target+set}" = set; then
1354 echo $ECHO_N "(cached) $ECHO_C" >&6
1356 ac_cv_target_alias=$target_alias
1357 test "x$ac_cv_target_alias" = "x" &&
1358 ac_cv_target_alias=$ac_cv_host_alias
1359 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1360 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1361 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1362 { (exit 1); exit 1; }; }
1365 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1366 echo "${ECHO_T}$ac_cv_target" >&6
1367 target=$ac_cv_target
1368 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1369 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1370 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1373 # The aliases save the names the user supplied, while $host etc.
1374 # will get canonicalized.
1375 test -n "$target_alias" &&
1376 test "$program_prefix$program_suffix$program_transform_name" = \
1378 program_prefix=${target_alias}-
1379 am__api_version="1.7"
1380 # Find a good install program. We prefer a C program (faster),
1381 # so one script is as good as another. But avoid the broken or
1382 # incompatible versions:
1383 # SysV /etc/install, /usr/sbin/install
1384 # SunOS /usr/etc/install
1385 # IRIX /sbin/install
1387 # AmigaOS /C/install, which installs bootblocks on floppy discs
1388 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1389 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1390 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1391 # ./install, which can be erroneously created by make from ./install.sh.
1392 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1393 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1394 if test -z "$INSTALL"; then
1395 if test "${ac_cv_path_install+set}" = set; then
1396 echo $ECHO_N "(cached) $ECHO_C" >&6
1398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1402 test -z "$as_dir" && as_dir=.
1403 # Account for people who put trailing slashes in PATH elements.
1405 ./ | .// | /cC/* | \
1406 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1409 # OSF1 and SCO ODT 3.0 have their own names for install.
1410 # Don't use installbsd from OSF since it installs stuff as root
1412 for ac_prog in ginstall scoinst install; do
1413 for ac_exec_ext in '' $ac_executable_extensions; do
1414 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1415 if test $ac_prog = install &&
1416 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1417 # AIX install. It has an incompatible calling convention.
1419 elif test $ac_prog = install &&
1420 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1421 # program-specific install script used by HP pwplus--don't use.
1424 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1436 if test "${ac_cv_path_install+set}" = set; then
1437 INSTALL=$ac_cv_path_install
1439 # As a last resort, use the slow shell script. We don't cache a
1440 # path for INSTALL within a source directory, because that will
1441 # break other packages using the cache if that directory is
1442 # removed, or if the path is relative.
1443 INSTALL=$ac_install_sh
1446 echo "$as_me:$LINENO: result: $INSTALL" >&5
1447 echo "${ECHO_T}$INSTALL" >&6
1449 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1450 # It thinks the first close brace ends the variable substitution.
1451 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1453 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1455 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1457 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1458 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1461 echo timestamp > conftest.file
1462 # Do `set' in a subshell so we don't clobber the current shell's
1463 # arguments. Must try -L first in case configure is actually a
1464 # symlink; some systems play weird games with the mod time of symlinks
1465 # (eg FreeBSD returns the mod time of the symlink's containing
1468 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1469 if test "$*" = "X"; then
1471 set X `ls -t $srcdir/configure conftest.file`
1474 if test "$*" != "X $srcdir/configure conftest.file" \
1475 && test "$*" != "X conftest.file $srcdir/configure"; then
1477 # If neither matched, then we have a broken ls. This can happen
1478 # if, for instance, CONFIG_SHELL is bash and it inherits a
1479 # broken ls alias from the environment. This has actually
1480 # happened. Such a system could not be considered "sane".
1481 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1482 alias in your environment" >&5
1483 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1484 alias in your environment" >&2;}
1485 { (exit 1); exit 1; }; }
1488 test "$2" = conftest.file
1494 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1495 Check your system clock" >&5
1496 echo "$as_me: error: newly created file is older than distributed files!
1497 Check your system clock" >&2;}
1498 { (exit 1); exit 1; }; }
1500 echo "$as_me:$LINENO: result: yes" >&5
1501 echo "${ECHO_T}yes" >&6
1502 test "$program_prefix" != NONE &&
1503 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1504 # Use a double $ so make ignores it.
1505 test "$program_suffix" != NONE &&
1506 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1507 # Double any \ or $. echo might interpret backslashes.
1508 # By default was `s,x,x', remove it if useless.
1509 cat <<\_ACEOF >conftest.sed
1510 s/[\\$]/&&/g;s/;s,x,x,$//
1512 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1516 # expand $ac_aux_dir to an absolute path
1517 am_aux_dir=`cd $ac_aux_dir && pwd`
1519 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1520 # Use eval to expand $SHELL
1521 if eval "$MISSING --run true"; then
1522 am_missing_run="$MISSING --run "
1525 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1526 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1529 for ac_prog in gawk mawk nawk awk
1531 # Extract the first word of "$ac_prog", so it can be a program name with args.
1532 set dummy $ac_prog; ac_word=$2
1533 echo "$as_me:$LINENO: checking for $ac_word" >&5
1534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1535 if test "${ac_cv_prog_AWK+set}" = set; then
1536 echo $ECHO_N "(cached) $ECHO_C" >&6
1538 if test -n "$AWK"; then
1539 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1545 test -z "$as_dir" && as_dir=.
1546 for ac_exec_ext in '' $ac_executable_extensions; do
1547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1548 ac_cv_prog_AWK="$ac_prog"
1549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1558 if test -n "$AWK"; then
1559 echo "$as_me:$LINENO: result: $AWK" >&5
1560 echo "${ECHO_T}$AWK" >&6
1562 echo "$as_me:$LINENO: result: no" >&5
1563 echo "${ECHO_T}no" >&6
1566 test -n "$AWK" && break
1569 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1570 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1571 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1572 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1573 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 cat >conftest.make <<\_ACEOF
1577 @echo 'ac_maketemp="$(MAKE)"'
1579 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1580 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1581 if test -n "$ac_maketemp"; then
1582 eval ac_cv_prog_make_${ac_make}_set=yes
1584 eval ac_cv_prog_make_${ac_make}_set=no
1588 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1589 echo "$as_me:$LINENO: result: yes" >&5
1590 echo "${ECHO_T}yes" >&6
1593 echo "$as_me:$LINENO: result: no" >&5
1594 echo "${ECHO_T}no" >&6
1595 SET_MAKE="MAKE=${MAKE-make}"
1598 rm -rf .tst 2>/dev/null
1599 mkdir .tst 2>/dev/null
1600 if test -d .tst; then
1605 rmdir .tst 2>/dev/null
1607 # test to see if srcdir already configured
1608 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1609 test -f $srcdir/config.status; then
1610 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1611 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1612 { (exit 1); exit 1; }; }
1615 # test whether we have cygpath
1616 if test -z "$CYGPATH_W"; then
1617 if (cygpath --version) >/dev/null 2>/dev/null; then
1618 CYGPATH_W='cygpath -w'
1625 # Define the identity of the package.
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE "$PACKAGE"
1635 cat >>confdefs.h <<_ACEOF
1636 #define VERSION "$VERSION"
1639 # Some tools Automake needs.
1641 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1644 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1647 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1650 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1653 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1656 AMTAR=${AMTAR-"${am_missing_run}tar"}
1658 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1660 # Installed binaries are usually stripped using `strip' when the user
1661 # run `make install-strip'. However `strip' might not be the right
1662 # tool to use in cross-compilation environments, therefore Automake
1663 # will honor the `STRIP' environment variable to overrule this program.
1664 if test "$cross_compiling" != no; then
1665 if test -n "$ac_tool_prefix"; then
1666 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1667 set dummy ${ac_tool_prefix}strip; ac_word=$2
1668 echo "$as_me:$LINENO: checking for $ac_word" >&5
1669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1670 if test "${ac_cv_prog_STRIP+set}" = set; then
1671 echo $ECHO_N "(cached) $ECHO_C" >&6
1673 if test -n "$STRIP"; then
1674 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1680 test -z "$as_dir" && as_dir=.
1681 for ac_exec_ext in '' $ac_executable_extensions; do
1682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1683 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1692 STRIP=$ac_cv_prog_STRIP
1693 if test -n "$STRIP"; then
1694 echo "$as_me:$LINENO: result: $STRIP" >&5
1695 echo "${ECHO_T}$STRIP" >&6
1697 echo "$as_me:$LINENO: result: no" >&5
1698 echo "${ECHO_T}no" >&6
1702 if test -z "$ac_cv_prog_STRIP"; then
1704 # Extract the first word of "strip", so it can be a program name with args.
1705 set dummy strip; ac_word=$2
1706 echo "$as_me:$LINENO: checking for $ac_word" >&5
1707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1708 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1709 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 if test -n "$ac_ct_STRIP"; then
1712 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1718 test -z "$as_dir" && as_dir=.
1719 for ac_exec_ext in '' $ac_executable_extensions; do
1720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1721 ac_cv_prog_ac_ct_STRIP="strip"
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1728 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1731 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1732 if test -n "$ac_ct_STRIP"; then
1733 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1734 echo "${ECHO_T}$ac_ct_STRIP" >&6
1736 echo "$as_me:$LINENO: result: no" >&5
1737 echo "${ECHO_T}no" >&6
1742 STRIP="$ac_cv_prog_STRIP"
1746 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1748 # We need awk for the "check" target. The system "awk" is bad on
1755 # For libtool versioning info, format is CURRENT:REVISION:AGE
1756 libtool_VERSION=1:0:0
1759 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1760 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1761 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1762 if test "${enable_version_specific_runtime_libs+set}" = set; then
1763 enableval="$enable_version_specific_runtime_libs"
1764 case "$enableval" in
1765 yes) version_specific_libs=yes ;;
1766 no) version_specific_libs=no ;;
1767 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1768 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1769 { (exit 1); exit 1; }; };;
1772 version_specific_libs=no
1774 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1775 echo "${ECHO_T}$version_specific_libs" >&6
1777 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1778 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1779 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1780 if test "${enable_maintainer_mode+set}" = set; then
1781 enableval="$enable_maintainer_mode"
1782 USE_MAINTAINER_MODE=$enableval
1784 USE_MAINTAINER_MODE=no
1786 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1787 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1790 if test $USE_MAINTAINER_MODE = yes; then
1791 MAINTAINER_MODE_TRUE=
1792 MAINTAINER_MODE_FALSE='#'
1794 MAINTAINER_MODE_TRUE='#'
1795 MAINTAINER_MODE_FALSE=
1798 MAINT=$MAINTAINER_MODE_TRUE
1803 # Default to --enable-multilib
1804 # Check whether --enable-multilib or --disable-multilib was given.
1805 if test "${enable_multilib+set}" = set; then
1806 enableval="$enable_multilib"
1807 case "$enableval" in
1808 yes) multilib=yes ;;
1810 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1811 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1812 { (exit 1); exit 1; }; } ;;
1818 # We may get other options which we leave undocumented:
1819 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1820 # See config-ml.in if you want the gory details.
1822 if test "$srcdir" = "."; then
1823 if test "$with_target_subdir" != "."; then
1824 multi_basedir="$srcdir/$with_multisrctop../.."
1826 multi_basedir="$srcdir/$with_multisrctop.."
1829 multi_basedir="$srcdir/.."
1833 ac_config_commands="$ac_config_commands default-1"
1836 target_alias=${target_alias-$target}
1839 ac_config_headers="$ac_config_headers config.h"
1843 ac_cpp='$CPP $CPPFLAGS'
1844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1848 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1849 # We must force CC to /not/ be precious variables; otherwise
1850 # the wrong, non-multilib-adjusted value will be used in multilibs.
1851 # As a side effect, we have to subst CFLAGS ourselves.
1856 ac_cpp='$CPP $CPPFLAGS'
1857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1860 if test -n "$ac_tool_prefix"; then
1861 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1862 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1863 echo "$as_me:$LINENO: checking for $ac_word" >&5
1864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1865 if test "${ac_cv_prog_CC+set}" = set; then
1866 echo $ECHO_N "(cached) $ECHO_C" >&6
1868 if test -n "$CC"; then
1869 ac_cv_prog_CC="$CC" # Let the user override the test.
1871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875 test -z "$as_dir" && as_dir=.
1876 for ac_exec_ext in '' $ac_executable_extensions; do
1877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1878 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1888 if test -n "$CC"; then
1889 echo "$as_me:$LINENO: result: $CC" >&5
1890 echo "${ECHO_T}$CC" >&6
1892 echo "$as_me:$LINENO: result: no" >&5
1893 echo "${ECHO_T}no" >&6
1897 if test -z "$ac_cv_prog_CC"; then
1899 # Extract the first word of "gcc", so it can be a program name with args.
1900 set dummy gcc; ac_word=$2
1901 echo "$as_me:$LINENO: checking for $ac_word" >&5
1902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1903 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1904 echo $ECHO_N "(cached) $ECHO_C" >&6
1906 if test -n "$ac_ct_CC"; then
1907 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913 test -z "$as_dir" && as_dir=.
1914 for ac_exec_ext in '' $ac_executable_extensions; do
1915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1916 ac_cv_prog_ac_ct_CC="gcc"
1917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1925 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1926 if test -n "$ac_ct_CC"; then
1927 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1928 echo "${ECHO_T}$ac_ct_CC" >&6
1930 echo "$as_me:$LINENO: result: no" >&5
1931 echo "${ECHO_T}no" >&6
1939 if test -z "$CC"; then
1940 if test -n "$ac_tool_prefix"; then
1941 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1942 set dummy ${ac_tool_prefix}cc; ac_word=$2
1943 echo "$as_me:$LINENO: checking for $ac_word" >&5
1944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1945 if test "${ac_cv_prog_CC+set}" = set; then
1946 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 if test -n "$CC"; then
1949 ac_cv_prog_CC="$CC" # Let the user override the test.
1951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1955 test -z "$as_dir" && as_dir=.
1956 for ac_exec_ext in '' $ac_executable_extensions; do
1957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1958 ac_cv_prog_CC="${ac_tool_prefix}cc"
1959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1968 if test -n "$CC"; then
1969 echo "$as_me:$LINENO: result: $CC" >&5
1970 echo "${ECHO_T}$CC" >&6
1972 echo "$as_me:$LINENO: result: no" >&5
1973 echo "${ECHO_T}no" >&6
1977 if test -z "$ac_cv_prog_CC"; then
1979 # Extract the first word of "cc", so it can be a program name with args.
1980 set dummy cc; ac_word=$2
1981 echo "$as_me:$LINENO: checking for $ac_word" >&5
1982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1983 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1986 if test -n "$ac_ct_CC"; then
1987 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1993 test -z "$as_dir" && as_dir=.
1994 for ac_exec_ext in '' $ac_executable_extensions; do
1995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1996 ac_cv_prog_ac_ct_CC="cc"
1997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2005 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2006 if test -n "$ac_ct_CC"; then
2007 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2008 echo "${ECHO_T}$ac_ct_CC" >&6
2010 echo "$as_me:$LINENO: result: no" >&5
2011 echo "${ECHO_T}no" >&6
2020 if test -z "$CC"; then
2021 # Extract the first word of "cc", so it can be a program name with args.
2022 set dummy cc; ac_word=$2
2023 echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025 if test "${ac_cv_prog_CC+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 if test -n "$CC"; then
2029 ac_cv_prog_CC="$CC" # Let the user override the test.
2032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2036 test -z "$as_dir" && as_dir=.
2037 for ac_exec_ext in '' $ac_executable_extensions; do
2038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2039 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2040 ac_prog_rejected=yes
2044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2050 if test $ac_prog_rejected = yes; then
2051 # We found a bogon in the path, so make sure we never use it.
2052 set dummy $ac_cv_prog_CC
2054 if test $# != 0; then
2055 # We chose a different compiler from the bogus one.
2056 # However, it has the same basename, so the bogon will be chosen
2057 # first if we set CC to just the basename; use the full file name.
2059 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2065 if test -n "$CC"; then
2066 echo "$as_me:$LINENO: result: $CC" >&5
2067 echo "${ECHO_T}$CC" >&6
2069 echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2074 if test -z "$CC"; then
2075 if test -n "$ac_tool_prefix"; then
2078 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2079 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2080 echo "$as_me:$LINENO: checking for $ac_word" >&5
2081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2082 if test "${ac_cv_prog_CC+set}" = set; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2085 if test -n "$CC"; then
2086 ac_cv_prog_CC="$CC" # Let the user override the test.
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092 test -z "$as_dir" && as_dir=.
2093 for ac_exec_ext in '' $ac_executable_extensions; do
2094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2095 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105 if test -n "$CC"; then
2106 echo "$as_me:$LINENO: result: $CC" >&5
2107 echo "${ECHO_T}$CC" >&6
2109 echo "$as_me:$LINENO: result: no" >&5
2110 echo "${ECHO_T}no" >&6
2113 test -n "$CC" && break
2116 if test -z "$CC"; then
2120 # Extract the first word of "$ac_prog", so it can be a program name with args.
2121 set dummy $ac_prog; ac_word=$2
2122 echo "$as_me:$LINENO: checking for $ac_word" >&5
2123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2124 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2127 if test -n "$ac_ct_CC"; then
2128 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134 test -z "$as_dir" && as_dir=.
2135 for ac_exec_ext in '' $ac_executable_extensions; do
2136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2137 ac_cv_prog_ac_ct_CC="$ac_prog"
2138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2147 if test -n "$ac_ct_CC"; then
2148 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2149 echo "${ECHO_T}$ac_ct_CC" >&6
2151 echo "$as_me:$LINENO: result: no" >&5
2152 echo "${ECHO_T}no" >&6
2155 test -n "$ac_ct_CC" && break
2164 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2165 See \`config.log' for more details." >&5
2166 echo "$as_me: error: no acceptable C compiler found in \$PATH
2167 See \`config.log' for more details." >&2;}
2168 { (exit 1); exit 1; }; }
2170 # Provide some information about the compiler.
2171 echo "$as_me:$LINENO:" \
2172 "checking for C compiler version" >&5
2173 ac_compiler=`set X $ac_compile; echo $2`
2174 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2175 (eval $ac_compiler --version </dev/null >&5) 2>&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }
2179 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2180 (eval $ac_compiler -v </dev/null >&5) 2>&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }
2184 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2185 (eval $ac_compiler -V </dev/null >&5) 2>&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); }
2190 cat >conftest.$ac_ext <<_ACEOF
2191 #line $LINENO "configure"
2194 cat confdefs.h >>conftest.$ac_ext
2195 cat >>conftest.$ac_ext <<_ACEOF
2196 /* end confdefs.h. */
2206 ac_clean_files_save=$ac_clean_files
2207 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2208 # Try to create an executable without -o first, disregard a.out.
2209 # It will help us diagnose broken compilers, and finding out an intuition
2211 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2212 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2213 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2214 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2215 (eval $ac_link_default) 2>&5
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); }; then
2219 # Find the output, starting from the most likely. This scheme is
2220 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2223 # Be careful to initialize this variable, since it used to be cached.
2224 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2226 # b.out is created by i960 compilers.
2227 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2229 test -f "$ac_file" || continue
2231 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2234 # This is the source file.
2237 # We found the default executable, but exeext='' is most
2241 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2242 # FIXME: I believe we export ac_cv_exeext for Libtool,
2243 # but it would be cool to find out if it's true. Does anybody
2244 # maintain Libtool? --akim.
2252 echo "$as_me: failed program was:" >&5
2253 sed 's/^/| /' conftest.$ac_ext >&5
2255 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2256 See \`config.log' for more details." >&5
2257 echo "$as_me: error: C compiler cannot create executables
2258 See \`config.log' for more details." >&2;}
2259 { (exit 77); exit 77; }; }
2262 ac_exeext=$ac_cv_exeext
2263 echo "$as_me:$LINENO: result: $ac_file" >&5
2264 echo "${ECHO_T}$ac_file" >&6
2266 # Check the compiler produces executables we can run. If not, either
2267 # the compiler is broken, or we cross compile.
2268 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2269 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2270 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2271 # If not cross compiling, check that we can run a simple program.
2272 if test "$cross_compiling" != yes; then
2273 if { ac_try='./$ac_file'
2274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); }; }; then
2281 if test "$cross_compiling" = maybe; then
2284 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2285 If you meant to cross compile, use \`--host'.
2286 See \`config.log' for more details." >&5
2287 echo "$as_me: error: cannot run C compiled programs.
2288 If you meant to cross compile, use \`--host'.
2289 See \`config.log' for more details." >&2;}
2290 { (exit 1); exit 1; }; }
2294 echo "$as_me:$LINENO: result: yes" >&5
2295 echo "${ECHO_T}yes" >&6
2297 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2298 ac_clean_files=$ac_clean_files_save
2299 # Check the compiler produces executables we can run. If not, either
2300 # the compiler is broken, or we cross compile.
2301 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2302 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2303 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2304 echo "${ECHO_T}$cross_compiling" >&6
2306 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2307 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2309 (eval $ac_link) 2>&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); }; then
2313 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2314 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2315 # work properly (i.e., refer to `conftest.exe'), while it won't with
2317 for ac_file in conftest.exe conftest conftest.*; do
2318 test -f "$ac_file" || continue
2320 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2321 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2328 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2329 See \`config.log' for more details." >&5
2330 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2331 See \`config.log' for more details." >&2;}
2332 { (exit 1); exit 1; }; }
2335 rm -f conftest$ac_cv_exeext
2336 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2337 echo "${ECHO_T}$ac_cv_exeext" >&6
2339 rm -f conftest.$ac_ext
2340 EXEEXT=$ac_cv_exeext
2342 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2343 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2344 if test "${ac_cv_objext+set}" = set; then
2345 echo $ECHO_N "(cached) $ECHO_C" >&6
2347 cat >conftest.$ac_ext <<_ACEOF
2348 #line $LINENO "configure"
2351 cat confdefs.h >>conftest.$ac_ext
2352 cat >>conftest.$ac_ext <<_ACEOF
2353 /* end confdefs.h. */
2363 rm -f conftest.o conftest.obj
2364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2365 (eval $ac_compile) 2>&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }; then
2369 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2371 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2372 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2377 echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.$ac_ext >&5
2380 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2381 See \`config.log' for more details." >&5
2382 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2383 See \`config.log' for more details." >&2;}
2384 { (exit 1); exit 1; }; }
2387 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2389 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2390 echo "${ECHO_T}$ac_cv_objext" >&6
2391 OBJEXT=$ac_cv_objext
2393 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2394 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2395 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2396 echo $ECHO_N "(cached) $ECHO_C" >&6
2398 cat >conftest.$ac_ext <<_ACEOF
2399 #line $LINENO "configure"
2402 cat confdefs.h >>conftest.$ac_ext
2403 cat >>conftest.$ac_ext <<_ACEOF
2404 /* end confdefs.h. */
2417 rm -f conftest.$ac_objext
2418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2419 (eval $ac_compile) 2>&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); } &&
2423 { ac_try='test -s conftest.$ac_objext'
2424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); }; }; then
2431 echo "$as_me: failed program was:" >&5
2432 sed 's/^/| /' conftest.$ac_ext >&5
2436 rm -f conftest.$ac_objext conftest.$ac_ext
2437 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2440 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2441 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2442 GCC=`test $ac_compiler_gnu = yes && echo yes`
2443 ac_test_CFLAGS=${CFLAGS+set}
2444 ac_save_CFLAGS=$CFLAGS
2446 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2447 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2448 if test "${ac_cv_prog_cc_g+set}" = set; then
2449 echo $ECHO_N "(cached) $ECHO_C" >&6
2451 cat >conftest.$ac_ext <<_ACEOF
2452 #line $LINENO "configure"
2455 cat confdefs.h >>conftest.$ac_ext
2456 cat >>conftest.$ac_ext <<_ACEOF
2457 /* end confdefs.h. */
2467 rm -f conftest.$ac_objext
2468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2469 (eval $ac_compile) 2>&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); } &&
2473 { ac_try='test -s conftest.$ac_objext'
2474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); }; }; then
2481 echo "$as_me: failed program was:" >&5
2482 sed 's/^/| /' conftest.$ac_ext >&5
2486 rm -f conftest.$ac_objext conftest.$ac_ext
2488 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2489 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2490 if test "$ac_test_CFLAGS" = set; then
2491 CFLAGS=$ac_save_CFLAGS
2492 elif test $ac_cv_prog_cc_g = yes; then
2493 if test "$GCC" = yes; then
2499 if test "$GCC" = yes; then
2505 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2506 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2507 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2510 ac_cv_prog_cc_stdc=no
2512 cat >conftest.$ac_ext <<_ACEOF
2513 #line $LINENO "configure"
2516 cat confdefs.h >>conftest.$ac_ext
2517 cat >>conftest.$ac_ext <<_ACEOF
2518 /* end confdefs.h. */
2521 #include <sys/types.h>
2522 #include <sys/stat.h>
2523 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2524 struct buf { int x; };
2525 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2526 static char *e (p, i)
2532 static char *f (char * (*g) (char **, int), char **p, ...)
2537 s = g (p, va_arg (v,int));
2541 int test (int i, double x);
2542 struct s1 {int (*f) (int a);};
2543 struct s2 {int (*f) (double a);};
2544 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2550 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2555 # Don't try gcc -ansi; that turns off useful extensions and
2556 # breaks some systems' header files.
2557 # AIX -qlanglvl=ansi
2558 # Ultrix and OSF/1 -std1
2559 # HP-UX 10.20 and later -Ae
2560 # HP-UX older versions -Aa -D_HPUX_SOURCE
2561 # SVR4 -Xc -D__EXTENSIONS__
2562 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2564 CC="$ac_save_CC $ac_arg"
2565 rm -f conftest.$ac_objext
2566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2567 (eval $ac_compile) 2>&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); } &&
2571 { ac_try='test -s conftest.$ac_objext'
2572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }; }; then
2577 ac_cv_prog_cc_stdc=$ac_arg
2580 echo "$as_me: failed program was:" >&5
2581 sed 's/^/| /' conftest.$ac_ext >&5
2584 rm -f conftest.$ac_objext
2586 rm -f conftest.$ac_ext conftest.$ac_objext
2591 case "x$ac_cv_prog_cc_stdc" in
2593 echo "$as_me:$LINENO: result: none needed" >&5
2594 echo "${ECHO_T}none needed" >&6 ;;
2596 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2597 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2598 CC="$CC $ac_cv_prog_cc_stdc" ;;
2601 # Some people use a C++ compiler to compile C. Since we use `exit',
2602 # in C++ we need to declare it. In case someone uses the same compiler
2603 # for both compiling C and C++ we need to have the C++ compiler decide
2604 # the declaration of exit, since it's the most demanding environment.
2605 cat >conftest.$ac_ext <<_ACEOF
2610 rm -f conftest.$ac_objext
2611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612 (eval $ac_compile) 2>&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); } &&
2616 { ac_try='test -s conftest.$ac_objext'
2617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; }; then
2622 for ac_declaration in \
2624 '#include <stdlib.h>' \
2625 'extern "C" void std::exit (int) throw (); using std::exit;' \
2626 'extern "C" void std::exit (int); using std::exit;' \
2627 'extern "C" void exit (int) throw ();' \
2628 'extern "C" void exit (int);' \
2631 cat >conftest.$ac_ext <<_ACEOF
2632 #line $LINENO "configure"
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2648 rm -f conftest.$ac_objext
2649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2650 (eval $ac_compile) 2>&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); } &&
2654 { ac_try='test -s conftest.$ac_objext'
2655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); }; }; then
2662 echo "$as_me: failed program was:" >&5
2663 sed 's/^/| /' conftest.$ac_ext >&5
2667 rm -f conftest.$ac_objext conftest.$ac_ext
2668 cat >conftest.$ac_ext <<_ACEOF
2669 #line $LINENO "configure"
2672 cat confdefs.h >>conftest.$ac_ext
2673 cat >>conftest.$ac_ext <<_ACEOF
2674 /* end confdefs.h. */
2684 rm -f conftest.$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686 (eval $ac_compile) 2>&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } &&
2690 { ac_try='test -s conftest.$ac_objext'
2691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); }; }; then
2698 echo "$as_me: failed program was:" >&5
2699 sed 's/^/| /' conftest.$ac_ext >&5
2702 rm -f conftest.$ac_objext conftest.$ac_ext
2705 if test -n "$ac_declaration"; then
2706 echo '#ifdef __cplusplus' >>confdefs.h
2707 echo $ac_declaration >>confdefs.h
2708 echo '#endif' >>confdefs.h
2712 echo "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.$ac_ext >&5
2716 rm -f conftest.$ac_objext conftest.$ac_ext
2718 ac_cpp='$CPP $CPPFLAGS'
2719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2722 DEPDIR="${am__leading_dot}deps"
2724 ac_config_commands="$ac_config_commands depfiles"
2727 am_make=${MAKE-make}
2728 cat > confinc << 'END'
2733 # If we don't find an include directive, just comment out the code.
2734 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2735 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2739 # First try GNU make style include.
2740 echo "include confinc" > confmf
2741 # We grep out `Entering directory' and `Leaving directory'
2742 # messages which can occur if `w' ends up in MAKEFLAGS.
2743 # In particular we don't look at `^make:' because GNU make might
2744 # be invoked under some other name (usually "gmake"), in which
2745 # case it prints its new name instead of `make'.
2746 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2751 # Now try BSD make style include.
2752 if test "$am__include" = "#"; then
2753 echo '.include "confinc"' > confmf
2754 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2755 am__include=.include
2762 echo "$as_me:$LINENO: result: $_am_result" >&5
2763 echo "${ECHO_T}$_am_result" >&6
2764 rm -f confinc confmf
2766 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2767 if test "${enable_dependency_tracking+set}" = set; then
2768 enableval="$enable_dependency_tracking"
2771 if test "x$enable_dependency_tracking" != xno; then
2772 am_depcomp="$ac_aux_dir/depcomp"
2777 if test "x$enable_dependency_tracking" != xno; then
2788 depcc="$CC" am_compiler_list=
2790 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2791 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2792 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2793 echo $ECHO_N "(cached) $ECHO_C" >&6
2795 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2796 # We make a subdir and do the tests there. Otherwise we can end up
2797 # making bogus files that we don't know about and never remove. For
2798 # instance it was reported that on HP-UX the gcc test will end up
2799 # making a dummy file named `D' -- because `-MD' means `put the output
2802 # Copy depcomp to subdir because otherwise we won't find it if we're
2803 # using a relative directory.
2804 cp "$am_depcomp" conftest.dir
2806 # We will build objects and dependencies in a subdirectory because
2807 # it helps to detect inapplicable dependency modes. For instance
2808 # both Tru64's cc and ICC support -MD to output dependencies as a
2809 # side effect of compilation, but ICC will put the dependencies in
2810 # the current directory while Tru64 will put them in the object
2814 am_cv_CC_dependencies_compiler_type=none
2815 if test "$am_compiler_list" = ""; then
2816 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2818 for depmode in $am_compiler_list; do
2819 # Setup a source with many dependencies, because some compilers
2820 # like to wrap large dependency lists on column 80 (with \), and
2821 # we should not choose a depcomp mode which is confused by this.
2823 # We need to recreate these files for each test, as the compiler may
2824 # overwrite some of them when testing with obscure command lines.
2825 # This happens at least with the AIX C compiler.
2827 for i in 1 2 3 4 5 6; do
2828 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2831 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2835 # after this tag, mechanisms are not by side-effect, so they'll
2836 # only be used when explicitly requested
2837 if test "x$enable_dependency_tracking" = xyes; then
2845 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2846 # mode. It turns out that the SunPro C++ compiler does not properly
2847 # handle `-M -o', and we need to detect this.
2848 if depmode=$depmode \
2849 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2850 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2851 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2852 >/dev/null 2>conftest.err &&
2853 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2854 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2855 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2856 # icc doesn't choke on unknown options, it will just issue warnings
2857 # (even with -Werror). So we grep stderr for any message
2858 # that says an option was ignored.
2859 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2860 am_cv_CC_dependencies_compiler_type=$depmode
2869 am_cv_CC_dependencies_compiler_type=none
2873 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2874 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2875 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2880 test "x$enable_dependency_tracking" != xno \
2881 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2883 am__fastdepCC_FALSE='#'
2885 am__fastdepCC_TRUE='#'
2886 am__fastdepCC_FALSE=
2894 if test "x$GCC" != "xyes"; then
2895 { { echo "$as_me:$LINENO: error: libmudflap must be built with GCC" >&5
2896 echo "$as_me: error: libmudflap must be built with GCC" >&2;}
2897 { (exit 1); exit 1; }; }
2900 ac_cpp='$CPP $CPPFLAGS'
2901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2904 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2905 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2906 # On Suns, sometimes $CPP names a directory.
2907 if test -n "$CPP" && test -d "$CPP"; then
2910 if test -z "$CPP"; then
2911 if test "${ac_cv_prog_CPP+set}" = set; then
2912 echo $ECHO_N "(cached) $ECHO_C" >&6
2914 # Double quotes because CPP needs to be expanded
2915 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2918 for ac_c_preproc_warn_flag in '' yes
2920 # Use a header file that comes with gcc, so configuring glibc
2921 # with a fresh cross-compiler works.
2922 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2923 # <limits.h> exists even on freestanding compilers.
2924 # On the NeXT, cc -E runs the code through the compiler's parser,
2925 # not just through cpp. "Syntax error" is here to catch this case.
2926 cat >conftest.$ac_ext <<_ACEOF
2927 #line $LINENO "configure"
2930 cat confdefs.h >>conftest.$ac_ext
2931 cat >>conftest.$ac_ext <<_ACEOF
2932 /* end confdefs.h. */
2934 # include <limits.h>
2936 # include <assert.h>
2940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2941 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2943 grep -v '^ *+' conftest.er1 >conftest.err
2945 cat conftest.err >&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); } >/dev/null; then
2948 if test -s conftest.err; then
2949 ac_cpp_err=$ac_c_preproc_warn_flag
2956 if test -z "$ac_cpp_err"; then
2959 echo "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.$ac_ext >&5
2962 # Broken: fails on valid input.
2965 rm -f conftest.err conftest.$ac_ext
2967 # OK, works on sane cases. Now check whether non-existent headers
2968 # can be detected and how.
2969 cat >conftest.$ac_ext <<_ACEOF
2970 #line $LINENO "configure"
2973 cat confdefs.h >>conftest.$ac_ext
2974 cat >>conftest.$ac_ext <<_ACEOF
2975 /* end confdefs.h. */
2976 #include <ac_nonexistent.h>
2978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2981 grep -v '^ *+' conftest.er1 >conftest.err
2983 cat conftest.err >&5
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); } >/dev/null; then
2986 if test -s conftest.err; then
2987 ac_cpp_err=$ac_c_preproc_warn_flag
2994 if test -z "$ac_cpp_err"; then
2995 # Broken: success on invalid input.
2998 echo "$as_me: failed program was:" >&5
2999 sed 's/^/| /' conftest.$ac_ext >&5
3001 # Passes both tests.
3005 rm -f conftest.err conftest.$ac_ext
3008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3009 rm -f conftest.err conftest.$ac_ext
3010 if $ac_preproc_ok; then
3022 echo "$as_me:$LINENO: result: $CPP" >&5
3023 echo "${ECHO_T}$CPP" >&6
3025 for ac_c_preproc_warn_flag in '' yes
3027 # Use a header file that comes with gcc, so configuring glibc
3028 # with a fresh cross-compiler works.
3029 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3030 # <limits.h> exists even on freestanding compilers.
3031 # On the NeXT, cc -E runs the code through the compiler's parser,
3032 # not just through cpp. "Syntax error" is here to catch this case.
3033 cat >conftest.$ac_ext <<_ACEOF
3034 #line $LINENO "configure"
3037 cat confdefs.h >>conftest.$ac_ext
3038 cat >>conftest.$ac_ext <<_ACEOF
3039 /* end confdefs.h. */
3041 # include <limits.h>
3043 # include <assert.h>
3047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3048 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3050 grep -v '^ *+' conftest.er1 >conftest.err
3052 cat conftest.err >&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); } >/dev/null; then
3055 if test -s conftest.err; then
3056 ac_cpp_err=$ac_c_preproc_warn_flag
3063 if test -z "$ac_cpp_err"; then
3066 echo "$as_me: failed program was:" >&5
3067 sed 's/^/| /' conftest.$ac_ext >&5
3069 # Broken: fails on valid input.
3072 rm -f conftest.err conftest.$ac_ext
3074 # OK, works on sane cases. Now check whether non-existent headers
3075 # can be detected and how.
3076 cat >conftest.$ac_ext <<_ACEOF
3077 #line $LINENO "configure"
3080 cat confdefs.h >>conftest.$ac_ext
3081 cat >>conftest.$ac_ext <<_ACEOF
3082 /* end confdefs.h. */
3083 #include <ac_nonexistent.h>
3085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3086 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3088 grep -v '^ *+' conftest.er1 >conftest.err
3090 cat conftest.err >&5
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); } >/dev/null; then
3093 if test -s conftest.err; then
3094 ac_cpp_err=$ac_c_preproc_warn_flag
3101 if test -z "$ac_cpp_err"; then
3102 # Broken: success on invalid input.
3105 echo "$as_me: failed program was:" >&5
3106 sed 's/^/| /' conftest.$ac_ext >&5
3108 # Passes both tests.
3112 rm -f conftest.err conftest.$ac_ext
3115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3116 rm -f conftest.err conftest.$ac_ext
3117 if $ac_preproc_ok; then
3120 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3121 See \`config.log' for more details." >&5
3122 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3123 See \`config.log' for more details." >&2;}
3124 { (exit 1); exit 1; }; }
3128 ac_cpp='$CPP $CPPFLAGS'
3129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3134 # Some hosts don't have dlsym(RTLD_NEXT, "symbol") for use in
3135 # symbol interposition. We disable shared libraries for these.
3136 echo "$as_me:$LINENO: checking whether dlsym(RTLD_NEXT,...) is available" >&5
3137 echo $ECHO_N "checking whether dlsym(RTLD_NEXT,...) is available... $ECHO_C" >&6
3139 cat >conftest.$ac_ext <<_ACEOF
3140 #line $LINENO "configure"
3143 cat confdefs.h >>conftest.$ac_ext
3144 cat >>conftest.$ac_ext <<_ACEOF
3145 /* end confdefs.h. */
3153 void *foo = dlsym (RTLD_NEXT, "exit");
3158 rm -f conftest.$ac_objext
3159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3160 (eval $ac_compile) 2>&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } &&
3164 { ac_try='test -s conftest.$ac_objext'
3165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }; }; then
3170 echo "$as_me:$LINENO: result: yes" >&5
3171 echo "${ECHO_T}yes" >&6
3173 echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.$ac_ext >&5
3176 echo "$as_me:$LINENO: result: no" >&5
3177 echo "${ECHO_T}no" >&6
3180 rm -f conftest.$ac_objext conftest.$ac_ext
3183 echo "$as_me:$LINENO: checking for egrep" >&5
3184 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3185 if test "${ac_cv_prog_egrep+set}" = set; then
3186 echo $ECHO_N "(cached) $ECHO_C" >&6
3188 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3189 then ac_cv_prog_egrep='grep -E'
3190 else ac_cv_prog_egrep='egrep'
3193 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3194 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3195 EGREP=$ac_cv_prog_egrep
3198 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3199 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3200 if test "${ac_cv_header_stdc+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 cat >conftest.$ac_ext <<_ACEOF
3204 #line $LINENO "configure"
3207 cat confdefs.h >>conftest.$ac_ext
3208 cat >>conftest.$ac_ext <<_ACEOF
3209 /* end confdefs.h. */
3223 rm -f conftest.$ac_objext
3224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3225 (eval $ac_compile) 2>&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } &&
3229 { ac_try='test -s conftest.$ac_objext'
3230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); }; }; then
3235 ac_cv_header_stdc=yes
3237 echo "$as_me: failed program was:" >&5
3238 sed 's/^/| /' conftest.$ac_ext >&5
3240 ac_cv_header_stdc=no
3242 rm -f conftest.$ac_objext conftest.$ac_ext
3244 if test $ac_cv_header_stdc = yes; then
3245 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3246 cat >conftest.$ac_ext <<_ACEOF
3247 #line $LINENO "configure"
3250 cat confdefs.h >>conftest.$ac_ext
3251 cat >>conftest.$ac_ext <<_ACEOF
3252 /* end confdefs.h. */
3256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3257 $EGREP "memchr" >/dev/null 2>&1; then
3260 ac_cv_header_stdc=no
3266 if test $ac_cv_header_stdc = yes; then
3267 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3268 cat >conftest.$ac_ext <<_ACEOF
3269 #line $LINENO "configure"
3272 cat confdefs.h >>conftest.$ac_ext
3273 cat >>conftest.$ac_ext <<_ACEOF
3274 /* end confdefs.h. */
3278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3279 $EGREP "free" >/dev/null 2>&1; then
3282 ac_cv_header_stdc=no
3288 if test $ac_cv_header_stdc = yes; then
3289 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3290 if test "$cross_compiling" = yes; then
3293 cat >conftest.$ac_ext <<_ACEOF
3294 #line $LINENO "configure"
3297 cat confdefs.h >>conftest.$ac_ext
3298 cat >>conftest.$ac_ext <<_ACEOF
3299 /* end confdefs.h. */
3301 #if ((' ' & 0x0FF) == 0x020)
3302 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3303 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3305 # define ISLOWER(c) \
3306 (('a' <= (c) && (c) <= 'i') \
3307 || ('j' <= (c) && (c) <= 'r') \
3308 || ('s' <= (c) && (c) <= 'z'))
3309 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3312 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3317 for (i = 0; i < 256; i++)
3318 if (XOR (islower (i), ISLOWER (i))
3319 || toupper (i) != TOUPPER (i))
3324 rm -f conftest$ac_exeext
3325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3326 (eval $ac_link) 2>&5
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); }; }; then
3337 echo "$as_me: program exited with status $ac_status" >&5
3338 echo "$as_me: failed program was:" >&5
3339 sed 's/^/| /' conftest.$ac_ext >&5
3342 ac_cv_header_stdc=no
3344 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3348 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3349 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3350 if test $ac_cv_header_stdc = yes; then
3352 cat >>confdefs.h <<\_ACEOF
3353 #define STDC_HEADERS 1
3358 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3368 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3369 inttypes.h stdint.h unistd.h
3371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3372 echo "$as_me:$LINENO: checking for $ac_header" >&5
3373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3375 echo $ECHO_N "(cached) $ECHO_C" >&6
3377 cat >conftest.$ac_ext <<_ACEOF
3378 #line $LINENO "configure"
3381 cat confdefs.h >>conftest.$ac_ext
3382 cat >>conftest.$ac_ext <<_ACEOF
3383 /* end confdefs.h. */
3384 $ac_includes_default
3386 #include <$ac_header>
3388 rm -f conftest.$ac_objext
3389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3390 (eval $ac_compile) 2>&5
3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); } &&
3394 { ac_try='test -s conftest.$ac_objext'
3395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); }; }; then
3400 eval "$as_ac_Header=yes"
3402 echo "$as_me: failed program was:" >&5
3403 sed 's/^/| /' conftest.$ac_ext >&5
3405 eval "$as_ac_Header=no"
3407 rm -f conftest.$ac_objext conftest.$ac_ext
3409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3411 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3412 cat >>confdefs.h <<_ACEOF
3413 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3432 for ac_header in stdint.h execinfo.h signal.h dlfcn.h \
3433 netdb.h sys/ipc.h sys/sem.h sys/shm.h sys/wait.h sys/socket.h ctype.h
3435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3437 echo "$as_me:$LINENO: checking for $ac_header" >&5
3438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3445 # Is the header compilable?
3446 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3448 cat >conftest.$ac_ext <<_ACEOF
3449 #line $LINENO "configure"
3452 cat confdefs.h >>conftest.$ac_ext
3453 cat >>conftest.$ac_ext <<_ACEOF
3454 /* end confdefs.h. */
3455 $ac_includes_default
3456 #include <$ac_header>
3458 rm -f conftest.$ac_objext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3460 (eval $ac_compile) 2>&5
3462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463 (exit $ac_status); } &&
3464 { ac_try='test -s conftest.$ac_objext'
3465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); }; }; then
3470 ac_header_compiler=yes
3472 echo "$as_me: failed program was:" >&5
3473 sed 's/^/| /' conftest.$ac_ext >&5
3475 ac_header_compiler=no
3477 rm -f conftest.$ac_objext conftest.$ac_ext
3478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3479 echo "${ECHO_T}$ac_header_compiler" >&6
3481 # Is the header present?
3482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3484 cat >conftest.$ac_ext <<_ACEOF
3485 #line $LINENO "configure"
3488 cat confdefs.h >>conftest.$ac_ext
3489 cat >>conftest.$ac_ext <<_ACEOF
3490 /* end confdefs.h. */
3491 #include <$ac_header>
3493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3494 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3496 grep -v '^ *+' conftest.er1 >conftest.err
3498 cat conftest.err >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } >/dev/null; then
3501 if test -s conftest.err; then
3502 ac_cpp_err=$ac_c_preproc_warn_flag
3509 if test -z "$ac_cpp_err"; then
3510 ac_header_preproc=yes
3512 echo "$as_me: failed program was:" >&5
3513 sed 's/^/| /' conftest.$ac_ext >&5
3515 ac_header_preproc=no
3517 rm -f conftest.err conftest.$ac_ext
3518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3519 echo "${ECHO_T}$ac_header_preproc" >&6
3521 # So? What about this header?
3522 case $ac_header_compiler:$ac_header_preproc in
3524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3530 ## ------------------------------------ ##
3531 ## Report this to bug-autoconf@gnu.org. ##
3532 ## ------------------------------------ ##
3535 sed "s/^/$as_me: WARNING: /" >&2
3538 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3539 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3540 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3541 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3546 ## ------------------------------------ ##
3547 ## Report this to bug-autoconf@gnu.org. ##
3548 ## ------------------------------------ ##
3551 sed "s/^/$as_me: WARNING: /" >&2
3554 echo "$as_me:$LINENO: checking for $ac_header" >&5
3555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3557 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 eval "$as_ac_Header=$ac_header_preproc"
3561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3566 cat >>confdefs.h <<_ACEOF
3567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3578 for ac_func in backtrace backtrace_symbols gettimeofday signal
3580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3581 echo "$as_me:$LINENO: checking for $ac_func" >&5
3582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3583 if eval "test \"\${$as_ac_var+set}\" = set"; then
3584 echo $ECHO_N "(cached) $ECHO_C" >&6
3586 cat >conftest.$ac_ext <<_ACEOF
3587 #line $LINENO "configure"
3590 cat confdefs.h >>conftest.$ac_ext
3591 cat >>conftest.$ac_ext <<_ACEOF
3592 /* end confdefs.h. */
3593 /* System header to define __stub macros and hopefully few prototypes,
3594 which can conflict with char $ac_func (); below.
3595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3596 <limits.h> exists even on freestanding compilers. */
3598 # include <limits.h>
3600 # include <assert.h>
3602 /* Override any gcc2 internal prototype to avoid an error. */
3607 /* We use char because int might match the return type of a gcc2
3608 builtin and then its argument prototype would still apply. */
3610 /* The GNU C library defines this for functions which it implements
3611 to always fail with ENOSYS. Some functions are actually named
3612 something starting with __ and the normal name is an alias. */
3613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3616 char (*f) () = $ac_func;
3625 return f != $ac_func;
3630 rm -f conftest.$ac_objext conftest$ac_exeext
3631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3632 (eval $ac_link) 2>&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); } &&
3636 { ac_try='test -s conftest$ac_exeext'
3637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; }; then
3642 eval "$as_ac_var=yes"
3644 echo "$as_me: failed program was:" >&5
3645 sed 's/^/| /' conftest.$ac_ext >&5
3647 eval "$as_ac_var=no"
3649 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3653 if test `eval echo '${'$as_ac_var'}'` = yes; then
3654 cat >>confdefs.h <<_ACEOF
3655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3666 for ac_func in fopen64 fseeko64 ftello64 stat64
3668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3669 echo "$as_me:$LINENO: checking for $ac_func" >&5
3670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3671 if eval "test \"\${$as_ac_var+set}\" = set"; then
3672 echo $ECHO_N "(cached) $ECHO_C" >&6
3674 cat >conftest.$ac_ext <<_ACEOF
3675 #line $LINENO "configure"
3678 cat confdefs.h >>conftest.$ac_ext
3679 cat >>conftest.$ac_ext <<_ACEOF
3680 /* end confdefs.h. */
3681 /* System header to define __stub macros and hopefully few prototypes,
3682 which can conflict with char $ac_func (); below.
3683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3684 <limits.h> exists even on freestanding compilers. */
3686 # include <limits.h>
3688 # include <assert.h>
3690 /* Override any gcc2 internal prototype to avoid an error. */
3695 /* We use char because int might match the return type of a gcc2
3696 builtin and then its argument prototype would still apply. */
3698 /* The GNU C library defines this for functions which it implements
3699 to always fail with ENOSYS. Some functions are actually named
3700 something starting with __ and the normal name is an alias. */
3701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3704 char (*f) () = $ac_func;
3713 return f != $ac_func;
3718 rm -f conftest.$ac_objext conftest$ac_exeext
3719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3720 (eval $ac_link) 2>&5
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); } &&
3724 { ac_try='test -s conftest$ac_exeext'
3725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); }; }; then
3730 eval "$as_ac_var=yes"
3732 echo "$as_me: failed program was:" >&5
3733 sed 's/^/| /' conftest.$ac_ext >&5
3735 eval "$as_ac_var=no"
3737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3741 if test `eval echo '${'$as_ac_var'}'` = yes; then
3742 cat >>confdefs.h <<_ACEOF
3743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3755 for ac_func in strnlen memrchr strncpy memmem sethostname
3757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3758 echo "$as_me:$LINENO: checking for $ac_func" >&5
3759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3760 if eval "test \"\${$as_ac_var+set}\" = set"; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3763 cat >conftest.$ac_ext <<_ACEOF
3764 #line $LINENO "configure"
3767 cat confdefs.h >>conftest.$ac_ext
3768 cat >>conftest.$ac_ext <<_ACEOF
3769 /* end confdefs.h. */
3770 /* System header to define __stub macros and hopefully few prototypes,
3771 which can conflict with char $ac_func (); below.
3772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3773 <limits.h> exists even on freestanding compilers. */
3775 # include <limits.h>
3777 # include <assert.h>
3779 /* Override any gcc2 internal prototype to avoid an error. */
3784 /* We use char because int might match the return type of a gcc2
3785 builtin and then its argument prototype would still apply. */
3787 /* The GNU C library defines this for functions which it implements
3788 to always fail with ENOSYS. Some functions are actually named
3789 something starting with __ and the normal name is an alias. */
3790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3793 char (*f) () = $ac_func;
3802 return f != $ac_func;
3807 rm -f conftest.$ac_objext conftest$ac_exeext
3808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3809 (eval $ac_link) 2>&5
3811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3812 (exit $ac_status); } &&
3813 { ac_try='test -s conftest$ac_exeext'
3814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); }; }; then
3819 eval "$as_ac_var=yes"
3821 echo "$as_me: failed program was:" >&5
3822 sed 's/^/| /' conftest.$ac_ext >&5
3824 eval "$as_ac_var=no"
3826 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3830 if test `eval echo '${'$as_ac_var'}'` = yes; then
3831 cat >>confdefs.h <<_ACEOF
3832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3842 for ac_func in __ctype_b_loc __ctype_tolower_loc __ctype_toupper_loc
3844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3845 echo "$as_me:$LINENO: checking for $ac_func" >&5
3846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3847 if eval "test \"\${$as_ac_var+set}\" = set"; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 cat >conftest.$ac_ext <<_ACEOF
3851 #line $LINENO "configure"
3854 cat confdefs.h >>conftest.$ac_ext
3855 cat >>conftest.$ac_ext <<_ACEOF
3856 /* end confdefs.h. */
3857 /* System header to define __stub macros and hopefully few prototypes,
3858 which can conflict with char $ac_func (); below.
3859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3860 <limits.h> exists even on freestanding compilers. */
3862 # include <limits.h>
3864 # include <assert.h>
3866 /* Override any gcc2 internal prototype to avoid an error. */
3871 /* We use char because int might match the return type of a gcc2
3872 builtin and then its argument prototype would still apply. */
3874 /* The GNU C library defines this for functions which it implements
3875 to always fail with ENOSYS. Some functions are actually named
3876 something starting with __ and the normal name is an alias. */
3877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3880 char (*f) () = $ac_func;
3889 return f != $ac_func;
3894 rm -f conftest.$ac_objext conftest$ac_exeext
3895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3896 (eval $ac_link) 2>&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); } &&
3900 { ac_try='test -s conftest$ac_exeext'
3901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); }; }; then
3906 eval "$as_ac_var=yes"
3908 echo "$as_me: failed program was:" >&5
3909 sed 's/^/| /' conftest.$ac_ext >&5
3911 eval "$as_ac_var=no"
3913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3917 if test `eval echo '${'$as_ac_var'}'` = yes; then
3918 cat >>confdefs.h <<_ACEOF
3919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3926 cat >conftest.$ac_ext <<_ACEOF
3927 #line $LINENO "configure"
3930 cat confdefs.h >>conftest.$ac_ext
3931 cat >>conftest.$ac_ext <<_ACEOF
3932 /* end confdefs.h. */
3933 #include <sys/types.h>
3934 #include <sys/ipc.h>
3935 #include <sys/sem.h>
3944 rm -f conftest.$ac_objext
3945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3946 (eval $ac_compile) 2>&5
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); } &&
3950 { ac_try='test -s conftest.$ac_objext'
3951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); }; }; then
3958 echo "$as_me: failed program was:" >&5
3959 sed 's/^/| /' conftest.$ac_ext >&5
3963 rm -f conftest.$ac_objext conftest.$ac_ext
3964 if test $mf_have_semun = 1
3967 cat >>confdefs.h <<\_ACEOF
3968 #define HAVE_UNION_SEMUN 1
3974 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
3975 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
3976 cat >conftest.$ac_ext <<_ACEOF
3977 #line $LINENO "configure"
3980 cat confdefs.h >>conftest.$ac_ext
3981 cat >>conftest.$ac_ext <<_ACEOF
3982 /* end confdefs.h. */
3983 #define _POSIX_PII_SOCKET
3984 #include <sys/types.h>
3985 #include <sys/socket.h>
3994 rm -f conftest.$ac_objext
3995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3996 (eval $ac_compile) 2>&5
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 (exit $ac_status); } &&
4000 { ac_try='test -s conftest.$ac_objext'
4001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); }; }; then
4007 cat >>confdefs.h <<\_ACEOF
4008 #define HAVE_SOCKLEN_T 1
4011 echo "$as_me:$LINENO: result: yes" >&5
4012 echo "${ECHO_T}yes" >&6
4014 echo "$as_me: failed program was:" >&5
4015 sed 's/^/| /' conftest.$ac_ext >&5
4017 echo "$as_me:$LINENO: result: no" >&5
4018 echo "${ECHO_T}no" >&6
4020 rm -f conftest.$ac_objext conftest.$ac_ext
4023 # Check whether --enable-shared or --disable-shared was given.
4024 if test "${enable_shared+set}" = set; then
4025 enableval="$enable_shared"
4026 p=${PACKAGE-default}
4028 yes) enable_shared=yes ;;
4029 no) enable_shared=no ;;
4032 # Look at the argument we got. We use all the common list separators.
4033 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4034 for pkg in $enableval; do
4035 if test "X$pkg" = "X$p"; then
4045 # Check whether --enable-static or --disable-static was given.
4046 if test "${enable_static+set}" = set; then
4047 enableval="$enable_static"
4048 p=${PACKAGE-default}
4050 yes) enable_static=yes ;;
4051 no) enable_static=no ;;
4054 # Look at the argument we got. We use all the common list separators.
4055 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4056 for pkg in $enableval; do
4057 if test "X$pkg" = "X$p"; then
4067 # Check whether --enable-fast-install or --disable-fast-install was given.
4068 if test "${enable_fast_install+set}" = set; then
4069 enableval="$enable_fast_install"
4070 p=${PACKAGE-default}
4072 yes) enable_fast_install=yes ;;
4073 no) enable_fast_install=no ;;
4075 enable_fast_install=no
4076 # Look at the argument we got. We use all the common list separators.
4077 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4078 for pkg in $enableval; do
4079 if test "X$pkg" = "X$p"; then
4080 enable_fast_install=yes
4087 enable_fast_install=yes
4090 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4091 if test "${with_gnu_ld+set}" = set; then
4092 withval="$with_gnu_ld"
4093 test "$withval" = no || with_gnu_ld=yes
4098 if test "$GCC" = yes; then
4099 # Check if gcc -print-prog-name=ld gives a path.
4100 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4101 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4104 # gcc leaves a trailing carriage return which upsets mingw
4105 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4107 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4110 # Accept absolute paths.
4111 [\\/]* | [A-Za-z]:[\\/]*)
4112 re_direlt='/[^/][^/]*/\.\./'
4113 # Canonicalize the path of ld
4114 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4115 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4116 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4118 test -z "$LD" && LD="$ac_prog"
4121 # If it fails, then pretend we aren't using GCC.
4125 # If it is relative, then search for the first ld in PATH.
4129 elif test "$with_gnu_ld" = yes; then
4130 echo "$as_me:$LINENO: checking for GNU ld" >&5
4131 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4133 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4134 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4136 if test "${lt_cv_path_LD+set}" = set; then
4137 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 if test -z "$LD"; then
4140 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4141 for ac_dir in $PATH; do
4142 test -z "$ac_dir" && ac_dir=.
4143 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4144 lt_cv_path_LD="$ac_dir/$ac_prog"
4145 # Check to see if the program is GNU ld. I'd rather use --version,
4146 # but apparently some GNU ld's only accept -v.
4147 # Break only if it was the GNU/non-GNU ld that we prefer.
4148 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4149 test "$with_gnu_ld" != no && break
4151 test "$with_gnu_ld" != yes && break
4157 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4162 if test -n "$LD"; then
4163 echo "$as_me:$LINENO: result: $LD" >&5
4164 echo "${ECHO_T}$LD" >&6
4166 echo "$as_me:$LINENO: result: no" >&5
4167 echo "${ECHO_T}no" >&6
4169 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4170 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4171 { (exit 1); exit 1; }; }
4172 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4173 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4174 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4175 echo $ECHO_N "(cached) $ECHO_C" >&6
4177 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4178 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4179 lt_cv_prog_gnu_ld=yes
4181 lt_cv_prog_gnu_ld=no
4184 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4185 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4186 with_gnu_ld=$lt_cv_prog_gnu_ld
4189 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4190 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4191 if test "${lt_cv_ld_reload_flag+set}" = set; then
4192 echo $ECHO_N "(cached) $ECHO_C" >&6
4194 lt_cv_ld_reload_flag='-r'
4196 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4197 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4198 reload_flag=$lt_cv_ld_reload_flag
4199 test -n "$reload_flag" && reload_flag=" $reload_flag"
4201 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4202 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4203 if test "${lt_cv_path_NM+set}" = set; then
4204 echo $ECHO_N "(cached) $ECHO_C" >&6
4206 if test -n "$NM"; then
4207 # Let the user override the test.
4210 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4211 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4212 test -z "$ac_dir" && ac_dir=.
4213 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4214 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4215 # Check to see if the nm accepts a BSD-compat flag.
4216 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4217 # nm: unknown option "B" ignored
4218 # Tru64's nm complains that /dev/null is an invalid object file
4219 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4220 lt_cv_path_NM="$tmp_nm -B"
4222 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4223 lt_cv_path_NM="$tmp_nm -p"
4226 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4227 continue # so that we can try to find one that supports BSD flags
4232 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4237 echo "$as_me:$LINENO: result: $NM" >&5
4238 echo "${ECHO_T}$NM" >&6
4240 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4241 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4243 if test "$LN_S" = "ln -s"; then
4244 echo "$as_me:$LINENO: result: yes" >&5
4245 echo "${ECHO_T}yes" >&6
4247 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4248 echo "${ECHO_T}no, using $LN_S" >&6
4251 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4252 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4253 lt_cv_file_magic_cmd='$MAGIC_CMD'
4254 lt_cv_file_magic_test_file=
4255 lt_cv_deplibs_check_method='unknown'
4256 # Need to set the preceding variable on all platforms that support
4257 # interlibrary dependencies.
4258 # 'none' -- dependencies not supported.
4259 # `unknown' -- same as none, but documents that we really don't know.
4260 # 'pass_all' -- all dependencies passed with no checks.
4261 # 'test_compile' -- check by making test program.
4262 # 'file_magic [regex]' -- check by looking for files in library path
4263 # which responds to the $file_magic_cmd with a given egrep regex.
4264 # If you have `file' or equivalent on your system and you're not sure
4265 # whether `pass_all' will *always* work, you probably want this one.
4269 lt_cv_deplibs_check_method=pass_all
4273 lt_cv_deplibs_check_method=pass_all
4277 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4278 lt_cv_file_magic_cmd='/usr/bin/file -L'
4279 lt_cv_file_magic_test_file=/shlib/libc.so
4282 cygwin* | mingw* |pw32*)
4283 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4284 lt_cv_file_magic_cmd='$OBJDUMP -f'
4287 darwin* | rhapsody*)
4288 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4289 lt_cv_file_magic_cmd='/usr/bin/file -L'
4291 rhapsody* | darwin1.012)
4292 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4295 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4301 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4304 # Not sure whether the presence of OpenBSD here was a mistake.
4305 # Let's accept both of them until this is cleared up.
4306 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4307 lt_cv_file_magic_cmd=/usr/bin/file
4308 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4312 lt_cv_deplibs_check_method=pass_all
4317 lt_cv_deplibs_check_method=pass_all
4323 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4324 lt_cv_file_magic_cmd=/usr/bin/file
4325 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4328 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4329 lt_cv_file_magic_cmd=/usr/bin/file
4330 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4338 # this will be overridden with pass_all, but let us keep it just in case
4339 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4343 *-32|*"-32 ") libmagic=32-bit;;
4344 *-n32|*"-n32 ") libmagic=N32;;
4345 *-64|*"-64 ") libmagic=64-bit;;
4346 *) libmagic=never-match;;
4348 # this will be overridden with pass_all, but let us keep it just in case
4349 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4352 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4353 lt_cv_deplibs_check_method=pass_all
4356 # This must be Linux ELF.
4359 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | x86_64* | sh*)
4360 lt_cv_deplibs_check_method=pass_all ;;
4361 # NB 2003-06-03: According to Alexandre Oliva, x86_64 should not be
4362 # in this list. However, it works around a libtool problem that
4363 # wrongly excludes -ldl/-lpthread from the libmudflap(th) dependencies.
4365 # glibc up to 2.1.1 does not perform some relocations on ARM
4366 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4368 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4372 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4373 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4375 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4380 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4381 lt_cv_file_magic_cmd=/usr/bin/file
4382 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4385 osf3* | osf4* | osf5*)
4386 # this will be overridden with pass_all, but let us keep it just in case
4387 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4388 lt_cv_file_magic_test_file=/shlib/libc.so
4389 lt_cv_deplibs_check_method=pass_all
4393 lt_cv_deplibs_check_method=pass_all
4397 lt_cv_deplibs_check_method=pass_all
4398 lt_cv_file_magic_test_file=/lib/libc.so
4401 sysv5uw[78]* | sysv4*uw2*)
4402 lt_cv_deplibs_check_method=pass_all
4405 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4406 case $host_vendor in
4408 lt_cv_deplibs_check_method=pass_all
4411 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]'
4412 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4417 file_magic_cmd=$lt_cv_file_magic_cmd
4418 deplibs_check_method=$lt_cv_deplibs_check_method
4419 # NB: See above NB ... this is to make sure that the overriden
4420 # local libtool variant doesn't pollute the upstream cache
4421 unset lt_cv_file_magic_cmd
4422 unset lt_cv_deplibs_check_method
4423 echo "$as_me:$LINENO: result: $deplibs_check_method" >&5
4424 echo "${ECHO_T}$deplibs_check_method" >&6
4428 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4430 # Only perform the check for file, if the check method requires it
4431 case $deplibs_check_method in
4433 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4434 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4435 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4436 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4437 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4444 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4447 ac_save_MAGIC_CMD="$MAGIC_CMD"
4448 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4449 ac_dummy="/usr/bin:$PATH"
4450 for ac_dir in $ac_dummy; do
4451 test -z "$ac_dir" && ac_dir=.
4452 if test -f $ac_dir/${ac_tool_prefix}file; then
4453 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4454 if test -n "$file_magic_test_file"; then
4455 case $deplibs_check_method in
4457 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4458 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4459 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4460 egrep "$file_magic_regex" > /dev/null; then
4465 *** Warning: the command libtool uses to detect shared libraries,
4466 *** $file_magic_cmd, produces output that libtool cannot recognize.
4467 *** The result is that libtool may fail to recognize shared libraries
4468 *** as such. This will affect the creation of libtool libraries that
4469 *** depend on shared libraries, but programs linked with such libtool
4470 *** libraries will work regardless of this problem. Nevertheless, you
4471 *** may want to report the problem to your system manager and/or to
4472 *** bug-libtool@gnu.org
4482 MAGIC_CMD="$ac_save_MAGIC_CMD"
4487 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4488 if test -n "$MAGIC_CMD"; then
4489 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4490 echo "${ECHO_T}$MAGIC_CMD" >&6
4492 echo "$as_me:$LINENO: result: no" >&5
4493 echo "${ECHO_T}no" >&6
4496 if test -z "$lt_cv_path_MAGIC_CMD"; then
4497 if test -n "$ac_tool_prefix"; then
4498 echo "$as_me:$LINENO: checking for file" >&5
4499 echo $ECHO_N "checking for file... $ECHO_C" >&6
4500 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4505 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4508 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4511 ac_save_MAGIC_CMD="$MAGIC_CMD"
4512 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4513 ac_dummy="/usr/bin:$PATH"
4514 for ac_dir in $ac_dummy; do
4515 test -z "$ac_dir" && ac_dir=.
4516 if test -f $ac_dir/file; then
4517 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4518 if test -n "$file_magic_test_file"; then
4519 case $deplibs_check_method in
4521 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4522 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4523 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4524 egrep "$file_magic_regex" > /dev/null; then
4529 *** Warning: the command libtool uses to detect shared libraries,
4530 *** $file_magic_cmd, produces output that libtool cannot recognize.
4531 *** The result is that libtool may fail to recognize shared libraries
4532 *** as such. This will affect the creation of libtool libraries that
4533 *** depend on shared libraries, but programs linked with such libtool
4534 *** libraries will work regardless of this problem. Nevertheless, you
4535 *** may want to report the problem to your system manager and/or to
4536 *** bug-libtool@gnu.org
4546 MAGIC_CMD="$ac_save_MAGIC_CMD"
4551 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4552 if test -n "$MAGIC_CMD"; then
4553 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4554 echo "${ECHO_T}$MAGIC_CMD" >&6
4556 echo "$as_me:$LINENO: result: no" >&5
4557 echo "${ECHO_T}no" >&6
4569 if test -n "$ac_tool_prefix"; then
4570 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4571 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4572 echo "$as_me:$LINENO: checking for $ac_word" >&5
4573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4574 if test "${ac_cv_prog_RANLIB+set}" = set; then
4575 echo $ECHO_N "(cached) $ECHO_C" >&6
4577 if test -n "$RANLIB"; then
4578 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 test -z "$as_dir" && as_dir=.
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4587 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4596 RANLIB=$ac_cv_prog_RANLIB
4597 if test -n "$RANLIB"; then
4598 echo "$as_me:$LINENO: result: $RANLIB" >&5
4599 echo "${ECHO_T}$RANLIB" >&6
4601 echo "$as_me:$LINENO: result: no" >&5
4602 echo "${ECHO_T}no" >&6
4606 if test -z "$ac_cv_prog_RANLIB"; then
4607 ac_ct_RANLIB=$RANLIB
4608 # Extract the first word of "ranlib", so it can be a program name with args.
4609 set dummy ranlib; ac_word=$2
4610 echo "$as_me:$LINENO: checking for $ac_word" >&5
4611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4612 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4615 if test -n "$ac_ct_RANLIB"; then
4616 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4622 test -z "$as_dir" && as_dir=.
4623 for ac_exec_ext in '' $ac_executable_extensions; do
4624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4625 ac_cv_prog_ac_ct_RANLIB="ranlib"
4626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4635 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4636 if test -n "$ac_ct_RANLIB"; then
4637 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4638 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4640 echo "$as_me:$LINENO: result: no" >&5
4641 echo "${ECHO_T}no" >&6
4644 RANLIB=$ac_ct_RANLIB
4646 RANLIB="$ac_cv_prog_RANLIB"
4649 if test -n "$ac_tool_prefix"; then
4650 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4651 set dummy ${ac_tool_prefix}strip; ac_word=$2
4652 echo "$as_me:$LINENO: checking for $ac_word" >&5
4653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4654 if test "${ac_cv_prog_STRIP+set}" = set; then
4655 echo $ECHO_N "(cached) $ECHO_C" >&6
4657 if test -n "$STRIP"; then
4658 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4664 test -z "$as_dir" && as_dir=.
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4667 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 STRIP=$ac_cv_prog_STRIP
4677 if test -n "$STRIP"; then
4678 echo "$as_me:$LINENO: result: $STRIP" >&5
4679 echo "${ECHO_T}$STRIP" >&6
4681 echo "$as_me:$LINENO: result: no" >&5
4682 echo "${ECHO_T}no" >&6
4686 if test -z "$ac_cv_prog_STRIP"; then
4688 # Extract the first word of "strip", so it can be a program name with args.
4689 set dummy strip; ac_word=$2
4690 echo "$as_me:$LINENO: checking for $ac_word" >&5
4691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4692 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4695 if test -n "$ac_ct_STRIP"; then
4696 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4702 test -z "$as_dir" && as_dir=.
4703 for ac_exec_ext in '' $ac_executable_extensions; do
4704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4705 ac_cv_prog_ac_ct_STRIP="strip"
4706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4712 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4715 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4716 if test -n "$ac_ct_STRIP"; then
4717 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4718 echo "${ECHO_T}$ac_ct_STRIP" >&6
4720 echo "$as_me:$LINENO: result: no" >&5
4721 echo "${ECHO_T}no" >&6
4726 STRIP="$ac_cv_prog_STRIP"
4730 # Check for any special flags to pass to ltconfig.
4731 libtool_flags="--cache-file=$cache_file"
4732 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4733 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4734 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4735 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4736 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4739 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4740 if test "${enable_libtool_lock+set}" = set; then
4741 enableval="$enable_libtool_lock"
4744 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4745 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4748 # Check whether --with-pic or --without-pic was given.
4749 if test "${with_pic+set}" = set; then
4755 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4756 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4758 # Some flags need to be propagated to the compiler or linker for good
4762 # Find out which ABI we are using.
4763 echo '#line 4763 "configure"' > conftest.$ac_ext
4764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4765 (eval $ac_compile) 2>&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); }; then
4769 case `/usr/bin/file conftest.$ac_objext` in
4785 # Find out which ABI we are using.
4786 echo 'int i;' > conftest.$ac_ext
4787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4788 (eval $ac_compile) 2>&5
4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); }; then
4792 case "`/usr/bin/file conftest.o`" in
4804 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4805 # Find out which ABI we are using.
4806 echo 'int i;' > conftest.$ac_ext
4807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4808 (eval $ac_compile) 2>&5
4810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811 (exit $ac_status); }; then
4812 case "`/usr/bin/file conftest.o`" in
4816 LD="${LD-ld} -m elf_i386"
4819 LD="${LD-ld} -m elf32ppclinux"
4822 LD="${LD-ld} -m elf_s390"
4825 LD="${LD-ld} -m elf32_sparc"
4832 LD="${LD-ld} -m elf_x86_64"
4834 ppc*-*linux*|powerpc*-*linux*)
4835 LD="${LD-ld} -m elf64ppc"
4838 LD="${LD-ld} -m elf64_s390"
4841 LD="${LD-ld} -m elf64_sparc"
4851 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4852 SAVE_CFLAGS="$CFLAGS"
4853 CFLAGS="$CFLAGS -belf"
4854 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4855 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4856 if test "${lt_cv_cc_needs_belf+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4862 ac_cpp='$CPP $CPPFLAGS'
4863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4867 cat >conftest.$ac_ext <<_ACEOF
4868 #line $LINENO "configure"
4871 cat confdefs.h >>conftest.$ac_ext
4872 cat >>conftest.$ac_ext <<_ACEOF
4873 /* end confdefs.h. */
4883 rm -f conftest.$ac_objext conftest$ac_exeext
4884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4885 (eval $ac_link) 2>&5
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); } &&
4889 { ac_try='test -s conftest$ac_exeext'
4890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894 (exit $ac_status); }; }; then
4895 lt_cv_cc_needs_belf=yes
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4900 lt_cv_cc_needs_belf=no
4902 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4904 ac_cpp='$CPP $CPPFLAGS'
4905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4910 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4911 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4912 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4913 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4914 CFLAGS="$SAVE_CFLAGS"
4922 # Save cache, so that ltconfig can load it
4923 cat >confcache <<\_ACEOF
4924 # This file is a shell script that caches the results of configure
4925 # tests run on this system so they can be shared between configure
4926 # scripts and configure runs, see configure's option --config-cache.
4927 # It is not useful on other systems. If it contains results you don't
4928 # want to keep, you may remove or edit it.
4930 # config.status only pays attention to the cache file if you give it
4931 # the --recheck option to rerun configure.
4933 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4934 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4939 # The following way of writing the cache mishandles newlines in values,
4940 # but we know of no workaround that is simple, portable, and efficient.
4941 # So, don't put newlines in cache variables' values.
4942 # Ultrix sh set writes to stderr and can't be redirected directly,
4943 # and sets the high bit in the cache file unless we assign to the vars.
4946 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4948 # `set' does not quote correctly, so add quotes (double-quote
4949 # substitution turns \\\\ into \\, and sed turns \\ into \).
4952 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4955 # `set' quotes correctly as required by POSIX, so do not add quotes.
4957 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4964 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4966 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4968 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4969 if test -w $cache_file; then
4970 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4971 cat confcache >$cache_file
4973 echo "not updating unwritable cache $cache_file"
4978 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4979 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4980 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4981 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4982 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4983 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4984 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4985 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4986 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4987 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4988 echo "$as_me: error: libtool configure failed" >&2;}
4989 { (exit 1); exit 1; }; }
4991 # Reload cache, that may have been modified by ltconfig
4992 if test -r "$cache_file"; then
4993 # Some versions of bash will fail to source /dev/null (special
4994 # files actually), so we avoid doing that.
4995 if test -f "$cache_file"; then
4996 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4997 echo "$as_me: loading cache $cache_file" >&6;}
4999 [\\/]* | ?:[\\/]* ) . $cache_file;;
5000 *) . ./$cache_file;;
5004 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5005 echo "$as_me: creating cache $cache_file" >&6;}
5010 # This can be used to rebuild libtool when needed
5011 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5013 # Always use our own libtool.
5014 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5016 # Redirect the config.log output again, so that the ltconfig log is not
5017 # clobbered by the next message.
5018 exec 5>>./config.log
5028 if test "${ac_cv_header_stdint_h+set}" = set; then
5029 echo "$as_me:$LINENO: checking for stdint.h" >&5
5030 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
5031 if test "${ac_cv_header_stdint_h+set}" = set; then
5032 echo $ECHO_N "(cached) $ECHO_C" >&6
5034 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
5035 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
5037 # Is the header compilable?
5038 echo "$as_me:$LINENO: checking stdint.h usability" >&5
5039 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6
5040 cat >conftest.$ac_ext <<_ACEOF
5041 #line $LINENO "configure"
5044 cat confdefs.h >>conftest.$ac_ext
5045 cat >>conftest.$ac_ext <<_ACEOF
5046 /* end confdefs.h. */
5047 $ac_includes_default
5050 rm -f conftest.$ac_objext
5051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5052 (eval $ac_compile) 2>&5
5054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5055 (exit $ac_status); } &&
5056 { ac_try='test -s conftest.$ac_objext'
5057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); }; }; then
5062 ac_header_compiler=yes
5064 echo "$as_me: failed program was:" >&5
5065 sed 's/^/| /' conftest.$ac_ext >&5
5067 ac_header_compiler=no
5069 rm -f conftest.$ac_objext conftest.$ac_ext
5070 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5071 echo "${ECHO_T}$ac_header_compiler" >&6
5073 # Is the header present?
5074 echo "$as_me:$LINENO: checking stdint.h presence" >&5
5075 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6
5076 cat >conftest.$ac_ext <<_ACEOF
5077 #line $LINENO "configure"
5080 cat confdefs.h >>conftest.$ac_ext
5081 cat >>conftest.$ac_ext <<_ACEOF
5082 /* end confdefs.h. */
5085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5086 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5088 grep -v '^ *+' conftest.er1 >conftest.err
5090 cat conftest.err >&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); } >/dev/null; then
5093 if test -s conftest.err; then
5094 ac_cpp_err=$ac_c_preproc_warn_flag
5101 if test -z "$ac_cpp_err"; then
5102 ac_header_preproc=yes
5104 echo "$as_me: failed program was:" >&5
5105 sed 's/^/| /' conftest.$ac_ext >&5
5107 ac_header_preproc=no
5109 rm -f conftest.err conftest.$ac_ext
5110 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5111 echo "${ECHO_T}$ac_header_preproc" >&6
5113 # So? What about this header?
5114 case $ac_header_compiler:$ac_header_preproc in
5116 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
5117 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5118 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
5119 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
5122 ## ------------------------------------ ##
5123 ## Report this to bug-autoconf@gnu.org. ##
5124 ## ------------------------------------ ##
5127 sed "s/^/$as_me: WARNING: /" >&2
5130 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
5131 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
5132 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5
5133 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;}
5134 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
5135 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
5138 ## ------------------------------------ ##
5139 ## Report this to bug-autoconf@gnu.org. ##
5140 ## ------------------------------------ ##
5143 sed "s/^/$as_me: WARNING: /" >&2
5146 echo "$as_me:$LINENO: checking for stdint.h" >&5
5147 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
5148 if test "${ac_cv_header_stdint_h+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 ac_cv_header_stdint_h=$ac_header_preproc
5153 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
5154 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
5157 if test $ac_cv_header_stdint_h = yes; then
5165 if test $MF_HAVE_STDINT_H = 1
5169 cat >conftest.$ac_ext <<_ACEOF
5170 #line $LINENO "configure"
5173 cat confdefs.h >>conftest.$ac_ext
5174 cat >>conftest.$ac_ext <<_ACEOF
5175 /* end confdefs.h. */
5176 #include <sys/types.h>
5185 rm -f conftest.$ac_objext
5186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5187 (eval $ac_compile) 2>&5
5189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190 (exit $ac_status); } &&
5191 { ac_try='test -s conftest.$ac_objext'
5192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196 (exit $ac_status); }; }; then
5199 echo "$as_me: failed program was:" >&5
5200 sed 's/^/| /' conftest.$ac_ext >&5
5204 rm -f conftest.$ac_objext conftest.$ac_ext
5210 # libmudflapth objects are built in this subdirectory
5214 pthread_create_version='""'
5215 if test "${ac_cv_header_pthread_h+set}" = set; then
5216 echo "$as_me:$LINENO: checking for pthread.h" >&5
5217 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
5218 if test "${ac_cv_header_pthread_h+set}" = set; then
5219 echo $ECHO_N "(cached) $ECHO_C" >&6
5221 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
5222 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
5224 # Is the header compilable?
5225 echo "$as_me:$LINENO: checking pthread.h usability" >&5
5226 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6
5227 cat >conftest.$ac_ext <<_ACEOF
5228 #line $LINENO "configure"
5231 cat confdefs.h >>conftest.$ac_ext
5232 cat >>conftest.$ac_ext <<_ACEOF
5233 /* end confdefs.h. */
5234 $ac_includes_default
5235 #include <pthread.h>
5237 rm -f conftest.$ac_objext
5238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5239 (eval $ac_compile) 2>&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); } &&
5243 { ac_try='test -s conftest.$ac_objext'
5244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5248 (exit $ac_status); }; }; then
5249 ac_header_compiler=yes
5251 echo "$as_me: failed program was:" >&5
5252 sed 's/^/| /' conftest.$ac_ext >&5
5254 ac_header_compiler=no
5256 rm -f conftest.$ac_objext conftest.$ac_ext
5257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5258 echo "${ECHO_T}$ac_header_compiler" >&6
5260 # Is the header present?
5261 echo "$as_me:$LINENO: checking pthread.h presence" >&5
5262 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6
5263 cat >conftest.$ac_ext <<_ACEOF
5264 #line $LINENO "configure"
5267 cat confdefs.h >>conftest.$ac_ext
5268 cat >>conftest.$ac_ext <<_ACEOF
5269 /* end confdefs.h. */
5270 #include <pthread.h>
5272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5275 grep -v '^ *+' conftest.er1 >conftest.err
5277 cat conftest.err >&5
5278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279 (exit $ac_status); } >/dev/null; then
5280 if test -s conftest.err; then
5281 ac_cpp_err=$ac_c_preproc_warn_flag
5288 if test -z "$ac_cpp_err"; then
5289 ac_header_preproc=yes
5291 echo "$as_me: failed program was:" >&5
5292 sed 's/^/| /' conftest.$ac_ext >&5
5294 ac_header_preproc=no
5296 rm -f conftest.err conftest.$ac_ext
5297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5298 echo "${ECHO_T}$ac_header_preproc" >&6
5300 # So? What about this header?
5301 case $ac_header_compiler:$ac_header_preproc in
5303 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
5304 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5305 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
5306 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
5309 ## ------------------------------------ ##
5310 ## Report this to bug-autoconf@gnu.org. ##
5311 ## ------------------------------------ ##
5314 sed "s/^/$as_me: WARNING: /" >&2
5317 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
5318 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
5319 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
5320 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
5321 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
5322 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
5325 ## ------------------------------------ ##
5326 ## Report this to bug-autoconf@gnu.org. ##
5327 ## ------------------------------------ ##
5330 sed "s/^/$as_me: WARNING: /" >&2
5333 echo "$as_me:$LINENO: checking for pthread.h" >&5
5334 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
5335 if test "${ac_cv_header_pthread_h+set}" = set; then
5336 echo $ECHO_N "(cached) $ECHO_C" >&6
5338 ac_cv_header_pthread_h=$ac_header_preproc
5340 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
5341 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
5344 if test $ac_cv_header_pthread_h = yes; then
5347 cat >>confdefs.h <<_ACEOF
5348 #define HAVE_PTHREAD_H 1
5351 ac_have_pthread_h=yes
5362 if test "x$ac_have_pthread_h" != "x"; then
5364 LIBMUDFLAPTH_FALSE='#'
5366 LIBMUDFLAPTH_TRUE='#'
5370 if test "x$ac_have_pthread_h" != "x"
5372 build_libmudflapth=1
5374 build_libmudflapth=0
5379 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
5380 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
5381 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
5382 echo $ECHO_N "(cached) $ECHO_C" >&6
5384 ac_check_lib_save_LIBS=$LIBS
5386 cat >conftest.$ac_ext <<_ACEOF
5387 #line $LINENO "configure"
5390 cat confdefs.h >>conftest.$ac_ext
5391 cat >>conftest.$ac_ext <<_ACEOF
5392 /* end confdefs.h. */
5394 /* Override any gcc2 internal prototype to avoid an error. */
5398 /* We use char because int might match the return type of a gcc2
5399 builtin and then its argument prototype would still apply. */
5409 rm -f conftest.$ac_objext conftest$ac_exeext
5410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5411 (eval $ac_link) 2>&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); } &&
5415 { ac_try='test -s conftest$ac_exeext'
5416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420 (exit $ac_status); }; }; then
5421 ac_cv_lib_dl_dlsym=yes
5423 echo "$as_me: failed program was:" >&5
5424 sed 's/^/| /' conftest.$ac_ext >&5
5426 ac_cv_lib_dl_dlsym=no
5428 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5429 LIBS=$ac_check_lib_save_LIBS
5431 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
5432 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
5433 if test $ac_cv_lib_dl_dlsym = yes; then
5434 cat >>confdefs.h <<_ACEOF
5435 #define HAVE_LIBDL 1
5443 # Process the option "--enable-version-specific-runtime-libs"
5444 gcc_version_trigger=${srcdir}/../gcc/version.c
5445 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
5446 gcc_version=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`
5449 # Calculate toolexeclibdir
5450 # Also toolexecdir, though it's only used in toolexeclibdir
5451 case ${version_specific_libs} in
5453 # Need the gcc compiler version to know where to install libraries
5454 # and header files if --enable-version-specific-runtime-libs option
5456 toolexecdir='$(libdir)/gcc/$(target_alias)'
5457 toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
5460 if test -n "$with_cross_host" &&
5461 test x"$with_cross_host" != x"no"; then
5462 # Install a library built with a cross compiler in tooldir, not libdir.
5463 toolexecdir='$(exec_prefix)/$(target_alias)'
5464 toolexeclibdir='$(toolexecdir)/lib'
5466 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5467 toolexeclibdir='$(libdir)'
5469 multi_os_directory=`$CC -print-multi-os-directory`
5470 case $multi_os_directory in
5471 .) ;; # Avoid trailing /.
5472 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5479 if test "x$enable_shared" = "xyes" && test "x$ac_have_pthread_h" != "x"; then
5480 # NB: don't check for -lpthread here, because then it would be
5481 # added to LIBS. For the thread-unaware libmudflap.la, we don't
5484 # glibc-related hacks. dlsym() may pick the wrong version of
5485 # interposed functions like pthread_create on modern glibc.
5486 # We need to find the proper symbol version string, and use
5487 # the nonstandard dlvsym().
5489 for ac_func in dlvsym
5491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5492 echo "$as_me:$LINENO: checking for $ac_func" >&5
5493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5494 if eval "test \"\${$as_ac_var+set}\" = set"; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 cat >conftest.$ac_ext <<_ACEOF
5498 #line $LINENO "configure"
5501 cat confdefs.h >>conftest.$ac_ext
5502 cat >>conftest.$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5504 /* System header to define __stub macros and hopefully few prototypes,
5505 which can conflict with char $ac_func (); below.
5506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5507 <limits.h> exists even on freestanding compilers. */
5509 # include <limits.h>
5511 # include <assert.h>
5513 /* Override any gcc2 internal prototype to avoid an error. */
5518 /* We use char because int might match the return type of a gcc2
5519 builtin and then its argument prototype would still apply. */
5521 /* The GNU C library defines this for functions which it implements
5522 to always fail with ENOSYS. Some functions are actually named
5523 something starting with __ and the normal name is an alias. */
5524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5527 char (*f) () = $ac_func;
5536 return f != $ac_func;
5541 rm -f conftest.$ac_objext conftest$ac_exeext
5542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5543 (eval $ac_link) 2>&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); } &&
5547 { ac_try='test -s conftest$ac_exeext'
5548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); }; }; then
5553 eval "$as_ac_var=yes"
5555 echo "$as_me: failed program was:" >&5
5556 sed 's/^/| /' conftest.$ac_ext >&5
5558 eval "$as_ac_var=no"
5560 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5564 if test `eval echo '${'$as_ac_var'}'` = yes; then
5565 cat >>confdefs.h <<_ACEOF
5566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5572 if test -n "$ac_tool_prefix"; then
5573 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
5574 set dummy ${ac_tool_prefix}nm; ac_word=$2
5575 echo "$as_me:$LINENO: checking for $ac_word" >&5
5576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5577 if test "${ac_cv_prog_NM+set}" = set; then
5578 echo $ECHO_N "(cached) $ECHO_C" >&6
5580 if test -n "$NM"; then
5581 ac_cv_prog_NM="$NM" # Let the user override the test.
5583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5587 test -z "$as_dir" && as_dir=.
5588 for ac_exec_ext in '' $ac_executable_extensions; do
5589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5590 ac_cv_prog_NM="${ac_tool_prefix}nm"
5591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5600 if test -n "$NM"; then
5601 echo "$as_me:$LINENO: result: $NM" >&5
5602 echo "${ECHO_T}$NM" >&6
5604 echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6
5609 if test -z "$ac_cv_prog_NM"; then
5611 # Extract the first word of "nm", so it can be a program name with args.
5612 set dummy nm; ac_word=$2
5613 echo "$as_me:$LINENO: checking for $ac_word" >&5
5614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5615 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
5616 echo $ECHO_N "(cached) $ECHO_C" >&6
5618 if test -n "$ac_ct_NM"; then
5619 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
5621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625 test -z "$as_dir" && as_dir=.
5626 for ac_exec_ext in '' $ac_executable_extensions; do
5627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5628 ac_cv_prog_ac_ct_NM="nm"
5629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5637 ac_ct_NM=$ac_cv_prog_ac_ct_NM
5638 if test -n "$ac_ct_NM"; then
5639 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
5640 echo "${ECHO_T}$ac_ct_NM" >&6
5642 echo "$as_me:$LINENO: result: no" >&5
5643 echo "${ECHO_T}no" >&6
5651 if test "x$ac_cv_have_dlvsym" != "x"; then
5652 # Try compiling a simple pthreads program. Find the shared libraries it
5653 # ends up with. Then use "nm" on those libraries to extract the
5654 # default symbol versioning suffix ("@@"), if any. But that's tricky.
5655 # Rather, run nm on the resulting executable. Unfortunately, autoconf
5656 # doesn't appear to have a macro that builds a test executable for
5657 # subsequent analysis ... so we do it by hand here.
5658 cat >> conftest.c << EOF
5659 #include <pthread.h>
5660 int main () { void *p = (void *) & pthread_create; return (int) p; }
5663 LIBS="$LIBS -lpthread"
5664 pthread_create_version="\"\""
5665 echo "$as_me:$LINENO: checking pthread_create symbol version" >&5
5666 echo $ECHO_N "checking pthread_create symbol version... $ECHO_C" >&6
5667 if eval $ac_link 2>&5 && test -s conftest${ac_exeext}; then
5668 version=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
5669 if test "x$version" != "x"; then
5670 pthread_create_version="\"$version\""
5673 echo "$as_me:$LINENO: result: $pthread_create_version" >&5
5674 echo "${ECHO_T}$pthread_create_version" >&6
5679 cat >>confdefs.h <<_ACEOF
5680 #define PTHREAD_CREATE_VERSION $pthread_create_version
5685 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5686 # similarly to how libstdc++ does it
5687 ac_test_CFLAGS="${CFLAGS+set}"
5688 ac_save_CFLAGS="$CFLAGS"
5690 # Check for -ffunction-sections -fdata-sections
5691 echo "$as_me:$LINENO: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5692 echo $ECHO_N "checking for gcc that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
5693 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5694 cat >conftest.$ac_ext <<_ACEOF
5695 #line $LINENO "configure"
5698 cat confdefs.h >>conftest.$ac_ext
5699 cat >>conftest.$ac_ext <<_ACEOF
5700 /* end confdefs.h. */
5710 rm -f conftest.$ac_objext
5711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5712 (eval $ac_compile) 2>&5
5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715 (exit $ac_status); } &&
5716 { ac_try='test -s conftest.$ac_objext'
5717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5721 (exit $ac_status); }; }; then
5724 echo "$as_me: failed program was:" >&5
5725 sed 's/^/| /' conftest.$ac_ext >&5
5729 rm -f conftest.$ac_objext conftest.$ac_ext
5730 if test "$ac_test_CFLAGS" = set; then
5731 CFLAGS="$ac_save_CFLAGS"
5733 # this is the suspicious part
5736 if test x"$ac_fdsections" = x"yes"; then
5737 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5739 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
5740 echo "${ECHO_T}$ac_fdsections" >&6
5744 if test ${multilib} = yes; then
5745 multilib_arg="--enable-multilib"
5750 ac_config_files="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp mf-runtime.h"
5751 cat >confcache <<\_ACEOF
5752 # This file is a shell script that caches the results of configure
5753 # tests run on this system so they can be shared between configure
5754 # scripts and configure runs, see configure's option --config-cache.
5755 # It is not useful on other systems. If it contains results you don't
5756 # want to keep, you may remove or edit it.
5758 # config.status only pays attention to the cache file if you give it
5759 # the --recheck option to rerun configure.
5761 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5762 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5767 # The following way of writing the cache mishandles newlines in values,
5768 # but we know of no workaround that is simple, portable, and efficient.
5769 # So, don't put newlines in cache variables' values.
5770 # Ultrix sh set writes to stderr and can't be redirected directly,
5771 # and sets the high bit in the cache file unless we assign to the vars.
5774 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5776 # `set' does not quote correctly, so add quotes (double-quote
5777 # substitution turns \\\\ into \\, and sed turns \\ into \).
5780 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5783 # `set' quotes correctly as required by POSIX, so do not add quotes.
5785 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5792 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5794 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5796 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5797 if test -w $cache_file; then
5798 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5799 cat confcache >$cache_file
5801 echo "not updating unwritable cache $cache_file"
5806 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5807 # Let make expand exec_prefix.
5808 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5810 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5811 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5812 # trailing colons and then remove the whole line if VPATH becomes empty
5813 # (actually we leave an empty line to preserve line numbers).
5814 if test "x$srcdir" = x.; then
5815 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5816 s/:*\$(srcdir):*/:/;
5817 s/:*\${srcdir}:*/:/;
5819 s/^\([^=]*=[ ]*\):*/\1/;
5825 DEFS=-DHAVE_CONFIG_H
5829 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5830 # 1. Remove the extension, and $U if already installed.
5831 ac_i=`echo "$ac_i" |
5832 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5834 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5835 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5839 LTLIBOBJS=$ac_ltlibobjs
5842 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5843 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5844 Usually this means the macro was only invoked conditionally." >&5
5845 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5846 Usually this means the macro was only invoked conditionally." >&2;}
5847 { (exit 1); exit 1; }; }
5849 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5850 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5851 Usually this means the macro was only invoked conditionally." >&5
5852 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5853 Usually this means the macro was only invoked conditionally." >&2;}
5854 { (exit 1); exit 1; }; }
5856 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5857 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5858 Usually this means the macro was only invoked conditionally." >&5
5859 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5860 Usually this means the macro was only invoked conditionally." >&2;}
5861 { (exit 1); exit 1; }; }
5863 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
5864 { { echo "$as_me:$LINENO: error: conditional \"LIBMUDFLAPTH\" was never defined.
5865 Usually this means the macro was only invoked conditionally." >&5
5866 echo "$as_me: error: conditional \"LIBMUDFLAPTH\" was never defined.
5867 Usually this means the macro was only invoked conditionally." >&2;}
5868 { (exit 1); exit 1; }; }
5871 : ${CONFIG_STATUS=./config.status}
5872 ac_clean_files_save=$ac_clean_files
5873 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5874 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5875 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5876 cat >$CONFIG_STATUS <<_ACEOF
5878 # Generated by $as_me.
5879 # Run this file to recreate the current configuration.
5880 # Compiler output produced by configure, useful for debugging
5881 # configure, is in config.log if it exists.
5886 SHELL=\${CONFIG_SHELL-$SHELL}
5889 cat >>$CONFIG_STATUS <<\_ACEOF
5890 ## --------------------- ##
5891 ## M4sh Initialization. ##
5892 ## --------------------- ##
5894 # Be Bourne compatible
5895 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5898 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5899 # is contrary to our usage. Disable this feature.
5900 alias -g '${1+"$@"}'='"$@"'
5901 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5905 # Support unset when possible.
5906 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5913 # Work around bugs in pre-3.0 UWIN ksh.
5914 $as_unset ENV MAIL MAILPATH
5921 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5922 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5923 LC_TELEPHONE LC_TIME
5925 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
5926 eval $as_var=C; export $as_var
5932 # Required to use basename.
5933 if expr a : '\(a\)' >/dev/null 2>&1; then
5939 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5940 as_basename=basename
5946 # Name of the executable.
5947 as_me=`$as_basename "$0" ||
5948 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5949 X"$0" : 'X\(//\)$' \| \
5950 X"$0" : 'X\(/\)$' \| \
5951 . : '\(.\)' 2>/dev/null ||
5953 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5954 /^X\/\(\/\/\)$/{ s//\1/; q; }
5955 /^X\/\(\/\).*/{ s//\1/; q; }
5959 # PATH needs CR, and LINENO needs CR and PATH.
5960 # Avoid depending upon Character Ranges.
5961 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5962 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5963 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5964 as_cr_digits='0123456789'
5965 as_cr_alnum=$as_cr_Letters$as_cr_digits
5967 # The user is always right.
5968 if test "${PATH_SEPARATOR+set}" != set; then
5969 echo "#! /bin/sh" >conf$$.sh
5970 echo "exit 0" >>conf$$.sh
5972 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5983 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5984 test "x$as_lineno_1" != "x$as_lineno_2" &&
5985 test "x$as_lineno_3" = "x$as_lineno_2" || {
5986 # Find who we are. Look in the path if we contain no path at all
5989 *[\\/]* ) as_myself=$0 ;;
5990 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5994 test -z "$as_dir" && as_dir=.
5995 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6000 # We did not find ourselves, most probably we were run as `sh COMMAND'
6001 # in which case we are not to be found in the path.
6002 if test "x$as_myself" = x; then
6005 if test ! -f "$as_myself"; then
6006 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6007 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6008 { (exit 1); exit 1; }; }
6010 case $CONFIG_SHELL in
6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6016 test -z "$as_dir" && as_dir=.
6017 for as_base in sh bash ksh sh5; do
6020 if ("$as_dir/$as_base" -c '
6023 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6024 test "x$as_lineno_1" != "x$as_lineno_2" &&
6025 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6026 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6027 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6028 CONFIG_SHELL=$as_dir/$as_base
6030 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6038 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6039 # uniformly replaced by the line number. The first 'sed' inserts a
6040 # line-number line before each line; the second 'sed' does the real
6041 # work. The second script uses 'N' to pair each line-number line
6042 # with the numbered line, and appends trailing '-' during
6043 # substitution so that $LINENO is not a special case at line end.
6044 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6045 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6046 sed '=' <$as_myself |
6051 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6054 s,^['$as_cr_digits']*\n,,
6056 chmod +x $as_me.lineno ||
6057 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6058 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6059 { (exit 1); exit 1; }; }
6061 # Don't try to exec as it changes $[0], causing all sort of problems
6062 # (the dirname of $[0] is not the place where we might find the
6063 # original and so on. Autoconf is especially sensible to this).
6065 # Exit status is that of the last command.
6070 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6071 *c*,-n*) ECHO_N= ECHO_C='
6073 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6074 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6077 if expr a : '\(a\)' >/dev/null 2>&1; then
6083 rm -f conf$$ conf$$.exe conf$$.file
6085 if ln -s conf$$.file conf$$ 2>/dev/null; then
6086 # We could just check for DJGPP; but this test a) works b) is more generic
6087 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6088 if test -f conf$$.exe; then
6089 # Don't use ln at all; we don't have any links
6094 elif ln conf$$.file conf$$ 2>/dev/null; then
6099 rm -f conf$$ conf$$.exe conf$$.file
6101 if mkdir -p . 2>/dev/null; then
6107 as_executable_p="test -f"
6109 # Sed expression to map a string onto a valid CPP name.
6110 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6112 # Sed expression to map a string onto a valid variable name.
6113 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6117 # We need space, tab and new line, in precisely that order.
6127 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6128 # report actual input values of CONFIG_FILES etc. instead of their
6129 # values after options handling. Logging --version etc. is OK.
6133 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6134 ## Running $as_me. ##
6139 This file was extended by $as_me, which was
6140 generated by GNU Autoconf 2.57. Invocation command line was
6142 CONFIG_FILES = $CONFIG_FILES
6143 CONFIG_HEADERS = $CONFIG_HEADERS
6144 CONFIG_LINKS = $CONFIG_LINKS
6145 CONFIG_COMMANDS = $CONFIG_COMMANDS
6149 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6153 # Files that config.status was made for.
6154 if test -n "$ac_config_files"; then
6155 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6158 if test -n "$ac_config_headers"; then
6159 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6162 if test -n "$ac_config_links"; then
6163 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6166 if test -n "$ac_config_commands"; then
6167 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6170 cat >>$CONFIG_STATUS <<\_ACEOF
6173 \`$as_me' instantiates files from templates according to the
6174 current configuration.
6176 Usage: $0 [OPTIONS] [FILE]...
6178 -h, --help print this help, then exit
6179 -V, --version print version number, then exit
6180 -q, --quiet do not print progress messages
6181 -d, --debug don't remove temporary files
6182 --recheck update $as_me by reconfiguring in the same conditions
6183 --file=FILE[:TEMPLATE]
6184 instantiate the configuration file FILE
6185 --header=FILE[:TEMPLATE]
6186 instantiate the configuration header FILE
6188 Configuration files:
6191 Configuration headers:
6194 Configuration commands:
6197 Report bugs to <bug-autoconf@gnu.org>."
6200 cat >>$CONFIG_STATUS <<_ACEOF
6203 configured by $0, generated by GNU Autoconf 2.57,
6204 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6206 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6207 Free Software Foundation, Inc.
6208 This config.status script is free software; the Free Software Foundation
6209 gives unlimited permission to copy, distribute and modify it."
6214 cat >>$CONFIG_STATUS <<\_ACEOF
6215 # If no file are specified by the user, then we need to provide default
6216 # value. By we need to know if files were specified by the user.
6222 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6223 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6231 *) # This is not an option, so the user has probably given explicit
6234 ac_need_defaults=false;;
6238 # Handling of the options.
6240 cat >>$CONFIG_STATUS <<\_ACEOF
6241 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6243 --version | --vers* | -V )
6244 echo "$ac_cs_version"; exit 0 ;;
6246 # Conflict between --help and --header
6247 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6248 Try \`$0 --help' for more information." >&5
6249 echo "$as_me: error: ambiguous option: $1
6250 Try \`$0 --help' for more information." >&2;}
6251 { (exit 1); exit 1; }; };;
6252 --help | --hel | -h )
6253 echo "$ac_cs_usage"; exit 0 ;;
6254 --debug | --d* | -d )
6256 --file | --fil | --fi | --f )
6258 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6259 ac_need_defaults=false;;
6260 --header | --heade | --head | --hea )
6262 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6263 ac_need_defaults=false;;
6264 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6265 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6269 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6270 Try \`$0 --help' for more information." >&5
6271 echo "$as_me: error: unrecognized option: $1
6272 Try \`$0 --help' for more information." >&2;}
6273 { (exit 1); exit 1; }; } ;;
6275 *) ac_config_targets="$ac_config_targets $1" ;;
6281 ac_configure_extra_args=
6283 if $ac_cs_silent; then
6285 ac_configure_extra_args="$ac_configure_extra_args --silent"
6289 cat >>$CONFIG_STATUS <<_ACEOF
6290 if \$ac_cs_recheck; then
6291 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6292 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6297 cat >>$CONFIG_STATUS <<_ACEOF
6299 # INIT-COMMANDS section.
6306 with_multisubdir="$with_multisubdir"
6307 with_multisrctop="$with_multisrctop"
6308 with_target_subdir="$with_target_subdir"
6309 ac_configure_args="${multilib_arg} ${ac_configure_args}"
6310 multi_basedir="$multi_basedir"
6311 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6313 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6319 cat >>$CONFIG_STATUS <<\_ACEOF
6320 for ac_config_target in $ac_config_targets
6322 case "$ac_config_target" in
6323 # Handling of arguments.
6324 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6325 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
6326 "testsuite/mfconfig.exp" ) CONFIG_FILES="$CONFIG_FILES testsuite/mfconfig.exp" ;;
6327 "mf-runtime.h" ) CONFIG_FILES="$CONFIG_FILES mf-runtime.h" ;;
6328 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
6329 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6330 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6331 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6332 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6333 { (exit 1); exit 1; }; };;
6337 # If the user did not use the arguments to specify the items to instantiate,
6338 # then the envvar interface is used. Set only those that are not.
6339 # We use the long form for the default assignment because of an extremely
6340 # bizarre bug on SunOS 4.1.3.
6341 if $ac_need_defaults; then
6342 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6343 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6344 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6347 # Have a temporary directory for convenience. Make it in the build tree
6348 # simply because there is no reason to put it here, and in addition,
6349 # creating and moving files from /tmp can sometimes cause problems.
6350 # Create a temporary directory, and hook for its removal unless debugging.
6353 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6354 trap '{ (exit 1); exit 1; }' 1 2 13 15
6357 # Create a (secure) tmp directory for tmp files.
6360 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6361 test -n "$tmp" && test -d "$tmp"
6364 tmp=./confstat$$-$RANDOM
6365 (umask 077 && mkdir $tmp)
6368 echo "$me: cannot create a temporary directory in ." >&2
6369 { (exit 1); exit 1; }
6374 cat >>$CONFIG_STATUS <<_ACEOF
6377 # CONFIG_FILES section.
6380 # No need to generate the scripts if there are no CONFIG_FILES.
6381 # This happens for instance when ./config.status config.h
6382 if test -n "\$CONFIG_FILES"; then
6383 # Protect against being on the right side of a sed subst in config.status.
6384 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6385 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6386 s,@SHELL@,$SHELL,;t t
6387 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6388 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6389 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6390 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6391 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6392 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6393 s,@exec_prefix@,$exec_prefix,;t t
6394 s,@prefix@,$prefix,;t t
6395 s,@program_transform_name@,$program_transform_name,;t t
6396 s,@bindir@,$bindir,;t t
6397 s,@sbindir@,$sbindir,;t t
6398 s,@libexecdir@,$libexecdir,;t t
6399 s,@datadir@,$datadir,;t t
6400 s,@sysconfdir@,$sysconfdir,;t t
6401 s,@sharedstatedir@,$sharedstatedir,;t t
6402 s,@localstatedir@,$localstatedir,;t t
6403 s,@libdir@,$libdir,;t t
6404 s,@includedir@,$includedir,;t t
6405 s,@oldincludedir@,$oldincludedir,;t t
6406 s,@infodir@,$infodir,;t t
6407 s,@mandir@,$mandir,;t t
6408 s,@build_alias@,$build_alias,;t t
6409 s,@host_alias@,$host_alias,;t t
6410 s,@target_alias@,$target_alias,;t t
6412 s,@ECHO_C@,$ECHO_C,;t t
6413 s,@ECHO_N@,$ECHO_N,;t t
6414 s,@ECHO_T@,$ECHO_T,;t t
6416 s,@build@,$build,;t t
6417 s,@build_cpu@,$build_cpu,;t t
6418 s,@build_vendor@,$build_vendor,;t t
6419 s,@build_os@,$build_os,;t t
6421 s,@host_cpu@,$host_cpu,;t t
6422 s,@host_vendor@,$host_vendor,;t t
6423 s,@host_os@,$host_os,;t t
6424 s,@target@,$target,;t t
6425 s,@target_cpu@,$target_cpu,;t t
6426 s,@target_vendor@,$target_vendor,;t t
6427 s,@target_os@,$target_os,;t t
6428 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6429 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6430 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6431 s,@CYGPATH_W@,$CYGPATH_W,;t t
6432 s,@PACKAGE@,$PACKAGE,;t t
6433 s,@VERSION@,$VERSION,;t t
6434 s,@ACLOCAL@,$ACLOCAL,;t t
6435 s,@AUTOCONF@,$AUTOCONF,;t t
6436 s,@AUTOMAKE@,$AUTOMAKE,;t t
6437 s,@AUTOHEADER@,$AUTOHEADER,;t t
6438 s,@MAKEINFO@,$MAKEINFO,;t t
6439 s,@AMTAR@,$AMTAR,;t t
6440 s,@install_sh@,$install_sh,;t t
6441 s,@STRIP@,$STRIP,;t t
6442 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6443 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6445 s,@SET_MAKE@,$SET_MAKE,;t t
6446 s,@am__leading_dot@,$am__leading_dot,;t t
6447 s,@libtool_VERSION@,$libtool_VERSION,;t t
6448 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6449 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6450 s,@MAINT@,$MAINT,;t t
6451 s,@multi_basedir@,$multi_basedir,;t t
6453 s,@ac_ct_CC@,$ac_ct_CC,;t t
6454 s,@EXEEXT@,$EXEEXT,;t t
6455 s,@OBJEXT@,$OBJEXT,;t t
6456 s,@DEPDIR@,$DEPDIR,;t t
6457 s,@am__include@,$am__include,;t t
6458 s,@am__quote@,$am__quote,;t t
6459 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6460 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6461 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6462 s,@CCDEPMODE@,$CCDEPMODE,;t t
6463 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6464 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6465 s,@CFLAGS@,$CFLAGS,;t t
6467 s,@CPPFLAGS@,$CPPFLAGS,;t t
6468 s,@EGREP@,$EGREP,;t t
6470 s,@RANLIB@,$RANLIB,;t t
6471 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6472 s,@LIBTOOL@,$LIBTOOL,;t t
6473 s,@enable_shared@,$enable_shared,;t t
6474 s,@enable_static@,$enable_static,;t t
6475 s,@MF_HAVE_STDINT_H@,$MF_HAVE_STDINT_H,;t t
6476 s,@MF_HAVE_UINTPTR_T@,$MF_HAVE_UINTPTR_T,;t t
6477 s,@LIBMUDFLAPTH_TRUE@,$LIBMUDFLAPTH_TRUE,;t t
6478 s,@LIBMUDFLAPTH_FALSE@,$LIBMUDFLAPTH_FALSE,;t t
6479 s,@build_libmudflapth@,$build_libmudflapth,;t t
6480 s,@gcc_version@,$gcc_version,;t t
6481 s,@toolexecdir@,$toolexecdir,;t t
6482 s,@toolexeclibdir@,$toolexeclibdir,;t t
6484 s,@ac_ct_NM@,$ac_ct_NM,;t t
6485 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
6486 s,@LIBOBJS@,$LIBOBJS,;t t
6487 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6492 cat >>$CONFIG_STATUS <<\_ACEOF
6493 # Split the substitutions into bite-sized pieces for seds with
6494 # small command number limits, like on Digital OSF/1 and HP-UX.
6496 ac_sed_frag=1 # Number of current file.
6497 ac_beg=1 # First line for current file.
6498 ac_end=$ac_max_sed_lines # Line after last line for current file.
6501 while $ac_more_lines; do
6502 if test $ac_beg -gt 1; then
6503 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6505 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6507 if test ! -s $tmp/subs.frag; then
6510 # The purpose of the label and of the branching condition is to
6511 # speed up the sed processing (if there are no `@' at all, there
6512 # is no need to browse any of the substitutions).
6513 # These are the two extra sed commands mentioned above.
6515 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6516 if test -z "$ac_sed_cmds"; then
6517 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6519 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6521 ac_sed_frag=`expr $ac_sed_frag + 1`
6523 ac_end=`expr $ac_end + $ac_max_sed_lines`
6526 if test -z "$ac_sed_cmds"; then
6529 fi # test -n "$CONFIG_FILES"
6532 cat >>$CONFIG_STATUS <<\_ACEOF
6533 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6534 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6536 - | *:- | *:-:* ) # input from stdin
6538 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6539 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6540 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6541 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6542 * ) ac_file_in=$ac_file.in ;;
6545 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6546 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6547 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6548 X"$ac_file" : 'X\(//\)[^/]' \| \
6549 X"$ac_file" : 'X\(//\)$' \| \
6550 X"$ac_file" : 'X\(/\)' \| \
6551 . : '\(.\)' 2>/dev/null ||
6553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6554 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6555 /^X\(\/\/\)$/{ s//\1/; q; }
6556 /^X\(\/\).*/{ s//\1/; q; }
6558 { if $as_mkdir_p; then
6563 while test ! -d "$as_dir"; do
6564 as_dirs="$as_dir $as_dirs"
6565 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6566 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6567 X"$as_dir" : 'X\(//\)[^/]' \| \
6568 X"$as_dir" : 'X\(//\)$' \| \
6569 X"$as_dir" : 'X\(/\)' \| \
6570 . : '\(.\)' 2>/dev/null ||
6572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6573 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6574 /^X\(\/\/\)$/{ s//\1/; q; }
6575 /^X\(\/\).*/{ s//\1/; q; }
6578 test ! -n "$as_dirs" || mkdir $as_dirs
6579 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6580 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6581 { (exit 1); exit 1; }; }; }
6585 if test "$ac_dir" != .; then
6586 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6587 # A "../" for each directory in $ac_dir_suffix.
6588 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6590 ac_dir_suffix= ac_top_builddir=
6594 .) # No --srcdir option. We are building in place.
6596 if test -z "$ac_top_builddir"; then
6599 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6601 [\\/]* | ?:[\\/]* ) # Absolute path.
6602 ac_srcdir=$srcdir$ac_dir_suffix;
6603 ac_top_srcdir=$srcdir ;;
6605 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6606 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6608 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6610 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6611 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6612 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6613 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6617 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6618 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6621 if test x"$ac_file" != x-; then
6622 { echo "$as_me:$LINENO: creating $ac_file" >&5
6623 echo "$as_me: creating $ac_file" >&6;}
6626 # Let's still pretend it is `configure' which instantiates (i.e., don't
6627 # use $as_me), people would be surprised to read:
6628 # /* config.h. Generated by config.status. */
6629 if test x"$ac_file" = x-; then
6632 configure_input="$ac_file. "
6634 configure_input=$configure_input"Generated from `echo $ac_file_in |
6635 sed 's,.*/,,'` by configure."
6637 # First look for the input files in the build tree, otherwise in the
6639 ac_file_inputs=`IFS=:
6640 for f in $ac_file_in; do
6642 -) echo $tmp/stdin ;;
6644 # Absolute (can't be DOS-style, as IFS=:)
6645 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6646 echo "$as_me: error: cannot find input file: $f" >&2;}
6647 { (exit 1); exit 1; }; }
6650 if test -f "$f"; then
6653 elif test -f "$srcdir/$f"; then
6658 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6659 echo "$as_me: error: cannot find input file: $f" >&2;}
6660 { (exit 1); exit 1; }; }
6663 done` || { (exit 1); exit 1; }
6665 cat >>$CONFIG_STATUS <<_ACEOF
6669 cat >>$CONFIG_STATUS <<\_ACEOF
6671 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6672 s,@configure_input@,$configure_input,;t t
6673 s,@srcdir@,$ac_srcdir,;t t
6674 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6675 s,@top_srcdir@,$ac_top_srcdir,;t t
6676 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6677 s,@builddir@,$ac_builddir,;t t
6678 s,@abs_builddir@,$ac_abs_builddir,;t t
6679 s,@top_builddir@,$ac_top_builddir,;t t
6680 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6681 s,@INSTALL@,$ac_INSTALL,;t t
6682 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6684 if test x"$ac_file" != x-; then
6685 mv $tmp/out $ac_file
6693 cat >>$CONFIG_STATUS <<\_ACEOF
6696 # CONFIG_HEADER section.
6699 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6700 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6702 # ac_d sets the value in "#define NAME VALUE" lines.
6703 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6704 ac_dB='[ ].*$,\1#\2'
6707 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6708 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6709 ac_uB='$,\1#\2define\3'
6713 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6714 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6716 - | *:- | *:-:* ) # input from stdin
6718 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6719 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6720 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6721 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6722 * ) ac_file_in=$ac_file.in ;;
6725 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6726 echo "$as_me: creating $ac_file" >&6;}
6728 # First look for the input files in the build tree, otherwise in the
6730 ac_file_inputs=`IFS=:
6731 for f in $ac_file_in; do
6733 -) echo $tmp/stdin ;;
6735 # Absolute (can't be DOS-style, as IFS=:)
6736 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6737 echo "$as_me: error: cannot find input file: $f" >&2;}
6738 { (exit 1); exit 1; }; }
6741 if test -f "$f"; then
6744 elif test -f "$srcdir/$f"; then
6749 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6750 echo "$as_me: error: cannot find input file: $f" >&2;}
6751 { (exit 1); exit 1; }; }
6754 done` || { (exit 1); exit 1; }
6755 # Remove the trailing spaces.
6756 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6760 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6761 # `conftest.undefs', that substitutes the proper values into
6762 # config.h.in to produce config.h. The first handles `#define'
6763 # templates, and the second `#undef' templates.
6764 # And first: Protect against being on the right side of a sed subst in
6765 # config.status. Protect against being in an unquoted here document
6767 rm -f conftest.defines conftest.undefs
6768 # Using a here document instead of a string reduces the quoting nightmare.
6769 # Putting comments in sed scripts is not portable.
6771 # `end' is used to avoid that the second main sed command (meant for
6772 # 0-ary CPP macros) applies to n-ary macro definitions.
6773 # See the Autoconf documentation for `clear'.
6774 cat >confdef2sed.sed <<\_ACEOF
6779 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6781 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6784 # If some macros were called several times there might be several times
6785 # the same #defines, which is useless. Nevertheless, we may not want to
6786 # sort them, since we want the *last* AC-DEFINE to be honored.
6787 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6788 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6789 rm -f confdef2sed.sed
6791 # This sed command replaces #undef with comments. This is necessary, for
6792 # example, in the case of _POSIX_SOURCE, which is predefined and required
6793 # on some systems where configure will not decide to define it.
6794 cat >>conftest.undefs <<\_ACEOF
6795 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6798 # Break up conftest.defines because some shells have a limit on the size
6799 # of here documents, and old seds have small limits too (100 cmds).
6800 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6801 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6802 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6803 echo ' :' >>$CONFIG_STATUS
6805 while grep . conftest.defines >/dev/null
6807 # Write a limited-size here document to $tmp/defines.sed.
6808 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6809 # Speed up: don't consider the non `#define' lines.
6810 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6811 # Work around the forget-to-reset-the-flag bug.
6812 echo 't clr' >>$CONFIG_STATUS
6813 echo ': clr' >>$CONFIG_STATUS
6814 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6816 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6820 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6821 rm -f conftest.defines
6822 mv conftest.tail conftest.defines
6824 rm -f conftest.defines
6825 echo ' fi # grep' >>$CONFIG_STATUS
6826 echo >>$CONFIG_STATUS
6828 # Break up conftest.undefs because some shells have a limit on the size
6829 # of here documents, and old seds have small limits too (100 cmds).
6830 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6832 while grep . conftest.undefs >/dev/null
6834 # Write a limited-size here document to $tmp/undefs.sed.
6835 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6836 # Speed up: don't consider the non `#undef'
6837 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6838 # Work around the forget-to-reset-the-flag bug.
6839 echo 't clr' >>$CONFIG_STATUS
6840 echo ': clr' >>$CONFIG_STATUS
6841 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6843 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6847 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6848 rm -f conftest.undefs
6849 mv conftest.tail conftest.undefs
6851 rm -f conftest.undefs
6853 cat >>$CONFIG_STATUS <<\_ACEOF
6854 # Let's still pretend it is `configure' which instantiates (i.e., don't
6855 # use $as_me), people would be surprised to read:
6856 # /* config.h. Generated by config.status. */
6857 if test x"$ac_file" = x-; then
6858 echo "/* Generated by configure. */" >$tmp/config.h
6860 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6862 cat $tmp/in >>$tmp/config.h
6864 if test x"$ac_file" != x-; then
6865 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6866 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6867 echo "$as_me: $ac_file is unchanged" >&6;}
6869 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6870 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6871 X"$ac_file" : 'X\(//\)[^/]' \| \
6872 X"$ac_file" : 'X\(//\)$' \| \
6873 X"$ac_file" : 'X\(/\)' \| \
6874 . : '\(.\)' 2>/dev/null ||
6876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6877 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6878 /^X\(\/\/\)$/{ s//\1/; q; }
6879 /^X\(\/\).*/{ s//\1/; q; }
6881 { if $as_mkdir_p; then
6886 while test ! -d "$as_dir"; do
6887 as_dirs="$as_dir $as_dirs"
6888 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6889 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6890 X"$as_dir" : 'X\(//\)[^/]' \| \
6891 X"$as_dir" : 'X\(//\)$' \| \
6892 X"$as_dir" : 'X\(/\)' \| \
6893 . : '\(.\)' 2>/dev/null ||
6895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6896 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6897 /^X\(\/\/\)$/{ s//\1/; q; }
6898 /^X\(\/\).*/{ s//\1/; q; }
6901 test ! -n "$as_dirs" || mkdir $as_dirs
6902 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6903 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6904 { (exit 1); exit 1; }; }; }
6907 mv $tmp/config.h $ac_file
6913 # Compute $ac_file's index in $config_headers.
6915 for _am_header in $config_headers :; do
6917 $ac_file | $ac_file:* )
6920 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6923 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6924 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6925 X$ac_file : 'X\(//\)[^/]' \| \
6926 X$ac_file : 'X\(//\)$' \| \
6927 X$ac_file : 'X\(/\)' \| \
6928 . : '\(.\)' 2>/dev/null ||
6930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6931 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6932 /^X\(\/\/\)$/{ s//\1/; q; }
6933 /^X\(\/\).*/{ s//\1/; q; }
6934 s/.*/./; q'`/stamp-h$_am_stamp_count
6937 cat >>$CONFIG_STATUS <<\_ACEOF
6940 # CONFIG_COMMANDS section.
6942 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6943 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6944 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6945 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6946 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6947 X"$ac_dest" : 'X\(//\)[^/]' \| \
6948 X"$ac_dest" : 'X\(//\)$' \| \
6949 X"$ac_dest" : 'X\(/\)' \| \
6950 . : '\(.\)' 2>/dev/null ||
6952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6953 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6954 /^X\(\/\/\)$/{ s//\1/; q; }
6955 /^X\(\/\).*/{ s//\1/; q; }
6959 if test "$ac_dir" != .; then
6960 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6961 # A "../" for each directory in $ac_dir_suffix.
6962 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6964 ac_dir_suffix= ac_top_builddir=
6968 .) # No --srcdir option. We are building in place.
6970 if test -z "$ac_top_builddir"; then
6973 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6975 [\\/]* | ?:[\\/]* ) # Absolute path.
6976 ac_srcdir=$srcdir$ac_dir_suffix;
6977 ac_top_srcdir=$srcdir ;;
6979 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6980 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6982 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6984 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6985 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6986 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6987 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6990 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6991 echo "$as_me: executing $ac_dest commands" >&6;}
6994 # Only add multilib support code if we just rebuilt the top-level
6996 case " $CONFIG_FILES " in
6998 ac_file=Makefile . ${multi_basedir}/config-ml.in
7001 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7002 # Strip MF so we end up with the name of the file.
7003 mf=`echo "$mf" | sed -e 's/:.*$//'`
7004 # Check whether this is an Automake generated Makefile or not.
7005 # We used to match only the files named `Makefile.in', but
7006 # some people rename them; so instead we look at the file content.
7007 # Grep'ing the first line is not enough: some people post-process
7008 # each Makefile.in and add a new line on top of each file to say so.
7009 # So let's grep whole file.
7010 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7011 dirpart=`(dirname "$mf") 2>/dev/null ||
7012 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7013 X"$mf" : 'X\(//\)[^/]' \| \
7014 X"$mf" : 'X\(//\)$' \| \
7015 X"$mf" : 'X\(/\)' \| \
7016 . : '\(.\)' 2>/dev/null ||
7018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7019 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7020 /^X\(\/\/\)$/{ s//\1/; q; }
7021 /^X\(\/\).*/{ s//\1/; q; }
7026 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7027 # Extract the definition of DEP_FILES from the Makefile without
7029 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
7030 test -z "$DEPDIR" && continue
7031 # When using ansi2knr, U may be empty or an underscore; expand it
7032 U=`sed -n -e '/^U = / s///p' < "$mf"`
7033 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7034 # We invoke sed twice because it is the simplest approach to
7035 # changing $(DEPDIR) to its actual value in the expansion.
7036 for file in `sed -n -e '
7037 /^DEP_FILES = .*\\\\$/ {
7046 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7047 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7048 # Make sure the directory exists.
7049 test -f "$dirpart/$file" && continue
7050 fdir=`(dirname "$file") 2>/dev/null ||
7051 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7052 X"$file" : 'X\(//\)[^/]' \| \
7053 X"$file" : 'X\(//\)$' \| \
7054 X"$file" : 'X\(/\)' \| \
7055 . : '\(.\)' 2>/dev/null ||
7057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7058 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7059 /^X\(\/\/\)$/{ s//\1/; q; }
7060 /^X\(\/\).*/{ s//\1/; q; }
7062 { if $as_mkdir_p; then
7063 mkdir -p $dirpart/$fdir
7065 as_dir=$dirpart/$fdir
7067 while test ! -d "$as_dir"; do
7068 as_dirs="$as_dir $as_dirs"
7069 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7071 X"$as_dir" : 'X\(//\)[^/]' \| \
7072 X"$as_dir" : 'X\(//\)$' \| \
7073 X"$as_dir" : 'X\(/\)' \| \
7074 . : '\(.\)' 2>/dev/null ||
7076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7077 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7078 /^X\(\/\/\)$/{ s//\1/; q; }
7079 /^X\(\/\).*/{ s//\1/; q; }
7082 test ! -n "$as_dirs" || mkdir $as_dirs
7083 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7084 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7085 { (exit 1); exit 1; }; }; }
7087 # echo "creating $dirpart/$file"
7088 echo '# dummy' > "$dirpart/$file"
7096 cat >>$CONFIG_STATUS <<\_ACEOF
7098 { (exit 0); exit 0; }
7100 chmod +x $CONFIG_STATUS
7101 ac_clean_files=$ac_clean_files_save
7104 # configure is writing to config.log, and then calls config.status.
7105 # config.status does its own redirection, appending to config.log.
7106 # Unfortunately, on DOS this fails, as config.log is still kept open
7107 # by configure, so config.status won't be able to write to it; its
7108 # output is simply discarded. So we exec the FD to /dev/null,
7109 # effectively closing config.log, so it can be properly (re)opened and
7110 # appended to by config.status. When coming back to configure, we
7111 # need to make the FD available again.
7112 if test "$no_create" != yes; then
7114 ac_config_status_args=
7115 test "$silent" = yes &&
7116 ac_config_status_args="$ac_config_status_args --quiet"
7118 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7120 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7121 # would make configure fail if this is the last instruction.
7122 $ac_cs_success || { (exit 1); exit 1; }