2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for atlc 4.6.0.
5 # Report bugs to <drkirkby@ntlworld.com>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
261 SHELL=${CONFIG_SHELL-/bin/sh}
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
268 # Identity of this package.
270 PACKAGE_TARNAME='atlc'
271 PACKAGE_VERSION='4.6.0'
272 PACKAGE_STRING='atlc 4.6.0'
273 PACKAGE_BUGREPORT='drkirkby@ntlworld.com'
275 ac_unique_file="tools/src/myfilelength.c"
276 # Factoring default headers for most tests.
277 ac_includes_default="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP POW_LIB LIBOBJS build build_cpu build_vendor build_os host host_cpu host_vendor host_os PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS built_with_posix_threads compiled_with_compiler compiled_with_cflags LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name=s,x,x,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir='${exec_prefix}/bin'
342 sbindir='${exec_prefix}/sbin'
343 libexecdir='${exec_prefix}/libexec'
344 datadir='${prefix}/share'
345 sysconfdir='${prefix}/etc'
346 sharedstatedir='${prefix}/com'
347 localstatedir='${prefix}/var'
348 libdir='${exec_prefix}/lib'
349 includedir='${prefix}/include'
350 oldincludedir='/usr/include'
351 infodir='${prefix}/info'
352 mandir='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 -build | --build | --buil | --bui | --bu)
376 ac_prev=build_alias ;;
377 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
378 build_alias=$ac_optarg ;;
380 -cache-file | --cache-file | --cache-fil | --cache-fi \
381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382 ac_prev=cache_file ;;
383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385 cache_file=$ac_optarg ;;
388 cache_file=config.cache ;;
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 datadir=$ac_optarg ;;
396 -disable-* | --disable-*)
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* | --enable-*)
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420 | --exec | --exe | --ex)
421 ac_prev=exec_prefix ;;
422 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424 | --exec=* | --exe=* | --ex=*)
425 exec_prefix=$ac_optarg ;;
427 -gas | --gas | --ga | --g)
428 # Obsolete; use --with-gas.
431 -help | --help | --hel | --he | -h)
433 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434 ac_init_help=recursive ;;
435 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436 ac_init_help=short ;;
438 -host | --host | --hos | --ho)
439 ac_prev=host_alias ;;
440 -host=* | --host=* | --hos=* | --ho=*)
441 host_alias=$ac_optarg ;;
443 -includedir | --includedir | --includedi | --included | --include \
444 | --includ | --inclu | --incl | --inc)
445 ac_prev=includedir ;;
446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447 | --includ=* | --inclu=* | --incl=* | --inc=*)
448 includedir=$ac_optarg ;;
450 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453 infodir=$ac_optarg ;;
455 -libdir | --libdir | --libdi | --libd)
457 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461 | --libexe | --libex | --libe)
462 ac_prev=libexecdir ;;
463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464 | --libexe=* | --libex=* | --libe=*)
465 libexecdir=$ac_optarg ;;
467 -localstatedir | --localstatedir | --localstatedi | --localstated \
468 | --localstate | --localstat | --localsta | --localst \
469 | --locals | --local | --loca | --loc | --lo)
470 ac_prev=localstatedir ;;
471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474 localstatedir=$ac_optarg ;;
476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 # Obsolete; use --without-fp.
485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
486 | --no-cr | --no-c | -n)
489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495 | --oldin | --oldi | --old | --ol | --o)
496 ac_prev=oldincludedir ;;
497 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500 oldincludedir=$ac_optarg ;;
502 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 -program-prefix | --program-prefix | --program-prefi | --program-pref \
508 | --program-pre | --program-pr | --program-p)
509 ac_prev=program_prefix ;;
510 -program-prefix=* | --program-prefix=* | --program-prefi=* \
511 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512 program_prefix=$ac_optarg ;;
514 -program-suffix | --program-suffix | --program-suffi | --program-suff \
515 | --program-suf | --program-su | --program-s)
516 ac_prev=program_suffix ;;
517 -program-suffix=* | --program-suffix=* | --program-suffi=* \
518 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519 program_suffix=$ac_optarg ;;
521 -program-transform-name | --program-transform-name \
522 | --program-transform-nam | --program-transform-na \
523 | --program-transform-n | --program-transform- \
524 | --program-transform | --program-transfor \
525 | --program-transfo | --program-transf \
526 | --program-trans | --program-tran \
527 | --progr-tra | --program-tr | --program-t)
528 ac_prev=program_transform_name ;;
529 -program-transform-name=* | --program-transform-name=* \
530 | --program-transform-nam=* | --program-transform-na=* \
531 | --program-transform-n=* | --program-transform-=* \
532 | --program-transform=* | --program-transfor=* \
533 | --program-transfo=* | --program-transf=* \
534 | --program-trans=* | --program-tran=* \
535 | --progr-tra=* | --program-tr=* | --program-t=*)
536 program_transform_name=$ac_optarg ;;
538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539 | -silent | --silent | --silen | --sile | --sil)
542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 sbindir=$ac_optarg ;;
548 -sharedstatedir | --sharedstatedir | --sharedstatedi \
549 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550 | --sharedst | --shareds | --shared | --share | --shar \
552 ac_prev=sharedstatedir ;;
553 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 sharedstatedir=$ac_optarg ;;
559 -site | --site | --sit)
561 -site=* | --site=* | --sit=*)
564 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570 | --syscon | --sysco | --sysc | --sys | --sy)
571 ac_prev=sysconfdir ;;
572 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574 sysconfdir=$ac_optarg ;;
576 -target | --target | --targe | --targ | --tar | --ta | --t)
577 ac_prev=target_alias ;;
578 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579 target_alias=$ac_optarg ;;
581 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 -version | --version | --versio | --versi | --vers | -V)
588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* | --without-*)
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614 | --x-incl | --x-inc | --x-in | --x-i)
615 ac_prev=x_includes ;;
616 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618 x_includes=$ac_optarg ;;
620 -x-libraries | --x-libraries | --x-librarie | --x-librari \
621 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622 ac_prev=x_libraries ;;
623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625 x_libraries=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var in exec_prefix prefix
662 eval ac_val=$`echo $ac_var`
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val=$`echo $ac_var`
676 [\\/$]* | ?:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x; then
691 if test "x$build_alias" = x; then
692 cross_compiling=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix=$host_alias-
703 test "$silent" = yes && exec 6>/dev/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set=${build_alias+set}
743 ac_env_build_alias_value=$build_alias
744 ac_cv_env_build_alias_set=${build_alias+set}
745 ac_cv_env_build_alias_value=$build_alias
746 ac_env_host_alias_set=${host_alias+set}
747 ac_env_host_alias_value=$host_alias
748 ac_cv_env_host_alias_set=${host_alias+set}
749 ac_cv_env_host_alias_value=$host_alias
750 ac_env_target_alias_set=${target_alias+set}
751 ac_env_target_alias_value=$target_alias
752 ac_cv_env_target_alias_set=${target_alias+set}
753 ac_cv_env_target_alias_value=$target_alias
754 ac_env_CC_set=${CC+set}
756 ac_cv_env_CC_set=${CC+set}
757 ac_cv_env_CC_value=$CC
758 ac_env_CFLAGS_set=${CFLAGS+set}
759 ac_env_CFLAGS_value=$CFLAGS
760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value=$CFLAGS
762 ac_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_env_LDFLAGS_value=$LDFLAGS
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value=$LDFLAGS
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770 ac_env_CPP_set=${CPP+set}
771 ac_env_CPP_value=$CPP
772 ac_cv_env_CPP_set=${CPP+set}
773 ac_cv_env_CPP_value=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures atlc 4.6.0 to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --program-prefix=PREFIX prepend PREFIX to installed program names
837 --program-suffix=SUFFIX append SUFFIX to installed program names
838 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
841 --build=BUILD configure for building on BUILD [guessed]
842 --host=HOST cross-compile to build programs to run on HOST [BUILD]
846 if test -n "$ac_init_help"; then
847 case $ac_init_help in
848 short | recursive ) echo "Configuration of atlc 4.6.0:";;
853 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
854 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
855 --disable-dependency-tracking Speeds up one-time builds
856 --enable-dependency-tracking Do not reject slow dependency extractors
857 --enable-debug with debugging code
858 --disable-hardware-info Find out information about hardware (Disable if
859 compilation fails during 'make check')
861 Some influential environment variables:
862 CC C compiler command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
865 nonstandard directory <lib dir>
866 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
867 headers in a nonstandard directory <include dir>
870 Use these variables to override the choices made by `configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
873 Report bugs to <drkirkby@ntlworld.com>.
877 if test "$ac_init_help" = "recursive"; then
878 # If there are subdirs, report their specific --help.
880 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
881 test -d $ac_dir || continue
884 if test "$ac_dir" != .; then
885 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
886 # A "../" for each directory in $ac_dir_suffix.
887 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
889 ac_dir_suffix= ac_top_builddir=
893 .) # No --srcdir option. We are building in place.
895 if test -z "$ac_top_builddir"; then
898 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
900 [\\/]* | ?:[\\/]* ) # Absolute path.
901 ac_srcdir=$srcdir$ac_dir_suffix;
902 ac_top_srcdir=$srcdir ;;
904 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
905 ac_top_srcdir=$ac_top_builddir$srcdir ;;
907 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
909 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
910 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
911 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
912 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
915 # Check for guested configure; otherwise get Cygnus style configure.
916 if test -f $ac_srcdir/configure.gnu; then
918 $SHELL $ac_srcdir/configure.gnu --help=recursive
919 elif test -f $ac_srcdir/configure; then
921 $SHELL $ac_srcdir/configure --help=recursive
922 elif test -f $ac_srcdir/configure.ac ||
923 test -f $ac_srcdir/configure.in; then
927 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
933 test -n "$ac_init_help" && exit 0
934 if $ac_init_version; then
937 generated by GNU Autoconf 2.57
939 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
940 Free Software Foundation, Inc.
941 This configure script is free software; the Free Software Foundation
942 gives unlimited permission to copy, distribute and modify it.
948 This file contains any messages produced by compilers while
949 running configure, to aid debugging if configure makes a mistake.
951 It was created by atlc $as_me 4.6.0, which was
952 generated by GNU Autoconf 2.57. Invocation command line was
963 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
964 uname -m = `(uname -m) 2>/dev/null || echo unknown`
965 uname -r = `(uname -r) 2>/dev/null || echo unknown`
966 uname -s = `(uname -s) 2>/dev/null || echo unknown`
967 uname -v = `(uname -v) 2>/dev/null || echo unknown`
969 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
970 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
972 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
973 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
974 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
975 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
976 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
977 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
978 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
986 test -z "$as_dir" && as_dir=.
1002 # Keep a trace of the command line.
1003 # Strip out --no-create and --no-recursion so they do not pile up.
1004 # Strip out --silent because we don't want to record it for future runs.
1005 # Also quote any args containing shell meta-characters.
1006 # Make two passes to allow for proper duplicate-argument suppression.
1011 ac_must_keep_next=false
1017 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1018 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1019 | -silent | --silent | --silen | --sile | --sil)
1021 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1022 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1025 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1027 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1028 if test $ac_must_keep_next = true; then
1029 ac_must_keep_next=false # Got value, back to normal.
1032 *=* | --config-cache | -C | -disable-* | --disable-* \
1033 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1034 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1035 | -with-* | --with-* | -without-* | --without-* | --x)
1036 case "$ac_configure_args0 " in
1037 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1040 -* ) ac_must_keep_next=true ;;
1043 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1044 # Get rid of the leading space.
1050 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1051 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1053 # When interrupted or exit'd, cleanup temporary files, and complete
1054 # config.log. We remove comments because anyway the quotes in there
1055 # would cause problems or look ugly.
1056 # WARNING: Be sure not to use single quotes in there, as some shells,
1057 # such as our DU 5.0 friend, will then `close' the trap.
1058 trap 'exit_status=$?
1059 # Save into config.log some information that might help in debugging.
1064 ## ---------------- ##
1065 ## Cache variables. ##
1066 ## ---------------- ##
1069 # The following way of writing the cache mishandles newlines in values,
1072 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1075 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1080 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1087 ## ----------------- ##
1088 ## Output variables. ##
1089 ## ----------------- ##
1092 for ac_var in $ac_subst_vars
1094 eval ac_val=$`echo $ac_var`
1095 echo "$ac_var='"'"'$ac_val'"'"'"
1099 if test -n "$ac_subst_files"; then
1106 for ac_var in $ac_subst_files
1108 eval ac_val=$`echo $ac_var`
1109 echo "$ac_var='"'"'$ac_val'"'"'"
1114 if test -s confdefs.h; then
1121 sed "/^$/d" confdefs.h | sort
1124 test "$ac_signal" != 0 &&
1125 echo "$as_me: caught signal $ac_signal"
1126 echo "$as_me: exit $exit_status"
1128 rm -f core core.* *.core &&
1129 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1132 for ac_signal in 1 2 13 15; do
1133 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1137 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1138 rm -rf conftest* confdefs.h
1139 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1142 # Predefined preprocessor variables.
1144 cat >>confdefs.h <<_ACEOF
1145 #define PACKAGE_NAME "$PACKAGE_NAME"
1149 cat >>confdefs.h <<_ACEOF
1150 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1154 cat >>confdefs.h <<_ACEOF
1155 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1159 cat >>confdefs.h <<_ACEOF
1160 #define PACKAGE_STRING "$PACKAGE_STRING"
1164 cat >>confdefs.h <<_ACEOF
1165 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1169 # Let the site file select an alternate cache file if it wants to.
1170 # Prefer explicitly selected file to automatically selected ones.
1171 if test -z "$CONFIG_SITE"; then
1172 if test "x$prefix" != xNONE; then
1173 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1175 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1178 for ac_site_file in $CONFIG_SITE; do
1179 if test -r "$ac_site_file"; then
1180 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1181 echo "$as_me: loading site script $ac_site_file" >&6;}
1182 sed 's/^/| /' "$ac_site_file" >&5
1187 if test -r "$cache_file"; then
1188 # Some versions of bash will fail to source /dev/null (special
1189 # files actually), so we avoid doing that.
1190 if test -f "$cache_file"; then
1191 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1192 echo "$as_me: loading cache $cache_file" >&6;}
1194 [\\/]* | ?:[\\/]* ) . $cache_file;;
1195 *) . ./$cache_file;;
1199 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1200 echo "$as_me: creating cache $cache_file" >&6;}
1204 # Check that the precious variables saved in the cache have kept the same
1206 ac_cache_corrupted=false
1207 for ac_var in `(set) 2>&1 |
1208 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1209 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1210 eval ac_new_set=\$ac_env_${ac_var}_set
1211 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1212 eval ac_new_val="\$ac_env_${ac_var}_value"
1213 case $ac_old_set,$ac_new_set in
1215 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1216 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1217 ac_cache_corrupted=: ;;
1219 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1220 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1221 ac_cache_corrupted=: ;;
1224 if test "x$ac_old_val" != "x$ac_new_val"; then
1225 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1226 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1227 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1228 echo "$as_me: former value: $ac_old_val" >&2;}
1229 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1230 echo "$as_me: current value: $ac_new_val" >&2;}
1231 ac_cache_corrupted=:
1234 # Pass precious variables to config.status.
1235 if test "$ac_new_set" = set; then
1237 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1238 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1239 *) ac_arg=$ac_var=$ac_new_val ;;
1241 case " $ac_configure_args " in
1242 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1243 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1247 if $ac_cache_corrupted; then
1248 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1249 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1250 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1251 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1252 { (exit 1); exit 1; }; }
1256 ac_cpp='$CPP $CPPFLAGS'
1257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1287 am__api_version="1.7"
1289 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1290 if test -f $ac_dir/install-sh; then
1292 ac_install_sh="$ac_aux_dir/install-sh -c"
1294 elif test -f $ac_dir/install.sh; then
1296 ac_install_sh="$ac_aux_dir/install.sh -c"
1298 elif test -f $ac_dir/shtool; then
1300 ac_install_sh="$ac_aux_dir/shtool install -c"
1304 if test -z "$ac_aux_dir"; then
1305 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1306 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1307 { (exit 1); exit 1; }; }
1309 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1310 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1311 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1313 # Find a good install program. We prefer a C program (faster),
1314 # so one script is as good as another. But avoid the broken or
1315 # incompatible versions:
1316 # SysV /etc/install, /usr/sbin/install
1317 # SunOS /usr/etc/install
1318 # IRIX /sbin/install
1320 # AmigaOS /C/install, which installs bootblocks on floppy discs
1321 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1322 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1323 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1324 # ./install, which can be erroneously created by make from ./install.sh.
1325 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1326 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1327 if test -z "$INSTALL"; then
1328 if test "${ac_cv_path_install+set}" = set; then
1329 echo $ECHO_N "(cached) $ECHO_C" >&6
1331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1335 test -z "$as_dir" && as_dir=.
1336 # Account for people who put trailing slashes in PATH elements.
1338 ./ | .// | /cC/* | \
1339 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1342 # OSF1 and SCO ODT 3.0 have their own names for install.
1343 # Don't use installbsd from OSF since it installs stuff as root
1345 for ac_prog in ginstall scoinst install; do
1346 for ac_exec_ext in '' $ac_executable_extensions; do
1347 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1348 if test $ac_prog = install &&
1349 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1350 # AIX install. It has an incompatible calling convention.
1352 elif test $ac_prog = install &&
1353 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1354 # program-specific install script used by HP pwplus--don't use.
1357 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1369 if test "${ac_cv_path_install+set}" = set; then
1370 INSTALL=$ac_cv_path_install
1372 # As a last resort, use the slow shell script. We don't cache a
1373 # path for INSTALL within a source directory, because that will
1374 # break other packages using the cache if that directory is
1375 # removed, or if the path is relative.
1376 INSTALL=$ac_install_sh
1379 echo "$as_me:$LINENO: result: $INSTALL" >&5
1380 echo "${ECHO_T}$INSTALL" >&6
1382 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1383 # It thinks the first close brace ends the variable substitution.
1384 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1386 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1388 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1390 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1391 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1394 echo timestamp > conftest.file
1395 # Do `set' in a subshell so we don't clobber the current shell's
1396 # arguments. Must try -L first in case configure is actually a
1397 # symlink; some systems play weird games with the mod time of symlinks
1398 # (eg FreeBSD returns the mod time of the symlink's containing
1401 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1402 if test "$*" = "X"; then
1404 set X `ls -t $srcdir/configure conftest.file`
1407 if test "$*" != "X $srcdir/configure conftest.file" \
1408 && test "$*" != "X conftest.file $srcdir/configure"; then
1410 # If neither matched, then we have a broken ls. This can happen
1411 # if, for instance, CONFIG_SHELL is bash and it inherits a
1412 # broken ls alias from the environment. This has actually
1413 # happened. Such a system could not be considered "sane".
1414 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1415 alias in your environment" >&5
1416 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1417 alias in your environment" >&2;}
1418 { (exit 1); exit 1; }; }
1421 test "$2" = conftest.file
1427 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1428 Check your system clock" >&5
1429 echo "$as_me: error: newly created file is older than distributed files!
1430 Check your system clock" >&2;}
1431 { (exit 1); exit 1; }; }
1433 echo "$as_me:$LINENO: result: yes" >&5
1434 echo "${ECHO_T}yes" >&6
1435 test "$program_prefix" != NONE &&
1436 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1437 # Use a double $ so make ignores it.
1438 test "$program_suffix" != NONE &&
1439 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1440 # Double any \ or $. echo might interpret backslashes.
1441 # By default was `s,x,x', remove it if useless.
1442 cat <<\_ACEOF >conftest.sed
1443 s/[\\$]/&&/g;s/;s,x,x,$//
1445 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1449 # expand $ac_aux_dir to an absolute path
1450 am_aux_dir=`cd $ac_aux_dir && pwd`
1452 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1453 # Use eval to expand $SHELL
1454 if eval "$MISSING --run true"; then
1455 am_missing_run="$MISSING --run "
1458 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1459 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1462 for ac_prog in gawk mawk nawk awk
1464 # Extract the first word of "$ac_prog", so it can be a program name with args.
1465 set dummy $ac_prog; ac_word=$2
1466 echo "$as_me:$LINENO: checking for $ac_word" >&5
1467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1468 if test "${ac_cv_prog_AWK+set}" = set; then
1469 echo $ECHO_N "(cached) $ECHO_C" >&6
1471 if test -n "$AWK"; then
1472 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1478 test -z "$as_dir" && as_dir=.
1479 for ac_exec_ext in '' $ac_executable_extensions; do
1480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1481 ac_cv_prog_AWK="$ac_prog"
1482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1491 if test -n "$AWK"; then
1492 echo "$as_me:$LINENO: result: $AWK" >&5
1493 echo "${ECHO_T}$AWK" >&6
1495 echo "$as_me:$LINENO: result: no" >&5
1496 echo "${ECHO_T}no" >&6
1499 test -n "$AWK" && break
1502 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1503 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1504 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1505 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1506 echo $ECHO_N "(cached) $ECHO_C" >&6
1508 cat >conftest.make <<\_ACEOF
1510 @echo 'ac_maketemp="$(MAKE)"'
1512 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1513 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1514 if test -n "$ac_maketemp"; then
1515 eval ac_cv_prog_make_${ac_make}_set=yes
1517 eval ac_cv_prog_make_${ac_make}_set=no
1521 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1522 echo "$as_me:$LINENO: result: yes" >&5
1523 echo "${ECHO_T}yes" >&6
1526 echo "$as_me:$LINENO: result: no" >&5
1527 echo "${ECHO_T}no" >&6
1528 SET_MAKE="MAKE=${MAKE-make}"
1531 # test to see if srcdir already configured
1532 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1533 test -f $srcdir/config.status; then
1534 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1535 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1536 { (exit 1); exit 1; }; }
1539 # test whether we have cygpath
1540 if test -z "$CYGPATH_W"; then
1541 if (cygpath --version) >/dev/null 2>/dev/null; then
1542 CYGPATH_W='cygpath -w'
1549 # Define the identity of the package.
1554 cat >>confdefs.h <<_ACEOF
1555 #define PACKAGE "$PACKAGE"
1559 cat >>confdefs.h <<_ACEOF
1560 #define VERSION "$VERSION"
1563 # Some tools Automake needs.
1565 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1568 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1571 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1574 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1577 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1580 AMTAR=${AMTAR-"${am_missing_run}tar"}
1582 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1584 # Installed binaries are usually stripped using `strip' when the user
1585 # run `make install-strip'. However `strip' might not be the right
1586 # tool to use in cross-compilation environments, therefore Automake
1587 # will honor the `STRIP' environment variable to overrule this program.
1588 if test "$cross_compiling" != no; then
1589 if test -n "$ac_tool_prefix"; then
1590 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1591 set dummy ${ac_tool_prefix}strip; 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_STRIP+set}" = set; then
1595 echo $ECHO_N "(cached) $ECHO_C" >&6
1597 if test -n "$STRIP"; then
1598 ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip"
1608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1616 STRIP=$ac_cv_prog_STRIP
1617 if test -n "$STRIP"; then
1618 echo "$as_me:$LINENO: result: $STRIP" >&5
1619 echo "${ECHO_T}$STRIP" >&6
1621 echo "$as_me:$LINENO: result: no" >&5
1622 echo "${ECHO_T}no" >&6
1626 if test -z "$ac_cv_prog_STRIP"; then
1628 # Extract the first word of "strip", so it can be a program name with args.
1629 set dummy strip; ac_word=$2
1630 echo "$as_me:$LINENO: checking for $ac_word" >&5
1631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1632 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1633 echo $ECHO_N "(cached) $ECHO_C" >&6
1635 if test -n "$ac_ct_STRIP"; then
1636 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1642 test -z "$as_dir" && as_dir=.
1643 for ac_exec_ext in '' $ac_executable_extensions; do
1644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1645 ac_cv_prog_ac_ct_STRIP="strip"
1646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1652 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1655 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1656 if test -n "$ac_ct_STRIP"; then
1657 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1658 echo "${ECHO_T}$ac_ct_STRIP" >&6
1660 echo "$as_me:$LINENO: result: no" >&5
1661 echo "${ECHO_T}no" >&6
1666 STRIP="$ac_cv_prog_STRIP"
1670 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1672 # We need awk for the "check" target. The system "awk" is bad on
1679 # defining a config.h might be useful as it can prevent a command line becoming
1680 # too long, but I find it more of a pain than it is useful. To
1681 # make use of it, it would be necessary to hack every source file to
1682 # include it. I can't be bothered yet.
1683 ac_config_headers="$ac_config_headers config.h"
1687 # Checks for programs.
1688 rm -f .deps 2>/dev/null
1689 mkdir .deps 2>/dev/null
1690 if test -d .deps; then
1693 # MS-DOS does not allow filenames that begin with a dot.
1696 rmdir .deps 2>/dev/null
1699 ac_config_commands="$ac_config_commands depfiles"
1702 am_make=${MAKE-make}
1703 cat > confinc << 'END'
1707 # If we don't find an include directive, just comment out the code.
1708 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1709 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1713 # First try GNU make style include.
1714 echo "include confinc" > confmf
1715 # We grep out `Entering directory' and `Leaving directory'
1716 # messages which can occur if `w' ends up in MAKEFLAGS.
1717 # In particular we don't look at `^make:' because GNU make might
1718 # be invoked under some other name (usually "gmake"), in which
1719 # case it prints its new name instead of `make'.
1720 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1725 # Now try BSD make style include.
1726 if test "$am__include" = "#"; then
1727 echo '.include "confinc"' > confmf
1728 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1729 am__include=.include
1736 echo "$as_me:$LINENO: result: $_am_result" >&5
1737 echo "${ECHO_T}$_am_result" >&6
1738 rm -f confinc confmf
1740 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1741 if test "${enable_dependency_tracking+set}" = set; then
1742 enableval="$enable_dependency_tracking"
1745 if test "x$enable_dependency_tracking" != xno; then
1746 am_depcomp="$ac_aux_dir/depcomp"
1751 if test "x$enable_dependency_tracking" != xno; then
1762 ac_cpp='$CPP $CPPFLAGS'
1763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1766 if test -n "$ac_tool_prefix"; then
1767 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1768 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1769 echo "$as_me:$LINENO: checking for $ac_word" >&5
1770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1771 if test "${ac_cv_prog_CC+set}" = set; then
1772 echo $ECHO_N "(cached) $ECHO_C" >&6
1774 if test -n "$CC"; then
1775 ac_cv_prog_CC="$CC" # Let the user override the test.
1777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1781 test -z "$as_dir" && as_dir=.
1782 for ac_exec_ext in '' $ac_executable_extensions; do
1783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1784 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1794 if test -n "$CC"; then
1795 echo "$as_me:$LINENO: result: $CC" >&5
1796 echo "${ECHO_T}$CC" >&6
1798 echo "$as_me:$LINENO: result: no" >&5
1799 echo "${ECHO_T}no" >&6
1803 if test -z "$ac_cv_prog_CC"; then
1805 # Extract the first word of "gcc", so it can be a program name with args.
1806 set dummy gcc; ac_word=$2
1807 echo "$as_me:$LINENO: checking for $ac_word" >&5
1808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1809 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1810 echo $ECHO_N "(cached) $ECHO_C" >&6
1812 if test -n "$ac_ct_CC"; then
1813 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1819 test -z "$as_dir" && as_dir=.
1820 for ac_exec_ext in '' $ac_executable_extensions; do
1821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1822 ac_cv_prog_ac_ct_CC="gcc"
1823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1831 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1832 if test -n "$ac_ct_CC"; then
1833 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1834 echo "${ECHO_T}$ac_ct_CC" >&6
1836 echo "$as_me:$LINENO: result: no" >&5
1837 echo "${ECHO_T}no" >&6
1845 if test -z "$CC"; then
1846 if test -n "$ac_tool_prefix"; then
1847 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1848 set dummy ${ac_tool_prefix}cc; ac_word=$2
1849 echo "$as_me:$LINENO: checking for $ac_word" >&5
1850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1851 if test "${ac_cv_prog_CC+set}" = set; then
1852 echo $ECHO_N "(cached) $ECHO_C" >&6
1854 if test -n "$CC"; then
1855 ac_cv_prog_CC="$CC" # Let the user override the test.
1857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1861 test -z "$as_dir" && as_dir=.
1862 for ac_exec_ext in '' $ac_executable_extensions; do
1863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1864 ac_cv_prog_CC="${ac_tool_prefix}cc"
1865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1874 if test -n "$CC"; then
1875 echo "$as_me:$LINENO: result: $CC" >&5
1876 echo "${ECHO_T}$CC" >&6
1878 echo "$as_me:$LINENO: result: no" >&5
1879 echo "${ECHO_T}no" >&6
1883 if test -z "$ac_cv_prog_CC"; then
1885 # Extract the first word of "cc", so it can be a program name with args.
1886 set dummy cc; ac_word=$2
1887 echo "$as_me:$LINENO: checking for $ac_word" >&5
1888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1889 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1890 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 if test -n "$ac_ct_CC"; then
1893 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899 test -z "$as_dir" && as_dir=.
1900 for ac_exec_ext in '' $ac_executable_extensions; do
1901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1902 ac_cv_prog_ac_ct_CC="cc"
1903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1911 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1912 if test -n "$ac_ct_CC"; then
1913 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1914 echo "${ECHO_T}$ac_ct_CC" >&6
1916 echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6
1926 if test -z "$CC"; then
1927 # Extract the first word of "cc", so it can be a program name with args.
1928 set dummy cc; ac_word=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_CC+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 if test -n "$CC"; then
1935 ac_cv_prog_CC="$CC" # Let the user override the test.
1938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1942 test -z "$as_dir" && as_dir=.
1943 for ac_exec_ext in '' $ac_executable_extensions; do
1944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1945 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1946 ac_prog_rejected=yes
1950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1956 if test $ac_prog_rejected = yes; then
1957 # We found a bogon in the path, so make sure we never use it.
1958 set dummy $ac_cv_prog_CC
1960 if test $# != 0; then
1961 # We chose a different compiler from the bogus one.
1962 # However, it has the same basename, so the bogon will be chosen
1963 # first if we set CC to just the basename; use the full file name.
1965 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1971 if test -n "$CC"; then
1972 echo "$as_me:$LINENO: result: $CC" >&5
1973 echo "${ECHO_T}$CC" >&6
1975 echo "$as_me:$LINENO: result: no" >&5
1976 echo "${ECHO_T}no" >&6
1980 if test -z "$CC"; then
1981 if test -n "$ac_tool_prefix"; then
1984 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1985 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1986 echo "$as_me:$LINENO: checking for $ac_word" >&5
1987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1988 if test "${ac_cv_prog_CC+set}" = set; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 if test -n "$CC"; then
1992 ac_cv_prog_CC="$CC" # Let the user override the test.
1994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1998 test -z "$as_dir" && as_dir=.
1999 for ac_exec_ext in '' $ac_executable_extensions; do
2000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2001 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2011 if test -n "$CC"; then
2012 echo "$as_me:$LINENO: result: $CC" >&5
2013 echo "${ECHO_T}$CC" >&6
2015 echo "$as_me:$LINENO: result: no" >&5
2016 echo "${ECHO_T}no" >&6
2019 test -n "$CC" && break
2022 if test -z "$CC"; then
2026 # Extract the first word of "$ac_prog", so it can be a program name with args.
2027 set dummy $ac_prog; ac_word=$2
2028 echo "$as_me:$LINENO: checking for $ac_word" >&5
2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2030 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 if test -n "$ac_ct_CC"; then
2034 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040 test -z "$as_dir" && as_dir=.
2041 for ac_exec_ext in '' $ac_executable_extensions; do
2042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2043 ac_cv_prog_ac_ct_CC="$ac_prog"
2044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2052 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2053 if test -n "$ac_ct_CC"; then
2054 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2055 echo "${ECHO_T}$ac_ct_CC" >&6
2057 echo "$as_me:$LINENO: result: no" >&5
2058 echo "${ECHO_T}no" >&6
2061 test -n "$ac_ct_CC" && break
2070 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2071 See \`config.log' for more details." >&5
2072 echo "$as_me: error: no acceptable C compiler found in \$PATH
2073 See \`config.log' for more details." >&2;}
2074 { (exit 1); exit 1; }; }
2076 # Provide some information about the compiler.
2077 echo "$as_me:$LINENO:" \
2078 "checking for C compiler version" >&5
2079 ac_compiler=`set X $ac_compile; echo $2`
2080 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2081 (eval $ac_compiler --version </dev/null >&5) 2>&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }
2085 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2086 (eval $ac_compiler -v </dev/null >&5) 2>&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }
2090 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2091 (eval $ac_compiler -V </dev/null >&5) 2>&5
2093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2094 (exit $ac_status); }
2096 cat >conftest.$ac_ext <<_ACEOF
2097 #line $LINENO "configure"
2100 cat confdefs.h >>conftest.$ac_ext
2101 cat >>conftest.$ac_ext <<_ACEOF
2102 /* end confdefs.h. */
2112 ac_clean_files_save=$ac_clean_files
2113 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2114 # Try to create an executable without -o first, disregard a.out.
2115 # It will help us diagnose broken compilers, and finding out an intuition
2117 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2118 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2119 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2120 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2121 (eval $ac_link_default) 2>&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); }; then
2125 # Find the output, starting from the most likely. This scheme is
2126 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2129 # Be careful to initialize this variable, since it used to be cached.
2130 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2132 # b.out is created by i960 compilers.
2133 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2135 test -f "$ac_file" || continue
2137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2140 # This is the source file.
2143 # We found the default executable, but exeext='' is most
2147 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2148 # FIXME: I believe we export ac_cv_exeext for Libtool,
2149 # but it would be cool to find out if it's true. Does anybody
2150 # maintain Libtool? --akim.
2158 echo "$as_me: failed program was:" >&5
2159 sed 's/^/| /' conftest.$ac_ext >&5
2161 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2162 See \`config.log' for more details." >&5
2163 echo "$as_me: error: C compiler cannot create executables
2164 See \`config.log' for more details." >&2;}
2165 { (exit 77); exit 77; }; }
2168 ac_exeext=$ac_cv_exeext
2169 echo "$as_me:$LINENO: result: $ac_file" >&5
2170 echo "${ECHO_T}$ac_file" >&6
2172 # Check the compiler produces executables we can run. If not, either
2173 # the compiler is broken, or we cross compile.
2174 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2175 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2176 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2177 # If not cross compiling, check that we can run a simple program.
2178 if test "$cross_compiling" != yes; then
2179 if { ac_try='./$ac_file'
2180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184 (exit $ac_status); }; }; then
2187 if test "$cross_compiling" = maybe; then
2190 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2191 If you meant to cross compile, use \`--host'.
2192 See \`config.log' for more details." >&5
2193 echo "$as_me: error: cannot run C compiled programs.
2194 If you meant to cross compile, use \`--host'.
2195 See \`config.log' for more details." >&2;}
2196 { (exit 1); exit 1; }; }
2200 echo "$as_me:$LINENO: result: yes" >&5
2201 echo "${ECHO_T}yes" >&6
2203 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2204 ac_clean_files=$ac_clean_files_save
2205 # Check the compiler produces executables we can run. If not, either
2206 # the compiler is broken, or we cross compile.
2207 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2208 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2209 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2210 echo "${ECHO_T}$cross_compiling" >&6
2212 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2213 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2215 (eval $ac_link) 2>&5
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); }; then
2219 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2220 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2221 # work properly (i.e., refer to `conftest.exe'), while it won't with
2223 for ac_file in conftest.exe conftest conftest.*; do
2224 test -f "$ac_file" || continue
2226 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2227 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2234 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2235 See \`config.log' for more details." >&5
2236 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2237 See \`config.log' for more details." >&2;}
2238 { (exit 1); exit 1; }; }
2241 rm -f conftest$ac_cv_exeext
2242 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2243 echo "${ECHO_T}$ac_cv_exeext" >&6
2245 rm -f conftest.$ac_ext
2246 EXEEXT=$ac_cv_exeext
2248 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2249 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2250 if test "${ac_cv_objext+set}" = set; then
2251 echo $ECHO_N "(cached) $ECHO_C" >&6
2253 cat >conftest.$ac_ext <<_ACEOF
2254 #line $LINENO "configure"
2257 cat confdefs.h >>conftest.$ac_ext
2258 cat >>conftest.$ac_ext <<_ACEOF
2259 /* end confdefs.h. */
2269 rm -f conftest.o conftest.obj
2270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2271 (eval $ac_compile) 2>&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }; then
2275 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2277 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2278 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2283 echo "$as_me: failed program was:" >&5
2284 sed 's/^/| /' conftest.$ac_ext >&5
2286 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2287 See \`config.log' for more details." >&5
2288 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2289 See \`config.log' for more details." >&2;}
2290 { (exit 1); exit 1; }; }
2293 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2295 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2296 echo "${ECHO_T}$ac_cv_objext" >&6
2297 OBJEXT=$ac_cv_objext
2299 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2300 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2301 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 cat >conftest.$ac_ext <<_ACEOF
2305 #line $LINENO "configure"
2308 cat confdefs.h >>conftest.$ac_ext
2309 cat >>conftest.$ac_ext <<_ACEOF
2310 /* end confdefs.h. */
2323 rm -f conftest.$ac_objext
2324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2325 (eval $ac_compile) 2>&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); } &&
2329 { ac_try='test -s conftest.$ac_objext'
2330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; }; then
2337 echo "$as_me: failed program was:" >&5
2338 sed 's/^/| /' conftest.$ac_ext >&5
2342 rm -f conftest.$ac_objext conftest.$ac_ext
2343 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2346 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2347 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2348 GCC=`test $ac_compiler_gnu = yes && echo yes`
2349 ac_test_CFLAGS=${CFLAGS+set}
2350 ac_save_CFLAGS=$CFLAGS
2352 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2353 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2354 if test "${ac_cv_prog_cc_g+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2357 cat >conftest.$ac_ext <<_ACEOF
2358 #line $LINENO "configure"
2361 cat confdefs.h >>conftest.$ac_ext
2362 cat >>conftest.$ac_ext <<_ACEOF
2363 /* end confdefs.h. */
2373 rm -f conftest.$ac_objext
2374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2375 (eval $ac_compile) 2>&5
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); } &&
2379 { ac_try='test -s conftest.$ac_objext'
2380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }; }; then
2387 echo "$as_me: failed program was:" >&5
2388 sed 's/^/| /' conftest.$ac_ext >&5
2392 rm -f conftest.$ac_objext conftest.$ac_ext
2394 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2395 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2396 if test "$ac_test_CFLAGS" = set; then
2397 CFLAGS=$ac_save_CFLAGS
2398 elif test $ac_cv_prog_cc_g = yes; then
2399 if test "$GCC" = yes; then
2405 if test "$GCC" = yes; then
2411 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2412 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2413 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2414 echo $ECHO_N "(cached) $ECHO_C" >&6
2416 ac_cv_prog_cc_stdc=no
2418 cat >conftest.$ac_ext <<_ACEOF
2419 #line $LINENO "configure"
2422 cat confdefs.h >>conftest.$ac_ext
2423 cat >>conftest.$ac_ext <<_ACEOF
2424 /* end confdefs.h. */
2427 #include <sys/types.h>
2428 #include <sys/stat.h>
2429 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2430 struct buf { int x; };
2431 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2432 static char *e (p, i)
2438 static char *f (char * (*g) (char **, int), char **p, ...)
2443 s = g (p, va_arg (v,int));
2447 int test (int i, double x);
2448 struct s1 {int (*f) (int a);};
2449 struct s2 {int (*f) (double a);};
2450 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2456 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2461 # Don't try gcc -ansi; that turns off useful extensions and
2462 # breaks some systems' header files.
2463 # AIX -qlanglvl=ansi
2464 # Ultrix and OSF/1 -std1
2465 # HP-UX 10.20 and later -Ae
2466 # HP-UX older versions -Aa -D_HPUX_SOURCE
2467 # SVR4 -Xc -D__EXTENSIONS__
2468 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2470 CC="$ac_save_CC $ac_arg"
2471 rm -f conftest.$ac_objext
2472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2473 (eval $ac_compile) 2>&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); } &&
2477 { ac_try='test -s conftest.$ac_objext'
2478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); }; }; then
2483 ac_cv_prog_cc_stdc=$ac_arg
2486 echo "$as_me: failed program was:" >&5
2487 sed 's/^/| /' conftest.$ac_ext >&5
2490 rm -f conftest.$ac_objext
2492 rm -f conftest.$ac_ext conftest.$ac_objext
2497 case "x$ac_cv_prog_cc_stdc" in
2499 echo "$as_me:$LINENO: result: none needed" >&5
2500 echo "${ECHO_T}none needed" >&6 ;;
2502 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2503 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2504 CC="$CC $ac_cv_prog_cc_stdc" ;;
2507 # Some people use a C++ compiler to compile C. Since we use `exit',
2508 # in C++ we need to declare it. In case someone uses the same compiler
2509 # for both compiling C and C++ we need to have the C++ compiler decide
2510 # the declaration of exit, since it's the most demanding environment.
2511 cat >conftest.$ac_ext <<_ACEOF
2516 rm -f conftest.$ac_objext
2517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2518 (eval $ac_compile) 2>&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); } &&
2522 { ac_try='test -s conftest.$ac_objext'
2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; }; then
2528 for ac_declaration in \
2530 '#include <stdlib.h>' \
2531 'extern "C" void std::exit (int) throw (); using std::exit;' \
2532 'extern "C" void std::exit (int); using std::exit;' \
2533 'extern "C" void exit (int) throw ();' \
2534 'extern "C" void exit (int);' \
2537 cat >conftest.$ac_ext <<_ACEOF
2538 #line $LINENO "configure"
2541 cat confdefs.h >>conftest.$ac_ext
2542 cat >>conftest.$ac_ext <<_ACEOF
2543 /* end confdefs.h. */
2554 rm -f conftest.$ac_objext
2555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2556 (eval $ac_compile) 2>&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); } &&
2560 { ac_try='test -s conftest.$ac_objext'
2561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }; }; then
2568 echo "$as_me: failed program was:" >&5
2569 sed 's/^/| /' conftest.$ac_ext >&5
2573 rm -f conftest.$ac_objext conftest.$ac_ext
2574 cat >conftest.$ac_ext <<_ACEOF
2575 #line $LINENO "configure"
2578 cat confdefs.h >>conftest.$ac_ext
2579 cat >>conftest.$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2590 rm -f conftest.$ac_objext
2591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2592 (eval $ac_compile) 2>&5
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); } &&
2596 { ac_try='test -s conftest.$ac_objext'
2597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; }; then
2604 echo "$as_me: failed program was:" >&5
2605 sed 's/^/| /' conftest.$ac_ext >&5
2608 rm -f conftest.$ac_objext conftest.$ac_ext
2611 if test -n "$ac_declaration"; then
2612 echo '#ifdef __cplusplus' >>confdefs.h
2613 echo $ac_declaration >>confdefs.h
2614 echo '#endif' >>confdefs.h
2618 echo "$as_me: failed program was:" >&5
2619 sed 's/^/| /' conftest.$ac_ext >&5
2622 rm -f conftest.$ac_objext conftest.$ac_ext
2624 ac_cpp='$CPP $CPPFLAGS'
2625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2629 depcc="$CC" am_compiler_list=
2631 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2632 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2633 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2636 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2637 # We make a subdir and do the tests there. Otherwise we can end up
2638 # making bogus files that we don't know about and never remove. For
2639 # instance it was reported that on HP-UX the gcc test will end up
2640 # making a dummy file named `D' -- because `-MD' means `put the output
2643 # Copy depcomp to subdir because otherwise we won't find it if we're
2644 # using a relative directory.
2645 cp "$am_depcomp" conftest.dir
2648 am_cv_CC_dependencies_compiler_type=none
2649 if test "$am_compiler_list" = ""; then
2650 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2652 for depmode in $am_compiler_list; do
2653 # We need to recreate these files for each test, as the compiler may
2654 # overwrite some of them when testing with obscure command lines.
2655 # This happens at least with the AIX C compiler.
2656 echo '#include "conftest.h"' > conftest.c
2657 echo 'int i;' > conftest.h
2658 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2662 # after this tag, mechanisms are not by side-effect, so they'll
2663 # only be used when explicitly requested
2664 if test "x$enable_dependency_tracking" = xyes; then
2672 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2673 # mode. It turns out that the SunPro C++ compiler does not properly
2674 # handle `-M -o', and we need to detect this.
2675 if depmode=$depmode \
2676 source=conftest.c object=conftest.o \
2677 depfile=conftest.Po tmpdepfile=conftest.TPo \
2678 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2679 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2680 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2681 am_cv_CC_dependencies_compiler_type=$depmode
2689 am_cv_CC_dependencies_compiler_type=none
2693 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2694 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2695 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2700 test "x$enable_dependency_tracking" != xno \
2701 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2703 am__fastdepCC_FALSE='#'
2705 am__fastdepCC_TRUE='#'
2706 am__fastdepCC_FALSE=
2711 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2712 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2713 if test "${ac_cv_search_strerror+set}" = set; then
2714 echo $ECHO_N "(cached) $ECHO_C" >&6
2716 ac_func_search_save_LIBS=$LIBS
2717 ac_cv_search_strerror=no
2718 cat >conftest.$ac_ext <<_ACEOF
2719 #line $LINENO "configure"
2722 cat confdefs.h >>conftest.$ac_ext
2723 cat >>conftest.$ac_ext <<_ACEOF
2724 /* end confdefs.h. */
2726 /* Override any gcc2 internal prototype to avoid an error. */
2730 /* We use char because int might match the return type of a gcc2
2731 builtin and then its argument prototype would still apply. */
2741 rm -f conftest.$ac_objext conftest$ac_exeext
2742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2743 (eval $ac_link) 2>&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); } &&
2747 { ac_try='test -s conftest$ac_exeext'
2748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); }; }; then
2753 ac_cv_search_strerror="none required"
2755 echo "$as_me: failed program was:" >&5
2756 sed 's/^/| /' conftest.$ac_ext >&5
2759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2760 if test "$ac_cv_search_strerror" = no; then
2761 for ac_lib in cposix; do
2762 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2763 cat >conftest.$ac_ext <<_ACEOF
2764 #line $LINENO "configure"
2767 cat confdefs.h >>conftest.$ac_ext
2768 cat >>conftest.$ac_ext <<_ACEOF
2769 /* end confdefs.h. */
2771 /* Override any gcc2 internal prototype to avoid an error. */
2775 /* We use char because int might match the return type of a gcc2
2776 builtin and then its argument prototype would still apply. */
2786 rm -f conftest.$ac_objext conftest$ac_exeext
2787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2788 (eval $ac_link) 2>&5
2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); } &&
2792 { ac_try='test -s conftest$ac_exeext'
2793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); }; }; then
2798 ac_cv_search_strerror="-l$ac_lib"
2801 echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2805 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2808 LIBS=$ac_func_search_save_LIBS
2810 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2811 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2812 if test "$ac_cv_search_strerror" != no; then
2813 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
2818 # AC_OUTPUT_COMMANDS([exit])
2820 # Checks for libraries.
2821 # check for optimised math library on SPARC
2822 # AC_CHECK_LIB([mopt],[main])
2823 # check for the optimised
2824 # AC_CHECK_LIB([copt],[main])
2826 echo "$as_me:$LINENO: checking for log in -lm" >&5
2827 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
2828 if test "${ac_cv_lib_m_log+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2831 ac_check_lib_save_LIBS=$LIBS
2833 cat >conftest.$ac_ext <<_ACEOF
2834 #line $LINENO "configure"
2837 cat confdefs.h >>conftest.$ac_ext
2838 cat >>conftest.$ac_ext <<_ACEOF
2839 /* end confdefs.h. */
2841 /* Override any gcc2 internal prototype to avoid an error. */
2845 /* We use char because int might match the return type of a gcc2
2846 builtin and then its argument prototype would still apply. */
2856 rm -f conftest.$ac_objext conftest$ac_exeext
2857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2858 (eval $ac_link) 2>&5
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); } &&
2862 { ac_try='test -s conftest$ac_exeext'
2863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }; }; then
2870 echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.$ac_ext >&5
2875 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2876 LIBS=$ac_check_lib_save_LIBS
2878 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
2879 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
2880 if test $ac_cv_lib_m_log = yes; then
2881 cat >>confdefs.h <<_ACEOF
2890 # Checks for header files.
2892 ac_cpp='$CPP $CPPFLAGS'
2893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2896 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2897 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2898 # On Suns, sometimes $CPP names a directory.
2899 if test -n "$CPP" && test -d "$CPP"; then
2902 if test -z "$CPP"; then
2903 if test "${ac_cv_prog_CPP+set}" = set; then
2904 echo $ECHO_N "(cached) $ECHO_C" >&6
2906 # Double quotes because CPP needs to be expanded
2907 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2910 for ac_c_preproc_warn_flag in '' yes
2912 # Use a header file that comes with gcc, so configuring glibc
2913 # with a fresh cross-compiler works.
2914 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2915 # <limits.h> exists even on freestanding compilers.
2916 # On the NeXT, cc -E runs the code through the compiler's parser,
2917 # not just through cpp. "Syntax error" is here to catch this case.
2918 cat >conftest.$ac_ext <<_ACEOF
2919 #line $LINENO "configure"
2922 cat confdefs.h >>conftest.$ac_ext
2923 cat >>conftest.$ac_ext <<_ACEOF
2924 /* end confdefs.h. */
2926 # include <limits.h>
2928 # include <assert.h>
2932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2933 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2935 grep -v '^ *+' conftest.er1 >conftest.err
2937 cat conftest.err >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } >/dev/null; then
2940 if test -s conftest.err; then
2941 ac_cpp_err=$ac_c_preproc_warn_flag
2948 if test -z "$ac_cpp_err"; then
2951 echo "$as_me: failed program was:" >&5
2952 sed 's/^/| /' conftest.$ac_ext >&5
2954 # Broken: fails on valid input.
2957 rm -f conftest.err conftest.$ac_ext
2959 # OK, works on sane cases. Now check whether non-existent headers
2960 # can be detected and how.
2961 cat >conftest.$ac_ext <<_ACEOF
2962 #line $LINENO "configure"
2965 cat confdefs.h >>conftest.$ac_ext
2966 cat >>conftest.$ac_ext <<_ACEOF
2967 /* end confdefs.h. */
2968 #include <ac_nonexistent.h>
2970 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2971 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2973 grep -v '^ *+' conftest.er1 >conftest.err
2975 cat conftest.err >&5
2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); } >/dev/null; then
2978 if test -s conftest.err; then
2979 ac_cpp_err=$ac_c_preproc_warn_flag
2986 if test -z "$ac_cpp_err"; then
2987 # Broken: success on invalid input.
2990 echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.$ac_ext >&5
2993 # Passes both tests.
2997 rm -f conftest.err conftest.$ac_ext
3000 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3001 rm -f conftest.err conftest.$ac_ext
3002 if $ac_preproc_ok; then
3014 echo "$as_me:$LINENO: result: $CPP" >&5
3015 echo "${ECHO_T}$CPP" >&6
3017 for ac_c_preproc_warn_flag in '' yes
3019 # Use a header file that comes with gcc, so configuring glibc
3020 # with a fresh cross-compiler works.
3021 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3022 # <limits.h> exists even on freestanding compilers.
3023 # On the NeXT, cc -E runs the code through the compiler's parser,
3024 # not just through cpp. "Syntax error" is here to catch this case.
3025 cat >conftest.$ac_ext <<_ACEOF
3026 #line $LINENO "configure"
3029 cat confdefs.h >>conftest.$ac_ext
3030 cat >>conftest.$ac_ext <<_ACEOF
3031 /* end confdefs.h. */
3033 # include <limits.h>
3035 # include <assert.h>
3039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3042 grep -v '^ *+' conftest.er1 >conftest.err
3044 cat conftest.err >&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } >/dev/null; then
3047 if test -s conftest.err; then
3048 ac_cpp_err=$ac_c_preproc_warn_flag
3055 if test -z "$ac_cpp_err"; then
3058 echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3061 # Broken: fails on valid input.
3064 rm -f conftest.err conftest.$ac_ext
3066 # OK, works on sane cases. Now check whether non-existent headers
3067 # can be detected and how.
3068 cat >conftest.$ac_ext <<_ACEOF
3069 #line $LINENO "configure"
3072 cat confdefs.h >>conftest.$ac_ext
3073 cat >>conftest.$ac_ext <<_ACEOF
3074 /* end confdefs.h. */
3075 #include <ac_nonexistent.h>
3077 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3078 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3080 grep -v '^ *+' conftest.er1 >conftest.err
3082 cat conftest.err >&5
3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); } >/dev/null; then
3085 if test -s conftest.err; then
3086 ac_cpp_err=$ac_c_preproc_warn_flag
3093 if test -z "$ac_cpp_err"; then
3094 # Broken: success on invalid input.
3097 echo "$as_me: failed program was:" >&5
3098 sed 's/^/| /' conftest.$ac_ext >&5
3100 # Passes both tests.
3104 rm -f conftest.err conftest.$ac_ext
3107 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3108 rm -f conftest.err conftest.$ac_ext
3109 if $ac_preproc_ok; then
3112 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3113 See \`config.log' for more details." >&5
3114 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3115 See \`config.log' for more details." >&2;}
3116 { (exit 1); exit 1; }; }
3120 ac_cpp='$CPP $CPPFLAGS'
3121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3126 echo "$as_me:$LINENO: checking for egrep" >&5
3127 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3128 if test "${ac_cv_prog_egrep+set}" = set; then
3129 echo $ECHO_N "(cached) $ECHO_C" >&6
3131 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3132 then ac_cv_prog_egrep='grep -E'
3133 else ac_cv_prog_egrep='egrep'
3136 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3137 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3138 EGREP=$ac_cv_prog_egrep
3141 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3142 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3143 if test "${ac_cv_header_stdc+set}" = set; then
3144 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 cat >conftest.$ac_ext <<_ACEOF
3147 #line $LINENO "configure"
3150 cat confdefs.h >>conftest.$ac_ext
3151 cat >>conftest.$ac_ext <<_ACEOF
3152 /* end confdefs.h. */
3166 rm -f conftest.$ac_objext
3167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3168 (eval $ac_compile) 2>&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); } &&
3172 { ac_try='test -s conftest.$ac_objext'
3173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; }; then
3178 ac_cv_header_stdc=yes
3180 echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.$ac_ext >&5
3183 ac_cv_header_stdc=no
3185 rm -f conftest.$ac_objext conftest.$ac_ext
3187 if test $ac_cv_header_stdc = yes; then
3188 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3189 cat >conftest.$ac_ext <<_ACEOF
3190 #line $LINENO "configure"
3193 cat confdefs.h >>conftest.$ac_ext
3194 cat >>conftest.$ac_ext <<_ACEOF
3195 /* end confdefs.h. */
3199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3200 $EGREP "memchr" >/dev/null 2>&1; then
3203 ac_cv_header_stdc=no
3209 if test $ac_cv_header_stdc = yes; then
3210 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3211 cat >conftest.$ac_ext <<_ACEOF
3212 #line $LINENO "configure"
3215 cat confdefs.h >>conftest.$ac_ext
3216 cat >>conftest.$ac_ext <<_ACEOF
3217 /* end confdefs.h. */
3221 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3222 $EGREP "free" >/dev/null 2>&1; then
3225 ac_cv_header_stdc=no
3231 if test $ac_cv_header_stdc = yes; then
3232 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3233 if test "$cross_compiling" = yes; then
3236 cat >conftest.$ac_ext <<_ACEOF
3237 #line $LINENO "configure"
3240 cat confdefs.h >>conftest.$ac_ext
3241 cat >>conftest.$ac_ext <<_ACEOF
3242 /* end confdefs.h. */
3244 #if ((' ' & 0x0FF) == 0x020)
3245 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3246 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3248 # define ISLOWER(c) \
3249 (('a' <= (c) && (c) <= 'i') \
3250 || ('j' <= (c) && (c) <= 'r') \
3251 || ('s' <= (c) && (c) <= 'z'))
3252 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3255 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3260 for (i = 0; i < 256; i++)
3261 if (XOR (islower (i), ISLOWER (i))
3262 || toupper (i) != TOUPPER (i))
3267 rm -f conftest$ac_exeext
3268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3269 (eval $ac_link) 2>&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); }; }; then
3280 echo "$as_me: program exited with status $ac_status" >&5
3281 echo "$as_me: failed program was:" >&5
3282 sed 's/^/| /' conftest.$ac_ext >&5
3285 ac_cv_header_stdc=no
3287 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3291 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3292 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3293 if test $ac_cv_header_stdc = yes; then
3295 cat >>confdefs.h <<\_ACEOF
3296 #define STDC_HEADERS 1
3301 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3311 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3312 inttypes.h stdint.h unistd.h
3314 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3315 echo "$as_me:$LINENO: checking for $ac_header" >&5
3316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3318 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 cat >conftest.$ac_ext <<_ACEOF
3321 #line $LINENO "configure"
3324 cat confdefs.h >>conftest.$ac_ext
3325 cat >>conftest.$ac_ext <<_ACEOF
3326 /* end confdefs.h. */
3327 $ac_includes_default
3329 #include <$ac_header>
3331 rm -f conftest.$ac_objext
3332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3333 (eval $ac_compile) 2>&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); } &&
3337 { ac_try='test -s conftest.$ac_objext'
3338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); }; }; then
3343 eval "$as_ac_Header=yes"
3345 echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.$ac_ext >&5
3348 eval "$as_ac_Header=no"
3350 rm -f conftest.$ac_objext conftest.$ac_ext
3352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3355 cat >>confdefs.h <<_ACEOF
3356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3371 for ac_header in stdio.h math.h malloc.h stdlib.h string.h time.h limits.h
3373 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3375 echo "$as_me:$LINENO: checking for $ac_header" >&5
3376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3378 echo $ECHO_N "(cached) $ECHO_C" >&6
3380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3383 # Is the header compilable?
3384 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3385 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3386 cat >conftest.$ac_ext <<_ACEOF
3387 #line $LINENO "configure"
3390 cat confdefs.h >>conftest.$ac_ext
3391 cat >>conftest.$ac_ext <<_ACEOF
3392 /* end confdefs.h. */
3393 $ac_includes_default
3394 #include <$ac_header>
3396 rm -f conftest.$ac_objext
3397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3398 (eval $ac_compile) 2>&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); } &&
3402 { ac_try='test -s conftest.$ac_objext'
3403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); }; }; then
3408 ac_header_compiler=yes
3410 echo "$as_me: failed program was:" >&5
3411 sed 's/^/| /' conftest.$ac_ext >&5
3413 ac_header_compiler=no
3415 rm -f conftest.$ac_objext conftest.$ac_ext
3416 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3417 echo "${ECHO_T}$ac_header_compiler" >&6
3419 # Is the header present?
3420 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3421 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3422 cat >conftest.$ac_ext <<_ACEOF
3423 #line $LINENO "configure"
3426 cat confdefs.h >>conftest.$ac_ext
3427 cat >>conftest.$ac_ext <<_ACEOF
3428 /* end confdefs.h. */
3429 #include <$ac_header>
3431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3432 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3434 grep -v '^ *+' conftest.er1 >conftest.err
3436 cat conftest.err >&5
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); } >/dev/null; then
3439 if test -s conftest.err; then
3440 ac_cpp_err=$ac_c_preproc_warn_flag
3447 if test -z "$ac_cpp_err"; then
3448 ac_header_preproc=yes
3450 echo "$as_me: failed program was:" >&5
3451 sed 's/^/| /' conftest.$ac_ext >&5
3453 ac_header_preproc=no
3455 rm -f conftest.err conftest.$ac_ext
3456 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3457 echo "${ECHO_T}$ac_header_preproc" >&6
3459 # So? What about this header?
3460 case $ac_header_compiler:$ac_header_preproc in
3462 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3463 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3468 ## ------------------------------------ ##
3469 ## Report this to bug-autoconf@gnu.org. ##
3470 ## ------------------------------------ ##
3473 sed "s/^/$as_me: WARNING: /" >&2
3476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3481 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3484 ## ------------------------------------ ##
3485 ## Report this to bug-autoconf@gnu.org. ##
3486 ## ------------------------------------ ##
3489 sed "s/^/$as_me: WARNING: /" >&2
3492 echo "$as_me:$LINENO: checking for $ac_header" >&5
3493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3495 echo $ECHO_N "(cached) $ECHO_C" >&6
3497 eval "$as_ac_Header=$ac_header_preproc"
3499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3504 cat >>confdefs.h <<_ACEOF
3505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3516 for ac_header in strings.h sys/types.h machine/hal_sysinfo.h sys/sysinfo.h
3518 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3520 echo "$as_me:$LINENO: checking for $ac_header" >&5
3521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3528 # Is the header compilable?
3529 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3530 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3531 cat >conftest.$ac_ext <<_ACEOF
3532 #line $LINENO "configure"
3535 cat confdefs.h >>conftest.$ac_ext
3536 cat >>conftest.$ac_ext <<_ACEOF
3537 /* end confdefs.h. */
3538 $ac_includes_default
3539 #include <$ac_header>
3541 rm -f conftest.$ac_objext
3542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3543 (eval $ac_compile) 2>&5
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); } &&
3547 { ac_try='test -s conftest.$ac_objext'
3548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); }; }; then
3553 ac_header_compiler=yes
3555 echo "$as_me: failed program was:" >&5
3556 sed 's/^/| /' conftest.$ac_ext >&5
3558 ac_header_compiler=no
3560 rm -f conftest.$ac_objext conftest.$ac_ext
3561 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3562 echo "${ECHO_T}$ac_header_compiler" >&6
3564 # Is the header present?
3565 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3566 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3567 cat >conftest.$ac_ext <<_ACEOF
3568 #line $LINENO "configure"
3571 cat confdefs.h >>conftest.$ac_ext
3572 cat >>conftest.$ac_ext <<_ACEOF
3573 /* end confdefs.h. */
3574 #include <$ac_header>
3576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3577 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3579 grep -v '^ *+' conftest.er1 >conftest.err
3581 cat conftest.err >&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); } >/dev/null; then
3584 if test -s conftest.err; then
3585 ac_cpp_err=$ac_c_preproc_warn_flag
3592 if test -z "$ac_cpp_err"; then
3593 ac_header_preproc=yes
3595 echo "$as_me: failed program was:" >&5
3596 sed 's/^/| /' conftest.$ac_ext >&5
3598 ac_header_preproc=no
3600 rm -f conftest.err conftest.$ac_ext
3601 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3602 echo "${ECHO_T}$ac_header_preproc" >&6
3604 # So? What about this header?
3605 case $ac_header_compiler:$ac_header_preproc in
3607 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3608 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3609 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3610 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3613 ## ------------------------------------ ##
3614 ## Report this to bug-autoconf@gnu.org. ##
3615 ## ------------------------------------ ##
3618 sed "s/^/$as_me: WARNING: /" >&2
3621 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3622 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3623 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3624 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3629 ## ------------------------------------ ##
3630 ## Report this to bug-autoconf@gnu.org. ##
3631 ## ------------------------------------ ##
3634 sed "s/^/$as_me: WARNING: /" >&2
3637 echo "$as_me:$LINENO: checking for $ac_header" >&5
3638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3640 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 eval "$as_ac_Header=$ac_header_preproc"
3644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3649 cat >>confdefs.h <<_ACEOF
3650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3662 for ac_header in sys/processor.h sched.h sys/param.h sys/pstat.h sys/unistd.h
3664 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3666 echo "$as_me:$LINENO: checking for $ac_header" >&5
3667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3669 echo $ECHO_N "(cached) $ECHO_C" >&6
3671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3672 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3674 # Is the header compilable?
3675 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3676 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3677 cat >conftest.$ac_ext <<_ACEOF
3678 #line $LINENO "configure"
3681 cat confdefs.h >>conftest.$ac_ext
3682 cat >>conftest.$ac_ext <<_ACEOF
3683 /* end confdefs.h. */
3684 $ac_includes_default
3685 #include <$ac_header>
3687 rm -f conftest.$ac_objext
3688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3689 (eval $ac_compile) 2>&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); } &&
3693 { ac_try='test -s conftest.$ac_objext'
3694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); }; }; then
3699 ac_header_compiler=yes
3701 echo "$as_me: failed program was:" >&5
3702 sed 's/^/| /' conftest.$ac_ext >&5
3704 ac_header_compiler=no
3706 rm -f conftest.$ac_objext conftest.$ac_ext
3707 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3708 echo "${ECHO_T}$ac_header_compiler" >&6
3710 # Is the header present?
3711 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3712 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3713 cat >conftest.$ac_ext <<_ACEOF
3714 #line $LINENO "configure"
3717 cat confdefs.h >>conftest.$ac_ext
3718 cat >>conftest.$ac_ext <<_ACEOF
3719 /* end confdefs.h. */
3720 #include <$ac_header>
3722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3725 grep -v '^ *+' conftest.er1 >conftest.err
3727 cat conftest.err >&5
3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); } >/dev/null; then
3730 if test -s conftest.err; then
3731 ac_cpp_err=$ac_c_preproc_warn_flag
3738 if test -z "$ac_cpp_err"; then
3739 ac_header_preproc=yes
3741 echo "$as_me: failed program was:" >&5
3742 sed 's/^/| /' conftest.$ac_ext >&5
3744 ac_header_preproc=no
3746 rm -f conftest.err conftest.$ac_ext
3747 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3748 echo "${ECHO_T}$ac_header_preproc" >&6
3750 # So? What about this header?
3751 case $ac_header_compiler:$ac_header_preproc in
3753 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3754 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3755 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3756 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3759 ## ------------------------------------ ##
3760 ## Report this to bug-autoconf@gnu.org. ##
3761 ## ------------------------------------ ##
3764 sed "s/^/$as_me: WARNING: /" >&2
3767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3771 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3772 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3775 ## ------------------------------------ ##
3776 ## Report this to bug-autoconf@gnu.org. ##
3777 ## ------------------------------------ ##
3780 sed "s/^/$as_me: WARNING: /" >&2
3783 echo "$as_me:$LINENO: checking for $ac_header" >&5
3784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3786 echo $ECHO_N "(cached) $ECHO_C" >&6
3788 eval "$as_ac_Header=$ac_header_preproc"
3790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3795 cat >>confdefs.h <<_ACEOF
3796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3807 for ac_header in sys/utsname.h sys/systeminfo.h unistd.h aixfont.h
3809 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3811 echo "$as_me:$LINENO: checking for $ac_header" >&5
3812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3814 echo $ECHO_N "(cached) $ECHO_C" >&6
3816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3819 # Is the header compilable?
3820 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3821 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3822 cat >conftest.$ac_ext <<_ACEOF
3823 #line $LINENO "configure"
3826 cat confdefs.h >>conftest.$ac_ext
3827 cat >>conftest.$ac_ext <<_ACEOF
3828 /* end confdefs.h. */
3829 $ac_includes_default
3830 #include <$ac_header>
3832 rm -f conftest.$ac_objext
3833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3834 (eval $ac_compile) 2>&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); } &&
3838 { ac_try='test -s conftest.$ac_objext'
3839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); }; }; then
3844 ac_header_compiler=yes
3846 echo "$as_me: failed program was:" >&5
3847 sed 's/^/| /' conftest.$ac_ext >&5
3849 ac_header_compiler=no
3851 rm -f conftest.$ac_objext conftest.$ac_ext
3852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3853 echo "${ECHO_T}$ac_header_compiler" >&6
3855 # Is the header present?
3856 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3857 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3858 cat >conftest.$ac_ext <<_ACEOF
3859 #line $LINENO "configure"
3862 cat confdefs.h >>conftest.$ac_ext
3863 cat >>conftest.$ac_ext <<_ACEOF
3864 /* end confdefs.h. */
3865 #include <$ac_header>
3867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3870 grep -v '^ *+' conftest.er1 >conftest.err
3872 cat conftest.err >&5
3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); } >/dev/null; then
3875 if test -s conftest.err; then
3876 ac_cpp_err=$ac_c_preproc_warn_flag
3883 if test -z "$ac_cpp_err"; then
3884 ac_header_preproc=yes
3886 echo "$as_me: failed program was:" >&5
3887 sed 's/^/| /' conftest.$ac_ext >&5
3889 ac_header_preproc=no
3891 rm -f conftest.err conftest.$ac_ext
3892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3893 echo "${ECHO_T}$ac_header_preproc" >&6
3895 # So? What about this header?
3896 case $ac_header_compiler:$ac_header_preproc in
3898 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3901 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3904 ## ------------------------------------ ##
3905 ## Report this to bug-autoconf@gnu.org. ##
3906 ## ------------------------------------ ##
3909 sed "s/^/$as_me: WARNING: /" >&2
3912 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3913 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3914 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3915 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3917 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3920 ## ------------------------------------ ##
3921 ## Report this to bug-autoconf@gnu.org. ##
3922 ## ------------------------------------ ##
3925 sed "s/^/$as_me: WARNING: /" >&2
3928 echo "$as_me:$LINENO: checking for $ac_header" >&5
3929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3931 echo $ECHO_N "(cached) $ECHO_C" >&6
3933 eval "$as_ac_Header=$ac_header_preproc"
3935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3940 cat >>confdefs.h <<_ACEOF
3941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3953 for ac_header in linux/ip.h errno.h sys/vid.h invent.h sys/sysctl.h
3955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3957 echo "$as_me:$LINENO: checking for $ac_header" >&5
3958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3960 echo $ECHO_N "(cached) $ECHO_C" >&6
3962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3965 # Is the header compilable?
3966 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3968 cat >conftest.$ac_ext <<_ACEOF
3969 #line $LINENO "configure"
3972 cat confdefs.h >>conftest.$ac_ext
3973 cat >>conftest.$ac_ext <<_ACEOF
3974 /* end confdefs.h. */
3975 $ac_includes_default
3976 #include <$ac_header>
3978 rm -f conftest.$ac_objext
3979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3980 (eval $ac_compile) 2>&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); } &&
3984 { ac_try='test -s conftest.$ac_objext'
3985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); }; }; then
3990 ac_header_compiler=yes
3992 echo "$as_me: failed program was:" >&5
3993 sed 's/^/| /' conftest.$ac_ext >&5
3995 ac_header_compiler=no
3997 rm -f conftest.$ac_objext conftest.$ac_ext
3998 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3999 echo "${ECHO_T}$ac_header_compiler" >&6
4001 # Is the header present?
4002 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4003 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4004 cat >conftest.$ac_ext <<_ACEOF
4005 #line $LINENO "configure"
4008 cat confdefs.h >>conftest.$ac_ext
4009 cat >>conftest.$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4011 #include <$ac_header>
4013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4014 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4016 grep -v '^ *+' conftest.er1 >conftest.err
4018 cat conftest.err >&5
4019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020 (exit $ac_status); } >/dev/null; then
4021 if test -s conftest.err; then
4022 ac_cpp_err=$ac_c_preproc_warn_flag
4029 if test -z "$ac_cpp_err"; then
4030 ac_header_preproc=yes
4032 echo "$as_me: failed program was:" >&5
4033 sed 's/^/| /' conftest.$ac_ext >&5
4035 ac_header_preproc=no
4037 rm -f conftest.err conftest.$ac_ext
4038 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4039 echo "${ECHO_T}$ac_header_preproc" >&6
4041 # So? What about this header?
4042 case $ac_header_compiler:$ac_header_preproc in
4044 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4045 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4050 ## ------------------------------------ ##
4051 ## Report this to bug-autoconf@gnu.org. ##
4052 ## ------------------------------------ ##
4055 sed "s/^/$as_me: WARNING: /" >&2
4058 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4060 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4061 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4063 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4066 ## ------------------------------------ ##
4067 ## Report this to bug-autoconf@gnu.org. ##
4068 ## ------------------------------------ ##
4071 sed "s/^/$as_me: WARNING: /" >&2
4074 echo "$as_me:$LINENO: checking for $ac_header" >&5
4075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4077 echo $ECHO_N "(cached) $ECHO_C" >&6
4079 eval "$as_ac_Header=$ac_header_preproc"
4081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4085 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4086 cat >>confdefs.h <<_ACEOF
4087 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4094 # sys/syslimits.h and sys/param.h sometimes needed on OpenBSD 3.2 SPARC
4096 for ac_header in sys/syslimits.h
4098 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4100 echo "$as_me:$LINENO: checking for $ac_header" >&5
4101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4106 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4108 # Is the header compilable?
4109 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4110 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4111 cat >conftest.$ac_ext <<_ACEOF
4112 #line $LINENO "configure"
4115 cat confdefs.h >>conftest.$ac_ext
4116 cat >>conftest.$ac_ext <<_ACEOF
4117 /* end confdefs.h. */
4118 $ac_includes_default
4119 #include <$ac_header>
4121 rm -f conftest.$ac_objext
4122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4123 (eval $ac_compile) 2>&5
4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126 (exit $ac_status); } &&
4127 { ac_try='test -s conftest.$ac_objext'
4128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); }; }; then
4133 ac_header_compiler=yes
4135 echo "$as_me: failed program was:" >&5
4136 sed 's/^/| /' conftest.$ac_ext >&5
4138 ac_header_compiler=no
4140 rm -f conftest.$ac_objext conftest.$ac_ext
4141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4142 echo "${ECHO_T}$ac_header_compiler" >&6
4144 # Is the header present?
4145 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4146 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4147 cat >conftest.$ac_ext <<_ACEOF
4148 #line $LINENO "configure"
4151 cat confdefs.h >>conftest.$ac_ext
4152 cat >>conftest.$ac_ext <<_ACEOF
4153 /* end confdefs.h. */
4154 #include <$ac_header>
4156 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4157 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4159 grep -v '^ *+' conftest.er1 >conftest.err
4161 cat conftest.err >&5
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); } >/dev/null; then
4164 if test -s conftest.err; then
4165 ac_cpp_err=$ac_c_preproc_warn_flag
4172 if test -z "$ac_cpp_err"; then
4173 ac_header_preproc=yes
4175 echo "$as_me: failed program was:" >&5
4176 sed 's/^/| /' conftest.$ac_ext >&5
4178 ac_header_preproc=no
4180 rm -f conftest.err conftest.$ac_ext
4181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4182 echo "${ECHO_T}$ac_header_preproc" >&6
4184 # So? What about this header?
4185 case $ac_header_compiler:$ac_header_preproc in
4187 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4188 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4190 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4193 ## ------------------------------------ ##
4194 ## Report this to bug-autoconf@gnu.org. ##
4195 ## ------------------------------------ ##
4198 sed "s/^/$as_me: WARNING: /" >&2
4201 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4202 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4203 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4204 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4206 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4209 ## ------------------------------------ ##
4210 ## Report this to bug-autoconf@gnu.org. ##
4211 ## ------------------------------------ ##
4214 sed "s/^/$as_me: WARNING: /" >&2
4217 echo "$as_me:$LINENO: checking for $ac_header" >&5
4218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4220 echo $ECHO_N "(cached) $ECHO_C" >&6
4222 eval "$as_ac_Header=$ac_header_preproc"
4224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4225 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4228 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4229 cat >>confdefs.h <<_ACEOF
4230 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4238 # Checks for typedefs
4239 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4240 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
4241 if test "${ac_cv_header_stdbool_h+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4244 cat >conftest.$ac_ext <<_ACEOF
4245 #line $LINENO "configure"
4248 cat confdefs.h >>conftest.$ac_ext
4249 cat >>conftest.$ac_ext <<_ACEOF
4250 /* end confdefs.h. */
4252 #include <stdbool.h>
4254 # error bool is not defined
4257 # error false is not defined
4260 # error false is not 0
4263 # error true is not defined
4266 # error true is not 1
4268 #ifndef __bool_true_false_are_defined
4269 # error __bool_true_false_are_defined is not defined
4272 struct s { _Bool s: 1; _Bool t; } s;
4274 char a[true == 1 ? 1 : -1];
4275 char b[false == 0 ? 1 : -1];
4276 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4277 char d[(bool) -0.5 == true ? 1 : -1];
4279 char f[(_Bool) -0.0 == false ? 1 : -1];
4281 char h[sizeof (_Bool)];
4287 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
4292 rm -f conftest.$ac_objext
4293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4294 (eval $ac_compile) 2>&5
4296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297 (exit $ac_status); } &&
4298 { ac_try='test -s conftest.$ac_objext'
4299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); }; }; then
4304 ac_cv_header_stdbool_h=yes
4306 echo "$as_me: failed program was:" >&5
4307 sed 's/^/| /' conftest.$ac_ext >&5
4309 ac_cv_header_stdbool_h=no
4311 rm -f conftest.$ac_objext conftest.$ac_ext
4313 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4314 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
4315 echo "$as_me:$LINENO: checking for _Bool" >&5
4316 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
4317 if test "${ac_cv_type__Bool+set}" = set; then
4318 echo $ECHO_N "(cached) $ECHO_C" >&6
4320 cat >conftest.$ac_ext <<_ACEOF
4321 #line $LINENO "configure"
4324 cat confdefs.h >>conftest.$ac_ext
4325 cat >>conftest.$ac_ext <<_ACEOF
4326 /* end confdefs.h. */
4327 $ac_includes_default
4339 rm -f conftest.$ac_objext
4340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4341 (eval $ac_compile) 2>&5
4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344 (exit $ac_status); } &&
4345 { ac_try='test -s conftest.$ac_objext'
4346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); }; }; then
4351 ac_cv_type__Bool=yes
4353 echo "$as_me: failed program was:" >&5
4354 sed 's/^/| /' conftest.$ac_ext >&5
4358 rm -f conftest.$ac_objext conftest.$ac_ext
4360 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
4361 echo "${ECHO_T}$ac_cv_type__Bool" >&6
4362 if test $ac_cv_type__Bool = yes; then
4364 cat >>confdefs.h <<_ACEOF
4365 #define HAVE__BOOL 1
4371 if test $ac_cv_header_stdbool_h = yes; then
4373 cat >>confdefs.h <<\_ACEOF
4374 #define HAVE_STDBOOL_H 1
4379 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4380 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4381 if test "${ac_cv_c_const+set}" = set; then
4382 echo $ECHO_N "(cached) $ECHO_C" >&6
4384 cat >conftest.$ac_ext <<_ACEOF
4385 #line $LINENO "configure"
4388 cat confdefs.h >>conftest.$ac_ext
4389 cat >>conftest.$ac_ext <<_ACEOF
4390 /* end confdefs.h. */
4395 /* FIXME: Include the comments suggested by Paul. */
4397 /* Ultrix mips cc rejects this. */
4398 typedef int charset[2];
4400 /* SunOS 4.1.1 cc rejects this. */
4401 char const *const *ccp;
4403 /* NEC SVR4.0.2 mips cc rejects this. */
4404 struct point {int x, y;};
4405 static struct point const zero = {0,0};
4406 /* AIX XL C 1.02.0.0 rejects this.
4407 It does not let you subtract one const X* pointer from another in
4408 an arm of an if-expression whose if-part is not a constant
4410 const char *g = "string";
4411 ccp = &g + (g ? g-g : 0);
4412 /* HPUX 7.0 cc rejects these. */
4415 ccp = (char const *const *) p;
4416 { /* SCO 3.2v4 cc rejects this. */
4418 char const *s = 0 ? (char *) 0 : (char const *) 0;
4422 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4424 const int *foo = &x[0];
4427 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4428 typedef const int *iptr;
4432 { /* AIX XL C 1.02.0.0 rejects this saying
4433 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4434 struct s { int j; const int *ap[3]; };
4435 struct s *b; b->j = 5;
4437 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4446 rm -f conftest.$ac_objext
4447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4448 (eval $ac_compile) 2>&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); } &&
4452 { ac_try='test -s conftest.$ac_objext'
4453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457 (exit $ac_status); }; }; then
4460 echo "$as_me: failed program was:" >&5
4461 sed 's/^/| /' conftest.$ac_ext >&5
4465 rm -f conftest.$ac_objext conftest.$ac_ext
4467 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4468 echo "${ECHO_T}$ac_cv_c_const" >&6
4469 if test $ac_cv_c_const = no; then
4471 cat >>confdefs.h <<\_ACEOF
4477 echo "$as_me:$LINENO: checking for size_t" >&5
4478 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4479 if test "${ac_cv_type_size_t+set}" = set; then
4480 echo $ECHO_N "(cached) $ECHO_C" >&6
4482 cat >conftest.$ac_ext <<_ACEOF
4483 #line $LINENO "configure"
4486 cat confdefs.h >>conftest.$ac_ext
4487 cat >>conftest.$ac_ext <<_ACEOF
4488 /* end confdefs.h. */
4489 $ac_includes_default
4495 if (sizeof (size_t))
4501 rm -f conftest.$ac_objext
4502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4503 (eval $ac_compile) 2>&5
4505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 (exit $ac_status); } &&
4507 { ac_try='test -s conftest.$ac_objext'
4508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 (exit $ac_status); }; }; then
4513 ac_cv_type_size_t=yes
4515 echo "$as_me: failed program was:" >&5
4516 sed 's/^/| /' conftest.$ac_ext >&5
4518 ac_cv_type_size_t=no
4520 rm -f conftest.$ac_objext conftest.$ac_ext
4522 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4523 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4524 if test $ac_cv_type_size_t = yes; then
4528 cat >>confdefs.h <<_ACEOF
4529 #define size_t unsigned
4535 # checks for structures (none need to be tested)
4537 # checks for compiler characteristics
4538 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4539 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4540 if test "${ac_cv_c_bigendian+set}" = set; then
4541 echo $ECHO_N "(cached) $ECHO_C" >&6
4543 # See if sys/param.h defines the BYTE_ORDER macro.
4544 cat >conftest.$ac_ext <<_ACEOF
4545 #line $LINENO "configure"
4548 cat confdefs.h >>conftest.$ac_ext
4549 cat >>conftest.$ac_ext <<_ACEOF
4550 /* end confdefs.h. */
4551 #include <sys/types.h>
4552 #include <sys/param.h>
4557 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4565 rm -f conftest.$ac_objext
4566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4567 (eval $ac_compile) 2>&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); } &&
4571 { ac_try='test -s conftest.$ac_objext'
4572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576 (exit $ac_status); }; }; then
4577 # It does; now see whether it defined to BIG_ENDIAN or not.
4578 cat >conftest.$ac_ext <<_ACEOF
4579 #line $LINENO "configure"
4582 cat confdefs.h >>conftest.$ac_ext
4583 cat >>conftest.$ac_ext <<_ACEOF
4584 /* end confdefs.h. */
4585 #include <sys/types.h>
4586 #include <sys/param.h>
4591 #if BYTE_ORDER != BIG_ENDIAN
4599 rm -f conftest.$ac_objext
4600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4601 (eval $ac_compile) 2>&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } &&
4605 { ac_try='test -s conftest.$ac_objext'
4606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; }; then
4611 ac_cv_c_bigendian=yes
4613 echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.$ac_ext >&5
4616 ac_cv_c_bigendian=no
4618 rm -f conftest.$ac_objext conftest.$ac_ext
4620 echo "$as_me: failed program was:" >&5
4621 sed 's/^/| /' conftest.$ac_ext >&5
4623 # It does not; compile a test program.
4624 if test "$cross_compiling" = yes; then
4625 # try to guess the endianness by grepping values into an object file
4626 ac_cv_c_bigendian=unknown
4627 cat >conftest.$ac_ext <<_ACEOF
4628 #line $LINENO "configure"
4631 cat confdefs.h >>conftest.$ac_ext
4632 cat >>conftest.$ac_ext <<_ACEOF
4633 /* end confdefs.h. */
4634 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4635 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4636 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4637 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4638 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4639 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4643 _ascii (); _ebcdic ();
4648 rm -f conftest.$ac_objext
4649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4650 (eval $ac_compile) 2>&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); } &&
4654 { ac_try='test -s conftest.$ac_objext'
4655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }; }; then
4660 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4661 ac_cv_c_bigendian=yes
4663 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4664 if test "$ac_cv_c_bigendian" = unknown; then
4665 ac_cv_c_bigendian=no
4667 # finding both strings is unlikely to happen, but who knows?
4668 ac_cv_c_bigendian=unknown
4672 echo "$as_me: failed program was:" >&5
4673 sed 's/^/| /' conftest.$ac_ext >&5
4676 rm -f conftest.$ac_objext conftest.$ac_ext
4678 cat >conftest.$ac_ext <<_ACEOF
4679 #line $LINENO "configure"
4682 cat confdefs.h >>conftest.$ac_ext
4683 cat >>conftest.$ac_ext <<_ACEOF
4684 /* end confdefs.h. */
4688 /* Are we little or big endian? From Harbison&Steele. */
4692 char c[sizeof (long)];
4695 exit (u.c[sizeof (long) - 1] == 1);
4698 rm -f conftest$ac_exeext
4699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4700 (eval $ac_link) 2>&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); }; }; then
4709 ac_cv_c_bigendian=no
4711 echo "$as_me: program exited with status $ac_status" >&5
4712 echo "$as_me: failed program was:" >&5
4713 sed 's/^/| /' conftest.$ac_ext >&5
4716 ac_cv_c_bigendian=yes
4718 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4721 rm -f conftest.$ac_objext conftest.$ac_ext
4723 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4724 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4725 case $ac_cv_c_bigendian in
4728 cat >>confdefs.h <<\_ACEOF
4729 #define WORDS_BIGENDIAN 1
4735 { { echo "$as_me:$LINENO: error: unknown endianness
4736 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4737 echo "$as_me: error: unknown endianness
4738 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4739 { (exit 1); exit 1; }; } ;;
4742 echo "$as_me:$LINENO: checking for size_t" >&5
4743 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4744 if test "${ac_cv_type_size_t+set}" = set; then
4745 echo $ECHO_N "(cached) $ECHO_C" >&6
4747 cat >conftest.$ac_ext <<_ACEOF
4748 #line $LINENO "configure"
4751 cat confdefs.h >>conftest.$ac_ext
4752 cat >>conftest.$ac_ext <<_ACEOF
4753 /* end confdefs.h. */
4754 $ac_includes_default
4760 if (sizeof (size_t))
4766 rm -f conftest.$ac_objext
4767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4768 (eval $ac_compile) 2>&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); } &&
4772 { ac_try='test -s conftest.$ac_objext'
4773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); }; }; then
4778 ac_cv_type_size_t=yes
4780 echo "$as_me: failed program was:" >&5
4781 sed 's/^/| /' conftest.$ac_ext >&5
4783 ac_cv_type_size_t=no
4785 rm -f conftest.$ac_objext conftest.$ac_ext
4787 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4788 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4790 echo "$as_me:$LINENO: checking size of size_t" >&5
4791 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
4792 if test "${ac_cv_sizeof_size_t+set}" = set; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
4795 if test "$ac_cv_type_size_t" = yes; then
4796 # The cast to unsigned long works around a bug in the HP C Compiler
4797 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4798 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4799 # This bug is HP SR number 8606223364.
4800 if test "$cross_compiling" = yes; then
4801 # Depending upon the size, compute the lo and hi bounds.
4802 cat >conftest.$ac_ext <<_ACEOF
4803 #line $LINENO "configure"
4806 cat confdefs.h >>conftest.$ac_ext
4807 cat >>conftest.$ac_ext <<_ACEOF
4808 /* end confdefs.h. */
4809 $ac_includes_default
4813 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
4820 rm -f conftest.$ac_objext
4821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4822 (eval $ac_compile) 2>&5
4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825 (exit $ac_status); } &&
4826 { ac_try='test -s conftest.$ac_objext'
4827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); }; }; then
4834 cat >conftest.$ac_ext <<_ACEOF
4835 #line $LINENO "configure"
4838 cat confdefs.h >>conftest.$ac_ext
4839 cat >>conftest.$ac_ext <<_ACEOF
4840 /* end confdefs.h. */
4841 $ac_includes_default
4845 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
4852 rm -f conftest.$ac_objext
4853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4854 (eval $ac_compile) 2>&5
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); } &&
4858 { ac_try='test -s conftest.$ac_objext'
4859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); }; }; then
4864 ac_hi=$ac_mid; break
4866 echo "$as_me: failed program was:" >&5
4867 sed 's/^/| /' conftest.$ac_ext >&5
4869 ac_lo=`expr $ac_mid + 1`
4870 if test $ac_lo -le $ac_mid; then
4874 ac_mid=`expr 2 '*' $ac_mid + 1`
4876 rm -f conftest.$ac_objext conftest.$ac_ext
4879 echo "$as_me: failed program was:" >&5
4880 sed 's/^/| /' conftest.$ac_ext >&5
4882 cat >conftest.$ac_ext <<_ACEOF
4883 #line $LINENO "configure"
4886 cat confdefs.h >>conftest.$ac_ext
4887 cat >>conftest.$ac_ext <<_ACEOF
4888 /* end confdefs.h. */
4889 $ac_includes_default
4893 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
4900 rm -f conftest.$ac_objext
4901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4902 (eval $ac_compile) 2>&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); } &&
4906 { ac_try='test -s conftest.$ac_objext'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; }; then
4914 cat >conftest.$ac_ext <<_ACEOF
4915 #line $LINENO "configure"
4918 cat confdefs.h >>conftest.$ac_ext
4919 cat >>conftest.$ac_ext <<_ACEOF
4920 /* end confdefs.h. */
4921 $ac_includes_default
4925 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
4932 rm -f conftest.$ac_objext
4933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4934 (eval $ac_compile) 2>&5
4936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937 (exit $ac_status); } &&
4938 { ac_try='test -s conftest.$ac_objext'
4939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); }; }; then
4944 ac_lo=$ac_mid; break
4946 echo "$as_me: failed program was:" >&5
4947 sed 's/^/| /' conftest.$ac_ext >&5
4949 ac_hi=`expr '(' $ac_mid ')' - 1`
4950 if test $ac_mid -le $ac_hi; then
4954 ac_mid=`expr 2 '*' $ac_mid`
4956 rm -f conftest.$ac_objext conftest.$ac_ext
4959 echo "$as_me: failed program was:" >&5
4960 sed 's/^/| /' conftest.$ac_ext >&5
4964 rm -f conftest.$ac_objext conftest.$ac_ext
4966 rm -f conftest.$ac_objext conftest.$ac_ext
4967 # Binary search between lo and hi bounds.
4968 while test "x$ac_lo" != "x$ac_hi"; do
4969 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4970 cat >conftest.$ac_ext <<_ACEOF
4971 #line $LINENO "configure"
4974 cat confdefs.h >>conftest.$ac_ext
4975 cat >>conftest.$ac_ext <<_ACEOF
4976 /* end confdefs.h. */
4977 $ac_includes_default
4981 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
4988 rm -f conftest.$ac_objext
4989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4990 (eval $ac_compile) 2>&5
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); } &&
4994 { ac_try='test -s conftest.$ac_objext'
4995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); }; }; then
5002 echo "$as_me: failed program was:" >&5
5003 sed 's/^/| /' conftest.$ac_ext >&5
5005 ac_lo=`expr '(' $ac_mid ')' + 1`
5007 rm -f conftest.$ac_objext conftest.$ac_ext
5010 ?*) ac_cv_sizeof_size_t=$ac_lo;;
5011 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
5012 See \`config.log' for more details." >&5
5013 echo "$as_me: error: cannot compute sizeof (size_t), 77
5014 See \`config.log' for more details." >&2;}
5015 { (exit 1); exit 1; }; } ;;
5018 if test "$cross_compiling" = yes; then
5019 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5020 See \`config.log' for more details." >&5
5021 echo "$as_me: error: cannot run test program while cross compiling
5022 See \`config.log' for more details." >&2;}
5023 { (exit 1); exit 1; }; }
5025 cat >conftest.$ac_ext <<_ACEOF
5026 #line $LINENO "configure"
5029 cat confdefs.h >>conftest.$ac_ext
5030 cat >>conftest.$ac_ext <<_ACEOF
5031 /* end confdefs.h. */
5032 $ac_includes_default
5033 long longval () { return (long) (sizeof (size_t)); }
5034 unsigned long ulongval () { return (long) (sizeof (size_t)); }
5041 FILE *f = fopen ("conftest.val", "w");
5044 if (((long) (sizeof (size_t))) < 0)
5046 long i = longval ();
5047 if (i != ((long) (sizeof (size_t))))
5049 fprintf (f, "%ld\n", i);
5053 unsigned long i = ulongval ();
5054 if (i != ((long) (sizeof (size_t))))
5056 fprintf (f, "%lu\n", i);
5058 exit (ferror (f) || fclose (f) != 0);
5064 rm -f conftest$ac_exeext
5065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5066 (eval $ac_link) 2>&5
5068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5069 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); }; }; then
5075 ac_cv_sizeof_size_t=`cat conftest.val`
5077 echo "$as_me: program exited with status $ac_status" >&5
5078 echo "$as_me: failed program was:" >&5
5079 sed 's/^/| /' conftest.$ac_ext >&5
5082 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
5083 See \`config.log' for more details." >&5
5084 echo "$as_me: error: cannot compute sizeof (size_t), 77
5085 See \`config.log' for more details." >&2;}
5086 { (exit 1); exit 1; }; }
5088 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5093 ac_cv_sizeof_size_t=0
5096 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
5097 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
5098 cat >>confdefs.h <<_ACEOF
5099 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
5104 # checks for library functions
5105 echo "$as_me:$LINENO: checking for working strtod" >&5
5106 echo $ECHO_N "checking for working strtod... $ECHO_C" >&6
5107 if test "${ac_cv_func_strtod+set}" = set; then
5108 echo $ECHO_N "(cached) $ECHO_C" >&6
5110 if test "$cross_compiling" = yes; then
5111 ac_cv_func_strtod=no
5113 cat >conftest.$ac_ext <<_ACEOF
5114 #line $LINENO "configure"
5117 cat confdefs.h >>conftest.$ac_ext
5118 cat >>conftest.$ac_ext <<_ACEOF
5119 /* end confdefs.h. */
5126 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
5127 char *string = " +69";
5130 value = strtod (string, &term);
5131 if (value != 69 || term != (string + 4))
5136 /* Under Solaris 2.4, strtod returns the wrong value for the
5137 terminating character under some conditions. */
5138 char *string = "NaN";
5140 strtod (string, &term);
5141 if (term != string && *(term - 1) == 0)
5148 rm -f conftest$ac_exeext
5149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5150 (eval $ac_link) 2>&5
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5158 (exit $ac_status); }; }; then
5159 ac_cv_func_strtod=yes
5161 echo "$as_me: program exited with status $ac_status" >&5
5162 echo "$as_me: failed program was:" >&5
5163 sed 's/^/| /' conftest.$ac_ext >&5
5166 ac_cv_func_strtod=no
5168 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5171 echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
5172 echo "${ECHO_T}$ac_cv_func_strtod" >&6
5173 if test $ac_cv_func_strtod = no; then
5174 LIBOBJS="$LIBOBJS strtod.$ac_objext"
5175 echo "$as_me:$LINENO: checking for pow" >&5
5176 echo $ECHO_N "checking for pow... $ECHO_C" >&6
5177 if test "${ac_cv_func_pow+set}" = set; then
5178 echo $ECHO_N "(cached) $ECHO_C" >&6
5180 cat >conftest.$ac_ext <<_ACEOF
5181 #line $LINENO "configure"
5184 cat confdefs.h >>conftest.$ac_ext
5185 cat >>conftest.$ac_ext <<_ACEOF
5186 /* end confdefs.h. */
5187 /* System header to define __stub macros and hopefully few prototypes,
5188 which can conflict with char pow (); below.
5189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5190 <limits.h> exists even on freestanding compilers. */
5192 # include <limits.h>
5194 # include <assert.h>
5196 /* Override any gcc2 internal prototype to avoid an error. */
5201 /* We use char because int might match the return type of a gcc2
5202 builtin and then its argument prototype would still apply. */
5204 /* The GNU C library defines this for functions which it implements
5205 to always fail with ENOSYS. Some functions are actually named
5206 something starting with __ and the normal name is an alias. */
5207 #if defined (__stub_pow) || defined (__stub___pow)
5224 rm -f conftest.$ac_objext conftest$ac_exeext
5225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5226 (eval $ac_link) 2>&5
5228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 (exit $ac_status); } &&
5230 { ac_try='test -s conftest$ac_exeext'
5231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); }; }; then
5238 echo "$as_me: failed program was:" >&5
5239 sed 's/^/| /' conftest.$ac_ext >&5
5243 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5245 echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
5246 echo "${ECHO_T}$ac_cv_func_pow" >&6
5248 if test $ac_cv_func_pow = no; then
5249 echo "$as_me:$LINENO: checking for pow in -lm" >&5
5250 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
5251 if test "${ac_cv_lib_m_pow+set}" = set; then
5252 echo $ECHO_N "(cached) $ECHO_C" >&6
5254 ac_check_lib_save_LIBS=$LIBS
5256 cat >conftest.$ac_ext <<_ACEOF
5257 #line $LINENO "configure"
5260 cat confdefs.h >>conftest.$ac_ext
5261 cat >>conftest.$ac_ext <<_ACEOF
5262 /* end confdefs.h. */
5264 /* Override any gcc2 internal prototype to avoid an error. */
5268 /* We use char because int might match the return type of a gcc2
5269 builtin and then its argument prototype would still apply. */
5279 rm -f conftest.$ac_objext conftest$ac_exeext
5280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5281 (eval $ac_link) 2>&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); } &&
5285 { ac_try='test -s conftest$ac_exeext'
5286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); }; }; then
5293 echo "$as_me: failed program was:" >&5
5294 sed 's/^/| /' conftest.$ac_ext >&5
5298 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5299 LIBS=$ac_check_lib_save_LIBS
5301 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
5302 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
5303 if test $ac_cv_lib_m_pow = yes; then
5306 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
5307 echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
5320 for ac_func in memset strchr strtol processor_info getsysinfo pthread_num_processors_np
5322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5323 echo "$as_me:$LINENO: checking for $ac_func" >&5
5324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5325 if eval "test \"\${$as_ac_var+set}\" = set"; then
5326 echo $ECHO_N "(cached) $ECHO_C" >&6
5328 cat >conftest.$ac_ext <<_ACEOF
5329 #line $LINENO "configure"
5332 cat confdefs.h >>conftest.$ac_ext
5333 cat >>conftest.$ac_ext <<_ACEOF
5334 /* end confdefs.h. */
5335 /* System header to define __stub macros and hopefully few prototypes,
5336 which can conflict with char $ac_func (); below.
5337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5338 <limits.h> exists even on freestanding compilers. */
5340 # include <limits.h>
5342 # include <assert.h>
5344 /* Override any gcc2 internal prototype to avoid an error. */
5349 /* We use char because int might match the return type of a gcc2
5350 builtin and then its argument prototype would still apply. */
5352 /* The GNU C library defines this for functions which it implements
5353 to always fail with ENOSYS. Some functions are actually named
5354 something starting with __ and the normal name is an alias. */
5355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5358 char (*f) () = $ac_func;
5367 return f != $ac_func;
5372 rm -f conftest.$ac_objext conftest$ac_exeext
5373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5374 (eval $ac_link) 2>&5
5376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); } &&
5378 { ac_try='test -s conftest$ac_exeext'
5379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); }; }; then
5384 eval "$as_ac_var=yes"
5386 echo "$as_me: failed program was:" >&5
5387 sed 's/^/| /' conftest.$ac_ext >&5
5389 eval "$as_ac_var=no"
5391 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5395 if test `eval echo '${'$as_ac_var'}'` = yes; then
5396 cat >>confdefs.h <<_ACEOF
5397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5410 for ac_func in cpu_get_max pstat pstat_getdynamic pstat_getprocessor uname sysconf sysinfo
5412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5413 echo "$as_me:$LINENO: checking for $ac_func" >&5
5414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5415 if eval "test \"\${$as_ac_var+set}\" = set"; then
5416 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 cat >conftest.$ac_ext <<_ACEOF
5419 #line $LINENO "configure"
5422 cat confdefs.h >>conftest.$ac_ext
5423 cat >>conftest.$ac_ext <<_ACEOF
5424 /* end confdefs.h. */
5425 /* System header to define __stub macros and hopefully few prototypes,
5426 which can conflict with char $ac_func (); below.
5427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5428 <limits.h> exists even on freestanding compilers. */
5430 # include <limits.h>
5432 # include <assert.h>
5434 /* Override any gcc2 internal prototype to avoid an error. */
5439 /* We use char because int might match the return type of a gcc2
5440 builtin and then its argument prototype would still apply. */
5442 /* The GNU C library defines this for functions which it implements
5443 to always fail with ENOSYS. Some functions are actually named
5444 something starting with __ and the normal name is an alias. */
5445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5448 char (*f) () = $ac_func;
5457 return f != $ac_func;
5462 rm -f conftest.$ac_objext conftest$ac_exeext
5463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5464 (eval $ac_link) 2>&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); } &&
5468 { ac_try='test -s conftest$ac_exeext'
5469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); }; }; then
5474 eval "$as_ac_var=yes"
5476 echo "$as_me: failed program was:" >&5
5477 sed 's/^/| /' conftest.$ac_ext >&5
5479 eval "$as_ac_var=no"
5481 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5485 if test `eval echo '${'$as_ac_var'}'` = yes; then
5486 cat >>confdefs.h <<_ACEOF
5487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5497 for ac_func in cpusetcreate cpucountset cpu_get_num sysctl
5499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5500 echo "$as_me:$LINENO: checking for $ac_func" >&5
5501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5502 if eval "test \"\${$as_ac_var+set}\" = set"; then
5503 echo $ECHO_N "(cached) $ECHO_C" >&6
5505 cat >conftest.$ac_ext <<_ACEOF
5506 #line $LINENO "configure"
5509 cat confdefs.h >>conftest.$ac_ext
5510 cat >>conftest.$ac_ext <<_ACEOF
5511 /* end confdefs.h. */
5512 /* System header to define __stub macros and hopefully few prototypes,
5513 which can conflict with char $ac_func (); below.
5514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5515 <limits.h> exists even on freestanding compilers. */
5517 # include <limits.h>
5519 # include <assert.h>
5521 /* Override any gcc2 internal prototype to avoid an error. */
5526 /* We use char because int might match the return type of a gcc2
5527 builtin and then its argument prototype would still apply. */
5529 /* The GNU C library defines this for functions which it implements
5530 to always fail with ENOSYS. Some functions are actually named
5531 something starting with __ and the normal name is an alias. */
5532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5535 char (*f) () = $ac_func;
5544 return f != $ac_func;
5549 rm -f conftest.$ac_objext conftest$ac_exeext
5550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5551 (eval $ac_link) 2>&5
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); } &&
5555 { ac_try='test -s conftest$ac_exeext'
5556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); }; }; then
5561 eval "$as_ac_var=yes"
5563 echo "$as_me: failed program was:" >&5
5564 sed 's/^/| /' conftest.$ac_ext >&5
5566 eval "$as_ac_var=no"
5568 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5572 if test `eval echo '${'$as_ac_var'}'` = yes; then
5573 cat >>confdefs.h <<_ACEOF
5574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5581 # checks for system services
5583 # Check if the user wants a GUI. If so makes sure GTK and wxWindows are around.
5584 # The macro is in the file gtk.m4 in the 'm4' subdirectory.
5586 #AC_ARG_WITH(gui, AC_HELP_STRING([--with-gui=[no]],[Add a GUI (needs GTK >= 1.2.7 installed) but the GUI does not work!! ]))
5587 #AC_PROG_CXX # Test for C++ compiler characteristics
5588 #if test "x$with_gui" = "xyes"; then
5589 # AC_PATH_GTK(1.2.7, GTK127=1)
5590 # if test "$GTK127" != 1; then
5592 # Please check that gtk-config is in path, the directory
5593 # where GTK+ libraries are installed (returned by
5594 # 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
5595 # equivalent variable and GTK+ is version 1.2.7 or above.
5598 # AC_CHECK_PROG(WXWINDOWS,wx-config, 1, 0)
5599 # if test "$WXWINDOWS" != 1; then
5601 # wxWindows must be installed to use the GUI version of atlc
5604 # AC_SUBST(EXTRA_WXWINDOWS_LIBS,`wx-config --libs`)
5605 # AC_SUBST(EXTRA_WXWINDOWS_CFLAGS,`wx-config --cflags`)
5606 # AC_SUBST(GUI_DIRECTORY,gui)
5610 #AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],[ with debugging code]), AC_DEFINE([DEBUG],[1]))
5611 # Check whether --enable-debug or --disable-debug was given.
5612 if test "${enable_debug+set}" = set; then
5613 enableval="$enable_debug"
5615 cat >>confdefs.h <<\_ACEOF
5620 # Check whether --enable-hardware-info or --disable-hardware-info was given.
5621 if test "${enable_hardware_info+set}" = set; then
5622 enableval="$enable_hardware_info"
5626 cat >>confdefs.h <<\_ACEOF
5627 #define TRY_TO_GET_HARDWARE_INFO 1
5632 # Put a usage message so the user can use threads if wanted.
5633 #AC_ARG_WITH(threads,
5634 #AC_HELP_STRING([--with-threads],
5635 # [support thread-based parallel computation, using a POSIX thread library (default is NO)]))
5637 # Multi-Processor Support checked with the macro m4/acx_pthread.m4
5638 if test "x$with_threads" = "xyes"; then
5639 # Make sure we can run config.sub.
5640 $ac_config_sub sun4 >/dev/null 2>&1 ||
5641 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
5642 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
5643 { (exit 1); exit 1; }; }
5645 echo "$as_me:$LINENO: checking build system type" >&5
5646 echo $ECHO_N "checking build system type... $ECHO_C" >&6
5647 if test "${ac_cv_build+set}" = set; then
5648 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 ac_cv_build_alias=$build_alias
5651 test -z "$ac_cv_build_alias" &&
5652 ac_cv_build_alias=`$ac_config_guess`
5653 test -z "$ac_cv_build_alias" &&
5654 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5655 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5656 { (exit 1); exit 1; }; }
5657 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
5658 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
5659 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
5660 { (exit 1); exit 1; }; }
5663 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5664 echo "${ECHO_T}$ac_cv_build" >&6
5666 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5667 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5668 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5671 echo "$as_me:$LINENO: checking host system type" >&5
5672 echo $ECHO_N "checking host system type... $ECHO_C" >&6
5673 if test "${ac_cv_host+set}" = set; then
5674 echo $ECHO_N "(cached) $ECHO_C" >&6
5676 ac_cv_host_alias=$host_alias
5677 test -z "$ac_cv_host_alias" &&
5678 ac_cv_host_alias=$ac_cv_build_alias
5679 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
5680 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5681 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5682 { (exit 1); exit 1; }; }
5685 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5686 echo "${ECHO_T}$ac_cv_host" >&6
5688 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5689 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5690 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5698 ac_cpp='$CPP $CPPFLAGS'
5699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5705 # We used to check for pthread.h first, but this fails if pthread.h
5706 # requires special compiler flags (e.g. on True64 or Sequent).
5707 # It gets checked for in the link test anyway.
5709 # First of all, check if the user has set any of the PTHREAD_LIBS,
5710 # etcetera environment variables, and if threads linking works using
5712 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
5713 save_CFLAGS="$CFLAGS"
5714 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
5716 LIBS="$PTHREAD_LIBS $LIBS"
5717 echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
5718 echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6
5719 cat >conftest.$ac_ext <<_ACEOF
5720 #line $LINENO "configure"
5723 cat confdefs.h >>conftest.$ac_ext
5724 cat >>conftest.$ac_ext <<_ACEOF
5725 /* end confdefs.h. */
5727 /* Override any gcc2 internal prototype to avoid an error. */
5731 /* We use char because int might match the return type of a gcc2
5732 builtin and then its argument prototype would still apply. */
5733 char pthread_join ();
5742 rm -f conftest.$ac_objext conftest$ac_exeext
5743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5744 (eval $ac_link) 2>&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); } &&
5748 { ac_try='test -s conftest$ac_exeext'
5749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753 (exit $ac_status); }; }; then
5756 echo "$as_me: failed program was:" >&5
5757 sed 's/^/| /' conftest.$ac_ext >&5
5760 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5761 echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
5762 echo "${ECHO_T}$acx_pthread_ok" >&6
5763 if test x"$acx_pthread_ok" = xno; then
5768 CFLAGS="$save_CFLAGS"
5771 # We must check for the threads library under a number of different
5772 # names; the ordering is very important because some systems
5773 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
5774 # libraries is broken (non-POSIX).
5776 # Create a list of thread flags to try. Items starting with a "-" are
5777 # C compiler flags, and other items are library names, except for "none"
5778 # which indicates that we try without any flags at all.
5780 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt"
5782 # The ordering *is* (sometimes) important. Some notes on the
5783 # individual items follow:
5785 # pthreads: AIX (must check this before -lpthread)
5786 # none: in case threads are in libc; should be tried before -Kthread and
5787 # other compiler flags to prevent continual compiler warnings
5788 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
5789 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
5790 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
5791 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
5792 # -pthreads: Solaris/gcc
5793 # -mthreads: Mingw32/gcc, Lynx/gcc
5794 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
5795 # doesn't hurt to check since this sometimes defines pthreads too;
5796 # also defines -D_REENTRANT)
5797 # pthread: Linux, etcetera
5798 # --thread-safe: KAI C++
5800 case "${host_cpu}-${host_os}" in
5803 # On Solaris (at least, for some versions), libc contains stubbed
5804 # (non-functional) versions of the pthreads routines, so link-based
5805 # tests will erroneously succeed. (We need to link with -pthread or
5806 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
5807 # a function called by this macro, so we could check for that, but
5808 # who knows whether they'll stub that too in a future libc.) So,
5809 # we'll just look for -pthreads and -lpthread first:
5811 acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags"
5815 if test x"$acx_pthread_ok" = xno; then
5816 for flag in $acx_pthread_flags; do
5820 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
5821 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
5825 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
5826 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
5827 PTHREAD_CFLAGS="$flag"
5831 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
5832 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
5833 PTHREAD_LIBS="-l$flag"
5838 save_CFLAGS="$CFLAGS"
5839 LIBS="$PTHREAD_LIBS $LIBS"
5840 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
5842 # Check for various functions. We must include pthread.h,
5843 # since some functions may be macros. (On the Sequent, we
5844 # need a special flag -Kthread to make this header compile.)
5845 # We check for pthread_join because it is in -lpthread on IRIX
5846 # while pthread_create is in libc. We check for pthread_attr_init
5847 # due to DEC craziness with -lpthreads. We check for
5848 # pthread_cleanup_push because it is one of the few pthread
5849 # functions on Solaris that doesn't have a non-functional libc stub.
5850 # We try pthread_create on general principles.
5851 cat >conftest.$ac_ext <<_ACEOF
5852 #line $LINENO "configure"
5855 cat confdefs.h >>conftest.$ac_ext
5856 cat >>conftest.$ac_ext <<_ACEOF
5857 /* end confdefs.h. */
5858 #include <pthread.h>
5862 pthread_t th; pthread_join(th, 0);
5863 pthread_attr_init(0); pthread_cleanup_push(0, 0);
5864 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
5869 rm -f conftest.$ac_objext conftest$ac_exeext
5870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5871 (eval $ac_link) 2>&5
5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); } &&
5875 { ac_try='test -s conftest$ac_exeext'
5876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 (exit $ac_status); }; }; then
5883 echo "$as_me: failed program was:" >&5
5884 sed 's/^/| /' conftest.$ac_ext >&5
5887 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5890 CFLAGS="$save_CFLAGS"
5892 echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
5893 echo "${ECHO_T}$acx_pthread_ok" >&6
5894 if test "x$acx_pthread_ok" = xyes; then
5903 # Various other checks:
5904 if test "x$acx_pthread_ok" = xyes; then
5906 LIBS="$PTHREAD_LIBS $LIBS"
5907 save_CFLAGS="$CFLAGS"
5908 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
5910 # Detect AIX lossage: threads are created detached by default
5911 # and the JOINABLE attribute has a nonstandard name (UNDETACHED).
5912 echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
5913 echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6
5914 cat >conftest.$ac_ext <<_ACEOF
5915 #line $LINENO "configure"
5918 cat confdefs.h >>conftest.$ac_ext
5919 cat >>conftest.$ac_ext <<_ACEOF
5920 /* end confdefs.h. */
5921 #include <pthread.h>
5925 int attr=PTHREAD_CREATE_JOINABLE;
5930 rm -f conftest.$ac_objext conftest$ac_exeext
5931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5932 (eval $ac_link) 2>&5
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); } &&
5936 { ac_try='test -s conftest$ac_exeext'
5937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 (exit $ac_status); }; }; then
5942 ok=PTHREAD_CREATE_JOINABLE
5944 echo "$as_me: failed program was:" >&5
5945 sed 's/^/| /' conftest.$ac_ext >&5
5949 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5950 if test x"$ok" = xunknown; then
5951 cat >conftest.$ac_ext <<_ACEOF
5952 #line $LINENO "configure"
5955 cat confdefs.h >>conftest.$ac_ext
5956 cat >>conftest.$ac_ext <<_ACEOF
5957 /* end confdefs.h. */
5958 #include <pthread.h>
5962 int attr=PTHREAD_CREATE_UNDETACHED;
5967 rm -f conftest.$ac_objext conftest$ac_exeext
5968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5969 (eval $ac_link) 2>&5
5971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5972 (exit $ac_status); } &&
5973 { ac_try='test -s conftest$ac_exeext'
5974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978 (exit $ac_status); }; }; then
5979 ok=PTHREAD_CREATE_UNDETACHED
5981 echo "$as_me: failed program was:" >&5
5982 sed 's/^/| /' conftest.$ac_ext >&5
5986 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5988 if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then
5990 cat >>confdefs.h <<\_ACEOF
5991 #define PTHREAD_CREATE_JOINABLE $ok
5995 echo "$as_me:$LINENO: result: ${ok}" >&5
5996 echo "${ECHO_T}${ok}" >&6
5997 if test x"$ok" = xunknown; then
5998 { echo "$as_me:$LINENO: WARNING: we do not know how to create joinable pthreads" >&5
5999 echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;}
6002 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
6003 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
6005 case "${host_cpu}-${host_os}" in
6006 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
6007 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
6009 echo "$as_me:$LINENO: result: ${flag}" >&5
6010 echo "${ECHO_T}${flag}" >&6
6011 if test "x$flag" != xno; then
6012 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
6016 CFLAGS="$save_CFLAGS"
6018 # More AIX lossage: must compile with cc_r
6019 # Extract the first word of "cc_r", so it can be a program name with args.
6020 set dummy cc_r; ac_word=$2
6021 echo "$as_me:$LINENO: checking for $ac_word" >&5
6022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6023 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
6024 echo $ECHO_N "(cached) $ECHO_C" >&6
6026 if test -n "$PTHREAD_CC"; then
6027 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6033 test -z "$as_dir" && as_dir=.
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036 ac_cv_prog_PTHREAD_CC="cc_r"
6037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6043 test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}"
6046 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
6047 if test -n "$PTHREAD_CC"; then
6048 echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
6049 echo "${ECHO_T}$PTHREAD_CC" >&6
6051 echo "$as_me:$LINENO: result: no" >&5
6052 echo "${ECHO_T}no" >&6
6063 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
6064 if test x"$acx_pthread_ok" = xyes; then
6066 cat >>confdefs.h <<\_ACEOF
6067 #define ENABLE_POSIX_THREADS 1
6076 ac_cpp='$CPP $CPPFLAGS'
6077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6082 LIBS="$PTHREAD_LIBS $LIBS"
6083 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
6085 # if possible for a number of threads to run at once.
6086 echo "$as_me:$LINENO: checking for pthread_setconcurrency" >&5
6087 echo $ECHO_N "checking for pthread_setconcurrency... $ECHO_C" >&6
6088 if test "${ac_cv_func_pthread_setconcurrency+set}" = set; then
6089 echo $ECHO_N "(cached) $ECHO_C" >&6
6091 cat >conftest.$ac_ext <<_ACEOF
6092 #line $LINENO "configure"
6095 cat confdefs.h >>conftest.$ac_ext
6096 cat >>conftest.$ac_ext <<_ACEOF
6097 /* end confdefs.h. */
6098 /* System header to define __stub macros and hopefully few prototypes,
6099 which can conflict with char pthread_setconcurrency (); below.
6100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6101 <limits.h> exists even on freestanding compilers. */
6103 # include <limits.h>
6105 # include <assert.h>
6107 /* Override any gcc2 internal prototype to avoid an error. */
6112 /* We use char because int might match the return type of a gcc2
6113 builtin and then its argument prototype would still apply. */
6114 char pthread_setconcurrency ();
6115 /* The GNU C library defines this for functions which it implements
6116 to always fail with ENOSYS. Some functions are actually named
6117 something starting with __ and the normal name is an alias. */
6118 #if defined (__stub_pthread_setconcurrency) || defined (__stub___pthread_setconcurrency)
6121 char (*f) () = pthread_setconcurrency;
6130 return f != pthread_setconcurrency;
6135 rm -f conftest.$ac_objext conftest$ac_exeext
6136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6137 (eval $ac_link) 2>&5
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); } &&
6141 { ac_try='test -s conftest$ac_exeext'
6142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }; }; then
6147 ac_cv_func_pthread_setconcurrency=yes
6149 echo "$as_me: failed program was:" >&5
6150 sed 's/^/| /' conftest.$ac_ext >&5
6152 ac_cv_func_pthread_setconcurrency=no
6154 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6156 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_setconcurrency" >&5
6157 echo "${ECHO_T}$ac_cv_func_pthread_setconcurrency" >&6
6158 if test $ac_cv_func_pthread_setconcurrency = yes; then
6160 cat >>confdefs.h <<\_ACEOF
6161 #define HAVE_PTHREAD_SETCONCURRENCY 1
6166 built_with_posix_threads=yes
6169 echo "$as_me:$LINENO: checking whether _SC_PHYS_PAGES is declared" >&5
6170 echo $ECHO_N "checking whether _SC_PHYS_PAGES is declared... $ECHO_C" >&6
6171 if test "${ac_cv_have_decl__SC_PHYS_PAGES+set}" = set; then
6172 echo $ECHO_N "(cached) $ECHO_C" >&6
6174 cat >conftest.$ac_ext <<_ACEOF
6175 #line $LINENO "configure"
6178 cat confdefs.h >>conftest.$ac_ext
6179 cat >>conftest.$ac_ext <<_ACEOF
6180 /* end confdefs.h. */
6181 $ac_includes_default
6185 #ifndef _SC_PHYS_PAGES
6186 char *p = (char *) _SC_PHYS_PAGES;
6193 rm -f conftest.$ac_objext
6194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6195 (eval $ac_compile) 2>&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); } &&
6199 { ac_try='test -s conftest.$ac_objext'
6200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); }; }; then
6205 ac_cv_have_decl__SC_PHYS_PAGES=yes
6207 echo "$as_me: failed program was:" >&5
6208 sed 's/^/| /' conftest.$ac_ext >&5
6210 ac_cv_have_decl__SC_PHYS_PAGES=no
6212 rm -f conftest.$ac_objext conftest.$ac_ext
6214 echo "$as_me:$LINENO: result: $ac_cv_have_decl__SC_PHYS_PAGES" >&5
6215 echo "${ECHO_T}$ac_cv_have_decl__SC_PHYS_PAGES" >&6
6217 echo "$as_me:$LINENO: checking whether _SC_PAGESIZE is declared" >&5
6218 echo $ECHO_N "checking whether _SC_PAGESIZE is declared... $ECHO_C" >&6
6219 if test "${ac_cv_have_decl__SC_PAGESIZE+set}" = set; then
6220 echo $ECHO_N "(cached) $ECHO_C" >&6
6222 cat >conftest.$ac_ext <<_ACEOF
6223 #line $LINENO "configure"
6226 cat confdefs.h >>conftest.$ac_ext
6227 cat >>conftest.$ac_ext <<_ACEOF
6228 /* end confdefs.h. */
6229 $ac_includes_default
6233 #ifndef _SC_PAGESIZE
6234 char *p = (char *) _SC_PAGESIZE;
6241 rm -f conftest.$ac_objext
6242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6243 (eval $ac_compile) 2>&5
6245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 (exit $ac_status); } &&
6247 { ac_try='test -s conftest.$ac_objext'
6248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252 (exit $ac_status); }; }; then
6253 ac_cv_have_decl__SC_PAGESIZE=yes
6255 echo "$as_me: failed program was:" >&5
6256 sed 's/^/| /' conftest.$ac_ext >&5
6258 ac_cv_have_decl__SC_PAGESIZE=no
6260 rm -f conftest.$ac_objext conftest.$ac_ext
6262 echo "$as_me:$LINENO: result: $ac_cv_have_decl__SC_PAGESIZE" >&5
6263 echo "${ECHO_T}$ac_cv_have_decl__SC_PAGESIZE" >&6
6265 echo "$as_me:$LINENO: checking whether _SC_CRAY_NCPU is declared" >&5
6266 echo $ECHO_N "checking whether _SC_CRAY_NCPU is declared... $ECHO_C" >&6
6267 if test "${ac_cv_have_decl__SC_CRAY_NCPU+set}" = set; then
6268 echo $ECHO_N "(cached) $ECHO_C" >&6
6270 cat >conftest.$ac_ext <<_ACEOF
6271 #line $LINENO "configure"
6274 cat confdefs.h >>conftest.$ac_ext
6275 cat >>conftest.$ac_ext <<_ACEOF
6276 /* end confdefs.h. */
6277 $ac_includes_default
6281 #ifndef _SC_CRAY_NCPU
6282 char *p = (char *) _SC_CRAY_NCPU;
6289 rm -f conftest.$ac_objext
6290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6291 (eval $ac_compile) 2>&5
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); } &&
6295 { ac_try='test -s conftest.$ac_objext'
6296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); }; }; then
6301 ac_cv_have_decl__SC_CRAY_NCPU=yes
6303 echo "$as_me: failed program was:" >&5
6304 sed 's/^/| /' conftest.$ac_ext >&5
6306 ac_cv_have_decl__SC_CRAY_NCPU=no
6308 rm -f conftest.$ac_objext conftest.$ac_ext
6310 echo "$as_me:$LINENO: result: $ac_cv_have_decl__SC_CRAY_NCPU" >&5
6311 echo "${ECHO_T}$ac_cv_have_decl__SC_CRAY_NCPU" >&6
6313 echo "$as_me:$LINENO: checking whether _SC_CRAY_NCPU is declared" >&5
6314 echo $ECHO_N "checking whether _SC_CRAY_NCPU is declared... $ECHO_C" >&6
6315 if test "${ac_cv_have_decl__SC_CRAY_NCPU+set}" = set; then
6316 echo $ECHO_N "(cached) $ECHO_C" >&6
6318 cat >conftest.$ac_ext <<_ACEOF
6319 #line $LINENO "configure"
6322 cat confdefs.h >>conftest.$ac_ext
6323 cat >>conftest.$ac_ext <<_ACEOF
6324 /* end confdefs.h. */
6325 $ac_includes_default
6329 #ifndef _SC_CRAY_NCPU
6330 char *p = (char *) _SC_CRAY_NCPU;
6337 rm -f conftest.$ac_objext
6338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6339 (eval $ac_compile) 2>&5
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); } &&
6343 { ac_try='test -s conftest.$ac_objext'
6344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); }; }; then
6349 ac_cv_have_decl__SC_CRAY_NCPU=yes
6351 echo "$as_me: failed program was:" >&5
6352 sed 's/^/| /' conftest.$ac_ext >&5
6354 ac_cv_have_decl__SC_CRAY_NCPU=no
6356 rm -f conftest.$ac_objext conftest.$ac_ext
6358 echo "$as_me:$LINENO: result: $ac_cv_have_decl__SC_CRAY_NCPU" >&5
6359 echo "${ECHO_T}$ac_cv_have_decl__SC_CRAY_NCPU" >&6
6361 echo "$as_me:$LINENO: checking whether _SC_NPROC_CONF is declared" >&5
6362 echo $ECHO_N "checking whether _SC_NPROC_CONF is declared... $ECHO_C" >&6
6363 if test "${ac_cv_have_decl__SC_NPROC_CONF+set}" = set; then
6364 echo $ECHO_N "(cached) $ECHO_C" >&6
6366 cat >conftest.$ac_ext <<_ACEOF
6367 #line $LINENO "configure"
6370 cat confdefs.h >>conftest.$ac_ext
6371 cat >>conftest.$ac_ext <<_ACEOF
6372 /* end confdefs.h. */
6373 $ac_includes_default
6377 #ifndef _SC_NPROC_CONF
6378 char *p = (char *) _SC_NPROC_CONF;
6385 rm -f conftest.$ac_objext
6386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6387 (eval $ac_compile) 2>&5
6389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390 (exit $ac_status); } &&
6391 { ac_try='test -s conftest.$ac_objext'
6392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); }; }; then
6397 ac_cv_have_decl__SC_NPROC_CONF=yes
6399 echo "$as_me: failed program was:" >&5
6400 sed 's/^/| /' conftest.$ac_ext >&5
6402 ac_cv_have_decl__SC_NPROC_CONF=no
6404 rm -f conftest.$ac_objext conftest.$ac_ext
6406 echo "$as_me:$LINENO: result: $ac_cv_have_decl__SC_NPROC_CONF" >&5
6407 echo "${ECHO_T}$ac_cv_have_decl__SC_NPROC_CONF" >&6
6409 echo "$as_me:$LINENO: checking whether _SC_NPROC_ONLN is declared" >&5
6410 echo $ECHO_N "checking whether _SC_NPROC_ONLN is declared... $ECHO_C" >&6
6411 if test "${ac_cv_have_decl__SC_NPROC_ONLN+set}" = set; then
6412 echo $ECHO_N "(cached) $ECHO_C" >&6
6414 cat >conftest.$ac_ext <<_ACEOF
6415 #line $LINENO "configure"
6418 cat confdefs.h >>conftest.$ac_ext
6419 cat >>conftest.$ac_ext <<_ACEOF
6420 /* end confdefs.h. */
6421 $ac_includes_default
6425 #ifndef _SC_NPROC_ONLN
6426 char *p = (char *) _SC_NPROC_ONLN;
6433 rm -f conftest.$ac_objext
6434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6435 (eval $ac_compile) 2>&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); } &&
6439 { ac_try='test -s conftest.$ac_objext'
6440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); }; }; then
6445 ac_cv_have_decl__SC_NPROC_ONLN=yes
6447 echo "$as_me: failed program was:" >&5
6448 sed 's/^/| /' conftest.$ac_ext >&5
6450 ac_cv_have_decl__SC_NPROC_ONLN=no
6452 rm -f conftest.$ac_objext conftest.$ac_ext
6454 echo "$as_me:$LINENO: result: $ac_cv_have_decl__SC_NPROC_ONLN" >&5
6455 echo "${ECHO_T}$ac_cv_have_decl__SC_NPROC_ONLN" >&6
6458 # MPI and MPE Support
6459 #AC_ARG_WITH(mpi, AC_HELP_STRING([--with-mpi=[mpi_install_prefix]],[support MPI-based parallel computation (needs MPICH installed)]))
6460 #AC_ARG_WITH(mpe, AC_HELP_STRING([--with-mpe=[mpi_install_prefix]],[implies --with-mpi and additionally links in MPE logging support]))
6462 # if test "x$with_mpi" != "x" \
6463 # || test "x$with_mpe" != "x"; then
6465 # if test "x$with_threads" = "xyes"; then
6466 # AC_MSG_ERROR([it does not make sense to use --with-threads with --with-mpi or --with-mpe])
6468 # ACX_MPI( [AC_DEFINE([ENABLE_MPI],[1],[Enable the use of MPICH library]) ] ,[],[AC_MSG_ERROR([Could not determine how to link MPI program])])
6470 # if test "x$with_mpe" = "xyes" ; then
6471 # LIBS="$MPILIBS -lmpe $LIBS"
6473 # LIBS="$MPILIBS $LIBS"
6475 #AC_CHECK_PROG(mpirun,mpirun,yes,no,$PATH)
6476 #if test "x$mpirun" = "xyes"; then
6477 # AC_MSG_NOTICE([Don't forget, 'mpirun' MUST be used to call atlc. Don't run atlc directly!!])
6479 # AC_MSG_WARN([The program 'mpirun' needed to run atlc, can't be found])
6483 if test "x$GCC" = "xyes"; then
6484 if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then
6485 CFLAGS="$CFLAGS -Wall"
6488 compiled_with_compiler="$CC"
6490 compiled_with_cflags="$CFLAGS"
6492 ac_config_files="$ac_config_files Makefile src/Makefile src/non_gui/Makefile m4/Makefile man/Makefile man/man1/Makefile examples/Makefile tools/Makefile tools/src/Makefile tests/Makefile docs/html-docs/Makefile docs/html-docs/jpgs/Makefile docs/qex-december-1996/Makefile docs/theory/Makefile docs/Makefile"
6493 cat >confcache <<\_ACEOF
6494 # This file is a shell script that caches the results of configure
6495 # tests run on this system so they can be shared between configure
6496 # scripts and configure runs, see configure's option --config-cache.
6497 # It is not useful on other systems. If it contains results you don't
6498 # want to keep, you may remove or edit it.
6500 # config.status only pays attention to the cache file if you give it
6501 # the --recheck option to rerun configure.
6503 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6504 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6509 # The following way of writing the cache mishandles newlines in values,
6510 # but we know of no workaround that is simple, portable, and efficient.
6511 # So, don't put newlines in cache variables' values.
6512 # Ultrix sh set writes to stderr and can't be redirected directly,
6513 # and sets the high bit in the cache file unless we assign to the vars.
6516 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6518 # `set' does not quote correctly, so add quotes (double-quote
6519 # substitution turns \\\\ into \\, and sed turns \\ into \).
6522 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6525 # `set' quotes correctly as required by POSIX, so do not add quotes.
6527 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6534 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6536 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6538 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6539 if test -w $cache_file; then
6540 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6541 cat confcache >$cache_file
6543 echo "not updating unwritable cache $cache_file"
6548 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6549 # Let make expand exec_prefix.
6550 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6552 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6553 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6554 # trailing colons and then remove the whole line if VPATH becomes empty
6555 # (actually we leave an empty line to preserve line numbers).
6556 if test "x$srcdir" = x.; then
6557 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6558 s/:*\$(srcdir):*/:/;
6559 s/:*\${srcdir}:*/:/;
6561 s/^\([^=]*=[ ]*\):*/\1/;
6567 DEFS=-DHAVE_CONFIG_H
6571 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6572 # 1. Remove the extension, and $U if already installed.
6573 ac_i=`echo "$ac_i" |
6574 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6576 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6577 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6581 LTLIBOBJS=$ac_ltlibobjs
6584 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6585 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6586 Usually this means the macro was only invoked conditionally." >&5
6587 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6588 Usually this means the macro was only invoked conditionally." >&2;}
6589 { (exit 1); exit 1; }; }
6591 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6592 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6593 Usually this means the macro was only invoked conditionally." >&5
6594 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6595 Usually this means the macro was only invoked conditionally." >&2;}
6596 { (exit 1); exit 1; }; }
6599 : ${CONFIG_STATUS=./config.status}
6600 ac_clean_files_save=$ac_clean_files
6601 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6602 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6603 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6604 cat >$CONFIG_STATUS <<_ACEOF
6606 # Generated by $as_me.
6607 # Run this file to recreate the current configuration.
6608 # Compiler output produced by configure, useful for debugging
6609 # configure, is in config.log if it exists.
6614 SHELL=\${CONFIG_SHELL-$SHELL}
6617 cat >>$CONFIG_STATUS <<\_ACEOF
6618 ## --------------------- ##
6619 ## M4sh Initialization. ##
6620 ## --------------------- ##
6622 # Be Bourne compatible
6623 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6626 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6627 # is contrary to our usage. Disable this feature.
6628 alias -g '${1+"$@"}'='"$@"'
6629 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6633 # Support unset when possible.
6634 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6641 # Work around bugs in pre-3.0 UWIN ksh.
6642 $as_unset ENV MAIL MAILPATH
6649 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6650 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6651 LC_TELEPHONE LC_TIME
6653 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6654 eval $as_var=C; export $as_var
6660 # Required to use basename.
6661 if expr a : '\(a\)' >/dev/null 2>&1; then
6667 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6668 as_basename=basename
6674 # Name of the executable.
6675 as_me=`$as_basename "$0" ||
6676 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6677 X"$0" : 'X\(//\)$' \| \
6678 X"$0" : 'X\(/\)$' \| \
6679 . : '\(.\)' 2>/dev/null ||
6681 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6682 /^X\/\(\/\/\)$/{ s//\1/; q; }
6683 /^X\/\(\/\).*/{ s//\1/; q; }
6687 # PATH needs CR, and LINENO needs CR and PATH.
6688 # Avoid depending upon Character Ranges.
6689 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6690 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6691 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6692 as_cr_digits='0123456789'
6693 as_cr_alnum=$as_cr_Letters$as_cr_digits
6695 # The user is always right.
6696 if test "${PATH_SEPARATOR+set}" != set; then
6697 echo "#! /bin/sh" >conf$$.sh
6698 echo "exit 0" >>conf$$.sh
6700 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6711 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6712 test "x$as_lineno_1" != "x$as_lineno_2" &&
6713 test "x$as_lineno_3" = "x$as_lineno_2" || {
6714 # Find who we are. Look in the path if we contain no path at all
6717 *[\\/]* ) as_myself=$0 ;;
6718 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 test -z "$as_dir" && as_dir=.
6723 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6728 # We did not find ourselves, most probably we were run as `sh COMMAND'
6729 # in which case we are not to be found in the path.
6730 if test "x$as_myself" = x; then
6733 if test ! -f "$as_myself"; then
6734 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6735 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6736 { (exit 1); exit 1; }; }
6738 case $CONFIG_SHELL in
6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6741 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6744 test -z "$as_dir" && as_dir=.
6745 for as_base in sh bash ksh sh5; do
6748 if ("$as_dir/$as_base" -c '
6751 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6752 test "x$as_lineno_1" != "x$as_lineno_2" &&
6753 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6754 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6755 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6756 CONFIG_SHELL=$as_dir/$as_base
6758 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6766 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6767 # uniformly replaced by the line number. The first 'sed' inserts a
6768 # line-number line before each line; the second 'sed' does the real
6769 # work. The second script uses 'N' to pair each line-number line
6770 # with the numbered line, and appends trailing '-' during
6771 # substitution so that $LINENO is not a special case at line end.
6772 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6773 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6774 sed '=' <$as_myself |
6779 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6782 s,^['$as_cr_digits']*\n,,
6784 chmod +x $as_me.lineno ||
6785 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6786 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6787 { (exit 1); exit 1; }; }
6789 # Don't try to exec as it changes $[0], causing all sort of problems
6790 # (the dirname of $[0] is not the place where we might find the
6791 # original and so on. Autoconf is especially sensible to this).
6793 # Exit status is that of the last command.
6798 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6799 *c*,-n*) ECHO_N= ECHO_C='
6801 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6802 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6805 if expr a : '\(a\)' >/dev/null 2>&1; then
6811 rm -f conf$$ conf$$.exe conf$$.file
6813 if ln -s conf$$.file conf$$ 2>/dev/null; then
6814 # We could just check for DJGPP; but this test a) works b) is more generic
6815 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6816 if test -f conf$$.exe; then
6817 # Don't use ln at all; we don't have any links
6822 elif ln conf$$.file conf$$ 2>/dev/null; then
6827 rm -f conf$$ conf$$.exe conf$$.file
6829 if mkdir -p . 2>/dev/null; then
6835 as_executable_p="test -f"
6837 # Sed expression to map a string onto a valid CPP name.
6838 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6840 # Sed expression to map a string onto a valid variable name.
6841 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6845 # We need space, tab and new line, in precisely that order.
6855 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6856 # report actual input values of CONFIG_FILES etc. instead of their
6857 # values after options handling. Logging --version etc. is OK.
6861 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6862 ## Running $as_me. ##
6867 This file was extended by atlc $as_me 4.6.0, which was
6868 generated by GNU Autoconf 2.57. Invocation command line was
6870 CONFIG_FILES = $CONFIG_FILES
6871 CONFIG_HEADERS = $CONFIG_HEADERS
6872 CONFIG_LINKS = $CONFIG_LINKS
6873 CONFIG_COMMANDS = $CONFIG_COMMANDS
6877 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6881 # Files that config.status was made for.
6882 if test -n "$ac_config_files"; then
6883 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6886 if test -n "$ac_config_headers"; then
6887 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6890 if test -n "$ac_config_links"; then
6891 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6894 if test -n "$ac_config_commands"; then
6895 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6898 cat >>$CONFIG_STATUS <<\_ACEOF
6901 \`$as_me' instantiates files from templates according to the
6902 current configuration.
6904 Usage: $0 [OPTIONS] [FILE]...
6906 -h, --help print this help, then exit
6907 -V, --version print version number, then exit
6908 -q, --quiet do not print progress messages
6909 -d, --debug don't remove temporary files
6910 --recheck update $as_me by reconfiguring in the same conditions
6911 --file=FILE[:TEMPLATE]
6912 instantiate the configuration file FILE
6913 --header=FILE[:TEMPLATE]
6914 instantiate the configuration header FILE
6916 Configuration files:
6919 Configuration headers:
6922 Configuration commands:
6925 Report bugs to <bug-autoconf@gnu.org>."
6928 cat >>$CONFIG_STATUS <<_ACEOF
6930 atlc config.status 4.6.0
6931 configured by $0, generated by GNU Autoconf 2.57,
6932 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6934 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6935 Free Software Foundation, Inc.
6936 This config.status script is free software; the Free Software Foundation
6937 gives unlimited permission to copy, distribute and modify it."
6942 cat >>$CONFIG_STATUS <<\_ACEOF
6943 # If no file are specified by the user, then we need to provide default
6944 # value. By we need to know if files were specified by the user.
6950 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6951 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6959 *) # This is not an option, so the user has probably given explicit
6962 ac_need_defaults=false;;
6966 # Handling of the options.
6968 cat >>$CONFIG_STATUS <<\_ACEOF
6969 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6971 --version | --vers* | -V )
6972 echo "$ac_cs_version"; exit 0 ;;
6974 # Conflict between --help and --header
6975 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6976 Try \`$0 --help' for more information." >&5
6977 echo "$as_me: error: ambiguous option: $1
6978 Try \`$0 --help' for more information." >&2;}
6979 { (exit 1); exit 1; }; };;
6980 --help | --hel | -h )
6981 echo "$ac_cs_usage"; exit 0 ;;
6982 --debug | --d* | -d )
6984 --file | --fil | --fi | --f )
6986 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6987 ac_need_defaults=false;;
6988 --header | --heade | --head | --hea )
6990 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6991 ac_need_defaults=false;;
6992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6993 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6997 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6998 Try \`$0 --help' for more information." >&5
6999 echo "$as_me: error: unrecognized option: $1
7000 Try \`$0 --help' for more information." >&2;}
7001 { (exit 1); exit 1; }; } ;;
7003 *) ac_config_targets="$ac_config_targets $1" ;;
7009 ac_configure_extra_args=
7011 if $ac_cs_silent; then
7013 ac_configure_extra_args="$ac_configure_extra_args --silent"
7017 cat >>$CONFIG_STATUS <<_ACEOF
7018 if \$ac_cs_recheck; then
7019 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7020 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7025 cat >>$CONFIG_STATUS <<_ACEOF
7027 # INIT-COMMANDS section.
7030 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7036 cat >>$CONFIG_STATUS <<\_ACEOF
7037 for ac_config_target in $ac_config_targets
7039 case "$ac_config_target" in
7040 # Handling of arguments.
7041 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7042 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7043 "src/non_gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/non_gui/Makefile" ;;
7044 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
7045 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
7046 "man/man1/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/man1/Makefile" ;;
7047 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
7048 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
7049 "tools/src/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/src/Makefile" ;;
7050 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
7051 "docs/html-docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/html-docs/Makefile" ;;
7052 "docs/html-docs/jpgs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/html-docs/jpgs/Makefile" ;;
7053 "docs/qex-december-1996/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/qex-december-1996/Makefile" ;;
7054 "docs/theory/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/theory/Makefile" ;;
7055 "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
7056 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7057 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7058 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7059 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7060 { (exit 1); exit 1; }; };;
7064 # If the user did not use the arguments to specify the items to instantiate,
7065 # then the envvar interface is used. Set only those that are not.
7066 # We use the long form for the default assignment because of an extremely
7067 # bizarre bug on SunOS 4.1.3.
7068 if $ac_need_defaults; then
7069 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7070 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7071 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7074 # Have a temporary directory for convenience. Make it in the build tree
7075 # simply because there is no reason to put it here, and in addition,
7076 # creating and moving files from /tmp can sometimes cause problems.
7077 # Create a temporary directory, and hook for its removal unless debugging.
7080 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7081 trap '{ (exit 1); exit 1; }' 1 2 13 15
7084 # Create a (secure) tmp directory for tmp files.
7087 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7088 test -n "$tmp" && test -d "$tmp"
7091 tmp=./confstat$$-$RANDOM
7092 (umask 077 && mkdir $tmp)
7095 echo "$me: cannot create a temporary directory in ." >&2
7096 { (exit 1); exit 1; }
7101 cat >>$CONFIG_STATUS <<_ACEOF
7104 # CONFIG_FILES section.
7107 # No need to generate the scripts if there are no CONFIG_FILES.
7108 # This happens for instance when ./config.status config.h
7109 if test -n "\$CONFIG_FILES"; then
7110 # Protect against being on the right side of a sed subst in config.status.
7111 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7112 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7113 s,@SHELL@,$SHELL,;t t
7114 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7115 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7116 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7117 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7118 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7119 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7120 s,@exec_prefix@,$exec_prefix,;t t
7121 s,@prefix@,$prefix,;t t
7122 s,@program_transform_name@,$program_transform_name,;t t
7123 s,@bindir@,$bindir,;t t
7124 s,@sbindir@,$sbindir,;t t
7125 s,@libexecdir@,$libexecdir,;t t
7126 s,@datadir@,$datadir,;t t
7127 s,@sysconfdir@,$sysconfdir,;t t
7128 s,@sharedstatedir@,$sharedstatedir,;t t
7129 s,@localstatedir@,$localstatedir,;t t
7130 s,@libdir@,$libdir,;t t
7131 s,@includedir@,$includedir,;t t
7132 s,@oldincludedir@,$oldincludedir,;t t
7133 s,@infodir@,$infodir,;t t
7134 s,@mandir@,$mandir,;t t
7135 s,@build_alias@,$build_alias,;t t
7136 s,@host_alias@,$host_alias,;t t
7137 s,@target_alias@,$target_alias,;t t
7139 s,@ECHO_C@,$ECHO_C,;t t
7140 s,@ECHO_N@,$ECHO_N,;t t
7141 s,@ECHO_T@,$ECHO_T,;t t
7143 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7144 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7145 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7146 s,@CYGPATH_W@,$CYGPATH_W,;t t
7147 s,@PACKAGE@,$PACKAGE,;t t
7148 s,@VERSION@,$VERSION,;t t
7149 s,@ACLOCAL@,$ACLOCAL,;t t
7150 s,@AUTOCONF@,$AUTOCONF,;t t
7151 s,@AUTOMAKE@,$AUTOMAKE,;t t
7152 s,@AUTOHEADER@,$AUTOHEADER,;t t
7153 s,@MAKEINFO@,$MAKEINFO,;t t
7154 s,@AMTAR@,$AMTAR,;t t
7155 s,@install_sh@,$install_sh,;t t
7156 s,@STRIP@,$STRIP,;t t
7157 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7158 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7160 s,@SET_MAKE@,$SET_MAKE,;t t
7162 s,@CFLAGS@,$CFLAGS,;t t
7163 s,@LDFLAGS@,$LDFLAGS,;t t
7164 s,@CPPFLAGS@,$CPPFLAGS,;t t
7165 s,@ac_ct_CC@,$ac_ct_CC,;t t
7166 s,@EXEEXT@,$EXEEXT,;t t
7167 s,@OBJEXT@,$OBJEXT,;t t
7168 s,@DEPDIR@,$DEPDIR,;t t
7169 s,@am__include@,$am__include,;t t
7170 s,@am__quote@,$am__quote,;t t
7171 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7172 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7173 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7174 s,@CCDEPMODE@,$CCDEPMODE,;t t
7175 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7176 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7178 s,@EGREP@,$EGREP,;t t
7179 s,@POW_LIB@,$POW_LIB,;t t
7180 s,@LIBOBJS@,$LIBOBJS,;t t
7181 s,@build@,$build,;t t
7182 s,@build_cpu@,$build_cpu,;t t
7183 s,@build_vendor@,$build_vendor,;t t
7184 s,@build_os@,$build_os,;t t
7186 s,@host_cpu@,$host_cpu,;t t
7187 s,@host_vendor@,$host_vendor,;t t
7188 s,@host_os@,$host_os,;t t
7189 s,@PTHREAD_CC@,$PTHREAD_CC,;t t
7190 s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
7191 s,@PTHREAD_CFLAGS@,$PTHREAD_CFLAGS,;t t
7192 s,@built_with_posix_threads@,$built_with_posix_threads,;t t
7193 s,@compiled_with_compiler@,$compiled_with_compiler,;t t
7194 s,@compiled_with_cflags@,$compiled_with_cflags,;t t
7195 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7200 cat >>$CONFIG_STATUS <<\_ACEOF
7201 # Split the substitutions into bite-sized pieces for seds with
7202 # small command number limits, like on Digital OSF/1 and HP-UX.
7204 ac_sed_frag=1 # Number of current file.
7205 ac_beg=1 # First line for current file.
7206 ac_end=$ac_max_sed_lines # Line after last line for current file.
7209 while $ac_more_lines; do
7210 if test $ac_beg -gt 1; then
7211 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7213 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7215 if test ! -s $tmp/subs.frag; then
7218 # The purpose of the label and of the branching condition is to
7219 # speed up the sed processing (if there are no `@' at all, there
7220 # is no need to browse any of the substitutions).
7221 # These are the two extra sed commands mentioned above.
7223 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7224 if test -z "$ac_sed_cmds"; then
7225 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7227 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7229 ac_sed_frag=`expr $ac_sed_frag + 1`
7231 ac_end=`expr $ac_end + $ac_max_sed_lines`
7234 if test -z "$ac_sed_cmds"; then
7237 fi # test -n "$CONFIG_FILES"
7240 cat >>$CONFIG_STATUS <<\_ACEOF
7241 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7242 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7244 - | *:- | *:-:* ) # input from stdin
7246 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7247 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7248 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7249 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7250 * ) ac_file_in=$ac_file.in ;;
7253 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7254 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7255 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7256 X"$ac_file" : 'X\(//\)[^/]' \| \
7257 X"$ac_file" : 'X\(//\)$' \| \
7258 X"$ac_file" : 'X\(/\)' \| \
7259 . : '\(.\)' 2>/dev/null ||
7261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7262 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7263 /^X\(\/\/\)$/{ s//\1/; q; }
7264 /^X\(\/\).*/{ s//\1/; q; }
7266 { if $as_mkdir_p; then
7271 while test ! -d "$as_dir"; do
7272 as_dirs="$as_dir $as_dirs"
7273 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7274 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7275 X"$as_dir" : 'X\(//\)[^/]' \| \
7276 X"$as_dir" : 'X\(//\)$' \| \
7277 X"$as_dir" : 'X\(/\)' \| \
7278 . : '\(.\)' 2>/dev/null ||
7280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7281 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7282 /^X\(\/\/\)$/{ s//\1/; q; }
7283 /^X\(\/\).*/{ s//\1/; q; }
7286 test ! -n "$as_dirs" || mkdir $as_dirs
7287 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7288 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7289 { (exit 1); exit 1; }; }; }
7293 if test "$ac_dir" != .; then
7294 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7295 # A "../" for each directory in $ac_dir_suffix.
7296 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7298 ac_dir_suffix= ac_top_builddir=
7302 .) # No --srcdir option. We are building in place.
7304 if test -z "$ac_top_builddir"; then
7307 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7309 [\\/]* | ?:[\\/]* ) # Absolute path.
7310 ac_srcdir=$srcdir$ac_dir_suffix;
7311 ac_top_srcdir=$srcdir ;;
7313 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7314 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7316 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7318 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
7319 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7320 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7321 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7325 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7326 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7329 if test x"$ac_file" != x-; then
7330 { echo "$as_me:$LINENO: creating $ac_file" >&5
7331 echo "$as_me: creating $ac_file" >&6;}
7334 # Let's still pretend it is `configure' which instantiates (i.e., don't
7335 # use $as_me), people would be surprised to read:
7336 # /* config.h. Generated by config.status. */
7337 if test x"$ac_file" = x-; then
7340 configure_input="$ac_file. "
7342 configure_input=$configure_input"Generated from `echo $ac_file_in |
7343 sed 's,.*/,,'` by configure."
7345 # First look for the input files in the build tree, otherwise in the
7347 ac_file_inputs=`IFS=:
7348 for f in $ac_file_in; do
7350 -) echo $tmp/stdin ;;
7352 # Absolute (can't be DOS-style, as IFS=:)
7353 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7354 echo "$as_me: error: cannot find input file: $f" >&2;}
7355 { (exit 1); exit 1; }; }
7358 if test -f "$f"; then
7361 elif test -f "$srcdir/$f"; then
7366 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7367 echo "$as_me: error: cannot find input file: $f" >&2;}
7368 { (exit 1); exit 1; }; }
7371 done` || { (exit 1); exit 1; }
7373 cat >>$CONFIG_STATUS <<_ACEOF
7377 cat >>$CONFIG_STATUS <<\_ACEOF
7379 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7380 s,@configure_input@,$configure_input,;t t
7381 s,@srcdir@,$ac_srcdir,;t t
7382 s,@abs_srcdir@,$ac_abs_srcdir,;t t
7383 s,@top_srcdir@,$ac_top_srcdir,;t t
7384 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7385 s,@builddir@,$ac_builddir,;t t
7386 s,@abs_builddir@,$ac_abs_builddir,;t t
7387 s,@top_builddir@,$ac_top_builddir,;t t
7388 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7389 s,@INSTALL@,$ac_INSTALL,;t t
7390 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7392 if test x"$ac_file" != x-; then
7393 mv $tmp/out $ac_file
7401 cat >>$CONFIG_STATUS <<\_ACEOF
7404 # CONFIG_HEADER section.
7407 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7408 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7410 # ac_d sets the value in "#define NAME VALUE" lines.
7411 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7412 ac_dB='[ ].*$,\1#\2'
7415 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7416 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7417 ac_uB='$,\1#\2define\3'
7421 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7422 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7424 - | *:- | *:-:* ) # input from stdin
7426 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7427 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7428 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7429 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7430 * ) ac_file_in=$ac_file.in ;;
7433 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7434 echo "$as_me: creating $ac_file" >&6;}
7436 # First look for the input files in the build tree, otherwise in the
7438 ac_file_inputs=`IFS=:
7439 for f in $ac_file_in; do
7441 -) echo $tmp/stdin ;;
7443 # Absolute (can't be DOS-style, as IFS=:)
7444 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7445 echo "$as_me: error: cannot find input file: $f" >&2;}
7446 { (exit 1); exit 1; }; }
7449 if test -f "$f"; then
7452 elif test -f "$srcdir/$f"; then
7457 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7458 echo "$as_me: error: cannot find input file: $f" >&2;}
7459 { (exit 1); exit 1; }; }
7462 done` || { (exit 1); exit 1; }
7463 # Remove the trailing spaces.
7464 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7468 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7469 # `conftest.undefs', that substitutes the proper values into
7470 # config.h.in to produce config.h. The first handles `#define'
7471 # templates, and the second `#undef' templates.
7472 # And first: Protect against being on the right side of a sed subst in
7473 # config.status. Protect against being in an unquoted here document
7475 rm -f conftest.defines conftest.undefs
7476 # Using a here document instead of a string reduces the quoting nightmare.
7477 # Putting comments in sed scripts is not portable.
7479 # `end' is used to avoid that the second main sed command (meant for
7480 # 0-ary CPP macros) applies to n-ary macro definitions.
7481 # See the Autoconf documentation for `clear'.
7482 cat >confdef2sed.sed <<\_ACEOF
7487 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7489 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7492 # If some macros were called several times there might be several times
7493 # the same #defines, which is useless. Nevertheless, we may not want to
7494 # sort them, since we want the *last* AC-DEFINE to be honored.
7495 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7496 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7497 rm -f confdef2sed.sed
7499 # This sed command replaces #undef with comments. This is necessary, for
7500 # example, in the case of _POSIX_SOURCE, which is predefined and required
7501 # on some systems where configure will not decide to define it.
7502 cat >>conftest.undefs <<\_ACEOF
7503 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7506 # Break up conftest.defines because some shells have a limit on the size
7507 # of here documents, and old seds have small limits too (100 cmds).
7508 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7509 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7510 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7511 echo ' :' >>$CONFIG_STATUS
7513 while grep . conftest.defines >/dev/null
7515 # Write a limited-size here document to $tmp/defines.sed.
7516 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7517 # Speed up: don't consider the non `#define' lines.
7518 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7519 # Work around the forget-to-reset-the-flag bug.
7520 echo 't clr' >>$CONFIG_STATUS
7521 echo ': clr' >>$CONFIG_STATUS
7522 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7524 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7528 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7529 rm -f conftest.defines
7530 mv conftest.tail conftest.defines
7532 rm -f conftest.defines
7533 echo ' fi # grep' >>$CONFIG_STATUS
7534 echo >>$CONFIG_STATUS
7536 # Break up conftest.undefs because some shells have a limit on the size
7537 # of here documents, and old seds have small limits too (100 cmds).
7538 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7540 while grep . conftest.undefs >/dev/null
7542 # Write a limited-size here document to $tmp/undefs.sed.
7543 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7544 # Speed up: don't consider the non `#undef'
7545 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7546 # Work around the forget-to-reset-the-flag bug.
7547 echo 't clr' >>$CONFIG_STATUS
7548 echo ': clr' >>$CONFIG_STATUS
7549 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7551 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7555 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7556 rm -f conftest.undefs
7557 mv conftest.tail conftest.undefs
7559 rm -f conftest.undefs
7561 cat >>$CONFIG_STATUS <<\_ACEOF
7562 # Let's still pretend it is `configure' which instantiates (i.e., don't
7563 # use $as_me), people would be surprised to read:
7564 # /* config.h. Generated by config.status. */
7565 if test x"$ac_file" = x-; then
7566 echo "/* Generated by configure. */" >$tmp/config.h
7568 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7570 cat $tmp/in >>$tmp/config.h
7572 if test x"$ac_file" != x-; then
7573 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7574 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7575 echo "$as_me: $ac_file is unchanged" >&6;}
7577 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7578 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7579 X"$ac_file" : 'X\(//\)[^/]' \| \
7580 X"$ac_file" : 'X\(//\)$' \| \
7581 X"$ac_file" : 'X\(/\)' \| \
7582 . : '\(.\)' 2>/dev/null ||
7584 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7585 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7586 /^X\(\/\/\)$/{ s//\1/; q; }
7587 /^X\(\/\).*/{ s//\1/; q; }
7589 { if $as_mkdir_p; then
7594 while test ! -d "$as_dir"; do
7595 as_dirs="$as_dir $as_dirs"
7596 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7597 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7598 X"$as_dir" : 'X\(//\)[^/]' \| \
7599 X"$as_dir" : 'X\(//\)$' \| \
7600 X"$as_dir" : 'X\(/\)' \| \
7601 . : '\(.\)' 2>/dev/null ||
7603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7604 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7605 /^X\(\/\/\)$/{ s//\1/; q; }
7606 /^X\(\/\).*/{ s//\1/; q; }
7609 test ! -n "$as_dirs" || mkdir $as_dirs
7610 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7611 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7612 { (exit 1); exit 1; }; }; }
7615 mv $tmp/config.h $ac_file
7621 _am_stamp_count=`expr ${_am_stamp_count-0} + 1`
7622 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7623 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7624 X$ac_file : 'X\(//\)[^/]' \| \
7625 X$ac_file : 'X\(//\)$' \| \
7626 X$ac_file : 'X\(/\)' \| \
7627 . : '\(.\)' 2>/dev/null ||
7629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7630 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7631 /^X\(\/\/\)$/{ s//\1/; q; }
7632 /^X\(\/\).*/{ s//\1/; q; }
7633 s/.*/./; q'`/stamp-h$_am_stamp_count
7636 cat >>$CONFIG_STATUS <<\_ACEOF
7639 # CONFIG_COMMANDS section.
7641 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7642 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7643 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7644 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7645 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7646 X"$ac_dest" : 'X\(//\)[^/]' \| \
7647 X"$ac_dest" : 'X\(//\)$' \| \
7648 X"$ac_dest" : 'X\(/\)' \| \
7649 . : '\(.\)' 2>/dev/null ||
7651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7652 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7653 /^X\(\/\/\)$/{ s//\1/; q; }
7654 /^X\(\/\).*/{ s//\1/; q; }
7658 if test "$ac_dir" != .; then
7659 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7660 # A "../" for each directory in $ac_dir_suffix.
7661 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7663 ac_dir_suffix= ac_top_builddir=
7667 .) # No --srcdir option. We are building in place.
7669 if test -z "$ac_top_builddir"; then
7672 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7674 [\\/]* | ?:[\\/]* ) # Absolute path.
7675 ac_srcdir=$srcdir$ac_dir_suffix;
7676 ac_top_srcdir=$srcdir ;;
7678 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7679 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7681 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7683 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
7684 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7685 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7686 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7689 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7690 echo "$as_me: executing $ac_dest commands" >&6;}
7692 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7693 # Strip MF so we end up with the name of the file.
7694 mf=`echo "$mf" | sed -e 's/:.*$//'`
7695 # Check whether this is an Automake generated Makefile or not.
7696 # We used to match only the files named `Makefile.in', but
7697 # some people rename them; so instead we look at the file content.
7698 # Grep'ing the first line is not enough: some people post-process
7699 # each Makefile.in and add a new line on top of each file to say so.
7700 # So let's grep whole file.
7701 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7702 dirpart=`(dirname "$mf") 2>/dev/null ||
7703 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7704 X"$mf" : 'X\(//\)[^/]' \| \
7705 X"$mf" : 'X\(//\)$' \| \
7706 X"$mf" : 'X\(/\)' \| \
7707 . : '\(.\)' 2>/dev/null ||
7709 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7710 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7711 /^X\(\/\/\)$/{ s//\1/; q; }
7712 /^X\(\/\).*/{ s//\1/; q; }
7717 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7718 # Extract the definition of DEP_FILES from the Makefile without
7720 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
7721 test -z "$DEPDIR" && continue
7722 # When using ansi2knr, U may be empty or an underscore; expand it
7723 U=`sed -n -e '/^U = / s///p' < "$mf"`
7724 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7725 # We invoke sed twice because it is the simplest approach to
7726 # changing $(DEPDIR) to its actual value in the expansion.
7727 for file in `sed -n -e '
7728 /^DEP_FILES = .*\\\\$/ {
7737 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7738 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7739 # Make sure the directory exists.
7740 test -f "$dirpart/$file" && continue
7741 fdir=`(dirname "$file") 2>/dev/null ||
7742 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7743 X"$file" : 'X\(//\)[^/]' \| \
7744 X"$file" : 'X\(//\)$' \| \
7745 X"$file" : 'X\(/\)' \| \
7746 . : '\(.\)' 2>/dev/null ||
7748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7749 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7750 /^X\(\/\/\)$/{ s//\1/; q; }
7751 /^X\(\/\).*/{ s//\1/; q; }
7753 { if $as_mkdir_p; then
7754 mkdir -p $dirpart/$fdir
7756 as_dir=$dirpart/$fdir
7758 while test ! -d "$as_dir"; do
7759 as_dirs="$as_dir $as_dirs"
7760 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7761 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7762 X"$as_dir" : 'X\(//\)[^/]' \| \
7763 X"$as_dir" : 'X\(//\)$' \| \
7764 X"$as_dir" : 'X\(/\)' \| \
7765 . : '\(.\)' 2>/dev/null ||
7767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7768 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7769 /^X\(\/\/\)$/{ s//\1/; q; }
7770 /^X\(\/\).*/{ s//\1/; q; }
7773 test ! -n "$as_dirs" || mkdir $as_dirs
7774 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7775 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7776 { (exit 1); exit 1; }; }; }
7778 # echo "creating $dirpart/$file"
7779 echo '# dummy' > "$dirpart/$file"
7787 cat >>$CONFIG_STATUS <<\_ACEOF
7789 { (exit 0); exit 0; }
7791 chmod +x $CONFIG_STATUS
7792 ac_clean_files=$ac_clean_files_save
7795 # configure is writing to config.log, and then calls config.status.
7796 # config.status does its own redirection, appending to config.log.
7797 # Unfortunately, on DOS this fails, as config.log is still kept open
7798 # by configure, so config.status won't be able to write to it; its
7799 # output is simply discarded. So we exec the FD to /dev/null,
7800 # effectively closing config.log, so it can be properly (re)opened and
7801 # appended to by config.status. When coming back to configure, we
7802 # need to make the FD available again.
7803 if test "$no_create" != yes; then
7805 ac_config_status_args=
7806 test "$silent" = yes &&
7807 ac_config_status_args="$ac_config_status_args --quiet"
7809 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7811 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7812 # would make configure fail if this is the last instruction.
7813 $ac_cs_success || { (exit 1); exit 1; }