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
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+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
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
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
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.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
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
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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
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 \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
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 ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
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
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
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
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+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
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+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
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; }
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
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 () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
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
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
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. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
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 ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
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
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`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="src/motormain.c"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
687 INSTALL_STRIP_PROGRAM
713 ac_precious_vars
='build_alias
724 # Initialize some variables set by options.
726 ac_init_version
=false
727 # The variables have the same names as the options, with
728 # dashes changed to underlines.
736 program_transform_name
=s
,x
,x
,
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'
766 libdir
='${exec_prefix}/lib'
767 localedir
='${datarootdir}/locale'
768 mandir
='${datarootdir}/man'
774 # If the previous option needs an argument, assign it.
775 if test -n "$ac_prev"; then
776 eval $ac_prev=\
$ac_option
782 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
786 # Accept the important Cygnus configure options, so we can diagnose typos.
788 case $ac_dashdash$ac_option in
792 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
794 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
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 ;;
810 cache_file
=config.cache
;;
812 -datadir |
--datadir |
--datadi |
--datad)
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)
835 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
838 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
840 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
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.
865 -help |
--help |
--hel |
--he |
-h)
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)
879 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
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)
892 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
893 infodir
=$ac_optarg ;;
895 -libdir |
--libdir |
--libdi |
--libd)
897 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
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)
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)
921 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
925 # Obsolete; use --without-fp.
928 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
929 |
--no-cr |
--no-c |
-n)
932 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
933 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
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)
947 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
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)
983 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
986 -psdir |
--psdir |
--psdi |
--psd |
--ps)
988 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
991 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
992 |
-silent |
--silent |
--silen |
--sile |
--sil)
995 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
997 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
999 sbindir
=$ac_optarg ;;
1001 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1002 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1003 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1005 ac_prev
=sharedstatedir
;;
1006 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1007 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1008 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1010 sharedstatedir
=$ac_optarg ;;
1012 -site |
--site |
--sit)
1014 -site=* |
--site=* |
--sit=*)
1017 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
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)
1037 -version |
--version |
--versio |
--versi |
--vers |
-V)
1038 ac_init_version
=: ;;
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
;;
1059 # Obsolete; use --with-x.
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; }; }
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}
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
1115 [\\/$
]* | ?
:[\\/]* ) continue;;
1116 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1118 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1119 { (exit 1); exit 1; }; }
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.
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
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 ||
1166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1184 if test ! -r "$srcdir/$ac_unique_file"; then
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"
1197 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1198 { (exit 1); exit 1; }; }
1200 # When building in place, set srcdir=.
1201 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1208 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
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.
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.
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
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]
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
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
]
1293 if test -n "$ac_init_help"; then
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
>
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.
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
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/ ;;
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
1343 .) # We are building in place.
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 ;;
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 ;;
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
1362 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1363 elif test -f "$ac_srcdir/configure"; then
1365 $SHELL "$ac_srcdir/configure" --help=recursive
1367 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1369 cd "$ac_pwd" || { ac_status=$?; break; }
1373 test -n "$ac_init_help" && exit $ac_status
1374 if $ac_init_version; then
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.
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
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
`
1422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1426 test -z "$as_dir" && as_dir=.
1427 echo "PATH: $as_dir"
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.
1451 ac_must_keep_next=false
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)
1462 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
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.
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 ;;
1480 -* ) ac_must_keep_next=true ;;
1483 ac_configure_args="$ac_configure_args '$ac_arg'"
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.
1502 ## ---------------- ##
1503 ## Cache variables. ##
1504 ## ---------------- ##
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
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;} ;;
1518 _ | IFS | as_nl) ;; #(
1519 *) $as_unset $ac_var ;;
1524 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1525 *${as_nl}ac_space=\ *)
1527 "s/'\''/'\''\\\\'\'''\''/g;
1528 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1531 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1539 ## ----------------- ##
1540 ## Output variables. ##
1541 ## ----------------- ##
1544 for ac_var in $ac_subst_vars
1546 eval ac_val=\$$ac_var
1548 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1550 echo "$ac_var='\''$ac_val'\''"
1554 if test -n "$ac_subst_files"; then
1556 ## ------------------- ##
1557 ## File substitutions. ##
1558 ## ------------------- ##
1561 for ac_var in $ac_subst_files
1563 eval ac_val=\$$ac_var
1565 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1567 echo "$ac_var='\''$ac_val'\''"
1572 if test -s confdefs.h; then
1582 test "$ac_signal" != 0 &&
1583 echo "$as_me: caught signal $ac_signal"
1584 echo "$as_me: exit $exit_status"
1586 rm -f core *.core core.conftest.* &&
1587 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1590 for ac_signal in 1 2 13 15; do
1591 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
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"
1605 cat >>confdefs.h <<_ACEOF
1606 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1610 cat >>confdefs.h <<_ACEOF
1611 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1615 cat >>confdefs.h <<_ACEOF
1616 #define PACKAGE_STRING "$PACKAGE_STRING"
1620 cat >>confdefs.h <<_ACEOF
1621 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
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"
1632 set x "$ac_default_prefix/share/config.site" \
1633 "$ac_default_prefix/etc/config.site"
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
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;}
1653 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1654 *) . "./$cache_file";;
1658 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1659 echo "$as_me: creating cache $cache_file" >&6;}
1663 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
1692 # Pass precious variables to config.status.
1693 if test "$ac_new_set" = set; then
1695 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1696 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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; }; }
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
1737 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1738 if test -f "$ac_dir/install-sh"; then
1740 ac_install_sh="$ac_aux_dir/install-sh -c"
1742 elif test -f "$ac_dir/install.sh"; then
1744 ac_install_sh="$ac_aux_dir/install.sh -c"
1746 elif test -f "$ac_dir/shtool"; then
1748 ac_install_sh="$ac_aux_dir/shtool install -c"
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
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
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; }; };;
1800 ac_save_IFS=$IFS; IFS='-'
1806 # Remember, the first character of IFS is used to create $*,
1807 # except with old shells:
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
1818 if test "x$host_alias" = x; then
1819 ac_cv_host=$ac_cv_build
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; }
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; }; };;
1837 ac_save_IFS=$IFS; IFS='-'
1843 # Remember, the first character of IFS is used to create $*,
1844 # except with old shells:
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
1855 if test "x$target_alias" = x; then
1856 ac_cv_target=$ac_cv_host
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
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; }; };;
1873 target=$ac_cv_target
1874 ac_save_IFS=$IFS; IFS='-'
1880 # Remember, the first character of IFS is used to create $*,
1881 # except with old shells:
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" = \
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
1900 cat >conftest.make <<\_ACEOF
1903 @echo '@@@%%%=$(MAKE)=@@@%%%'
1905 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1906 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
1908 eval ac_cv_prog_make_${ac_make}_set=yes;;
1910 eval ac_cv_prog_make_${ac_make}_set=no;;
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; }
1919 { echo "$as_me:$LINENO: result: no" >&5
1920 echo "${ECHO_T}no" >&6; }
1921 SET_MAKE="MAKE=${MAKE-make}"
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
1937 if test -n "$CC"; then
1938 ac_cv_prog_CC="$CC" # Let the user override the test.
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1958 if test -n "$CC"; then
1959 { echo "$as_me:$LINENO: result: $CC" >&5
1960 echo "${ECHO_T}$CC" >&6; }
1962 { echo "$as_me:$LINENO: result: no" >&5
1963 echo "${ECHO_T}no" >&6; }
1968 if test -z "$ac_cv_prog_CC"; then
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
1977 if test -n "$ac_ct_CC"; then
1978 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2002 { echo "$as_me:$LINENO: result: no" >&5
2003 echo "${ECHO_T}no" >&6; }
2006 if test "x$ac_ct_CC" = x; then
2009 case $cross_compiling:$ac_tool_warned in
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 ;;
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
2034 if test -n "$CC"; then
2035 ac_cv_prog_CC="$CC" # Let the user override the test.
2037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2055 if test -n "$CC"; then
2056 { echo "$as_me:$LINENO: result: $CC" >&5
2057 echo "${ECHO_T}$CC" >&6; }
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
2074 if test -n "$CC"; then
2075 ac_cv_prog_CC="$CC" # Let the user override the test.
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
2106 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2112 if test -n "$CC"; then
2113 { echo "$as_me:$LINENO: result: $CC" >&5
2114 echo "${ECHO_T}$CC" >&6; }
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
2133 if test -n "$CC"; then
2134 ac_cv_prog_CC="$CC" # Let the user override the test.
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2154 if test -n "$CC"; then
2155 { echo "$as_me:$LINENO: result: $CC" >&5
2156 echo "${ECHO_T}$CC" >&6; }
2158 { echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6; }
2163 test -n "$CC" && break
2166 if test -z "$CC"; then
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
2177 if test -n "$ac_ct_CC"; then
2178 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2202 { echo "$as_me:$LINENO: result: no" >&5
2203 echo "${ECHO_T}no" >&6; }
2207 test -n "$ac_ct_CC" && break
2210 if test "x$ac_ct_CC" = x; then
2213 case $cross_compiling:$ac_tool_warned in
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 ;;
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"
2241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2242 *) ac_try_echo=$ac_try;;
2244 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2245 (eval "$ac_compiler --version >&5") 2>&5
2247 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2248 (exit $ac_status); }
2249 { (ac_try="$ac_compiler -v >&5"
2251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2252 *) ac_try_echo=$ac_try;;
2254 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2255 (eval "$ac_compiler -v >&5") 2>&5
2257 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2258 (exit $ac_status); }
2259 { (ac_try="$ac_compiler -V >&5"
2261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2262 *) ac_try_echo=$ac_try;;
2264 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2265 (eval "$ac_compiler -V >&5") 2>&5
2267 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2268 (exit $ac_status); }
2270 cat >conftest.$ac_ext <<_ACEOF
2273 cat confdefs.h >>conftest.$ac_ext
2274 cat >>conftest.$ac_ext <<_ACEOF
2275 /* end confdefs.h. */
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
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.
2303 for ac_file in $ac_files
2306 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2307 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2312 if { (ac_try="$ac_link_default"
2314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2315 *) ac_try_echo=$ac_try;;
2317 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2318 (eval "$ac_link_default") 2>&5
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
2327 for ac_file in $ac_files ''
2329 test -f "$ac_file" || continue
2331 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2334 # We found the default executable, but exeext='' is most
2338 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
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
2352 test "$ac_cv_exeext" = no && ac_cv_exeext=
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;;
2385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2386 (eval "$ac_try") 2>&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }; }; then
2392 if test "$cross_compiling" = maybe; then
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"
2421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2422 *) ac_try_echo=$ac_try;;
2424 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2425 (eval "$ac_link") 2>&5
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
2433 for ac_file in conftest.exe conftest conftest.*; do
2434 test -f "$ac_file" || continue
2436 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2437 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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
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
2462 cat >conftest.$ac_ext <<_ACEOF
2465 cat confdefs.h >>conftest.$ac_ext
2466 cat >>conftest.$ac_ext <<_ACEOF
2467 /* end confdefs.h. */
2477 rm -f conftest.o conftest.obj
2478 if { (ac_try="$ac_compile"
2480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2481 *) ac_try_echo=$ac_try;;
2483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2484 (eval "$ac_compile") 2>&5
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;
2491 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2492 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
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
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
2518 cat >conftest.$ac_ext <<_ACEOF
2521 cat confdefs.h >>conftest.$ac_ext
2522 cat >>conftest.$ac_ext <<_ACEOF
2523 /* end confdefs.h. */
2536 rm -f conftest.$ac_objext
2537 if { (ac_try="$ac_compile"
2539 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2540 *) ac_try_echo
=$ac_try;;
2542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2543 (eval "$ac_compile") 2>conftest.er1
2545 grep -v '^ *+' conftest.er1
>conftest.err
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
2555 echo "$as_me: failed program was:" >&5
2556 sed 's/^/| /' conftest.
$ac_ext >&5
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
2575 ac_save_c_werror_flag
=$ac_c_werror_flag
2576 ac_c_werror_flag
=yes
2579 cat >conftest.
$ac_ext <<_ACEOF
2582 cat confdefs.h
>>conftest.
$ac_ext
2583 cat >>conftest.
$ac_ext <<_ACEOF
2584 /* end confdefs.h. */
2594 rm -f conftest.
$ac_objext
2595 if { (ac_try
="$ac_compile"
2597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2598 *) ac_try_echo=$ac_try;;
2600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2601 (eval "$ac_compile") 2>conftest.er1
2603 grep -v '^ *+' conftest.er1 >conftest.err
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
2613 echo "$as_me: failed program was:" >&5
2614 sed 's/^/| /' conftest.$ac_ext >&5
2617 cat >conftest.$ac_ext <<_ACEOF
2620 cat confdefs.h >>conftest.$ac_ext
2621 cat >>conftest.$ac_ext <<_ACEOF
2622 /* end confdefs.h. */
2632 rm -f conftest.$ac_objext
2633 if { (ac_try="$ac_compile"
2635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2636 *) ac_try_echo
=$ac_try;;
2638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2639 (eval "$ac_compile") 2>conftest.er1
2641 grep -v '^ *+' conftest.er1
>conftest.err
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
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
2656 cat >conftest.
$ac_ext <<_ACEOF
2659 cat confdefs.h
>>conftest.
$ac_ext
2660 cat >>conftest.
$ac_ext <<_ACEOF
2661 /* end confdefs.h. */
2671 rm -f conftest.
$ac_objext
2672 if { (ac_try
="$ac_compile"
2674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2678 (eval "$ac_compile") 2>conftest.er1
2680 grep -v '^ *+' conftest.er1 >conftest.err
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
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
2716 if test "$GCC" = yes; then
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
2727 ac_cv_prog_cc_c89=no
2729 cat >conftest.$ac_ext <<_ACEOF
2732 cat confdefs.h >>conftest.$ac_ext
2733 cat >>conftest.$ac_ext <<_ACEOF
2734 /* end confdefs.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)
2748 static char *f (char * (*g) (char **, int), char **p, ...)
2753 s = g (p, va_arg (v,int));
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. */
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);
2781 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
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"
2793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2794 *) ac_try_echo
=$ac_try;;
2796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2797 (eval "$ac_compile") 2>conftest.er1
2799 grep -v '^ *+' conftest.er1
>conftest.err
2801 cat conftest.err
>&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); } && {
2804 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
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
2818 rm -f conftest.
$ac_ext
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; } ;;
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; } ;;
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
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
2865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir
=.
2870 # Account for people who put trailing slashes in PATH elements.
2872 .
/ | .
// |
/cC
/* | \
2873 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2874 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
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
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.
2892 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2905 if test "${ac_cv_path_install+set}" = set; then
2906 INSTALL
=$ac_cv_path_install
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; }
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
2937 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2938 if test "$*" = "X"; then
2940 set X
`ls -t $srcdir/configure 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
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
,$
//
2981 program_transform_name
=`echo $program_transform_name | sed -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 "
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
3003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3004 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
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
3025 if test "${ac_cv_path_mkdir+set}" = set; then
3026 MKDIR_P
="$ac_cv_path_mkdir -p"
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; }
3041 [\\/$
]* | ?
:[\\/]*) ;;
3042 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
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
3054 if test -n "$AWK"; then
3055 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
3075 if test -n "$AWK"; then
3076 { echo "$as_me:$LINENO: result: $AWK" >&5
3077 echo "${ECHO_T}$AWK" >&6; }
3079 { echo "$as_me:$LINENO: result: no" >&5
3080 echo "${ECHO_T}no" >&6; }
3084 test -n "$AWK" && break
3087 rm -rf .tst
2>/dev
/null
3088 mkdir .tst
2>/dev
/null
3089 if test -d .tst
; then
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'
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; }
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
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
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"
3149 if test "x$enable_dependency_tracking" != xno; then
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'
3180 # Define the identity of the package.
3185 cat >>confdefs.h
<<_ACEOF
3186 #define PACKAGE "$PACKAGE"
3190 cat >>confdefs.h
<<_ACEOF
3191 #define VERSION "$VERSION"
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
3225 if test -n "$STRIP"; then
3226 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
3250 { echo "$as_me:$LINENO: result: no" >&5
3251 echo "${ECHO_T}no" >&6; }
3256 if test -z "$ac_cv_prog_STRIP"; then
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
3265 if test -n "$ac_ct_STRIP"; then
3266 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
3290 { echo "$as_me:$LINENO: result: no" >&5
3291 echo "${ECHO_T}no" >&6; }
3294 if test "x$ac_ct_STRIP" = x
; then
3297 case $cross_compiling:$ac_tool_warned in
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 ;;
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
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
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
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
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
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.
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
3372 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
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
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
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
3428 am__fastdepCC_FALSE
='#'
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
3443 cat >conftest.
$ac_ext <<_ACEOF
3446 cat confdefs.h
>>conftest.
$ac_ext
3447 cat >>conftest.
$ac_ext <<_ACEOF
3448 /* end confdefs.h. */
3453 /* FIXME: Include the comments suggested by Paul. */
3455 /* Ultrix mips cc rejects this. */
3456 typedef int charset[2];
3458 /* SunOS 4.1.1 cc rejects this. */
3459 char const *const *pcpcc;
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
3468 const char *g = "string";
3469 pcpcc = &g + (g ? g-g : 0);
3470 /* HPUX 7.0 cc rejects these. */
3472 ppc = (char**) pcpcc;
3473 pcpcc = (char const *const *) ppc;
3474 { /* SCO 3.2v4 cc rejects this. */
3476 char const *s = 0 ? (char *) 0 : (char const *) 0;
3481 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3483 const int *foo = &x[0];
3486 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3487 typedef const int *iptr;
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 */
3500 return !cs[0] && !zero.x;
3507 rm -f conftest.
$ac_objext
3508 if { (ac_try
="$ac_compile"
3510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3511 *) ac_try_echo=$ac_try;;
3513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3514 (eval "$ac_compile") 2>conftest.er1
3516 grep -v '^ *+' conftest.er1 >conftest.err
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
3526 echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.$ac_ext >&5
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
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
3556 if test -z "$CPP"; then
3557 if test "${ac_cv_prog_CPP+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 # Double quotes because CPP needs to be expanded
3561 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
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
3575 cat confdefs.h >>conftest.$ac_ext
3576 cat >>conftest.$ac_ext <<_ACEOF
3577 /* end confdefs.h. */
3579 # include <limits.h>
3581 # include <assert.h>
3585 if { (ac_try="$ac_cpp conftest.$ac_ext"
3587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3588 *) ac_try_echo
=$ac_try;;
3590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3593 grep -v '^ *+' conftest.er1
>conftest.err
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
3603 echo "$as_me: failed program was:" >&5
3604 sed 's/^/| /' conftest.
$ac_ext >&5
3606 # Broken: fails on valid input.
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
3617 cat confdefs.h
>>conftest.
$ac_ext
3618 cat >>conftest.
$ac_ext <<_ACEOF
3619 /* end confdefs.h. */
3620 #include <ac_nonexistent.h>
3622 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3625 *) ac_try_echo=$ac_try;;
3627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3630 grep -v '^ *+' conftest.er1 >conftest.err
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
3638 # Broken: success on invalid input.
3641 echo "$as_me: failed program was:" >&5
3642 sed 's/^/| /' conftest.$ac_ext >&5
3644 # Passes both tests.
3649 rm -f conftest.err conftest.$ac_ext
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
3666 { echo "$as_me:$LINENO: result: $CPP" >&5
3667 echo "${ECHO_T}$CPP" >&6; }
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
3680 cat confdefs.h
>>conftest.
$ac_ext
3681 cat >>conftest.
$ac_ext <<_ACEOF
3682 /* end confdefs.h. */
3684 # include <limits.h>
3686 # include <assert.h>
3690 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3693 *) ac_try_echo=$ac_try;;
3695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3696 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3698 grep -v '^ *+' conftest.er1 >conftest.err
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
3708 echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.$ac_ext >&5
3711 # Broken: fails on valid input.
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
3722 cat confdefs.h >>conftest.$ac_ext
3723 cat >>conftest.$ac_ext <<_ACEOF
3724 /* end confdefs.h. */
3725 #include <ac_nonexistent.h>
3727 if { (ac_try="$ac_cpp conftest.$ac_ext"
3729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3730 *) ac_try_echo
=$ac_try;;
3732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3733 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3735 grep -v '^ *+' conftest.er1
>conftest.err
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
3743 # Broken: success on invalid input.
3746 echo "$as_me: failed program was:" >&5
3747 sed 's/^/| /' conftest.
$ac_ext >&5
3749 # Passes both tests.
3754 rm -f conftest.err conftest.
$ac_ext
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
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; }; }
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
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
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
/xpg
4/bin
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
3802 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3805 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
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
3823 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3827 $ac_path_GREP_found && break 3
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; }; }
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
3860 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3861 then ac_cv_path_EGREP
="$GREP -E"
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
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
/xpg
4/bin
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
3884 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3887 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
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
3905 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3909 $ac_path_EGREP_found && break 3
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; }; }
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
3943 cat >conftest.
$ac_ext <<_ACEOF
3946 cat confdefs.h
>>conftest.
$ac_ext
3947 cat >>conftest.
$ac_ext <<_ACEOF
3948 /* end confdefs.h. */
3962 rm -f conftest.
$ac_objext
3963 if { (ac_try
="$ac_compile"
3965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3966 *) ac_try_echo=$ac_try;;
3968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3969 (eval "$ac_compile") 2>conftest.er1
3971 grep -v '^ *+' conftest.er1 >conftest.err
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
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
3994 cat confdefs.h >>conftest.$ac_ext
3995 cat >>conftest.$ac_ext <<_ACEOF
3996 /* end confdefs.h. */
4000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4001 $EGREP "memchr" >/dev/null 2>&1; then
4004 ac_cv_header_stdc=no
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
4015 cat confdefs.h >>conftest.$ac_ext
4016 cat >>conftest.$ac_ext <<_ACEOF
4017 /* end confdefs.h. */
4021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4022 $EGREP "free" >/dev/null 2>&1; then
4025 ac_cv_header_stdc=no
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
4036 cat >conftest.$ac_ext <<_ACEOF
4039 cat confdefs.h >>conftest.$ac_ext
4040 cat >>conftest.$ac_ext <<_ACEOF
4041 /* end confdefs.h. */
4044 #if ((' ' & 0x0FF) == 0x020)
4045 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4046 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
4055 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4060 for (i = 0; i < 256; i++)
4061 if (XOR (islower (i), ISLOWER (i))
4062 || toupper (i) != TOUPPER (i))
4067 rm -f conftest$ac_exeext
4068 if { (ac_try="$ac_link"
4070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4071 *) ac_try_echo
=$ac_try;;
4073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4074 (eval "$ac_link") 2>&5
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;;
4082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4083 (eval "$ac_try") 2>&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); }; }; then
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
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
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
4117 cat >conftest.$ac_ext <<_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>
4126 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4129 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4137 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4142 rm -f conftest.$ac_objext
4143 if { (ac_try="$ac_compile"
4145 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4146 *) ac_try_echo
=$ac_try;;
4148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4149 (eval "$ac_compile") 2>conftest.er1
4151 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
4184 cat >conftest.
$ac_ext <<_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>
4197 if ((struct tm *) 0)
4203 rm -f conftest.
$ac_objext
4204 if { (ac_try
="$ac_compile"
4206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4207 *) ac_try_echo=$ac_try;;
4209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4210 (eval "$ac_compile") 2>conftest.er1
4212 grep -v '^ *+' conftest.er1 >conftest.err
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
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
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
4259 cat >conftest.$ac_ext <<_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>
4269 rm -f conftest.$ac_objext
4270 if { (ac_try="$ac_compile"
4272 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4273 *) ac_try_echo
=$ac_try;;
4275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4276 (eval "$ac_compile") 2>conftest.er1
4278 grep -v '^ *+' conftest.er1
>conftest.err
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"
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
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; }
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
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>
4336 rm -f conftest.
$ac_objext
4337 if { (ac_try
="$ac_compile"
4339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4340 *) ac_try_echo=$ac_try;;
4342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4343 (eval "$ac_compile") 2>conftest.er1
4345 grep -v '^ *+' conftest.er1 >conftest.err
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
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
4371 cat confdefs.h >>conftest.$ac_ext
4372 cat >>conftest.$ac_ext <<_ACEOF
4373 /* end confdefs.h. */
4374 #include <$ac_header>
4376 if { (ac_try="$ac_cpp conftest.$ac_ext"
4378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4379 *) ac_try_echo
=$ac_try;;
4381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4382 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4384 grep -v '^ *+' conftest.er1
>conftest.err
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
4392 ac_header_preproc
=yes
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
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
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;}
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
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
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; }
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
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>
4478 rm -f conftest.
$ac_objext
4479 if { (ac_try
="$ac_compile"
4481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4482 *) ac_try_echo=$ac_try;;
4484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4485 (eval "$ac_compile") 2>conftest.er1
4487 grep -v '^ *+' conftest.er1 >conftest.err
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
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
4513 cat confdefs.h >>conftest.$ac_ext
4514 cat >>conftest.$ac_ext <<_ACEOF
4515 /* end confdefs.h. */
4516 #include <$ac_header>
4518 if { (ac_try="$ac_cpp conftest.$ac_ext"
4520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4521 *) ac_try_echo
=$ac_try;;
4523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4526 grep -v '^ *+' conftest.er1
>conftest.err
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
4534 ac_header_preproc
=yes
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
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
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;}
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
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
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
4601 cat >conftest.
$ac_ext <<_ACEOF
4604 cat confdefs.h
>>conftest.
$ac_ext
4605 cat >>conftest.
$ac_ext <<_ACEOF
4606 /* end confdefs.h. */
4607 #include <minigui/common.h>
4612 #ifndef _LITE_VERSION
4613 (void) _LITE_VERSION;
4620 rm -f conftest.
$ac_objext
4621 if { (ac_try
="$ac_compile"
4623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4624 *) ac_try_echo=$ac_try;;
4626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4627 (eval "$ac_compile") 2>conftest.er1
4629 grep -v '^ *+' conftest.er1 >conftest.err
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
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
4657 cat >>confdefs.h <<_ACEOF
4658 #define HAVE_DECL__LITE_VERSION 0
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
4672 cat >conftest.$ac_ext <<_ACEOF
4675 cat confdefs.h >>conftest.$ac_ext
4676 cat >>conftest.$ac_ext <<_ACEOF
4677 /* end confdefs.h. */
4678 #include <minigui/common.h>
4683 #ifndef _STAND_ALONE
4684 (void) _STAND_ALONE;
4691 rm -f conftest.$ac_objext
4692 if { (ac_try="$ac_compile"
4694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4695 *) ac_try_echo
=$ac_try;;
4697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4698 (eval "$ac_compile") 2>conftest.er1
4700 grep -v '^ *+' conftest.er1
>conftest.err
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
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
4728 cat >>confdefs.h
<<_ACEOF
4729 #define HAVE_DECL__STAND_ALONE 0
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
4743 cat >conftest.
$ac_ext <<_ACEOF
4746 cat confdefs.h
>>conftest.
$ac_ext
4747 cat >>conftest.
$ac_ext <<_ACEOF
4748 /* end confdefs.h. */
4749 #include <minigui/common.h>
4762 rm -f conftest.
$ac_objext
4763 if { (ac_try
="$ac_compile"
4765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4766 *) ac_try_echo=$ac_try;;
4768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4769 (eval "$ac_compile") 2>conftest.er1
4771 grep -v '^ *+' conftest.er1 >conftest.err
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
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
4799 cat >>confdefs.h <<_ACEOF
4800 #define HAVE_DECL__USE_NEWGAL 0
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"
4816 CFLAGS="$CFLAGS -D_REENTRANT"
4817 LIBS="$LIBS -lpthread -lminigui -lmgext"
4820 if test "x$lite_version" = "xyes"; then
4822 LITE_VERSION_FALSE='#'
4824 LITE_VERSION_TRUE='#'
4828 if test "x$stand_alone" = "xyes"; then
4830 STAND_ALONE_FALSE='#'
4832 STAND_ALONE_TRUE='#'
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
4842 cat >conftest.$ac_ext <<_ACEOF
4845 cat confdefs.h >>conftest.$ac_ext
4846 cat >>conftest.$ac_ext <<_ACEOF
4847 /* end confdefs.h. */
4848 #include <minigui/common.h>
4853 #ifndef _HAVE_MATH_LIB
4854 (void) _HAVE_MATH_LIB;
4861 rm -f conftest.$ac_objext
4862 if { (ac_try="$ac_compile"
4864 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4865 *) ac_try_echo
=$ac_try;;
4867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4868 (eval "$ac_compile") 2>conftest.er1
4870 grep -v '^ *+' conftest.er1
>conftest.err
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
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
4898 cat >>confdefs.h
<<_ACEOF
4899 #define HAVE_DECL__HAVE_MATH_LIB 0
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
4911 cat >conftest.
$ac_ext <<_ACEOF
4914 cat confdefs.h
>>conftest.
$ac_ext
4915 cat >>conftest.
$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4917 #include <minigui/common.h>
4922 #ifndef _PNG_FILE_SUPPORT
4923 (void) _PNG_FILE_SUPPORT;
4930 rm -f conftest.
$ac_objext
4931 if { (ac_try
="$ac_compile"
4933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4934 *) ac_try_echo=$ac_try;;
4936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4937 (eval "$ac_compile") 2>conftest.er1
4939 grep -v '^ *+' conftest.er1 >conftest.err
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
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
4967 cat >>confdefs.h <<_ACEOF
4968 #define HAVE_DECL__PNG_FILE_SUPPORT 0
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
4980 cat >conftest.$ac_ext <<_ACEOF
4983 cat confdefs.h >>conftest.$ac_ext
4984 cat >>conftest.$ac_ext <<_ACEOF
4985 /* end confdefs.h. */
4986 #include <minigui/common.h>
4991 #ifndef _JPG_FILE_SUPPORT
4992 (void) _JPG_FILE_SUPPORT;
4999 rm -f conftest.$ac_objext
5000 if { (ac_try="$ac_compile"
5002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5003 *) ac_try_echo
=$ac_try;;
5005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5006 (eval "$ac_compile") 2>conftest.er1
5008 grep -v '^ *+' conftest.er1
>conftest.err
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
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
5036 cat >>confdefs.h
<<_ACEOF
5037 #define HAVE_DECL__JPG_FILE_SUPPORT 0
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
5049 cat >conftest.
$ac_ext <<_ACEOF
5052 cat confdefs.h
>>conftest.
$ac_ext
5053 cat >>conftest.
$ac_ext <<_ACEOF
5054 /* end confdefs.h. */
5055 #include <minigui/common.h>
5060 #ifndef _TYPE1_SUPPORT
5061 (void) _TYPE1_SUPPORT;
5068 rm -f conftest.
$ac_objext
5069 if { (ac_try
="$ac_compile"
5071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5072 *) ac_try_echo=$ac_try;;
5074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5075 (eval "$ac_compile") 2>conftest.er1
5077 grep -v '^ *+' conftest.er1 >conftest.err
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
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
5105 cat >>confdefs.h <<_ACEOF
5106 #define HAVE_DECL__TYPE1_SUPPORT 0
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
5118 cat >conftest.$ac_ext <<_ACEOF
5121 cat confdefs.h >>conftest.$ac_ext
5122 cat >>conftest.$ac_ext <<_ACEOF
5123 /* end confdefs.h. */
5124 #include <minigui/common.h>
5129 #ifndef _TTF_SUPPORT
5130 (void) _TTF_SUPPORT;
5137 rm -f conftest.$ac_objext
5138 if { (ac_try="$ac_compile"
5140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5141 *) ac_try_echo
=$ac_try;;
5143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5144 (eval "$ac_compile") 2>conftest.er1
5146 grep -v '^ *+' conftest.er1
>conftest.err
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
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
5174 cat >>confdefs.h
<<_ACEOF
5175 #define HAVE_DECL__TTF_SUPPORT 0
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
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
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;} ;;
5216 _ | IFS | as_nl
) ;; #(
5217 *) $as_unset $ac_var ;;
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 \).
5229 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5232 # `set' quotes correctly as required by POSIX, so do not add quotes.
5233 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5242 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5244 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
5253 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5254 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
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.
5273 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5275 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5279 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5292 DEFS
=`sed -n "$ac_script" confdefs.h`
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'
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
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.
5355 SHELL=\${CONFIG_SHELL-$SHELL}
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
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
5373 case `(set -o) 2>/dev/null` in
5374 *posix
*) set -o posix
;;
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
5395 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5403 # Support unset when possible.
5404 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
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.)
5420 # Find who we are. Look in the path if we contain no directory separator.
5422 *[\\/]* ) as_myself
=$0 ;;
5423 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5427 test -z "$as_dir" && as_dir
=.
5428 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
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
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
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
5461 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
5465 # Required to use basename.
5466 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5467 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5473 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5474 as_basename
=basename
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 ||
5486 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
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. :-)
5531 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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).
5543 # Exit status is that of the last command.
5548 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5554 ECHO_C
= ECHO_N
= ECHO_T
=
5557 case `echo 'x\c'` in
5558 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5565 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5566 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5572 rm -f conf$$ conf$$.exe conf$$.
file
5573 if test -d conf$$.dir
; then
5574 rm -f conf$$.dir
/conf$$.
file
5580 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
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 ||
5588 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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
5599 test -d .
/-p && rmdir .
/-p
5603 if test -x / >/dev
/null
2>&1; then
5606 if ls -dL / >/dev
/null
2>&1; then
5613 if test -d "$1"; then
5619 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5620 ???[sx]*):;;*)false;;esac;fi
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'"
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.
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
5648 on `(hostname || uname -n) 2>/dev/null | sed 1q`
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"
5660 cat >>$CONFIG_STATUS <<\_ACEOF
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:
5678 Configuration commands:
5681 Report bugs to <bug-autoconf@gnu.org>."
5684 cat >>$CONFIG_STATUS <<_ACEOF
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."
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.
5708 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5709 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5720 # Handling of the options.
5721 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5723 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5724 echo "$ac_cs_version"; exit ;;
5725 --debug |
--debu |
--deb |
--de |
--d |
-d )
5727 --file |
--fil |
--fi |
--f )
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)
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
;;
5749 ac_configure_extra_args
=
5751 if $ac_cs_silent; then
5753 ac_configure_extra_args
="$ac_configure_extra_args --silent"
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
5762 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5766 cat >>$CONFIG_STATUS <<\_ACEOF
5770 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5771 ## Running $as_me. ##
5777 cat >>$CONFIG_STATUS <<_ACEOF
5781 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
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; }; };;
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'.
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"
5832 tmp
=.
/conf$$
-$RANDOM
5833 (umask 077 && mkdir
"$tmp")
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
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
5885 ECHO_C!$ECHO_C$ac_delim
5886 ECHO_N!$ECHO_N$ac_delim
5887 ECHO_T!$ECHO_T$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
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
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
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
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
5953 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then
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; }; }
5960 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
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
5975 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5976 s/^/s,@/; s/!/@,|#_!!_#|/
5979 s/'"$ac_delim"'$/,g/; t
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
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[ ]*=/{
5998 s/^\([^=]*=[ ]*\):*/\1/
6004 cat >>$CONFIG_STATUS <<\_ACEOF
6005 fi # test -n "$CONFIG_FILES"
6008 for ac_tag
in :F
$CONFIG_FILES :C
$CONFIG_COMMANDS
6011 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6013 case $ac_mode$ac_tag in
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;;
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 `:'.
6043 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
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; }; };;
6049 ac_file_inputs
="$ac_file_inputs $ac_f"
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;}
6064 *:-:* |
*:-) cat >"$tmp/stdin";;
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 ||
6075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6094 -*) as_dir
=.
/$as_dir;;
6096 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
6100 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6101 *) as_qdir
=$as_dir;;
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 ||
6110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6127 test -d "$as_dir" && break
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; }; }; }
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/ ;;
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
6152 .
) # We are building in place.
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 ;;
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 ;;
6165 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6175 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6176 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6180 [\\/$
]* | ?
:[\\/]* ) ;;
6181 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
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/ {
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;}
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' ;;
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
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;}
6250 -) cat "$tmp/out"; rm -f "$tmp/out";;
6251 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6256 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6257 echo "$as_me: executing $ac_file commands" >&6;}
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 ||
6280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
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
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 ||
6324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6341 { as_dir
=$dirpart/$fdir
6343 -*) as_dir
=.
/$as_dir;;
6345 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
6349 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6350 *) as_qdir
=$as_dir;;
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 ||
6359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6376 test -d "$as_dir" && break
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"
6392 { (exit 0); exit 0; }
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
6408 ac_config_status_args
=
6409 test "$silent" = yes &&
6410 ac_config_status_args
="$ac_config_status_args --quiet"
6412 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
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.
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.