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
3431 for ac_header in stdint.h execinfo.h signal.h dlfcn.h \
3432 netdb.h sys/ipc.h sys/sem.h sys/shm.h sys/wait.h sys/socket.h
3434 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3436 echo "$as_me:$LINENO: checking for $ac_header" >&5
3437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3439 echo $ECHO_N "(cached) $ECHO_C" >&6
3441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3444 # Is the header compilable?
3445 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3446 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3447 cat >conftest.$ac_ext <<_ACEOF
3448 #line $LINENO "configure"
3451 cat confdefs.h >>conftest.$ac_ext
3452 cat >>conftest.$ac_ext <<_ACEOF
3453 /* end confdefs.h. */
3454 $ac_includes_default
3455 #include <$ac_header>
3457 rm -f conftest.$ac_objext
3458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3459 (eval $ac_compile) 2>&5
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); } &&
3463 { ac_try='test -s conftest.$ac_objext'
3464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 (exit $ac_status); }; }; then
3469 ac_header_compiler=yes
3471 echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.$ac_ext >&5
3474 ac_header_compiler=no
3476 rm -f conftest.$ac_objext conftest.$ac_ext
3477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3478 echo "${ECHO_T}$ac_header_compiler" >&6
3480 # Is the header present?
3481 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3482 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3483 cat >conftest.$ac_ext <<_ACEOF
3484 #line $LINENO "configure"
3487 cat confdefs.h >>conftest.$ac_ext
3488 cat >>conftest.$ac_ext <<_ACEOF
3489 /* end confdefs.h. */
3490 #include <$ac_header>
3492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3493 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3495 grep -v '^ *+' conftest.er1 >conftest.err
3497 cat conftest.err >&5
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); } >/dev/null; then
3500 if test -s conftest.err; then
3501 ac_cpp_err=$ac_c_preproc_warn_flag
3508 if test -z "$ac_cpp_err"; then
3509 ac_header_preproc=yes
3511 echo "$as_me: failed program was:" >&5
3512 sed 's/^/| /' conftest.$ac_ext >&5
3514 ac_header_preproc=no
3516 rm -f conftest.err conftest.$ac_ext
3517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3518 echo "${ECHO_T}$ac_header_preproc" >&6
3520 # So? What about this header?
3521 case $ac_header_compiler:$ac_header_preproc in
3523 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3526 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3529 ## ------------------------------------ ##
3530 ## Report this to bug-autoconf@gnu.org. ##
3531 ## ------------------------------------ ##
3534 sed "s/^/$as_me: WARNING: /" >&2
3537 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3538 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3539 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3540 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3545 ## ------------------------------------ ##
3546 ## Report this to bug-autoconf@gnu.org. ##
3547 ## ------------------------------------ ##
3550 sed "s/^/$as_me: WARNING: /" >&2
3553 echo "$as_me:$LINENO: checking for $ac_header" >&5
3554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3556 echo $ECHO_N "(cached) $ECHO_C" >&6
3558 eval "$as_ac_Header=$ac_header_preproc"
3560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3565 cat >>confdefs.h <<_ACEOF
3566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3577 for ac_func in backtrace backtrace_symbols gettimeofday signal
3579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3580 echo "$as_me:$LINENO: checking for $ac_func" >&5
3581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3582 if eval "test \"\${$as_ac_var+set}\" = set"; then
3583 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 cat >conftest.$ac_ext <<_ACEOF
3586 #line $LINENO "configure"
3589 cat confdefs.h >>conftest.$ac_ext
3590 cat >>conftest.$ac_ext <<_ACEOF
3591 /* end confdefs.h. */
3592 /* System header to define __stub macros and hopefully few prototypes,
3593 which can conflict with char $ac_func (); below.
3594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3595 <limits.h> exists even on freestanding compilers. */
3597 # include <limits.h>
3599 # include <assert.h>
3601 /* Override any gcc2 internal prototype to avoid an error. */
3606 /* We use char because int might match the return type of a gcc2
3607 builtin and then its argument prototype would still apply. */
3609 /* The GNU C library defines this for functions which it implements
3610 to always fail with ENOSYS. Some functions are actually named
3611 something starting with __ and the normal name is an alias. */
3612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3615 char (*f) () = $ac_func;
3624 return f != $ac_func;
3629 rm -f conftest.$ac_objext conftest$ac_exeext
3630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3631 (eval $ac_link) 2>&5
3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); } &&
3635 { ac_try='test -s conftest$ac_exeext'
3636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); }; }; then
3641 eval "$as_ac_var=yes"
3643 echo "$as_me: failed program was:" >&5
3644 sed 's/^/| /' conftest.$ac_ext >&5
3646 eval "$as_ac_var=no"
3648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3652 if test `eval echo '${'$as_ac_var'}'` = yes; then
3653 cat >>confdefs.h <<_ACEOF
3654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3665 for ac_func in fopen64 fseeko64 ftello64 stat64
3667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3668 echo "$as_me:$LINENO: checking for $ac_func" >&5
3669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3670 if eval "test \"\${$as_ac_var+set}\" = set"; then
3671 echo $ECHO_N "(cached) $ECHO_C" >&6
3673 cat >conftest.$ac_ext <<_ACEOF
3674 #line $LINENO "configure"
3677 cat confdefs.h >>conftest.$ac_ext
3678 cat >>conftest.$ac_ext <<_ACEOF
3679 /* end confdefs.h. */
3680 /* System header to define __stub macros and hopefully few prototypes,
3681 which can conflict with char $ac_func (); below.
3682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3683 <limits.h> exists even on freestanding compilers. */
3685 # include <limits.h>
3687 # include <assert.h>
3689 /* Override any gcc2 internal prototype to avoid an error. */
3694 /* We use char because int might match the return type of a gcc2
3695 builtin and then its argument prototype would still apply. */
3697 /* The GNU C library defines this for functions which it implements
3698 to always fail with ENOSYS. Some functions are actually named
3699 something starting with __ and the normal name is an alias. */
3700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3703 char (*f) () = $ac_func;
3712 return f != $ac_func;
3717 rm -f conftest.$ac_objext conftest$ac_exeext
3718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3719 (eval $ac_link) 2>&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); } &&
3723 { ac_try='test -s conftest$ac_exeext'
3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; }; then
3729 eval "$as_ac_var=yes"
3731 echo "$as_me: failed program was:" >&5
3732 sed 's/^/| /' conftest.$ac_ext >&5
3734 eval "$as_ac_var=no"
3736 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3740 if test `eval echo '${'$as_ac_var'}'` = yes; then
3741 cat >>confdefs.h <<_ACEOF
3742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3754 for ac_func in strnlen memrchr strncpy memmem sethostname
3756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3757 echo "$as_me:$LINENO: checking for $ac_func" >&5
3758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3759 if eval "test \"\${$as_ac_var+set}\" = set"; then
3760 echo $ECHO_N "(cached) $ECHO_C" >&6
3762 cat >conftest.$ac_ext <<_ACEOF
3763 #line $LINENO "configure"
3766 cat confdefs.h >>conftest.$ac_ext
3767 cat >>conftest.$ac_ext <<_ACEOF
3768 /* end confdefs.h. */
3769 /* System header to define __stub macros and hopefully few prototypes,
3770 which can conflict with char $ac_func (); below.
3771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3772 <limits.h> exists even on freestanding compilers. */
3774 # include <limits.h>
3776 # include <assert.h>
3778 /* Override any gcc2 internal prototype to avoid an error. */
3783 /* We use char because int might match the return type of a gcc2
3784 builtin and then its argument prototype would still apply. */
3786 /* The GNU C library defines this for functions which it implements
3787 to always fail with ENOSYS. Some functions are actually named
3788 something starting with __ and the normal name is an alias. */
3789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3792 char (*f) () = $ac_func;
3801 return f != $ac_func;
3806 rm -f conftest.$ac_objext conftest$ac_exeext
3807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3808 (eval $ac_link) 2>&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); } &&
3812 { ac_try='test -s conftest$ac_exeext'
3813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); }; }; then
3818 eval "$as_ac_var=yes"
3820 echo "$as_me: failed program was:" >&5
3821 sed 's/^/| /' conftest.$ac_ext >&5
3823 eval "$as_ac_var=no"
3825 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3829 if test `eval echo '${'$as_ac_var'}'` = yes; then
3830 cat >>confdefs.h <<_ACEOF
3831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3838 cat >conftest.$ac_ext <<_ACEOF
3839 #line $LINENO "configure"
3842 cat confdefs.h >>conftest.$ac_ext
3843 cat >>conftest.$ac_ext <<_ACEOF
3844 /* end confdefs.h. */
3845 #include <sys/types.h>
3846 #include <sys/ipc.h>
3847 #include <sys/sem.h>
3856 rm -f conftest.$ac_objext
3857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3858 (eval $ac_compile) 2>&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); } &&
3862 { ac_try='test -s conftest.$ac_objext'
3863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); }; }; then
3870 echo "$as_me: failed program was:" >&5
3871 sed 's/^/| /' conftest.$ac_ext >&5
3875 rm -f conftest.$ac_objext conftest.$ac_ext
3876 if test $mf_have_semun = 1
3879 cat >>confdefs.h <<\_ACEOF
3880 #define HAVE_UNION_SEMUN 1
3886 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
3887 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
3888 cat >conftest.$ac_ext <<_ACEOF
3889 #line $LINENO "configure"
3892 cat confdefs.h >>conftest.$ac_ext
3893 cat >>conftest.$ac_ext <<_ACEOF
3894 /* end confdefs.h. */
3895 #define _POSIX_PII_SOCKET
3896 #include <sys/types.h>
3897 #include <sys/socket.h>
3906 rm -f conftest.$ac_objext
3907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3908 (eval $ac_compile) 2>&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); } &&
3912 { ac_try='test -s conftest.$ac_objext'
3913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917 (exit $ac_status); }; }; then
3919 cat >>confdefs.h <<\_ACEOF
3920 #define HAVE_SOCKLEN_T 1
3923 echo "$as_me:$LINENO: result: yes" >&5
3924 echo "${ECHO_T}yes" >&6
3926 echo "$as_me: failed program was:" >&5
3927 sed 's/^/| /' conftest.$ac_ext >&5
3929 echo "$as_me:$LINENO: result: no" >&5
3930 echo "${ECHO_T}no" >&6
3932 rm -f conftest.$ac_objext conftest.$ac_ext
3935 # Check whether --enable-shared or --disable-shared was given.
3936 if test "${enable_shared+set}" = set; then
3937 enableval="$enable_shared"
3938 p=${PACKAGE-default}
3940 yes) enable_shared=yes ;;
3941 no) enable_shared=no ;;
3944 # Look at the argument we got. We use all the common list separators.
3945 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3946 for pkg in $enableval; do
3947 if test "X$pkg" = "X$p"; then
3957 # Check whether --enable-static or --disable-static was given.
3958 if test "${enable_static+set}" = set; then
3959 enableval="$enable_static"
3960 p=${PACKAGE-default}
3962 yes) enable_static=yes ;;
3963 no) enable_static=no ;;
3966 # Look at the argument we got. We use all the common list separators.
3967 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3968 for pkg in $enableval; do
3969 if test "X$pkg" = "X$p"; then
3979 # Check whether --enable-fast-install or --disable-fast-install was given.
3980 if test "${enable_fast_install+set}" = set; then
3981 enableval="$enable_fast_install"
3982 p=${PACKAGE-default}
3984 yes) enable_fast_install=yes ;;
3985 no) enable_fast_install=no ;;
3987 enable_fast_install=no
3988 # Look at the argument we got. We use all the common list separators.
3989 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3990 for pkg in $enableval; do
3991 if test "X$pkg" = "X$p"; then
3992 enable_fast_install=yes
3999 enable_fast_install=yes
4002 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4003 if test "${with_gnu_ld+set}" = set; then
4004 withval="$with_gnu_ld"
4005 test "$withval" = no || with_gnu_ld=yes
4010 if test "$GCC" = yes; then
4011 # Check if gcc -print-prog-name=ld gives a path.
4012 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4013 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4016 # gcc leaves a trailing carriage return which upsets mingw
4017 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4019 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4022 # Accept absolute paths.
4023 [\\/]* | [A-Za-z]:[\\/]*)
4024 re_direlt='/[^/][^/]*/\.\./'
4025 # Canonicalize the path of ld
4026 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4027 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4028 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4030 test -z "$LD" && LD="$ac_prog"
4033 # If it fails, then pretend we aren't using GCC.
4037 # If it is relative, then search for the first ld in PATH.
4041 elif test "$with_gnu_ld" = yes; then
4042 echo "$as_me:$LINENO: checking for GNU ld" >&5
4043 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4045 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4046 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4048 if test "${lt_cv_path_LD+set}" = set; then
4049 echo $ECHO_N "(cached) $ECHO_C" >&6
4051 if test -z "$LD"; then
4052 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4053 for ac_dir in $PATH; do
4054 test -z "$ac_dir" && ac_dir=.
4055 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4056 lt_cv_path_LD="$ac_dir/$ac_prog"
4057 # Check to see if the program is GNU ld. I'd rather use --version,
4058 # but apparently some GNU ld's only accept -v.
4059 # Break only if it was the GNU/non-GNU ld that we prefer.
4060 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4061 test "$with_gnu_ld" != no && break
4063 test "$with_gnu_ld" != yes && break
4069 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4074 if test -n "$LD"; then
4075 echo "$as_me:$LINENO: result: $LD" >&5
4076 echo "${ECHO_T}$LD" >&6
4078 echo "$as_me:$LINENO: result: no" >&5
4079 echo "${ECHO_T}no" >&6
4081 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4082 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4083 { (exit 1); exit 1; }; }
4084 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4085 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4086 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4087 echo $ECHO_N "(cached) $ECHO_C" >&6
4089 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4090 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4091 lt_cv_prog_gnu_ld=yes
4093 lt_cv_prog_gnu_ld=no
4096 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4097 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4098 with_gnu_ld=$lt_cv_prog_gnu_ld
4101 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4102 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4103 if test "${lt_cv_ld_reload_flag+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 lt_cv_ld_reload_flag='-r'
4108 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4109 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4110 reload_flag=$lt_cv_ld_reload_flag
4111 test -n "$reload_flag" && reload_flag=" $reload_flag"
4113 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4114 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4115 if test "${lt_cv_path_NM+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 if test -n "$NM"; then
4119 # Let the user override the test.
4122 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4123 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4124 test -z "$ac_dir" && ac_dir=.
4125 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4126 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4127 # Check to see if the nm accepts a BSD-compat flag.
4128 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4129 # nm: unknown option "B" ignored
4130 # Tru64's nm complains that /dev/null is an invalid object file
4131 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4132 lt_cv_path_NM="$tmp_nm -B"
4134 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4135 lt_cv_path_NM="$tmp_nm -p"
4138 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4139 continue # so that we can try to find one that supports BSD flags
4144 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4149 echo "$as_me:$LINENO: result: $NM" >&5
4150 echo "${ECHO_T}$NM" >&6
4152 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4153 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4155 if test "$LN_S" = "ln -s"; then
4156 echo "$as_me:$LINENO: result: yes" >&5
4157 echo "${ECHO_T}yes" >&6
4159 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4160 echo "${ECHO_T}no, using $LN_S" >&6
4163 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4164 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4165 lt_cv_file_magic_cmd='$MAGIC_CMD'
4166 lt_cv_file_magic_test_file=
4167 lt_cv_deplibs_check_method='unknown'
4168 # Need to set the preceding variable on all platforms that support
4169 # interlibrary dependencies.
4170 # 'none' -- dependencies not supported.
4171 # `unknown' -- same as none, but documents that we really don't know.
4172 # 'pass_all' -- all dependencies passed with no checks.
4173 # 'test_compile' -- check by making test program.
4174 # 'file_magic [regex]' -- check by looking for files in library path
4175 # which responds to the $file_magic_cmd with a given egrep regex.
4176 # If you have `file' or equivalent on your system and you're not sure
4177 # whether `pass_all' will *always* work, you probably want this one.
4181 lt_cv_deplibs_check_method=pass_all
4185 lt_cv_deplibs_check_method=pass_all
4189 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4190 lt_cv_file_magic_cmd='/usr/bin/file -L'
4191 lt_cv_file_magic_test_file=/shlib/libc.so
4194 cygwin* | mingw* |pw32*)
4195 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4196 lt_cv_file_magic_cmd='$OBJDUMP -f'
4199 darwin* | rhapsody*)
4200 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4201 lt_cv_file_magic_cmd='/usr/bin/file -L'
4203 rhapsody* | darwin1.012)
4204 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4207 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4213 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4216 # Not sure whether the presence of OpenBSD here was a mistake.
4217 # Let's accept both of them until this is cleared up.
4218 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4219 lt_cv_file_magic_cmd=/usr/bin/file
4220 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4224 lt_cv_deplibs_check_method=pass_all
4229 lt_cv_deplibs_check_method=pass_all
4235 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4236 lt_cv_file_magic_cmd=/usr/bin/file
4237 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4240 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4241 lt_cv_file_magic_cmd=/usr/bin/file
4242 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4250 # this will be overridden with pass_all, but let us keep it just in case
4251 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4255 *-32|*"-32 ") libmagic=32-bit;;
4256 *-n32|*"-n32 ") libmagic=N32;;
4257 *-64|*"-64 ") libmagic=64-bit;;
4258 *) libmagic=never-match;;
4260 # this will be overridden with pass_all, but let us keep it just in case
4261 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4264 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4265 lt_cv_deplibs_check_method=pass_all
4268 # This must be Linux ELF.
4271 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | x86_64* | sh*)
4272 lt_cv_deplibs_check_method=pass_all ;;
4273 # NB 2003-06-03: According to Alexandre Oliva, x86_64 should not be
4274 # in this list. However, it works around a libtool problem that
4275 # wrongly excludes -ldl/-lpthread from the libmudflap(th) dependencies.
4277 # glibc up to 2.1.1 does not perform some relocations on ARM
4278 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4280 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4284 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4285 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4287 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4292 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4293 lt_cv_file_magic_cmd=/usr/bin/file
4294 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4297 osf3* | osf4* | osf5*)
4298 # this will be overridden with pass_all, but let us keep it just in case
4299 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4300 lt_cv_file_magic_test_file=/shlib/libc.so
4301 lt_cv_deplibs_check_method=pass_all
4305 lt_cv_deplibs_check_method=pass_all
4309 lt_cv_deplibs_check_method=pass_all
4310 lt_cv_file_magic_test_file=/lib/libc.so
4313 sysv5uw[78]* | sysv4*uw2*)
4314 lt_cv_deplibs_check_method=pass_all
4317 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4318 case $host_vendor in
4320 lt_cv_deplibs_check_method=pass_all
4323 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]'
4324 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4329 file_magic_cmd=$lt_cv_file_magic_cmd
4330 deplibs_check_method=$lt_cv_deplibs_check_method
4331 # NB: See above NB ... this is to make sure that the overriden
4332 # local libtool variant doesn't pollute the upstream cache
4333 unset lt_cv_file_magic_cmd
4334 unset lt_cv_deplibs_check_method
4335 echo "$as_me:$LINENO: result: $deplibs_check_method" >&5
4336 echo "${ECHO_T}$deplibs_check_method" >&6
4340 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4342 # Only perform the check for file, if the check method requires it
4343 case $deplibs_check_method in
4345 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4346 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4347 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4348 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4349 echo $ECHO_N "(cached) $ECHO_C" >&6
4353 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4356 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4359 ac_save_MAGIC_CMD="$MAGIC_CMD"
4360 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4361 ac_dummy="/usr/bin:$PATH"
4362 for ac_dir in $ac_dummy; do
4363 test -z "$ac_dir" && ac_dir=.
4364 if test -f $ac_dir/${ac_tool_prefix}file; then
4365 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4366 if test -n "$file_magic_test_file"; then
4367 case $deplibs_check_method in
4369 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4370 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4371 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4372 egrep "$file_magic_regex" > /dev/null; then
4377 *** Warning: the command libtool uses to detect shared libraries,
4378 *** $file_magic_cmd, produces output that libtool cannot recognize.
4379 *** The result is that libtool may fail to recognize shared libraries
4380 *** as such. This will affect the creation of libtool libraries that
4381 *** depend on shared libraries, but programs linked with such libtool
4382 *** libraries will work regardless of this problem. Nevertheless, you
4383 *** may want to report the problem to your system manager and/or to
4384 *** bug-libtool@gnu.org
4394 MAGIC_CMD="$ac_save_MAGIC_CMD"
4399 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4400 if test -n "$MAGIC_CMD"; then
4401 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4402 echo "${ECHO_T}$MAGIC_CMD" >&6
4404 echo "$as_me:$LINENO: result: no" >&5
4405 echo "${ECHO_T}no" >&6
4408 if test -z "$lt_cv_path_MAGIC_CMD"; then
4409 if test -n "$ac_tool_prefix"; then
4410 echo "$as_me:$LINENO: checking for file" >&5
4411 echo $ECHO_N "checking for file... $ECHO_C" >&6
4412 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4420 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4423 ac_save_MAGIC_CMD="$MAGIC_CMD"
4424 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4425 ac_dummy="/usr/bin:$PATH"
4426 for ac_dir in $ac_dummy; do
4427 test -z "$ac_dir" && ac_dir=.
4428 if test -f $ac_dir/file; then
4429 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4430 if test -n "$file_magic_test_file"; then
4431 case $deplibs_check_method in
4433 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4434 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4435 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4436 egrep "$file_magic_regex" > /dev/null; then
4441 *** Warning: the command libtool uses to detect shared libraries,
4442 *** $file_magic_cmd, produces output that libtool cannot recognize.
4443 *** The result is that libtool may fail to recognize shared libraries
4444 *** as such. This will affect the creation of libtool libraries that
4445 *** depend on shared libraries, but programs linked with such libtool
4446 *** libraries will work regardless of this problem. Nevertheless, you
4447 *** may want to report the problem to your system manager and/or to
4448 *** bug-libtool@gnu.org
4458 MAGIC_CMD="$ac_save_MAGIC_CMD"
4463 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4464 if test -n "$MAGIC_CMD"; then
4465 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4466 echo "${ECHO_T}$MAGIC_CMD" >&6
4468 echo "$as_me:$LINENO: result: no" >&5
4469 echo "${ECHO_T}no" >&6
4481 if test -n "$ac_tool_prefix"; then
4482 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4483 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4484 echo "$as_me:$LINENO: checking for $ac_word" >&5
4485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4486 if test "${ac_cv_prog_RANLIB+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 if test -n "$RANLIB"; then
4490 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4496 test -z "$as_dir" && as_dir=.
4497 for ac_exec_ext in '' $ac_executable_extensions; do
4498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4499 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 RANLIB=$ac_cv_prog_RANLIB
4509 if test -n "$RANLIB"; then
4510 echo "$as_me:$LINENO: result: $RANLIB" >&5
4511 echo "${ECHO_T}$RANLIB" >&6
4513 echo "$as_me:$LINENO: result: no" >&5
4514 echo "${ECHO_T}no" >&6
4518 if test -z "$ac_cv_prog_RANLIB"; then
4519 ac_ct_RANLIB=$RANLIB
4520 # Extract the first word of "ranlib", so it can be a program name with args.
4521 set dummy ranlib; ac_word=$2
4522 echo "$as_me:$LINENO: checking for $ac_word" >&5
4523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4524 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4525 echo $ECHO_N "(cached) $ECHO_C" >&6
4527 if test -n "$ac_ct_RANLIB"; then
4528 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4534 test -z "$as_dir" && as_dir=.
4535 for ac_exec_ext in '' $ac_executable_extensions; do
4536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4537 ac_cv_prog_ac_ct_RANLIB="ranlib"
4538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4544 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4547 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4548 if test -n "$ac_ct_RANLIB"; then
4549 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4550 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4552 echo "$as_me:$LINENO: result: no" >&5
4553 echo "${ECHO_T}no" >&6
4556 RANLIB=$ac_ct_RANLIB
4558 RANLIB="$ac_cv_prog_RANLIB"
4561 if test -n "$ac_tool_prefix"; then
4562 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4563 set dummy ${ac_tool_prefix}strip; ac_word=$2
4564 echo "$as_me:$LINENO: checking for $ac_word" >&5
4565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4566 if test "${ac_cv_prog_STRIP+set}" = set; then
4567 echo $ECHO_N "(cached) $ECHO_C" >&6
4569 if test -n "$STRIP"; then
4570 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 test -z "$as_dir" && as_dir=.
4577 for ac_exec_ext in '' $ac_executable_extensions; do
4578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4579 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4588 STRIP=$ac_cv_prog_STRIP
4589 if test -n "$STRIP"; then
4590 echo "$as_me:$LINENO: result: $STRIP" >&5
4591 echo "${ECHO_T}$STRIP" >&6
4593 echo "$as_me:$LINENO: result: no" >&5
4594 echo "${ECHO_T}no" >&6
4598 if test -z "$ac_cv_prog_STRIP"; then
4600 # Extract the first word of "strip", so it can be a program name with args.
4601 set dummy strip; ac_word=$2
4602 echo "$as_me:$LINENO: checking for $ac_word" >&5
4603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4604 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4605 echo $ECHO_N "(cached) $ECHO_C" >&6
4607 if test -n "$ac_ct_STRIP"; then
4608 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4614 test -z "$as_dir" && as_dir=.
4615 for ac_exec_ext in '' $ac_executable_extensions; do
4616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4617 ac_cv_prog_ac_ct_STRIP="strip"
4618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4627 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4628 if test -n "$ac_ct_STRIP"; then
4629 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4630 echo "${ECHO_T}$ac_ct_STRIP" >&6
4632 echo "$as_me:$LINENO: result: no" >&5
4633 echo "${ECHO_T}no" >&6
4638 STRIP="$ac_cv_prog_STRIP"
4642 # Check for any special flags to pass to ltconfig.
4643 libtool_flags="--cache-file=$cache_file"
4644 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4645 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4646 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4647 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4648 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4651 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4652 if test "${enable_libtool_lock+set}" = set; then
4653 enableval="$enable_libtool_lock"
4656 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4657 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4660 # Check whether --with-pic or --without-pic was given.
4661 if test "${with_pic+set}" = set; then
4667 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4668 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4670 # Some flags need to be propagated to the compiler or linker for good
4674 # Find out which ABI we are using.
4675 echo '#line 4675 "configure"' > conftest.$ac_ext
4676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4677 (eval $ac_compile) 2>&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); }; then
4681 case `/usr/bin/file conftest.$ac_objext` in
4697 # Find out which ABI we are using.
4698 echo 'int i;' > conftest.$ac_ext
4699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4700 (eval $ac_compile) 2>&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; then
4704 case "`/usr/bin/file conftest.o`" in
4716 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4717 # Find out which ABI we are using.
4718 echo 'int i;' > conftest.$ac_ext
4719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4720 (eval $ac_compile) 2>&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); }; then
4724 case "`/usr/bin/file conftest.o`" in
4728 LD="${LD-ld} -m elf_i386"
4731 LD="${LD-ld} -m elf32ppclinux"
4734 LD="${LD-ld} -m elf_s390"
4737 LD="${LD-ld} -m elf32_sparc"
4744 LD="${LD-ld} -m elf_x86_64"
4746 ppc*-*linux*|powerpc*-*linux*)
4747 LD="${LD-ld} -m elf64ppc"
4750 LD="${LD-ld} -m elf64_s390"
4753 LD="${LD-ld} -m elf64_sparc"
4763 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4764 SAVE_CFLAGS="$CFLAGS"
4765 CFLAGS="$CFLAGS -belf"
4766 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4767 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4768 if test "${lt_cv_cc_needs_belf+set}" = set; then
4769 echo $ECHO_N "(cached) $ECHO_C" >&6
4774 ac_cpp='$CPP $CPPFLAGS'
4775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4779 cat >conftest.$ac_ext <<_ACEOF
4780 #line $LINENO "configure"
4783 cat confdefs.h >>conftest.$ac_ext
4784 cat >>conftest.$ac_ext <<_ACEOF
4785 /* end confdefs.h. */
4795 rm -f conftest.$ac_objext conftest$ac_exeext
4796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4797 (eval $ac_link) 2>&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } &&
4801 { ac_try='test -s conftest$ac_exeext'
4802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); }; }; then
4807 lt_cv_cc_needs_belf=yes
4809 echo "$as_me: failed program was:" >&5
4810 sed 's/^/| /' conftest.$ac_ext >&5
4812 lt_cv_cc_needs_belf=no
4814 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4816 ac_cpp='$CPP $CPPFLAGS'
4817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4822 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4823 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4824 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4825 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4826 CFLAGS="$SAVE_CFLAGS"
4834 # Save cache, so that ltconfig can load it
4835 cat >confcache <<\_ACEOF
4836 # This file is a shell script that caches the results of configure
4837 # tests run on this system so they can be shared between configure
4838 # scripts and configure runs, see configure's option --config-cache.
4839 # It is not useful on other systems. If it contains results you don't
4840 # want to keep, you may remove or edit it.
4842 # config.status only pays attention to the cache file if you give it
4843 # the --recheck option to rerun configure.
4845 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4846 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4851 # The following way of writing the cache mishandles newlines in values,
4852 # but we know of no workaround that is simple, portable, and efficient.
4853 # So, don't put newlines in cache variables' values.
4854 # Ultrix sh set writes to stderr and can't be redirected directly,
4855 # and sets the high bit in the cache file unless we assign to the vars.
4858 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4860 # `set' does not quote correctly, so add quotes (double-quote
4861 # substitution turns \\\\ into \\, and sed turns \\ into \).
4864 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4867 # `set' quotes correctly as required by POSIX, so do not add quotes.
4869 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4876 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4878 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4880 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4881 if test -w $cache_file; then
4882 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4883 cat confcache >$cache_file
4885 echo "not updating unwritable cache $cache_file"
4890 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4891 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4892 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4893 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4894 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4895 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4896 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4897 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4898 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4899 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4900 echo "$as_me: error: libtool configure failed" >&2;}
4901 { (exit 1); exit 1; }; }
4903 # Reload cache, that may have been modified by ltconfig
4904 if test -r "$cache_file"; then
4905 # Some versions of bash will fail to source /dev/null (special
4906 # files actually), so we avoid doing that.
4907 if test -f "$cache_file"; then
4908 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4909 echo "$as_me: loading cache $cache_file" >&6;}
4911 [\\/]* | ?:[\\/]* ) . $cache_file;;
4912 *) . ./$cache_file;;
4916 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4917 echo "$as_me: creating cache $cache_file" >&6;}
4922 # This can be used to rebuild libtool when needed
4923 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4925 # Always use our own libtool.
4926 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4928 # Redirect the config.log output again, so that the ltconfig log is not
4929 # clobbered by the next message.
4930 exec 5>>./config.log
4940 if test "${ac_cv_header_stdint_h+set}" = set; then
4941 echo "$as_me:$LINENO: checking for stdint.h" >&5
4942 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
4943 if test "${ac_cv_header_stdint_h+set}" = set; then
4944 echo $ECHO_N "(cached) $ECHO_C" >&6
4946 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
4947 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
4949 # Is the header compilable?
4950 echo "$as_me:$LINENO: checking stdint.h usability" >&5
4951 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6
4952 cat >conftest.$ac_ext <<_ACEOF
4953 #line $LINENO "configure"
4956 cat confdefs.h >>conftest.$ac_ext
4957 cat >>conftest.$ac_ext <<_ACEOF
4958 /* end confdefs.h. */
4959 $ac_includes_default
4962 rm -f conftest.$ac_objext
4963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4964 (eval $ac_compile) 2>&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } &&
4968 { ac_try='test -s conftest.$ac_objext'
4969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); }; }; then
4974 ac_header_compiler=yes
4976 echo "$as_me: failed program was:" >&5
4977 sed 's/^/| /' conftest.$ac_ext >&5
4979 ac_header_compiler=no
4981 rm -f conftest.$ac_objext conftest.$ac_ext
4982 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4983 echo "${ECHO_T}$ac_header_compiler" >&6
4985 # Is the header present?
4986 echo "$as_me:$LINENO: checking stdint.h presence" >&5
4987 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6
4988 cat >conftest.$ac_ext <<_ACEOF
4989 #line $LINENO "configure"
4992 cat confdefs.h >>conftest.$ac_ext
4993 cat >>conftest.$ac_ext <<_ACEOF
4994 /* end confdefs.h. */
4997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5000 grep -v '^ *+' conftest.er1 >conftest.err
5002 cat conftest.err >&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); } >/dev/null; then
5005 if test -s conftest.err; then
5006 ac_cpp_err=$ac_c_preproc_warn_flag
5013 if test -z "$ac_cpp_err"; then
5014 ac_header_preproc=yes
5016 echo "$as_me: failed program was:" >&5
5017 sed 's/^/| /' conftest.$ac_ext >&5
5019 ac_header_preproc=no
5021 rm -f conftest.err conftest.$ac_ext
5022 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5023 echo "${ECHO_T}$ac_header_preproc" >&6
5025 # So? What about this header?
5026 case $ac_header_compiler:$ac_header_preproc in
5028 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
5029 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5030 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
5031 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
5034 ## ------------------------------------ ##
5035 ## Report this to bug-autoconf@gnu.org. ##
5036 ## ------------------------------------ ##
5039 sed "s/^/$as_me: WARNING: /" >&2
5042 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
5043 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
5044 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5
5045 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;}
5046 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
5047 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
5050 ## ------------------------------------ ##
5051 ## Report this to bug-autoconf@gnu.org. ##
5052 ## ------------------------------------ ##
5055 sed "s/^/$as_me: WARNING: /" >&2
5058 echo "$as_me:$LINENO: checking for stdint.h" >&5
5059 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
5060 if test "${ac_cv_header_stdint_h+set}" = set; then
5061 echo $ECHO_N "(cached) $ECHO_C" >&6
5063 ac_cv_header_stdint_h=$ac_header_preproc
5065 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
5066 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
5069 if test $ac_cv_header_stdint_h = yes; then
5077 if test $MF_HAVE_STDINT_H = 1
5081 cat >conftest.$ac_ext <<_ACEOF
5082 #line $LINENO "configure"
5085 cat confdefs.h >>conftest.$ac_ext
5086 cat >>conftest.$ac_ext <<_ACEOF
5087 /* end confdefs.h. */
5088 #include <sys/types.h>
5097 rm -f conftest.$ac_objext
5098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5099 (eval $ac_compile) 2>&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } &&
5103 { ac_try='test -s conftest.$ac_objext'
5104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); }; }; then
5111 echo "$as_me: failed program was:" >&5
5112 sed 's/^/| /' conftest.$ac_ext >&5
5116 rm -f conftest.$ac_objext conftest.$ac_ext
5122 # libmudflapth objects are built in this subdirectory
5126 pthread_create_version='""'
5127 if test "${ac_cv_header_pthread_h+set}" = set; then
5128 echo "$as_me:$LINENO: checking for pthread.h" >&5
5129 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
5130 if test "${ac_cv_header_pthread_h+set}" = set; then
5131 echo $ECHO_N "(cached) $ECHO_C" >&6
5133 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
5134 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
5136 # Is the header compilable?
5137 echo "$as_me:$LINENO: checking pthread.h usability" >&5
5138 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6
5139 cat >conftest.$ac_ext <<_ACEOF
5140 #line $LINENO "configure"
5143 cat confdefs.h >>conftest.$ac_ext
5144 cat >>conftest.$ac_ext <<_ACEOF
5145 /* end confdefs.h. */
5146 $ac_includes_default
5147 #include <pthread.h>
5149 rm -f conftest.$ac_objext
5150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5151 (eval $ac_compile) 2>&5
5153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154 (exit $ac_status); } &&
5155 { ac_try='test -s conftest.$ac_objext'
5156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); }; }; then
5161 ac_header_compiler=yes
5163 echo "$as_me: failed program was:" >&5
5164 sed 's/^/| /' conftest.$ac_ext >&5
5166 ac_header_compiler=no
5168 rm -f conftest.$ac_objext conftest.$ac_ext
5169 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5170 echo "${ECHO_T}$ac_header_compiler" >&6
5172 # Is the header present?
5173 echo "$as_me:$LINENO: checking pthread.h presence" >&5
5174 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6
5175 cat >conftest.$ac_ext <<_ACEOF
5176 #line $LINENO "configure"
5179 cat confdefs.h >>conftest.$ac_ext
5180 cat >>conftest.$ac_ext <<_ACEOF
5181 /* end confdefs.h. */
5182 #include <pthread.h>
5184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5185 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5187 grep -v '^ *+' conftest.er1 >conftest.err
5189 cat conftest.err >&5
5190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191 (exit $ac_status); } >/dev/null; then
5192 if test -s conftest.err; then
5193 ac_cpp_err=$ac_c_preproc_warn_flag
5200 if test -z "$ac_cpp_err"; then
5201 ac_header_preproc=yes
5203 echo "$as_me: failed program was:" >&5
5204 sed 's/^/| /' conftest.$ac_ext >&5
5206 ac_header_preproc=no
5208 rm -f conftest.err conftest.$ac_ext
5209 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5210 echo "${ECHO_T}$ac_header_preproc" >&6
5212 # So? What about this header?
5213 case $ac_header_compiler:$ac_header_preproc in
5215 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
5216 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5217 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
5218 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
5221 ## ------------------------------------ ##
5222 ## Report this to bug-autoconf@gnu.org. ##
5223 ## ------------------------------------ ##
5226 sed "s/^/$as_me: WARNING: /" >&2
5229 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
5230 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
5231 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
5232 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
5233 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
5234 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
5237 ## ------------------------------------ ##
5238 ## Report this to bug-autoconf@gnu.org. ##
5239 ## ------------------------------------ ##
5242 sed "s/^/$as_me: WARNING: /" >&2
5245 echo "$as_me:$LINENO: checking for pthread.h" >&5
5246 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
5247 if test "${ac_cv_header_pthread_h+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 ac_cv_header_pthread_h=$ac_header_preproc
5252 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
5253 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
5256 if test $ac_cv_header_pthread_h = yes; then
5259 cat >>confdefs.h <<_ACEOF
5260 #define HAVE_PTHREAD_H 1
5263 ac_have_pthread_h=yes
5274 if test "x$ac_have_pthread_h" != "x"; then
5276 LIBMUDFLAPTH_FALSE='#'
5278 LIBMUDFLAPTH_TRUE='#'
5282 if test "x$ac_have_pthread_h" != "x"
5284 build_libmudflapth=1
5286 build_libmudflapth=0
5291 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
5292 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
5293 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
5294 echo $ECHO_N "(cached) $ECHO_C" >&6
5296 ac_check_lib_save_LIBS=$LIBS
5298 cat >conftest.$ac_ext <<_ACEOF
5299 #line $LINENO "configure"
5302 cat confdefs.h >>conftest.$ac_ext
5303 cat >>conftest.$ac_ext <<_ACEOF
5304 /* end confdefs.h. */
5306 /* Override any gcc2 internal prototype to avoid an error. */
5310 /* We use char because int might match the return type of a gcc2
5311 builtin and then its argument prototype would still apply. */
5321 rm -f conftest.$ac_objext conftest$ac_exeext
5322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5323 (eval $ac_link) 2>&5
5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326 (exit $ac_status); } &&
5327 { ac_try='test -s conftest$ac_exeext'
5328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); }; }; then
5333 ac_cv_lib_dl_dlsym=yes
5335 echo "$as_me: failed program was:" >&5
5336 sed 's/^/| /' conftest.$ac_ext >&5
5338 ac_cv_lib_dl_dlsym=no
5340 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5341 LIBS=$ac_check_lib_save_LIBS
5343 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
5344 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
5345 if test $ac_cv_lib_dl_dlsym = yes; then
5346 cat >>confdefs.h <<_ACEOF
5347 #define HAVE_LIBDL 1
5355 # Process the option "--enable-version-specific-runtime-libs"
5356 gcc_version_trigger=${srcdir}/../gcc/version.c
5357 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
5358 gcc_version=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`
5361 # Calculate toolexeclibdir
5362 # Also toolexecdir, though it's only used in toolexeclibdir
5363 case ${version_specific_libs} in
5365 # Need the gcc compiler version to know where to install libraries
5366 # and header files if --enable-version-specific-runtime-libs option
5368 toolexecdir='$(libdir)/gcc/$(target_alias)'
5369 toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
5372 if test -n "$with_cross_host" &&
5373 test x"$with_cross_host" != x"no"; then
5374 # Install a library built with a cross compiler in tooldir, not libdir.
5375 toolexecdir='$(exec_prefix)/$(target_alias)'
5376 toolexeclibdir='$(toolexecdir)/lib'
5378 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5379 toolexeclibdir='$(libdir)'
5381 multi_os_directory=`$CC -print-multi-os-directory`
5382 case $multi_os_directory in
5383 .) ;; # Avoid trailing /.
5384 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5391 if test "x$enable_shared" = "xyes" && test "x$ac_have_pthread_h" != "x"; then
5392 # NB: don't check for -lpthread here, because then it would be
5393 # added to LIBS. For the thread-unaware libmudflap.la, we don't
5396 # glibc-related hacks. dlsym() may pick the wrong version of
5397 # interposed functions like pthread_create on modern glibc.
5398 # We need to find the proper symbol version string, and use
5399 # the nonstandard dlvsym().
5401 for ac_func in dlvsym
5403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5404 echo "$as_me:$LINENO: checking for $ac_func" >&5
5405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5406 if eval "test \"\${$as_ac_var+set}\" = set"; then
5407 echo $ECHO_N "(cached) $ECHO_C" >&6
5409 cat >conftest.$ac_ext <<_ACEOF
5410 #line $LINENO "configure"
5413 cat confdefs.h >>conftest.$ac_ext
5414 cat >>conftest.$ac_ext <<_ACEOF
5415 /* end confdefs.h. */
5416 /* System header to define __stub macros and hopefully few prototypes,
5417 which can conflict with char $ac_func (); below.
5418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5419 <limits.h> exists even on freestanding compilers. */
5421 # include <limits.h>
5423 # include <assert.h>
5425 /* Override any gcc2 internal prototype to avoid an error. */
5430 /* We use char because int might match the return type of a gcc2
5431 builtin and then its argument prototype would still apply. */
5433 /* The GNU C library defines this for functions which it implements
5434 to always fail with ENOSYS. Some functions are actually named
5435 something starting with __ and the normal name is an alias. */
5436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5439 char (*f) () = $ac_func;
5448 return f != $ac_func;
5453 rm -f conftest.$ac_objext conftest$ac_exeext
5454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5455 (eval $ac_link) 2>&5
5457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458 (exit $ac_status); } &&
5459 { ac_try='test -s conftest$ac_exeext'
5460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464 (exit $ac_status); }; }; then
5465 eval "$as_ac_var=yes"
5467 echo "$as_me: failed program was:" >&5
5468 sed 's/^/| /' conftest.$ac_ext >&5
5470 eval "$as_ac_var=no"
5472 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5476 if test `eval echo '${'$as_ac_var'}'` = yes; then
5477 cat >>confdefs.h <<_ACEOF
5478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5484 if test -n "$ac_tool_prefix"; then
5485 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
5486 set dummy ${ac_tool_prefix}nm; ac_word=$2
5487 echo "$as_me:$LINENO: checking for $ac_word" >&5
5488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5489 if test "${ac_cv_prog_NM+set}" = set; then
5490 echo $ECHO_N "(cached) $ECHO_C" >&6
5492 if test -n "$NM"; then
5493 ac_cv_prog_NM="$NM" # Let the user override the test.
5495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 test -z "$as_dir" && as_dir=.
5500 for ac_exec_ext in '' $ac_executable_extensions; do
5501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5502 ac_cv_prog_NM="${ac_tool_prefix}nm"
5503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 if test -n "$NM"; then
5513 echo "$as_me:$LINENO: result: $NM" >&5
5514 echo "${ECHO_T}$NM" >&6
5516 echo "$as_me:$LINENO: result: no" >&5
5517 echo "${ECHO_T}no" >&6
5521 if test -z "$ac_cv_prog_NM"; then
5523 # Extract the first word of "nm", so it can be a program name with args.
5524 set dummy nm; ac_word=$2
5525 echo "$as_me:$LINENO: checking for $ac_word" >&5
5526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5527 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
5528 echo $ECHO_N "(cached) $ECHO_C" >&6
5530 if test -n "$ac_ct_NM"; then
5531 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5537 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_ac_ct_NM="nm"
5541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5549 ac_ct_NM=$ac_cv_prog_ac_ct_NM
5550 if test -n "$ac_ct_NM"; then
5551 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
5552 echo "${ECHO_T}$ac_ct_NM" >&6
5554 echo "$as_me:$LINENO: result: no" >&5
5555 echo "${ECHO_T}no" >&6
5563 if test "x$ac_cv_have_dlvsym" != "x"; then
5564 # Try compiling a simple pthreads program. Find the shared libraries it
5565 # ends up with. Then use "nm" on those libraries to extract the
5566 # default symbol versioning suffix ("@@"), if any. But that's tricky.
5567 # Rather, run nm on the resulting executable. Unfortunately, autoconf
5568 # doesn't appear to have a macro that builds a test executable for
5569 # subsequent analysis ... so we do it by hand here.
5570 cat >> conftest.c << EOF
5571 #include <pthread.h>
5572 int main () { void *p = (void *) & pthread_create; return (int) p; }
5575 LIBS="$LIBS -lpthread"
5576 pthread_create_version="\"\""
5577 echo "$as_me:$LINENO: checking pthread_create symbol version" >&5
5578 echo $ECHO_N "checking pthread_create symbol version... $ECHO_C" >&6
5579 if eval $ac_link 2>&5 && test -s conftest${ac_exeext}; then
5580 version=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
5581 if test "x$version" != "x"; then
5582 pthread_create_version="\"$version\""
5585 echo "$as_me:$LINENO: result: $pthread_create_version" >&5
5586 echo "${ECHO_T}$pthread_create_version" >&6
5591 cat >>confdefs.h <<_ACEOF
5592 #define PTHREAD_CREATE_VERSION $pthread_create_version
5597 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5598 # similarly to how libstdc++ does it
5599 ac_test_CFLAGS="${CFLAGS+set}"
5600 ac_save_CFLAGS="$CFLAGS"
5602 # Check for -ffunction-sections -fdata-sections
5603 echo "$as_me:$LINENO: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5604 echo $ECHO_N "checking for gcc that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
5605 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5606 cat >conftest.$ac_ext <<_ACEOF
5607 #line $LINENO "configure"
5610 cat confdefs.h >>conftest.$ac_ext
5611 cat >>conftest.$ac_ext <<_ACEOF
5612 /* end confdefs.h. */
5622 rm -f conftest.$ac_objext
5623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5624 (eval $ac_compile) 2>&5
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); } &&
5628 { ac_try='test -s conftest.$ac_objext'
5629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); }; }; then
5636 echo "$as_me: failed program was:" >&5
5637 sed 's/^/| /' conftest.$ac_ext >&5
5641 rm -f conftest.$ac_objext conftest.$ac_ext
5642 if test "$ac_test_CFLAGS" = set; then
5643 CFLAGS="$ac_save_CFLAGS"
5645 # this is the suspicious part
5648 if test x"$ac_fdsections" = x"yes"; then
5649 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5651 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
5652 echo "${ECHO_T}$ac_fdsections" >&6
5656 if test ${multilib} = yes; then
5657 multilib_arg="--enable-multilib"
5662 ac_config_files="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp mf-runtime.h"
5663 cat >confcache <<\_ACEOF
5664 # This file is a shell script that caches the results of configure
5665 # tests run on this system so they can be shared between configure
5666 # scripts and configure runs, see configure's option --config-cache.
5667 # It is not useful on other systems. If it contains results you don't
5668 # want to keep, you may remove or edit it.
5670 # config.status only pays attention to the cache file if you give it
5671 # the --recheck option to rerun configure.
5673 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5674 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5679 # The following way of writing the cache mishandles newlines in values,
5680 # but we know of no workaround that is simple, portable, and efficient.
5681 # So, don't put newlines in cache variables' values.
5682 # Ultrix sh set writes to stderr and can't be redirected directly,
5683 # and sets the high bit in the cache file unless we assign to the vars.
5686 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5688 # `set' does not quote correctly, so add quotes (double-quote
5689 # substitution turns \\\\ into \\, and sed turns \\ into \).
5692 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5695 # `set' quotes correctly as required by POSIX, so do not add quotes.
5697 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5704 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5706 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5708 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5709 if test -w $cache_file; then
5710 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5711 cat confcache >$cache_file
5713 echo "not updating unwritable cache $cache_file"
5718 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5719 # Let make expand exec_prefix.
5720 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5722 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5723 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5724 # trailing colons and then remove the whole line if VPATH becomes empty
5725 # (actually we leave an empty line to preserve line numbers).
5726 if test "x$srcdir" = x.; then
5727 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5728 s/:*\$(srcdir):*/:/;
5729 s/:*\${srcdir}:*/:/;
5731 s/^\([^=]*=[ ]*\):*/\1/;
5737 DEFS=-DHAVE_CONFIG_H
5741 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5742 # 1. Remove the extension, and $U if already installed.
5743 ac_i=`echo "$ac_i" |
5744 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5746 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5747 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5751 LTLIBOBJS=$ac_ltlibobjs
5754 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5755 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5756 Usually this means the macro was only invoked conditionally." >&5
5757 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5758 Usually this means the macro was only invoked conditionally." >&2;}
5759 { (exit 1); exit 1; }; }
5761 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5762 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5763 Usually this means the macro was only invoked conditionally." >&5
5764 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5765 Usually this means the macro was only invoked conditionally." >&2;}
5766 { (exit 1); exit 1; }; }
5768 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5769 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5770 Usually this means the macro was only invoked conditionally." >&5
5771 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5772 Usually this means the macro was only invoked conditionally." >&2;}
5773 { (exit 1); exit 1; }; }
5775 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
5776 { { echo "$as_me:$LINENO: error: conditional \"LIBMUDFLAPTH\" was never defined.
5777 Usually this means the macro was only invoked conditionally." >&5
5778 echo "$as_me: error: conditional \"LIBMUDFLAPTH\" was never defined.
5779 Usually this means the macro was only invoked conditionally." >&2;}
5780 { (exit 1); exit 1; }; }
5783 : ${CONFIG_STATUS=./config.status}
5784 ac_clean_files_save=$ac_clean_files
5785 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5786 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5787 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5788 cat >$CONFIG_STATUS <<_ACEOF
5790 # Generated by $as_me.
5791 # Run this file to recreate the current configuration.
5792 # Compiler output produced by configure, useful for debugging
5793 # configure, is in config.log if it exists.
5798 SHELL=\${CONFIG_SHELL-$SHELL}
5801 cat >>$CONFIG_STATUS <<\_ACEOF
5802 ## --------------------- ##
5803 ## M4sh Initialization. ##
5804 ## --------------------- ##
5806 # Be Bourne compatible
5807 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5810 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5811 # is contrary to our usage. Disable this feature.
5812 alias -g '${1+"$@"}'='"$@"'
5813 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5817 # Support unset when possible.
5818 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5825 # Work around bugs in pre-3.0 UWIN ksh.
5826 $as_unset ENV MAIL MAILPATH
5833 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5834 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5835 LC_TELEPHONE LC_TIME
5837 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
5838 eval $as_var=C; export $as_var
5844 # Required to use basename.
5845 if expr a : '\(a\)' >/dev/null 2>&1; then
5851 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5852 as_basename=basename
5858 # Name of the executable.
5859 as_me=`$as_basename "$0" ||
5860 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5861 X"$0" : 'X\(//\)$' \| \
5862 X"$0" : 'X\(/\)$' \| \
5863 . : '\(.\)' 2>/dev/null ||
5865 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5866 /^X\/\(\/\/\)$/{ s//\1/; q; }
5867 /^X\/\(\/\).*/{ s//\1/; q; }
5871 # PATH needs CR, and LINENO needs CR and PATH.
5872 # Avoid depending upon Character Ranges.
5873 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5874 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5875 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5876 as_cr_digits='0123456789'
5877 as_cr_alnum=$as_cr_Letters$as_cr_digits
5879 # The user is always right.
5880 if test "${PATH_SEPARATOR+set}" != set; then
5881 echo "#! /bin/sh" >conf$$.sh
5882 echo "exit 0" >>conf$$.sh
5884 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5895 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5896 test "x$as_lineno_1" != "x$as_lineno_2" &&
5897 test "x$as_lineno_3" = "x$as_lineno_2" || {
5898 # Find who we are. Look in the path if we contain no path at all
5901 *[\\/]* ) as_myself=$0 ;;
5902 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 test -z "$as_dir" && as_dir=.
5907 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5912 # We did not find ourselves, most probably we were run as `sh COMMAND'
5913 # in which case we are not to be found in the path.
5914 if test "x$as_myself" = x; then
5917 if test ! -f "$as_myself"; then
5918 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5919 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5920 { (exit 1); exit 1; }; }
5922 case $CONFIG_SHELL in
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5925 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5928 test -z "$as_dir" && as_dir=.
5929 for as_base in sh bash ksh sh5; do
5932 if ("$as_dir/$as_base" -c '
5935 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5936 test "x$as_lineno_1" != "x$as_lineno_2" &&
5937 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5938 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5939 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5940 CONFIG_SHELL=$as_dir/$as_base
5942 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5950 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5951 # uniformly replaced by the line number. The first 'sed' inserts a
5952 # line-number line before each line; the second 'sed' does the real
5953 # work. The second script uses 'N' to pair each line-number line
5954 # with the numbered line, and appends trailing '-' during
5955 # substitution so that $LINENO is not a special case at line end.
5956 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5957 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5958 sed '=' <$as_myself |
5963 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5966 s,^['$as_cr_digits']*\n,,
5968 chmod +x $as_me.lineno ||
5969 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5970 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5971 { (exit 1); exit 1; }; }
5973 # Don't try to exec as it changes $[0], causing all sort of problems
5974 # (the dirname of $[0] is not the place where we might find the
5975 # original and so on. Autoconf is especially sensible to this).
5977 # Exit status is that of the last command.
5982 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5983 *c*,-n*) ECHO_N= ECHO_C='
5985 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5986 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5989 if expr a : '\(a\)' >/dev/null 2>&1; then
5995 rm -f conf$$ conf$$.exe conf$$.file
5997 if ln -s conf$$.file conf$$ 2>/dev/null; then
5998 # We could just check for DJGPP; but this test a) works b) is more generic
5999 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6000 if test -f conf$$.exe; then
6001 # Don't use ln at all; we don't have any links
6006 elif ln conf$$.file conf$$ 2>/dev/null; then
6011 rm -f conf$$ conf$$.exe conf$$.file
6013 if mkdir -p . 2>/dev/null; then
6019 as_executable_p="test -f"
6021 # Sed expression to map a string onto a valid CPP name.
6022 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6024 # Sed expression to map a string onto a valid variable name.
6025 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6029 # We need space, tab and new line, in precisely that order.
6039 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6040 # report actual input values of CONFIG_FILES etc. instead of their
6041 # values after options handling. Logging --version etc. is OK.
6045 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6046 ## Running $as_me. ##
6051 This file was extended by $as_me, which was
6052 generated by GNU Autoconf 2.57. Invocation command line was
6054 CONFIG_FILES = $CONFIG_FILES
6055 CONFIG_HEADERS = $CONFIG_HEADERS
6056 CONFIG_LINKS = $CONFIG_LINKS
6057 CONFIG_COMMANDS = $CONFIG_COMMANDS
6061 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6065 # Files that config.status was made for.
6066 if test -n "$ac_config_files"; then
6067 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6070 if test -n "$ac_config_headers"; then
6071 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6074 if test -n "$ac_config_links"; then
6075 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6078 if test -n "$ac_config_commands"; then
6079 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6082 cat >>$CONFIG_STATUS <<\_ACEOF
6085 \`$as_me' instantiates files from templates according to the
6086 current configuration.
6088 Usage: $0 [OPTIONS] [FILE]...
6090 -h, --help print this help, then exit
6091 -V, --version print version number, then exit
6092 -q, --quiet do not print progress messages
6093 -d, --debug don't remove temporary files
6094 --recheck update $as_me by reconfiguring in the same conditions
6095 --file=FILE[:TEMPLATE]
6096 instantiate the configuration file FILE
6097 --header=FILE[:TEMPLATE]
6098 instantiate the configuration header FILE
6100 Configuration files:
6103 Configuration headers:
6106 Configuration commands:
6109 Report bugs to <bug-autoconf@gnu.org>."
6112 cat >>$CONFIG_STATUS <<_ACEOF
6115 configured by $0, generated by GNU Autoconf 2.57,
6116 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6118 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6119 Free Software Foundation, Inc.
6120 This config.status script is free software; the Free Software Foundation
6121 gives unlimited permission to copy, distribute and modify it."
6126 cat >>$CONFIG_STATUS <<\_ACEOF
6127 # If no file are specified by the user, then we need to provide default
6128 # value. By we need to know if files were specified by the user.
6134 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6135 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6143 *) # This is not an option, so the user has probably given explicit
6146 ac_need_defaults=false;;
6150 # Handling of the options.
6152 cat >>$CONFIG_STATUS <<\_ACEOF
6153 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6155 --version | --vers* | -V )
6156 echo "$ac_cs_version"; exit 0 ;;
6158 # Conflict between --help and --header
6159 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6160 Try \`$0 --help' for more information." >&5
6161 echo "$as_me: error: ambiguous option: $1
6162 Try \`$0 --help' for more information." >&2;}
6163 { (exit 1); exit 1; }; };;
6164 --help | --hel | -h )
6165 echo "$ac_cs_usage"; exit 0 ;;
6166 --debug | --d* | -d )
6168 --file | --fil | --fi | --f )
6170 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6171 ac_need_defaults=false;;
6172 --header | --heade | --head | --hea )
6174 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6175 ac_need_defaults=false;;
6176 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6177 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6181 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6182 Try \`$0 --help' for more information." >&5
6183 echo "$as_me: error: unrecognized option: $1
6184 Try \`$0 --help' for more information." >&2;}
6185 { (exit 1); exit 1; }; } ;;
6187 *) ac_config_targets="$ac_config_targets $1" ;;
6193 ac_configure_extra_args=
6195 if $ac_cs_silent; then
6197 ac_configure_extra_args="$ac_configure_extra_args --silent"
6201 cat >>$CONFIG_STATUS <<_ACEOF
6202 if \$ac_cs_recheck; then
6203 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6204 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6209 cat >>$CONFIG_STATUS <<_ACEOF
6211 # INIT-COMMANDS section.
6218 with_multisubdir="$with_multisubdir"
6219 with_multisrctop="$with_multisrctop"
6220 with_target_subdir="$with_target_subdir"
6221 ac_configure_args="${multilib_arg} ${ac_configure_args}"
6222 multi_basedir="$multi_basedir"
6223 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6225 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6231 cat >>$CONFIG_STATUS <<\_ACEOF
6232 for ac_config_target in $ac_config_targets
6234 case "$ac_config_target" in
6235 # Handling of arguments.
6236 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6237 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
6238 "testsuite/mfconfig.exp" ) CONFIG_FILES="$CONFIG_FILES testsuite/mfconfig.exp" ;;
6239 "mf-runtime.h" ) CONFIG_FILES="$CONFIG_FILES mf-runtime.h" ;;
6240 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
6241 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6242 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6243 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6244 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6245 { (exit 1); exit 1; }; };;
6249 # If the user did not use the arguments to specify the items to instantiate,
6250 # then the envvar interface is used. Set only those that are not.
6251 # We use the long form for the default assignment because of an extremely
6252 # bizarre bug on SunOS 4.1.3.
6253 if $ac_need_defaults; then
6254 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6255 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6256 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6259 # Have a temporary directory for convenience. Make it in the build tree
6260 # simply because there is no reason to put it here, and in addition,
6261 # creating and moving files from /tmp can sometimes cause problems.
6262 # Create a temporary directory, and hook for its removal unless debugging.
6265 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6266 trap '{ (exit 1); exit 1; }' 1 2 13 15
6269 # Create a (secure) tmp directory for tmp files.
6272 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6273 test -n "$tmp" && test -d "$tmp"
6276 tmp=./confstat$$-$RANDOM
6277 (umask 077 && mkdir $tmp)
6280 echo "$me: cannot create a temporary directory in ." >&2
6281 { (exit 1); exit 1; }
6286 cat >>$CONFIG_STATUS <<_ACEOF
6289 # CONFIG_FILES section.
6292 # No need to generate the scripts if there are no CONFIG_FILES.
6293 # This happens for instance when ./config.status config.h
6294 if test -n "\$CONFIG_FILES"; then
6295 # Protect against being on the right side of a sed subst in config.status.
6296 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6297 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6298 s,@SHELL@,$SHELL,;t t
6299 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6300 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6301 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6302 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6303 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6304 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6305 s,@exec_prefix@,$exec_prefix,;t t
6306 s,@prefix@,$prefix,;t t
6307 s,@program_transform_name@,$program_transform_name,;t t
6308 s,@bindir@,$bindir,;t t
6309 s,@sbindir@,$sbindir,;t t
6310 s,@libexecdir@,$libexecdir,;t t
6311 s,@datadir@,$datadir,;t t
6312 s,@sysconfdir@,$sysconfdir,;t t
6313 s,@sharedstatedir@,$sharedstatedir,;t t
6314 s,@localstatedir@,$localstatedir,;t t
6315 s,@libdir@,$libdir,;t t
6316 s,@includedir@,$includedir,;t t
6317 s,@oldincludedir@,$oldincludedir,;t t
6318 s,@infodir@,$infodir,;t t
6319 s,@mandir@,$mandir,;t t
6320 s,@build_alias@,$build_alias,;t t
6321 s,@host_alias@,$host_alias,;t t
6322 s,@target_alias@,$target_alias,;t t
6324 s,@ECHO_C@,$ECHO_C,;t t
6325 s,@ECHO_N@,$ECHO_N,;t t
6326 s,@ECHO_T@,$ECHO_T,;t t
6328 s,@build@,$build,;t t
6329 s,@build_cpu@,$build_cpu,;t t
6330 s,@build_vendor@,$build_vendor,;t t
6331 s,@build_os@,$build_os,;t t
6333 s,@host_cpu@,$host_cpu,;t t
6334 s,@host_vendor@,$host_vendor,;t t
6335 s,@host_os@,$host_os,;t t
6336 s,@target@,$target,;t t
6337 s,@target_cpu@,$target_cpu,;t t
6338 s,@target_vendor@,$target_vendor,;t t
6339 s,@target_os@,$target_os,;t t
6340 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6341 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6342 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6343 s,@CYGPATH_W@,$CYGPATH_W,;t t
6344 s,@PACKAGE@,$PACKAGE,;t t
6345 s,@VERSION@,$VERSION,;t t
6346 s,@ACLOCAL@,$ACLOCAL,;t t
6347 s,@AUTOCONF@,$AUTOCONF,;t t
6348 s,@AUTOMAKE@,$AUTOMAKE,;t t
6349 s,@AUTOHEADER@,$AUTOHEADER,;t t
6350 s,@MAKEINFO@,$MAKEINFO,;t t
6351 s,@AMTAR@,$AMTAR,;t t
6352 s,@install_sh@,$install_sh,;t t
6353 s,@STRIP@,$STRIP,;t t
6354 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6355 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6357 s,@SET_MAKE@,$SET_MAKE,;t t
6358 s,@am__leading_dot@,$am__leading_dot,;t t
6359 s,@libtool_VERSION@,$libtool_VERSION,;t t
6360 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6361 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6362 s,@MAINT@,$MAINT,;t t
6363 s,@multi_basedir@,$multi_basedir,;t t
6365 s,@ac_ct_CC@,$ac_ct_CC,;t t
6366 s,@EXEEXT@,$EXEEXT,;t t
6367 s,@OBJEXT@,$OBJEXT,;t t
6368 s,@DEPDIR@,$DEPDIR,;t t
6369 s,@am__include@,$am__include,;t t
6370 s,@am__quote@,$am__quote,;t t
6371 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6372 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6373 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6374 s,@CCDEPMODE@,$CCDEPMODE,;t t
6375 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6376 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6377 s,@CFLAGS@,$CFLAGS,;t t
6379 s,@CPPFLAGS@,$CPPFLAGS,;t t
6380 s,@EGREP@,$EGREP,;t t
6382 s,@RANLIB@,$RANLIB,;t t
6383 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6384 s,@LIBTOOL@,$LIBTOOL,;t t
6385 s,@enable_shared@,$enable_shared,;t t
6386 s,@enable_static@,$enable_static,;t t
6387 s,@MF_HAVE_STDINT_H@,$MF_HAVE_STDINT_H,;t t
6388 s,@MF_HAVE_UINTPTR_T@,$MF_HAVE_UINTPTR_T,;t t
6389 s,@LIBMUDFLAPTH_TRUE@,$LIBMUDFLAPTH_TRUE,;t t
6390 s,@LIBMUDFLAPTH_FALSE@,$LIBMUDFLAPTH_FALSE,;t t
6391 s,@build_libmudflapth@,$build_libmudflapth,;t t
6392 s,@gcc_version@,$gcc_version,;t t
6393 s,@toolexecdir@,$toolexecdir,;t t
6394 s,@toolexeclibdir@,$toolexeclibdir,;t t
6396 s,@ac_ct_NM@,$ac_ct_NM,;t t
6397 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
6398 s,@LIBOBJS@,$LIBOBJS,;t t
6399 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6404 cat >>$CONFIG_STATUS <<\_ACEOF
6405 # Split the substitutions into bite-sized pieces for seds with
6406 # small command number limits, like on Digital OSF/1 and HP-UX.
6408 ac_sed_frag=1 # Number of current file.
6409 ac_beg=1 # First line for current file.
6410 ac_end=$ac_max_sed_lines # Line after last line for current file.
6413 while $ac_more_lines; do
6414 if test $ac_beg -gt 1; then
6415 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6417 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6419 if test ! -s $tmp/subs.frag; then
6422 # The purpose of the label and of the branching condition is to
6423 # speed up the sed processing (if there are no `@' at all, there
6424 # is no need to browse any of the substitutions).
6425 # These are the two extra sed commands mentioned above.
6427 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6428 if test -z "$ac_sed_cmds"; then
6429 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6431 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6433 ac_sed_frag=`expr $ac_sed_frag + 1`
6435 ac_end=`expr $ac_end + $ac_max_sed_lines`
6438 if test -z "$ac_sed_cmds"; then
6441 fi # test -n "$CONFIG_FILES"
6444 cat >>$CONFIG_STATUS <<\_ACEOF
6445 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6446 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6448 - | *:- | *:-:* ) # input from stdin
6450 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6451 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6452 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6453 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6454 * ) ac_file_in=$ac_file.in ;;
6457 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6458 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6459 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6460 X"$ac_file" : 'X\(//\)[^/]' \| \
6461 X"$ac_file" : 'X\(//\)$' \| \
6462 X"$ac_file" : 'X\(/\)' \| \
6463 . : '\(.\)' 2>/dev/null ||
6465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6466 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6467 /^X\(\/\/\)$/{ s//\1/; q; }
6468 /^X\(\/\).*/{ s//\1/; q; }
6470 { if $as_mkdir_p; then
6475 while test ! -d "$as_dir"; do
6476 as_dirs="$as_dir $as_dirs"
6477 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6478 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6479 X"$as_dir" : 'X\(//\)[^/]' \| \
6480 X"$as_dir" : 'X\(//\)$' \| \
6481 X"$as_dir" : 'X\(/\)' \| \
6482 . : '\(.\)' 2>/dev/null ||
6484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6485 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6486 /^X\(\/\/\)$/{ s//\1/; q; }
6487 /^X\(\/\).*/{ s//\1/; q; }
6490 test ! -n "$as_dirs" || mkdir $as_dirs
6491 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6492 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6493 { (exit 1); exit 1; }; }; }
6497 if test "$ac_dir" != .; then
6498 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6499 # A "../" for each directory in $ac_dir_suffix.
6500 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6502 ac_dir_suffix= ac_top_builddir=
6506 .) # No --srcdir option. We are building in place.
6508 if test -z "$ac_top_builddir"; then
6511 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6513 [\\/]* | ?:[\\/]* ) # Absolute path.
6514 ac_srcdir=$srcdir$ac_dir_suffix;
6515 ac_top_srcdir=$srcdir ;;
6517 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6518 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6520 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6522 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6523 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6524 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6525 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6529 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6530 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6533 if test x"$ac_file" != x-; then
6534 { echo "$as_me:$LINENO: creating $ac_file" >&5
6535 echo "$as_me: creating $ac_file" >&6;}
6538 # Let's still pretend it is `configure' which instantiates (i.e., don't
6539 # use $as_me), people would be surprised to read:
6540 # /* config.h. Generated by config.status. */
6541 if test x"$ac_file" = x-; then
6544 configure_input="$ac_file. "
6546 configure_input=$configure_input"Generated from `echo $ac_file_in |
6547 sed 's,.*/,,'` by configure."
6549 # First look for the input files in the build tree, otherwise in the
6551 ac_file_inputs=`IFS=:
6552 for f in $ac_file_in; do
6554 -) echo $tmp/stdin ;;
6556 # Absolute (can't be DOS-style, as IFS=:)
6557 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6558 echo "$as_me: error: cannot find input file: $f" >&2;}
6559 { (exit 1); exit 1; }; }
6562 if test -f "$f"; then
6565 elif test -f "$srcdir/$f"; then
6570 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6571 echo "$as_me: error: cannot find input file: $f" >&2;}
6572 { (exit 1); exit 1; }; }
6575 done` || { (exit 1); exit 1; }
6577 cat >>$CONFIG_STATUS <<_ACEOF
6581 cat >>$CONFIG_STATUS <<\_ACEOF
6583 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6584 s,@configure_input@,$configure_input,;t t
6585 s,@srcdir@,$ac_srcdir,;t t
6586 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6587 s,@top_srcdir@,$ac_top_srcdir,;t t
6588 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6589 s,@builddir@,$ac_builddir,;t t
6590 s,@abs_builddir@,$ac_abs_builddir,;t t
6591 s,@top_builddir@,$ac_top_builddir,;t t
6592 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6593 s,@INSTALL@,$ac_INSTALL,;t t
6594 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6596 if test x"$ac_file" != x-; then
6597 mv $tmp/out $ac_file
6605 cat >>$CONFIG_STATUS <<\_ACEOF
6608 # CONFIG_HEADER section.
6611 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6612 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6614 # ac_d sets the value in "#define NAME VALUE" lines.
6615 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6616 ac_dB='[ ].*$,\1#\2'
6619 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6620 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6621 ac_uB='$,\1#\2define\3'
6625 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6626 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6628 - | *:- | *:-:* ) # input from stdin
6630 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6631 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6632 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6633 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6634 * ) ac_file_in=$ac_file.in ;;
6637 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6638 echo "$as_me: creating $ac_file" >&6;}
6640 # First look for the input files in the build tree, otherwise in the
6642 ac_file_inputs=`IFS=:
6643 for f in $ac_file_in; do
6645 -) echo $tmp/stdin ;;
6647 # Absolute (can't be DOS-style, as IFS=:)
6648 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6649 echo "$as_me: error: cannot find input file: $f" >&2;}
6650 { (exit 1); exit 1; }; }
6653 if test -f "$f"; then
6656 elif test -f "$srcdir/$f"; then
6661 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6662 echo "$as_me: error: cannot find input file: $f" >&2;}
6663 { (exit 1); exit 1; }; }
6666 done` || { (exit 1); exit 1; }
6667 # Remove the trailing spaces.
6668 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6672 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6673 # `conftest.undefs', that substitutes the proper values into
6674 # config.h.in to produce config.h. The first handles `#define'
6675 # templates, and the second `#undef' templates.
6676 # And first: Protect against being on the right side of a sed subst in
6677 # config.status. Protect against being in an unquoted here document
6679 rm -f conftest.defines conftest.undefs
6680 # Using a here document instead of a string reduces the quoting nightmare.
6681 # Putting comments in sed scripts is not portable.
6683 # `end' is used to avoid that the second main sed command (meant for
6684 # 0-ary CPP macros) applies to n-ary macro definitions.
6685 # See the Autoconf documentation for `clear'.
6686 cat >confdef2sed.sed <<\_ACEOF
6691 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6693 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6696 # If some macros were called several times there might be several times
6697 # the same #defines, which is useless. Nevertheless, we may not want to
6698 # sort them, since we want the *last* AC-DEFINE to be honored.
6699 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6700 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6701 rm -f confdef2sed.sed
6703 # This sed command replaces #undef with comments. This is necessary, for
6704 # example, in the case of _POSIX_SOURCE, which is predefined and required
6705 # on some systems where configure will not decide to define it.
6706 cat >>conftest.undefs <<\_ACEOF
6707 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6710 # Break up conftest.defines because some shells have a limit on the size
6711 # of here documents, and old seds have small limits too (100 cmds).
6712 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6713 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6714 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6715 echo ' :' >>$CONFIG_STATUS
6717 while grep . conftest.defines >/dev/null
6719 # Write a limited-size here document to $tmp/defines.sed.
6720 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6721 # Speed up: don't consider the non `#define' lines.
6722 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6723 # Work around the forget-to-reset-the-flag bug.
6724 echo 't clr' >>$CONFIG_STATUS
6725 echo ': clr' >>$CONFIG_STATUS
6726 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6728 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6732 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6733 rm -f conftest.defines
6734 mv conftest.tail conftest.defines
6736 rm -f conftest.defines
6737 echo ' fi # grep' >>$CONFIG_STATUS
6738 echo >>$CONFIG_STATUS
6740 # Break up conftest.undefs because some shells have a limit on the size
6741 # of here documents, and old seds have small limits too (100 cmds).
6742 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6744 while grep . conftest.undefs >/dev/null
6746 # Write a limited-size here document to $tmp/undefs.sed.
6747 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6748 # Speed up: don't consider the non `#undef'
6749 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6750 # Work around the forget-to-reset-the-flag bug.
6751 echo 't clr' >>$CONFIG_STATUS
6752 echo ': clr' >>$CONFIG_STATUS
6753 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6755 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6759 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6760 rm -f conftest.undefs
6761 mv conftest.tail conftest.undefs
6763 rm -f conftest.undefs
6765 cat >>$CONFIG_STATUS <<\_ACEOF
6766 # Let's still pretend it is `configure' which instantiates (i.e., don't
6767 # use $as_me), people would be surprised to read:
6768 # /* config.h. Generated by config.status. */
6769 if test x"$ac_file" = x-; then
6770 echo "/* Generated by configure. */" >$tmp/config.h
6772 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6774 cat $tmp/in >>$tmp/config.h
6776 if test x"$ac_file" != x-; then
6777 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6778 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6779 echo "$as_me: $ac_file is unchanged" >&6;}
6781 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6782 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6783 X"$ac_file" : 'X\(//\)[^/]' \| \
6784 X"$ac_file" : 'X\(//\)$' \| \
6785 X"$ac_file" : 'X\(/\)' \| \
6786 . : '\(.\)' 2>/dev/null ||
6788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6789 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6790 /^X\(\/\/\)$/{ s//\1/; q; }
6791 /^X\(\/\).*/{ s//\1/; q; }
6793 { if $as_mkdir_p; then
6798 while test ! -d "$as_dir"; do
6799 as_dirs="$as_dir $as_dirs"
6800 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6801 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6802 X"$as_dir" : 'X\(//\)[^/]' \| \
6803 X"$as_dir" : 'X\(//\)$' \| \
6804 X"$as_dir" : 'X\(/\)' \| \
6805 . : '\(.\)' 2>/dev/null ||
6807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6808 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6809 /^X\(\/\/\)$/{ s//\1/; q; }
6810 /^X\(\/\).*/{ s//\1/; q; }
6813 test ! -n "$as_dirs" || mkdir $as_dirs
6814 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6815 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6816 { (exit 1); exit 1; }; }; }
6819 mv $tmp/config.h $ac_file
6825 # Compute $ac_file's index in $config_headers.
6827 for _am_header in $config_headers :; do
6829 $ac_file | $ac_file:* )
6832 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6835 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6836 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6837 X$ac_file : 'X\(//\)[^/]' \| \
6838 X$ac_file : 'X\(//\)$' \| \
6839 X$ac_file : 'X\(/\)' \| \
6840 . : '\(.\)' 2>/dev/null ||
6842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6843 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6844 /^X\(\/\/\)$/{ s//\1/; q; }
6845 /^X\(\/\).*/{ s//\1/; q; }
6846 s/.*/./; q'`/stamp-h$_am_stamp_count
6849 cat >>$CONFIG_STATUS <<\_ACEOF
6852 # CONFIG_COMMANDS section.
6854 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6855 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6856 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6857 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6858 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6859 X"$ac_dest" : 'X\(//\)[^/]' \| \
6860 X"$ac_dest" : 'X\(//\)$' \| \
6861 X"$ac_dest" : 'X\(/\)' \| \
6862 . : '\(.\)' 2>/dev/null ||
6864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6866 /^X\(\/\/\)$/{ s//\1/; q; }
6867 /^X\(\/\).*/{ s//\1/; q; }
6871 if test "$ac_dir" != .; then
6872 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6873 # A "../" for each directory in $ac_dir_suffix.
6874 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6876 ac_dir_suffix= ac_top_builddir=
6880 .) # No --srcdir option. We are building in place.
6882 if test -z "$ac_top_builddir"; then
6885 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6887 [\\/]* | ?:[\\/]* ) # Absolute path.
6888 ac_srcdir=$srcdir$ac_dir_suffix;
6889 ac_top_srcdir=$srcdir ;;
6891 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6892 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6894 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6896 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6897 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6898 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6899 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6902 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6903 echo "$as_me: executing $ac_dest commands" >&6;}
6906 # Only add multilib support code if we just rebuilt the top-level
6908 case " $CONFIG_FILES " in
6910 ac_file=Makefile . ${multi_basedir}/config-ml.in
6913 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6914 # Strip MF so we end up with the name of the file.
6915 mf=`echo "$mf" | sed -e 's/:.*$//'`
6916 # Check whether this is an Automake generated Makefile or not.
6917 # We used to match only the files named `Makefile.in', but
6918 # some people rename them; so instead we look at the file content.
6919 # Grep'ing the first line is not enough: some people post-process
6920 # each Makefile.in and add a new line on top of each file to say so.
6921 # So let's grep whole file.
6922 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6923 dirpart=`(dirname "$mf") 2>/dev/null ||
6924 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6925 X"$mf" : 'X\(//\)[^/]' \| \
6926 X"$mf" : 'X\(//\)$' \| \
6927 X"$mf" : '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; }
6938 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6939 # Extract the definition of DEP_FILES from the Makefile without
6941 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6942 test -z "$DEPDIR" && continue
6943 # When using ansi2knr, U may be empty or an underscore; expand it
6944 U=`sed -n -e '/^U = / s///p' < "$mf"`
6945 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6946 # We invoke sed twice because it is the simplest approach to
6947 # changing $(DEPDIR) to its actual value in the expansion.
6948 for file in `sed -n -e '
6949 /^DEP_FILES = .*\\\\$/ {
6958 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6959 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6960 # Make sure the directory exists.
6961 test -f "$dirpart/$file" && continue
6962 fdir=`(dirname "$file") 2>/dev/null ||
6963 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6964 X"$file" : 'X\(//\)[^/]' \| \
6965 X"$file" : 'X\(//\)$' \| \
6966 X"$file" : 'X\(/\)' \| \
6967 . : '\(.\)' 2>/dev/null ||
6969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6970 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6971 /^X\(\/\/\)$/{ s//\1/; q; }
6972 /^X\(\/\).*/{ s//\1/; q; }
6974 { if $as_mkdir_p; then
6975 mkdir -p $dirpart/$fdir
6977 as_dir=$dirpart/$fdir
6979 while test ! -d "$as_dir"; do
6980 as_dirs="$as_dir $as_dirs"
6981 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6982 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6983 X"$as_dir" : 'X\(//\)[^/]' \| \
6984 X"$as_dir" : 'X\(//\)$' \| \
6985 X"$as_dir" : 'X\(/\)' \| \
6986 . : '\(.\)' 2>/dev/null ||
6988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6989 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6990 /^X\(\/\/\)$/{ s//\1/; q; }
6991 /^X\(\/\).*/{ s//\1/; q; }
6994 test ! -n "$as_dirs" || mkdir $as_dirs
6995 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6996 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6997 { (exit 1); exit 1; }; }; }
6999 # echo "creating $dirpart/$file"
7000 echo '# dummy' > "$dirpart/$file"
7008 cat >>$CONFIG_STATUS <<\_ACEOF
7010 { (exit 0); exit 0; }
7012 chmod +x $CONFIG_STATUS
7013 ac_clean_files=$ac_clean_files_save
7016 # configure is writing to config.log, and then calls config.status.
7017 # config.status does its own redirection, appending to config.log.
7018 # Unfortunately, on DOS this fails, as config.log is still kept open
7019 # by configure, so config.status won't be able to write to it; its
7020 # output is simply discarded. So we exec the FD to /dev/null,
7021 # effectively closing config.log, so it can be properly (re)opened and
7022 # appended to by config.status. When coming back to configure, we
7023 # need to make the FD available again.
7024 if test "$no_create" != yes; then
7026 ac_config_status_args=
7027 test "$silent" = yes &&
7028 ac_config_status_args="$ac_config_status_args --quiet"
7030 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7032 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7033 # would make configure fail if this is the last instruction.
7034 $ac_cs_success || { (exit 1); exit 1; }