2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="mf-runtime.c"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot libtool_VERSION MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS CPP CPPFLAGS EGREP LN_S RANLIB ac_ct_RANLIB LIBTOOL enable_shared enable_static MF_HAVE_STDINT_H MF_HAVE_UINTPTR_T LIBMUDFLAPTH_TRUE LIBMUDFLAPTH_FALSE gcc_version toolexecdir toolexeclibdir NM ac_ct_NM LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CPP_set=${CPP+set}
754 ac_env_CPP_value=$CPP
755 ac_cv_env_CPP_set=${CPP+set}
756 ac_cv_env_CPP_value=$CPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
763 # Report the --help message.
765 if test "$ac_init_help" = "long"; then
766 # Omit some internal or obsolete options to make the list less imposing.
767 # This message is too long to be a string in the A/UX 3.1 sh.
769 \`configure' configures this package to adapt to many kinds of systems.
771 Usage: $0 [OPTION]... [VAR=VALUE]...
773 To assign environment variables (e.g., CC, CFLAGS...), specify them as
774 VAR=VALUE. See below for descriptions of some of the useful variables.
776 Defaults for the options are specified in brackets.
779 -h, --help display this help and exit
780 --help=short display options specific to this package
781 --help=recursive display the short help of all the included packages
782 -V, --version display version information and exit
783 -q, --quiet, --silent do not print \`checking...' messages
784 --cache-file=FILE cache test results in FILE [disabled]
785 -C, --config-cache alias for \`--cache-file=config.cache'
786 -n, --no-create do not create output files
787 --srcdir=DIR find the sources in DIR [configure dir or \`..']
792 Installation directories:
793 --prefix=PREFIX install architecture-independent files in PREFIX
795 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
798 By default, \`make install' will install all the files in
799 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
800 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
801 for instance \`--prefix=\$HOME'.
803 For better control, use the options below.
805 Fine tuning of the installation directories:
806 --bindir=DIR user executables [EPREFIX/bin]
807 --sbindir=DIR system admin executables [EPREFIX/sbin]
808 --libexecdir=DIR program executables [EPREFIX/libexec]
809 --datadir=DIR read-only architecture-independent data [PREFIX/share]
810 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
811 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
812 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
813 --libdir=DIR object code libraries [EPREFIX/lib]
814 --includedir=DIR C header files [PREFIX/include]
815 --oldincludedir=DIR C header files for non-gcc [/usr/include]
816 --infodir=DIR info documentation [PREFIX/info]
817 --mandir=DIR man documentation [PREFIX/man]
823 --program-prefix=PREFIX prepend PREFIX to installed program names
824 --program-suffix=SUFFIX append SUFFIX to installed program names
825 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
828 --build=BUILD configure for building on BUILD [guessed]
829 --host=HOST cross-compile to build programs to run on HOST [BUILD]
830 --target=TARGET configure for building compilers for TARGET [HOST]
834 if test -n "$ac_init_help"; then
839 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
840 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
841 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
842 --enable-maintainer-mode enable make rules and dependencies not useful
843 (and sometimes confusing) to the casual installer
844 --enable-multilib build many library versions (default)
845 --disable-dependency-tracking speeds up one-time build
846 --enable-dependency-tracking do not reject slow dependency extractors
847 --enable-shared=PKGS build shared libraries default=yes
848 --enable-static=PKGS build static libraries default=yes
849 --enable-fast-install=PKGS optimize for fast installation default=yes
850 --disable-libtool-lock avoid locking (might break parallel builds)
853 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
854 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
855 --with-gnu-ld assume the C compiler uses GNU ld default=no
856 --with-pic try to use only PIC/non-PIC objects default=use both
858 Some influential environment variables:
859 CC C compiler command
860 CFLAGS C compiler flags
861 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
862 nonstandard directory <lib dir>
863 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
864 headers in a nonstandard directory <include dir>
867 Use these variables to override the choices made by `configure' or to help
868 it to find libraries and programs with nonstandard names/locations.
873 if test "$ac_init_help" = "recursive"; then
874 # If there are subdirs, report their specific --help.
876 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
877 test -d $ac_dir || continue
880 if test "$ac_dir" != .; then
881 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
882 # A "../" for each directory in $ac_dir_suffix.
883 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
885 ac_dir_suffix= ac_top_builddir=
889 .) # No --srcdir option. We are building in place.
891 if test -z "$ac_top_builddir"; then
894 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
896 [\\/]* | ?:[\\/]* ) # Absolute path.
897 ac_srcdir=$srcdir$ac_dir_suffix;
898 ac_top_srcdir=$srcdir ;;
900 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
901 ac_top_srcdir=$ac_top_builddir$srcdir ;;
904 # Do not use `cd foo && pwd` to compute absolute paths, because
905 # the directories may not exist.
907 .) ac_abs_builddir="$ac_dir";;
910 .) ac_abs_builddir=`pwd`;;
911 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
912 *) ac_abs_builddir=`pwd`/"$ac_dir";;
915 case $ac_abs_builddir in
916 .) ac_abs_top_builddir=${ac_top_builddir}.;;
918 case ${ac_top_builddir}. in
919 .) ac_abs_top_builddir=$ac_abs_builddir;;
920 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
921 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
924 case $ac_abs_builddir in
925 .) ac_abs_srcdir=$ac_srcdir;;
928 .) ac_abs_srcdir=$ac_abs_builddir;;
929 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
930 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
933 case $ac_abs_builddir in
934 .) ac_abs_top_srcdir=$ac_top_srcdir;;
936 case $ac_top_srcdir in
937 .) ac_abs_top_srcdir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
939 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
944 # Check for guested configure; otherwise get Cygnus style configure.
945 if test -f $ac_srcdir/configure.gnu; then
947 $SHELL $ac_srcdir/configure.gnu --help=recursive
948 elif test -f $ac_srcdir/configure; then
950 $SHELL $ac_srcdir/configure --help=recursive
951 elif test -f $ac_srcdir/configure.ac ||
952 test -f $ac_srcdir/configure.in; then
956 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
962 test -n "$ac_init_help" && exit 0
963 if $ac_init_version; then
966 Copyright (C) 2003 Free Software Foundation, Inc.
967 This configure script is free software; the Free Software Foundation
968 gives unlimited permission to copy, distribute and modify it.
974 This file contains any messages produced by compilers while
975 running configure, to aid debugging if configure makes a mistake.
977 It was created by $as_me, which was
978 generated by GNU Autoconf 2.59. Invocation command line was
989 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
990 uname -m = `(uname -m) 2>/dev/null || echo unknown`
991 uname -r = `(uname -r) 2>/dev/null || echo unknown`
992 uname -s = `(uname -s) 2>/dev/null || echo unknown`
993 uname -v = `(uname -v) 2>/dev/null || echo unknown`
995 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
996 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
998 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
999 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1000 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1001 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1002 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1003 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1004 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1012 test -z "$as_dir" && as_dir=.
1013 echo "PATH: $as_dir"
1028 # Keep a trace of the command line.
1029 # Strip out --no-create and --no-recursion so they do not pile up.
1030 # Strip out --silent because we don't want to record it for future runs.
1031 # Also quote any args containing shell meta-characters.
1032 # Make two passes to allow for proper duplicate-argument suppression.
1037 ac_must_keep_next=false
1043 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1044 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1045 | -silent | --silent | --silen | --sile | --sil)
1047 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1048 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1051 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1053 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1054 if test $ac_must_keep_next = true; then
1055 ac_must_keep_next=false # Got value, back to normal.
1058 *=* | --config-cache | -C | -disable-* | --disable-* \
1059 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1060 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1061 | -with-* | --with-* | -without-* | --without-* | --x)
1062 case "$ac_configure_args0 " in
1063 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1066 -* ) ac_must_keep_next=true ;;
1069 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1070 # Get rid of the leading space.
1076 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1077 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1079 # When interrupted or exit'd, cleanup temporary files, and complete
1080 # config.log. We remove comments because anyway the quotes in there
1081 # would cause problems or look ugly.
1082 # WARNING: Be sure not to use single quotes in there, as some shells,
1083 # such as our DU 5.0 friend, will then `close' the trap.
1084 trap 'exit_status=$?
1085 # Save into config.log some information that might help in debugging.
1090 ## ---------------- ##
1091 ## Cache variables. ##
1092 ## ---------------- ##
1095 # The following way of writing the cache mishandles newlines in values,
1098 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1101 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1102 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1106 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1113 ## ----------------- ##
1114 ## Output variables. ##
1115 ## ----------------- ##
1118 for ac_var in $ac_subst_vars
1120 eval ac_val=$`echo $ac_var`
1121 echo "$ac_var='"'"'$ac_val'"'"'"
1125 if test -n "$ac_subst_files"; then
1132 for ac_var in $ac_subst_files
1134 eval ac_val=$`echo $ac_var`
1135 echo "$ac_var='"'"'$ac_val'"'"'"
1140 if test -s confdefs.h; then
1147 sed "/^$/d" confdefs.h | sort
1150 test "$ac_signal" != 0 &&
1151 echo "$as_me: caught signal $ac_signal"
1152 echo "$as_me: exit $exit_status"
1154 rm -f core *.core &&
1155 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1158 for ac_signal in 1 2 13 15; do
1159 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1163 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1164 rm -rf conftest* confdefs.h
1165 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1168 # Predefined preprocessor variables.
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_NAME "$PACKAGE_NAME"
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_STRING "$PACKAGE_STRING"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1195 # Let the site file select an alternate cache file if it wants to.
1196 # Prefer explicitly selected file to automatically selected ones.
1197 if test -z "$CONFIG_SITE"; then
1198 if test "x$prefix" != xNONE; then
1199 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1201 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1204 for ac_site_file in $CONFIG_SITE; do
1205 if test -r "$ac_site_file"; then
1206 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1207 echo "$as_me: loading site script $ac_site_file" >&6;}
1208 sed 's/^/| /' "$ac_site_file" >&5
1213 if test -r "$cache_file"; then
1214 # Some versions of bash will fail to source /dev/null (special
1215 # files actually), so we avoid doing that.
1216 if test -f "$cache_file"; then
1217 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1218 echo "$as_me: loading cache $cache_file" >&6;}
1220 [\\/]* | ?:[\\/]* ) . $cache_file;;
1221 *) . ./$cache_file;;
1225 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1226 echo "$as_me: creating cache $cache_file" >&6;}
1230 # Check that the precious variables saved in the cache have kept the same
1232 ac_cache_corrupted=false
1233 for ac_var in `(set) 2>&1 |
1234 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1235 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1236 eval ac_new_set=\$ac_env_${ac_var}_set
1237 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1238 eval ac_new_val="\$ac_env_${ac_var}_value"
1239 case $ac_old_set,$ac_new_set in
1241 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1242 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1243 ac_cache_corrupted=: ;;
1245 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1246 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1247 ac_cache_corrupted=: ;;
1250 if test "x$ac_old_val" != "x$ac_new_val"; then
1251 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1252 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1253 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1254 echo "$as_me: former value: $ac_old_val" >&2;}
1255 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1256 echo "$as_me: current value: $ac_new_val" >&2;}
1257 ac_cache_corrupted=:
1260 # Pass precious variables to config.status.
1261 if test "$ac_new_set" = set; then
1263 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1264 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1265 *) ac_arg=$ac_var=$ac_new_val ;;
1267 case " $ac_configure_args " in
1268 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1269 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1273 if $ac_cache_corrupted; then
1274 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1275 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1276 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1277 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1278 { (exit 1); exit 1; }; }
1282 ac_cpp='$CPP $CPPFLAGS'
1283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1306 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1307 if test -f $ac_dir/install-sh; then
1309 ac_install_sh="$ac_aux_dir/install-sh -c"
1311 elif test -f $ac_dir/install.sh; then
1313 ac_install_sh="$ac_aux_dir/install.sh -c"
1315 elif test -f $ac_dir/shtool; then
1317 ac_install_sh="$ac_aux_dir/shtool install -c"
1321 if test -z "$ac_aux_dir"; then
1322 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1323 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1324 { (exit 1); exit 1; }; }
1326 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1327 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1328 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1330 # Make sure we can run config.sub.
1331 $ac_config_sub sun4 >/dev/null 2>&1 ||
1332 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1333 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1334 { (exit 1); exit 1; }; }
1336 echo "$as_me:$LINENO: checking build system type" >&5
1337 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1338 if test "${ac_cv_build+set}" = set; then
1339 echo $ECHO_N "(cached) $ECHO_C" >&6
1341 ac_cv_build_alias=$build_alias
1342 test -z "$ac_cv_build_alias" &&
1343 ac_cv_build_alias=`$ac_config_guess`
1344 test -z "$ac_cv_build_alias" &&
1345 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1346 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1347 { (exit 1); exit 1; }; }
1348 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1349 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1350 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1351 { (exit 1); exit 1; }; }
1354 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1355 echo "${ECHO_T}$ac_cv_build" >&6
1357 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1358 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1359 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1362 echo "$as_me:$LINENO: checking host system type" >&5
1363 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1364 if test "${ac_cv_host+set}" = set; then
1365 echo $ECHO_N "(cached) $ECHO_C" >&6
1367 ac_cv_host_alias=$host_alias
1368 test -z "$ac_cv_host_alias" &&
1369 ac_cv_host_alias=$ac_cv_build_alias
1370 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1371 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1372 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1373 { (exit 1); exit 1; }; }
1376 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1377 echo "${ECHO_T}$ac_cv_host" >&6
1379 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1380 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1381 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1384 echo "$as_me:$LINENO: checking target system type" >&5
1385 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1386 if test "${ac_cv_target+set}" = set; then
1387 echo $ECHO_N "(cached) $ECHO_C" >&6
1389 ac_cv_target_alias=$target_alias
1390 test "x$ac_cv_target_alias" = "x" &&
1391 ac_cv_target_alias=$ac_cv_host_alias
1392 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1393 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1394 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1395 { (exit 1); exit 1; }; }
1398 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1399 echo "${ECHO_T}$ac_cv_target" >&6
1400 target=$ac_cv_target
1401 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1402 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1403 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1406 # The aliases save the names the user supplied, while $host etc.
1407 # will get canonicalized.
1408 test -n "$target_alias" &&
1409 test "$program_prefix$program_suffix$program_transform_name" = \
1411 program_prefix=${target_alias}-
1412 am__api_version="1.8"
1413 # Find a good install program. We prefer a C program (faster),
1414 # so one script is as good as another. But avoid the broken or
1415 # incompatible versions:
1416 # SysV /etc/install, /usr/sbin/install
1417 # SunOS /usr/etc/install
1418 # IRIX /sbin/install
1420 # AmigaOS /C/install, which installs bootblocks on floppy discs
1421 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1422 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1423 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1424 # OS/2's system install, which has a completely different semantic
1425 # ./install, which can be erroneously created by make from ./install.sh.
1426 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1427 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1428 if test -z "$INSTALL"; then
1429 if test "${ac_cv_path_install+set}" = set; then
1430 echo $ECHO_N "(cached) $ECHO_C" >&6
1432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1436 test -z "$as_dir" && as_dir=.
1437 # Account for people who put trailing slashes in PATH elements.
1439 ./ | .// | /cC/* | \
1440 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1441 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1444 # OSF1 and SCO ODT 3.0 have their own names for install.
1445 # Don't use installbsd from OSF since it installs stuff as root
1447 for ac_prog in ginstall scoinst install; do
1448 for ac_exec_ext in '' $ac_executable_extensions; do
1449 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1450 if test $ac_prog = install &&
1451 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1452 # AIX install. It has an incompatible calling convention.
1454 elif test $ac_prog = install &&
1455 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1456 # program-specific install script used by HP pwplus--don't use.
1459 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1471 if test "${ac_cv_path_install+set}" = set; then
1472 INSTALL=$ac_cv_path_install
1474 # As a last resort, use the slow shell script. We don't cache a
1475 # path for INSTALL within a source directory, because that will
1476 # break other packages using the cache if that directory is
1477 # removed, or if the path is relative.
1478 INSTALL=$ac_install_sh
1481 echo "$as_me:$LINENO: result: $INSTALL" >&5
1482 echo "${ECHO_T}$INSTALL" >&6
1484 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1485 # It thinks the first close brace ends the variable substitution.
1486 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1488 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1490 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1492 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1493 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1496 echo timestamp > conftest.file
1497 # Do `set' in a subshell so we don't clobber the current shell's
1498 # arguments. Must try -L first in case configure is actually a
1499 # symlink; some systems play weird games with the mod time of symlinks
1500 # (eg FreeBSD returns the mod time of the symlink's containing
1503 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1504 if test "$*" = "X"; then
1506 set X `ls -t $srcdir/configure conftest.file`
1509 if test "$*" != "X $srcdir/configure conftest.file" \
1510 && test "$*" != "X conftest.file $srcdir/configure"; then
1512 # If neither matched, then we have a broken ls. This can happen
1513 # if, for instance, CONFIG_SHELL is bash and it inherits a
1514 # broken ls alias from the environment. This has actually
1515 # happened. Such a system could not be considered "sane".
1516 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1517 alias in your environment" >&5
1518 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1519 alias in your environment" >&2;}
1520 { (exit 1); exit 1; }; }
1523 test "$2" = conftest.file
1529 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1530 Check your system clock" >&5
1531 echo "$as_me: error: newly created file is older than distributed files!
1532 Check your system clock" >&2;}
1533 { (exit 1); exit 1; }; }
1535 echo "$as_me:$LINENO: result: yes" >&5
1536 echo "${ECHO_T}yes" >&6
1537 test "$program_prefix" != NONE &&
1538 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1539 # Use a double $ so make ignores it.
1540 test "$program_suffix" != NONE &&
1541 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1542 # Double any \ or $. echo might interpret backslashes.
1543 # By default was `s,x,x', remove it if useless.
1544 cat <<\_ACEOF >conftest.sed
1545 s/[\\$]/&&/g;s/;s,x,x,$//
1547 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1550 # expand $ac_aux_dir to an absolute path
1551 am_aux_dir=`cd $ac_aux_dir && pwd`
1553 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1554 # Use eval to expand $SHELL
1555 if eval "$MISSING --run true"; then
1556 am_missing_run="$MISSING --run "
1559 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1560 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1563 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1564 # Keeping the `.' argument allows $(mkdir_p) to be used without
1565 # argument. Indeed, we sometimes output rules like
1566 # $(mkdir_p) $(somedir)
1567 # where $(somedir) is conditionally defined.
1568 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1569 # expensive solution, as it forces Make to start a sub-shell.)
1570 mkdir_p='mkdir -p -- .'
1572 # On NextStep and OpenStep, the `mkdir' command does not
1573 # recognize any option. It will interpret all options as
1574 # directories to create, and then abort because `.' already
1576 for d in ./-p ./--version;
1578 test -d $d && rmdir $d
1580 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1581 if test -f "$ac_aux_dir/mkinstalldirs"; then
1582 mkdir_p='$(mkinstalldirs)'
1584 mkdir_p='$(install_sh) -d'
1588 for ac_prog in gawk mawk nawk awk
1590 # Extract the first word of "$ac_prog", so it can be a program name with args.
1591 set dummy $ac_prog; ac_word=$2
1592 echo "$as_me:$LINENO: checking for $ac_word" >&5
1593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1594 if test "${ac_cv_prog_AWK+set}" = set; then
1595 echo $ECHO_N "(cached) $ECHO_C" >&6
1597 if test -n "$AWK"; then
1598 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1604 test -z "$as_dir" && as_dir=.
1605 for ac_exec_ext in '' $ac_executable_extensions; do
1606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1607 ac_cv_prog_AWK="$ac_prog"
1608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1617 if test -n "$AWK"; then
1618 echo "$as_me:$LINENO: result: $AWK" >&5
1619 echo "${ECHO_T}$AWK" >&6
1621 echo "$as_me:$LINENO: result: no" >&5
1622 echo "${ECHO_T}no" >&6
1625 test -n "$AWK" && break
1628 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1629 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1630 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1631 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1632 echo $ECHO_N "(cached) $ECHO_C" >&6
1634 cat >conftest.make <<\_ACEOF
1636 @echo 'ac_maketemp="$(MAKE)"'
1638 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1639 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1640 if test -n "$ac_maketemp"; then
1641 eval ac_cv_prog_make_${ac_make}_set=yes
1643 eval ac_cv_prog_make_${ac_make}_set=no
1647 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1648 echo "$as_me:$LINENO: result: yes" >&5
1649 echo "${ECHO_T}yes" >&6
1652 echo "$as_me:$LINENO: result: no" >&5
1653 echo "${ECHO_T}no" >&6
1654 SET_MAKE="MAKE=${MAKE-make}"
1657 rm -rf .tst 2>/dev/null
1658 mkdir .tst 2>/dev/null
1659 if test -d .tst; then
1664 rmdir .tst 2>/dev/null
1666 # test to see if srcdir already configured
1667 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1668 test -f $srcdir/config.status; then
1669 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1670 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1671 { (exit 1); exit 1; }; }
1674 # test whether we have cygpath
1675 if test -z "$CYGPATH_W"; then
1676 if (cygpath --version) >/dev/null 2>/dev/null; then
1677 CYGPATH_W='cygpath -w'
1684 # Define the identity of the package.
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE "$PACKAGE"
1694 cat >>confdefs.h <<_ACEOF
1695 #define VERSION "$VERSION"
1698 # Some tools Automake needs.
1700 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1703 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1706 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1709 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1712 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1715 AMTAR=${AMTAR-"${am_missing_run}tar"}
1717 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1719 # Installed binaries are usually stripped using `strip' when the user
1720 # run `make install-strip'. However `strip' might not be the right
1721 # tool to use in cross-compilation environments, therefore Automake
1722 # will honor the `STRIP' environment variable to overrule this program.
1723 if test "$cross_compiling" != no; then
1724 if test -n "$ac_tool_prefix"; then
1725 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1726 set dummy ${ac_tool_prefix}strip; ac_word=$2
1727 echo "$as_me:$LINENO: checking for $ac_word" >&5
1728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1729 if test "${ac_cv_prog_STRIP+set}" = set; then
1730 echo $ECHO_N "(cached) $ECHO_C" >&6
1732 if test -n "$STRIP"; then
1733 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1739 test -z "$as_dir" && as_dir=.
1740 for ac_exec_ext in '' $ac_executable_extensions; do
1741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1742 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1751 STRIP=$ac_cv_prog_STRIP
1752 if test -n "$STRIP"; then
1753 echo "$as_me:$LINENO: result: $STRIP" >&5
1754 echo "${ECHO_T}$STRIP" >&6
1756 echo "$as_me:$LINENO: result: no" >&5
1757 echo "${ECHO_T}no" >&6
1761 if test -z "$ac_cv_prog_STRIP"; then
1763 # Extract the first word of "strip", so it can be a program name with args.
1764 set dummy strip; ac_word=$2
1765 echo "$as_me:$LINENO: checking for $ac_word" >&5
1766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1767 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1768 echo $ECHO_N "(cached) $ECHO_C" >&6
1770 if test -n "$ac_ct_STRIP"; then
1771 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 test -z "$as_dir" && as_dir=.
1778 for ac_exec_ext in '' $ac_executable_extensions; do
1779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1780 ac_cv_prog_ac_ct_STRIP="strip"
1781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1787 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1790 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1791 if test -n "$ac_ct_STRIP"; then
1792 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1793 echo "${ECHO_T}$ac_ct_STRIP" >&6
1795 echo "$as_me:$LINENO: result: no" >&5
1796 echo "${ECHO_T}no" >&6
1801 STRIP="$ac_cv_prog_STRIP"
1805 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1807 # We need awk for the "check" target. The system "awk" is bad on
1814 # For libtool versioning info, format is CURRENT:REVISION:AGE
1815 libtool_VERSION=1:0:0
1818 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1819 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1820 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1821 if test "${enable_version_specific_runtime_libs+set}" = set; then
1822 enableval="$enable_version_specific_runtime_libs"
1823 case "$enableval" in
1824 yes) version_specific_libs=yes ;;
1825 no) version_specific_libs=no ;;
1826 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1827 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1828 { (exit 1); exit 1; }; };;
1831 version_specific_libs=no
1833 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1834 echo "${ECHO_T}$version_specific_libs" >&6
1836 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1837 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1838 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1839 if test "${enable_maintainer_mode+set}" = set; then
1840 enableval="$enable_maintainer_mode"
1841 USE_MAINTAINER_MODE=$enableval
1843 USE_MAINTAINER_MODE=no
1845 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1846 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1849 if test $USE_MAINTAINER_MODE = yes; then
1850 MAINTAINER_MODE_TRUE=
1851 MAINTAINER_MODE_FALSE='#'
1853 MAINTAINER_MODE_TRUE='#'
1854 MAINTAINER_MODE_FALSE=
1857 MAINT=$MAINTAINER_MODE_TRUE
1862 # Default to --enable-multilib
1863 # Check whether --enable-multilib or --disable-multilib was given.
1864 if test "${enable_multilib+set}" = set; then
1865 enableval="$enable_multilib"
1866 case "$enableval" in
1867 yes) multilib=yes ;;
1869 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1870 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1871 { (exit 1); exit 1; }; } ;;
1877 # We may get other options which we leave undocumented:
1878 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1879 # See config-ml.in if you want the gory details.
1881 if test "$srcdir" = "."; then
1882 if test "$with_target_subdir" != "."; then
1883 multi_basedir="$srcdir/$with_multisrctop../.."
1885 multi_basedir="$srcdir/$with_multisrctop.."
1888 multi_basedir="$srcdir/.."
1892 ac_config_commands="$ac_config_commands default-1"
1895 target_alias=${target_alias-$target}
1898 ac_config_headers="$ac_config_headers config.h"
1902 ac_cpp='$CPP $CPPFLAGS'
1903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1907 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1908 # We must force CC to /not/ be precious variables; otherwise
1909 # the wrong, non-multilib-adjusted value will be used in multilibs.
1910 # As a side effect, we have to subst CFLAGS ourselves.
1915 ac_cpp='$CPP $CPPFLAGS'
1916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1919 if test -n "$ac_tool_prefix"; then
1920 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1921 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1922 echo "$as_me:$LINENO: checking for $ac_word" >&5
1923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1924 if test "${ac_cv_prog_CC+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
1927 if test -n "$CC"; then
1928 ac_cv_prog_CC="$CC" # Let the user override the test.
1930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1934 test -z "$as_dir" && as_dir=.
1935 for ac_exec_ext in '' $ac_executable_extensions; do
1936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1937 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1947 if test -n "$CC"; then
1948 echo "$as_me:$LINENO: result: $CC" >&5
1949 echo "${ECHO_T}$CC" >&6
1951 echo "$as_me:$LINENO: result: no" >&5
1952 echo "${ECHO_T}no" >&6
1956 if test -z "$ac_cv_prog_CC"; then
1958 # Extract the first word of "gcc", so it can be a program name with args.
1959 set dummy gcc; ac_word=$2
1960 echo "$as_me:$LINENO: checking for $ac_word" >&5
1961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1962 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1963 echo $ECHO_N "(cached) $ECHO_C" >&6
1965 if test -n "$ac_ct_CC"; then
1966 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1972 test -z "$as_dir" && as_dir=.
1973 for ac_exec_ext in '' $ac_executable_extensions; do
1974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1975 ac_cv_prog_ac_ct_CC="gcc"
1976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1984 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1985 if test -n "$ac_ct_CC"; then
1986 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1987 echo "${ECHO_T}$ac_ct_CC" >&6
1989 echo "$as_me:$LINENO: result: no" >&5
1990 echo "${ECHO_T}no" >&6
1998 if test -z "$CC"; then
1999 if test -n "$ac_tool_prefix"; then
2000 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2001 set dummy ${ac_tool_prefix}cc; ac_word=$2
2002 echo "$as_me:$LINENO: checking for $ac_word" >&5
2003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2004 if test "${ac_cv_prog_CC+set}" = set; then
2005 echo $ECHO_N "(cached) $ECHO_C" >&6
2007 if test -n "$CC"; then
2008 ac_cv_prog_CC="$CC" # Let the user override the test.
2010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2014 test -z "$as_dir" && as_dir=.
2015 for ac_exec_ext in '' $ac_executable_extensions; do
2016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2017 ac_cv_prog_CC="${ac_tool_prefix}cc"
2018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2027 if test -n "$CC"; then
2028 echo "$as_me:$LINENO: result: $CC" >&5
2029 echo "${ECHO_T}$CC" >&6
2031 echo "$as_me:$LINENO: result: no" >&5
2032 echo "${ECHO_T}no" >&6
2036 if test -z "$ac_cv_prog_CC"; then
2038 # Extract the first word of "cc", so it can be a program name with args.
2039 set dummy cc; ac_word=$2
2040 echo "$as_me:$LINENO: checking for $ac_word" >&5
2041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2042 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2045 if test -n "$ac_ct_CC"; then
2046 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2052 test -z "$as_dir" && as_dir=.
2053 for ac_exec_ext in '' $ac_executable_extensions; do
2054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2055 ac_cv_prog_ac_ct_CC="cc"
2056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2065 if test -n "$ac_ct_CC"; then
2066 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2067 echo "${ECHO_T}$ac_ct_CC" >&6
2069 echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2079 if test -z "$CC"; then
2080 # Extract the first word of "cc", so it can be a program name with args.
2081 set dummy cc; ac_word=$2
2082 echo "$as_me:$LINENO: checking for $ac_word" >&5
2083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2084 if test "${ac_cv_prog_CC+set}" = set; then
2085 echo $ECHO_N "(cached) $ECHO_C" >&6
2087 if test -n "$CC"; then
2088 ac_cv_prog_CC="$CC" # Let the user override the test.
2091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 test -z "$as_dir" && as_dir=.
2096 for ac_exec_ext in '' $ac_executable_extensions; do
2097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2098 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2099 ac_prog_rejected=yes
2103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2109 if test $ac_prog_rejected = yes; then
2110 # We found a bogon in the path, so make sure we never use it.
2111 set dummy $ac_cv_prog_CC
2113 if test $# != 0; then
2114 # We chose a different compiler from the bogus one.
2115 # However, it has the same basename, so the bogon will be chosen
2116 # first if we set CC to just the basename; use the full file name.
2118 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2124 if test -n "$CC"; then
2125 echo "$as_me:$LINENO: result: $CC" >&5
2126 echo "${ECHO_T}$CC" >&6
2128 echo "$as_me:$LINENO: result: no" >&5
2129 echo "${ECHO_T}no" >&6
2133 if test -z "$CC"; then
2134 if test -n "$ac_tool_prefix"; then
2137 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2138 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2139 echo "$as_me:$LINENO: checking for $ac_word" >&5
2140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2141 if test "${ac_cv_prog_CC+set}" = set; then
2142 echo $ECHO_N "(cached) $ECHO_C" >&6
2144 if test -n "$CC"; then
2145 ac_cv_prog_CC="$CC" # Let the user override the test.
2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151 test -z "$as_dir" && as_dir=.
2152 for ac_exec_ext in '' $ac_executable_extensions; do
2153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2154 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2164 if test -n "$CC"; then
2165 echo "$as_me:$LINENO: result: $CC" >&5
2166 echo "${ECHO_T}$CC" >&6
2168 echo "$as_me:$LINENO: result: no" >&5
2169 echo "${ECHO_T}no" >&6
2172 test -n "$CC" && break
2175 if test -z "$CC"; then
2179 # Extract the first word of "$ac_prog", so it can be a program name with args.
2180 set dummy $ac_prog; ac_word=$2
2181 echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2183 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2186 if test -n "$ac_ct_CC"; then
2187 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 test -z "$as_dir" && as_dir=.
2194 for ac_exec_ext in '' $ac_executable_extensions; do
2195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2196 ac_cv_prog_ac_ct_CC="$ac_prog"
2197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2206 if test -n "$ac_ct_CC"; then
2207 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2208 echo "${ECHO_T}$ac_ct_CC" >&6
2210 echo "$as_me:$LINENO: result: no" >&5
2211 echo "${ECHO_T}no" >&6
2214 test -n "$ac_ct_CC" && break
2223 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2224 See \`config.log' for more details." >&5
2225 echo "$as_me: error: no acceptable C compiler found in \$PATH
2226 See \`config.log' for more details." >&2;}
2227 { (exit 1); exit 1; }; }
2229 # Provide some information about the compiler.
2230 echo "$as_me:$LINENO:" \
2231 "checking for C compiler version" >&5
2232 ac_compiler=`set X $ac_compile; echo $2`
2233 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2234 (eval $ac_compiler --version </dev/null >&5) 2>&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); }
2238 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2239 (eval $ac_compiler -v </dev/null >&5) 2>&5
2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2242 (exit $ac_status); }
2243 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2244 (eval $ac_compiler -V </dev/null >&5) 2>&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }
2249 cat >conftest.$ac_ext <<_ACEOF
2252 cat confdefs.h >>conftest.$ac_ext
2253 cat >>conftest.$ac_ext <<_ACEOF
2254 /* end confdefs.h. */
2264 ac_clean_files_save=$ac_clean_files
2265 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2266 # Try to create an executable without -o first, disregard a.out.
2267 # It will help us diagnose broken compilers, and finding out an intuition
2269 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2270 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2271 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2272 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2273 (eval $ac_link_default) 2>&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; then
2277 # Find the output, starting from the most likely. This scheme is
2278 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2281 # Be careful to initialize this variable, since it used to be cached.
2282 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2284 # b.out is created by i960 compilers.
2285 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2287 test -f "$ac_file" || continue
2289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2292 # This is the source file.
2295 # We found the default executable, but exeext='' is most
2299 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2300 # FIXME: I believe we export ac_cv_exeext for Libtool,
2301 # but it would be cool to find out if it's true. Does anybody
2302 # maintain Libtool? --akim.
2310 echo "$as_me: failed program was:" >&5
2311 sed 's/^/| /' conftest.$ac_ext >&5
2313 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2314 See \`config.log' for more details." >&5
2315 echo "$as_me: error: C compiler cannot create executables
2316 See \`config.log' for more details." >&2;}
2317 { (exit 77); exit 77; }; }
2320 ac_exeext=$ac_cv_exeext
2321 echo "$as_me:$LINENO: result: $ac_file" >&5
2322 echo "${ECHO_T}$ac_file" >&6
2324 # Check the compiler produces executables we can run. If not, either
2325 # the compiler is broken, or we cross compile.
2326 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2327 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2328 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2329 # If not cross compiling, check that we can run a simple program.
2330 if test "$cross_compiling" != yes; then
2331 if { ac_try='./$ac_file'
2332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }; }; then
2339 if test "$cross_compiling" = maybe; then
2342 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2343 If you meant to cross compile, use \`--host'.
2344 See \`config.log' for more details." >&5
2345 echo "$as_me: error: cannot run C compiled programs.
2346 If you meant to cross compile, use \`--host'.
2347 See \`config.log' for more details." >&2;}
2348 { (exit 1); exit 1; }; }
2352 echo "$as_me:$LINENO: result: yes" >&5
2353 echo "${ECHO_T}yes" >&6
2355 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2356 ac_clean_files=$ac_clean_files_save
2357 # Check the compiler produces executables we can run. If not, either
2358 # the compiler is broken, or we cross compile.
2359 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2360 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2361 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2362 echo "${ECHO_T}$cross_compiling" >&6
2364 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2365 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2367 (eval $ac_link) 2>&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; then
2371 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2372 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2373 # work properly (i.e., refer to `conftest.exe'), while it won't with
2375 for ac_file in conftest.exe conftest conftest.*; do
2376 test -f "$ac_file" || continue
2378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2379 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2386 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2387 See \`config.log' for more details." >&5
2388 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2389 See \`config.log' for more details." >&2;}
2390 { (exit 1); exit 1; }; }
2393 rm -f conftest$ac_cv_exeext
2394 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2395 echo "${ECHO_T}$ac_cv_exeext" >&6
2397 rm -f conftest.$ac_ext
2398 EXEEXT=$ac_cv_exeext
2400 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2401 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2402 if test "${ac_cv_objext+set}" = set; then
2403 echo $ECHO_N "(cached) $ECHO_C" >&6
2405 cat >conftest.$ac_ext <<_ACEOF
2408 cat confdefs.h >>conftest.$ac_ext
2409 cat >>conftest.$ac_ext <<_ACEOF
2410 /* end confdefs.h. */
2420 rm -f conftest.o conftest.obj
2421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2422 (eval $ac_compile) 2>&5
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); }; then
2426 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2428 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2429 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2434 echo "$as_me: failed program was:" >&5
2435 sed 's/^/| /' conftest.$ac_ext >&5
2437 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2438 See \`config.log' for more details." >&5
2439 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2440 See \`config.log' for more details." >&2;}
2441 { (exit 1); exit 1; }; }
2444 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2446 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2447 echo "${ECHO_T}$ac_cv_objext" >&6
2448 OBJEXT=$ac_cv_objext
2450 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2451 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2452 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2453 echo $ECHO_N "(cached) $ECHO_C" >&6
2455 cat >conftest.$ac_ext <<_ACEOF
2458 cat confdefs.h >>conftest.$ac_ext
2459 cat >>conftest.$ac_ext <<_ACEOF
2460 /* end confdefs.h. */
2473 rm -f conftest.$ac_objext
2474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2475 (eval $ac_compile) 2>conftest.er1
2477 grep -v '^ *+' conftest.er1 >conftest.err
2479 cat conftest.err >&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); } &&
2482 { ac_try='test -z "$ac_c_werror_flag"
2483 || test ! -s conftest.err'
2484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }; } &&
2489 { ac_try='test -s conftest.$ac_objext'
2490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494 (exit $ac_status); }; }; then
2497 echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.$ac_ext >&5
2502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2503 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2506 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2507 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2508 GCC=`test $ac_compiler_gnu = yes && echo yes`
2509 ac_test_CFLAGS=${CFLAGS+set}
2510 ac_save_CFLAGS=$CFLAGS
2512 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2513 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2514 if test "${ac_cv_prog_cc_g+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 cat >conftest.$ac_ext <<_ACEOF
2520 cat confdefs.h >>conftest.$ac_ext
2521 cat >>conftest.$ac_ext <<_ACEOF
2522 /* end confdefs.h. */
2532 rm -f conftest.$ac_objext
2533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2534 (eval $ac_compile) 2>conftest.er1
2536 grep -v '^ *+' conftest.er1 >conftest.err
2538 cat conftest.err >&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); } &&
2541 { ac_try='test -z "$ac_c_werror_flag"
2542 || test ! -s conftest.err'
2543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; } &&
2548 { ac_try='test -s conftest.$ac_objext'
2549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }; }; then
2556 echo "$as_me: failed program was:" >&5
2557 sed 's/^/| /' conftest.$ac_ext >&5
2561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2563 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2564 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2565 if test "$ac_test_CFLAGS" = set; then
2566 CFLAGS=$ac_save_CFLAGS
2567 elif test $ac_cv_prog_cc_g = yes; then
2568 if test "$GCC" = yes; then
2574 if test "$GCC" = yes; then
2580 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2581 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2582 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2583 echo $ECHO_N "(cached) $ECHO_C" >&6
2585 ac_cv_prog_cc_stdc=no
2587 cat >conftest.$ac_ext <<_ACEOF
2590 cat confdefs.h >>conftest.$ac_ext
2591 cat >>conftest.$ac_ext <<_ACEOF
2592 /* end confdefs.h. */
2595 #include <sys/types.h>
2596 #include <sys/stat.h>
2597 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2598 struct buf { int x; };
2599 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2600 static char *e (p, i)
2606 static char *f (char * (*g) (char **, int), char **p, ...)
2611 s = g (p, va_arg (v,int));
2616 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2617 function prototypes and stuff, but not '\xHH' hex character constants.
2618 These don't provoke an error unfortunately, instead are silently treated
2619 as 'x'. The following induces an error, until -std1 is added to get
2620 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2621 array size at least. It's necessary to write '\x00'==0 to get something
2622 that's true only with -std1. */
2623 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2625 int test (int i, double x);
2626 struct s1 {int (*f) (int a);};
2627 struct s2 {int (*f) (double a);};
2628 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2634 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2639 # Don't try gcc -ansi; that turns off useful extensions and
2640 # breaks some systems' header files.
2641 # AIX -qlanglvl=ansi
2642 # Ultrix and OSF/1 -std1
2643 # HP-UX 10.20 and later -Ae
2644 # HP-UX older versions -Aa -D_HPUX_SOURCE
2645 # SVR4 -Xc -D__EXTENSIONS__
2646 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2648 CC="$ac_save_CC $ac_arg"
2649 rm -f conftest.$ac_objext
2650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2651 (eval $ac_compile) 2>conftest.er1
2653 grep -v '^ *+' conftest.er1 >conftest.err
2655 cat conftest.err >&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); } &&
2658 { ac_try='test -z "$ac_c_werror_flag"
2659 || test ! -s conftest.err'
2660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }; } &&
2665 { ac_try='test -s conftest.$ac_objext'
2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; }; then
2671 ac_cv_prog_cc_stdc=$ac_arg
2674 echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.$ac_ext >&5
2678 rm -f conftest.err conftest.$ac_objext
2680 rm -f conftest.$ac_ext conftest.$ac_objext
2685 case "x$ac_cv_prog_cc_stdc" in
2687 echo "$as_me:$LINENO: result: none needed" >&5
2688 echo "${ECHO_T}none needed" >&6 ;;
2690 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2691 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2692 CC="$CC $ac_cv_prog_cc_stdc" ;;
2695 # Some people use a C++ compiler to compile C. Since we use `exit',
2696 # in C++ we need to declare it. In case someone uses the same compiler
2697 # for both compiling C and C++ we need to have the C++ compiler decide
2698 # the declaration of exit, since it's the most demanding environment.
2699 cat >conftest.$ac_ext <<_ACEOF
2704 rm -f conftest.$ac_objext
2705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2706 (eval $ac_compile) 2>conftest.er1
2708 grep -v '^ *+' conftest.er1 >conftest.err
2710 cat conftest.err >&5
2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); } &&
2713 { ac_try='test -z "$ac_c_werror_flag"
2714 || test ! -s conftest.err'
2715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; } &&
2720 { ac_try='test -s conftest.$ac_objext'
2721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); }; }; then
2726 for ac_declaration in \
2728 'extern "C" void std::exit (int) throw (); using std::exit;' \
2729 'extern "C" void std::exit (int); using std::exit;' \
2730 'extern "C" void exit (int) throw ();' \
2731 'extern "C" void exit (int);' \
2734 cat >conftest.$ac_ext <<_ACEOF
2737 cat confdefs.h >>conftest.$ac_ext
2738 cat >>conftest.$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2750 rm -f conftest.$ac_objext
2751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2752 (eval $ac_compile) 2>conftest.er1
2754 grep -v '^ *+' conftest.er1 >conftest.err
2756 cat conftest.err >&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); } &&
2759 { ac_try='test -z "$ac_c_werror_flag"
2760 || test ! -s conftest.err'
2761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); }; } &&
2766 { ac_try='test -s conftest.$ac_objext'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; }; then
2774 echo "$as_me: failed program was:" >&5
2775 sed 's/^/| /' conftest.$ac_ext >&5
2779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2780 cat >conftest.$ac_ext <<_ACEOF
2783 cat confdefs.h >>conftest.$ac_ext
2784 cat >>conftest.$ac_ext <<_ACEOF
2785 /* end confdefs.h. */
2795 rm -f conftest.$ac_objext
2796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2797 (eval $ac_compile) 2>conftest.er1
2799 grep -v '^ *+' conftest.er1 >conftest.err
2801 cat conftest.err >&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); } &&
2804 { ac_try='test -z "$ac_c_werror_flag"
2805 || test ! -s conftest.err'
2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; } &&
2811 { ac_try='test -s conftest.$ac_objext'
2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; }; then
2819 echo "$as_me: failed program was:" >&5
2820 sed 's/^/| /' conftest.$ac_ext >&5
2823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2826 if test -n "$ac_declaration"; then
2827 echo '#ifdef __cplusplus' >>confdefs.h
2828 echo $ac_declaration >>confdefs.h
2829 echo '#endif' >>confdefs.h
2833 echo "$as_me: failed program was:" >&5
2834 sed 's/^/| /' conftest.$ac_ext >&5
2837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2839 ac_cpp='$CPP $CPPFLAGS'
2840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2843 DEPDIR="${am__leading_dot}deps"
2845 ac_config_commands="$ac_config_commands depfiles"
2848 am_make=${MAKE-make}
2849 cat > confinc << 'END'
2854 # If we don't find an include directive, just comment out the code.
2855 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2856 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2860 # First try GNU make style include.
2861 echo "include confinc" > confmf
2862 # We grep out `Entering directory' and `Leaving directory'
2863 # messages which can occur if `w' ends up in MAKEFLAGS.
2864 # In particular we don't look at `^make:' because GNU make might
2865 # be invoked under some other name (usually "gmake"), in which
2866 # case it prints its new name instead of `make'.
2867 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2872 # Now try BSD make style include.
2873 if test "$am__include" = "#"; then
2874 echo '.include "confinc"' > confmf
2875 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2876 am__include=.include
2883 echo "$as_me:$LINENO: result: $_am_result" >&5
2884 echo "${ECHO_T}$_am_result" >&6
2885 rm -f confinc confmf
2887 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2888 if test "${enable_dependency_tracking+set}" = set; then
2889 enableval="$enable_dependency_tracking"
2892 if test "x$enable_dependency_tracking" != xno; then
2893 am_depcomp="$ac_aux_dir/depcomp"
2898 if test "x$enable_dependency_tracking" != xno; then
2909 depcc="$CC" am_compiler_list=
2911 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2912 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2913 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2914 echo $ECHO_N "(cached) $ECHO_C" >&6
2916 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2917 # We make a subdir and do the tests there. Otherwise we can end up
2918 # making bogus files that we don't know about and never remove. For
2919 # instance it was reported that on HP-UX the gcc test will end up
2920 # making a dummy file named `D' -- because `-MD' means `put the output
2923 # Copy depcomp to subdir because otherwise we won't find it if we're
2924 # using a relative directory.
2925 cp "$am_depcomp" conftest.dir
2927 # We will build objects and dependencies in a subdirectory because
2928 # it helps to detect inapplicable dependency modes. For instance
2929 # both Tru64's cc and ICC support -MD to output dependencies as a
2930 # side effect of compilation, but ICC will put the dependencies in
2931 # the current directory while Tru64 will put them in the object
2935 am_cv_CC_dependencies_compiler_type=none
2936 if test "$am_compiler_list" = ""; then
2937 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2939 for depmode in $am_compiler_list; do
2940 # Setup a source with many dependencies, because some compilers
2941 # like to wrap large dependency lists on column 80 (with \), and
2942 # we should not choose a depcomp mode which is confused by this.
2944 # We need to recreate these files for each test, as the compiler may
2945 # overwrite some of them when testing with obscure command lines.
2946 # This happens at least with the AIX C compiler.
2948 for i in 1 2 3 4 5 6; do
2949 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2950 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2951 # Solaris 8's {/usr,}/bin/sh.
2952 touch sub/conftst$i.h
2954 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2958 # after this tag, mechanisms are not by side-effect, so they'll
2959 # only be used when explicitly requested
2960 if test "x$enable_dependency_tracking" = xyes; then
2968 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2969 # mode. It turns out that the SunPro C++ compiler does not properly
2970 # handle `-M -o', and we need to detect this.
2971 if depmode=$depmode \
2972 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2973 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2974 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2975 >/dev/null 2>conftest.err &&
2976 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2977 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2978 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2979 # icc doesn't choke on unknown options, it will just issue warnings
2980 # or remarks (even with -Werror). So we grep stderr for any message
2981 # that says an option was ignored or not supported.
2982 # When given -MP, icc 7.0 and 7.1 complain thusly:
2983 # icc: Command line warning: ignoring option '-M'; no argument required
2984 # The diagnosis changed in icc 8.0:
2985 # icc: Command line remark: option '-MP' not supported
2986 if (grep 'ignoring option' conftest.err ||
2987 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2988 am_cv_CC_dependencies_compiler_type=$depmode
2997 am_cv_CC_dependencies_compiler_type=none
3001 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3002 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3003 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3008 test "x$enable_dependency_tracking" != xno \
3009 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3011 am__fastdepCC_FALSE='#'
3013 am__fastdepCC_TRUE='#'
3014 am__fastdepCC_FALSE=
3022 if test "x$GCC" != "xyes"; then
3023 { { echo "$as_me:$LINENO: error: libmudflap must be built with GCC" >&5
3024 echo "$as_me: error: libmudflap must be built with GCC" >&2;}
3025 { (exit 1); exit 1; }; }
3028 ac_cpp='$CPP $CPPFLAGS'
3029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3032 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3033 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3034 # On Suns, sometimes $CPP names a directory.
3035 if test -n "$CPP" && test -d "$CPP"; then
3038 if test -z "$CPP"; then
3039 if test "${ac_cv_prog_CPP+set}" = set; then
3040 echo $ECHO_N "(cached) $ECHO_C" >&6
3042 # Double quotes because CPP needs to be expanded
3043 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3046 for ac_c_preproc_warn_flag in '' yes
3048 # Use a header file that comes with gcc, so configuring glibc
3049 # with a fresh cross-compiler works.
3050 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3051 # <limits.h> exists even on freestanding compilers.
3052 # On the NeXT, cc -E runs the code through the compiler's parser,
3053 # not just through cpp. "Syntax error" is here to catch this case.
3054 cat >conftest.$ac_ext <<_ACEOF
3057 cat confdefs.h >>conftest.$ac_ext
3058 cat >>conftest.$ac_ext <<_ACEOF
3059 /* end confdefs.h. */
3061 # include <limits.h>
3063 # include <assert.h>
3067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3068 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3070 grep -v '^ *+' conftest.er1 >conftest.err
3072 cat conftest.err >&5
3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); } >/dev/null; then
3075 if test -s conftest.err; then
3076 ac_cpp_err=$ac_c_preproc_warn_flag
3077 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3084 if test -z "$ac_cpp_err"; then
3087 echo "$as_me: failed program was:" >&5
3088 sed 's/^/| /' conftest.$ac_ext >&5
3090 # Broken: fails on valid input.
3093 rm -f conftest.err conftest.$ac_ext
3095 # OK, works on sane cases. Now check whether non-existent headers
3096 # can be detected and how.
3097 cat >conftest.$ac_ext <<_ACEOF
3100 cat confdefs.h >>conftest.$ac_ext
3101 cat >>conftest.$ac_ext <<_ACEOF
3102 /* end confdefs.h. */
3103 #include <ac_nonexistent.h>
3105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3108 grep -v '^ *+' conftest.er1 >conftest.err
3110 cat conftest.err >&5
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); } >/dev/null; then
3113 if test -s conftest.err; then
3114 ac_cpp_err=$ac_c_preproc_warn_flag
3115 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3122 if test -z "$ac_cpp_err"; then
3123 # Broken: success on invalid input.
3126 echo "$as_me: failed program was:" >&5
3127 sed 's/^/| /' conftest.$ac_ext >&5
3129 # Passes both tests.
3133 rm -f conftest.err conftest.$ac_ext
3136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3137 rm -f conftest.err conftest.$ac_ext
3138 if $ac_preproc_ok; then
3150 echo "$as_me:$LINENO: result: $CPP" >&5
3151 echo "${ECHO_T}$CPP" >&6
3153 for ac_c_preproc_warn_flag in '' yes
3155 # Use a header file that comes with gcc, so configuring glibc
3156 # with a fresh cross-compiler works.
3157 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3158 # <limits.h> exists even on freestanding compilers.
3159 # On the NeXT, cc -E runs the code through the compiler's parser,
3160 # not just through cpp. "Syntax error" is here to catch this case.
3161 cat >conftest.$ac_ext <<_ACEOF
3164 cat confdefs.h >>conftest.$ac_ext
3165 cat >>conftest.$ac_ext <<_ACEOF
3166 /* end confdefs.h. */
3168 # include <limits.h>
3170 # include <assert.h>
3174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3177 grep -v '^ *+' conftest.er1 >conftest.err
3179 cat conftest.err >&5
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); } >/dev/null; then
3182 if test -s conftest.err; then
3183 ac_cpp_err=$ac_c_preproc_warn_flag
3184 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3191 if test -z "$ac_cpp_err"; then
3194 echo "$as_me: failed program was:" >&5
3195 sed 's/^/| /' conftest.$ac_ext >&5
3197 # Broken: fails on valid input.
3200 rm -f conftest.err conftest.$ac_ext
3202 # OK, works on sane cases. Now check whether non-existent headers
3203 # can be detected and how.
3204 cat >conftest.$ac_ext <<_ACEOF
3207 cat confdefs.h >>conftest.$ac_ext
3208 cat >>conftest.$ac_ext <<_ACEOF
3209 /* end confdefs.h. */
3210 #include <ac_nonexistent.h>
3212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3213 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3215 grep -v '^ *+' conftest.er1 >conftest.err
3217 cat conftest.err >&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); } >/dev/null; then
3220 if test -s conftest.err; then
3221 ac_cpp_err=$ac_c_preproc_warn_flag
3222 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3229 if test -z "$ac_cpp_err"; then
3230 # Broken: success on invalid input.
3233 echo "$as_me: failed program was:" >&5
3234 sed 's/^/| /' conftest.$ac_ext >&5
3236 # Passes both tests.
3240 rm -f conftest.err conftest.$ac_ext
3243 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3244 rm -f conftest.err conftest.$ac_ext
3245 if $ac_preproc_ok; then
3248 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3249 See \`config.log' for more details." >&5
3250 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3251 See \`config.log' for more details." >&2;}
3252 { (exit 1); exit 1; }; }
3256 ac_cpp='$CPP $CPPFLAGS'
3257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3262 # Some hosts don't have dlsym(RTLD_NEXT, "symbol") for use in
3263 # symbol interposition. We disable shared libraries for these.
3264 echo "$as_me:$LINENO: checking whether dlsym(RTLD_NEXT,...) is available" >&5
3265 echo $ECHO_N "checking whether dlsym(RTLD_NEXT,...) is available... $ECHO_C" >&6
3267 cat >conftest.$ac_ext <<_ACEOF
3270 cat confdefs.h >>conftest.$ac_ext
3271 cat >>conftest.$ac_ext <<_ACEOF
3272 /* end confdefs.h. */
3280 void *foo = dlsym (RTLD_NEXT, "exit");
3285 rm -f conftest.$ac_objext
3286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3287 (eval $ac_compile) 2>conftest.er1
3289 grep -v '^ *+' conftest.er1 >conftest.err
3291 cat conftest.err >&5
3292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293 (exit $ac_status); } &&
3294 { ac_try='test -z "$ac_c_werror_flag"
3295 || test ! -s conftest.err'
3296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); }; } &&
3301 { ac_try='test -s conftest.$ac_objext'
3302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); }; }; then
3307 echo "$as_me:$LINENO: result: yes" >&5
3308 echo "${ECHO_T}yes" >&6
3310 echo "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3313 echo "$as_me:$LINENO: result: no" >&5
3314 echo "${ECHO_T}no" >&6
3317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3320 echo "$as_me:$LINENO: checking for egrep" >&5
3321 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3322 if test "${ac_cv_prog_egrep+set}" = set; then
3323 echo $ECHO_N "(cached) $ECHO_C" >&6
3325 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3326 then ac_cv_prog_egrep='grep -E'
3327 else ac_cv_prog_egrep='egrep'
3330 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3331 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3332 EGREP=$ac_cv_prog_egrep
3335 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3336 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3337 if test "${ac_cv_header_stdc+set}" = set; then
3338 echo $ECHO_N "(cached) $ECHO_C" >&6
3340 cat >conftest.$ac_ext <<_ACEOF
3343 cat confdefs.h >>conftest.$ac_ext
3344 cat >>conftest.$ac_ext <<_ACEOF
3345 /* end confdefs.h. */
3359 rm -f conftest.$ac_objext
3360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3361 (eval $ac_compile) 2>conftest.er1
3363 grep -v '^ *+' conftest.er1 >conftest.err
3365 cat conftest.err >&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); } &&
3368 { ac_try='test -z "$ac_c_werror_flag"
3369 || test ! -s conftest.err'
3370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); }; } &&
3375 { ac_try='test -s conftest.$ac_objext'
3376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); }; }; then
3381 ac_cv_header_stdc=yes
3383 echo "$as_me: failed program was:" >&5
3384 sed 's/^/| /' conftest.$ac_ext >&5
3386 ac_cv_header_stdc=no
3388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3390 if test $ac_cv_header_stdc = yes; then
3391 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3392 cat >conftest.$ac_ext <<_ACEOF
3395 cat confdefs.h >>conftest.$ac_ext
3396 cat >>conftest.$ac_ext <<_ACEOF
3397 /* end confdefs.h. */
3401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3402 $EGREP "memchr" >/dev/null 2>&1; then
3405 ac_cv_header_stdc=no
3411 if test $ac_cv_header_stdc = yes; then
3412 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3413 cat >conftest.$ac_ext <<_ACEOF
3416 cat confdefs.h >>conftest.$ac_ext
3417 cat >>conftest.$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3423 $EGREP "free" >/dev/null 2>&1; then
3426 ac_cv_header_stdc=no
3432 if test $ac_cv_header_stdc = yes; then
3433 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3434 if test "$cross_compiling" = yes; then
3437 cat >conftest.$ac_ext <<_ACEOF
3440 cat confdefs.h >>conftest.$ac_ext
3441 cat >>conftest.$ac_ext <<_ACEOF
3442 /* end confdefs.h. */
3444 #if ((' ' & 0x0FF) == 0x020)
3445 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3446 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3448 # define ISLOWER(c) \
3449 (('a' <= (c) && (c) <= 'i') \
3450 || ('j' <= (c) && (c) <= 'r') \
3451 || ('s' <= (c) && (c) <= 'z'))
3452 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3455 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3460 for (i = 0; i < 256; i++)
3461 if (XOR (islower (i), ISLOWER (i))
3462 || toupper (i) != TOUPPER (i))
3467 rm -f conftest$ac_exeext
3468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3469 (eval $ac_link) 2>&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477 (exit $ac_status); }; }; then
3480 echo "$as_me: program exited with status $ac_status" >&5
3481 echo "$as_me: failed program was:" >&5
3482 sed 's/^/| /' conftest.$ac_ext >&5
3485 ac_cv_header_stdc=no
3487 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3491 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3492 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3493 if test $ac_cv_header_stdc = yes; then
3495 cat >>confdefs.h <<\_ACEOF
3496 #define STDC_HEADERS 1
3501 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3511 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3512 inttypes.h stdint.h unistd.h
3514 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3515 echo "$as_me:$LINENO: checking for $ac_header" >&5
3516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3518 echo $ECHO_N "(cached) $ECHO_C" >&6
3520 cat >conftest.$ac_ext <<_ACEOF
3523 cat confdefs.h >>conftest.$ac_ext
3524 cat >>conftest.$ac_ext <<_ACEOF
3525 /* end confdefs.h. */
3526 $ac_includes_default
3528 #include <$ac_header>
3530 rm -f conftest.$ac_objext
3531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3532 (eval $ac_compile) 2>conftest.er1
3534 grep -v '^ *+' conftest.er1 >conftest.err
3536 cat conftest.err >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } &&
3539 { ac_try='test -z "$ac_c_werror_flag"
3540 || test ! -s conftest.err'
3541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); }; } &&
3546 { ac_try='test -s conftest.$ac_objext'
3547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); }; }; then
3552 eval "$as_ac_Header=yes"
3554 echo "$as_me: failed program was:" >&5
3555 sed 's/^/| /' conftest.$ac_ext >&5
3557 eval "$as_ac_Header=no"
3559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3564 cat >>confdefs.h <<_ACEOF
3565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3577 for ac_header in stdint.h execinfo.h signal.h dlfcn.h
3579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3581 echo "$as_me:$LINENO: checking for $ac_header" >&5
3582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3584 echo $ECHO_N "(cached) $ECHO_C" >&6
3586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3589 # Is the header compilable?
3590 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3591 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3592 cat >conftest.$ac_ext <<_ACEOF
3595 cat confdefs.h >>conftest.$ac_ext
3596 cat >>conftest.$ac_ext <<_ACEOF
3597 /* end confdefs.h. */
3598 $ac_includes_default
3599 #include <$ac_header>
3601 rm -f conftest.$ac_objext
3602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3603 (eval $ac_compile) 2>conftest.er1
3605 grep -v '^ *+' conftest.er1 >conftest.err
3607 cat conftest.err >&5
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); } &&
3610 { ac_try='test -z "$ac_c_werror_flag"
3611 || test ! -s conftest.err'
3612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3616 (exit $ac_status); }; } &&
3617 { ac_try='test -s conftest.$ac_objext'
3618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622 (exit $ac_status); }; }; then
3623 ac_header_compiler=yes
3625 echo "$as_me: failed program was:" >&5
3626 sed 's/^/| /' conftest.$ac_ext >&5
3628 ac_header_compiler=no
3630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3631 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3632 echo "${ECHO_T}$ac_header_compiler" >&6
3634 # Is the header present?
3635 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3636 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3637 cat >conftest.$ac_ext <<_ACEOF
3640 cat confdefs.h >>conftest.$ac_ext
3641 cat >>conftest.$ac_ext <<_ACEOF
3642 /* end confdefs.h. */
3643 #include <$ac_header>
3645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3646 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3648 grep -v '^ *+' conftest.er1 >conftest.err
3650 cat conftest.err >&5
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); } >/dev/null; then
3653 if test -s conftest.err; then
3654 ac_cpp_err=$ac_c_preproc_warn_flag
3655 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3662 if test -z "$ac_cpp_err"; then
3663 ac_header_preproc=yes
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.$ac_ext >&5
3668 ac_header_preproc=no
3670 rm -f conftest.err conftest.$ac_ext
3671 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3672 echo "${ECHO_T}$ac_header_preproc" >&6
3674 # So? What about this header?
3675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3677 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3678 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3680 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3681 ac_header_preproc=yes
3684 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3685 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3686 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3687 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3688 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3689 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3690 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3691 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3693 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3694 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3695 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3698 ## ------------------------------------------ ##
3699 ## Report this to the AC_PACKAGE_NAME lists. ##
3700 ## ------------------------------------------ ##
3703 sed "s/^/$as_me: WARNING: /" >&2
3706 echo "$as_me:$LINENO: checking for $ac_header" >&5
3707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6
3711 eval "$as_ac_Header=\$ac_header_preproc"
3713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3718 cat >>confdefs.h <<_ACEOF
3719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3730 for ac_func in backtrace backtrace_symbols gettimeofday signal
3732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3733 echo "$as_me:$LINENO: checking for $ac_func" >&5
3734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3735 if eval "test \"\${$as_ac_var+set}\" = set"; then
3736 echo $ECHO_N "(cached) $ECHO_C" >&6
3738 cat >conftest.$ac_ext <<_ACEOF
3741 cat confdefs.h >>conftest.$ac_ext
3742 cat >>conftest.$ac_ext <<_ACEOF
3743 /* end confdefs.h. */
3744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3746 #define $ac_func innocuous_$ac_func
3748 /* System header to define __stub macros and hopefully few prototypes,
3749 which can conflict with char $ac_func (); below.
3750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3751 <limits.h> exists even on freestanding compilers. */
3754 # include <limits.h>
3756 # include <assert.h>
3761 /* Override any gcc2 internal prototype to avoid an error. */
3766 /* We use char because int might match the return type of a gcc2
3767 builtin and then its argument prototype would still apply. */
3769 /* The GNU C library defines this for functions which it implements
3770 to always fail with ENOSYS. Some functions are actually named
3771 something starting with __ and the normal name is an alias. */
3772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3775 char (*f) () = $ac_func;
3784 return f != $ac_func;
3789 rm -f conftest.$ac_objext conftest$ac_exeext
3790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3791 (eval $ac_link) 2>conftest.er1
3793 grep -v '^ *+' conftest.er1 >conftest.err
3795 cat conftest.err >&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); } &&
3798 { ac_try='test -z "$ac_c_werror_flag"
3799 || test ! -s conftest.err'
3800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); }; } &&
3805 { ac_try='test -s conftest$ac_exeext'
3806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); }; }; then
3811 eval "$as_ac_var=yes"
3813 echo "$as_me: failed program was:" >&5
3814 sed 's/^/| /' conftest.$ac_ext >&5
3816 eval "$as_ac_var=no"
3818 rm -f conftest.err conftest.$ac_objext \
3819 conftest$ac_exeext conftest.$ac_ext
3821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3823 if test `eval echo '${'$as_ac_var'}'` = yes; then
3824 cat >>confdefs.h <<_ACEOF
3825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3836 for ac_func in fopen64 fseeko64 ftello64 stat64
3838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3839 echo "$as_me:$LINENO: checking for $ac_func" >&5
3840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3841 if eval "test \"\${$as_ac_var+set}\" = set"; then
3842 echo $ECHO_N "(cached) $ECHO_C" >&6
3844 cat >conftest.$ac_ext <<_ACEOF
3847 cat confdefs.h >>conftest.$ac_ext
3848 cat >>conftest.$ac_ext <<_ACEOF
3849 /* end confdefs.h. */
3850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3852 #define $ac_func innocuous_$ac_func
3854 /* System header to define __stub macros and hopefully few prototypes,
3855 which can conflict with char $ac_func (); below.
3856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3857 <limits.h> exists even on freestanding compilers. */
3860 # include <limits.h>
3862 # include <assert.h>
3867 /* Override any gcc2 internal prototype to avoid an error. */
3872 /* We use char because int might match the return type of a gcc2
3873 builtin and then its argument prototype would still apply. */
3875 /* The GNU C library defines this for functions which it implements
3876 to always fail with ENOSYS. Some functions are actually named
3877 something starting with __ and the normal name is an alias. */
3878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3881 char (*f) () = $ac_func;
3890 return f != $ac_func;
3895 rm -f conftest.$ac_objext conftest$ac_exeext
3896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3897 (eval $ac_link) 2>conftest.er1
3899 grep -v '^ *+' conftest.er1 >conftest.err
3901 cat conftest.err >&5
3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903 (exit $ac_status); } &&
3904 { ac_try='test -z "$ac_c_werror_flag"
3905 || test ! -s conftest.err'
3906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910 (exit $ac_status); }; } &&
3911 { ac_try='test -s conftest$ac_exeext'
3912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); }; }; then
3917 eval "$as_ac_var=yes"
3919 echo "$as_me: failed program was:" >&5
3920 sed 's/^/| /' conftest.$ac_ext >&5
3922 eval "$as_ac_var=no"
3924 rm -f conftest.err conftest.$ac_objext \
3925 conftest$ac_exeext conftest.$ac_ext
3927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3929 if test `eval echo '${'$as_ac_var'}'` = yes; then
3930 cat >>confdefs.h <<_ACEOF
3931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3938 cat >conftest.$ac_ext <<_ACEOF
3941 cat confdefs.h >>conftest.$ac_ext
3942 cat >>conftest.$ac_ext <<_ACEOF
3943 /* end confdefs.h. */
3944 #include <sys/types.h>
3945 #include <sys/ipc.h>
3946 #include <sys/sem.h>
3955 rm -f conftest.$ac_objext
3956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3957 (eval $ac_compile) 2>conftest.er1
3959 grep -v '^ *+' conftest.er1 >conftest.err
3961 cat conftest.err >&5
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); } &&
3964 { ac_try='test -z "$ac_c_werror_flag"
3965 || test ! -s conftest.err'
3966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); }; } &&
3971 { ac_try='test -s conftest.$ac_objext'
3972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); }; }; then
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3985 if test $mf_have_semun = 1
3988 cat >>confdefs.h <<\_ACEOF
3989 #define HAVE_UNION_SEMUN 1
3995 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
3996 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
3997 cat >conftest.$ac_ext <<_ACEOF
4000 cat confdefs.h >>conftest.$ac_ext
4001 cat >>conftest.$ac_ext <<_ACEOF
4002 /* end confdefs.h. */
4003 #define _POSIX_PII_SOCKET
4004 #include <sys/types.h>
4005 #include <sys/socket.h>
4014 rm -f conftest.$ac_objext
4015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4016 (eval $ac_compile) 2>conftest.er1
4018 grep -v '^ *+' conftest.er1 >conftest.err
4020 cat conftest.err >&5
4021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022 (exit $ac_status); } &&
4023 { ac_try='test -z "$ac_c_werror_flag"
4024 || test ! -s conftest.err'
4025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); }; } &&
4030 { ac_try='test -s conftest.$ac_objext'
4031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); }; }; then
4037 cat >>confdefs.h <<\_ACEOF
4038 #define HAVE_SOCKLEN_T 1
4041 echo "$as_me:$LINENO: result: yes" >&5
4042 echo "${ECHO_T}yes" >&6
4044 echo "$as_me: failed program was:" >&5
4045 sed 's/^/| /' conftest.$ac_ext >&5
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4053 # Check whether --enable-shared or --disable-shared was given.
4054 if test "${enable_shared+set}" = set; then
4055 enableval="$enable_shared"
4056 p=${PACKAGE-default}
4058 yes) enable_shared=yes ;;
4059 no) enable_shared=no ;;
4062 # Look at the argument we got. We use all the common list separators.
4063 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4064 for pkg in $enableval; do
4065 if test "X$pkg" = "X$p"; then
4075 # Check whether --enable-static or --disable-static was given.
4076 if test "${enable_static+set}" = set; then
4077 enableval="$enable_static"
4078 p=${PACKAGE-default}
4080 yes) enable_static=yes ;;
4081 no) enable_static=no ;;
4084 # Look at the argument we got. We use all the common list separators.
4085 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4086 for pkg in $enableval; do
4087 if test "X$pkg" = "X$p"; then
4097 # Check whether --enable-fast-install or --disable-fast-install was given.
4098 if test "${enable_fast_install+set}" = set; then
4099 enableval="$enable_fast_install"
4100 p=${PACKAGE-default}
4102 yes) enable_fast_install=yes ;;
4103 no) enable_fast_install=no ;;
4105 enable_fast_install=no
4106 # Look at the argument we got. We use all the common list separators.
4107 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4108 for pkg in $enableval; do
4109 if test "X$pkg" = "X$p"; then
4110 enable_fast_install=yes
4117 enable_fast_install=yes
4120 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4121 if test "${with_gnu_ld+set}" = set; then
4122 withval="$with_gnu_ld"
4123 test "$withval" = no || with_gnu_ld=yes
4128 if test "$GCC" = yes; then
4129 # Check if gcc -print-prog-name=ld gives a path.
4130 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4131 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4134 # gcc leaves a trailing carriage return which upsets mingw
4135 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4137 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4140 # Accept absolute paths.
4141 [\\/]* | [A-Za-z]:[\\/]*)
4142 re_direlt='/[^/][^/]*/\.\./'
4143 # Canonicalize the path of ld
4144 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4145 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4146 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4148 test -z "$LD" && LD="$ac_prog"
4151 # If it fails, then pretend we aren't using GCC.
4155 # If it is relative, then search for the first ld in PATH.
4159 elif test "$with_gnu_ld" = yes; then
4160 echo "$as_me:$LINENO: checking for GNU ld" >&5
4161 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4163 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4164 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4166 if test "${lt_cv_path_LD+set}" = set; then
4167 echo $ECHO_N "(cached) $ECHO_C" >&6
4169 if test -z "$LD"; then
4170 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4171 for ac_dir in $PATH; do
4172 test -z "$ac_dir" && ac_dir=.
4173 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4174 lt_cv_path_LD="$ac_dir/$ac_prog"
4175 # Check to see if the program is GNU ld. I'd rather use --version,
4176 # but apparently some GNU ld's only accept -v.
4177 # Break only if it was the GNU/non-GNU ld that we prefer.
4178 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4179 test "$with_gnu_ld" != no && break
4181 test "$with_gnu_ld" != yes && break
4187 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4192 if test -n "$LD"; then
4193 echo "$as_me:$LINENO: result: $LD" >&5
4194 echo "${ECHO_T}$LD" >&6
4196 echo "$as_me:$LINENO: result: no" >&5
4197 echo "${ECHO_T}no" >&6
4199 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4200 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4201 { (exit 1); exit 1; }; }
4202 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4203 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4204 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4205 echo $ECHO_N "(cached) $ECHO_C" >&6
4207 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4208 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4209 lt_cv_prog_gnu_ld=yes
4211 lt_cv_prog_gnu_ld=no
4214 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4215 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4216 with_gnu_ld=$lt_cv_prog_gnu_ld
4219 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4220 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4221 if test "${lt_cv_ld_reload_flag+set}" = set; then
4222 echo $ECHO_N "(cached) $ECHO_C" >&6
4224 lt_cv_ld_reload_flag='-r'
4226 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4227 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4228 reload_flag=$lt_cv_ld_reload_flag
4229 test -n "$reload_flag" && reload_flag=" $reload_flag"
4231 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4232 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4233 if test "${lt_cv_path_NM+set}" = set; then
4234 echo $ECHO_N "(cached) $ECHO_C" >&6
4236 if test -n "$NM"; then
4237 # Let the user override the test.
4240 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4241 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4242 test -z "$ac_dir" && ac_dir=.
4243 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4244 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4245 # Check to see if the nm accepts a BSD-compat flag.
4246 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4247 # nm: unknown option "B" ignored
4248 # Tru64's nm complains that /dev/null is an invalid object file
4249 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4250 lt_cv_path_NM="$tmp_nm -B"
4252 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4253 lt_cv_path_NM="$tmp_nm -p"
4256 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4257 continue # so that we can try to find one that supports BSD flags
4262 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4267 echo "$as_me:$LINENO: result: $NM" >&5
4268 echo "${ECHO_T}$NM" >&6
4270 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4271 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4273 if test "$LN_S" = "ln -s"; then
4274 echo "$as_me:$LINENO: result: yes" >&5
4275 echo "${ECHO_T}yes" >&6
4277 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4278 echo "${ECHO_T}no, using $LN_S" >&6
4281 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4282 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4283 lt_cv_file_magic_cmd='$MAGIC_CMD'
4284 lt_cv_file_magic_test_file=
4285 lt_cv_deplibs_check_method='unknown'
4286 # Need to set the preceding variable on all platforms that support
4287 # interlibrary dependencies.
4288 # 'none' -- dependencies not supported.
4289 # `unknown' -- same as none, but documents that we really don't know.
4290 # 'pass_all' -- all dependencies passed with no checks.
4291 # 'test_compile' -- check by making test program.
4292 # 'file_magic [regex]' -- check by looking for files in library path
4293 # which responds to the $file_magic_cmd with a given egrep regex.
4294 # If you have `file' or equivalent on your system and you're not sure
4295 # whether `pass_all' will *always* work, you probably want this one.
4299 lt_cv_deplibs_check_method=pass_all
4303 lt_cv_deplibs_check_method=pass_all
4307 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4308 lt_cv_file_magic_cmd='/usr/bin/file -L'
4309 lt_cv_file_magic_test_file=/shlib/libc.so
4312 cygwin* | mingw* |pw32*)
4313 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4314 lt_cv_file_magic_cmd='$OBJDUMP -f'
4317 darwin* | rhapsody*)
4318 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4319 lt_cv_file_magic_cmd='/usr/bin/file -L'
4321 rhapsody* | darwin1.012)
4322 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4325 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4331 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4334 # Not sure whether the presence of OpenBSD here was a mistake.
4335 # Let's accept both of them until this is cleared up.
4336 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4337 lt_cv_file_magic_cmd=/usr/bin/file
4338 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4342 lt_cv_deplibs_check_method=pass_all
4347 lt_cv_deplibs_check_method=pass_all
4353 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4354 lt_cv_file_magic_cmd=/usr/bin/file
4355 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4358 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4359 lt_cv_file_magic_cmd=/usr/bin/file
4360 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4368 # this will be overridden with pass_all, but let us keep it just in case
4369 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4373 *-32|*"-32 ") libmagic=32-bit;;
4374 *-n32|*"-n32 ") libmagic=N32;;
4375 *-64|*"-64 ") libmagic=64-bit;;
4376 *) libmagic=never-match;;
4378 # this will be overridden with pass_all, but let us keep it just in case
4379 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4382 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4383 lt_cv_deplibs_check_method=pass_all
4386 # This must be Linux ELF.
4389 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | x86_64* | sh*)
4390 lt_cv_deplibs_check_method=pass_all ;;
4391 # NB 2003-06-03: According to Alexandre Oliva, x86_64 should not be
4392 # in this list. However, it works around a libtool problem that
4393 # wrongly excludes -ldl/-lpthread from the libmudflap(th) dependencies.
4395 # glibc up to 2.1.1 does not perform some relocations on ARM
4396 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4398 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4402 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4403 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4405 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4410 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4411 lt_cv_file_magic_cmd=/usr/bin/file
4412 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4415 osf3* | osf4* | osf5*)
4416 # this will be overridden with pass_all, but let us keep it just in case
4417 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4418 lt_cv_file_magic_test_file=/shlib/libc.so
4419 lt_cv_deplibs_check_method=pass_all
4423 lt_cv_deplibs_check_method=pass_all
4427 lt_cv_deplibs_check_method=pass_all
4428 lt_cv_file_magic_test_file=/lib/libc.so
4431 sysv5uw[78]* | sysv4*uw2*)
4432 lt_cv_deplibs_check_method=pass_all
4435 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4436 case $host_vendor in
4438 lt_cv_deplibs_check_method=pass_all
4441 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]'
4442 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4447 file_magic_cmd=$lt_cv_file_magic_cmd
4448 deplibs_check_method=$lt_cv_deplibs_check_method
4449 # NB: See above NB ... this is to make sure that the overriden
4450 # local libtool variant doesn't pollute the upstream cache
4451 unset lt_cv_file_magic_cmd
4452 unset lt_cv_deplibs_check_method
4453 echo "$as_me:$LINENO: result: $deplibs_check_method" >&5
4454 echo "${ECHO_T}$deplibs_check_method" >&6
4458 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4460 # Only perform the check for file, if the check method requires it
4461 case $deplibs_check_method in
4463 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4464 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4465 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4466 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4467 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4474 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4477 ac_save_MAGIC_CMD="$MAGIC_CMD"
4478 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4479 ac_dummy="/usr/bin:$PATH"
4480 for ac_dir in $ac_dummy; do
4481 test -z "$ac_dir" && ac_dir=.
4482 if test -f $ac_dir/${ac_tool_prefix}file; then
4483 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4484 if test -n "$file_magic_test_file"; then
4485 case $deplibs_check_method in
4487 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4488 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4489 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4490 egrep "$file_magic_regex" > /dev/null; then
4495 *** Warning: the command libtool uses to detect shared libraries,
4496 *** $file_magic_cmd, produces output that libtool cannot recognize.
4497 *** The result is that libtool may fail to recognize shared libraries
4498 *** as such. This will affect the creation of libtool libraries that
4499 *** depend on shared libraries, but programs linked with such libtool
4500 *** libraries will work regardless of this problem. Nevertheless, you
4501 *** may want to report the problem to your system manager and/or to
4502 *** bug-libtool@gnu.org
4512 MAGIC_CMD="$ac_save_MAGIC_CMD"
4517 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4518 if test -n "$MAGIC_CMD"; then
4519 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4520 echo "${ECHO_T}$MAGIC_CMD" >&6
4522 echo "$as_me:$LINENO: result: no" >&5
4523 echo "${ECHO_T}no" >&6
4526 if test -z "$lt_cv_path_MAGIC_CMD"; then
4527 if test -n "$ac_tool_prefix"; then
4528 echo "$as_me:$LINENO: checking for file" >&5
4529 echo $ECHO_N "checking for file... $ECHO_C" >&6
4530 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4531 echo $ECHO_N "(cached) $ECHO_C" >&6
4535 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4538 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4541 ac_save_MAGIC_CMD="$MAGIC_CMD"
4542 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4543 ac_dummy="/usr/bin:$PATH"
4544 for ac_dir in $ac_dummy; do
4545 test -z "$ac_dir" && ac_dir=.
4546 if test -f $ac_dir/file; then
4547 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4548 if test -n "$file_magic_test_file"; then
4549 case $deplibs_check_method in
4551 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4552 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4553 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4554 egrep "$file_magic_regex" > /dev/null; then
4559 *** Warning: the command libtool uses to detect shared libraries,
4560 *** $file_magic_cmd, produces output that libtool cannot recognize.
4561 *** The result is that libtool may fail to recognize shared libraries
4562 *** as such. This will affect the creation of libtool libraries that
4563 *** depend on shared libraries, but programs linked with such libtool
4564 *** libraries will work regardless of this problem. Nevertheless, you
4565 *** may want to report the problem to your system manager and/or to
4566 *** bug-libtool@gnu.org
4576 MAGIC_CMD="$ac_save_MAGIC_CMD"
4581 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4582 if test -n "$MAGIC_CMD"; then
4583 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4584 echo "${ECHO_T}$MAGIC_CMD" >&6
4586 echo "$as_me:$LINENO: result: no" >&5
4587 echo "${ECHO_T}no" >&6
4599 if test -n "$ac_tool_prefix"; then
4600 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4601 set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+set}" = set; then
4605 echo $ECHO_N "(cached) $ECHO_C" >&6
4607 if test -n "$RANLIB"; then
4608 ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"
4618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4626 RANLIB=$ac_cv_prog_RANLIB
4627 if test -n "$RANLIB"; then
4628 echo "$as_me:$LINENO: result: $RANLIB" >&5
4629 echo "${ECHO_T}$RANLIB" >&6
4631 echo "$as_me:$LINENO: result: no" >&5
4632 echo "${ECHO_T}no" >&6
4636 if test -z "$ac_cv_prog_RANLIB"; then
4637 ac_ct_RANLIB=$RANLIB
4638 # Extract the first word of "ranlib", so it can be a program name with args.
4639 set dummy ranlib; ac_word=$2
4640 echo "$as_me:$LINENO: checking for $ac_word" >&5
4641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4642 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4643 echo $ECHO_N "(cached) $ECHO_C" >&6
4645 if test -n "$ac_ct_RANLIB"; then
4646 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652 test -z "$as_dir" && as_dir=.
4653 for ac_exec_ext in '' $ac_executable_extensions; do
4654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4655 ac_cv_prog_ac_ct_RANLIB="ranlib"
4656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4662 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4665 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4666 if test -n "$ac_ct_RANLIB"; then
4667 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4668 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4670 echo "$as_me:$LINENO: result: no" >&5
4671 echo "${ECHO_T}no" >&6
4674 RANLIB=$ac_ct_RANLIB
4676 RANLIB="$ac_cv_prog_RANLIB"
4679 if test -n "$ac_tool_prefix"; then
4680 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4681 set dummy ${ac_tool_prefix}strip; ac_word=$2
4682 echo "$as_me:$LINENO: checking for $ac_word" >&5
4683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4684 if test "${ac_cv_prog_STRIP+set}" = set; then
4685 echo $ECHO_N "(cached) $ECHO_C" >&6
4687 if test -n "$STRIP"; then
4688 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4694 test -z "$as_dir" && as_dir=.
4695 for ac_exec_ext in '' $ac_executable_extensions; do
4696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4697 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 STRIP=$ac_cv_prog_STRIP
4707 if test -n "$STRIP"; then
4708 echo "$as_me:$LINENO: result: $STRIP" >&5
4709 echo "${ECHO_T}$STRIP" >&6
4711 echo "$as_me:$LINENO: result: no" >&5
4712 echo "${ECHO_T}no" >&6
4716 if test -z "$ac_cv_prog_STRIP"; then
4718 # Extract the first word of "strip", so it can be a program name with args.
4719 set dummy strip; ac_word=$2
4720 echo "$as_me:$LINENO: checking for $ac_word" >&5
4721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4722 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4723 echo $ECHO_N "(cached) $ECHO_C" >&6
4725 if test -n "$ac_ct_STRIP"; then
4726 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4732 test -z "$as_dir" && as_dir=.
4733 for ac_exec_ext in '' $ac_executable_extensions; do
4734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4735 ac_cv_prog_ac_ct_STRIP="strip"
4736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4742 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4745 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4746 if test -n "$ac_ct_STRIP"; then
4747 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4748 echo "${ECHO_T}$ac_ct_STRIP" >&6
4750 echo "$as_me:$LINENO: result: no" >&5
4751 echo "${ECHO_T}no" >&6
4756 STRIP="$ac_cv_prog_STRIP"
4760 # Check for any special flags to pass to ltconfig.
4761 libtool_flags="--cache-file=$cache_file"
4762 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4763 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4764 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4765 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4766 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4769 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4770 if test "${enable_libtool_lock+set}" = set; then
4771 enableval="$enable_libtool_lock"
4774 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4775 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4778 # Check whether --with-pic or --without-pic was given.
4779 if test "${with_pic+set}" = set; then
4785 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4786 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4788 # Some flags need to be propagated to the compiler or linker for good
4792 # Find out which ABI we are using.
4793 echo '#line 4793 "configure"' > conftest.$ac_ext
4794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4795 (eval $ac_compile) 2>&5
4797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798 (exit $ac_status); }; then
4799 case `/usr/bin/file conftest.$ac_objext` in
4815 # Find out which ABI we are using.
4816 echo 'int i;' > conftest.$ac_ext
4817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4818 (eval $ac_compile) 2>&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); }; then
4822 case "`/usr/bin/file conftest.o`" in
4834 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4835 # Find out which ABI we are using.
4836 echo 'int i;' > conftest.$ac_ext
4837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4838 (eval $ac_compile) 2>&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); }; then
4842 case "`/usr/bin/file conftest.o`" in
4846 LD="${LD-ld} -m elf_i386"
4849 LD="${LD-ld} -m elf32ppclinux"
4852 LD="${LD-ld} -m elf_s390"
4855 LD="${LD-ld} -m elf32_sparc"
4862 LD="${LD-ld} -m elf_x86_64"
4864 ppc*-*linux*|powerpc*-*linux*)
4865 LD="${LD-ld} -m elf64ppc"
4868 LD="${LD-ld} -m elf64_s390"
4871 LD="${LD-ld} -m elf64_sparc"
4881 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4882 SAVE_CFLAGS="$CFLAGS"
4883 CFLAGS="$CFLAGS -belf"
4884 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4885 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4886 if test "${lt_cv_cc_needs_belf+set}" = set; then
4887 echo $ECHO_N "(cached) $ECHO_C" >&6
4892 ac_cpp='$CPP $CPPFLAGS'
4893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4897 cat >conftest.$ac_ext <<_ACEOF
4900 cat confdefs.h >>conftest.$ac_ext
4901 cat >>conftest.$ac_ext <<_ACEOF
4902 /* end confdefs.h. */
4912 rm -f conftest.$ac_objext conftest$ac_exeext
4913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4914 (eval $ac_link) 2>conftest.er1
4916 grep -v '^ *+' conftest.er1 >conftest.err
4918 cat conftest.err >&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); } &&
4921 { ac_try='test -z "$ac_c_werror_flag"
4922 || test ! -s conftest.err'
4923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); }; } &&
4928 { ac_try='test -s conftest$ac_exeext'
4929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); }; }; then
4934 lt_cv_cc_needs_belf=yes
4936 echo "$as_me: failed program was:" >&5
4937 sed 's/^/| /' conftest.$ac_ext >&5
4939 lt_cv_cc_needs_belf=no
4941 rm -f conftest.err conftest.$ac_objext \
4942 conftest$ac_exeext conftest.$ac_ext
4944 ac_cpp='$CPP $CPPFLAGS'
4945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4950 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4951 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4952 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4953 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4954 CFLAGS="$SAVE_CFLAGS"
4962 # Save cache, so that ltconfig can load it
4963 cat >confcache <<\_ACEOF
4964 # This file is a shell script that caches the results of configure
4965 # tests run on this system so they can be shared between configure
4966 # scripts and configure runs, see configure's option --config-cache.
4967 # It is not useful on other systems. If it contains results you don't
4968 # want to keep, you may remove or edit it.
4970 # config.status only pays attention to the cache file if you give it
4971 # the --recheck option to rerun configure.
4973 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4974 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4979 # The following way of writing the cache mishandles newlines in values,
4980 # but we know of no workaround that is simple, portable, and efficient.
4981 # So, don't put newlines in cache variables' values.
4982 # Ultrix sh set writes to stderr and can't be redirected directly,
4983 # and sets the high bit in the cache file unless we assign to the vars.
4986 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4988 # `set' does not quote correctly, so add quotes (double-quote
4989 # substitution turns \\\\ into \\, and sed turns \\ into \).
4992 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4995 # `set' quotes correctly as required by POSIX, so do not add quotes.
4997 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5004 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5006 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5008 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5009 if test -w $cache_file; then
5010 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5011 cat confcache >$cache_file
5013 echo "not updating unwritable cache $cache_file"
5018 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5019 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
5020 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5021 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5022 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5023 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5024 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
5025 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
5026 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
5027 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5028 echo "$as_me: error: libtool configure failed" >&2;}
5029 { (exit 1); exit 1; }; }
5031 # Reload cache, that may have been modified by ltconfig
5032 if test -r "$cache_file"; then
5033 # Some versions of bash will fail to source /dev/null (special
5034 # files actually), so we avoid doing that.
5035 if test -f "$cache_file"; then
5036 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5037 echo "$as_me: loading cache $cache_file" >&6;}
5039 [\\/]* | ?:[\\/]* ) . $cache_file;;
5040 *) . ./$cache_file;;
5044 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5045 echo "$as_me: creating cache $cache_file" >&6;}
5050 # This can be used to rebuild libtool when needed
5051 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5053 # Always use our own libtool.
5054 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5056 # Redirect the config.log output again, so that the ltconfig log is not
5057 # clobbered by the next message.
5058 exec 5>>./config.log
5068 if test "${ac_cv_header_stdint_h+set}" = set; then
5069 echo "$as_me:$LINENO: checking for stdint.h" >&5
5070 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
5071 if test "${ac_cv_header_stdint_h+set}" = set; then
5072 echo $ECHO_N "(cached) $ECHO_C" >&6
5074 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
5075 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
5077 # Is the header compilable?
5078 echo "$as_me:$LINENO: checking stdint.h usability" >&5
5079 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6
5080 cat >conftest.$ac_ext <<_ACEOF
5083 cat confdefs.h >>conftest.$ac_ext
5084 cat >>conftest.$ac_ext <<_ACEOF
5085 /* end confdefs.h. */
5086 $ac_includes_default
5089 rm -f conftest.$ac_objext
5090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5091 (eval $ac_compile) 2>conftest.er1
5093 grep -v '^ *+' conftest.er1 >conftest.err
5095 cat conftest.err >&5
5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 (exit $ac_status); } &&
5098 { ac_try='test -z "$ac_c_werror_flag"
5099 || test ! -s conftest.err'
5100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); }; } &&
5105 { ac_try='test -s conftest.$ac_objext'
5106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); }; }; then
5111 ac_header_compiler=yes
5113 echo "$as_me: failed program was:" >&5
5114 sed 's/^/| /' conftest.$ac_ext >&5
5116 ac_header_compiler=no
5118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5120 echo "${ECHO_T}$ac_header_compiler" >&6
5122 # Is the header present?
5123 echo "$as_me:$LINENO: checking stdint.h presence" >&5
5124 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6
5125 cat >conftest.$ac_ext <<_ACEOF
5128 cat confdefs.h >>conftest.$ac_ext
5129 cat >>conftest.$ac_ext <<_ACEOF
5130 /* end confdefs.h. */
5133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5134 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5136 grep -v '^ *+' conftest.er1 >conftest.err
5138 cat conftest.err >&5
5139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140 (exit $ac_status); } >/dev/null; then
5141 if test -s conftest.err; then
5142 ac_cpp_err=$ac_c_preproc_warn_flag
5143 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5150 if test -z "$ac_cpp_err"; then
5151 ac_header_preproc=yes
5153 echo "$as_me: failed program was:" >&5
5154 sed 's/^/| /' conftest.$ac_ext >&5
5156 ac_header_preproc=no
5158 rm -f conftest.err conftest.$ac_ext
5159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5160 echo "${ECHO_T}$ac_header_preproc" >&6
5162 # So? What about this header?
5163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5165 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
5166 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5167 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5
5168 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;}
5169 ac_header_preproc=yes
5172 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
5173 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
5174 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5
5175 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;}
5176 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5
5177 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;}
5178 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5
5179 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;}
5180 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
5181 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
5182 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5
5183 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;}
5186 ## ------------------------------------------ ##
5187 ## Report this to the AC_PACKAGE_NAME lists. ##
5188 ## ------------------------------------------ ##
5191 sed "s/^/$as_me: WARNING: /" >&2
5194 echo "$as_me:$LINENO: checking for stdint.h" >&5
5195 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
5196 if test "${ac_cv_header_stdint_h+set}" = set; then
5197 echo $ECHO_N "(cached) $ECHO_C" >&6
5199 ac_cv_header_stdint_h=$ac_header_preproc
5201 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
5202 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
5205 if test $ac_cv_header_stdint_h = yes; then
5213 if test $MF_HAVE_STDINT_H = 1
5217 cat >conftest.$ac_ext <<_ACEOF
5220 cat confdefs.h >>conftest.$ac_ext
5221 cat >>conftest.$ac_ext <<_ACEOF
5222 /* end confdefs.h. */
5223 #include <sys/types.h>
5232 rm -f conftest.$ac_objext
5233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5234 (eval $ac_compile) 2>conftest.er1
5236 grep -v '^ *+' conftest.er1 >conftest.err
5238 cat conftest.err >&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); } &&
5241 { ac_try='test -z "$ac_c_werror_flag"
5242 || test ! -s conftest.err'
5243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); }; } &&
5248 { ac_try='test -s conftest.$ac_objext'
5249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); }; }; then
5256 echo "$as_me: failed program was:" >&5
5257 sed 's/^/| /' conftest.$ac_ext >&5
5261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5267 # libmudflapth objects are built in this subdirectory
5271 pthread_create_version='""'
5272 if test "${ac_cv_header_pthread_h+set}" = set; then
5273 echo "$as_me:$LINENO: checking for pthread.h" >&5
5274 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
5275 if test "${ac_cv_header_pthread_h+set}" = set; then
5276 echo $ECHO_N "(cached) $ECHO_C" >&6
5278 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
5279 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
5281 # Is the header compilable?
5282 echo "$as_me:$LINENO: checking pthread.h usability" >&5
5283 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6
5284 cat >conftest.$ac_ext <<_ACEOF
5287 cat confdefs.h >>conftest.$ac_ext
5288 cat >>conftest.$ac_ext <<_ACEOF
5289 /* end confdefs.h. */
5290 $ac_includes_default
5291 #include <pthread.h>
5293 rm -f conftest.$ac_objext
5294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5295 (eval $ac_compile) 2>conftest.er1
5297 grep -v '^ *+' conftest.er1 >conftest.err
5299 cat conftest.err >&5
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); } &&
5302 { ac_try='test -z "$ac_c_werror_flag"
5303 || test ! -s conftest.err'
5304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); }; } &&
5309 { ac_try='test -s conftest.$ac_objext'
5310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); }; }; then
5315 ac_header_compiler=yes
5317 echo "$as_me: failed program was:" >&5
5318 sed 's/^/| /' conftest.$ac_ext >&5
5320 ac_header_compiler=no
5322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5323 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5324 echo "${ECHO_T}$ac_header_compiler" >&6
5326 # Is the header present?
5327 echo "$as_me:$LINENO: checking pthread.h presence" >&5
5328 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6
5329 cat >conftest.$ac_ext <<_ACEOF
5332 cat confdefs.h >>conftest.$ac_ext
5333 cat >>conftest.$ac_ext <<_ACEOF
5334 /* end confdefs.h. */
5335 #include <pthread.h>
5337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5340 grep -v '^ *+' conftest.er1 >conftest.err
5342 cat conftest.err >&5
5343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5344 (exit $ac_status); } >/dev/null; then
5345 if test -s conftest.err; then
5346 ac_cpp_err=$ac_c_preproc_warn_flag
5347 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5354 if test -z "$ac_cpp_err"; then
5355 ac_header_preproc=yes
5357 echo "$as_me: failed program was:" >&5
5358 sed 's/^/| /' conftest.$ac_ext >&5
5360 ac_header_preproc=no
5362 rm -f conftest.err conftest.$ac_ext
5363 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5364 echo "${ECHO_T}$ac_header_preproc" >&6
5366 # So? What about this header?
5367 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5369 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
5370 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5371 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
5372 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
5373 ac_header_preproc=yes
5376 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
5377 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
5378 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
5379 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
5380 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
5381 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
5382 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
5383 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
5384 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
5385 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
5386 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
5387 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
5390 ## ------------------------------------------ ##
5391 ## Report this to the AC_PACKAGE_NAME lists. ##
5392 ## ------------------------------------------ ##
5395 sed "s/^/$as_me: WARNING: /" >&2
5398 echo "$as_me:$LINENO: checking for pthread.h" >&5
5399 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
5400 if test "${ac_cv_header_pthread_h+set}" = set; then
5401 echo $ECHO_N "(cached) $ECHO_C" >&6
5403 ac_cv_header_pthread_h=$ac_header_preproc
5405 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
5406 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
5409 if test $ac_cv_header_pthread_h = yes; then
5412 cat >>confdefs.h <<_ACEOF
5413 #define HAVE_PTHREAD_H 1
5416 ac_have_pthread_h=yes
5427 if test "x$ac_have_pthread_h" != ""; then
5429 LIBMUDFLAPTH_FALSE='#'
5431 LIBMUDFLAPTH_TRUE='#'
5437 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
5438 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
5439 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
5440 echo $ECHO_N "(cached) $ECHO_C" >&6
5442 ac_check_lib_save_LIBS=$LIBS
5444 cat >conftest.$ac_ext <<_ACEOF
5447 cat confdefs.h >>conftest.$ac_ext
5448 cat >>conftest.$ac_ext <<_ACEOF
5449 /* end confdefs.h. */
5451 /* Override any gcc2 internal prototype to avoid an error. */
5455 /* We use char because int might match the return type of a gcc2
5456 builtin and then its argument prototype would still apply. */
5466 rm -f conftest.$ac_objext conftest$ac_exeext
5467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5468 (eval $ac_link) 2>conftest.er1
5470 grep -v '^ *+' conftest.er1 >conftest.err
5472 cat conftest.err >&5
5473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5474 (exit $ac_status); } &&
5475 { ac_try='test -z "$ac_c_werror_flag"
5476 || test ! -s conftest.err'
5477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); }; } &&
5482 { ac_try='test -s conftest$ac_exeext'
5483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5487 (exit $ac_status); }; }; then
5488 ac_cv_lib_dl_dlsym=yes
5490 echo "$as_me: failed program was:" >&5
5491 sed 's/^/| /' conftest.$ac_ext >&5
5493 ac_cv_lib_dl_dlsym=no
5495 rm -f conftest.err conftest.$ac_objext \
5496 conftest$ac_exeext conftest.$ac_ext
5497 LIBS=$ac_check_lib_save_LIBS
5499 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
5500 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
5501 if test $ac_cv_lib_dl_dlsym = yes; then
5502 cat >>confdefs.h <<_ACEOF
5503 #define HAVE_LIBDL 1
5511 # Process the option "--enable-version-specific-runtime-libs"
5512 gcc_version_trigger=${srcdir}/../gcc/version.c
5513 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
5514 gcc_version=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`
5517 # Calculate toolexeclibdir
5518 # Also toolexecdir, though it's only used in toolexeclibdir
5519 case ${version_specific_libs} in
5521 # Need the gcc compiler version to know where to install libraries
5522 # and header files if --enable-version-specific-runtime-libs option
5524 toolexecdir='$(libdir)/gcc/$(target_alias)'
5525 toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
5528 if test -n "$with_cross_host" &&
5529 test x"$with_cross_host" != x"no"; then
5530 # Install a library built with a cross compiler in tooldir, not libdir.
5531 toolexecdir='$(exec_prefix)/$(target_alias)'
5532 toolexeclibdir='$(toolexecdir)/lib'
5534 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5535 toolexeclibdir='$(libdir)'
5537 multi_os_directory=`$CC -print-multi-os-directory`
5538 case $multi_os_directory in
5539 .) ;; # Avoid trailing /.
5540 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5547 if test "x$enable_shared" = "xyes" && test "x$ac_have_pthread_h" != ""; then
5548 # NB: don't check for -lpthread here, because then it would be
5549 # added to LIBS. For the thread-unaware libmudflap.la, we don't
5552 # glibc-related hacks. dlsym() may pick the wrong version of
5553 # interposed functions like pthread_create on modern glibc.
5554 # We need to find the proper symbol version string, and use
5555 # the nonstandard dlvsym().
5557 for ac_func in dlvsym
5559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5560 echo "$as_me:$LINENO: checking for $ac_func" >&5
5561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5562 if eval "test \"\${$as_ac_var+set}\" = set"; then
5563 echo $ECHO_N "(cached) $ECHO_C" >&6
5565 cat >conftest.$ac_ext <<_ACEOF
5568 cat confdefs.h >>conftest.$ac_ext
5569 cat >>conftest.$ac_ext <<_ACEOF
5570 /* end confdefs.h. */
5571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5573 #define $ac_func innocuous_$ac_func
5575 /* System header to define __stub macros and hopefully few prototypes,
5576 which can conflict with char $ac_func (); below.
5577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5578 <limits.h> exists even on freestanding compilers. */
5581 # include <limits.h>
5583 # include <assert.h>
5588 /* Override any gcc2 internal prototype to avoid an error. */
5593 /* We use char because int might match the return type of a gcc2
5594 builtin and then its argument prototype would still apply. */
5596 /* The GNU C library defines this for functions which it implements
5597 to always fail with ENOSYS. Some functions are actually named
5598 something starting with __ and the normal name is an alias. */
5599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5602 char (*f) () = $ac_func;
5611 return f != $ac_func;
5616 rm -f conftest.$ac_objext conftest$ac_exeext
5617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5618 (eval $ac_link) 2>conftest.er1
5620 grep -v '^ *+' conftest.er1 >conftest.err
5622 cat conftest.err >&5
5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); } &&
5625 { ac_try='test -z "$ac_c_werror_flag"
5626 || test ! -s conftest.err'
5627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5631 (exit $ac_status); }; } &&
5632 { ac_try='test -s conftest$ac_exeext'
5633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5637 (exit $ac_status); }; }; then
5638 eval "$as_ac_var=yes"
5640 echo "$as_me: failed program was:" >&5
5641 sed 's/^/| /' conftest.$ac_ext >&5
5643 eval "$as_ac_var=no"
5645 rm -f conftest.err conftest.$ac_objext \
5646 conftest$ac_exeext conftest.$ac_ext
5648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5650 if test `eval echo '${'$as_ac_var'}'` = yes; then
5651 cat >>confdefs.h <<_ACEOF
5652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5658 if test -n "$ac_tool_prefix"; then
5659 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
5660 set dummy ${ac_tool_prefix}nm; ac_word=$2
5661 echo "$as_me:$LINENO: checking for $ac_word" >&5
5662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5663 if test "${ac_cv_prog_NM+set}" = set; then
5664 echo $ECHO_N "(cached) $ECHO_C" >&6
5666 if test -n "$NM"; then
5667 ac_cv_prog_NM="$NM" # Let the user override the test.
5669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673 test -z "$as_dir" && as_dir=.
5674 for ac_exec_ext in '' $ac_executable_extensions; do
5675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5676 ac_cv_prog_NM="${ac_tool_prefix}nm"
5677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5686 if test -n "$NM"; then
5687 echo "$as_me:$LINENO: result: $NM" >&5
5688 echo "${ECHO_T}$NM" >&6
5690 echo "$as_me:$LINENO: result: no" >&5
5691 echo "${ECHO_T}no" >&6
5695 if test -z "$ac_cv_prog_NM"; then
5697 # Extract the first word of "nm", so it can be a program name with args.
5698 set dummy nm; ac_word=$2
5699 echo "$as_me:$LINENO: checking for $ac_word" >&5
5700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5701 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
5702 echo $ECHO_N "(cached) $ECHO_C" >&6
5704 if test -n "$ac_ct_NM"; then
5705 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
5707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5711 test -z "$as_dir" && as_dir=.
5712 for ac_exec_ext in '' $ac_executable_extensions; do
5713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5714 ac_cv_prog_ac_ct_NM="nm"
5715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5723 ac_ct_NM=$ac_cv_prog_ac_ct_NM
5724 if test -n "$ac_ct_NM"; then
5725 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
5726 echo "${ECHO_T}$ac_ct_NM" >&6
5728 echo "$as_me:$LINENO: result: no" >&5
5729 echo "${ECHO_T}no" >&6
5737 if test "x$ac_cv_have_dlvsym" != ""; then
5738 # Try compiling a simple pthreads program. Find the shared libraries it
5739 # ends up with. Then use "nm" on those libraries to extract the
5740 # default symbol versioning suffix ("@@"), if any. But that's tricky.
5741 # Rather, run nm on the resulting executable. Unfortunately, autoconf
5742 # doesn't appear to have a macro that builds a test executable for
5743 # subsequent analysis ... so we do it by hand here.
5744 cat >> conftest.c << EOF
5745 #include <pthread.h>
5746 int main () { void *p = (void *) & pthread_create; return (int) p; }
5749 LIBS="$LIBS -lpthread"
5750 pthread_create_version="\"\""
5751 echo "$as_me:$LINENO: checking pthread_create symbol version" >&5
5752 echo $ECHO_N "checking pthread_create symbol version... $ECHO_C" >&6
5753 if eval $ac_link 2>&5 && test -s conftest${ac_exeext}; then
5754 version=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
5755 if test "x$version" != "x"; then
5756 pthread_create_version="\"$version\""
5759 echo "$as_me:$LINENO: result: $pthread_create_version" >&5
5760 echo "${ECHO_T}$pthread_create_version" >&6
5765 cat >>confdefs.h <<_ACEOF
5766 #define PTHREAD_CREATE_VERSION $pthread_create_version
5770 if test ${multilib} = yes; then
5771 multilib_arg="--enable-multilib"
5776 ac_config_files="$ac_config_files Makefile testsuite/Makefile mf-runtime.h"
5777 cat >confcache <<\_ACEOF
5778 # This file is a shell script that caches the results of configure
5779 # tests run on this system so they can be shared between configure
5780 # scripts and configure runs, see configure's option --config-cache.
5781 # It is not useful on other systems. If it contains results you don't
5782 # want to keep, you may remove or edit it.
5784 # config.status only pays attention to the cache file if you give it
5785 # the --recheck option to rerun configure.
5787 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5788 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5793 # The following way of writing the cache mishandles newlines in values,
5794 # but we know of no workaround that is simple, portable, and efficient.
5795 # So, don't put newlines in cache variables' values.
5796 # Ultrix sh set writes to stderr and can't be redirected directly,
5797 # and sets the high bit in the cache file unless we assign to the vars.
5800 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5802 # `set' does not quote correctly, so add quotes (double-quote
5803 # substitution turns \\\\ into \\, and sed turns \\ into \).
5806 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5809 # `set' quotes correctly as required by POSIX, so do not add quotes.
5811 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5818 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5820 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5822 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5823 if test -w $cache_file; then
5824 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5825 cat confcache >$cache_file
5827 echo "not updating unwritable cache $cache_file"
5832 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5833 # Let make expand exec_prefix.
5834 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5836 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5837 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5838 # trailing colons and then remove the whole line if VPATH becomes empty
5839 # (actually we leave an empty line to preserve line numbers).
5840 if test "x$srcdir" = x.; then
5841 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5842 s/:*\$(srcdir):*/:/;
5843 s/:*\${srcdir}:*/:/;
5845 s/^\([^=]*=[ ]*\):*/\1/;
5851 DEFS=-DHAVE_CONFIG_H
5855 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5856 # 1. Remove the extension, and $U if already installed.
5857 ac_i=`echo "$ac_i" |
5858 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5860 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5861 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5865 LTLIBOBJS=$ac_ltlibobjs
5868 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5869 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5870 Usually this means the macro was only invoked conditionally." >&5
5871 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5872 Usually this means the macro was only invoked conditionally." >&2;}
5873 { (exit 1); exit 1; }; }
5875 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5876 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5877 Usually this means the macro was only invoked conditionally." >&5
5878 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5879 Usually this means the macro was only invoked conditionally." >&2;}
5880 { (exit 1); exit 1; }; }
5882 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5883 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5884 Usually this means the macro was only invoked conditionally." >&5
5885 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5886 Usually this means the macro was only invoked conditionally." >&2;}
5887 { (exit 1); exit 1; }; }
5889 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
5890 { { echo "$as_me:$LINENO: error: conditional \"LIBMUDFLAPTH\" was never defined.
5891 Usually this means the macro was only invoked conditionally." >&5
5892 echo "$as_me: error: conditional \"LIBMUDFLAPTH\" was never defined.
5893 Usually this means the macro was only invoked conditionally." >&2;}
5894 { (exit 1); exit 1; }; }
5897 : ${CONFIG_STATUS=./config.status}
5898 ac_clean_files_save=$ac_clean_files
5899 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5900 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5901 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5902 cat >$CONFIG_STATUS <<_ACEOF
5904 # Generated by $as_me.
5905 # Run this file to recreate the current configuration.
5906 # Compiler output produced by configure, useful for debugging
5907 # configure, is in config.log if it exists.
5912 SHELL=\${CONFIG_SHELL-$SHELL}
5915 cat >>$CONFIG_STATUS <<\_ACEOF
5916 ## --------------------- ##
5917 ## M4sh Initialization. ##
5918 ## --------------------- ##
5920 # Be Bourne compatible
5921 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5924 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5925 # is contrary to our usage. Disable this feature.
5926 alias -g '${1+"$@"}'='"$@"'
5927 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5930 DUALCASE=1; export DUALCASE # for MKS sh
5932 # Support unset when possible.
5933 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5940 # Work around bugs in pre-3.0 UWIN ksh.
5941 $as_unset ENV MAIL MAILPATH
5948 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5949 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5950 LC_TELEPHONE LC_TIME
5952 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5953 eval $as_var=C; export $as_var
5959 # Required to use basename.
5960 if expr a : '\(a\)' >/dev/null 2>&1; then
5966 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5967 as_basename=basename
5973 # Name of the executable.
5974 as_me=`$as_basename "$0" ||
5975 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5976 X"$0" : 'X\(//\)$' \| \
5977 X"$0" : 'X\(/\)$' \| \
5978 . : '\(.\)' 2>/dev/null ||
5980 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5981 /^X\/\(\/\/\)$/{ s//\1/; q; }
5982 /^X\/\(\/\).*/{ s//\1/; q; }
5986 # PATH needs CR, and LINENO needs CR and PATH.
5987 # Avoid depending upon Character Ranges.
5988 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5989 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5990 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5991 as_cr_digits='0123456789'
5992 as_cr_alnum=$as_cr_Letters$as_cr_digits
5994 # The user is always right.
5995 if test "${PATH_SEPARATOR+set}" != set; then
5996 echo "#! /bin/sh" >conf$$.sh
5997 echo "exit 0" >>conf$$.sh
5999 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6010 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6011 test "x$as_lineno_1" != "x$as_lineno_2" &&
6012 test "x$as_lineno_3" = "x$as_lineno_2" || {
6013 # Find who we are. Look in the path if we contain no path at all
6016 *[\\/]* ) as_myself=$0 ;;
6017 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 test -z "$as_dir" && as_dir=.
6022 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6027 # We did not find ourselves, most probably we were run as `sh COMMAND'
6028 # in which case we are not to be found in the path.
6029 if test "x$as_myself" = x; then
6032 if test ! -f "$as_myself"; then
6033 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6034 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6035 { (exit 1); exit 1; }; }
6037 case $CONFIG_SHELL in
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6043 test -z "$as_dir" && as_dir=.
6044 for as_base in sh bash ksh sh5; do
6047 if ("$as_dir/$as_base" -c '
6050 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6051 test "x$as_lineno_1" != "x$as_lineno_2" &&
6052 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6053 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6054 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6055 CONFIG_SHELL=$as_dir/$as_base
6057 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6065 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6066 # uniformly replaced by the line number. The first 'sed' inserts a
6067 # line-number line before each line; the second 'sed' does the real
6068 # work. The second script uses 'N' to pair each line-number line
6069 # with the numbered line, and appends trailing '-' during
6070 # substitution so that $LINENO is not a special case at line end.
6071 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6072 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6073 sed '=' <$as_myself |
6078 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6081 s,^['$as_cr_digits']*\n,,
6083 chmod +x $as_me.lineno ||
6084 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6085 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6086 { (exit 1); exit 1; }; }
6088 # Don't try to exec as it changes $[0], causing all sort of problems
6089 # (the dirname of $[0] is not the place where we might find the
6090 # original and so on. Autoconf is especially sensible to this).
6092 # Exit status is that of the last command.
6097 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6098 *c*,-n*) ECHO_N= ECHO_C='
6100 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6101 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6104 if expr a : '\(a\)' >/dev/null 2>&1; then
6110 rm -f conf$$ conf$$.exe conf$$.file
6112 if ln -s conf$$.file conf$$ 2>/dev/null; then
6113 # We could just check for DJGPP; but this test a) works b) is more generic
6114 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6115 if test -f conf$$.exe; then
6116 # Don't use ln at all; we don't have any links
6121 elif ln conf$$.file conf$$ 2>/dev/null; then
6126 rm -f conf$$ conf$$.exe conf$$.file
6128 if mkdir -p . 2>/dev/null; then
6131 test -d ./-p && rmdir ./-p
6135 as_executable_p="test -f"
6137 # Sed expression to map a string onto a valid CPP name.
6138 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6140 # Sed expression to map a string onto a valid variable name.
6141 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6145 # We need space, tab and new line, in precisely that order.
6155 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6156 # report actual input values of CONFIG_FILES etc. instead of their
6157 # values after options handling. Logging --version etc. is OK.
6161 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6162 ## Running $as_me. ##
6167 This file was extended by $as_me, which was
6168 generated by GNU Autoconf 2.59. Invocation command line was
6170 CONFIG_FILES = $CONFIG_FILES
6171 CONFIG_HEADERS = $CONFIG_HEADERS
6172 CONFIG_LINKS = $CONFIG_LINKS
6173 CONFIG_COMMANDS = $CONFIG_COMMANDS
6177 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6181 # Files that config.status was made for.
6182 if test -n "$ac_config_files"; then
6183 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6186 if test -n "$ac_config_headers"; then
6187 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6190 if test -n "$ac_config_links"; then
6191 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6194 if test -n "$ac_config_commands"; then
6195 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6198 cat >>$CONFIG_STATUS <<\_ACEOF
6201 \`$as_me' instantiates files from templates according to the
6202 current configuration.
6204 Usage: $0 [OPTIONS] [FILE]...
6206 -h, --help print this help, then exit
6207 -V, --version print version number, then exit
6208 -q, --quiet do not print progress messages
6209 -d, --debug don't remove temporary files
6210 --recheck update $as_me by reconfiguring in the same conditions
6211 --file=FILE[:TEMPLATE]
6212 instantiate the configuration file FILE
6213 --header=FILE[:TEMPLATE]
6214 instantiate the configuration header FILE
6216 Configuration files:
6219 Configuration headers:
6222 Configuration commands:
6225 Report bugs to <bug-autoconf@gnu.org>."
6228 cat >>$CONFIG_STATUS <<_ACEOF
6231 configured by $0, generated by GNU Autoconf 2.59,
6232 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6234 Copyright (C) 2003 Free Software Foundation, Inc.
6235 This config.status script is free software; the Free Software Foundation
6236 gives unlimited permission to copy, distribute and modify it."
6241 cat >>$CONFIG_STATUS <<\_ACEOF
6242 # If no file are specified by the user, then we need to provide default
6243 # value. By we need to know if files were specified by the user.
6249 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6250 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6258 *) # This is not an option, so the user has probably given explicit
6261 ac_need_defaults=false;;
6265 # Handling of the options.
6267 cat >>$CONFIG_STATUS <<\_ACEOF
6268 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6270 --version | --vers* | -V )
6271 echo "$ac_cs_version"; exit 0 ;;
6273 # Conflict between --help and --header
6274 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6275 Try \`$0 --help' for more information." >&5
6276 echo "$as_me: error: ambiguous option: $1
6277 Try \`$0 --help' for more information." >&2;}
6278 { (exit 1); exit 1; }; };;
6279 --help | --hel | -h )
6280 echo "$ac_cs_usage"; exit 0 ;;
6281 --debug | --d* | -d )
6283 --file | --fil | --fi | --f )
6285 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6286 ac_need_defaults=false;;
6287 --header | --heade | --head | --hea )
6289 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6290 ac_need_defaults=false;;
6291 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6292 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6296 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6297 Try \`$0 --help' for more information." >&5
6298 echo "$as_me: error: unrecognized option: $1
6299 Try \`$0 --help' for more information." >&2;}
6300 { (exit 1); exit 1; }; } ;;
6302 *) ac_config_targets="$ac_config_targets $1" ;;
6308 ac_configure_extra_args=
6310 if $ac_cs_silent; then
6312 ac_configure_extra_args="$ac_configure_extra_args --silent"
6316 cat >>$CONFIG_STATUS <<_ACEOF
6317 if \$ac_cs_recheck; then
6318 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6319 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6324 cat >>$CONFIG_STATUS <<_ACEOF
6326 # INIT-COMMANDS section.
6333 with_multisubdir="$with_multisubdir"
6334 with_multisrctop="$with_multisrctop"
6335 with_target_subdir="$with_target_subdir"
6336 ac_configure_args="${multilib_arg} ${ac_configure_args}"
6337 multi_basedir="$multi_basedir"
6338 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6340 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6346 cat >>$CONFIG_STATUS <<\_ACEOF
6347 for ac_config_target in $ac_config_targets
6349 case "$ac_config_target" in
6350 # Handling of arguments.
6351 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6352 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
6353 "mf-runtime.h" ) CONFIG_FILES="$CONFIG_FILES mf-runtime.h" ;;
6354 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
6355 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6356 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6357 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6358 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6359 { (exit 1); exit 1; }; };;
6363 # If the user did not use the arguments to specify the items to instantiate,
6364 # then the envvar interface is used. Set only those that are not.
6365 # We use the long form for the default assignment because of an extremely
6366 # bizarre bug on SunOS 4.1.3.
6367 if $ac_need_defaults; then
6368 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6369 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6370 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6373 # Have a temporary directory for convenience. Make it in the build tree
6374 # simply because there is no reason to put it here, and in addition,
6375 # creating and moving files from /tmp can sometimes cause problems.
6376 # Create a temporary directory, and hook for its removal unless debugging.
6379 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6380 trap '{ (exit 1); exit 1; }' 1 2 13 15
6383 # Create a (secure) tmp directory for tmp files.
6386 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6387 test -n "$tmp" && test -d "$tmp"
6390 tmp=./confstat$$-$RANDOM
6391 (umask 077 && mkdir $tmp)
6394 echo "$me: cannot create a temporary directory in ." >&2
6395 { (exit 1); exit 1; }
6400 cat >>$CONFIG_STATUS <<_ACEOF
6403 # CONFIG_FILES section.
6406 # No need to generate the scripts if there are no CONFIG_FILES.
6407 # This happens for instance when ./config.status config.h
6408 if test -n "\$CONFIG_FILES"; then
6409 # Protect against being on the right side of a sed subst in config.status.
6410 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6411 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6412 s,@SHELL@,$SHELL,;t t
6413 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6414 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6415 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6416 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6417 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6418 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6419 s,@exec_prefix@,$exec_prefix,;t t
6420 s,@prefix@,$prefix,;t t
6421 s,@program_transform_name@,$program_transform_name,;t t
6422 s,@bindir@,$bindir,;t t
6423 s,@sbindir@,$sbindir,;t t
6424 s,@libexecdir@,$libexecdir,;t t
6425 s,@datadir@,$datadir,;t t
6426 s,@sysconfdir@,$sysconfdir,;t t
6427 s,@sharedstatedir@,$sharedstatedir,;t t
6428 s,@localstatedir@,$localstatedir,;t t
6429 s,@libdir@,$libdir,;t t
6430 s,@includedir@,$includedir,;t t
6431 s,@oldincludedir@,$oldincludedir,;t t
6432 s,@infodir@,$infodir,;t t
6433 s,@mandir@,$mandir,;t t
6434 s,@build_alias@,$build_alias,;t t
6435 s,@host_alias@,$host_alias,;t t
6436 s,@target_alias@,$target_alias,;t t
6438 s,@ECHO_C@,$ECHO_C,;t t
6439 s,@ECHO_N@,$ECHO_N,;t t
6440 s,@ECHO_T@,$ECHO_T,;t t
6442 s,@build@,$build,;t t
6443 s,@build_cpu@,$build_cpu,;t t
6444 s,@build_vendor@,$build_vendor,;t t
6445 s,@build_os@,$build_os,;t t
6447 s,@host_cpu@,$host_cpu,;t t
6448 s,@host_vendor@,$host_vendor,;t t
6449 s,@host_os@,$host_os,;t t
6450 s,@target@,$target,;t t
6451 s,@target_cpu@,$target_cpu,;t t
6452 s,@target_vendor@,$target_vendor,;t t
6453 s,@target_os@,$target_os,;t t
6454 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6455 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6456 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6457 s,@CYGPATH_W@,$CYGPATH_W,;t t
6458 s,@PACKAGE@,$PACKAGE,;t t
6459 s,@VERSION@,$VERSION,;t t
6460 s,@ACLOCAL@,$ACLOCAL,;t t
6461 s,@AUTOCONF@,$AUTOCONF,;t t
6462 s,@AUTOMAKE@,$AUTOMAKE,;t t
6463 s,@AUTOHEADER@,$AUTOHEADER,;t t
6464 s,@MAKEINFO@,$MAKEINFO,;t t
6465 s,@AMTAR@,$AMTAR,;t t
6466 s,@install_sh@,$install_sh,;t t
6467 s,@STRIP@,$STRIP,;t t
6468 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6469 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6470 s,@mkdir_p@,$mkdir_p,;t t
6472 s,@SET_MAKE@,$SET_MAKE,;t t
6473 s,@am__leading_dot@,$am__leading_dot,;t t
6474 s,@libtool_VERSION@,$libtool_VERSION,;t t
6475 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6476 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6477 s,@MAINT@,$MAINT,;t t
6478 s,@multi_basedir@,$multi_basedir,;t t
6480 s,@ac_ct_CC@,$ac_ct_CC,;t t
6481 s,@EXEEXT@,$EXEEXT,;t t
6482 s,@OBJEXT@,$OBJEXT,;t t
6483 s,@DEPDIR@,$DEPDIR,;t t
6484 s,@am__include@,$am__include,;t t
6485 s,@am__quote@,$am__quote,;t t
6486 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6487 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6488 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6489 s,@CCDEPMODE@,$CCDEPMODE,;t t
6490 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6491 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6492 s,@CFLAGS@,$CFLAGS,;t t
6494 s,@CPPFLAGS@,$CPPFLAGS,;t t
6495 s,@EGREP@,$EGREP,;t t
6497 s,@RANLIB@,$RANLIB,;t t
6498 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6499 s,@LIBTOOL@,$LIBTOOL,;t t
6500 s,@enable_shared@,$enable_shared,;t t
6501 s,@enable_static@,$enable_static,;t t
6502 s,@MF_HAVE_STDINT_H@,$MF_HAVE_STDINT_H,;t t
6503 s,@MF_HAVE_UINTPTR_T@,$MF_HAVE_UINTPTR_T,;t t
6504 s,@LIBMUDFLAPTH_TRUE@,$LIBMUDFLAPTH_TRUE,;t t
6505 s,@LIBMUDFLAPTH_FALSE@,$LIBMUDFLAPTH_FALSE,;t t
6506 s,@gcc_version@,$gcc_version,;t t
6507 s,@toolexecdir@,$toolexecdir,;t t
6508 s,@toolexeclibdir@,$toolexeclibdir,;t t
6510 s,@ac_ct_NM@,$ac_ct_NM,;t t
6511 s,@LIBOBJS@,$LIBOBJS,;t t
6512 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6517 cat >>$CONFIG_STATUS <<\_ACEOF
6518 # Split the substitutions into bite-sized pieces for seds with
6519 # small command number limits, like on Digital OSF/1 and HP-UX.
6521 ac_sed_frag=1 # Number of current file.
6522 ac_beg=1 # First line for current file.
6523 ac_end=$ac_max_sed_lines # Line after last line for current file.
6526 while $ac_more_lines; do
6527 if test $ac_beg -gt 1; then
6528 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6530 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6532 if test ! -s $tmp/subs.frag; then
6535 # The purpose of the label and of the branching condition is to
6536 # speed up the sed processing (if there are no `@' at all, there
6537 # is no need to browse any of the substitutions).
6538 # These are the two extra sed commands mentioned above.
6540 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6541 if test -z "$ac_sed_cmds"; then
6542 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6544 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6546 ac_sed_frag=`expr $ac_sed_frag + 1`
6548 ac_end=`expr $ac_end + $ac_max_sed_lines`
6551 if test -z "$ac_sed_cmds"; then
6554 fi # test -n "$CONFIG_FILES"
6557 cat >>$CONFIG_STATUS <<\_ACEOF
6558 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6559 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6561 - | *:- | *:-:* ) # input from stdin
6563 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6564 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6565 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6566 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6567 * ) ac_file_in=$ac_file.in ;;
6570 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6571 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6572 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6573 X"$ac_file" : 'X\(//\)[^/]' \| \
6574 X"$ac_file" : 'X\(//\)$' \| \
6575 X"$ac_file" : 'X\(/\)' \| \
6576 . : '\(.\)' 2>/dev/null ||
6578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6579 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6580 /^X\(\/\/\)$/{ s//\1/; q; }
6581 /^X\(\/\).*/{ s//\1/; q; }
6583 { if $as_mkdir_p; then
6588 while test ! -d "$as_dir"; do
6589 as_dirs="$as_dir $as_dirs"
6590 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6591 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6592 X"$as_dir" : 'X\(//\)[^/]' \| \
6593 X"$as_dir" : 'X\(//\)$' \| \
6594 X"$as_dir" : 'X\(/\)' \| \
6595 . : '\(.\)' 2>/dev/null ||
6597 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6598 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6599 /^X\(\/\/\)$/{ s//\1/; q; }
6600 /^X\(\/\).*/{ s//\1/; q; }
6603 test ! -n "$as_dirs" || mkdir $as_dirs
6604 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6605 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6606 { (exit 1); exit 1; }; }; }
6610 if test "$ac_dir" != .; then
6611 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6612 # A "../" for each directory in $ac_dir_suffix.
6613 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6615 ac_dir_suffix= ac_top_builddir=
6619 .) # No --srcdir option. We are building in place.
6621 if test -z "$ac_top_builddir"; then
6624 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6626 [\\/]* | ?:[\\/]* ) # Absolute path.
6627 ac_srcdir=$srcdir$ac_dir_suffix;
6628 ac_top_srcdir=$srcdir ;;
6630 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6631 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6634 # Do not use `cd foo && pwd` to compute absolute paths, because
6635 # the directories may not exist.
6637 .) ac_abs_builddir="$ac_dir";;
6640 .) ac_abs_builddir=`pwd`;;
6641 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6642 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6645 case $ac_abs_builddir in
6646 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6648 case ${ac_top_builddir}. in
6649 .) ac_abs_top_builddir=$ac_abs_builddir;;
6650 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6651 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6654 case $ac_abs_builddir in
6655 .) ac_abs_srcdir=$ac_srcdir;;
6658 .) ac_abs_srcdir=$ac_abs_builddir;;
6659 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6660 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6663 case $ac_abs_builddir in
6664 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6666 case $ac_top_srcdir in
6667 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6668 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6669 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6675 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6676 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6679 if test x"$ac_file" != x-; then
6680 { echo "$as_me:$LINENO: creating $ac_file" >&5
6681 echo "$as_me: creating $ac_file" >&6;}
6684 # Let's still pretend it is `configure' which instantiates (i.e., don't
6685 # use $as_me), people would be surprised to read:
6686 # /* config.h. Generated by config.status. */
6687 if test x"$ac_file" = x-; then
6690 configure_input="$ac_file. "
6692 configure_input=$configure_input"Generated from `echo $ac_file_in |
6693 sed 's,.*/,,'` by configure."
6695 # First look for the input files in the build tree, otherwise in the
6697 ac_file_inputs=`IFS=:
6698 for f in $ac_file_in; do
6700 -) echo $tmp/stdin ;;
6702 # Absolute (can't be DOS-style, as IFS=:)
6703 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6704 echo "$as_me: error: cannot find input file: $f" >&2;}
6705 { (exit 1); exit 1; }; }
6708 if test -f "$f"; then
6711 elif test -f "$srcdir/$f"; then
6716 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6717 echo "$as_me: error: cannot find input file: $f" >&2;}
6718 { (exit 1); exit 1; }; }
6721 done` || { (exit 1); exit 1; }
6723 cat >>$CONFIG_STATUS <<_ACEOF
6727 cat >>$CONFIG_STATUS <<\_ACEOF
6729 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6730 s,@configure_input@,$configure_input,;t t
6731 s,@srcdir@,$ac_srcdir,;t t
6732 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6733 s,@top_srcdir@,$ac_top_srcdir,;t t
6734 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6735 s,@builddir@,$ac_builddir,;t t
6736 s,@abs_builddir@,$ac_abs_builddir,;t t
6737 s,@top_builddir@,$ac_top_builddir,;t t
6738 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6739 s,@INSTALL@,$ac_INSTALL,;t t
6740 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6742 if test x"$ac_file" != x-; then
6743 mv $tmp/out $ac_file
6751 cat >>$CONFIG_STATUS <<\_ACEOF
6754 # CONFIG_HEADER section.
6757 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6758 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6760 # ac_d sets the value in "#define NAME VALUE" lines.
6761 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6762 ac_dB='[ ].*$,\1#\2'
6765 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6766 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6767 ac_uB='$,\1#\2define\3'
6771 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6772 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6774 - | *:- | *:-:* ) # input from stdin
6776 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6777 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6778 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6779 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6780 * ) ac_file_in=$ac_file.in ;;
6783 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6784 echo "$as_me: creating $ac_file" >&6;}
6786 # First look for the input files in the build tree, otherwise in the
6788 ac_file_inputs=`IFS=:
6789 for f in $ac_file_in; do
6791 -) echo $tmp/stdin ;;
6793 # Absolute (can't be DOS-style, as IFS=:)
6794 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6795 echo "$as_me: error: cannot find input file: $f" >&2;}
6796 { (exit 1); exit 1; }; }
6797 # Do quote $f, to prevent DOS paths from being IFS'd.
6800 if test -f "$f"; then
6803 elif test -f "$srcdir/$f"; then
6808 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6809 echo "$as_me: error: cannot find input file: $f" >&2;}
6810 { (exit 1); exit 1; }; }
6813 done` || { (exit 1); exit 1; }
6814 # Remove the trailing spaces.
6815 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6819 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6820 # `conftest.undefs', that substitutes the proper values into
6821 # config.h.in to produce config.h. The first handles `#define'
6822 # templates, and the second `#undef' templates.
6823 # And first: Protect against being on the right side of a sed subst in
6824 # config.status. Protect against being in an unquoted here document
6826 rm -f conftest.defines conftest.undefs
6827 # Using a here document instead of a string reduces the quoting nightmare.
6828 # Putting comments in sed scripts is not portable.
6830 # `end' is used to avoid that the second main sed command (meant for
6831 # 0-ary CPP macros) applies to n-ary macro definitions.
6832 # See the Autoconf documentation for `clear'.
6833 cat >confdef2sed.sed <<\_ACEOF
6838 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6840 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6843 # If some macros were called several times there might be several times
6844 # the same #defines, which is useless. Nevertheless, we may not want to
6845 # sort them, since we want the *last* AC-DEFINE to be honored.
6846 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6847 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6848 rm -f confdef2sed.sed
6850 # This sed command replaces #undef with comments. This is necessary, for
6851 # example, in the case of _POSIX_SOURCE, which is predefined and required
6852 # on some systems where configure will not decide to define it.
6853 cat >>conftest.undefs <<\_ACEOF
6854 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6857 # Break up conftest.defines because some shells have a limit on the size
6858 # of here documents, and old seds have small limits too (100 cmds).
6859 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6860 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6861 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6862 echo ' :' >>$CONFIG_STATUS
6864 while grep . conftest.defines >/dev/null
6866 # Write a limited-size here document to $tmp/defines.sed.
6867 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6868 # Speed up: don't consider the non `#define' lines.
6869 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6870 # Work around the forget-to-reset-the-flag bug.
6871 echo 't clr' >>$CONFIG_STATUS
6872 echo ': clr' >>$CONFIG_STATUS
6873 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6875 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6879 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6880 rm -f conftest.defines
6881 mv conftest.tail conftest.defines
6883 rm -f conftest.defines
6884 echo ' fi # grep' >>$CONFIG_STATUS
6885 echo >>$CONFIG_STATUS
6887 # Break up conftest.undefs because some shells have a limit on the size
6888 # of here documents, and old seds have small limits too (100 cmds).
6889 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6891 while grep . conftest.undefs >/dev/null
6893 # Write a limited-size here document to $tmp/undefs.sed.
6894 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6895 # Speed up: don't consider the non `#undef'
6896 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6897 # Work around the forget-to-reset-the-flag bug.
6898 echo 't clr' >>$CONFIG_STATUS
6899 echo ': clr' >>$CONFIG_STATUS
6900 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6902 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6906 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6907 rm -f conftest.undefs
6908 mv conftest.tail conftest.undefs
6910 rm -f conftest.undefs
6912 cat >>$CONFIG_STATUS <<\_ACEOF
6913 # Let's still pretend it is `configure' which instantiates (i.e., don't
6914 # use $as_me), people would be surprised to read:
6915 # /* config.h. Generated by config.status. */
6916 if test x"$ac_file" = x-; then
6917 echo "/* Generated by configure. */" >$tmp/config.h
6919 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6921 cat $tmp/in >>$tmp/config.h
6923 if test x"$ac_file" != x-; then
6924 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6925 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6926 echo "$as_me: $ac_file is unchanged" >&6;}
6928 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6929 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6930 X"$ac_file" : 'X\(//\)[^/]' \| \
6931 X"$ac_file" : 'X\(//\)$' \| \
6932 X"$ac_file" : 'X\(/\)' \| \
6933 . : '\(.\)' 2>/dev/null ||
6935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6936 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6937 /^X\(\/\/\)$/{ s//\1/; q; }
6938 /^X\(\/\).*/{ s//\1/; q; }
6940 { if $as_mkdir_p; then
6945 while test ! -d "$as_dir"; do
6946 as_dirs="$as_dir $as_dirs"
6947 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6948 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6949 X"$as_dir" : 'X\(//\)[^/]' \| \
6950 X"$as_dir" : 'X\(//\)$' \| \
6951 X"$as_dir" : 'X\(/\)' \| \
6952 . : '\(.\)' 2>/dev/null ||
6954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6955 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6956 /^X\(\/\/\)$/{ s//\1/; q; }
6957 /^X\(\/\).*/{ s//\1/; q; }
6960 test ! -n "$as_dirs" || mkdir $as_dirs
6961 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6962 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6963 { (exit 1); exit 1; }; }; }
6966 mv $tmp/config.h $ac_file
6972 # Compute $ac_file's index in $config_headers.
6974 for _am_header in $config_headers :; do
6976 $ac_file | $ac_file:* )
6979 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6982 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6983 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6984 X$ac_file : 'X\(//\)[^/]' \| \
6985 X$ac_file : 'X\(//\)$' \| \
6986 X$ac_file : 'X\(/\)' \| \
6987 . : '\(.\)' 2>/dev/null ||
6989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6990 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6991 /^X\(\/\/\)$/{ s//\1/; q; }
6992 /^X\(\/\).*/{ s//\1/; q; }
6993 s/.*/./; q'`/stamp-h$_am_stamp_count
6996 cat >>$CONFIG_STATUS <<\_ACEOF
6999 # CONFIG_COMMANDS section.
7001 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7002 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7003 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7004 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7005 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7006 X"$ac_dest" : 'X\(//\)[^/]' \| \
7007 X"$ac_dest" : 'X\(//\)$' \| \
7008 X"$ac_dest" : 'X\(/\)' \| \
7009 . : '\(.\)' 2>/dev/null ||
7011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7012 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7013 /^X\(\/\/\)$/{ s//\1/; q; }
7014 /^X\(\/\).*/{ s//\1/; q; }
7016 { if $as_mkdir_p; then
7021 while test ! -d "$as_dir"; do
7022 as_dirs="$as_dir $as_dirs"
7023 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7024 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7025 X"$as_dir" : 'X\(//\)[^/]' \| \
7026 X"$as_dir" : 'X\(//\)$' \| \
7027 X"$as_dir" : 'X\(/\)' \| \
7028 . : '\(.\)' 2>/dev/null ||
7030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7031 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7032 /^X\(\/\/\)$/{ s//\1/; q; }
7033 /^X\(\/\).*/{ s//\1/; q; }
7036 test ! -n "$as_dirs" || mkdir $as_dirs
7037 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7038 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7039 { (exit 1); exit 1; }; }; }
7043 if test "$ac_dir" != .; then
7044 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7045 # A "../" for each directory in $ac_dir_suffix.
7046 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7048 ac_dir_suffix= ac_top_builddir=
7052 .) # No --srcdir option. We are building in place.
7054 if test -z "$ac_top_builddir"; then
7057 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7059 [\\/]* | ?:[\\/]* ) # Absolute path.
7060 ac_srcdir=$srcdir$ac_dir_suffix;
7061 ac_top_srcdir=$srcdir ;;
7063 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7064 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7067 # Do not use `cd foo && pwd` to compute absolute paths, because
7068 # the directories may not exist.
7070 .) ac_abs_builddir="$ac_dir";;
7073 .) ac_abs_builddir=`pwd`;;
7074 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7075 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7078 case $ac_abs_builddir in
7079 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7081 case ${ac_top_builddir}. in
7082 .) ac_abs_top_builddir=$ac_abs_builddir;;
7083 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7084 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7087 case $ac_abs_builddir in
7088 .) ac_abs_srcdir=$ac_srcdir;;
7091 .) ac_abs_srcdir=$ac_abs_builddir;;
7092 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7093 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7096 case $ac_abs_builddir in
7097 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7099 case $ac_top_srcdir in
7100 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7101 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7102 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7107 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7108 echo "$as_me: executing $ac_dest commands" >&6;}
7111 # Only add multilib support code if we just rebuilt the top-level
7113 case " $CONFIG_FILES " in
7115 ac_file=Makefile . ${multi_basedir}/config-ml.in
7118 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7119 # Strip MF so we end up with the name of the file.
7120 mf=`echo "$mf" | sed -e 's/:.*$//'`
7121 # Check whether this is an Automake generated Makefile or not.
7122 # We used to match only the files named `Makefile.in', but
7123 # some people rename them; so instead we look at the file content.
7124 # Grep'ing the first line is not enough: some people post-process
7125 # each Makefile.in and add a new line on top of each file to say so.
7126 # So let's grep whole file.
7127 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7128 dirpart=`(dirname "$mf") 2>/dev/null ||
7129 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7130 X"$mf" : 'X\(//\)[^/]' \| \
7131 X"$mf" : 'X\(//\)$' \| \
7132 X"$mf" : 'X\(/\)' \| \
7133 . : '\(.\)' 2>/dev/null ||
7135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7136 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7137 /^X\(\/\/\)$/{ s//\1/; q; }
7138 /^X\(\/\).*/{ s//\1/; q; }
7143 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7144 # Extract the definition of DEP_FILES from the Makefile without
7146 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7147 test -z "$DEPDIR" && continue
7148 # When using ansi2knr, U may be empty or an underscore; expand it
7149 U=`sed -n 's/^U = //p' < "$mf"`
7150 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7151 # We invoke sed twice because it is the simplest approach to
7152 # changing $(DEPDIR) to its actual value in the expansion.
7153 for file in `sed -n '
7154 /^DEP_FILES = .*\\\\$/ {
7163 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7164 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7165 # Make sure the directory exists.
7166 test -f "$dirpart/$file" && continue
7167 fdir=`(dirname "$file") 2>/dev/null ||
7168 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7169 X"$file" : 'X\(//\)[^/]' \| \
7170 X"$file" : 'X\(//\)$' \| \
7171 X"$file" : 'X\(/\)' \| \
7172 . : '\(.\)' 2>/dev/null ||
7174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7175 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7176 /^X\(\/\/\)$/{ s//\1/; q; }
7177 /^X\(\/\).*/{ s//\1/; q; }
7179 { if $as_mkdir_p; then
7180 mkdir -p $dirpart/$fdir
7182 as_dir=$dirpart/$fdir
7184 while test ! -d "$as_dir"; do
7185 as_dirs="$as_dir $as_dirs"
7186 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7187 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7188 X"$as_dir" : 'X\(//\)[^/]' \| \
7189 X"$as_dir" : 'X\(//\)$' \| \
7190 X"$as_dir" : 'X\(/\)' \| \
7191 . : '\(.\)' 2>/dev/null ||
7193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7194 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7195 /^X\(\/\/\)$/{ s//\1/; q; }
7196 /^X\(\/\).*/{ s//\1/; q; }
7199 test ! -n "$as_dirs" || mkdir $as_dirs
7200 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7201 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7202 { (exit 1); exit 1; }; }; }
7204 # echo "creating $dirpart/$file"
7205 echo '# dummy' > "$dirpart/$file"
7213 cat >>$CONFIG_STATUS <<\_ACEOF
7215 { (exit 0); exit 0; }
7217 chmod +x $CONFIG_STATUS
7218 ac_clean_files=$ac_clean_files_save
7221 # configure is writing to config.log, and then calls config.status.
7222 # config.status does its own redirection, appending to config.log.
7223 # Unfortunately, on DOS this fails, as config.log is still kept open
7224 # by configure, so config.status won't be able to write to it; its
7225 # output is simply discarded. So we exec the FD to /dev/null,
7226 # effectively closing config.log, so it can be properly (re)opened and
7227 # appended to by config.status. When coming back to configure, we
7228 # need to make the FD available again.
7229 if test "$no_create" != yes; then
7231 ac_config_status_args=
7232 test "$silent" = yes &&
7233 ac_config_status_args="$ac_config_status_args --quiet"
7235 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7237 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7238 # would make configure fail if this is the last instruction.
7239 $ac_cs_success || { (exit 1); exit 1; }