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
="README"
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
667 INSTALL_STRIP_PROGRAM
719 ac_precious_vars
='build_alias
733 # Initialize some variables set by options.
735 ac_init_version
=false
736 # The variables have the same names as the options, with
737 # dashes changed to underlines.
745 program_transform_name
=s
,x
,x
,
753 # Installation directory options.
754 # These are left unexpanded so users can "make install exec_prefix=/foo"
755 # and all the variables that are supposed to be based on exec_prefix
756 # by default will actually change.
757 # Use braces instead of parens because sh, perl, etc. also accept them.
758 # (The list follows the same order as the GNU Coding Standards.)
759 bindir
='${exec_prefix}/bin'
760 sbindir
='${exec_prefix}/sbin'
761 libexecdir
='${exec_prefix}/libexec'
762 datarootdir
='${prefix}/share'
763 datadir
='${datarootdir}'
764 sysconfdir
='${prefix}/etc'
765 sharedstatedir
='${prefix}/com'
766 localstatedir
='${prefix}/var'
767 includedir
='${prefix}/include'
768 oldincludedir
='/usr/include'
769 docdir
='${datarootdir}/doc/${PACKAGE}'
770 infodir
='${datarootdir}/info'
775 libdir
='${exec_prefix}/lib'
776 localedir
='${datarootdir}/locale'
777 mandir
='${datarootdir}/man'
783 # If the previous option needs an argument, assign it.
784 if test -n "$ac_prev"; then
785 eval $ac_prev=\
$ac_option
791 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
795 # Accept the important Cygnus configure options, so we can diagnose typos.
797 case $ac_dashdash$ac_option in
801 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
803 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
806 -build |
--build |
--buil |
--bui |
--bu)
807 ac_prev
=build_alias
;;
808 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
809 build_alias
=$ac_optarg ;;
811 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
812 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
813 ac_prev
=cache_file
;;
814 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
815 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
816 cache_file
=$ac_optarg ;;
819 cache_file
=config.cache
;;
821 -datadir |
--datadir |
--datadi |
--datad)
823 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
824 datadir
=$ac_optarg ;;
826 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
827 |
--dataroo |
--dataro |
--datar)
828 ac_prev
=datarootdir
;;
829 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
830 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
831 datarootdir
=$ac_optarg ;;
833 -disable-* |
--disable-*)
834 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
835 # Reject names that are not valid shell variable names.
836 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
837 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
838 { (exit 1); exit 1; }; }
839 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
840 eval enable_
$ac_feature=no
;;
842 -docdir |
--docdir |
--docdi |
--doc |
--do)
844 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
847 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
849 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
852 -enable-* |
--enable-*)
853 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
854 # Reject names that are not valid shell variable names.
855 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
856 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
857 { (exit 1); exit 1; }; }
858 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
859 eval enable_
$ac_feature=\
$ac_optarg ;;
861 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
862 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
863 |
--exec |
--exe |
--ex)
864 ac_prev
=exec_prefix
;;
865 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
866 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
867 |
--exec=* |
--exe=* |
--ex=*)
868 exec_prefix
=$ac_optarg ;;
870 -gas |
--gas |
--ga |
--g)
871 # Obsolete; use --with-gas.
874 -help |
--help |
--hel |
--he |
-h)
876 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
877 ac_init_help
=recursive
;;
878 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
879 ac_init_help
=short
;;
881 -host |
--host |
--hos |
--ho)
882 ac_prev
=host_alias
;;
883 -host=* |
--host=* |
--hos=* |
--ho=*)
884 host_alias
=$ac_optarg ;;
886 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
888 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
890 htmldir
=$ac_optarg ;;
892 -includedir |
--includedir |
--includedi |
--included |
--include \
893 |
--includ |
--inclu |
--incl |
--inc)
894 ac_prev
=includedir
;;
895 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
896 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
897 includedir
=$ac_optarg ;;
899 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
901 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
902 infodir
=$ac_optarg ;;
904 -libdir |
--libdir |
--libdi |
--libd)
906 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
909 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
910 |
--libexe |
--libex |
--libe)
911 ac_prev
=libexecdir
;;
912 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
913 |
--libexe=* |
--libex=* |
--libe=*)
914 libexecdir
=$ac_optarg ;;
916 -localedir |
--localedir |
--localedi |
--localed |
--locale)
918 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
919 localedir
=$ac_optarg ;;
921 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
922 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
923 ac_prev
=localstatedir
;;
924 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
925 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
926 localstatedir
=$ac_optarg ;;
928 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
930 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
934 # Obsolete; use --without-fp.
937 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
938 |
--no-cr |
--no-c |
-n)
941 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
942 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
945 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
946 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
947 |
--oldin |
--oldi |
--old |
--ol |
--o)
948 ac_prev
=oldincludedir
;;
949 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
950 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
951 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
952 oldincludedir
=$ac_optarg ;;
954 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
956 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
959 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
960 |
--program-pre |
--program-pr |
--program-p)
961 ac_prev
=program_prefix
;;
962 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
963 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
964 program_prefix
=$ac_optarg ;;
966 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
967 |
--program-suf |
--program-su |
--program-s)
968 ac_prev
=program_suffix
;;
969 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
970 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
971 program_suffix
=$ac_optarg ;;
973 -program-transform-name |
--program-transform-name \
974 |
--program-transform-nam |
--program-transform-na \
975 |
--program-transform-n |
--program-transform- \
976 |
--program-transform |
--program-transfor \
977 |
--program-transfo |
--program-transf \
978 |
--program-trans |
--program-tran \
979 |
--progr-tra |
--program-tr |
--program-t)
980 ac_prev
=program_transform_name
;;
981 -program-transform-name=* |
--program-transform-name=* \
982 |
--program-transform-nam=* |
--program-transform-na=* \
983 |
--program-transform-n=* |
--program-transform-=* \
984 |
--program-transform=* |
--program-transfor=* \
985 |
--program-transfo=* |
--program-transf=* \
986 |
--program-trans=* |
--program-tran=* \
987 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
988 program_transform_name
=$ac_optarg ;;
990 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
992 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
995 -psdir |
--psdir |
--psdi |
--psd |
--ps)
997 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1000 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1001 |
-silent |
--silent |
--silen |
--sile |
--sil)
1004 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1006 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1008 sbindir
=$ac_optarg ;;
1010 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1011 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1012 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1014 ac_prev
=sharedstatedir
;;
1015 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1016 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1017 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1019 sharedstatedir
=$ac_optarg ;;
1021 -site |
--site |
--sit)
1023 -site=* |
--site=* |
--sit=*)
1026 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1028 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1029 srcdir
=$ac_optarg ;;
1031 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1032 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1033 ac_prev
=sysconfdir
;;
1034 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1035 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1036 sysconfdir
=$ac_optarg ;;
1038 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1039 ac_prev
=target_alias
;;
1040 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1041 target_alias
=$ac_optarg ;;
1043 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1046 -version |
--version |
--versio |
--versi |
--vers |
-V)
1047 ac_init_version
=: ;;
1050 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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=\
$ac_optarg ;;
1058 -without-* |
--without-*)
1059 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1062 { echo "$as_me: error: invalid package name: $ac_package" >&2
1063 { (exit 1); exit 1; }; }
1064 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1065 eval with_
$ac_package=no
;;
1068 # Obsolete; use --with-x.
1071 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1072 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1073 ac_prev
=x_includes
;;
1074 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1075 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1076 x_includes
=$ac_optarg ;;
1078 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1079 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1080 ac_prev
=x_libraries
;;
1081 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1082 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1083 x_libraries
=$ac_optarg ;;
1085 -*) { echo "$as_me: error: unrecognized option: $ac_option
1086 Try \`$0 --help' for more information." >&2
1087 { (exit 1); exit 1; }; }
1091 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1094 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1095 { (exit 1); exit 1; }; }
1096 eval $ac_envvar=\
$ac_optarg
1097 export $ac_envvar ;;
1100 # FIXME: should be removed in autoconf 3.0.
1101 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1102 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1103 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1110 if test -n "$ac_prev"; then
1111 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1112 { echo "$as_me: error: missing argument to $ac_option" >&2
1113 { (exit 1); exit 1; }; }
1116 # Be sure to have absolute directory names.
1117 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1118 datadir sysconfdir sharedstatedir localstatedir includedir \
1119 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1120 libdir localedir mandir
1122 eval ac_val
=\$
$ac_var
1124 [\\/$
]* | ?
:[\\/]* ) continue;;
1125 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1127 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1128 { (exit 1); exit 1; }; }
1131 # There might be people who depend on the old broken behavior: `$host'
1132 # used to hold the argument of --host etc.
1133 # FIXME: To remove some day.
1136 target
=$target_alias
1138 # FIXME: To remove some day.
1139 if test "x$host_alias" != x
; then
1140 if test "x$build_alias" = x
; then
1141 cross_compiling
=maybe
1142 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1143 If a cross compiler is detected then cross compile mode will be used." >&2
1144 elif test "x$build_alias" != "x$host_alias"; then
1150 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1152 test "$silent" = yes && exec 6>/dev
/null
1155 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1156 ac_ls_di
=`ls -di .` &&
1157 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1158 { echo "$as_me: error: Working directory cannot be determined" >&2
1159 { (exit 1); exit 1; }; }
1160 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1161 { echo "$as_me: error: pwd does not report name of working directory" >&2
1162 { (exit 1); exit 1; }; }
1165 # Find the source files, if location was not specified.
1166 if test -z "$srcdir"; then
1167 ac_srcdir_defaulted
=yes
1168 # Try the directory containing this script, then the parent directory.
1169 ac_confdir
=`$as_dirname -- "$0" ||
1170 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1171 X"$0" : 'X\(//\)[^/]' \| \
1172 X"$0" : 'X\(//\)$' \| \
1173 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1193 if test ! -r "$srcdir/$ac_unique_file"; then
1197 ac_srcdir_defaulted
=no
1199 if test ! -r "$srcdir/$ac_unique_file"; then
1200 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1201 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1202 { (exit 1); exit 1; }; }
1204 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1206 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1207 { (exit 1); exit 1; }; }
1209 # When building in place, set srcdir=.
1210 if test "$ac_abs_confdir" = "$ac_pwd"; then
1213 # Remove unnecessary trailing slashes from srcdir.
1214 # Double slashes in file names in object file debugging info
1215 # mess up M-x gdb in Emacs.
1217 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1219 for ac_var
in $ac_precious_vars; do
1220 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1221 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1222 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1223 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1227 # Report the --help message.
1229 if test "$ac_init_help" = "long"; then
1230 # Omit some internal or obsolete options to make the list less imposing.
1231 # This message is too long to be a string in the A/UX 3.1 sh.
1233 \`configure' configures this package to adapt to many kinds of systems.
1235 Usage: $0 [OPTION]... [VAR=VALUE]...
1237 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1238 VAR=VALUE. See below for descriptions of some of the useful variables.
1240 Defaults for the options are specified in brackets.
1243 -h, --help display this help and exit
1244 --help=short display options specific to this package
1245 --help=recursive display the short help of all the included packages
1246 -V, --version display version information and exit
1247 -q, --quiet, --silent do not print \`checking...' messages
1248 --cache-file=FILE cache test results in FILE [disabled]
1249 -C, --config-cache alias for \`--cache-file=config.cache'
1250 -n, --no-create do not create output files
1251 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1253 Installation directories:
1254 --prefix=PREFIX install architecture-independent files in PREFIX
1255 [$ac_default_prefix]
1256 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1259 By default, \`make install' will install all the files in
1260 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1261 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1262 for instance \`--prefix=\$HOME'.
1264 For better control, use the options below.
1266 Fine tuning of the installation directories:
1267 --bindir=DIR user executables [EPREFIX/bin]
1268 --sbindir=DIR system admin executables [EPREFIX/sbin]
1269 --libexecdir=DIR program executables [EPREFIX/libexec]
1270 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1271 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1272 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1273 --libdir=DIR object code libraries [EPREFIX/lib]
1274 --includedir=DIR C header files [PREFIX/include]
1275 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1276 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1277 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1278 --infodir=DIR info documentation [DATAROOTDIR/info]
1279 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1280 --mandir=DIR man documentation [DATAROOTDIR/man]
1281 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1282 --htmldir=DIR html documentation [DOCDIR]
1283 --dvidir=DIR dvi documentation [DOCDIR]
1284 --pdfdir=DIR pdf documentation [DOCDIR]
1285 --psdir=DIR ps documentation [DOCDIR]
1291 --program-prefix=PREFIX prepend PREFIX to installed program names
1292 --program-suffix=SUFFIX append SUFFIX to installed program names
1293 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1297 if test -n "$ac_init_help"; then
1302 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1303 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1304 --disable-dependency-tracking speeds up one-time build
1305 --enable-dependency-tracking do not reject slow dependency extractors
1306 --disable-multitouch build without PyTUIO multi-touch support
1308 Some influential environment variables
:
1309 CC C compiler
command
1310 CFLAGS C compiler flags
1311 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1312 nonstandard directory
<lib dir
>
1313 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1314 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1315 you have headers
in a nonstandard directory
<include dir
>
1316 CXX C
++ compiler
command
1317 CXXFLAGS C
++ compiler flags
1320 Use these variables to override the choices made by
`configure' or to help
1321 it to find libraries and programs with nonstandard names/locations.
1327 if test "$ac_init_help" = "recursive"; then
1328 # If there are subdirs, report their specific --help.
1329 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1330 test -d "$ac_dir" || continue
1334 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1336 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1337 # A ".." for each directory in $ac_dir_suffix.
1338 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1339 case $ac_top_builddir_sub in
1340 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1344 ac_abs_top_builddir=$ac_pwd
1345 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1346 # for backward compatibility:
1347 ac_top_builddir=$ac_top_build_prefix
1350 .) # We are building in place.
1352 ac_top_srcdir=$ac_top_builddir_sub
1353 ac_abs_top_srcdir=$ac_pwd ;;
1354 [\\/]* | ?:[\\/]* ) # Absolute name.
1355 ac_srcdir=$srcdir$ac_dir_suffix;
1356 ac_top_srcdir=$srcdir
1357 ac_abs_top_srcdir=$srcdir ;;
1359 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1360 ac_top_srcdir=$ac_top_build_prefix$srcdir
1361 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1363 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1365 cd "$ac_dir" || { ac_status=$?; continue; }
1366 # Check for guested configure.
1367 if test -f "$ac_srcdir/configure.gnu"; then
1369 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1370 elif test -f "$ac_srcdir/configure"; then
1372 $SHELL "$ac_srcdir/configure" --help=recursive
1374 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1376 cd "$ac_pwd" || { ac_status=$?; break; }
1380 test -n "$ac_init_help" && exit $ac_status
1381 if $ac_init_version; then
1384 generated by GNU Autoconf 2.61
1386 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1387 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1388 This configure script is free software; the Free Software Foundation
1389 gives unlimited permission to copy, distribute and modify it.
1393 cat >config.log <<_ACEOF
1394 This file contains any messages produced by compilers while
1395 running configure, to aid debugging if configure makes a mistake.
1397 It was created by $as_me, which was
1398 generated by GNU Autoconf 2.61. Invocation command line was
1410 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1411 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1412 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1413 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1414 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1416 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1417 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1419 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1420 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1421 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1422 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1423 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1424 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1425 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1433 test -z "$as_dir" && as_dir=.
1434 echo "PATH: $as_dir"
1450 # Keep a trace of the command line.
1451 # Strip out --no-create and --no-recursion so they do not pile up.
1452 # Strip out --silent because we don't want to record it for future runs.
1453 # Also quote any args containing shell meta-characters.
1454 # Make two passes to allow for proper duplicate-argument suppression.
1458 ac_must_keep_next=false
1464 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1465 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1466 | -silent | --silent | --silen | --sile | --sil)
1469 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1472 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1474 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1475 if test $ac_must_keep_next = true; then
1476 ac_must_keep_next=false # Got value, back to normal.
1479 *=* | --config-cache | -C | -disable-* | --disable-* \
1480 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1481 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1482 | -with-* | --with-* | -without-* | --without-* | --x)
1483 case "$ac_configure_args0 " in
1484 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1487 -* ) ac_must_keep_next=true ;;
1490 ac_configure_args="$ac_configure_args '$ac_arg'"
1495 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1496 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1498 # When interrupted or exit'd, cleanup temporary files, and complete
1499 # config.log. We remove comments because anyway the quotes in there
1500 # would cause problems or look ugly.
1501 # WARNING: Use '\'' to represent an apostrophe within the trap.
1502 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1503 trap 'exit_status=$?
1504 # Save into config.log some information that might help in debugging.
1509 ## ---------------- ##
1510 ## Cache variables. ##
1511 ## ---------------- ##
1514 # The following way of writing the cache mishandles newlines in values,
1516 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1517 eval ac_val=\$$ac_var
1521 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1522 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1525 _ | IFS | as_nl) ;; #(
1526 *) $as_unset $ac_var ;;
1531 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1532 *${as_nl}ac_space=\ *)
1534 "s/'\''/'\''\\\\'\'''\''/g;
1535 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1538 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1546 ## ----------------- ##
1547 ## Output variables. ##
1548 ## ----------------- ##
1551 for ac_var in $ac_subst_vars
1553 eval ac_val=\$$ac_var
1555 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1557 echo "$ac_var='\''$ac_val'\''"
1561 if test -n "$ac_subst_files"; then
1563 ## ------------------- ##
1564 ## File substitutions. ##
1565 ## ------------------- ##
1568 for ac_var in $ac_subst_files
1570 eval ac_val=\$$ac_var
1572 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1574 echo "$ac_var='\''$ac_val'\''"
1579 if test -s confdefs.h; then
1589 test "$ac_signal" != 0 &&
1590 echo "$as_me: caught signal $ac_signal"
1591 echo "$as_me: exit $exit_status"
1593 rm -f core *.core core.conftest.* &&
1594 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1597 for ac_signal in 1 2 13 15; do
1598 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1602 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1603 rm -f -r conftest* confdefs.h
1605 # Predefined preprocessor variables.
1607 cat >>confdefs.h <<_ACEOF
1608 #define PACKAGE_NAME "$PACKAGE_NAME"
1612 cat >>confdefs.h <<_ACEOF
1613 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1617 cat >>confdefs.h <<_ACEOF
1618 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1622 cat >>confdefs.h <<_ACEOF
1623 #define PACKAGE_STRING "$PACKAGE_STRING"
1627 cat >>confdefs.h <<_ACEOF
1628 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1632 # Let the site file select an alternate cache file if it wants to.
1633 # Prefer explicitly selected file to automatically selected ones.
1634 if test -n "$CONFIG_SITE"; then
1635 set x "$CONFIG_SITE"
1636 elif test "x$prefix" != xNONE; then
1637 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1639 set x "$ac_default_prefix/share/config.site" \
1640 "$ac_default_prefix/etc/config.site"
1645 if test -r "$ac_site_file"; then
1646 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1647 echo "$as_me: loading site script $ac_site_file" >&6;}
1648 sed 's/^/| /' "$ac_site_file" >&5
1653 if test -r "$cache_file"; then
1654 # Some versions of bash will fail to source /dev/null (special
1655 # files actually), so we avoid doing that.
1656 if test -f "$cache_file"; then
1657 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1658 echo "$as_me: loading cache $cache_file" >&6;}
1660 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1661 *) . "./$cache_file";;
1665 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1666 echo "$as_me: creating cache $cache_file" >&6;}
1670 # Check that the precious variables saved in the cache have kept the same
1672 ac_cache_corrupted=false
1673 for ac_var in $ac_precious_vars; do
1674 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1675 eval ac_new_set=\$ac_env_${ac_var}_set
1676 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1677 eval ac_new_val=\$ac_env_${ac_var}_value
1678 case $ac_old_set,$ac_new_set in
1680 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1681 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1682 ac_cache_corrupted=: ;;
1684 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1685 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1686 ac_cache_corrupted=: ;;
1689 if test "x$ac_old_val" != "x$ac_new_val"; then
1690 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1691 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1692 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1693 echo "$as_me: former value
: $ac_old_val" >&2;}
1694 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1695 echo "$as_me: current value
: $ac_new_val" >&2;}
1696 ac_cache_corrupted=:
1699 # Pass precious variables to config.status.
1700 if test "$ac_new_set" = set; then
1702 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1703 *) ac_arg=$ac_var=$ac_new_val ;;
1705 case " $ac_configure_args " in
1706 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1707 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1711 if $ac_cache_corrupted; then
1712 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1713 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1714 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1715 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1716 { (exit 1); exit 1; }; }
1736 ac_cpp='$CPP $CPPFLAGS'
1737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1743 am__api_version='1.10'
1746 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1747 if test -f "$ac_dir/install-sh"; then
1749 ac_install_sh="$ac_aux_dir/install-sh -c"
1751 elif test -f "$ac_dir/install.sh"; then
1753 ac_install_sh="$ac_aux_dir/install.sh -c"
1755 elif test -f "$ac_dir/shtool"; then
1757 ac_install_sh="$ac_aux_dir/shtool install -c"
1761 if test -z "$ac_aux_dir"; then
1762 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1763 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1764 { (exit 1); exit 1; }; }
1767 # These three variables are undocumented and unsupported,
1768 # and are intended to be withdrawn in a future Autoconf release.
1769 # They can cause serious problems if a builder's source tree is in a directory
1770 # whose full name contains unusual characters.
1771 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1772 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1773 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1776 # Find a good install program. We prefer a C program (faster),
1777 # so one script is as good as another. But avoid the broken or
1778 # incompatible versions:
1779 # SysV /etc/install, /usr/sbin/install
1780 # SunOS /usr/etc/install
1781 # IRIX /sbin/install
1783 # AmigaOS /C/install, which installs bootblocks on floppy discs
1784 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1785 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1786 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1787 # OS/2's system install, which has a completely different semantic
1788 # ./install, which can be erroneously created by make from ./install.sh.
1789 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1790 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1791 if test -z "$INSTALL"; then
1792 if test "${ac_cv_path_install+set}" = set; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1799 test -z "$as_dir" && as_dir=.
1800 # Account for people who put trailing slashes in PATH elements.
1802 ./ | .// | /cC/* | \
1803 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1804 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1807 # OSF1 and SCO ODT 3.0 have their own names for install.
1808 # Don't use installbsd from OSF since it installs stuff as root
1810 for ac_prog in ginstall scoinst install; do
1811 for ac_exec_ext in '' $ac_executable_extensions; do
1812 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1813 if test $ac_prog = install &&
1814 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1815 # AIX install. It has an incompatible calling convention.
1817 elif test $ac_prog = install &&
1818 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1819 # program-specific install script used by HP pwplus--don't use.
1822 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1835 if test "${ac_cv_path_install+set}" = set; then
1836 INSTALL=$ac_cv_path_install
1838 # As a last resort, use the slow shell script. Don't cache a
1839 # value for INSTALL within a source directory, because that will
1840 # break other packages using the cache if that directory is
1841 # removed, or if the value is a relative name.
1842 INSTALL=$ac_install_sh
1845 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1846 echo "${ECHO_T}$INSTALL" >&6; }
1848 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1849 # It thinks the first close brace ends the variable substitution.
1850 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1852 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1854 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1856 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1857 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1860 echo timestamp > conftest.file
1861 # Do `set' in a subshell so we don't clobber the current shell
's
1862 # arguments. Must try -L first in case configure is actually a
1863 # symlink; some systems play weird games with the mod time of symlinks
1864 # (eg FreeBSD returns the mod time of the symlink's containing
1867 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1868 if test "$*" = "X"; then
1870 set X
`ls -t $srcdir/configure conftest.file`
1873 if test "$*" != "X $srcdir/configure conftest.file" \
1874 && test "$*" != "X conftest.file $srcdir/configure"; then
1876 # If neither matched, then we have a broken ls. This can happen
1877 # if, for instance, CONFIG_SHELL is bash and it inherits a
1878 # broken ls alias from the environment. This has actually
1879 # happened. Such a system could not be considered "sane".
1880 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1881 alias in your environment" >&5
1882 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1883 alias in your environment" >&2;}
1884 { (exit 1); exit 1; }; }
1887 test "$2" = conftest.
file
1893 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1894 Check your system clock" >&5
1895 echo "$as_me: error: newly created file is older than distributed files!
1896 Check your system clock" >&2;}
1897 { (exit 1); exit 1; }; }
1899 { echo "$as_me:$LINENO: result: yes" >&5
1900 echo "${ECHO_T}yes" >&6; }
1901 test "$program_prefix" != NONE
&&
1902 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1903 # Use a double $ so make ignores it.
1904 test "$program_suffix" != NONE
&&
1905 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1906 # Double any \ or $. echo might interpret backslashes.
1907 # By default was `s,x,x', remove it if useless.
1908 cat <<\_ACEOF
>conftest.
sed
1909 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1911 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1914 # expand $ac_aux_dir to an absolute path
1915 am_aux_dir
=`cd $ac_aux_dir && pwd`
1917 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1918 # Use eval to expand $SHELL
1919 if eval "$MISSING --run true"; then
1920 am_missing_run
="$MISSING --run "
1923 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1924 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1927 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1928 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1929 if test -z "$MKDIR_P"; then
1930 if test "${ac_cv_path_mkdir+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1934 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
1937 test -z "$as_dir" && as_dir
=.
1938 for ac_prog
in mkdir gmkdir
; do
1939 for ac_exec_ext
in '' $ac_executable_extensions; do
1940 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
1941 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1942 'mkdir (GNU coreutils) '* | \
1943 'mkdir (coreutils) '* | \
1944 'mkdir (fileutils) '4.1*)
1945 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
1955 if test "${ac_cv_path_mkdir+set}" = set; then
1956 MKDIR_P
="$ac_cv_path_mkdir -p"
1958 # As a last resort, use the slow shell script. Don't cache a
1959 # value for MKDIR_P within a source directory, because that will
1960 # break other packages using the cache if that directory is
1961 # removed, or if the value is a relative name.
1962 test -d .
/--version && rmdir .
/--version
1963 MKDIR_P
="$ac_install_sh -d"
1966 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1967 echo "${ECHO_T}$MKDIR_P" >&6; }
1971 [\\/$
]* | ?
:[\\/]*) ;;
1972 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
1975 for ac_prog
in gawk mawk nawk
awk
1977 # Extract the first word of "$ac_prog", so it can be a program name with args.
1978 set dummy
$ac_prog; ac_word
=$2
1979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1981 if test "${ac_cv_prog_AWK+set}" = set; then
1982 echo $ECHO_N "(cached) $ECHO_C" >&6
1984 if test -n "$AWK"; then
1985 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1991 test -z "$as_dir" && as_dir
=.
1992 for ac_exec_ext
in '' $ac_executable_extensions; do
1993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1994 ac_cv_prog_AWK
="$ac_prog"
1995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2005 if test -n "$AWK"; then
2006 { echo "$as_me:$LINENO: result: $AWK" >&5
2007 echo "${ECHO_T}$AWK" >&6; }
2009 { echo "$as_me:$LINENO: result: no" >&5
2010 echo "${ECHO_T}no" >&6; }
2014 test -n "$AWK" && break
2017 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2018 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2019 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2020 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2021 echo $ECHO_N "(cached) $ECHO_C" >&6
2023 cat >conftest.
make <<\_ACEOF
2026 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2028 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2029 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2031 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2033 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2037 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2038 { echo "$as_me:$LINENO: result: yes" >&5
2039 echo "${ECHO_T}yes" >&6; }
2042 { echo "$as_me:$LINENO: result: no" >&5
2043 echo "${ECHO_T}no" >&6; }
2044 SET_MAKE
="MAKE=${MAKE-make}"
2047 rm -rf .tst
2>/dev
/null
2048 mkdir .tst
2>/dev
/null
2049 if test -d .tst
; then
2054 rmdir .tst
2>/dev
/null
2056 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2057 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2058 # is not polluted with repeated "-I."
2059 am__isrc
=' -I$(srcdir)'
2060 # test to see if srcdir already configured
2061 if test -f $srcdir/config.status
; then
2062 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2063 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2064 { (exit 1); exit 1; }; }
2068 # test whether we have cygpath
2069 if test -z "$CYGPATH_W"; then
2070 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2071 CYGPATH_W
='cygpath -w'
2078 # Define the identity of the package.
2079 PACKAGE
=numptyphysics
2083 cat >>confdefs.h
<<_ACEOF
2084 #define PACKAGE "$PACKAGE"
2088 cat >>confdefs.h
<<_ACEOF
2089 #define VERSION "$VERSION"
2092 # Some tools Automake needs.
2094 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2097 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2100 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2103 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2106 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2108 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2110 # Installed binaries are usually stripped using `strip' when the user
2111 # run `make install-strip'. However `strip' might not be the right
2112 # tool to use in cross-compilation environments, therefore Automake
2113 # will honor the `STRIP' environment variable to overrule this program.
2114 if test "$cross_compiling" != no
; then
2115 if test -n "$ac_tool_prefix"; then
2116 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2117 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2120 if test "${ac_cv_prog_STRIP+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 if test -n "$STRIP"; then
2124 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2130 test -z "$as_dir" && as_dir
=.
2131 for ac_exec_ext
in '' $ac_executable_extensions; do
2132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2133 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2143 STRIP
=$ac_cv_prog_STRIP
2144 if test -n "$STRIP"; then
2145 { echo "$as_me:$LINENO: result: $STRIP" >&5
2146 echo "${ECHO_T}$STRIP" >&6; }
2148 { echo "$as_me:$LINENO: result: no" >&5
2149 echo "${ECHO_T}no" >&6; }
2154 if test -z "$ac_cv_prog_STRIP"; then
2156 # Extract the first word of "strip", so it can be a program name with args.
2157 set dummy strip
; ac_word
=$2
2158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2160 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 if test -n "$ac_ct_STRIP"; then
2164 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2170 test -z "$as_dir" && as_dir
=.
2171 for ac_exec_ext
in '' $ac_executable_extensions; do
2172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2173 ac_cv_prog_ac_ct_STRIP
="strip"
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2184 if test -n "$ac_ct_STRIP"; then
2185 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2186 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2188 { echo "$as_me:$LINENO: result: no" >&5
2189 echo "${ECHO_T}no" >&6; }
2192 if test "x$ac_ct_STRIP" = x
; then
2195 case $cross_compiling:$ac_tool_warned in
2197 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2198 whose name does not start with the host triplet. If you think this
2199 configuration is useful to you, please write to autoconf@gnu.org." >&5
2200 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2201 whose name does not start with the host triplet. If you think this
2202 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2203 ac_tool_warned
=yes ;;
2208 STRIP
="$ac_cv_prog_STRIP"
2212 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2214 # We need awk for the "check" target. The system "awk" is bad on
2216 # Always define AMTAR for backward compatibility.
2218 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2220 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2226 #AM_CONFIG_HEADER(amconfig.h)
2229 ac_cpp
='$CPP $CPPFLAGS'
2230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2233 if test -n "$ac_tool_prefix"; then
2234 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2235 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2238 if test "${ac_cv_prog_CC+set}" = set; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2241 if test -n "$CC"; then
2242 ac_cv_prog_CC
="$CC" # Let the user override the test.
2244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2248 test -z "$as_dir" && as_dir
=.
2249 for ac_exec_ext
in '' $ac_executable_extensions; do
2250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2251 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 if test -n "$CC"; then
2263 { echo "$as_me:$LINENO: result: $CC" >&5
2264 echo "${ECHO_T}$CC" >&6; }
2266 { echo "$as_me:$LINENO: result: no" >&5
2267 echo "${ECHO_T}no" >&6; }
2272 if test -z "$ac_cv_prog_CC"; then
2274 # Extract the first word of "gcc", so it can be a program name with args.
2275 set dummy gcc
; ac_word
=$2
2276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2278 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 if test -n "$ac_ct_CC"; then
2282 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2288 test -z "$as_dir" && as_dir
=.
2289 for ac_exec_ext
in '' $ac_executable_extensions; do
2290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291 ac_cv_prog_ac_ct_CC
="gcc"
2292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2301 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2302 if test -n "$ac_ct_CC"; then
2303 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2304 echo "${ECHO_T}$ac_ct_CC" >&6; }
2306 { echo "$as_me:$LINENO: result: no" >&5
2307 echo "${ECHO_T}no" >&6; }
2310 if test "x$ac_ct_CC" = x
; then
2313 case $cross_compiling:$ac_tool_warned in
2315 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2316 whose name does not start with the host triplet. If you think this
2317 configuration is useful to you, please write to autoconf@gnu.org." >&5
2318 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2319 whose name does not start with the host triplet. If you think this
2320 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2321 ac_tool_warned
=yes ;;
2329 if test -z "$CC"; then
2330 if test -n "$ac_tool_prefix"; then
2331 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2332 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2335 if test "${ac_cv_prog_CC+set}" = set; then
2336 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 if test -n "$CC"; then
2339 ac_cv_prog_CC
="$CC" # Let the user override the test.
2341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2345 test -z "$as_dir" && as_dir
=.
2346 for ac_exec_ext
in '' $ac_executable_extensions; do
2347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2348 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 if test -n "$CC"; then
2360 { echo "$as_me:$LINENO: result: $CC" >&5
2361 echo "${ECHO_T}$CC" >&6; }
2363 { echo "$as_me:$LINENO: result: no" >&5
2364 echo "${ECHO_T}no" >&6; }
2370 if test -z "$CC"; then
2371 # Extract the first word of "cc", so it can be a program name with args.
2372 set dummy cc
; ac_word
=$2
2373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2375 if test "${ac_cv_prog_CC+set}" = set; then
2376 echo $ECHO_N "(cached) $ECHO_C" >&6
2378 if test -n "$CC"; then
2379 ac_cv_prog_CC
="$CC" # Let the user override the test.
2382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir
=.
2387 for ac_exec_ext
in '' $ac_executable_extensions; do
2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2390 ac_prog_rejected
=yes
2394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2401 if test $ac_prog_rejected = yes; then
2402 # We found a bogon in the path, so make sure we never use it.
2403 set dummy
$ac_cv_prog_CC
2405 if test $# != 0; then
2406 # We chose a different compiler from the bogus one.
2407 # However, it has the same basename, so the bogon will be chosen
2408 # first if we set CC to just the basename; use the full file name.
2410 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2416 if test -n "$CC"; then
2417 { echo "$as_me:$LINENO: result: $CC" >&5
2418 echo "${ECHO_T}$CC" >&6; }
2420 { echo "$as_me:$LINENO: result: no" >&5
2421 echo "${ECHO_T}no" >&6; }
2426 if test -z "$CC"; then
2427 if test -n "$ac_tool_prefix"; then
2428 for ac_prog
in cl.exe
2430 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2431 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2434 if test "${ac_cv_prog_CC+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2437 if test -n "$CC"; then
2438 ac_cv_prog_CC
="$CC" # Let the user override the test.
2440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2444 test -z "$as_dir" && as_dir
=.
2445 for ac_exec_ext
in '' $ac_executable_extensions; do
2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2447 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2458 if test -n "$CC"; then
2459 { echo "$as_me:$LINENO: result: $CC" >&5
2460 echo "${ECHO_T}$CC" >&6; }
2462 { echo "$as_me:$LINENO: result: no" >&5
2463 echo "${ECHO_T}no" >&6; }
2467 test -n "$CC" && break
2470 if test -z "$CC"; then
2472 for ac_prog
in cl.exe
2474 # Extract the first word of "$ac_prog", so it can be a program name with args.
2475 set dummy
$ac_prog; ac_word
=$2
2476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 if test -n "$ac_ct_CC"; then
2482 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2488 test -z "$as_dir" && as_dir
=.
2489 for ac_exec_ext
in '' $ac_executable_extensions; do
2490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2491 ac_cv_prog_ac_ct_CC
="$ac_prog"
2492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2502 if test -n "$ac_ct_CC"; then
2503 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2504 echo "${ECHO_T}$ac_ct_CC" >&6; }
2506 { echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6; }
2511 test -n "$ac_ct_CC" && break
2514 if test "x$ac_ct_CC" = x
; then
2517 case $cross_compiling:$ac_tool_warned in
2519 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2520 whose name does not start with the host triplet. If you think this
2521 configuration is useful to you, please write to autoconf@gnu.org." >&5
2522 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2523 whose name does not start with the host triplet. If you think this
2524 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2525 ac_tool_warned
=yes ;;
2534 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: no acceptable C compiler found in \$PATH
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2540 # Provide some information about the compiler.
2541 echo "$as_me:$LINENO: checking for C compiler version" >&5
2542 ac_compiler
=`set X $ac_compile; echo $2`
2543 { (ac_try
="$ac_compiler --version >&5"
2545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2546 *) ac_try_echo=$ac_try;;
2548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2549 (eval "$ac_compiler --version >&5") 2>&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); }
2553 { (ac_try="$ac_compiler -v >&5"
2555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2556 *) ac_try_echo
=$ac_try;;
2558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2559 (eval "$ac_compiler -v >&5") 2>&5
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }
2563 { (ac_try
="$ac_compiler -V >&5"
2565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;;
2568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2569 (eval "$ac_compiler -V >&5") 2>&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }
2574 cat >conftest.$ac_ext <<_ACEOF
2577 cat confdefs.h >>conftest.$ac_ext
2578 cat >>conftest.$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2589 ac_clean_files_save=$ac_clean_files
2590 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2591 # Try to create an executable without -o first, disregard a.out.
2592 # It will help us diagnose broken compilers, and finding out an intuition
2594 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2595 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2596 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2598 # List of possible output files, starting from the most likely.
2599 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2600 # only as a last resort. b.out is created by i960 compilers.
2601 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2603 # The IRIX 6 linker writes into existing files which may not be
2604 # executable, retaining their permissions. Remove them first so a
2605 # subsequent execution test works.
2607 for ac_file in $ac_files
2610 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2611 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2616 if { (ac_try="$ac_link_default"
2618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2622 (eval "$ac_link_default") 2>&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); }; then
2626 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2627 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2628 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2629 # so that the user can short-circuit this test for compilers unknown to
2631 for ac_file
in $ac_files ''
2633 test -f "$ac_file" ||
continue
2635 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2638 # We found the default executable, but exeext='' is most
2642 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2644 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2646 # We set ac_cv_exeext here because the later test for it is not
2647 # safe: cross compilers may not add the suffix if given an `-o'
2648 # argument, so we may need to know it at that point already.
2649 # Even if this section looks crufty: it has the advantage of
2656 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2662 { echo "$as_me:$LINENO: result: $ac_file" >&5
2663 echo "${ECHO_T}$ac_file" >&6; }
2664 if test -z "$ac_file"; then
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.
$ac_ext >&5
2668 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2669 See \`config.log' for more details." >&5
2670 echo "$as_me: error: C compiler cannot create executables
2671 See \`config.log' for more details." >&2;}
2672 { (exit 77); exit 77; }; }
2675 ac_exeext
=$ac_cv_exeext
2677 # Check that the compiler produces executables we can run. If not, either
2678 # the compiler is broken, or we cross compile.
2679 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2680 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2681 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2682 # If not cross compiling, check that we can run a simple program.
2683 if test "$cross_compiling" != yes; then
2684 if { ac_try
='./$ac_file'
2685 { (case "(($ac_try" in
2686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2690 (eval "$ac_try") 2>&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; }; then
2696 if test "$cross_compiling" = maybe; then
2699 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2700 If you meant to cross compile, use \`--host'.
2701 See \`config.log' for more details.
" >&5
2702 echo "$as_me: error
: cannot run C compiled programs.
2703 If you meant to cross compile
, use \
`--host'.
2704 See \`config.log
' for more details." >&2;}
2705 { (exit 1); exit 1; }; }
2709 { echo "$as_me:$LINENO: result: yes" >&5
2710 echo "${ECHO_T}yes" >&6; }
2712 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2713 ac_clean_files=$ac_clean_files_save
2714 # Check that the compiler produces executables we can run. If not, either
2715 # the compiler is broken, or we cross compile.
2716 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2717 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2718 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2719 echo "${ECHO_T}$cross_compiling" >&6; }
2721 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2722 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2723 if { (ac_try="$ac_link"
2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2729 (eval "$ac_link") 2>&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; then
2733 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2734 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2735 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2737 for ac_file
in conftest.exe conftest conftest.
*; do
2738 test -f "$ac_file" ||
continue
2740 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2741 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2747 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2748 See \`config.log' for more details." >&5
2749 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2750 See \`config.log' for more details." >&2;}
2751 { (exit 1); exit 1; }; }
2754 rm -f conftest
$ac_cv_exeext
2755 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2756 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2758 rm -f conftest.
$ac_ext
2759 EXEEXT
=$ac_cv_exeext
2761 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2762 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2763 if test "${ac_cv_objext+set}" = set; then
2764 echo $ECHO_N "(cached) $ECHO_C" >&6
2766 cat >conftest.
$ac_ext <<_ACEOF
2769 cat confdefs.h
>>conftest.
$ac_ext
2770 cat >>conftest.
$ac_ext <<_ACEOF
2771 /* end confdefs.h. */
2781 rm -f conftest.o conftest.obj
2782 if { (ac_try
="$ac_compile"
2784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2785 *) ac_try_echo=$ac_try;;
2787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2788 (eval "$ac_compile") 2>&5
2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); }; then
2792 for ac_file in conftest.o conftest.obj conftest.*; do
2793 test -f "$ac_file" || continue;
2795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2796 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2801 echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2804 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2805 See \`config.log
' for more details." >&5
2806 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2807 See \`config.log' for more details.
" >&2;}
2808 { (exit 1); exit 1; }; }
2811 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2813 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2814 echo "${ECHO_T}$ac_cv_objext" >&6; }
2815 OBJEXT=$ac_cv_objext
2817 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2818 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2819 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2820 echo $ECHO_N "(cached
) $ECHO_C" >&6
2822 cat >conftest.$ac_ext <<_ACEOF
2825 cat confdefs.h >>conftest.$ac_ext
2826 cat >>conftest.$ac_ext <<_ACEOF
2827 /* end confdefs.h. */
2840 rm -f conftest.$ac_objext
2841 if { (ac_try="$ac_compile"
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2847 (eval "$ac_compile") 2>conftest.er1
2849 grep -v '^ *+' conftest.er1 >conftest.err
2851 cat conftest.err >&5
2852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2853 (exit $ac_status); } && {
2854 test -z "$ac_c_werror_flag" ||
2855 test ! -s conftest.err
2856 } && test -s conftest.$ac_objext; then
2859 echo "$as_me: failed program was
:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2869 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2870 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2871 GCC=`test $ac_compiler_gnu = yes && echo yes`
2872 ac_test_CFLAGS=${CFLAGS+set}
2873 ac_save_CFLAGS=$CFLAGS
2874 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2875 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2876 if test "${ac_cv_prog_cc_g+set}" = set; then
2877 echo $ECHO_N "(cached
) $ECHO_C" >&6
2879 ac_save_c_werror_flag=$ac_c_werror_flag
2880 ac_c_werror_flag=yes
2883 cat >conftest.$ac_ext <<_ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2898 rm -f conftest.$ac_objext
2899 if { (ac_try="$ac_compile"
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compile") 2>conftest.er1
2907 grep -v '^ *+' conftest.er1 >conftest.err
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2911 (exit $ac_status); } && {
2912 test -z "$ac_c_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest.$ac_objext; then
2917 echo "$as_me: failed program was
:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2921 cat >conftest.$ac_ext <<_ACEOF
2924 cat confdefs.h >>conftest.$ac_ext
2925 cat >>conftest.$ac_ext <<_ACEOF
2926 /* end confdefs.h. */
2936 rm -f conftest.$ac_objext
2937 if { (ac_try="$ac_compile"
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2942 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2943 (eval "$ac_compile") 2>conftest.er1
2945 grep -v '^ *+' conftest.er1 >conftest.err
2947 cat conftest.err >&5
2948 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2949 (exit $ac_status); } && {
2950 test -z "$ac_c_werror_flag" ||
2951 test ! -s conftest.err
2952 } && test -s conftest.$ac_objext; then
2955 echo "$as_me: failed program was
:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2958 ac_c_werror_flag=$ac_save_c_werror_flag
2960 cat >conftest.$ac_ext <<_ACEOF
2963 cat confdefs.h >>conftest.$ac_ext
2964 cat >>conftest.$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2975 rm -f conftest.$ac_objext
2976 if { (ac_try="$ac_compile"
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2981 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2982 (eval "$ac_compile") 2>conftest.er1
2984 grep -v '^ *+' conftest.er1 >conftest.err
2986 cat conftest.err >&5
2987 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2988 (exit $ac_status); } && {
2989 test -z "$ac_c_werror_flag" ||
2990 test ! -s conftest.err
2991 } && test -s conftest.$ac_objext; then
2994 echo "$as_me: failed program was
:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3007 ac_c_werror_flag=$ac_save_c_werror_flag
3009 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3010 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3011 if test "$ac_test_CFLAGS" = set; then
3012 CFLAGS=$ac_save_CFLAGS
3013 elif test $ac_cv_prog_cc_g = yes; then
3014 if test "$GCC" = yes; then
3020 if test "$GCC" = yes; then
3026 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3027 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3028 if test "${ac_cv_prog_cc_c89+set}" = set; then
3029 echo $ECHO_N "(cached
) $ECHO_C" >&6
3031 ac_cv_prog_cc_c89=no
3033 cat >conftest.$ac_ext <<_ACEOF
3036 cat confdefs.h >>conftest.$ac_ext
3037 cat >>conftest.$ac_ext <<_ACEOF
3038 /* end confdefs.h. */
3041 #include <sys/types.h>
3042 #include <sys/stat.h>
3043 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3044 struct buf { int x; };
3045 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3046 static char *e (p, i)
3052 static char *f (char * (*g) (char **, int), char **p, ...)
3057 s = g (p, va_arg (v,int));
3062 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3063 function prototypes and stuff, but not '\xHH' hex character constants.
3064 These don't provoke an error unfortunately, instead are silently treated
3065 as 'x'. The following induces an error, until -std is added to get
3066 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3067 array size at least. It's necessary to write '\x00'==0 to get something
3068 that's true only with -std. */
3069 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3071 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3072 inside strings and character constants. */
3074 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3076 int test (int i, double x);
3077 struct s1 {int (*f) (int a);};
3078 struct s2 {int (*f) (double a);};
3079 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3085 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3090 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3091 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3093 CC="$ac_save_CC $ac_arg"
3094 rm -f conftest.$ac_objext
3095 if { (ac_try="$ac_compile"
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3100 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3101 (eval "$ac_compile") 2>conftest.er1
3103 grep -v '^ *+' conftest.er1 >conftest.err
3105 cat conftest.err >&5
3106 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3107 (exit $ac_status); } && {
3108 test -z "$ac_c_werror_flag" ||
3109 test ! -s conftest.err
3110 } && test -s conftest.$ac_objext; then
3111 ac_cv_prog_cc_c89=$ac_arg
3113 echo "$as_me: failed program was
:" >&5
3114 sed 's/^/| /' conftest.$ac_ext >&5
3119 rm -f core conftest.err conftest.$ac_objext
3120 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3122 rm -f conftest.$ac_ext
3127 case "x
$ac_cv_prog_cc_c89" in
3129 { echo "$as_me:$LINENO: result
: none needed
" >&5
3130 echo "${ECHO_T}none needed
" >&6; } ;;
3132 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3133 echo "${ECHO_T}unsupported
" >&6; } ;;
3135 CC="$CC $ac_cv_prog_cc_c89"
3136 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3137 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3142 ac_cpp='$CPP $CPPFLAGS'
3143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3146 DEPDIR="${am__leading_dot}deps
"
3148 ac_config_commands="$ac_config_commands depfiles
"
3151 am_make=${MAKE-make}
3152 cat > confinc << 'END'
3157 # If we don't find an include directive, just comment out the code.
3158 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3159 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3163 # First try GNU make style include.
3164 echo "include confinc" > confmf
3165 # We grep out `Entering directory' and `Leaving directory'
3166 # messages which can occur if `w' ends up in MAKEFLAGS.
3167 # In particular we don't look at `^make:' because GNU make might
3168 # be invoked under some other name (usually "gmake"), in which
3169 # case it prints its new name instead of `make'.
3170 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3175 # Now try BSD make style include.
3176 if test "$am__include" = "#"; then
3177 echo '.include "confinc"' > confmf
3178 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3179 am__include
=.include
3186 { echo "$as_me:$LINENO: result: $_am_result" >&5
3187 echo "${ECHO_T}$_am_result" >&6; }
3188 rm -f confinc confmf
3190 # Check whether --enable-dependency-tracking was given.
3191 if test "${enable_dependency_tracking+set}" = set; then
3192 enableval
=$enable_dependency_tracking;
3195 if test "x$enable_dependency_tracking" != xno
; then
3196 am_depcomp
="$ac_aux_dir/depcomp"
3199 if test "x$enable_dependency_tracking" != xno; then
3209 depcc
="$CC" am_compiler_list
=
3211 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3212 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3213 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3214 echo $ECHO_N "(cached) $ECHO_C" >&6
3216 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3217 # We make a subdir and do the tests there. Otherwise we can end up
3218 # making bogus files that we don't know about and never remove. For
3219 # instance it was reported that on HP-UX the gcc test will end up
3220 # making a dummy file named `D' -- because `-MD' means `put the output
3223 # Copy depcomp to subdir because otherwise we won't find it if we're
3224 # using a relative directory.
3225 cp "$am_depcomp" conftest.dir
3227 # We will build objects and dependencies in a subdirectory because
3228 # it helps to detect inapplicable dependency modes. For instance
3229 # both Tru64's cc and ICC support -MD to output dependencies as a
3230 # side effect of compilation, but ICC will put the dependencies in
3231 # the current directory while Tru64 will put them in the object
3235 am_cv_CC_dependencies_compiler_type
=none
3236 if test "$am_compiler_list" = ""; then
3237 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3239 for depmode
in $am_compiler_list; do
3240 # Setup a source with many dependencies, because some compilers
3241 # like to wrap large dependency lists on column 80 (with \), and
3242 # we should not choose a depcomp mode which is confused by this.
3244 # We need to recreate these files for each test, as the compiler may
3245 # overwrite some of them when testing with obscure command lines.
3246 # This happens at least with the AIX C compiler.
3248 for i
in 1 2 3 4 5 6; do
3249 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3250 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3251 # Solaris 8's {/usr,}/bin/sh.
3252 touch sub
/conftst
$i.h
3254 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3258 # after this tag, mechanisms are not by side-effect, so they'll
3259 # only be used when explicitly requested
3260 if test "x$enable_dependency_tracking" = xyes
; then
3268 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3269 # mode. It turns out that the SunPro C++ compiler does not properly
3270 # handle `-M -o', and we need to detect this.
3271 if depmode
=$depmode \
3272 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3273 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3274 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3275 >/dev
/null
2>conftest.err
&&
3276 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3277 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3278 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3279 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3280 # icc doesn't choke on unknown options, it will just issue warnings
3281 # or remarks (even with -Werror). So we grep stderr for any message
3282 # that says an option was ignored or not supported.
3283 # When given -MP, icc 7.0 and 7.1 complain thusly:
3284 # icc: Command line warning: ignoring option '-M'; no argument required
3285 # The diagnosis changed in icc 8.0:
3286 # icc: Command line remark: option '-MP' not supported
3287 if (grep 'ignoring option' conftest.err ||
3288 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3289 am_cv_CC_dependencies_compiler_type
=$depmode
3298 am_cv_CC_dependencies_compiler_type
=none
3302 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3303 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3304 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3307 test "x$enable_dependency_tracking" != xno \
3308 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3310 am__fastdepCC_FALSE
='#'
3312 am__fastdepCC_TRUE
='#'
3313 am__fastdepCC_FALSE
=
3318 ac_cpp
='$CXXCPP $CPPFLAGS'
3319 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3320 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3321 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3322 if test -z "$CXX"; then
3323 if test -n "$CCC"; then
3326 if test -n "$ac_tool_prefix"; then
3327 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3329 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3330 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3333 if test "${ac_cv_prog_CXX+set}" = set; then
3334 echo $ECHO_N "(cached) $ECHO_C" >&6
3336 if test -n "$CXX"; then
3337 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3343 test -z "$as_dir" && as_dir
=.
3344 for ac_exec_ext
in '' $ac_executable_extensions; do
3345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3346 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3357 if test -n "$CXX"; then
3358 { echo "$as_me:$LINENO: result: $CXX" >&5
3359 echo "${ECHO_T}$CXX" >&6; }
3361 { echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6; }
3366 test -n "$CXX" && break
3369 if test -z "$CXX"; then
3371 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3373 # Extract the first word of "$ac_prog", so it can be a program name with args.
3374 set dummy
$ac_prog; ac_word
=$2
3375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3377 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3378 echo $ECHO_N "(cached) $ECHO_C" >&6
3380 if test -n "$ac_ct_CXX"; then
3381 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3387 test -z "$as_dir" && as_dir
=.
3388 for ac_exec_ext
in '' $ac_executable_extensions; do
3389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3390 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3401 if test -n "$ac_ct_CXX"; then
3402 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3403 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3405 { echo "$as_me:$LINENO: result: no" >&5
3406 echo "${ECHO_T}no" >&6; }
3410 test -n "$ac_ct_CXX" && break
3413 if test "x$ac_ct_CXX" = x
; then
3416 case $cross_compiling:$ac_tool_warned in
3418 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3419 whose name does not start with the host triplet. If you think this
3420 configuration is useful to you, please write to autoconf@gnu.org." >&5
3421 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3422 whose name does not start with the host triplet. If you think this
3423 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3424 ac_tool_warned
=yes ;;
3432 # Provide some information about the compiler.
3433 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3434 ac_compiler
=`set X $ac_compile; echo $2`
3435 { (ac_try
="$ac_compiler --version >&5"
3437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3438 *) ac_try_echo=$ac_try;;
3440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3441 (eval "$ac_compiler --version >&5") 2>&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); }
3445 { (ac_try="$ac_compiler -v >&5"
3447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3448 *) ac_try_echo
=$ac_try;;
3450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3451 (eval "$ac_compiler -v >&5") 2>&5
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454 (exit $ac_status); }
3455 { (ac_try
="$ac_compiler -V >&5"
3457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3458 *) ac_try_echo=$ac_try;;
3460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3461 (eval "$ac_compiler -V >&5") 2>&5
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); }
3466 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3467 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3468 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3469 echo $ECHO_N "(cached) $ECHO_C" >&6
3471 cat >conftest.$ac_ext <<_ACEOF
3474 cat confdefs.h >>conftest.$ac_ext
3475 cat >>conftest.$ac_ext <<_ACEOF
3476 /* end confdefs.h. */
3489 rm -f conftest.$ac_objext
3490 if { (ac_try="$ac_compile"
3492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3493 *) ac_try_echo
=$ac_try;;
3495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3496 (eval "$ac_compile") 2>conftest.er1
3498 grep -v '^ *+' conftest.er1
>conftest.err
3500 cat conftest.err
>&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); } && {
3503 test -z "$ac_cxx_werror_flag" ||
3504 test ! -s conftest.err
3505 } && test -s conftest.
$ac_objext; then
3508 echo "$as_me: failed program was:" >&5
3509 sed 's/^/| /' conftest.
$ac_ext >&5
3514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3515 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3518 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3519 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3520 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3521 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3522 ac_save_CXXFLAGS
=$CXXFLAGS
3523 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3524 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3525 if test "${ac_cv_prog_cxx_g+set}" = set; then
3526 echo $ECHO_N "(cached) $ECHO_C" >&6
3528 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3529 ac_cxx_werror_flag
=yes
3532 cat >conftest.
$ac_ext <<_ACEOF
3535 cat confdefs.h
>>conftest.
$ac_ext
3536 cat >>conftest.
$ac_ext <<_ACEOF
3537 /* end confdefs.h. */
3547 rm -f conftest.
$ac_objext
3548 if { (ac_try
="$ac_compile"
3550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3551 *) ac_try_echo=$ac_try;;
3553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3554 (eval "$ac_compile") 2>conftest.er1
3556 grep -v '^ *+' conftest.er1 >conftest.err
3558 cat conftest.err >&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); } && {
3561 test -z "$ac_cxx_werror_flag" ||
3562 test ! -s conftest.err
3563 } && test -s conftest.$ac_objext; then
3564 ac_cv_prog_cxx_g=yes
3566 echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3570 cat >conftest.$ac_ext <<_ACEOF
3573 cat confdefs.h >>conftest.$ac_ext
3574 cat >>conftest.$ac_ext <<_ACEOF
3575 /* end confdefs.h. */
3585 rm -f conftest.$ac_objext
3586 if { (ac_try="$ac_compile"
3588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3589 *) ac_try_echo
=$ac_try;;
3591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3592 (eval "$ac_compile") 2>conftest.er1
3594 grep -v '^ *+' conftest.er1
>conftest.err
3596 cat conftest.err
>&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); } && {
3599 test -z "$ac_cxx_werror_flag" ||
3600 test ! -s conftest.err
3601 } && test -s conftest.
$ac_objext; then
3604 echo "$as_me: failed program was:" >&5
3605 sed 's/^/| /' conftest.
$ac_ext >&5
3607 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3609 cat >conftest.
$ac_ext <<_ACEOF
3612 cat confdefs.h
>>conftest.
$ac_ext
3613 cat >>conftest.
$ac_ext <<_ACEOF
3614 /* end confdefs.h. */
3624 rm -f conftest.
$ac_objext
3625 if { (ac_try
="$ac_compile"
3627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3628 *) ac_try_echo=$ac_try;;
3630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3631 (eval "$ac_compile") 2>conftest.er1
3633 grep -v '^ *+' conftest.er1 >conftest.err
3635 cat conftest.err >&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); } && {
3638 test -z "$ac_cxx_werror_flag" ||
3639 test ! -s conftest.err
3640 } && test -s conftest.$ac_objext; then
3641 ac_cv_prog_cxx_g=yes
3643 echo "$as_me: failed program was:" >&5
3644 sed 's/^/| /' conftest.$ac_ext >&5
3649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3656 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3658 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3659 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3660 if test "$ac_test_CXXFLAGS" = set; then
3661 CXXFLAGS=$ac_save_CXXFLAGS
3662 elif test $ac_cv_prog_cxx_g = yes; then
3663 if test "$GXX" = yes; then
3669 if test "$GXX" = yes; then
3676 ac_cpp='$CPP $CPPFLAGS'
3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681 depcc="$CXX" am_compiler_list=
3683 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3684 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3685 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3686 echo $ECHO_N "(cached) $ECHO_C" >&6
3688 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3689 # We make a subdir and do the tests there. Otherwise we can end up
3690 # making bogus files that we don't know about and never remove. For
3691 # instance it was reported that on HP-UX the gcc test will end up
3692 # making a dummy file named `D
' -- because `-MD' means
`put the output
3695 # Copy depcomp to subdir because otherwise we won't find it if we're
3696 # using a relative directory.
3697 cp "$am_depcomp" conftest.dir
3699 # We will build objects and dependencies in a subdirectory because
3700 # it helps to detect inapplicable dependency modes. For instance
3701 # both Tru64's cc and ICC support -MD to output dependencies as a
3702 # side effect of compilation, but ICC will put the dependencies in
3703 # the current directory while Tru64 will put them in the object
3707 am_cv_CXX_dependencies_compiler_type=none
3708 if test "$am_compiler_list" = ""; then
3709 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3711 for depmode in $am_compiler_list; do
3712 # Setup a source with many dependencies, because some compilers
3713 # like to wrap large dependency lists on column 80 (with \), and
3714 # we should not choose a depcomp mode which is confused by this.
3716 # We need to recreate these files for each test, as the compiler may
3717 # overwrite some of them when testing with obscure command lines.
3718 # This happens at least with the AIX C compiler.
3720 for i in 1 2 3 4 5 6; do
3721 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3722 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3723 # Solaris 8's
{/usr
,}/bin
/sh.
3724 touch sub
/conftst
$i.h
3726 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3730 # after this tag, mechanisms are not by side-effect, so they'll
3731 # only be used when explicitly requested
3732 if test "x$enable_dependency_tracking" = xyes
; then
3740 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3741 # mode. It turns out that the SunPro C++ compiler does not properly
3742 # handle `-M -o', and we need to detect this.
3743 if depmode
=$depmode \
3744 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3745 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3746 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3747 >/dev
/null
2>conftest.err
&&
3748 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3749 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3750 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3751 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3752 # icc doesn't choke on unknown options, it will just issue warnings
3753 # or remarks (even with -Werror). So we grep stderr for any message
3754 # that says an option was ignored or not supported.
3755 # When given -MP, icc 7.0 and 7.1 complain thusly:
3756 # icc: Command line warning: ignoring option '-M'; no argument required
3757 # The diagnosis changed in icc 8.0:
3758 # icc: Command line remark: option '-MP' not supported
3759 if (grep 'ignoring option' conftest.err ||
3760 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3761 am_cv_CXX_dependencies_compiler_type
=$depmode
3770 am_cv_CXX_dependencies_compiler_type
=none
3774 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3775 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3776 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3779 test "x$enable_dependency_tracking" != xno \
3780 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3781 am__fastdepCXX_TRUE
=
3782 am__fastdepCXX_FALSE
='#'
3784 am__fastdepCXX_TRUE
='#'
3785 am__fastdepCXX_FALSE
=
3789 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3790 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3791 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3792 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3793 echo $ECHO_N "(cached) $ECHO_C" >&6
3795 cat >conftest.
make <<\_ACEOF
3798 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3800 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3801 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3803 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3805 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3809 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3810 { echo "$as_me:$LINENO: result: yes" >&5
3811 echo "${ECHO_T}yes" >&6; }
3814 { echo "$as_me:$LINENO: result: no" >&5
3815 echo "${ECHO_T}no" >&6; }
3816 SET_MAKE
="MAKE=${MAKE-make}"
3819 # Find a good install program. We prefer a C program (faster),
3820 # so one script is as good as another. But avoid the broken or
3821 # incompatible versions:
3822 # SysV /etc/install, /usr/sbin/install
3823 # SunOS /usr/etc/install
3824 # IRIX /sbin/install
3826 # AmigaOS /C/install, which installs bootblocks on floppy discs
3827 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3828 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3829 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3830 # OS/2's system install, which has a completely different semantic
3831 # ./install, which can be erroneously created by make from ./install.sh.
3832 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3833 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3834 if test -z "$INSTALL"; then
3835 if test "${ac_cv_path_install+set}" = set; then
3836 echo $ECHO_N "(cached) $ECHO_C" >&6
3838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3842 test -z "$as_dir" && as_dir
=.
3843 # Account for people who put trailing slashes in PATH elements.
3845 .
/ | .
// |
/cC
/* | \
3846 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3847 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3850 # OSF1 and SCO ODT 3.0 have their own names for install.
3851 # Don't use installbsd from OSF since it installs stuff as root
3853 for ac_prog
in ginstall scoinst
install; do
3854 for ac_exec_ext
in '' $ac_executable_extensions; do
3855 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3856 if test $ac_prog = install &&
3857 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3858 # AIX install. It has an incompatible calling convention.
3860 elif test $ac_prog = install &&
3861 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3862 # program-specific install script used by HP pwplus--don't use.
3865 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3878 if test "${ac_cv_path_install+set}" = set; then
3879 INSTALL
=$ac_cv_path_install
3881 # As a last resort, use the slow shell script. Don't cache a
3882 # value for INSTALL within a source directory, because that will
3883 # break other packages using the cache if that directory is
3884 # removed, or if the value is a relative name.
3885 INSTALL
=$ac_install_sh
3888 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3889 echo "${ECHO_T}$INSTALL" >&6; }
3891 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3892 # It thinks the first close brace ends the variable substitution.
3893 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3895 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3897 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3899 if test -n "$ac_tool_prefix"; then
3900 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3901 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3904 if test "${ac_cv_prog_RANLIB+set}" = set; then
3905 echo $ECHO_N "(cached) $ECHO_C" >&6
3907 if test -n "$RANLIB"; then
3908 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3914 test -z "$as_dir" && as_dir
=.
3915 for ac_exec_ext
in '' $ac_executable_extensions; do
3916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3917 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3927 RANLIB
=$ac_cv_prog_RANLIB
3928 if test -n "$RANLIB"; then
3929 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3930 echo "${ECHO_T}$RANLIB" >&6; }
3932 { echo "$as_me:$LINENO: result: no" >&5
3933 echo "${ECHO_T}no" >&6; }
3938 if test -z "$ac_cv_prog_RANLIB"; then
3939 ac_ct_RANLIB
=$RANLIB
3940 # Extract the first word of "ranlib", so it can be a program name with args.
3941 set dummy ranlib
; ac_word
=$2
3942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3944 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3945 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 if test -n "$ac_ct_RANLIB"; then
3948 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir
=.
3955 for ac_exec_ext
in '' $ac_executable_extensions; do
3956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3957 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3967 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3968 if test -n "$ac_ct_RANLIB"; then
3969 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3970 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3972 { echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6; }
3976 if test "x$ac_ct_RANLIB" = x
; then
3979 case $cross_compiling:$ac_tool_warned in
3981 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3982 whose name does not start with the host triplet. If you think this
3983 configuration is useful to you, please write to autoconf@gnu.org." >&5
3984 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3985 whose name does not start with the host triplet. If you think this
3986 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3987 ac_tool_warned
=yes ;;
3989 RANLIB
=$ac_ct_RANLIB
3992 RANLIB
="$ac_cv_prog_RANLIB"
3999 ac_cpp
='$CPP $CPPFLAGS'
4000 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4001 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4002 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4003 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4004 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4005 # On Suns, sometimes $CPP names a directory.
4006 if test -n "$CPP" && test -d "$CPP"; then
4009 if test -z "$CPP"; then
4010 if test "${ac_cv_prog_CPP+set}" = set; then
4011 echo $ECHO_N "(cached) $ECHO_C" >&6
4013 # Double quotes because CPP needs to be expanded
4014 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4017 for ac_c_preproc_warn_flag
in '' yes
4019 # Use a header file that comes with gcc, so configuring glibc
4020 # with a fresh cross-compiler works.
4021 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4022 # <limits.h> exists even on freestanding compilers.
4023 # On the NeXT, cc -E runs the code through the compiler's parser,
4024 # not just through cpp. "Syntax error" is here to catch this case.
4025 cat >conftest.
$ac_ext <<_ACEOF
4028 cat confdefs.h
>>conftest.
$ac_ext
4029 cat >>conftest.
$ac_ext <<_ACEOF
4030 /* end confdefs.h. */
4032 # include <limits.h>
4034 # include <assert.h>
4038 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4041 *) ac_try_echo=$ac_try;;
4043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4044 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4046 grep -v '^ *+' conftest.er1 >conftest.err
4048 cat conftest.err >&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); } >/dev/null && {
4051 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4052 test ! -s conftest.err
4056 echo "$as_me: failed program was:" >&5
4057 sed 's/^/| /' conftest.$ac_ext >&5
4059 # Broken: fails on valid input.
4063 rm -f conftest.err conftest.$ac_ext
4065 # OK, works on sane cases. Now check whether nonexistent headers
4066 # can be detected and how.
4067 cat >conftest.$ac_ext <<_ACEOF
4070 cat confdefs.h >>conftest.$ac_ext
4071 cat >>conftest.$ac_ext <<_ACEOF
4072 /* end confdefs.h. */
4073 #include <ac_nonexistent.h>
4075 if { (ac_try="$ac_cpp conftest.$ac_ext"
4077 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4078 *) ac_try_echo
=$ac_try;;
4080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4081 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4083 grep -v '^ *+' conftest.er1
>conftest.err
4085 cat conftest.err
>&5
4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); } >/dev
/null
&& {
4088 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4089 test ! -s conftest.err
4091 # Broken: success on invalid input.
4094 echo "$as_me: failed program was:" >&5
4095 sed 's/^/| /' conftest.
$ac_ext >&5
4097 # Passes both tests.
4102 rm -f conftest.err conftest.
$ac_ext
4105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4106 rm -f conftest.err conftest.
$ac_ext
4107 if $ac_preproc_ok; then
4119 { echo "$as_me:$LINENO: result: $CPP" >&5
4120 echo "${ECHO_T}$CPP" >&6; }
4122 for ac_c_preproc_warn_flag
in '' yes
4124 # Use a header file that comes with gcc, so configuring glibc
4125 # with a fresh cross-compiler works.
4126 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4127 # <limits.h> exists even on freestanding compilers.
4128 # On the NeXT, cc -E runs the code through the compiler's parser,
4129 # not just through cpp. "Syntax error" is here to catch this case.
4130 cat >conftest.
$ac_ext <<_ACEOF
4133 cat confdefs.h
>>conftest.
$ac_ext
4134 cat >>conftest.
$ac_ext <<_ACEOF
4135 /* end confdefs.h. */
4137 # include <limits.h>
4139 # include <assert.h>
4143 if { (ac_try
="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
4156 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4157 test ! -s conftest.err
4161 echo "$as_me: failed program was:" >&5
4162 sed 's/^/| /' conftest.$ac_ext >&5
4164 # Broken: fails on valid input.
4168 rm -f conftest.err conftest.$ac_ext
4170 # OK, works on sane cases. Now check whether nonexistent headers
4171 # can be detected and how.
4172 cat >conftest.$ac_ext <<_ACEOF
4175 cat confdefs.h >>conftest.$ac_ext
4176 cat >>conftest.$ac_ext <<_ACEOF
4177 /* end confdefs.h. */
4178 #include <ac_nonexistent.h>
4180 if { (ac_try="$ac_cpp conftest.$ac_ext"
4182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4183 *) ac_try_echo
=$ac_try;;
4185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4186 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4188 grep -v '^ *+' conftest.er1
>conftest.err
4190 cat conftest.err
>&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); } >/dev
/null
&& {
4193 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4194 test ! -s conftest.err
4196 # Broken: success on invalid input.
4199 echo "$as_me: failed program was:" >&5
4200 sed 's/^/| /' conftest.
$ac_ext >&5
4202 # Passes both tests.
4207 rm -f conftest.err conftest.
$ac_ext
4210 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4211 rm -f conftest.err conftest.
$ac_ext
4212 if $ac_preproc_ok; then
4215 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4216 See \`config.log' for more details." >&5
4217 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4218 See \`config.log' for more details." >&2;}
4219 { (exit 1); exit 1; }; }
4223 ac_cpp
='$CPP $CPPFLAGS'
4224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4229 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4230 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4231 if test "${ac_cv_path_GREP+set}" = set; then
4232 echo $ECHO_N "(cached) $ECHO_C" >&6
4234 # Extract the first word of "grep ggrep" to use in msg output
4235 if test -z "$GREP"; then
4236 set dummy
grep ggrep
; ac_prog_name
=$2
4237 if test "${ac_cv_path_GREP+set}" = set; then
4238 echo $ECHO_N "(cached) $ECHO_C" >&6
4240 ac_path_GREP_found
=false
4241 # Loop through the user's path and test for each of PROGNAME-LIST
4242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4243 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4246 test -z "$as_dir" && as_dir
=.
4247 for ac_prog
in grep ggrep
; do
4248 for ac_exec_ext
in '' $ac_executable_extensions; do
4249 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4250 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4251 # Check for GNU ac_path_GREP and select it if it is found.
4252 # Check for GNU $ac_path_GREP
4253 case `"$ac_path_GREP" --version 2>&1` in
4255 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4258 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4261 cat "conftest.in" "conftest.in" >"conftest.tmp"
4262 mv "conftest.tmp" "conftest.in"
4263 cp "conftest.in" "conftest.nl"
4264 echo 'GREP' >> "conftest.nl"
4265 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4266 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4267 ac_count
=`expr $ac_count + 1`
4268 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4269 # Best one so far, save it but keep looking for a better one
4270 ac_cv_path_GREP
="$ac_path_GREP"
4271 ac_path_GREP_max
=$ac_count
4273 # 10*(2^10) chars as input seems more than enough
4274 test $ac_count -gt 10 && break
4276 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4280 $ac_path_GREP_found && break 3
4290 GREP
="$ac_cv_path_GREP"
4291 if test -z "$GREP"; then
4292 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4293 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4294 { (exit 1); exit 1; }; }
4298 ac_cv_path_GREP
=$GREP
4303 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4304 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4305 GREP
="$ac_cv_path_GREP"
4308 { echo "$as_me:$LINENO: checking for egrep" >&5
4309 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4310 if test "${ac_cv_path_EGREP+set}" = set; then
4311 echo $ECHO_N "(cached) $ECHO_C" >&6
4313 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4314 then ac_cv_path_EGREP
="$GREP -E"
4316 # Extract the first word of "egrep" to use in msg output
4317 if test -z "$EGREP"; then
4318 set dummy
egrep; ac_prog_name
=$2
4319 if test "${ac_cv_path_EGREP+set}" = set; then
4320 echo $ECHO_N "(cached) $ECHO_C" >&6
4322 ac_path_EGREP_found
=false
4323 # Loop through the user's path and test for each of PROGNAME-LIST
4324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4325 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4328 test -z "$as_dir" && as_dir
=.
4329 for ac_prog
in egrep; do
4330 for ac_exec_ext
in '' $ac_executable_extensions; do
4331 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4332 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4333 # Check for GNU ac_path_EGREP and select it if it is found.
4334 # Check for GNU $ac_path_EGREP
4335 case `"$ac_path_EGREP" --version 2>&1` in
4337 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4340 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4343 cat "conftest.in" "conftest.in" >"conftest.tmp"
4344 mv "conftest.tmp" "conftest.in"
4345 cp "conftest.in" "conftest.nl"
4346 echo 'EGREP' >> "conftest.nl"
4347 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4348 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4349 ac_count
=`expr $ac_count + 1`
4350 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4351 # Best one so far, save it but keep looking for a better one
4352 ac_cv_path_EGREP
="$ac_path_EGREP"
4353 ac_path_EGREP_max
=$ac_count
4355 # 10*(2^10) chars as input seems more than enough
4356 test $ac_count -gt 10 && break
4358 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4362 $ac_path_EGREP_found && break 3
4372 EGREP
="$ac_cv_path_EGREP"
4373 if test -z "$EGREP"; then
4374 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4375 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4376 { (exit 1); exit 1; }; }
4380 ac_cv_path_EGREP
=$EGREP
4386 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4387 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4388 EGREP
="$ac_cv_path_EGREP"
4391 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4392 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4393 if test "${ac_cv_header_stdc+set}" = set; then
4394 echo $ECHO_N "(cached) $ECHO_C" >&6
4396 cat >conftest.
$ac_ext <<_ACEOF
4399 cat confdefs.h
>>conftest.
$ac_ext
4400 cat >>conftest.
$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4415 rm -f conftest.
$ac_objext
4416 if { (ac_try
="$ac_compile"
4418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4419 *) ac_try_echo=$ac_try;;
4421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4422 (eval "$ac_compile") 2>conftest.er1
4424 grep -v '^ *+' conftest.er1 >conftest.err
4426 cat conftest.err >&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); } && {
4429 test -z "$ac_c_werror_flag" ||
4430 test ! -s conftest.err
4431 } && test -s conftest.$ac_objext; then
4432 ac_cv_header_stdc=yes
4434 echo "$as_me: failed program was:" >&5
4435 sed 's/^/| /' conftest.$ac_ext >&5
4437 ac_cv_header_stdc=no
4440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4442 if test $ac_cv_header_stdc = yes; then
4443 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4444 cat >conftest.$ac_ext <<_ACEOF
4447 cat confdefs.h >>conftest.$ac_ext
4448 cat >>conftest.$ac_ext <<_ACEOF
4449 /* end confdefs.h. */
4453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4454 $EGREP "memchr" >/dev/null 2>&1; then
4457 ac_cv_header_stdc=no
4463 if test $ac_cv_header_stdc = yes; then
4464 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4465 cat >conftest.$ac_ext <<_ACEOF
4468 cat confdefs.h >>conftest.$ac_ext
4469 cat >>conftest.$ac_ext <<_ACEOF
4470 /* end confdefs.h. */
4474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4475 $EGREP "free" >/dev/null 2>&1; then
4478 ac_cv_header_stdc=no
4484 if test $ac_cv_header_stdc = yes; then
4485 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4486 if test "$cross_compiling" = yes; then
4489 cat >conftest.$ac_ext <<_ACEOF
4492 cat confdefs.h >>conftest.$ac_ext
4493 cat >>conftest.$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4497 #if ((' ' & 0x0FF) == 0x020)
4498 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4499 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4501 # define ISLOWER(c) \
4502 (('a' <= (c) && (c) <= 'i') \
4503 || ('j' <= (c) && (c) <= 'r') \
4504 || ('s' <= (c) && (c) <= 'z'))
4505 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4508 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4513 for (i = 0; i < 256; i++)
4514 if (XOR (islower (i), ISLOWER (i))
4515 || toupper (i) != TOUPPER (i))
4520 rm -f conftest$ac_exeext
4521 if { (ac_try="$ac_link"
4523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4524 *) ac_try_echo
=$ac_try;;
4526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4527 (eval "$ac_link") 2>&5
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4531 { (case "(($ac_try" in
4532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4533 *) ac_try_echo=$ac_try;;
4535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4536 (eval "$ac_try") 2>&5
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); }; }; then
4542 echo "$as_me: program exited with status $ac_status" >&5
4543 echo "$as_me: failed program was:" >&5
4544 sed 's/^/| /' conftest.$ac_ext >&5
4547 ac_cv_header_stdc=no
4549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4555 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4556 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4557 if test $ac_cv_header_stdc = yes; then
4559 cat >>confdefs.h <<\_ACEOF
4560 #define STDC_HEADERS 1
4565 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4575 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4576 inttypes.h stdint.h unistd.h
4578 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4579 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4581 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4582 echo $ECHO_N "(cached) $ECHO_C" >&6
4584 cat >conftest.$ac_ext <<_ACEOF
4587 cat confdefs.h >>conftest.$ac_ext
4588 cat >>conftest.$ac_ext <<_ACEOF
4589 /* end confdefs.h. */
4590 $ac_includes_default
4592 #include <$ac_header>
4594 rm -f conftest.$ac_objext
4595 if { (ac_try="$ac_compile"
4597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4598 *) ac_try_echo
=$ac_try;;
4600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4601 (eval "$ac_compile") 2>conftest.er1
4603 grep -v '^ *+' conftest.er1
>conftest.err
4605 cat conftest.err
>&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); } && {
4608 test -z "$ac_c_werror_flag" ||
4609 test ! -s conftest.err
4610 } && test -s conftest.
$ac_objext; then
4611 eval "$as_ac_Header=yes"
4613 echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.
$ac_ext >&5
4616 eval "$as_ac_Header=no"
4619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4621 ac_res
=`eval echo '${'$as_ac_Header'}'`
4622 { echo "$as_me:$LINENO: result: $ac_res" >&5
4623 echo "${ECHO_T}$ac_res" >&6; }
4624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4625 cat >>confdefs.h
<<_ACEOF
4626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4634 if test "${ac_cv_header_SDL_SDL_h+set}" = set; then
4635 { echo "$as_me:$LINENO: checking for SDL/SDL.h" >&5
4636 echo $ECHO_N "checking for SDL/SDL.h... $ECHO_C" >&6; }
4637 if test "${ac_cv_header_SDL_SDL_h+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_h" >&5
4641 echo "${ECHO_T}$ac_cv_header_SDL_SDL_h" >&6; }
4643 # Is the header compilable?
4644 { echo "$as_me:$LINENO: checking SDL/SDL.h usability" >&5
4645 echo $ECHO_N "checking SDL/SDL.h usability... $ECHO_C" >&6; }
4646 cat >conftest.
$ac_ext <<_ACEOF
4649 cat confdefs.h
>>conftest.
$ac_ext
4650 cat >>conftest.
$ac_ext <<_ACEOF
4651 /* end confdefs.h. */
4652 $ac_includes_default
4653 #include <SDL/SDL.h>
4655 rm -f conftest.
$ac_objext
4656 if { (ac_try
="$ac_compile"
4658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4659 *) ac_try_echo=$ac_try;;
4661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4662 (eval "$ac_compile") 2>conftest.er1
4664 grep -v '^ *+' conftest.er1 >conftest.err
4666 cat conftest.err >&5
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); } && {
4669 test -z "$ac_c_werror_flag" ||
4670 test ! -s conftest.err
4671 } && test -s conftest.$ac_objext; then
4672 ac_header_compiler=yes
4674 echo "$as_me: failed program was:" >&5
4675 sed 's/^/| /' conftest.$ac_ext >&5
4677 ac_header_compiler=no
4680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4681 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4682 echo "${ECHO_T}$ac_header_compiler" >&6; }
4684 # Is the header present?
4685 { echo "$as_me:$LINENO: checking SDL/SDL.h presence" >&5
4686 echo $ECHO_N "checking SDL/SDL.h presence... $ECHO_C" >&6; }
4687 cat >conftest.$ac_ext <<_ACEOF
4690 cat confdefs.h >>conftest.$ac_ext
4691 cat >>conftest.$ac_ext <<_ACEOF
4692 /* end confdefs.h. */
4693 #include <SDL/SDL.h>
4695 if { (ac_try="$ac_cpp conftest.$ac_ext"
4697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4698 *) ac_try_echo
=$ac_try;;
4700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4703 grep -v '^ *+' conftest.er1
>conftest.err
4705 cat conftest.err
>&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); } >/dev
/null
&& {
4708 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4709 test ! -s conftest.err
4711 ac_header_preproc
=yes
4713 echo "$as_me: failed program was:" >&5
4714 sed 's/^/| /' conftest.
$ac_ext >&5
4716 ac_header_preproc
=no
4719 rm -f conftest.err conftest.
$ac_ext
4720 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4721 echo "${ECHO_T}$ac_header_preproc" >&6; }
4723 # So? What about this header?
4724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4726 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&5
4727 echo "$as_me: WARNING: SDL/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4728 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: proceeding with the compiler's result" >&5
4729 echo "$as_me: WARNING: SDL/SDL.h: proceeding with the compiler's result" >&2;}
4730 ac_header_preproc
=yes
4733 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: present but cannot be compiled" >&5
4734 echo "$as_me: WARNING: SDL/SDL.h: present but cannot be compiled" >&2;}
4735 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: check for missing prerequisite headers?" >&5
4736 echo "$as_me: WARNING: SDL/SDL.h: check for missing prerequisite headers?" >&2;}
4737 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: see the Autoconf documentation" >&5
4738 echo "$as_me: WARNING: SDL/SDL.h: see the Autoconf documentation" >&2;}
4739 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: section \"Present But Cannot Be Compiled\"" >&5
4740 echo "$as_me: WARNING: SDL/SDL.h: section \"Present But Cannot Be Compiled\"" >&2;}
4741 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: proceeding with the preprocessor's result" >&5
4742 echo "$as_me: WARNING: SDL/SDL.h: proceeding with the preprocessor's result" >&2;}
4743 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: in the future, the compiler will take precedence" >&5
4744 echo "$as_me: WARNING: SDL/SDL.h: in the future, the compiler will take precedence" >&2;}
4748 { echo "$as_me:$LINENO: checking for SDL/SDL.h" >&5
4749 echo $ECHO_N "checking for SDL/SDL.h... $ECHO_C" >&6; }
4750 if test "${ac_cv_header_SDL_SDL_h+set}" = set; then
4751 echo $ECHO_N "(cached) $ECHO_C" >&6
4753 ac_cv_header_SDL_SDL_h
=$ac_header_preproc
4755 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_h" >&5
4756 echo "${ECHO_T}$ac_cv_header_SDL_SDL_h" >&6; }
4759 if test $ac_cv_header_SDL_SDL_h = yes; then
4761 cat >>confdefs.h
<<\_ACEOF
4765 SDL_LIBS
=`sdl-config --libs`
4768 { { echo "$as_me:$LINENO: error: *** no SDL/SDL.h - SDL not found" >&5
4769 echo "$as_me: error: *** no SDL/SDL.h - SDL not found" >&2;}
4770 { (exit 1); exit 1; }; }
4778 # Check for SDL_image library
4780 { echo "$as_me:$LINENO: checking for IMG_LoadPNG_RW in -lSDL_image" >&5
4781 echo $ECHO_N "checking for IMG_LoadPNG_RW in -lSDL_image... $ECHO_C" >&6; }
4782 if test "${ac_cv_lib_SDL_image_IMG_LoadPNG_RW+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 ac_check_lib_save_LIBS
=$LIBS
4786 LIBS
="-lSDL_image $LIBS"
4787 cat >conftest.
$ac_ext <<_ACEOF
4790 cat confdefs.h
>>conftest.
$ac_ext
4791 cat >>conftest.
$ac_ext <<_ACEOF
4792 /* end confdefs.h. */
4794 /* Override any GCC internal prototype to avoid an error.
4795 Use char because int might match the return type of a GCC
4796 builtin and then its argument prototype would still apply. */
4800 char IMG_LoadPNG_RW ();
4804 return IMG_LoadPNG_RW ();
4809 rm -f conftest.
$ac_objext conftest
$ac_exeext
4810 if { (ac_try
="$ac_link"
4812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4813 *) ac_try_echo=$ac_try;;
4815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4816 (eval "$ac_link") 2>conftest.er1
4818 grep -v '^ *+' conftest.er1 >conftest.err
4820 cat conftest.err >&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); } && {
4823 test -z "$ac_c_werror_flag" ||
4824 test ! -s conftest.err
4825 } && test -s conftest$ac_exeext &&
4826 $as_test_x conftest$ac_exeext; then
4827 ac_cv_lib_SDL_image_IMG_LoadPNG_RW=yes
4829 echo "$as_me: failed program was:" >&5
4830 sed 's/^/| /' conftest.$ac_ext >&5
4832 ac_cv_lib_SDL_image_IMG_LoadPNG_RW=no
4835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4836 conftest$ac_exeext conftest.$ac_ext
4837 LIBS=$ac_check_lib_save_LIBS
4839 { echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_IMG_LoadPNG_RW" >&5
4840 echo "${ECHO_T}$ac_cv_lib_SDL_image_IMG_LoadPNG_RW" >&6; }
4841 if test $ac_cv_lib_SDL_image_IMG_LoadPNG_RW = yes; then
4842 cat >>confdefs.h <<_ACEOF
4843 #define HAVE_LIBSDL_IMAGE 1
4846 LIBS="-lSDL_image $LIBS"
4849 { { echo "$as_me:$LINENO: error:
4850 *** Unable to find SDL_image libary with PNG support
4852 echo "$as_me: error:
4853 *** Unable to find SDL_image libary with PNG support
4855 { (exit 1); exit 1; }; }
4859 { echo "$as_me:$LINENO: checking for TTF_OpenFont in -lSDL_ttf" >&5
4860 echo $ECHO_N "checking for TTF_OpenFont in -lSDL_ttf... $ECHO_C" >&6; }
4861 if test "${ac_cv_lib_SDL_ttf_TTF_OpenFont+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 ac_check_lib_save_LIBS=$LIBS
4865 LIBS="-lSDL_ttf $LIBS"
4866 cat >conftest.$ac_ext <<_ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4873 /* Override any GCC internal prototype to avoid an error.
4874 Use char because int might match the return type of a GCC
4875 builtin and then its argument prototype would still apply. */
4879 char TTF_OpenFont ();
4883 return TTF_OpenFont ();
4888 rm -f conftest.$ac_objext conftest$ac_exeext
4889 if { (ac_try="$ac_link"
4891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4892 *) ac_try_echo
=$ac_try;;
4894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4895 (eval "$ac_link") 2>conftest.er1
4897 grep -v '^ *+' conftest.er1
>conftest.err
4899 cat conftest.err
>&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); } && {
4902 test -z "$ac_c_werror_flag" ||
4903 test ! -s conftest.err
4904 } && test -s conftest
$ac_exeext &&
4905 $as_test_x conftest
$ac_exeext; then
4906 ac_cv_lib_SDL_ttf_TTF_OpenFont
=yes
4908 echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.
$ac_ext >&5
4911 ac_cv_lib_SDL_ttf_TTF_OpenFont
=no
4914 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4915 conftest
$ac_exeext conftest.
$ac_ext
4916 LIBS
=$ac_check_lib_save_LIBS
4918 { echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_ttf_TTF_OpenFont" >&5
4919 echo "${ECHO_T}$ac_cv_lib_SDL_ttf_TTF_OpenFont" >&6; }
4920 if test $ac_cv_lib_SDL_ttf_TTF_OpenFont = yes; then
4921 cat >>confdefs.h
<<_ACEOF
4922 #define HAVE_LIBSDL_TTF 1
4925 LIBS
="-lSDL_ttf $LIBS"
4928 { { echo "$as_me:$LINENO: error:
4929 *** Unable to find SDL_ttf libary
4931 echo "$as_me: error:
4932 *** Unable to find SDL_ttf libary
4934 { (exit 1); exit 1; }; }
4938 { echo "$as_me:$LINENO: checking for Mix_OpenAudio in -lSDL_mixer" >&5
4939 echo $ECHO_N "checking for Mix_OpenAudio in -lSDL_mixer... $ECHO_C" >&6; }
4940 if test "${ac_cv_lib_SDL_mixer_Mix_OpenAudio+set}" = set; then
4941 echo $ECHO_N "(cached) $ECHO_C" >&6
4943 ac_check_lib_save_LIBS
=$LIBS
4944 LIBS
="-lSDL_mixer $LIBS"
4945 cat >conftest.
$ac_ext <<_ACEOF
4948 cat confdefs.h
>>conftest.
$ac_ext
4949 cat >>conftest.
$ac_ext <<_ACEOF
4950 /* end confdefs.h. */
4952 /* Override any GCC internal prototype to avoid an error.
4953 Use char because int might match the return type of a GCC
4954 builtin and then its argument prototype would still apply. */
4958 char Mix_OpenAudio ();
4962 return Mix_OpenAudio ();
4967 rm -f conftest.
$ac_objext conftest
$ac_exeext
4968 if { (ac_try
="$ac_link"
4970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4971 *) ac_try_echo=$ac_try;;
4973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4974 (eval "$ac_link") 2>conftest.er1
4976 grep -v '^ *+' conftest.er1 >conftest.err
4978 cat conftest.err >&5
4979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4980 (exit $ac_status); } && {
4981 test -z "$ac_c_werror_flag" ||
4982 test ! -s conftest.err
4983 } && test -s conftest$ac_exeext &&
4984 $as_test_x conftest$ac_exeext; then
4985 ac_cv_lib_SDL_mixer_Mix_OpenAudio=yes
4987 echo "$as_me: failed program was:" >&5
4988 sed 's/^/| /' conftest.$ac_ext >&5
4990 ac_cv_lib_SDL_mixer_Mix_OpenAudio=no
4993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4994 conftest$ac_exeext conftest.$ac_ext
4995 LIBS=$ac_check_lib_save_LIBS
4997 { echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_Mix_OpenAudio" >&5
4998 echo "${ECHO_T}$ac_cv_lib_SDL_mixer_Mix_OpenAudio" >&6; }
4999 if test $ac_cv_lib_SDL_mixer_Mix_OpenAudio = yes; then
5000 cat >>confdefs.h <<_ACEOF
5001 #define HAVE_LIBSDL_MIXER 1
5004 LIBS="-lSDL_mixer $LIBS"
5007 { { echo "$as_me:$LINENO: error:
5008 *** Unable to find SDL_mixer libary
5010 echo "$as_me: error:
5011 *** Unable to find SDL_mixer libary
5013 { (exit 1); exit 1; }; }
5017 # Check if Python is available (for MT TUIO Input)
5018 # Check whether --enable-multitouch was given.
5019 if test "${enable_multitouch+set}" = set; then
5020 enableval=$enable_multitouch; enable_multitouch=$enableval
5022 enable_multitouch=yes
5026 if test "x${enable_multitouch}" = "xyes"; then
5027 # Extract the first word of "python-config", so it can be a program name with args.
5028 set dummy python-config; ac_word=$2
5029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5031 if test "${ac_cv_prog_HAVE_PYTHON+set}" = set; then
5032 echo $ECHO_N "(cached) $ECHO_C" >&6
5034 if test -n "$HAVE_PYTHON"; then
5035 ac_cv_prog_HAVE_PYTHON="$HAVE_PYTHON" # Let the user override the test.
5037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 test -z "$as_dir" && as_dir=.
5042 for ac_exec_ext in '' $ac_executable_extensions; do
5043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5044 ac_cv_prog_HAVE_PYTHON=""yes""
5045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 test -z "$ac_cv_prog_HAVE_PYTHON" && ac_cv_prog_HAVE_PYTHON=""no""
5055 HAVE_PYTHON=$ac_cv_prog_HAVE_PYTHON
5056 if test -n "$HAVE_PYTHON"; then
5057 { echo "$as_me:$LINENO: result: $HAVE_PYTHON" >&5
5058 echo "${ECHO_T}$HAVE_PYTHON" >&6; }
5060 { echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6; }
5065 if test "x${HAVE_PYTHON}" = "xyes"; then
5067 cat >>confdefs.h <<\_ACEOF
5071 PYTHON_CFLAGS=`python-config
--includes`
5072 PYTHON_LIBS=`python-config
--libs`
5078 # Check if Hildon is available (for Maemo)
5079 #AC_ARG_ENABLE(hildon, [ --disable-hildon build without maemo/hildon support], enable_hildon=$enableval, enable_hildon=yes)
5081 #if test "x${enable_hildon}" = "xyes" ; then
5082 # PKG_CHECK_MODULES(HILDON, [hildon-1 hildon-fm-2 libossoemailinterface],
5083 # PKG_CHECK_MODULES(HILDON, [hildon-1 dbus-1 libosso],
5084 # [enable_hildon=yes], [enable_hildon=no])
5087 if test "x${enable_hildon}" = "xyes" ; then
5089 cat >>confdefs.h <<\_ACEOF
5093 desktopentrydir=`$PKG_CONFIG osso-af-settings
--variable=desktopentrydir
`
5094 serviceentrydir=`$PKG_CONFIG osso-af-settings
--variable=dbusservicedir
`
5095 icon_26x26dir=$datadir/icons/hicolor/26x26/hildon
5096 icon_34x34dir=$datadir/icons/hicolor/34x34/hildon
5097 icon_40x40dir=$datadir/icons/hicolor/40x40/hildon
5098 icon_50x50dir=$datadir/icons/hicolor/50x50/hildon
5099 icon_64x64dir=$datadir/icons/hicolor/64x64/hildon
5100 icon_scalabledir=$datadir/icons/hicolor/scalable/hildon
5104 desktopentrydir=/usr/share/applications
5105 serviceentrydir=$datadir/numptyphysics
5106 icon_26x26dir=$datadir/icons/hicolor/26x26/apps
5107 icon_34x34dir=$datadir/icons/hicolor/34x34/apps
5108 icon_40x40dir=$datadir/icons/hicolor/40x40/apps
5109 icon_50x50dir=$datadir/icons/hicolor/50x50/apps
5110 icon_64x64dir=$datadir/icons/hicolor/64x64/apps
5111 icon_scalabledir=$datadir/icons/hicolor/scalable/apps
5124 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
5125 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; }
5126 if test "${ac_cv_lib_stdcpp_main+set}" = set; then
5127 echo $ECHO_N "(cached) $ECHO_C" >&6
5129 ac_check_lib_save_LIBS=$LIBS
5130 LIBS="-lstdc++ $LIBS"
5131 cat >conftest.$ac_ext <<_ACEOF
5134 cat confdefs.h >>conftest.$ac_ext
5135 cat >>conftest.$ac_ext <<_ACEOF
5136 /* end confdefs.h. */
5147 rm -f conftest.$ac_objext conftest$ac_exeext
5148 if { (ac_try="$ac_link"
5150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5151 *) ac_try_echo
=$ac_try;;
5153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5154 (eval "$ac_link") 2>conftest.er1
5156 grep -v '^ *+' conftest.er1
>conftest.err
5158 cat conftest.err
>&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); } && {
5161 test -z "$ac_c_werror_flag" ||
5162 test ! -s conftest.err
5163 } && test -s conftest
$ac_exeext &&
5164 $as_test_x conftest
$ac_exeext; then
5165 ac_cv_lib_stdcpp_main
=yes
5167 echo "$as_me: failed program was:" >&5
5168 sed 's/^/| /' conftest.
$ac_ext >&5
5170 ac_cv_lib_stdcpp_main
=no
5173 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5174 conftest
$ac_exeext conftest.
$ac_ext
5175 LIBS
=$ac_check_lib_save_LIBS
5177 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
5178 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }
5179 if test $ac_cv_lib_stdcpp_main = yes; then
5180 cat >>confdefs.h
<<_ACEOF
5181 #define HAVE_LIBSTDC__ 1
5184 LIBS
="-lstdc++ $LIBS"
5189 { echo "$as_me:$LINENO: checking for main in -lX11" >&5
5190 echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6; }
5191 if test "${ac_cv_lib_X11_main+set}" = set; then
5192 echo $ECHO_N "(cached) $ECHO_C" >&6
5194 ac_check_lib_save_LIBS
=$LIBS
5196 cat >conftest.
$ac_ext <<_ACEOF
5199 cat confdefs.h
>>conftest.
$ac_ext
5200 cat >>conftest.
$ac_ext <<_ACEOF
5201 /* end confdefs.h. */
5212 rm -f conftest.
$ac_objext conftest
$ac_exeext
5213 if { (ac_try
="$ac_link"
5215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5216 *) ac_try_echo=$ac_try;;
5218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5219 (eval "$ac_link") 2>conftest.er1
5221 grep -v '^ *+' conftest.er1 >conftest.err
5223 cat conftest.err >&5
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); } && {
5226 test -z "$ac_c_werror_flag" ||
5227 test ! -s conftest.err
5228 } && test -s conftest$ac_exeext &&
5229 $as_test_x conftest$ac_exeext; then
5230 ac_cv_lib_X11_main=yes
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.$ac_ext >&5
5235 ac_cv_lib_X11_main=no
5238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5239 conftest$ac_exeext conftest.$ac_ext
5240 LIBS=$ac_check_lib_save_LIBS
5242 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5
5243 echo "${ECHO_T}$ac_cv_lib_X11_main" >&6; }
5244 if test $ac_cv_lib_X11_main = yes; then
5245 cat >>confdefs.h <<_ACEOF
5246 #define HAVE_LIBX11 1
5254 { echo "$as_me:$LINENO: checking for main in -lz" >&5
5255 echo $ECHO_N "checking for main in -lz... $ECHO_C" >&6; }
5256 if test "${ac_cv_lib_z_main+set}" = set; then
5257 echo $ECHO_N "(cached) $ECHO_C" >&6
5259 ac_check_lib_save_LIBS=$LIBS
5261 cat >conftest.$ac_ext <<_ACEOF
5264 cat confdefs.h >>conftest.$ac_ext
5265 cat >>conftest.$ac_ext <<_ACEOF
5266 /* end confdefs.h. */
5277 rm -f conftest.$ac_objext conftest$ac_exeext
5278 if { (ac_try="$ac_link"
5280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5281 *) ac_try_echo
=$ac_try;;
5283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5284 (eval "$ac_link") 2>conftest.er1
5286 grep -v '^ *+' conftest.er1
>conftest.err
5288 cat conftest.err
>&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); } && {
5291 test -z "$ac_c_werror_flag" ||
5292 test ! -s conftest.err
5293 } && test -s conftest
$ac_exeext &&
5294 $as_test_x conftest
$ac_exeext; then
5295 ac_cv_lib_z_main
=yes
5297 echo "$as_me: failed program was:" >&5
5298 sed 's/^/| /' conftest.
$ac_ext >&5
5303 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5304 conftest
$ac_exeext conftest.
$ac_ext
5305 LIBS
=$ac_check_lib_save_LIBS
5307 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5
5308 echo "${ECHO_T}$ac_cv_lib_z_main" >&6; }
5309 if test $ac_cv_lib_z_main = yes; then
5310 cat >>confdefs.h
<<_ACEOF
5320 ac_config_files
="$ac_config_files Makefile"
5322 cat >confcache
<<\_ACEOF
5323 # This file is a shell script that caches the results of configure
5324 # tests run on this system so they can be shared between configure
5325 # scripts and configure runs, see configure's option --config-cache.
5326 # It is not useful on other systems. If it contains results you don't
5327 # want to keep, you may remove or edit it.
5329 # config.status only pays attention to the cache file if you give it
5330 # the --recheck option to rerun configure.
5332 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5333 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5338 # The following way of writing the cache mishandles newlines in values,
5339 # but we know of no workaround that is simple, portable, and efficient.
5340 # So, we kill variables containing newlines.
5341 # Ultrix sh set writes to stderr and can't be redirected directly,
5342 # and sets the high bit in the cache file unless we assign to the vars.
5344 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5345 eval ac_val
=\$
$ac_var
5349 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5350 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5353 _ | IFS | as_nl
) ;; #(
5354 *) $as_unset $ac_var ;;
5360 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5361 *${as_nl}ac_space
=\
*)
5362 # `set' does not quote correctly, so add quotes (double-quote
5363 # substitution turns \\\\ into \\, and sed turns \\ into \).
5366 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5369 # `set' quotes correctly as required by POSIX, so do not add quotes.
5370 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5379 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5381 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5383 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5384 if test -w "$cache_file"; then
5385 test "x$cache_file" != "x/dev/null" &&
5386 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5387 echo "$as_me: updating cache $cache_file" >&6;}
5388 cat confcache
>$cache_file
5390 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5391 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5396 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5397 # Let make expand exec_prefix.
5398 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5400 # Transform confdefs.h into DEFS.
5401 # Protect against shell expansion while executing Makefile rules.
5402 # Protect against Makefile macro expansion.
5404 # If the first sed substitution is executed (which looks for macros that
5405 # take arguments), then branch to the quote section. Otherwise,
5406 # look for a macro that doesn't take arguments.
5410 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5412 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5416 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5429 DEFS
=`sed -n "$ac_script" confdefs.h`
5434 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5435 # 1. Remove the extension, and $U if already installed.
5436 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5437 ac_i
=`echo "$ac_i" | sed "$ac_script"`
5438 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5439 # will be set to the directory where LIBOBJS objects are built.
5440 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5441 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5445 LTLIBOBJS
=$ac_ltlibobjs
5448 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5449 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5450 Usually this means the macro was only invoked conditionally." >&5
5451 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5452 Usually this means the macro was only invoked conditionally." >&2;}
5453 { (exit 1); exit 1; }; }
5455 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5456 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5457 Usually this means the macro was only invoked conditionally." >&5
5458 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5459 Usually this means the macro was only invoked conditionally." >&2;}
5460 { (exit 1); exit 1; }; }
5462 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5463 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5464 Usually this means the macro was only invoked conditionally." >&5
5465 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5466 Usually this means the macro was only invoked conditionally." >&2;}
5467 { (exit 1); exit 1; }; }
5470 : ${CONFIG_STATUS=./config.status}
5471 ac_clean_files_save
=$ac_clean_files
5472 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5473 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5474 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5475 cat >$CONFIG_STATUS <<_ACEOF
5477 # Generated by $as_me.
5478 # Run this file to recreate the current configuration.
5479 # Compiler output produced by configure, useful for debugging
5480 # configure, is in config.log if it exists.
5485 SHELL=\${CONFIG_SHELL-$SHELL}
5488 cat >>$CONFIG_STATUS <<\_ACEOF
5489 ## --------------------- ##
5490 ## M4sh Initialization. ##
5491 ## --------------------- ##
5493 # Be more Bourne compatible
5494 DUALCASE
=1; export DUALCASE
# for MKS sh
5495 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5498 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5499 # is contrary to our usage. Disable this feature.
5500 alias -g '${1+"$@"}'='"$@"'
5501 setopt NO_GLOB_SUBST
5503 case `(set -o) 2>/dev/null` in
5504 *posix
*) set -o posix
;;
5513 # Avoid depending upon Character Ranges.
5514 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5515 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5516 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5517 as_cr_digits
='0123456789'
5518 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5520 # The user is always right.
5521 if test "${PATH_SEPARATOR+set}" != set; then
5522 echo "#! /bin/sh" >conf$$.sh
5523 echo "exit 0" >>conf$$.sh
5525 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5533 # Support unset when possible.
5534 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5542 # We need space, tab and new line, in precisely that order. Quoting is
5543 # there to prevent editors from complaining about space-tab.
5544 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5545 # splitting by setting IFS to empty value.)
5550 # Find who we are. Look in the path if we contain no directory separator.
5552 *[\\/]* ) as_myself
=$0 ;;
5553 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir
=.
5558 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5564 # We did not find ourselves, most probably we were run as `sh COMMAND'
5565 # in which case we are not to be found in the path.
5566 if test "x$as_myself" = x
; then
5569 if test ! -f "$as_myself"; then
5570 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5571 { (exit 1); exit 1; }
5574 # Work around bugs in pre-3.0 UWIN ksh.
5575 for as_var
in ENV MAIL MAILPATH
5576 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
5584 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5585 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5586 LC_TELEPHONE LC_TIME
5588 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5589 eval $as_var=C
; export $as_var
5591 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
5595 # Required to use basename.
5596 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5597 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5603 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5604 as_basename
=basename
5610 # Name of the executable.
5611 as_me
=`$as_basename -- "$0" ||
5612 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5613 X"$0" : 'X\(//\)$' \| \
5614 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5616 sed '/^.*\/\([^/][^/]*\)\/*$/{
5637 test "x$as_lineno_1" != "x$as_lineno_2" &&
5638 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
5640 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5641 # uniformly replaced by the line number. The first 'sed' inserts a
5642 # line-number line after each line using $LINENO; the second 'sed'
5643 # does the real work. The second script uses 'N' to pair each
5644 # line-number line with the line containing $LINENO, and appends
5645 # trailing '-' during substitution so that $LINENO is not a special
5647 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5648 # scripts with optimization help from Paolo Bonzini. Blame Lee
5649 # E. McMahon (1931-1989) for sed's syntax. :-)
5661 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5665 chmod +x
"$as_me.lineno" ||
5666 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5667 { (exit 1); exit 1; }; }
5669 # Don't try to exec as it changes $[0], causing all sort of problems
5670 # (the dirname of $[0] is not the place where we might find the
5671 # original and so on. Autoconf is especially sensitive to this).
5673 # Exit status is that of the last command.
5678 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5684 ECHO_C
= ECHO_N
= ECHO_T
=
5687 case `echo 'x\c'` in
5688 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5695 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5696 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5702 rm -f conf$$ conf$$.exe conf$$.
file
5703 if test -d conf$$.dir
; then
5704 rm -f conf$$.dir
/conf$$.
file
5710 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5712 # ... but there are two gotchas:
5713 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5714 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5715 # In both cases, we have to default to `cp -p'.
5716 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5718 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5723 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5724 rmdir conf$$.dir
2>/dev
/null
5726 if mkdir
-p .
2>/dev
/null
; then
5729 test -d .
/-p && rmdir .
/-p
5733 if test -x / >/dev
/null
2>&1; then
5736 if ls -dL / >/dev
/null
2>&1; then
5743 if test -d "$1"; then
5749 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5750 ???[sx]*):;;*)false;;esac;fi
5754 as_executable_p
=$as_test_x
5756 # Sed expression to map a string onto a valid CPP name.
5757 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5759 # Sed expression to map a string onto a valid variable name.
5760 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5765 # Save the log message, to keep $[0] and so on meaningful, and to
5766 # report actual input values of CONFIG_FILES etc. instead of their
5767 # values after options handling.
5769 This file was extended by $as_me, which was
5770 generated by GNU Autoconf 2.61. Invocation command line was
5772 CONFIG_FILES = $CONFIG_FILES
5773 CONFIG_HEADERS = $CONFIG_HEADERS
5774 CONFIG_LINKS = $CONFIG_LINKS
5775 CONFIG_COMMANDS = $CONFIG_COMMANDS
5778 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5783 cat >>$CONFIG_STATUS <<_ACEOF
5784 # Files that config.status was made for.
5785 config_files="$ac_config_files"
5786 config_commands="$ac_config_commands"
5790 cat >>$CONFIG_STATUS <<\_ACEOF
5792 \`$as_me' instantiates files from templates according to the
5793 current configuration.
5795 Usage: $0 [OPTIONS] [FILE]...
5797 -h, --help print this help, then exit
5798 -V, --version print version number and configuration settings, then exit
5799 -q, --quiet do not print progress messages
5800 -d, --debug don't remove temporary files
5801 --recheck update $as_me by reconfiguring in the same conditions
5802 --file=FILE[:TEMPLATE]
5803 instantiate the configuration file FILE
5805 Configuration files:
5808 Configuration commands:
5811 Report bugs to <bug-autoconf@gnu.org>."
5814 cat >>$CONFIG_STATUS <<_ACEOF
5817 configured by $0, generated by GNU Autoconf 2.61,
5818 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5820 Copyright (C) 2006 Free Software Foundation, Inc.
5821 This config.status script is free software; the Free Software Foundation
5822 gives unlimited permission to copy, distribute and modify it."
5830 cat >>$CONFIG_STATUS <<\_ACEOF
5831 # If no file are specified by the user, then we need to provide default
5832 # value. By we need to know if files were specified by the user.
5838 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5839 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5850 # Handling of the options.
5851 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5853 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5854 echo "$ac_cs_version"; exit ;;
5855 --debug |
--debu |
--deb |
--de |
--d |
-d )
5857 --file |
--fil |
--fi |
--f )
5859 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5860 ac_need_defaults
=false
;;
5861 --he |
--h |
--help |
--hel |
-h )
5862 echo "$ac_cs_usage"; exit ;;
5863 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5864 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5868 -*) { echo "$as_me: error: unrecognized option: $1
5869 Try \`$0 --help' for more information." >&2
5870 { (exit 1); exit 1; }; } ;;
5872 *) ac_config_targets
="$ac_config_targets $1"
5873 ac_need_defaults
=false
;;
5879 ac_configure_extra_args
=
5881 if $ac_cs_silent; then
5883 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5887 cat >>$CONFIG_STATUS <<_ACEOF
5888 if \$ac_cs_recheck; then
5889 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5892 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5896 cat >>$CONFIG_STATUS <<\_ACEOF
5900 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5901 ## Running $as_me. ##
5907 cat >>$CONFIG_STATUS <<_ACEOF
5911 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5915 cat >>$CONFIG_STATUS <<\_ACEOF
5917 # Handling of arguments.
5918 for ac_config_target
in $ac_config_targets
5920 case $ac_config_target in
5921 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5922 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5924 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5925 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5926 { (exit 1); exit 1; }; };;
5931 # If the user did not use the arguments to specify the items to instantiate,
5932 # then the envvar interface is used. Set only those that are not.
5933 # We use the long form for the default assignment because of an extremely
5934 # bizarre bug on SunOS 4.1.3.
5935 if $ac_need_defaults; then
5936 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5937 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5940 # Have a temporary directory for convenience. Make it in the build tree
5941 # simply because there is no reason against having it here, and in addition,
5942 # creating and moving files from /tmp can sometimes cause problems.
5943 # Hook for its removal unless debugging.
5944 # Note that there is a small window in which the directory will not be cleaned:
5945 # after its creation but before its name has been assigned to `$tmp'.
5949 trap 'exit_status=$?
5950 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5952 trap '{ (exit 1); exit 1; }' 1 2 13 15
5954 # Create a (secure) tmp directory for tmp files.
5957 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5958 test -n "$tmp" && test -d "$tmp"
5961 tmp
=.
/conf$$
-$RANDOM
5962 (umask 077 && mkdir
"$tmp")
5965 echo "$me: cannot create a temporary directory in ." >&2
5966 { (exit 1); exit 1; }
5970 # Set up the sed scripts for CONFIG_FILES section.
5973 # No need to generate the scripts if there are no CONFIG_FILES.
5974 # This happens for instance when ./config.status config.h
5975 if test -n "$CONFIG_FILES"; then
5982 for ac_last_try
in false false false false false
:; do
5983 cat >conf$
$subs.
sed <<_ACEOF
5984 SHELL!$SHELL$ac_delim
5985 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5986 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5987 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5988 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5989 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5990 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5991 exec_prefix!$exec_prefix$ac_delim
5992 prefix!$prefix$ac_delim
5993 program_transform_name!$program_transform_name$ac_delim
5994 bindir!$bindir$ac_delim
5995 sbindir!$sbindir$ac_delim
5996 libexecdir!$libexecdir$ac_delim
5997 datarootdir!$datarootdir$ac_delim
5998 datadir!$datadir$ac_delim
5999 sysconfdir!$sysconfdir$ac_delim
6000 sharedstatedir!$sharedstatedir$ac_delim
6001 localstatedir!$localstatedir$ac_delim
6002 includedir!$includedir$ac_delim
6003 oldincludedir!$oldincludedir$ac_delim
6004 docdir!$docdir$ac_delim
6005 infodir!$infodir$ac_delim
6006 htmldir!$htmldir$ac_delim
6007 dvidir!$dvidir$ac_delim
6008 pdfdir!$pdfdir$ac_delim
6009 psdir!$psdir$ac_delim
6010 libdir!$libdir$ac_delim
6011 localedir!$localedir$ac_delim
6012 mandir!$mandir$ac_delim
6014 ECHO_C!$ECHO_C$ac_delim
6015 ECHO_N!$ECHO_N$ac_delim
6016 ECHO_T!$ECHO_T$ac_delim
6018 build_alias!$build_alias$ac_delim
6019 host_alias!$host_alias$ac_delim
6020 target_alias!$target_alias$ac_delim
6021 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6022 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6023 INSTALL_DATA!$INSTALL_DATA$ac_delim
6024 am__isrc!$am__isrc$ac_delim
6025 CYGPATH_W!$CYGPATH_W$ac_delim
6026 PACKAGE!$PACKAGE$ac_delim
6027 VERSION!$VERSION$ac_delim
6028 ACLOCAL!$ACLOCAL$ac_delim
6029 AUTOCONF!$AUTOCONF$ac_delim
6030 AUTOMAKE!$AUTOMAKE$ac_delim
6031 AUTOHEADER!$AUTOHEADER$ac_delim
6032 MAKEINFO!$MAKEINFO$ac_delim
6033 install_sh!$install_sh$ac_delim
6034 STRIP!$STRIP$ac_delim
6035 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
6036 mkdir_p!$mkdir_p$ac_delim
6038 SET_MAKE!$SET_MAKE$ac_delim
6039 am__leading_dot!$am__leading_dot$ac_delim
6040 AMTAR!$AMTAR$ac_delim
6041 am__tar!$am__tar$ac_delim
6042 am__untar!$am__untar$ac_delim
6044 CFLAGS!$CFLAGS$ac_delim
6045 LDFLAGS!$LDFLAGS$ac_delim
6046 CPPFLAGS!$CPPFLAGS$ac_delim
6047 ac_ct_CC!$ac_ct_CC$ac_delim
6048 EXEEXT!$EXEEXT$ac_delim
6049 OBJEXT!$OBJEXT$ac_delim
6050 DEPDIR!$DEPDIR$ac_delim
6051 am__include!$am__include$ac_delim
6052 am__quote!$am__quote$ac_delim
6053 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
6054 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
6055 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
6056 CCDEPMODE!$CCDEPMODE$ac_delim
6057 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
6058 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
6060 CXXFLAGS!$CXXFLAGS$ac_delim
6061 ac_ct_CXX!$ac_ct_CXX$ac_delim
6062 CXXDEPMODE!$CXXDEPMODE$ac_delim
6063 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
6064 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
6065 RANLIB!$RANLIB$ac_delim
6068 EGREP!$EGREP$ac_delim
6069 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
6070 SDL_LIBS!$SDL_LIBS$ac_delim
6071 HAVE_PYTHON!$HAVE_PYTHON$ac_delim
6072 PYTHON_CFLAGS!$PYTHON_CFLAGS$ac_delim
6073 PYTHON_LIBS!$PYTHON_LIBS$ac_delim
6074 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
6075 HILDON_LIBS!$HILDON_LIBS$ac_delim
6076 desktopentrydir!$desktopentrydir$ac_delim
6077 serviceentrydir!$serviceentrydir$ac_delim
6078 icon_26x26dir!$icon_26x26dir$ac_delim
6079 icon_34x34dir!$icon_34x34dir$ac_delim
6080 icon_40x40dir!$icon_40x40dir$ac_delim
6083 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
6085 elif $ac_last_try; then
6086 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6087 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6088 { (exit 1); exit 1; }; }
6090 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
6094 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6095 if test -n "$ac_eof"; then
6096 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
6097 ac_eof
=`expr $ac_eof + 1`
6100 cat >>$CONFIG_STATUS <<_ACEOF
6101 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6105 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6106 s/^/s,@/; s/!/@,|#_!!_#|/
6109 s/'"$ac_delim"'$/,g/; t
6111 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6112 ' >>$CONFIG_STATUS <conf$
$subs.
sed
6113 rm -f conf$
$subs.
sed
6114 cat >>$CONFIG_STATUS <<_ACEOF
6120 for ac_last_try
in false false false false false
:; do
6121 cat >conf$
$subs.
sed <<_ACEOF
6122 icon_50x50dir!$icon_50x50dir$ac_delim
6123 icon_64x64dir!$icon_64x64dir$ac_delim
6124 icon_scalabledir!$icon_scalabledir$ac_delim
6125 LIBOBJS!$LIBOBJS$ac_delim
6126 LTLIBOBJS!$LTLIBOBJS$ac_delim
6129 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
6131 elif $ac_last_try; then
6132 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6133 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6134 { (exit 1); exit 1; }; }
6136 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
6140 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6141 if test -n "$ac_eof"; then
6142 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
6143 ac_eof
=`expr $ac_eof + 1`
6146 cat >>$CONFIG_STATUS <<_ACEOF
6147 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
6148 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6151 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6152 s/^/s,@/; s/!/@,|#_!!_#|/
6155 s/'"$ac_delim"'$/,g/; t
6157 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6158 ' >>$CONFIG_STATUS <conf$
$subs.
sed
6159 rm -f conf$
$subs.
sed
6160 cat >>$CONFIG_STATUS <<_ACEOF
6167 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6168 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6169 # trailing colons and then remove the whole line if VPATH becomes empty
6170 # (actually we leave an empty line to preserve line numbers).
6171 if test "x$srcdir" = x.
; then
6172 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6176 s/^\([^=]*=[ ]*\):*/\1/
6182 cat >>$CONFIG_STATUS <<\_ACEOF
6183 fi # test -n "$CONFIG_FILES"
6186 for ac_tag
in :F
$CONFIG_FILES :C
$CONFIG_COMMANDS
6189 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6191 case $ac_mode$ac_tag in
6193 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6194 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6195 { (exit 1); exit 1; }; };;
6196 :[FH
]-) ac_tag
=-:-;;
6197 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6214 -) ac_f
="$tmp/stdin";;
6215 *) # Look for the file first in the build tree, then in the source tree
6216 # (if the path is not absolute). The absolute path cannot be DOS-style,
6217 # because $ac_f cannot contain `:'.
6221 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6223 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6224 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6225 { (exit 1); exit 1; }; };;
6227 ac_file_inputs
="$ac_file_inputs $ac_f"
6230 # Let's still pretend it is `configure' which instantiates (i.e., don't
6231 # use $as_me), people would be surprised to read:
6232 # /* config.h. Generated by config.status. */
6233 configure_input
="Generated from "`IFS=:
6234 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6235 if test x
"$ac_file" != x-
; then
6236 configure_input
="$ac_file. $configure_input"
6237 { echo "$as_me:$LINENO: creating $ac_file" >&5
6238 echo "$as_me: creating $ac_file" >&6;}
6242 *:-:* |
*:-) cat >"$tmp/stdin";;
6247 ac_dir
=`$as_dirname -- "$ac_file" ||
6248 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6249 X"$ac_file" : 'X\(//\)[^/]' \| \
6250 X"$ac_file" : 'X\(//\)$' \| \
6251 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6272 -*) as_dir
=.
/$as_dir;;
6274 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
6278 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6279 *) as_qdir
=$as_dir;;
6281 as_dirs
="'$as_qdir' $as_dirs"
6282 as_dir
=`$as_dirname -- "$as_dir" ||
6283 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6284 X"$as_dir" : 'X\(//\)[^/]' \| \
6285 X"$as_dir" : 'X\(//\)$' \| \
6286 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6305 test -d "$as_dir" && break
6307 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6308 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6309 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6310 { (exit 1); exit 1; }; }; }
6314 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6316 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6317 # A ".." for each directory in $ac_dir_suffix.
6318 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6319 case $ac_top_builddir_sub in
6320 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6321 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6324 ac_abs_top_builddir
=$ac_pwd
6325 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6326 # for backward compatibility:
6327 ac_top_builddir
=$ac_top_build_prefix
6330 .
) # We are building in place.
6332 ac_top_srcdir
=$ac_top_builddir_sub
6333 ac_abs_top_srcdir
=$ac_pwd ;;
6334 [\\/]* | ?
:[\\/]* ) # Absolute name.
6335 ac_srcdir
=$srcdir$ac_dir_suffix;
6336 ac_top_srcdir
=$srcdir
6337 ac_abs_top_srcdir
=$srcdir ;;
6339 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6340 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6341 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6343 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6353 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6354 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6358 [\\/$
]* | ?
:[\\/]* ) ;;
6359 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
6363 cat >>$CONFIG_STATUS <<\_ACEOF
6364 # If the template does not know about datarootdir, expand it.
6365 # FIXME: This hack should be removed a few years after 2.60.
6366 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6368 case `sed -n '/datarootdir/ {
6377 ' $ac_file_inputs` in
6378 *datarootdir
*) ac_datarootdir_seen
=yes;;
6379 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6380 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6381 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6383 cat >>$CONFIG_STATUS <<_ACEOF
6384 ac_datarootdir_hack='
6385 s&@datadir@&$datadir&g
6386 s&@docdir@&$docdir&g
6387 s&@infodir@&$infodir&g
6388 s&@localedir@&$localedir&g
6389 s&@mandir@&$mandir&g
6390 s&\\\${datarootdir}&$datarootdir&g' ;;
6394 # Neutralize VPATH when `$srcdir' = `.'.
6395 # Shell code in configure.ac might set extrasub.
6396 # FIXME: do we really want to maintain this feature?
6397 cat >>$CONFIG_STATUS <<_ACEOF
6401 cat >>$CONFIG_STATUS <<\_ACEOF
6403 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6404 s
&@configure_input@
&$configure_input&;t t
6405 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6406 s
&@srcdir@
&$ac_srcdir&;t t
6407 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6408 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6409 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6410 s
&@builddir@
&$ac_builddir&;t t
6411 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6412 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6413 s
&@INSTALL@
&$ac_INSTALL&;t t
6414 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
6415 $ac_datarootdir_hack
6416 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
6418 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6419 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6420 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6421 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6422 which seems to be undefined. Please make sure it is defined." >&5
6423 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6424 which seems to be undefined. Please make sure it is defined." >&2;}
6428 -) cat "$tmp/out"; rm -f "$tmp/out";;
6429 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6434 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6435 echo "$as_me: executing $ac_file commands" >&6;}
6440 case $ac_file$ac_mode in
6441 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6442 # Strip MF so we end up with the name of the file.
6443 mf=`echo "$mf" | sed -e 's
/:.
*$
//'`
6444 # Check whether this is an Automake generated Makefile or not.
6445 # We used to match only the files named `Makefile.in', but
6446 # some people rename them; so instead we look at the file content.
6447 # Grep'ing the first line is not enough: some people post-process
6448 # each Makefile.in and add a new line on top of each file to say so.
6449 # Grep'ing the whole file is not good either: AIX grep has a line
6450 # limit of 2048, but all sed's we know have understand at least 4000.
6451 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
6452 dirpart
=`$as_dirname -- "$mf" ||
6453 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6454 X"$mf" : 'X\(//\)[^/]' \| \
6455 X"$mf" : 'X\(//\)$' \| \
6456 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6478 # Extract the definition of DEPDIR, am__include, and am__quote
6479 # from the Makefile without running `make'.
6480 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6481 test -z "$DEPDIR" && continue
6482 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6483 test -z "am__include" && continue
6484 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6485 # When using ansi2knr, U may be empty or an underscore; expand it
6486 U
=`sed -n 's/^U = //p' < "$mf"`
6487 # Find all dependency output files, they are included files with
6488 # $(DEPDIR) in their names. We invoke sed twice because it is the
6489 # simplest approach to changing $(DEPDIR) to its actual value in the
6491 for file in `sed -n "
6492 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6493 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6494 # Make sure the directory exists.
6495 test -f "$dirpart/$file" && continue
6496 fdir
=`$as_dirname -- "$file" ||
6497 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6498 X"$file" : 'X\(//\)[^/]' \| \
6499 X"$file" : 'X\(//\)$' \| \
6500 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6519 { as_dir
=$dirpart/$fdir
6521 -*) as_dir
=.
/$as_dir;;
6523 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
6527 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6528 *) as_qdir
=$as_dir;;
6530 as_dirs
="'$as_qdir' $as_dirs"
6531 as_dir
=`$as_dirname -- "$as_dir" ||
6532 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6533 X"$as_dir" : 'X\(//\)[^/]' \| \
6534 X"$as_dir" : 'X\(//\)$' \| \
6535 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6554 test -d "$as_dir" && break
6556 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6557 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6558 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6559 { (exit 1); exit 1; }; }; }
6560 # echo "creating $dirpart/$file"
6561 echo '# dummy' > "$dirpart/$file"
6570 { (exit 0); exit 0; }
6572 chmod +x
$CONFIG_STATUS
6573 ac_clean_files
=$ac_clean_files_save
6576 # configure is writing to config.log, and then calls config.status.
6577 # config.status does its own redirection, appending to config.log.
6578 # Unfortunately, on DOS this fails, as config.log is still kept open
6579 # by configure, so config.status won't be able to write to it; its
6580 # output is simply discarded. So we exec the FD to /dev/null,
6581 # effectively closing config.log, so it can be properly (re)opened and
6582 # appended to by config.status. When coming back to configure, we
6583 # need to make the FD available again.
6584 if test "$no_create" != yes; then
6586 ac_config_status_args
=
6587 test "$silent" = yes &&
6588 ac_config_status_args
="$ac_config_status_args --quiet"
6590 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6592 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6593 # would make configure fail if this is the last instruction.
6594 $ac_cs_success ||
{ (exit 1); exit 1; }