Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / dmake / configure
blob11d328de0e77fa492602ee8882d03ab355d580d1
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for dmake 4.12.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22 else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25 esac
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 as_nl='
42 export as_nl
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83 as_unset=unset
84 else
85 as_unset=false
89 # IFS
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
94 IFS=" "" $as_nl"
96 # Find who we are. Look in the path if we contain no directory separator.
97 case $0 in
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 for as_dir in $PATH
102 IFS=$as_save_IFS
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 done
106 IFS=$as_save_IFS
109 esac
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
113 as_myself=$0
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
137 as_expr=expr
138 else
139 as_expr=false
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143 as_basename=basename
144 else
145 as_basename=false
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154 $as_echo X/"$0" |
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 s//\1/
159 /^X\/\(\/\/\)$/{
160 s//\1/
163 /^X\/\(\/\).*/{
164 s//\1/
167 s/.*/./; q'`
169 # CDPATH.
170 $as_unset CDPATH
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
175 as_have_required=yes
176 else
177 as_have_required=no
180 if test $as_have_required = yes && (eval ":
181 (as_func_return () {
182 (exit \$1)
184 as_func_success () {
185 as_func_return 0
187 as_func_failure () {
188 as_func_return 1
190 as_func_ret_success () {
191 return 0
193 as_func_ret_failure () {
194 return 1
197 exitcode=0
198 if as_func_success; then
200 else
201 exitcode=1
202 echo as_func_success failed.
205 if as_func_failure; then
206 exitcode=1
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
212 else
213 exitcode=1
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
218 exitcode=1
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
224 else
225 exitcode=1
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
232 as_lineno_1=\$LINENO
233 as_lineno_2=\$LINENO
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
238 else
239 as_candidate_shells=
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
243 IFS=$as_save_IFS
244 test -z "$as_dir" && as_dir=.
245 case $as_dir in
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249 done;;
250 esac
251 done
252 IFS=$as_save_IFS
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 emulate sh
261 NULLCMD=:
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266 else
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
269 esac
275 _ASEOF
276 }; then
277 CONFIG_SHELL=$as_shell
278 as_have_required=yes
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281 emulate sh
282 NULLCMD=:
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
286 setopt NO_GLOB_SUBST
287 else
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
290 esac
296 (as_func_return () {
297 (exit $1)
299 as_func_success () {
300 as_func_return 0
302 as_func_failure () {
303 as_func_return 1
305 as_func_ret_success () {
306 return 0
308 as_func_ret_failure () {
309 return 1
312 exitcode=0
313 if as_func_success; then
315 else
316 exitcode=1
317 echo as_func_success failed.
320 if as_func_failure; then
321 exitcode=1
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
327 else
328 exitcode=1
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
333 exitcode=1
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
339 else
340 exitcode=1
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
347 as_lineno_1=$LINENO
348 as_lineno_2=$LINENO
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
352 _ASEOF
353 }; then
354 break
359 done
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364 done
365 export CONFIG_SHELL
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
386 (exit \$1)
388 as_func_success () {
389 as_func_return 0
391 as_func_failure () {
392 as_func_return 1
394 as_func_ret_success () {
395 return 0
397 as_func_ret_failure () {
398 return 1
401 exitcode=0
402 if as_func_success; then
404 else
405 exitcode=1
406 echo as_func_success failed.
409 if as_func_failure; then
410 exitcode=1
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
416 else
417 exitcode=1
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
422 exitcode=1
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
428 else
429 exitcode=1
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
443 as_lineno_1=$LINENO
444 as_lineno_2=$LINENO
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
454 # case at line end.
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
458 sed -n '
460 /[$]LINENO/=
461 ' <$as_myself |
462 sed '
463 s/[$]LINENO.*/&-/
464 t lineno
466 :lineno
468 :loop
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470 t loop
471 s/-\n.*//
472 ' >$as_me.lineno &&
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
480 . "./$as_me.lineno"
481 # Exit status is that of the last command.
482 exit
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487 as_dirname=dirname
488 else
489 as_dirname=false
492 ECHO_C= ECHO_N= ECHO_T=
493 case `echo -n x` in
494 -n*)
495 case `echo 'x\c'` in
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
497 *) ECHO_C='\c';;
498 esac;;
500 ECHO_N='-n';;
501 esac
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
504 as_expr=expr
505 else
506 as_expr=false
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
512 else
513 rm -f conf$$.dir
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
518 as_ln_s='ln -s'
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524 as_ln_s='cp -p'
525 elif ln conf$$.file conf$$ 2>/dev/null; then
526 as_ln_s=ln
527 else
528 as_ln_s='cp -p'
530 else
531 as_ln_s='cp -p'
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
537 as_mkdir_p=:
538 else
539 test -d ./-p && rmdir ./-p
540 as_mkdir_p=false
543 if test -x / >/dev/null 2>&1; then
544 as_test_x='test -x'
545 else
546 if ls -dL / >/dev/null 2>&1; then
547 as_ls_L_option=L
548 else
549 as_ls_L_option=
551 as_test_x='
552 eval sh -c '\''
553 if test -d "$1"; then
554 test -d "$1/.";
555 else
556 case $1 in
557 -*)set "./$1";;
558 esac;
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
561 '\'' sh
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev/null 6>&1
576 # Name of the host.
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 # Initializations.
584 ac_default_prefix=/usr/local
585 ac_clean_files=
586 ac_config_libobj_dir=.
587 LIBOBJS=
588 cross_compiling=no
589 subdirs=
590 MFLAGS=
591 MAKEFLAGS=
592 SHELL=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
595 PACKAGE_NAME='dmake'
596 PACKAGE_TARNAME='dmake'
597 PACKAGE_VERSION='4.12'
598 PACKAGE_STRING='dmake 4.12'
599 PACKAGE_BUGREPORT=''
601 ac_unique_file="man/dmake.tf"
602 # Factoring default headers for most tests.
603 ac_includes_default="\
604 #include <stdio.h>
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
607 #endif
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
610 #endif
611 #ifdef STDC_HEADERS
612 # include <stdlib.h>
613 # include <stddef.h>
614 #else
615 # ifdef HAVE_STDLIB_H
616 # include <stdlib.h>
617 # endif
618 #endif
619 #ifdef HAVE_STRING_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 # include <memory.h>
622 # endif
623 # include <string.h>
624 #endif
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
627 #endif
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
630 #endif
631 #ifdef HAVE_STDINT_H
632 # include <stdint.h>
633 #endif
634 #ifdef HAVE_UNISTD_H
635 # include <unistd.h>
636 #endif"
638 ac_header_list=
639 ac_subst_vars='LTLIBOBJS
640 LIBOBJS
641 EGREP
642 GREP
643 DMAKEROOT_H_LINE1
644 DBUG_FALSE
645 DBUG_TRUE
646 OS_VERSION
647 OS_TYPE
648 OSTYPEWIN32_FALSE
649 OSTYPEWIN32_TRUE
650 OSTYPEUNIX_FALSE
651 OSTYPEUNIX_TRUE
652 RANLIB
653 LN_S
655 am__fastdepCC_FALSE
656 am__fastdepCC_TRUE
657 CCDEPMODE
658 AMDEPBACKSLASH
659 AMDEP_FALSE
660 AMDEP_TRUE
661 am__quote
662 am__include
663 DEPDIR
664 OBJEXT
665 EXEEXT
666 ac_ct_CC
667 CPPFLAGS
668 LDFLAGS
669 CFLAGS
671 MAINT
672 MAINTAINER_MODE_FALSE
673 MAINTAINER_MODE_TRUE
674 am__untar
675 am__tar
676 AMTAR
677 am__leading_dot
678 SET_MAKE
680 mkdir_p
681 INSTALL_STRIP_PROGRAM
682 STRIP
683 install_sh
684 MAKEINFO
685 AUTOHEADER
686 AUTOMAKE
687 AUTOCONF
688 ACLOCAL
689 VERSION
690 PACKAGE
691 CYGPATH_W
692 INSTALL_DATA
693 INSTALL_SCRIPT
694 INSTALL_PROGRAM
695 build_os
696 build_vendor
697 build_cpu
698 build
699 target_alias
700 host_alias
701 build_alias
702 LIBS
703 ECHO_T
704 ECHO_N
705 ECHO_C
706 DEFS
707 mandir
708 localedir
709 libdir
710 psdir
711 pdfdir
712 dvidir
713 htmldir
714 infodir
715 docdir
716 oldincludedir
717 includedir
718 localstatedir
719 sharedstatedir
720 sysconfdir
721 datadir
722 datarootdir
723 libexecdir
724 sbindir
725 bindir
726 program_transform_name
727 prefix
728 exec_prefix
729 PACKAGE_BUGREPORT
730 PACKAGE_STRING
731 PACKAGE_VERSION
732 PACKAGE_TARNAME
733 PACKAGE_NAME
734 PATH_SEPARATOR
735 SHELL'
736 ac_subst_files=''
737 ac_user_opts='
738 enable_option_checking
739 enable_maintainer_mode
740 enable_dependency_tracking
741 enable_dbug
742 enable_spawn
744 ac_precious_vars='build_alias
745 host_alias
746 target_alias
748 CFLAGS
749 LDFLAGS
750 LIBS
751 CPPFLAGS
752 CPP'
755 # Initialize some variables set by options.
756 ac_init_help=
757 ac_init_version=false
758 ac_unrecognized_opts=
759 ac_unrecognized_sep=
760 # The variables have the same names as the options, with
761 # dashes changed to underlines.
762 cache_file=/dev/null
763 exec_prefix=NONE
764 no_create=
765 no_recursion=
766 prefix=NONE
767 program_prefix=NONE
768 program_suffix=NONE
769 program_transform_name=s,x,x,
770 silent=
771 site=
772 srcdir=
773 verbose=
774 x_includes=NONE
775 x_libraries=NONE
777 # Installation directory options.
778 # These are left unexpanded so users can "make install exec_prefix=/foo"
779 # and all the variables that are supposed to be based on exec_prefix
780 # by default will actually change.
781 # Use braces instead of parens because sh, perl, etc. also accept them.
782 # (The list follows the same order as the GNU Coding Standards.)
783 bindir='${exec_prefix}/bin'
784 sbindir='${exec_prefix}/sbin'
785 libexecdir='${exec_prefix}/libexec'
786 datarootdir='${prefix}/share'
787 datadir='${datarootdir}'
788 sysconfdir='${prefix}/etc'
789 sharedstatedir='${prefix}/com'
790 localstatedir='${prefix}/var'
791 includedir='${prefix}/include'
792 oldincludedir='/usr/include'
793 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
794 infodir='${datarootdir}/info'
795 htmldir='${docdir}'
796 dvidir='${docdir}'
797 pdfdir='${docdir}'
798 psdir='${docdir}'
799 libdir='${exec_prefix}/lib'
800 localedir='${datarootdir}/locale'
801 mandir='${datarootdir}/man'
803 ac_prev=
804 ac_dashdash=
805 for ac_option
807 # If the previous option needs an argument, assign it.
808 if test -n "$ac_prev"; then
809 eval $ac_prev=\$ac_option
810 ac_prev=
811 continue
814 case $ac_option in
815 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
816 *) ac_optarg=yes ;;
817 esac
819 # Accept the important Cygnus configure options, so we can diagnose typos.
821 case $ac_dashdash$ac_option in
823 ac_dashdash=yes ;;
825 -bindir | --bindir | --bindi | --bind | --bin | --bi)
826 ac_prev=bindir ;;
827 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
828 bindir=$ac_optarg ;;
830 -build | --build | --buil | --bui | --bu)
831 ac_prev=build_alias ;;
832 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
833 build_alias=$ac_optarg ;;
835 -cache-file | --cache-file | --cache-fil | --cache-fi \
836 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
837 ac_prev=cache_file ;;
838 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
839 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
840 cache_file=$ac_optarg ;;
842 --config-cache | -C)
843 cache_file=config.cache ;;
845 -datadir | --datadir | --datadi | --datad)
846 ac_prev=datadir ;;
847 -datadir=* | --datadir=* | --datadi=* | --datad=*)
848 datadir=$ac_optarg ;;
850 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
851 | --dataroo | --dataro | --datar)
852 ac_prev=datarootdir ;;
853 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
854 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
855 datarootdir=$ac_optarg ;;
857 -disable-* | --disable-*)
858 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
859 # Reject names that are not valid shell variable names.
860 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
861 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
862 { (exit 1); exit 1; }; }
863 ac_useropt_orig=$ac_useropt
864 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
865 case $ac_user_opts in
867 "enable_$ac_useropt"
868 "*) ;;
869 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
870 ac_unrecognized_sep=', ';;
871 esac
872 eval enable_$ac_useropt=no ;;
874 -docdir | --docdir | --docdi | --doc | --do)
875 ac_prev=docdir ;;
876 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
877 docdir=$ac_optarg ;;
879 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
880 ac_prev=dvidir ;;
881 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
882 dvidir=$ac_optarg ;;
884 -enable-* | --enable-*)
885 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
886 # Reject names that are not valid shell variable names.
887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
888 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
889 { (exit 1); exit 1; }; }
890 ac_useropt_orig=$ac_useropt
891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in
894 "enable_$ac_useropt"
895 "*) ;;
896 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
897 ac_unrecognized_sep=', ';;
898 esac
899 eval enable_$ac_useropt=\$ac_optarg ;;
901 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
902 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
903 | --exec | --exe | --ex)
904 ac_prev=exec_prefix ;;
905 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
906 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
907 | --exec=* | --exe=* | --ex=*)
908 exec_prefix=$ac_optarg ;;
910 -gas | --gas | --ga | --g)
911 # Obsolete; use --with-gas.
912 with_gas=yes ;;
914 -help | --help | --hel | --he | -h)
915 ac_init_help=long ;;
916 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
917 ac_init_help=recursive ;;
918 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
919 ac_init_help=short ;;
921 -host | --host | --hos | --ho)
922 ac_prev=host_alias ;;
923 -host=* | --host=* | --hos=* | --ho=*)
924 host_alias=$ac_optarg ;;
926 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
927 ac_prev=htmldir ;;
928 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
929 | --ht=*)
930 htmldir=$ac_optarg ;;
932 -includedir | --includedir | --includedi | --included | --include \
933 | --includ | --inclu | --incl | --inc)
934 ac_prev=includedir ;;
935 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
936 | --includ=* | --inclu=* | --incl=* | --inc=*)
937 includedir=$ac_optarg ;;
939 -infodir | --infodir | --infodi | --infod | --info | --inf)
940 ac_prev=infodir ;;
941 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
942 infodir=$ac_optarg ;;
944 -libdir | --libdir | --libdi | --libd)
945 ac_prev=libdir ;;
946 -libdir=* | --libdir=* | --libdi=* | --libd=*)
947 libdir=$ac_optarg ;;
949 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
950 | --libexe | --libex | --libe)
951 ac_prev=libexecdir ;;
952 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
953 | --libexe=* | --libex=* | --libe=*)
954 libexecdir=$ac_optarg ;;
956 -localedir | --localedir | --localedi | --localed | --locale)
957 ac_prev=localedir ;;
958 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
959 localedir=$ac_optarg ;;
961 -localstatedir | --localstatedir | --localstatedi | --localstated \
962 | --localstate | --localstat | --localsta | --localst | --locals)
963 ac_prev=localstatedir ;;
964 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
965 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
966 localstatedir=$ac_optarg ;;
968 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
969 ac_prev=mandir ;;
970 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
971 mandir=$ac_optarg ;;
973 -nfp | --nfp | --nf)
974 # Obsolete; use --without-fp.
975 with_fp=no ;;
977 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
978 | --no-cr | --no-c | -n)
979 no_create=yes ;;
981 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
982 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
983 no_recursion=yes ;;
985 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
986 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
987 | --oldin | --oldi | --old | --ol | --o)
988 ac_prev=oldincludedir ;;
989 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
990 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
991 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
992 oldincludedir=$ac_optarg ;;
994 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
995 ac_prev=prefix ;;
996 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
997 prefix=$ac_optarg ;;
999 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1000 | --program-pre | --program-pr | --program-p)
1001 ac_prev=program_prefix ;;
1002 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1003 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1004 program_prefix=$ac_optarg ;;
1006 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1007 | --program-suf | --program-su | --program-s)
1008 ac_prev=program_suffix ;;
1009 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1010 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1011 program_suffix=$ac_optarg ;;
1013 -program-transform-name | --program-transform-name \
1014 | --program-transform-nam | --program-transform-na \
1015 | --program-transform-n | --program-transform- \
1016 | --program-transform | --program-transfor \
1017 | --program-transfo | --program-transf \
1018 | --program-trans | --program-tran \
1019 | --progr-tra | --program-tr | --program-t)
1020 ac_prev=program_transform_name ;;
1021 -program-transform-name=* | --program-transform-name=* \
1022 | --program-transform-nam=* | --program-transform-na=* \
1023 | --program-transform-n=* | --program-transform-=* \
1024 | --program-transform=* | --program-transfor=* \
1025 | --program-transfo=* | --program-transf=* \
1026 | --program-trans=* | --program-tran=* \
1027 | --progr-tra=* | --program-tr=* | --program-t=*)
1028 program_transform_name=$ac_optarg ;;
1030 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1031 ac_prev=pdfdir ;;
1032 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1033 pdfdir=$ac_optarg ;;
1035 -psdir | --psdir | --psdi | --psd | --ps)
1036 ac_prev=psdir ;;
1037 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1038 psdir=$ac_optarg ;;
1040 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1041 | -silent | --silent | --silen | --sile | --sil)
1042 silent=yes ;;
1044 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1045 ac_prev=sbindir ;;
1046 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1047 | --sbi=* | --sb=*)
1048 sbindir=$ac_optarg ;;
1050 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1051 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1052 | --sharedst | --shareds | --shared | --share | --shar \
1053 | --sha | --sh)
1054 ac_prev=sharedstatedir ;;
1055 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1056 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1057 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1058 | --sha=* | --sh=*)
1059 sharedstatedir=$ac_optarg ;;
1061 -site | --site | --sit)
1062 ac_prev=site ;;
1063 -site=* | --site=* | --sit=*)
1064 site=$ac_optarg ;;
1066 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1067 ac_prev=srcdir ;;
1068 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1069 srcdir=$ac_optarg ;;
1071 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1072 | --syscon | --sysco | --sysc | --sys | --sy)
1073 ac_prev=sysconfdir ;;
1074 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1075 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1076 sysconfdir=$ac_optarg ;;
1078 -target | --target | --targe | --targ | --tar | --ta | --t)
1079 ac_prev=target_alias ;;
1080 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1081 target_alias=$ac_optarg ;;
1083 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1084 verbose=yes ;;
1086 -version | --version | --versio | --versi | --vers | -V)
1087 ac_init_version=: ;;
1089 -with-* | --with-*)
1090 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1091 # Reject names that are not valid shell variable names.
1092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1094 { (exit 1); exit 1; }; }
1095 ac_useropt_orig=$ac_useropt
1096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097 case $ac_user_opts in
1099 "with_$ac_useropt"
1100 "*) ;;
1101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1102 ac_unrecognized_sep=', ';;
1103 esac
1104 eval with_$ac_useropt=\$ac_optarg ;;
1106 -without-* | --without-*)
1107 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1110 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1111 { (exit 1); exit 1; }; }
1112 ac_useropt_orig=$ac_useropt
1113 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1114 case $ac_user_opts in
1116 "with_$ac_useropt"
1117 "*) ;;
1118 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1119 ac_unrecognized_sep=', ';;
1120 esac
1121 eval with_$ac_useropt=no ;;
1123 --x)
1124 # Obsolete; use --with-x.
1125 with_x=yes ;;
1127 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1128 | --x-incl | --x-inc | --x-in | --x-i)
1129 ac_prev=x_includes ;;
1130 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1131 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1132 x_includes=$ac_optarg ;;
1134 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1135 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1136 ac_prev=x_libraries ;;
1137 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1138 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1139 x_libraries=$ac_optarg ;;
1141 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1142 Try \`$0 --help' for more information." >&2
1143 { (exit 1); exit 1; }; }
1146 *=*)
1147 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1148 # Reject names that are not valid shell variable names.
1149 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1150 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1151 { (exit 1); exit 1; }; }
1152 eval $ac_envvar=\$ac_optarg
1153 export $ac_envvar ;;
1156 # FIXME: should be removed in autoconf 3.0.
1157 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1158 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1160 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1163 esac
1164 done
1166 if test -n "$ac_prev"; then
1167 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1168 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1169 { (exit 1); exit 1; }; }
1172 if test -n "$ac_unrecognized_opts"; then
1173 case $enable_option_checking in
1174 no) ;;
1175 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1176 { (exit 1); exit 1; }; } ;;
1177 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1178 esac
1181 # Check all directory arguments for consistency.
1182 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir
1187 eval ac_val=\$$ac_var
1188 # Remove trailing slashes.
1189 case $ac_val in
1190 */ )
1191 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1192 eval $ac_var=\$ac_val;;
1193 esac
1194 # Be sure to have absolute directory names.
1195 case $ac_val in
1196 [\\/$]* | ?:[\\/]* ) continue;;
1197 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1198 esac
1199 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1200 { (exit 1); exit 1; }; }
1201 done
1203 # There might be people who depend on the old broken behavior: `$host'
1204 # used to hold the argument of --host etc.
1205 # FIXME: To remove some day.
1206 build=$build_alias
1207 host=$host_alias
1208 target=$target_alias
1210 # FIXME: To remove some day.
1211 if test "x$host_alias" != x; then
1212 if test "x$build_alias" = x; then
1213 cross_compiling=maybe
1214 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1215 If a cross compiler is detected then cross compile mode will be used." >&2
1216 elif test "x$build_alias" != "x$host_alias"; then
1217 cross_compiling=yes
1221 ac_tool_prefix=
1222 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1224 test "$silent" = yes && exec 6>/dev/null
1227 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1228 ac_ls_di=`ls -di .` &&
1229 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1230 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1231 { (exit 1); exit 1; }; }
1232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1234 { (exit 1); exit 1; }; }
1237 # Find the source files, if location was not specified.
1238 if test -z "$srcdir"; then
1239 ac_srcdir_defaulted=yes
1240 # Try the directory containing this script, then the parent directory.
1241 ac_confdir=`$as_dirname -- "$as_myself" ||
1242 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1243 X"$as_myself" : 'X\(//\)[^/]' \| \
1244 X"$as_myself" : 'X\(//\)$' \| \
1245 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1246 $as_echo X"$as_myself" |
1247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1248 s//\1/
1251 /^X\(\/\/\)[^/].*/{
1252 s//\1/
1255 /^X\(\/\/\)$/{
1256 s//\1/
1259 /^X\(\/\).*/{
1260 s//\1/
1263 s/.*/./; q'`
1264 srcdir=$ac_confdir
1265 if test ! -r "$srcdir/$ac_unique_file"; then
1266 srcdir=..
1268 else
1269 ac_srcdir_defaulted=no
1271 if test ! -r "$srcdir/$ac_unique_file"; then
1272 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1273 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1274 { (exit 1); exit 1; }; }
1276 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1277 ac_abs_confdir=`(
1278 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1279 { (exit 1); exit 1; }; }
1280 pwd)`
1281 # When building in place, set srcdir=.
1282 if test "$ac_abs_confdir" = "$ac_pwd"; then
1283 srcdir=.
1285 # Remove unnecessary trailing slashes from srcdir.
1286 # Double slashes in file names in object file debugging info
1287 # mess up M-x gdb in Emacs.
1288 case $srcdir in
1289 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1290 esac
1291 for ac_var in $ac_precious_vars; do
1292 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1293 eval ac_env_${ac_var}_value=\$${ac_var}
1294 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1295 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1296 done
1299 # Report the --help message.
1301 if test "$ac_init_help" = "long"; then
1302 # Omit some internal or obsolete options to make the list less imposing.
1303 # This message is too long to be a string in the A/UX 3.1 sh.
1304 cat <<_ACEOF
1305 \`configure' configures dmake 4.12 to adapt to many kinds of systems.
1307 Usage: $0 [OPTION]... [VAR=VALUE]...
1309 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1310 VAR=VALUE. See below for descriptions of some of the useful variables.
1312 Defaults for the options are specified in brackets.
1314 Configuration:
1315 -h, --help display this help and exit
1316 --help=short display options specific to this package
1317 --help=recursive display the short help of all the included packages
1318 -V, --version display version information and exit
1319 -q, --quiet, --silent do not print \`checking...' messages
1320 --cache-file=FILE cache test results in FILE [disabled]
1321 -C, --config-cache alias for \`--cache-file=config.cache'
1322 -n, --no-create do not create output files
1323 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1325 Installation directories:
1326 --prefix=PREFIX install architecture-independent files in PREFIX
1327 [$ac_default_prefix]
1328 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1329 [PREFIX]
1331 By default, \`make install' will install all the files in
1332 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1333 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1334 for instance \`--prefix=\$HOME'.
1336 For better control, use the options below.
1338 Fine tuning of the installation directories:
1339 --bindir=DIR user executables [EPREFIX/bin]
1340 --sbindir=DIR system admin executables [EPREFIX/sbin]
1341 --libexecdir=DIR program executables [EPREFIX/libexec]
1342 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1343 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1344 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1345 --libdir=DIR object code libraries [EPREFIX/lib]
1346 --includedir=DIR C header files [PREFIX/include]
1347 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1348 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1349 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1350 --infodir=DIR info documentation [DATAROOTDIR/info]
1351 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1352 --mandir=DIR man documentation [DATAROOTDIR/man]
1353 --docdir=DIR documentation root [DATAROOTDIR/doc/dmake]
1354 --htmldir=DIR html documentation [DOCDIR]
1355 --dvidir=DIR dvi documentation [DOCDIR]
1356 --pdfdir=DIR pdf documentation [DOCDIR]
1357 --psdir=DIR ps documentation [DOCDIR]
1358 _ACEOF
1360 cat <<\_ACEOF
1362 Program names:
1363 --program-prefix=PREFIX prepend PREFIX to installed program names
1364 --program-suffix=SUFFIX append SUFFIX to installed program names
1365 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1367 System types:
1368 --build=BUILD configure for building on BUILD [guessed]
1369 _ACEOF
1372 if test -n "$ac_init_help"; then
1373 case $ac_init_help in
1374 short | recursive ) echo "Configuration of dmake 4.12:";;
1375 esac
1376 cat <<\_ACEOF
1378 Optional Features:
1379 --disable-option-checking ignore unrecognized --enable/--with options
1380 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1381 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1382 --enable-maintainer-mode enable make rules and dependencies not useful
1383 (and sometimes confusing) to the casual installer
1384 --disable-dependency-tracking speeds up one-time build
1385 --enable-dependency-tracking do not reject slow dependency extractors
1386 --enable-dbug: Enable build with dbug macros.
1388 --enable-spawn: Enables the use of spawn instead of fork/exec
1389 if it is supported.
1392 Some influential environment variables:
1393 CC C compiler command
1394 CFLAGS C compiler flags
1395 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1396 nonstandard directory <lib dir>
1397 LIBS libraries to pass to the linker, e.g. -l<library>
1398 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1399 you have headers in a nonstandard directory <include dir>
1400 CPP C preprocessor
1402 Use these variables to override the choices made by `configure' or to help
1403 it to find libraries and programs with nonstandard names/locations.
1405 _ACEOF
1406 ac_status=$?
1409 if test "$ac_init_help" = "recursive"; then
1410 # If there are subdirs, report their specific --help.
1411 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1412 test -d "$ac_dir" ||
1413 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1414 continue
1415 ac_builddir=.
1417 case "$ac_dir" in
1418 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1420 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1421 # A ".." for each directory in $ac_dir_suffix.
1422 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1423 case $ac_top_builddir_sub in
1424 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1425 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1426 esac ;;
1427 esac
1428 ac_abs_top_builddir=$ac_pwd
1429 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1430 # for backward compatibility:
1431 ac_top_builddir=$ac_top_build_prefix
1433 case $srcdir in
1434 .) # We are building in place.
1435 ac_srcdir=.
1436 ac_top_srcdir=$ac_top_builddir_sub
1437 ac_abs_top_srcdir=$ac_pwd ;;
1438 [\\/]* | ?:[\\/]* ) # Absolute name.
1439 ac_srcdir=$srcdir$ac_dir_suffix;
1440 ac_top_srcdir=$srcdir
1441 ac_abs_top_srcdir=$srcdir ;;
1442 *) # Relative name.
1443 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1444 ac_top_srcdir=$ac_top_build_prefix$srcdir
1445 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1446 esac
1447 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1449 cd "$ac_dir" || { ac_status=$?; continue; }
1450 # Check for guested configure.
1451 if test -f "$ac_srcdir/configure.gnu"; then
1452 echo &&
1453 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1454 elif test -f "$ac_srcdir/configure"; then
1455 echo &&
1456 $SHELL "$ac_srcdir/configure" --help=recursive
1457 else
1458 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1459 fi || ac_status=$?
1460 cd "$ac_pwd" || { ac_status=$?; break; }
1461 done
1464 test -n "$ac_init_help" && exit $ac_status
1465 if $ac_init_version; then
1466 cat <<\_ACEOF
1467 dmake configure 4.12
1468 generated by GNU Autoconf 2.63
1470 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1471 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1472 This configure script is free software; the Free Software Foundation
1473 gives unlimited permission to copy, distribute and modify it.
1474 _ACEOF
1475 exit
1477 cat >config.log <<_ACEOF
1478 This file contains any messages produced by compilers while
1479 running configure, to aid debugging if configure makes a mistake.
1481 It was created by dmake $as_me 4.12, which was
1482 generated by GNU Autoconf 2.63. Invocation command line was
1484 $ $0 $@
1486 _ACEOF
1487 exec 5>>config.log
1489 cat <<_ASUNAME
1490 ## --------- ##
1491 ## Platform. ##
1492 ## --------- ##
1494 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1495 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1496 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1497 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1498 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1500 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1501 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1503 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1504 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1505 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1506 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1507 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1508 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1509 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1511 _ASUNAME
1513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1514 for as_dir in $PATH
1516 IFS=$as_save_IFS
1517 test -z "$as_dir" && as_dir=.
1518 $as_echo "PATH: $as_dir"
1519 done
1520 IFS=$as_save_IFS
1522 } >&5
1524 cat >&5 <<_ACEOF
1527 ## ----------- ##
1528 ## Core tests. ##
1529 ## ----------- ##
1531 _ACEOF
1534 # Keep a trace of the command line.
1535 # Strip out --no-create and --no-recursion so they do not pile up.
1536 # Strip out --silent because we don't want to record it for future runs.
1537 # Also quote any args containing shell meta-characters.
1538 # Make two passes to allow for proper duplicate-argument suppression.
1539 ac_configure_args=
1540 ac_configure_args0=
1541 ac_configure_args1=
1542 ac_must_keep_next=false
1543 for ac_pass in 1 2
1545 for ac_arg
1547 case $ac_arg in
1548 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1549 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1550 | -silent | --silent | --silen | --sile | --sil)
1551 continue ;;
1552 *\'*)
1553 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1554 esac
1555 case $ac_pass in
1556 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1558 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1559 if test $ac_must_keep_next = true; then
1560 ac_must_keep_next=false # Got value, back to normal.
1561 else
1562 case $ac_arg in
1563 *=* | --config-cache | -C | -disable-* | --disable-* \
1564 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1565 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1566 | -with-* | --with-* | -without-* | --without-* | --x)
1567 case "$ac_configure_args0 " in
1568 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1569 esac
1571 -* ) ac_must_keep_next=true ;;
1572 esac
1574 ac_configure_args="$ac_configure_args '$ac_arg'"
1576 esac
1577 done
1578 done
1579 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1580 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1582 # When interrupted or exit'd, cleanup temporary files, and complete
1583 # config.log. We remove comments because anyway the quotes in there
1584 # would cause problems or look ugly.
1585 # WARNING: Use '\'' to represent an apostrophe within the trap.
1586 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1587 trap 'exit_status=$?
1588 # Save into config.log some information that might help in debugging.
1590 echo
1592 cat <<\_ASBOX
1593 ## ---------------- ##
1594 ## Cache variables. ##
1595 ## ---------------- ##
1596 _ASBOX
1597 echo
1598 # The following way of writing the cache mishandles newlines in values,
1600 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1601 eval ac_val=\$$ac_var
1602 case $ac_val in #(
1603 *${as_nl}*)
1604 case $ac_var in #(
1605 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1606 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1607 esac
1608 case $ac_var in #(
1609 _ | IFS | as_nl) ;; #(
1610 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1611 *) $as_unset $ac_var ;;
1612 esac ;;
1613 esac
1614 done
1615 (set) 2>&1 |
1616 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1617 *${as_nl}ac_space=\ *)
1618 sed -n \
1619 "s/'\''/'\''\\\\'\'''\''/g;
1620 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1621 ;; #(
1623 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1625 esac |
1626 sort
1628 echo
1630 cat <<\_ASBOX
1631 ## ----------------- ##
1632 ## Output variables. ##
1633 ## ----------------- ##
1634 _ASBOX
1635 echo
1636 for ac_var in $ac_subst_vars
1638 eval ac_val=\$$ac_var
1639 case $ac_val in
1640 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1641 esac
1642 $as_echo "$ac_var='\''$ac_val'\''"
1643 done | sort
1644 echo
1646 if test -n "$ac_subst_files"; then
1647 cat <<\_ASBOX
1648 ## ------------------- ##
1649 ## File substitutions. ##
1650 ## ------------------- ##
1651 _ASBOX
1652 echo
1653 for ac_var in $ac_subst_files
1655 eval ac_val=\$$ac_var
1656 case $ac_val in
1657 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1658 esac
1659 $as_echo "$ac_var='\''$ac_val'\''"
1660 done | sort
1661 echo
1664 if test -s confdefs.h; then
1665 cat <<\_ASBOX
1666 ## ----------- ##
1667 ## confdefs.h. ##
1668 ## ----------- ##
1669 _ASBOX
1670 echo
1671 cat confdefs.h
1672 echo
1674 test "$ac_signal" != 0 &&
1675 $as_echo "$as_me: caught signal $ac_signal"
1676 $as_echo "$as_me: exit $exit_status"
1677 } >&5
1678 rm -f core *.core core.conftest.* &&
1679 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1680 exit $exit_status
1682 for ac_signal in 1 2 13 15; do
1683 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1684 done
1685 ac_signal=0
1687 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1688 rm -f -r conftest* confdefs.h
1690 # Predefined preprocessor variables.
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_NAME "$PACKAGE_NAME"
1694 _ACEOF
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1699 _ACEOF
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1704 _ACEOF
1707 cat >>confdefs.h <<_ACEOF
1708 #define PACKAGE_STRING "$PACKAGE_STRING"
1709 _ACEOF
1712 cat >>confdefs.h <<_ACEOF
1713 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1714 _ACEOF
1717 # Let the site file select an alternate cache file if it wants to.
1718 # Prefer an explicitly selected file to automatically selected ones.
1719 ac_site_file1=NONE
1720 ac_site_file2=NONE
1721 if test -n "$CONFIG_SITE"; then
1722 ac_site_file1=$CONFIG_SITE
1723 elif test "x$prefix" != xNONE; then
1724 ac_site_file1=$prefix/share/config.site
1725 ac_site_file2=$prefix/etc/config.site
1726 else
1727 ac_site_file1=$ac_default_prefix/share/config.site
1728 ac_site_file2=$ac_default_prefix/etc/config.site
1730 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1732 test "x$ac_site_file" = xNONE && continue
1733 if test -r "$ac_site_file"; then
1734 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1735 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1736 sed 's/^/| /' "$ac_site_file" >&5
1737 . "$ac_site_file"
1739 done
1741 if test -r "$cache_file"; then
1742 # Some versions of bash will fail to source /dev/null (special
1743 # files actually), so we avoid doing that.
1744 if test -f "$cache_file"; then
1745 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1746 $as_echo "$as_me: loading cache $cache_file" >&6;}
1747 case $cache_file in
1748 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1749 *) . "./$cache_file";;
1750 esac
1752 else
1753 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1754 $as_echo "$as_me: creating cache $cache_file" >&6;}
1755 >$cache_file
1758 ac_header_list="$ac_header_list utime.h"
1759 # Check that the precious variables saved in the cache have kept the same
1760 # value.
1761 ac_cache_corrupted=false
1762 for ac_var in $ac_precious_vars; do
1763 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1764 eval ac_new_set=\$ac_env_${ac_var}_set
1765 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1766 eval ac_new_val=\$ac_env_${ac_var}_value
1767 case $ac_old_set,$ac_new_set in
1768 set,)
1769 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1770 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1771 ac_cache_corrupted=: ;;
1772 ,set)
1773 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1774 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1775 ac_cache_corrupted=: ;;
1776 ,);;
1778 if test "x$ac_old_val" != "x$ac_new_val"; then
1779 # differences in whitespace do not lead to failure.
1780 ac_old_val_w=`echo x $ac_old_val`
1781 ac_new_val_w=`echo x $ac_new_val`
1782 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1783 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1784 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1785 ac_cache_corrupted=:
1786 else
1787 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1788 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1789 eval $ac_var=\$ac_old_val
1791 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1792 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1793 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1794 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1795 fi;;
1796 esac
1797 # Pass precious variables to config.status.
1798 if test "$ac_new_set" = set; then
1799 case $ac_new_val in
1800 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1801 *) ac_arg=$ac_var=$ac_new_val ;;
1802 esac
1803 case " $ac_configure_args " in
1804 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1805 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1806 esac
1808 done
1809 if $ac_cache_corrupted; then
1810 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1812 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1813 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1814 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1815 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1816 { (exit 1); exit 1; }; }
1843 ac_ext=c
1844 ac_cpp='$CPP $CPPFLAGS'
1845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1850 ac_aux_dir=
1851 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1852 if test -f "$ac_dir/install-sh"; then
1853 ac_aux_dir=$ac_dir
1854 ac_install_sh="$ac_aux_dir/install-sh -c"
1855 break
1856 elif test -f "$ac_dir/install.sh"; then
1857 ac_aux_dir=$ac_dir
1858 ac_install_sh="$ac_aux_dir/install.sh -c"
1859 break
1860 elif test -f "$ac_dir/shtool"; then
1861 ac_aux_dir=$ac_dir
1862 ac_install_sh="$ac_aux_dir/shtool install -c"
1863 break
1865 done
1866 if test -z "$ac_aux_dir"; then
1867 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1868 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1869 { (exit 1); exit 1; }; }
1872 # These three variables are undocumented and unsupported,
1873 # and are intended to be withdrawn in a future Autoconf release.
1874 # They can cause serious problems if a builder's source tree is in a directory
1875 # whose full name contains unusual characters.
1876 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1877 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1878 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1881 # Make sure we can run config.sub.
1882 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1883 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1884 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1885 { (exit 1); exit 1; }; }
1887 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1888 $as_echo_n "checking build system type... " >&6; }
1889 if test "${ac_cv_build+set}" = set; then
1890 $as_echo_n "(cached) " >&6
1891 else
1892 ac_build_alias=$build_alias
1893 test "x$ac_build_alias" = x &&
1894 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1895 test "x$ac_build_alias" = x &&
1896 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1897 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1898 { (exit 1); exit 1; }; }
1899 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1900 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1901 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1902 { (exit 1); exit 1; }; }
1905 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1906 $as_echo "$ac_cv_build" >&6; }
1907 case $ac_cv_build in
1908 *-*-*) ;;
1909 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1910 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1911 { (exit 1); exit 1; }; };;
1912 esac
1913 build=$ac_cv_build
1914 ac_save_IFS=$IFS; IFS='-'
1915 set x $ac_cv_build
1916 shift
1917 build_cpu=$1
1918 build_vendor=$2
1919 shift; shift
1920 # Remember, the first character of IFS is used to create $*,
1921 # except with old shells:
1922 build_os=$*
1923 IFS=$ac_save_IFS
1924 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1927 BUILDINFO="$build"
1930 am__api_version="1.9"
1931 # Find a good install program. We prefer a C program (faster),
1932 # so one script is as good as another. But avoid the broken or
1933 # incompatible versions:
1934 # SysV /etc/install, /usr/sbin/install
1935 # SunOS /usr/etc/install
1936 # IRIX /sbin/install
1937 # AIX /bin/install
1938 # AmigaOS /C/install, which installs bootblocks on floppy discs
1939 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1940 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1941 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1942 # OS/2's system install, which has a completely different semantic
1943 # ./install, which can be erroneously created by make from ./install.sh.
1944 # Reject install programs that cannot install multiple files.
1945 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1946 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1947 if test -z "$INSTALL"; then
1948 if test "${ac_cv_path_install+set}" = set; then
1949 $as_echo_n "(cached) " >&6
1950 else
1951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1952 for as_dir in $PATH
1954 IFS=$as_save_IFS
1955 test -z "$as_dir" && as_dir=.
1956 # Account for people who put trailing slashes in PATH elements.
1957 case $as_dir/ in
1958 ./ | .// | /cC/* | \
1959 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1960 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1961 /usr/ucb/* ) ;;
1963 # OSF1 and SCO ODT 3.0 have their own names for install.
1964 # Don't use installbsd from OSF since it installs stuff as root
1965 # by default.
1966 for ac_prog in ginstall scoinst install; do
1967 for ac_exec_ext in '' $ac_executable_extensions; do
1968 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1969 if test $ac_prog = install &&
1970 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1971 # AIX install. It has an incompatible calling convention.
1973 elif test $ac_prog = install &&
1974 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1975 # program-specific install script used by HP pwplus--don't use.
1977 else
1978 rm -rf conftest.one conftest.two conftest.dir
1979 echo one > conftest.one
1980 echo two > conftest.two
1981 mkdir conftest.dir
1982 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1983 test -s conftest.one && test -s conftest.two &&
1984 test -s conftest.dir/conftest.one &&
1985 test -s conftest.dir/conftest.two
1986 then
1987 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1988 break 3
1992 done
1993 done
1995 esac
1997 done
1998 IFS=$as_save_IFS
2000 rm -rf conftest.one conftest.two conftest.dir
2003 if test "${ac_cv_path_install+set}" = set; then
2004 INSTALL=$ac_cv_path_install
2005 else
2006 # As a last resort, use the slow shell script. Don't cache a
2007 # value for INSTALL within a source directory, because that will
2008 # break other packages using the cache if that directory is
2009 # removed, or if the value is a relative name.
2010 INSTALL=$ac_install_sh
2013 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2014 $as_echo "$INSTALL" >&6; }
2016 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2017 # It thinks the first close brace ends the variable substitution.
2018 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2020 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2022 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2024 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2025 $as_echo_n "checking whether build environment is sane... " >&6; }
2026 # Just in case
2027 sleep 1
2028 echo timestamp > conftest.file
2029 # Do `set' in a subshell so we don't clobber the current shell's
2030 # arguments. Must try -L first in case configure is actually a
2031 # symlink; some systems play weird games with the mod time of symlinks
2032 # (eg FreeBSD returns the mod time of the symlink's containing
2033 # directory).
2034 if (
2035 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2036 if test "$*" = "X"; then
2037 # -L didn't work.
2038 set X `ls -t $srcdir/configure conftest.file`
2040 rm -f conftest.file
2041 if test "$*" != "X $srcdir/configure conftest.file" \
2042 && test "$*" != "X conftest.file $srcdir/configure"; then
2044 # If neither matched, then we have a broken ls. This can happen
2045 # if, for instance, CONFIG_SHELL is bash and it inherits a
2046 # broken ls alias from the environment. This has actually
2047 # happened. Such a system could not be considered "sane".
2048 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2049 alias in your environment" >&5
2050 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2051 alias in your environment" >&2;}
2052 { (exit 1); exit 1; }; }
2055 test "$2" = conftest.file
2057 then
2058 # Ok.
2060 else
2061 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2062 Check your system clock" >&5
2063 $as_echo "$as_me: error: newly created file is older than distributed files!
2064 Check your system clock" >&2;}
2065 { (exit 1); exit 1; }; }
2067 { $as_echo "$as_me:$LINENO: result: yes" >&5
2068 $as_echo "yes" >&6; }
2069 test "$program_prefix" != NONE &&
2070 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2071 # Use a double $ so make ignores it.
2072 test "$program_suffix" != NONE &&
2073 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2074 # Double any \ or $.
2075 # By default was `s,x,x', remove it if useless.
2076 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2077 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2079 # expand $ac_aux_dir to an absolute path
2080 am_aux_dir=`cd $ac_aux_dir && pwd`
2082 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2083 # Use eval to expand $SHELL
2084 if eval "$MISSING --run true"; then
2085 am_missing_run="$MISSING --run "
2086 else
2087 am_missing_run=
2088 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2089 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2092 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2093 # We used to keeping the `.' as first argument, in order to
2094 # allow $(mkdir_p) to be used without argument. As in
2095 # $(mkdir_p) $(somedir)
2096 # where $(somedir) is conditionally defined. However this is wrong
2097 # for two reasons:
2098 # 1. if the package is installed by a user who cannot write `.'
2099 # make install will fail,
2100 # 2. the above comment should most certainly read
2101 # $(mkdir_p) $(DESTDIR)$(somedir)
2102 # so it does not work when $(somedir) is undefined and
2103 # $(DESTDIR) is not.
2104 # To support the latter case, we have to write
2105 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2106 # so the `.' trick is pointless.
2107 mkdir_p='mkdir -p --'
2108 else
2109 # On NextStep and OpenStep, the `mkdir' command does not
2110 # recognize any option. It will interpret all options as
2111 # directories to create, and then abort because `.' already
2112 # exists.
2113 for d in ./-p ./--version;
2115 test -d $d && rmdir $d
2116 done
2117 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2118 if test -f "$ac_aux_dir/mkinstalldirs"; then
2119 mkdir_p='$(mkinstalldirs)'
2120 else
2121 mkdir_p='$(install_sh) -d'
2125 for ac_prog in gawk mawk nawk awk
2127 # Extract the first word of "$ac_prog", so it can be a program name with args.
2128 set dummy $ac_prog; ac_word=$2
2129 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 $as_echo_n "checking for $ac_word... " >&6; }
2131 if test "${ac_cv_prog_AWK+set}" = set; then
2132 $as_echo_n "(cached) " >&6
2133 else
2134 if test -n "$AWK"; then
2135 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2136 else
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 for as_dir in $PATH
2140 IFS=$as_save_IFS
2141 test -z "$as_dir" && as_dir=.
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2144 ac_cv_prog_AWK="$ac_prog"
2145 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 break 2
2148 done
2149 done
2150 IFS=$as_save_IFS
2154 AWK=$ac_cv_prog_AWK
2155 if test -n "$AWK"; then
2156 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2157 $as_echo "$AWK" >&6; }
2158 else
2159 { $as_echo "$as_me:$LINENO: result: no" >&5
2160 $as_echo "no" >&6; }
2164 test -n "$AWK" && break
2165 done
2167 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2168 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2169 set x ${MAKE-make}
2170 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2171 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2172 $as_echo_n "(cached) " >&6
2173 else
2174 cat >conftest.make <<\_ACEOF
2175 SHELL = /bin/sh
2176 all:
2177 @echo '@@@%%%=$(MAKE)=@@@%%%'
2178 _ACEOF
2179 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2180 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2181 *@@@%%%=?*=@@@%%%*)
2182 eval ac_cv_prog_make_${ac_make}_set=yes;;
2184 eval ac_cv_prog_make_${ac_make}_set=no;;
2185 esac
2186 rm -f conftest.make
2188 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2189 { $as_echo "$as_me:$LINENO: result: yes" >&5
2190 $as_echo "yes" >&6; }
2191 SET_MAKE=
2192 else
2193 { $as_echo "$as_me:$LINENO: result: no" >&5
2194 $as_echo "no" >&6; }
2195 SET_MAKE="MAKE=${MAKE-make}"
2198 rm -rf .tst 2>/dev/null
2199 mkdir .tst 2>/dev/null
2200 if test -d .tst; then
2201 am__leading_dot=.
2202 else
2203 am__leading_dot=_
2205 rmdir .tst 2>/dev/null
2207 # test to see if srcdir already configured
2208 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2209 test -f $srcdir/config.status; then
2210 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2211 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2212 { (exit 1); exit 1; }; }
2215 # test whether we have cygpath
2216 if test -z "$CYGPATH_W"; then
2217 if (cygpath --version) >/dev/null 2>/dev/null; then
2218 CYGPATH_W='cygpath -w'
2219 else
2220 CYGPATH_W=echo
2225 # Define the identity of the package.
2226 PACKAGE='dmake'
2227 VERSION='4.12'
2230 cat >>confdefs.h <<_ACEOF
2231 #define PACKAGE "$PACKAGE"
2232 _ACEOF
2235 cat >>confdefs.h <<_ACEOF
2236 #define VERSION "$VERSION"
2237 _ACEOF
2239 # Some tools Automake needs.
2241 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2244 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2247 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2250 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2253 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2255 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2257 # Installed binaries are usually stripped using `strip' when the user
2258 # run `make install-strip'. However `strip' might not be the right
2259 # tool to use in cross-compilation environments, therefore Automake
2260 # will honor the `STRIP' environment variable to overrule this program.
2261 if test "$cross_compiling" != no; then
2262 if test -n "$ac_tool_prefix"; then
2263 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2264 set dummy ${ac_tool_prefix}strip; ac_word=$2
2265 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2266 $as_echo_n "checking for $ac_word... " >&6; }
2267 if test "${ac_cv_prog_STRIP+set}" = set; then
2268 $as_echo_n "(cached) " >&6
2269 else
2270 if test -n "$STRIP"; then
2271 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2272 else
2273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 for as_dir in $PATH
2276 IFS=$as_save_IFS
2277 test -z "$as_dir" && as_dir=.
2278 for ac_exec_ext in '' $ac_executable_extensions; do
2279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2280 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2281 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282 break 2
2284 done
2285 done
2286 IFS=$as_save_IFS
2290 STRIP=$ac_cv_prog_STRIP
2291 if test -n "$STRIP"; then
2292 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2293 $as_echo "$STRIP" >&6; }
2294 else
2295 { $as_echo "$as_me:$LINENO: result: no" >&5
2296 $as_echo "no" >&6; }
2301 if test -z "$ac_cv_prog_STRIP"; then
2302 ac_ct_STRIP=$STRIP
2303 # Extract the first word of "strip", so it can be a program name with args.
2304 set dummy strip; ac_word=$2
2305 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2306 $as_echo_n "checking for $ac_word... " >&6; }
2307 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2308 $as_echo_n "(cached) " >&6
2309 else
2310 if test -n "$ac_ct_STRIP"; then
2311 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2312 else
2313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2314 for as_dir in $PATH
2316 IFS=$as_save_IFS
2317 test -z "$as_dir" && as_dir=.
2318 for ac_exec_ext in '' $ac_executable_extensions; do
2319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2320 ac_cv_prog_ac_ct_STRIP="strip"
2321 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2322 break 2
2324 done
2325 done
2326 IFS=$as_save_IFS
2330 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2331 if test -n "$ac_ct_STRIP"; then
2332 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2333 $as_echo "$ac_ct_STRIP" >&6; }
2334 else
2335 { $as_echo "$as_me:$LINENO: result: no" >&5
2336 $as_echo "no" >&6; }
2339 if test "x$ac_ct_STRIP" = x; then
2340 STRIP=":"
2341 else
2342 case $cross_compiling:$ac_tool_warned in
2343 yes:)
2344 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2346 ac_tool_warned=yes ;;
2347 esac
2348 STRIP=$ac_ct_STRIP
2350 else
2351 STRIP="$ac_cv_prog_STRIP"
2355 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2357 # We need awk for the "check" target. The system "awk" is bad on
2358 # some platforms.
2359 # Always define AMTAR for backward compatibility.
2361 AMTAR=${AMTAR-"${am_missing_run}tar"}
2363 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2370 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2371 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2372 # Check whether --enable-maintainer-mode was given.
2373 if test "${enable_maintainer_mode+set}" = set; then
2374 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2375 else
2376 USE_MAINTAINER_MODE=no
2379 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2380 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2383 if test $USE_MAINTAINER_MODE = yes; then
2384 MAINTAINER_MODE_TRUE=
2385 MAINTAINER_MODE_FALSE='#'
2386 else
2387 MAINTAINER_MODE_TRUE='#'
2388 MAINTAINER_MODE_FALSE=
2391 MAINT=$MAINTAINER_MODE_TRUE
2394 DEPDIR="${am__leading_dot}deps"
2396 ac_config_commands="$ac_config_commands depfiles"
2399 am_make=${MAKE-make}
2400 cat > confinc << 'END'
2401 am__doit:
2402 @echo done
2403 .PHONY: am__doit
2405 # If we don't find an include directive, just comment out the code.
2406 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2407 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2408 am__include="#"
2409 am__quote=
2410 _am_result=none
2411 # First try GNU make style include.
2412 echo "include confinc" > confmf
2413 # We grep out `Entering directory' and `Leaving directory'
2414 # messages which can occur if `w' ends up in MAKEFLAGS.
2415 # In particular we don't look at `^make:' because GNU make might
2416 # be invoked under some other name (usually "gmake"), in which
2417 # case it prints its new name instead of `make'.
2418 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2419 am__include=include
2420 am__quote=
2421 _am_result=GNU
2423 # Now try BSD make style include.
2424 if test "$am__include" = "#"; then
2425 echo '.include "confinc"' > confmf
2426 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2427 am__include=.include
2428 am__quote="\""
2429 _am_result=BSD
2434 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2435 $as_echo "$_am_result" >&6; }
2436 rm -f confinc confmf
2438 # Check whether --enable-dependency-tracking was given.
2439 if test "${enable_dependency_tracking+set}" = set; then
2440 enableval=$enable_dependency_tracking;
2443 if test "x$enable_dependency_tracking" != xno; then
2444 am_depcomp="$ac_aux_dir/depcomp"
2445 AMDEPBACKSLASH='\'
2449 if test "x$enable_dependency_tracking" != xno; then
2450 AMDEP_TRUE=
2451 AMDEP_FALSE='#'
2452 else
2453 AMDEP_TRUE='#'
2454 AMDEP_FALSE=
2459 ac_ext=c
2460 ac_cpp='$CPP $CPPFLAGS'
2461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2464 if test -n "$ac_tool_prefix"; then
2465 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2466 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2467 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2468 $as_echo_n "checking for $ac_word... " >&6; }
2469 if test "${ac_cv_prog_CC+set}" = set; then
2470 $as_echo_n "(cached) " >&6
2471 else
2472 if test -n "$CC"; then
2473 ac_cv_prog_CC="$CC" # Let the user override the test.
2474 else
2475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476 for as_dir in $PATH
2478 IFS=$as_save_IFS
2479 test -z "$as_dir" && as_dir=.
2480 for ac_exec_ext in '' $ac_executable_extensions; do
2481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2482 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2483 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2484 break 2
2486 done
2487 done
2488 IFS=$as_save_IFS
2492 CC=$ac_cv_prog_CC
2493 if test -n "$CC"; then
2494 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2495 $as_echo "$CC" >&6; }
2496 else
2497 { $as_echo "$as_me:$LINENO: result: no" >&5
2498 $as_echo "no" >&6; }
2503 if test -z "$ac_cv_prog_CC"; then
2504 ac_ct_CC=$CC
2505 # Extract the first word of "gcc", so it can be a program name with args.
2506 set dummy gcc; ac_word=$2
2507 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2508 $as_echo_n "checking for $ac_word... " >&6; }
2509 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2510 $as_echo_n "(cached) " >&6
2511 else
2512 if test -n "$ac_ct_CC"; then
2513 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2514 else
2515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516 for as_dir in $PATH
2518 IFS=$as_save_IFS
2519 test -z "$as_dir" && as_dir=.
2520 for ac_exec_ext in '' $ac_executable_extensions; do
2521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2522 ac_cv_prog_ac_ct_CC="gcc"
2523 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 break 2
2526 done
2527 done
2528 IFS=$as_save_IFS
2532 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2533 if test -n "$ac_ct_CC"; then
2534 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2535 $as_echo "$ac_ct_CC" >&6; }
2536 else
2537 { $as_echo "$as_me:$LINENO: result: no" >&5
2538 $as_echo "no" >&6; }
2541 if test "x$ac_ct_CC" = x; then
2542 CC=""
2543 else
2544 case $cross_compiling:$ac_tool_warned in
2545 yes:)
2546 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2548 ac_tool_warned=yes ;;
2549 esac
2550 CC=$ac_ct_CC
2552 else
2553 CC="$ac_cv_prog_CC"
2556 if test -z "$CC"; then
2557 if test -n "$ac_tool_prefix"; then
2558 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2559 set dummy ${ac_tool_prefix}cc; ac_word=$2
2560 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2561 $as_echo_n "checking for $ac_word... " >&6; }
2562 if test "${ac_cv_prog_CC+set}" = set; then
2563 $as_echo_n "(cached) " >&6
2564 else
2565 if test -n "$CC"; then
2566 ac_cv_prog_CC="$CC" # Let the user override the test.
2567 else
2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569 for as_dir in $PATH
2571 IFS=$as_save_IFS
2572 test -z "$as_dir" && as_dir=.
2573 for ac_exec_ext in '' $ac_executable_extensions; do
2574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2575 ac_cv_prog_CC="${ac_tool_prefix}cc"
2576 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2577 break 2
2579 done
2580 done
2581 IFS=$as_save_IFS
2585 CC=$ac_cv_prog_CC
2586 if test -n "$CC"; then
2587 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2588 $as_echo "$CC" >&6; }
2589 else
2590 { $as_echo "$as_me:$LINENO: result: no" >&5
2591 $as_echo "no" >&6; }
2597 if test -z "$CC"; then
2598 # Extract the first word of "cc", so it can be a program name with args.
2599 set dummy cc; ac_word=$2
2600 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2601 $as_echo_n "checking for $ac_word... " >&6; }
2602 if test "${ac_cv_prog_CC+set}" = set; then
2603 $as_echo_n "(cached) " >&6
2604 else
2605 if test -n "$CC"; then
2606 ac_cv_prog_CC="$CC" # Let the user override the test.
2607 else
2608 ac_prog_rejected=no
2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2610 for as_dir in $PATH
2612 IFS=$as_save_IFS
2613 test -z "$as_dir" && as_dir=.
2614 for ac_exec_ext in '' $ac_executable_extensions; do
2615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2616 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2617 ac_prog_rejected=yes
2618 continue
2620 ac_cv_prog_CC="cc"
2621 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2622 break 2
2624 done
2625 done
2626 IFS=$as_save_IFS
2628 if test $ac_prog_rejected = yes; then
2629 # We found a bogon in the path, so make sure we never use it.
2630 set dummy $ac_cv_prog_CC
2631 shift
2632 if test $# != 0; then
2633 # We chose a different compiler from the bogus one.
2634 # However, it has the same basename, so the bogon will be chosen
2635 # first if we set CC to just the basename; use the full file name.
2636 shift
2637 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2642 CC=$ac_cv_prog_CC
2643 if test -n "$CC"; then
2644 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2645 $as_echo "$CC" >&6; }
2646 else
2647 { $as_echo "$as_me:$LINENO: result: no" >&5
2648 $as_echo "no" >&6; }
2653 if test -z "$CC"; then
2654 if test -n "$ac_tool_prefix"; then
2655 for ac_prog in cl.exe
2657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2658 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2659 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2660 $as_echo_n "checking for $ac_word... " >&6; }
2661 if test "${ac_cv_prog_CC+set}" = set; then
2662 $as_echo_n "(cached) " >&6
2663 else
2664 if test -n "$CC"; then
2665 ac_cv_prog_CC="$CC" # Let the user override the test.
2666 else
2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668 for as_dir in $PATH
2670 IFS=$as_save_IFS
2671 test -z "$as_dir" && as_dir=.
2672 for ac_exec_ext in '' $ac_executable_extensions; do
2673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2674 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2675 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2676 break 2
2678 done
2679 done
2680 IFS=$as_save_IFS
2684 CC=$ac_cv_prog_CC
2685 if test -n "$CC"; then
2686 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2687 $as_echo "$CC" >&6; }
2688 else
2689 { $as_echo "$as_me:$LINENO: result: no" >&5
2690 $as_echo "no" >&6; }
2694 test -n "$CC" && break
2695 done
2697 if test -z "$CC"; then
2698 ac_ct_CC=$CC
2699 for ac_prog in cl.exe
2701 # Extract the first word of "$ac_prog", so it can be a program name with args.
2702 set dummy $ac_prog; ac_word=$2
2703 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2704 $as_echo_n "checking for $ac_word... " >&6; }
2705 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2706 $as_echo_n "(cached) " >&6
2707 else
2708 if test -n "$ac_ct_CC"; then
2709 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2710 else
2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712 for as_dir in $PATH
2714 IFS=$as_save_IFS
2715 test -z "$as_dir" && as_dir=.
2716 for ac_exec_ext in '' $ac_executable_extensions; do
2717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2718 ac_cv_prog_ac_ct_CC="$ac_prog"
2719 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 break 2
2722 done
2723 done
2724 IFS=$as_save_IFS
2728 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2729 if test -n "$ac_ct_CC"; then
2730 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2731 $as_echo "$ac_ct_CC" >&6; }
2732 else
2733 { $as_echo "$as_me:$LINENO: result: no" >&5
2734 $as_echo "no" >&6; }
2738 test -n "$ac_ct_CC" && break
2739 done
2741 if test "x$ac_ct_CC" = x; then
2742 CC=""
2743 else
2744 case $cross_compiling:$ac_tool_warned in
2745 yes:)
2746 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2748 ac_tool_warned=yes ;;
2749 esac
2750 CC=$ac_ct_CC
2757 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2759 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2760 See \`config.log' for more details." >&5
2761 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2762 See \`config.log' for more details." >&2;}
2763 { (exit 1); exit 1; }; }; }
2765 # Provide some information about the compiler.
2766 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2767 set X $ac_compile
2768 ac_compiler=$2
2769 { (ac_try="$ac_compiler --version >&5"
2770 case "(($ac_try" in
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2773 esac
2774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2775 $as_echo "$ac_try_echo") >&5
2776 (eval "$ac_compiler --version >&5") 2>&5
2777 ac_status=$?
2778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }
2780 { (ac_try="$ac_compiler -v >&5"
2781 case "(($ac_try" in
2782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2784 esac
2785 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2786 $as_echo "$ac_try_echo") >&5
2787 (eval "$ac_compiler -v >&5") 2>&5
2788 ac_status=$?
2789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }
2791 { (ac_try="$ac_compiler -V >&5"
2792 case "(($ac_try" in
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2795 esac
2796 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2797 $as_echo "$ac_try_echo") >&5
2798 (eval "$ac_compiler -V >&5") 2>&5
2799 ac_status=$?
2800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); }
2803 cat >conftest.$ac_ext <<_ACEOF
2804 /* confdefs.h. */
2805 _ACEOF
2806 cat confdefs.h >>conftest.$ac_ext
2807 cat >>conftest.$ac_ext <<_ACEOF
2808 /* end confdefs.h. */
2811 main ()
2815 return 0;
2817 _ACEOF
2818 ac_clean_files_save=$ac_clean_files
2819 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2820 # Try to create an executable without -o first, disregard a.out.
2821 # It will help us diagnose broken compilers, and finding out an intuition
2822 # of exeext.
2823 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2824 $as_echo_n "checking for C compiler default output file name... " >&6; }
2825 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2827 # The possible output files:
2828 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2830 ac_rmfiles=
2831 for ac_file in $ac_files
2833 case $ac_file in
2834 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2835 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2836 esac
2837 done
2838 rm -f $ac_rmfiles
2840 if { (ac_try="$ac_link_default"
2841 case "(($ac_try" in
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2844 esac
2845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2846 $as_echo "$ac_try_echo") >&5
2847 (eval "$ac_link_default") 2>&5
2848 ac_status=$?
2849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }; then
2851 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2852 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2853 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2854 # so that the user can short-circuit this test for compilers unknown to
2855 # Autoconf.
2856 for ac_file in $ac_files ''
2858 test -f "$ac_file" || continue
2859 case $ac_file in
2860 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2862 [ab].out )
2863 # We found the default executable, but exeext='' is most
2864 # certainly right.
2865 break;;
2866 *.* )
2867 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2868 then :; else
2869 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2871 # We set ac_cv_exeext here because the later test for it is not
2872 # safe: cross compilers may not add the suffix if given an `-o'
2873 # argument, so we may need to know it at that point already.
2874 # Even if this section looks crufty: it has the advantage of
2875 # actually working.
2876 break;;
2878 break;;
2879 esac
2880 done
2881 test "$ac_cv_exeext" = no && ac_cv_exeext=
2883 else
2884 ac_file=''
2887 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2888 $as_echo "$ac_file" >&6; }
2889 if test -z "$ac_file"; then
2890 $as_echo "$as_me: failed program was:" >&5
2891 sed 's/^/| /' conftest.$ac_ext >&5
2893 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2895 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2896 See \`config.log' for more details." >&5
2897 $as_echo "$as_me: error: C compiler cannot create executables
2898 See \`config.log' for more details." >&2;}
2899 { (exit 77); exit 77; }; }; }
2902 ac_exeext=$ac_cv_exeext
2904 # Check that the compiler produces executables we can run. If not, either
2905 # the compiler is broken, or we cross compile.
2906 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2907 $as_echo_n "checking whether the C compiler works... " >&6; }
2908 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2909 # If not cross compiling, check that we can run a simple program.
2910 if test "$cross_compiling" != yes; then
2911 if { ac_try='./$ac_file'
2912 { (case "(($ac_try" in
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2915 esac
2916 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2917 $as_echo "$ac_try_echo") >&5
2918 (eval "$ac_try") 2>&5
2919 ac_status=$?
2920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; }; then
2922 cross_compiling=no
2923 else
2924 if test "$cross_compiling" = maybe; then
2925 cross_compiling=yes
2926 else
2927 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2929 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2930 If you meant to cross compile, use \`--host'.
2931 See \`config.log' for more details." >&5
2932 $as_echo "$as_me: error: cannot run C compiled programs.
2933 If you meant to cross compile, use \`--host'.
2934 See \`config.log' for more details." >&2;}
2935 { (exit 1); exit 1; }; }; }
2939 { $as_echo "$as_me:$LINENO: result: yes" >&5
2940 $as_echo "yes" >&6; }
2942 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2943 ac_clean_files=$ac_clean_files_save
2944 # Check that the compiler produces executables we can run. If not, either
2945 # the compiler is broken, or we cross compile.
2946 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2947 $as_echo_n "checking whether we are cross compiling... " >&6; }
2948 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2949 $as_echo "$cross_compiling" >&6; }
2951 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2952 $as_echo_n "checking for suffix of executables... " >&6; }
2953 if { (ac_try="$ac_link"
2954 case "(($ac_try" in
2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2957 esac
2958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2959 $as_echo "$ac_try_echo") >&5
2960 (eval "$ac_link") 2>&5
2961 ac_status=$?
2962 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); }; then
2964 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2965 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2966 # work properly (i.e., refer to `conftest.exe'), while it won't with
2967 # `rm'.
2968 for ac_file in conftest.exe conftest conftest.*; do
2969 test -f "$ac_file" || continue
2970 case $ac_file in
2971 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2972 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2973 break;;
2974 * ) break;;
2975 esac
2976 done
2977 else
2978 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2980 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2981 See \`config.log' for more details." >&5
2982 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2983 See \`config.log' for more details." >&2;}
2984 { (exit 1); exit 1; }; }; }
2987 rm -f conftest$ac_cv_exeext
2988 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2989 $as_echo "$ac_cv_exeext" >&6; }
2991 rm -f conftest.$ac_ext
2992 EXEEXT=$ac_cv_exeext
2993 ac_exeext=$EXEEXT
2994 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2995 $as_echo_n "checking for suffix of object files... " >&6; }
2996 if test "${ac_cv_objext+set}" = set; then
2997 $as_echo_n "(cached) " >&6
2998 else
2999 cat >conftest.$ac_ext <<_ACEOF
3000 /* confdefs.h. */
3001 _ACEOF
3002 cat confdefs.h >>conftest.$ac_ext
3003 cat >>conftest.$ac_ext <<_ACEOF
3004 /* end confdefs.h. */
3007 main ()
3011 return 0;
3013 _ACEOF
3014 rm -f conftest.o conftest.obj
3015 if { (ac_try="$ac_compile"
3016 case "(($ac_try" in
3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018 *) ac_try_echo=$ac_try;;
3019 esac
3020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3021 $as_echo "$ac_try_echo") >&5
3022 (eval "$ac_compile") 2>&5
3023 ac_status=$?
3024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); }; then
3026 for ac_file in conftest.o conftest.obj conftest.*; do
3027 test -f "$ac_file" || continue;
3028 case $ac_file in
3029 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3030 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3031 break;;
3032 esac
3033 done
3034 else
3035 $as_echo "$as_me: failed program was:" >&5
3036 sed 's/^/| /' conftest.$ac_ext >&5
3038 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3040 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3041 See \`config.log' for more details." >&5
3042 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3043 See \`config.log' for more details." >&2;}
3044 { (exit 1); exit 1; }; }; }
3047 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3049 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3050 $as_echo "$ac_cv_objext" >&6; }
3051 OBJEXT=$ac_cv_objext
3052 ac_objext=$OBJEXT
3053 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3054 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3055 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3056 $as_echo_n "(cached) " >&6
3057 else
3058 cat >conftest.$ac_ext <<_ACEOF
3059 /* confdefs.h. */
3060 _ACEOF
3061 cat confdefs.h >>conftest.$ac_ext
3062 cat >>conftest.$ac_ext <<_ACEOF
3063 /* end confdefs.h. */
3066 main ()
3068 #ifndef __GNUC__
3069 choke me
3070 #endif
3073 return 0;
3075 _ACEOF
3076 rm -f conftest.$ac_objext
3077 if { (ac_try="$ac_compile"
3078 case "(($ac_try" in
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3081 esac
3082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3083 $as_echo "$ac_try_echo") >&5
3084 (eval "$ac_compile") 2>conftest.er1
3085 ac_status=$?
3086 grep -v '^ *+' conftest.er1 >conftest.err
3087 rm -f conftest.er1
3088 cat conftest.err >&5
3089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); } && {
3091 test -z "$ac_c_werror_flag" ||
3092 test ! -s conftest.err
3093 } && test -s conftest.$ac_objext; then
3094 ac_compiler_gnu=yes
3095 else
3096 $as_echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3099 ac_compiler_gnu=no
3102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3103 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3106 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3107 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3108 if test $ac_compiler_gnu = yes; then
3109 GCC=yes
3110 else
3111 GCC=
3113 ac_test_CFLAGS=${CFLAGS+set}
3114 ac_save_CFLAGS=$CFLAGS
3115 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3116 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3117 if test "${ac_cv_prog_cc_g+set}" = set; then
3118 $as_echo_n "(cached) " >&6
3119 else
3120 ac_save_c_werror_flag=$ac_c_werror_flag
3121 ac_c_werror_flag=yes
3122 ac_cv_prog_cc_g=no
3123 CFLAGS="-g"
3124 cat >conftest.$ac_ext <<_ACEOF
3125 /* confdefs.h. */
3126 _ACEOF
3127 cat confdefs.h >>conftest.$ac_ext
3128 cat >>conftest.$ac_ext <<_ACEOF
3129 /* end confdefs.h. */
3132 main ()
3136 return 0;
3138 _ACEOF
3139 rm -f conftest.$ac_objext
3140 if { (ac_try="$ac_compile"
3141 case "(($ac_try" in
3142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3143 *) ac_try_echo=$ac_try;;
3144 esac
3145 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3146 $as_echo "$ac_try_echo") >&5
3147 (eval "$ac_compile") 2>conftest.er1
3148 ac_status=$?
3149 grep -v '^ *+' conftest.er1 >conftest.err
3150 rm -f conftest.er1
3151 cat conftest.err >&5
3152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); } && {
3154 test -z "$ac_c_werror_flag" ||
3155 test ! -s conftest.err
3156 } && test -s conftest.$ac_objext; then
3157 ac_cv_prog_cc_g=yes
3158 else
3159 $as_echo "$as_me: failed program was:" >&5
3160 sed 's/^/| /' conftest.$ac_ext >&5
3162 CFLAGS=""
3163 cat >conftest.$ac_ext <<_ACEOF
3164 /* confdefs.h. */
3165 _ACEOF
3166 cat confdefs.h >>conftest.$ac_ext
3167 cat >>conftest.$ac_ext <<_ACEOF
3168 /* end confdefs.h. */
3171 main ()
3175 return 0;
3177 _ACEOF
3178 rm -f conftest.$ac_objext
3179 if { (ac_try="$ac_compile"
3180 case "(($ac_try" in
3181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3182 *) ac_try_echo=$ac_try;;
3183 esac
3184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3185 $as_echo "$ac_try_echo") >&5
3186 (eval "$ac_compile") 2>conftest.er1
3187 ac_status=$?
3188 grep -v '^ *+' conftest.er1 >conftest.err
3189 rm -f conftest.er1
3190 cat conftest.err >&5
3191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); } && {
3193 test -z "$ac_c_werror_flag" ||
3194 test ! -s conftest.err
3195 } && test -s conftest.$ac_objext; then
3197 else
3198 $as_echo "$as_me: failed program was:" >&5
3199 sed 's/^/| /' conftest.$ac_ext >&5
3201 ac_c_werror_flag=$ac_save_c_werror_flag
3202 CFLAGS="-g"
3203 cat >conftest.$ac_ext <<_ACEOF
3204 /* confdefs.h. */
3205 _ACEOF
3206 cat confdefs.h >>conftest.$ac_ext
3207 cat >>conftest.$ac_ext <<_ACEOF
3208 /* end confdefs.h. */
3211 main ()
3215 return 0;
3217 _ACEOF
3218 rm -f conftest.$ac_objext
3219 if { (ac_try="$ac_compile"
3220 case "(($ac_try" in
3221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3222 *) ac_try_echo=$ac_try;;
3223 esac
3224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3225 $as_echo "$ac_try_echo") >&5
3226 (eval "$ac_compile") 2>conftest.er1
3227 ac_status=$?
3228 grep -v '^ *+' conftest.er1 >conftest.err
3229 rm -f conftest.er1
3230 cat conftest.err >&5
3231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); } && {
3233 test -z "$ac_c_werror_flag" ||
3234 test ! -s conftest.err
3235 } && test -s conftest.$ac_objext; then
3236 ac_cv_prog_cc_g=yes
3237 else
3238 $as_echo "$as_me: failed program was:" >&5
3239 sed 's/^/| /' conftest.$ac_ext >&5
3244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3251 ac_c_werror_flag=$ac_save_c_werror_flag
3253 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3254 $as_echo "$ac_cv_prog_cc_g" >&6; }
3255 if test "$ac_test_CFLAGS" = set; then
3256 CFLAGS=$ac_save_CFLAGS
3257 elif test $ac_cv_prog_cc_g = yes; then
3258 if test "$GCC" = yes; then
3259 CFLAGS="-g -O2"
3260 else
3261 CFLAGS="-g"
3263 else
3264 if test "$GCC" = yes; then
3265 CFLAGS="-O2"
3266 else
3267 CFLAGS=
3270 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3271 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3272 if test "${ac_cv_prog_cc_c89+set}" = set; then
3273 $as_echo_n "(cached) " >&6
3274 else
3275 ac_cv_prog_cc_c89=no
3276 ac_save_CC=$CC
3277 cat >conftest.$ac_ext <<_ACEOF
3278 /* confdefs.h. */
3279 _ACEOF
3280 cat confdefs.h >>conftest.$ac_ext
3281 cat >>conftest.$ac_ext <<_ACEOF
3282 /* end confdefs.h. */
3283 #include <stdarg.h>
3284 #include <stdio.h>
3285 #include <sys/types.h>
3286 #include <sys/stat.h>
3287 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3288 struct buf { int x; };
3289 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3290 static char *e (p, i)
3291 char **p;
3292 int i;
3294 return p[i];
3296 static char *f (char * (*g) (char **, int), char **p, ...)
3298 char *s;
3299 va_list v;
3300 va_start (v,p);
3301 s = g (p, va_arg (v,int));
3302 va_end (v);
3303 return s;
3306 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3307 function prototypes and stuff, but not '\xHH' hex character constants.
3308 These don't provoke an error unfortunately, instead are silently treated
3309 as 'x'. The following induces an error, until -std is added to get
3310 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3311 array size at least. It's necessary to write '\x00'==0 to get something
3312 that's true only with -std. */
3313 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3315 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3316 inside strings and character constants. */
3317 #define FOO(x) 'x'
3318 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3320 int test (int i, double x);
3321 struct s1 {int (*f) (int a);};
3322 struct s2 {int (*f) (double a);};
3323 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3324 int argc;
3325 char **argv;
3327 main ()
3329 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3331 return 0;
3333 _ACEOF
3334 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3335 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3337 CC="$ac_save_CC $ac_arg"
3338 rm -f conftest.$ac_objext
3339 if { (ac_try="$ac_compile"
3340 case "(($ac_try" in
3341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342 *) ac_try_echo=$ac_try;;
3343 esac
3344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3345 $as_echo "$ac_try_echo") >&5
3346 (eval "$ac_compile") 2>conftest.er1
3347 ac_status=$?
3348 grep -v '^ *+' conftest.er1 >conftest.err
3349 rm -f conftest.er1
3350 cat conftest.err >&5
3351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); } && {
3353 test -z "$ac_c_werror_flag" ||
3354 test ! -s conftest.err
3355 } && test -s conftest.$ac_objext; then
3356 ac_cv_prog_cc_c89=$ac_arg
3357 else
3358 $as_echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.$ac_ext >&5
3364 rm -f core conftest.err conftest.$ac_objext
3365 test "x$ac_cv_prog_cc_c89" != "xno" && break
3366 done
3367 rm -f conftest.$ac_ext
3368 CC=$ac_save_CC
3371 # AC_CACHE_VAL
3372 case "x$ac_cv_prog_cc_c89" in
3374 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3375 $as_echo "none needed" >&6; } ;;
3376 xno)
3377 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3378 $as_echo "unsupported" >&6; } ;;
3380 CC="$CC $ac_cv_prog_cc_c89"
3381 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3382 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3383 esac
3386 ac_ext=c
3387 ac_cpp='$CPP $CPPFLAGS'
3388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3392 depcc="$CC" am_compiler_list=
3394 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3395 $as_echo_n "checking dependency style of $depcc... " >&6; }
3396 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3397 $as_echo_n "(cached) " >&6
3398 else
3399 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3400 # We make a subdir and do the tests there. Otherwise we can end up
3401 # making bogus files that we don't know about and never remove. For
3402 # instance it was reported that on HP-UX the gcc test will end up
3403 # making a dummy file named `D' -- because `-MD' means `put the output
3404 # in D'.
3405 mkdir conftest.dir
3406 # Copy depcomp to subdir because otherwise we won't find it if we're
3407 # using a relative directory.
3408 cp "$am_depcomp" conftest.dir
3409 cd conftest.dir
3410 # We will build objects and dependencies in a subdirectory because
3411 # it helps to detect inapplicable dependency modes. For instance
3412 # both Tru64's cc and ICC support -MD to output dependencies as a
3413 # side effect of compilation, but ICC will put the dependencies in
3414 # the current directory while Tru64 will put them in the object
3415 # directory.
3416 mkdir sub
3418 am_cv_CC_dependencies_compiler_type=none
3419 if test "$am_compiler_list" = ""; then
3420 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3422 for depmode in $am_compiler_list; do
3423 # Setup a source with many dependencies, because some compilers
3424 # like to wrap large dependency lists on column 80 (with \), and
3425 # we should not choose a depcomp mode which is confused by this.
3427 # We need to recreate these files for each test, as the compiler may
3428 # overwrite some of them when testing with obscure command lines.
3429 # This happens at least with the AIX C compiler.
3430 : > sub/conftest.c
3431 for i in 1 2 3 4 5 6; do
3432 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3433 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3434 # Solaris 8's {/usr,}/bin/sh.
3435 touch sub/conftst$i.h
3436 done
3437 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3439 case $depmode in
3440 nosideeffect)
3441 # after this tag, mechanisms are not by side-effect, so they'll
3442 # only be used when explicitly requested
3443 if test "x$enable_dependency_tracking" = xyes; then
3444 continue
3445 else
3446 break
3449 none) break ;;
3450 esac
3451 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3452 # mode. It turns out that the SunPro C++ compiler does not properly
3453 # handle `-M -o', and we need to detect this.
3454 if depmode=$depmode \
3455 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3456 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3457 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3458 >/dev/null 2>conftest.err &&
3459 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3460 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3461 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3462 # icc doesn't choke on unknown options, it will just issue warnings
3463 # or remarks (even with -Werror). So we grep stderr for any message
3464 # that says an option was ignored or not supported.
3465 # When given -MP, icc 7.0 and 7.1 complain thusly:
3466 # icc: Command line warning: ignoring option '-M'; no argument required
3467 # The diagnosis changed in icc 8.0:
3468 # icc: Command line remark: option '-MP' not supported
3469 if (grep 'ignoring option' conftest.err ||
3470 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3471 am_cv_CC_dependencies_compiler_type=$depmode
3472 break
3475 done
3477 cd ..
3478 rm -rf conftest.dir
3479 else
3480 am_cv_CC_dependencies_compiler_type=none
3484 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3485 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3486 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3491 test "x$enable_dependency_tracking" != xno \
3492 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3493 am__fastdepCC_TRUE=
3494 am__fastdepCC_FALSE='#'
3495 else
3496 am__fastdepCC_TRUE='#'
3497 am__fastdepCC_FALSE=
3501 if test "x$CC" != xcc; then
3502 { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3503 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3504 else
3505 { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3506 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3508 set dummy $CC; ac_cc=`$as_echo "$2" |
3509 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3510 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3511 $as_echo_n "(cached) " >&6
3512 else
3513 cat >conftest.$ac_ext <<_ACEOF
3514 /* confdefs.h. */
3515 _ACEOF
3516 cat confdefs.h >>conftest.$ac_ext
3517 cat >>conftest.$ac_ext <<_ACEOF
3518 /* end confdefs.h. */
3521 main ()
3525 return 0;
3527 _ACEOF
3528 # Make sure it works both with $CC and with simple cc.
3529 # We do the test twice because some compilers refuse to overwrite an
3530 # existing .o file with -o, though they will create one.
3531 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3532 rm -f conftest2.*
3533 if { (case "(($ac_try" in
3534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3535 *) ac_try_echo=$ac_try;;
3536 esac
3537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3538 $as_echo "$ac_try_echo") >&5
3539 (eval "$ac_try") 2>&5
3540 ac_status=$?
3541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); } &&
3543 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3545 *) ac_try_echo=$ac_try;;
3546 esac
3547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3548 $as_echo "$ac_try_echo") >&5
3549 (eval "$ac_try") 2>&5
3550 ac_status=$?
3551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); };
3553 then
3554 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3555 if test "x$CC" != xcc; then
3556 # Test first that cc exists at all.
3557 if { ac_try='cc -c conftest.$ac_ext >&5'
3558 { (case "(($ac_try" in
3559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3560 *) ac_try_echo=$ac_try;;
3561 esac
3562 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3563 $as_echo "$ac_try_echo") >&5
3564 (eval "$ac_try") 2>&5
3565 ac_status=$?
3566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); }; }; then
3568 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3569 rm -f conftest2.*
3570 if { (case "(($ac_try" in
3571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3572 *) ac_try_echo=$ac_try;;
3573 esac
3574 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3575 $as_echo "$ac_try_echo") >&5
3576 (eval "$ac_try") 2>&5
3577 ac_status=$?
3578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); } &&
3580 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3582 *) ac_try_echo=$ac_try;;
3583 esac
3584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3585 $as_echo "$ac_try_echo") >&5
3586 (eval "$ac_try") 2>&5
3587 ac_status=$?
3588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); };
3590 then
3591 # cc works too.
3593 else
3594 # cc exists but doesn't like -o.
3595 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3599 else
3600 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3602 rm -f core conftest*
3605 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3606 { $as_echo "$as_me:$LINENO: result: yes" >&5
3607 $as_echo "yes" >&6; }
3608 else
3609 { $as_echo "$as_me:$LINENO: result: no" >&5
3610 $as_echo "no" >&6; }
3612 cat >>confdefs.h <<\_ACEOF
3613 #define NO_MINUS_C_MINUS_O 1
3614 _ACEOF
3618 # FIXME: we rely on the cache variable name because
3619 # there is no other way.
3620 set dummy $CC
3621 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3622 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3623 # Losing compiler, so override with the script.
3624 # FIXME: It is wrong to rewrite CC.
3625 # But if we don't then we get into trouble of one sort or another.
3626 # A longer-term fix would be to have automake use am__CC in this case,
3627 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3628 CC="$am_aux_dir/compile $CC"
3632 ac_config_headers="$ac_config_headers config.h"
3635 # Check whether --enable-dbug was given.
3636 if test "${enable_dbug+set}" = set; then
3637 enableval=$enable_dbug;
3641 # Check whether --enable-spawn was given.
3642 if test "${enable_spawn+set}" = set; then
3643 enableval=$enable_spawn;
3646 ac_ext=c
3647 ac_cpp='$CPP $CPPFLAGS'
3648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3651 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3652 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3653 # On Suns, sometimes $CPP names a directory.
3654 if test -n "$CPP" && test -d "$CPP"; then
3655 CPP=
3657 if test -z "$CPP"; then
3658 if test "${ac_cv_prog_CPP+set}" = set; then
3659 $as_echo_n "(cached) " >&6
3660 else
3661 # Double quotes because CPP needs to be expanded
3662 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3664 ac_preproc_ok=false
3665 for ac_c_preproc_warn_flag in '' yes
3667 # Use a header file that comes with gcc, so configuring glibc
3668 # with a fresh cross-compiler works.
3669 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3670 # <limits.h> exists even on freestanding compilers.
3671 # On the NeXT, cc -E runs the code through the compiler's parser,
3672 # not just through cpp. "Syntax error" is here to catch this case.
3673 cat >conftest.$ac_ext <<_ACEOF
3674 /* confdefs.h. */
3675 _ACEOF
3676 cat confdefs.h >>conftest.$ac_ext
3677 cat >>conftest.$ac_ext <<_ACEOF
3678 /* end confdefs.h. */
3679 #ifdef __STDC__
3680 # include <limits.h>
3681 #else
3682 # include <assert.h>
3683 #endif
3684 Syntax error
3685 _ACEOF
3686 if { (ac_try="$ac_cpp conftest.$ac_ext"
3687 case "(($ac_try" in
3688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3689 *) ac_try_echo=$ac_try;;
3690 esac
3691 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3692 $as_echo "$ac_try_echo") >&5
3693 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3694 ac_status=$?
3695 grep -v '^ *+' conftest.er1 >conftest.err
3696 rm -f conftest.er1
3697 cat conftest.err >&5
3698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); } >/dev/null && {
3700 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3701 test ! -s conftest.err
3702 }; then
3704 else
3705 $as_echo "$as_me: failed program was:" >&5
3706 sed 's/^/| /' conftest.$ac_ext >&5
3708 # Broken: fails on valid input.
3709 continue
3712 rm -f conftest.err conftest.$ac_ext
3714 # OK, works on sane cases. Now check whether nonexistent headers
3715 # can be detected and how.
3716 cat >conftest.$ac_ext <<_ACEOF
3717 /* confdefs.h. */
3718 _ACEOF
3719 cat confdefs.h >>conftest.$ac_ext
3720 cat >>conftest.$ac_ext <<_ACEOF
3721 /* end confdefs.h. */
3722 #include <ac_nonexistent.h>
3723 _ACEOF
3724 if { (ac_try="$ac_cpp conftest.$ac_ext"
3725 case "(($ac_try" in
3726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3727 *) ac_try_echo=$ac_try;;
3728 esac
3729 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3730 $as_echo "$ac_try_echo") >&5
3731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3732 ac_status=$?
3733 grep -v '^ *+' conftest.er1 >conftest.err
3734 rm -f conftest.er1
3735 cat conftest.err >&5
3736 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737 (exit $ac_status); } >/dev/null && {
3738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3739 test ! -s conftest.err
3740 }; then
3741 # Broken: success on invalid input.
3742 continue
3743 else
3744 $as_echo "$as_me: failed program was:" >&5
3745 sed 's/^/| /' conftest.$ac_ext >&5
3747 # Passes both tests.
3748 ac_preproc_ok=:
3749 break
3752 rm -f conftest.err conftest.$ac_ext
3754 done
3755 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3756 rm -f conftest.err conftest.$ac_ext
3757 if $ac_preproc_ok; then
3758 break
3761 done
3762 ac_cv_prog_CPP=$CPP
3765 CPP=$ac_cv_prog_CPP
3766 else
3767 ac_cv_prog_CPP=$CPP
3769 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3770 $as_echo "$CPP" >&6; }
3771 ac_preproc_ok=false
3772 for ac_c_preproc_warn_flag in '' yes
3774 # Use a header file that comes with gcc, so configuring glibc
3775 # with a fresh cross-compiler works.
3776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3777 # <limits.h> exists even on freestanding compilers.
3778 # On the NeXT, cc -E runs the code through the compiler's parser,
3779 # not just through cpp. "Syntax error" is here to catch this case.
3780 cat >conftest.$ac_ext <<_ACEOF
3781 /* confdefs.h. */
3782 _ACEOF
3783 cat confdefs.h >>conftest.$ac_ext
3784 cat >>conftest.$ac_ext <<_ACEOF
3785 /* end confdefs.h. */
3786 #ifdef __STDC__
3787 # include <limits.h>
3788 #else
3789 # include <assert.h>
3790 #endif
3791 Syntax error
3792 _ACEOF
3793 if { (ac_try="$ac_cpp conftest.$ac_ext"
3794 case "(($ac_try" in
3795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3796 *) ac_try_echo=$ac_try;;
3797 esac
3798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3799 $as_echo "$ac_try_echo") >&5
3800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3801 ac_status=$?
3802 grep -v '^ *+' conftest.er1 >conftest.err
3803 rm -f conftest.er1
3804 cat conftest.err >&5
3805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); } >/dev/null && {
3807 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3808 test ! -s conftest.err
3809 }; then
3811 else
3812 $as_echo "$as_me: failed program was:" >&5
3813 sed 's/^/| /' conftest.$ac_ext >&5
3815 # Broken: fails on valid input.
3816 continue
3819 rm -f conftest.err conftest.$ac_ext
3821 # OK, works on sane cases. Now check whether nonexistent headers
3822 # can be detected and how.
3823 cat >conftest.$ac_ext <<_ACEOF
3824 /* confdefs.h. */
3825 _ACEOF
3826 cat confdefs.h >>conftest.$ac_ext
3827 cat >>conftest.$ac_ext <<_ACEOF
3828 /* end confdefs.h. */
3829 #include <ac_nonexistent.h>
3830 _ACEOF
3831 if { (ac_try="$ac_cpp conftest.$ac_ext"
3832 case "(($ac_try" in
3833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3834 *) ac_try_echo=$ac_try;;
3835 esac
3836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3837 $as_echo "$ac_try_echo") >&5
3838 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3839 ac_status=$?
3840 grep -v '^ *+' conftest.er1 >conftest.err
3841 rm -f conftest.er1
3842 cat conftest.err >&5
3843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); } >/dev/null && {
3845 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3846 test ! -s conftest.err
3847 }; then
3848 # Broken: success on invalid input.
3849 continue
3850 else
3851 $as_echo "$as_me: failed program was:" >&5
3852 sed 's/^/| /' conftest.$ac_ext >&5
3854 # Passes both tests.
3855 ac_preproc_ok=:
3856 break
3859 rm -f conftest.err conftest.$ac_ext
3861 done
3862 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3863 rm -f conftest.err conftest.$ac_ext
3864 if $ac_preproc_ok; then
3866 else
3867 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3869 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3870 See \`config.log' for more details." >&5
3871 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3872 See \`config.log' for more details." >&2;}
3873 { (exit 1); exit 1; }; }; }
3876 ac_ext=c
3877 ac_cpp='$CPP $CPPFLAGS'
3878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3882 # Find a good install program. We prefer a C program (faster),
3883 # so one script is as good as another. But avoid the broken or
3884 # incompatible versions:
3885 # SysV /etc/install, /usr/sbin/install
3886 # SunOS /usr/etc/install
3887 # IRIX /sbin/install
3888 # AIX /bin/install
3889 # AmigaOS /C/install, which installs bootblocks on floppy discs
3890 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3891 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3892 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3893 # OS/2's system install, which has a completely different semantic
3894 # ./install, which can be erroneously created by make from ./install.sh.
3895 # Reject install programs that cannot install multiple files.
3896 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3897 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3898 if test -z "$INSTALL"; then
3899 if test "${ac_cv_path_install+set}" = set; then
3900 $as_echo_n "(cached) " >&6
3901 else
3902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3903 for as_dir in $PATH
3905 IFS=$as_save_IFS
3906 test -z "$as_dir" && as_dir=.
3907 # Account for people who put trailing slashes in PATH elements.
3908 case $as_dir/ in
3909 ./ | .// | /cC/* | \
3910 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3911 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3912 /usr/ucb/* ) ;;
3914 # OSF1 and SCO ODT 3.0 have their own names for install.
3915 # Don't use installbsd from OSF since it installs stuff as root
3916 # by default.
3917 for ac_prog in ginstall scoinst install; do
3918 for ac_exec_ext in '' $ac_executable_extensions; do
3919 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3920 if test $ac_prog = install &&
3921 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3922 # AIX install. It has an incompatible calling convention.
3924 elif test $ac_prog = install &&
3925 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3926 # program-specific install script used by HP pwplus--don't use.
3928 else
3929 rm -rf conftest.one conftest.two conftest.dir
3930 echo one > conftest.one
3931 echo two > conftest.two
3932 mkdir conftest.dir
3933 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3934 test -s conftest.one && test -s conftest.two &&
3935 test -s conftest.dir/conftest.one &&
3936 test -s conftest.dir/conftest.two
3937 then
3938 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3939 break 3
3943 done
3944 done
3946 esac
3948 done
3949 IFS=$as_save_IFS
3951 rm -rf conftest.one conftest.two conftest.dir
3954 if test "${ac_cv_path_install+set}" = set; then
3955 INSTALL=$ac_cv_path_install
3956 else
3957 # As a last resort, use the slow shell script. Don't cache a
3958 # value for INSTALL within a source directory, because that will
3959 # break other packages using the cache if that directory is
3960 # removed, or if the value is a relative name.
3961 INSTALL=$ac_install_sh
3964 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3965 $as_echo "$INSTALL" >&6; }
3967 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3968 # It thinks the first close brace ends the variable substitution.
3969 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3971 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3973 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3975 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3976 $as_echo_n "checking whether ln -s works... " >&6; }
3977 LN_S=$as_ln_s
3978 if test "$LN_S" = "ln -s"; then
3979 { $as_echo "$as_me:$LINENO: result: yes" >&5
3980 $as_echo "yes" >&6; }
3981 else
3982 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3983 $as_echo "no, using $LN_S" >&6; }
3986 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3987 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3988 set x ${MAKE-make}
3989 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3990 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3991 $as_echo_n "(cached) " >&6
3992 else
3993 cat >conftest.make <<\_ACEOF
3994 SHELL = /bin/sh
3995 all:
3996 @echo '@@@%%%=$(MAKE)=@@@%%%'
3997 _ACEOF
3998 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3999 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4000 *@@@%%%=?*=@@@%%%*)
4001 eval ac_cv_prog_make_${ac_make}_set=yes;;
4003 eval ac_cv_prog_make_${ac_make}_set=no;;
4004 esac
4005 rm -f conftest.make
4007 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4008 { $as_echo "$as_me:$LINENO: result: yes" >&5
4009 $as_echo "yes" >&6; }
4010 SET_MAKE=
4011 else
4012 { $as_echo "$as_me:$LINENO: result: no" >&5
4013 $as_echo "no" >&6; }
4014 SET_MAKE="MAKE=${MAKE-make}"
4017 if test -n "$ac_tool_prefix"; then
4018 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4019 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4020 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4021 $as_echo_n "checking for $ac_word... " >&6; }
4022 if test "${ac_cv_prog_RANLIB+set}" = set; then
4023 $as_echo_n "(cached) " >&6
4024 else
4025 if test -n "$RANLIB"; then
4026 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4027 else
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 for as_dir in $PATH
4031 IFS=$as_save_IFS
4032 test -z "$as_dir" && as_dir=.
4033 for ac_exec_ext in '' $ac_executable_extensions; do
4034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4035 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4036 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4037 break 2
4039 done
4040 done
4041 IFS=$as_save_IFS
4045 RANLIB=$ac_cv_prog_RANLIB
4046 if test -n "$RANLIB"; then
4047 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4048 $as_echo "$RANLIB" >&6; }
4049 else
4050 { $as_echo "$as_me:$LINENO: result: no" >&5
4051 $as_echo "no" >&6; }
4056 if test -z "$ac_cv_prog_RANLIB"; then
4057 ac_ct_RANLIB=$RANLIB
4058 # Extract the first word of "ranlib", so it can be a program name with args.
4059 set dummy ranlib; ac_word=$2
4060 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4063 $as_echo_n "(cached) " >&6
4064 else
4065 if test -n "$ac_ct_RANLIB"; then
4066 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4067 else
4068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069 for as_dir in $PATH
4071 IFS=$as_save_IFS
4072 test -z "$as_dir" && as_dir=.
4073 for ac_exec_ext in '' $ac_executable_extensions; do
4074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4075 ac_cv_prog_ac_ct_RANLIB="ranlib"
4076 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4077 break 2
4079 done
4080 done
4081 IFS=$as_save_IFS
4085 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4086 if test -n "$ac_ct_RANLIB"; then
4087 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4088 $as_echo "$ac_ct_RANLIB" >&6; }
4089 else
4090 { $as_echo "$as_me:$LINENO: result: no" >&5
4091 $as_echo "no" >&6; }
4094 if test "x$ac_ct_RANLIB" = x; then
4095 RANLIB=":"
4096 else
4097 case $cross_compiling:$ac_tool_warned in
4098 yes:)
4099 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4101 ac_tool_warned=yes ;;
4102 esac
4103 RANLIB=$ac_ct_RANLIB
4105 else
4106 RANLIB="$ac_cv_prog_RANLIB"
4110 for ac_prog in gawk mawk nawk awk
4112 # Extract the first word of "$ac_prog", so it can be a program name with args.
4113 set dummy $ac_prog; ac_word=$2
4114 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4115 $as_echo_n "checking for $ac_word... " >&6; }
4116 if test "${ac_cv_prog_AWK+set}" = set; then
4117 $as_echo_n "(cached) " >&6
4118 else
4119 if test -n "$AWK"; then
4120 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4121 else
4122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123 for as_dir in $PATH
4125 IFS=$as_save_IFS
4126 test -z "$as_dir" && as_dir=.
4127 for ac_exec_ext in '' $ac_executable_extensions; do
4128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4129 ac_cv_prog_AWK="$ac_prog"
4130 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4131 break 2
4133 done
4134 done
4135 IFS=$as_save_IFS
4139 AWK=$ac_cv_prog_AWK
4140 if test -n "$AWK"; then
4141 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
4142 $as_echo "$AWK" >&6; }
4143 else
4144 { $as_echo "$as_me:$LINENO: result: no" >&5
4145 $as_echo "no" >&6; }
4149 test -n "$AWK" && break
4150 done
4153 { $as_echo "$as_me:$LINENO: checking the operating system" >&5
4154 $as_echo_n "checking the operating system... " >&6; }
4156 _os=`uname`
4158 if test `echo $_os | $AWK -F_ '{ print $1 }'` = "CYGWIN"; then
4159 if test "$GCC" = "yes"; then
4160 if test `$CC -dumpmachine | $AWK -F- '{ print $3 }'` = "mingw32"; then
4161 _os="MINGW"
4162 else
4163 _os="CYGWIN"
4165 else
4166 _os="MSVC6"
4171 ## At the moment all except mingw builds are OS_TYPE unix
4172 OS_TYPE=unix
4174 ## The following allows like systems to share settings this is not meant to
4175 ## Imply that these OS are the same thing.
4176 case "$_os" in
4177 "OS/2")
4178 OS_VERSION=os2
4179 CASE_INSENSITIVE_FS=true
4181 "SunOS")
4182 OS_VERSION=solaris
4184 Linux|GNU|GNU/*)
4185 OS_VERSION=linux
4187 "CYGWIN")
4188 OS_VERSION=cygwin
4189 CASE_INSENSITIVE_FS=true
4191 "MINGW")
4192 OS_VERSION=mingw
4193 OS_TYPE=winnt
4194 BUILDINFO="Windows / MinGW"
4195 CASE_INSENSITIVE_FS=true
4197 "MSVC6")
4198 OS_VERSION=msvc6
4199 OS_TYPE=winnt
4200 BUILDINFO="Windows / MS Visual C++"
4201 CASE_INSENSITIVE_FS=true
4203 "Darwin")
4204 OS_VERSION=macosx
4205 # MacOSX is not garuanteed to be case insensitive, assume it's case
4206 # sensitive, see issue 73661 for details.
4208 "FreeBSD")
4209 OS_VERSION=linux
4211 "OSF1")
4212 OS_VERSION=sysvr4
4214 "NetBSD")
4215 OS_VERSION=linux
4217 "IRIX")
4218 OS_VERSION=sysvr4
4220 "IRIX64")
4221 OS_VERSION=sysvr4
4223 "AIX")
4224 OS_VERSION=sysvr4
4226 "OpenBSD"|DragonFly)
4227 OS_VERSION=linux
4230 { { $as_echo "$as_me:$LINENO: error: $_os operating system is not suitable to build dmake!" >&5
4231 $as_echo "$as_me: error: $_os operating system is not suitable to build dmake!" >&2;}
4232 { (exit 1); exit 1; }; }
4234 esac
4236 { $as_echo "$as_me:$LINENO: result: checked ($_os)" >&5
4237 $as_echo "checked ($_os)" >&6; }
4241 if test x$OS_TYPE = xunix; then
4242 OSTYPEUNIX_TRUE=
4243 OSTYPEUNIX_FALSE='#'
4244 else
4245 OSTYPEUNIX_TRUE='#'
4246 OSTYPEUNIX_FALSE=
4251 if test x$OS_TYPE = xwinnt; then
4252 OSTYPEWIN32_TRUE=
4253 OSTYPEWIN32_FALSE='#'
4254 else
4255 OSTYPEWIN32_TRUE='#'
4256 OSTYPEWIN32_FALSE=
4263 cat >>confdefs.h <<_ACEOF
4264 #define BUILDINFO "$BUILDINFO"
4265 _ACEOF
4268 if test x$CASE_INSENSITIVE_FS = xtrue; then
4270 cat >>confdefs.h <<\_ACEOF
4271 #define CASE_INSENSITIVE_FS 1
4272 _ACEOF
4276 { $as_echo "$as_me:$LINENO: checking whether to do a build with dbug macros" >&5
4277 $as_echo_n "checking whether to do a build with dbug macros... " >&6; }
4278 if test -n "$enable_dbug" && test "$enable_dbug" != "no"; then
4279 DBUG="1"
4280 CPPFLAGS="$CPPFLAGS -DDBUG=1 -I\$(top_srcdir)/dbug/dbug"
4281 { $as_echo "$as_me:$LINENO: result: yes" >&5
4282 $as_echo "yes" >&6; }
4283 else
4284 DBUG=""
4285 { $as_echo "$as_me:$LINENO: result: no" >&5
4286 $as_echo "no" >&6; }
4290 if test -n "$DBUG"; then
4291 DBUG_TRUE=
4292 DBUG_FALSE='#'
4293 else
4294 DBUG_TRUE='#'
4295 DBUG_FALSE=
4299 { $as_echo "$as_me:$LINENO: checking if spawn shall be used" >&5
4300 $as_echo_n "checking if spawn shall be used... " >&6; }
4301 if test -n "$enable_spawn" && test "$enable_spawn" != "no"; then
4303 cat >>confdefs.h <<\_ACEOF
4304 #define ENABLE_SPAWN 1
4305 _ACEOF
4307 { $as_echo "$as_me:$LINENO: result: yes" >&5
4308 $as_echo "yes" >&6; }
4309 else
4310 { $as_echo "$as_me:$LINENO: result: no" >&5
4311 $as_echo "no" >&6; }
4314 eval dmakerootprefix="$datarootdir"
4315 # $datadir is ${prefix}/share if not overridden
4316 test "x$dmakerootprefix" != "x${dmakerootprefix##NONE}" && dmakerootprefix=${ac_default_prefix}/share
4318 if test x$OS_TYPE = xunix; then
4319 DMAKEROOT_H_LINE1='"DMAKEROOT := '${dmakerootprefix}'/startup",'
4323 ac_config_files="$ac_config_files dmakeroot.h Makefile startup/config.mk startup/Makefile startup/unix/Makefile startup/unix/linux/Makefile startup/unix/solaris/Makefile startup/unix/macosx/Makefile startup/unix/sysvr4/Makefile startup/unix/cygwin/Makefile startup/unix/os2/Makefile startup/winnt/Makefile startup/winnt/mingw/Makefile startup/winnt/msvc6/Makefile tests/Makefile"
4327 #AM_PROG_LIBTOOL
4335 ac_header_dirent=no
4336 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4337 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4338 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4339 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4340 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4341 $as_echo_n "(cached) " >&6
4342 else
4343 cat >conftest.$ac_ext <<_ACEOF
4344 /* confdefs.h. */
4345 _ACEOF
4346 cat confdefs.h >>conftest.$ac_ext
4347 cat >>conftest.$ac_ext <<_ACEOF
4348 /* end confdefs.h. */
4349 #include <sys/types.h>
4350 #include <$ac_hdr>
4353 main ()
4355 if ((DIR *) 0)
4356 return 0;
4358 return 0;
4360 _ACEOF
4361 rm -f conftest.$ac_objext
4362 if { (ac_try="$ac_compile"
4363 case "(($ac_try" in
4364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4365 *) ac_try_echo=$ac_try;;
4366 esac
4367 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4368 $as_echo "$ac_try_echo") >&5
4369 (eval "$ac_compile") 2>conftest.er1
4370 ac_status=$?
4371 grep -v '^ *+' conftest.er1 >conftest.err
4372 rm -f conftest.er1
4373 cat conftest.err >&5
4374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); } && {
4376 test -z "$ac_c_werror_flag" ||
4377 test ! -s conftest.err
4378 } && test -s conftest.$ac_objext; then
4379 eval "$as_ac_Header=yes"
4380 else
4381 $as_echo "$as_me: failed program was:" >&5
4382 sed 's/^/| /' conftest.$ac_ext >&5
4384 eval "$as_ac_Header=no"
4387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4389 ac_res=`eval 'as_val=${'$as_ac_Header'}
4390 $as_echo "$as_val"'`
4391 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4392 $as_echo "$ac_res" >&6; }
4393 as_val=`eval 'as_val=${'$as_ac_Header'}
4394 $as_echo "$as_val"'`
4395 if test "x$as_val" = x""yes; then
4396 cat >>confdefs.h <<_ACEOF
4397 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4398 _ACEOF
4400 ac_header_dirent=$ac_hdr; break
4403 done
4404 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4405 if test $ac_header_dirent = dirent.h; then
4406 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4407 $as_echo_n "checking for library containing opendir... " >&6; }
4408 if test "${ac_cv_search_opendir+set}" = set; then
4409 $as_echo_n "(cached) " >&6
4410 else
4411 ac_func_search_save_LIBS=$LIBS
4412 cat >conftest.$ac_ext <<_ACEOF
4413 /* confdefs.h. */
4414 _ACEOF
4415 cat confdefs.h >>conftest.$ac_ext
4416 cat >>conftest.$ac_ext <<_ACEOF
4417 /* end confdefs.h. */
4419 /* Override any GCC internal prototype to avoid an error.
4420 Use char because int might match the return type of a GCC
4421 builtin and then its argument prototype would still apply. */
4422 #ifdef __cplusplus
4423 extern "C"
4424 #endif
4425 char opendir ();
4427 main ()
4429 return opendir ();
4431 return 0;
4433 _ACEOF
4434 for ac_lib in '' dir; do
4435 if test -z "$ac_lib"; then
4436 ac_res="none required"
4437 else
4438 ac_res=-l$ac_lib
4439 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4441 rm -f conftest.$ac_objext conftest$ac_exeext
4442 if { (ac_try="$ac_link"
4443 case "(($ac_try" in
4444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4445 *) ac_try_echo=$ac_try;;
4446 esac
4447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4448 $as_echo "$ac_try_echo") >&5
4449 (eval "$ac_link") 2>conftest.er1
4450 ac_status=$?
4451 grep -v '^ *+' conftest.er1 >conftest.err
4452 rm -f conftest.er1
4453 cat conftest.err >&5
4454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); } && {
4456 test -z "$ac_c_werror_flag" ||
4457 test ! -s conftest.err
4458 } && test -s conftest$ac_exeext && {
4459 test "$cross_compiling" = yes ||
4460 $as_test_x conftest$ac_exeext
4461 }; then
4462 ac_cv_search_opendir=$ac_res
4463 else
4464 $as_echo "$as_me: failed program was:" >&5
4465 sed 's/^/| /' conftest.$ac_ext >&5
4470 rm -rf conftest.dSYM
4471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4472 conftest$ac_exeext
4473 if test "${ac_cv_search_opendir+set}" = set; then
4474 break
4476 done
4477 if test "${ac_cv_search_opendir+set}" = set; then
4479 else
4480 ac_cv_search_opendir=no
4482 rm conftest.$ac_ext
4483 LIBS=$ac_func_search_save_LIBS
4485 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4486 $as_echo "$ac_cv_search_opendir" >&6; }
4487 ac_res=$ac_cv_search_opendir
4488 if test "$ac_res" != no; then
4489 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4493 else
4494 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4495 $as_echo_n "checking for library containing opendir... " >&6; }
4496 if test "${ac_cv_search_opendir+set}" = set; then
4497 $as_echo_n "(cached) " >&6
4498 else
4499 ac_func_search_save_LIBS=$LIBS
4500 cat >conftest.$ac_ext <<_ACEOF
4501 /* confdefs.h. */
4502 _ACEOF
4503 cat confdefs.h >>conftest.$ac_ext
4504 cat >>conftest.$ac_ext <<_ACEOF
4505 /* end confdefs.h. */
4507 /* Override any GCC internal prototype to avoid an error.
4508 Use char because int might match the return type of a GCC
4509 builtin and then its argument prototype would still apply. */
4510 #ifdef __cplusplus
4511 extern "C"
4512 #endif
4513 char opendir ();
4515 main ()
4517 return opendir ();
4519 return 0;
4521 _ACEOF
4522 for ac_lib in '' x; do
4523 if test -z "$ac_lib"; then
4524 ac_res="none required"
4525 else
4526 ac_res=-l$ac_lib
4527 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4529 rm -f conftest.$ac_objext conftest$ac_exeext
4530 if { (ac_try="$ac_link"
4531 case "(($ac_try" in
4532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533 *) ac_try_echo=$ac_try;;
4534 esac
4535 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4536 $as_echo "$ac_try_echo") >&5
4537 (eval "$ac_link") 2>conftest.er1
4538 ac_status=$?
4539 grep -v '^ *+' conftest.er1 >conftest.err
4540 rm -f conftest.er1
4541 cat conftest.err >&5
4542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); } && {
4544 test -z "$ac_c_werror_flag" ||
4545 test ! -s conftest.err
4546 } && test -s conftest$ac_exeext && {
4547 test "$cross_compiling" = yes ||
4548 $as_test_x conftest$ac_exeext
4549 }; then
4550 ac_cv_search_opendir=$ac_res
4551 else
4552 $as_echo "$as_me: failed program was:" >&5
4553 sed 's/^/| /' conftest.$ac_ext >&5
4558 rm -rf conftest.dSYM
4559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4560 conftest$ac_exeext
4561 if test "${ac_cv_search_opendir+set}" = set; then
4562 break
4564 done
4565 if test "${ac_cv_search_opendir+set}" = set; then
4567 else
4568 ac_cv_search_opendir=no
4570 rm conftest.$ac_ext
4571 LIBS=$ac_func_search_save_LIBS
4573 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4574 $as_echo "$ac_cv_search_opendir" >&6; }
4575 ac_res=$ac_cv_search_opendir
4576 if test "$ac_res" != no; then
4577 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4584 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4585 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4586 if test "${ac_cv_path_GREP+set}" = set; then
4587 $as_echo_n "(cached) " >&6
4588 else
4589 if test -z "$GREP"; then
4590 ac_path_GREP_found=false
4591 # Loop through the user's path and test for each of PROGNAME-LIST
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4595 IFS=$as_save_IFS
4596 test -z "$as_dir" && as_dir=.
4597 for ac_prog in grep ggrep; do
4598 for ac_exec_ext in '' $ac_executable_extensions; do
4599 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4600 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4601 # Check for GNU ac_path_GREP and select it if it is found.
4602 # Check for GNU $ac_path_GREP
4603 case `"$ac_path_GREP" --version 2>&1` in
4604 *GNU*)
4605 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4607 ac_count=0
4608 $as_echo_n 0123456789 >"conftest.in"
4609 while :
4611 cat "conftest.in" "conftest.in" >"conftest.tmp"
4612 mv "conftest.tmp" "conftest.in"
4613 cp "conftest.in" "conftest.nl"
4614 $as_echo 'GREP' >> "conftest.nl"
4615 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4616 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4617 ac_count=`expr $ac_count + 1`
4618 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4619 # Best one so far, save it but keep looking for a better one
4620 ac_cv_path_GREP="$ac_path_GREP"
4621 ac_path_GREP_max=$ac_count
4623 # 10*(2^10) chars as input seems more than enough
4624 test $ac_count -gt 10 && break
4625 done
4626 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4627 esac
4629 $ac_path_GREP_found && break 3
4630 done
4631 done
4632 done
4633 IFS=$as_save_IFS
4634 if test -z "$ac_cv_path_GREP"; then
4635 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4636 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4637 { (exit 1); exit 1; }; }
4639 else
4640 ac_cv_path_GREP=$GREP
4644 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4645 $as_echo "$ac_cv_path_GREP" >&6; }
4646 GREP="$ac_cv_path_GREP"
4649 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4650 $as_echo_n "checking for egrep... " >&6; }
4651 if test "${ac_cv_path_EGREP+set}" = set; then
4652 $as_echo_n "(cached) " >&6
4653 else
4654 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4655 then ac_cv_path_EGREP="$GREP -E"
4656 else
4657 if test -z "$EGREP"; then
4658 ac_path_EGREP_found=false
4659 # Loop through the user's path and test for each of PROGNAME-LIST
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4663 IFS=$as_save_IFS
4664 test -z "$as_dir" && as_dir=.
4665 for ac_prog in egrep; do
4666 for ac_exec_ext in '' $ac_executable_extensions; do
4667 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4668 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4669 # Check for GNU ac_path_EGREP and select it if it is found.
4670 # Check for GNU $ac_path_EGREP
4671 case `"$ac_path_EGREP" --version 2>&1` in
4672 *GNU*)
4673 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4675 ac_count=0
4676 $as_echo_n 0123456789 >"conftest.in"
4677 while :
4679 cat "conftest.in" "conftest.in" >"conftest.tmp"
4680 mv "conftest.tmp" "conftest.in"
4681 cp "conftest.in" "conftest.nl"
4682 $as_echo 'EGREP' >> "conftest.nl"
4683 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4684 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4685 ac_count=`expr $ac_count + 1`
4686 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4687 # Best one so far, save it but keep looking for a better one
4688 ac_cv_path_EGREP="$ac_path_EGREP"
4689 ac_path_EGREP_max=$ac_count
4691 # 10*(2^10) chars as input seems more than enough
4692 test $ac_count -gt 10 && break
4693 done
4694 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4695 esac
4697 $ac_path_EGREP_found && break 3
4698 done
4699 done
4700 done
4701 IFS=$as_save_IFS
4702 if test -z "$ac_cv_path_EGREP"; then
4703 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4704 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4705 { (exit 1); exit 1; }; }
4707 else
4708 ac_cv_path_EGREP=$EGREP
4713 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4714 $as_echo "$ac_cv_path_EGREP" >&6; }
4715 EGREP="$ac_cv_path_EGREP"
4718 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4719 $as_echo_n "checking for ANSI C header files... " >&6; }
4720 if test "${ac_cv_header_stdc+set}" = set; then
4721 $as_echo_n "(cached) " >&6
4722 else
4723 cat >conftest.$ac_ext <<_ACEOF
4724 /* confdefs.h. */
4725 _ACEOF
4726 cat confdefs.h >>conftest.$ac_ext
4727 cat >>conftest.$ac_ext <<_ACEOF
4728 /* end confdefs.h. */
4729 #include <stdlib.h>
4730 #include <stdarg.h>
4731 #include <string.h>
4732 #include <float.h>
4735 main ()
4739 return 0;
4741 _ACEOF
4742 rm -f conftest.$ac_objext
4743 if { (ac_try="$ac_compile"
4744 case "(($ac_try" in
4745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4746 *) ac_try_echo=$ac_try;;
4747 esac
4748 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4749 $as_echo "$ac_try_echo") >&5
4750 (eval "$ac_compile") 2>conftest.er1
4751 ac_status=$?
4752 grep -v '^ *+' conftest.er1 >conftest.err
4753 rm -f conftest.er1
4754 cat conftest.err >&5
4755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); } && {
4757 test -z "$ac_c_werror_flag" ||
4758 test ! -s conftest.err
4759 } && test -s conftest.$ac_objext; then
4760 ac_cv_header_stdc=yes
4761 else
4762 $as_echo "$as_me: failed program was:" >&5
4763 sed 's/^/| /' conftest.$ac_ext >&5
4765 ac_cv_header_stdc=no
4768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4770 if test $ac_cv_header_stdc = yes; then
4771 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4772 cat >conftest.$ac_ext <<_ACEOF
4773 /* confdefs.h. */
4774 _ACEOF
4775 cat confdefs.h >>conftest.$ac_ext
4776 cat >>conftest.$ac_ext <<_ACEOF
4777 /* end confdefs.h. */
4778 #include <string.h>
4780 _ACEOF
4781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4782 $EGREP "memchr" >/dev/null 2>&1; then
4784 else
4785 ac_cv_header_stdc=no
4787 rm -f conftest*
4791 if test $ac_cv_header_stdc = yes; then
4792 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4793 cat >conftest.$ac_ext <<_ACEOF
4794 /* confdefs.h. */
4795 _ACEOF
4796 cat confdefs.h >>conftest.$ac_ext
4797 cat >>conftest.$ac_ext <<_ACEOF
4798 /* end confdefs.h. */
4799 #include <stdlib.h>
4801 _ACEOF
4802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4803 $EGREP "free" >/dev/null 2>&1; then
4805 else
4806 ac_cv_header_stdc=no
4808 rm -f conftest*
4812 if test $ac_cv_header_stdc = yes; then
4813 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4814 if test "$cross_compiling" = yes; then
4816 else
4817 cat >conftest.$ac_ext <<_ACEOF
4818 /* confdefs.h. */
4819 _ACEOF
4820 cat confdefs.h >>conftest.$ac_ext
4821 cat >>conftest.$ac_ext <<_ACEOF
4822 /* end confdefs.h. */
4823 #include <ctype.h>
4824 #include <stdlib.h>
4825 #if ((' ' & 0x0FF) == 0x020)
4826 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4827 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4828 #else
4829 # define ISLOWER(c) \
4830 (('a' <= (c) && (c) <= 'i') \
4831 || ('j' <= (c) && (c) <= 'r') \
4832 || ('s' <= (c) && (c) <= 'z'))
4833 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4834 #endif
4836 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4838 main ()
4840 int i;
4841 for (i = 0; i < 256; i++)
4842 if (XOR (islower (i), ISLOWER (i))
4843 || toupper (i) != TOUPPER (i))
4844 return 2;
4845 return 0;
4847 _ACEOF
4848 rm -f conftest$ac_exeext
4849 if { (ac_try="$ac_link"
4850 case "(($ac_try" in
4851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4852 *) ac_try_echo=$ac_try;;
4853 esac
4854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4855 $as_echo "$ac_try_echo") >&5
4856 (eval "$ac_link") 2>&5
4857 ac_status=$?
4858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4860 { (case "(($ac_try" in
4861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4862 *) ac_try_echo=$ac_try;;
4863 esac
4864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4865 $as_echo "$ac_try_echo") >&5
4866 (eval "$ac_try") 2>&5
4867 ac_status=$?
4868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869 (exit $ac_status); }; }; then
4871 else
4872 $as_echo "$as_me: program exited with status $ac_status" >&5
4873 $as_echo "$as_me: failed program was:" >&5
4874 sed 's/^/| /' conftest.$ac_ext >&5
4876 ( exit $ac_status )
4877 ac_cv_header_stdc=no
4879 rm -rf conftest.dSYM
4880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4886 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4887 $as_echo "$ac_cv_header_stdc" >&6; }
4888 if test $ac_cv_header_stdc = yes; then
4890 cat >>confdefs.h <<\_ACEOF
4891 #define STDC_HEADERS 1
4892 _ACEOF
4896 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4906 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4907 inttypes.h stdint.h unistd.h
4909 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4910 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4911 $as_echo_n "checking for $ac_header... " >&6; }
4912 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4913 $as_echo_n "(cached) " >&6
4914 else
4915 cat >conftest.$ac_ext <<_ACEOF
4916 /* confdefs.h. */
4917 _ACEOF
4918 cat confdefs.h >>conftest.$ac_ext
4919 cat >>conftest.$ac_ext <<_ACEOF
4920 /* end confdefs.h. */
4921 $ac_includes_default
4923 #include <$ac_header>
4924 _ACEOF
4925 rm -f conftest.$ac_objext
4926 if { (ac_try="$ac_compile"
4927 case "(($ac_try" in
4928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4929 *) ac_try_echo=$ac_try;;
4930 esac
4931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4932 $as_echo "$ac_try_echo") >&5
4933 (eval "$ac_compile") 2>conftest.er1
4934 ac_status=$?
4935 grep -v '^ *+' conftest.er1 >conftest.err
4936 rm -f conftest.er1
4937 cat conftest.err >&5
4938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } && {
4940 test -z "$ac_c_werror_flag" ||
4941 test ! -s conftest.err
4942 } && test -s conftest.$ac_objext; then
4943 eval "$as_ac_Header=yes"
4944 else
4945 $as_echo "$as_me: failed program was:" >&5
4946 sed 's/^/| /' conftest.$ac_ext >&5
4948 eval "$as_ac_Header=no"
4951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4953 ac_res=`eval 'as_val=${'$as_ac_Header'}
4954 $as_echo "$as_val"'`
4955 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4956 $as_echo "$ac_res" >&6; }
4957 as_val=`eval 'as_val=${'$as_ac_Header'}
4958 $as_echo "$as_val"'`
4959 if test "x$as_val" = x""yes; then
4960 cat >>confdefs.h <<_ACEOF
4961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4962 _ACEOF
4966 done
4982 for ac_header in fcntl.h limits.h strings.h sys/types.h sys/stat.h unistd.h errno.h utime.h spawn.h wait.h sys/wait.h sys/time.h cygwin/process.h
4984 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4985 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4986 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4987 $as_echo_n "checking for $ac_header... " >&6; }
4988 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4989 $as_echo_n "(cached) " >&6
4991 ac_res=`eval 'as_val=${'$as_ac_Header'}
4992 $as_echo "$as_val"'`
4993 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4994 $as_echo "$ac_res" >&6; }
4995 else
4996 # Is the header compilable?
4997 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4998 $as_echo_n "checking $ac_header usability... " >&6; }
4999 cat >conftest.$ac_ext <<_ACEOF
5000 /* confdefs.h. */
5001 _ACEOF
5002 cat confdefs.h >>conftest.$ac_ext
5003 cat >>conftest.$ac_ext <<_ACEOF
5004 /* end confdefs.h. */
5005 $ac_includes_default
5006 #include <$ac_header>
5007 _ACEOF
5008 rm -f conftest.$ac_objext
5009 if { (ac_try="$ac_compile"
5010 case "(($ac_try" in
5011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5012 *) ac_try_echo=$ac_try;;
5013 esac
5014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5015 $as_echo "$ac_try_echo") >&5
5016 (eval "$ac_compile") 2>conftest.er1
5017 ac_status=$?
5018 grep -v '^ *+' conftest.er1 >conftest.err
5019 rm -f conftest.er1
5020 cat conftest.err >&5
5021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); } && {
5023 test -z "$ac_c_werror_flag" ||
5024 test ! -s conftest.err
5025 } && test -s conftest.$ac_objext; then
5026 ac_header_compiler=yes
5027 else
5028 $as_echo "$as_me: failed program was:" >&5
5029 sed 's/^/| /' conftest.$ac_ext >&5
5031 ac_header_compiler=no
5034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5035 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5036 $as_echo "$ac_header_compiler" >&6; }
5038 # Is the header present?
5039 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5040 $as_echo_n "checking $ac_header presence... " >&6; }
5041 cat >conftest.$ac_ext <<_ACEOF
5042 /* confdefs.h. */
5043 _ACEOF
5044 cat confdefs.h >>conftest.$ac_ext
5045 cat >>conftest.$ac_ext <<_ACEOF
5046 /* end confdefs.h. */
5047 #include <$ac_header>
5048 _ACEOF
5049 if { (ac_try="$ac_cpp conftest.$ac_ext"
5050 case "(($ac_try" in
5051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5052 *) ac_try_echo=$ac_try;;
5053 esac
5054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5055 $as_echo "$ac_try_echo") >&5
5056 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5057 ac_status=$?
5058 grep -v '^ *+' conftest.er1 >conftest.err
5059 rm -f conftest.er1
5060 cat conftest.err >&5
5061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); } >/dev/null && {
5063 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5064 test ! -s conftest.err
5065 }; then
5066 ac_header_preproc=yes
5067 else
5068 $as_echo "$as_me: failed program was:" >&5
5069 sed 's/^/| /' conftest.$ac_ext >&5
5071 ac_header_preproc=no
5074 rm -f conftest.err conftest.$ac_ext
5075 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5076 $as_echo "$ac_header_preproc" >&6; }
5078 # So? What about this header?
5079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5080 yes:no: )
5081 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5082 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5083 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5084 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5085 ac_header_preproc=yes
5087 no:yes:* )
5088 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5089 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5091 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5093 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5095 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5097 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5099 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5102 esac
5103 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5104 $as_echo_n "checking for $ac_header... " >&6; }
5105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5106 $as_echo_n "(cached) " >&6
5107 else
5108 eval "$as_ac_Header=\$ac_header_preproc"
5110 ac_res=`eval 'as_val=${'$as_ac_Header'}
5111 $as_echo "$as_val"'`
5112 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5113 $as_echo "$ac_res" >&6; }
5116 as_val=`eval 'as_val=${'$as_ac_Header'}
5117 $as_echo "$as_val"'`
5118 if test "x$as_val" = x""yes; then
5119 cat >>confdefs.h <<_ACEOF
5120 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5121 _ACEOF
5125 done
5128 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5129 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5130 if test "${ac_cv_c_const+set}" = set; then
5131 $as_echo_n "(cached) " >&6
5132 else
5133 cat >conftest.$ac_ext <<_ACEOF
5134 /* confdefs.h. */
5135 _ACEOF
5136 cat confdefs.h >>conftest.$ac_ext
5137 cat >>conftest.$ac_ext <<_ACEOF
5138 /* end confdefs.h. */
5141 main ()
5143 /* FIXME: Include the comments suggested by Paul. */
5144 #ifndef __cplusplus
5145 /* Ultrix mips cc rejects this. */
5146 typedef int charset[2];
5147 const charset cs;
5148 /* SunOS 4.1.1 cc rejects this. */
5149 char const *const *pcpcc;
5150 char **ppc;
5151 /* NEC SVR4.0.2 mips cc rejects this. */
5152 struct point {int x, y;};
5153 static struct point const zero = {0,0};
5154 /* AIX XL C 1.02.0.0 rejects this.
5155 It does not let you subtract one const X* pointer from another in
5156 an arm of an if-expression whose if-part is not a constant
5157 expression */
5158 const char *g = "string";
5159 pcpcc = &g + (g ? g-g : 0);
5160 /* HPUX 7.0 cc rejects these. */
5161 ++pcpcc;
5162 ppc = (char**) pcpcc;
5163 pcpcc = (char const *const *) ppc;
5164 { /* SCO 3.2v4 cc rejects this. */
5165 char *t;
5166 char const *s = 0 ? (char *) 0 : (char const *) 0;
5168 *t++ = 0;
5169 if (s) return 0;
5171 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5172 int x[] = {25, 17};
5173 const int *foo = &x[0];
5174 ++foo;
5176 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5177 typedef const int *iptr;
5178 iptr p = 0;
5179 ++p;
5181 { /* AIX XL C 1.02.0.0 rejects this saying
5182 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5183 struct s { int j; const int *ap[3]; };
5184 struct s *b; b->j = 5;
5186 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5187 const int foo = 10;
5188 if (!foo) return 0;
5190 return !cs[0] && !zero.x;
5191 #endif
5194 return 0;
5196 _ACEOF
5197 rm -f conftest.$ac_objext
5198 if { (ac_try="$ac_compile"
5199 case "(($ac_try" in
5200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5201 *) ac_try_echo=$ac_try;;
5202 esac
5203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5204 $as_echo "$ac_try_echo") >&5
5205 (eval "$ac_compile") 2>conftest.er1
5206 ac_status=$?
5207 grep -v '^ *+' conftest.er1 >conftest.err
5208 rm -f conftest.er1
5209 cat conftest.err >&5
5210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); } && {
5212 test -z "$ac_c_werror_flag" ||
5213 test ! -s conftest.err
5214 } && test -s conftest.$ac_objext; then
5215 ac_cv_c_const=yes
5216 else
5217 $as_echo "$as_me: failed program was:" >&5
5218 sed 's/^/| /' conftest.$ac_ext >&5
5220 ac_cv_c_const=no
5223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5225 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5226 $as_echo "$ac_cv_c_const" >&6; }
5227 if test $ac_cv_c_const = no; then
5229 cat >>confdefs.h <<\_ACEOF
5230 #define const /**/
5231 _ACEOF
5235 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
5236 $as_echo_n "checking for off_t... " >&6; }
5237 if test "${ac_cv_type_off_t+set}" = set; then
5238 $as_echo_n "(cached) " >&6
5239 else
5240 ac_cv_type_off_t=no
5241 cat >conftest.$ac_ext <<_ACEOF
5242 /* confdefs.h. */
5243 _ACEOF
5244 cat confdefs.h >>conftest.$ac_ext
5245 cat >>conftest.$ac_ext <<_ACEOF
5246 /* end confdefs.h. */
5247 $ac_includes_default
5249 main ()
5251 if (sizeof (off_t))
5252 return 0;
5254 return 0;
5256 _ACEOF
5257 rm -f conftest.$ac_objext
5258 if { (ac_try="$ac_compile"
5259 case "(($ac_try" in
5260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5261 *) ac_try_echo=$ac_try;;
5262 esac
5263 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5264 $as_echo "$ac_try_echo") >&5
5265 (eval "$ac_compile") 2>conftest.er1
5266 ac_status=$?
5267 grep -v '^ *+' conftest.er1 >conftest.err
5268 rm -f conftest.er1
5269 cat conftest.err >&5
5270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); } && {
5272 test -z "$ac_c_werror_flag" ||
5273 test ! -s conftest.err
5274 } && test -s conftest.$ac_objext; then
5275 cat >conftest.$ac_ext <<_ACEOF
5276 /* confdefs.h. */
5277 _ACEOF
5278 cat confdefs.h >>conftest.$ac_ext
5279 cat >>conftest.$ac_ext <<_ACEOF
5280 /* end confdefs.h. */
5281 $ac_includes_default
5283 main ()
5285 if (sizeof ((off_t)))
5286 return 0;
5288 return 0;
5290 _ACEOF
5291 rm -f conftest.$ac_objext
5292 if { (ac_try="$ac_compile"
5293 case "(($ac_try" in
5294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5295 *) ac_try_echo=$ac_try;;
5296 esac
5297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5298 $as_echo "$ac_try_echo") >&5
5299 (eval "$ac_compile") 2>conftest.er1
5300 ac_status=$?
5301 grep -v '^ *+' conftest.er1 >conftest.err
5302 rm -f conftest.er1
5303 cat conftest.err >&5
5304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); } && {
5306 test -z "$ac_c_werror_flag" ||
5307 test ! -s conftest.err
5308 } && test -s conftest.$ac_objext; then
5310 else
5311 $as_echo "$as_me: failed program was:" >&5
5312 sed 's/^/| /' conftest.$ac_ext >&5
5314 ac_cv_type_off_t=yes
5317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5318 else
5319 $as_echo "$as_me: failed program was:" >&5
5320 sed 's/^/| /' conftest.$ac_ext >&5
5325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5327 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5328 $as_echo "$ac_cv_type_off_t" >&6; }
5329 if test "x$ac_cv_type_off_t" = x""yes; then
5331 else
5333 cat >>confdefs.h <<_ACEOF
5334 #define off_t long int
5335 _ACEOF
5339 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
5340 $as_echo_n "checking for size_t... " >&6; }
5341 if test "${ac_cv_type_size_t+set}" = set; then
5342 $as_echo_n "(cached) " >&6
5343 else
5344 ac_cv_type_size_t=no
5345 cat >conftest.$ac_ext <<_ACEOF
5346 /* confdefs.h. */
5347 _ACEOF
5348 cat confdefs.h >>conftest.$ac_ext
5349 cat >>conftest.$ac_ext <<_ACEOF
5350 /* end confdefs.h. */
5351 $ac_includes_default
5353 main ()
5355 if (sizeof (size_t))
5356 return 0;
5358 return 0;
5360 _ACEOF
5361 rm -f conftest.$ac_objext
5362 if { (ac_try="$ac_compile"
5363 case "(($ac_try" in
5364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5365 *) ac_try_echo=$ac_try;;
5366 esac
5367 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5368 $as_echo "$ac_try_echo") >&5
5369 (eval "$ac_compile") 2>conftest.er1
5370 ac_status=$?
5371 grep -v '^ *+' conftest.er1 >conftest.err
5372 rm -f conftest.er1
5373 cat conftest.err >&5
5374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); } && {
5376 test -z "$ac_c_werror_flag" ||
5377 test ! -s conftest.err
5378 } && test -s conftest.$ac_objext; then
5379 cat >conftest.$ac_ext <<_ACEOF
5380 /* confdefs.h. */
5381 _ACEOF
5382 cat confdefs.h >>conftest.$ac_ext
5383 cat >>conftest.$ac_ext <<_ACEOF
5384 /* end confdefs.h. */
5385 $ac_includes_default
5387 main ()
5389 if (sizeof ((size_t)))
5390 return 0;
5392 return 0;
5394 _ACEOF
5395 rm -f conftest.$ac_objext
5396 if { (ac_try="$ac_compile"
5397 case "(($ac_try" in
5398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5399 *) ac_try_echo=$ac_try;;
5400 esac
5401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5402 $as_echo "$ac_try_echo") >&5
5403 (eval "$ac_compile") 2>conftest.er1
5404 ac_status=$?
5405 grep -v '^ *+' conftest.er1 >conftest.err
5406 rm -f conftest.er1
5407 cat conftest.err >&5
5408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 (exit $ac_status); } && {
5410 test -z "$ac_c_werror_flag" ||
5411 test ! -s conftest.err
5412 } && test -s conftest.$ac_objext; then
5414 else
5415 $as_echo "$as_me: failed program was:" >&5
5416 sed 's/^/| /' conftest.$ac_ext >&5
5418 ac_cv_type_size_t=yes
5421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5422 else
5423 $as_echo "$as_me: failed program was:" >&5
5424 sed 's/^/| /' conftest.$ac_ext >&5
5429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5431 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5432 $as_echo "$ac_cv_type_size_t" >&6; }
5433 if test "x$ac_cv_type_size_t" = x""yes; then
5435 else
5437 cat >>confdefs.h <<_ACEOF
5438 #define size_t unsigned int
5439 _ACEOF
5443 { $as_echo "$as_me:$LINENO: checking for int8" >&5
5444 $as_echo_n "checking for int8... " >&6; }
5445 if test "${ac_cv_type_int8+set}" = set; then
5446 $as_echo_n "(cached) " >&6
5447 else
5448 ac_cv_type_int8=no
5449 cat >conftest.$ac_ext <<_ACEOF
5450 /* confdefs.h. */
5451 _ACEOF
5452 cat confdefs.h >>conftest.$ac_ext
5453 cat >>conftest.$ac_ext <<_ACEOF
5454 /* end confdefs.h. */
5455 $ac_includes_default
5457 main ()
5459 if (sizeof (int8))
5460 return 0;
5462 return 0;
5464 _ACEOF
5465 rm -f conftest.$ac_objext
5466 if { (ac_try="$ac_compile"
5467 case "(($ac_try" in
5468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5469 *) ac_try_echo=$ac_try;;
5470 esac
5471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5472 $as_echo "$ac_try_echo") >&5
5473 (eval "$ac_compile") 2>conftest.er1
5474 ac_status=$?
5475 grep -v '^ *+' conftest.er1 >conftest.err
5476 rm -f conftest.er1
5477 cat conftest.err >&5
5478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); } && {
5480 test -z "$ac_c_werror_flag" ||
5481 test ! -s conftest.err
5482 } && test -s conftest.$ac_objext; then
5483 cat >conftest.$ac_ext <<_ACEOF
5484 /* confdefs.h. */
5485 _ACEOF
5486 cat confdefs.h >>conftest.$ac_ext
5487 cat >>conftest.$ac_ext <<_ACEOF
5488 /* end confdefs.h. */
5489 $ac_includes_default
5491 main ()
5493 if (sizeof ((int8)))
5494 return 0;
5496 return 0;
5498 _ACEOF
5499 rm -f conftest.$ac_objext
5500 if { (ac_try="$ac_compile"
5501 case "(($ac_try" in
5502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5503 *) ac_try_echo=$ac_try;;
5504 esac
5505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5506 $as_echo "$ac_try_echo") >&5
5507 (eval "$ac_compile") 2>conftest.er1
5508 ac_status=$?
5509 grep -v '^ *+' conftest.er1 >conftest.err
5510 rm -f conftest.er1
5511 cat conftest.err >&5
5512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513 (exit $ac_status); } && {
5514 test -z "$ac_c_werror_flag" ||
5515 test ! -s conftest.err
5516 } && test -s conftest.$ac_objext; then
5518 else
5519 $as_echo "$as_me: failed program was:" >&5
5520 sed 's/^/| /' conftest.$ac_ext >&5
5522 ac_cv_type_int8=yes
5525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5526 else
5527 $as_echo "$as_me: failed program was:" >&5
5528 sed 's/^/| /' conftest.$ac_ext >&5
5533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5535 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int8" >&5
5536 $as_echo "$ac_cv_type_int8" >&6; }
5537 if test "x$ac_cv_type_int8" = x""yes; then
5539 cat >>confdefs.h <<_ACEOF
5540 #define HAVE_INT8 1
5541 _ACEOF
5546 { $as_echo "$as_me:$LINENO: checking for uint8" >&5
5547 $as_echo_n "checking for uint8... " >&6; }
5548 if test "${ac_cv_type_uint8+set}" = set; then
5549 $as_echo_n "(cached) " >&6
5550 else
5551 ac_cv_type_uint8=no
5552 cat >conftest.$ac_ext <<_ACEOF
5553 /* confdefs.h. */
5554 _ACEOF
5555 cat confdefs.h >>conftest.$ac_ext
5556 cat >>conftest.$ac_ext <<_ACEOF
5557 /* end confdefs.h. */
5558 $ac_includes_default
5560 main ()
5562 if (sizeof (uint8))
5563 return 0;
5565 return 0;
5567 _ACEOF
5568 rm -f conftest.$ac_objext
5569 if { (ac_try="$ac_compile"
5570 case "(($ac_try" in
5571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5572 *) ac_try_echo=$ac_try;;
5573 esac
5574 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5575 $as_echo "$ac_try_echo") >&5
5576 (eval "$ac_compile") 2>conftest.er1
5577 ac_status=$?
5578 grep -v '^ *+' conftest.er1 >conftest.err
5579 rm -f conftest.er1
5580 cat conftest.err >&5
5581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 (exit $ac_status); } && {
5583 test -z "$ac_c_werror_flag" ||
5584 test ! -s conftest.err
5585 } && test -s conftest.$ac_objext; then
5586 cat >conftest.$ac_ext <<_ACEOF
5587 /* confdefs.h. */
5588 _ACEOF
5589 cat confdefs.h >>conftest.$ac_ext
5590 cat >>conftest.$ac_ext <<_ACEOF
5591 /* end confdefs.h. */
5592 $ac_includes_default
5594 main ()
5596 if (sizeof ((uint8)))
5597 return 0;
5599 return 0;
5601 _ACEOF
5602 rm -f conftest.$ac_objext
5603 if { (ac_try="$ac_compile"
5604 case "(($ac_try" in
5605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5606 *) ac_try_echo=$ac_try;;
5607 esac
5608 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5609 $as_echo "$ac_try_echo") >&5
5610 (eval "$ac_compile") 2>conftest.er1
5611 ac_status=$?
5612 grep -v '^ *+' conftest.er1 >conftest.err
5613 rm -f conftest.er1
5614 cat conftest.err >&5
5615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616 (exit $ac_status); } && {
5617 test -z "$ac_c_werror_flag" ||
5618 test ! -s conftest.err
5619 } && test -s conftest.$ac_objext; then
5621 else
5622 $as_echo "$as_me: failed program was:" >&5
5623 sed 's/^/| /' conftest.$ac_ext >&5
5625 ac_cv_type_uint8=yes
5628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5629 else
5630 $as_echo "$as_me: failed program was:" >&5
5631 sed 's/^/| /' conftest.$ac_ext >&5
5636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5638 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint8" >&5
5639 $as_echo "$ac_cv_type_uint8" >&6; }
5640 if test "x$ac_cv_type_uint8" = x""yes; then
5642 cat >>confdefs.h <<_ACEOF
5643 #define HAVE_UINT8 1
5644 _ACEOF
5649 { $as_echo "$as_me:$LINENO: checking for int16" >&5
5650 $as_echo_n "checking for int16... " >&6; }
5651 if test "${ac_cv_type_int16+set}" = set; then
5652 $as_echo_n "(cached) " >&6
5653 else
5654 ac_cv_type_int16=no
5655 cat >conftest.$ac_ext <<_ACEOF
5656 /* confdefs.h. */
5657 _ACEOF
5658 cat confdefs.h >>conftest.$ac_ext
5659 cat >>conftest.$ac_ext <<_ACEOF
5660 /* end confdefs.h. */
5661 $ac_includes_default
5663 main ()
5665 if (sizeof (int16))
5666 return 0;
5668 return 0;
5670 _ACEOF
5671 rm -f conftest.$ac_objext
5672 if { (ac_try="$ac_compile"
5673 case "(($ac_try" in
5674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5675 *) ac_try_echo=$ac_try;;
5676 esac
5677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5678 $as_echo "$ac_try_echo") >&5
5679 (eval "$ac_compile") 2>conftest.er1
5680 ac_status=$?
5681 grep -v '^ *+' conftest.er1 >conftest.err
5682 rm -f conftest.er1
5683 cat conftest.err >&5
5684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); } && {
5686 test -z "$ac_c_werror_flag" ||
5687 test ! -s conftest.err
5688 } && test -s conftest.$ac_objext; then
5689 cat >conftest.$ac_ext <<_ACEOF
5690 /* confdefs.h. */
5691 _ACEOF
5692 cat confdefs.h >>conftest.$ac_ext
5693 cat >>conftest.$ac_ext <<_ACEOF
5694 /* end confdefs.h. */
5695 $ac_includes_default
5697 main ()
5699 if (sizeof ((int16)))
5700 return 0;
5702 return 0;
5704 _ACEOF
5705 rm -f conftest.$ac_objext
5706 if { (ac_try="$ac_compile"
5707 case "(($ac_try" in
5708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5709 *) ac_try_echo=$ac_try;;
5710 esac
5711 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5712 $as_echo "$ac_try_echo") >&5
5713 (eval "$ac_compile") 2>conftest.er1
5714 ac_status=$?
5715 grep -v '^ *+' conftest.er1 >conftest.err
5716 rm -f conftest.er1
5717 cat conftest.err >&5
5718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); } && {
5720 test -z "$ac_c_werror_flag" ||
5721 test ! -s conftest.err
5722 } && test -s conftest.$ac_objext; then
5724 else
5725 $as_echo "$as_me: failed program was:" >&5
5726 sed 's/^/| /' conftest.$ac_ext >&5
5728 ac_cv_type_int16=yes
5731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5732 else
5733 $as_echo "$as_me: failed program was:" >&5
5734 sed 's/^/| /' conftest.$ac_ext >&5
5739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5741 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int16" >&5
5742 $as_echo "$ac_cv_type_int16" >&6; }
5743 if test "x$ac_cv_type_int16" = x""yes; then
5745 cat >>confdefs.h <<_ACEOF
5746 #define HAVE_INT16 1
5747 _ACEOF
5752 { $as_echo "$as_me:$LINENO: checking for uint16" >&5
5753 $as_echo_n "checking for uint16... " >&6; }
5754 if test "${ac_cv_type_uint16+set}" = set; then
5755 $as_echo_n "(cached) " >&6
5756 else
5757 ac_cv_type_uint16=no
5758 cat >conftest.$ac_ext <<_ACEOF
5759 /* confdefs.h. */
5760 _ACEOF
5761 cat confdefs.h >>conftest.$ac_ext
5762 cat >>conftest.$ac_ext <<_ACEOF
5763 /* end confdefs.h. */
5764 $ac_includes_default
5766 main ()
5768 if (sizeof (uint16))
5769 return 0;
5771 return 0;
5773 _ACEOF
5774 rm -f conftest.$ac_objext
5775 if { (ac_try="$ac_compile"
5776 case "(($ac_try" in
5777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5778 *) ac_try_echo=$ac_try;;
5779 esac
5780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5781 $as_echo "$ac_try_echo") >&5
5782 (eval "$ac_compile") 2>conftest.er1
5783 ac_status=$?
5784 grep -v '^ *+' conftest.er1 >conftest.err
5785 rm -f conftest.er1
5786 cat conftest.err >&5
5787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5788 (exit $ac_status); } && {
5789 test -z "$ac_c_werror_flag" ||
5790 test ! -s conftest.err
5791 } && test -s conftest.$ac_objext; then
5792 cat >conftest.$ac_ext <<_ACEOF
5793 /* confdefs.h. */
5794 _ACEOF
5795 cat confdefs.h >>conftest.$ac_ext
5796 cat >>conftest.$ac_ext <<_ACEOF
5797 /* end confdefs.h. */
5798 $ac_includes_default
5800 main ()
5802 if (sizeof ((uint16)))
5803 return 0;
5805 return 0;
5807 _ACEOF
5808 rm -f conftest.$ac_objext
5809 if { (ac_try="$ac_compile"
5810 case "(($ac_try" in
5811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5812 *) ac_try_echo=$ac_try;;
5813 esac
5814 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5815 $as_echo "$ac_try_echo") >&5
5816 (eval "$ac_compile") 2>conftest.er1
5817 ac_status=$?
5818 grep -v '^ *+' conftest.er1 >conftest.err
5819 rm -f conftest.er1
5820 cat conftest.err >&5
5821 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822 (exit $ac_status); } && {
5823 test -z "$ac_c_werror_flag" ||
5824 test ! -s conftest.err
5825 } && test -s conftest.$ac_objext; then
5827 else
5828 $as_echo "$as_me: failed program was:" >&5
5829 sed 's/^/| /' conftest.$ac_ext >&5
5831 ac_cv_type_uint16=yes
5834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5835 else
5836 $as_echo "$as_me: failed program was:" >&5
5837 sed 's/^/| /' conftest.$ac_ext >&5
5842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5844 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16" >&5
5845 $as_echo "$ac_cv_type_uint16" >&6; }
5846 if test "x$ac_cv_type_uint16" = x""yes; then
5848 cat >>confdefs.h <<_ACEOF
5849 #define HAVE_UINT16 1
5850 _ACEOF
5855 { $as_echo "$as_me:$LINENO: checking for int32" >&5
5856 $as_echo_n "checking for int32... " >&6; }
5857 if test "${ac_cv_type_int32+set}" = set; then
5858 $as_echo_n "(cached) " >&6
5859 else
5860 ac_cv_type_int32=no
5861 cat >conftest.$ac_ext <<_ACEOF
5862 /* confdefs.h. */
5863 _ACEOF
5864 cat confdefs.h >>conftest.$ac_ext
5865 cat >>conftest.$ac_ext <<_ACEOF
5866 /* end confdefs.h. */
5867 $ac_includes_default
5869 main ()
5871 if (sizeof (int32))
5872 return 0;
5874 return 0;
5876 _ACEOF
5877 rm -f conftest.$ac_objext
5878 if { (ac_try="$ac_compile"
5879 case "(($ac_try" in
5880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5881 *) ac_try_echo=$ac_try;;
5882 esac
5883 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5884 $as_echo "$ac_try_echo") >&5
5885 (eval "$ac_compile") 2>conftest.er1
5886 ac_status=$?
5887 grep -v '^ *+' conftest.er1 >conftest.err
5888 rm -f conftest.er1
5889 cat conftest.err >&5
5890 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891 (exit $ac_status); } && {
5892 test -z "$ac_c_werror_flag" ||
5893 test ! -s conftest.err
5894 } && test -s conftest.$ac_objext; then
5895 cat >conftest.$ac_ext <<_ACEOF
5896 /* confdefs.h. */
5897 _ACEOF
5898 cat confdefs.h >>conftest.$ac_ext
5899 cat >>conftest.$ac_ext <<_ACEOF
5900 /* end confdefs.h. */
5901 $ac_includes_default
5903 main ()
5905 if (sizeof ((int32)))
5906 return 0;
5908 return 0;
5910 _ACEOF
5911 rm -f conftest.$ac_objext
5912 if { (ac_try="$ac_compile"
5913 case "(($ac_try" in
5914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5915 *) ac_try_echo=$ac_try;;
5916 esac
5917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5918 $as_echo "$ac_try_echo") >&5
5919 (eval "$ac_compile") 2>conftest.er1
5920 ac_status=$?
5921 grep -v '^ *+' conftest.er1 >conftest.err
5922 rm -f conftest.er1
5923 cat conftest.err >&5
5924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 (exit $ac_status); } && {
5926 test -z "$ac_c_werror_flag" ||
5927 test ! -s conftest.err
5928 } && test -s conftest.$ac_objext; then
5930 else
5931 $as_echo "$as_me: failed program was:" >&5
5932 sed 's/^/| /' conftest.$ac_ext >&5
5934 ac_cv_type_int32=yes
5937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5938 else
5939 $as_echo "$as_me: failed program was:" >&5
5940 sed 's/^/| /' conftest.$ac_ext >&5
5945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5947 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int32" >&5
5948 $as_echo "$ac_cv_type_int32" >&6; }
5949 if test "x$ac_cv_type_int32" = x""yes; then
5951 cat >>confdefs.h <<_ACEOF
5952 #define HAVE_INT32 1
5953 _ACEOF
5958 { $as_echo "$as_me:$LINENO: checking for uint32" >&5
5959 $as_echo_n "checking for uint32... " >&6; }
5960 if test "${ac_cv_type_uint32+set}" = set; then
5961 $as_echo_n "(cached) " >&6
5962 else
5963 ac_cv_type_uint32=no
5964 cat >conftest.$ac_ext <<_ACEOF
5965 /* confdefs.h. */
5966 _ACEOF
5967 cat confdefs.h >>conftest.$ac_ext
5968 cat >>conftest.$ac_ext <<_ACEOF
5969 /* end confdefs.h. */
5970 $ac_includes_default
5972 main ()
5974 if (sizeof (uint32))
5975 return 0;
5977 return 0;
5979 _ACEOF
5980 rm -f conftest.$ac_objext
5981 if { (ac_try="$ac_compile"
5982 case "(($ac_try" in
5983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5984 *) ac_try_echo=$ac_try;;
5985 esac
5986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5987 $as_echo "$ac_try_echo") >&5
5988 (eval "$ac_compile") 2>conftest.er1
5989 ac_status=$?
5990 grep -v '^ *+' conftest.er1 >conftest.err
5991 rm -f conftest.er1
5992 cat conftest.err >&5
5993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); } && {
5995 test -z "$ac_c_werror_flag" ||
5996 test ! -s conftest.err
5997 } && test -s conftest.$ac_objext; then
5998 cat >conftest.$ac_ext <<_ACEOF
5999 /* confdefs.h. */
6000 _ACEOF
6001 cat confdefs.h >>conftest.$ac_ext
6002 cat >>conftest.$ac_ext <<_ACEOF
6003 /* end confdefs.h. */
6004 $ac_includes_default
6006 main ()
6008 if (sizeof ((uint32)))
6009 return 0;
6011 return 0;
6013 _ACEOF
6014 rm -f conftest.$ac_objext
6015 if { (ac_try="$ac_compile"
6016 case "(($ac_try" in
6017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6018 *) ac_try_echo=$ac_try;;
6019 esac
6020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6021 $as_echo "$ac_try_echo") >&5
6022 (eval "$ac_compile") 2>conftest.er1
6023 ac_status=$?
6024 grep -v '^ *+' conftest.er1 >conftest.err
6025 rm -f conftest.er1
6026 cat conftest.err >&5
6027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028 (exit $ac_status); } && {
6029 test -z "$ac_c_werror_flag" ||
6030 test ! -s conftest.err
6031 } && test -s conftest.$ac_objext; then
6033 else
6034 $as_echo "$as_me: failed program was:" >&5
6035 sed 's/^/| /' conftest.$ac_ext >&5
6037 ac_cv_type_uint32=yes
6040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6041 else
6042 $as_echo "$as_me: failed program was:" >&5
6043 sed 's/^/| /' conftest.$ac_ext >&5
6048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6050 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32" >&5
6051 $as_echo "$ac_cv_type_uint32" >&6; }
6052 if test "x$ac_cv_type_uint32" = x""yes; then
6054 cat >>confdefs.h <<_ACEOF
6055 #define HAVE_UINT32 1
6056 _ACEOF
6061 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6062 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6063 if test "${ac_cv_header_time+set}" = set; then
6064 $as_echo_n "(cached) " >&6
6065 else
6066 cat >conftest.$ac_ext <<_ACEOF
6067 /* confdefs.h. */
6068 _ACEOF
6069 cat confdefs.h >>conftest.$ac_ext
6070 cat >>conftest.$ac_ext <<_ACEOF
6071 /* end confdefs.h. */
6072 #include <sys/types.h>
6073 #include <sys/time.h>
6074 #include <time.h>
6077 main ()
6079 if ((struct tm *) 0)
6080 return 0;
6082 return 0;
6084 _ACEOF
6085 rm -f conftest.$ac_objext
6086 if { (ac_try="$ac_compile"
6087 case "(($ac_try" in
6088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6089 *) ac_try_echo=$ac_try;;
6090 esac
6091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6092 $as_echo "$ac_try_echo") >&5
6093 (eval "$ac_compile") 2>conftest.er1
6094 ac_status=$?
6095 grep -v '^ *+' conftest.er1 >conftest.err
6096 rm -f conftest.er1
6097 cat conftest.err >&5
6098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099 (exit $ac_status); } && {
6100 test -z "$ac_c_werror_flag" ||
6101 test ! -s conftest.err
6102 } && test -s conftest.$ac_objext; then
6103 ac_cv_header_time=yes
6104 else
6105 $as_echo "$as_me: failed program was:" >&5
6106 sed 's/^/| /' conftest.$ac_ext >&5
6108 ac_cv_header_time=no
6111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6113 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6114 $as_echo "$ac_cv_header_time" >&6; }
6115 if test $ac_cv_header_time = yes; then
6117 cat >>confdefs.h <<\_ACEOF
6118 #define TIME_WITH_SYS_TIME 1
6119 _ACEOF
6123 # The cast to long int works around a bug in the HP C Compiler
6124 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6125 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6126 # This bug is HP SR number 8606223364.
6127 { $as_echo "$as_me:$LINENO: checking size of short" >&5
6128 $as_echo_n "checking size of short... " >&6; }
6129 if test "${ac_cv_sizeof_short+set}" = set; then
6130 $as_echo_n "(cached) " >&6
6131 else
6132 if test "$cross_compiling" = yes; then
6133 # Depending upon the size, compute the lo and hi bounds.
6134 cat >conftest.$ac_ext <<_ACEOF
6135 /* confdefs.h. */
6136 _ACEOF
6137 cat confdefs.h >>conftest.$ac_ext
6138 cat >>conftest.$ac_ext <<_ACEOF
6139 /* end confdefs.h. */
6140 $ac_includes_default
6142 main ()
6144 static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= 0)];
6145 test_array [0] = 0
6148 return 0;
6150 _ACEOF
6151 rm -f conftest.$ac_objext
6152 if { (ac_try="$ac_compile"
6153 case "(($ac_try" in
6154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6155 *) ac_try_echo=$ac_try;;
6156 esac
6157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6158 $as_echo "$ac_try_echo") >&5
6159 (eval "$ac_compile") 2>conftest.er1
6160 ac_status=$?
6161 grep -v '^ *+' conftest.er1 >conftest.err
6162 rm -f conftest.er1
6163 cat conftest.err >&5
6164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); } && {
6166 test -z "$ac_c_werror_flag" ||
6167 test ! -s conftest.err
6168 } && test -s conftest.$ac_objext; then
6169 ac_lo=0 ac_mid=0
6170 while :; do
6171 cat >conftest.$ac_ext <<_ACEOF
6172 /* confdefs.h. */
6173 _ACEOF
6174 cat confdefs.h >>conftest.$ac_ext
6175 cat >>conftest.$ac_ext <<_ACEOF
6176 /* end confdefs.h. */
6177 $ac_includes_default
6179 main ()
6181 static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
6182 test_array [0] = 0
6185 return 0;
6187 _ACEOF
6188 rm -f conftest.$ac_objext
6189 if { (ac_try="$ac_compile"
6190 case "(($ac_try" in
6191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6192 *) ac_try_echo=$ac_try;;
6193 esac
6194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6195 $as_echo "$ac_try_echo") >&5
6196 (eval "$ac_compile") 2>conftest.er1
6197 ac_status=$?
6198 grep -v '^ *+' conftest.er1 >conftest.err
6199 rm -f conftest.er1
6200 cat conftest.err >&5
6201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6202 (exit $ac_status); } && {
6203 test -z "$ac_c_werror_flag" ||
6204 test ! -s conftest.err
6205 } && test -s conftest.$ac_objext; then
6206 ac_hi=$ac_mid; break
6207 else
6208 $as_echo "$as_me: failed program was:" >&5
6209 sed 's/^/| /' conftest.$ac_ext >&5
6211 ac_lo=`expr $ac_mid + 1`
6212 if test $ac_lo -le $ac_mid; then
6213 ac_lo= ac_hi=
6214 break
6216 ac_mid=`expr 2 '*' $ac_mid + 1`
6219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6220 done
6221 else
6222 $as_echo "$as_me: failed program was:" >&5
6223 sed 's/^/| /' conftest.$ac_ext >&5
6225 cat >conftest.$ac_ext <<_ACEOF
6226 /* confdefs.h. */
6227 _ACEOF
6228 cat confdefs.h >>conftest.$ac_ext
6229 cat >>conftest.$ac_ext <<_ACEOF
6230 /* end confdefs.h. */
6231 $ac_includes_default
6233 main ()
6235 static int test_array [1 - 2 * !(((long int) (sizeof (short))) < 0)];
6236 test_array [0] = 0
6239 return 0;
6241 _ACEOF
6242 rm -f conftest.$ac_objext
6243 if { (ac_try="$ac_compile"
6244 case "(($ac_try" in
6245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6246 *) ac_try_echo=$ac_try;;
6247 esac
6248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6249 $as_echo "$ac_try_echo") >&5
6250 (eval "$ac_compile") 2>conftest.er1
6251 ac_status=$?
6252 grep -v '^ *+' conftest.er1 >conftest.err
6253 rm -f conftest.er1
6254 cat conftest.err >&5
6255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); } && {
6257 test -z "$ac_c_werror_flag" ||
6258 test ! -s conftest.err
6259 } && test -s conftest.$ac_objext; then
6260 ac_hi=-1 ac_mid=-1
6261 while :; do
6262 cat >conftest.$ac_ext <<_ACEOF
6263 /* confdefs.h. */
6264 _ACEOF
6265 cat confdefs.h >>conftest.$ac_ext
6266 cat >>conftest.$ac_ext <<_ACEOF
6267 /* end confdefs.h. */
6268 $ac_includes_default
6270 main ()
6272 static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= $ac_mid)];
6273 test_array [0] = 0
6276 return 0;
6278 _ACEOF
6279 rm -f conftest.$ac_objext
6280 if { (ac_try="$ac_compile"
6281 case "(($ac_try" in
6282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6283 *) ac_try_echo=$ac_try;;
6284 esac
6285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6286 $as_echo "$ac_try_echo") >&5
6287 (eval "$ac_compile") 2>conftest.er1
6288 ac_status=$?
6289 grep -v '^ *+' conftest.er1 >conftest.err
6290 rm -f conftest.er1
6291 cat conftest.err >&5
6292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } && {
6294 test -z "$ac_c_werror_flag" ||
6295 test ! -s conftest.err
6296 } && test -s conftest.$ac_objext; then
6297 ac_lo=$ac_mid; break
6298 else
6299 $as_echo "$as_me: failed program was:" >&5
6300 sed 's/^/| /' conftest.$ac_ext >&5
6302 ac_hi=`expr '(' $ac_mid ')' - 1`
6303 if test $ac_mid -le $ac_hi; then
6304 ac_lo= ac_hi=
6305 break
6307 ac_mid=`expr 2 '*' $ac_mid`
6310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6311 done
6312 else
6313 $as_echo "$as_me: failed program was:" >&5
6314 sed 's/^/| /' conftest.$ac_ext >&5
6316 ac_lo= ac_hi=
6319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6323 # Binary search between lo and hi bounds.
6324 while test "x$ac_lo" != "x$ac_hi"; do
6325 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6326 cat >conftest.$ac_ext <<_ACEOF
6327 /* confdefs.h. */
6328 _ACEOF
6329 cat confdefs.h >>conftest.$ac_ext
6330 cat >>conftest.$ac_ext <<_ACEOF
6331 /* end confdefs.h. */
6332 $ac_includes_default
6334 main ()
6336 static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
6337 test_array [0] = 0
6340 return 0;
6342 _ACEOF
6343 rm -f conftest.$ac_objext
6344 if { (ac_try="$ac_compile"
6345 case "(($ac_try" in
6346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6347 *) ac_try_echo=$ac_try;;
6348 esac
6349 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6350 $as_echo "$ac_try_echo") >&5
6351 (eval "$ac_compile") 2>conftest.er1
6352 ac_status=$?
6353 grep -v '^ *+' conftest.er1 >conftest.err
6354 rm -f conftest.er1
6355 cat conftest.err >&5
6356 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6357 (exit $ac_status); } && {
6358 test -z "$ac_c_werror_flag" ||
6359 test ! -s conftest.err
6360 } && test -s conftest.$ac_objext; then
6361 ac_hi=$ac_mid
6362 else
6363 $as_echo "$as_me: failed program was:" >&5
6364 sed 's/^/| /' conftest.$ac_ext >&5
6366 ac_lo=`expr '(' $ac_mid ')' + 1`
6369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6370 done
6371 case $ac_lo in
6372 ?*) ac_cv_sizeof_short=$ac_lo;;
6373 '') if test "$ac_cv_type_short" = yes; then
6374 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6376 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
6377 See \`config.log' for more details." >&5
6378 $as_echo "$as_me: error: cannot compute sizeof (short)
6379 See \`config.log' for more details." >&2;}
6380 { (exit 77); exit 77; }; }; }
6381 else
6382 ac_cv_sizeof_short=0
6383 fi ;;
6384 esac
6385 else
6386 cat >conftest.$ac_ext <<_ACEOF
6387 /* confdefs.h. */
6388 _ACEOF
6389 cat confdefs.h >>conftest.$ac_ext
6390 cat >>conftest.$ac_ext <<_ACEOF
6391 /* end confdefs.h. */
6392 $ac_includes_default
6393 static long int longval () { return (long int) (sizeof (short)); }
6394 static unsigned long int ulongval () { return (long int) (sizeof (short)); }
6395 #include <stdio.h>
6396 #include <stdlib.h>
6398 main ()
6401 FILE *f = fopen ("conftest.val", "w");
6402 if (! f)
6403 return 1;
6404 if (((long int) (sizeof (short))) < 0)
6406 long int i = longval ();
6407 if (i != ((long int) (sizeof (short))))
6408 return 1;
6409 fprintf (f, "%ld", i);
6411 else
6413 unsigned long int i = ulongval ();
6414 if (i != ((long int) (sizeof (short))))
6415 return 1;
6416 fprintf (f, "%lu", i);
6418 /* Do not output a trailing newline, as this causes \r\n confusion
6419 on some platforms. */
6420 return ferror (f) || fclose (f) != 0;
6423 return 0;
6425 _ACEOF
6426 rm -f conftest$ac_exeext
6427 if { (ac_try="$ac_link"
6428 case "(($ac_try" in
6429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6430 *) ac_try_echo=$ac_try;;
6431 esac
6432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6433 $as_echo "$ac_try_echo") >&5
6434 (eval "$ac_link") 2>&5
6435 ac_status=$?
6436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6438 { (case "(($ac_try" in
6439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6440 *) ac_try_echo=$ac_try;;
6441 esac
6442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6443 $as_echo "$ac_try_echo") >&5
6444 (eval "$ac_try") 2>&5
6445 ac_status=$?
6446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); }; }; then
6448 ac_cv_sizeof_short=`cat conftest.val`
6449 else
6450 $as_echo "$as_me: program exited with status $ac_status" >&5
6451 $as_echo "$as_me: failed program was:" >&5
6452 sed 's/^/| /' conftest.$ac_ext >&5
6454 ( exit $ac_status )
6455 if test "$ac_cv_type_short" = yes; then
6456 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6458 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
6459 See \`config.log' for more details." >&5
6460 $as_echo "$as_me: error: cannot compute sizeof (short)
6461 See \`config.log' for more details." >&2;}
6462 { (exit 77); exit 77; }; }; }
6463 else
6464 ac_cv_sizeof_short=0
6467 rm -rf conftest.dSYM
6468 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6470 rm -f conftest.val
6472 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
6473 $as_echo "$ac_cv_sizeof_short" >&6; }
6477 cat >>confdefs.h <<_ACEOF
6478 #define SIZEOF_SHORT $ac_cv_sizeof_short
6479 _ACEOF
6482 # The cast to long int works around a bug in the HP C Compiler
6483 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6484 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6485 # This bug is HP SR number 8606223364.
6486 { $as_echo "$as_me:$LINENO: checking size of int" >&5
6487 $as_echo_n "checking size of int... " >&6; }
6488 if test "${ac_cv_sizeof_int+set}" = set; then
6489 $as_echo_n "(cached) " >&6
6490 else
6491 if test "$cross_compiling" = yes; then
6492 # Depending upon the size, compute the lo and hi bounds.
6493 cat >conftest.$ac_ext <<_ACEOF
6494 /* confdefs.h. */
6495 _ACEOF
6496 cat confdefs.h >>conftest.$ac_ext
6497 cat >>conftest.$ac_ext <<_ACEOF
6498 /* end confdefs.h. */
6499 $ac_includes_default
6501 main ()
6503 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
6504 test_array [0] = 0
6507 return 0;
6509 _ACEOF
6510 rm -f conftest.$ac_objext
6511 if { (ac_try="$ac_compile"
6512 case "(($ac_try" in
6513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6514 *) ac_try_echo=$ac_try;;
6515 esac
6516 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6517 $as_echo "$ac_try_echo") >&5
6518 (eval "$ac_compile") 2>conftest.er1
6519 ac_status=$?
6520 grep -v '^ *+' conftest.er1 >conftest.err
6521 rm -f conftest.er1
6522 cat conftest.err >&5
6523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); } && {
6525 test -z "$ac_c_werror_flag" ||
6526 test ! -s conftest.err
6527 } && test -s conftest.$ac_objext; then
6528 ac_lo=0 ac_mid=0
6529 while :; do
6530 cat >conftest.$ac_ext <<_ACEOF
6531 /* confdefs.h. */
6532 _ACEOF
6533 cat confdefs.h >>conftest.$ac_ext
6534 cat >>conftest.$ac_ext <<_ACEOF
6535 /* end confdefs.h. */
6536 $ac_includes_default
6538 main ()
6540 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
6541 test_array [0] = 0
6544 return 0;
6546 _ACEOF
6547 rm -f conftest.$ac_objext
6548 if { (ac_try="$ac_compile"
6549 case "(($ac_try" in
6550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6551 *) ac_try_echo=$ac_try;;
6552 esac
6553 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6554 $as_echo "$ac_try_echo") >&5
6555 (eval "$ac_compile") 2>conftest.er1
6556 ac_status=$?
6557 grep -v '^ *+' conftest.er1 >conftest.err
6558 rm -f conftest.er1
6559 cat conftest.err >&5
6560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); } && {
6562 test -z "$ac_c_werror_flag" ||
6563 test ! -s conftest.err
6564 } && test -s conftest.$ac_objext; then
6565 ac_hi=$ac_mid; break
6566 else
6567 $as_echo "$as_me: failed program was:" >&5
6568 sed 's/^/| /' conftest.$ac_ext >&5
6570 ac_lo=`expr $ac_mid + 1`
6571 if test $ac_lo -le $ac_mid; then
6572 ac_lo= ac_hi=
6573 break
6575 ac_mid=`expr 2 '*' $ac_mid + 1`
6578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6579 done
6580 else
6581 $as_echo "$as_me: failed program was:" >&5
6582 sed 's/^/| /' conftest.$ac_ext >&5
6584 cat >conftest.$ac_ext <<_ACEOF
6585 /* confdefs.h. */
6586 _ACEOF
6587 cat confdefs.h >>conftest.$ac_ext
6588 cat >>conftest.$ac_ext <<_ACEOF
6589 /* end confdefs.h. */
6590 $ac_includes_default
6592 main ()
6594 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
6595 test_array [0] = 0
6598 return 0;
6600 _ACEOF
6601 rm -f conftest.$ac_objext
6602 if { (ac_try="$ac_compile"
6603 case "(($ac_try" in
6604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6605 *) ac_try_echo=$ac_try;;
6606 esac
6607 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6608 $as_echo "$ac_try_echo") >&5
6609 (eval "$ac_compile") 2>conftest.er1
6610 ac_status=$?
6611 grep -v '^ *+' conftest.er1 >conftest.err
6612 rm -f conftest.er1
6613 cat conftest.err >&5
6614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 (exit $ac_status); } && {
6616 test -z "$ac_c_werror_flag" ||
6617 test ! -s conftest.err
6618 } && test -s conftest.$ac_objext; then
6619 ac_hi=-1 ac_mid=-1
6620 while :; do
6621 cat >conftest.$ac_ext <<_ACEOF
6622 /* confdefs.h. */
6623 _ACEOF
6624 cat confdefs.h >>conftest.$ac_ext
6625 cat >>conftest.$ac_ext <<_ACEOF
6626 /* end confdefs.h. */
6627 $ac_includes_default
6629 main ()
6631 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
6632 test_array [0] = 0
6635 return 0;
6637 _ACEOF
6638 rm -f conftest.$ac_objext
6639 if { (ac_try="$ac_compile"
6640 case "(($ac_try" in
6641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6642 *) ac_try_echo=$ac_try;;
6643 esac
6644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6645 $as_echo "$ac_try_echo") >&5
6646 (eval "$ac_compile") 2>conftest.er1
6647 ac_status=$?
6648 grep -v '^ *+' conftest.er1 >conftest.err
6649 rm -f conftest.er1
6650 cat conftest.err >&5
6651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); } && {
6653 test -z "$ac_c_werror_flag" ||
6654 test ! -s conftest.err
6655 } && test -s conftest.$ac_objext; then
6656 ac_lo=$ac_mid; break
6657 else
6658 $as_echo "$as_me: failed program was:" >&5
6659 sed 's/^/| /' conftest.$ac_ext >&5
6661 ac_hi=`expr '(' $ac_mid ')' - 1`
6662 if test $ac_mid -le $ac_hi; then
6663 ac_lo= ac_hi=
6664 break
6666 ac_mid=`expr 2 '*' $ac_mid`
6669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6670 done
6671 else
6672 $as_echo "$as_me: failed program was:" >&5
6673 sed 's/^/| /' conftest.$ac_ext >&5
6675 ac_lo= ac_hi=
6678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6682 # Binary search between lo and hi bounds.
6683 while test "x$ac_lo" != "x$ac_hi"; do
6684 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6685 cat >conftest.$ac_ext <<_ACEOF
6686 /* confdefs.h. */
6687 _ACEOF
6688 cat confdefs.h >>conftest.$ac_ext
6689 cat >>conftest.$ac_ext <<_ACEOF
6690 /* end confdefs.h. */
6691 $ac_includes_default
6693 main ()
6695 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
6696 test_array [0] = 0
6699 return 0;
6701 _ACEOF
6702 rm -f conftest.$ac_objext
6703 if { (ac_try="$ac_compile"
6704 case "(($ac_try" in
6705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6706 *) ac_try_echo=$ac_try;;
6707 esac
6708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6709 $as_echo "$ac_try_echo") >&5
6710 (eval "$ac_compile") 2>conftest.er1
6711 ac_status=$?
6712 grep -v '^ *+' conftest.er1 >conftest.err
6713 rm -f conftest.er1
6714 cat conftest.err >&5
6715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6716 (exit $ac_status); } && {
6717 test -z "$ac_c_werror_flag" ||
6718 test ! -s conftest.err
6719 } && test -s conftest.$ac_objext; then
6720 ac_hi=$ac_mid
6721 else
6722 $as_echo "$as_me: failed program was:" >&5
6723 sed 's/^/| /' conftest.$ac_ext >&5
6725 ac_lo=`expr '(' $ac_mid ')' + 1`
6728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6729 done
6730 case $ac_lo in
6731 ?*) ac_cv_sizeof_int=$ac_lo;;
6732 '') if test "$ac_cv_type_int" = yes; then
6733 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6735 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
6736 See \`config.log' for more details." >&5
6737 $as_echo "$as_me: error: cannot compute sizeof (int)
6738 See \`config.log' for more details." >&2;}
6739 { (exit 77); exit 77; }; }; }
6740 else
6741 ac_cv_sizeof_int=0
6742 fi ;;
6743 esac
6744 else
6745 cat >conftest.$ac_ext <<_ACEOF
6746 /* confdefs.h. */
6747 _ACEOF
6748 cat confdefs.h >>conftest.$ac_ext
6749 cat >>conftest.$ac_ext <<_ACEOF
6750 /* end confdefs.h. */
6751 $ac_includes_default
6752 static long int longval () { return (long int) (sizeof (int)); }
6753 static unsigned long int ulongval () { return (long int) (sizeof (int)); }
6754 #include <stdio.h>
6755 #include <stdlib.h>
6757 main ()
6760 FILE *f = fopen ("conftest.val", "w");
6761 if (! f)
6762 return 1;
6763 if (((long int) (sizeof (int))) < 0)
6765 long int i = longval ();
6766 if (i != ((long int) (sizeof (int))))
6767 return 1;
6768 fprintf (f, "%ld", i);
6770 else
6772 unsigned long int i = ulongval ();
6773 if (i != ((long int) (sizeof (int))))
6774 return 1;
6775 fprintf (f, "%lu", i);
6777 /* Do not output a trailing newline, as this causes \r\n confusion
6778 on some platforms. */
6779 return ferror (f) || fclose (f) != 0;
6782 return 0;
6784 _ACEOF
6785 rm -f conftest$ac_exeext
6786 if { (ac_try="$ac_link"
6787 case "(($ac_try" in
6788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6789 *) ac_try_echo=$ac_try;;
6790 esac
6791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6792 $as_echo "$ac_try_echo") >&5
6793 (eval "$ac_link") 2>&5
6794 ac_status=$?
6795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6796 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6797 { (case "(($ac_try" in
6798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6799 *) ac_try_echo=$ac_try;;
6800 esac
6801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6802 $as_echo "$ac_try_echo") >&5
6803 (eval "$ac_try") 2>&5
6804 ac_status=$?
6805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); }; }; then
6807 ac_cv_sizeof_int=`cat conftest.val`
6808 else
6809 $as_echo "$as_me: program exited with status $ac_status" >&5
6810 $as_echo "$as_me: failed program was:" >&5
6811 sed 's/^/| /' conftest.$ac_ext >&5
6813 ( exit $ac_status )
6814 if test "$ac_cv_type_int" = yes; then
6815 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6817 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
6818 See \`config.log' for more details." >&5
6819 $as_echo "$as_me: error: cannot compute sizeof (int)
6820 See \`config.log' for more details." >&2;}
6821 { (exit 77); exit 77; }; }; }
6822 else
6823 ac_cv_sizeof_int=0
6826 rm -rf conftest.dSYM
6827 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6829 rm -f conftest.val
6831 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6832 $as_echo "$ac_cv_sizeof_int" >&6; }
6836 cat >>confdefs.h <<_ACEOF
6837 #define SIZEOF_INT $ac_cv_sizeof_int
6838 _ACEOF
6841 # The cast to long int works around a bug in the HP C Compiler
6842 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6843 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6844 # This bug is HP SR number 8606223364.
6845 { $as_echo "$as_me:$LINENO: checking size of long" >&5
6846 $as_echo_n "checking size of long... " >&6; }
6847 if test "${ac_cv_sizeof_long+set}" = set; then
6848 $as_echo_n "(cached) " >&6
6849 else
6850 if test "$cross_compiling" = yes; then
6851 # Depending upon the size, compute the lo and hi bounds.
6852 cat >conftest.$ac_ext <<_ACEOF
6853 /* confdefs.h. */
6854 _ACEOF
6855 cat confdefs.h >>conftest.$ac_ext
6856 cat >>conftest.$ac_ext <<_ACEOF
6857 /* end confdefs.h. */
6858 $ac_includes_default
6860 main ()
6862 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
6863 test_array [0] = 0
6866 return 0;
6868 _ACEOF
6869 rm -f conftest.$ac_objext
6870 if { (ac_try="$ac_compile"
6871 case "(($ac_try" in
6872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6873 *) ac_try_echo=$ac_try;;
6874 esac
6875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6876 $as_echo "$ac_try_echo") >&5
6877 (eval "$ac_compile") 2>conftest.er1
6878 ac_status=$?
6879 grep -v '^ *+' conftest.er1 >conftest.err
6880 rm -f conftest.er1
6881 cat conftest.err >&5
6882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); } && {
6884 test -z "$ac_c_werror_flag" ||
6885 test ! -s conftest.err
6886 } && test -s conftest.$ac_objext; then
6887 ac_lo=0 ac_mid=0
6888 while :; do
6889 cat >conftest.$ac_ext <<_ACEOF
6890 /* confdefs.h. */
6891 _ACEOF
6892 cat confdefs.h >>conftest.$ac_ext
6893 cat >>conftest.$ac_ext <<_ACEOF
6894 /* end confdefs.h. */
6895 $ac_includes_default
6897 main ()
6899 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
6900 test_array [0] = 0
6903 return 0;
6905 _ACEOF
6906 rm -f conftest.$ac_objext
6907 if { (ac_try="$ac_compile"
6908 case "(($ac_try" in
6909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6910 *) ac_try_echo=$ac_try;;
6911 esac
6912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6913 $as_echo "$ac_try_echo") >&5
6914 (eval "$ac_compile") 2>conftest.er1
6915 ac_status=$?
6916 grep -v '^ *+' conftest.er1 >conftest.err
6917 rm -f conftest.er1
6918 cat conftest.err >&5
6919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); } && {
6921 test -z "$ac_c_werror_flag" ||
6922 test ! -s conftest.err
6923 } && test -s conftest.$ac_objext; then
6924 ac_hi=$ac_mid; break
6925 else
6926 $as_echo "$as_me: failed program was:" >&5
6927 sed 's/^/| /' conftest.$ac_ext >&5
6929 ac_lo=`expr $ac_mid + 1`
6930 if test $ac_lo -le $ac_mid; then
6931 ac_lo= ac_hi=
6932 break
6934 ac_mid=`expr 2 '*' $ac_mid + 1`
6937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6938 done
6939 else
6940 $as_echo "$as_me: failed program was:" >&5
6941 sed 's/^/| /' conftest.$ac_ext >&5
6943 cat >conftest.$ac_ext <<_ACEOF
6944 /* confdefs.h. */
6945 _ACEOF
6946 cat confdefs.h >>conftest.$ac_ext
6947 cat >>conftest.$ac_ext <<_ACEOF
6948 /* end confdefs.h. */
6949 $ac_includes_default
6951 main ()
6953 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
6954 test_array [0] = 0
6957 return 0;
6959 _ACEOF
6960 rm -f conftest.$ac_objext
6961 if { (ac_try="$ac_compile"
6962 case "(($ac_try" in
6963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6964 *) ac_try_echo=$ac_try;;
6965 esac
6966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6967 $as_echo "$ac_try_echo") >&5
6968 (eval "$ac_compile") 2>conftest.er1
6969 ac_status=$?
6970 grep -v '^ *+' conftest.er1 >conftest.err
6971 rm -f conftest.er1
6972 cat conftest.err >&5
6973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); } && {
6975 test -z "$ac_c_werror_flag" ||
6976 test ! -s conftest.err
6977 } && test -s conftest.$ac_objext; then
6978 ac_hi=-1 ac_mid=-1
6979 while :; do
6980 cat >conftest.$ac_ext <<_ACEOF
6981 /* confdefs.h. */
6982 _ACEOF
6983 cat confdefs.h >>conftest.$ac_ext
6984 cat >>conftest.$ac_ext <<_ACEOF
6985 /* end confdefs.h. */
6986 $ac_includes_default
6988 main ()
6990 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
6991 test_array [0] = 0
6994 return 0;
6996 _ACEOF
6997 rm -f conftest.$ac_objext
6998 if { (ac_try="$ac_compile"
6999 case "(($ac_try" in
7000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7001 *) ac_try_echo=$ac_try;;
7002 esac
7003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7004 $as_echo "$ac_try_echo") >&5
7005 (eval "$ac_compile") 2>conftest.er1
7006 ac_status=$?
7007 grep -v '^ *+' conftest.er1 >conftest.err
7008 rm -f conftest.er1
7009 cat conftest.err >&5
7010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); } && {
7012 test -z "$ac_c_werror_flag" ||
7013 test ! -s conftest.err
7014 } && test -s conftest.$ac_objext; then
7015 ac_lo=$ac_mid; break
7016 else
7017 $as_echo "$as_me: failed program was:" >&5
7018 sed 's/^/| /' conftest.$ac_ext >&5
7020 ac_hi=`expr '(' $ac_mid ')' - 1`
7021 if test $ac_mid -le $ac_hi; then
7022 ac_lo= ac_hi=
7023 break
7025 ac_mid=`expr 2 '*' $ac_mid`
7028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7029 done
7030 else
7031 $as_echo "$as_me: failed program was:" >&5
7032 sed 's/^/| /' conftest.$ac_ext >&5
7034 ac_lo= ac_hi=
7037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7041 # Binary search between lo and hi bounds.
7042 while test "x$ac_lo" != "x$ac_hi"; do
7043 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7044 cat >conftest.$ac_ext <<_ACEOF
7045 /* confdefs.h. */
7046 _ACEOF
7047 cat confdefs.h >>conftest.$ac_ext
7048 cat >>conftest.$ac_ext <<_ACEOF
7049 /* end confdefs.h. */
7050 $ac_includes_default
7052 main ()
7054 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
7055 test_array [0] = 0
7058 return 0;
7060 _ACEOF
7061 rm -f conftest.$ac_objext
7062 if { (ac_try="$ac_compile"
7063 case "(($ac_try" in
7064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7065 *) ac_try_echo=$ac_try;;
7066 esac
7067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7068 $as_echo "$ac_try_echo") >&5
7069 (eval "$ac_compile") 2>conftest.er1
7070 ac_status=$?
7071 grep -v '^ *+' conftest.er1 >conftest.err
7072 rm -f conftest.er1
7073 cat conftest.err >&5
7074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); } && {
7076 test -z "$ac_c_werror_flag" ||
7077 test ! -s conftest.err
7078 } && test -s conftest.$ac_objext; then
7079 ac_hi=$ac_mid
7080 else
7081 $as_echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.$ac_ext >&5
7084 ac_lo=`expr '(' $ac_mid ')' + 1`
7087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7088 done
7089 case $ac_lo in
7090 ?*) ac_cv_sizeof_long=$ac_lo;;
7091 '') if test "$ac_cv_type_long" = yes; then
7092 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7094 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
7095 See \`config.log' for more details." >&5
7096 $as_echo "$as_me: error: cannot compute sizeof (long)
7097 See \`config.log' for more details." >&2;}
7098 { (exit 77); exit 77; }; }; }
7099 else
7100 ac_cv_sizeof_long=0
7101 fi ;;
7102 esac
7103 else
7104 cat >conftest.$ac_ext <<_ACEOF
7105 /* confdefs.h. */
7106 _ACEOF
7107 cat confdefs.h >>conftest.$ac_ext
7108 cat >>conftest.$ac_ext <<_ACEOF
7109 /* end confdefs.h. */
7110 $ac_includes_default
7111 static long int longval () { return (long int) (sizeof (long)); }
7112 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
7113 #include <stdio.h>
7114 #include <stdlib.h>
7116 main ()
7119 FILE *f = fopen ("conftest.val", "w");
7120 if (! f)
7121 return 1;
7122 if (((long int) (sizeof (long))) < 0)
7124 long int i = longval ();
7125 if (i != ((long int) (sizeof (long))))
7126 return 1;
7127 fprintf (f, "%ld", i);
7129 else
7131 unsigned long int i = ulongval ();
7132 if (i != ((long int) (sizeof (long))))
7133 return 1;
7134 fprintf (f, "%lu", i);
7136 /* Do not output a trailing newline, as this causes \r\n confusion
7137 on some platforms. */
7138 return ferror (f) || fclose (f) != 0;
7141 return 0;
7143 _ACEOF
7144 rm -f conftest$ac_exeext
7145 if { (ac_try="$ac_link"
7146 case "(($ac_try" in
7147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7148 *) ac_try_echo=$ac_try;;
7149 esac
7150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7151 $as_echo "$ac_try_echo") >&5
7152 (eval "$ac_link") 2>&5
7153 ac_status=$?
7154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7156 { (case "(($ac_try" in
7157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7158 *) ac_try_echo=$ac_try;;
7159 esac
7160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7161 $as_echo "$ac_try_echo") >&5
7162 (eval "$ac_try") 2>&5
7163 ac_status=$?
7164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165 (exit $ac_status); }; }; then
7166 ac_cv_sizeof_long=`cat conftest.val`
7167 else
7168 $as_echo "$as_me: program exited with status $ac_status" >&5
7169 $as_echo "$as_me: failed program was:" >&5
7170 sed 's/^/| /' conftest.$ac_ext >&5
7172 ( exit $ac_status )
7173 if test "$ac_cv_type_long" = yes; then
7174 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7176 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
7177 See \`config.log' for more details." >&5
7178 $as_echo "$as_me: error: cannot compute sizeof (long)
7179 See \`config.log' for more details." >&2;}
7180 { (exit 77); exit 77; }; }; }
7181 else
7182 ac_cv_sizeof_long=0
7185 rm -rf conftest.dSYM
7186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7188 rm -f conftest.val
7190 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7191 $as_echo "$ac_cv_sizeof_long" >&6; }
7195 cat >>confdefs.h <<_ACEOF
7196 #define SIZEOF_LONG $ac_cv_sizeof_long
7197 _ACEOF
7201 { $as_echo "$as_me:$LINENO: checking for working memcmp" >&5
7202 $as_echo_n "checking for working memcmp... " >&6; }
7203 if test "${ac_cv_func_memcmp_working+set}" = set; then
7204 $as_echo_n "(cached) " >&6
7205 else
7206 if test "$cross_compiling" = yes; then
7207 ac_cv_func_memcmp_working=no
7208 else
7209 cat >conftest.$ac_ext <<_ACEOF
7210 /* confdefs.h. */
7211 _ACEOF
7212 cat confdefs.h >>conftest.$ac_ext
7213 cat >>conftest.$ac_ext <<_ACEOF
7214 /* end confdefs.h. */
7215 $ac_includes_default
7217 main ()
7220 /* Some versions of memcmp are not 8-bit clean. */
7221 char c0 = '\100', c1 = '\200', c2 = '\201';
7222 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
7223 return 1;
7225 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
7226 or more and with at least one buffer not starting on a 4-byte boundary.
7227 William Lewis provided this test program. */
7229 char foo[21];
7230 char bar[21];
7231 int i;
7232 for (i = 0; i < 4; i++)
7234 char *a = foo + i;
7235 char *b = bar + i;
7236 strcpy (a, "--------01111111");
7237 strcpy (b, "--------10000000");
7238 if (memcmp (a, b, 16) >= 0)
7239 return 1;
7241 return 0;
7245 return 0;
7247 _ACEOF
7248 rm -f conftest$ac_exeext
7249 if { (ac_try="$ac_link"
7250 case "(($ac_try" in
7251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7252 *) ac_try_echo=$ac_try;;
7253 esac
7254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7255 $as_echo "$ac_try_echo") >&5
7256 (eval "$ac_link") 2>&5
7257 ac_status=$?
7258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7260 { (case "(($ac_try" in
7261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7262 *) ac_try_echo=$ac_try;;
7263 esac
7264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7265 $as_echo "$ac_try_echo") >&5
7266 (eval "$ac_try") 2>&5
7267 ac_status=$?
7268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269 (exit $ac_status); }; }; then
7270 ac_cv_func_memcmp_working=yes
7271 else
7272 $as_echo "$as_me: program exited with status $ac_status" >&5
7273 $as_echo "$as_me: failed program was:" >&5
7274 sed 's/^/| /' conftest.$ac_ext >&5
7276 ( exit $ac_status )
7277 ac_cv_func_memcmp_working=no
7279 rm -rf conftest.dSYM
7280 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7285 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
7286 $as_echo "$ac_cv_func_memcmp_working" >&6; }
7287 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
7288 *" memcmp.$ac_objext "* ) ;;
7289 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
7291 esac
7294 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
7295 $as_echo_n "checking return type of signal handlers... " >&6; }
7296 if test "${ac_cv_type_signal+set}" = set; then
7297 $as_echo_n "(cached) " >&6
7298 else
7299 cat >conftest.$ac_ext <<_ACEOF
7300 /* confdefs.h. */
7301 _ACEOF
7302 cat confdefs.h >>conftest.$ac_ext
7303 cat >>conftest.$ac_ext <<_ACEOF
7304 /* end confdefs.h. */
7305 #include <sys/types.h>
7306 #include <signal.h>
7309 main ()
7311 return *(signal (0, 0)) (0) == 1;
7313 return 0;
7315 _ACEOF
7316 rm -f conftest.$ac_objext
7317 if { (ac_try="$ac_compile"
7318 case "(($ac_try" in
7319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7320 *) ac_try_echo=$ac_try;;
7321 esac
7322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7323 $as_echo "$ac_try_echo") >&5
7324 (eval "$ac_compile") 2>conftest.er1
7325 ac_status=$?
7326 grep -v '^ *+' conftest.er1 >conftest.err
7327 rm -f conftest.er1
7328 cat conftest.err >&5
7329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); } && {
7331 test -z "$ac_c_werror_flag" ||
7332 test ! -s conftest.err
7333 } && test -s conftest.$ac_objext; then
7334 ac_cv_type_signal=int
7335 else
7336 $as_echo "$as_me: failed program was:" >&5
7337 sed 's/^/| /' conftest.$ac_ext >&5
7339 ac_cv_type_signal=void
7342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7344 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7345 $as_echo "$ac_cv_type_signal" >&6; }
7347 cat >>confdefs.h <<_ACEOF
7348 #define RETSIGTYPE $ac_cv_type_signal
7349 _ACEOF
7356 for ac_header in $ac_header_list
7358 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7359 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7360 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7361 $as_echo_n "checking for $ac_header... " >&6; }
7362 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7363 $as_echo_n "(cached) " >&6
7365 ac_res=`eval 'as_val=${'$as_ac_Header'}
7366 $as_echo "$as_val"'`
7367 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7368 $as_echo "$ac_res" >&6; }
7369 else
7370 # Is the header compilable?
7371 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7372 $as_echo_n "checking $ac_header usability... " >&6; }
7373 cat >conftest.$ac_ext <<_ACEOF
7374 /* confdefs.h. */
7375 _ACEOF
7376 cat confdefs.h >>conftest.$ac_ext
7377 cat >>conftest.$ac_ext <<_ACEOF
7378 /* end confdefs.h. */
7379 $ac_includes_default
7380 #include <$ac_header>
7381 _ACEOF
7382 rm -f conftest.$ac_objext
7383 if { (ac_try="$ac_compile"
7384 case "(($ac_try" in
7385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7386 *) ac_try_echo=$ac_try;;
7387 esac
7388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7389 $as_echo "$ac_try_echo") >&5
7390 (eval "$ac_compile") 2>conftest.er1
7391 ac_status=$?
7392 grep -v '^ *+' conftest.er1 >conftest.err
7393 rm -f conftest.er1
7394 cat conftest.err >&5
7395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); } && {
7397 test -z "$ac_c_werror_flag" ||
7398 test ! -s conftest.err
7399 } && test -s conftest.$ac_objext; then
7400 ac_header_compiler=yes
7401 else
7402 $as_echo "$as_me: failed program was:" >&5
7403 sed 's/^/| /' conftest.$ac_ext >&5
7405 ac_header_compiler=no
7408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7409 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7410 $as_echo "$ac_header_compiler" >&6; }
7412 # Is the header present?
7413 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7414 $as_echo_n "checking $ac_header presence... " >&6; }
7415 cat >conftest.$ac_ext <<_ACEOF
7416 /* confdefs.h. */
7417 _ACEOF
7418 cat confdefs.h >>conftest.$ac_ext
7419 cat >>conftest.$ac_ext <<_ACEOF
7420 /* end confdefs.h. */
7421 #include <$ac_header>
7422 _ACEOF
7423 if { (ac_try="$ac_cpp conftest.$ac_ext"
7424 case "(($ac_try" in
7425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7426 *) ac_try_echo=$ac_try;;
7427 esac
7428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7429 $as_echo "$ac_try_echo") >&5
7430 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7431 ac_status=$?
7432 grep -v '^ *+' conftest.er1 >conftest.err
7433 rm -f conftest.er1
7434 cat conftest.err >&5
7435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436 (exit $ac_status); } >/dev/null && {
7437 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7438 test ! -s conftest.err
7439 }; then
7440 ac_header_preproc=yes
7441 else
7442 $as_echo "$as_me: failed program was:" >&5
7443 sed 's/^/| /' conftest.$ac_ext >&5
7445 ac_header_preproc=no
7448 rm -f conftest.err conftest.$ac_ext
7449 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7450 $as_echo "$ac_header_preproc" >&6; }
7452 # So? What about this header?
7453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7454 yes:no: )
7455 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7456 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7457 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7458 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7459 ac_header_preproc=yes
7461 no:yes:* )
7462 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7463 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7464 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7465 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7466 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7467 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7468 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7469 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7470 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7471 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7472 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7473 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7476 esac
7477 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7478 $as_echo_n "checking for $ac_header... " >&6; }
7479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7480 $as_echo_n "(cached) " >&6
7481 else
7482 eval "$as_ac_Header=\$ac_header_preproc"
7484 ac_res=`eval 'as_val=${'$as_ac_Header'}
7485 $as_echo "$as_val"'`
7486 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7487 $as_echo "$ac_res" >&6; }
7490 as_val=`eval 'as_val=${'$as_ac_Header'}
7491 $as_echo "$as_val"'`
7492 if test "x$as_val" = x""yes; then
7493 cat >>confdefs.h <<_ACEOF
7494 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7495 _ACEOF
7499 done
7509 { $as_echo "$as_me:$LINENO: checking whether utime accepts a null argument" >&5
7510 $as_echo_n "checking whether utime accepts a null argument... " >&6; }
7511 if test "${ac_cv_func_utime_null+set}" = set; then
7512 $as_echo_n "(cached) " >&6
7513 else
7514 rm -f conftest.data; >conftest.data
7515 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
7516 if test "$cross_compiling" = yes; then
7517 ac_cv_func_utime_null=no
7518 else
7519 cat >conftest.$ac_ext <<_ACEOF
7520 /* confdefs.h. */
7521 _ACEOF
7522 cat confdefs.h >>conftest.$ac_ext
7523 cat >>conftest.$ac_ext <<_ACEOF
7524 /* end confdefs.h. */
7525 $ac_includes_default
7526 #ifdef HAVE_UTIME_H
7527 # include <utime.h>
7528 #endif
7530 main ()
7532 struct stat s, t;
7533 return ! (stat ("conftest.data", &s) == 0
7534 && utime ("conftest.data", 0) == 0
7535 && stat ("conftest.data", &t) == 0
7536 && t.st_mtime >= s.st_mtime
7537 && t.st_mtime - s.st_mtime < 120);
7539 return 0;
7541 _ACEOF
7542 rm -f conftest$ac_exeext
7543 if { (ac_try="$ac_link"
7544 case "(($ac_try" in
7545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7546 *) ac_try_echo=$ac_try;;
7547 esac
7548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7549 $as_echo "$ac_try_echo") >&5
7550 (eval "$ac_link") 2>&5
7551 ac_status=$?
7552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7554 { (case "(($ac_try" in
7555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7556 *) ac_try_echo=$ac_try;;
7557 esac
7558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7559 $as_echo "$ac_try_echo") >&5
7560 (eval "$ac_try") 2>&5
7561 ac_status=$?
7562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7563 (exit $ac_status); }; }; then
7564 ac_cv_func_utime_null=yes
7565 else
7566 $as_echo "$as_me: program exited with status $ac_status" >&5
7567 $as_echo "$as_me: failed program was:" >&5
7568 sed 's/^/| /' conftest.$ac_ext >&5
7570 ( exit $ac_status )
7571 ac_cv_func_utime_null=no
7573 rm -rf conftest.dSYM
7574 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7579 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_utime_null" >&5
7580 $as_echo "$ac_cv_func_utime_null" >&6; }
7581 if test $ac_cv_func_utime_null = yes; then
7583 cat >>confdefs.h <<\_ACEOF
7584 #define HAVE_UTIME_NULL 1
7585 _ACEOF
7588 rm -f conftest.data
7591 for ac_func in vprintf
7593 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7594 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7595 $as_echo_n "checking for $ac_func... " >&6; }
7596 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7597 $as_echo_n "(cached) " >&6
7598 else
7599 cat >conftest.$ac_ext <<_ACEOF
7600 /* confdefs.h. */
7601 _ACEOF
7602 cat confdefs.h >>conftest.$ac_ext
7603 cat >>conftest.$ac_ext <<_ACEOF
7604 /* end confdefs.h. */
7605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7607 #define $ac_func innocuous_$ac_func
7609 /* System header to define __stub macros and hopefully few prototypes,
7610 which can conflict with char $ac_func (); below.
7611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7612 <limits.h> exists even on freestanding compilers. */
7614 #ifdef __STDC__
7615 # include <limits.h>
7616 #else
7617 # include <assert.h>
7618 #endif
7620 #undef $ac_func
7622 /* Override any GCC internal prototype to avoid an error.
7623 Use char because int might match the return type of a GCC
7624 builtin and then its argument prototype would still apply. */
7625 #ifdef __cplusplus
7626 extern "C"
7627 #endif
7628 char $ac_func ();
7629 /* The GNU C library defines this for functions which it implements
7630 to always fail with ENOSYS. Some functions are actually named
7631 something starting with __ and the normal name is an alias. */
7632 #if defined __stub_$ac_func || defined __stub___$ac_func
7633 choke me
7634 #endif
7637 main ()
7639 return $ac_func ();
7641 return 0;
7643 _ACEOF
7644 rm -f conftest.$ac_objext conftest$ac_exeext
7645 if { (ac_try="$ac_link"
7646 case "(($ac_try" in
7647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7648 *) ac_try_echo=$ac_try;;
7649 esac
7650 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7651 $as_echo "$ac_try_echo") >&5
7652 (eval "$ac_link") 2>conftest.er1
7653 ac_status=$?
7654 grep -v '^ *+' conftest.er1 >conftest.err
7655 rm -f conftest.er1
7656 cat conftest.err >&5
7657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); } && {
7659 test -z "$ac_c_werror_flag" ||
7660 test ! -s conftest.err
7661 } && test -s conftest$ac_exeext && {
7662 test "$cross_compiling" = yes ||
7663 $as_test_x conftest$ac_exeext
7664 }; then
7665 eval "$as_ac_var=yes"
7666 else
7667 $as_echo "$as_me: failed program was:" >&5
7668 sed 's/^/| /' conftest.$ac_ext >&5
7670 eval "$as_ac_var=no"
7673 rm -rf conftest.dSYM
7674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7675 conftest$ac_exeext conftest.$ac_ext
7677 ac_res=`eval 'as_val=${'$as_ac_var'}
7678 $as_echo "$as_val"'`
7679 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7680 $as_echo "$ac_res" >&6; }
7681 as_val=`eval 'as_val=${'$as_ac_var'}
7682 $as_echo "$as_val"'`
7683 if test "x$as_val" = x""yes; then
7684 cat >>confdefs.h <<_ACEOF
7685 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7686 _ACEOF
7688 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
7689 $as_echo_n "checking for _doprnt... " >&6; }
7690 if test "${ac_cv_func__doprnt+set}" = set; then
7691 $as_echo_n "(cached) " >&6
7692 else
7693 cat >conftest.$ac_ext <<_ACEOF
7694 /* confdefs.h. */
7695 _ACEOF
7696 cat confdefs.h >>conftest.$ac_ext
7697 cat >>conftest.$ac_ext <<_ACEOF
7698 /* end confdefs.h. */
7699 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
7700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7701 #define _doprnt innocuous__doprnt
7703 /* System header to define __stub macros and hopefully few prototypes,
7704 which can conflict with char _doprnt (); below.
7705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7706 <limits.h> exists even on freestanding compilers. */
7708 #ifdef __STDC__
7709 # include <limits.h>
7710 #else
7711 # include <assert.h>
7712 #endif
7714 #undef _doprnt
7716 /* Override any GCC internal prototype to avoid an error.
7717 Use char because int might match the return type of a GCC
7718 builtin and then its argument prototype would still apply. */
7719 #ifdef __cplusplus
7720 extern "C"
7721 #endif
7722 char _doprnt ();
7723 /* The GNU C library defines this for functions which it implements
7724 to always fail with ENOSYS. Some functions are actually named
7725 something starting with __ and the normal name is an alias. */
7726 #if defined __stub__doprnt || defined __stub____doprnt
7727 choke me
7728 #endif
7731 main ()
7733 return _doprnt ();
7735 return 0;
7737 _ACEOF
7738 rm -f conftest.$ac_objext conftest$ac_exeext
7739 if { (ac_try="$ac_link"
7740 case "(($ac_try" in
7741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7742 *) ac_try_echo=$ac_try;;
7743 esac
7744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7745 $as_echo "$ac_try_echo") >&5
7746 (eval "$ac_link") 2>conftest.er1
7747 ac_status=$?
7748 grep -v '^ *+' conftest.er1 >conftest.err
7749 rm -f conftest.er1
7750 cat conftest.err >&5
7751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); } && {
7753 test -z "$ac_c_werror_flag" ||
7754 test ! -s conftest.err
7755 } && test -s conftest$ac_exeext && {
7756 test "$cross_compiling" = yes ||
7757 $as_test_x conftest$ac_exeext
7758 }; then
7759 ac_cv_func__doprnt=yes
7760 else
7761 $as_echo "$as_me: failed program was:" >&5
7762 sed 's/^/| /' conftest.$ac_ext >&5
7764 ac_cv_func__doprnt=no
7767 rm -rf conftest.dSYM
7768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7769 conftest$ac_exeext conftest.$ac_ext
7771 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
7772 $as_echo "$ac_cv_func__doprnt" >&6; }
7773 if test "x$ac_cv_func__doprnt" = x""yes; then
7775 cat >>confdefs.h <<\_ACEOF
7776 #define HAVE_DOPRNT 1
7777 _ACEOF
7782 done
7795 for ac_func in getcwd getwd strerror setvbuf tzset settz mkstemp tempnam gettimeofday setenv
7797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7798 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7799 $as_echo_n "checking for $ac_func... " >&6; }
7800 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7801 $as_echo_n "(cached) " >&6
7802 else
7803 cat >conftest.$ac_ext <<_ACEOF
7804 /* confdefs.h. */
7805 _ACEOF
7806 cat confdefs.h >>conftest.$ac_ext
7807 cat >>conftest.$ac_ext <<_ACEOF
7808 /* end confdefs.h. */
7809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7811 #define $ac_func innocuous_$ac_func
7813 /* System header to define __stub macros and hopefully few prototypes,
7814 which can conflict with char $ac_func (); below.
7815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7816 <limits.h> exists even on freestanding compilers. */
7818 #ifdef __STDC__
7819 # include <limits.h>
7820 #else
7821 # include <assert.h>
7822 #endif
7824 #undef $ac_func
7826 /* Override any GCC internal prototype to avoid an error.
7827 Use char because int might match the return type of a GCC
7828 builtin and then its argument prototype would still apply. */
7829 #ifdef __cplusplus
7830 extern "C"
7831 #endif
7832 char $ac_func ();
7833 /* The GNU C library defines this for functions which it implements
7834 to always fail with ENOSYS. Some functions are actually named
7835 something starting with __ and the normal name is an alias. */
7836 #if defined __stub_$ac_func || defined __stub___$ac_func
7837 choke me
7838 #endif
7841 main ()
7843 return $ac_func ();
7845 return 0;
7847 _ACEOF
7848 rm -f conftest.$ac_objext conftest$ac_exeext
7849 if { (ac_try="$ac_link"
7850 case "(($ac_try" in
7851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7852 *) ac_try_echo=$ac_try;;
7853 esac
7854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7855 $as_echo "$ac_try_echo") >&5
7856 (eval "$ac_link") 2>conftest.er1
7857 ac_status=$?
7858 grep -v '^ *+' conftest.er1 >conftest.err
7859 rm -f conftest.er1
7860 cat conftest.err >&5
7861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 (exit $ac_status); } && {
7863 test -z "$ac_c_werror_flag" ||
7864 test ! -s conftest.err
7865 } && test -s conftest$ac_exeext && {
7866 test "$cross_compiling" = yes ||
7867 $as_test_x conftest$ac_exeext
7868 }; then
7869 eval "$as_ac_var=yes"
7870 else
7871 $as_echo "$as_me: failed program was:" >&5
7872 sed 's/^/| /' conftest.$ac_ext >&5
7874 eval "$as_ac_var=no"
7877 rm -rf conftest.dSYM
7878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7879 conftest$ac_exeext conftest.$ac_ext
7881 ac_res=`eval 'as_val=${'$as_ac_var'}
7882 $as_echo "$as_val"'`
7883 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7884 $as_echo "$ac_res" >&6; }
7885 as_val=`eval 'as_val=${'$as_ac_var'}
7886 $as_echo "$as_val"'`
7887 if test "x$as_val" = x""yes; then
7888 cat >>confdefs.h <<_ACEOF
7889 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7890 _ACEOF
7893 done
7895 # Usefull, but special to newlib/MSVC
7897 for ac_func in strlwr
7899 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7900 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7901 $as_echo_n "checking for $ac_func... " >&6; }
7902 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7903 $as_echo_n "(cached) " >&6
7904 else
7905 cat >conftest.$ac_ext <<_ACEOF
7906 /* confdefs.h. */
7907 _ACEOF
7908 cat confdefs.h >>conftest.$ac_ext
7909 cat >>conftest.$ac_ext <<_ACEOF
7910 /* end confdefs.h. */
7911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7913 #define $ac_func innocuous_$ac_func
7915 /* System header to define __stub macros and hopefully few prototypes,
7916 which can conflict with char $ac_func (); below.
7917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7918 <limits.h> exists even on freestanding compilers. */
7920 #ifdef __STDC__
7921 # include <limits.h>
7922 #else
7923 # include <assert.h>
7924 #endif
7926 #undef $ac_func
7928 /* Override any GCC internal prototype to avoid an error.
7929 Use char because int might match the return type of a GCC
7930 builtin and then its argument prototype would still apply. */
7931 #ifdef __cplusplus
7932 extern "C"
7933 #endif
7934 char $ac_func ();
7935 /* The GNU C library defines this for functions which it implements
7936 to always fail with ENOSYS. Some functions are actually named
7937 something starting with __ and the normal name is an alias. */
7938 #if defined __stub_$ac_func || defined __stub___$ac_func
7939 choke me
7940 #endif
7943 main ()
7945 return $ac_func ();
7947 return 0;
7949 _ACEOF
7950 rm -f conftest.$ac_objext conftest$ac_exeext
7951 if { (ac_try="$ac_link"
7952 case "(($ac_try" in
7953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7954 *) ac_try_echo=$ac_try;;
7955 esac
7956 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7957 $as_echo "$ac_try_echo") >&5
7958 (eval "$ac_link") 2>conftest.er1
7959 ac_status=$?
7960 grep -v '^ *+' conftest.er1 >conftest.err
7961 rm -f conftest.er1
7962 cat conftest.err >&5
7963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7964 (exit $ac_status); } && {
7965 test -z "$ac_c_werror_flag" ||
7966 test ! -s conftest.err
7967 } && test -s conftest$ac_exeext && {
7968 test "$cross_compiling" = yes ||
7969 $as_test_x conftest$ac_exeext
7970 }; then
7971 eval "$as_ac_var=yes"
7972 else
7973 $as_echo "$as_me: failed program was:" >&5
7974 sed 's/^/| /' conftest.$ac_ext >&5
7976 eval "$as_ac_var=no"
7979 rm -rf conftest.dSYM
7980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7981 conftest$ac_exeext conftest.$ac_ext
7983 ac_res=`eval 'as_val=${'$as_ac_var'}
7984 $as_echo "$as_val"'`
7985 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7986 $as_echo "$ac_res" >&6; }
7987 as_val=`eval 'as_val=${'$as_ac_var'}
7988 $as_echo "$as_val"'`
7989 if test "x$as_val" = x""yes; then
7990 cat >>confdefs.h <<_ACEOF
7991 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7992 _ACEOF
7995 done
7998 cat >confcache <<\_ACEOF
7999 # This file is a shell script that caches the results of configure
8000 # tests run on this system so they can be shared between configure
8001 # scripts and configure runs, see configure's option --config-cache.
8002 # It is not useful on other systems. If it contains results you don't
8003 # want to keep, you may remove or edit it.
8005 # config.status only pays attention to the cache file if you give it
8006 # the --recheck option to rerun configure.
8008 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8009 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8010 # following values.
8012 _ACEOF
8014 # The following way of writing the cache mishandles newlines in values,
8015 # but we know of no workaround that is simple, portable, and efficient.
8016 # So, we kill variables containing newlines.
8017 # Ultrix sh set writes to stderr and can't be redirected directly,
8018 # and sets the high bit in the cache file unless we assign to the vars.
8020 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8021 eval ac_val=\$$ac_var
8022 case $ac_val in #(
8023 *${as_nl}*)
8024 case $ac_var in #(
8025 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
8026 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8027 esac
8028 case $ac_var in #(
8029 _ | IFS | as_nl) ;; #(
8030 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8031 *) $as_unset $ac_var ;;
8032 esac ;;
8033 esac
8034 done
8036 (set) 2>&1 |
8037 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8038 *${as_nl}ac_space=\ *)
8039 # `set' does not quote correctly, so add quotes (double-quote
8040 # substitution turns \\\\ into \\, and sed turns \\ into \).
8041 sed -n \
8042 "s/'/'\\\\''/g;
8043 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8044 ;; #(
8046 # `set' quotes correctly as required by POSIX, so do not add quotes.
8047 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8049 esac |
8050 sort
8052 sed '
8053 /^ac_cv_env_/b end
8054 t clear
8055 :clear
8056 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8057 t end
8058 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8059 :end' >>confcache
8060 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8061 if test -w "$cache_file"; then
8062 test "x$cache_file" != "x/dev/null" &&
8063 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
8064 $as_echo "$as_me: updating cache $cache_file" >&6;}
8065 cat confcache >$cache_file
8066 else
8067 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8068 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8071 rm -f confcache
8073 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8074 # Let make expand exec_prefix.
8075 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8077 DEFS=-DHAVE_CONFIG_H
8079 ac_libobjs=
8080 ac_ltlibobjs=
8081 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8082 # 1. Remove the extension, and $U if already installed.
8083 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8084 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8085 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8086 # will be set to the directory where LIBOBJS objects are built.
8087 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8088 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8089 done
8090 LIBOBJS=$ac_libobjs
8092 LTLIBOBJS=$ac_ltlibobjs
8095 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8096 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8097 Usually this means the macro was only invoked conditionally." >&5
8098 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8099 Usually this means the macro was only invoked conditionally." >&2;}
8100 { (exit 1); exit 1; }; }
8102 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8103 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8104 Usually this means the macro was only invoked conditionally." >&5
8105 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
8106 Usually this means the macro was only invoked conditionally." >&2;}
8107 { (exit 1); exit 1; }; }
8109 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8110 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8111 Usually this means the macro was only invoked conditionally." >&5
8112 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8113 Usually this means the macro was only invoked conditionally." >&2;}
8114 { (exit 1); exit 1; }; }
8116 if test -z "${OSTYPEUNIX_TRUE}" && test -z "${OSTYPEUNIX_FALSE}"; then
8117 { { $as_echo "$as_me:$LINENO: error: conditional \"OSTYPEUNIX\" was never defined.
8118 Usually this means the macro was only invoked conditionally." >&5
8119 $as_echo "$as_me: error: conditional \"OSTYPEUNIX\" was never defined.
8120 Usually this means the macro was only invoked conditionally." >&2;}
8121 { (exit 1); exit 1; }; }
8123 if test -z "${OSTYPEWIN32_TRUE}" && test -z "${OSTYPEWIN32_FALSE}"; then
8124 { { $as_echo "$as_me:$LINENO: error: conditional \"OSTYPEWIN32\" was never defined.
8125 Usually this means the macro was only invoked conditionally." >&5
8126 $as_echo "$as_me: error: conditional \"OSTYPEWIN32\" was never defined.
8127 Usually this means the macro was only invoked conditionally." >&2;}
8128 { (exit 1); exit 1; }; }
8130 if test -z "${DBUG_TRUE}" && test -z "${DBUG_FALSE}"; then
8131 { { $as_echo "$as_me:$LINENO: error: conditional \"DBUG\" was never defined.
8132 Usually this means the macro was only invoked conditionally." >&5
8133 $as_echo "$as_me: error: conditional \"DBUG\" was never defined.
8134 Usually this means the macro was only invoked conditionally." >&2;}
8135 { (exit 1); exit 1; }; }
8138 : ${CONFIG_STATUS=./config.status}
8139 ac_write_fail=0
8140 ac_clean_files_save=$ac_clean_files
8141 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8142 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8143 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8144 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8145 #! $SHELL
8146 # Generated by $as_me.
8147 # Run this file to recreate the current configuration.
8148 # Compiler output produced by configure, useful for debugging
8149 # configure, is in config.log if it exists.
8151 debug=false
8152 ac_cs_recheck=false
8153 ac_cs_silent=false
8154 SHELL=\${CONFIG_SHELL-$SHELL}
8155 _ACEOF
8157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8158 ## --------------------- ##
8159 ## M4sh Initialization. ##
8160 ## --------------------- ##
8162 # Be more Bourne compatible
8163 DUALCASE=1; export DUALCASE # for MKS sh
8164 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8165 emulate sh
8166 NULLCMD=:
8167 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8168 # is contrary to our usage. Disable this feature.
8169 alias -g '${1+"$@"}'='"$@"'
8170 setopt NO_GLOB_SUBST
8171 else
8172 case `(set -o) 2>/dev/null` in
8173 *posix*) set -o posix ;;
8174 esac
8181 # PATH needs CR
8182 # Avoid depending upon Character Ranges.
8183 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8184 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8185 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8186 as_cr_digits='0123456789'
8187 as_cr_alnum=$as_cr_Letters$as_cr_digits
8189 as_nl='
8191 export as_nl
8192 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8193 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8194 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8195 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8196 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8197 as_echo='printf %s\n'
8198 as_echo_n='printf %s'
8199 else
8200 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8201 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8202 as_echo_n='/usr/ucb/echo -n'
8203 else
8204 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8205 as_echo_n_body='eval
8206 arg=$1;
8207 case $arg in
8208 *"$as_nl"*)
8209 expr "X$arg" : "X\\(.*\\)$as_nl";
8210 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8211 esac;
8212 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8214 export as_echo_n_body
8215 as_echo_n='sh -c $as_echo_n_body as_echo'
8217 export as_echo_body
8218 as_echo='sh -c $as_echo_body as_echo'
8221 # The user is always right.
8222 if test "${PATH_SEPARATOR+set}" != set; then
8223 PATH_SEPARATOR=:
8224 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8225 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8226 PATH_SEPARATOR=';'
8230 # Support unset when possible.
8231 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8232 as_unset=unset
8233 else
8234 as_unset=false
8238 # IFS
8239 # We need space, tab and new line, in precisely that order. Quoting is
8240 # there to prevent editors from complaining about space-tab.
8241 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8242 # splitting by setting IFS to empty value.)
8243 IFS=" "" $as_nl"
8245 # Find who we are. Look in the path if we contain no directory separator.
8246 case $0 in
8247 *[\\/]* ) as_myself=$0 ;;
8248 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8249 for as_dir in $PATH
8251 IFS=$as_save_IFS
8252 test -z "$as_dir" && as_dir=.
8253 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8254 done
8255 IFS=$as_save_IFS
8258 esac
8259 # We did not find ourselves, most probably we were run as `sh COMMAND'
8260 # in which case we are not to be found in the path.
8261 if test "x$as_myself" = x; then
8262 as_myself=$0
8264 if test ! -f "$as_myself"; then
8265 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8266 { (exit 1); exit 1; }
8269 # Work around bugs in pre-3.0 UWIN ksh.
8270 for as_var in ENV MAIL MAILPATH
8271 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8272 done
8273 PS1='$ '
8274 PS2='> '
8275 PS4='+ '
8277 # NLS nuisances.
8278 LC_ALL=C
8279 export LC_ALL
8280 LANGUAGE=C
8281 export LANGUAGE
8283 # Required to use basename.
8284 if expr a : '\(a\)' >/dev/null 2>&1 &&
8285 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8286 as_expr=expr
8287 else
8288 as_expr=false
8291 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8292 as_basename=basename
8293 else
8294 as_basename=false
8298 # Name of the executable.
8299 as_me=`$as_basename -- "$0" ||
8300 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8301 X"$0" : 'X\(//\)$' \| \
8302 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8303 $as_echo X/"$0" |
8304 sed '/^.*\/\([^/][^/]*\)\/*$/{
8305 s//\1/
8308 /^X\/\(\/\/\)$/{
8309 s//\1/
8312 /^X\/\(\/\).*/{
8313 s//\1/
8316 s/.*/./; q'`
8318 # CDPATH.
8319 $as_unset CDPATH
8323 as_lineno_1=$LINENO
8324 as_lineno_2=$LINENO
8325 test "x$as_lineno_1" != "x$as_lineno_2" &&
8326 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8328 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8329 # uniformly replaced by the line number. The first 'sed' inserts a
8330 # line-number line after each line using $LINENO; the second 'sed'
8331 # does the real work. The second script uses 'N' to pair each
8332 # line-number line with the line containing $LINENO, and appends
8333 # trailing '-' during substitution so that $LINENO is not a special
8334 # case at line end.
8335 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8336 # scripts with optimization help from Paolo Bonzini. Blame Lee
8337 # E. McMahon (1931-1989) for sed's syntax. :-)
8338 sed -n '
8340 /[$]LINENO/=
8341 ' <$as_myself |
8342 sed '
8343 s/[$]LINENO.*/&-/
8344 t lineno
8346 :lineno
8348 :loop
8349 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8350 t loop
8351 s/-\n.*//
8352 ' >$as_me.lineno &&
8353 chmod +x "$as_me.lineno" ||
8354 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8355 { (exit 1); exit 1; }; }
8357 # Don't try to exec as it changes $[0], causing all sort of problems
8358 # (the dirname of $[0] is not the place where we might find the
8359 # original and so on. Autoconf is especially sensitive to this).
8360 . "./$as_me.lineno"
8361 # Exit status is that of the last command.
8362 exit
8366 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8367 as_dirname=dirname
8368 else
8369 as_dirname=false
8372 ECHO_C= ECHO_N= ECHO_T=
8373 case `echo -n x` in
8374 -n*)
8375 case `echo 'x\c'` in
8376 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8377 *) ECHO_C='\c';;
8378 esac;;
8380 ECHO_N='-n';;
8381 esac
8382 if expr a : '\(a\)' >/dev/null 2>&1 &&
8383 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8384 as_expr=expr
8385 else
8386 as_expr=false
8389 rm -f conf$$ conf$$.exe conf$$.file
8390 if test -d conf$$.dir; then
8391 rm -f conf$$.dir/conf$$.file
8392 else
8393 rm -f conf$$.dir
8394 mkdir conf$$.dir 2>/dev/null
8396 if (echo >conf$$.file) 2>/dev/null; then
8397 if ln -s conf$$.file conf$$ 2>/dev/null; then
8398 as_ln_s='ln -s'
8399 # ... but there are two gotchas:
8400 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8401 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8402 # In both cases, we have to default to `cp -p'.
8403 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8404 as_ln_s='cp -p'
8405 elif ln conf$$.file conf$$ 2>/dev/null; then
8406 as_ln_s=ln
8407 else
8408 as_ln_s='cp -p'
8410 else
8411 as_ln_s='cp -p'
8413 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8414 rmdir conf$$.dir 2>/dev/null
8416 if mkdir -p . 2>/dev/null; then
8417 as_mkdir_p=:
8418 else
8419 test -d ./-p && rmdir ./-p
8420 as_mkdir_p=false
8423 if test -x / >/dev/null 2>&1; then
8424 as_test_x='test -x'
8425 else
8426 if ls -dL / >/dev/null 2>&1; then
8427 as_ls_L_option=L
8428 else
8429 as_ls_L_option=
8431 as_test_x='
8432 eval sh -c '\''
8433 if test -d "$1"; then
8434 test -d "$1/.";
8435 else
8436 case $1 in
8437 -*)set "./$1";;
8438 esac;
8439 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8440 ???[sx]*):;;*)false;;esac;fi
8441 '\'' sh
8444 as_executable_p=$as_test_x
8446 # Sed expression to map a string onto a valid CPP name.
8447 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8449 # Sed expression to map a string onto a valid variable name.
8450 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8453 exec 6>&1
8455 # Save the log message, to keep $[0] and so on meaningful, and to
8456 # report actual input values of CONFIG_FILES etc. instead of their
8457 # values after options handling.
8458 ac_log="
8459 This file was extended by dmake $as_me 4.12, which was
8460 generated by GNU Autoconf 2.63. Invocation command line was
8462 CONFIG_FILES = $CONFIG_FILES
8463 CONFIG_HEADERS = $CONFIG_HEADERS
8464 CONFIG_LINKS = $CONFIG_LINKS
8465 CONFIG_COMMANDS = $CONFIG_COMMANDS
8466 $ $0 $@
8468 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8471 _ACEOF
8473 case $ac_config_files in *"
8474 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8475 esac
8477 case $ac_config_headers in *"
8478 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8479 esac
8482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8483 # Files that config.status was made for.
8484 config_files="$ac_config_files"
8485 config_headers="$ac_config_headers"
8486 config_commands="$ac_config_commands"
8488 _ACEOF
8490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8491 ac_cs_usage="\
8492 \`$as_me' instantiates files from templates according to the
8493 current configuration.
8495 Usage: $0 [OPTION]... [FILE]...
8497 -h, --help print this help, then exit
8498 -V, --version print version number and configuration settings, then exit
8499 -q, --quiet, --silent
8500 do not print progress messages
8501 -d, --debug don't remove temporary files
8502 --recheck update $as_me by reconfiguring in the same conditions
8503 --file=FILE[:TEMPLATE]
8504 instantiate the configuration file FILE
8505 --header=FILE[:TEMPLATE]
8506 instantiate the configuration header FILE
8508 Configuration files:
8509 $config_files
8511 Configuration headers:
8512 $config_headers
8514 Configuration commands:
8515 $config_commands
8517 Report bugs to <bug-autoconf@gnu.org>."
8519 _ACEOF
8520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8521 ac_cs_version="\\
8522 dmake config.status 4.12
8523 configured by $0, generated by GNU Autoconf 2.63,
8524 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8526 Copyright (C) 2008 Free Software Foundation, Inc.
8527 This config.status script is free software; the Free Software Foundation
8528 gives unlimited permission to copy, distribute and modify it."
8530 ac_pwd='$ac_pwd'
8531 srcdir='$srcdir'
8532 INSTALL='$INSTALL'
8533 AWK='$AWK'
8534 test -n "\$AWK" || AWK=awk
8535 _ACEOF
8537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8538 # The default lists apply if the user does not specify any file.
8539 ac_need_defaults=:
8540 while test $# != 0
8542 case $1 in
8543 --*=*)
8544 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8545 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8546 ac_shift=:
8549 ac_option=$1
8550 ac_optarg=$2
8551 ac_shift=shift
8553 esac
8555 case $ac_option in
8556 # Handling of the options.
8557 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8558 ac_cs_recheck=: ;;
8559 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8560 $as_echo "$ac_cs_version"; exit ;;
8561 --debug | --debu | --deb | --de | --d | -d )
8562 debug=: ;;
8563 --file | --fil | --fi | --f )
8564 $ac_shift
8565 case $ac_optarg in
8566 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8567 esac
8568 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
8569 ac_need_defaults=false;;
8570 --header | --heade | --head | --hea )
8571 $ac_shift
8572 case $ac_optarg in
8573 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8574 esac
8575 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
8576 ac_need_defaults=false;;
8577 --he | --h)
8578 # Conflict between --help and --header
8579 { $as_echo "$as_me: error: ambiguous option: $1
8580 Try \`$0 --help' for more information." >&2
8581 { (exit 1); exit 1; }; };;
8582 --help | --hel | -h )
8583 $as_echo "$ac_cs_usage"; exit ;;
8584 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8585 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8586 ac_cs_silent=: ;;
8588 # This is an error.
8589 -*) { $as_echo "$as_me: error: unrecognized option: $1
8590 Try \`$0 --help' for more information." >&2
8591 { (exit 1); exit 1; }; } ;;
8593 *) ac_config_targets="$ac_config_targets $1"
8594 ac_need_defaults=false ;;
8596 esac
8597 shift
8598 done
8600 ac_configure_extra_args=
8602 if $ac_cs_silent; then
8603 exec 6>/dev/null
8604 ac_configure_extra_args="$ac_configure_extra_args --silent"
8607 _ACEOF
8608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8609 if \$ac_cs_recheck; then
8610 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8611 shift
8612 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8613 CONFIG_SHELL='$SHELL'
8614 export CONFIG_SHELL
8615 exec "\$@"
8618 _ACEOF
8619 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8620 exec 5>>config.log
8622 echo
8623 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8624 ## Running $as_me. ##
8625 _ASBOX
8626 $as_echo "$ac_log"
8627 } >&5
8629 _ACEOF
8630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8632 # INIT-COMMANDS
8634 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8636 _ACEOF
8638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8640 # Handling of arguments.
8641 for ac_config_target in $ac_config_targets
8643 case $ac_config_target in
8644 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8645 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8646 "dmakeroot.h") CONFIG_FILES="$CONFIG_FILES dmakeroot.h" ;;
8647 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8648 "startup/config.mk") CONFIG_FILES="$CONFIG_FILES startup/config.mk" ;;
8649 "startup/Makefile") CONFIG_FILES="$CONFIG_FILES startup/Makefile" ;;
8650 "startup/unix/Makefile") CONFIG_FILES="$CONFIG_FILES startup/unix/Makefile" ;;
8651 "startup/unix/linux/Makefile") CONFIG_FILES="$CONFIG_FILES startup/unix/linux/Makefile" ;;
8652 "startup/unix/solaris/Makefile") CONFIG_FILES="$CONFIG_FILES startup/unix/solaris/Makefile" ;;
8653 "startup/unix/macosx/Makefile") CONFIG_FILES="$CONFIG_FILES startup/unix/macosx/Makefile" ;;
8654 "startup/unix/sysvr4/Makefile") CONFIG_FILES="$CONFIG_FILES startup/unix/sysvr4/Makefile" ;;
8655 "startup/unix/cygwin/Makefile") CONFIG_FILES="$CONFIG_FILES startup/unix/cygwin/Makefile" ;;
8656 "startup/unix/os2/Makefile") CONFIG_FILES="$CONFIG_FILES startup/unix/os2/Makefile" ;;
8657 "startup/winnt/Makefile") CONFIG_FILES="$CONFIG_FILES startup/winnt/Makefile" ;;
8658 "startup/winnt/mingw/Makefile") CONFIG_FILES="$CONFIG_FILES startup/winnt/mingw/Makefile" ;;
8659 "startup/winnt/msvc6/Makefile") CONFIG_FILES="$CONFIG_FILES startup/winnt/msvc6/Makefile" ;;
8660 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
8662 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8663 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8664 { (exit 1); exit 1; }; };;
8665 esac
8666 done
8669 # If the user did not use the arguments to specify the items to instantiate,
8670 # then the envvar interface is used. Set only those that are not.
8671 # We use the long form for the default assignment because of an extremely
8672 # bizarre bug on SunOS 4.1.3.
8673 if $ac_need_defaults; then
8674 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8675 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8676 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8679 # Have a temporary directory for convenience. Make it in the build tree
8680 # simply because there is no reason against having it here, and in addition,
8681 # creating and moving files from /tmp can sometimes cause problems.
8682 # Hook for its removal unless debugging.
8683 # Note that there is a small window in which the directory will not be cleaned:
8684 # after its creation but before its name has been assigned to `$tmp'.
8685 $debug ||
8687 tmp=
8688 trap 'exit_status=$?
8689 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8691 trap '{ (exit 1); exit 1; }' 1 2 13 15
8693 # Create a (secure) tmp directory for tmp files.
8696 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8697 test -n "$tmp" && test -d "$tmp"
8698 } ||
8700 tmp=./conf$$-$RANDOM
8701 (umask 077 && mkdir "$tmp")
8702 } ||
8704 $as_echo "$as_me: cannot create a temporary directory in ." >&2
8705 { (exit 1); exit 1; }
8708 # Set up the scripts for CONFIG_FILES section.
8709 # No need to generate them if there are no CONFIG_FILES.
8710 # This happens for instance with `./config.status config.h'.
8711 if test -n "$CONFIG_FILES"; then
8714 ac_cr=' '
8715 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8716 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8717 ac_cs_awk_cr='\\r'
8718 else
8719 ac_cs_awk_cr=$ac_cr
8722 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8723 _ACEOF
8727 echo "cat >conf$$subs.awk <<_ACEOF" &&
8728 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8729 echo "_ACEOF"
8730 } >conf$$subs.sh ||
8731 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8732 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8733 { (exit 1); exit 1; }; }
8734 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8735 ac_delim='%!_!# '
8736 for ac_last_try in false false false false false :; do
8737 . ./conf$$subs.sh ||
8738 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8739 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8740 { (exit 1); exit 1; }; }
8742 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8743 if test $ac_delim_n = $ac_delim_num; then
8744 break
8745 elif $ac_last_try; then
8746 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8747 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8748 { (exit 1); exit 1; }; }
8749 else
8750 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8752 done
8753 rm -f conf$$subs.sh
8755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8756 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
8757 _ACEOF
8758 sed -n '
8760 s/^/S["/; s/!.*/"]=/
8763 s/^[^!]*!//
8764 :repl
8765 t repl
8766 s/'"$ac_delim"'$//
8767 t delim
8770 s/\(.\{148\}\).*/\1/
8771 t more1
8772 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8775 b repl
8776 :more1
8777 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8780 s/.\{148\}//
8781 t nl
8782 :delim
8784 s/\(.\{148\}\).*/\1/
8785 t more2
8786 s/["\\]/\\&/g; s/^/"/; s/$/"/
8789 :more2
8790 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8793 s/.\{148\}//
8794 t delim
8795 ' <conf$$subs.awk | sed '
8796 /^[^""]/{
8798 s/\n//
8800 ' >>$CONFIG_STATUS || ac_write_fail=1
8801 rm -f conf$$subs.awk
8802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8803 _ACAWK
8804 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8805 for (key in S) S_is_set[key] = 1
8806 FS = "\a"
8810 line = $ 0
8811 nfields = split(line, field, "@")
8812 substed = 0
8813 len = length(field[1])
8814 for (i = 2; i < nfields; i++) {
8815 key = field[i]
8816 keylen = length(key)
8817 if (S_is_set[key]) {
8818 value = S[key]
8819 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8820 len += length(value) + length(field[++i])
8821 substed = 1
8822 } else
8823 len += 1 + keylen
8826 print line
8829 _ACAWK
8830 _ACEOF
8831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8832 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8833 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8834 else
8836 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8837 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
8838 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
8839 { (exit 1); exit 1; }; }
8840 _ACEOF
8842 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8843 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8844 # trailing colons and then remove the whole line if VPATH becomes empty
8845 # (actually we leave an empty line to preserve line numbers).
8846 if test "x$srcdir" = x.; then
8847 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8848 s/:*\$(srcdir):*/:/
8849 s/:*\${srcdir}:*/:/
8850 s/:*@srcdir@:*/:/
8851 s/^\([^=]*=[ ]*\):*/\1/
8852 s/:*$//
8853 s/^[^=]*=[ ]*$//
8857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8858 fi # test -n "$CONFIG_FILES"
8860 # Set up the scripts for CONFIG_HEADERS section.
8861 # No need to generate them if there are no CONFIG_HEADERS.
8862 # This happens for instance with `./config.status Makefile'.
8863 if test -n "$CONFIG_HEADERS"; then
8864 cat >"$tmp/defines.awk" <<\_ACAWK ||
8865 BEGIN {
8866 _ACEOF
8868 # Transform confdefs.h into an awk script `defines.awk', embedded as
8869 # here-document in config.status, that substitutes the proper values into
8870 # config.h.in to produce config.h.
8872 # Create a delimiter string that does not exist in confdefs.h, to ease
8873 # handling of long lines.
8874 ac_delim='%!_!# '
8875 for ac_last_try in false false :; do
8876 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
8877 if test -z "$ac_t"; then
8878 break
8879 elif $ac_last_try; then
8880 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
8881 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
8882 { (exit 1); exit 1; }; }
8883 else
8884 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8886 done
8888 # For the awk script, D is an array of macro values keyed by name,
8889 # likewise P contains macro parameters if any. Preserve backslash
8890 # newline sequences.
8892 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8893 sed -n '
8894 s/.\{148\}/&'"$ac_delim"'/g
8895 t rset
8896 :rset
8897 s/^[ ]*#[ ]*define[ ][ ]*/ /
8898 t def
8900 :def
8901 s/\\$//
8902 t bsnl
8903 s/["\\]/\\&/g
8904 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8905 D["\1"]=" \3"/p
8906 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8908 :bsnl
8909 s/["\\]/\\&/g
8910 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8911 D["\1"]=" \3\\\\\\n"\\/p
8912 t cont
8913 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8914 t cont
8916 :cont
8918 s/.\{148\}/&'"$ac_delim"'/g
8919 t clear
8920 :clear
8921 s/\\$//
8922 t bsnlc
8923 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8925 :bsnlc
8926 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8927 b cont
8928 ' <confdefs.h | sed '
8929 s/'"$ac_delim"'/"\\\
8930 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8933 for (key in D) D_is_set[key] = 1
8934 FS = "\a"
8936 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8937 line = \$ 0
8938 split(line, arg, " ")
8939 if (arg[1] == "#") {
8940 defundef = arg[2]
8941 mac1 = arg[3]
8942 } else {
8943 defundef = substr(arg[1], 2)
8944 mac1 = arg[2]
8946 split(mac1, mac2, "(") #)
8947 macro = mac2[1]
8948 prefix = substr(line, 1, index(line, defundef) - 1)
8949 if (D_is_set[macro]) {
8950 # Preserve the white space surrounding the "#".
8951 print prefix "define", macro P[macro] D[macro]
8952 next
8953 } else {
8954 # Replace #undef with comments. This is necessary, for example,
8955 # in the case of _POSIX_SOURCE, which is predefined and required
8956 # on some systems where configure will not decide to define it.
8957 if (defundef == "undef") {
8958 print "/*", prefix defundef, macro, "*/"
8959 next
8963 { print }
8964 _ACAWK
8965 _ACEOF
8966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8967 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
8968 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
8969 { (exit 1); exit 1; }; }
8970 fi # test -n "$CONFIG_HEADERS"
8973 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8974 shift
8975 for ac_tag
8977 case $ac_tag in
8978 :[FHLC]) ac_mode=$ac_tag; continue;;
8979 esac
8980 case $ac_mode$ac_tag in
8981 :[FHL]*:*);;
8982 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
8983 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
8984 { (exit 1); exit 1; }; };;
8985 :[FH]-) ac_tag=-:-;;
8986 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8987 esac
8988 ac_save_IFS=$IFS
8989 IFS=:
8990 set x $ac_tag
8991 IFS=$ac_save_IFS
8992 shift
8993 ac_file=$1
8994 shift
8996 case $ac_mode in
8997 :L) ac_source=$1;;
8998 :[FH])
8999 ac_file_inputs=
9000 for ac_f
9002 case $ac_f in
9003 -) ac_f="$tmp/stdin";;
9004 *) # Look for the file first in the build tree, then in the source tree
9005 # (if the path is not absolute). The absolute path cannot be DOS-style,
9006 # because $ac_f cannot contain `:'.
9007 test -f "$ac_f" ||
9008 case $ac_f in
9009 [\\/$]*) false;;
9010 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9011 esac ||
9012 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9013 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9014 { (exit 1); exit 1; }; };;
9015 esac
9016 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9017 ac_file_inputs="$ac_file_inputs '$ac_f'"
9018 done
9020 # Let's still pretend it is `configure' which instantiates (i.e., don't
9021 # use $as_me), people would be surprised to read:
9022 # /* config.h. Generated by config.status. */
9023 configure_input='Generated from '`
9024 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9025 `' by configure.'
9026 if test x"$ac_file" != x-; then
9027 configure_input="$ac_file. $configure_input"
9028 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
9029 $as_echo "$as_me: creating $ac_file" >&6;}
9031 # Neutralize special characters interpreted by sed in replacement strings.
9032 case $configure_input in #(
9033 *\&* | *\|* | *\\* )
9034 ac_sed_conf_input=`$as_echo "$configure_input" |
9035 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9036 *) ac_sed_conf_input=$configure_input;;
9037 esac
9039 case $ac_tag in
9040 *:-:* | *:-) cat >"$tmp/stdin" \
9041 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9042 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9043 { (exit 1); exit 1; }; } ;;
9044 esac
9046 esac
9048 ac_dir=`$as_dirname -- "$ac_file" ||
9049 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9050 X"$ac_file" : 'X\(//\)[^/]' \| \
9051 X"$ac_file" : 'X\(//\)$' \| \
9052 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9053 $as_echo X"$ac_file" |
9054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9055 s//\1/
9058 /^X\(\/\/\)[^/].*/{
9059 s//\1/
9062 /^X\(\/\/\)$/{
9063 s//\1/
9066 /^X\(\/\).*/{
9067 s//\1/
9070 s/.*/./; q'`
9071 { as_dir="$ac_dir"
9072 case $as_dir in #(
9073 -*) as_dir=./$as_dir;;
9074 esac
9075 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9076 as_dirs=
9077 while :; do
9078 case $as_dir in #(
9079 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9080 *) as_qdir=$as_dir;;
9081 esac
9082 as_dirs="'$as_qdir' $as_dirs"
9083 as_dir=`$as_dirname -- "$as_dir" ||
9084 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9085 X"$as_dir" : 'X\(//\)[^/]' \| \
9086 X"$as_dir" : 'X\(//\)$' \| \
9087 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9088 $as_echo X"$as_dir" |
9089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9090 s//\1/
9093 /^X\(\/\/\)[^/].*/{
9094 s//\1/
9097 /^X\(\/\/\)$/{
9098 s//\1/
9101 /^X\(\/\).*/{
9102 s//\1/
9105 s/.*/./; q'`
9106 test -d "$as_dir" && break
9107 done
9108 test -z "$as_dirs" || eval "mkdir $as_dirs"
9109 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9110 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9111 { (exit 1); exit 1; }; }; }
9112 ac_builddir=.
9114 case "$ac_dir" in
9115 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9117 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9118 # A ".." for each directory in $ac_dir_suffix.
9119 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9120 case $ac_top_builddir_sub in
9121 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9122 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9123 esac ;;
9124 esac
9125 ac_abs_top_builddir=$ac_pwd
9126 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9127 # for backward compatibility:
9128 ac_top_builddir=$ac_top_build_prefix
9130 case $srcdir in
9131 .) # We are building in place.
9132 ac_srcdir=.
9133 ac_top_srcdir=$ac_top_builddir_sub
9134 ac_abs_top_srcdir=$ac_pwd ;;
9135 [\\/]* | ?:[\\/]* ) # Absolute name.
9136 ac_srcdir=$srcdir$ac_dir_suffix;
9137 ac_top_srcdir=$srcdir
9138 ac_abs_top_srcdir=$srcdir ;;
9139 *) # Relative name.
9140 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9141 ac_top_srcdir=$ac_top_build_prefix$srcdir
9142 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9143 esac
9144 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9147 case $ac_mode in
9150 # CONFIG_FILE
9153 case $INSTALL in
9154 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9155 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9156 esac
9157 _ACEOF
9159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9160 # If the template does not know about datarootdir, expand it.
9161 # FIXME: This hack should be removed a few years after 2.60.
9162 ac_datarootdir_hack=; ac_datarootdir_seen=
9164 ac_sed_dataroot='
9165 /datarootdir/ {
9169 /@datadir@/p
9170 /@docdir@/p
9171 /@infodir@/p
9172 /@localedir@/p
9173 /@mandir@/p
9175 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9176 *datarootdir*) ac_datarootdir_seen=yes;;
9177 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9178 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9179 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9180 _ACEOF
9181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9182 ac_datarootdir_hack='
9183 s&@datadir@&$datadir&g
9184 s&@docdir@&$docdir&g
9185 s&@infodir@&$infodir&g
9186 s&@localedir@&$localedir&g
9187 s&@mandir@&$mandir&g
9188 s&\\\${datarootdir}&$datarootdir&g' ;;
9189 esac
9190 _ACEOF
9192 # Neutralize VPATH when `$srcdir' = `.'.
9193 # Shell code in configure.ac might set extrasub.
9194 # FIXME: do we really want to maintain this feature?
9195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9196 ac_sed_extra="$ac_vpsub
9197 $extrasub
9198 _ACEOF
9199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9201 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9202 s|@configure_input@|$ac_sed_conf_input|;t t
9203 s&@top_builddir@&$ac_top_builddir_sub&;t t
9204 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9205 s&@srcdir@&$ac_srcdir&;t t
9206 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9207 s&@top_srcdir@&$ac_top_srcdir&;t t
9208 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9209 s&@builddir@&$ac_builddir&;t t
9210 s&@abs_builddir@&$ac_abs_builddir&;t t
9211 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9212 s&@INSTALL@&$ac_INSTALL&;t t
9213 $ac_datarootdir_hack
9215 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9216 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9217 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9218 { (exit 1); exit 1; }; }
9220 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9221 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9222 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9223 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9224 which seems to be undefined. Please make sure it is defined." >&5
9225 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9226 which seems to be undefined. Please make sure it is defined." >&2;}
9228 rm -f "$tmp/stdin"
9229 case $ac_file in
9230 -) cat "$tmp/out" && rm -f "$tmp/out";;
9231 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9232 esac \
9233 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9234 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9235 { (exit 1); exit 1; }; }
9239 # CONFIG_HEADER
9241 if test x"$ac_file" != x-; then
9243 $as_echo "/* $configure_input */" \
9244 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9245 } >"$tmp/config.h" \
9246 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9247 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9248 { (exit 1); exit 1; }; }
9249 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9250 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9251 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9252 else
9253 rm -f "$ac_file"
9254 mv "$tmp/config.h" "$ac_file" \
9255 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9256 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9257 { (exit 1); exit 1; }; }
9259 else
9260 $as_echo "/* $configure_input */" \
9261 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9262 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
9263 $as_echo "$as_me: error: could not create -" >&2;}
9264 { (exit 1); exit 1; }; }
9266 # Compute "$ac_file"'s index in $config_headers.
9267 _am_stamp_count=1
9268 for _am_header in $config_headers :; do
9269 case $_am_header in
9270 "$ac_file" | "$ac_file":* )
9271 break ;;
9273 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9274 esac
9275 done
9276 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
9277 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9278 X"$ac_file" : 'X\(//\)[^/]' \| \
9279 X"$ac_file" : 'X\(//\)$' \| \
9280 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9281 $as_echo X"$ac_file" |
9282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9283 s//\1/
9286 /^X\(\/\/\)[^/].*/{
9287 s//\1/
9290 /^X\(\/\/\)$/{
9291 s//\1/
9294 /^X\(\/\).*/{
9295 s//\1/
9298 s/.*/./; q'`/stamp-h$_am_stamp_count
9301 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
9302 $as_echo "$as_me: executing $ac_file commands" >&6;}
9304 esac
9307 case $ac_file$ac_mode in
9308 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9309 # Strip MF so we end up with the name of the file.
9310 mf=`echo "$mf" | sed -e 's/:.*$//'`
9311 # Check whether this is an Automake generated Makefile or not.
9312 # We used to match only the files named `Makefile.in', but
9313 # some people rename them; so instead we look at the file content.
9314 # Grep'ing the first line is not enough: some people post-process
9315 # each Makefile.in and add a new line on top of each file to say so.
9316 # So let's grep whole file.
9317 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9318 dirpart=`$as_dirname -- "$mf" ||
9319 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9320 X"$mf" : 'X\(//\)[^/]' \| \
9321 X"$mf" : 'X\(//\)$' \| \
9322 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9323 $as_echo X"$mf" |
9324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9325 s//\1/
9328 /^X\(\/\/\)[^/].*/{
9329 s//\1/
9332 /^X\(\/\/\)$/{
9333 s//\1/
9336 /^X\(\/\).*/{
9337 s//\1/
9340 s/.*/./; q'`
9341 else
9342 continue
9344 # Extract the definition of DEPDIR, am__include, and am__quote
9345 # from the Makefile without running `make'.
9346 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9347 test -z "$DEPDIR" && continue
9348 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9349 test -z "am__include" && continue
9350 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9351 # When using ansi2knr, U may be empty or an underscore; expand it
9352 U=`sed -n 's/^U = //p' < "$mf"`
9353 # Find all dependency output files, they are included files with
9354 # $(DEPDIR) in their names. We invoke sed twice because it is the
9355 # simplest approach to changing $(DEPDIR) to its actual value in the
9356 # expansion.
9357 for file in `sed -n "
9358 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9359 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9360 # Make sure the directory exists.
9361 test -f "$dirpart/$file" && continue
9362 fdir=`$as_dirname -- "$file" ||
9363 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9364 X"$file" : 'X\(//\)[^/]' \| \
9365 X"$file" : 'X\(//\)$' \| \
9366 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9367 $as_echo X"$file" |
9368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9369 s//\1/
9372 /^X\(\/\/\)[^/].*/{
9373 s//\1/
9376 /^X\(\/\/\)$/{
9377 s//\1/
9380 /^X\(\/\).*/{
9381 s//\1/
9384 s/.*/./; q'`
9385 { as_dir=$dirpart/$fdir
9386 case $as_dir in #(
9387 -*) as_dir=./$as_dir;;
9388 esac
9389 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9390 as_dirs=
9391 while :; do
9392 case $as_dir in #(
9393 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9394 *) as_qdir=$as_dir;;
9395 esac
9396 as_dirs="'$as_qdir' $as_dirs"
9397 as_dir=`$as_dirname -- "$as_dir" ||
9398 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9399 X"$as_dir" : 'X\(//\)[^/]' \| \
9400 X"$as_dir" : 'X\(//\)$' \| \
9401 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9402 $as_echo X"$as_dir" |
9403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9404 s//\1/
9407 /^X\(\/\/\)[^/].*/{
9408 s//\1/
9411 /^X\(\/\/\)$/{
9412 s//\1/
9415 /^X\(\/\).*/{
9416 s//\1/
9419 s/.*/./; q'`
9420 test -d "$as_dir" && break
9421 done
9422 test -z "$as_dirs" || eval "mkdir $as_dirs"
9423 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9424 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9425 { (exit 1); exit 1; }; }; }
9426 # echo "creating $dirpart/$file"
9427 echo '# dummy' > "$dirpart/$file"
9428 done
9429 done
9432 esac
9433 done # for ac_tag
9436 { (exit 0); exit 0; }
9437 _ACEOF
9438 chmod +x $CONFIG_STATUS
9439 ac_clean_files=$ac_clean_files_save
9441 test $ac_write_fail = 0 ||
9442 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
9443 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
9444 { (exit 1); exit 1; }; }
9447 # configure is writing to config.log, and then calls config.status.
9448 # config.status does its own redirection, appending to config.log.
9449 # Unfortunately, on DOS this fails, as config.log is still kept open
9450 # by configure, so config.status won't be able to write to it; its
9451 # output is simply discarded. So we exec the FD to /dev/null,
9452 # effectively closing config.log, so it can be properly (re)opened and
9453 # appended to by config.status. When coming back to configure, we
9454 # need to make the FD available again.
9455 if test "$no_create" != yes; then
9456 ac_cs_success=:
9457 ac_config_status_args=
9458 test "$silent" = yes &&
9459 ac_config_status_args="$ac_config_status_args --quiet"
9460 exec 5>/dev/null
9461 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9462 exec 5>>config.log
9463 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9464 # would make configure fail if this is the last instruction.
9465 $ac_cs_success || { (exit 1); exit 1; }
9467 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9468 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9469 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}