Add TODO
[SmartMotor.git] / SmartMotor-2.0-MiniGui / configure
blobc0f56d940ece24c43d2a3eea3c015926b994b816
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 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 # Zsh 3.x and 4.x performs 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 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
44 chmod +x conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
50 rm -f conf$$.sh
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56 else
57 as_unset=false
61 # IFS
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
68 IFS=" "" $as_nl"
70 # Find who we are. Look in the path if we contain no directory separator.
71 case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87 as_myself=$0
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
102 # NLS nuisances.
103 for as_var in \
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 LC_TELEPHONE LC_TIME
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 done
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119 else
120 as_expr=false
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125 else
126 as_basename=false
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/
140 /^X\/\(\/\/\)$/{
141 s//\1/
144 /^X\/\(\/\).*/{
145 s//\1/
148 s/.*/./; q'`
150 # CDPATH.
151 $as_unset CDPATH
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157 else
158 as_have_required=no
161 if test $as_have_required = yes && (eval ":
162 (as_func_return () {
163 (exit \$1)
165 as_func_success () {
166 as_func_return 0
168 as_func_failure () {
169 as_func_return 1
171 as_func_ret_success () {
172 return 0
174 as_func_ret_failure () {
175 return 1
178 exitcode=0
179 if as_func_success; then
181 else
182 exitcode=1
183 echo as_func_success failed.
186 if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
193 else
194 exitcode=1
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 else
206 exitcode=1
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
219 else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232 done
233 IFS=$as_save_IFS
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250 esac
256 _ASEOF
257 }; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 (as_func_return () {
278 (exit $1)
280 as_func_success () {
281 as_func_return 0
283 as_func_failure () {
284 as_func_return 1
286 as_func_ret_success () {
287 return 0
289 as_func_ret_failure () {
290 return 1
293 exitcode=0
294 if as_func_success; then
296 else
297 exitcode=1
298 echo as_func_success failed.
301 if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
308 else
309 exitcode=1
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
320 else
321 exitcode=1
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
333 _ASEOF
334 }; then
335 break
340 done
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 done
346 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
367 (exit \$1)
369 as_func_success () {
370 as_func_return 0
372 as_func_failure () {
373 as_func_return 1
375 as_func_ret_success () {
376 return 0
378 as_func_ret_failure () {
379 return 1
382 exitcode=0
383 if as_func_success; then
385 else
386 exitcode=1
387 echo as_func_success failed.
390 if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
397 else
398 exitcode=1
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 else
410 exitcode=1
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
418 echo message
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n '
440 /[$]LINENO/=
441 ' <$as_myself |
442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
446 :lineno
448 :loop
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop
451 s/-\n.*//
452 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
460 . "./$as_me.lineno"
461 # Exit status is that of the last command.
462 exit
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468 else
469 as_dirname=false
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475 case `echo 'x\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;
478 esac;;
480 ECHO_N='-n';;
481 esac
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486 else
487 as_expr=false
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493 else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s'
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505 as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
508 else
509 as_ln_s='cp -p'
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=:
516 else
517 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false
521 if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523 else
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
554 # Name of the host.
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560 # Initializations.
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME=
574 PACKAGE_TARNAME=
575 PACKAGE_VERSION=
576 PACKAGE_STRING=
577 PACKAGE_BUGREPORT=
579 ac_unique_file="src/motormain.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 # include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 # include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
616 ac_subst_vars='SHELL
617 PATH_SEPARATOR
618 PACKAGE_NAME
619 PACKAGE_TARNAME
620 PACKAGE_VERSION
621 PACKAGE_STRING
622 PACKAGE_BUGREPORT
623 exec_prefix
624 prefix
625 program_transform_name
626 bindir
627 sbindir
628 libexecdir
629 datarootdir
630 datadir
631 sysconfdir
632 sharedstatedir
633 localstatedir
634 includedir
635 oldincludedir
636 docdir
637 infodir
638 htmldir
639 dvidir
640 pdfdir
641 psdir
642 libdir
643 localedir
644 mandir
645 DEFS
646 ECHO_C
647 ECHO_N
648 ECHO_T
649 LIBS
650 build_alias
651 host_alias
652 target_alias
653 build
654 build_cpu
655 build_vendor
656 build_os
657 host
658 host_cpu
659 host_vendor
660 host_os
661 target
662 target_cpu
663 target_vendor
664 target_os
665 SET_MAKE
667 CFLAGS
668 LDFLAGS
669 CPPFLAGS
670 ac_ct_CC
671 EXEEXT
672 OBJEXT
673 INSTALL_PROGRAM
674 INSTALL_SCRIPT
675 INSTALL_DATA
676 am__isrc
677 CYGPATH_W
678 PACKAGE
679 VERSION
680 ACLOCAL
681 AUTOCONF
682 AUTOMAKE
683 AUTOHEADER
684 MAKEINFO
685 install_sh
686 STRIP
687 INSTALL_STRIP_PROGRAM
688 mkdir_p
690 am__leading_dot
691 AMTAR
692 am__tar
693 am__untar
694 DEPDIR
695 am__include
696 am__quote
697 AMDEP_TRUE
698 AMDEP_FALSE
699 AMDEPBACKSLASH
700 CCDEPMODE
701 am__fastdepCC_TRUE
702 am__fastdepCC_FALSE
704 GREP
705 EGREP
706 LITE_VERSION_TRUE
707 LITE_VERSION_FALSE
708 STAND_ALONE_TRUE
709 STAND_ALONE_FALSE
710 LIBOBJS
711 LTLIBOBJS'
712 ac_subst_files=''
713 ac_precious_vars='build_alias
714 host_alias
715 target_alias
717 CFLAGS
718 LDFLAGS
719 LIBS
720 CPPFLAGS
721 CPP'
724 # Initialize some variables set by options.
725 ac_init_help=
726 ac_init_version=false
727 # The variables have the same names as the options, with
728 # dashes changed to underlines.
729 cache_file=/dev/null
730 exec_prefix=NONE
731 no_create=
732 no_recursion=
733 prefix=NONE
734 program_prefix=NONE
735 program_suffix=NONE
736 program_transform_name=s,x,x,
737 silent=
738 site=
739 srcdir=
740 verbose=
741 x_includes=NONE
742 x_libraries=NONE
744 # Installation directory options.
745 # These are left unexpanded so users can "make install exec_prefix=/foo"
746 # and all the variables that are supposed to be based on exec_prefix
747 # by default will actually change.
748 # Use braces instead of parens because sh, perl, etc. also accept them.
749 # (The list follows the same order as the GNU Coding Standards.)
750 bindir='${exec_prefix}/bin'
751 sbindir='${exec_prefix}/sbin'
752 libexecdir='${exec_prefix}/libexec'
753 datarootdir='${prefix}/share'
754 datadir='${datarootdir}'
755 sysconfdir='${prefix}/etc'
756 sharedstatedir='${prefix}/com'
757 localstatedir='${prefix}/var'
758 includedir='${prefix}/include'
759 oldincludedir='/usr/include'
760 docdir='${datarootdir}/doc/${PACKAGE}'
761 infodir='${datarootdir}/info'
762 htmldir='${docdir}'
763 dvidir='${docdir}'
764 pdfdir='${docdir}'
765 psdir='${docdir}'
766 libdir='${exec_prefix}/lib'
767 localedir='${datarootdir}/locale'
768 mandir='${datarootdir}/man'
770 ac_prev=
771 ac_dashdash=
772 for ac_option
774 # If the previous option needs an argument, assign it.
775 if test -n "$ac_prev"; then
776 eval $ac_prev=\$ac_option
777 ac_prev=
778 continue
781 case $ac_option in
782 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
783 *) ac_optarg=yes ;;
784 esac
786 # Accept the important Cygnus configure options, so we can diagnose typos.
788 case $ac_dashdash$ac_option in
790 ac_dashdash=yes ;;
792 -bindir | --bindir | --bindi | --bind | --bin | --bi)
793 ac_prev=bindir ;;
794 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
795 bindir=$ac_optarg ;;
797 -build | --build | --buil | --bui | --bu)
798 ac_prev=build_alias ;;
799 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
800 build_alias=$ac_optarg ;;
802 -cache-file | --cache-file | --cache-fil | --cache-fi \
803 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
804 ac_prev=cache_file ;;
805 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
806 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
807 cache_file=$ac_optarg ;;
809 --config-cache | -C)
810 cache_file=config.cache ;;
812 -datadir | --datadir | --datadi | --datad)
813 ac_prev=datadir ;;
814 -datadir=* | --datadir=* | --datadi=* | --datad=*)
815 datadir=$ac_optarg ;;
817 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
818 | --dataroo | --dataro | --datar)
819 ac_prev=datarootdir ;;
820 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
821 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
822 datarootdir=$ac_optarg ;;
824 -disable-* | --disable-*)
825 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
826 # Reject names that are not valid shell variable names.
827 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
828 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
829 { (exit 1); exit 1; }; }
830 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
831 eval enable_$ac_feature=no ;;
833 -docdir | --docdir | --docdi | --doc | --do)
834 ac_prev=docdir ;;
835 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
836 docdir=$ac_optarg ;;
838 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
839 ac_prev=dvidir ;;
840 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
841 dvidir=$ac_optarg ;;
843 -enable-* | --enable-*)
844 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
845 # Reject names that are not valid shell variable names.
846 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
847 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
848 { (exit 1); exit 1; }; }
849 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
850 eval enable_$ac_feature=\$ac_optarg ;;
852 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
853 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
854 | --exec | --exe | --ex)
855 ac_prev=exec_prefix ;;
856 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
857 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
858 | --exec=* | --exe=* | --ex=*)
859 exec_prefix=$ac_optarg ;;
861 -gas | --gas | --ga | --g)
862 # Obsolete; use --with-gas.
863 with_gas=yes ;;
865 -help | --help | --hel | --he | -h)
866 ac_init_help=long ;;
867 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
868 ac_init_help=recursive ;;
869 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
870 ac_init_help=short ;;
872 -host | --host | --hos | --ho)
873 ac_prev=host_alias ;;
874 -host=* | --host=* | --hos=* | --ho=*)
875 host_alias=$ac_optarg ;;
877 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
878 ac_prev=htmldir ;;
879 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
880 | --ht=*)
881 htmldir=$ac_optarg ;;
883 -includedir | --includedir | --includedi | --included | --include \
884 | --includ | --inclu | --incl | --inc)
885 ac_prev=includedir ;;
886 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
887 | --includ=* | --inclu=* | --incl=* | --inc=*)
888 includedir=$ac_optarg ;;
890 -infodir | --infodir | --infodi | --infod | --info | --inf)
891 ac_prev=infodir ;;
892 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
893 infodir=$ac_optarg ;;
895 -libdir | --libdir | --libdi | --libd)
896 ac_prev=libdir ;;
897 -libdir=* | --libdir=* | --libdi=* | --libd=*)
898 libdir=$ac_optarg ;;
900 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
901 | --libexe | --libex | --libe)
902 ac_prev=libexecdir ;;
903 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
904 | --libexe=* | --libex=* | --libe=*)
905 libexecdir=$ac_optarg ;;
907 -localedir | --localedir | --localedi | --localed | --locale)
908 ac_prev=localedir ;;
909 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
910 localedir=$ac_optarg ;;
912 -localstatedir | --localstatedir | --localstatedi | --localstated \
913 | --localstate | --localstat | --localsta | --localst | --locals)
914 ac_prev=localstatedir ;;
915 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
916 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
917 localstatedir=$ac_optarg ;;
919 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
920 ac_prev=mandir ;;
921 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
922 mandir=$ac_optarg ;;
924 -nfp | --nfp | --nf)
925 # Obsolete; use --without-fp.
926 with_fp=no ;;
928 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
929 | --no-cr | --no-c | -n)
930 no_create=yes ;;
932 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
933 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
934 no_recursion=yes ;;
936 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
937 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
938 | --oldin | --oldi | --old | --ol | --o)
939 ac_prev=oldincludedir ;;
940 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
941 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
942 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
943 oldincludedir=$ac_optarg ;;
945 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
946 ac_prev=prefix ;;
947 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
948 prefix=$ac_optarg ;;
950 -program-prefix | --program-prefix | --program-prefi | --program-pref \
951 | --program-pre | --program-pr | --program-p)
952 ac_prev=program_prefix ;;
953 -program-prefix=* | --program-prefix=* | --program-prefi=* \
954 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
955 program_prefix=$ac_optarg ;;
957 -program-suffix | --program-suffix | --program-suffi | --program-suff \
958 | --program-suf | --program-su | --program-s)
959 ac_prev=program_suffix ;;
960 -program-suffix=* | --program-suffix=* | --program-suffi=* \
961 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
962 program_suffix=$ac_optarg ;;
964 -program-transform-name | --program-transform-name \
965 | --program-transform-nam | --program-transform-na \
966 | --program-transform-n | --program-transform- \
967 | --program-transform | --program-transfor \
968 | --program-transfo | --program-transf \
969 | --program-trans | --program-tran \
970 | --progr-tra | --program-tr | --program-t)
971 ac_prev=program_transform_name ;;
972 -program-transform-name=* | --program-transform-name=* \
973 | --program-transform-nam=* | --program-transform-na=* \
974 | --program-transform-n=* | --program-transform-=* \
975 | --program-transform=* | --program-transfor=* \
976 | --program-transfo=* | --program-transf=* \
977 | --program-trans=* | --program-tran=* \
978 | --progr-tra=* | --program-tr=* | --program-t=*)
979 program_transform_name=$ac_optarg ;;
981 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
982 ac_prev=pdfdir ;;
983 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
984 pdfdir=$ac_optarg ;;
986 -psdir | --psdir | --psdi | --psd | --ps)
987 ac_prev=psdir ;;
988 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
989 psdir=$ac_optarg ;;
991 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
992 | -silent | --silent | --silen | --sile | --sil)
993 silent=yes ;;
995 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
996 ac_prev=sbindir ;;
997 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
998 | --sbi=* | --sb=*)
999 sbindir=$ac_optarg ;;
1001 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1002 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1003 | --sharedst | --shareds | --shared | --share | --shar \
1004 | --sha | --sh)
1005 ac_prev=sharedstatedir ;;
1006 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1007 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1008 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1009 | --sha=* | --sh=*)
1010 sharedstatedir=$ac_optarg ;;
1012 -site | --site | --sit)
1013 ac_prev=site ;;
1014 -site=* | --site=* | --sit=*)
1015 site=$ac_optarg ;;
1017 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1018 ac_prev=srcdir ;;
1019 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1020 srcdir=$ac_optarg ;;
1022 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1023 | --syscon | --sysco | --sysc | --sys | --sy)
1024 ac_prev=sysconfdir ;;
1025 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1026 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1027 sysconfdir=$ac_optarg ;;
1029 -target | --target | --targe | --targ | --tar | --ta | --t)
1030 ac_prev=target_alias ;;
1031 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1032 target_alias=$ac_optarg ;;
1034 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1035 verbose=yes ;;
1037 -version | --version | --versio | --versi | --vers | -V)
1038 ac_init_version=: ;;
1040 -with-* | --with-*)
1041 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1044 { echo "$as_me: error: invalid package name: $ac_package" >&2
1045 { (exit 1); exit 1; }; }
1046 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1047 eval with_$ac_package=\$ac_optarg ;;
1049 -without-* | --without-*)
1050 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053 { echo "$as_me: error: invalid package name: $ac_package" >&2
1054 { (exit 1); exit 1; }; }
1055 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1056 eval with_$ac_package=no ;;
1058 --x)
1059 # Obsolete; use --with-x.
1060 with_x=yes ;;
1062 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1063 | --x-incl | --x-inc | --x-in | --x-i)
1064 ac_prev=x_includes ;;
1065 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1066 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1067 x_includes=$ac_optarg ;;
1069 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1070 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1071 ac_prev=x_libraries ;;
1072 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1073 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1074 x_libraries=$ac_optarg ;;
1076 -*) { echo "$as_me: error: unrecognized option: $ac_option
1077 Try \`$0 --help' for more information." >&2
1078 { (exit 1); exit 1; }; }
1081 *=*)
1082 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1083 # Reject names that are not valid shell variable names.
1084 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1085 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1086 { (exit 1); exit 1; }; }
1087 eval $ac_envvar=\$ac_optarg
1088 export $ac_envvar ;;
1091 # FIXME: should be removed in autoconf 3.0.
1092 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1093 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1094 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1095 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1098 esac
1099 done
1101 if test -n "$ac_prev"; then
1102 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1103 { echo "$as_me: error: missing argument to $ac_option" >&2
1104 { (exit 1); exit 1; }; }
1107 # Be sure to have absolute directory names.
1108 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1109 datadir sysconfdir sharedstatedir localstatedir includedir \
1110 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1111 libdir localedir mandir
1113 eval ac_val=\$$ac_var
1114 case $ac_val in
1115 [\\/$]* | ?:[\\/]* ) continue;;
1116 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1117 esac
1118 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1119 { (exit 1); exit 1; }; }
1120 done
1122 # There might be people who depend on the old broken behavior: `$host'
1123 # used to hold the argument of --host etc.
1124 # FIXME: To remove some day.
1125 build=$build_alias
1126 host=$host_alias
1127 target=$target_alias
1129 # FIXME: To remove some day.
1130 if test "x$host_alias" != x; then
1131 if test "x$build_alias" = x; then
1132 cross_compiling=maybe
1133 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1134 If a cross compiler is detected then cross compile mode will be used." >&2
1135 elif test "x$build_alias" != "x$host_alias"; then
1136 cross_compiling=yes
1140 ac_tool_prefix=
1141 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1143 test "$silent" = yes && exec 6>/dev/null
1146 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1147 ac_ls_di=`ls -di .` &&
1148 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1149 { echo "$as_me: error: Working directory cannot be determined" >&2
1150 { (exit 1); exit 1; }; }
1151 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1152 { echo "$as_me: error: pwd does not report name of working directory" >&2
1153 { (exit 1); exit 1; }; }
1156 # Find the source files, if location was not specified.
1157 if test -z "$srcdir"; then
1158 ac_srcdir_defaulted=yes
1159 # Try the directory containing this script, then the parent directory.
1160 ac_confdir=`$as_dirname -- "$0" ||
1161 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1162 X"$0" : 'X\(//\)[^/]' \| \
1163 X"$0" : 'X\(//\)$' \| \
1164 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1165 echo X"$0" |
1166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1167 s//\1/
1170 /^X\(\/\/\)[^/].*/{
1171 s//\1/
1174 /^X\(\/\/\)$/{
1175 s//\1/
1178 /^X\(\/\).*/{
1179 s//\1/
1182 s/.*/./; q'`
1183 srcdir=$ac_confdir
1184 if test ! -r "$srcdir/$ac_unique_file"; then
1185 srcdir=..
1187 else
1188 ac_srcdir_defaulted=no
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1191 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1192 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1193 { (exit 1); exit 1; }; }
1195 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1196 ac_abs_confdir=`(
1197 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1198 { (exit 1); exit 1; }; }
1199 pwd)`
1200 # When building in place, set srcdir=.
1201 if test "$ac_abs_confdir" = "$ac_pwd"; then
1202 srcdir=.
1204 # Remove unnecessary trailing slashes from srcdir.
1205 # Double slashes in file names in object file debugging info
1206 # mess up M-x gdb in Emacs.
1207 case $srcdir in
1208 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1209 esac
1210 for ac_var in $ac_precious_vars; do
1211 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1212 eval ac_env_${ac_var}_value=\$${ac_var}
1213 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1214 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1215 done
1218 # Report the --help message.
1220 if test "$ac_init_help" = "long"; then
1221 # Omit some internal or obsolete options to make the list less imposing.
1222 # This message is too long to be a string in the A/UX 3.1 sh.
1223 cat <<_ACEOF
1224 \`configure' configures this package to adapt to many kinds of systems.
1226 Usage: $0 [OPTION]... [VAR=VALUE]...
1228 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1229 VAR=VALUE. See below for descriptions of some of the useful variables.
1231 Defaults for the options are specified in brackets.
1233 Configuration:
1234 -h, --help display this help and exit
1235 --help=short display options specific to this package
1236 --help=recursive display the short help of all the included packages
1237 -V, --version display version information and exit
1238 -q, --quiet, --silent do not print \`checking...' messages
1239 --cache-file=FILE cache test results in FILE [disabled]
1240 -C, --config-cache alias for \`--cache-file=config.cache'
1241 -n, --no-create do not create output files
1242 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1244 Installation directories:
1245 --prefix=PREFIX install architecture-independent files in PREFIX
1246 [$ac_default_prefix]
1247 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1248 [PREFIX]
1250 By default, \`make install' will install all the files in
1251 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1252 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1253 for instance \`--prefix=\$HOME'.
1255 For better control, use the options below.
1257 Fine tuning of the installation directories:
1258 --bindir=DIR user executables [EPREFIX/bin]
1259 --sbindir=DIR system admin executables [EPREFIX/sbin]
1260 --libexecdir=DIR program executables [EPREFIX/libexec]
1261 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1262 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1263 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1264 --libdir=DIR object code libraries [EPREFIX/lib]
1265 --includedir=DIR C header files [PREFIX/include]
1266 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1267 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1268 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1269 --infodir=DIR info documentation [DATAROOTDIR/info]
1270 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1271 --mandir=DIR man documentation [DATAROOTDIR/man]
1272 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1273 --htmldir=DIR html documentation [DOCDIR]
1274 --dvidir=DIR dvi documentation [DOCDIR]
1275 --pdfdir=DIR pdf documentation [DOCDIR]
1276 --psdir=DIR ps documentation [DOCDIR]
1277 _ACEOF
1279 cat <<\_ACEOF
1281 Program names:
1282 --program-prefix=PREFIX prepend PREFIX to installed program names
1283 --program-suffix=SUFFIX append SUFFIX to installed program names
1284 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1286 System types:
1287 --build=BUILD configure for building on BUILD [guessed]
1288 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1289 --target=TARGET configure for building compilers for TARGET [HOST]
1290 _ACEOF
1293 if test -n "$ac_init_help"; then
1295 cat <<\_ACEOF
1297 Optional Features:
1298 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1299 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1300 --disable-dependency-tracking speeds up one-time build
1301 --enable-dependency-tracking do not reject slow dependency extractors
1303 Some influential environment variables:
1304 CC C compiler command
1305 CFLAGS C compiler flags
1306 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1307 nonstandard directory <lib dir>
1308 LIBS libraries to pass to the linker, e.g. -l<library>
1309 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1310 you have headers in a nonstandard directory <include dir>
1311 CPP C preprocessor
1313 Use these variables to override the choices made by `configure' or to help
1314 it to find libraries and programs with nonstandard names/locations.
1316 _ACEOF
1317 ac_status=$?
1320 if test "$ac_init_help" = "recursive"; then
1321 # If there are subdirs, report their specific --help.
1322 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1323 test -d "$ac_dir" || continue
1324 ac_builddir=.
1326 case "$ac_dir" in
1327 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1329 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1330 # A ".." for each directory in $ac_dir_suffix.
1331 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1332 case $ac_top_builddir_sub in
1333 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1334 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1335 esac ;;
1336 esac
1337 ac_abs_top_builddir=$ac_pwd
1338 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1339 # for backward compatibility:
1340 ac_top_builddir=$ac_top_build_prefix
1342 case $srcdir in
1343 .) # We are building in place.
1344 ac_srcdir=.
1345 ac_top_srcdir=$ac_top_builddir_sub
1346 ac_abs_top_srcdir=$ac_pwd ;;
1347 [\\/]* | ?:[\\/]* ) # Absolute name.
1348 ac_srcdir=$srcdir$ac_dir_suffix;
1349 ac_top_srcdir=$srcdir
1350 ac_abs_top_srcdir=$srcdir ;;
1351 *) # Relative name.
1352 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1353 ac_top_srcdir=$ac_top_build_prefix$srcdir
1354 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1355 esac
1356 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1358 cd "$ac_dir" || { ac_status=$?; continue; }
1359 # Check for guested configure.
1360 if test -f "$ac_srcdir/configure.gnu"; then
1361 echo &&
1362 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1363 elif test -f "$ac_srcdir/configure"; then
1364 echo &&
1365 $SHELL "$ac_srcdir/configure" --help=recursive
1366 else
1367 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1368 fi || ac_status=$?
1369 cd "$ac_pwd" || { ac_status=$?; break; }
1370 done
1373 test -n "$ac_init_help" && exit $ac_status
1374 if $ac_init_version; then
1375 cat <<\_ACEOF
1376 configure
1377 generated by GNU Autoconf 2.61
1379 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1380 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1381 This configure script is free software; the Free Software Foundation
1382 gives unlimited permission to copy, distribute and modify it.
1383 _ACEOF
1384 exit
1386 cat >config.log <<_ACEOF
1387 This file contains any messages produced by compilers while
1388 running configure, to aid debugging if configure makes a mistake.
1390 It was created by $as_me, which was
1391 generated by GNU Autoconf 2.61. Invocation command line was
1393 $ $0 $@
1395 _ACEOF
1396 exec 5>>config.log
1398 cat <<_ASUNAME
1399 ## --------- ##
1400 ## Platform. ##
1401 ## --------- ##
1403 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1404 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1405 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1406 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1407 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1409 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1410 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1412 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1413 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1414 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1415 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1416 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1417 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1418 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1420 _ASUNAME
1422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1423 for as_dir in $PATH
1425 IFS=$as_save_IFS
1426 test -z "$as_dir" && as_dir=.
1427 echo "PATH: $as_dir"
1428 done
1429 IFS=$as_save_IFS
1431 } >&5
1433 cat >&5 <<_ACEOF
1436 ## ----------- ##
1437 ## Core tests. ##
1438 ## ----------- ##
1440 _ACEOF
1443 # Keep a trace of the command line.
1444 # Strip out --no-create and --no-recursion so they do not pile up.
1445 # Strip out --silent because we don't want to record it for future runs.
1446 # Also quote any args containing shell meta-characters.
1447 # Make two passes to allow for proper duplicate-argument suppression.
1448 ac_configure_args=
1449 ac_configure_args0=
1450 ac_configure_args1=
1451 ac_must_keep_next=false
1452 for ac_pass in 1 2
1454 for ac_arg
1456 case $ac_arg in
1457 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1458 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1459 | -silent | --silent | --silen | --sile | --sil)
1460 continue ;;
1461 *\'*)
1462 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1463 esac
1464 case $ac_pass in
1465 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1467 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1468 if test $ac_must_keep_next = true; then
1469 ac_must_keep_next=false # Got value, back to normal.
1470 else
1471 case $ac_arg in
1472 *=* | --config-cache | -C | -disable-* | --disable-* \
1473 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1474 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1475 | -with-* | --with-* | -without-* | --without-* | --x)
1476 case "$ac_configure_args0 " in
1477 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1478 esac
1480 -* ) ac_must_keep_next=true ;;
1481 esac
1483 ac_configure_args="$ac_configure_args '$ac_arg'"
1485 esac
1486 done
1487 done
1488 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1489 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1491 # When interrupted or exit'd, cleanup temporary files, and complete
1492 # config.log. We remove comments because anyway the quotes in there
1493 # would cause problems or look ugly.
1494 # WARNING: Use '\'' to represent an apostrophe within the trap.
1495 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1496 trap 'exit_status=$?
1497 # Save into config.log some information that might help in debugging.
1499 echo
1501 cat <<\_ASBOX
1502 ## ---------------- ##
1503 ## Cache variables. ##
1504 ## ---------------- ##
1505 _ASBOX
1506 echo
1507 # The following way of writing the cache mishandles newlines in values,
1509 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1510 eval ac_val=\$$ac_var
1511 case $ac_val in #(
1512 *${as_nl}*)
1513 case $ac_var in #(
1514 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1515 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1516 esac
1517 case $ac_var in #(
1518 _ | IFS | as_nl) ;; #(
1519 *) $as_unset $ac_var ;;
1520 esac ;;
1521 esac
1522 done
1523 (set) 2>&1 |
1524 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1525 *${as_nl}ac_space=\ *)
1526 sed -n \
1527 "s/'\''/'\''\\\\'\'''\''/g;
1528 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1529 ;; #(
1531 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1533 esac |
1534 sort
1536 echo
1538 cat <<\_ASBOX
1539 ## ----------------- ##
1540 ## Output variables. ##
1541 ## ----------------- ##
1542 _ASBOX
1543 echo
1544 for ac_var in $ac_subst_vars
1546 eval ac_val=\$$ac_var
1547 case $ac_val in
1548 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1549 esac
1550 echo "$ac_var='\''$ac_val'\''"
1551 done | sort
1552 echo
1554 if test -n "$ac_subst_files"; then
1555 cat <<\_ASBOX
1556 ## ------------------- ##
1557 ## File substitutions. ##
1558 ## ------------------- ##
1559 _ASBOX
1560 echo
1561 for ac_var in $ac_subst_files
1563 eval ac_val=\$$ac_var
1564 case $ac_val in
1565 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1566 esac
1567 echo "$ac_var='\''$ac_val'\''"
1568 done | sort
1569 echo
1572 if test -s confdefs.h; then
1573 cat <<\_ASBOX
1574 ## ----------- ##
1575 ## confdefs.h. ##
1576 ## ----------- ##
1577 _ASBOX
1578 echo
1579 cat confdefs.h
1580 echo
1582 test "$ac_signal" != 0 &&
1583 echo "$as_me: caught signal $ac_signal"
1584 echo "$as_me: exit $exit_status"
1585 } >&5
1586 rm -f core *.core core.conftest.* &&
1587 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1588 exit $exit_status
1590 for ac_signal in 1 2 13 15; do
1591 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1592 done
1593 ac_signal=0
1595 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1596 rm -f -r conftest* confdefs.h
1598 # Predefined preprocessor variables.
1600 cat >>confdefs.h <<_ACEOF
1601 #define PACKAGE_NAME "$PACKAGE_NAME"
1602 _ACEOF
1605 cat >>confdefs.h <<_ACEOF
1606 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1607 _ACEOF
1610 cat >>confdefs.h <<_ACEOF
1611 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1612 _ACEOF
1615 cat >>confdefs.h <<_ACEOF
1616 #define PACKAGE_STRING "$PACKAGE_STRING"
1617 _ACEOF
1620 cat >>confdefs.h <<_ACEOF
1621 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1622 _ACEOF
1625 # Let the site file select an alternate cache file if it wants to.
1626 # Prefer explicitly selected file to automatically selected ones.
1627 if test -n "$CONFIG_SITE"; then
1628 set x "$CONFIG_SITE"
1629 elif test "x$prefix" != xNONE; then
1630 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1631 else
1632 set x "$ac_default_prefix/share/config.site" \
1633 "$ac_default_prefix/etc/config.site"
1635 shift
1636 for ac_site_file
1638 if test -r "$ac_site_file"; then
1639 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1640 echo "$as_me: loading site script $ac_site_file" >&6;}
1641 sed 's/^/| /' "$ac_site_file" >&5
1642 . "$ac_site_file"
1644 done
1646 if test -r "$cache_file"; then
1647 # Some versions of bash will fail to source /dev/null (special
1648 # files actually), so we avoid doing that.
1649 if test -f "$cache_file"; then
1650 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1651 echo "$as_me: loading cache $cache_file" >&6;}
1652 case $cache_file in
1653 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1654 *) . "./$cache_file";;
1655 esac
1657 else
1658 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1659 echo "$as_me: creating cache $cache_file" >&6;}
1660 >$cache_file
1663 # Check that the precious variables saved in the cache have kept the same
1664 # value.
1665 ac_cache_corrupted=false
1666 for ac_var in $ac_precious_vars; do
1667 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1668 eval ac_new_set=\$ac_env_${ac_var}_set
1669 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1670 eval ac_new_val=\$ac_env_${ac_var}_value
1671 case $ac_old_set,$ac_new_set in
1672 set,)
1673 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1674 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1675 ac_cache_corrupted=: ;;
1676 ,set)
1677 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1678 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1679 ac_cache_corrupted=: ;;
1680 ,);;
1682 if test "x$ac_old_val" != "x$ac_new_val"; then
1683 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1684 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1685 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1686 echo "$as_me: former value: $ac_old_val" >&2;}
1687 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1688 echo "$as_me: current value: $ac_new_val" >&2;}
1689 ac_cache_corrupted=:
1690 fi;;
1691 esac
1692 # Pass precious variables to config.status.
1693 if test "$ac_new_set" = set; then
1694 case $ac_new_val in
1695 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1696 *) ac_arg=$ac_var=$ac_new_val ;;
1697 esac
1698 case " $ac_configure_args " in
1699 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1700 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1701 esac
1703 done
1704 if $ac_cache_corrupted; then
1705 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1706 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1707 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1708 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1709 { (exit 1); exit 1; }; }
1728 ac_ext=c
1729 ac_cpp='$CPP $CPPFLAGS'
1730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1736 ac_aux_dir=
1737 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1738 if test -f "$ac_dir/install-sh"; then
1739 ac_aux_dir=$ac_dir
1740 ac_install_sh="$ac_aux_dir/install-sh -c"
1741 break
1742 elif test -f "$ac_dir/install.sh"; then
1743 ac_aux_dir=$ac_dir
1744 ac_install_sh="$ac_aux_dir/install.sh -c"
1745 break
1746 elif test -f "$ac_dir/shtool"; then
1747 ac_aux_dir=$ac_dir
1748 ac_install_sh="$ac_aux_dir/shtool install -c"
1749 break
1751 done
1752 if test -z "$ac_aux_dir"; then
1753 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1754 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1755 { (exit 1); exit 1; }; }
1758 # These three variables are undocumented and unsupported,
1759 # and are intended to be withdrawn in a future Autoconf release.
1760 # They can cause serious problems if a builder's source tree is in a directory
1761 # whose full name contains unusual characters.
1762 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1763 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1764 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1767 # Make sure we can run config.sub.
1768 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1769 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1770 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1771 { (exit 1); exit 1; }; }
1773 { echo "$as_me:$LINENO: checking build system type" >&5
1774 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1775 if test "${ac_cv_build+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1777 else
1778 ac_build_alias=$build_alias
1779 test "x$ac_build_alias" = x &&
1780 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1781 test "x$ac_build_alias" = x &&
1782 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1783 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1784 { (exit 1); exit 1; }; }
1785 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1786 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1787 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1788 { (exit 1); exit 1; }; }
1791 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1792 echo "${ECHO_T}$ac_cv_build" >&6; }
1793 case $ac_cv_build in
1794 *-*-*) ;;
1795 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1796 echo "$as_me: error: invalid value of canonical build" >&2;}
1797 { (exit 1); exit 1; }; };;
1798 esac
1799 build=$ac_cv_build
1800 ac_save_IFS=$IFS; IFS='-'
1801 set x $ac_cv_build
1802 shift
1803 build_cpu=$1
1804 build_vendor=$2
1805 shift; shift
1806 # Remember, the first character of IFS is used to create $*,
1807 # except with old shells:
1808 build_os=$*
1809 IFS=$ac_save_IFS
1810 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1813 { echo "$as_me:$LINENO: checking host system type" >&5
1814 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1815 if test "${ac_cv_host+set}" = set; then
1816 echo $ECHO_N "(cached) $ECHO_C" >&6
1817 else
1818 if test "x$host_alias" = x; then
1819 ac_cv_host=$ac_cv_build
1820 else
1821 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1822 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1823 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1824 { (exit 1); exit 1; }; }
1828 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1829 echo "${ECHO_T}$ac_cv_host" >&6; }
1830 case $ac_cv_host in
1831 *-*-*) ;;
1832 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1833 echo "$as_me: error: invalid value of canonical host" >&2;}
1834 { (exit 1); exit 1; }; };;
1835 esac
1836 host=$ac_cv_host
1837 ac_save_IFS=$IFS; IFS='-'
1838 set x $ac_cv_host
1839 shift
1840 host_cpu=$1
1841 host_vendor=$2
1842 shift; shift
1843 # Remember, the first character of IFS is used to create $*,
1844 # except with old shells:
1845 host_os=$*
1846 IFS=$ac_save_IFS
1847 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1850 { echo "$as_me:$LINENO: checking target system type" >&5
1851 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1852 if test "${ac_cv_target+set}" = set; then
1853 echo $ECHO_N "(cached) $ECHO_C" >&6
1854 else
1855 if test "x$target_alias" = x; then
1856 ac_cv_target=$ac_cv_host
1857 else
1858 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1859 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1860 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1861 { (exit 1); exit 1; }; }
1865 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1866 echo "${ECHO_T}$ac_cv_target" >&6; }
1867 case $ac_cv_target in
1868 *-*-*) ;;
1869 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1870 echo "$as_me: error: invalid value of canonical target" >&2;}
1871 { (exit 1); exit 1; }; };;
1872 esac
1873 target=$ac_cv_target
1874 ac_save_IFS=$IFS; IFS='-'
1875 set x $ac_cv_target
1876 shift
1877 target_cpu=$1
1878 target_vendor=$2
1879 shift; shift
1880 # Remember, the first character of IFS is used to create $*,
1881 # except with old shells:
1882 target_os=$*
1883 IFS=$ac_save_IFS
1884 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1887 # The aliases save the names the user supplied, while $host etc.
1888 # will get canonicalized.
1889 test -n "$target_alias" &&
1890 test "$program_prefix$program_suffix$program_transform_name" = \
1891 NONENONEs,x,x, &&
1892 program_prefix=${target_alias}-
1894 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1895 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1896 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1897 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1898 echo $ECHO_N "(cached) $ECHO_C" >&6
1899 else
1900 cat >conftest.make <<\_ACEOF
1901 SHELL = /bin/sh
1902 all:
1903 @echo '@@@%%%=$(MAKE)=@@@%%%'
1904 _ACEOF
1905 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1906 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1907 *@@@%%%=?*=@@@%%%*)
1908 eval ac_cv_prog_make_${ac_make}_set=yes;;
1910 eval ac_cv_prog_make_${ac_make}_set=no;;
1911 esac
1912 rm -f conftest.make
1914 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1915 { echo "$as_me:$LINENO: result: yes" >&5
1916 echo "${ECHO_T}yes" >&6; }
1917 SET_MAKE=
1918 else
1919 { echo "$as_me:$LINENO: result: no" >&5
1920 echo "${ECHO_T}no" >&6; }
1921 SET_MAKE="MAKE=${MAKE-make}"
1924 ac_ext=c
1925 ac_cpp='$CPP $CPPFLAGS'
1926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1929 if test -n "$ac_tool_prefix"; then
1930 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1931 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1932 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1934 if test "${ac_cv_prog_CC+set}" = set; then
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 else
1937 if test -n "$CC"; then
1938 ac_cv_prog_CC="$CC" # Let the user override the test.
1939 else
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 for as_dir in $PATH
1943 IFS=$as_save_IFS
1944 test -z "$as_dir" && as_dir=.
1945 for ac_exec_ext in '' $ac_executable_extensions; do
1946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1947 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1949 break 2
1951 done
1952 done
1953 IFS=$as_save_IFS
1957 CC=$ac_cv_prog_CC
1958 if test -n "$CC"; then
1959 { echo "$as_me:$LINENO: result: $CC" >&5
1960 echo "${ECHO_T}$CC" >&6; }
1961 else
1962 { echo "$as_me:$LINENO: result: no" >&5
1963 echo "${ECHO_T}no" >&6; }
1968 if test -z "$ac_cv_prog_CC"; then
1969 ac_ct_CC=$CC
1970 # Extract the first word of "gcc", so it can be a program name with args.
1971 set dummy gcc; ac_word=$2
1972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1974 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1975 echo $ECHO_N "(cached) $ECHO_C" >&6
1976 else
1977 if test -n "$ac_ct_CC"; then
1978 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1979 else
1980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1981 for as_dir in $PATH
1983 IFS=$as_save_IFS
1984 test -z "$as_dir" && as_dir=.
1985 for ac_exec_ext in '' $ac_executable_extensions; do
1986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1987 ac_cv_prog_ac_ct_CC="gcc"
1988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1989 break 2
1991 done
1992 done
1993 IFS=$as_save_IFS
1997 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1998 if test -n "$ac_ct_CC"; then
1999 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2000 echo "${ECHO_T}$ac_ct_CC" >&6; }
2001 else
2002 { echo "$as_me:$LINENO: result: no" >&5
2003 echo "${ECHO_T}no" >&6; }
2006 if test "x$ac_ct_CC" = x; then
2007 CC=""
2008 else
2009 case $cross_compiling:$ac_tool_warned in
2010 yes:)
2011 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2012 whose name does not start with the host triplet. If you think this
2013 configuration is useful to you, please write to autoconf@gnu.org." >&5
2014 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2015 whose name does not start with the host triplet. If you think this
2016 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2017 ac_tool_warned=yes ;;
2018 esac
2019 CC=$ac_ct_CC
2021 else
2022 CC="$ac_cv_prog_CC"
2025 if test -z "$CC"; then
2026 if test -n "$ac_tool_prefix"; then
2027 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2028 set dummy ${ac_tool_prefix}cc; ac_word=$2
2029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2031 if test "${ac_cv_prog_CC+set}" = set; then
2032 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 else
2034 if test -n "$CC"; then
2035 ac_cv_prog_CC="$CC" # Let the user override the test.
2036 else
2037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2038 for as_dir in $PATH
2040 IFS=$as_save_IFS
2041 test -z "$as_dir" && as_dir=.
2042 for ac_exec_ext in '' $ac_executable_extensions; do
2043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2044 ac_cv_prog_CC="${ac_tool_prefix}cc"
2045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2046 break 2
2048 done
2049 done
2050 IFS=$as_save_IFS
2054 CC=$ac_cv_prog_CC
2055 if test -n "$CC"; then
2056 { echo "$as_me:$LINENO: result: $CC" >&5
2057 echo "${ECHO_T}$CC" >&6; }
2058 else
2059 { echo "$as_me:$LINENO: result: no" >&5
2060 echo "${ECHO_T}no" >&6; }
2066 if test -z "$CC"; then
2067 # Extract the first word of "cc", so it can be a program name with args.
2068 set dummy cc; ac_word=$2
2069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2071 if test "${ac_cv_prog_CC+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 else
2074 if test -n "$CC"; then
2075 ac_cv_prog_CC="$CC" # Let the user override the test.
2076 else
2077 ac_prog_rejected=no
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079 for as_dir in $PATH
2081 IFS=$as_save_IFS
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2085 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2086 ac_prog_rejected=yes
2087 continue
2089 ac_cv_prog_CC="cc"
2090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2091 break 2
2093 done
2094 done
2095 IFS=$as_save_IFS
2097 if test $ac_prog_rejected = yes; then
2098 # We found a bogon in the path, so make sure we never use it.
2099 set dummy $ac_cv_prog_CC
2100 shift
2101 if test $# != 0; then
2102 # We chose a different compiler from the bogus one.
2103 # However, it has the same basename, so the bogon will be chosen
2104 # first if we set CC to just the basename; use the full file name.
2105 shift
2106 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2111 CC=$ac_cv_prog_CC
2112 if test -n "$CC"; then
2113 { echo "$as_me:$LINENO: result: $CC" >&5
2114 echo "${ECHO_T}$CC" >&6; }
2115 else
2116 { echo "$as_me:$LINENO: result: no" >&5
2117 echo "${ECHO_T}no" >&6; }
2122 if test -z "$CC"; then
2123 if test -n "$ac_tool_prefix"; then
2124 for ac_prog in cl.exe
2126 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2127 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2130 if test "${ac_cv_prog_CC+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2132 else
2133 if test -n "$CC"; then
2134 ac_cv_prog_CC="$CC" # Let the user override the test.
2135 else
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 for as_dir in $PATH
2139 IFS=$as_save_IFS
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2143 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 break 2
2147 done
2148 done
2149 IFS=$as_save_IFS
2153 CC=$ac_cv_prog_CC
2154 if test -n "$CC"; then
2155 { echo "$as_me:$LINENO: result: $CC" >&5
2156 echo "${ECHO_T}$CC" >&6; }
2157 else
2158 { echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6; }
2163 test -n "$CC" && break
2164 done
2166 if test -z "$CC"; then
2167 ac_ct_CC=$CC
2168 for ac_prog in cl.exe
2170 # Extract the first word of "$ac_prog", so it can be a program name with args.
2171 set dummy $ac_prog; ac_word=$2
2172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2174 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2175 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 else
2177 if test -n "$ac_ct_CC"; then
2178 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2179 else
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 for as_dir in $PATH
2183 IFS=$as_save_IFS
2184 test -z "$as_dir" && as_dir=.
2185 for ac_exec_ext in '' $ac_executable_extensions; do
2186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2187 ac_cv_prog_ac_ct_CC="$ac_prog"
2188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 break 2
2191 done
2192 done
2193 IFS=$as_save_IFS
2197 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2198 if test -n "$ac_ct_CC"; then
2199 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2200 echo "${ECHO_T}$ac_ct_CC" >&6; }
2201 else
2202 { echo "$as_me:$LINENO: result: no" >&5
2203 echo "${ECHO_T}no" >&6; }
2207 test -n "$ac_ct_CC" && break
2208 done
2210 if test "x$ac_ct_CC" = x; then
2211 CC=""
2212 else
2213 case $cross_compiling:$ac_tool_warned in
2214 yes:)
2215 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2216 whose name does not start with the host triplet. If you think this
2217 configuration is useful to you, please write to autoconf@gnu.org." >&5
2218 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2219 whose name does not start with the host triplet. If you think this
2220 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2221 ac_tool_warned=yes ;;
2222 esac
2223 CC=$ac_ct_CC
2230 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2231 See \`config.log' for more details." >&5
2232 echo "$as_me: error: no acceptable C compiler found in \$PATH
2233 See \`config.log' for more details." >&2;}
2234 { (exit 1); exit 1; }; }
2236 # Provide some information about the compiler.
2237 echo "$as_me:$LINENO: checking for C compiler version" >&5
2238 ac_compiler=`set X $ac_compile; echo $2`
2239 { (ac_try="$ac_compiler --version >&5"
2240 case "(($ac_try" in
2241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2242 *) ac_try_echo=$ac_try;;
2243 esac
2244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2245 (eval "$ac_compiler --version >&5") 2>&5
2246 ac_status=$?
2247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248 (exit $ac_status); }
2249 { (ac_try="$ac_compiler -v >&5"
2250 case "(($ac_try" in
2251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2252 *) ac_try_echo=$ac_try;;
2253 esac
2254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2255 (eval "$ac_compiler -v >&5") 2>&5
2256 ac_status=$?
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); }
2259 { (ac_try="$ac_compiler -V >&5"
2260 case "(($ac_try" in
2261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2262 *) ac_try_echo=$ac_try;;
2263 esac
2264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2265 (eval "$ac_compiler -V >&5") 2>&5
2266 ac_status=$?
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }
2270 cat >conftest.$ac_ext <<_ACEOF
2271 /* confdefs.h. */
2272 _ACEOF
2273 cat confdefs.h >>conftest.$ac_ext
2274 cat >>conftest.$ac_ext <<_ACEOF
2275 /* end confdefs.h. */
2278 main ()
2282 return 0;
2284 _ACEOF
2285 ac_clean_files_save=$ac_clean_files
2286 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2287 # Try to create an executable without -o first, disregard a.out.
2288 # It will help us diagnose broken compilers, and finding out an intuition
2289 # of exeext.
2290 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2291 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2292 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2294 # List of possible output files, starting from the most likely.
2295 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2296 # only as a last resort. b.out is created by i960 compilers.
2297 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2299 # The IRIX 6 linker writes into existing files which may not be
2300 # executable, retaining their permissions. Remove them first so a
2301 # subsequent execution test works.
2302 ac_rmfiles=
2303 for ac_file in $ac_files
2305 case $ac_file in
2306 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2307 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2308 esac
2309 done
2310 rm -f $ac_rmfiles
2312 if { (ac_try="$ac_link_default"
2313 case "(($ac_try" in
2314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2315 *) ac_try_echo=$ac_try;;
2316 esac
2317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2318 (eval "$ac_link_default") 2>&5
2319 ac_status=$?
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); }; then
2322 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2323 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2324 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2325 # so that the user can short-circuit this test for compilers unknown to
2326 # Autoconf.
2327 for ac_file in $ac_files ''
2329 test -f "$ac_file" || continue
2330 case $ac_file in
2331 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2333 [ab].out )
2334 # We found the default executable, but exeext='' is most
2335 # certainly right.
2336 break;;
2337 *.* )
2338 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2339 then :; else
2340 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2342 # We set ac_cv_exeext here because the later test for it is not
2343 # safe: cross compilers may not add the suffix if given an `-o'
2344 # argument, so we may need to know it at that point already.
2345 # Even if this section looks crufty: it has the advantage of
2346 # actually working.
2347 break;;
2349 break;;
2350 esac
2351 done
2352 test "$ac_cv_exeext" = no && ac_cv_exeext=
2354 else
2355 ac_file=''
2358 { echo "$as_me:$LINENO: result: $ac_file" >&5
2359 echo "${ECHO_T}$ac_file" >&6; }
2360 if test -z "$ac_file"; then
2361 echo "$as_me: failed program was:" >&5
2362 sed 's/^/| /' conftest.$ac_ext >&5
2364 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2365 See \`config.log' for more details." >&5
2366 echo "$as_me: error: C compiler cannot create executables
2367 See \`config.log' for more details." >&2;}
2368 { (exit 77); exit 77; }; }
2371 ac_exeext=$ac_cv_exeext
2373 # Check that the compiler produces executables we can run. If not, either
2374 # the compiler is broken, or we cross compile.
2375 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2376 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2377 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2378 # If not cross compiling, check that we can run a simple program.
2379 if test "$cross_compiling" != yes; then
2380 if { ac_try='./$ac_file'
2381 { (case "(($ac_try" in
2382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2383 *) ac_try_echo=$ac_try;;
2384 esac
2385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2386 (eval "$ac_try") 2>&5
2387 ac_status=$?
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }; }; then
2390 cross_compiling=no
2391 else
2392 if test "$cross_compiling" = maybe; then
2393 cross_compiling=yes
2394 else
2395 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2396 If you meant to cross compile, use \`--host'.
2397 See \`config.log' for more details." >&5
2398 echo "$as_me: error: cannot run C compiled programs.
2399 If you meant to cross compile, use \`--host'.
2400 See \`config.log' for more details." >&2;}
2401 { (exit 1); exit 1; }; }
2405 { echo "$as_me:$LINENO: result: yes" >&5
2406 echo "${ECHO_T}yes" >&6; }
2408 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2409 ac_clean_files=$ac_clean_files_save
2410 # Check that the compiler produces executables we can run. If not, either
2411 # the compiler is broken, or we cross compile.
2412 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2413 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2414 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2415 echo "${ECHO_T}$cross_compiling" >&6; }
2417 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2418 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2419 if { (ac_try="$ac_link"
2420 case "(($ac_try" in
2421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2422 *) ac_try_echo=$ac_try;;
2423 esac
2424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2425 (eval "$ac_link") 2>&5
2426 ac_status=$?
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); }; then
2429 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2430 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2431 # work properly (i.e., refer to `conftest.exe'), while it won't with
2432 # `rm'.
2433 for ac_file in conftest.exe conftest conftest.*; do
2434 test -f "$ac_file" || continue
2435 case $ac_file in
2436 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2437 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2438 break;;
2439 * ) break;;
2440 esac
2441 done
2442 else
2443 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2444 See \`config.log' for more details." >&5
2445 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2446 See \`config.log' for more details." >&2;}
2447 { (exit 1); exit 1; }; }
2450 rm -f conftest$ac_cv_exeext
2451 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2452 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2454 rm -f conftest.$ac_ext
2455 EXEEXT=$ac_cv_exeext
2456 ac_exeext=$EXEEXT
2457 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2458 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2459 if test "${ac_cv_objext+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2461 else
2462 cat >conftest.$ac_ext <<_ACEOF
2463 /* confdefs.h. */
2464 _ACEOF
2465 cat confdefs.h >>conftest.$ac_ext
2466 cat >>conftest.$ac_ext <<_ACEOF
2467 /* end confdefs.h. */
2470 main ()
2474 return 0;
2476 _ACEOF
2477 rm -f conftest.o conftest.obj
2478 if { (ac_try="$ac_compile"
2479 case "(($ac_try" in
2480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2481 *) ac_try_echo=$ac_try;;
2482 esac
2483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2484 (eval "$ac_compile") 2>&5
2485 ac_status=$?
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; then
2488 for ac_file in conftest.o conftest.obj conftest.*; do
2489 test -f "$ac_file" || continue;
2490 case $ac_file in
2491 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2492 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2493 break;;
2494 esac
2495 done
2496 else
2497 echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.$ac_ext >&5
2500 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2501 See \`config.log' for more details." >&5
2502 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2503 See \`config.log' for more details." >&2;}
2504 { (exit 1); exit 1; }; }
2507 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2509 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2510 echo "${ECHO_T}$ac_cv_objext" >&6; }
2511 OBJEXT=$ac_cv_objext
2512 ac_objext=$OBJEXT
2513 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2514 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2515 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 else
2518 cat >conftest.$ac_ext <<_ACEOF
2519 /* confdefs.h. */
2520 _ACEOF
2521 cat confdefs.h >>conftest.$ac_ext
2522 cat >>conftest.$ac_ext <<_ACEOF
2523 /* end confdefs.h. */
2526 main ()
2528 #ifndef __GNUC__
2529 choke me
2530 #endif
2533 return 0;
2535 _ACEOF
2536 rm -f conftest.$ac_objext
2537 if { (ac_try="$ac_compile"
2538 case "(($ac_try" in
2539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2540 *) ac_try_echo=$ac_try;;
2541 esac
2542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2543 (eval "$ac_compile") 2>conftest.er1
2544 ac_status=$?
2545 grep -v '^ *+' conftest.er1 >conftest.err
2546 rm -f conftest.er1
2547 cat conftest.err >&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); } && {
2550 test -z "$ac_c_werror_flag" ||
2551 test ! -s conftest.err
2552 } && test -s conftest.$ac_objext; then
2553 ac_compiler_gnu=yes
2554 else
2555 echo "$as_me: failed program was:" >&5
2556 sed 's/^/| /' conftest.$ac_ext >&5
2558 ac_compiler_gnu=no
2561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2562 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2565 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2566 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2567 GCC=`test $ac_compiler_gnu = yes && echo yes`
2568 ac_test_CFLAGS=${CFLAGS+set}
2569 ac_save_CFLAGS=$CFLAGS
2570 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2571 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2572 if test "${ac_cv_prog_cc_g+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 else
2575 ac_save_c_werror_flag=$ac_c_werror_flag
2576 ac_c_werror_flag=yes
2577 ac_cv_prog_cc_g=no
2578 CFLAGS="-g"
2579 cat >conftest.$ac_ext <<_ACEOF
2580 /* confdefs.h. */
2581 _ACEOF
2582 cat confdefs.h >>conftest.$ac_ext
2583 cat >>conftest.$ac_ext <<_ACEOF
2584 /* end confdefs.h. */
2587 main ()
2591 return 0;
2593 _ACEOF
2594 rm -f conftest.$ac_objext
2595 if { (ac_try="$ac_compile"
2596 case "(($ac_try" in
2597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2598 *) ac_try_echo=$ac_try;;
2599 esac
2600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2601 (eval "$ac_compile") 2>conftest.er1
2602 ac_status=$?
2603 grep -v '^ *+' conftest.er1 >conftest.err
2604 rm -f conftest.er1
2605 cat conftest.err >&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); } && {
2608 test -z "$ac_c_werror_flag" ||
2609 test ! -s conftest.err
2610 } && test -s conftest.$ac_objext; then
2611 ac_cv_prog_cc_g=yes
2612 else
2613 echo "$as_me: failed program was:" >&5
2614 sed 's/^/| /' conftest.$ac_ext >&5
2616 CFLAGS=""
2617 cat >conftest.$ac_ext <<_ACEOF
2618 /* confdefs.h. */
2619 _ACEOF
2620 cat confdefs.h >>conftest.$ac_ext
2621 cat >>conftest.$ac_ext <<_ACEOF
2622 /* end confdefs.h. */
2625 main ()
2629 return 0;
2631 _ACEOF
2632 rm -f conftest.$ac_objext
2633 if { (ac_try="$ac_compile"
2634 case "(($ac_try" in
2635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2636 *) ac_try_echo=$ac_try;;
2637 esac
2638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2639 (eval "$ac_compile") 2>conftest.er1
2640 ac_status=$?
2641 grep -v '^ *+' conftest.er1 >conftest.err
2642 rm -f conftest.er1
2643 cat conftest.err >&5
2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); } && {
2646 test -z "$ac_c_werror_flag" ||
2647 test ! -s conftest.err
2648 } && test -s conftest.$ac_objext; then
2650 else
2651 echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.$ac_ext >&5
2654 ac_c_werror_flag=$ac_save_c_werror_flag
2655 CFLAGS="-g"
2656 cat >conftest.$ac_ext <<_ACEOF
2657 /* confdefs.h. */
2658 _ACEOF
2659 cat confdefs.h >>conftest.$ac_ext
2660 cat >>conftest.$ac_ext <<_ACEOF
2661 /* end confdefs.h. */
2664 main ()
2668 return 0;
2670 _ACEOF
2671 rm -f conftest.$ac_objext
2672 if { (ac_try="$ac_compile"
2673 case "(($ac_try" in
2674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2676 esac
2677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2678 (eval "$ac_compile") 2>conftest.er1
2679 ac_status=$?
2680 grep -v '^ *+' conftest.er1 >conftest.err
2681 rm -f conftest.er1
2682 cat conftest.err >&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); } && {
2685 test -z "$ac_c_werror_flag" ||
2686 test ! -s conftest.err
2687 } && test -s conftest.$ac_objext; then
2688 ac_cv_prog_cc_g=yes
2689 else
2690 echo "$as_me: failed program was:" >&5
2691 sed 's/^/| /' conftest.$ac_ext >&5
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2703 ac_c_werror_flag=$ac_save_c_werror_flag
2705 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2706 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2707 if test "$ac_test_CFLAGS" = set; then
2708 CFLAGS=$ac_save_CFLAGS
2709 elif test $ac_cv_prog_cc_g = yes; then
2710 if test "$GCC" = yes; then
2711 CFLAGS="-g -O2"
2712 else
2713 CFLAGS="-g"
2715 else
2716 if test "$GCC" = yes; then
2717 CFLAGS="-O2"
2718 else
2719 CFLAGS=
2722 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2723 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2724 if test "${ac_cv_prog_cc_c89+set}" = set; then
2725 echo $ECHO_N "(cached) $ECHO_C" >&6
2726 else
2727 ac_cv_prog_cc_c89=no
2728 ac_save_CC=$CC
2729 cat >conftest.$ac_ext <<_ACEOF
2730 /* confdefs.h. */
2731 _ACEOF
2732 cat confdefs.h >>conftest.$ac_ext
2733 cat >>conftest.$ac_ext <<_ACEOF
2734 /* end confdefs.h. */
2735 #include <stdarg.h>
2736 #include <stdio.h>
2737 #include <sys/types.h>
2738 #include <sys/stat.h>
2739 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2740 struct buf { int x; };
2741 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2742 static char *e (p, i)
2743 char **p;
2744 int i;
2746 return p[i];
2748 static char *f (char * (*g) (char **, int), char **p, ...)
2750 char *s;
2751 va_list v;
2752 va_start (v,p);
2753 s = g (p, va_arg (v,int));
2754 va_end (v);
2755 return s;
2758 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2759 function prototypes and stuff, but not '\xHH' hex character constants.
2760 These don't provoke an error unfortunately, instead are silently treated
2761 as 'x'. The following induces an error, until -std is added to get
2762 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2763 array size at least. It's necessary to write '\x00'==0 to get something
2764 that's true only with -std. */
2765 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2767 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2768 inside strings and character constants. */
2769 #define FOO(x) 'x'
2770 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2772 int test (int i, double x);
2773 struct s1 {int (*f) (int a);};
2774 struct s2 {int (*f) (double a);};
2775 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2776 int argc;
2777 char **argv;
2779 main ()
2781 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2783 return 0;
2785 _ACEOF
2786 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2787 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2789 CC="$ac_save_CC $ac_arg"
2790 rm -f conftest.$ac_objext
2791 if { (ac_try="$ac_compile"
2792 case "(($ac_try" in
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2795 esac
2796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2797 (eval "$ac_compile") 2>conftest.er1
2798 ac_status=$?
2799 grep -v '^ *+' conftest.er1 >conftest.err
2800 rm -f conftest.er1
2801 cat conftest.err >&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); } && {
2804 test -z "$ac_c_werror_flag" ||
2805 test ! -s conftest.err
2806 } && test -s conftest.$ac_objext; then
2807 ac_cv_prog_cc_c89=$ac_arg
2808 else
2809 echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.$ac_ext >&5
2815 rm -f core conftest.err conftest.$ac_objext
2816 test "x$ac_cv_prog_cc_c89" != "xno" && break
2817 done
2818 rm -f conftest.$ac_ext
2819 CC=$ac_save_CC
2822 # AC_CACHE_VAL
2823 case "x$ac_cv_prog_cc_c89" in
2825 { echo "$as_me:$LINENO: result: none needed" >&5
2826 echo "${ECHO_T}none needed" >&6; } ;;
2827 xno)
2828 { echo "$as_me:$LINENO: result: unsupported" >&5
2829 echo "${ECHO_T}unsupported" >&6; } ;;
2831 CC="$CC $ac_cv_prog_cc_c89"
2832 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2833 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2834 esac
2837 ac_ext=c
2838 ac_cpp='$CPP $CPPFLAGS'
2839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2844 am__api_version='1.10'
2846 # Find a good install program. We prefer a C program (faster),
2847 # so one script is as good as another. But avoid the broken or
2848 # incompatible versions:
2849 # SysV /etc/install, /usr/sbin/install
2850 # SunOS /usr/etc/install
2851 # IRIX /sbin/install
2852 # AIX /bin/install
2853 # AmigaOS /C/install, which installs bootblocks on floppy discs
2854 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2855 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2856 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2857 # OS/2's system install, which has a completely different semantic
2858 # ./install, which can be erroneously created by make from ./install.sh.
2859 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2860 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2861 if test -z "$INSTALL"; then
2862 if test "${ac_cv_path_install+set}" = set; then
2863 echo $ECHO_N "(cached) $ECHO_C" >&6
2864 else
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866 for as_dir in $PATH
2868 IFS=$as_save_IFS
2869 test -z "$as_dir" && as_dir=.
2870 # Account for people who put trailing slashes in PATH elements.
2871 case $as_dir/ in
2872 ./ | .// | /cC/* | \
2873 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2874 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2875 /usr/ucb/* ) ;;
2877 # OSF1 and SCO ODT 3.0 have their own names for install.
2878 # Don't use installbsd from OSF since it installs stuff as root
2879 # by default.
2880 for ac_prog in ginstall scoinst install; do
2881 for ac_exec_ext in '' $ac_executable_extensions; do
2882 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2883 if test $ac_prog = install &&
2884 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2885 # AIX install. It has an incompatible calling convention.
2887 elif test $ac_prog = install &&
2888 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2889 # program-specific install script used by HP pwplus--don't use.
2891 else
2892 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2893 break 3
2896 done
2897 done
2899 esac
2900 done
2901 IFS=$as_save_IFS
2905 if test "${ac_cv_path_install+set}" = set; then
2906 INSTALL=$ac_cv_path_install
2907 else
2908 # As a last resort, use the slow shell script. Don't cache a
2909 # value for INSTALL within a source directory, because that will
2910 # break other packages using the cache if that directory is
2911 # removed, or if the value is a relative name.
2912 INSTALL=$ac_install_sh
2915 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2916 echo "${ECHO_T}$INSTALL" >&6; }
2918 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2919 # It thinks the first close brace ends the variable substitution.
2920 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2922 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2924 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2926 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2927 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2928 # Just in case
2929 sleep 1
2930 echo timestamp > conftest.file
2931 # Do `set' in a subshell so we don't clobber the current shell's
2932 # arguments. Must try -L first in case configure is actually a
2933 # symlink; some systems play weird games with the mod time of symlinks
2934 # (eg FreeBSD returns the mod time of the symlink's containing
2935 # directory).
2936 if (
2937 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2938 if test "$*" = "X"; then
2939 # -L didn't work.
2940 set X `ls -t $srcdir/configure conftest.file`
2942 rm -f conftest.file
2943 if test "$*" != "X $srcdir/configure conftest.file" \
2944 && test "$*" != "X conftest.file $srcdir/configure"; then
2946 # If neither matched, then we have a broken ls. This can happen
2947 # if, for instance, CONFIG_SHELL is bash and it inherits a
2948 # broken ls alias from the environment. This has actually
2949 # happened. Such a system could not be considered "sane".
2950 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2951 alias in your environment" >&5
2952 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2953 alias in your environment" >&2;}
2954 { (exit 1); exit 1; }; }
2957 test "$2" = conftest.file
2959 then
2960 # Ok.
2962 else
2963 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2964 Check your system clock" >&5
2965 echo "$as_me: error: newly created file is older than distributed files!
2966 Check your system clock" >&2;}
2967 { (exit 1); exit 1; }; }
2969 { echo "$as_me:$LINENO: result: yes" >&5
2970 echo "${ECHO_T}yes" >&6; }
2971 test "$program_prefix" != NONE &&
2972 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2973 # Use a double $ so make ignores it.
2974 test "$program_suffix" != NONE &&
2975 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2976 # Double any \ or $. echo might interpret backslashes.
2977 # By default was `s,x,x', remove it if useless.
2978 cat <<\_ACEOF >conftest.sed
2979 s/[\\$]/&&/g;s/;s,x,x,$//
2980 _ACEOF
2981 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2982 rm -f conftest.sed
2984 # expand $ac_aux_dir to an absolute path
2985 am_aux_dir=`cd $ac_aux_dir && pwd`
2987 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2988 # Use eval to expand $SHELL
2989 if eval "$MISSING --run true"; then
2990 am_missing_run="$MISSING --run "
2991 else
2992 am_missing_run=
2993 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2994 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2997 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2998 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2999 if test -z "$MKDIR_P"; then
3000 if test "${ac_cv_path_mkdir+set}" = set; then
3001 echo $ECHO_N "(cached) $ECHO_C" >&6
3002 else
3003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3006 IFS=$as_save_IFS
3007 test -z "$as_dir" && as_dir=.
3008 for ac_prog in mkdir gmkdir; do
3009 for ac_exec_ext in '' $ac_executable_extensions; do
3010 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3011 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3012 'mkdir (GNU coreutils) '* | \
3013 'mkdir (coreutils) '* | \
3014 'mkdir (fileutils) '4.1*)
3015 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3016 break 3;;
3017 esac
3018 done
3019 done
3020 done
3021 IFS=$as_save_IFS
3025 if test "${ac_cv_path_mkdir+set}" = set; then
3026 MKDIR_P="$ac_cv_path_mkdir -p"
3027 else
3028 # As a last resort, use the slow shell script. Don't cache a
3029 # value for MKDIR_P within a source directory, because that will
3030 # break other packages using the cache if that directory is
3031 # removed, or if the value is a relative name.
3032 test -d ./--version && rmdir ./--version
3033 MKDIR_P="$ac_install_sh -d"
3036 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3037 echo "${ECHO_T}$MKDIR_P" >&6; }
3039 mkdir_p="$MKDIR_P"
3040 case $mkdir_p in
3041 [\\/$]* | ?:[\\/]*) ;;
3042 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3043 esac
3045 for ac_prog in gawk mawk nawk awk
3047 # Extract the first word of "$ac_prog", so it can be a program name with args.
3048 set dummy $ac_prog; ac_word=$2
3049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3051 if test "${ac_cv_prog_AWK+set}" = set; then
3052 echo $ECHO_N "(cached) $ECHO_C" >&6
3053 else
3054 if test -n "$AWK"; then
3055 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3056 else
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058 for as_dir in $PATH
3060 IFS=$as_save_IFS
3061 test -z "$as_dir" && as_dir=.
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3064 ac_cv_prog_AWK="$ac_prog"
3065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 break 2
3068 done
3069 done
3070 IFS=$as_save_IFS
3074 AWK=$ac_cv_prog_AWK
3075 if test -n "$AWK"; then
3076 { echo "$as_me:$LINENO: result: $AWK" >&5
3077 echo "${ECHO_T}$AWK" >&6; }
3078 else
3079 { echo "$as_me:$LINENO: result: no" >&5
3080 echo "${ECHO_T}no" >&6; }
3084 test -n "$AWK" && break
3085 done
3087 rm -rf .tst 2>/dev/null
3088 mkdir .tst 2>/dev/null
3089 if test -d .tst; then
3090 am__leading_dot=.
3091 else
3092 am__leading_dot=_
3094 rmdir .tst 2>/dev/null
3096 DEPDIR="${am__leading_dot}deps"
3098 ac_config_commands="$ac_config_commands depfiles"
3101 am_make=${MAKE-make}
3102 cat > confinc << 'END'
3103 am__doit:
3104 @echo done
3105 .PHONY: am__doit
3107 # If we don't find an include directive, just comment out the code.
3108 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3109 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3110 am__include="#"
3111 am__quote=
3112 _am_result=none
3113 # First try GNU make style include.
3114 echo "include confinc" > confmf
3115 # We grep out `Entering directory' and `Leaving directory'
3116 # messages which can occur if `w' ends up in MAKEFLAGS.
3117 # In particular we don't look at `^make:' because GNU make might
3118 # be invoked under some other name (usually "gmake"), in which
3119 # case it prints its new name instead of `make'.
3120 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3121 am__include=include
3122 am__quote=
3123 _am_result=GNU
3125 # Now try BSD make style include.
3126 if test "$am__include" = "#"; then
3127 echo '.include "confinc"' > confmf
3128 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3129 am__include=.include
3130 am__quote="\""
3131 _am_result=BSD
3136 { echo "$as_me:$LINENO: result: $_am_result" >&5
3137 echo "${ECHO_T}$_am_result" >&6; }
3138 rm -f confinc confmf
3140 # Check whether --enable-dependency-tracking was given.
3141 if test "${enable_dependency_tracking+set}" = set; then
3142 enableval=$enable_dependency_tracking;
3145 if test "x$enable_dependency_tracking" != xno; then
3146 am_depcomp="$ac_aux_dir/depcomp"
3147 AMDEPBACKSLASH='\'
3149 if test "x$enable_dependency_tracking" != xno; then
3150 AMDEP_TRUE=
3151 AMDEP_FALSE='#'
3152 else
3153 AMDEP_TRUE='#'
3154 AMDEP_FALSE=
3158 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3159 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3160 # is not polluted with repeated "-I."
3161 am__isrc=' -I$(srcdir)'
3162 # test to see if srcdir already configured
3163 if test -f $srcdir/config.status; then
3164 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3165 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3166 { (exit 1); exit 1; }; }
3170 # test whether we have cygpath
3171 if test -z "$CYGPATH_W"; then
3172 if (cygpath --version) >/dev/null 2>/dev/null; then
3173 CYGPATH_W='cygpath -w'
3174 else
3175 CYGPATH_W=echo
3180 # Define the identity of the package.
3181 PACKAGE=mde
3182 VERSION=1.6.0
3185 cat >>confdefs.h <<_ACEOF
3186 #define PACKAGE "$PACKAGE"
3187 _ACEOF
3190 cat >>confdefs.h <<_ACEOF
3191 #define VERSION "$VERSION"
3192 _ACEOF
3194 # Some tools Automake needs.
3196 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3199 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3202 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3205 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3208 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3210 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
3212 # Installed binaries are usually stripped using `strip' when the user
3213 # run `make install-strip'. However `strip' might not be the right
3214 # tool to use in cross-compilation environments, therefore Automake
3215 # will honor the `STRIP' environment variable to overrule this program.
3216 if test "$cross_compiling" != no; then
3217 if test -n "$ac_tool_prefix"; then
3218 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3219 set dummy ${ac_tool_prefix}strip; ac_word=$2
3220 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3222 if test "${ac_cv_prog_STRIP+set}" = set; then
3223 echo $ECHO_N "(cached) $ECHO_C" >&6
3224 else
3225 if test -n "$STRIP"; then
3226 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3227 else
3228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3229 for as_dir in $PATH
3231 IFS=$as_save_IFS
3232 test -z "$as_dir" && as_dir=.
3233 for ac_exec_ext in '' $ac_executable_extensions; do
3234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3235 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3237 break 2
3239 done
3240 done
3241 IFS=$as_save_IFS
3245 STRIP=$ac_cv_prog_STRIP
3246 if test -n "$STRIP"; then
3247 { echo "$as_me:$LINENO: result: $STRIP" >&5
3248 echo "${ECHO_T}$STRIP" >&6; }
3249 else
3250 { echo "$as_me:$LINENO: result: no" >&5
3251 echo "${ECHO_T}no" >&6; }
3256 if test -z "$ac_cv_prog_STRIP"; then
3257 ac_ct_STRIP=$STRIP
3258 # Extract the first word of "strip", so it can be a program name with args.
3259 set dummy strip; ac_word=$2
3260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3262 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3263 echo $ECHO_N "(cached) $ECHO_C" >&6
3264 else
3265 if test -n "$ac_ct_STRIP"; then
3266 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3267 else
3268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3269 for as_dir in $PATH
3271 IFS=$as_save_IFS
3272 test -z "$as_dir" && as_dir=.
3273 for ac_exec_ext in '' $ac_executable_extensions; do
3274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3275 ac_cv_prog_ac_ct_STRIP="strip"
3276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 break 2
3279 done
3280 done
3281 IFS=$as_save_IFS
3285 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3286 if test -n "$ac_ct_STRIP"; then
3287 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3288 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
3289 else
3290 { echo "$as_me:$LINENO: result: no" >&5
3291 echo "${ECHO_T}no" >&6; }
3294 if test "x$ac_ct_STRIP" = x; then
3295 STRIP=":"
3296 else
3297 case $cross_compiling:$ac_tool_warned in
3298 yes:)
3299 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3300 whose name does not start with the host triplet. If you think this
3301 configuration is useful to you, please write to autoconf@gnu.org." >&5
3302 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3303 whose name does not start with the host triplet. If you think this
3304 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3305 ac_tool_warned=yes ;;
3306 esac
3307 STRIP=$ac_ct_STRIP
3309 else
3310 STRIP="$ac_cv_prog_STRIP"
3314 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3316 # We need awk for the "check" target. The system "awk" is bad on
3317 # some platforms.
3318 # Always define AMTAR for backward compatibility.
3320 AMTAR=${AMTAR-"${am_missing_run}tar"}
3322 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3327 depcc="$CC" am_compiler_list=
3329 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3330 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3331 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3332 echo $ECHO_N "(cached) $ECHO_C" >&6
3333 else
3334 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3335 # We make a subdir and do the tests there. Otherwise we can end up
3336 # making bogus files that we don't know about and never remove. For
3337 # instance it was reported that on HP-UX the gcc test will end up
3338 # making a dummy file named `D' -- because `-MD' means `put the output
3339 # in D'.
3340 mkdir conftest.dir
3341 # Copy depcomp to subdir because otherwise we won't find it if we're
3342 # using a relative directory.
3343 cp "$am_depcomp" conftest.dir
3344 cd conftest.dir
3345 # We will build objects and dependencies in a subdirectory because
3346 # it helps to detect inapplicable dependency modes. For instance
3347 # both Tru64's cc and ICC support -MD to output dependencies as a
3348 # side effect of compilation, but ICC will put the dependencies in
3349 # the current directory while Tru64 will put them in the object
3350 # directory.
3351 mkdir sub
3353 am_cv_CC_dependencies_compiler_type=none
3354 if test "$am_compiler_list" = ""; then
3355 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3357 for depmode in $am_compiler_list; do
3358 # Setup a source with many dependencies, because some compilers
3359 # like to wrap large dependency lists on column 80 (with \), and
3360 # we should not choose a depcomp mode which is confused by this.
3362 # We need to recreate these files for each test, as the compiler may
3363 # overwrite some of them when testing with obscure command lines.
3364 # This happens at least with the AIX C compiler.
3365 : > sub/conftest.c
3366 for i in 1 2 3 4 5 6; do
3367 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3368 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3369 # Solaris 8's {/usr,}/bin/sh.
3370 touch sub/conftst$i.h
3371 done
3372 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3374 case $depmode in
3375 nosideeffect)
3376 # after this tag, mechanisms are not by side-effect, so they'll
3377 # only be used when explicitly requested
3378 if test "x$enable_dependency_tracking" = xyes; then
3379 continue
3380 else
3381 break
3384 none) break ;;
3385 esac
3386 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3387 # mode. It turns out that the SunPro C++ compiler does not properly
3388 # handle `-M -o', and we need to detect this.
3389 if depmode=$depmode \
3390 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3391 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3392 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3393 >/dev/null 2>conftest.err &&
3394 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3395 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3396 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3397 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3398 # icc doesn't choke on unknown options, it will just issue warnings
3399 # or remarks (even with -Werror). So we grep stderr for any message
3400 # that says an option was ignored or not supported.
3401 # When given -MP, icc 7.0 and 7.1 complain thusly:
3402 # icc: Command line warning: ignoring option '-M'; no argument required
3403 # The diagnosis changed in icc 8.0:
3404 # icc: Command line remark: option '-MP' not supported
3405 if (grep 'ignoring option' conftest.err ||
3406 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3407 am_cv_CC_dependencies_compiler_type=$depmode
3408 break
3411 done
3413 cd ..
3414 rm -rf conftest.dir
3415 else
3416 am_cv_CC_dependencies_compiler_type=none
3420 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3421 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3422 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3425 test "x$enable_dependency_tracking" != xno \
3426 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3427 am__fastdepCC_TRUE=
3428 am__fastdepCC_FALSE='#'
3429 else
3430 am__fastdepCC_TRUE='#'
3431 am__fastdepCC_FALSE=
3438 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3439 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
3440 if test "${ac_cv_c_const+set}" = set; then
3441 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 else
3443 cat >conftest.$ac_ext <<_ACEOF
3444 /* confdefs.h. */
3445 _ACEOF
3446 cat confdefs.h >>conftest.$ac_ext
3447 cat >>conftest.$ac_ext <<_ACEOF
3448 /* end confdefs.h. */
3451 main ()
3453 /* FIXME: Include the comments suggested by Paul. */
3454 #ifndef __cplusplus
3455 /* Ultrix mips cc rejects this. */
3456 typedef int charset[2];
3457 const charset cs;
3458 /* SunOS 4.1.1 cc rejects this. */
3459 char const *const *pcpcc;
3460 char **ppc;
3461 /* NEC SVR4.0.2 mips cc rejects this. */
3462 struct point {int x, y;};
3463 static struct point const zero = {0,0};
3464 /* AIX XL C 1.02.0.0 rejects this.
3465 It does not let you subtract one const X* pointer from another in
3466 an arm of an if-expression whose if-part is not a constant
3467 expression */
3468 const char *g = "string";
3469 pcpcc = &g + (g ? g-g : 0);
3470 /* HPUX 7.0 cc rejects these. */
3471 ++pcpcc;
3472 ppc = (char**) pcpcc;
3473 pcpcc = (char const *const *) ppc;
3474 { /* SCO 3.2v4 cc rejects this. */
3475 char *t;
3476 char const *s = 0 ? (char *) 0 : (char const *) 0;
3478 *t++ = 0;
3479 if (s) return 0;
3481 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3482 int x[] = {25, 17};
3483 const int *foo = &x[0];
3484 ++foo;
3486 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3487 typedef const int *iptr;
3488 iptr p = 0;
3489 ++p;
3491 { /* AIX XL C 1.02.0.0 rejects this saying
3492 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3493 struct s { int j; const int *ap[3]; };
3494 struct s *b; b->j = 5;
3496 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3497 const int foo = 10;
3498 if (!foo) return 0;
3500 return !cs[0] && !zero.x;
3501 #endif
3504 return 0;
3506 _ACEOF
3507 rm -f conftest.$ac_objext
3508 if { (ac_try="$ac_compile"
3509 case "(($ac_try" in
3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511 *) ac_try_echo=$ac_try;;
3512 esac
3513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3514 (eval "$ac_compile") 2>conftest.er1
3515 ac_status=$?
3516 grep -v '^ *+' conftest.er1 >conftest.err
3517 rm -f conftest.er1
3518 cat conftest.err >&5
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); } && {
3521 test -z "$ac_c_werror_flag" ||
3522 test ! -s conftest.err
3523 } && test -s conftest.$ac_objext; then
3524 ac_cv_c_const=yes
3525 else
3526 echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.$ac_ext >&5
3529 ac_cv_c_const=no
3532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3535 echo "${ECHO_T}$ac_cv_c_const" >&6; }
3536 if test $ac_cv_c_const = no; then
3538 cat >>confdefs.h <<\_ACEOF
3539 #define const
3540 _ACEOF
3545 ac_ext=c
3546 ac_cpp='$CPP $CPPFLAGS'
3547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3550 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3551 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3552 # On Suns, sometimes $CPP names a directory.
3553 if test -n "$CPP" && test -d "$CPP"; then
3554 CPP=
3556 if test -z "$CPP"; then
3557 if test "${ac_cv_prog_CPP+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 else
3560 # Double quotes because CPP needs to be expanded
3561 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3563 ac_preproc_ok=false
3564 for ac_c_preproc_warn_flag in '' yes
3566 # Use a header file that comes with gcc, so configuring glibc
3567 # with a fresh cross-compiler works.
3568 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3569 # <limits.h> exists even on freestanding compilers.
3570 # On the NeXT, cc -E runs the code through the compiler's parser,
3571 # not just through cpp. "Syntax error" is here to catch this case.
3572 cat >conftest.$ac_ext <<_ACEOF
3573 /* confdefs.h. */
3574 _ACEOF
3575 cat confdefs.h >>conftest.$ac_ext
3576 cat >>conftest.$ac_ext <<_ACEOF
3577 /* end confdefs.h. */
3578 #ifdef __STDC__
3579 # include <limits.h>
3580 #else
3581 # include <assert.h>
3582 #endif
3583 Syntax error
3584 _ACEOF
3585 if { (ac_try="$ac_cpp conftest.$ac_ext"
3586 case "(($ac_try" in
3587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3588 *) ac_try_echo=$ac_try;;
3589 esac
3590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3592 ac_status=$?
3593 grep -v '^ *+' conftest.er1 >conftest.err
3594 rm -f conftest.er1
3595 cat conftest.err >&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); } >/dev/null && {
3598 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3599 test ! -s conftest.err
3600 }; then
3602 else
3603 echo "$as_me: failed program was:" >&5
3604 sed 's/^/| /' conftest.$ac_ext >&5
3606 # Broken: fails on valid input.
3607 continue
3610 rm -f conftest.err conftest.$ac_ext
3612 # OK, works on sane cases. Now check whether nonexistent headers
3613 # can be detected and how.
3614 cat >conftest.$ac_ext <<_ACEOF
3615 /* confdefs.h. */
3616 _ACEOF
3617 cat confdefs.h >>conftest.$ac_ext
3618 cat >>conftest.$ac_ext <<_ACEOF
3619 /* end confdefs.h. */
3620 #include <ac_nonexistent.h>
3621 _ACEOF
3622 if { (ac_try="$ac_cpp conftest.$ac_ext"
3623 case "(($ac_try" in
3624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3625 *) ac_try_echo=$ac_try;;
3626 esac
3627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3629 ac_status=$?
3630 grep -v '^ *+' conftest.er1 >conftest.err
3631 rm -f conftest.er1
3632 cat conftest.err >&5
3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); } >/dev/null && {
3635 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3636 test ! -s conftest.err
3637 }; then
3638 # Broken: success on invalid input.
3639 continue
3640 else
3641 echo "$as_me: failed program was:" >&5
3642 sed 's/^/| /' conftest.$ac_ext >&5
3644 # Passes both tests.
3645 ac_preproc_ok=:
3646 break
3649 rm -f conftest.err conftest.$ac_ext
3651 done
3652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3653 rm -f conftest.err conftest.$ac_ext
3654 if $ac_preproc_ok; then
3655 break
3658 done
3659 ac_cv_prog_CPP=$CPP
3662 CPP=$ac_cv_prog_CPP
3663 else
3664 ac_cv_prog_CPP=$CPP
3666 { echo "$as_me:$LINENO: result: $CPP" >&5
3667 echo "${ECHO_T}$CPP" >&6; }
3668 ac_preproc_ok=false
3669 for ac_c_preproc_warn_flag in '' yes
3671 # Use a header file that comes with gcc, so configuring glibc
3672 # with a fresh cross-compiler works.
3673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3674 # <limits.h> exists even on freestanding compilers.
3675 # On the NeXT, cc -E runs the code through the compiler's parser,
3676 # not just through cpp. "Syntax error" is here to catch this case.
3677 cat >conftest.$ac_ext <<_ACEOF
3678 /* confdefs.h. */
3679 _ACEOF
3680 cat confdefs.h >>conftest.$ac_ext
3681 cat >>conftest.$ac_ext <<_ACEOF
3682 /* end confdefs.h. */
3683 #ifdef __STDC__
3684 # include <limits.h>
3685 #else
3686 # include <assert.h>
3687 #endif
3688 Syntax error
3689 _ACEOF
3690 if { (ac_try="$ac_cpp conftest.$ac_ext"
3691 case "(($ac_try" in
3692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3693 *) ac_try_echo=$ac_try;;
3694 esac
3695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3696 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3697 ac_status=$?
3698 grep -v '^ *+' conftest.er1 >conftest.err
3699 rm -f conftest.er1
3700 cat conftest.err >&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); } >/dev/null && {
3703 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3704 test ! -s conftest.err
3705 }; then
3707 else
3708 echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.$ac_ext >&5
3711 # Broken: fails on valid input.
3712 continue
3715 rm -f conftest.err conftest.$ac_ext
3717 # OK, works on sane cases. Now check whether nonexistent headers
3718 # can be detected and how.
3719 cat >conftest.$ac_ext <<_ACEOF
3720 /* confdefs.h. */
3721 _ACEOF
3722 cat confdefs.h >>conftest.$ac_ext
3723 cat >>conftest.$ac_ext <<_ACEOF
3724 /* end confdefs.h. */
3725 #include <ac_nonexistent.h>
3726 _ACEOF
3727 if { (ac_try="$ac_cpp conftest.$ac_ext"
3728 case "(($ac_try" in
3729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3730 *) ac_try_echo=$ac_try;;
3731 esac
3732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3733 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3734 ac_status=$?
3735 grep -v '^ *+' conftest.er1 >conftest.err
3736 rm -f conftest.er1
3737 cat conftest.err >&5
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); } >/dev/null && {
3740 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3741 test ! -s conftest.err
3742 }; then
3743 # Broken: success on invalid input.
3744 continue
3745 else
3746 echo "$as_me: failed program was:" >&5
3747 sed 's/^/| /' conftest.$ac_ext >&5
3749 # Passes both tests.
3750 ac_preproc_ok=:
3751 break
3754 rm -f conftest.err conftest.$ac_ext
3756 done
3757 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3758 rm -f conftest.err conftest.$ac_ext
3759 if $ac_preproc_ok; then
3761 else
3762 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3763 See \`config.log' for more details." >&5
3764 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3765 See \`config.log' for more details." >&2;}
3766 { (exit 1); exit 1; }; }
3769 ac_ext=c
3770 ac_cpp='$CPP $CPPFLAGS'
3771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3776 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3777 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3778 if test "${ac_cv_path_GREP+set}" = set; then
3779 echo $ECHO_N "(cached) $ECHO_C" >&6
3780 else
3781 # Extract the first word of "grep ggrep" to use in msg output
3782 if test -z "$GREP"; then
3783 set dummy grep ggrep; ac_prog_name=$2
3784 if test "${ac_cv_path_GREP+set}" = set; then
3785 echo $ECHO_N "(cached) $ECHO_C" >&6
3786 else
3787 ac_path_GREP_found=false
3788 # Loop through the user's path and test for each of PROGNAME-LIST
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3792 IFS=$as_save_IFS
3793 test -z "$as_dir" && as_dir=.
3794 for ac_prog in grep ggrep; do
3795 for ac_exec_ext in '' $ac_executable_extensions; do
3796 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3797 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3798 # Check for GNU ac_path_GREP and select it if it is found.
3799 # Check for GNU $ac_path_GREP
3800 case `"$ac_path_GREP" --version 2>&1` in
3801 *GNU*)
3802 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3804 ac_count=0
3805 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3806 while :
3808 cat "conftest.in" "conftest.in" >"conftest.tmp"
3809 mv "conftest.tmp" "conftest.in"
3810 cp "conftest.in" "conftest.nl"
3811 echo 'GREP' >> "conftest.nl"
3812 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3813 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3814 ac_count=`expr $ac_count + 1`
3815 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3816 # Best one so far, save it but keep looking for a better one
3817 ac_cv_path_GREP="$ac_path_GREP"
3818 ac_path_GREP_max=$ac_count
3820 # 10*(2^10) chars as input seems more than enough
3821 test $ac_count -gt 10 && break
3822 done
3823 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3824 esac
3827 $ac_path_GREP_found && break 3
3828 done
3829 done
3831 done
3832 IFS=$as_save_IFS
3837 GREP="$ac_cv_path_GREP"
3838 if test -z "$GREP"; then
3839 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3840 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3841 { (exit 1); exit 1; }; }
3844 else
3845 ac_cv_path_GREP=$GREP
3850 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3851 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3852 GREP="$ac_cv_path_GREP"
3855 { echo "$as_me:$LINENO: checking for egrep" >&5
3856 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3857 if test "${ac_cv_path_EGREP+set}" = set; then
3858 echo $ECHO_N "(cached) $ECHO_C" >&6
3859 else
3860 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3861 then ac_cv_path_EGREP="$GREP -E"
3862 else
3863 # Extract the first word of "egrep" to use in msg output
3864 if test -z "$EGREP"; then
3865 set dummy egrep; ac_prog_name=$2
3866 if test "${ac_cv_path_EGREP+set}" = set; then
3867 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 else
3869 ac_path_EGREP_found=false
3870 # Loop through the user's path and test for each of PROGNAME-LIST
3871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3872 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3874 IFS=$as_save_IFS
3875 test -z "$as_dir" && as_dir=.
3876 for ac_prog in egrep; do
3877 for ac_exec_ext in '' $ac_executable_extensions; do
3878 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3879 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3880 # Check for GNU ac_path_EGREP and select it if it is found.
3881 # Check for GNU $ac_path_EGREP
3882 case `"$ac_path_EGREP" --version 2>&1` in
3883 *GNU*)
3884 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3886 ac_count=0
3887 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3888 while :
3890 cat "conftest.in" "conftest.in" >"conftest.tmp"
3891 mv "conftest.tmp" "conftest.in"
3892 cp "conftest.in" "conftest.nl"
3893 echo 'EGREP' >> "conftest.nl"
3894 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3895 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3896 ac_count=`expr $ac_count + 1`
3897 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3898 # Best one so far, save it but keep looking for a better one
3899 ac_cv_path_EGREP="$ac_path_EGREP"
3900 ac_path_EGREP_max=$ac_count
3902 # 10*(2^10) chars as input seems more than enough
3903 test $ac_count -gt 10 && break
3904 done
3905 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3906 esac
3909 $ac_path_EGREP_found && break 3
3910 done
3911 done
3913 done
3914 IFS=$as_save_IFS
3919 EGREP="$ac_cv_path_EGREP"
3920 if test -z "$EGREP"; then
3921 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3922 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3923 { (exit 1); exit 1; }; }
3926 else
3927 ac_cv_path_EGREP=$EGREP
3933 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3934 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3935 EGREP="$ac_cv_path_EGREP"
3938 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3939 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3940 if test "${ac_cv_header_stdc+set}" = set; then
3941 echo $ECHO_N "(cached) $ECHO_C" >&6
3942 else
3943 cat >conftest.$ac_ext <<_ACEOF
3944 /* confdefs.h. */
3945 _ACEOF
3946 cat confdefs.h >>conftest.$ac_ext
3947 cat >>conftest.$ac_ext <<_ACEOF
3948 /* end confdefs.h. */
3949 #include <stdlib.h>
3950 #include <stdarg.h>
3951 #include <string.h>
3952 #include <float.h>
3955 main ()
3959 return 0;
3961 _ACEOF
3962 rm -f conftest.$ac_objext
3963 if { (ac_try="$ac_compile"
3964 case "(($ac_try" in
3965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3966 *) ac_try_echo=$ac_try;;
3967 esac
3968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3969 (eval "$ac_compile") 2>conftest.er1
3970 ac_status=$?
3971 grep -v '^ *+' conftest.er1 >conftest.err
3972 rm -f conftest.er1
3973 cat conftest.err >&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); } && {
3976 test -z "$ac_c_werror_flag" ||
3977 test ! -s conftest.err
3978 } && test -s conftest.$ac_objext; then
3979 ac_cv_header_stdc=yes
3980 else
3981 echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.$ac_ext >&5
3984 ac_cv_header_stdc=no
3987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3989 if test $ac_cv_header_stdc = yes; then
3990 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3991 cat >conftest.$ac_ext <<_ACEOF
3992 /* confdefs.h. */
3993 _ACEOF
3994 cat confdefs.h >>conftest.$ac_ext
3995 cat >>conftest.$ac_ext <<_ACEOF
3996 /* end confdefs.h. */
3997 #include <string.h>
3999 _ACEOF
4000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4001 $EGREP "memchr" >/dev/null 2>&1; then
4003 else
4004 ac_cv_header_stdc=no
4006 rm -f conftest*
4010 if test $ac_cv_header_stdc = yes; then
4011 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4012 cat >conftest.$ac_ext <<_ACEOF
4013 /* confdefs.h. */
4014 _ACEOF
4015 cat confdefs.h >>conftest.$ac_ext
4016 cat >>conftest.$ac_ext <<_ACEOF
4017 /* end confdefs.h. */
4018 #include <stdlib.h>
4020 _ACEOF
4021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4022 $EGREP "free" >/dev/null 2>&1; then
4024 else
4025 ac_cv_header_stdc=no
4027 rm -f conftest*
4031 if test $ac_cv_header_stdc = yes; then
4032 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4033 if test "$cross_compiling" = yes; then
4035 else
4036 cat >conftest.$ac_ext <<_ACEOF
4037 /* confdefs.h. */
4038 _ACEOF
4039 cat confdefs.h >>conftest.$ac_ext
4040 cat >>conftest.$ac_ext <<_ACEOF
4041 /* end confdefs.h. */
4042 #include <ctype.h>
4043 #include <stdlib.h>
4044 #if ((' ' & 0x0FF) == 0x020)
4045 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4046 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4047 #else
4048 # define ISLOWER(c) \
4049 (('a' <= (c) && (c) <= 'i') \
4050 || ('j' <= (c) && (c) <= 'r') \
4051 || ('s' <= (c) && (c) <= 'z'))
4052 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4053 #endif
4055 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4057 main ()
4059 int i;
4060 for (i = 0; i < 256; i++)
4061 if (XOR (islower (i), ISLOWER (i))
4062 || toupper (i) != TOUPPER (i))
4063 return 2;
4064 return 0;
4066 _ACEOF
4067 rm -f conftest$ac_exeext
4068 if { (ac_try="$ac_link"
4069 case "(($ac_try" in
4070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4071 *) ac_try_echo=$ac_try;;
4072 esac
4073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4074 (eval "$ac_link") 2>&5
4075 ac_status=$?
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4078 { (case "(($ac_try" in
4079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4080 *) ac_try_echo=$ac_try;;
4081 esac
4082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4083 (eval "$ac_try") 2>&5
4084 ac_status=$?
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); }; }; then
4088 else
4089 echo "$as_me: program exited with status $ac_status" >&5
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.$ac_ext >&5
4093 ( exit $ac_status )
4094 ac_cv_header_stdc=no
4096 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4102 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4103 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4104 if test $ac_cv_header_stdc = yes; then
4106 cat >>confdefs.h <<\_ACEOF
4107 #define STDC_HEADERS 1
4108 _ACEOF
4112 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4113 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
4114 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4115 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 else
4117 cat >conftest.$ac_ext <<_ACEOF
4118 /* confdefs.h. */
4119 _ACEOF
4120 cat confdefs.h >>conftest.$ac_ext
4121 cat >>conftest.$ac_ext <<_ACEOF
4122 /* end confdefs.h. */
4123 #include <sys/types.h>
4124 #include <sys/wait.h>
4125 #ifndef WEXITSTATUS
4126 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4127 #endif
4128 #ifndef WIFEXITED
4129 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4130 #endif
4133 main ()
4135 int s;
4136 wait (&s);
4137 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4139 return 0;
4141 _ACEOF
4142 rm -f conftest.$ac_objext
4143 if { (ac_try="$ac_compile"
4144 case "(($ac_try" in
4145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4147 esac
4148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4149 (eval "$ac_compile") 2>conftest.er1
4150 ac_status=$?
4151 grep -v '^ *+' conftest.er1 >conftest.err
4152 rm -f conftest.er1
4153 cat conftest.err >&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); } && {
4156 test -z "$ac_c_werror_flag" ||
4157 test ! -s conftest.err
4158 } && test -s conftest.$ac_objext; then
4159 ac_cv_header_sys_wait_h=yes
4160 else
4161 echo "$as_me: failed program was:" >&5
4162 sed 's/^/| /' conftest.$ac_ext >&5
4164 ac_cv_header_sys_wait_h=no
4167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4169 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4170 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
4171 if test $ac_cv_header_sys_wait_h = yes; then
4173 cat >>confdefs.h <<\_ACEOF
4174 #define HAVE_SYS_WAIT_H 1
4175 _ACEOF
4179 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4180 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
4181 if test "${ac_cv_header_time+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4183 else
4184 cat >conftest.$ac_ext <<_ACEOF
4185 /* confdefs.h. */
4186 _ACEOF
4187 cat confdefs.h >>conftest.$ac_ext
4188 cat >>conftest.$ac_ext <<_ACEOF
4189 /* end confdefs.h. */
4190 #include <sys/types.h>
4191 #include <sys/time.h>
4192 #include <time.h>
4195 main ()
4197 if ((struct tm *) 0)
4198 return 0;
4200 return 0;
4202 _ACEOF
4203 rm -f conftest.$ac_objext
4204 if { (ac_try="$ac_compile"
4205 case "(($ac_try" in
4206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4207 *) ac_try_echo=$ac_try;;
4208 esac
4209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4210 (eval "$ac_compile") 2>conftest.er1
4211 ac_status=$?
4212 grep -v '^ *+' conftest.er1 >conftest.err
4213 rm -f conftest.er1
4214 cat conftest.err >&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } && {
4217 test -z "$ac_c_werror_flag" ||
4218 test ! -s conftest.err
4219 } && test -s conftest.$ac_objext; then
4220 ac_cv_header_time=yes
4221 else
4222 echo "$as_me: failed program was:" >&5
4223 sed 's/^/| /' conftest.$ac_ext >&5
4225 ac_cv_header_time=no
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4231 echo "${ECHO_T}$ac_cv_header_time" >&6; }
4232 if test $ac_cv_header_time = yes; then
4234 cat >>confdefs.h <<\_ACEOF
4235 #define TIME_WITH_SYS_TIME 1
4236 _ACEOF
4240 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4250 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4251 inttypes.h stdint.h unistd.h
4253 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4254 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4256 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4257 echo $ECHO_N "(cached) $ECHO_C" >&6
4258 else
4259 cat >conftest.$ac_ext <<_ACEOF
4260 /* confdefs.h. */
4261 _ACEOF
4262 cat confdefs.h >>conftest.$ac_ext
4263 cat >>conftest.$ac_ext <<_ACEOF
4264 /* end confdefs.h. */
4265 $ac_includes_default
4267 #include <$ac_header>
4268 _ACEOF
4269 rm -f conftest.$ac_objext
4270 if { (ac_try="$ac_compile"
4271 case "(($ac_try" in
4272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4273 *) ac_try_echo=$ac_try;;
4274 esac
4275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4276 (eval "$ac_compile") 2>conftest.er1
4277 ac_status=$?
4278 grep -v '^ *+' conftest.er1 >conftest.err
4279 rm -f conftest.er1
4280 cat conftest.err >&5
4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282 (exit $ac_status); } && {
4283 test -z "$ac_c_werror_flag" ||
4284 test ! -s conftest.err
4285 } && test -s conftest.$ac_objext; then
4286 eval "$as_ac_Header=yes"
4287 else
4288 echo "$as_me: failed program was:" >&5
4289 sed 's/^/| /' conftest.$ac_ext >&5
4291 eval "$as_ac_Header=no"
4294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4296 ac_res=`eval echo '${'$as_ac_Header'}'`
4297 { echo "$as_me:$LINENO: result: $ac_res" >&5
4298 echo "${ECHO_T}$ac_res" >&6; }
4299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4300 cat >>confdefs.h <<_ACEOF
4301 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4302 _ACEOF
4306 done
4311 for ac_header in sys/time.h unistd.h
4313 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4315 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4318 echo $ECHO_N "(cached) $ECHO_C" >&6
4320 ac_res=`eval echo '${'$as_ac_Header'}'`
4321 { echo "$as_me:$LINENO: result: $ac_res" >&5
4322 echo "${ECHO_T}$ac_res" >&6; }
4323 else
4324 # Is the header compilable?
4325 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4326 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4327 cat >conftest.$ac_ext <<_ACEOF
4328 /* confdefs.h. */
4329 _ACEOF
4330 cat confdefs.h >>conftest.$ac_ext
4331 cat >>conftest.$ac_ext <<_ACEOF
4332 /* end confdefs.h. */
4333 $ac_includes_default
4334 #include <$ac_header>
4335 _ACEOF
4336 rm -f conftest.$ac_objext
4337 if { (ac_try="$ac_compile"
4338 case "(($ac_try" in
4339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4340 *) ac_try_echo=$ac_try;;
4341 esac
4342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4343 (eval "$ac_compile") 2>conftest.er1
4344 ac_status=$?
4345 grep -v '^ *+' conftest.er1 >conftest.err
4346 rm -f conftest.er1
4347 cat conftest.err >&5
4348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); } && {
4350 test -z "$ac_c_werror_flag" ||
4351 test ! -s conftest.err
4352 } && test -s conftest.$ac_objext; then
4353 ac_header_compiler=yes
4354 else
4355 echo "$as_me: failed program was:" >&5
4356 sed 's/^/| /' conftest.$ac_ext >&5
4358 ac_header_compiler=no
4361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4362 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4363 echo "${ECHO_T}$ac_header_compiler" >&6; }
4365 # Is the header present?
4366 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4367 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4368 cat >conftest.$ac_ext <<_ACEOF
4369 /* confdefs.h. */
4370 _ACEOF
4371 cat confdefs.h >>conftest.$ac_ext
4372 cat >>conftest.$ac_ext <<_ACEOF
4373 /* end confdefs.h. */
4374 #include <$ac_header>
4375 _ACEOF
4376 if { (ac_try="$ac_cpp conftest.$ac_ext"
4377 case "(($ac_try" in
4378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4379 *) ac_try_echo=$ac_try;;
4380 esac
4381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4382 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4383 ac_status=$?
4384 grep -v '^ *+' conftest.er1 >conftest.err
4385 rm -f conftest.er1
4386 cat conftest.err >&5
4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 (exit $ac_status); } >/dev/null && {
4389 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4390 test ! -s conftest.err
4391 }; then
4392 ac_header_preproc=yes
4393 else
4394 echo "$as_me: failed program was:" >&5
4395 sed 's/^/| /' conftest.$ac_ext >&5
4397 ac_header_preproc=no
4400 rm -f conftest.err conftest.$ac_ext
4401 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4402 echo "${ECHO_T}$ac_header_preproc" >&6; }
4404 # So? What about this header?
4405 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4406 yes:no: )
4407 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4408 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4410 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4411 ac_header_preproc=yes
4413 no:yes:* )
4414 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4415 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4416 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4417 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4418 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4419 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4420 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4421 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4423 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4424 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4425 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4428 esac
4429 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4431 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4432 echo $ECHO_N "(cached) $ECHO_C" >&6
4433 else
4434 eval "$as_ac_Header=\$ac_header_preproc"
4436 ac_res=`eval echo '${'$as_ac_Header'}'`
4437 { echo "$as_me:$LINENO: result: $ac_res" >&5
4438 echo "${ECHO_T}$ac_res" >&6; }
4441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4442 cat >>confdefs.h <<_ACEOF
4443 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4444 _ACEOF
4448 done
4451 have_libminigui="no"
4453 for ac_header in minigui/common.h
4455 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4456 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4457 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4459 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4462 ac_res=`eval echo '${'$as_ac_Header'}'`
4463 { echo "$as_me:$LINENO: result: $ac_res" >&5
4464 echo "${ECHO_T}$ac_res" >&6; }
4465 else
4466 # Is the header compilable?
4467 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4468 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4469 cat >conftest.$ac_ext <<_ACEOF
4470 /* confdefs.h. */
4471 _ACEOF
4472 cat confdefs.h >>conftest.$ac_ext
4473 cat >>conftest.$ac_ext <<_ACEOF
4474 /* end confdefs.h. */
4475 $ac_includes_default
4476 #include <$ac_header>
4477 _ACEOF
4478 rm -f conftest.$ac_objext
4479 if { (ac_try="$ac_compile"
4480 case "(($ac_try" in
4481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4482 *) ac_try_echo=$ac_try;;
4483 esac
4484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4485 (eval "$ac_compile") 2>conftest.er1
4486 ac_status=$?
4487 grep -v '^ *+' conftest.er1 >conftest.err
4488 rm -f conftest.er1
4489 cat conftest.err >&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); } && {
4492 test -z "$ac_c_werror_flag" ||
4493 test ! -s conftest.err
4494 } && test -s conftest.$ac_objext; then
4495 ac_header_compiler=yes
4496 else
4497 echo "$as_me: failed program was:" >&5
4498 sed 's/^/| /' conftest.$ac_ext >&5
4500 ac_header_compiler=no
4503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4504 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4505 echo "${ECHO_T}$ac_header_compiler" >&6; }
4507 # Is the header present?
4508 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4509 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4510 cat >conftest.$ac_ext <<_ACEOF
4511 /* confdefs.h. */
4512 _ACEOF
4513 cat confdefs.h >>conftest.$ac_ext
4514 cat >>conftest.$ac_ext <<_ACEOF
4515 /* end confdefs.h. */
4516 #include <$ac_header>
4517 _ACEOF
4518 if { (ac_try="$ac_cpp conftest.$ac_ext"
4519 case "(($ac_try" in
4520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4521 *) ac_try_echo=$ac_try;;
4522 esac
4523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4525 ac_status=$?
4526 grep -v '^ *+' conftest.er1 >conftest.err
4527 rm -f conftest.er1
4528 cat conftest.err >&5
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); } >/dev/null && {
4531 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4532 test ! -s conftest.err
4533 }; then
4534 ac_header_preproc=yes
4535 else
4536 echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.$ac_ext >&5
4539 ac_header_preproc=no
4542 rm -f conftest.err conftest.$ac_ext
4543 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4544 echo "${ECHO_T}$ac_header_preproc" >&6; }
4546 # So? What about this header?
4547 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4548 yes:no: )
4549 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4550 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4552 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4553 ac_header_preproc=yes
4555 no:yes:* )
4556 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4557 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4558 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4559 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4560 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4561 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4562 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4563 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4565 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4566 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4567 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4570 esac
4571 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4574 echo $ECHO_N "(cached) $ECHO_C" >&6
4575 else
4576 eval "$as_ac_Header=\$ac_header_preproc"
4578 ac_res=`eval echo '${'$as_ac_Header'}'`
4579 { echo "$as_me:$LINENO: result: $ac_res" >&5
4580 echo "${ECHO_T}$ac_res" >&6; }
4583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4584 cat >>confdefs.h <<_ACEOF
4585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4586 _ACEOF
4587 have_libminigui=yes
4588 else
4589 foo=bar
4592 done
4595 lite_version="no"
4596 { echo "$as_me:$LINENO: checking whether _LITE_VERSION is declared" >&5
4597 echo $ECHO_N "checking whether _LITE_VERSION is declared... $ECHO_C" >&6; }
4598 if test "${ac_cv_have_decl__LITE_VERSION+set}" = set; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4600 else
4601 cat >conftest.$ac_ext <<_ACEOF
4602 /* confdefs.h. */
4603 _ACEOF
4604 cat confdefs.h >>conftest.$ac_ext
4605 cat >>conftest.$ac_ext <<_ACEOF
4606 /* end confdefs.h. */
4607 #include <minigui/common.h>
4610 main ()
4612 #ifndef _LITE_VERSION
4613 (void) _LITE_VERSION;
4614 #endif
4617 return 0;
4619 _ACEOF
4620 rm -f conftest.$ac_objext
4621 if { (ac_try="$ac_compile"
4622 case "(($ac_try" in
4623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4624 *) ac_try_echo=$ac_try;;
4625 esac
4626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4627 (eval "$ac_compile") 2>conftest.er1
4628 ac_status=$?
4629 grep -v '^ *+' conftest.er1 >conftest.err
4630 rm -f conftest.er1
4631 cat conftest.err >&5
4632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633 (exit $ac_status); } && {
4634 test -z "$ac_c_werror_flag" ||
4635 test ! -s conftest.err
4636 } && test -s conftest.$ac_objext; then
4637 ac_cv_have_decl__LITE_VERSION=yes
4638 else
4639 echo "$as_me: failed program was:" >&5
4640 sed 's/^/| /' conftest.$ac_ext >&5
4642 ac_cv_have_decl__LITE_VERSION=no
4645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4647 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__LITE_VERSION" >&5
4648 echo "${ECHO_T}$ac_cv_have_decl__LITE_VERSION" >&6; }
4649 if test $ac_cv_have_decl__LITE_VERSION = yes; then
4651 cat >>confdefs.h <<_ACEOF
4652 #define HAVE_DECL__LITE_VERSION 1
4653 _ACEOF
4655 lite_version="yes"
4656 else
4657 cat >>confdefs.h <<_ACEOF
4658 #define HAVE_DECL__LITE_VERSION 0
4659 _ACEOF
4661 foo=bar
4666 stand_alone="no"
4667 { echo "$as_me:$LINENO: checking whether _STAND_ALONE is declared" >&5
4668 echo $ECHO_N "checking whether _STAND_ALONE is declared... $ECHO_C" >&6; }
4669 if test "${ac_cv_have_decl__STAND_ALONE+set}" = set; then
4670 echo $ECHO_N "(cached) $ECHO_C" >&6
4671 else
4672 cat >conftest.$ac_ext <<_ACEOF
4673 /* confdefs.h. */
4674 _ACEOF
4675 cat confdefs.h >>conftest.$ac_ext
4676 cat >>conftest.$ac_ext <<_ACEOF
4677 /* end confdefs.h. */
4678 #include <minigui/common.h>
4681 main ()
4683 #ifndef _STAND_ALONE
4684 (void) _STAND_ALONE;
4685 #endif
4688 return 0;
4690 _ACEOF
4691 rm -f conftest.$ac_objext
4692 if { (ac_try="$ac_compile"
4693 case "(($ac_try" in
4694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4695 *) ac_try_echo=$ac_try;;
4696 esac
4697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4698 (eval "$ac_compile") 2>conftest.er1
4699 ac_status=$?
4700 grep -v '^ *+' conftest.er1 >conftest.err
4701 rm -f conftest.er1
4702 cat conftest.err >&5
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); } && {
4705 test -z "$ac_c_werror_flag" ||
4706 test ! -s conftest.err
4707 } && test -s conftest.$ac_objext; then
4708 ac_cv_have_decl__STAND_ALONE=yes
4709 else
4710 echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.$ac_ext >&5
4713 ac_cv_have_decl__STAND_ALONE=no
4716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4718 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__STAND_ALONE" >&5
4719 echo "${ECHO_T}$ac_cv_have_decl__STAND_ALONE" >&6; }
4720 if test $ac_cv_have_decl__STAND_ALONE = yes; then
4722 cat >>confdefs.h <<_ACEOF
4723 #define HAVE_DECL__STAND_ALONE 1
4724 _ACEOF
4726 stand_alone="yes"
4727 else
4728 cat >>confdefs.h <<_ACEOF
4729 #define HAVE_DECL__STAND_ALONE 0
4730 _ACEOF
4732 foo=bar
4737 use_newgal="no"
4738 { echo "$as_me:$LINENO: checking whether _USE_NEWGAL is declared" >&5
4739 echo $ECHO_N "checking whether _USE_NEWGAL is declared... $ECHO_C" >&6; }
4740 if test "${ac_cv_have_decl__USE_NEWGAL+set}" = set; then
4741 echo $ECHO_N "(cached) $ECHO_C" >&6
4742 else
4743 cat >conftest.$ac_ext <<_ACEOF
4744 /* confdefs.h. */
4745 _ACEOF
4746 cat confdefs.h >>conftest.$ac_ext
4747 cat >>conftest.$ac_ext <<_ACEOF
4748 /* end confdefs.h. */
4749 #include <minigui/common.h>
4752 main ()
4754 #ifndef _USE_NEWGAL
4755 (void) _USE_NEWGAL;
4756 #endif
4759 return 0;
4761 _ACEOF
4762 rm -f conftest.$ac_objext
4763 if { (ac_try="$ac_compile"
4764 case "(($ac_try" in
4765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4766 *) ac_try_echo=$ac_try;;
4767 esac
4768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4769 (eval "$ac_compile") 2>conftest.er1
4770 ac_status=$?
4771 grep -v '^ *+' conftest.er1 >conftest.err
4772 rm -f conftest.er1
4773 cat conftest.err >&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); } && {
4776 test -z "$ac_c_werror_flag" ||
4777 test ! -s conftest.err
4778 } && test -s conftest.$ac_objext; then
4779 ac_cv_have_decl__USE_NEWGAL=yes
4780 else
4781 echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.$ac_ext >&5
4784 ac_cv_have_decl__USE_NEWGAL=no
4787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4789 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__USE_NEWGAL" >&5
4790 echo "${ECHO_T}$ac_cv_have_decl__USE_NEWGAL" >&6; }
4791 if test $ac_cv_have_decl__USE_NEWGAL = yes; then
4793 cat >>confdefs.h <<_ACEOF
4794 #define HAVE_DECL__USE_NEWGAL 1
4795 _ACEOF
4797 use_newgal="yes"
4798 else
4799 cat >>confdefs.h <<_ACEOF
4800 #define HAVE_DECL__USE_NEWGAL 0
4801 _ACEOF
4803 foo=bar
4809 if test "$ac_cv_c_compiler_gnu" = "yes"; then
4810 CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -pipe"
4813 if test "x$lite_version" = "xyes"; then
4814 LIBS="$LIBS -lminigui"
4815 else
4816 CFLAGS="$CFLAGS -D_REENTRANT"
4817 LIBS="$LIBS -lpthread -lminigui -lmgext"
4820 if test "x$lite_version" = "xyes"; then
4821 LITE_VERSION_TRUE=
4822 LITE_VERSION_FALSE='#'
4823 else
4824 LITE_VERSION_TRUE='#'
4825 LITE_VERSION_FALSE=
4828 if test "x$stand_alone" = "xyes"; then
4829 STAND_ALONE_TRUE=
4830 STAND_ALONE_FALSE='#'
4831 else
4832 STAND_ALONE_TRUE='#'
4833 STAND_ALONE_FALSE=
4837 { echo "$as_me:$LINENO: checking whether _HAVE_MATH_LIB is declared" >&5
4838 echo $ECHO_N "checking whether _HAVE_MATH_LIB is declared... $ECHO_C" >&6; }
4839 if test "${ac_cv_have_decl__HAVE_MATH_LIB+set}" = set; then
4840 echo $ECHO_N "(cached) $ECHO_C" >&6
4841 else
4842 cat >conftest.$ac_ext <<_ACEOF
4843 /* confdefs.h. */
4844 _ACEOF
4845 cat confdefs.h >>conftest.$ac_ext
4846 cat >>conftest.$ac_ext <<_ACEOF
4847 /* end confdefs.h. */
4848 #include <minigui/common.h>
4851 main ()
4853 #ifndef _HAVE_MATH_LIB
4854 (void) _HAVE_MATH_LIB;
4855 #endif
4858 return 0;
4860 _ACEOF
4861 rm -f conftest.$ac_objext
4862 if { (ac_try="$ac_compile"
4863 case "(($ac_try" in
4864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4865 *) ac_try_echo=$ac_try;;
4866 esac
4867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4868 (eval "$ac_compile") 2>conftest.er1
4869 ac_status=$?
4870 grep -v '^ *+' conftest.er1 >conftest.err
4871 rm -f conftest.er1
4872 cat conftest.err >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } && {
4875 test -z "$ac_c_werror_flag" ||
4876 test ! -s conftest.err
4877 } && test -s conftest.$ac_objext; then
4878 ac_cv_have_decl__HAVE_MATH_LIB=yes
4879 else
4880 echo "$as_me: failed program was:" >&5
4881 sed 's/^/| /' conftest.$ac_ext >&5
4883 ac_cv_have_decl__HAVE_MATH_LIB=no
4886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4888 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__HAVE_MATH_LIB" >&5
4889 echo "${ECHO_T}$ac_cv_have_decl__HAVE_MATH_LIB" >&6; }
4890 if test $ac_cv_have_decl__HAVE_MATH_LIB = yes; then
4892 cat >>confdefs.h <<_ACEOF
4893 #define HAVE_DECL__HAVE_MATH_LIB 1
4894 _ACEOF
4896 LIBS="$LIBS -lm"
4897 else
4898 cat >>confdefs.h <<_ACEOF
4899 #define HAVE_DECL__HAVE_MATH_LIB 0
4900 _ACEOF
4902 foo=bar
4906 { echo "$as_me:$LINENO: checking whether _PNG_FILE_SUPPORT is declared" >&5
4907 echo $ECHO_N "checking whether _PNG_FILE_SUPPORT is declared... $ECHO_C" >&6; }
4908 if test "${ac_cv_have_decl__PNG_FILE_SUPPORT+set}" = set; then
4909 echo $ECHO_N "(cached) $ECHO_C" >&6
4910 else
4911 cat >conftest.$ac_ext <<_ACEOF
4912 /* confdefs.h. */
4913 _ACEOF
4914 cat confdefs.h >>conftest.$ac_ext
4915 cat >>conftest.$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4917 #include <minigui/common.h>
4920 main ()
4922 #ifndef _PNG_FILE_SUPPORT
4923 (void) _PNG_FILE_SUPPORT;
4924 #endif
4927 return 0;
4929 _ACEOF
4930 rm -f conftest.$ac_objext
4931 if { (ac_try="$ac_compile"
4932 case "(($ac_try" in
4933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4934 *) ac_try_echo=$ac_try;;
4935 esac
4936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4937 (eval "$ac_compile") 2>conftest.er1
4938 ac_status=$?
4939 grep -v '^ *+' conftest.er1 >conftest.err
4940 rm -f conftest.er1
4941 cat conftest.err >&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); } && {
4944 test -z "$ac_c_werror_flag" ||
4945 test ! -s conftest.err
4946 } && test -s conftest.$ac_objext; then
4947 ac_cv_have_decl__PNG_FILE_SUPPORT=yes
4948 else
4949 echo "$as_me: failed program was:" >&5
4950 sed 's/^/| /' conftest.$ac_ext >&5
4952 ac_cv_have_decl__PNG_FILE_SUPPORT=no
4955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4957 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__PNG_FILE_SUPPORT" >&5
4958 echo "${ECHO_T}$ac_cv_have_decl__PNG_FILE_SUPPORT" >&6; }
4959 if test $ac_cv_have_decl__PNG_FILE_SUPPORT = yes; then
4961 cat >>confdefs.h <<_ACEOF
4962 #define HAVE_DECL__PNG_FILE_SUPPORT 1
4963 _ACEOF
4965 LIBS="$LIBS -lpng"
4966 else
4967 cat >>confdefs.h <<_ACEOF
4968 #define HAVE_DECL__PNG_FILE_SUPPORT 0
4969 _ACEOF
4971 foo=bar
4975 { echo "$as_me:$LINENO: checking whether _JPG_FILE_SUPPORT is declared" >&5
4976 echo $ECHO_N "checking whether _JPG_FILE_SUPPORT is declared... $ECHO_C" >&6; }
4977 if test "${ac_cv_have_decl__JPG_FILE_SUPPORT+set}" = set; then
4978 echo $ECHO_N "(cached) $ECHO_C" >&6
4979 else
4980 cat >conftest.$ac_ext <<_ACEOF
4981 /* confdefs.h. */
4982 _ACEOF
4983 cat confdefs.h >>conftest.$ac_ext
4984 cat >>conftest.$ac_ext <<_ACEOF
4985 /* end confdefs.h. */
4986 #include <minigui/common.h>
4989 main ()
4991 #ifndef _JPG_FILE_SUPPORT
4992 (void) _JPG_FILE_SUPPORT;
4993 #endif
4996 return 0;
4998 _ACEOF
4999 rm -f conftest.$ac_objext
5000 if { (ac_try="$ac_compile"
5001 case "(($ac_try" in
5002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5003 *) ac_try_echo=$ac_try;;
5004 esac
5005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5006 (eval "$ac_compile") 2>conftest.er1
5007 ac_status=$?
5008 grep -v '^ *+' conftest.er1 >conftest.err
5009 rm -f conftest.er1
5010 cat conftest.err >&5
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); } && {
5013 test -z "$ac_c_werror_flag" ||
5014 test ! -s conftest.err
5015 } && test -s conftest.$ac_objext; then
5016 ac_cv_have_decl__JPG_FILE_SUPPORT=yes
5017 else
5018 echo "$as_me: failed program was:" >&5
5019 sed 's/^/| /' conftest.$ac_ext >&5
5021 ac_cv_have_decl__JPG_FILE_SUPPORT=no
5024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5026 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__JPG_FILE_SUPPORT" >&5
5027 echo "${ECHO_T}$ac_cv_have_decl__JPG_FILE_SUPPORT" >&6; }
5028 if test $ac_cv_have_decl__JPG_FILE_SUPPORT = yes; then
5030 cat >>confdefs.h <<_ACEOF
5031 #define HAVE_DECL__JPG_FILE_SUPPORT 1
5032 _ACEOF
5034 LIBS="$LIBS -ljpeg"
5035 else
5036 cat >>confdefs.h <<_ACEOF
5037 #define HAVE_DECL__JPG_FILE_SUPPORT 0
5038 _ACEOF
5040 foo=bar
5044 { echo "$as_me:$LINENO: checking whether _TYPE1_SUPPORT is declared" >&5
5045 echo $ECHO_N "checking whether _TYPE1_SUPPORT is declared... $ECHO_C" >&6; }
5046 if test "${ac_cv_have_decl__TYPE1_SUPPORT+set}" = set; then
5047 echo $ECHO_N "(cached) $ECHO_C" >&6
5048 else
5049 cat >conftest.$ac_ext <<_ACEOF
5050 /* confdefs.h. */
5051 _ACEOF
5052 cat confdefs.h >>conftest.$ac_ext
5053 cat >>conftest.$ac_ext <<_ACEOF
5054 /* end confdefs.h. */
5055 #include <minigui/common.h>
5058 main ()
5060 #ifndef _TYPE1_SUPPORT
5061 (void) _TYPE1_SUPPORT;
5062 #endif
5065 return 0;
5067 _ACEOF
5068 rm -f conftest.$ac_objext
5069 if { (ac_try="$ac_compile"
5070 case "(($ac_try" in
5071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5072 *) ac_try_echo=$ac_try;;
5073 esac
5074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5075 (eval "$ac_compile") 2>conftest.er1
5076 ac_status=$?
5077 grep -v '^ *+' conftest.er1 >conftest.err
5078 rm -f conftest.er1
5079 cat conftest.err >&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } && {
5082 test -z "$ac_c_werror_flag" ||
5083 test ! -s conftest.err
5084 } && test -s conftest.$ac_objext; then
5085 ac_cv_have_decl__TYPE1_SUPPORT=yes
5086 else
5087 echo "$as_me: failed program was:" >&5
5088 sed 's/^/| /' conftest.$ac_ext >&5
5090 ac_cv_have_decl__TYPE1_SUPPORT=no
5093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5095 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__TYPE1_SUPPORT" >&5
5096 echo "${ECHO_T}$ac_cv_have_decl__TYPE1_SUPPORT" >&6; }
5097 if test $ac_cv_have_decl__TYPE1_SUPPORT = yes; then
5099 cat >>confdefs.h <<_ACEOF
5100 #define HAVE_DECL__TYPE1_SUPPORT 1
5101 _ACEOF
5103 LIBS="$LIBS -lt1"
5104 else
5105 cat >>confdefs.h <<_ACEOF
5106 #define HAVE_DECL__TYPE1_SUPPORT 0
5107 _ACEOF
5109 foo=bar
5113 { echo "$as_me:$LINENO: checking whether _TTF_SUPPORT is declared" >&5
5114 echo $ECHO_N "checking whether _TTF_SUPPORT is declared... $ECHO_C" >&6; }
5115 if test "${ac_cv_have_decl__TTF_SUPPORT+set}" = set; then
5116 echo $ECHO_N "(cached) $ECHO_C" >&6
5117 else
5118 cat >conftest.$ac_ext <<_ACEOF
5119 /* confdefs.h. */
5120 _ACEOF
5121 cat confdefs.h >>conftest.$ac_ext
5122 cat >>conftest.$ac_ext <<_ACEOF
5123 /* end confdefs.h. */
5124 #include <minigui/common.h>
5127 main ()
5129 #ifndef _TTF_SUPPORT
5130 (void) _TTF_SUPPORT;
5131 #endif
5134 return 0;
5136 _ACEOF
5137 rm -f conftest.$ac_objext
5138 if { (ac_try="$ac_compile"
5139 case "(($ac_try" in
5140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5141 *) ac_try_echo=$ac_try;;
5142 esac
5143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5144 (eval "$ac_compile") 2>conftest.er1
5145 ac_status=$?
5146 grep -v '^ *+' conftest.er1 >conftest.err
5147 rm -f conftest.er1
5148 cat conftest.err >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); } && {
5151 test -z "$ac_c_werror_flag" ||
5152 test ! -s conftest.err
5153 } && test -s conftest.$ac_objext; then
5154 ac_cv_have_decl__TTF_SUPPORT=yes
5155 else
5156 echo "$as_me: failed program was:" >&5
5157 sed 's/^/| /' conftest.$ac_ext >&5
5159 ac_cv_have_decl__TTF_SUPPORT=no
5162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5164 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__TTF_SUPPORT" >&5
5165 echo "${ECHO_T}$ac_cv_have_decl__TTF_SUPPORT" >&6; }
5166 if test $ac_cv_have_decl__TTF_SUPPORT = yes; then
5168 cat >>confdefs.h <<_ACEOF
5169 #define HAVE_DECL__TTF_SUPPORT 1
5170 _ACEOF
5172 LIBS="$LIBS -lttf"
5173 else
5174 cat >>confdefs.h <<_ACEOF
5175 #define HAVE_DECL__TTF_SUPPORT 0
5176 _ACEOF
5178 foo=bar
5183 ac_config_files="$ac_config_files Makefile src/Makefile"
5185 cat >confcache <<\_ACEOF
5186 # This file is a shell script that caches the results of configure
5187 # tests run on this system so they can be shared between configure
5188 # scripts and configure runs, see configure's option --config-cache.
5189 # It is not useful on other systems. If it contains results you don't
5190 # want to keep, you may remove or edit it.
5192 # config.status only pays attention to the cache file if you give it
5193 # the --recheck option to rerun configure.
5195 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5196 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5197 # following values.
5199 _ACEOF
5201 # The following way of writing the cache mishandles newlines in values,
5202 # but we know of no workaround that is simple, portable, and efficient.
5203 # So, we kill variables containing newlines.
5204 # Ultrix sh set writes to stderr and can't be redirected directly,
5205 # and sets the high bit in the cache file unless we assign to the vars.
5207 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5208 eval ac_val=\$$ac_var
5209 case $ac_val in #(
5210 *${as_nl}*)
5211 case $ac_var in #(
5212 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5213 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5214 esac
5215 case $ac_var in #(
5216 _ | IFS | as_nl) ;; #(
5217 *) $as_unset $ac_var ;;
5218 esac ;;
5219 esac
5220 done
5222 (set) 2>&1 |
5223 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5224 *${as_nl}ac_space=\ *)
5225 # `set' does not quote correctly, so add quotes (double-quote
5226 # substitution turns \\\\ into \\, and sed turns \\ into \).
5227 sed -n \
5228 "s/'/'\\\\''/g;
5229 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5230 ;; #(
5232 # `set' quotes correctly as required by POSIX, so do not add quotes.
5233 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5235 esac |
5236 sort
5238 sed '
5239 /^ac_cv_env_/b end
5240 t clear
5241 :clear
5242 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5243 t end
5244 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5245 :end' >>confcache
5246 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5247 if test -w "$cache_file"; then
5248 test "x$cache_file" != "x/dev/null" &&
5249 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5250 echo "$as_me: updating cache $cache_file" >&6;}
5251 cat confcache >$cache_file
5252 else
5253 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5254 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5257 rm -f confcache
5259 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5260 # Let make expand exec_prefix.
5261 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5263 # Transform confdefs.h into DEFS.
5264 # Protect against shell expansion while executing Makefile rules.
5265 # Protect against Makefile macro expansion.
5267 # If the first sed substitution is executed (which looks for macros that
5268 # take arguments), then branch to the quote section. Otherwise,
5269 # look for a macro that doesn't take arguments.
5270 ac_script='
5271 t clear
5272 :clear
5273 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5274 t quote
5275 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5276 t quote
5277 b any
5278 :quote
5279 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5280 s/\[/\\&/g
5281 s/\]/\\&/g
5282 s/\$/$$/g
5284 :any
5287 s/^\n//
5288 s/\n/ /g
5292 DEFS=`sed -n "$ac_script" confdefs.h`
5295 ac_libobjs=
5296 ac_ltlibobjs=
5297 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5298 # 1. Remove the extension, and $U if already installed.
5299 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5300 ac_i=`echo "$ac_i" | sed "$ac_script"`
5301 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5302 # will be set to the directory where LIBOBJS objects are built.
5303 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5304 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5305 done
5306 LIBOBJS=$ac_libobjs
5308 LTLIBOBJS=$ac_ltlibobjs
5311 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5312 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5313 Usually this means the macro was only invoked conditionally." >&5
5314 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5315 Usually this means the macro was only invoked conditionally." >&2;}
5316 { (exit 1); exit 1; }; }
5318 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5319 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5320 Usually this means the macro was only invoked conditionally." >&5
5321 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5322 Usually this means the macro was only invoked conditionally." >&2;}
5323 { (exit 1); exit 1; }; }
5325 if test -z "${LITE_VERSION_TRUE}" && test -z "${LITE_VERSION_FALSE}"; then
5326 { { echo "$as_me:$LINENO: error: conditional \"LITE_VERSION\" was never defined.
5327 Usually this means the macro was only invoked conditionally." >&5
5328 echo "$as_me: error: conditional \"LITE_VERSION\" was never defined.
5329 Usually this means the macro was only invoked conditionally." >&2;}
5330 { (exit 1); exit 1; }; }
5332 if test -z "${STAND_ALONE_TRUE}" && test -z "${STAND_ALONE_FALSE}"; then
5333 { { echo "$as_me:$LINENO: error: conditional \"STAND_ALONE\" was never defined.
5334 Usually this means the macro was only invoked conditionally." >&5
5335 echo "$as_me: error: conditional \"STAND_ALONE\" was never defined.
5336 Usually this means the macro was only invoked conditionally." >&2;}
5337 { (exit 1); exit 1; }; }
5340 : ${CONFIG_STATUS=./config.status}
5341 ac_clean_files_save=$ac_clean_files
5342 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5343 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5344 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5345 cat >$CONFIG_STATUS <<_ACEOF
5346 #! $SHELL
5347 # Generated by $as_me.
5348 # Run this file to recreate the current configuration.
5349 # Compiler output produced by configure, useful for debugging
5350 # configure, is in config.log if it exists.
5352 debug=false
5353 ac_cs_recheck=false
5354 ac_cs_silent=false
5355 SHELL=\${CONFIG_SHELL-$SHELL}
5356 _ACEOF
5358 cat >>$CONFIG_STATUS <<\_ACEOF
5359 ## --------------------- ##
5360 ## M4sh Initialization. ##
5361 ## --------------------- ##
5363 # Be more Bourne compatible
5364 DUALCASE=1; export DUALCASE # for MKS sh
5365 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5366 emulate sh
5367 NULLCMD=:
5368 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5369 # is contrary to our usage. Disable this feature.
5370 alias -g '${1+"$@"}'='"$@"'
5371 setopt NO_GLOB_SUBST
5372 else
5373 case `(set -o) 2>/dev/null` in
5374 *posix*) set -o posix ;;
5375 esac
5382 # PATH needs CR
5383 # Avoid depending upon Character Ranges.
5384 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5385 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5386 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5387 as_cr_digits='0123456789'
5388 as_cr_alnum=$as_cr_Letters$as_cr_digits
5390 # The user is always right.
5391 if test "${PATH_SEPARATOR+set}" != set; then
5392 echo "#! /bin/sh" >conf$$.sh
5393 echo "exit 0" >>conf$$.sh
5394 chmod +x conf$$.sh
5395 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5396 PATH_SEPARATOR=';'
5397 else
5398 PATH_SEPARATOR=:
5400 rm -f conf$$.sh
5403 # Support unset when possible.
5404 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5405 as_unset=unset
5406 else
5407 as_unset=false
5411 # IFS
5412 # We need space, tab and new line, in precisely that order. Quoting is
5413 # there to prevent editors from complaining about space-tab.
5414 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5415 # splitting by setting IFS to empty value.)
5416 as_nl='
5418 IFS=" "" $as_nl"
5420 # Find who we are. Look in the path if we contain no directory separator.
5421 case $0 in
5422 *[\\/]* ) as_myself=$0 ;;
5423 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 for as_dir in $PATH
5426 IFS=$as_save_IFS
5427 test -z "$as_dir" && as_dir=.
5428 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5429 done
5430 IFS=$as_save_IFS
5433 esac
5434 # We did not find ourselves, most probably we were run as `sh COMMAND'
5435 # in which case we are not to be found in the path.
5436 if test "x$as_myself" = x; then
5437 as_myself=$0
5439 if test ! -f "$as_myself"; then
5440 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5441 { (exit 1); exit 1; }
5444 # Work around bugs in pre-3.0 UWIN ksh.
5445 for as_var in ENV MAIL MAILPATH
5446 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5447 done
5448 PS1='$ '
5449 PS2='> '
5450 PS4='+ '
5452 # NLS nuisances.
5453 for as_var in \
5454 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5455 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5456 LC_TELEPHONE LC_TIME
5458 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5459 eval $as_var=C; export $as_var
5460 else
5461 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5463 done
5465 # Required to use basename.
5466 if expr a : '\(a\)' >/dev/null 2>&1 &&
5467 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5468 as_expr=expr
5469 else
5470 as_expr=false
5473 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5474 as_basename=basename
5475 else
5476 as_basename=false
5480 # Name of the executable.
5481 as_me=`$as_basename -- "$0" ||
5482 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5483 X"$0" : 'X\(//\)$' \| \
5484 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5485 echo X/"$0" |
5486 sed '/^.*\/\([^/][^/]*\)\/*$/{
5487 s//\1/
5490 /^X\/\(\/\/\)$/{
5491 s//\1/
5494 /^X\/\(\/\).*/{
5495 s//\1/
5498 s/.*/./; q'`
5500 # CDPATH.
5501 $as_unset CDPATH
5505 as_lineno_1=$LINENO
5506 as_lineno_2=$LINENO
5507 test "x$as_lineno_1" != "x$as_lineno_2" &&
5508 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5510 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5511 # uniformly replaced by the line number. The first 'sed' inserts a
5512 # line-number line after each line using $LINENO; the second 'sed'
5513 # does the real work. The second script uses 'N' to pair each
5514 # line-number line with the line containing $LINENO, and appends
5515 # trailing '-' during substitution so that $LINENO is not a special
5516 # case at line end.
5517 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5518 # scripts with optimization help from Paolo Bonzini. Blame Lee
5519 # E. McMahon (1931-1989) for sed's syntax. :-)
5520 sed -n '
5522 /[$]LINENO/=
5523 ' <$as_myself |
5524 sed '
5525 s/[$]LINENO.*/&-/
5526 t lineno
5528 :lineno
5530 :loop
5531 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5532 t loop
5533 s/-\n.*//
5534 ' >$as_me.lineno &&
5535 chmod +x "$as_me.lineno" ||
5536 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5537 { (exit 1); exit 1; }; }
5539 # Don't try to exec as it changes $[0], causing all sort of problems
5540 # (the dirname of $[0] is not the place where we might find the
5541 # original and so on. Autoconf is especially sensitive to this).
5542 . "./$as_me.lineno"
5543 # Exit status is that of the last command.
5544 exit
5548 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5549 as_dirname=dirname
5550 else
5551 as_dirname=false
5554 ECHO_C= ECHO_N= ECHO_T=
5555 case `echo -n x` in
5556 -n*)
5557 case `echo 'x\c'` in
5558 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5559 *) ECHO_C='\c';;
5560 esac;;
5562 ECHO_N='-n';;
5563 esac
5565 if expr a : '\(a\)' >/dev/null 2>&1 &&
5566 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5567 as_expr=expr
5568 else
5569 as_expr=false
5572 rm -f conf$$ conf$$.exe conf$$.file
5573 if test -d conf$$.dir; then
5574 rm -f conf$$.dir/conf$$.file
5575 else
5576 rm -f conf$$.dir
5577 mkdir conf$$.dir
5579 echo >conf$$.file
5580 if ln -s conf$$.file conf$$ 2>/dev/null; then
5581 as_ln_s='ln -s'
5582 # ... but there are two gotchas:
5583 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5584 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5585 # In both cases, we have to default to `cp -p'.
5586 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5587 as_ln_s='cp -p'
5588 elif ln conf$$.file conf$$ 2>/dev/null; then
5589 as_ln_s=ln
5590 else
5591 as_ln_s='cp -p'
5593 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5594 rmdir conf$$.dir 2>/dev/null
5596 if mkdir -p . 2>/dev/null; then
5597 as_mkdir_p=:
5598 else
5599 test -d ./-p && rmdir ./-p
5600 as_mkdir_p=false
5603 if test -x / >/dev/null 2>&1; then
5604 as_test_x='test -x'
5605 else
5606 if ls -dL / >/dev/null 2>&1; then
5607 as_ls_L_option=L
5608 else
5609 as_ls_L_option=
5611 as_test_x='
5612 eval sh -c '\''
5613 if test -d "$1"; then
5614 test -d "$1/.";
5615 else
5616 case $1 in
5617 -*)set "./$1";;
5618 esac;
5619 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5620 ???[sx]*):;;*)false;;esac;fi
5621 '\'' sh
5624 as_executable_p=$as_test_x
5626 # Sed expression to map a string onto a valid CPP name.
5627 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5629 # Sed expression to map a string onto a valid variable name.
5630 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5633 exec 6>&1
5635 # Save the log message, to keep $[0] and so on meaningful, and to
5636 # report actual input values of CONFIG_FILES etc. instead of their
5637 # values after options handling.
5638 ac_log="
5639 This file was extended by $as_me, which was
5640 generated by GNU Autoconf 2.61. Invocation command line was
5642 CONFIG_FILES = $CONFIG_FILES
5643 CONFIG_HEADERS = $CONFIG_HEADERS
5644 CONFIG_LINKS = $CONFIG_LINKS
5645 CONFIG_COMMANDS = $CONFIG_COMMANDS
5646 $ $0 $@
5648 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5651 _ACEOF
5653 cat >>$CONFIG_STATUS <<_ACEOF
5654 # Files that config.status was made for.
5655 config_files="$ac_config_files"
5656 config_commands="$ac_config_commands"
5658 _ACEOF
5660 cat >>$CONFIG_STATUS <<\_ACEOF
5661 ac_cs_usage="\
5662 \`$as_me' instantiates files from templates according to the
5663 current configuration.
5665 Usage: $0 [OPTIONS] [FILE]...
5667 -h, --help print this help, then exit
5668 -V, --version print version number and configuration settings, then exit
5669 -q, --quiet do not print progress messages
5670 -d, --debug don't remove temporary files
5671 --recheck update $as_me by reconfiguring in the same conditions
5672 --file=FILE[:TEMPLATE]
5673 instantiate the configuration file FILE
5675 Configuration files:
5676 $config_files
5678 Configuration commands:
5679 $config_commands
5681 Report bugs to <bug-autoconf@gnu.org>."
5683 _ACEOF
5684 cat >>$CONFIG_STATUS <<_ACEOF
5685 ac_cs_version="\\
5686 config.status
5687 configured by $0, generated by GNU Autoconf 2.61,
5688 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5690 Copyright (C) 2006 Free Software Foundation, Inc.
5691 This config.status script is free software; the Free Software Foundation
5692 gives unlimited permission to copy, distribute and modify it."
5694 ac_pwd='$ac_pwd'
5695 srcdir='$srcdir'
5696 INSTALL='$INSTALL'
5697 MKDIR_P='$MKDIR_P'
5698 _ACEOF
5700 cat >>$CONFIG_STATUS <<\_ACEOF
5701 # If no file are specified by the user, then we need to provide default
5702 # value. By we need to know if files were specified by the user.
5703 ac_need_defaults=:
5704 while test $# != 0
5706 case $1 in
5707 --*=*)
5708 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5709 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5710 ac_shift=:
5713 ac_option=$1
5714 ac_optarg=$2
5715 ac_shift=shift
5717 esac
5719 case $ac_option in
5720 # Handling of the options.
5721 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5722 ac_cs_recheck=: ;;
5723 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5724 echo "$ac_cs_version"; exit ;;
5725 --debug | --debu | --deb | --de | --d | -d )
5726 debug=: ;;
5727 --file | --fil | --fi | --f )
5728 $ac_shift
5729 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5730 ac_need_defaults=false;;
5731 --he | --h | --help | --hel | -h )
5732 echo "$ac_cs_usage"; exit ;;
5733 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5734 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5735 ac_cs_silent=: ;;
5737 # This is an error.
5738 -*) { echo "$as_me: error: unrecognized option: $1
5739 Try \`$0 --help' for more information." >&2
5740 { (exit 1); exit 1; }; } ;;
5742 *) ac_config_targets="$ac_config_targets $1"
5743 ac_need_defaults=false ;;
5745 esac
5746 shift
5747 done
5749 ac_configure_extra_args=
5751 if $ac_cs_silent; then
5752 exec 6>/dev/null
5753 ac_configure_extra_args="$ac_configure_extra_args --silent"
5756 _ACEOF
5757 cat >>$CONFIG_STATUS <<_ACEOF
5758 if \$ac_cs_recheck; then
5759 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5760 CONFIG_SHELL=$SHELL
5761 export CONFIG_SHELL
5762 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5765 _ACEOF
5766 cat >>$CONFIG_STATUS <<\_ACEOF
5767 exec 5>>config.log
5769 echo
5770 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5771 ## Running $as_me. ##
5772 _ASBOX
5773 echo "$ac_log"
5774 } >&5
5776 _ACEOF
5777 cat >>$CONFIG_STATUS <<_ACEOF
5779 # INIT-COMMANDS
5781 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5783 _ACEOF
5785 cat >>$CONFIG_STATUS <<\_ACEOF
5787 # Handling of arguments.
5788 for ac_config_target in $ac_config_targets
5790 case $ac_config_target in
5791 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5792 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5793 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5795 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5796 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5797 { (exit 1); exit 1; }; };;
5798 esac
5799 done
5802 # If the user did not use the arguments to specify the items to instantiate,
5803 # then the envvar interface is used. Set only those that are not.
5804 # We use the long form for the default assignment because of an extremely
5805 # bizarre bug on SunOS 4.1.3.
5806 if $ac_need_defaults; then
5807 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5808 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5811 # Have a temporary directory for convenience. Make it in the build tree
5812 # simply because there is no reason against having it here, and in addition,
5813 # creating and moving files from /tmp can sometimes cause problems.
5814 # Hook for its removal unless debugging.
5815 # Note that there is a small window in which the directory will not be cleaned:
5816 # after its creation but before its name has been assigned to `$tmp'.
5817 $debug ||
5819 tmp=
5820 trap 'exit_status=$?
5821 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5823 trap '{ (exit 1); exit 1; }' 1 2 13 15
5825 # Create a (secure) tmp directory for tmp files.
5828 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5829 test -n "$tmp" && test -d "$tmp"
5830 } ||
5832 tmp=./conf$$-$RANDOM
5833 (umask 077 && mkdir "$tmp")
5834 } ||
5836 echo "$me: cannot create a temporary directory in ." >&2
5837 { (exit 1); exit 1; }
5841 # Set up the sed scripts for CONFIG_FILES section.
5844 # No need to generate the scripts if there are no CONFIG_FILES.
5845 # This happens for instance when ./config.status config.h
5846 if test -n "$CONFIG_FILES"; then
5848 _ACEOF
5852 ac_delim='%!_!# '
5853 for ac_last_try in false false false false false :; do
5854 cat >conf$$subs.sed <<_ACEOF
5855 SHELL!$SHELL$ac_delim
5856 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5857 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5858 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5859 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5860 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5861 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5862 exec_prefix!$exec_prefix$ac_delim
5863 prefix!$prefix$ac_delim
5864 program_transform_name!$program_transform_name$ac_delim
5865 bindir!$bindir$ac_delim
5866 sbindir!$sbindir$ac_delim
5867 libexecdir!$libexecdir$ac_delim
5868 datarootdir!$datarootdir$ac_delim
5869 datadir!$datadir$ac_delim
5870 sysconfdir!$sysconfdir$ac_delim
5871 sharedstatedir!$sharedstatedir$ac_delim
5872 localstatedir!$localstatedir$ac_delim
5873 includedir!$includedir$ac_delim
5874 oldincludedir!$oldincludedir$ac_delim
5875 docdir!$docdir$ac_delim
5876 infodir!$infodir$ac_delim
5877 htmldir!$htmldir$ac_delim
5878 dvidir!$dvidir$ac_delim
5879 pdfdir!$pdfdir$ac_delim
5880 psdir!$psdir$ac_delim
5881 libdir!$libdir$ac_delim
5882 localedir!$localedir$ac_delim
5883 mandir!$mandir$ac_delim
5884 DEFS!$DEFS$ac_delim
5885 ECHO_C!$ECHO_C$ac_delim
5886 ECHO_N!$ECHO_N$ac_delim
5887 ECHO_T!$ECHO_T$ac_delim
5888 LIBS!$LIBS$ac_delim
5889 build_alias!$build_alias$ac_delim
5890 host_alias!$host_alias$ac_delim
5891 target_alias!$target_alias$ac_delim
5892 build!$build$ac_delim
5893 build_cpu!$build_cpu$ac_delim
5894 build_vendor!$build_vendor$ac_delim
5895 build_os!$build_os$ac_delim
5896 host!$host$ac_delim
5897 host_cpu!$host_cpu$ac_delim
5898 host_vendor!$host_vendor$ac_delim
5899 host_os!$host_os$ac_delim
5900 target!$target$ac_delim
5901 target_cpu!$target_cpu$ac_delim
5902 target_vendor!$target_vendor$ac_delim
5903 target_os!$target_os$ac_delim
5904 SET_MAKE!$SET_MAKE$ac_delim
5905 CC!$CC$ac_delim
5906 CFLAGS!$CFLAGS$ac_delim
5907 LDFLAGS!$LDFLAGS$ac_delim
5908 CPPFLAGS!$CPPFLAGS$ac_delim
5909 ac_ct_CC!$ac_ct_CC$ac_delim
5910 EXEEXT!$EXEEXT$ac_delim
5911 OBJEXT!$OBJEXT$ac_delim
5912 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5913 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5914 INSTALL_DATA!$INSTALL_DATA$ac_delim
5915 am__isrc!$am__isrc$ac_delim
5916 CYGPATH_W!$CYGPATH_W$ac_delim
5917 PACKAGE!$PACKAGE$ac_delim
5918 VERSION!$VERSION$ac_delim
5919 ACLOCAL!$ACLOCAL$ac_delim
5920 AUTOCONF!$AUTOCONF$ac_delim
5921 AUTOMAKE!$AUTOMAKE$ac_delim
5922 AUTOHEADER!$AUTOHEADER$ac_delim
5923 MAKEINFO!$MAKEINFO$ac_delim
5924 install_sh!$install_sh$ac_delim
5925 STRIP!$STRIP$ac_delim
5926 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5927 mkdir_p!$mkdir_p$ac_delim
5928 AWK!$AWK$ac_delim
5929 am__leading_dot!$am__leading_dot$ac_delim
5930 AMTAR!$AMTAR$ac_delim
5931 am__tar!$am__tar$ac_delim
5932 am__untar!$am__untar$ac_delim
5933 DEPDIR!$DEPDIR$ac_delim
5934 am__include!$am__include$ac_delim
5935 am__quote!$am__quote$ac_delim
5936 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5937 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5938 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5939 CCDEPMODE!$CCDEPMODE$ac_delim
5940 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5941 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5942 CPP!$CPP$ac_delim
5943 GREP!$GREP$ac_delim
5944 EGREP!$EGREP$ac_delim
5945 LITE_VERSION_TRUE!$LITE_VERSION_TRUE$ac_delim
5946 LITE_VERSION_FALSE!$LITE_VERSION_FALSE$ac_delim
5947 STAND_ALONE_TRUE!$STAND_ALONE_TRUE$ac_delim
5948 STAND_ALONE_FALSE!$STAND_ALONE_FALSE$ac_delim
5949 LIBOBJS!$LIBOBJS$ac_delim
5950 LTLIBOBJS!$LTLIBOBJS$ac_delim
5951 _ACEOF
5953 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then
5954 break
5955 elif $ac_last_try; then
5956 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5957 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5958 { (exit 1); exit 1; }; }
5959 else
5960 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5962 done
5964 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5965 if test -n "$ac_eof"; then
5966 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5967 ac_eof=`expr $ac_eof + 1`
5970 cat >>$CONFIG_STATUS <<_ACEOF
5971 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5972 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5973 _ACEOF
5974 sed '
5975 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5976 s/^/s,@/; s/!/@,|#_!!_#|/
5979 s/'"$ac_delim"'$/,g/; t
5980 s/$/\\/; p
5981 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5982 ' >>$CONFIG_STATUS <conf$$subs.sed
5983 rm -f conf$$subs.sed
5984 cat >>$CONFIG_STATUS <<_ACEOF
5985 CEOF$ac_eof
5986 _ACEOF
5989 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5990 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5991 # trailing colons and then remove the whole line if VPATH becomes empty
5992 # (actually we leave an empty line to preserve line numbers).
5993 if test "x$srcdir" = x.; then
5994 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5995 s/:*\$(srcdir):*/:/
5996 s/:*\${srcdir}:*/:/
5997 s/:*@srcdir@:*/:/
5998 s/^\([^=]*=[ ]*\):*/\1/
5999 s/:*$//
6000 s/^[^=]*=[ ]*$//
6004 cat >>$CONFIG_STATUS <<\_ACEOF
6005 fi # test -n "$CONFIG_FILES"
6008 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
6010 case $ac_tag in
6011 :[FHLC]) ac_mode=$ac_tag; continue;;
6012 esac
6013 case $ac_mode$ac_tag in
6014 :[FHL]*:*);;
6015 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6016 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6017 { (exit 1); exit 1; }; };;
6018 :[FH]-) ac_tag=-:-;;
6019 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6020 esac
6021 ac_save_IFS=$IFS
6022 IFS=:
6023 set x $ac_tag
6024 IFS=$ac_save_IFS
6025 shift
6026 ac_file=$1
6027 shift
6029 case $ac_mode in
6030 :L) ac_source=$1;;
6031 :[FH])
6032 ac_file_inputs=
6033 for ac_f
6035 case $ac_f in
6036 -) ac_f="$tmp/stdin";;
6037 *) # Look for the file first in the build tree, then in the source tree
6038 # (if the path is not absolute). The absolute path cannot be DOS-style,
6039 # because $ac_f cannot contain `:'.
6040 test -f "$ac_f" ||
6041 case $ac_f in
6042 [\\/$]*) false;;
6043 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6044 esac ||
6045 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6046 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6047 { (exit 1); exit 1; }; };;
6048 esac
6049 ac_file_inputs="$ac_file_inputs $ac_f"
6050 done
6052 # Let's still pretend it is `configure' which instantiates (i.e., don't
6053 # use $as_me), people would be surprised to read:
6054 # /* config.h. Generated by config.status. */
6055 configure_input="Generated from "`IFS=:
6056 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6057 if test x"$ac_file" != x-; then
6058 configure_input="$ac_file. $configure_input"
6059 { echo "$as_me:$LINENO: creating $ac_file" >&5
6060 echo "$as_me: creating $ac_file" >&6;}
6063 case $ac_tag in
6064 *:-:* | *:-) cat >"$tmp/stdin";;
6065 esac
6067 esac
6069 ac_dir=`$as_dirname -- "$ac_file" ||
6070 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6071 X"$ac_file" : 'X\(//\)[^/]' \| \
6072 X"$ac_file" : 'X\(//\)$' \| \
6073 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6074 echo X"$ac_file" |
6075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6076 s//\1/
6079 /^X\(\/\/\)[^/].*/{
6080 s//\1/
6083 /^X\(\/\/\)$/{
6084 s//\1/
6087 /^X\(\/\).*/{
6088 s//\1/
6091 s/.*/./; q'`
6092 { as_dir="$ac_dir"
6093 case $as_dir in #(
6094 -*) as_dir=./$as_dir;;
6095 esac
6096 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6097 as_dirs=
6098 while :; do
6099 case $as_dir in #(
6100 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6101 *) as_qdir=$as_dir;;
6102 esac
6103 as_dirs="'$as_qdir' $as_dirs"
6104 as_dir=`$as_dirname -- "$as_dir" ||
6105 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6106 X"$as_dir" : 'X\(//\)[^/]' \| \
6107 X"$as_dir" : 'X\(//\)$' \| \
6108 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6109 echo X"$as_dir" |
6110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6111 s//\1/
6114 /^X\(\/\/\)[^/].*/{
6115 s//\1/
6118 /^X\(\/\/\)$/{
6119 s//\1/
6122 /^X\(\/\).*/{
6123 s//\1/
6126 s/.*/./; q'`
6127 test -d "$as_dir" && break
6128 done
6129 test -z "$as_dirs" || eval "mkdir $as_dirs"
6130 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6131 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6132 { (exit 1); exit 1; }; }; }
6133 ac_builddir=.
6135 case "$ac_dir" in
6136 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6138 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6139 # A ".." for each directory in $ac_dir_suffix.
6140 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6141 case $ac_top_builddir_sub in
6142 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6143 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6144 esac ;;
6145 esac
6146 ac_abs_top_builddir=$ac_pwd
6147 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6148 # for backward compatibility:
6149 ac_top_builddir=$ac_top_build_prefix
6151 case $srcdir in
6152 .) # We are building in place.
6153 ac_srcdir=.
6154 ac_top_srcdir=$ac_top_builddir_sub
6155 ac_abs_top_srcdir=$ac_pwd ;;
6156 [\\/]* | ?:[\\/]* ) # Absolute name.
6157 ac_srcdir=$srcdir$ac_dir_suffix;
6158 ac_top_srcdir=$srcdir
6159 ac_abs_top_srcdir=$srcdir ;;
6160 *) # Relative name.
6161 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6162 ac_top_srcdir=$ac_top_build_prefix$srcdir
6163 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6164 esac
6165 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6168 case $ac_mode in
6171 # CONFIG_FILE
6174 case $INSTALL in
6175 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6176 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6177 esac
6178 ac_MKDIR_P=$MKDIR_P
6179 case $MKDIR_P in
6180 [\\/$]* | ?:[\\/]* ) ;;
6181 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6182 esac
6183 _ACEOF
6185 cat >>$CONFIG_STATUS <<\_ACEOF
6186 # If the template does not know about datarootdir, expand it.
6187 # FIXME: This hack should be removed a few years after 2.60.
6188 ac_datarootdir_hack=; ac_datarootdir_seen=
6190 case `sed -n '/datarootdir/ {
6194 /@datadir@/p
6195 /@docdir@/p
6196 /@infodir@/p
6197 /@localedir@/p
6198 /@mandir@/p
6199 ' $ac_file_inputs` in
6200 *datarootdir*) ac_datarootdir_seen=yes;;
6201 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6202 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6203 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6204 _ACEOF
6205 cat >>$CONFIG_STATUS <<_ACEOF
6206 ac_datarootdir_hack='
6207 s&@datadir@&$datadir&g
6208 s&@docdir@&$docdir&g
6209 s&@infodir@&$infodir&g
6210 s&@localedir@&$localedir&g
6211 s&@mandir@&$mandir&g
6212 s&\\\${datarootdir}&$datarootdir&g' ;;
6213 esac
6214 _ACEOF
6216 # Neutralize VPATH when `$srcdir' = `.'.
6217 # Shell code in configure.ac might set extrasub.
6218 # FIXME: do we really want to maintain this feature?
6219 cat >>$CONFIG_STATUS <<_ACEOF
6220 sed "$ac_vpsub
6221 $extrasub
6222 _ACEOF
6223 cat >>$CONFIG_STATUS <<\_ACEOF
6225 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6226 s&@configure_input@&$configure_input&;t t
6227 s&@top_builddir@&$ac_top_builddir_sub&;t t
6228 s&@srcdir@&$ac_srcdir&;t t
6229 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6230 s&@top_srcdir@&$ac_top_srcdir&;t t
6231 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6232 s&@builddir@&$ac_builddir&;t t
6233 s&@abs_builddir@&$ac_abs_builddir&;t t
6234 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6235 s&@INSTALL@&$ac_INSTALL&;t t
6236 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6237 $ac_datarootdir_hack
6238 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed 's/|#_!!_#|//g' >$tmp/out
6240 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6241 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6242 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6243 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6244 which seems to be undefined. Please make sure it is defined." >&5
6245 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6246 which seems to be undefined. Please make sure it is defined." >&2;}
6248 rm -f "$tmp/stdin"
6249 case $ac_file in
6250 -) cat "$tmp/out"; rm -f "$tmp/out";;
6251 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6252 esac
6256 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6257 echo "$as_me: executing $ac_file commands" >&6;}
6259 esac
6262 case $ac_file$ac_mode in
6263 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6264 # Strip MF so we end up with the name of the file.
6265 mf=`echo "$mf" | sed -e 's/:.*$//'`
6266 # Check whether this is an Automake generated Makefile or not.
6267 # We used to match only the files named `Makefile.in', but
6268 # some people rename them; so instead we look at the file content.
6269 # Grep'ing the first line is not enough: some people post-process
6270 # each Makefile.in and add a new line on top of each file to say so.
6271 # Grep'ing the whole file is not good either: AIX grep has a line
6272 # limit of 2048, but all sed's we know have understand at least 4000.
6273 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
6274 dirpart=`$as_dirname -- "$mf" ||
6275 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6276 X"$mf" : 'X\(//\)[^/]' \| \
6277 X"$mf" : 'X\(//\)$' \| \
6278 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6279 echo X"$mf" |
6280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6281 s//\1/
6284 /^X\(\/\/\)[^/].*/{
6285 s//\1/
6288 /^X\(\/\/\)$/{
6289 s//\1/
6292 /^X\(\/\).*/{
6293 s//\1/
6296 s/.*/./; q'`
6297 else
6298 continue
6300 # Extract the definition of DEPDIR, am__include, and am__quote
6301 # from the Makefile without running `make'.
6302 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6303 test -z "$DEPDIR" && continue
6304 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6305 test -z "am__include" && continue
6306 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6307 # When using ansi2knr, U may be empty or an underscore; expand it
6308 U=`sed -n 's/^U = //p' < "$mf"`
6309 # Find all dependency output files, they are included files with
6310 # $(DEPDIR) in their names. We invoke sed twice because it is the
6311 # simplest approach to changing $(DEPDIR) to its actual value in the
6312 # expansion.
6313 for file in `sed -n "
6314 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6315 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6316 # Make sure the directory exists.
6317 test -f "$dirpart/$file" && continue
6318 fdir=`$as_dirname -- "$file" ||
6319 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6320 X"$file" : 'X\(//\)[^/]' \| \
6321 X"$file" : 'X\(//\)$' \| \
6322 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6323 echo X"$file" |
6324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6325 s//\1/
6328 /^X\(\/\/\)[^/].*/{
6329 s//\1/
6332 /^X\(\/\/\)$/{
6333 s//\1/
6336 /^X\(\/\).*/{
6337 s//\1/
6340 s/.*/./; q'`
6341 { as_dir=$dirpart/$fdir
6342 case $as_dir in #(
6343 -*) as_dir=./$as_dir;;
6344 esac
6345 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6346 as_dirs=
6347 while :; do
6348 case $as_dir in #(
6349 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6350 *) as_qdir=$as_dir;;
6351 esac
6352 as_dirs="'$as_qdir' $as_dirs"
6353 as_dir=`$as_dirname -- "$as_dir" ||
6354 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6355 X"$as_dir" : 'X\(//\)[^/]' \| \
6356 X"$as_dir" : 'X\(//\)$' \| \
6357 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6358 echo X"$as_dir" |
6359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6360 s//\1/
6363 /^X\(\/\/\)[^/].*/{
6364 s//\1/
6367 /^X\(\/\/\)$/{
6368 s//\1/
6371 /^X\(\/\).*/{
6372 s//\1/
6375 s/.*/./; q'`
6376 test -d "$as_dir" && break
6377 done
6378 test -z "$as_dirs" || eval "mkdir $as_dirs"
6379 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6380 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6381 { (exit 1); exit 1; }; }; }
6382 # echo "creating $dirpart/$file"
6383 echo '# dummy' > "$dirpart/$file"
6384 done
6385 done
6388 esac
6389 done # for ac_tag
6392 { (exit 0); exit 0; }
6393 _ACEOF
6394 chmod +x $CONFIG_STATUS
6395 ac_clean_files=$ac_clean_files_save
6398 # configure is writing to config.log, and then calls config.status.
6399 # config.status does its own redirection, appending to config.log.
6400 # Unfortunately, on DOS this fails, as config.log is still kept open
6401 # by configure, so config.status won't be able to write to it; its
6402 # output is simply discarded. So we exec the FD to /dev/null,
6403 # effectively closing config.log, so it can be properly (re)opened and
6404 # appended to by config.status. When coming back to configure, we
6405 # need to make the FD available again.
6406 if test "$no_create" != yes; then
6407 ac_cs_success=:
6408 ac_config_status_args=
6409 test "$silent" = yes &&
6410 ac_config_status_args="$ac_config_status_args --quiet"
6411 exec 5>/dev/null
6412 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6413 exec 5>>config.log
6414 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6415 # would make configure fail if this is the last instruction.
6416 $ac_cs_success || { (exit 1); exit 1; }
6420 if test "x$have_libminigui" != "xyes"; then
6421 { echo "$as_me:$LINENO: WARNING:
6422 MiniGUI is not properly installed on the system. You need MiniGUI-Lite Ver 1.6.0 or later for
6423 building this package. Please configure and install MiniGUI-Lite Ver 1.6.0 first.
6424 " >&5
6425 echo "$as_me: WARNING:
6426 MiniGUI is not properly installed on the system. You need MiniGUI-Lite Ver 1.6.0 or later for
6427 building this package. Please configure and install MiniGUI-Lite Ver 1.6.0 first.
6428 " >&2;}