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="configure.in"
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
666 INSTALL_STRIP_PROGRAM
675 MAINTAINER_MODE_FALSE
708 am__fastdepCC_FOR_BUILD_TRUE
709 am__fastdepCC_FOR_BUILD_FALSE
728 am__fastdepOBJC_FALSE
756 GLIB_FOR_BUILD_CFLAGS
833 ac_precious_vars='build_alias
858 GLIB_FOR_BUILD_CFLAGS
874 # Initialize some variables set by options.
876 ac_init_version=false
877 # The variables have the same names as the options, with
878 # dashes changed to underlines.
886 program_transform_name=s,x,x,
894 # Installation directory options.
895 # These are left unexpanded so users can "make install exec_prefix=/foo"
896 # and all the variables that are supposed to be based on exec_prefix
897 # by default will actually change.
898 # Use braces instead of parens because sh, perl, etc. also accept them.
899 # (The list follows the same order as the GNU Coding Standards.)
900 bindir='${exec_prefix}/bin'
901 sbindir='${exec_prefix}/sbin'
902 libexecdir='${exec_prefix}/libexec'
903 datarootdir='${prefix}/share'
904 datadir='${datarootdir}'
905 sysconfdir='${prefix}/etc'
906 sharedstatedir='${prefix}/com'
907 localstatedir='${prefix}/var'
908 includedir='${prefix}/include'
909 oldincludedir='/usr/include'
910 docdir='${datarootdir}/doc/${PACKAGE}'
911 infodir='${datarootdir}/info'
916 libdir='${exec_prefix}/lib'
917 localedir='${datarootdir}/locale'
918 mandir='${datarootdir}/man'
924 # If the previous option needs an argument, assign it.
925 if test -n "$ac_prev"; then
926 eval $ac_prev=\$ac_option
932 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
936 # Accept the important Cygnus configure options, so we can diagnose typos.
938 case $ac_dashdash$ac_option in
942 -bindir | --bindir | --bindi | --bind | --bin | --bi)
944 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
947 -build | --build | --buil | --bui | --bu)
948 ac_prev=build_alias ;;
949 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
950 build_alias=$ac_optarg ;;
952 -cache-file | --cache-file | --cache-fil | --cache-fi \
953 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
954 ac_prev=cache_file ;;
955 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
956 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
957 cache_file=$ac_optarg ;;
960 cache_file=config.cache ;;
962 -datadir | --datadir | --datadi | --datad)
964 -datadir=* | --datadir=* | --datadi=* | --datad=*)
965 datadir=$ac_optarg ;;
967 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
968 | --dataroo | --dataro | --datar)
969 ac_prev=datarootdir ;;
970 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
971 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
972 datarootdir=$ac_optarg ;;
974 -disable-* | --disable-*)
975 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
978 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
979 { (exit 1); exit 1; }; }
980 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
981 eval enable_$ac_feature=no ;;
983 -docdir | --docdir | --docdi | --doc | --do)
985 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
988 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
990 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
993 -enable-* | --enable-*)
994 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
997 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
998 { (exit 1); exit 1; }; }
999 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1000 eval enable_$ac_feature=\$ac_optarg ;;
1002 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1003 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1004 | --exec | --exe | --ex)
1005 ac_prev=exec_prefix ;;
1006 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1007 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1008 | --exec=* | --exe=* | --ex=*)
1009 exec_prefix=$ac_optarg ;;
1011 -gas | --gas | --ga | --g)
1012 # Obsolete; use --with-gas.
1015 -help | --help | --hel | --he | -h)
1016 ac_init_help=long ;;
1017 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1018 ac_init_help=recursive ;;
1019 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1020 ac_init_help=short ;;
1022 -host | --host | --hos | --ho)
1023 ac_prev=host_alias ;;
1024 -host=* | --host=* | --hos=* | --ho=*)
1025 host_alias=$ac_optarg ;;
1027 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1029 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1031 htmldir=$ac_optarg ;;
1033 -includedir | --includedir | --includedi | --included | --include \
1034 | --includ | --inclu | --incl | --inc)
1035 ac_prev=includedir ;;
1036 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1037 | --includ=* | --inclu=* | --incl=* | --inc=*)
1038 includedir=$ac_optarg ;;
1040 -infodir | --infodir | --infodi | --infod | --info | --inf)
1042 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1043 infodir=$ac_optarg ;;
1045 -libdir | --libdir | --libdi | --libd)
1047 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1048 libdir=$ac_optarg ;;
1050 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1051 | --libexe | --libex | --libe)
1052 ac_prev=libexecdir ;;
1053 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1054 | --libexe=* | --libex=* | --libe=*)
1055 libexecdir=$ac_optarg ;;
1057 -localedir | --localedir | --localedi | --localed | --locale)
1058 ac_prev=localedir ;;
1059 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1060 localedir=$ac_optarg ;;
1062 -localstatedir | --localstatedir | --localstatedi | --localstated \
1063 | --localstate | --localstat | --localsta | --localst | --locals)
1064 ac_prev=localstatedir ;;
1065 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1066 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1067 localstatedir=$ac_optarg ;;
1069 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1071 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1072 mandir=$ac_optarg ;;
1074 -nfp | --nfp | --nf)
1075 # Obsolete; use --without-fp.
1078 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1079 | --no-cr | --no-c | -n)
1082 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1083 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1086 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1087 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1088 | --oldin | --oldi | --old | --ol | --o)
1089 ac_prev=oldincludedir ;;
1090 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1091 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1092 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1093 oldincludedir=$ac_optarg ;;
1095 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1097 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1098 prefix=$ac_optarg ;;
1100 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1101 | --program-pre | --program-pr | --program-p)
1102 ac_prev=program_prefix ;;
1103 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1104 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1105 program_prefix=$ac_optarg ;;
1107 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1108 | --program-suf | --program-su | --program-s)
1109 ac_prev=program_suffix ;;
1110 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1111 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1112 program_suffix=$ac_optarg ;;
1114 -program-transform-name | --program-transform-name \
1115 | --program-transform-nam | --program-transform-na \
1116 | --program-transform-n | --program-transform- \
1117 | --program-transform | --program-transfor \
1118 | --program-transfo | --program-transf \
1119 | --program-trans | --program-tran \
1120 | --progr-tra | --program-tr | --program-t)
1121 ac_prev=program_transform_name ;;
1122 -program-transform-name=* | --program-transform-name=* \
1123 | --program-transform-nam=* | --program-transform-na=* \
1124 | --program-transform-n=* | --program-transform-=* \
1125 | --program-transform=* | --program-transfor=* \
1126 | --program-transfo=* | --program-transf=* \
1127 | --program-trans=* | --program-tran=* \
1128 | --progr-tra=* | --program-tr=* | --program-t=*)
1129 program_transform_name=$ac_optarg ;;
1131 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1133 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1134 pdfdir=$ac_optarg ;;
1136 -psdir | --psdir | --psdi | --psd | --ps)
1138 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1141 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1142 | -silent | --silent | --silen | --sile | --sil)
1145 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1147 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1149 sbindir=$ac_optarg ;;
1151 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1152 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1153 | --sharedst | --shareds | --shared | --share | --shar \
1155 ac_prev=sharedstatedir ;;
1156 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1157 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1158 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1160 sharedstatedir=$ac_optarg ;;
1162 -site | --site | --sit)
1164 -site=* | --site=* | --sit=*)
1167 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1169 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1170 srcdir=$ac_optarg ;;
1172 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1173 | --syscon | --sysco | --sysc | --sys | --sy)
1174 ac_prev=sysconfdir ;;
1175 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1176 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1177 sysconfdir=$ac_optarg ;;
1179 -target | --target | --targe | --targ | --tar | --ta | --t)
1180 ac_prev=target_alias ;;
1181 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1182 target_alias=$ac_optarg ;;
1184 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1187 -version | --version | --versio | --versi | --vers | -V)
1188 ac_init_version=: ;;
1191 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1194 { echo "$as_me: error: invalid package name: $ac_package" >&2
1195 { (exit 1); exit 1; }; }
1196 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1197 eval with_$ac_package=\$ac_optarg ;;
1199 -without-* | --without-*)
1200 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid package name: $ac_package" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1206 eval with_$ac_package=no ;;
1209 # Obsolete; use --with-x.
1212 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1213 | --x-incl | --x-inc | --x-in | --x-i)
1214 ac_prev=x_includes ;;
1215 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1216 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1217 x_includes=$ac_optarg ;;
1219 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1220 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1221 ac_prev=x_libraries ;;
1222 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1223 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1224 x_libraries=$ac_optarg ;;
1226 -*) { echo "$as_me: error: unrecognized option: $ac_option
1227 Try \`$0 --help' for more information." >&2
1228 { (exit 1); exit 1; }; }
1232 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1233 # Reject names that are not valid shell variable names.
1234 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1235 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1236 { (exit 1); exit 1; }; }
1237 eval $ac_envvar=\$ac_optarg
1238 export $ac_envvar ;;
1241 # FIXME: should be removed in autoconf 3.0.
1242 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1244 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1245 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1251 if test -n "$ac_prev"; then
1252 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1253 { echo "$as_me: error: missing argument to $ac_option" >&2
1254 { (exit 1); exit 1; }; }
1257 # Be sure to have absolute directory names.
1258 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1259 datadir sysconfdir sharedstatedir localstatedir includedir \
1260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1261 libdir localedir mandir
1263 eval ac_val=\$$ac_var
1265 [\\/$]* | ?:[\\/]* ) continue;;
1266 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1268 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1269 { (exit 1); exit 1; }; }
1272 # There might be people who depend on the old broken behavior: `$host'
1273 # used to hold the argument of --host etc.
1274 # FIXME: To remove some day.
1277 target=$target_alias
1279 # FIXME: To remove some day.
1280 if test "x$host_alias" != x; then
1281 if test "x$build_alias" = x; then
1282 cross_compiling=maybe
1283 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1284 If a cross compiler is detected then cross compile mode will be used." >&2
1285 elif test "x$build_alias" != "x$host_alias"; then
1291 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1293 test "$silent" = yes && exec 6>/dev/null
1296 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1297 ac_ls_di=`ls -di .` &&
1298 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1299 { echo "$as_me: error: Working directory cannot be determined" >&2
1300 { (exit 1); exit 1; }; }
1301 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 { echo "$as_me: error: pwd does not report name of working directory" >&2
1303 { (exit 1); exit 1; }; }
1306 # Find the source files, if location was not specified.
1307 if test -z "$srcdir"; then
1308 ac_srcdir_defaulted=yes
1309 # Try the directory containing this script, then the parent directory.
1310 ac_confdir=`$as_dirname -- "$0" ||
1311 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1312 X"$0" : 'X\(//\)[^/]' \| \
1313 X"$0" : 'X\(//\)$' \| \
1314 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1334 if test ! -r "$srcdir/$ac_unique_file"; then
1338 ac_srcdir_defaulted=no
1340 if test ! -r "$srcdir/$ac_unique_file"; then
1341 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1342 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1343 { (exit 1); exit 1; }; }
1345 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1347 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1348 { (exit 1); exit 1; }; }
1350 # When building in place, set srcdir=.
1351 if test "$ac_abs_confdir" = "$ac_pwd"; then
1354 # Remove unnecessary trailing slashes from srcdir.
1355 # Double slashes in file names in object file debugging info
1356 # mess up M-x gdb in Emacs.
1358 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1360 for ac_var in $ac_precious_vars; do
1361 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1362 eval ac_env_${ac_var}_value=\$${ac_var}
1363 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1364 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1368 # Report the --help message.
1370 if test "$ac_init_help" = "long"; then
1371 # Omit some internal or obsolete options to make the list less imposing.
1372 # This message is too long to be a string in the A/UX 3.1 sh.
1374 \`configure' configures this package to adapt to many kinds of systems.
1376 Usage: $0 [OPTION]... [VAR=VALUE]...
1378 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1379 VAR=VALUE. See below for descriptions of some of the useful variables.
1381 Defaults for the options are specified in brackets.
1384 -h, --help display this help and exit
1385 --help=short display options specific to this package
1386 --help=recursive display the short help of all the included packages
1387 -V, --version display version information and exit
1388 -q, --quiet, --silent do not print \`checking...' messages
1389 --cache-file=FILE cache test results in FILE [disabled]
1390 -C, --config-cache alias for \`--cache-file=config.cache'
1391 -n, --no-create do not create output files
1392 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1394 Installation directories:
1395 --prefix=PREFIX install architecture-independent files in PREFIX
1396 [$ac_default_prefix]
1397 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1400 By default, \`make install' will install all the files in
1401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1402 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1403 for instance \`--prefix=\$HOME'.
1405 For better control, use the options below.
1407 Fine tuning of the installation directories:
1408 --bindir=DIR user executables [EPREFIX/bin]
1409 --sbindir=DIR system admin executables [EPREFIX/sbin]
1410 --libexecdir=DIR program executables [EPREFIX/libexec]
1411 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1412 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1413 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1414 --libdir=DIR object code libraries [EPREFIX/lib]
1415 --includedir=DIR C header files [PREFIX/include]
1416 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1417 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1418 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1419 --infodir=DIR info documentation [DATAROOTDIR/info]
1420 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1421 --mandir=DIR man documentation [DATAROOTDIR/man]
1422 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1423 --htmldir=DIR html documentation [DOCDIR]
1424 --dvidir=DIR dvi documentation [DOCDIR]
1425 --pdfdir=DIR pdf documentation [DOCDIR]
1426 --psdir=DIR ps documentation [DOCDIR]
1432 --program-prefix=PREFIX prepend PREFIX to installed program names
1433 --program-suffix=SUFFIX append SUFFIX to installed program names
1434 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1437 --build=BUILD configure for building on BUILD [guessed]
1438 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1442 if test -n "$ac_init_help"; then
1447 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1448 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1449 --enable-maintainer-mode enable make rules and dependencies not useful
1450 (and sometimes confusing) to the casual installer
1451 --disable-dependency-tracking speeds up one-time build
1452 --enable-dependency-tracking do not reject slow dependency extractors
1453 --enable-strict-warn Enable strict compilation warnings
1454 --disable-translator Disable the SH4 translator (Enabled by default)
1455 --disable-optimized Disable compile-time optimizations (Enabled by
1457 --enable-shared Build drivers as shared libraries (Enabled if
1459 --enable-profiled Enable profiling build
1460 --enable-trace Enable generation of IO traces (warning: hurts
1462 --enable-watch Enable watchpoints in the debugger (warning: hurts
1464 --enable-sh4stats Enable statistics on executed sh4 instructions
1467 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1468 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1469 --with-osmesa Build with the osmesa GL library (software
1471 --with-gtk Build with the GTK UI. Default on X11 systems
1472 --with-esd Build with support for the ESounD audio system
1473 --with-pulse Build with support for the PulseAudio audio system
1474 --with-sdl Build with support for SDL audio
1475 --with-sysroot=SYSROOT Build using an alternate sysroot
1476 --with-android=SDK Specify the location of the Android SDK
1477 --with-android-ndk=NDK Specify the location of the Android NDK
1478 --with-android-version Specify target Android SDK version
1479 --with-android-version Specify target Android NDK version
1480 --with-android-abi Specify target Android ABI
1482 Some influential environment variables:
1483 CC C compiler command
1484 CFLAGS C compiler flags
1485 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1486 nonstandard directory <lib dir>
1487 LIBS libraries to pass to the linker, e.g. -l<library>
1488 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1489 you have headers in a nonstandard directory <include dir>
1491 OBJC Objective C compiler command
1492 OBJCFLAGS Objective C compiler flags
1493 CCAS assembler compiler command (defaults to CC)
1494 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1495 PKG_CONFIG path to pkg-config utility
1497 C compiler flags for LIBPNG, overriding pkg-config
1498 LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
1499 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1500 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1501 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1502 GTK_LIBS linker flags for GTK, overriding pkg-config
1503 GLIB_FOR_BUILD_CFLAGS
1504 C compiler flags for GLIB_FOR_BUILD, overriding pkg-config
1506 linker flags for GLIB_FOR_BUILD, overriding pkg-config
1508 C compiler flags for LIBISOFS, overriding pkg-config
1510 linker flags for LIBISOFS, overriding pkg-config
1512 C compiler flags for LIBGL, overriding pkg-config
1513 LIBGL_LIBS linker flags for LIBGL, overriding pkg-config
1514 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
1515 SDL_LIBS linker flags for SDL, overriding pkg-config
1517 C compiler flags for PULSE, overriding pkg-config
1518 PULSE_LIBS linker flags for PULSE, overriding pkg-config
1520 C compiler flags for ESOUND, overriding pkg-config
1521 ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
1522 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1523 ALSA_LIBS linker flags for ALSA, overriding pkg-config
1525 Use these variables to override the choices made by `configure' or to help
1526 it to find libraries and programs with nonstandard names/locations.
1532 if test "$ac_init_help" = "recursive"; then
1533 # If there are subdirs, report their specific --help.
1534 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1535 test -d "$ac_dir" || continue
1539 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1541 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1542 # A ".." for each directory in $ac_dir_suffix.
1543 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1544 case $ac_top_builddir_sub in
1545 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1546 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1549 ac_abs_top_builddir=$ac_pwd
1550 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1551 # for backward compatibility:
1552 ac_top_builddir=$ac_top_build_prefix
1555 .) # We are building in place.
1557 ac_top_srcdir=$ac_top_builddir_sub
1558 ac_abs_top_srcdir=$ac_pwd ;;
1559 [\\/]* | ?:[\\/]* ) # Absolute name.
1560 ac_srcdir=$srcdir$ac_dir_suffix;
1561 ac_top_srcdir=$srcdir
1562 ac_abs_top_srcdir=$srcdir ;;
1564 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1565 ac_top_srcdir=$ac_top_build_prefix$srcdir
1566 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1568 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1570 cd "$ac_dir" || { ac_status=$?; continue; }
1571 # Check for guested configure.
1572 if test -f "$ac_srcdir/configure.gnu"; then
1574 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1575 elif test -f "$ac_srcdir/configure"; then
1577 $SHELL "$ac_srcdir/configure" --help=recursive
1579 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1581 cd "$ac_pwd" || { ac_status=$?; break; }
1585 test -n "$ac_init_help" && exit $ac_status
1586 if $ac_init_version; then
1589 generated by GNU Autoconf 2.61
1591 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1592 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1593 This configure script is free software; the Free Software Foundation
1594 gives unlimited permission to copy, distribute and modify it.
1598 cat >config.log <<_ACEOF
1599 This file contains any messages produced by compilers while
1600 running configure, to aid debugging if configure makes a mistake.
1602 It was created by $as_me, which was
1603 generated by GNU Autoconf 2.61. Invocation command line was
1615 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1616 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1617 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1618 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1619 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1621 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1622 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1624 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1625 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1626 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1627 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1628 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1629 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1630 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1638 test -z "$as_dir" && as_dir=.
1639 echo "PATH: $as_dir"
1655 # Keep a trace of the command line.
1656 # Strip out --no-create and --no-recursion so they do not pile up.
1657 # Strip out --silent because we don't want to record it for future runs.
1658 # Also quote any args containing shell meta-characters.
1659 # Make two passes to allow for proper duplicate-argument suppression.
1663 ac_must_keep_next=false
1669 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1670 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1671 | -silent | --silent | --silen | --sile | --sil)
1674 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1677 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1679 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1680 if test $ac_must_keep_next = true; then
1681 ac_must_keep_next=false # Got value, back to normal.
1684 *=* | --config-cache | -C | -disable-* | --disable-* \
1685 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1686 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1687 | -with-* | --with-* | -without-* | --without-* | --x)
1688 case "$ac_configure_args0 " in
1689 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1692 -* ) ac_must_keep_next=true ;;
1695 ac_configure_args="$ac_configure_args '$ac_arg'"
1700 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1701 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1703 # When interrupted or exit'd, cleanup temporary files, and complete
1704 # config.log. We remove comments because anyway the quotes in there
1705 # would cause problems or look ugly.
1706 # WARNING: Use '\'' to represent an apostrophe within the trap.
1707 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1708 trap 'exit_status=$?
1709 # Save into config.log some information that might help in debugging.
1714 ## ---------------- ##
1715 ## Cache variables. ##
1716 ## ---------------- ##
1719 # The following way of writing the cache mishandles newlines in values,
1721 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1722 eval ac_val=\$$ac_var
1726 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1727 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1730 _ | IFS | as_nl) ;; #(
1731 *) $as_unset $ac_var ;;
1736 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1737 *${as_nl}ac_space=\ *)
1739 "s/'\''/'\''\\\\'\'''\''/g;
1740 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1743 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1751 ## ----------------- ##
1752 ## Output variables. ##
1753 ## ----------------- ##
1756 for ac_var in $ac_subst_vars
1758 eval ac_val=\$$ac_var
1760 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1762 echo "$ac_var='\''$ac_val'\''"
1766 if test -n "$ac_subst_files"; then
1768 ## ------------------- ##
1769 ## File substitutions. ##
1770 ## ------------------- ##
1773 for ac_var in $ac_subst_files
1775 eval ac_val=\$$ac_var
1777 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1779 echo "$ac_var='\''$ac_val'\''"
1784 if test -s confdefs.h; then
1794 test "$ac_signal" != 0 &&
1795 echo "$as_me: caught signal $ac_signal"
1796 echo "$as_me: exit $exit_status"
1798 rm -f core *.core core.conftest.* &&
1799 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1802 for ac_signal in 1 2 13 15; do
1803 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1807 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1808 rm -f -r conftest* confdefs.h
1810 # Predefined preprocessor variables.
1812 cat >>confdefs.h <<_ACEOF
1813 #define PACKAGE_NAME "$PACKAGE_NAME"
1817 cat >>confdefs.h <<_ACEOF
1818 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1822 cat >>confdefs.h <<_ACEOF
1823 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1827 cat >>confdefs.h <<_ACEOF
1828 #define PACKAGE_STRING "$PACKAGE_STRING"
1832 cat >>confdefs.h <<_ACEOF
1833 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1837 # Let the site file select an alternate cache file if it wants to.
1838 # Prefer explicitly selected file to automatically selected ones.
1839 if test -n "$CONFIG_SITE"; then
1840 set x "$CONFIG_SITE"
1841 elif test "x$prefix" != xNONE; then
1842 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1844 set x "$ac_default_prefix/share/config.site" \
1845 "$ac_default_prefix/etc/config.site"
1850 if test -r "$ac_site_file"; then
1851 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1852 echo "$as_me: loading site script $ac_site_file" >&6;}
1853 sed 's/^/| /' "$ac_site_file" >&5
1858 if test -r "$cache_file"; then
1859 # Some versions of bash will fail to source /dev/null (special
1860 # files actually), so we avoid doing that.
1861 if test -f "$cache_file"; then
1862 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1863 echo "$as_me: loading cache $cache_file" >&6;}
1865 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1866 *) . "./$cache_file";;
1870 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1871 echo "$as_me: creating cache $cache_file" >&6;}
1875 # Check that the precious variables saved in the cache have kept the same
1877 ac_cache_corrupted=false
1878 for ac_var in $ac_precious_vars; do
1879 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1880 eval ac_new_set=\$ac_env_${ac_var}_set
1881 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1882 eval ac_new_val=\$ac_env_${ac_var}_value
1883 case $ac_old_set,$ac_new_set in
1885 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1886 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1887 ac_cache_corrupted=: ;;
1889 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1890 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1891 ac_cache_corrupted=: ;;
1894 if test "x$ac_old_val" != "x$ac_new_val"; then
1895 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1896 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1897 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1898 echo "$as_me: former value: $ac_old_val" >&2;}
1899 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1900 echo "$as_me: current value: $ac_new_val" >&2;}
1901 ac_cache_corrupted=:
1904 # Pass precious variables to config.status.
1905 if test "$ac_new_set" = set; then
1907 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1908 *) ac_arg=$ac_var=$ac_new_val ;;
1910 case " $ac_configure_args " in
1911 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1912 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1916 if $ac_cache_corrupted; then
1917 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1918 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1919 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1920 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1921 { (exit 1); exit 1; }; }
1941 ac_cpp='$CPP $CPPFLAGS'
1942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1947 am__api_version="1.9"
1949 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1950 if test -f "$ac_dir/install-sh"; then
1952 ac_install_sh="$ac_aux_dir/install-sh -c"
1954 elif test -f "$ac_dir/install.sh"; then
1956 ac_install_sh="$ac_aux_dir/install.sh -c"
1958 elif test -f "$ac_dir/shtool"; then
1960 ac_install_sh="$ac_aux_dir/shtool install -c"
1964 if test -z "$ac_aux_dir"; then
1965 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1966 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1967 { (exit 1); exit 1; }; }
1970 # These three variables are undocumented and unsupported,
1971 # and are intended to be withdrawn in a future Autoconf release.
1972 # They can cause serious problems if a builder's source tree is in a directory
1973 # whose full name contains unusual characters.
1974 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1975 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1976 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1979 # Find a good install program. We prefer a C program (faster),
1980 # so one script is as good as another. But avoid the broken or
1981 # incompatible versions:
1982 # SysV /etc/install, /usr/sbin/install
1983 # SunOS /usr/etc/install
1984 # IRIX /sbin/install
1986 # AmigaOS /C/install, which installs bootblocks on floppy discs
1987 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1988 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1989 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1990 # OS/2's system install, which has a completely different semantic
1991 # ./install, which can be erroneously created by make from ./install.sh.
1992 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1993 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1994 if test -z "$INSTALL"; then
1995 if test "${ac_cv_path_install+set}" = set; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2002 test -z "$as_dir" && as_dir=.
2003 # Account for people who put trailing slashes in PATH elements.
2005 ./ | .// | /cC/* | \
2006 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2007 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2010 # OSF1 and SCO ODT 3.0 have their own names for install.
2011 # Don't use installbsd from OSF since it installs stuff as root
2013 for ac_prog in ginstall scoinst install; do
2014 for ac_exec_ext in '' $ac_executable_extensions; do
2015 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2016 if test $ac_prog = install &&
2017 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2018 # AIX install. It has an incompatible calling convention.
2020 elif test $ac_prog = install &&
2021 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2022 # program-specific install script used by HP pwplus--don't use.
2025 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2038 if test "${ac_cv_path_install+set}" = set; then
2039 INSTALL=$ac_cv_path_install
2041 # As a last resort, use the slow shell script. Don't cache a
2042 # value for INSTALL within a source directory, because that will
2043 # break other packages using the cache if that directory is
2044 # removed, or if the value is a relative name.
2045 INSTALL=$ac_install_sh
2048 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2049 echo "${ECHO_T}$INSTALL" >&6; }
2051 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2052 # It thinks the first close brace ends the variable substitution.
2053 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2055 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2057 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2059 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2060 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2063 echo timestamp > conftest.file
2064 # Do `set' in a subshell so we don't clobber the current shell's
2065 # arguments. Must try -L first in case configure is actually a
2066 # symlink; some systems play weird games with the mod time of symlinks
2067 # (eg FreeBSD returns the mod time of the symlink's containing
2070 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2071 if test "$*" = "X"; then
2073 set X `ls -t $srcdir/configure conftest.file`
2076 if test "$*" != "X $srcdir/configure conftest.file" \
2077 && test "$*" != "X conftest.file $srcdir/configure"; then
2079 # If neither matched, then we have a broken ls. This can happen
2080 # if, for instance, CONFIG_SHELL is bash and it inherits a
2081 # broken ls alias from the environment. This has actually
2082 # happened. Such a system could not be considered "sane".
2083 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2084 alias in your environment" >&5
2085 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2086 alias in your environment" >&2;}
2087 { (exit 1); exit 1; }; }
2090 test "$2" = conftest.file
2096 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2097 Check your system clock" >&5
2098 echo "$as_me: error: newly created file is older than distributed files!
2099 Check your system clock" >&2;}
2100 { (exit 1); exit 1; }; }
2102 { echo "$as_me:$LINENO: result: yes" >&5
2103 echo "${ECHO_T}yes" >&6; }
2104 test "$program_prefix" != NONE &&
2105 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2106 # Use a double $ so make ignores it.
2107 test "$program_suffix" != NONE &&
2108 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2109 # Double any \ or $. echo might interpret backslashes.
2110 # By default was `s,x,x', remove it if useless.
2111 cat <<\_ACEOF >conftest.sed
2112 s/[\\$]/&&/g;s/;s,x,x,$//
2114 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2117 # expand $ac_aux_dir to an absolute path
2118 am_aux_dir=`cd $ac_aux_dir && pwd`
2120 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2121 # Use eval to expand $SHELL
2122 if eval "$MISSING --run true"; then
2123 am_missing_run="$MISSING --run "
2126 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2127 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2130 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2131 # We used to keeping the `.' as first argument, in order to
2132 # allow $(mkdir_p) to be used without argument. As in
2133 # $(mkdir_p) $(somedir)
2134 # where $(somedir) is conditionally defined. However this is wrong
2136 # 1. if the package is installed by a user who cannot write `.'
2137 # make install will fail,
2138 # 2. the above comment should most certainly read
2139 # $(mkdir_p) $(DESTDIR)$(somedir)
2140 # so it does not work when $(somedir) is undefined and
2141 # $(DESTDIR) is not.
2142 # To support the latter case, we have to write
2143 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2144 # so the `.' trick is pointless.
2145 mkdir_p='mkdir -p --'
2147 # On NextStep and OpenStep, the `mkdir' command does not
2148 # recognize any option. It will interpret all options as
2149 # directories to create, and then abort because `.' already
2151 for d in ./-p ./--version;
2153 test -d $d && rmdir $d
2155 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2156 if test -f "$ac_aux_dir/mkinstalldirs"; then
2157 mkdir_p='$(mkinstalldirs)'
2159 mkdir_p='$(install_sh) -d'
2163 for ac_prog in gawk mawk nawk awk
2165 # Extract the first word of "$ac_prog", so it can be a program name with args.
2166 set dummy $ac_prog; ac_word=$2
2167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2169 if test "${ac_cv_prog_AWK+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 if test -n "$AWK"; then
2173 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir=.
2180 for ac_exec_ext in '' $ac_executable_extensions; do
2181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2182 ac_cv_prog_AWK="$ac_prog"
2183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 if test -n "$AWK"; then
2194 { echo "$as_me:$LINENO: result: $AWK" >&5
2195 echo "${ECHO_T}$AWK" >&6; }
2197 { echo "$as_me:$LINENO: result: no" >&5
2198 echo "${ECHO_T}no" >&6; }
2202 test -n "$AWK" && break
2205 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2206 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2207 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2208 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2209 echo $ECHO_N "(cached) $ECHO_C" >&6
2211 cat >conftest.make <<\_ACEOF
2214 @echo '@@@%%%=$(MAKE)=@@@%%%'
2216 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2217 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2219 eval ac_cv_prog_make_${ac_make}_set=yes;;
2221 eval ac_cv_prog_make_${ac_make}_set=no;;
2225 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2226 { echo "$as_me:$LINENO: result: yes" >&5
2227 echo "${ECHO_T}yes" >&6; }
2230 { echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6; }
2232 SET_MAKE="MAKE=${MAKE-make}"
2235 rm -rf .tst 2>/dev/null
2236 mkdir .tst 2>/dev/null
2237 if test -d .tst; then
2242 rmdir .tst 2>/dev/null
2244 # test to see if srcdir already configured
2245 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2246 test -f $srcdir/config.status; then
2247 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2248 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2249 { (exit 1); exit 1; }; }
2252 # test whether we have cygpath
2253 if test -z "$CYGPATH_W"; then
2254 if (cygpath --version) >/dev/null 2>/dev/null; then
2255 CYGPATH_W='cygpath -w'
2262 # Define the identity of the package.
2267 cat >>confdefs.h <<_ACEOF
2268 #define PACKAGE "$PACKAGE"
2272 cat >>confdefs.h <<_ACEOF
2273 #define VERSION "$VERSION"
2276 # Some tools Automake needs.
2278 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2281 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2284 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2287 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2290 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2292 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2294 # Installed binaries are usually stripped using `strip' when the user
2295 # run `make install-strip'. However `strip' might not be the right
2296 # tool to use in cross-compilation environments, therefore Automake
2297 # will honor the `STRIP' environment variable to overrule this program.
2298 if test "$cross_compiling" != no; then
2299 if test -n "$ac_tool_prefix"; then
2300 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2301 set dummy ${ac_tool_prefix}strip; ac_word=$2
2302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2304 if test "${ac_cv_prog_STRIP+set}" = set; then
2305 echo $ECHO_N "(cached) $ECHO_C" >&6
2307 if test -n "$STRIP"; then
2308 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2314 test -z "$as_dir" && as_dir=.
2315 for ac_exec_ext in '' $ac_executable_extensions; do
2316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2317 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2327 STRIP=$ac_cv_prog_STRIP
2328 if test -n "$STRIP"; then
2329 { echo "$as_me:$LINENO: result: $STRIP" >&5
2330 echo "${ECHO_T}$STRIP" >&6; }
2332 { echo "$as_me:$LINENO: result: no" >&5
2333 echo "${ECHO_T}no" >&6; }
2338 if test -z "$ac_cv_prog_STRIP"; then
2340 # Extract the first word of "strip", so it can be a program name with args.
2341 set dummy strip; ac_word=$2
2342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2344 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2345 echo $ECHO_N "(cached) $ECHO_C" >&6
2347 if test -n "$ac_ct_STRIP"; then
2348 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2354 test -z "$as_dir" && as_dir=.
2355 for ac_exec_ext in '' $ac_executable_extensions; do
2356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2357 ac_cv_prog_ac_ct_STRIP="strip"
2358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2367 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2368 if test -n "$ac_ct_STRIP"; then
2369 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2370 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2372 { echo "$as_me:$LINENO: result: no" >&5
2373 echo "${ECHO_T}no" >&6; }
2376 if test "x$ac_ct_STRIP" = x; then
2379 case $cross_compiling:$ac_tool_warned in
2381 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2382 whose name does not start with the host triplet. If you think this
2383 configuration is useful to you, please write to autoconf@gnu.org." >&5
2384 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2385 whose name does not start with the host triplet. If you think this
2386 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2387 ac_tool_warned=yes ;;
2392 STRIP="$ac_cv_prog_STRIP"
2396 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2398 # We need awk for the "check" target. The system "awk" is bad on
2400 # Always define AMTAR for backward compatibility.
2402 AMTAR=${AMTAR-"${am_missing_run}tar"}
2404 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2410 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2411 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2412 # Check whether --enable-maintainer-mode was given.
2413 if test "${enable_maintainer_mode+set}" = set; then
2414 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2416 USE_MAINTAINER_MODE=no
2419 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2420 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2423 if test $USE_MAINTAINER_MODE = yes; then
2424 MAINTAINER_MODE_TRUE=
2425 MAINTAINER_MODE_FALSE='#'
2427 MAINTAINER_MODE_TRUE='#'
2428 MAINTAINER_MODE_FALSE=
2431 MAINT=$MAINTAINER_MODE_TRUE
2434 ac_config_headers="$ac_config_headers config.h"
2437 # Make sure we can run config.sub.
2438 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2439 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2440 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2441 { (exit 1); exit 1; }; }
2443 { echo "$as_me:$LINENO: checking build system type" >&5
2444 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2445 if test "${ac_cv_build+set}" = set; then
2446 echo $ECHO_N "(cached) $ECHO_C" >&6
2448 ac_build_alias=$build_alias
2449 test "x$ac_build_alias" = x &&
2450 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2451 test "x$ac_build_alias" = x &&
2452 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2453 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2454 { (exit 1); exit 1; }; }
2455 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2456 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2457 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2458 { (exit 1); exit 1; }; }
2461 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2462 echo "${ECHO_T}$ac_cv_build" >&6; }
2463 case $ac_cv_build in
2465 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2466 echo "$as_me: error: invalid value of canonical build" >&2;}
2467 { (exit 1); exit 1; }; };;
2470 ac_save_IFS=$IFS; IFS='-'
2476 # Remember, the first character of IFS is used to create $*,
2477 # except with old shells:
2480 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2483 { echo "$as_me:$LINENO: checking host system type" >&5
2484 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2485 if test "${ac_cv_host+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 if test "x$host_alias" = x; then
2489 ac_cv_host=$ac_cv_build
2491 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2492 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2493 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2494 { (exit 1); exit 1; }; }
2498 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2499 echo "${ECHO_T}$ac_cv_host" >&6; }
2502 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2503 echo "$as_me: error: invalid value of canonical host" >&2;}
2504 { (exit 1); exit 1; }; };;
2507 ac_save_IFS=$IFS; IFS='-'
2513 # Remember, the first character of IFS is used to create $*,
2514 # except with old shells:
2517 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2529 # Defines --with-android, --with-android-ndk, and --with-android-version
2530 # If specified, checks for a working install, and sets build parameters
2531 # appropriately for an Android host.
2535 DEPDIR="${am__leading_dot}deps"
2537 ac_config_commands="$ac_config_commands depfiles"
2540 am_make=${MAKE-make}
2541 cat > confinc << 'END'
2546 # If we don't find an include directive, just comment out the code.
2547 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2548 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2552 # First try GNU make style include.
2553 echo "include confinc" > confmf
2554 # We grep out `Entering directory' and `Leaving directory'
2555 # messages which can occur if `w' ends up in MAKEFLAGS.
2556 # In particular we don't look at `^make:' because GNU make might
2557 # be invoked under some other name (usually "gmake"), in which
2558 # case it prints its new name instead of `make'.
2559 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2564 # Now try BSD make style include.
2565 if test "$am__include" = "#"; then
2566 echo '.include "confinc"' > confmf
2567 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2568 am__include=.include
2575 { echo "$as_me:$LINENO: result: $_am_result" >&5
2576 echo "${ECHO_T}$_am_result" >&6; }
2577 rm -f confinc confmf
2579 # Check whether --enable-dependency-tracking was given.
2580 if test "${enable_dependency_tracking+set}" = set; then
2581 enableval=$enable_dependency_tracking;
2584 if test "x$enable_dependency_tracking" != xno; then
2585 am_depcomp="$ac_aux_dir/depcomp"
2590 if test "x$enable_dependency_tracking" != xno; then
2601 ac_cpp='$CPP $CPPFLAGS'
2602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2605 if test -n "$ac_tool_prefix"; then
2606 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2607 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2610 if test "${ac_cv_prog_CC+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2613 if test -n "$CC"; then
2614 ac_cv_prog_CC="$CC" # Let the user override the test.
2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2620 test -z "$as_dir" && as_dir=.
2621 for ac_exec_ext in '' $ac_executable_extensions; do
2622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2623 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2634 if test -n "$CC"; then
2635 { echo "$as_me:$LINENO: result: $CC" >&5
2636 echo "${ECHO_T}$CC" >&6; }
2638 { echo "$as_me:$LINENO: result: no" >&5
2639 echo "${ECHO_T}no" >&6; }
2644 if test -z "$ac_cv_prog_CC"; then
2646 # Extract the first word of "gcc", so it can be a program name with args.
2647 set dummy gcc; ac_word=$2
2648 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2650 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 if test -n "$ac_ct_CC"; then
2654 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 test -z "$as_dir" && as_dir=.
2661 for ac_exec_ext in '' $ac_executable_extensions; do
2662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2663 ac_cv_prog_ac_ct_CC="gcc"
2664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2674 if test -n "$ac_ct_CC"; then
2675 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2676 echo "${ECHO_T}$ac_ct_CC" >&6; }
2678 { echo "$as_me:$LINENO: result: no" >&5
2679 echo "${ECHO_T}no" >&6; }
2682 if test "x$ac_ct_CC" = x; then
2685 case $cross_compiling:$ac_tool_warned in
2687 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2688 whose name does not start with the host triplet. If you think this
2689 configuration is useful to you, please write to autoconf@gnu.org." >&5
2690 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2691 whose name does not start with the host triplet. If you think this
2692 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2693 ac_tool_warned=yes ;;
2701 if test -z "$CC"; then
2702 if test -n "$ac_tool_prefix"; then
2703 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2704 set dummy ${ac_tool_prefix}cc; ac_word=$2
2705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2707 if test "${ac_cv_prog_CC+set}" = set; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 if test -n "$CC"; then
2711 ac_cv_prog_CC="$CC" # Let the user override the test.
2713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717 test -z "$as_dir" && as_dir=.
2718 for ac_exec_ext in '' $ac_executable_extensions; do
2719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2720 ac_cv_prog_CC="${ac_tool_prefix}cc"
2721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2731 if test -n "$CC"; then
2732 { echo "$as_me:$LINENO: result: $CC" >&5
2733 echo "${ECHO_T}$CC" >&6; }
2735 { echo "$as_me:$LINENO: result: no" >&5
2736 echo "${ECHO_T}no" >&6; }
2742 if test -z "$CC"; then
2743 # Extract the first word of "cc", so it can be a program name with args.
2744 set dummy cc; ac_word=$2
2745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2747 if test "${ac_cv_prog_CC+set}" = set; then
2748 echo $ECHO_N "(cached) $ECHO_C" >&6
2750 if test -n "$CC"; then
2751 ac_cv_prog_CC="$CC" # Let the user override the test.
2754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758 test -z "$as_dir" && as_dir=.
2759 for ac_exec_ext in '' $ac_executable_extensions; do
2760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2761 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2762 ac_prog_rejected=yes
2766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2773 if test $ac_prog_rejected = yes; then
2774 # We found a bogon in the path, so make sure we never use it.
2775 set dummy $ac_cv_prog_CC
2777 if test $# != 0; then
2778 # We chose a different compiler from the bogus one.
2779 # However, it has the same basename, so the bogon will be chosen
2780 # first if we set CC to just the basename; use the full file name.
2782 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2788 if test -n "$CC"; then
2789 { echo "$as_me:$LINENO: result: $CC" >&5
2790 echo "${ECHO_T}$CC" >&6; }
2792 { echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6; }
2798 if test -z "$CC"; then
2799 if test -n "$ac_tool_prefix"; then
2800 for ac_prog in cl.exe
2802 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2803 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2806 if test "${ac_cv_prog_CC+set}" = set; then
2807 echo $ECHO_N "(cached) $ECHO_C" >&6
2809 if test -n "$CC"; then
2810 ac_cv_prog_CC="$CC" # Let the user override the test.
2812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2816 test -z "$as_dir" && as_dir=.
2817 for ac_exec_ext in '' $ac_executable_extensions; do
2818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2819 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 if test -n "$CC"; then
2831 { echo "$as_me:$LINENO: result: $CC" >&5
2832 echo "${ECHO_T}$CC" >&6; }
2834 { echo "$as_me:$LINENO: result: no" >&5
2835 echo "${ECHO_T}no" >&6; }
2839 test -n "$CC" && break
2842 if test -z "$CC"; then
2844 for ac_prog in cl.exe
2846 # Extract the first word of "$ac_prog", so it can be a program name with args.
2847 set dummy $ac_prog; ac_word=$2
2848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2850 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2851 echo $ECHO_N "(cached) $ECHO_C" >&6
2853 if test -n "$ac_ct_CC"; then
2854 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2860 test -z "$as_dir" && as_dir=.
2861 for ac_exec_ext in '' $ac_executable_extensions; do
2862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2863 ac_cv_prog_ac_ct_CC="$ac_prog"
2864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2873 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2874 if test -n "$ac_ct_CC"; then
2875 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2876 echo "${ECHO_T}$ac_ct_CC" >&6; }
2878 { echo "$as_me:$LINENO: result: no" >&5
2879 echo "${ECHO_T}no" >&6; }
2883 test -n "$ac_ct_CC" && break
2886 if test "x$ac_ct_CC" = x; then
2889 case $cross_compiling:$ac_tool_warned in
2891 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2892 whose name does not start with the host triplet. If you think this
2893 configuration is useful to you, please write to autoconf@gnu.org." >&5
2894 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2895 whose name does not start with the host triplet. If you think this
2896 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2897 ac_tool_warned=yes ;;
2906 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2907 See \`config.log' for more details." >&5
2908 echo "$as_me: error: no acceptable C compiler found in \$PATH
2909 See \`config.log' for more details." >&2;}
2910 { (exit 1); exit 1; }; }
2912 # Provide some information about the compiler.
2913 echo "$as_me:$LINENO: checking for C compiler version" >&5
2914 ac_compiler=`set X $ac_compile; echo $2`
2915 { (ac_try="$ac_compiler --version >&5"
2917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2918 *) ac_try_echo=$ac_try;;
2920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2921 (eval "$ac_compiler --version >&5") 2>&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }
2925 { (ac_try="$ac_compiler -v >&5"
2927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2928 *) ac_try_echo=$ac_try;;
2930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2931 (eval "$ac_compiler -v >&5") 2>&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); }
2935 { (ac_try="$ac_compiler -V >&5"
2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2938 *) ac_try_echo=$ac_try;;
2940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2941 (eval "$ac_compiler -V >&5") 2>&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); }
2946 cat >conftest.$ac_ext <<_ACEOF
2949 cat confdefs.h >>conftest.$ac_ext
2950 cat >>conftest.$ac_ext <<_ACEOF
2951 /* end confdefs.h. */
2961 ac_clean_files_save=$ac_clean_files
2962 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2963 # Try to create an executable without -o first, disregard a.out.
2964 # It will help us diagnose broken compilers, and finding out an intuition
2966 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2967 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2968 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2970 # List of possible output files, starting from the most likely.
2971 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2972 # only as a last resort. b.out is created by i960 compilers.
2973 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2975 # The IRIX 6 linker writes into existing files which may not be
2976 # executable, retaining their permissions. Remove them first so a
2977 # subsequent execution test works.
2979 for ac_file in $ac_files
2982 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2983 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2988 if { (ac_try="$ac_link_default"
2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2994 (eval "$ac_link_default") 2>&5
2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 (exit $ac_status); }; then
2998 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2999 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3000 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3001 # so that the user can short-circuit this test for compilers unknown to
3003 for ac_file in $ac_files ''
3005 test -f "$ac_file" || continue
3007 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3010 # We found the default executable, but exeext='' is most
3014 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3016 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3018 # We set ac_cv_exeext here because the later test for it is not
3019 # safe: cross compilers may not add the suffix if given an `-o'
3020 # argument, so we may need to know it at that point already.
3021 # Even if this section looks crufty: it has the advantage of
3028 test "$ac_cv_exeext" = no && ac_cv_exeext=
3034 { echo "$as_me:$LINENO: result: $ac_file" >&5
3035 echo "${ECHO_T}$ac_file" >&6; }
3036 if test -z "$ac_file"; then
3037 echo "$as_me: failed program was:" >&5
3038 sed 's/^/| /' conftest.$ac_ext >&5
3040 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3041 See \`config.log' for more details." >&5
3042 echo "$as_me: error: C compiler cannot create executables
3043 See \`config.log' for more details." >&2;}
3044 { (exit 77); exit 77; }; }
3047 ac_exeext=$ac_cv_exeext
3049 # Check that the compiler produces executables we can run. If not, either
3050 # the compiler is broken, or we cross compile.
3051 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3052 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3053 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3054 # If not cross compiling, check that we can run a simple program.
3055 if test "$cross_compiling" != yes; then
3056 if { ac_try='./$ac_file'
3057 { (case "(($ac_try" in
3058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3059 *) ac_try_echo=$ac_try;;
3061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3062 (eval "$ac_try") 2>&5
3064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); }; }; then
3068 if test "$cross_compiling" = maybe; then
3071 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3072 If you meant to cross compile, use \`--host'.
3073 See \`config.log' for more details." >&5
3074 echo "$as_me: error: cannot run C compiled programs.
3075 If you meant to cross compile, use \`--host'.
3076 See \`config.log' for more details." >&2;}
3077 { (exit 1); exit 1; }; }
3081 { echo "$as_me:$LINENO: result: yes" >&5
3082 echo "${ECHO_T}yes" >&6; }
3084 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3085 ac_clean_files=$ac_clean_files_save
3086 # Check that the compiler produces executables we can run. If not, either
3087 # the compiler is broken, or we cross compile.
3088 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3089 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3090 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3091 echo "${ECHO_T}$cross_compiling" >&6; }
3093 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3094 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3095 if { (ac_try="$ac_link"
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_link") 2>&5
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }; then
3105 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3106 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3107 # work properly (i.e., refer to `conftest.exe'), while it won't with
3109 for ac_file in conftest.exe conftest conftest.*; do
3110 test -f "$ac_file" || continue
3112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3113 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3119 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3120 See \`config.log' for more details." >&5
3121 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3122 See \`config.log' for more details." >&2;}
3123 { (exit 1); exit 1; }; }
3126 rm -f conftest$ac_cv_exeext
3127 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3128 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3130 rm -f conftest.$ac_ext
3131 EXEEXT=$ac_cv_exeext
3133 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3134 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3135 if test "${ac_cv_objext+set}" = set; then
3136 echo $ECHO_N "(cached) $ECHO_C" >&6
3138 cat >conftest.$ac_ext <<_ACEOF
3141 cat confdefs.h >>conftest.$ac_ext
3142 cat >>conftest.$ac_ext <<_ACEOF
3143 /* end confdefs.h. */
3153 rm -f conftest.o conftest.obj
3154 if { (ac_try="$ac_compile"
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3160 (eval "$ac_compile") 2>&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); }; then
3164 for ac_file in conftest.o conftest.obj conftest.*; do
3165 test -f "$ac_file" || continue;
3167 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3168 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3173 echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.$ac_ext >&5
3176 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3177 See \`config.log' for more details." >&5
3178 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3179 See \`config.log' for more details." >&2;}
3180 { (exit 1); exit 1; }; }
3183 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3185 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3186 echo "${ECHO_T}$ac_cv_objext" >&6; }
3187 OBJEXT=$ac_cv_objext
3189 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3190 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3191 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3192 echo $ECHO_N "(cached) $ECHO_C" >&6
3194 cat >conftest.$ac_ext <<_ACEOF
3197 cat confdefs.h >>conftest.$ac_ext
3198 cat >>conftest.$ac_ext <<_ACEOF
3199 /* end confdefs.h. */
3212 rm -f conftest.$ac_objext
3213 if { (ac_try="$ac_compile"
3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216 *) ac_try_echo=$ac_try;;
3218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3219 (eval "$ac_compile") 2>conftest.er1
3221 grep -v '^ *+' conftest.er1 >conftest.err
3223 cat conftest.err >&5
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); } && {
3226 test -z "$ac_c_werror_flag" ||
3227 test ! -s conftest.err
3228 } && test -s conftest.$ac_objext; then
3231 echo "$as_me: failed program was:" >&5
3232 sed 's/^/| /' conftest.$ac_ext >&5
3237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3238 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3241 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3242 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3243 GCC=`test $ac_compiler_gnu = yes && echo yes`
3244 ac_test_CFLAGS=${CFLAGS+set}
3245 ac_save_CFLAGS=$CFLAGS
3246 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3247 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3248 if test "${ac_cv_prog_cc_g+set}" = set; then
3249 echo $ECHO_N "(cached) $ECHO_C" >&6
3251 ac_save_c_werror_flag=$ac_c_werror_flag
3252 ac_c_werror_flag=yes
3255 cat >conftest.$ac_ext <<_ACEOF
3258 cat confdefs.h >>conftest.$ac_ext
3259 cat >>conftest.$ac_ext <<_ACEOF
3260 /* end confdefs.h. */
3270 rm -f conftest.$ac_objext
3271 if { (ac_try="$ac_compile"
3273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274 *) ac_try_echo=$ac_try;;
3276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3277 (eval "$ac_compile") 2>conftest.er1
3279 grep -v '^ *+' conftest.er1 >conftest.err
3281 cat conftest.err >&5
3282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283 (exit $ac_status); } && {
3284 test -z "$ac_c_werror_flag" ||
3285 test ! -s conftest.err
3286 } && test -s conftest.$ac_objext; then
3289 echo "$as_me: failed program was:" >&5
3290 sed 's/^/| /' conftest.$ac_ext >&5
3293 cat >conftest.$ac_ext <<_ACEOF
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3308 rm -f conftest.$ac_objext
3309 if { (ac_try="$ac_compile"
3311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312 *) ac_try_echo=$ac_try;;
3314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3315 (eval "$ac_compile") 2>conftest.er1
3317 grep -v '^ *+' conftest.er1 >conftest.err
3319 cat conftest.err >&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); } && {
3322 test -z "$ac_c_werror_flag" ||
3323 test ! -s conftest.err
3324 } && test -s conftest.$ac_objext; then
3327 echo "$as_me: failed program was:" >&5
3328 sed 's/^/| /' conftest.$ac_ext >&5
3330 ac_c_werror_flag=$ac_save_c_werror_flag
3332 cat >conftest.$ac_ext <<_ACEOF
3335 cat confdefs.h >>conftest.$ac_ext
3336 cat >>conftest.$ac_ext <<_ACEOF
3337 /* end confdefs.h. */
3347 rm -f conftest.$ac_objext
3348 if { (ac_try="$ac_compile"
3350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3351 *) ac_try_echo=$ac_try;;
3353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3354 (eval "$ac_compile") 2>conftest.er1
3356 grep -v '^ *+' conftest.er1 >conftest.err
3358 cat conftest.err >&5
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); } && {
3361 test -z "$ac_c_werror_flag" ||
3362 test ! -s conftest.err
3363 } && test -s conftest.$ac_objext; then
3366 echo "$as_me: failed program was:" >&5
3367 sed 's/^/| /' conftest.$ac_ext >&5
3372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3379 ac_c_werror_flag=$ac_save_c_werror_flag
3381 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3382 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3383 if test "$ac_test_CFLAGS" = set; then
3384 CFLAGS=$ac_save_CFLAGS
3385 elif test $ac_cv_prog_cc_g = yes; then
3386 if test "$GCC" = yes; then
3392 if test "$GCC" = yes; then
3398 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3399 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3400 if test "${ac_cv_prog_cc_c89+set}" = set; then
3401 echo $ECHO_N "(cached) $ECHO_C" >&6
3403 ac_cv_prog_cc_c89=no
3405 cat >conftest.$ac_ext <<_ACEOF
3408 cat confdefs.h >>conftest.$ac_ext
3409 cat >>conftest.$ac_ext <<_ACEOF
3410 /* end confdefs.h. */
3413 #include <sys/types.h>
3414 #include <sys/stat.h>
3415 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3416 struct buf { int x; };
3417 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3418 static char *e (p, i)
3424 static char *f (char * (*g) (char **, int), char **p, ...)
3429 s = g (p, va_arg (v,int));
3434 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3435 function prototypes and stuff, but not '\xHH' hex character constants.
3436 These don't provoke an error unfortunately, instead are silently treated
3437 as 'x'. The following induces an error, until -std is added to get
3438 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3439 array size at least. It's necessary to write '\x00'==0 to get something
3440 that's true only with -std. */
3441 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3443 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3444 inside strings and character constants. */
3446 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3448 int test (int i, double x);
3449 struct s1 {int (*f) (int a);};
3450 struct s2 {int (*f) (double a);};
3451 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3457 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3462 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3463 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3465 CC="$ac_save_CC $ac_arg"
3466 rm -f conftest.$ac_objext
3467 if { (ac_try="$ac_compile"
3469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;;
3472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3473 (eval "$ac_compile") 2>conftest.er1
3475 grep -v '^ *+' conftest.er1 >conftest.err
3477 cat conftest.err >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); } && {
3480 test -z "$ac_c_werror_flag" ||
3481 test ! -s conftest.err
3482 } && test -s conftest.$ac_objext; then
3483 ac_cv_prog_cc_c89=$ac_arg
3485 echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.$ac_ext >&5
3491 rm -f core conftest.err conftest.$ac_objext
3492 test "x$ac_cv_prog_cc_c89" != "xno" && break
3494 rm -f conftest.$ac_ext
3499 case "x$ac_cv_prog_cc_c89" in
3501 { echo "$as_me:$LINENO: result: none needed" >&5
3502 echo "${ECHO_T}none needed" >&6; } ;;
3504 { echo "$as_me:$LINENO: result: unsupported" >&5
3505 echo "${ECHO_T}unsupported" >&6; } ;;
3507 CC="$CC $ac_cv_prog_cc_c89"
3508 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3509 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3514 ac_cpp='$CPP $CPPFLAGS'
3515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3519 depcc="$CC" am_compiler_list=
3521 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3522 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3523 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3526 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3527 # We make a subdir and do the tests there. Otherwise we can end up
3528 # making bogus files that we don't know about and never remove. For
3529 # instance it was reported that on HP-UX the gcc test will end up
3530 # making a dummy file named `D' -- because `-MD' means `put the output
3533 # Copy depcomp to subdir because otherwise we won't find it if we're
3534 # using a relative directory.
3535 cp "$am_depcomp" conftest.dir
3537 # We will build objects and dependencies in a subdirectory because
3538 # it helps to detect inapplicable dependency modes. For instance
3539 # both Tru64's cc and ICC support -MD to output dependencies as a
3540 # side effect of compilation, but ICC will put the dependencies in
3541 # the current directory while Tru64 will put them in the object
3545 am_cv_CC_dependencies_compiler_type=none
3546 if test "$am_compiler_list" = ""; then
3547 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3549 for depmode in $am_compiler_list; do
3550 # Setup a source with many dependencies, because some compilers
3551 # like to wrap large dependency lists on column 80 (with \), and
3552 # we should not choose a depcomp mode which is confused by this.
3554 # We need to recreate these files for each test, as the compiler may
3555 # overwrite some of them when testing with obscure command lines.
3556 # This happens at least with the AIX C compiler.
3558 for i in 1 2 3 4 5 6; do
3559 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3560 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3561 # Solaris 8's {/usr,}/bin/sh.
3562 touch sub/conftst$i.h
3564 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3568 # after this tag, mechanisms are not by side-effect, so they'll
3569 # only be used when explicitly requested
3570 if test "x$enable_dependency_tracking" = xyes; then
3578 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3579 # mode. It turns out that the SunPro C++ compiler does not properly
3580 # handle `-M -o', and we need to detect this.
3581 if depmode=$depmode \
3582 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3583 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3584 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3585 >/dev/null 2>conftest.err &&
3586 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3587 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3588 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3589 # icc doesn't choke on unknown options, it will just issue warnings
3590 # or remarks (even with -Werror). So we grep stderr for any message
3591 # that says an option was ignored or not supported.
3592 # When given -MP, icc 7.0 and 7.1 complain thusly:
3593 # icc: Command line warning: ignoring option '-M'; no argument required
3594 # The diagnosis changed in icc 8.0:
3595 # icc: Command line remark: option '-MP' not supported
3596 if (grep 'ignoring option' conftest.err ||
3597 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3598 am_cv_CC_dependencies_compiler_type=$depmode
3607 am_cv_CC_dependencies_compiler_type=none
3611 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3612 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3613 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3618 test "x$enable_dependency_tracking" != xno \
3619 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3621 am__fastdepCC_FALSE='#'
3623 am__fastdepCC_TRUE='#'
3624 am__fastdepCC_FALSE=
3630 { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3631 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
3632 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3633 echo $ECHO_N "(cached) $ECHO_C" >&6
3635 ac_check_lib_save_LIBS=$LIBS
3636 LIBS="-lcposix $LIBS"
3637 cat >conftest.$ac_ext <<_ACEOF
3640 cat confdefs.h >>conftest.$ac_ext
3641 cat >>conftest.$ac_ext <<_ACEOF
3642 /* end confdefs.h. */
3644 /* Override any GCC internal prototype to avoid an error.
3645 Use char because int might match the return type of a GCC
3646 builtin and then its argument prototype would still apply. */
3659 rm -f conftest.$ac_objext conftest$ac_exeext
3660 if { (ac_try="$ac_link"
3662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3663 *) ac_try_echo=$ac_try;;
3665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3666 (eval "$ac_link") 2>conftest.er1
3668 grep -v '^ *+' conftest.er1 >conftest.err
3670 cat conftest.err >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); } && {
3673 test -z "$ac_c_werror_flag" ||
3674 test ! -s conftest.err
3675 } && test -s conftest$ac_exeext &&
3676 $as_test_x conftest$ac_exeext; then
3677 ac_cv_lib_cposix_strerror=yes
3679 echo "$as_me: failed program was:" >&5
3680 sed 's/^/| /' conftest.$ac_ext >&5
3682 ac_cv_lib_cposix_strerror=no
3685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3686 conftest$ac_exeext conftest.$ac_ext
3687 LIBS=$ac_check_lib_save_LIBS
3689 { echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3690 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
3691 if test $ac_cv_lib_cposix_strerror = yes; then
3692 LIBS="$LIBS -lcposix"
3698 ac_cpp='$CPP $CPPFLAGS'
3699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3702 if test -n "$ac_tool_prefix"; then
3703 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3704 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3707 if test "${ac_cv_prog_CC+set}" = set; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 if test -n "$CC"; then
3711 ac_cv_prog_CC="$CC" # Let the user override the test.
3713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3717 test -z "$as_dir" && as_dir=.
3718 for ac_exec_ext in '' $ac_executable_extensions; do
3719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3720 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3731 if test -n "$CC"; then
3732 { echo "$as_me:$LINENO: result: $CC" >&5
3733 echo "${ECHO_T}$CC" >&6; }
3735 { echo "$as_me:$LINENO: result: no" >&5
3736 echo "${ECHO_T}no" >&6; }
3741 if test -z "$ac_cv_prog_CC"; then
3743 # Extract the first word of "gcc", so it can be a program name with args.
3744 set dummy gcc; ac_word=$2
3745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3747 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3748 echo $ECHO_N "(cached) $ECHO_C" >&6
3750 if test -n "$ac_ct_CC"; then
3751 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760 ac_cv_prog_ac_ct_CC="gcc"
3761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3771 if test -n "$ac_ct_CC"; then
3772 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3773 echo "${ECHO_T}$ac_ct_CC" >&6; }
3775 { echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6; }
3779 if test "x$ac_ct_CC" = x; then
3782 case $cross_compiling:$ac_tool_warned in
3784 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3785 whose name does not start with the host triplet. If you think this
3786 configuration is useful to you, please write to autoconf@gnu.org." >&5
3787 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3788 whose name does not start with the host triplet. If you think this
3789 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3790 ac_tool_warned=yes ;;
3798 if test -z "$CC"; then
3799 if test -n "$ac_tool_prefix"; then
3800 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3801 set dummy ${ac_tool_prefix}cc; ac_word=$2
3802 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3804 if test "${ac_cv_prog_CC+set}" = set; then
3805 echo $ECHO_N "(cached) $ECHO_C" >&6
3807 if test -n "$CC"; then
3808 ac_cv_prog_CC="$CC" # Let the user override the test.
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3817 ac_cv_prog_CC="${ac_tool_prefix}cc"
3818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3828 if test -n "$CC"; then
3829 { echo "$as_me:$LINENO: result: $CC" >&5
3830 echo "${ECHO_T}$CC" >&6; }
3832 { echo "$as_me:$LINENO: result: no" >&5
3833 echo "${ECHO_T}no" >&6; }
3839 if test -z "$CC"; then
3840 # Extract the first word of "cc", so it can be a program name with args.
3841 set dummy cc; ac_word=$2
3842 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3844 if test "${ac_cv_prog_CC+set}" = set; then
3845 echo $ECHO_N "(cached) $ECHO_C" >&6
3847 if test -n "$CC"; then
3848 ac_cv_prog_CC="$CC" # Let the user override the test.
3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855 test -z "$as_dir" && as_dir=.
3856 for ac_exec_ext in '' $ac_executable_extensions; do
3857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3858 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3859 ac_prog_rejected=yes
3863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3870 if test $ac_prog_rejected = yes; then
3871 # We found a bogon in the path, so make sure we never use it.
3872 set dummy $ac_cv_prog_CC
3874 if test $# != 0; then
3875 # We chose a different compiler from the bogus one.
3876 # However, it has the same basename, so the bogon will be chosen
3877 # first if we set CC to just the basename; use the full file name.
3879 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3885 if test -n "$CC"; then
3886 { echo "$as_me:$LINENO: result: $CC" >&5
3887 echo "${ECHO_T}$CC" >&6; }
3889 { echo "$as_me:$LINENO: result: no" >&5
3890 echo "${ECHO_T}no" >&6; }
3895 if test -z "$CC"; then
3896 if test -n "$ac_tool_prefix"; then
3897 for ac_prog in cl.exe
3899 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3900 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3903 if test "${ac_cv_prog_CC+set}" = set; then
3904 echo $ECHO_N "(cached) $ECHO_C" >&6
3906 if test -n "$CC"; then
3907 ac_cv_prog_CC="$CC" # Let the user override the test.
3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3913 test -z "$as_dir" && as_dir=.
3914 for ac_exec_ext in '' $ac_executable_extensions; do
3915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3916 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3927 if test -n "$CC"; then
3928 { echo "$as_me:$LINENO: result: $CC" >&5
3929 echo "${ECHO_T}$CC" >&6; }
3931 { echo "$as_me:$LINENO: result: no" >&5
3932 echo "${ECHO_T}no" >&6; }
3936 test -n "$CC" && break
3939 if test -z "$CC"; then
3941 for ac_prog in cl.exe
3943 # Extract the first word of "$ac_prog", so it can be a program name with args.
3944 set dummy $ac_prog; ac_word=$2
3945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3947 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3948 echo $ECHO_N "(cached) $ECHO_C" >&6
3950 if test -n "$ac_ct_CC"; then
3951 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3957 test -z "$as_dir" && as_dir=.
3958 for ac_exec_ext in '' $ac_executable_extensions; do
3959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3960 ac_cv_prog_ac_ct_CC="$ac_prog"
3961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3970 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3971 if test -n "$ac_ct_CC"; then
3972 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3973 echo "${ECHO_T}$ac_ct_CC" >&6; }
3975 { echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6; }
3980 test -n "$ac_ct_CC" && break
3983 if test "x$ac_ct_CC" = x; then
3986 case $cross_compiling:$ac_tool_warned in
3988 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3989 whose name does not start with the host triplet. If you think this
3990 configuration is useful to you, please write to autoconf@gnu.org." >&5
3991 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3992 whose name does not start with the host triplet. If you think this
3993 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3994 ac_tool_warned=yes ;;
4003 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4004 See \`config.log' for more details." >&5
4005 echo "$as_me: error: no acceptable C compiler found in \$PATH
4006 See \`config.log' for more details." >&2;}
4007 { (exit 1); exit 1; }; }
4009 # Provide some information about the compiler.
4010 echo "$as_me:$LINENO: checking for C compiler version" >&5
4011 ac_compiler=`set X $ac_compile; echo $2`
4012 { (ac_try="$ac_compiler --version >&5"
4014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4015 *) ac_try_echo=$ac_try;;
4017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4018 (eval "$ac_compiler --version >&5") 2>&5
4020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021 (exit $ac_status); }
4022 { (ac_try="$ac_compiler -v >&5"
4024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4025 *) ac_try_echo=$ac_try;;
4027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4028 (eval "$ac_compiler -v >&5") 2>&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }
4032 { (ac_try="$ac_compiler -V >&5"
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4038 (eval "$ac_compiler -V >&5") 2>&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }
4043 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4044 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4045 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4046 echo $ECHO_N "(cached) $ECHO_C" >&6
4048 cat >conftest.$ac_ext <<_ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4066 rm -f conftest.$ac_objext
4067 if { (ac_try="$ac_compile"
4069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4070 *) ac_try_echo=$ac_try;;
4072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4073 (eval "$ac_compile") 2>conftest.er1
4075 grep -v '^ *+' conftest.er1 >conftest.err
4077 cat conftest.err >&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); } && {
4080 test -z "$ac_c_werror_flag" ||
4081 test ! -s conftest.err
4082 } && test -s conftest.$ac_objext; then
4085 echo "$as_me: failed program was:" >&5
4086 sed 's/^/| /' conftest.$ac_ext >&5
4091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4095 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4096 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4097 GCC=`test $ac_compiler_gnu = yes && echo yes`
4098 ac_test_CFLAGS=${CFLAGS+set}
4099 ac_save_CFLAGS=$CFLAGS
4100 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4101 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4102 if test "${ac_cv_prog_cc_g+set}" = set; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4105 ac_save_c_werror_flag=$ac_c_werror_flag
4106 ac_c_werror_flag=yes
4109 cat >conftest.$ac_ext <<_ACEOF
4112 cat confdefs.h >>conftest.$ac_ext
4113 cat >>conftest.$ac_ext <<_ACEOF
4114 /* end confdefs.h. */
4124 rm -f conftest.$ac_objext
4125 if { (ac_try="$ac_compile"
4127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4128 *) ac_try_echo=$ac_try;;
4130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4131 (eval "$ac_compile") 2>conftest.er1
4133 grep -v '^ *+' conftest.er1 >conftest.err
4135 cat conftest.err >&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } && {
4138 test -z "$ac_c_werror_flag" ||
4139 test ! -s conftest.err
4140 } && test -s conftest.$ac_objext; then
4143 echo "$as_me: failed program was:" >&5
4144 sed 's/^/| /' conftest.$ac_ext >&5
4147 cat >conftest.$ac_ext <<_ACEOF
4150 cat confdefs.h >>conftest.$ac_ext
4151 cat >>conftest.$ac_ext <<_ACEOF
4152 /* end confdefs.h. */
4162 rm -f conftest.$ac_objext
4163 if { (ac_try="$ac_compile"
4165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4166 *) ac_try_echo=$ac_try;;
4168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4169 (eval "$ac_compile") 2>conftest.er1
4171 grep -v '^ *+' conftest.er1 >conftest.err
4173 cat conftest.err >&5
4174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175 (exit $ac_status); } && {
4176 test -z "$ac_c_werror_flag" ||
4177 test ! -s conftest.err
4178 } && test -s conftest.$ac_objext; then
4181 echo "$as_me: failed program was:" >&5
4182 sed 's/^/| /' conftest.$ac_ext >&5
4184 ac_c_werror_flag=$ac_save_c_werror_flag
4186 cat >conftest.$ac_ext <<_ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4201 rm -f conftest.$ac_objext
4202 if { (ac_try="$ac_compile"
4204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4205 *) ac_try_echo=$ac_try;;
4207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4208 (eval "$ac_compile") 2>conftest.er1
4210 grep -v '^ *+' conftest.er1 >conftest.err
4212 cat conftest.err >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } && {
4215 test -z "$ac_c_werror_flag" ||
4216 test ! -s conftest.err
4217 } && test -s conftest.$ac_objext; then
4220 echo "$as_me: failed program was:" >&5
4221 sed 's/^/| /' conftest.$ac_ext >&5
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 ac_c_werror_flag=$ac_save_c_werror_flag
4235 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4236 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4237 if test "$ac_test_CFLAGS" = set; then
4238 CFLAGS=$ac_save_CFLAGS
4239 elif test $ac_cv_prog_cc_g = yes; then
4240 if test "$GCC" = yes; then
4246 if test "$GCC" = yes; then
4252 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4253 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4254 if test "${ac_cv_prog_cc_c89+set}" = set; then
4255 echo $ECHO_N "(cached) $ECHO_C" >&6
4257 ac_cv_prog_cc_c89=no
4259 cat >conftest.$ac_ext <<_ACEOF
4262 cat confdefs.h >>conftest.$ac_ext
4263 cat >>conftest.$ac_ext <<_ACEOF
4264 /* end confdefs.h. */
4267 #include <sys/types.h>
4268 #include <sys/stat.h>
4269 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4270 struct buf { int x; };
4271 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4272 static char *e (p, i)
4278 static char *f (char * (*g) (char **, int), char **p, ...)
4283 s = g (p, va_arg (v,int));
4288 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4289 function prototypes and stuff, but not '\xHH' hex character constants.
4290 These don't provoke an error unfortunately, instead are silently treated
4291 as 'x'. The following induces an error, until -std is added to get
4292 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4293 array size at least. It's necessary to write '\x00'==0 to get something
4294 that's true only with -std. */
4295 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4297 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4298 inside strings and character constants. */
4300 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4302 int test (int i, double x);
4303 struct s1 {int (*f) (int a);};
4304 struct s2 {int (*f) (double a);};
4305 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4311 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4316 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4317 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4319 CC="$ac_save_CC $ac_arg"
4320 rm -f conftest.$ac_objext
4321 if { (ac_try="$ac_compile"
4323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324 *) ac_try_echo=$ac_try;;
4326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4327 (eval "$ac_compile") 2>conftest.er1
4329 grep -v '^ *+' conftest.er1 >conftest.err
4331 cat conftest.err >&5
4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333 (exit $ac_status); } && {
4334 test -z "$ac_c_werror_flag" ||
4335 test ! -s conftest.err
4336 } && test -s conftest.$ac_objext; then
4337 ac_cv_prog_cc_c89=$ac_arg
4339 echo "$as_me: failed program was:" >&5
4340 sed 's/^/| /' conftest.$ac_ext >&5
4345 rm -f core conftest.err conftest.$ac_objext
4346 test "x$ac_cv_prog_cc_c89" != "xno" && break
4348 rm -f conftest.$ac_ext
4353 case "x$ac_cv_prog_cc_c89" in
4355 { echo "$as_me:$LINENO: result: none needed" >&5
4356 echo "${ECHO_T}none needed" >&6; } ;;
4358 { echo "$as_me:$LINENO: result: unsupported" >&5
4359 echo "${ECHO_T}unsupported" >&6; } ;;
4361 CC="$CC $ac_cv_prog_cc_c89"
4362 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4363 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4368 ac_cpp='$CPP $CPPFLAGS'
4369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4373 depcc="$CC" am_compiler_list=
4375 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4376 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4377 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4380 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4381 # We make a subdir and do the tests there. Otherwise we can end up
4382 # making bogus files that we don't know about and never remove. For
4383 # instance it was reported that on HP-UX the gcc test will end up
4384 # making a dummy file named `D' -- because `-MD' means `put the output
4387 # Copy depcomp to subdir because otherwise we won't find it if we're
4388 # using a relative directory.
4389 cp "$am_depcomp" conftest.dir
4391 # We will build objects and dependencies in a subdirectory because
4392 # it helps to detect inapplicable dependency modes. For instance
4393 # both Tru64's cc and ICC support -MD to output dependencies as a
4394 # side effect of compilation, but ICC will put the dependencies in
4395 # the current directory while Tru64 will put them in the object
4399 am_cv_CC_dependencies_compiler_type=none
4400 if test "$am_compiler_list" = ""; then
4401 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4403 for depmode in $am_compiler_list; do
4404 # Setup a source with many dependencies, because some compilers
4405 # like to wrap large dependency lists on column 80 (with \), and
4406 # we should not choose a depcomp mode which is confused by this.
4408 # We need to recreate these files for each test, as the compiler may
4409 # overwrite some of them when testing with obscure command lines.
4410 # This happens at least with the AIX C compiler.
4412 for i in 1 2 3 4 5 6; do
4413 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4414 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4415 # Solaris 8's {/usr,}/bin/sh.
4416 touch sub/conftst$i.h
4418 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4422 # after this tag, mechanisms are not by side-effect, so they'll
4423 # only be used when explicitly requested
4424 if test "x$enable_dependency_tracking" = xyes; then
4432 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4433 # mode. It turns out that the SunPro C++ compiler does not properly
4434 # handle `-M -o', and we need to detect this.
4435 if depmode=$depmode \
4436 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4437 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4438 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4439 >/dev/null 2>conftest.err &&
4440 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4441 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4442 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4443 # icc doesn't choke on unknown options, it will just issue warnings
4444 # or remarks (even with -Werror). So we grep stderr for any message
4445 # that says an option was ignored or not supported.
4446 # When given -MP, icc 7.0 and 7.1 complain thusly:
4447 # icc: Command line warning: ignoring option '-M'; no argument required
4448 # The diagnosis changed in icc 8.0:
4449 # icc: Command line remark: option '-MP' not supported
4450 if (grep 'ignoring option' conftest.err ||
4451 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4452 am_cv_CC_dependencies_compiler_type=$depmode
4461 am_cv_CC_dependencies_compiler_type=none
4465 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4466 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4467 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4472 test "x$enable_dependency_tracking" != xno \
4473 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4475 am__fastdepCC_FALSE='#'
4477 am__fastdepCC_TRUE='#'
4478 am__fastdepCC_FALSE=
4483 ac_cpp='$CPP $CPPFLAGS'
4484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4487 if test -n "$ac_tool_prefix"; then
4488 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4489 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4492 if test "${ac_cv_prog_CC+set}" = set; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4495 if test -n "$CC"; then
4496 ac_cv_prog_CC="$CC" # Let the user override the test.
4498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4502 test -z "$as_dir" && as_dir=.
4503 for ac_exec_ext in '' $ac_executable_extensions; do
4504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4505 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4516 if test -n "$CC"; then
4517 { echo "$as_me:$LINENO: result: $CC" >&5
4518 echo "${ECHO_T}$CC" >&6; }
4520 { echo "$as_me:$LINENO: result: no" >&5
4521 echo "${ECHO_T}no" >&6; }
4526 if test -z "$ac_cv_prog_CC"; then
4528 # Extract the first word of "gcc", so it can be a program name with args.
4529 set dummy gcc; ac_word=$2
4530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4532 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4533 echo $ECHO_N "(cached) $ECHO_C" >&6
4535 if test -n "$ac_ct_CC"; then
4536 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4542 test -z "$as_dir" && as_dir=.
4543 for ac_exec_ext in '' $ac_executable_extensions; do
4544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4545 ac_cv_prog_ac_ct_CC="gcc"
4546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4555 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4556 if test -n "$ac_ct_CC"; then
4557 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4558 echo "${ECHO_T}$ac_ct_CC" >&6; }
4560 { echo "$as_me:$LINENO: result: no" >&5
4561 echo "${ECHO_T}no" >&6; }
4564 if test "x$ac_ct_CC" = x; then
4567 case $cross_compiling:$ac_tool_warned in
4569 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4570 whose name does not start with the host triplet. If you think this
4571 configuration is useful to you, please write to autoconf@gnu.org." >&5
4572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4573 whose name does not start with the host triplet. If you think this
4574 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4575 ac_tool_warned=yes ;;
4583 if test -z "$CC"; then
4584 if test -n "$ac_tool_prefix"; then
4585 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4586 set dummy ${ac_tool_prefix}cc; ac_word=$2
4587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4589 if test "${ac_cv_prog_CC+set}" = set; then
4590 echo $ECHO_N "(cached) $ECHO_C" >&6
4592 if test -n "$CC"; then
4593 ac_cv_prog_CC="$CC" # Let the user override the test.
4595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599 test -z "$as_dir" && as_dir=.
4600 for ac_exec_ext in '' $ac_executable_extensions; do
4601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4602 ac_cv_prog_CC="${ac_tool_prefix}cc"
4603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4613 if test -n "$CC"; then
4614 { echo "$as_me:$LINENO: result: $CC" >&5
4615 echo "${ECHO_T}$CC" >&6; }
4617 { echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6; }
4624 if test -z "$CC"; then
4625 # Extract the first word of "cc", so it can be a program name with args.
4626 set dummy cc; ac_word=$2
4627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4629 if test "${ac_cv_prog_CC+set}" = set; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 if test -n "$CC"; then
4633 ac_cv_prog_CC="$CC" # Let the user override the test.
4636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4640 test -z "$as_dir" && as_dir=.
4641 for ac_exec_ext in '' $ac_executable_extensions; do
4642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4643 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4644 ac_prog_rejected=yes
4648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4655 if test $ac_prog_rejected = yes; then
4656 # We found a bogon in the path, so make sure we never use it.
4657 set dummy $ac_cv_prog_CC
4659 if test $# != 0; then
4660 # We chose a different compiler from the bogus one.
4661 # However, it has the same basename, so the bogon will be chosen
4662 # first if we set CC to just the basename; use the full file name.
4664 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4670 if test -n "$CC"; then
4671 { echo "$as_me:$LINENO: result: $CC" >&5
4672 echo "${ECHO_T}$CC" >&6; }
4674 { echo "$as_me:$LINENO: result: no" >&5
4675 echo "${ECHO_T}no" >&6; }
4680 if test -z "$CC"; then
4681 if test -n "$ac_tool_prefix"; then
4682 for ac_prog in cl.exe
4684 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4685 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4688 if test "${ac_cv_prog_CC+set}" = set; then
4689 echo $ECHO_N "(cached) $ECHO_C" >&6
4691 if test -n "$CC"; then
4692 ac_cv_prog_CC="$CC" # Let the user override the test.
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4698 test -z "$as_dir" && as_dir=.
4699 for ac_exec_ext in '' $ac_executable_extensions; do
4700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4701 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4712 if test -n "$CC"; then
4713 { echo "$as_me:$LINENO: result: $CC" >&5
4714 echo "${ECHO_T}$CC" >&6; }
4716 { echo "$as_me:$LINENO: result: no" >&5
4717 echo "${ECHO_T}no" >&6; }
4721 test -n "$CC" && break
4724 if test -z "$CC"; then
4726 for ac_prog in cl.exe
4728 # Extract the first word of "$ac_prog", so it can be a program name with args.
4729 set dummy $ac_prog; ac_word=$2
4730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4732 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4733 echo $ECHO_N "(cached) $ECHO_C" >&6
4735 if test -n "$ac_ct_CC"; then
4736 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4742 test -z "$as_dir" && as_dir=.
4743 for ac_exec_ext in '' $ac_executable_extensions; do
4744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4745 ac_cv_prog_ac_ct_CC="$ac_prog"
4746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4755 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4756 if test -n "$ac_ct_CC"; then
4757 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4758 echo "${ECHO_T}$ac_ct_CC" >&6; }
4760 { echo "$as_me:$LINENO: result: no" >&5
4761 echo "${ECHO_T}no" >&6; }
4765 test -n "$ac_ct_CC" && break
4768 if test "x$ac_ct_CC" = x; then
4771 case $cross_compiling:$ac_tool_warned in
4773 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4774 whose name does not start with the host triplet. If you think this
4775 configuration is useful to you, please write to autoconf@gnu.org." >&5
4776 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4777 whose name does not start with the host triplet. If you think this
4778 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4779 ac_tool_warned=yes ;;
4788 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4789 See \`config.log' for more details." >&5
4790 echo "$as_me: error: no acceptable C compiler found in \$PATH
4791 See \`config.log' for more details." >&2;}
4792 { (exit 1); exit 1; }; }
4794 # Provide some information about the compiler.
4795 echo "$as_me:$LINENO: checking for C compiler version" >&5
4796 ac_compiler=`set X $ac_compile; echo $2`
4797 { (ac_try="$ac_compiler --version >&5"
4799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4800 *) ac_try_echo=$ac_try;;
4802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4803 (eval "$ac_compiler --version >&5") 2>&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); }
4807 { (ac_try="$ac_compiler -v >&5"
4809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4810 *) ac_try_echo=$ac_try;;
4812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4813 (eval "$ac_compiler -v >&5") 2>&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); }
4817 { (ac_try="$ac_compiler -V >&5"
4819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4820 *) ac_try_echo=$ac_try;;
4822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4823 (eval "$ac_compiler -V >&5") 2>&5
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); }
4828 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4829 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4830 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4831 echo $ECHO_N "(cached) $ECHO_C" >&6
4833 cat >conftest.$ac_ext <<_ACEOF
4836 cat confdefs.h >>conftest.$ac_ext
4837 cat >>conftest.$ac_ext <<_ACEOF
4838 /* end confdefs.h. */
4851 rm -f conftest.$ac_objext
4852 if { (ac_try="$ac_compile"
4854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4855 *) ac_try_echo=$ac_try;;
4857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4858 (eval "$ac_compile") 2>conftest.er1
4860 grep -v '^ *+' conftest.er1 >conftest.err
4862 cat conftest.err >&5
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); } && {
4865 test -z "$ac_c_werror_flag" ||
4866 test ! -s conftest.err
4867 } && test -s conftest.$ac_objext; then
4870 echo "$as_me: failed program was:" >&5
4871 sed 's/^/| /' conftest.$ac_ext >&5
4876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4877 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4880 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4881 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4882 GCC=`test $ac_compiler_gnu = yes && echo yes`
4883 ac_test_CFLAGS=${CFLAGS+set}
4884 ac_save_CFLAGS=$CFLAGS
4885 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4886 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4887 if test "${ac_cv_prog_cc_g+set}" = set; then
4888 echo $ECHO_N "(cached) $ECHO_C" >&6
4890 ac_save_c_werror_flag=$ac_c_werror_flag
4891 ac_c_werror_flag=yes
4894 cat >conftest.$ac_ext <<_ACEOF
4897 cat confdefs.h >>conftest.$ac_ext
4898 cat >>conftest.$ac_ext <<_ACEOF
4899 /* end confdefs.h. */
4909 rm -f conftest.$ac_objext
4910 if { (ac_try="$ac_compile"
4912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4913 *) ac_try_echo=$ac_try;;
4915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4916 (eval "$ac_compile") 2>conftest.er1
4918 grep -v '^ *+' conftest.er1 >conftest.err
4920 cat conftest.err >&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); } && {
4923 test -z "$ac_c_werror_flag" ||
4924 test ! -s conftest.err
4925 } && test -s conftest.$ac_objext; then
4928 echo "$as_me: failed program was:" >&5
4929 sed 's/^/| /' conftest.$ac_ext >&5
4932 cat >conftest.$ac_ext <<_ACEOF
4935 cat confdefs.h >>conftest.$ac_ext
4936 cat >>conftest.$ac_ext <<_ACEOF
4937 /* end confdefs.h. */
4947 rm -f conftest.$ac_objext
4948 if { (ac_try="$ac_compile"
4950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4951 *) ac_try_echo=$ac_try;;
4953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4954 (eval "$ac_compile") 2>conftest.er1
4956 grep -v '^ *+' conftest.er1 >conftest.err
4958 cat conftest.err >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); } && {
4961 test -z "$ac_c_werror_flag" ||
4962 test ! -s conftest.err
4963 } && test -s conftest.$ac_objext; then
4966 echo "$as_me: failed program was:" >&5
4967 sed 's/^/| /' conftest.$ac_ext >&5
4969 ac_c_werror_flag=$ac_save_c_werror_flag
4971 cat >conftest.$ac_ext <<_ACEOF
4974 cat confdefs.h >>conftest.$ac_ext
4975 cat >>conftest.$ac_ext <<_ACEOF
4976 /* end confdefs.h. */
4986 rm -f conftest.$ac_objext
4987 if { (ac_try="$ac_compile"
4989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4990 *) ac_try_echo=$ac_try;;
4992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4993 (eval "$ac_compile") 2>conftest.er1
4995 grep -v '^ *+' conftest.er1 >conftest.err
4997 cat conftest.err >&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); } && {
5000 test -z "$ac_c_werror_flag" ||
5001 test ! -s conftest.err
5002 } && test -s conftest.$ac_objext; then
5005 echo "$as_me: failed program was:" >&5
5006 sed 's/^/| /' conftest.$ac_ext >&5
5011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5018 ac_c_werror_flag=$ac_save_c_werror_flag
5020 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5021 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5022 if test "$ac_test_CFLAGS" = set; then
5023 CFLAGS=$ac_save_CFLAGS
5024 elif test $ac_cv_prog_cc_g = yes; then
5025 if test "$GCC" = yes; then
5031 if test "$GCC" = yes; then
5037 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5038 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5039 if test "${ac_cv_prog_cc_c89+set}" = set; then
5040 echo $ECHO_N "(cached) $ECHO_C" >&6
5042 ac_cv_prog_cc_c89=no
5044 cat >conftest.$ac_ext <<_ACEOF
5047 cat confdefs.h >>conftest.$ac_ext
5048 cat >>conftest.$ac_ext <<_ACEOF
5049 /* end confdefs.h. */
5052 #include <sys/types.h>
5053 #include <sys/stat.h>
5054 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5055 struct buf { int x; };
5056 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5057 static char *e (p, i)
5063 static char *f (char * (*g) (char **, int), char **p, ...)
5068 s = g (p, va_arg (v,int));
5073 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5074 function prototypes and stuff, but not '\xHH' hex character constants.
5075 These don't provoke an error unfortunately, instead are silently treated
5076 as 'x'. The following induces an error, until -std is added to get
5077 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5078 array size at least. It's necessary to write '\x00'==0 to get something
5079 that's true only with -std. */
5080 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5082 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5083 inside strings and character constants. */
5085 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5087 int test (int i, double x);
5088 struct s1 {int (*f) (int a);};
5089 struct s2 {int (*f) (double a);};
5090 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5096 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5101 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5102 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5104 CC="$ac_save_CC $ac_arg"
5105 rm -f conftest.$ac_objext
5106 if { (ac_try="$ac_compile"
5108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5109 *) ac_try_echo=$ac_try;;
5111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5112 (eval "$ac_compile") 2>conftest.er1
5114 grep -v '^ *+' conftest.er1 >conftest.err
5116 cat conftest.err >&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); } && {
5119 test -z "$ac_c_werror_flag" ||
5120 test ! -s conftest.err
5121 } && test -s conftest.$ac_objext; then
5122 ac_cv_prog_cc_c89=$ac_arg
5124 echo "$as_me: failed program was:" >&5
5125 sed 's/^/| /' conftest.$ac_ext >&5
5130 rm -f core conftest.err conftest.$ac_objext
5131 test "x$ac_cv_prog_cc_c89" != "xno" && break
5133 rm -f conftest.$ac_ext
5138 case "x$ac_cv_prog_cc_c89" in
5140 { echo "$as_me:$LINENO: result: none needed" >&5
5141 echo "${ECHO_T}none needed" >&6; } ;;
5143 { echo "$as_me:$LINENO: result: unsupported" >&5
5144 echo "${ECHO_T}unsupported" >&6; } ;;
5146 CC="$CC $ac_cv_prog_cc_c89"
5147 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5148 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5153 ac_cpp='$CPP $CPPFLAGS'
5154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5158 depcc="$CC" am_compiler_list=
5160 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5161 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5162 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5163 echo $ECHO_N "(cached) $ECHO_C" >&6
5165 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5166 # We make a subdir and do the tests there. Otherwise we can end up
5167 # making bogus files that we don't know about and never remove. For
5168 # instance it was reported that on HP-UX the gcc test will end up
5169 # making a dummy file named `D' -- because `-MD' means `put the output
5172 # Copy depcomp to subdir because otherwise we won't find it if we're
5173 # using a relative directory.
5174 cp "$am_depcomp" conftest.dir
5176 # We will build objects and dependencies in a subdirectory because
5177 # it helps to detect inapplicable dependency modes. For instance
5178 # both Tru64's cc and ICC support -MD to output dependencies as a
5179 # side effect of compilation, but ICC will put the dependencies in
5180 # the current directory while Tru64 will put them in the object
5184 am_cv_CC_dependencies_compiler_type=none
5185 if test "$am_compiler_list" = ""; then
5186 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5188 for depmode in $am_compiler_list; do
5189 # Setup a source with many dependencies, because some compilers
5190 # like to wrap large dependency lists on column 80 (with \), and
5191 # we should not choose a depcomp mode which is confused by this.
5193 # We need to recreate these files for each test, as the compiler may
5194 # overwrite some of them when testing with obscure command lines.
5195 # This happens at least with the AIX C compiler.
5197 for i in 1 2 3 4 5 6; do
5198 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5199 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5200 # Solaris 8's {/usr,}/bin/sh.
5201 touch sub/conftst$i.h
5203 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5207 # after this tag, mechanisms are not by side-effect, so they'll
5208 # only be used when explicitly requested
5209 if test "x$enable_dependency_tracking" = xyes; then
5217 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5218 # mode. It turns out that the SunPro C++ compiler does not properly
5219 # handle `-M -o', and we need to detect this.
5220 if depmode=$depmode \
5221 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5222 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5223 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5224 >/dev/null 2>conftest.err &&
5225 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5226 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5227 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5228 # icc doesn't choke on unknown options, it will just issue warnings
5229 # or remarks (even with -Werror). So we grep stderr for any message
5230 # that says an option was ignored or not supported.
5231 # When given -MP, icc 7.0 and 7.1 complain thusly:
5232 # icc: Command line warning: ignoring option '-M'; no argument required
5233 # The diagnosis changed in icc 8.0:
5234 # icc: Command line remark: option '-MP' not supported
5235 if (grep 'ignoring option' conftest.err ||
5236 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5237 am_cv_CC_dependencies_compiler_type=$depmode
5246 am_cv_CC_dependencies_compiler_type=none
5250 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5251 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5252 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5257 test "x$enable_dependency_tracking" != xno \
5258 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5260 am__fastdepCC_FALSE='#'
5262 am__fastdepCC_TRUE='#'
5263 am__fastdepCC_FALSE=
5268 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5271 ac_cpp='$CPP $CPPFLAGS'
5272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5275 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5276 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5277 # On Suns, sometimes $CPP names a directory.
5278 if test -n "$CPP" && test -d "$CPP"; then
5281 if test -z "$CPP"; then
5282 if test "${ac_cv_prog_CPP+set}" = set; then
5283 echo $ECHO_N "(cached) $ECHO_C" >&6
5285 # Double quotes because CPP needs to be expanded
5286 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5289 for ac_c_preproc_warn_flag in '' yes
5291 # Use a header file that comes with gcc, so configuring glibc
5292 # with a fresh cross-compiler works.
5293 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5294 # <limits.h> exists even on freestanding compilers.
5295 # On the NeXT, cc -E runs the code through the compiler's parser,
5296 # not just through cpp. "Syntax error" is here to catch this case.
5297 cat >conftest.$ac_ext <<_ACEOF
5300 cat confdefs.h >>conftest.$ac_ext
5301 cat >>conftest.$ac_ext <<_ACEOF
5302 /* end confdefs.h. */
5304 # include <limits.h>
5306 # include <assert.h>
5310 if { (ac_try="$ac_cpp conftest.$ac_ext"
5312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5313 *) ac_try_echo=$ac_try;;
5315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5316 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5318 grep -v '^ *+' conftest.er1 >conftest.err
5320 cat conftest.err >&5
5321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322 (exit $ac_status); } >/dev/null && {
5323 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5324 test ! -s conftest.err
5328 echo "$as_me: failed program was:" >&5
5329 sed 's/^/| /' conftest.$ac_ext >&5
5331 # Broken: fails on valid input.
5335 rm -f conftest.err conftest.$ac_ext
5337 # OK, works on sane cases. Now check whether nonexistent headers
5338 # can be detected and how.
5339 cat >conftest.$ac_ext <<_ACEOF
5342 cat confdefs.h >>conftest.$ac_ext
5343 cat >>conftest.$ac_ext <<_ACEOF
5344 /* end confdefs.h. */
5345 #include <ac_nonexistent.h>
5347 if { (ac_try="$ac_cpp conftest.$ac_ext"
5349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5350 *) ac_try_echo=$ac_try;;
5352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5353 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5355 grep -v '^ *+' conftest.er1 >conftest.err
5357 cat conftest.err >&5
5358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); } >/dev/null && {
5360 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5361 test ! -s conftest.err
5363 # Broken: success on invalid input.
5366 echo "$as_me: failed program was:" >&5
5367 sed 's/^/| /' conftest.$ac_ext >&5
5369 # Passes both tests.
5374 rm -f conftest.err conftest.$ac_ext
5377 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5378 rm -f conftest.err conftest.$ac_ext
5379 if $ac_preproc_ok; then
5391 { echo "$as_me:$LINENO: result: $CPP" >&5
5392 echo "${ECHO_T}$CPP" >&6; }
5394 for ac_c_preproc_warn_flag in '' yes
5396 # Use a header file that comes with gcc, so configuring glibc
5397 # with a fresh cross-compiler works.
5398 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5399 # <limits.h> exists even on freestanding compilers.
5400 # On the NeXT, cc -E runs the code through the compiler's parser,
5401 # not just through cpp. "Syntax error" is here to catch this case.
5402 cat >conftest.$ac_ext <<_ACEOF
5405 cat confdefs.h >>conftest.$ac_ext
5406 cat >>conftest.$ac_ext <<_ACEOF
5407 /* end confdefs.h. */
5409 # include <limits.h>
5411 # include <assert.h>
5415 if { (ac_try="$ac_cpp conftest.$ac_ext"
5417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5418 *) ac_try_echo=$ac_try;;
5420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5421 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5423 grep -v '^ *+' conftest.er1 >conftest.err
5425 cat conftest.err >&5
5426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); } >/dev/null && {
5428 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5429 test ! -s conftest.err
5433 echo "$as_me: failed program was:" >&5
5434 sed 's/^/| /' conftest.$ac_ext >&5
5436 # Broken: fails on valid input.
5440 rm -f conftest.err conftest.$ac_ext
5442 # OK, works on sane cases. Now check whether nonexistent headers
5443 # can be detected and how.
5444 cat >conftest.$ac_ext <<_ACEOF
5447 cat confdefs.h >>conftest.$ac_ext
5448 cat >>conftest.$ac_ext <<_ACEOF
5449 /* end confdefs.h. */
5450 #include <ac_nonexistent.h>
5452 if { (ac_try="$ac_cpp conftest.$ac_ext"
5454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5455 *) ac_try_echo=$ac_try;;
5457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5458 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5460 grep -v '^ *+' conftest.er1 >conftest.err
5462 cat conftest.err >&5
5463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464 (exit $ac_status); } >/dev/null && {
5465 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5466 test ! -s conftest.err
5468 # Broken: success on invalid input.
5471 echo "$as_me: failed program was:" >&5
5472 sed 's/^/| /' conftest.$ac_ext >&5
5474 # Passes both tests.
5479 rm -f conftest.err conftest.$ac_ext
5482 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5483 rm -f conftest.err conftest.$ac_ext
5484 if $ac_preproc_ok; then
5487 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5488 See \`config.log' for more details." >&5
5489 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5490 See \`config.log' for more details." >&2;}
5491 { (exit 1); exit 1; }; }
5495 ac_cpp='$CPP $CPPFLAGS'
5496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5502 test -n "$build_alias" && ac_build_tool_prefix=$build_alias-
5504 if test -z "$CC_FOR_BUILD"; then
5505 if test "$#" = yes; then
5506 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5507 See \`config.log' for more details." >&5
5508 echo "$as_me: error: cannot run test program while cross compiling
5509 See \`config.log' for more details." >&2;}
5510 { (exit 1); exit 1; }; }
5512 cat >conftest.$ac_ext <<_ACEOF
5513 int main(){return 0;}
5515 rm -f conftest$ac_exeext
5516 if { (ac_try="$ac_link"
5518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5519 *) ac_try_echo=$ac_try;;
5521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5522 (eval "$ac_link") 2>&5
5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5526 { (case "(($ac_try" in
5527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5528 *) ac_try_echo=$ac_try;;
5530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5531 (eval "$ac_try") 2>&5
5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); }; }; then
5537 echo "$as_me: program exited with status $ac_status" >&5
5538 echo "$as_me: failed program was:" >&5
5539 sed 's/^/| /' conftest.$ac_ext >&5
5542 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5550 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5551 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5552 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
5553 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
5554 if test -n "$ac_build_tool_prefix"; then
5555 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5556 set dummy ${ac_build_tool_prefix}gcc; ac_word=$2
5557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5559 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
5560 echo $ECHO_N "(cached) $ECHO_C" >&6
5562 if test -n "$CC_FOR_BUILD"; then
5563 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569 test -z "$as_dir" && as_dir=.
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5572 ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}gcc"
5573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
5583 if test -n "$CC_FOR_BUILD"; then
5584 { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
5585 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
5587 { echo "$as_me:$LINENO: result: no" >&5
5588 echo "${ECHO_T}no" >&6; }
5593 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
5594 ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
5595 # Extract the first word of "gcc", so it can be a program name with args.
5596 set dummy gcc; ac_word=$2
5597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5599 if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6
5602 if test -n "$ac_ct_CC_FOR_BUILD"; then
5603 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
5605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5609 test -z "$as_dir" && as_dir=.
5610 for ac_exec_ext in '' $ac_executable_extensions; do
5611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5612 ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"
5613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
5623 if test -n "$ac_ct_CC_FOR_BUILD"; then
5624 { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&5
5625 echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }
5627 { echo "$as_me:$LINENO: result: no" >&5
5628 echo "${ECHO_T}no" >&6; }
5631 if test "x$ac_ct_CC_FOR_BUILD" = x; then
5634 case $#:$ac_tool_warned in
5636 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5637 whose name does not start with the build triplet. If you think this
5638 configuration is useful to you, please write to autoconf@gnu.org." >&5
5639 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5640 whose name does not start with the build triplet. If you think this
5641 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5642 ac_tool_warned=yes ;;
5644 CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
5647 CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
5650 if test -z "$CC_FOR_BUILD"; then
5651 if test -n "$ac_build_tool_prefix"; then
5652 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5653 set dummy ${ac_build_tool_prefix}cc; ac_word=$2
5654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5656 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
5657 echo $ECHO_N "(cached) $ECHO_C" >&6
5659 if test -n "$CC_FOR_BUILD"; then
5660 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 test -z "$as_dir" && as_dir=.
5667 for ac_exec_ext in '' $ac_executable_extensions; do
5668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5669 ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}cc"
5670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5679 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
5680 if test -n "$CC_FOR_BUILD"; then
5681 { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
5682 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
5684 { echo "$as_me:$LINENO: result: no" >&5
5685 echo "${ECHO_T}no" >&6; }
5691 if test -z "$CC_FOR_BUILD"; then
5692 # Extract the first word of "cc", so it can be a program name with args.
5693 set dummy cc; ac_word=$2
5694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5696 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
5697 echo $ECHO_N "(cached) $ECHO_C" >&6
5699 if test -n "$CC_FOR_BUILD"; then
5700 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
5703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5707 test -z "$as_dir" && as_dir=.
5708 for ac_exec_ext in '' $ac_executable_extensions; do
5709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5710 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5711 ac_prog_rejected=yes
5714 ac_cv_prog_CC_FOR_BUILD="cc"
5715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 if test $ac_prog_rejected = yes; then
5723 # We found a bogon in the path, so make sure we never use it.
5724 set dummy $ac_cv_prog_CC_FOR_BUILD
5726 if test $# != 0; then
5727 # We chose a different compiler from the bogus one.
5728 # However, it has the same basename, so the bogon will be chosen
5729 # first if we set CC_FOR_BUILD to just the basename; use the full file name.
5731 ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"
5736 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
5737 if test -n "$CC_FOR_BUILD"; then
5738 { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
5739 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
5741 { echo "$as_me:$LINENO: result: no" >&5
5742 echo "${ECHO_T}no" >&6; }
5747 if test -z "$CC_FOR_BUILD"; then
5748 if test -n "$ac_build_tool_prefix"; then
5749 for ac_prog in cl.exe
5751 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5752 set dummy $ac_build_tool_prefix$ac_prog; ac_word=$2
5753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5755 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
5756 echo $ECHO_N "(cached) $ECHO_C" >&6
5758 if test -n "$CC_FOR_BUILD"; then
5759 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 test -z "$as_dir" && as_dir=.
5766 for ac_exec_ext in '' $ac_executable_extensions; do
5767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5768 ac_cv_prog_CC_FOR_BUILD="$ac_build_tool_prefix$ac_prog"
5769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
5779 if test -n "$CC_FOR_BUILD"; then
5780 { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
5781 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
5783 { echo "$as_me:$LINENO: result: no" >&5
5784 echo "${ECHO_T}no" >&6; }
5788 test -n "$CC_FOR_BUILD" && break
5791 if test -z "$CC_FOR_BUILD"; then
5792 ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
5793 for ac_prog in cl.exe
5795 # Extract the first word of "$ac_prog", so it can be a program name with args.
5796 set dummy $ac_prog; ac_word=$2
5797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5799 if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5802 if test -n "$ac_ct_CC_FOR_BUILD"; then
5803 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir=.
5810 for ac_exec_ext in '' $ac_executable_extensions; do
5811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5812 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"
5813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
5823 if test -n "$ac_ct_CC_FOR_BUILD"; then
5824 { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&5
5825 echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }
5827 { echo "$as_me:$LINENO: result: no" >&5
5828 echo "${ECHO_T}no" >&6; }
5832 test -n "$ac_ct_CC_FOR_BUILD" && break
5835 if test "x$ac_ct_CC_FOR_BUILD" = x; then
5838 case $#:$ac_tool_warned in
5840 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5841 whose name does not start with the build triplet. If you think this
5842 configuration is useful to you, please write to autoconf@gnu.org." >&5
5843 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5844 whose name does not start with the build triplet. If you think this
5845 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5846 ac_tool_warned=yes ;;
5848 CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
5855 test -z "$CC_FOR_BUILD" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5856 See \`config.log' for more details." >&5
5857 echo "$as_me: error: no acceptable C compiler found in \$PATH
5858 See \`config.log' for more details." >&2;}
5859 { (exit 1); exit 1; }; }
5861 # Provide some information about the compiler.
5862 echo "$as_me:$LINENO: checking for C compiler version" >&5
5863 ac_compiler=`set X $ac_build_compile; echo $2`
5864 { (ac_try="$ac_compiler --version >&5"
5866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5867 *) ac_try_echo=$ac_try;;
5869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5870 (eval "$ac_compiler --version >&5") 2>&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); }
5874 { (ac_try="$ac_compiler -v >&5"
5876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5877 *) ac_try_echo=$ac_try;;
5879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5880 (eval "$ac_compiler -v >&5") 2>&5
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 (exit $ac_status); }
5884 { (ac_try="$ac_compiler -V >&5"
5886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5887 *) ac_try_echo=$ac_try;;
5889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5890 (eval "$ac_compiler -V >&5") 2>&5
5892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5893 (exit $ac_status); }
5895 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5896 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5897 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5898 echo $ECHO_N "(cached) $ECHO_C" >&6
5900 cat >conftest.$ac_ext <<_ACEOF
5903 cat confdefs.h >>conftest.$ac_ext
5904 cat >>conftest.$ac_ext <<_ACEOF
5905 /* end confdefs.h. */
5918 rm -f conftest.$ac_build_objext
5919 if { (ac_try="$ac_build_compile"
5921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5922 *) ac_try_echo=$ac_try;;
5924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5925 (eval "$ac_build_compile") 2>conftest.er1
5927 grep -v '^ *+' conftest.er1 >conftest.err
5929 cat conftest.err >&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); } && {
5932 test -z "$ac_c_werror_flag" ||
5933 test ! -s conftest.err
5934 } && test -s conftest.$ac_build_objext; then
5935 ac_build_compiler_gnu=yes
5937 echo "$as_me: failed program was:" >&5
5938 sed 's/^/| /' conftest.$ac_ext >&5
5940 ac_build_compiler_gnu=no
5943 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5944 ac_cv_c_compiler_gnu=$ac_build_compiler_gnu
5947 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5948 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5949 GCC=`test $ac_build_compiler_gnu = yes && echo yes`
5950 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
5951 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
5952 { echo "$as_me:$LINENO: checking whether $CC_FOR_BUILD accepts -g" >&5
5953 echo $ECHO_N "checking whether $CC_FOR_BUILD accepts -g... $ECHO_C" >&6; }
5954 if test "${ac_cv_build_prog_cc_g+set}" = set; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 ac_save_c_werror_flag=$ac_c_werror_flag
5958 ac_c_werror_flag=yes
5959 ac_cv_build_prog_cc_g=no
5960 CFLAGS_FOR_BUILD="-g"
5961 cat >conftest.$ac_ext <<_ACEOF
5964 cat confdefs.h >>conftest.$ac_ext
5965 cat >>conftest.$ac_ext <<_ACEOF
5966 /* end confdefs.h. */
5976 rm -f conftest.$ac_build_objext
5977 if { (ac_try="$ac_build_compile"
5979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5980 *) ac_try_echo=$ac_try;;
5982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5983 (eval "$ac_build_compile") 2>conftest.er1
5985 grep -v '^ *+' conftest.er1 >conftest.err
5987 cat conftest.err >&5
5988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5989 (exit $ac_status); } && {
5990 test -z "$ac_c_werror_flag" ||
5991 test ! -s conftest.err
5992 } && test -s conftest.$ac_build_objext; then
5993 ac_cv_build_prog_cc_g=yes
5995 echo "$as_me: failed program was:" >&5
5996 sed 's/^/| /' conftest.$ac_ext >&5
5999 cat >conftest.$ac_ext <<_ACEOF
6002 cat confdefs.h >>conftest.$ac_ext
6003 cat >>conftest.$ac_ext <<_ACEOF
6004 /* end confdefs.h. */
6014 rm -f conftest.$ac_build_objext
6015 if { (ac_try="$ac_build_compile"
6017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6018 *) ac_try_echo=$ac_try;;
6020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6021 (eval "$ac_build_compile") 2>conftest.er1
6023 grep -v '^ *+' conftest.er1 >conftest.err
6025 cat conftest.err >&5
6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); } && {
6028 test -z "$ac_c_werror_flag" ||
6029 test ! -s conftest.err
6030 } && test -s conftest.$ac_build_objext; then
6033 echo "$as_me: failed program was:" >&5
6034 sed 's/^/| /' conftest.$ac_ext >&5
6036 ac_c_werror_flag=$ac_save_c_werror_flag
6037 CFLAGS_FOR_BUILD="-g"
6038 cat >conftest.$ac_ext <<_ACEOF
6041 cat confdefs.h >>conftest.$ac_ext
6042 cat >>conftest.$ac_ext <<_ACEOF
6043 /* end confdefs.h. */
6053 rm -f conftest.$ac_build_objext
6054 if { (ac_try="$ac_build_compile"
6056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6057 *) ac_try_echo=$ac_try;;
6059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6060 (eval "$ac_build_compile") 2>conftest.er1
6062 grep -v '^ *+' conftest.er1 >conftest.err
6064 cat conftest.err >&5
6065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066 (exit $ac_status); } && {
6067 test -z "$ac_c_werror_flag" ||
6068 test ! -s conftest.err
6069 } && test -s conftest.$ac_build_objext; then
6070 ac_cv_build_prog_cc_g=yes
6072 echo "$as_me: failed program was:" >&5
6073 sed 's/^/| /' conftest.$ac_ext >&5
6078 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
6081 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
6084 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
6085 ac_c_werror_flag=$ac_save_c_werror_flag
6087 { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_g" >&5
6088 echo "${ECHO_T}$ac_cv_build_prog_cc_g" >&6; }
6089 if test "$ac_test_CFLAGS" = set; then
6090 CFLAGS_FOR_BUILD=$ac_save_CFLAGS
6091 elif test $ac_cv_build_prog_cc_g = yes; then
6092 if test "$GCC" = yes; then
6093 CFLAGS_FOR_BUILD="-g -O2"
6095 CFLAGS_FOR_BUILD="-g"
6098 if test "$GCC" = yes; then
6099 CFLAGS_FOR_BUILD="-O2"
6104 { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
6105 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }
6106 if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
6107 echo $ECHO_N "(cached) $ECHO_C" >&6
6109 ac_cv_build_prog_cc_stdc=no
6110 ac_save_CC=$CC_FOR_BUILD
6111 cat >conftest.$ac_ext <<_ACEOF
6114 cat confdefs.h >>conftest.$ac_ext
6115 cat >>conftest.$ac_ext <<_ACEOF
6116 /* end confdefs.h. */
6119 #include <sys/types.h>
6120 #include <sys/stat.h>
6121 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6122 struct buf { int x; };
6123 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6124 static char *e (p, i)
6130 static char *f (char * (*g) (char **, int), char **p, ...)
6135 s = g (p, va_arg (v,int));
6140 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6141 function prototypes and stuff, but not '\xHH' hex character constants.
6142 These don't provoke an error unfortunately, instead are silently treated
6143 as 'x'. The following induces an error, until -std is added to get
6144 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6145 array size at least. It's necessary to write '\x00'==0 to get something
6146 that's true only with -std. */
6147 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6149 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6150 inside strings and character constants. */
6152 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6154 int test (int i, double x);
6155 struct s1 {int (*f) (int a);};
6156 struct s2 {int (*f) (double a);};
6157 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6163 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6168 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6169 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6171 CC_FOR_BUILD="$ac_save_CC $ac_arg"
6172 rm -f conftest.$ac_build_objext
6173 if { (ac_try="$ac_build_compile"
6175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6176 *) ac_try_echo=$ac_try;;
6178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6179 (eval "$ac_build_compile") 2>conftest.er1
6181 grep -v '^ *+' conftest.er1 >conftest.err
6183 cat conftest.err >&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); } && {
6186 test -z "$ac_c_werror_flag" ||
6187 test ! -s conftest.err
6188 } && test -s conftest.$ac_build_objext; then
6189 ac_cv_build_prog_cc_stdc=$ac_arg
6191 echo "$as_me: failed program was:" >&5
6192 sed 's/^/| /' conftest.$ac_ext >&5
6197 rm -f core conftest.err conftest.$ac_build_objext
6198 test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
6200 rm -f conftest.$ac_ext
6201 CC_FOR_BUILD=$ac_save_CC
6205 case "x$ac_cv_build_prog_cc_stdc" in
6207 { echo "$as_me:$LINENO: result: none needed" >&5
6208 echo "${ECHO_T}none needed" >&6; } ;;
6210 { echo "$as_me:$LINENO: result: unsupported" >&5
6211 echo "${ECHO_T}unsupported" >&6; } ;;
6213 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
6214 { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
6215 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
6220 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6221 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6222 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6223 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
6225 depcc="$CC_FOR_BUILD" am_compiler_list=
6227 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6228 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6229 if test "${am_cv_CC_FOR_BUILD_dependencies_compiler_type+set}" = set; then
6230 echo $ECHO_N "(cached) $ECHO_C" >&6
6232 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6233 # We make a subdir and do the tests there. Otherwise we can end up
6234 # making bogus files that we don't know about and never remove. For
6235 # instance it was reported that on HP-UX the gcc test will end up
6236 # making a dummy file named `D' -- because `-MD' means `put the output
6239 # Copy depcomp to subdir because otherwise we won't find it if we're
6240 # using a relative directory.
6241 cp "$am_depcomp" conftest.dir
6243 # We will build objects and dependencies in a subdirectory because
6244 # it helps to detect inapplicable dependency modes. For instance
6245 # both Tru64's cc and ICC support -MD to output dependencies as a
6246 # side effect of compilation, but ICC will put the dependencies in
6247 # the current directory while Tru64 will put them in the object
6251 am_cv_CC_FOR_BUILD_dependencies_compiler_type=none
6252 if test "$am_compiler_list" = ""; then
6253 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6255 for depmode in $am_compiler_list; do
6256 # Setup a source with many dependencies, because some compilers
6257 # like to wrap large dependency lists on column 80 (with \), and
6258 # we should not choose a depcomp mode which is confused by this.
6260 # We need to recreate these files for each test, as the compiler may
6261 # overwrite some of them when testing with obscure command lines.
6262 # This happens at least with the AIX C compiler.
6264 for i in 1 2 3 4 5 6; do
6265 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6266 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6267 # Solaris 8's {/usr,}/bin/sh.
6268 touch sub/conftst$i.h
6270 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6274 # after this tag, mechanisms are not by side-effect, so they'll
6275 # only be used when explicitly requested
6276 if test "x$enable_dependency_tracking" = xyes; then
6284 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6285 # mode. It turns out that the SunPro C++ compiler does not properly
6286 # handle `-M -o', and we need to detect this.
6287 if depmode=$depmode \
6288 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6289 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6290 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6291 >/dev/null 2>conftest.err &&
6292 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6293 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6294 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6295 # icc doesn't choke on unknown options, it will just issue warnings
6296 # or remarks (even with -Werror). So we grep stderr for any message
6297 # that says an option was ignored or not supported.
6298 # When given -MP, icc 7.0 and 7.1 complain thusly:
6299 # icc: Command line warning: ignoring option '-M'; no argument required
6300 # The diagnosis changed in icc 8.0:
6301 # icc: Command line remark: option '-MP' not supported
6302 if (grep 'ignoring option' conftest.err ||
6303 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6304 am_cv_CC_FOR_BUILD_dependencies_compiler_type=$depmode
6313 am_cv_CC_FOR_BUILD_dependencies_compiler_type=none
6317 { echo "$as_me:$LINENO: result: $am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&5
6318 echo "${ECHO_T}$am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&6; }
6319 CC_FOR_BUILDDEPMODE=depmode=$am_cv_CC_FOR_BUILD_dependencies_compiler_type
6324 test "x$enable_dependency_tracking" != xno \
6325 && test "$am_cv_CC_FOR_BUILD_dependencies_compiler_type" = gcc3; then
6326 am__fastdepCC_FOR_BUILD_TRUE=
6327 am__fastdepCC_FOR_BUILD_FALSE='#'
6329 am__fastdepCC_FOR_BUILD_TRUE='#'
6330 am__fastdepCC_FOR_BUILD_FALSE=
6334 case $ac_cv_build_prog_cc_stdc in
6335 no) ac_cv_build_prog_cc_stdc=no; ac_cv_build_prog_cc_stdc=no ;;
6336 *) { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C99" >&5
6337 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C99... $ECHO_C" >&6; }
6338 if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
6339 echo $ECHO_N "(cached) $ECHO_C" >&6
6341 ac_cv_build_prog_cc_stdc=no
6342 ac_save_CC=$CC_FOR_BUILD
6343 cat >conftest.$ac_ext <<_ACEOF
6346 cat confdefs.h >>conftest.$ac_ext
6347 cat >>conftest.$ac_ext <<_ACEOF
6348 /* end confdefs.h. */
6350 #include <stdbool.h>
6355 // Check varargs macros. These examples are taken from C99 6.10.3.5.
6356 #define debug(...) fprintf (stderr, __VA_ARGS__)
6357 #define showlist(...) puts (#__VA_ARGS__)
6358 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
6360 test_varargs_macros (void)
6365 debug ("X = %d\n", x);
6366 showlist (The first, second, and third items.);
6367 report (x>y, "x is %d but y is %d", x, y);
6370 // Check long long types.
6371 #define BIG64 18446744073709551615ull
6372 #define BIG32 4294967295ul
6373 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
6375 your preprocessor is broken;
6379 your preprocessor is broken;
6381 static long long int bignum = -9223372036854775807LL;
6382 static unsigned long long int ubignum = BIG64;
6384 struct incomplete_array
6392 const wchar_t *name;
6396 typedef const char *ccp;
6399 test_restrict (ccp restrict text)
6401 // See if C++-style comments work.
6402 // Iterate through items via the restricted pointer.
6403 // Also check for declarations in for loops.
6404 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
6409 // Check varargs and va_copy.
6411 test_varargs (const char *format, ...)
6414 va_start (args, format);
6416 va_copy (args_copy, args);
6427 str = va_arg (args_copy, const char *);
6430 number = va_arg (args_copy, int);
6433 fnumber = va_arg (args_copy, double);
6448 _Bool success = false;
6451 if (test_restrict ("String literal") == 0)
6453 char *restrict newvar = "Another string";
6456 test_varargs ("s, d' f .", "string", 65, 34.234);
6457 test_varargs_macros ();
6459 // Check flexible array members.
6460 struct incomplete_array *ia =
6461 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
6463 for (int i = 0; i < ia->datasize; ++i)
6464 ia->data[i] = i * 1.234;
6466 // Check named initializers.
6467 struct named_init ni = {
6469 .name = L"Test wide string",
6470 .average = 543.34343,
6475 int dynamic_array[ni.number];
6476 dynamic_array[ni.number - 1] = 543;
6478 // work around unused variable warnings
6479 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
6480 || dynamic_array[ni.number - 1] != 543);
6486 for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
6488 CC_FOR_BUILD="$ac_save_CC $ac_arg"
6489 rm -f conftest.$ac_build_objext
6490 if { (ac_try="$ac_build_compile"
6492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6493 *) ac_try_echo=$ac_try;;
6495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6496 (eval "$ac_build_compile") 2>conftest.er1
6498 grep -v '^ *+' conftest.er1 >conftest.err
6500 cat conftest.err >&5
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); } && {
6503 test -z "$ac_c_werror_flag" ||
6504 test ! -s conftest.err
6505 } && test -s conftest.$ac_build_objext; then
6506 ac_cv_build_prog_cc_stdc=$ac_arg
6508 echo "$as_me: failed program was:" >&5
6509 sed 's/^/| /' conftest.$ac_ext >&5
6514 rm -f core conftest.err conftest.$ac_build_objext
6515 test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
6517 rm -f conftest.$ac_ext
6518 CC_FOR_BUILD=$ac_save_CC
6522 case "x$ac_cv_build_prog_cc_stdc" in
6524 { echo "$as_me:$LINENO: result: none needed" >&5
6525 echo "${ECHO_T}none needed" >&6; } ;;
6527 { echo "$as_me:$LINENO: result: unsupported" >&5
6528 echo "${ECHO_T}unsupported" >&6; } ;;
6530 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
6531 { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
6532 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
6534 if test "x$ac_cv_build_prog_cc_stdc" != xno; then
6535 ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc
6537 { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
6538 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }
6539 if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
6540 echo $ECHO_N "(cached) $ECHO_C" >&6
6542 ac_cv_build_prog_cc_stdc=no
6543 ac_save_CC=$CC_FOR_BUILD
6544 cat >conftest.$ac_ext <<_ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6552 #include <sys/types.h>
6553 #include <sys/stat.h>
6554 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6555 struct buf { int x; };
6556 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6557 static char *e (p, i)
6563 static char *f (char * (*g) (char **, int), char **p, ...)
6568 s = g (p, va_arg (v,int));
6573 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6574 function prototypes and stuff, but not '\xHH' hex character constants.
6575 These don't provoke an error unfortunately, instead are silently treated
6576 as 'x'. The following induces an error, until -std is added to get
6577 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6578 array size at least. It's necessary to write '\x00'==0 to get something
6579 that's true only with -std. */
6580 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6582 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6583 inside strings and character constants. */
6585 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6587 int test (int i, double x);
6588 struct s1 {int (*f) (int a);};
6589 struct s2 {int (*f) (double a);};
6590 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6596 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6601 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6602 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6604 CC_FOR_BUILD="$ac_save_CC $ac_arg"
6605 rm -f conftest.$ac_build_objext
6606 if { (ac_try="$ac_build_compile"
6608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6609 *) ac_try_echo=$ac_try;;
6611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6612 (eval "$ac_build_compile") 2>conftest.er1
6614 grep -v '^ *+' conftest.er1 >conftest.err
6616 cat conftest.err >&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); } && {
6619 test -z "$ac_c_werror_flag" ||
6620 test ! -s conftest.err
6621 } && test -s conftest.$ac_build_objext; then
6622 ac_cv_build_prog_cc_stdc=$ac_arg
6624 echo "$as_me: failed program was:" >&5
6625 sed 's/^/| /' conftest.$ac_ext >&5
6630 rm -f core conftest.err conftest.$ac_build_objext
6631 test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
6633 rm -f conftest.$ac_ext
6634 CC_FOR_BUILD=$ac_save_CC
6638 case "x$ac_cv_build_prog_cc_stdc" in
6640 { echo "$as_me:$LINENO: result: none needed" >&5
6641 echo "${ECHO_T}none needed" >&6; } ;;
6643 { echo "$as_me:$LINENO: result: unsupported" >&5
6644 echo "${ECHO_T}unsupported" >&6; } ;;
6646 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
6647 { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
6648 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
6650 if test "x$ac_cv_build_prog_cc_stdc" != xno; then
6651 ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc
6653 ac_cv_build_prog_cc_stdc=no
6661 { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO Standard C" >&5
6662 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO Standard C... $ECHO_C" >&6; }
6663 if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
6664 echo $ECHO_N "(cached) $ECHO_C" >&6
6667 case $ac_cv_build_prog_cc_stdc in
6668 no) { echo "$as_me:$LINENO: result: unsupported" >&5
6669 echo "${ECHO_T}unsupported" >&6; } ;;
6670 '') { echo "$as_me:$LINENO: result: none needed" >&5
6671 echo "${ECHO_T}none needed" >&6; } ;;
6672 *) { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
6673 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
6678 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6679 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6680 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6681 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
6682 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6683 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
6684 # On Suns, sometimes $CPP names a directory.
6685 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
6688 if test -z "$CPP_FOR_BUILD"; then
6689 if test "${ac_cv_build_prog_CPP+set}" = set; then
6690 echo $ECHO_N "(cached) $ECHO_C" >&6
6692 # Double quotes because CPP needs to be expanded
6693 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
6696 for ac_c_preproc_warn_flag in '' yes
6698 # Use a header file that comes with gcc, so configuring glibc
6699 # with a fresh cross-compiler works.
6700 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6701 # <limits.h> exists even on freestanding compilers.
6702 # On the NeXT, cc -E runs the code through the compiler's parser,
6703 # not just through cpp. "Syntax error" is here to catch this case.
6704 cat >conftest.$ac_ext <<_ACEOF
6707 cat confdefs.h >>conftest.$ac_ext
6708 cat >>conftest.$ac_ext <<_ACEOF
6709 /* end confdefs.h. */
6711 # include <limits.h>
6713 # include <assert.h>
6717 if { (ac_try="$ac_build_cpp conftest.$ac_ext"
6719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6720 *) ac_try_echo=$ac_try;;
6722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6723 (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
6725 grep -v '^ *+' conftest.er1 >conftest.err
6727 cat conftest.err >&5
6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729 (exit $ac_status); } >/dev/null && {
6730 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6731 test ! -s conftest.err
6735 echo "$as_me: failed program was:" >&5
6736 sed 's/^/| /' conftest.$ac_ext >&5
6738 # Broken: fails on valid input.
6742 rm -f conftest.err conftest.$ac_ext
6744 # OK, works on sane cases. Now check whether nonexistent headers
6745 # can be detected and how.
6746 cat >conftest.$ac_ext <<_ACEOF
6749 cat confdefs.h >>conftest.$ac_ext
6750 cat >>conftest.$ac_ext <<_ACEOF
6751 /* end confdefs.h. */
6752 #include <ac_nonexistent.h>
6754 if { (ac_try="$ac_build_cpp conftest.$ac_ext"
6756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6757 *) ac_try_echo=$ac_try;;
6759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6760 (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
6762 grep -v '^ *+' conftest.er1 >conftest.err
6764 cat conftest.err >&5
6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 (exit $ac_status); } >/dev/null && {
6767 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6768 test ! -s conftest.err
6770 # Broken: success on invalid input.
6773 echo "$as_me: failed program was:" >&5
6774 sed 's/^/| /' conftest.$ac_ext >&5
6776 # Passes both tests.
6781 rm -f conftest.err conftest.$ac_ext
6784 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6785 rm -f conftest.err conftest.$ac_ext
6786 if $ac_preproc_ok; then
6791 ac_cv_build_prog_CPP=$CPP_FOR_BUILD
6794 CPP_FOR_BUILD=$ac_cv_build_prog_CPP
6796 ac_cv_build_prog_CPP=$CPP_FOR_BUILD
6798 { echo "$as_me:$LINENO: result: $CPP_FOR_BUILD" >&5
6799 echo "${ECHO_T}$CPP_FOR_BUILD" >&6; }
6801 for ac_c_preproc_warn_flag in '' yes
6803 # Use a header file that comes with gcc, so configuring glibc
6804 # with a fresh cross-compiler works.
6805 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6806 # <limits.h> exists even on freestanding compilers.
6807 # On the NeXT, cc -E runs the code through the compiler's parser,
6808 # not just through cpp. "Syntax error" is here to catch this case.
6809 cat >conftest.$ac_ext <<_ACEOF
6812 cat confdefs.h >>conftest.$ac_ext
6813 cat >>conftest.$ac_ext <<_ACEOF
6814 /* end confdefs.h. */
6816 # include <limits.h>
6818 # include <assert.h>
6822 if { (ac_try="$ac_build_cpp conftest.$ac_ext"
6824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6825 *) ac_try_echo=$ac_try;;
6827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6828 (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
6830 grep -v '^ *+' conftest.er1 >conftest.err
6832 cat conftest.err >&5
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); } >/dev/null && {
6835 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6836 test ! -s conftest.err
6840 echo "$as_me: failed program was:" >&5
6841 sed 's/^/| /' conftest.$ac_ext >&5
6843 # Broken: fails on valid input.
6847 rm -f conftest.err conftest.$ac_ext
6849 # OK, works on sane cases. Now check whether nonexistent headers
6850 # can be detected and how.
6851 cat >conftest.$ac_ext <<_ACEOF
6854 cat confdefs.h >>conftest.$ac_ext
6855 cat >>conftest.$ac_ext <<_ACEOF
6856 /* end confdefs.h. */
6857 #include <ac_nonexistent.h>
6859 if { (ac_try="$ac_build_cpp conftest.$ac_ext"
6861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6862 *) ac_try_echo=$ac_try;;
6864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6865 (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
6867 grep -v '^ *+' conftest.er1 >conftest.err
6869 cat conftest.err >&5
6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); } >/dev/null && {
6872 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6873 test ! -s conftest.err
6875 # Broken: success on invalid input.
6878 echo "$as_me: failed program was:" >&5
6879 sed 's/^/| /' conftest.$ac_ext >&5
6881 # Passes both tests.
6886 rm -f conftest.err conftest.$ac_ext
6889 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6890 rm -f conftest.err conftest.$ac_ext
6891 if $ac_preproc_ok; then
6894 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
6895 See \`config.log' for more details." >&5
6896 echo "$as_me: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
6897 See \`config.log' for more details." >&2;}
6898 { (exit 1); exit 1; }; }
6902 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6903 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6904 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6905 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
6910 BUILD_EXEEXT=$ac_build_exeext
6911 BUILD_OBJEXT=$ac_build_objext
6914 ac_cpp='$OBJCPP $CPPFLAGS'
6915 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6916 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6917 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
6918 if test -n "$ac_tool_prefix"; then
6919 for ac_prog in gcc objcc objc cc CC
6921 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6922 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6925 if test "${ac_cv_prog_OBJC+set}" = set; then
6926 echo $ECHO_N "(cached) $ECHO_C" >&6
6928 if test -n "$OBJC"; then
6929 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
6931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6935 test -z "$as_dir" && as_dir=.
6936 for ac_exec_ext in '' $ac_executable_extensions; do
6937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6938 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
6939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6948 OBJC=$ac_cv_prog_OBJC
6949 if test -n "$OBJC"; then
6950 { echo "$as_me:$LINENO: result: $OBJC" >&5
6951 echo "${ECHO_T}$OBJC" >&6; }
6953 { echo "$as_me:$LINENO: result: no" >&5
6954 echo "${ECHO_T}no" >&6; }
6958 test -n "$OBJC" && break
6961 if test -z "$OBJC"; then
6963 for ac_prog in gcc objcc objc cc CC
6965 # Extract the first word of "$ac_prog", so it can be a program name with args.
6966 set dummy $ac_prog; ac_word=$2
6967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6969 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
6970 echo $ECHO_N "(cached) $ECHO_C" >&6
6972 if test -n "$ac_ct_OBJC"; then
6973 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
6975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6979 test -z "$as_dir" && as_dir=.
6980 for ac_exec_ext in '' $ac_executable_extensions; do
6981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6982 ac_cv_prog_ac_ct_OBJC="$ac_prog"
6983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6992 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
6993 if test -n "$ac_ct_OBJC"; then
6994 { echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
6995 echo "${ECHO_T}$ac_ct_OBJC" >&6; }
6997 { echo "$as_me:$LINENO: result: no" >&5
6998 echo "${ECHO_T}no" >&6; }
7002 test -n "$ac_ct_OBJC" && break
7005 if test "x$ac_ct_OBJC" = x; then
7008 case $cross_compiling:$ac_tool_warned in
7010 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7011 whose name does not start with the host triplet. If you think this
7012 configuration is useful to you, please write to autoconf@gnu.org." >&5
7013 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7014 whose name does not start with the host triplet. If you think this
7015 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7016 ac_tool_warned=yes ;;
7022 # Provide some information about the compiler.
7023 echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
7024 ac_compiler=`set X $ac_compile; echo $2`
7025 { (ac_try="$ac_compiler --version >&5"
7027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7028 *) ac_try_echo=$ac_try;;
7030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7031 (eval "$ac_compiler --version >&5") 2>&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); }
7035 { (ac_try="$ac_compiler -v >&5"
7037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7038 *) ac_try_echo=$ac_try;;
7040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7041 (eval "$ac_compiler -v >&5") 2>&5
7043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7044 (exit $ac_status); }
7045 { (ac_try="$ac_compiler -V >&5"
7047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7048 *) ac_try_echo=$ac_try;;
7050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7051 (eval "$ac_compiler -V >&5") 2>&5
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); }
7056 { echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
7057 echo $ECHO_N "checking whether we are using the GNU Objective C compiler... $ECHO_C" >&6; }
7058 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
7059 echo $ECHO_N "(cached) $ECHO_C" >&6
7061 cat >conftest.$ac_ext <<_ACEOF
7064 cat confdefs.h >>conftest.$ac_ext
7065 cat >>conftest.$ac_ext <<_ACEOF
7066 /* end confdefs.h. */
7079 rm -f conftest.$ac_objext
7080 if { (ac_try="$ac_compile"
7082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7083 *) ac_try_echo=$ac_try;;
7085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7086 (eval "$ac_compile") 2>conftest.er1
7088 grep -v '^ *+' conftest.er1 >conftest.err
7090 cat conftest.err >&5
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); } && {
7093 test -z "$ac_objc_werror_flag" ||
7094 test ! -s conftest.err
7095 } && test -s conftest.$ac_objext; then
7098 echo "$as_me: failed program was:" >&5
7099 sed 's/^/| /' conftest.$ac_ext >&5
7104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7105 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
7108 { echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
7109 echo "${ECHO_T}$ac_cv_objc_compiler_gnu" >&6; }
7110 GOBJC=`test $ac_compiler_gnu = yes && echo yes`
7111 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
7112 ac_save_OBJCFLAGS=$OBJCFLAGS
7113 { echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
7114 echo $ECHO_N "checking whether $OBJC accepts -g... $ECHO_C" >&6; }
7115 if test "${ac_cv_prog_objc_g+set}" = set; then
7116 echo $ECHO_N "(cached) $ECHO_C" >&6
7118 ac_save_objc_werror_flag=$ac_objc_werror_flag
7119 ac_objc_werror_flag=yes
7120 ac_cv_prog_objc_g=no
7122 cat >conftest.$ac_ext <<_ACEOF
7125 cat confdefs.h >>conftest.$ac_ext
7126 cat >>conftest.$ac_ext <<_ACEOF
7127 /* end confdefs.h. */
7137 rm -f conftest.$ac_objext
7138 if { (ac_try="$ac_compile"
7140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7141 *) ac_try_echo=$ac_try;;
7143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7144 (eval "$ac_compile") 2>conftest.er1
7146 grep -v '^ *+' conftest.er1 >conftest.err
7148 cat conftest.err >&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); } && {
7151 test -z "$ac_objc_werror_flag" ||
7152 test ! -s conftest.err
7153 } && test -s conftest.$ac_objext; then
7154 ac_cv_prog_objc_g=yes
7156 echo "$as_me: failed program was:" >&5
7157 sed 's/^/| /' conftest.$ac_ext >&5
7160 cat >conftest.$ac_ext <<_ACEOF
7163 cat confdefs.h >>conftest.$ac_ext
7164 cat >>conftest.$ac_ext <<_ACEOF
7165 /* end confdefs.h. */
7175 rm -f conftest.$ac_objext
7176 if { (ac_try="$ac_compile"
7178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7179 *) ac_try_echo=$ac_try;;
7181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7182 (eval "$ac_compile") 2>conftest.er1
7184 grep -v '^ *+' conftest.er1 >conftest.err
7186 cat conftest.err >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } && {
7189 test -z "$ac_objc_werror_flag" ||
7190 test ! -s conftest.err
7191 } && test -s conftest.$ac_objext; then
7194 echo "$as_me: failed program was:" >&5
7195 sed 's/^/| /' conftest.$ac_ext >&5
7197 ac_objc_werror_flag=$ac_save_objc_werror_flag
7199 cat >conftest.$ac_ext <<_ACEOF
7202 cat confdefs.h >>conftest.$ac_ext
7203 cat >>conftest.$ac_ext <<_ACEOF
7204 /* end confdefs.h. */
7214 rm -f conftest.$ac_objext
7215 if { (ac_try="$ac_compile"
7217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7218 *) ac_try_echo=$ac_try;;
7220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7221 (eval "$ac_compile") 2>conftest.er1
7223 grep -v '^ *+' conftest.er1 >conftest.err
7225 cat conftest.err >&5
7226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227 (exit $ac_status); } && {
7228 test -z "$ac_objc_werror_flag" ||
7229 test ! -s conftest.err
7230 } && test -s conftest.$ac_objext; then
7231 ac_cv_prog_objc_g=yes
7233 echo "$as_me: failed program was:" >&5
7234 sed 's/^/| /' conftest.$ac_ext >&5
7239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7246 ac_objc_werror_flag=$ac_save_objc_werror_flag
7248 { echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
7249 echo "${ECHO_T}$ac_cv_prog_objc_g" >&6; }
7250 if test "$ac_test_OBJCFLAGS" = set; then
7251 OBJCFLAGS=$ac_save_OBJCFLAGS
7252 elif test $ac_cv_prog_objc_g = yes; then
7253 if test "$GOBJC" = yes; then
7259 if test "$GOBJC" = yes; then
7266 ac_cpp='$CPP $CPPFLAGS'
7267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7271 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7272 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
7273 if test "${ac_cv_path_SED+set}" = set; then
7274 echo $ECHO_N "(cached) $ECHO_C" >&6
7276 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7277 for ac_i in 1 2 3 4 5 6 7; do
7278 ac_script="$ac_script$as_nl$ac_script"
7280 echo "$ac_script" | sed 99q >conftest.sed
7281 $as_unset ac_script || ac_script=
7282 # Extract the first word of "sed gsed" to use in msg output
7283 if test -z "$SED"; then
7284 set dummy sed gsed; ac_prog_name=$2
7285 if test "${ac_cv_path_SED+set}" = set; then
7286 echo $ECHO_N "(cached) $ECHO_C" >&6
7288 ac_path_SED_found=false
7289 # Loop through the user's path and test for each of PROGNAME-LIST
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 test -z "$as_dir" && as_dir=.
7295 for ac_prog in sed gsed; do
7296 for ac_exec_ext in '' $ac_executable_extensions; do
7297 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7298 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7299 # Check for GNU ac_path_SED and select it if it is found.
7300 # Check for GNU $ac_path_SED
7301 case `"$ac_path_SED" --version 2>&1` in
7303 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7306 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7309 cat "conftest.in" "conftest.in" >"conftest.tmp"
7310 mv "conftest.tmp" "conftest.in"
7311 cp "conftest.in" "conftest.nl"
7312 echo '' >> "conftest.nl"
7313 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7314 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7315 ac_count=`expr $ac_count + 1`
7316 if test $ac_count -gt ${ac_path_SED_max-0}; then
7317 # Best one so far, save it but keep looking for a better one
7318 ac_cv_path_SED="$ac_path_SED"
7319 ac_path_SED_max=$ac_count
7321 # 10*(2^10) chars as input seems more than enough
7322 test $ac_count -gt 10 && break
7324 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7328 $ac_path_SED_found && break 3
7338 SED="$ac_cv_path_SED"
7339 if test -z "$SED"; then
7340 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
7341 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
7342 { (exit 1); exit 1; }; }
7350 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
7351 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
7352 SED="$ac_cv_path_SED"
7355 # By default we simply use the C compiler to build assembly code.
7357 test "${CCAS+set}" = set || CCAS=$CC
7358 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
7362 if test -n "$ac_tool_prefix"; then
7363 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7364 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7367 if test "${ac_cv_prog_RANLIB+set}" = set; then
7368 echo $ECHO_N "(cached) $ECHO_C" >&6
7370 if test -n "$RANLIB"; then
7371 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7377 test -z "$as_dir" && as_dir=.
7378 for ac_exec_ext in '' $ac_executable_extensions; do
7379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7380 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7390 RANLIB=$ac_cv_prog_RANLIB
7391 if test -n "$RANLIB"; then
7392 { echo "$as_me:$LINENO: result: $RANLIB" >&5
7393 echo "${ECHO_T}$RANLIB" >&6; }
7395 { echo "$as_me:$LINENO: result: no" >&5
7396 echo "${ECHO_T}no" >&6; }
7401 if test -z "$ac_cv_prog_RANLIB"; then
7402 ac_ct_RANLIB=$RANLIB
7403 # Extract the first word of "ranlib", so it can be a program name with args.
7404 set dummy ranlib; ac_word=$2
7405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7407 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7408 echo $ECHO_N "(cached) $ECHO_C" >&6
7410 if test -n "$ac_ct_RANLIB"; then
7411 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7417 test -z "$as_dir" && as_dir=.
7418 for ac_exec_ext in '' $ac_executable_extensions; do
7419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7420 ac_cv_prog_ac_ct_RANLIB="ranlib"
7421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7430 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7431 if test -n "$ac_ct_RANLIB"; then
7432 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7433 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7435 { echo "$as_me:$LINENO: result: no" >&5
7436 echo "${ECHO_T}no" >&6; }
7439 if test "x$ac_ct_RANLIB" = x; then
7442 case $cross_compiling:$ac_tool_warned in
7444 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7445 whose name does not start with the host triplet. If you think this
7446 configuration is useful to you, please write to autoconf@gnu.org." >&5
7447 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7448 whose name does not start with the host triplet. If you think this
7449 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7450 ac_tool_warned=yes ;;
7452 RANLIB=$ac_ct_RANLIB
7455 RANLIB="$ac_cv_prog_RANLIB"
7459 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7460 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
7461 if test "${ac_cv_path_GREP+set}" = set; then
7462 echo $ECHO_N "(cached) $ECHO_C" >&6
7464 # Extract the first word of "grep ggrep" to use in msg output
7465 if test -z "$GREP"; then
7466 set dummy grep ggrep; ac_prog_name=$2
7467 if test "${ac_cv_path_GREP+set}" = set; then
7468 echo $ECHO_N "(cached) $ECHO_C" >&6
7470 ac_path_GREP_found=false
7471 # Loop through the user's path and test for each of PROGNAME-LIST
7472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7476 test -z "$as_dir" && as_dir=.
7477 for ac_prog in grep ggrep; do
7478 for ac_exec_ext in '' $ac_executable_extensions; do
7479 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7480 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7481 # Check for GNU ac_path_GREP and select it if it is found.
7482 # Check for GNU $ac_path_GREP
7483 case `"$ac_path_GREP" --version 2>&1` in
7485 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7488 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7491 cat "conftest.in" "conftest.in" >"conftest.tmp"
7492 mv "conftest.tmp" "conftest.in"
7493 cp "conftest.in" "conftest.nl"
7494 echo 'GREP' >> "conftest.nl"
7495 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7496 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7497 ac_count=`expr $ac_count + 1`
7498 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7499 # Best one so far, save it but keep looking for a better one
7500 ac_cv_path_GREP="$ac_path_GREP"
7501 ac_path_GREP_max=$ac_count
7503 # 10*(2^10) chars as input seems more than enough
7504 test $ac_count -gt 10 && break
7506 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7510 $ac_path_GREP_found && break 3
7520 GREP="$ac_cv_path_GREP"
7521 if test -z "$GREP"; then
7522 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7523 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7524 { (exit 1); exit 1; }; }
7528 ac_cv_path_GREP=$GREP
7533 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7534 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7535 GREP="$ac_cv_path_GREP"
7538 { echo "$as_me:$LINENO: checking for egrep" >&5
7539 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
7540 if test "${ac_cv_path_EGREP+set}" = set; then
7541 echo $ECHO_N "(cached) $ECHO_C" >&6
7543 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7544 then ac_cv_path_EGREP="$GREP -E"
7546 # Extract the first word of "egrep" to use in msg output
7547 if test -z "$EGREP"; then
7548 set dummy egrep; ac_prog_name=$2
7549 if test "${ac_cv_path_EGREP+set}" = set; then
7550 echo $ECHO_N "(cached) $ECHO_C" >&6
7552 ac_path_EGREP_found=false
7553 # Loop through the user's path and test for each of PROGNAME-LIST
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7558 test -z "$as_dir" && as_dir=.
7559 for ac_prog in egrep; do
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7562 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7563 # Check for GNU ac_path_EGREP and select it if it is found.
7564 # Check for GNU $ac_path_EGREP
7565 case `"$ac_path_EGREP" --version 2>&1` in
7567 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7570 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7573 cat "conftest.in" "conftest.in" >"conftest.tmp"
7574 mv "conftest.tmp" "conftest.in"
7575 cp "conftest.in" "conftest.nl"
7576 echo 'EGREP' >> "conftest.nl"
7577 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7578 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7579 ac_count=`expr $ac_count + 1`
7580 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7581 # Best one so far, save it but keep looking for a better one
7582 ac_cv_path_EGREP="$ac_path_EGREP"
7583 ac_path_EGREP_max=$ac_count
7585 # 10*(2^10) chars as input seems more than enough
7586 test $ac_count -gt 10 && break
7588 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7592 $ac_path_EGREP_found && break 3
7602 EGREP="$ac_cv_path_EGREP"
7603 if test -z "$EGREP"; then
7604 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7605 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7606 { (exit 1); exit 1; }; }
7610 ac_cv_path_EGREP=$EGREP
7616 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7617 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7618 EGREP="$ac_cv_path_EGREP"
7621 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7622 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7623 if test "${ac_cv_header_stdc+set}" = set; then
7624 echo $ECHO_N "(cached) $ECHO_C" >&6
7626 cat >conftest.$ac_ext <<_ACEOF
7629 cat confdefs.h >>conftest.$ac_ext
7630 cat >>conftest.$ac_ext <<_ACEOF
7631 /* end confdefs.h. */
7645 rm -f conftest.$ac_objext
7646 if { (ac_try="$ac_compile"
7648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7649 *) ac_try_echo=$ac_try;;
7651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7652 (eval "$ac_compile") 2>conftest.er1
7654 grep -v '^ *+' conftest.er1 >conftest.err
7656 cat conftest.err >&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); } && {
7659 test -z "$ac_c_werror_flag" ||
7660 test ! -s conftest.err
7661 } && test -s conftest.$ac_objext; then
7662 ac_cv_header_stdc=yes
7664 echo "$as_me: failed program was:" >&5
7665 sed 's/^/| /' conftest.$ac_ext >&5
7667 ac_cv_header_stdc=no
7670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7672 if test $ac_cv_header_stdc = yes; then
7673 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7674 cat >conftest.$ac_ext <<_ACEOF
7677 cat confdefs.h >>conftest.$ac_ext
7678 cat >>conftest.$ac_ext <<_ACEOF
7679 /* end confdefs.h. */
7683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7684 $EGREP "memchr" >/dev/null 2>&1; then
7687 ac_cv_header_stdc=no
7693 if test $ac_cv_header_stdc = yes; then
7694 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7695 cat >conftest.$ac_ext <<_ACEOF
7698 cat confdefs.h >>conftest.$ac_ext
7699 cat >>conftest.$ac_ext <<_ACEOF
7700 /* end confdefs.h. */
7704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7705 $EGREP "free" >/dev/null 2>&1; then
7708 ac_cv_header_stdc=no
7714 if test $ac_cv_header_stdc = yes; then
7715 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7716 if test "$cross_compiling" = yes; then
7719 cat >conftest.$ac_ext <<_ACEOF
7722 cat confdefs.h >>conftest.$ac_ext
7723 cat >>conftest.$ac_ext <<_ACEOF
7724 /* end confdefs.h. */
7727 #if ((' ' & 0x0FF) == 0x020)
7728 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7729 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7731 # define ISLOWER(c) \
7732 (('a' <= (c) && (c) <= 'i') \
7733 || ('j' <= (c) && (c) <= 'r') \
7734 || ('s' <= (c) && (c) <= 'z'))
7735 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7738 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7743 for (i = 0; i < 256; i++)
7744 if (XOR (islower (i), ISLOWER (i))
7745 || toupper (i) != TOUPPER (i))
7750 rm -f conftest$ac_exeext
7751 if { (ac_try="$ac_link"
7753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7754 *) ac_try_echo=$ac_try;;
7756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7757 (eval "$ac_link") 2>&5
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7761 { (case "(($ac_try" in
7762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7763 *) ac_try_echo=$ac_try;;
7765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7766 (eval "$ac_try") 2>&5
7768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7769 (exit $ac_status); }; }; then
7772 echo "$as_me: program exited with status $ac_status" >&5
7773 echo "$as_me: failed program was:" >&5
7774 sed 's/^/| /' conftest.$ac_ext >&5
7777 ac_cv_header_stdc=no
7779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7785 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7786 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7787 if test $ac_cv_header_stdc = yes; then
7789 cat >>confdefs.h <<\_ACEOF
7790 #define STDC_HEADERS 1
7795 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7805 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7806 inttypes.h stdint.h unistd.h
7808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7809 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7811 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7812 echo $ECHO_N "(cached) $ECHO_C" >&6
7814 cat >conftest.$ac_ext <<_ACEOF
7817 cat confdefs.h >>conftest.$ac_ext
7818 cat >>conftest.$ac_ext <<_ACEOF
7819 /* end confdefs.h. */
7820 $ac_includes_default
7822 #include <$ac_header>
7824 rm -f conftest.$ac_objext
7825 if { (ac_try="$ac_compile"
7827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7828 *) ac_try_echo=$ac_try;;
7830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7831 (eval "$ac_compile") 2>conftest.er1
7833 grep -v '^ *+' conftest.er1 >conftest.err
7835 cat conftest.err >&5
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); } && {
7838 test -z "$ac_c_werror_flag" ||
7839 test ! -s conftest.err
7840 } && test -s conftest.$ac_objext; then
7841 eval "$as_ac_Header=yes"
7843 echo "$as_me: failed program was:" >&5
7844 sed 's/^/| /' conftest.$ac_ext >&5
7846 eval "$as_ac_Header=no"
7849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7851 ac_res=`eval echo '${'$as_ac_Header'}'`
7852 { echo "$as_me:$LINENO: result: $ac_res" >&5
7853 echo "${ECHO_T}$ac_res" >&6; }
7854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7855 cat >>confdefs.h <<_ACEOF
7856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7864 { echo "$as_me:$LINENO: checking for void *" >&5
7865 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
7866 if test "${ac_cv_type_void_p+set}" = set; then
7867 echo $ECHO_N "(cached) $ECHO_C" >&6
7869 cat >conftest.$ac_ext <<_ACEOF
7872 cat confdefs.h >>conftest.$ac_ext
7873 cat >>conftest.$ac_ext <<_ACEOF
7874 /* end confdefs.h. */
7875 $ac_includes_default
7876 typedef void * ac__type_new_;
7880 if ((ac__type_new_ *) 0)
7882 if (sizeof (ac__type_new_))
7888 rm -f conftest.$ac_objext
7889 if { (ac_try="$ac_compile"
7891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7892 *) ac_try_echo=$ac_try;;
7894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7895 (eval "$ac_compile") 2>conftest.er1
7897 grep -v '^ *+' conftest.er1 >conftest.err
7899 cat conftest.err >&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); } && {
7902 test -z "$ac_c_werror_flag" ||
7903 test ! -s conftest.err
7904 } && test -s conftest.$ac_objext; then
7905 ac_cv_type_void_p=yes
7907 echo "$as_me: failed program was:" >&5
7908 sed 's/^/| /' conftest.$ac_ext >&5
7910 ac_cv_type_void_p=no
7913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7915 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7916 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
7918 # The cast to long int works around a bug in the HP C Compiler
7919 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7920 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7921 # This bug is HP SR number 8606223364.
7922 { echo "$as_me:$LINENO: checking size of void *" >&5
7923 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
7924 if test "${ac_cv_sizeof_void_p+set}" = set; then
7925 echo $ECHO_N "(cached) $ECHO_C" >&6
7927 if test "$cross_compiling" = yes; then
7928 # Depending upon the size, compute the lo and hi bounds.
7929 cat >conftest.$ac_ext <<_ACEOF
7932 cat confdefs.h >>conftest.$ac_ext
7933 cat >>conftest.$ac_ext <<_ACEOF
7934 /* end confdefs.h. */
7935 $ac_includes_default
7936 typedef void * ac__type_sizeof_;
7940 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7947 rm -f conftest.$ac_objext
7948 if { (ac_try="$ac_compile"
7950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7951 *) ac_try_echo=$ac_try;;
7953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7954 (eval "$ac_compile") 2>conftest.er1
7956 grep -v '^ *+' conftest.er1 >conftest.err
7958 cat conftest.err >&5
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); } && {
7961 test -z "$ac_c_werror_flag" ||
7962 test ! -s conftest.err
7963 } && test -s conftest.$ac_objext; then
7966 cat >conftest.$ac_ext <<_ACEOF
7969 cat confdefs.h >>conftest.$ac_ext
7970 cat >>conftest.$ac_ext <<_ACEOF
7971 /* end confdefs.h. */
7972 $ac_includes_default
7973 typedef void * ac__type_sizeof_;
7977 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7984 rm -f conftest.$ac_objext
7985 if { (ac_try="$ac_compile"
7987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7988 *) ac_try_echo=$ac_try;;
7990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7991 (eval "$ac_compile") 2>conftest.er1
7993 grep -v '^ *+' conftest.er1 >conftest.err
7995 cat conftest.err >&5
7996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997 (exit $ac_status); } && {
7998 test -z "$ac_c_werror_flag" ||
7999 test ! -s conftest.err
8000 } && test -s conftest.$ac_objext; then
8001 ac_hi=$ac_mid; break
8003 echo "$as_me: failed program was:" >&5
8004 sed 's/^/| /' conftest.$ac_ext >&5
8006 ac_lo=`expr $ac_mid + 1`
8007 if test $ac_lo -le $ac_mid; then
8011 ac_mid=`expr 2 '*' $ac_mid + 1`
8014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8017 echo "$as_me: failed program was:" >&5
8018 sed 's/^/| /' conftest.$ac_ext >&5
8020 cat >conftest.$ac_ext <<_ACEOF
8023 cat confdefs.h >>conftest.$ac_ext
8024 cat >>conftest.$ac_ext <<_ACEOF
8025 /* end confdefs.h. */
8026 $ac_includes_default
8027 typedef void * ac__type_sizeof_;
8031 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
8038 rm -f conftest.$ac_objext
8039 if { (ac_try="$ac_compile"
8041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8042 *) ac_try_echo=$ac_try;;
8044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8045 (eval "$ac_compile") 2>conftest.er1
8047 grep -v '^ *+' conftest.er1 >conftest.err
8049 cat conftest.err >&5
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); } && {
8052 test -z "$ac_c_werror_flag" ||
8053 test ! -s conftest.err
8054 } && test -s conftest.$ac_objext; then
8057 cat >conftest.$ac_ext <<_ACEOF
8060 cat confdefs.h >>conftest.$ac_ext
8061 cat >>conftest.$ac_ext <<_ACEOF
8062 /* end confdefs.h. */
8063 $ac_includes_default
8064 typedef void * ac__type_sizeof_;
8068 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
8075 rm -f conftest.$ac_objext
8076 if { (ac_try="$ac_compile"
8078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8079 *) ac_try_echo=$ac_try;;
8081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8082 (eval "$ac_compile") 2>conftest.er1
8084 grep -v '^ *+' conftest.er1 >conftest.err
8086 cat conftest.err >&5
8087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8088 (exit $ac_status); } && {
8089 test -z "$ac_c_werror_flag" ||
8090 test ! -s conftest.err
8091 } && test -s conftest.$ac_objext; then
8092 ac_lo=$ac_mid; break
8094 echo "$as_me: failed program was:" >&5
8095 sed 's/^/| /' conftest.$ac_ext >&5
8097 ac_hi=`expr '(' $ac_mid ')' - 1`
8098 if test $ac_mid -le $ac_hi; then
8102 ac_mid=`expr 2 '*' $ac_mid`
8105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8108 echo "$as_me: failed program was:" >&5
8109 sed 's/^/| /' conftest.$ac_ext >&5
8114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8118 # Binary search between lo and hi bounds.
8119 while test "x$ac_lo" != "x$ac_hi"; do
8120 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8121 cat >conftest.$ac_ext <<_ACEOF
8124 cat confdefs.h >>conftest.$ac_ext
8125 cat >>conftest.$ac_ext <<_ACEOF
8126 /* end confdefs.h. */
8127 $ac_includes_default
8128 typedef void * ac__type_sizeof_;
8132 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8139 rm -f conftest.$ac_objext
8140 if { (ac_try="$ac_compile"
8142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8143 *) ac_try_echo=$ac_try;;
8145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8146 (eval "$ac_compile") 2>conftest.er1
8148 grep -v '^ *+' conftest.er1 >conftest.err
8150 cat conftest.err >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); } && {
8153 test -z "$ac_c_werror_flag" ||
8154 test ! -s conftest.err
8155 } && test -s conftest.$ac_objext; then
8158 echo "$as_me: failed program was:" >&5
8159 sed 's/^/| /' conftest.$ac_ext >&5
8161 ac_lo=`expr '(' $ac_mid ')' + 1`
8164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8167 ?*) ac_cv_sizeof_void_p=$ac_lo;;
8168 '') if test "$ac_cv_type_void_p" = yes; then
8169 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
8170 See \`config.log' for more details." >&5
8171 echo "$as_me: error: cannot compute sizeof (void *)
8172 See \`config.log' for more details." >&2;}
8173 { (exit 77); exit 77; }; }
8175 ac_cv_sizeof_void_p=0
8179 cat >conftest.$ac_ext <<_ACEOF
8182 cat confdefs.h >>conftest.$ac_ext
8183 cat >>conftest.$ac_ext <<_ACEOF
8184 /* end confdefs.h. */
8185 $ac_includes_default
8186 typedef void * ac__type_sizeof_;
8187 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8188 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8195 FILE *f = fopen ("conftest.val", "w");
8198 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8200 long int i = longval ();
8201 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8203 fprintf (f, "%ld\n", i);
8207 unsigned long int i = ulongval ();
8208 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8210 fprintf (f, "%lu\n", i);
8212 return ferror (f) || fclose (f) != 0;
8218 rm -f conftest$ac_exeext
8219 if { (ac_try="$ac_link"
8221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8222 *) ac_try_echo=$ac_try;;
8224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8225 (eval "$ac_link") 2>&5
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8229 { (case "(($ac_try" in
8230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8231 *) ac_try_echo=$ac_try;;
8233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8234 (eval "$ac_try") 2>&5
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 (exit $ac_status); }; }; then
8238 ac_cv_sizeof_void_p=`cat conftest.val`
8240 echo "$as_me: program exited with status $ac_status" >&5
8241 echo "$as_me: failed program was:" >&5
8242 sed 's/^/| /' conftest.$ac_ext >&5
8245 if test "$ac_cv_type_void_p" = yes; then
8246 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
8247 See \`config.log' for more details." >&5
8248 echo "$as_me: error: cannot compute sizeof (void *)
8249 See \`config.log' for more details." >&2;}
8250 { (exit 77); exit 77; }; }
8252 ac_cv_sizeof_void_p=0
8255 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8259 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
8260 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
8264 cat >>confdefs.h <<_ACEOF
8265 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8269 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8270 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8271 if test "${ac_cv_header_stdc+set}" = set; then
8272 echo $ECHO_N "(cached) $ECHO_C" >&6
8274 cat >conftest.$ac_ext <<_ACEOF
8277 cat confdefs.h >>conftest.$ac_ext
8278 cat >>conftest.$ac_ext <<_ACEOF
8279 /* end confdefs.h. */
8293 rm -f conftest.$ac_objext
8294 if { (ac_try="$ac_compile"
8296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8297 *) ac_try_echo=$ac_try;;
8299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8300 (eval "$ac_compile") 2>conftest.er1
8302 grep -v '^ *+' conftest.er1 >conftest.err
8304 cat conftest.err >&5
8305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306 (exit $ac_status); } && {
8307 test -z "$ac_c_werror_flag" ||
8308 test ! -s conftest.err
8309 } && test -s conftest.$ac_objext; then
8310 ac_cv_header_stdc=yes
8312 echo "$as_me: failed program was:" >&5
8313 sed 's/^/| /' conftest.$ac_ext >&5
8315 ac_cv_header_stdc=no
8318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8320 if test $ac_cv_header_stdc = yes; then
8321 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8322 cat >conftest.$ac_ext <<_ACEOF
8325 cat confdefs.h >>conftest.$ac_ext
8326 cat >>conftest.$ac_ext <<_ACEOF
8327 /* end confdefs.h. */
8331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8332 $EGREP "memchr" >/dev/null 2>&1; then
8335 ac_cv_header_stdc=no
8341 if test $ac_cv_header_stdc = yes; then
8342 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8343 cat >conftest.$ac_ext <<_ACEOF
8346 cat confdefs.h >>conftest.$ac_ext
8347 cat >>conftest.$ac_ext <<_ACEOF
8348 /* end confdefs.h. */
8352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8353 $EGREP "free" >/dev/null 2>&1; then
8356 ac_cv_header_stdc=no
8362 if test $ac_cv_header_stdc = yes; then
8363 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8364 if test "$cross_compiling" = yes; then
8367 cat >conftest.$ac_ext <<_ACEOF
8370 cat confdefs.h >>conftest.$ac_ext
8371 cat >>conftest.$ac_ext <<_ACEOF
8372 /* end confdefs.h. */
8375 #if ((' ' & 0x0FF) == 0x020)
8376 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8377 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8379 # define ISLOWER(c) \
8380 (('a' <= (c) && (c) <= 'i') \
8381 || ('j' <= (c) && (c) <= 'r') \
8382 || ('s' <= (c) && (c) <= 'z'))
8383 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8386 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8391 for (i = 0; i < 256; i++)
8392 if (XOR (islower (i), ISLOWER (i))
8393 || toupper (i) != TOUPPER (i))
8398 rm -f conftest$ac_exeext
8399 if { (ac_try="$ac_link"
8401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8402 *) ac_try_echo=$ac_try;;
8404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8405 (eval "$ac_link") 2>&5
8407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8409 { (case "(($ac_try" in
8410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8411 *) ac_try_echo=$ac_try;;
8413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8414 (eval "$ac_try") 2>&5
8416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8417 (exit $ac_status); }; }; then
8420 echo "$as_me: program exited with status $ac_status" >&5
8421 echo "$as_me: failed program was:" >&5
8422 sed 's/^/| /' conftest.$ac_ext >&5
8425 ac_cv_header_stdc=no
8427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8433 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8434 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8435 if test $ac_cv_header_stdc = yes; then
8437 cat >>confdefs.h <<\_ACEOF
8438 #define STDC_HEADERS 1
8445 depcc="$OBJC" am_compiler_list='gcc3 gcc'
8447 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
8448 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
8449 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
8450 echo $ECHO_N "(cached) $ECHO_C" >&6
8452 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8453 # We make a subdir and do the tests there. Otherwise we can end up
8454 # making bogus files that we don't know about and never remove. For
8455 # instance it was reported that on HP-UX the gcc test will end up
8456 # making a dummy file named `D' -- because `-MD' means `put the output
8459 # Copy depcomp to subdir because otherwise we won't find it if we're
8460 # using a relative directory.
8461 cp "$am_depcomp" conftest.dir
8463 # We will build objects and dependencies in a subdirectory because
8464 # it helps to detect inapplicable dependency modes. For instance
8465 # both Tru64's cc and ICC support -MD to output dependencies as a
8466 # side effect of compilation, but ICC will put the dependencies in
8467 # the current directory while Tru64 will put them in the object
8471 am_cv_OBJC_dependencies_compiler_type=none
8472 if test "$am_compiler_list" = ""; then
8473 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8475 for depmode in $am_compiler_list; do
8476 # Setup a source with many dependencies, because some compilers
8477 # like to wrap large dependency lists on column 80 (with \), and
8478 # we should not choose a depcomp mode which is confused by this.
8480 # We need to recreate these files for each test, as the compiler may
8481 # overwrite some of them when testing with obscure command lines.
8482 # This happens at least with the AIX C compiler.
8484 for i in 1 2 3 4 5 6; do
8485 echo '#include "conftst'$i'.h"' >> sub/conftest.c
8486 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8487 # Solaris 8's {/usr,}/bin/sh.
8488 touch sub/conftst$i.h
8490 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8494 # after this tag, mechanisms are not by side-effect, so they'll
8495 # only be used when explicitly requested
8496 if test "x$enable_dependency_tracking" = xyes; then
8504 # We check with `-c' and `-o' for the sake of the "dashmstdout"
8505 # mode. It turns out that the SunPro C++ compiler does not properly
8506 # handle `-M -o', and we need to detect this.
8507 if depmode=$depmode \
8508 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
8509 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8510 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
8511 >/dev/null 2>conftest.err &&
8512 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8513 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
8514 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8515 # icc doesn't choke on unknown options, it will just issue warnings
8516 # or remarks (even with -Werror). So we grep stderr for any message
8517 # that says an option was ignored or not supported.
8518 # When given -MP, icc 7.0 and 7.1 complain thusly:
8519 # icc: Command line warning: ignoring option '-M'; no argument required
8520 # The diagnosis changed in icc 8.0:
8521 # icc: Command line remark: option '-MP' not supported
8522 if (grep 'ignoring option' conftest.err ||
8523 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8524 am_cv_OBJC_dependencies_compiler_type=$depmode
8533 am_cv_OBJC_dependencies_compiler_type=none
8537 { echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
8538 echo "${ECHO_T}$am_cv_OBJC_dependencies_compiler_type" >&6; }
8539 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
8544 test "x$enable_dependency_tracking" != xno \
8545 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
8546 am__fastdepOBJC_TRUE=
8547 am__fastdepOBJC_FALSE='#'
8549 am__fastdepOBJC_TRUE='#'
8550 am__fastdepOBJC_FALSE=
8555 # Extract the first word of "pod2man", so it can be a program name with args.
8556 set dummy pod2man; ac_word=$2
8557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8559 if test "${ac_cv_path_POD2MAN+set}" = set; then
8560 echo $ECHO_N "(cached) $ECHO_C" >&6
8564 ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
8567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8571 test -z "$as_dir" && as_dir=.
8572 for ac_exec_ext in '' $ac_executable_extensions; do
8573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8574 ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
8575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8585 POD2MAN=$ac_cv_path_POD2MAN
8586 if test -n "$POD2MAN"; then
8587 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
8588 echo "${ECHO_T}$POD2MAN" >&6; }
8590 { echo "$as_me:$LINENO: result: no" >&5
8591 echo "${ECHO_T}no" >&6; }
8595 # Extract the first word of "pod2html", so it can be a program name with args.
8596 set dummy pod2html; ac_word=$2
8597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8599 if test "${ac_cv_path_POD2HTML+set}" = set; then
8600 echo $ECHO_N "(cached) $ECHO_C" >&6
8604 ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
8607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8611 test -z "$as_dir" && as_dir=.
8612 for ac_exec_ext in '' $ac_executable_extensions; do
8613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8614 ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
8615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8625 POD2HTML=$ac_cv_path_POD2HTML
8626 if test -n "$POD2HTML"; then
8627 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
8628 echo "${ECHO_T}$POD2HTML" >&6; }
8630 { echo "$as_me:$LINENO: result: no" >&5
8631 echo "${ECHO_T}no" >&6; }
8637 cat >>confdefs.h <<_ACEOF
8638 #define BUILD_SED_PROG "${SED}"
8642 cat >>confdefs.h <<_ACEOF
8643 #define BUILD_CPP_PROG "${CPP}"
8648 # Check whether --enable-strict-warn was given.
8649 if test "${enable_strict_warn+set}" = set; then
8650 enableval=$enable_strict_warn; if test "$enableval" == "yes"; then
8651 enable_strictwarn=yes
8655 # Check whether --enable-translator was given.
8656 if test "${enable_translator+set}" = set; then
8657 enableval=$enable_translator; true
8659 enable_translator=yes
8662 # Check whether --enable-optimized was given.
8663 if test "${enable_optimized+set}" = set; then
8664 enableval=$enable_optimized; true
8666 enable_optimized=yes
8669 # Check whether --enable-shared was given.
8670 if test "${enable_shared+set}" = set; then
8671 enableval=$enable_shared; if test "$enableval" == "yes"; then enable_shared=yes; else enable_shared=no; fi
8676 # Check whether --enable-profiled was given.
8677 if test "${enable_profiled+set}" = set; then
8678 enableval=$enable_profiled; if test "$enableval" == "yes"; then
8679 enable_profiled=yes;
8683 # Check whether --enable-trace was given.
8684 if test "${enable_trace+set}" = set; then
8685 enableval=$enable_trace; if test "$enableval" == "yes"; then
8687 cat >>confdefs.h <<\_ACEOF
8688 #define ENABLE_TRACE_IO 1
8694 # Check whether --enable-watch was given.
8695 if test "${enable_watch+set}" = set; then
8696 enableval=$enable_watch; if test "$enableval" == "yes"; then
8698 cat >>confdefs.h <<\_ACEOF
8699 #define ENABLE_WATCH 1
8705 # Check whether --enable-sh4stats was given.
8706 if test "${enable_sh4stats+set}" = set; then
8707 enableval=$enable_sh4stats; if test "$enableval" == "yes"; then
8709 cat >>confdefs.h <<\_ACEOF
8710 #define ENABLE_SH4STATS 1
8717 # Check whether --with-osmesa was given.
8718 if test "${with_osmesa+set}" = set; then
8719 withval=$with_osmesa;
8725 # Check whether --with-gtk was given.
8726 if test "${with_gtk+set}" = set; then
8727 withval=$with_gtk; with_gtk=yes
8733 # Check whether --with-esd was given.
8734 if test "${with_esd+set}" = set; then
8739 # Check whether --with-pulse was given.
8740 if test "${with_pulse+set}" = set; then
8741 withval=$with_pulse;
8745 # Check whether --with-sdl was given.
8746 if test "${with_sdl+set}" = set; then
8752 # Check whether --with-sysroot was given.
8753 if test "${with_sysroot+set}" = set; then
8754 withval=$with_sysroot;
8755 if test -d "$with_sysroot/lib/pkgconfig"; then
8756 LDFLAGS="$LDFLAGS -L$with_sysroot/lib"
8757 CPPFLAGS="$CPPFLAGS -I$with_sysroot/include"
8758 BUILD_PKG_CONFIG_LIBDIR="$PKG_CONFIG_LIBDIR"
8759 TARGET_PKG_CONFIG_LIBDIR="$with_sysroot/lib/pkgconfig"
8760 PKG_CONFIG_LIBDIR="$TARGET_PKG_CONFIG_LIBDIR"
8761 export PKG_CONFIG_LIBDIR;
8763 { { echo "$as_me:$LINENO: error: pkg-config directory $with_sysroot/lib/pkgconfig not found, when using --with-sysroot=$with_sysroot option
8764 See \`config.log' for more details." >&5
8765 echo "$as_me: error: pkg-config directory $with_sysroot/lib/pkgconfig not found, when using --with-sysroot=$with_sysroot option
8766 See \`config.log' for more details." >&2;}
8767 { (exit 1); exit 1; }; }
8776 # Check whether --with-android was given.
8777 if test "${with_android+set}" = set; then
8778 withval=$with_android;
8782 # Check whether --with-android-ndk was given.
8783 if test "${with_android_ndk+set}" = set; then
8784 withval=$with_android_ndk;
8788 # Check whether --with-android-version was given.
8789 if test "${with_android_version+set}" = set; then
8790 withval=$with_android_version;
8792 with_android_version="android-11"
8796 # Check whether --with-android-ndk-version was given.
8797 if test "${with_android_ndk_version+set}" = set; then
8798 withval=$with_android_ndk_version;
8800 with_ndk_version="android-9"
8804 # Check whether --with-android-abi was given.
8805 if test "${with_android_abi+set}" = set; then
8806 withval=$with_android_abi;
8808 ANDROID_ABI="armeabi-v7a"
8812 if test "x$with_android" != "x"; then
8813 if test "$with_android" = "yes"; then
8814 { { echo "$as_me:$LINENO: error: --with-android option must be given with the path to the Android SDK " >&5
8815 echo "$as_me: error: --with-android option must be given with the path to the Android SDK " >&2;}
8816 { (exit 1); exit 1; }; }
8818 if test "x$with_android_ndk" = "x" -o "x$with_android_ndk" = "xyes"; then
8819 { { echo "$as_me:$LINENO: error: --with-android-ndk=/path/to/ndk option must be used with --with-android " >&5
8820 echo "$as_me: error: --with-android-ndk=/path/to/ndk option must be used with --with-android " >&2;}
8821 { (exit 1); exit 1; }; }
8824 ANDROID_SDK_HOME="$with_android"
8825 ANDROID_NDK_HOME="$with_android_ndk"
8826 ANDROID_SDK_VERSION="$with_android_version"
8827 ANDROID_NDK_VERSION="$with_ndk_version"
8829 as_ac_File=`echo "ac_cv_file_$ANDROID_SDK_HOME/tools/ant/pre_setup.xml" | $as_tr_sh`
8830 { echo "$as_me:$LINENO: checking for $ANDROID_SDK_HOME/tools/ant/pre_setup.xml" >&5
8831 echo $ECHO_N "checking for $ANDROID_SDK_HOME/tools/ant/pre_setup.xml... $ECHO_C" >&6; }
8832 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
8833 echo $ECHO_N "(cached) $ECHO_C" >&6
8835 test "$cross_compiling" = yes &&
8836 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
8837 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
8838 { (exit 1); exit 1; }; }
8839 if test -r "$ANDROID_SDK_HOME/tools/ant/pre_setup.xml"; then
8840 eval "$as_ac_File=yes"
8842 eval "$as_ac_File=no"
8845 ac_res=`eval echo '${'$as_ac_File'}'`
8846 { echo "$as_me:$LINENO: result: $ac_res" >&5
8847 echo "${ECHO_T}$ac_res" >&6; }
8848 if test `eval echo '${'$as_ac_File'}'` = yes; then
8851 { { echo "$as_me:$LINENO: error: Android SDK not found in $ANDROID_SDK_HOME" >&5
8852 echo "$as_me: error: Android SDK not found in $ANDROID_SDK_HOME" >&2;}
8853 { (exit 1); exit 1; }; }
8856 as_ac_File=`echo "ac_cv_file_$ANDROID_SDK_HOME/platforms/$ANDROID_SDK_VERSION/sdk.properties" | $as_tr_sh`
8857 { echo "$as_me:$LINENO: checking for $ANDROID_SDK_HOME/platforms/$ANDROID_SDK_VERSION/sdk.properties" >&5
8858 echo $ECHO_N "checking for $ANDROID_SDK_HOME/platforms/$ANDROID_SDK_VERSION/sdk.properties... $ECHO_C" >&6; }
8859 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
8860 echo $ECHO_N "(cached) $ECHO_C" >&6
8862 test "$cross_compiling" = yes &&
8863 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
8864 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
8865 { (exit 1); exit 1; }; }
8866 if test -r "$ANDROID_SDK_HOME/platforms/$ANDROID_SDK_VERSION/sdk.properties"; then
8867 eval "$as_ac_File=yes"
8869 eval "$as_ac_File=no"
8872 ac_res=`eval echo '${'$as_ac_File'}'`
8873 { echo "$as_me:$LINENO: result: $ac_res" >&5
8874 echo "${ECHO_T}$ac_res" >&6; }
8875 if test `eval echo '${'$as_ac_File'}'` = yes; then
8878 { { echo "$as_me:$LINENO: error: Android platform version $ANDROID_SDK_VERSION not found in $ANDROID_SDK_HOME" >&5
8879 echo "$as_me: error: Android platform version $ANDROID_SDK_VERSION not found in $ANDROID_SDK_HOME" >&2;}
8880 { (exit 1); exit 1; }; }
8883 as_ac_File=`echo "ac_cv_file_$ANDROID_NDK_HOME/toolchains" | $as_tr_sh`
8884 { echo "$as_me:$LINENO: checking for $ANDROID_NDK_HOME/toolchains" >&5
8885 echo $ECHO_N "checking for $ANDROID_NDK_HOME/toolchains... $ECHO_C" >&6; }
8886 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
8887 echo $ECHO_N "(cached) $ECHO_C" >&6
8889 test "$cross_compiling" = yes &&
8890 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
8891 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
8892 { (exit 1); exit 1; }; }
8893 if test -r "$ANDROID_NDK_HOME/toolchains"; then
8894 eval "$as_ac_File=yes"
8896 eval "$as_ac_File=no"
8899 ac_res=`eval echo '${'$as_ac_File'}'`
8900 { echo "$as_me:$LINENO: result: $ac_res" >&5
8901 echo "${ECHO_T}$ac_res" >&6; }
8902 if test `eval echo '${'$as_ac_File'}'` = yes; then
8905 { { echo "$as_me:$LINENO: error: Android NDK not found in $ANDROID_NDK_HOME" >&5
8906 echo "$as_me: error: Android NDK not found in $ANDROID_NDK_HOME" >&2;}
8907 { (exit 1); exit 1; }; }
8911 TARGETFLAGS="-ffunction-sections -funwind-tables -fomit-frame-pointer -DANDROID -Wa,--noexecstack"
8913 case $ANDROID_ABI in
8914 armeabi | armeabi-v7a)
8915 host_alias="arm-linux-androideabi"
8917 host_vendor="unknown";
8918 host_os="linux-androideabi"
8919 ANDROID_NDK_BIN=`echo $ANDROID_NDK_HOME/toolchains/arm-*/prebuilt/*/bin`
8920 ANDROID_GDBSERVER=`echo $ANDROID_NDK_HOME/toolchains/arm-*/prebuilt/gdbserver`
8921 ANDROID_SYSROOT="$ANDROID_NDK_HOME/platforms/$ANDROID_NDK_VERSION/arch-arm"
8922 TARGETFLAGS="$TARGETFLAGS -fstack-protector -finline-limit=64 -fno-strict-aliasing -Wno-psabi -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__"
8923 if test "x$with_abi" = "armeabi"; then
8924 TARGETFLAGS="$TARGETFLAGS -march=armv5te -mtune=xscale -msoft-float"
8926 TARGETFLAGS="$TARGETFLAGS -march=armv7-a -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=vfp"
8930 host_alias="i686-android-linux"
8932 host_vendor="android"
8934 ANDROID_NDK_BIN=`echo $ANDROID_NDK_HOME/toolchains/x86-*/prebuilt/*/bin`
8935 ANDROID_GDBSERVER=`echo $ANDROID_NDK_HOME/toolchains/x86-*/prebuilt/gdbserver`
8936 ANDROID_SYSROOT="$ANDROID_NDK_HOME/platforms/$ANDROID_NDK_VERSION/arch-x86"
8937 TARGETFLAGS="$TARGETFLAGS -finline-limit=300 -fno-rtti -funswitch-loops -fstrict-aliasing"
8940 { { echo "$as_me:$LINENO: error: Unsupported android ABI $ANDROID_ABI" >&5
8941 echo "$as_me: error: Unsupported android ABI $ANDROID_ABI" >&2;}
8942 { (exit 1); exit 1; }; }
8946 # Extract the first word of "ant ", so it can be a program name with args.
8947 set dummy ant ; ac_word=$2
8948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8950 if test "${ac_cv_path_ANT+set}" = set; then
8951 echo $ECHO_N "(cached) $ECHO_C" >&6
8955 ac_cv_path_ANT="$ANT" # Let the user override the test with a path.
8958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8962 test -z "$as_dir" && as_dir=.
8963 for ac_exec_ext in '' $ac_executable_extensions; do
8964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8965 ac_cv_path_ANT="$as_dir/$ac_word$ac_exec_ext"
8966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8977 if test -n "$ANT"; then
8978 { echo "$as_me:$LINENO: result: $ANT" >&5
8979 echo "${ECHO_T}$ANT" >&6; }
8981 { echo "$as_me:$LINENO: result: no" >&5
8982 echo "${ECHO_T}no" >&6; }
8987 CC="$ANDROID_NDK_BIN/${host_alias}-gcc"
8988 CXX="$ANDROID_NDK_BIN/${host_alias}-g++"
8989 CPP="$ANDROID_NDK_BIN/${host_alias}-cpp"
8990 LD="$ANDROID_NDK_BIN/${host_alias}-ld"
8991 AR="$ANDROID_NDK_BIN/${host_alias}-ar"
8992 RANLIB="$ANDROID_NDK_BIN/${host_alias}-ranlib"
8993 STRIP="$ANDROID_NDK_BIN/${host_alias}-strip"
8994 OBJDUMP="$ANDROID_NDK_BIN/${host_alias}-objdump"
8995 CPPFLAGS="-fPIC --sysroot=$ANDROID_SYSROOT -I$ANDROID_SYSROOT/usr/include $TARGETFLAGS $CPPFLAGS"
8996 LDFLAGS="-nostdlib -Wl,--no-undefined -L${ANDROID_SYSROOT}/usr/lib -Wl,-rpath-link,${ANDROID_SYSROOT}/usr/lib -Wl,-allow-shlib-undefined -Wl,-z,noexecstack $LDFLAGS"
8997 LIBS="$LIBS -liconv -landroid -llog -lgcc -lc -lm"
9012 if test "$ANDROID_BUILD" = "yes"; then
9014 GUI_ANDROID_FALSE='#'
9016 GUI_ANDROID_TRUE='#'
9024 if test "$ANDROID_BUILD" = "yes"; then
9026 EXTRA_OUTPUT_FILES="src/android/build.properties"
9033 ac_cpp='$OBJCPP $CPPFLAGS'
9034 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9035 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9036 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9037 if test -n "$ac_tool_prefix"; then
9038 for ac_prog in gcc objcc objc cc CC
9040 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9041 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9044 if test "${ac_cv_prog_OBJC+set}" = set; then
9045 echo $ECHO_N "(cached) $ECHO_C" >&6
9047 if test -n "$OBJC"; then
9048 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9054 test -z "$as_dir" && as_dir=.
9055 for ac_exec_ext in '' $ac_executable_extensions; do
9056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9057 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9067 OBJC=$ac_cv_prog_OBJC
9068 if test -n "$OBJC"; then
9069 { echo "$as_me:$LINENO: result: $OBJC" >&5
9070 echo "${ECHO_T}$OBJC" >&6; }
9072 { echo "$as_me:$LINENO: result: no" >&5
9073 echo "${ECHO_T}no" >&6; }
9077 test -n "$OBJC" && break
9080 if test -z "$OBJC"; then
9082 for ac_prog in gcc objcc objc cc CC
9084 # Extract the first word of "$ac_prog", so it can be a program name with args.
9085 set dummy $ac_prog; ac_word=$2
9086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9088 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
9089 echo $ECHO_N "(cached) $ECHO_C" >&6
9091 if test -n "$ac_ct_OBJC"; then
9092 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9098 test -z "$as_dir" && as_dir=.
9099 for ac_exec_ext in '' $ac_executable_extensions; do
9100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9101 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9111 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9112 if test -n "$ac_ct_OBJC"; then
9113 { echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
9114 echo "${ECHO_T}$ac_ct_OBJC" >&6; }
9116 { echo "$as_me:$LINENO: result: no" >&5
9117 echo "${ECHO_T}no" >&6; }
9121 test -n "$ac_ct_OBJC" && break
9124 if test "x$ac_ct_OBJC" = x; then
9127 case $cross_compiling:$ac_tool_warned in
9129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9130 whose name does not start with the host triplet. If you think this
9131 configuration is useful to you, please write to autoconf@gnu.org." >&5
9132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9133 whose name does not start with the host triplet. If you think this
9134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9135 ac_tool_warned=yes ;;
9141 # Provide some information about the compiler.
9142 echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
9143 ac_compiler=`set X $ac_compile; echo $2`
9144 { (ac_try="$ac_compiler --version >&5"
9146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9147 *) ac_try_echo=$ac_try;;
9149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9150 (eval "$ac_compiler --version >&5") 2>&5
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); }
9154 { (ac_try="$ac_compiler -v >&5"
9156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9157 *) ac_try_echo=$ac_try;;
9159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9160 (eval "$ac_compiler -v >&5") 2>&5
9162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163 (exit $ac_status); }
9164 { (ac_try="$ac_compiler -V >&5"
9166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9167 *) ac_try_echo=$ac_try;;
9169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9170 (eval "$ac_compiler -V >&5") 2>&5
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); }
9175 { echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
9176 echo $ECHO_N "checking whether we are using the GNU Objective C compiler... $ECHO_C" >&6; }
9177 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
9178 echo $ECHO_N "(cached) $ECHO_C" >&6
9180 cat >conftest.$ac_ext <<_ACEOF
9183 cat confdefs.h >>conftest.$ac_ext
9184 cat >>conftest.$ac_ext <<_ACEOF
9185 /* end confdefs.h. */
9198 rm -f conftest.$ac_objext
9199 if { (ac_try="$ac_compile"
9201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9202 *) ac_try_echo=$ac_try;;
9204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9205 (eval "$ac_compile") 2>conftest.er1
9207 grep -v '^ *+' conftest.er1 >conftest.err
9209 cat conftest.err >&5
9210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9211 (exit $ac_status); } && {
9212 test -z "$ac_objc_werror_flag" ||
9213 test ! -s conftest.err
9214 } && test -s conftest.$ac_objext; then
9217 echo "$as_me: failed program was:" >&5
9218 sed 's/^/| /' conftest.$ac_ext >&5
9223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9224 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9227 { echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
9228 echo "${ECHO_T}$ac_cv_objc_compiler_gnu" >&6; }
9229 GOBJC=`test $ac_compiler_gnu = yes && echo yes`
9230 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
9231 ac_save_OBJCFLAGS=$OBJCFLAGS
9232 { echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
9233 echo $ECHO_N "checking whether $OBJC accepts -g... $ECHO_C" >&6; }
9234 if test "${ac_cv_prog_objc_g+set}" = set; then
9235 echo $ECHO_N "(cached) $ECHO_C" >&6
9237 ac_save_objc_werror_flag=$ac_objc_werror_flag
9238 ac_objc_werror_flag=yes
9239 ac_cv_prog_objc_g=no
9241 cat >conftest.$ac_ext <<_ACEOF
9244 cat confdefs.h >>conftest.$ac_ext
9245 cat >>conftest.$ac_ext <<_ACEOF
9246 /* end confdefs.h. */
9256 rm -f conftest.$ac_objext
9257 if { (ac_try="$ac_compile"
9259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9260 *) ac_try_echo=$ac_try;;
9262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9263 (eval "$ac_compile") 2>conftest.er1
9265 grep -v '^ *+' conftest.er1 >conftest.err
9267 cat conftest.err >&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 (exit $ac_status); } && {
9270 test -z "$ac_objc_werror_flag" ||
9271 test ! -s conftest.err
9272 } && test -s conftest.$ac_objext; then
9273 ac_cv_prog_objc_g=yes
9275 echo "$as_me: failed program was:" >&5
9276 sed 's/^/| /' conftest.$ac_ext >&5
9279 cat >conftest.$ac_ext <<_ACEOF
9282 cat confdefs.h >>conftest.$ac_ext
9283 cat >>conftest.$ac_ext <<_ACEOF
9284 /* end confdefs.h. */
9294 rm -f conftest.$ac_objext
9295 if { (ac_try="$ac_compile"
9297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9298 *) ac_try_echo=$ac_try;;
9300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9301 (eval "$ac_compile") 2>conftest.er1
9303 grep -v '^ *+' conftest.er1 >conftest.err
9305 cat conftest.err >&5
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); } && {
9308 test -z "$ac_objc_werror_flag" ||
9309 test ! -s conftest.err
9310 } && test -s conftest.$ac_objext; then
9313 echo "$as_me: failed program was:" >&5
9314 sed 's/^/| /' conftest.$ac_ext >&5
9316 ac_objc_werror_flag=$ac_save_objc_werror_flag
9318 cat >conftest.$ac_ext <<_ACEOF
9321 cat confdefs.h >>conftest.$ac_ext
9322 cat >>conftest.$ac_ext <<_ACEOF
9323 /* end confdefs.h. */
9333 rm -f conftest.$ac_objext
9334 if { (ac_try="$ac_compile"
9336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9337 *) ac_try_echo=$ac_try;;
9339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9340 (eval "$ac_compile") 2>conftest.er1
9342 grep -v '^ *+' conftest.er1 >conftest.err
9344 cat conftest.err >&5
9345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9346 (exit $ac_status); } && {
9347 test -z "$ac_objc_werror_flag" ||
9348 test ! -s conftest.err
9349 } && test -s conftest.$ac_objext; then
9350 ac_cv_prog_objc_g=yes
9352 echo "$as_me: failed program was:" >&5
9353 sed 's/^/| /' conftest.$ac_ext >&5
9358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9365 ac_objc_werror_flag=$ac_save_objc_werror_flag
9367 { echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
9368 echo "${ECHO_T}$ac_cv_prog_objc_g" >&6; }
9369 if test "$ac_test_OBJCFLAGS" = set; then
9370 OBJCFLAGS=$ac_save_OBJCFLAGS
9371 elif test $ac_cv_prog_objc_g = yes; then
9372 if test "$GOBJC" = yes; then
9378 if test "$GOBJC" = yes; then
9385 ac_cpp='$CPP $CPPFLAGS'
9386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9390 { echo "$as_me:$LINENO: checking for a working Objective-C compiler" >&5
9391 echo $ECHO_N "checking for a working Objective-C compiler... $ECHO_C" >&6; }
9393 ac_cpp='$OBJCPP $CPPFLAGS'
9394 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9395 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9396 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9397 cat >conftest.$ac_ext <<_ACEOF
9400 cat confdefs.h >>conftest.$ac_ext
9401 cat >>conftest.$ac_ext <<_ACEOF
9402 /* end confdefs.h. */
9412 rm -f conftest.$ac_objext
9413 if { (ac_try="$ac_compile"
9415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9416 *) ac_try_echo=$ac_try;;
9418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9419 (eval "$ac_compile") 2>conftest.er1
9421 grep -v '^ *+' conftest.er1 >conftest.err
9423 cat conftest.err >&5
9424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9425 (exit $ac_status); } && {
9426 test -z "$ac_objc_werror_flag" ||
9427 test ! -s conftest.err
9428 } && test -s conftest.$ac_objext; then
9429 { echo "$as_me:$LINENO: result: yes" >&5
9430 echo "${ECHO_T}yes" >&6; }
9432 { echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
9433 echo $ECHO_N "checking for Cocoa/Cocoa.h... $ECHO_C" >&6; }
9434 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
9435 echo $ECHO_N "(cached) $ECHO_C" >&6
9437 cat >conftest.$ac_ext <<_ACEOF
9440 cat confdefs.h >>conftest.$ac_ext
9441 cat >>conftest.$ac_ext <<_ACEOF
9442 /* end confdefs.h. */
9443 $ac_includes_default
9445 #include <Cocoa/Cocoa.h>
9447 rm -f conftest.$ac_objext
9448 if { (ac_try="$ac_compile"
9450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9451 *) ac_try_echo=$ac_try;;
9453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9454 (eval "$ac_compile") 2>conftest.er1
9456 grep -v '^ *+' conftest.er1 >conftest.err
9458 cat conftest.err >&5
9459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460 (exit $ac_status); } && {
9461 test -z "$ac_objc_werror_flag" ||
9462 test ! -s conftest.err
9463 } && test -s conftest.$ac_objext; then
9464 ac_cv_header_Cocoa_Cocoa_h=yes
9466 echo "$as_me: failed program was:" >&5
9467 sed 's/^/| /' conftest.$ac_ext >&5
9469 ac_cv_header_Cocoa_Cocoa_h=no
9472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9474 { echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
9475 echo "${ECHO_T}$ac_cv_header_Cocoa_Cocoa_h" >&6; }
9476 if test $ac_cv_header_Cocoa_Cocoa_h = yes; then
9480 LIBS="$LIBS -framework AppKit -framework Carbon"
9481 LIBS="$LIBS -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -framework OpenGL"
9482 LXDREAMCPPFLAGS="-DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4 -mdynamic-no-pic"
9483 LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
9485 cat >>confdefs.h <<\_ACEOF
9486 #define HAVE_COCOA 1
9490 cat >>confdefs.h <<\_ACEOF
9491 #define APPLE_BUILD 1
9495 if test "x$with_gtk" = "xx11"; then
9504 { echo "$as_me:$LINENO: checking OBJC version" >&5
9505 echo $ECHO_N "checking OBJC version... $ECHO_C" >&6; }
9506 if test -n "$OBJC"; then
9507 _GOBJC_VERSION=`$OBJC --version | $SED -ne '/(GCC)/p'`
9508 if test -n "$_GOBJC_VERSION"; then
9509 { echo "$as_me:$LINENO: result: GCC" >&5
9510 echo "${ECHO_T}GCC" >&6; }
9512 OBJCFLAGS="$OBJCFLAGS -fno-strict-aliasing"
9514 { echo "$as_me:$LINENO: result: Unknown" >&5
9515 echo "${ECHO_T}Unknown" >&6; }
9519 { echo "$as_me:$LINENO: result: None" >&5
9520 echo "${ECHO_T}None" >&6; }
9526 ac_cpp='$OBJCPP $CPPFLAGS'
9527 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9528 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9529 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9531 { echo "$as_me:$LINENO: checking if $OBJC supports -msse2" >&5
9532 echo $ECHO_N "checking if $OBJC supports -msse2... $ECHO_C" >&6; }
9533 save_OBJCFLAGS="$OBJCFLAGS"
9534 OBJCFLAGS="-msse2 $OBJCFLAGS"
9535 cat >conftest.$ac_ext <<_ACEOF
9539 cat confdefs.h >>conftest.$ac_ext
9540 cat >>conftest.$ac_ext <<_ACEOF
9541 /* end confdefs.h. */
9542 int main() { return 0; }
9544 rm -f conftest.$ac_objext
9545 if { (ac_try="$ac_compile"
9547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9548 *) ac_try_echo=$ac_try;;
9550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9551 (eval "$ac_compile") 2>conftest.er1
9553 grep -v '^ *+' conftest.er1 >conftest.err
9555 cat conftest.err >&5
9556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9557 (exit $ac_status); } && {
9558 test -z "$ac_objc_werror_flag" ||
9559 test ! -s conftest.err
9560 } && test -s conftest.$ac_objext; then
9562 { echo "$as_me:$LINENO: result: yes" >&5
9563 echo "${ECHO_T}yes" >&6; }
9566 echo "$as_me: failed program was:" >&5
9567 sed 's/^/| /' conftest.$ac_ext >&5
9570 OBJCFLAGS="$save_OBJCFLAGS"
9571 { echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6; }
9576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9578 ac_cpp='$OBJCPP $CPPFLAGS'
9579 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9580 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9581 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9586 ac_cpp='$OBJCPP $CPPFLAGS'
9587 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9588 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9589 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9591 { echo "$as_me:$LINENO: checking if $OBJC supports -mfpmath=sse" >&5
9592 echo $ECHO_N "checking if $OBJC supports -mfpmath=sse... $ECHO_C" >&6; }
9593 save_OBJCFLAGS="$OBJCFLAGS"
9594 OBJCFLAGS="-mfpmath=sse $OBJCFLAGS"
9595 cat >conftest.$ac_ext <<_ACEOF
9599 cat confdefs.h >>conftest.$ac_ext
9600 cat >>conftest.$ac_ext <<_ACEOF
9601 /* end confdefs.h. */
9602 int main() { return 0; }
9604 rm -f conftest.$ac_objext
9605 if { (ac_try="$ac_compile"
9607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9608 *) ac_try_echo=$ac_try;;
9610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9611 (eval "$ac_compile") 2>conftest.er1
9613 grep -v '^ *+' conftest.er1 >conftest.err
9615 cat conftest.err >&5
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); } && {
9618 test -z "$ac_objc_werror_flag" ||
9619 test ! -s conftest.err
9620 } && test -s conftest.$ac_objext; then
9622 { echo "$as_me:$LINENO: result: yes" >&5
9623 echo "${ECHO_T}yes" >&6; }
9626 echo "$as_me: failed program was:" >&5
9627 sed 's/^/| /' conftest.$ac_ext >&5
9630 OBJCFLAGS="$save_OBJCFLAGS"
9631 { echo "$as_me:$LINENO: result: no" >&5
9632 echo "${ECHO_T}no" >&6; }
9636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9638 ac_cpp='$OBJCPP $CPPFLAGS'
9639 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9640 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9641 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9646 echo "$as_me: failed program was:" >&5
9647 sed 's/^/| /' conftest.$ac_ext >&5
9649 { echo "$as_me:$LINENO: result: No" >&5
9650 echo "${ECHO_T}No" >&6; }
9654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
9656 ac_cpp='$CPP $CPPFLAGS'
9657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9666 if test "$HAVE_COCOA" = 'yes' -a "$with_gtk" = "no"; then
9674 if test "x$HAVE_COCOA" = 'xyes' -a "x$with_gtk" = "xno"; then
9676 cat >>confdefs.h <<\_ACEOF
9677 #define OSX_BUNDLE 1
9682 CFLAGS_FOR_BUILD="-O2 -std=c99"
9683 CFLAGS="-g -fexceptions"
9684 OBJCFLAGS="-g -fexceptions"
9686 cat >>confdefs.h <<\_ACEOF
9687 #define HAVE_EXCEPTIONS 1
9693 _GCC_VERSION=`$CC --version | $SED -ne '/gcc/p'`
9694 _ICC_VERSION=`$CC --version | $SED -ne '/(ICC)/p'`
9695 { echo "$as_me:$LINENO: checking CC version" >&5
9696 echo $ECHO_N "checking CC version... $ECHO_C" >&6; }
9697 if test -n "$_ICC_VERSION"; then
9698 { echo "$as_me:$LINENO: result: ICC" >&5
9699 echo "${ECHO_T}ICC" >&6; }
9700 CCOPT="$CFLAGS -fast"
9701 CFLAGS="$CFLAGS -fno-strict-aliasing"
9702 elif test -n "$_GCC_VERSION"; then
9703 { echo "$as_me:$LINENO: result: GCC" >&5
9704 echo "${ECHO_T}GCC" >&6; }
9706 CFLAGS="$CFLAGS -fno-strict-aliasing"
9708 { echo "$as_me:$LINENO: result: Unknown" >&5
9709 echo "${ECHO_T}Unknown" >&6; }
9715 ac_cpp='$CPP $CPPFLAGS'
9716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9720 { echo "$as_me:$LINENO: checking if $CC supports -msse2" >&5
9721 echo $ECHO_N "checking if $CC supports -msse2... $ECHO_C" >&6; }
9722 save_CFLAGS="$CFLAGS"
9723 CFLAGS="-msse2 $CFLAGS"
9724 cat >conftest.$ac_ext <<_ACEOF
9728 cat confdefs.h >>conftest.$ac_ext
9729 cat >>conftest.$ac_ext <<_ACEOF
9730 /* end confdefs.h. */
9731 int main() { return 0; }
9733 rm -f conftest.$ac_objext
9734 if { (ac_try="$ac_compile"
9736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9737 *) ac_try_echo=$ac_try;;
9739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9740 (eval "$ac_compile") 2>conftest.er1
9742 grep -v '^ *+' conftest.er1 >conftest.err
9744 cat conftest.err >&5
9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 (exit $ac_status); } && {
9747 test -z "$ac_c_werror_flag" ||
9748 test ! -s conftest.err
9749 } && test -s conftest.$ac_objext; then
9751 { echo "$as_me:$LINENO: result: yes" >&5
9752 echo "${ECHO_T}yes" >&6; }
9755 echo "$as_me: failed program was:" >&5
9756 sed 's/^/| /' conftest.$ac_ext >&5
9759 CFLAGS="$save_CFLAGS"
9760 { echo "$as_me:$LINENO: result: no" >&5
9761 echo "${ECHO_T}no" >&6; }
9765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9767 ac_cpp='$CPP $CPPFLAGS'
9768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9775 ac_cpp='$CPP $CPPFLAGS'
9776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9780 { echo "$as_me:$LINENO: checking if $CC supports -mfpmath=sse" >&5
9781 echo $ECHO_N "checking if $CC supports -mfpmath=sse... $ECHO_C" >&6; }
9782 save_CFLAGS="$CFLAGS"
9783 CFLAGS="-mfpmath=sse $CFLAGS"
9784 cat >conftest.$ac_ext <<_ACEOF
9788 cat confdefs.h >>conftest.$ac_ext
9789 cat >>conftest.$ac_ext <<_ACEOF
9790 /* end confdefs.h. */
9791 int main() { return 0; }
9793 rm -f conftest.$ac_objext
9794 if { (ac_try="$ac_compile"
9796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9797 *) ac_try_echo=$ac_try;;
9799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9800 (eval "$ac_compile") 2>conftest.er1
9802 grep -v '^ *+' conftest.er1 >conftest.err
9804 cat conftest.err >&5
9805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9806 (exit $ac_status); } && {
9807 test -z "$ac_c_werror_flag" ||
9808 test ! -s conftest.err
9809 } && test -s conftest.$ac_objext; then
9811 { echo "$as_me:$LINENO: result: yes" >&5
9812 echo "${ECHO_T}yes" >&6; }
9815 echo "$as_me: failed program was:" >&5
9816 sed 's/^/| /' conftest.$ac_ext >&5
9819 CFLAGS="$save_CFLAGS"
9820 { echo "$as_me:$LINENO: result: no" >&5
9821 echo "${ECHO_T}no" >&6; }
9825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9827 ac_cpp='$CPP $CPPFLAGS'
9828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9834 if test "x$enable_optimized" = "xyes"; then
9835 CFLAGS="$CFLAGS $CCOPT"
9836 OBJCFLAGS="$OBJCFLAGS $OBJCOPT"
9837 if test "x$enable_profiled" != "xyes"; then
9838 CFLAGS="$CFLAGS -fomit-frame-pointer"
9839 OBJCFLAGS="$OBJCFLAGS -fomit-frame-pointer"
9842 CFLAGS="$CFLAGS -g3"
9843 OBJCFLAGS="$OBJCFLAGS -g3"
9846 if test "x$enable_profiled" = "xyes"; then
9847 CFLAGS="$CFLAGS -pg"
9848 LDFLAGS="$LDFLAGS -pg";
9849 OBJCFLAGS="$OBJCFLAGS -pg";
9852 if test "x$enable_strictwarn" = "xyes"; then
9853 CFLAGS="$CFLAGS -Wall -Werror -Wno-unused"
9854 OBJCFLAGS="$OBJCFLAGS -Wall -Werror -Wno-unused"
9857 if test "x$enable_shared" != "xno"; then
9858 if test "x$APPLE_BUILD" = "xyes"; then
9860 PLUGINLDFLAGS="-dynamiclib -undefined dynamic_lookup"
9863 PLUGINLDFLAGS="-shared"
9865 PLUGINCFLAGS="-fPIC"
9867 if test "${ac_cv_header_dlfcn_h+set}" = set; then
9868 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
9869 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
9870 if test "${ac_cv_header_dlfcn_h+set}" = set; then
9871 echo $ECHO_N "(cached) $ECHO_C" >&6
9873 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
9874 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
9876 # Is the header compilable?
9877 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
9878 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; }
9879 cat >conftest.$ac_ext <<_ACEOF
9882 cat confdefs.h >>conftest.$ac_ext
9883 cat >>conftest.$ac_ext <<_ACEOF
9884 /* end confdefs.h. */
9885 $ac_includes_default
9888 rm -f conftest.$ac_objext
9889 if { (ac_try="$ac_compile"
9891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9892 *) ac_try_echo=$ac_try;;
9894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9895 (eval "$ac_compile") 2>conftest.er1
9897 grep -v '^ *+' conftest.er1 >conftest.err
9899 cat conftest.err >&5
9900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9901 (exit $ac_status); } && {
9902 test -z "$ac_c_werror_flag" ||
9903 test ! -s conftest.err
9904 } && test -s conftest.$ac_objext; then
9905 ac_header_compiler=yes
9907 echo "$as_me: failed program was:" >&5
9908 sed 's/^/| /' conftest.$ac_ext >&5
9910 ac_header_compiler=no
9913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9914 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9915 echo "${ECHO_T}$ac_header_compiler" >&6; }
9917 # Is the header present?
9918 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
9919 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; }
9920 cat >conftest.$ac_ext <<_ACEOF
9923 cat confdefs.h >>conftest.$ac_ext
9924 cat >>conftest.$ac_ext <<_ACEOF
9925 /* end confdefs.h. */
9928 if { (ac_try="$ac_cpp conftest.$ac_ext"
9930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9931 *) ac_try_echo=$ac_try;;
9933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9934 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9936 grep -v '^ *+' conftest.er1 >conftest.err
9938 cat conftest.err >&5
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); } >/dev/null && {
9941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9942 test ! -s conftest.err
9944 ac_header_preproc=yes
9946 echo "$as_me: failed program was:" >&5
9947 sed 's/^/| /' conftest.$ac_ext >&5
9949 ac_header_preproc=no
9952 rm -f conftest.err conftest.$ac_ext
9953 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9954 echo "${ECHO_T}$ac_header_preproc" >&6; }
9956 # So? What about this header?
9957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9959 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
9960 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9961 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
9962 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
9963 ac_header_preproc=yes
9966 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
9967 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
9968 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5
9969 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}
9970 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
9971 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
9972 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5
9973 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;}
9974 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
9975 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
9976 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
9977 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
9981 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
9982 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
9983 if test "${ac_cv_header_dlfcn_h+set}" = set; then
9984 echo $ECHO_N "(cached) $ECHO_C" >&6
9986 ac_cv_header_dlfcn_h=$ac_header_preproc
9988 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
9989 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
9992 if test $ac_cv_header_dlfcn_h = yes; then
9994 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
9995 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
9996 if test "${ac_cv_search_dlopen+set}" = set; then
9997 echo $ECHO_N "(cached) $ECHO_C" >&6
9999 ac_func_search_save_LIBS=$LIBS
10000 cat >conftest.$ac_ext <<_ACEOF
10003 cat confdefs.h >>conftest.$ac_ext
10004 cat >>conftest.$ac_ext <<_ACEOF
10005 /* end confdefs.h. */
10007 /* Override any GCC internal prototype to avoid an error.
10008 Use char because int might match the return type of a GCC
10009 builtin and then its argument prototype would still apply. */
10022 for ac_lib in '' dl; do
10023 if test -z "$ac_lib"; then
10024 ac_res="none required"
10027 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10029 rm -f conftest.$ac_objext conftest$ac_exeext
10030 if { (ac_try="$ac_link"
10031 case "(($ac_try" in
10032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10033 *) ac_try_echo=$ac_try;;
10035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10036 (eval "$ac_link") 2>conftest.er1
10038 grep -v '^ *+' conftest.er1 >conftest.err
10040 cat conftest.err >&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); } && {
10043 test -z "$ac_c_werror_flag" ||
10044 test ! -s conftest.err
10045 } && test -s conftest$ac_exeext &&
10046 $as_test_x conftest$ac_exeext; then
10047 ac_cv_search_dlopen=$ac_res
10049 echo "$as_me: failed program was:" >&5
10050 sed 's/^/| /' conftest.$ac_ext >&5
10055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10057 if test "${ac_cv_search_dlopen+set}" = set; then
10061 if test "${ac_cv_search_dlopen+set}" = set; then
10064 ac_cv_search_dlopen=no
10066 rm conftest.$ac_ext
10067 LIBS=$ac_func_search_save_LIBS
10069 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
10070 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
10071 ac_res=$ac_cv_search_dlopen
10072 if test "$ac_res" != no; then
10073 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10080 if test "x$have_dlopen" != "xyes"; then
10081 if test "x$enable_shared" == "xyes"; then
10082 { { echo "$as_me:$LINENO: error: \"--enable-shared not supported on your system - can't find a working dlopen\" " >&5
10083 echo "$as_me: error: \"--enable-shared not supported on your system - can't find a working dlopen\" " >&2;}
10084 { (exit 1); exit 1; }; }
10086 { echo "$as_me:$LINENO: WARNING: \"Statically linking all plugins\"" >&5
10087 echo "$as_me: WARNING: \"Statically linking all plugins\"" >&2;}
10091 { echo "$as_me:$LINENO: checking if linker accepts -rdynamic" >&5
10092 echo $ECHO_N "checking if linker accepts -rdynamic... $ECHO_C" >&6; }
10093 old_LDFLAGS="$LDFLAGS"
10094 LDFLAGS="$LDFLAGS -rdynamic"
10095 cat >conftest.$ac_ext <<_ACEOF
10098 cat confdefs.h >>conftest.$ac_ext
10099 cat >>conftest.$ac_ext <<_ACEOF
10100 /* end confdefs.h. */
10101 int main() { return 0; }
10103 rm -f conftest.$ac_objext conftest$ac_exeext
10104 if { (ac_try="$ac_link"
10105 case "(($ac_try" in
10106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10107 *) ac_try_echo=$ac_try;;
10109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10110 (eval "$ac_link") 2>conftest.er1
10112 grep -v '^ *+' conftest.er1 >conftest.err
10114 cat conftest.err >&5
10115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116 (exit $ac_status); } && {
10117 test -z "$ac_c_werror_flag" ||
10118 test ! -s conftest.err
10119 } && test -s conftest$ac_exeext &&
10120 $as_test_x conftest$ac_exeext; then
10122 LXDREAMLDFLAGS="-rdynamic"
10123 { echo "$as_me:$LINENO: result: yes" >&5
10124 echo "${ECHO_T}yes" >&6; }
10127 echo "$as_me: failed program was:" >&5
10128 sed 's/^/| /' conftest.$ac_ext >&5
10132 { echo "$as_me:$LINENO: result: no" >&5
10133 echo "${ECHO_T}no" >&6; }
10136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10137 conftest$ac_exeext conftest.$ac_ext
10138 LDFLAGS="$old_LDFLAGS"
10145 if test "x$have_dlopen" = "xyes" -a "x$ANDROID_BUILD" != "xyes"; then
10147 cat >>confdefs.h <<\_ACEOF
10148 #define BUILD_PLUGINS 1
10154 if test "x$have_dlopen" = "xyes" -a "x$ANDROID_BUILD" != "xyes"; then
10155 BUILD_PLUGINS_TRUE=
10156 BUILD_PLUGINS_FALSE='#'
10158 BUILD_PLUGINS_TRUE='#'
10159 BUILD_PLUGINS_FALSE=
10164 { echo "$as_me:$LINENO: checking support for fastcall calling conventions" >&5
10165 echo $ECHO_N "checking support for fastcall calling conventions... $ECHO_C" >&6; };
10166 save_CFLAGS="$CFLAGS"
10167 CFLAGS="-Werror $save_CFLAGS"
10168 if test "$cross_compiling" = yes; then
10170 { echo "$as_me:$LINENO: result: no" >&5
10171 echo "${ECHO_T}no" >&6; }
10174 cat >conftest.$ac_ext <<_ACEOF
10178 cat confdefs.h >>conftest.$ac_ext
10179 cat >>conftest.$ac_ext <<_ACEOF
10180 /* end confdefs.h. */
10182 int __attribute__((regparm(3))) foo(int a, int b) { return a+b; }
10184 int main(int argc, char *argv[])
10186 return foo( 1, 2 ) == 3 ? 0 : 1;
10189 rm -f conftest$ac_exeext
10190 if { (ac_try="$ac_link"
10191 case "(($ac_try" in
10192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10193 *) ac_try_echo=$ac_try;;
10195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10196 (eval "$ac_link") 2>&5
10198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10199 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10200 { (case "(($ac_try" in
10201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10202 *) ac_try_echo=$ac_try;;
10204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10205 (eval "$ac_try") 2>&5
10207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10208 (exit $ac_status); }; }; then
10210 { echo "$as_me:$LINENO: result: yes" >&5
10211 echo "${ECHO_T}yes" >&6; }
10214 cat >>confdefs.h <<\_ACEOF
10215 #define HAVE_FASTCALL 1
10220 echo "$as_me: program exited with status $ac_status" >&5
10221 echo "$as_me: failed program was:" >&5
10222 sed 's/^/| /' conftest.$ac_ext >&5
10224 ( exit $ac_status )
10226 { echo "$as_me:$LINENO: result: no" >&5
10227 echo "${ECHO_T}no" >&6; }
10230 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10234 CFLAGS="$save_CFLAGS"
10237 { echo "$as_me:$LINENO: checking support for force inlining" >&5
10238 echo $ECHO_N "checking support for force inlining... $ECHO_C" >&6; };
10239 cat >conftest.$ac_ext <<_ACEOF
10243 cat confdefs.h >>conftest.$ac_ext
10244 cat >>conftest.$ac_ext <<_ACEOF
10245 /* end confdefs.h. */
10247 static int __attribute__((always_inline)) foo(int a, int b) { return a+b; }
10249 int main(int argc, char *argv[])
10251 return foo( 1, 2 ) == 3 ? 0 : 1;
10254 rm -f conftest.$ac_objext
10255 if { (ac_try="$ac_compile"
10256 case "(($ac_try" in
10257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10258 *) ac_try_echo=$ac_try;;
10260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10261 (eval "$ac_compile") 2>conftest.er1
10263 grep -v '^ *+' conftest.er1 >conftest.err
10265 cat conftest.err >&5
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); } && {
10268 test -z "$ac_c_werror_flag" ||
10269 test ! -s conftest.err
10270 } && test -s conftest.$ac_objext; then
10272 FORCEINLINE="__attribute__((always_inline))"
10273 { echo "$as_me:$LINENO: result: $FORCEINLINE" >&5
10274 echo "${ECHO_T}$FORCEINLINE" >&6; }
10277 echo "$as_me: failed program was:" >&5
10278 sed 's/^/| /' conftest.$ac_ext >&5
10282 { echo "$as_me:$LINENO: result: no" >&5
10283 echo "${ECHO_T}no" >&6; }
10287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10290 cat >>confdefs.h <<_ACEOF
10291 #define FORCEINLINE $FORCEINLINE
10295 { echo "$as_me:$LINENO: checking if we have a working __builtin_frame_address()" >&5
10296 echo $ECHO_N "checking if we have a working __builtin_frame_address()... $ECHO_C" >&6; };
10297 if test "$cross_compiling" = yes; then
10299 { echo "$as_me:$LINENO: result: no" >&5
10300 echo "${ECHO_T}no" >&6; }
10301 { echo "$as_me:$LINENO: WARNING: Memory exceptions will be slow" >&5
10302 echo "$as_me: WARNING: Memory exceptions will be slow" >&2;}
10304 cat >conftest.$ac_ext <<_ACEOF
10308 cat confdefs.h >>conftest.$ac_ext
10309 cat >>conftest.$ac_ext <<_ACEOF
10310 /* end confdefs.h. */
10312 void * __attribute__((noinline)) first_arg( void *x, void *y ) { return x; }
10313 int __attribute__((noinline)) foo( int arg, void *exc )
10316 *(((void * volatile *)__builtin_frame_address(0))+1) = exc;
10321 int main(int argc, char *argv[])
10323 goto *first_arg(&&start, &&except);
10326 return foo( argc, &&except ) + 1;
10332 rm -f conftest$ac_exeext
10333 if { (ac_try="$ac_link"
10334 case "(($ac_try" in
10335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10336 *) ac_try_echo=$ac_try;;
10338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10339 (eval "$ac_link") 2>&5
10341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10343 { (case "(($ac_try" in
10344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10345 *) ac_try_echo=$ac_try;;
10347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10348 (eval "$ac_try") 2>&5
10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); }; }; then
10353 { echo "$as_me:$LINENO: result: yes" >&5
10354 echo "${ECHO_T}yes" >&6; }
10357 cat >>confdefs.h <<\_ACEOF
10358 #define HAVE_FRAME_ADDRESS 1
10363 echo "$as_me: program exited with status $ac_status" >&5
10364 echo "$as_me: failed program was:" >&5
10365 sed 's/^/| /' conftest.$ac_ext >&5
10367 ( exit $ac_status )
10369 { echo "$as_me:$LINENO: result: no" >&5
10370 echo "${ECHO_T}no" >&6; }
10371 { echo "$as_me:$LINENO: WARNING: Memory exceptions will be slow" >&5
10372 echo "$as_me: WARNING: Memory exceptions will be slow" >&2;}
10374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10381 { echo "$as_me:$LINENO: checking for library containing listen" >&5
10382 echo $ECHO_N "checking for library containing listen... $ECHO_C" >&6; }
10383 if test "${ac_cv_search_listen+set}" = set; then
10384 echo $ECHO_N "(cached) $ECHO_C" >&6
10386 ac_func_search_save_LIBS=$LIBS
10387 cat >conftest.$ac_ext <<_ACEOF
10390 cat confdefs.h >>conftest.$ac_ext
10391 cat >>conftest.$ac_ext <<_ACEOF
10392 /* end confdefs.h. */
10394 /* Override any GCC internal prototype to avoid an error.
10395 Use char because int might match the return type of a GCC
10396 builtin and then its argument prototype would still apply. */
10409 for ac_lib in '' socket; do
10410 if test -z "$ac_lib"; then
10411 ac_res="none required"
10414 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10416 rm -f conftest.$ac_objext conftest$ac_exeext
10417 if { (ac_try="$ac_link"
10418 case "(($ac_try" in
10419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10420 *) ac_try_echo=$ac_try;;
10422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10423 (eval "$ac_link") 2>conftest.er1
10425 grep -v '^ *+' conftest.er1 >conftest.err
10427 cat conftest.err >&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); } && {
10430 test -z "$ac_c_werror_flag" ||
10431 test ! -s conftest.err
10432 } && test -s conftest$ac_exeext &&
10433 $as_test_x conftest$ac_exeext; then
10434 ac_cv_search_listen=$ac_res
10436 echo "$as_me: failed program was:" >&5
10437 sed 's/^/| /' conftest.$ac_ext >&5
10442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10444 if test "${ac_cv_search_listen+set}" = set; then
10448 if test "${ac_cv_search_listen+set}" = set; then
10451 ac_cv_search_listen=no
10453 rm conftest.$ac_ext
10454 LIBS=$ac_func_search_save_LIBS
10456 { echo "$as_me:$LINENO: result: $ac_cv_search_listen" >&5
10457 echo "${ECHO_T}$ac_cv_search_listen" >&6; }
10458 ac_res=$ac_cv_search_listen
10459 if test "$ac_res" != no; then
10460 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10464 { echo "$as_me:$LINENO: checking for library containing inet_ntoa" >&5
10465 echo $ECHO_N "checking for library containing inet_ntoa... $ECHO_C" >&6; }
10466 if test "${ac_cv_search_inet_ntoa+set}" = set; then
10467 echo $ECHO_N "(cached) $ECHO_C" >&6
10469 ac_func_search_save_LIBS=$LIBS
10470 cat >conftest.$ac_ext <<_ACEOF
10473 cat confdefs.h >>conftest.$ac_ext
10474 cat >>conftest.$ac_ext <<_ACEOF
10475 /* end confdefs.h. */
10477 /* Override any GCC internal prototype to avoid an error.
10478 Use char because int might match the return type of a GCC
10479 builtin and then its argument prototype would still apply. */
10487 return inet_ntoa ();
10492 for ac_lib in '' nsl; do
10493 if test -z "$ac_lib"; then
10494 ac_res="none required"
10497 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10499 rm -f conftest.$ac_objext conftest$ac_exeext
10500 if { (ac_try="$ac_link"
10501 case "(($ac_try" in
10502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10503 *) ac_try_echo=$ac_try;;
10505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10506 (eval "$ac_link") 2>conftest.er1
10508 grep -v '^ *+' conftest.er1 >conftest.err
10510 cat conftest.err >&5
10511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10512 (exit $ac_status); } && {
10513 test -z "$ac_c_werror_flag" ||
10514 test ! -s conftest.err
10515 } && test -s conftest$ac_exeext &&
10516 $as_test_x conftest$ac_exeext; then
10517 ac_cv_search_inet_ntoa=$ac_res
10519 echo "$as_me: failed program was:" >&5
10520 sed 's/^/| /' conftest.$ac_ext >&5
10525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10527 if test "${ac_cv_search_inet_ntoa+set}" = set; then
10531 if test "${ac_cv_search_inet_ntoa+set}" = set; then
10534 ac_cv_search_inet_ntoa=no
10536 rm conftest.$ac_ext
10537 LIBS=$ac_func_search_save_LIBS
10539 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntoa" >&5
10540 echo "${ECHO_T}$ac_cv_search_inet_ntoa" >&6; }
10541 ac_res=$ac_cv_search_inet_ntoa
10542 if test "$ac_res" != no; then
10543 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10550 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10551 if test -n "$ac_tool_prefix"; then
10552 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10553 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10556 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10557 echo $ECHO_N "(cached) $ECHO_C" >&6
10559 case $PKG_CONFIG in
10561 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10565 for as_dir in $PATH
10568 test -z "$as_dir" && as_dir=.
10569 for ac_exec_ext in '' $ac_executable_extensions; do
10570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10571 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10582 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10583 if test -n "$PKG_CONFIG"; then
10584 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10585 echo "${ECHO_T}$PKG_CONFIG" >&6; }
10587 { echo "$as_me:$LINENO: result: no" >&5
10588 echo "${ECHO_T}no" >&6; }
10593 if test -z "$ac_cv_path_PKG_CONFIG"; then
10594 ac_pt_PKG_CONFIG=$PKG_CONFIG
10595 # Extract the first word of "pkg-config", so it can be a program name with args.
10596 set dummy pkg-config; ac_word=$2
10597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10599 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
10600 echo $ECHO_N "(cached) $ECHO_C" >&6
10602 case $ac_pt_PKG_CONFIG in
10604 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10608 for as_dir in $PATH
10611 test -z "$as_dir" && as_dir=.
10612 for ac_exec_ext in '' $ac_executable_extensions; do
10613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10614 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10625 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10626 if test -n "$ac_pt_PKG_CONFIG"; then
10627 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
10628 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
10630 { echo "$as_me:$LINENO: result: no" >&5
10631 echo "${ECHO_T}no" >&6; }
10634 if test "x$ac_pt_PKG_CONFIG" = x; then
10637 case $cross_compiling:$ac_tool_warned in
10639 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10640 whose name does not start with the host triplet. If you think this
10641 configuration is useful to you, please write to autoconf@gnu.org." >&5
10642 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10643 whose name does not start with the host triplet. If you think this
10644 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10645 ac_tool_warned=yes ;;
10647 PKG_CONFIG=$ac_pt_PKG_CONFIG
10650 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10654 if test -n "$PKG_CONFIG"; then
10655 _pkg_min_version=0.9.0
10656 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
10657 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
10658 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10659 { echo "$as_me:$LINENO: result: yes" >&5
10660 echo "${ECHO_T}yes" >&6; }
10662 { echo "$as_me:$LINENO: result: no" >&5
10663 echo "${ECHO_T}no" >&6; }
10670 { echo "$as_me:$LINENO: checking for LIBPNG" >&5
10671 echo $ECHO_N "checking for LIBPNG... $ECHO_C" >&6; }
10673 if test -n "$LIBPNG_CFLAGS"; then
10674 pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
10675 elif test -n "$PKG_CONFIG"; then
10676 if test -n "$PKG_CONFIG" && \
10677 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
10678 ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); }; then
10682 pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
10689 if test -n "$LIBPNG_LIBS"; then
10690 pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
10691 elif test -n "$PKG_CONFIG"; then
10692 if test -n "$PKG_CONFIG" && \
10693 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
10694 ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); }; then
10698 pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
10708 if test $pkg_failed = yes; then
10710 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10711 _pkg_short_errors_supported=yes
10713 _pkg_short_errors_supported=no
10715 if test $_pkg_short_errors_supported = yes; then
10716 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng " 2>&1`
10718 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng " 2>&1`
10720 # Put the nasty error message in config.log where it belongs
10721 echo "$LIBPNG_PKG_ERRORS" >&5
10723 { { echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
10727 Consider adjusting the PKG_CONFIG_PATH environment variable if you
10728 installed software in a non-standard prefix.
10730 Alternatively, you may set the environment variables LIBPNG_CFLAGS
10731 and LIBPNG_LIBS to avoid the need to call pkg-config.
10732 See the pkg-config man page for more details.
10734 echo "$as_me: error: Package requirements (libpng ) were not met:
10738 Consider adjusting the PKG_CONFIG_PATH environment variable if you
10739 installed software in a non-standard prefix.
10741 Alternatively, you may set the environment variables LIBPNG_CFLAGS
10742 and LIBPNG_LIBS to avoid the need to call pkg-config.
10743 See the pkg-config man page for more details.
10745 { (exit 1); exit 1; }; }
10746 elif test $pkg_failed = untried; then
10747 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
10748 is in your PATH or set the PKG_CONFIG environment variable to the full
10749 path to pkg-config.
10751 Alternatively, you may set the environment variables LIBPNG_CFLAGS
10752 and LIBPNG_LIBS to avoid the need to call pkg-config.
10753 See the pkg-config man page for more details.
10755 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10756 See \`config.log' for more details." >&5
10757 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
10758 is in your PATH or set the PKG_CONFIG environment variable to the full
10759 path to pkg-config.
10761 Alternatively, you may set the environment variables LIBPNG_CFLAGS
10762 and LIBPNG_LIBS to avoid the need to call pkg-config.
10763 See the pkg-config man page for more details.
10765 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10766 See \`config.log' for more details." >&2;}
10767 { (exit 1); exit 1; }; }
10769 LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
10770 LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
10771 { echo "$as_me:$LINENO: result: yes" >&5
10772 echo "${ECHO_T}yes" >&6; }
10777 { echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
10778 echo $ECHO_N "checking for uncompress in -lz... $ECHO_C" >&6; }
10779 if test "${ac_cv_lib_z_uncompress+set}" = set; then
10780 echo $ECHO_N "(cached) $ECHO_C" >&6
10782 ac_check_lib_save_LIBS=$LIBS
10784 cat >conftest.$ac_ext <<_ACEOF
10787 cat confdefs.h >>conftest.$ac_ext
10788 cat >>conftest.$ac_ext <<_ACEOF
10789 /* end confdefs.h. */
10791 /* Override any GCC internal prototype to avoid an error.
10792 Use char because int might match the return type of a GCC
10793 builtin and then its argument prototype would still apply. */
10797 char uncompress ();
10801 return uncompress ();
10806 rm -f conftest.$ac_objext conftest$ac_exeext
10807 if { (ac_try="$ac_link"
10808 case "(($ac_try" in
10809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10810 *) ac_try_echo=$ac_try;;
10812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10813 (eval "$ac_link") 2>conftest.er1
10815 grep -v '^ *+' conftest.er1 >conftest.err
10817 cat conftest.err >&5
10818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819 (exit $ac_status); } && {
10820 test -z "$ac_c_werror_flag" ||
10821 test ! -s conftest.err
10822 } && test -s conftest$ac_exeext &&
10823 $as_test_x conftest$ac_exeext; then
10824 ac_cv_lib_z_uncompress=yes
10826 echo "$as_me: failed program was:" >&5
10827 sed 's/^/| /' conftest.$ac_ext >&5
10829 ac_cv_lib_z_uncompress=no
10832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10833 conftest$ac_exeext conftest.$ac_ext
10834 LIBS=$ac_check_lib_save_LIBS
10836 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
10837 echo "${ECHO_T}$ac_cv_lib_z_uncompress" >&6; }
10838 if test $ac_cv_lib_z_uncompress = yes; then
10839 cat >>confdefs.h <<_ACEOF
10840 #define HAVE_LIBZ 1
10847 echo "Zlib (libz.so) could not be found, but is required."
10853 { echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
10854 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6; }
10855 if test "${ac_cv_lib_m_sqrt+set}" = set; then
10856 echo $ECHO_N "(cached) $ECHO_C" >&6
10858 ac_check_lib_save_LIBS=$LIBS
10860 cat >conftest.$ac_ext <<_ACEOF
10863 cat confdefs.h >>conftest.$ac_ext
10864 cat >>conftest.$ac_ext <<_ACEOF
10865 /* end confdefs.h. */
10867 /* Override any GCC internal prototype to avoid an error.
10868 Use char because int might match the return type of a GCC
10869 builtin and then its argument prototype would still apply. */
10882 rm -f conftest.$ac_objext conftest$ac_exeext
10883 if { (ac_try="$ac_link"
10884 case "(($ac_try" in
10885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10886 *) ac_try_echo=$ac_try;;
10888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10889 (eval "$ac_link") 2>conftest.er1
10891 grep -v '^ *+' conftest.er1 >conftest.err
10893 cat conftest.err >&5
10894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 (exit $ac_status); } && {
10896 test -z "$ac_c_werror_flag" ||
10897 test ! -s conftest.err
10898 } && test -s conftest$ac_exeext &&
10899 $as_test_x conftest$ac_exeext; then
10900 ac_cv_lib_m_sqrt=yes
10902 echo "$as_me: failed program was:" >&5
10903 sed 's/^/| /' conftest.$ac_ext >&5
10905 ac_cv_lib_m_sqrt=no
10908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10909 conftest$ac_exeext conftest.$ac_ext
10910 LIBS=$ac_check_lib_save_LIBS
10912 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
10913 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; }
10914 if test $ac_cv_lib_m_sqrt = yes; then
10915 cat >>confdefs.h <<_ACEOF
10916 #define HAVE_LIBM 1
10924 if test "x$with_gtk" = "xno"; then
10927 { echo "$as_me:$LINENO: checking for GLIB" >&5
10928 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
10930 if test -n "$GLIB_CFLAGS"; then
10931 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
10932 elif test -n "$PKG_CONFIG"; then
10933 if test -n "$PKG_CONFIG" && \
10934 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
10935 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); }; then
10939 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
10946 if test -n "$GLIB_LIBS"; then
10947 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
10948 elif test -n "$PKG_CONFIG"; then
10949 if test -n "$PKG_CONFIG" && \
10950 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
10951 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); }; then
10955 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
10965 if test $pkg_failed = yes; then
10967 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10968 _pkg_short_errors_supported=yes
10970 _pkg_short_errors_supported=no
10972 if test $_pkg_short_errors_supported = yes; then
10973 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
10975 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
10977 # Put the nasty error message in config.log where it belongs
10978 echo "$GLIB_PKG_ERRORS" >&5
10980 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
10984 Consider adjusting the PKG_CONFIG_PATH environment variable if you
10985 installed software in a non-standard prefix.
10987 Alternatively, you may set the environment variables GLIB_CFLAGS
10988 and GLIB_LIBS to avoid the need to call pkg-config.
10989 See the pkg-config man page for more details.
10991 echo "$as_me: error: Package requirements (glib-2.0) were not met:
10995 Consider adjusting the PKG_CONFIG_PATH environment variable if you
10996 installed software in a non-standard prefix.
10998 Alternatively, you may set the environment variables GLIB_CFLAGS
10999 and GLIB_LIBS to avoid the need to call pkg-config.
11000 See the pkg-config man page for more details.
11002 { (exit 1); exit 1; }; }
11003 elif test $pkg_failed = untried; then
11004 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11005 is in your PATH or set the PKG_CONFIG environment variable to the full
11006 path to pkg-config.
11008 Alternatively, you may set the environment variables GLIB_CFLAGS
11009 and GLIB_LIBS to avoid the need to call pkg-config.
11010 See the pkg-config man page for more details.
11012 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11013 See \`config.log' for more details." >&5
11014 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
11015 is in your PATH or set the PKG_CONFIG environment variable to the full
11016 path to pkg-config.
11018 Alternatively, you may set the environment variables GLIB_CFLAGS
11019 and GLIB_LIBS to avoid the need to call pkg-config.
11020 See the pkg-config man page for more details.
11022 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11023 See \`config.log' for more details." >&2;}
11024 { (exit 1); exit 1; }; }
11026 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11027 GLIB_LIBS=$pkg_cv_GLIB_LIBS
11028 { echo "$as_me:$LINENO: result: yes" >&5
11029 echo "${ECHO_T}yes" >&6; }
11035 { echo "$as_me:$LINENO: checking for GTK" >&5
11036 echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
11038 if test -n "$GTK_CFLAGS"; then
11039 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
11040 elif test -n "$PKG_CONFIG"; then
11041 if test -n "$PKG_CONFIG" && \
11042 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
11043 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); }; then
11047 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
11054 if test -n "$GTK_LIBS"; then
11055 pkg_cv_GTK_LIBS="$GTK_LIBS"
11056 elif test -n "$PKG_CONFIG"; then
11057 if test -n "$PKG_CONFIG" && \
11058 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
11059 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); }; then
11063 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
11073 if test $pkg_failed = yes; then
11075 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11076 _pkg_short_errors_supported=yes
11078 _pkg_short_errors_supported=no
11080 if test $_pkg_short_errors_supported = yes; then
11081 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0" 2>&1`
11083 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0" 2>&1`
11085 # Put the nasty error message in config.log where it belongs
11086 echo "$GTK_PKG_ERRORS" >&5
11088 { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
11092 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11093 installed software in a non-standard prefix.
11095 Alternatively, you may set the environment variables GTK_CFLAGS
11096 and GTK_LIBS to avoid the need to call pkg-config.
11097 See the pkg-config man page for more details.
11099 echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
11103 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11104 installed software in a non-standard prefix.
11106 Alternatively, you may set the environment variables GTK_CFLAGS
11107 and GTK_LIBS to avoid the need to call pkg-config.
11108 See the pkg-config man page for more details.
11110 { (exit 1); exit 1; }; }
11111 elif test $pkg_failed = untried; then
11112 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11113 is in your PATH or set the PKG_CONFIG environment variable to the full
11114 path to pkg-config.
11116 Alternatively, you may set the environment variables GTK_CFLAGS
11117 and GTK_LIBS to avoid the need to call pkg-config.
11118 See the pkg-config man page for more details.
11120 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11121 See \`config.log' for more details." >&5
11122 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
11123 is in your PATH or set the PKG_CONFIG environment variable to the full
11124 path to pkg-config.
11126 Alternatively, you may set the environment variables GTK_CFLAGS
11127 and GTK_LIBS to avoid the need to call pkg-config.
11128 See the pkg-config man page for more details.
11130 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11131 See \`config.log' for more details." >&2;}
11132 { (exit 1); exit 1; }; }
11134 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
11135 GTK_LIBS=$pkg_cv_GTK_LIBS
11136 { echo "$as_me:$LINENO: result: yes" >&5
11137 echo "${ECHO_T}yes" >&6; }
11141 cat >>confdefs.h <<\_ACEOF
11149 LIBS="$LIBS $GTK_LIBS"
11150 { echo "$as_me:$LINENO: checking for gdk_x11_display_get_xdisplay" >&5
11151 echo $ECHO_N "checking for gdk_x11_display_get_xdisplay... $ECHO_C" >&6; }
11152 if test "${ac_cv_func_gdk_x11_display_get_xdisplay+set}" = set; then
11153 echo $ECHO_N "(cached) $ECHO_C" >&6
11155 cat >conftest.$ac_ext <<_ACEOF
11158 cat confdefs.h >>conftest.$ac_ext
11159 cat >>conftest.$ac_ext <<_ACEOF
11160 /* end confdefs.h. */
11161 /* Define gdk_x11_display_get_xdisplay to an innocuous variant, in case <limits.h> declares gdk_x11_display_get_xdisplay.
11162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11163 #define gdk_x11_display_get_xdisplay innocuous_gdk_x11_display_get_xdisplay
11165 /* System header to define __stub macros and hopefully few prototypes,
11166 which can conflict with char gdk_x11_display_get_xdisplay (); below.
11167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11168 <limits.h> exists even on freestanding compilers. */
11171 # include <limits.h>
11173 # include <assert.h>
11176 #undef gdk_x11_display_get_xdisplay
11178 /* Override any GCC internal prototype to avoid an error.
11179 Use char because int might match the return type of a GCC
11180 builtin and then its argument prototype would still apply. */
11184 char gdk_x11_display_get_xdisplay ();
11185 /* The GNU C library defines this for functions which it implements
11186 to always fail with ENOSYS. Some functions are actually named
11187 something starting with __ and the normal name is an alias. */
11188 #if defined __stub_gdk_x11_display_get_xdisplay || defined __stub___gdk_x11_display_get_xdisplay
11195 return gdk_x11_display_get_xdisplay ();
11200 rm -f conftest.$ac_objext conftest$ac_exeext
11201 if { (ac_try="$ac_link"
11202 case "(($ac_try" in
11203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11204 *) ac_try_echo=$ac_try;;
11206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11207 (eval "$ac_link") 2>conftest.er1
11209 grep -v '^ *+' conftest.er1 >conftest.err
11211 cat conftest.err >&5
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); } && {
11214 test -z "$ac_c_werror_flag" ||
11215 test ! -s conftest.err
11216 } && test -s conftest$ac_exeext &&
11217 $as_test_x conftest$ac_exeext; then
11218 ac_cv_func_gdk_x11_display_get_xdisplay=yes
11220 echo "$as_me: failed program was:" >&5
11221 sed 's/^/| /' conftest.$ac_ext >&5
11223 ac_cv_func_gdk_x11_display_get_xdisplay=no
11226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11227 conftest$ac_exeext conftest.$ac_ext
11229 { echo "$as_me:$LINENO: result: $ac_cv_func_gdk_x11_display_get_xdisplay" >&5
11230 echo "${ECHO_T}$ac_cv_func_gdk_x11_display_get_xdisplay" >&6; }
11231 if test $ac_cv_func_gdk_x11_display_get_xdisplay = yes; then
11235 cat >>confdefs.h <<\_ACEOF
11236 #define HAVE_GTK_X11 1
11241 GTK_LIBS="$GTK_LIBS -lX11"
11243 { echo "$as_me:$LINENO: checking for gdk_quartz_window_get_nsview" >&5
11244 echo $ECHO_N "checking for gdk_quartz_window_get_nsview... $ECHO_C" >&6; }
11245 if test "${ac_cv_func_gdk_quartz_window_get_nsview+set}" = set; then
11246 echo $ECHO_N "(cached) $ECHO_C" >&6
11248 cat >conftest.$ac_ext <<_ACEOF
11251 cat confdefs.h >>conftest.$ac_ext
11252 cat >>conftest.$ac_ext <<_ACEOF
11253 /* end confdefs.h. */
11254 /* Define gdk_quartz_window_get_nsview to an innocuous variant, in case <limits.h> declares gdk_quartz_window_get_nsview.
11255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11256 #define gdk_quartz_window_get_nsview innocuous_gdk_quartz_window_get_nsview
11258 /* System header to define __stub macros and hopefully few prototypes,
11259 which can conflict with char gdk_quartz_window_get_nsview (); below.
11260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11261 <limits.h> exists even on freestanding compilers. */
11264 # include <limits.h>
11266 # include <assert.h>
11269 #undef gdk_quartz_window_get_nsview
11271 /* Override any GCC internal prototype to avoid an error.
11272 Use char because int might match the return type of a GCC
11273 builtin and then its argument prototype would still apply. */
11277 char gdk_quartz_window_get_nsview ();
11278 /* The GNU C library defines this for functions which it implements
11279 to always fail with ENOSYS. Some functions are actually named
11280 something starting with __ and the normal name is an alias. */
11281 #if defined __stub_gdk_quartz_window_get_nsview || defined __stub___gdk_quartz_window_get_nsview
11288 return gdk_quartz_window_get_nsview ();
11293 rm -f conftest.$ac_objext conftest$ac_exeext
11294 if { (ac_try="$ac_link"
11295 case "(($ac_try" in
11296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11297 *) ac_try_echo=$ac_try;;
11299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11300 (eval "$ac_link") 2>conftest.er1
11302 grep -v '^ *+' conftest.er1 >conftest.err
11304 cat conftest.err >&5
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); } && {
11307 test -z "$ac_c_werror_flag" ||
11308 test ! -s conftest.err
11309 } && test -s conftest$ac_exeext &&
11310 $as_test_x conftest$ac_exeext; then
11311 ac_cv_func_gdk_quartz_window_get_nsview=yes
11313 echo "$as_me: failed program was:" >&5
11314 sed 's/^/| /' conftest.$ac_ext >&5
11316 ac_cv_func_gdk_quartz_window_get_nsview=no
11319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11320 conftest$ac_exeext conftest.$ac_ext
11322 { echo "$as_me:$LINENO: result: $ac_cv_func_gdk_quartz_window_get_nsview" >&5
11323 echo "${ECHO_T}$ac_cv_func_gdk_quartz_window_get_nsview" >&6; }
11324 if test $ac_cv_func_gdk_quartz_window_get_nsview = yes; then
11328 cat >>confdefs.h <<\_ACEOF
11329 #define HAVE_GTK_OSX 1
11334 if test "x$HAVE_GTK_X11$HAVE_GTK_OSX" = "x"; then
11335 { { echo "$as_me:$LINENO: error: Unable to identify GTK platform
11336 See \`config.log' for more details." >&5
11337 echo "$as_me: error: Unable to identify GTK platform
11338 See \`config.log' for more details." >&2;}
11339 { (exit 1); exit 1; }; }
11344 if test "$BUILD_PKG_CONFIG_LIBDIR" != "$TARGET_PKG_CONFIG_LIBDIR"; then
11345 PKG_CONFIG_LIBDIR="$BUILD_PKG_CONFIG_LIBDIR";
11346 if test "x$PKG_CONFIG_LIBDIR" = "x"; then
11347 export -n PKG_CONFIG_LIBDIR
11352 { echo "$as_me:$LINENO: checking for GLIB_FOR_BUILD" >&5
11353 echo $ECHO_N "checking for GLIB_FOR_BUILD... $ECHO_C" >&6; }
11355 if test -n "$GLIB_FOR_BUILD_CFLAGS"; then
11356 pkg_cv_GLIB_FOR_BUILD_CFLAGS="$GLIB_FOR_BUILD_CFLAGS"
11357 elif test -n "$PKG_CONFIG"; then
11358 if test -n "$PKG_CONFIG" && \
11359 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
11360 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
11362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11363 (exit $ac_status); }; then
11364 pkg_cv_GLIB_FOR_BUILD_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
11371 if test -n "$GLIB_FOR_BUILD_LIBS"; then
11372 pkg_cv_GLIB_FOR_BUILD_LIBS="$GLIB_FOR_BUILD_LIBS"
11373 elif test -n "$PKG_CONFIG"; then
11374 if test -n "$PKG_CONFIG" && \
11375 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
11376 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
11378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11379 (exit $ac_status); }; then
11380 pkg_cv_GLIB_FOR_BUILD_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
11390 if test $pkg_failed = yes; then
11392 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11393 _pkg_short_errors_supported=yes
11395 _pkg_short_errors_supported=no
11397 if test $_pkg_short_errors_supported = yes; then
11398 GLIB_FOR_BUILD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
11400 GLIB_FOR_BUILD_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
11402 # Put the nasty error message in config.log where it belongs
11403 echo "$GLIB_FOR_BUILD_PKG_ERRORS" >&5
11405 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
11407 $GLIB_FOR_BUILD_PKG_ERRORS
11409 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11410 installed software in a non-standard prefix.
11412 Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS
11413 and GLIB_FOR_BUILD_LIBS to avoid the need to call pkg-config.
11414 See the pkg-config man page for more details.
11416 echo "$as_me: error: Package requirements (glib-2.0) were not met:
11418 $GLIB_FOR_BUILD_PKG_ERRORS
11420 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11421 installed software in a non-standard prefix.
11423 Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS
11424 and GLIB_FOR_BUILD_LIBS to avoid the need to call pkg-config.
11425 See the pkg-config man page for more details.
11427 { (exit 1); exit 1; }; }
11428 elif test $pkg_failed = untried; then
11429 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11430 is in your PATH or set the PKG_CONFIG environment variable to the full
11431 path to pkg-config.
11433 Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS
11434 and GLIB_FOR_BUILD_LIBS to avoid the need to call pkg-config.
11435 See the pkg-config man page for more details.
11437 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11438 See \`config.log' for more details." >&5
11439 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
11440 is in your PATH or set the PKG_CONFIG environment variable to the full
11441 path to pkg-config.
11443 Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS
11444 and GLIB_FOR_BUILD_LIBS to avoid the need to call pkg-config.
11445 See the pkg-config man page for more details.
11447 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11448 See \`config.log' for more details." >&2;}
11449 { (exit 1); exit 1; }; }
11451 GLIB_FOR_BUILD_CFLAGS=$pkg_cv_GLIB_FOR_BUILD_CFLAGS
11452 GLIB_FOR_BUILD_LIBS=$pkg_cv_GLIB_FOR_BUILD_LIBS
11453 { echo "$as_me:$LINENO: result: yes" >&5
11454 echo "${ECHO_T}yes" >&6; }
11457 if test "$BUILD_PKG_CONFIG_LIBDIR" != "$TARGET_PKG_CONFIG_LIBDIR"; then
11458 PKG_CONFIG_LIBDIR="$TARGET_PKG_CONFIG_LIBDIR";
11459 export PKG_CONFIG_LIBDIR
11465 if test "$HAVE_GTK" = 'yes'; then
11476 { echo "$as_me:$LINENO: checking for LIBISOFS" >&5
11477 echo $ECHO_N "checking for LIBISOFS... $ECHO_C" >&6; }
11479 if test -n "$LIBISOFS_CFLAGS"; then
11480 pkg_cv_LIBISOFS_CFLAGS="$LIBISOFS_CFLAGS"
11481 elif test -n "$PKG_CONFIG"; then
11482 if test -n "$PKG_CONFIG" && \
11483 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libisofs-1 \"") >&5
11484 ($PKG_CONFIG --exists --print-errors "libisofs-1 ") 2>&5
11486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 (exit $ac_status); }; then
11488 pkg_cv_LIBISOFS_CFLAGS=`$PKG_CONFIG --cflags "libisofs-1 " 2>/dev/null`
11495 if test -n "$LIBISOFS_LIBS"; then
11496 pkg_cv_LIBISOFS_LIBS="$LIBISOFS_LIBS"
11497 elif test -n "$PKG_CONFIG"; then
11498 if test -n "$PKG_CONFIG" && \
11499 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libisofs-1 \"") >&5
11500 ($PKG_CONFIG --exists --print-errors "libisofs-1 ") 2>&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); }; then
11504 pkg_cv_LIBISOFS_LIBS=`$PKG_CONFIG --libs "libisofs-1 " 2>/dev/null`
11514 if test $pkg_failed = yes; then
11516 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11517 _pkg_short_errors_supported=yes
11519 _pkg_short_errors_supported=no
11521 if test $_pkg_short_errors_supported = yes; then
11522 LIBISOFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libisofs-1 " 2>&1`
11524 LIBISOFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "libisofs-1 " 2>&1`
11526 # Put the nasty error message in config.log where it belongs
11527 echo "$LIBISOFS_PKG_ERRORS" >&5
11529 { { echo "$as_me:$LINENO: error: Package requirements (libisofs-1 ) were not met:
11531 $LIBISOFS_PKG_ERRORS
11533 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11534 installed software in a non-standard prefix.
11536 Alternatively, you may set the environment variables LIBISOFS_CFLAGS
11537 and LIBISOFS_LIBS to avoid the need to call pkg-config.
11538 See the pkg-config man page for more details.
11540 echo "$as_me: error: Package requirements (libisofs-1 ) were not met:
11542 $LIBISOFS_PKG_ERRORS
11544 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11545 installed software in a non-standard prefix.
11547 Alternatively, you may set the environment variables LIBISOFS_CFLAGS
11548 and LIBISOFS_LIBS to avoid the need to call pkg-config.
11549 See the pkg-config man page for more details.
11551 { (exit 1); exit 1; }; }
11552 elif test $pkg_failed = untried; then
11553 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11554 is in your PATH or set the PKG_CONFIG environment variable to the full
11555 path to pkg-config.
11557 Alternatively, you may set the environment variables LIBISOFS_CFLAGS
11558 and LIBISOFS_LIBS to avoid the need to call pkg-config.
11559 See the pkg-config man page for more details.
11561 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11562 See \`config.log' for more details." >&5
11563 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
11564 is in your PATH or set the PKG_CONFIG environment variable to the full
11565 path to pkg-config.
11567 Alternatively, you may set the environment variables LIBISOFS_CFLAGS
11568 and LIBISOFS_LIBS to avoid the need to call pkg-config.
11569 See the pkg-config man page for more details.
11571 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11572 See \`config.log' for more details." >&2;}
11573 { (exit 1); exit 1; }; }
11575 LIBISOFS_CFLAGS=$pkg_cv_LIBISOFS_CFLAGS
11576 LIBISOFS_LIBS=$pkg_cv_LIBISOFS_LIBS
11577 { echo "$as_me:$LINENO: result: yes" >&5
11578 echo "${ECHO_T}yes" >&6; }
11582 if test "x$with_osmesa" != xno; then
11586 { echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
11587 echo $ECHO_N "checking for OSMesaCreateContext in -lOSMesa... $ECHO_C" >&6; }
11588 if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
11589 echo $ECHO_N "(cached) $ECHO_C" >&6
11591 ac_check_lib_save_LIBS=$LIBS
11592 LIBS="-lOSMesa $LIBS"
11593 cat >conftest.$ac_ext <<_ACEOF
11596 cat confdefs.h >>conftest.$ac_ext
11597 cat >>conftest.$ac_ext <<_ACEOF
11598 /* end confdefs.h. */
11600 /* Override any GCC internal prototype to avoid an error.
11601 Use char because int might match the return type of a GCC
11602 builtin and then its argument prototype would still apply. */
11606 char OSMesaCreateContext ();
11610 return OSMesaCreateContext ();
11615 rm -f conftest.$ac_objext conftest$ac_exeext
11616 if { (ac_try="$ac_link"
11617 case "(($ac_try" in
11618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11619 *) ac_try_echo=$ac_try;;
11621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11622 (eval "$ac_link") 2>conftest.er1
11624 grep -v '^ *+' conftest.er1 >conftest.err
11626 cat conftest.err >&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } && {
11629 test -z "$ac_c_werror_flag" ||
11630 test ! -s conftest.err
11631 } && test -s conftest$ac_exeext &&
11632 $as_test_x conftest$ac_exeext; then
11633 ac_cv_lib_OSMesa_OSMesaCreateContext=yes
11635 echo "$as_me: failed program was:" >&5
11636 sed 's/^/| /' conftest.$ac_ext >&5
11638 ac_cv_lib_OSMesa_OSMesaCreateContext=no
11641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11642 conftest$ac_exeext conftest.$ac_ext
11643 LIBS=$ac_check_lib_save_LIBS
11645 { echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
11646 echo "${ECHO_T}$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6; }
11647 if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
11648 cat >>confdefs.h <<_ACEOF
11649 #define HAVE_LIBOSMESA 1
11652 LIBS="-lOSMesa $LIBS"
11655 { { echo "$as_me:$LINENO: error: --with-osmesa was given, but OSMesa library could not be found
11656 See \`config.log' for more details." >&5
11657 echo "$as_me: error: --with-osmesa was given, but OSMesa library could not be found
11658 See \`config.log' for more details." >&2;}
11659 { (exit 1); exit 1; }; }
11662 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
11663 { echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
11664 echo $ECHO_N "checking for GL/osmesa.h... $ECHO_C" >&6; }
11665 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
11666 echo $ECHO_N "(cached) $ECHO_C" >&6
11668 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
11669 echo "${ECHO_T}$ac_cv_header_GL_osmesa_h" >&6; }
11671 # Is the header compilable?
11672 { echo "$as_me:$LINENO: checking GL/osmesa.h usability" >&5
11673 echo $ECHO_N "checking GL/osmesa.h usability... $ECHO_C" >&6; }
11674 cat >conftest.$ac_ext <<_ACEOF
11677 cat confdefs.h >>conftest.$ac_ext
11678 cat >>conftest.$ac_ext <<_ACEOF
11679 /* end confdefs.h. */
11680 $ac_includes_default
11681 #include <GL/osmesa.h>
11683 rm -f conftest.$ac_objext
11684 if { (ac_try="$ac_compile"
11685 case "(($ac_try" in
11686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11687 *) ac_try_echo=$ac_try;;
11689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11690 (eval "$ac_compile") 2>conftest.er1
11692 grep -v '^ *+' conftest.er1 >conftest.err
11694 cat conftest.err >&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); } && {
11697 test -z "$ac_c_werror_flag" ||
11698 test ! -s conftest.err
11699 } && test -s conftest.$ac_objext; then
11700 ac_header_compiler=yes
11702 echo "$as_me: failed program was:" >&5
11703 sed 's/^/| /' conftest.$ac_ext >&5
11705 ac_header_compiler=no
11708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11709 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11710 echo "${ECHO_T}$ac_header_compiler" >&6; }
11712 # Is the header present?
11713 { echo "$as_me:$LINENO: checking GL/osmesa.h presence" >&5
11714 echo $ECHO_N "checking GL/osmesa.h presence... $ECHO_C" >&6; }
11715 cat >conftest.$ac_ext <<_ACEOF
11718 cat confdefs.h >>conftest.$ac_ext
11719 cat >>conftest.$ac_ext <<_ACEOF
11720 /* end confdefs.h. */
11721 #include <GL/osmesa.h>
11723 if { (ac_try="$ac_cpp conftest.$ac_ext"
11724 case "(($ac_try" in
11725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11726 *) ac_try_echo=$ac_try;;
11728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11731 grep -v '^ *+' conftest.er1 >conftest.err
11733 cat conftest.err >&5
11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); } >/dev/null && {
11736 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11737 test ! -s conftest.err
11739 ac_header_preproc=yes
11741 echo "$as_me: failed program was:" >&5
11742 sed 's/^/| /' conftest.$ac_ext >&5
11744 ac_header_preproc=no
11747 rm -f conftest.err conftest.$ac_ext
11748 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11749 echo "${ECHO_T}$ac_header_preproc" >&6; }
11751 # So? What about this header?
11752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11754 { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&5
11755 echo "$as_me: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11756 { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&5
11757 echo "$as_me: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&2;}
11758 ac_header_preproc=yes
11761 { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: present but cannot be compiled" >&5
11762 echo "$as_me: WARNING: GL/osmesa.h: present but cannot be compiled" >&2;}
11763 { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: check for missing prerequisite headers?" >&5
11764 echo "$as_me: WARNING: GL/osmesa.h: check for missing prerequisite headers?" >&2;}
11765 { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: see the Autoconf documentation" >&5
11766 echo "$as_me: WARNING: GL/osmesa.h: see the Autoconf documentation" >&2;}
11767 { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: section \"Present But Cannot Be Compiled\"" >&5
11768 echo "$as_me: WARNING: GL/osmesa.h: section \"Present But Cannot Be Compiled\"" >&2;}
11769 { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&5
11770 echo "$as_me: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&2;}
11771 { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&5
11772 echo "$as_me: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&2;}
11776 { echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
11777 echo $ECHO_N "checking for GL/osmesa.h... $ECHO_C" >&6; }
11778 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
11779 echo $ECHO_N "(cached) $ECHO_C" >&6
11781 ac_cv_header_GL_osmesa_h=$ac_header_preproc
11783 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
11784 echo "${ECHO_T}$ac_cv_header_GL_osmesa_h" >&6; }
11787 if test $ac_cv_header_GL_osmesa_h = yes; then
11790 { { echo "$as_me:$LINENO: error: --with-osmesa was given, but osmesa.h could not be found
11791 See \`config.log' for more details." >&5
11792 echo "$as_me: error: --with-osmesa was given, but osmesa.h could not be found
11793 See \`config.log' for more details." >&2;}
11794 { (exit 1); exit 1; }; }
11799 VIDEO_DRIVERS="$VIDEO_DRIVERS osmesa"
11801 cat >>confdefs.h <<\_ACEOF
11802 #define HAVE_OSMESA 1
11808 if test "x$APPLE_BUILD" != 'xyes'; then
11811 { echo "$as_me:$LINENO: checking for LIBGL" >&5
11812 echo $ECHO_N "checking for LIBGL... $ECHO_C" >&6; }
11814 if test -n "$LIBGL_CFLAGS"; then
11815 pkg_cv_LIBGL_CFLAGS="$LIBGL_CFLAGS"
11816 elif test -n "$PKG_CONFIG"; then
11817 if test -n "$PKG_CONFIG" && \
11818 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gl\"") >&5
11819 ($PKG_CONFIG --exists --print-errors "gl") 2>&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); }; then
11823 pkg_cv_LIBGL_CFLAGS=`$PKG_CONFIG --cflags "gl" 2>/dev/null`
11830 if test -n "$LIBGL_LIBS"; then
11831 pkg_cv_LIBGL_LIBS="$LIBGL_LIBS"
11832 elif test -n "$PKG_CONFIG"; then
11833 if test -n "$PKG_CONFIG" && \
11834 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gl\"") >&5
11835 ($PKG_CONFIG --exists --print-errors "gl") 2>&5
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); }; then
11839 pkg_cv_LIBGL_LIBS=`$PKG_CONFIG --libs "gl" 2>/dev/null`
11849 if test $pkg_failed = yes; then
11851 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11852 _pkg_short_errors_supported=yes
11854 _pkg_short_errors_supported=no
11856 if test $_pkg_short_errors_supported = yes; then
11857 LIBGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gl" 2>&1`
11859 LIBGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "gl" 2>&1`
11861 # Put the nasty error message in config.log where it belongs
11862 echo "$LIBGL_PKG_ERRORS" >&5
11864 { echo "$as_me:$LINENO: result: no" >&5
11865 echo "${ECHO_T}no" >&6; }
11867 { echo "$as_me:$LINENO: checking for glEnable in -lGLESv2" >&5
11868 echo $ECHO_N "checking for glEnable in -lGLESv2... $ECHO_C" >&6; }
11869 if test "${ac_cv_lib_GLESv2_glEnable+set}" = set; then
11870 echo $ECHO_N "(cached) $ECHO_C" >&6
11872 ac_check_lib_save_LIBS=$LIBS
11873 LIBS="-lGLESv2 $LIBS"
11874 cat >conftest.$ac_ext <<_ACEOF
11877 cat confdefs.h >>conftest.$ac_ext
11878 cat >>conftest.$ac_ext <<_ACEOF
11879 /* end confdefs.h. */
11881 /* Override any GCC internal prototype to avoid an error.
11882 Use char because int might match the return type of a GCC
11883 builtin and then its argument prototype would still apply. */
11891 return glEnable ();
11896 rm -f conftest.$ac_objext conftest$ac_exeext
11897 if { (ac_try="$ac_link"
11898 case "(($ac_try" in
11899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11900 *) ac_try_echo=$ac_try;;
11902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11903 (eval "$ac_link") 2>conftest.er1
11905 grep -v '^ *+' conftest.er1 >conftest.err
11907 cat conftest.err >&5
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); } && {
11910 test -z "$ac_c_werror_flag" ||
11911 test ! -s conftest.err
11912 } && test -s conftest$ac_exeext &&
11913 $as_test_x conftest$ac_exeext; then
11914 ac_cv_lib_GLESv2_glEnable=yes
11916 echo "$as_me: failed program was:" >&5
11917 sed 's/^/| /' conftest.$ac_ext >&5
11919 ac_cv_lib_GLESv2_glEnable=no
11922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11923 conftest$ac_exeext conftest.$ac_ext
11924 LIBS=$ac_check_lib_save_LIBS
11926 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLESv2_glEnable" >&5
11927 echo "${ECHO_T}$ac_cv_lib_GLESv2_glEnable" >&6; }
11928 if test $ac_cv_lib_GLESv2_glEnable = yes; then
11929 LIBS="-lGLESv2 $LIBS"; HAVE_GLES2='yes'
11931 { { echo "$as_me:$LINENO: error: Neither the OpenGL library (libGL.so) nor the OpenGL ES 2.0 library (libGLESv2.so) could be found, but one is required.
11932 See \`config.log' for more details." >&5
11933 echo "$as_me: error: Neither the OpenGL library (libGL.so) nor the OpenGL ES 2.0 library (libGLESv2.so) could be found, but one is required.
11934 See \`config.log' for more details." >&2;}
11935 { (exit 1); exit 1; }; }
11939 elif test $pkg_failed = untried; then
11941 { echo "$as_me:$LINENO: checking for glEnable in -lGLESv2" >&5
11942 echo $ECHO_N "checking for glEnable in -lGLESv2... $ECHO_C" >&6; }
11943 if test "${ac_cv_lib_GLESv2_glEnable+set}" = set; then
11944 echo $ECHO_N "(cached) $ECHO_C" >&6
11946 ac_check_lib_save_LIBS=$LIBS
11947 LIBS="-lGLESv2 $LIBS"
11948 cat >conftest.$ac_ext <<_ACEOF
11951 cat confdefs.h >>conftest.$ac_ext
11952 cat >>conftest.$ac_ext <<_ACEOF
11953 /* end confdefs.h. */
11955 /* Override any GCC internal prototype to avoid an error.
11956 Use char because int might match the return type of a GCC
11957 builtin and then its argument prototype would still apply. */
11965 return glEnable ();
11970 rm -f conftest.$ac_objext conftest$ac_exeext
11971 if { (ac_try="$ac_link"
11972 case "(($ac_try" in
11973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11974 *) ac_try_echo=$ac_try;;
11976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11977 (eval "$ac_link") 2>conftest.er1
11979 grep -v '^ *+' conftest.er1 >conftest.err
11981 cat conftest.err >&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); } && {
11984 test -z "$ac_c_werror_flag" ||
11985 test ! -s conftest.err
11986 } && test -s conftest$ac_exeext &&
11987 $as_test_x conftest$ac_exeext; then
11988 ac_cv_lib_GLESv2_glEnable=yes
11990 echo "$as_me: failed program was:" >&5
11991 sed 's/^/| /' conftest.$ac_ext >&5
11993 ac_cv_lib_GLESv2_glEnable=no
11996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11997 conftest$ac_exeext conftest.$ac_ext
11998 LIBS=$ac_check_lib_save_LIBS
12000 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLESv2_glEnable" >&5
12001 echo "${ECHO_T}$ac_cv_lib_GLESv2_glEnable" >&6; }
12002 if test $ac_cv_lib_GLESv2_glEnable = yes; then
12003 LIBS="-lGLESv2 $LIBS"; HAVE_GLES2='yes'
12005 { { echo "$as_me:$LINENO: error: Neither the OpenGL library (libGL.so) nor the OpenGL ES 2.0 library (libGLESv2.so) could be found, but one is required.
12006 See \`config.log' for more details." >&5
12007 echo "$as_me: error: Neither the OpenGL library (libGL.so) nor the OpenGL ES 2.0 library (libGLESv2.so) could be found, but one is required.
12008 See \`config.log' for more details." >&2;}
12009 { (exit 1); exit 1; }; }
12014 LIBGL_CFLAGS=$pkg_cv_LIBGL_CFLAGS
12015 LIBGL_LIBS=$pkg_cv_LIBGL_LIBS
12016 { echo "$as_me:$LINENO: result: yes" >&5
12017 echo "${ECHO_T}yes" >&6; }
12019 LIBS="$LIBS $LIBGL_LIBS";
12020 CPPFLAGS="$CPPFLAGS $LIBGL_CFLAGS";
12025 { echo "$as_me:$LINENO: checking for NSOpenGLGetVersion" >&5
12026 echo $ECHO_N "checking for NSOpenGLGetVersion... $ECHO_C" >&6; }
12027 if test "${ac_cv_func_NSOpenGLGetVersion+set}" = set; then
12028 echo $ECHO_N "(cached) $ECHO_C" >&6
12030 cat >conftest.$ac_ext <<_ACEOF
12033 cat confdefs.h >>conftest.$ac_ext
12034 cat >>conftest.$ac_ext <<_ACEOF
12035 /* end confdefs.h. */
12036 /* Define NSOpenGLGetVersion to an innocuous variant, in case <limits.h> declares NSOpenGLGetVersion.
12037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12038 #define NSOpenGLGetVersion innocuous_NSOpenGLGetVersion
12040 /* System header to define __stub macros and hopefully few prototypes,
12041 which can conflict with char NSOpenGLGetVersion (); below.
12042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12043 <limits.h> exists even on freestanding compilers. */
12046 # include <limits.h>
12048 # include <assert.h>
12051 #undef NSOpenGLGetVersion
12053 /* Override any GCC internal prototype to avoid an error.
12054 Use char because int might match the return type of a GCC
12055 builtin and then its argument prototype would still apply. */
12059 char NSOpenGLGetVersion ();
12060 /* The GNU C library defines this for functions which it implements
12061 to always fail with ENOSYS. Some functions are actually named
12062 something starting with __ and the normal name is an alias. */
12063 #if defined __stub_NSOpenGLGetVersion || defined __stub___NSOpenGLGetVersion
12070 return NSOpenGLGetVersion ();
12075 rm -f conftest.$ac_objext conftest$ac_exeext
12076 if { (ac_try="$ac_link"
12077 case "(($ac_try" in
12078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12079 *) ac_try_echo=$ac_try;;
12081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12082 (eval "$ac_link") 2>conftest.er1
12084 grep -v '^ *+' conftest.er1 >conftest.err
12086 cat conftest.err >&5
12087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088 (exit $ac_status); } && {
12089 test -z "$ac_c_werror_flag" ||
12090 test ! -s conftest.err
12091 } && test -s conftest$ac_exeext &&
12092 $as_test_x conftest$ac_exeext; then
12093 ac_cv_func_NSOpenGLGetVersion=yes
12095 echo "$as_me: failed program was:" >&5
12096 sed 's/^/| /' conftest.$ac_ext >&5
12098 ac_cv_func_NSOpenGLGetVersion=no
12101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12102 conftest$ac_exeext conftest.$ac_ext
12104 { echo "$as_me:$LINENO: result: $ac_cv_func_NSOpenGLGetVersion" >&5
12105 echo "${ECHO_T}$ac_cv_func_NSOpenGLGetVersion" >&6; }
12106 if test $ac_cv_func_NSOpenGLGetVersion = yes; then
12109 VIDEO_DRIVERS="$VIDEO_DRIVERS nsgl"
12111 cat >>confdefs.h <<\_ACEOF
12112 #define HAVE_NSGL 1
12117 if test "x$HAVE_GTK_X11" = "xyes"; then
12118 LIBS="$LIBS -L/usr/X11/lib -lGL"
12122 { echo "$as_me:$LINENO: checking for glXQueryVersion" >&5
12123 echo $ECHO_N "checking for glXQueryVersion... $ECHO_C" >&6; }
12124 if test "${ac_cv_func_glXQueryVersion+set}" = set; then
12125 echo $ECHO_N "(cached) $ECHO_C" >&6
12127 cat >conftest.$ac_ext <<_ACEOF
12130 cat confdefs.h >>conftest.$ac_ext
12131 cat >>conftest.$ac_ext <<_ACEOF
12132 /* end confdefs.h. */
12133 /* Define glXQueryVersion to an innocuous variant, in case <limits.h> declares glXQueryVersion.
12134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12135 #define glXQueryVersion innocuous_glXQueryVersion
12137 /* System header to define __stub macros and hopefully few prototypes,
12138 which can conflict with char glXQueryVersion (); below.
12139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12140 <limits.h> exists even on freestanding compilers. */
12143 # include <limits.h>
12145 # include <assert.h>
12148 #undef glXQueryVersion
12150 /* Override any GCC internal prototype to avoid an error.
12151 Use char because int might match the return type of a GCC
12152 builtin and then its argument prototype would still apply. */
12156 char glXQueryVersion ();
12157 /* The GNU C library defines this for functions which it implements
12158 to always fail with ENOSYS. Some functions are actually named
12159 something starting with __ and the normal name is an alias. */
12160 #if defined __stub_glXQueryVersion || defined __stub___glXQueryVersion
12167 return glXQueryVersion ();
12172 rm -f conftest.$ac_objext conftest$ac_exeext
12173 if { (ac_try="$ac_link"
12174 case "(($ac_try" in
12175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12176 *) ac_try_echo=$ac_try;;
12178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12179 (eval "$ac_link") 2>conftest.er1
12181 grep -v '^ *+' conftest.er1 >conftest.err
12183 cat conftest.err >&5
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); } && {
12186 test -z "$ac_c_werror_flag" ||
12187 test ! -s conftest.err
12188 } && test -s conftest$ac_exeext &&
12189 $as_test_x conftest$ac_exeext; then
12190 ac_cv_func_glXQueryVersion=yes
12192 echo "$as_me: failed program was:" >&5
12193 sed 's/^/| /' conftest.$ac_ext >&5
12195 ac_cv_func_glXQueryVersion=no
12198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12199 conftest$ac_exeext conftest.$ac_ext
12201 { echo "$as_me:$LINENO: result: $ac_cv_func_glXQueryVersion" >&5
12202 echo "${ECHO_T}$ac_cv_func_glXQueryVersion" >&6; }
12203 if test $ac_cv_func_glXQueryVersion = yes; then
12206 VIDEO_DRIVERS="$VIDEO_DRIVERS glx"
12208 cat >>confdefs.h <<\_ACEOF
12214 { echo "$as_me:$LINENO: checking for eglGetDisplay in -lEGL" >&5
12215 echo $ECHO_N "checking for eglGetDisplay in -lEGL... $ECHO_C" >&6; }
12216 if test "${ac_cv_lib_EGL_eglGetDisplay+set}" = set; then
12217 echo $ECHO_N "(cached) $ECHO_C" >&6
12219 ac_check_lib_save_LIBS=$LIBS
12221 cat >conftest.$ac_ext <<_ACEOF
12224 cat confdefs.h >>conftest.$ac_ext
12225 cat >>conftest.$ac_ext <<_ACEOF
12226 /* end confdefs.h. */
12228 /* Override any GCC internal prototype to avoid an error.
12229 Use char because int might match the return type of a GCC
12230 builtin and then its argument prototype would still apply. */
12234 char eglGetDisplay ();
12238 return eglGetDisplay ();
12243 rm -f conftest.$ac_objext conftest$ac_exeext
12244 if { (ac_try="$ac_link"
12245 case "(($ac_try" in
12246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12247 *) ac_try_echo=$ac_try;;
12249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12250 (eval "$ac_link") 2>conftest.er1
12252 grep -v '^ *+' conftest.er1 >conftest.err
12254 cat conftest.err >&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); } && {
12257 test -z "$ac_c_werror_flag" ||
12258 test ! -s conftest.err
12259 } && test -s conftest$ac_exeext &&
12260 $as_test_x conftest$ac_exeext; then
12261 ac_cv_lib_EGL_eglGetDisplay=yes
12263 echo "$as_me: failed program was:" >&5
12264 sed 's/^/| /' conftest.$ac_ext >&5
12266 ac_cv_lib_EGL_eglGetDisplay=no
12269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12270 conftest$ac_exeext conftest.$ac_ext
12271 LIBS=$ac_check_lib_save_LIBS
12273 { echo "$as_me:$LINENO: result: $ac_cv_lib_EGL_eglGetDisplay" >&5
12274 echo "${ECHO_T}$ac_cv_lib_EGL_eglGetDisplay" >&6; }
12275 if test $ac_cv_lib_EGL_eglGetDisplay = yes; then
12279 VIDEO_DRIVERS="$VIDEO_DRIVERS egl"
12286 if test "x$HAVE_GLES2" = "xyes"; then
12288 cat >>confdefs.h <<\_ACEOF
12289 #define HAVE_GLES2 1
12296 if test "x$HAVE_OSMESA" = "xyes"; then
12298 VIDEO_OSMESA_FALSE='#'
12300 VIDEO_OSMESA_TRUE='#'
12301 VIDEO_OSMESA_FALSE=
12306 if test "x$HAVE_GLX" = "xyes"; then
12308 VIDEO_GLX_FALSE='#'
12316 if test "x$HAVE_NSGL" = "xyes"; then
12318 VIDEO_NSGL_FALSE='#'
12320 VIDEO_NSGL_TRUE='#'
12326 if test "x$HAVE_EGL" = "xyes"; then
12328 VIDEO_EGL_FALSE='#'
12335 { echo "$as_me:$LINENO: checking for glGenFramebuffers" >&5
12336 echo $ECHO_N "checking for glGenFramebuffers... $ECHO_C" >&6; }
12337 if test "${ac_cv_func_glGenFramebuffers+set}" = set; then
12338 echo $ECHO_N "(cached) $ECHO_C" >&6
12340 cat >conftest.$ac_ext <<_ACEOF
12343 cat confdefs.h >>conftest.$ac_ext
12344 cat >>conftest.$ac_ext <<_ACEOF
12345 /* end confdefs.h. */
12346 /* Define glGenFramebuffers to an innocuous variant, in case <limits.h> declares glGenFramebuffers.
12347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12348 #define glGenFramebuffers innocuous_glGenFramebuffers
12350 /* System header to define __stub macros and hopefully few prototypes,
12351 which can conflict with char glGenFramebuffers (); below.
12352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12353 <limits.h> exists even on freestanding compilers. */
12356 # include <limits.h>
12358 # include <assert.h>
12361 #undef glGenFramebuffers
12363 /* Override any GCC internal prototype to avoid an error.
12364 Use char because int might match the return type of a GCC
12365 builtin and then its argument prototype would still apply. */
12369 char glGenFramebuffers ();
12370 /* The GNU C library defines this for functions which it implements
12371 to always fail with ENOSYS. Some functions are actually named
12372 something starting with __ and the normal name is an alias. */
12373 #if defined __stub_glGenFramebuffers || defined __stub___glGenFramebuffers
12380 return glGenFramebuffers ();
12385 rm -f conftest.$ac_objext conftest$ac_exeext
12386 if { (ac_try="$ac_link"
12387 case "(($ac_try" in
12388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12389 *) ac_try_echo=$ac_try;;
12391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12392 (eval "$ac_link") 2>conftest.er1
12394 grep -v '^ *+' conftest.er1 >conftest.err
12396 cat conftest.err >&5
12397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12398 (exit $ac_status); } && {
12399 test -z "$ac_c_werror_flag" ||
12400 test ! -s conftest.err
12401 } && test -s conftest$ac_exeext &&
12402 $as_test_x conftest$ac_exeext; then
12403 ac_cv_func_glGenFramebuffers=yes
12405 echo "$as_me: failed program was:" >&5
12406 sed 's/^/| /' conftest.$ac_ext >&5
12408 ac_cv_func_glGenFramebuffers=no
12411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12412 conftest$ac_exeext conftest.$ac_ext
12414 { echo "$as_me:$LINENO: result: $ac_cv_func_glGenFramebuffers" >&5
12415 echo "${ECHO_T}$ac_cv_func_glGenFramebuffers" >&6; }
12416 if test $ac_cv_func_glGenFramebuffers = yes; then
12418 cat >>confdefs.h <<\_ACEOF
12419 #define HAVE_OPENGL_FBO 1
12424 { echo "$as_me:$LINENO: checking for glGenFramebuffersEXT" >&5
12425 echo $ECHO_N "checking for glGenFramebuffersEXT... $ECHO_C" >&6; }
12426 if test "${ac_cv_func_glGenFramebuffersEXT+set}" = set; then
12427 echo $ECHO_N "(cached) $ECHO_C" >&6
12429 cat >conftest.$ac_ext <<_ACEOF
12432 cat confdefs.h >>conftest.$ac_ext
12433 cat >>conftest.$ac_ext <<_ACEOF
12434 /* end confdefs.h. */
12435 /* Define glGenFramebuffersEXT to an innocuous variant, in case <limits.h> declares glGenFramebuffersEXT.
12436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12437 #define glGenFramebuffersEXT innocuous_glGenFramebuffersEXT
12439 /* System header to define __stub macros and hopefully few prototypes,
12440 which can conflict with char glGenFramebuffersEXT (); below.
12441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12442 <limits.h> exists even on freestanding compilers. */
12445 # include <limits.h>
12447 # include <assert.h>
12450 #undef glGenFramebuffersEXT
12452 /* Override any GCC internal prototype to avoid an error.
12453 Use char because int might match the return type of a GCC
12454 builtin and then its argument prototype would still apply. */
12458 char glGenFramebuffersEXT ();
12459 /* The GNU C library defines this for functions which it implements
12460 to always fail with ENOSYS. Some functions are actually named
12461 something starting with __ and the normal name is an alias. */
12462 #if defined __stub_glGenFramebuffersEXT || defined __stub___glGenFramebuffersEXT
12469 return glGenFramebuffersEXT ();
12474 rm -f conftest.$ac_objext conftest$ac_exeext
12475 if { (ac_try="$ac_link"
12476 case "(($ac_try" in
12477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12478 *) ac_try_echo=$ac_try;;
12480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12481 (eval "$ac_link") 2>conftest.er1
12483 grep -v '^ *+' conftest.er1 >conftest.err
12485 cat conftest.err >&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); } && {
12488 test -z "$ac_c_werror_flag" ||
12489 test ! -s conftest.err
12490 } && test -s conftest$ac_exeext &&
12491 $as_test_x conftest$ac_exeext; then
12492 ac_cv_func_glGenFramebuffersEXT=yes
12494 echo "$as_me: failed program was:" >&5
12495 sed 's/^/| /' conftest.$ac_ext >&5
12497 ac_cv_func_glGenFramebuffersEXT=no
12500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12501 conftest$ac_exeext conftest.$ac_ext
12503 { echo "$as_me:$LINENO: result: $ac_cv_func_glGenFramebuffersEXT" >&5
12504 echo "${ECHO_T}$ac_cv_func_glGenFramebuffersEXT" >&6; }
12505 if test $ac_cv_func_glGenFramebuffersEXT = yes; then
12507 cat >>confdefs.h <<\_ACEOF
12508 #define HAVE_OPENGL_FBO_EXT 1
12513 { echo "$as_me:$LINENO: checking for glCreateShader" >&5
12514 echo $ECHO_N "checking for glCreateShader... $ECHO_C" >&6; }
12515 if test "${ac_cv_func_glCreateShader+set}" = set; then
12516 echo $ECHO_N "(cached) $ECHO_C" >&6
12518 cat >conftest.$ac_ext <<_ACEOF
12521 cat confdefs.h >>conftest.$ac_ext
12522 cat >>conftest.$ac_ext <<_ACEOF
12523 /* end confdefs.h. */
12524 /* Define glCreateShader to an innocuous variant, in case <limits.h> declares glCreateShader.
12525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12526 #define glCreateShader innocuous_glCreateShader
12528 /* System header to define __stub macros and hopefully few prototypes,
12529 which can conflict with char glCreateShader (); below.
12530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12531 <limits.h> exists even on freestanding compilers. */
12534 # include <limits.h>
12536 # include <assert.h>
12539 #undef glCreateShader
12541 /* Override any GCC internal prototype to avoid an error.
12542 Use char because int might match the return type of a GCC
12543 builtin and then its argument prototype would still apply. */
12547 char glCreateShader ();
12548 /* The GNU C library defines this for functions which it implements
12549 to always fail with ENOSYS. Some functions are actually named
12550 something starting with __ and the normal name is an alias. */
12551 #if defined __stub_glCreateShader || defined __stub___glCreateShader
12558 return glCreateShader ();
12563 rm -f conftest.$ac_objext conftest$ac_exeext
12564 if { (ac_try="$ac_link"
12565 case "(($ac_try" in
12566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12567 *) ac_try_echo=$ac_try;;
12569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12570 (eval "$ac_link") 2>conftest.er1
12572 grep -v '^ *+' conftest.er1 >conftest.err
12574 cat conftest.err >&5
12575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); } && {
12577 test -z "$ac_c_werror_flag" ||
12578 test ! -s conftest.err
12579 } && test -s conftest$ac_exeext &&
12580 $as_test_x conftest$ac_exeext; then
12581 ac_cv_func_glCreateShader=yes
12583 echo "$as_me: failed program was:" >&5
12584 sed 's/^/| /' conftest.$ac_ext >&5
12586 ac_cv_func_glCreateShader=no
12589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12590 conftest$ac_exeext conftest.$ac_ext
12592 { echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShader" >&5
12593 echo "${ECHO_T}$ac_cv_func_glCreateShader" >&6; }
12594 if test $ac_cv_func_glCreateShader = yes; then
12596 cat >>confdefs.h <<\_ACEOF
12597 #define HAVE_OPENGL_SHADER 1
12602 { echo "$as_me:$LINENO: checking for glCreateShaderObjectARB" >&5
12603 echo $ECHO_N "checking for glCreateShaderObjectARB... $ECHO_C" >&6; }
12604 if test "${ac_cv_func_glCreateShaderObjectARB+set}" = set; then
12605 echo $ECHO_N "(cached) $ECHO_C" >&6
12607 cat >conftest.$ac_ext <<_ACEOF
12610 cat confdefs.h >>conftest.$ac_ext
12611 cat >>conftest.$ac_ext <<_ACEOF
12612 /* end confdefs.h. */
12613 /* Define glCreateShaderObjectARB to an innocuous variant, in case <limits.h> declares glCreateShaderObjectARB.
12614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12615 #define glCreateShaderObjectARB innocuous_glCreateShaderObjectARB
12617 /* System header to define __stub macros and hopefully few prototypes,
12618 which can conflict with char glCreateShaderObjectARB (); below.
12619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12620 <limits.h> exists even on freestanding compilers. */
12623 # include <limits.h>
12625 # include <assert.h>
12628 #undef glCreateShaderObjectARB
12630 /* Override any GCC internal prototype to avoid an error.
12631 Use char because int might match the return type of a GCC
12632 builtin and then its argument prototype would still apply. */
12636 char glCreateShaderObjectARB ();
12637 /* The GNU C library defines this for functions which it implements
12638 to always fail with ENOSYS. Some functions are actually named
12639 something starting with __ and the normal name is an alias. */
12640 #if defined __stub_glCreateShaderObjectARB || defined __stub___glCreateShaderObjectARB
12647 return glCreateShaderObjectARB ();
12652 rm -f conftest.$ac_objext conftest$ac_exeext
12653 if { (ac_try="$ac_link"
12654 case "(($ac_try" in
12655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12656 *) ac_try_echo=$ac_try;;
12658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12659 (eval "$ac_link") 2>conftest.er1
12661 grep -v '^ *+' conftest.er1 >conftest.err
12663 cat conftest.err >&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); } && {
12666 test -z "$ac_c_werror_flag" ||
12667 test ! -s conftest.err
12668 } && test -s conftest$ac_exeext &&
12669 $as_test_x conftest$ac_exeext; then
12670 ac_cv_func_glCreateShaderObjectARB=yes
12672 echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.$ac_ext >&5
12675 ac_cv_func_glCreateShaderObjectARB=no
12678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12679 conftest$ac_exeext conftest.$ac_ext
12681 { echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShaderObjectARB" >&5
12682 echo "${ECHO_T}$ac_cv_func_glCreateShaderObjectARB" >&6; }
12683 if test $ac_cv_func_glCreateShaderObjectARB = yes; then
12685 cat >>confdefs.h <<\_ACEOF
12686 #define HAVE_OPENGL_SHADER_ARB 1
12691 { echo "$as_me:$LINENO: checking for glClampColorARB" >&5
12692 echo $ECHO_N "checking for glClampColorARB... $ECHO_C" >&6; }
12693 if test "${ac_cv_func_glClampColorARB+set}" = set; then
12694 echo $ECHO_N "(cached) $ECHO_C" >&6
12696 cat >conftest.$ac_ext <<_ACEOF
12699 cat confdefs.h >>conftest.$ac_ext
12700 cat >>conftest.$ac_ext <<_ACEOF
12701 /* end confdefs.h. */
12702 /* Define glClampColorARB to an innocuous variant, in case <limits.h> declares glClampColorARB.
12703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12704 #define glClampColorARB innocuous_glClampColorARB
12706 /* System header to define __stub macros and hopefully few prototypes,
12707 which can conflict with char glClampColorARB (); below.
12708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12709 <limits.h> exists even on freestanding compilers. */
12712 # include <limits.h>
12714 # include <assert.h>
12717 #undef glClampColorARB
12719 /* Override any GCC internal prototype to avoid an error.
12720 Use char because int might match the return type of a GCC
12721 builtin and then its argument prototype would still apply. */
12725 char glClampColorARB ();
12726 /* The GNU C library defines this for functions which it implements
12727 to always fail with ENOSYS. Some functions are actually named
12728 something starting with __ and the normal name is an alias. */
12729 #if defined __stub_glClampColorARB || defined __stub___glClampColorARB
12736 return glClampColorARB ();
12741 rm -f conftest.$ac_objext conftest$ac_exeext
12742 if { (ac_try="$ac_link"
12743 case "(($ac_try" in
12744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12745 *) ac_try_echo=$ac_try;;
12747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12748 (eval "$ac_link") 2>conftest.er1
12750 grep -v '^ *+' conftest.er1 >conftest.err
12752 cat conftest.err >&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } && {
12755 test -z "$ac_c_werror_flag" ||
12756 test ! -s conftest.err
12757 } && test -s conftest$ac_exeext &&
12758 $as_test_x conftest$ac_exeext; then
12759 ac_cv_func_glClampColorARB=yes
12761 echo "$as_me: failed program was:" >&5
12762 sed 's/^/| /' conftest.$ac_ext >&5
12764 ac_cv_func_glClampColorARB=no
12767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12768 conftest$ac_exeext conftest.$ac_ext
12770 { echo "$as_me:$LINENO: result: $ac_cv_func_glClampColorARB" >&5
12771 echo "${ECHO_T}$ac_cv_func_glClampColorARB" >&6; }
12772 if test $ac_cv_func_glClampColorARB = yes; then
12774 cat >>confdefs.h <<\_ACEOF
12775 #define HAVE_OPENGL_CLAMP_COLOR 1
12780 { echo "$as_me:$LINENO: checking for glClearDepthf" >&5
12781 echo $ECHO_N "checking for glClearDepthf... $ECHO_C" >&6; }
12782 if test "${ac_cv_func_glClearDepthf+set}" = set; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12785 cat >conftest.$ac_ext <<_ACEOF
12788 cat confdefs.h >>conftest.$ac_ext
12789 cat >>conftest.$ac_ext <<_ACEOF
12790 /* end confdefs.h. */
12791 /* Define glClearDepthf to an innocuous variant, in case <limits.h> declares glClearDepthf.
12792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12793 #define glClearDepthf innocuous_glClearDepthf
12795 /* System header to define __stub macros and hopefully few prototypes,
12796 which can conflict with char glClearDepthf (); below.
12797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12798 <limits.h> exists even on freestanding compilers. */
12801 # include <limits.h>
12803 # include <assert.h>
12806 #undef glClearDepthf
12808 /* Override any GCC internal prototype to avoid an error.
12809 Use char because int might match the return type of a GCC
12810 builtin and then its argument prototype would still apply. */
12814 char glClearDepthf ();
12815 /* The GNU C library defines this for functions which it implements
12816 to always fail with ENOSYS. Some functions are actually named
12817 something starting with __ and the normal name is an alias. */
12818 #if defined __stub_glClearDepthf || defined __stub___glClearDepthf
12825 return glClearDepthf ();
12830 rm -f conftest.$ac_objext conftest$ac_exeext
12831 if { (ac_try="$ac_link"
12832 case "(($ac_try" in
12833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12834 *) ac_try_echo=$ac_try;;
12836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12837 (eval "$ac_link") 2>conftest.er1
12839 grep -v '^ *+' conftest.er1 >conftest.err
12841 cat conftest.err >&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); } && {
12844 test -z "$ac_c_werror_flag" ||
12845 test ! -s conftest.err
12846 } && test -s conftest$ac_exeext &&
12847 $as_test_x conftest$ac_exeext; then
12848 ac_cv_func_glClearDepthf=yes
12850 echo "$as_me: failed program was:" >&5
12851 sed 's/^/| /' conftest.$ac_ext >&5
12853 ac_cv_func_glClearDepthf=no
12856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12857 conftest$ac_exeext conftest.$ac_ext
12859 { echo "$as_me:$LINENO: result: $ac_cv_func_glClearDepthf" >&5
12860 echo "${ECHO_T}$ac_cv_func_glClearDepthf" >&6; }
12861 if test $ac_cv_func_glClearDepthf = yes; then
12863 cat >>confdefs.h <<\_ACEOF
12864 #define HAVE_OPENGL_CLEAR_DEPTHF 1
12869 { echo "$as_me:$LINENO: checking for glAreTexturesResident" >&5
12870 echo $ECHO_N "checking for glAreTexturesResident... $ECHO_C" >&6; }
12871 if test "${ac_cv_func_glAreTexturesResident+set}" = set; then
12872 echo $ECHO_N "(cached) $ECHO_C" >&6
12874 cat >conftest.$ac_ext <<_ACEOF
12877 cat confdefs.h >>conftest.$ac_ext
12878 cat >>conftest.$ac_ext <<_ACEOF
12879 /* end confdefs.h. */
12880 /* Define glAreTexturesResident to an innocuous variant, in case <limits.h> declares glAreTexturesResident.
12881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12882 #define glAreTexturesResident innocuous_glAreTexturesResident
12884 /* System header to define __stub macros and hopefully few prototypes,
12885 which can conflict with char glAreTexturesResident (); below.
12886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12887 <limits.h> exists even on freestanding compilers. */
12890 # include <limits.h>
12892 # include <assert.h>
12895 #undef glAreTexturesResident
12897 /* Override any GCC internal prototype to avoid an error.
12898 Use char because int might match the return type of a GCC
12899 builtin and then its argument prototype would still apply. */
12903 char glAreTexturesResident ();
12904 /* The GNU C library defines this for functions which it implements
12905 to always fail with ENOSYS. Some functions are actually named
12906 something starting with __ and the normal name is an alias. */
12907 #if defined __stub_glAreTexturesResident || defined __stub___glAreTexturesResident
12914 return glAreTexturesResident ();
12919 rm -f conftest.$ac_objext conftest$ac_exeext
12920 if { (ac_try="$ac_link"
12921 case "(($ac_try" in
12922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12923 *) ac_try_echo=$ac_try;;
12925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12926 (eval "$ac_link") 2>conftest.er1
12928 grep -v '^ *+' conftest.er1 >conftest.err
12930 cat conftest.err >&5
12931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12932 (exit $ac_status); } && {
12933 test -z "$ac_c_werror_flag" ||
12934 test ! -s conftest.err
12935 } && test -s conftest$ac_exeext &&
12936 $as_test_x conftest$ac_exeext; then
12937 ac_cv_func_glAreTexturesResident=yes
12939 echo "$as_me: failed program was:" >&5
12940 sed 's/^/| /' conftest.$ac_ext >&5
12942 ac_cv_func_glAreTexturesResident=no
12945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12946 conftest$ac_exeext conftest.$ac_ext
12948 { echo "$as_me:$LINENO: result: $ac_cv_func_glAreTexturesResident" >&5
12949 echo "${ECHO_T}$ac_cv_func_glAreTexturesResident" >&6; }
12950 if test $ac_cv_func_glAreTexturesResident = yes; then
12952 cat >>confdefs.h <<\_ACEOF
12953 #define HAVE_OPENGL_TEX_RESIDENT 1
12958 { echo "$as_me:$LINENO: checking for glDrawBuffer" >&5
12959 echo $ECHO_N "checking for glDrawBuffer... $ECHO_C" >&6; }
12960 if test "${ac_cv_func_glDrawBuffer+set}" = set; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12963 cat >conftest.$ac_ext <<_ACEOF
12966 cat confdefs.h >>conftest.$ac_ext
12967 cat >>conftest.$ac_ext <<_ACEOF
12968 /* end confdefs.h. */
12969 /* Define glDrawBuffer to an innocuous variant, in case <limits.h> declares glDrawBuffer.
12970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12971 #define glDrawBuffer innocuous_glDrawBuffer
12973 /* System header to define __stub macros and hopefully few prototypes,
12974 which can conflict with char glDrawBuffer (); below.
12975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12976 <limits.h> exists even on freestanding compilers. */
12979 # include <limits.h>
12981 # include <assert.h>
12984 #undef glDrawBuffer
12986 /* Override any GCC internal prototype to avoid an error.
12987 Use char because int might match the return type of a GCC
12988 builtin and then its argument prototype would still apply. */
12992 char glDrawBuffer ();
12993 /* The GNU C library defines this for functions which it implements
12994 to always fail with ENOSYS. Some functions are actually named
12995 something starting with __ and the normal name is an alias. */
12996 #if defined __stub_glDrawBuffer || defined __stub___glDrawBuffer
13003 return glDrawBuffer ();
13008 rm -f conftest.$ac_objext conftest$ac_exeext
13009 if { (ac_try="$ac_link"
13010 case "(($ac_try" in
13011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13012 *) ac_try_echo=$ac_try;;
13014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13015 (eval "$ac_link") 2>conftest.er1
13017 grep -v '^ *+' conftest.er1 >conftest.err
13019 cat conftest.err >&5
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); } && {
13022 test -z "$ac_c_werror_flag" ||
13023 test ! -s conftest.err
13024 } && test -s conftest$ac_exeext &&
13025 $as_test_x conftest$ac_exeext; then
13026 ac_cv_func_glDrawBuffer=yes
13028 echo "$as_me: failed program was:" >&5
13029 sed 's/^/| /' conftest.$ac_ext >&5
13031 ac_cv_func_glDrawBuffer=no
13034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13035 conftest$ac_exeext conftest.$ac_ext
13037 { echo "$as_me:$LINENO: result: $ac_cv_func_glDrawBuffer" >&5
13038 echo "${ECHO_T}$ac_cv_func_glDrawBuffer" >&6; }
13039 if test $ac_cv_func_glDrawBuffer = yes; then
13041 cat >>confdefs.h <<\_ACEOF
13042 #define HAVE_OPENGL_DRAW_BUFFER 1
13047 { echo "$as_me:$LINENO: checking for glTexEnvi" >&5
13048 echo $ECHO_N "checking for glTexEnvi... $ECHO_C" >&6; }
13049 if test "${ac_cv_func_glTexEnvi+set}" = set; then
13050 echo $ECHO_N "(cached) $ECHO_C" >&6
13052 cat >conftest.$ac_ext <<_ACEOF
13055 cat confdefs.h >>conftest.$ac_ext
13056 cat >>conftest.$ac_ext <<_ACEOF
13057 /* end confdefs.h. */
13058 /* Define glTexEnvi to an innocuous variant, in case <limits.h> declares glTexEnvi.
13059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13060 #define glTexEnvi innocuous_glTexEnvi
13062 /* System header to define __stub macros and hopefully few prototypes,
13063 which can conflict with char glTexEnvi (); below.
13064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13065 <limits.h> exists even on freestanding compilers. */
13068 # include <limits.h>
13070 # include <assert.h>
13075 /* Override any GCC internal prototype to avoid an error.
13076 Use char because int might match the return type of a GCC
13077 builtin and then its argument prototype would still apply. */
13082 /* The GNU C library defines this for functions which it implements
13083 to always fail with ENOSYS. Some functions are actually named
13084 something starting with __ and the normal name is an alias. */
13085 #if defined __stub_glTexEnvi || defined __stub___glTexEnvi
13092 return glTexEnvi ();
13097 rm -f conftest.$ac_objext conftest$ac_exeext
13098 if { (ac_try="$ac_link"
13099 case "(($ac_try" in
13100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13101 *) ac_try_echo=$ac_try;;
13103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13104 (eval "$ac_link") 2>conftest.er1
13106 grep -v '^ *+' conftest.er1 >conftest.err
13108 cat conftest.err >&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } && {
13111 test -z "$ac_c_werror_flag" ||
13112 test ! -s conftest.err
13113 } && test -s conftest$ac_exeext &&
13114 $as_test_x conftest$ac_exeext; then
13115 ac_cv_func_glTexEnvi=yes
13117 echo "$as_me: failed program was:" >&5
13118 sed 's/^/| /' conftest.$ac_ext >&5
13120 ac_cv_func_glTexEnvi=no
13123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13124 conftest$ac_exeext conftest.$ac_ext
13126 { echo "$as_me:$LINENO: result: $ac_cv_func_glTexEnvi" >&5
13127 echo "${ECHO_T}$ac_cv_func_glTexEnvi" >&6; }
13128 if test $ac_cv_func_glTexEnvi = yes; then
13130 cat >>confdefs.h <<\_ACEOF
13131 #define HAVE_OPENGL_FIXEDFUNC 1
13137 if test "x$enable_translator" != "xno"; then
13139 i386|i486|i586|i686|x86_64)
13140 SH4_TRANSLATOR="x86"
13142 cat >>confdefs.h <<_ACEOF
13143 #define SH4_TRANSLATOR TARGET_X86
13150 if test "$SH4_TRANSLATOR" = "x86"; then
13152 BUILD_SH4X86_FALSE='#'
13154 BUILD_SH4X86_TRUE='#'
13155 BUILD_SH4X86_FALSE=
13159 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
13160 { echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
13161 echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
13162 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
13163 echo $ECHO_N "(cached) $ECHO_C" >&6
13165 { echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
13166 echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
13168 # Is the header compilable?
13169 { echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
13170 echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6; }
13171 cat >conftest.$ac_ext <<_ACEOF
13174 cat confdefs.h >>conftest.$ac_ext
13175 cat >>conftest.$ac_ext <<_ACEOF
13176 /* end confdefs.h. */
13177 $ac_includes_default
13178 #include <CoreAudio/CoreAudio.h>
13180 rm -f conftest.$ac_objext
13181 if { (ac_try="$ac_compile"
13182 case "(($ac_try" in
13183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13184 *) ac_try_echo=$ac_try;;
13186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13187 (eval "$ac_compile") 2>conftest.er1
13189 grep -v '^ *+' conftest.er1 >conftest.err
13191 cat conftest.err >&5
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); } && {
13194 test -z "$ac_c_werror_flag" ||
13195 test ! -s conftest.err
13196 } && test -s conftest.$ac_objext; then
13197 ac_header_compiler=yes
13199 echo "$as_me: failed program was:" >&5
13200 sed 's/^/| /' conftest.$ac_ext >&5
13202 ac_header_compiler=no
13205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13206 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13207 echo "${ECHO_T}$ac_header_compiler" >&6; }
13209 # Is the header present?
13210 { echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
13211 echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6; }
13212 cat >conftest.$ac_ext <<_ACEOF
13215 cat confdefs.h >>conftest.$ac_ext
13216 cat >>conftest.$ac_ext <<_ACEOF
13217 /* end confdefs.h. */
13218 #include <CoreAudio/CoreAudio.h>
13220 if { (ac_try="$ac_cpp conftest.$ac_ext"
13221 case "(($ac_try" in
13222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13223 *) ac_try_echo=$ac_try;;
13225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13226 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13228 grep -v '^ *+' conftest.er1 >conftest.err
13230 cat conftest.err >&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); } >/dev/null && {
13233 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13234 test ! -s conftest.err
13236 ac_header_preproc=yes
13238 echo "$as_me: failed program was:" >&5
13239 sed 's/^/| /' conftest.$ac_ext >&5
13241 ac_header_preproc=no
13244 rm -f conftest.err conftest.$ac_ext
13245 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13246 echo "${ECHO_T}$ac_header_preproc" >&6; }
13248 # So? What about this header?
13249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13251 { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
13252 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13253 { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
13254 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
13255 ac_header_preproc=yes
13258 { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
13259 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
13260 { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&5
13261 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&2;}
13262 { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
13263 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
13264 { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&5
13265 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&2;}
13266 { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
13267 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
13268 { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
13269 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
13273 { echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
13274 echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
13275 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
13276 echo $ECHO_N "(cached) $ECHO_C" >&6
13278 ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
13280 { echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
13281 echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
13284 if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
13286 HAVE_CORE_AUDIO=yes
13287 LIBS="$LIBS -framework CoreAudio"
13288 AUDIO_DRIVERS="$AUDIO_DRIVERS osx"
13290 cat >>confdefs.h <<\_ACEOF
13291 #define HAVE_CORE_AUDIO 1
13301 if test "$HAVE_CORE_AUDIO" = 'yes' ; then
13303 AUDIO_OSX_FALSE='#'
13310 if test "x$with_sdl" != "xno"; then
13313 { echo "$as_me:$LINENO: checking for SDL" >&5
13314 echo $ECHO_N "checking for SDL... $ECHO_C" >&6; }
13316 if test -n "$SDL_CFLAGS"; then
13317 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
13318 elif test -n "$PKG_CONFIG"; then
13319 if test -n "$PKG_CONFIG" && \
13320 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl\"") >&5
13321 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); }; then
13325 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl" 2>/dev/null`
13332 if test -n "$SDL_LIBS"; then
13333 pkg_cv_SDL_LIBS="$SDL_LIBS"
13334 elif test -n "$PKG_CONFIG"; then
13335 if test -n "$PKG_CONFIG" && \
13336 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl\"") >&5
13337 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
13339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13340 (exit $ac_status); }; then
13341 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl" 2>/dev/null`
13351 if test $pkg_failed = yes; then
13353 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13354 _pkg_short_errors_supported=yes
13356 _pkg_short_errors_supported=no
13358 if test $_pkg_short_errors_supported = yes; then
13359 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl" 2>&1`
13361 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl" 2>&1`
13363 # Put the nasty error message in config.log where it belongs
13364 echo "$SDL_PKG_ERRORS" >&5
13366 { echo "$as_me:$LINENO: result: no" >&5
13367 echo "${ECHO_T}no" >&6; }
13369 if test "x$with_sdl" = "xyes"; then
13370 { { echo "$as_me:$LINENO: error: \"SDL libraries could not be found (but were required)
13371 See \`config.log' for more details." >&5
13372 echo "$as_me: error: \"SDL libraries could not be found (but were required)
13373 See \`config.log' for more details." >&2;}
13374 { (exit 1); exit 1; }; }
13377 elif test $pkg_failed = untried; then
13379 if test "x$with_sdl" = "xyes"; then
13380 { { echo "$as_me:$LINENO: error: \"SDL libraries could not be found (but were required)
13381 See \`config.log' for more details." >&5
13382 echo "$as_me: error: \"SDL libraries could not be found (but were required)
13383 See \`config.log' for more details." >&2;}
13384 { (exit 1); exit 1; }; }
13388 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
13389 SDL_LIBS=$pkg_cv_SDL_LIBS
13390 { echo "$as_me:$LINENO: result: yes" >&5
13391 echo "${ECHO_T}yes" >&6; }
13394 AUDIO_DRIVERS="$AUDIO_DRIVERS sdl"
13396 cat >>confdefs.h <<\_ACEOF
13405 if test "$HAVE_SDL" = 'yes' ; then
13407 AUDIO_SDL_FALSE='#'
13414 if test "x$with_pulse" != "xno"; then
13417 { echo "$as_me:$LINENO: checking for PULSE" >&5
13418 echo $ECHO_N "checking for PULSE... $ECHO_C" >&6; }
13420 if test -n "$PULSE_CFLAGS"; then
13421 pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
13422 elif test -n "$PKG_CONFIG"; then
13423 if test -n "$PKG_CONFIG" && \
13424 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
13425 ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); }; then
13429 pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse-simple" 2>/dev/null`
13436 if test -n "$PULSE_LIBS"; then
13437 pkg_cv_PULSE_LIBS="$PULSE_LIBS"
13438 elif test -n "$PKG_CONFIG"; then
13439 if test -n "$PKG_CONFIG" && \
13440 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
13441 ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13444 (exit $ac_status); }; then
13445 pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse-simple" 2>/dev/null`
13455 if test $pkg_failed = yes; then
13457 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13458 _pkg_short_errors_supported=yes
13460 _pkg_short_errors_supported=no
13462 if test $_pkg_short_errors_supported = yes; then
13463 PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpulse-simple" 2>&1`
13465 PULSE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpulse-simple" 2>&1`
13467 # Put the nasty error message in config.log where it belongs
13468 echo "$PULSE_PKG_ERRORS" >&5
13470 { echo "$as_me:$LINENO: result: no" >&5
13471 echo "${ECHO_T}no" >&6; }
13473 if test "x$with_pulse" = "xyes"; then
13474 { { echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
13475 See \`config.log' for more details." >&5
13476 echo "$as_me: error: PulseAudio audio package could not be found (but was required)
13477 See \`config.log' for more details." >&2;}
13478 { (exit 1); exit 1; }; }
13481 elif test $pkg_failed = untried; then
13483 if test "x$with_pulse" = "xyes"; then
13484 { { echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
13485 See \`config.log' for more details." >&5
13486 echo "$as_me: error: PulseAudio audio package could not be found (but was required)
13487 See \`config.log' for more details." >&2;}
13488 { (exit 1); exit 1; }; }
13492 PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
13493 PULSE_LIBS=$pkg_cv_PULSE_LIBS
13494 { echo "$as_me:$LINENO: result: yes" >&5
13495 echo "${ECHO_T}yes" >&6; }
13498 AUDIO_DRIVERS="$AUDIO_DRIVERS pulse"
13500 cat >>confdefs.h <<\_ACEOF
13501 #define HAVE_PULSE 1
13509 if test "$HAVE_PULSE" = 'yes' ; then
13511 AUDIO_PULSE_FALSE='#'
13513 AUDIO_PULSE_TRUE='#'
13518 if test "x$with_esd" != "xno"; then
13521 { echo "$as_me:$LINENO: checking for ESOUND" >&5
13522 echo $ECHO_N "checking for ESOUND... $ECHO_C" >&6; }
13524 if test -n "$ESOUND_CFLAGS"; then
13525 pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
13526 elif test -n "$PKG_CONFIG"; then
13527 if test -n "$PKG_CONFIG" && \
13528 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
13529 ($PKG_CONFIG --exists --print-errors "esound") 2>&5
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); }; then
13533 pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
13540 if test -n "$ESOUND_LIBS"; then
13541 pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
13542 elif test -n "$PKG_CONFIG"; then
13543 if test -n "$PKG_CONFIG" && \
13544 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
13545 ($PKG_CONFIG --exists --print-errors "esound") 2>&5
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; then
13549 pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
13559 if test $pkg_failed = yes; then
13561 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13562 _pkg_short_errors_supported=yes
13564 _pkg_short_errors_supported=no
13566 if test $_pkg_short_errors_supported = yes; then
13567 ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "esound" 2>&1`
13569 ESOUND_PKG_ERRORS=`$PKG_CONFIG --print-errors "esound" 2>&1`
13571 # Put the nasty error message in config.log where it belongs
13572 echo "$ESOUND_PKG_ERRORS" >&5
13574 { echo "$as_me:$LINENO: result: no" >&5
13575 echo "${ECHO_T}no" >&6; }
13577 if test "x$with_esd" = "xyes"; then
13578 { { echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
13579 See \`config.log' for more details." >&5
13580 echo "$as_me: error: ESounD audio package could not be found (but was required)
13581 See \`config.log' for more details." >&2;}
13582 { (exit 1); exit 1; }; }
13585 elif test $pkg_failed = untried; then
13587 if test "x$with_esd" = "xyes"; then
13588 { { echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
13589 See \`config.log' for more details." >&5
13590 echo "$as_me: error: ESounD audio package could not be found (but was required)
13591 See \`config.log' for more details." >&2;}
13592 { (exit 1); exit 1; }; }
13596 ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
13597 ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
13598 { echo "$as_me:$LINENO: result: yes" >&5
13599 echo "${ECHO_T}yes" >&6; }
13602 AUDIO_DRIVERS="$AUDIO_DRIVERS esd"
13604 cat >>confdefs.h <<\_ACEOF
13605 #define HAVE_ESOUND 1
13613 if test "$HAVE_ESOUND" = 'yes' ; then
13615 AUDIO_ESOUND_FALSE='#'
13617 AUDIO_ESOUND_TRUE='#'
13618 AUDIO_ESOUND_FALSE=
13624 { echo "$as_me:$LINENO: checking for ALSA" >&5
13625 echo $ECHO_N "checking for ALSA... $ECHO_C" >&6; }
13627 if test -n "$ALSA_CFLAGS"; then
13628 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
13629 elif test -n "$PKG_CONFIG"; then
13630 if test -n "$PKG_CONFIG" && \
13631 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
13632 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); }; then
13636 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
13643 if test -n "$ALSA_LIBS"; then
13644 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
13645 elif test -n "$PKG_CONFIG"; then
13646 if test -n "$PKG_CONFIG" && \
13647 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
13648 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
13650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13651 (exit $ac_status); }; then
13652 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
13662 if test $pkg_failed = yes; then
13664 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13665 _pkg_short_errors_supported=yes
13667 _pkg_short_errors_supported=no
13669 if test $_pkg_short_errors_supported = yes; then
13670 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "alsa" 2>&1`
13672 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "alsa" 2>&1`
13674 # Put the nasty error message in config.log where it belongs
13675 echo "$ALSA_PKG_ERRORS" >&5
13677 { echo "$as_me:$LINENO: result: no" >&5
13678 echo "${ECHO_T}no" >&6; }
13680 elif test $pkg_failed = untried; then
13683 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
13684 ALSA_LIBS=$pkg_cv_ALSA_LIBS
13685 { echo "$as_me:$LINENO: result: yes" >&5
13686 echo "${ECHO_T}yes" >&6; }
13689 AUDIO_DRIVERS="$AUDIO_DRIVERS alsa"
13691 cat >>confdefs.h <<\_ACEOF
13692 #define HAVE_ALSA 1
13698 if test "$HAVE_ALSA" = 'yes' ; then
13700 AUDIO_ALSA_FALSE='#'
13702 AUDIO_ALSA_TRUE='#'
13708 if test "$ANDROID_BUILD" != "yes"; then
13709 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
13710 { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
13711 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
13712 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
13713 echo $ECHO_N "(cached) $ECHO_C" >&6
13715 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
13716 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
13718 # Is the header compilable?
13719 { echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
13720 echo $ECHO_N "checking linux/cdrom.h usability... $ECHO_C" >&6; }
13721 cat >conftest.$ac_ext <<_ACEOF
13724 cat confdefs.h >>conftest.$ac_ext
13725 cat >>conftest.$ac_ext <<_ACEOF
13726 /* end confdefs.h. */
13727 $ac_includes_default
13728 #include <linux/cdrom.h>
13730 rm -f conftest.$ac_objext
13731 if { (ac_try="$ac_compile"
13732 case "(($ac_try" in
13733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13734 *) ac_try_echo=$ac_try;;
13736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13737 (eval "$ac_compile") 2>conftest.er1
13739 grep -v '^ *+' conftest.er1 >conftest.err
13741 cat conftest.err >&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); } && {
13744 test -z "$ac_c_werror_flag" ||
13745 test ! -s conftest.err
13746 } && test -s conftest.$ac_objext; then
13747 ac_header_compiler=yes
13749 echo "$as_me: failed program was:" >&5
13750 sed 's/^/| /' conftest.$ac_ext >&5
13752 ac_header_compiler=no
13755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13756 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13757 echo "${ECHO_T}$ac_header_compiler" >&6; }
13759 # Is the header present?
13760 { echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
13761 echo $ECHO_N "checking linux/cdrom.h presence... $ECHO_C" >&6; }
13762 cat >conftest.$ac_ext <<_ACEOF
13765 cat confdefs.h >>conftest.$ac_ext
13766 cat >>conftest.$ac_ext <<_ACEOF
13767 /* end confdefs.h. */
13768 #include <linux/cdrom.h>
13770 if { (ac_try="$ac_cpp conftest.$ac_ext"
13771 case "(($ac_try" in
13772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13773 *) ac_try_echo=$ac_try;;
13775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13776 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13778 grep -v '^ *+' conftest.er1 >conftest.err
13780 cat conftest.err >&5
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); } >/dev/null && {
13783 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13784 test ! -s conftest.err
13786 ac_header_preproc=yes
13788 echo "$as_me: failed program was:" >&5
13789 sed 's/^/| /' conftest.$ac_ext >&5
13791 ac_header_preproc=no
13794 rm -f conftest.err conftest.$ac_ext
13795 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13796 echo "${ECHO_T}$ac_header_preproc" >&6; }
13798 # So? What about this header?
13799 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13801 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
13802 echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13803 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
13804 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
13805 ac_header_preproc=yes
13808 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
13809 echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
13810 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: check for missing prerequisite headers?" >&5
13811 echo "$as_me: WARNING: linux/cdrom.h: check for missing prerequisite headers?" >&2;}
13812 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
13813 echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
13814 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: section \"Present But Cannot Be Compiled\"" >&5
13815 echo "$as_me: WARNING: linux/cdrom.h: section \"Present But Cannot Be Compiled\"" >&2;}
13816 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
13817 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
13818 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
13819 echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
13823 { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
13824 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
13825 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
13826 echo $ECHO_N "(cached) $ECHO_C" >&6
13828 ac_cv_header_linux_cdrom_h=$ac_header_preproc
13830 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
13831 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
13834 if test $ac_cv_header_linux_cdrom_h = yes; then
13837 { echo "$as_me:$LINENO: checking C99 compliant kernel headers" >&5
13838 echo $ECHO_N "checking C99 compliant kernel headers... $ECHO_C" >&6; }
13839 old_CFLAGS="$CFLAGS"
13840 CFLAGS="$CFLAGS $STDCFLAG"
13841 cat >conftest.$ac_ext <<_ACEOF
13844 cat confdefs.h >>conftest.$ac_ext
13845 cat >>conftest.$ac_ext <<_ACEOF
13846 /* end confdefs.h. */
13847 #include <linux/cdrom.h>
13856 rm -f conftest.$ac_objext
13857 if { (ac_try="$ac_compile"
13858 case "(($ac_try" in
13859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13860 *) ac_try_echo=$ac_try;;
13862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13863 (eval "$ac_compile") 2>conftest.er1
13865 grep -v '^ *+' conftest.er1 >conftest.err
13867 cat conftest.err >&5
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); } && {
13870 test -z "$ac_c_werror_flag" ||
13871 test ! -s conftest.err
13872 } && test -s conftest.$ac_objext; then
13873 { echo "$as_me:$LINENO: result: Yes" >&5
13874 echo "${ECHO_T}Yes" >&6; }
13876 echo "$as_me: failed program was:" >&5
13877 sed 's/^/| /' conftest.$ac_ext >&5
13880 { echo "$as_me:$LINENO: result: No" >&5
13881 echo "${ECHO_T}No" >&6; }
13882 STDCFLAG="-std=gnu99"
13885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13886 CFLAGS="$old_CFLAGS"
13893 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
13894 { echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
13895 echo $ECHO_N "checking for IOKit/IOKitLib.h... $ECHO_C" >&6; }
13896 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
13897 echo $ECHO_N "(cached) $ECHO_C" >&6
13899 { echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
13900 echo "${ECHO_T}$ac_cv_header_IOKit_IOKitLib_h" >&6; }
13902 # Is the header compilable?
13903 { echo "$as_me:$LINENO: checking IOKit/IOKitLib.h usability" >&5
13904 echo $ECHO_N "checking IOKit/IOKitLib.h usability... $ECHO_C" >&6; }
13905 cat >conftest.$ac_ext <<_ACEOF
13908 cat confdefs.h >>conftest.$ac_ext
13909 cat >>conftest.$ac_ext <<_ACEOF
13910 /* end confdefs.h. */
13911 $ac_includes_default
13912 #include <IOKit/IOKitLib.h>
13914 rm -f conftest.$ac_objext
13915 if { (ac_try="$ac_compile"
13916 case "(($ac_try" in
13917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13918 *) ac_try_echo=$ac_try;;
13920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13921 (eval "$ac_compile") 2>conftest.er1
13923 grep -v '^ *+' conftest.er1 >conftest.err
13925 cat conftest.err >&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); } && {
13928 test -z "$ac_c_werror_flag" ||
13929 test ! -s conftest.err
13930 } && test -s conftest.$ac_objext; then
13931 ac_header_compiler=yes
13933 echo "$as_me: failed program was:" >&5
13934 sed 's/^/| /' conftest.$ac_ext >&5
13936 ac_header_compiler=no
13939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13940 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13941 echo "${ECHO_T}$ac_header_compiler" >&6; }
13943 # Is the header present?
13944 { echo "$as_me:$LINENO: checking IOKit/IOKitLib.h presence" >&5
13945 echo $ECHO_N "checking IOKit/IOKitLib.h presence... $ECHO_C" >&6; }
13946 cat >conftest.$ac_ext <<_ACEOF
13949 cat confdefs.h >>conftest.$ac_ext
13950 cat >>conftest.$ac_ext <<_ACEOF
13951 /* end confdefs.h. */
13952 #include <IOKit/IOKitLib.h>
13954 if { (ac_try="$ac_cpp conftest.$ac_ext"
13955 case "(($ac_try" in
13956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13957 *) ac_try_echo=$ac_try;;
13959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13962 grep -v '^ *+' conftest.er1 >conftest.err
13964 cat conftest.err >&5
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); } >/dev/null && {
13967 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13968 test ! -s conftest.err
13970 ac_header_preproc=yes
13972 echo "$as_me: failed program was:" >&5
13973 sed 's/^/| /' conftest.$ac_ext >&5
13975 ac_header_preproc=no
13978 rm -f conftest.err conftest.$ac_ext
13979 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13980 echo "${ECHO_T}$ac_header_preproc" >&6; }
13982 # So? What about this header?
13983 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13985 { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&5
13986 echo "$as_me: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13987 { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&5
13988 echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&2;}
13989 ac_header_preproc=yes
13992 { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&5
13993 echo "$as_me: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&2;}
13994 { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: check for missing prerequisite headers?" >&5
13995 echo "$as_me: WARNING: IOKit/IOKitLib.h: check for missing prerequisite headers?" >&2;}
13996 { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&5
13997 echo "$as_me: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&2;}
13998 { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: section \"Present But Cannot Be Compiled\"" >&5
13999 echo "$as_me: WARNING: IOKit/IOKitLib.h: section \"Present But Cannot Be Compiled\"" >&2;}
14000 { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&5
14001 echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&2;}
14002 { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&5
14003 echo "$as_me: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&2;}
14007 { echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
14008 echo $ECHO_N "checking for IOKit/IOKitLib.h... $ECHO_C" >&6; }
14009 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
14010 echo $ECHO_N "(cached) $ECHO_C" >&6
14012 ac_cv_header_IOKit_IOKitLib_h=$ac_header_preproc
14014 { echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
14015 echo "${ECHO_T}$ac_cv_header_IOKit_IOKitLib_h" >&6; }
14018 if test $ac_cv_header_IOKit_IOKitLib_h = yes; then
14021 LIBS="$LIBS -framework IOKit"
14030 if test "x$CDROM_DRIVER" = "xlinux"; then
14032 CDROM_LINUX_FALSE='#'
14034 CDROM_LINUX_TRUE='#'
14040 if test "x$CDROM_DRIVER" = "xosx"; then
14042 CDROM_OSX_FALSE='#'
14050 if test "x$CDROM_DRIVER" = "x"; then
14052 CDROM_NONE_FALSE='#'
14054 CDROM_NONE_TRUE='#'
14058 if test "x$CDROM_DRIVER" = "xlinux"; then
14060 cat >>confdefs.h <<\_ACEOF
14061 #define HAVE_LINUX_CDROM 1
14066 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
14067 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
14068 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
14069 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
14070 echo $ECHO_N "(cached) $ECHO_C" >&6
14072 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
14073 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
14075 # Is the header compilable?
14076 { echo "$as_me:$LINENO: checking linux/joystick.h usability" >&5
14077 echo $ECHO_N "checking linux/joystick.h usability... $ECHO_C" >&6; }
14078 cat >conftest.$ac_ext <<_ACEOF
14081 cat confdefs.h >>conftest.$ac_ext
14082 cat >>conftest.$ac_ext <<_ACEOF
14083 /* end confdefs.h. */
14084 $ac_includes_default
14085 #include <linux/joystick.h>
14087 rm -f conftest.$ac_objext
14088 if { (ac_try="$ac_compile"
14089 case "(($ac_try" in
14090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14091 *) ac_try_echo=$ac_try;;
14093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14094 (eval "$ac_compile") 2>conftest.er1
14096 grep -v '^ *+' conftest.er1 >conftest.err
14098 cat conftest.err >&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } && {
14101 test -z "$ac_c_werror_flag" ||
14102 test ! -s conftest.err
14103 } && test -s conftest.$ac_objext; then
14104 ac_header_compiler=yes
14106 echo "$as_me: failed program was:" >&5
14107 sed 's/^/| /' conftest.$ac_ext >&5
14109 ac_header_compiler=no
14112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14113 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14114 echo "${ECHO_T}$ac_header_compiler" >&6; }
14116 # Is the header present?
14117 { echo "$as_me:$LINENO: checking linux/joystick.h presence" >&5
14118 echo $ECHO_N "checking linux/joystick.h presence... $ECHO_C" >&6; }
14119 cat >conftest.$ac_ext <<_ACEOF
14122 cat confdefs.h >>conftest.$ac_ext
14123 cat >>conftest.$ac_ext <<_ACEOF
14124 /* end confdefs.h. */
14125 #include <linux/joystick.h>
14127 if { (ac_try="$ac_cpp conftest.$ac_ext"
14128 case "(($ac_try" in
14129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14130 *) ac_try_echo=$ac_try;;
14132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14135 grep -v '^ *+' conftest.er1 >conftest.err
14137 cat conftest.err >&5
14138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139 (exit $ac_status); } >/dev/null && {
14140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14141 test ! -s conftest.err
14143 ac_header_preproc=yes
14145 echo "$as_me: failed program was:" >&5
14146 sed 's/^/| /' conftest.$ac_ext >&5
14148 ac_header_preproc=no
14151 rm -f conftest.err conftest.$ac_ext
14152 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14153 echo "${ECHO_T}$ac_header_preproc" >&6; }
14155 # So? What about this header?
14156 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14158 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&5
14159 echo "$as_me: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14160 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the compiler's result" >&5
14161 echo "$as_me: WARNING: linux/joystick.h: proceeding with the compiler's result" >&2;}
14162 ac_header_preproc=yes
14165 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: present but cannot be compiled" >&5
14166 echo "$as_me: WARNING: linux/joystick.h: present but cannot be compiled" >&2;}
14167 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: check for missing prerequisite headers?" >&5
14168 echo "$as_me: WARNING: linux/joystick.h: check for missing prerequisite headers?" >&2;}
14169 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: see the Autoconf documentation" >&5
14170 echo "$as_me: WARNING: linux/joystick.h: see the Autoconf documentation" >&2;}
14171 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: section \"Present But Cannot Be Compiled\"" >&5
14172 echo "$as_me: WARNING: linux/joystick.h: section \"Present But Cannot Be Compiled\"" >&2;}
14173 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&5
14174 echo "$as_me: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&2;}
14175 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&5
14176 echo "$as_me: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&2;}
14180 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
14181 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
14182 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
14183 echo $ECHO_N "(cached) $ECHO_C" >&6
14185 ac_cv_header_linux_joystick_h=$ac_header_preproc
14187 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
14188 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
14191 if test $ac_cv_header_linux_joystick_h = yes; then
14193 HAVE_LINUX_JOYSTICK_H=yes
14195 cat >>confdefs.h <<\_ACEOF
14196 #define HAVE_LINUX_JOYSTICK 1
14199 INPUT_DRIVERS="$INPUT_DRIVERS joy_linux"
14201 echo "Linux Joystick support not found, building without it."
14207 if test "$HAVE_LINUX_JOYSTICK_H" = "yes"; then
14209 JOY_LINUX_FALSE='#'
14216 if test "x$with_lirc" != "xno"; then
14217 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
14218 { echo "$as_me:$LINENO: checking for lirc/lirc_client.h" >&5
14219 echo $ECHO_N "checking for lirc/lirc_client.h... $ECHO_C" >&6; }
14220 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
14221 echo $ECHO_N "(cached) $ECHO_C" >&6
14223 { echo "$as_me:$LINENO: result: $ac_cv_header_lirc_lirc_client_h" >&5
14224 echo "${ECHO_T}$ac_cv_header_lirc_lirc_client_h" >&6; }
14226 # Is the header compilable?
14227 { echo "$as_me:$LINENO: checking lirc/lirc_client.h usability" >&5
14228 echo $ECHO_N "checking lirc/lirc_client.h usability... $ECHO_C" >&6; }
14229 cat >conftest.$ac_ext <<_ACEOF
14232 cat confdefs.h >>conftest.$ac_ext
14233 cat >>conftest.$ac_ext <<_ACEOF
14234 /* end confdefs.h. */
14235 $ac_includes_default
14236 #include <lirc/lirc_client.h>
14238 rm -f conftest.$ac_objext
14239 if { (ac_try="$ac_compile"
14240 case "(($ac_try" in
14241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14242 *) ac_try_echo=$ac_try;;
14244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14245 (eval "$ac_compile") 2>conftest.er1
14247 grep -v '^ *+' conftest.er1 >conftest.err
14249 cat conftest.err >&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } && {
14252 test -z "$ac_c_werror_flag" ||
14253 test ! -s conftest.err
14254 } && test -s conftest.$ac_objext; then
14255 ac_header_compiler=yes
14257 echo "$as_me: failed program was:" >&5
14258 sed 's/^/| /' conftest.$ac_ext >&5
14260 ac_header_compiler=no
14263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14264 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14265 echo "${ECHO_T}$ac_header_compiler" >&6; }
14267 # Is the header present?
14268 { echo "$as_me:$LINENO: checking lirc/lirc_client.h presence" >&5
14269 echo $ECHO_N "checking lirc/lirc_client.h presence... $ECHO_C" >&6; }
14270 cat >conftest.$ac_ext <<_ACEOF
14273 cat confdefs.h >>conftest.$ac_ext
14274 cat >>conftest.$ac_ext <<_ACEOF
14275 /* end confdefs.h. */
14276 #include <lirc/lirc_client.h>
14278 if { (ac_try="$ac_cpp conftest.$ac_ext"
14279 case "(($ac_try" in
14280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14281 *) ac_try_echo=$ac_try;;
14283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14284 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14286 grep -v '^ *+' conftest.er1 >conftest.err
14288 cat conftest.err >&5
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); } >/dev/null && {
14291 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14292 test ! -s conftest.err
14294 ac_header_preproc=yes
14296 echo "$as_me: failed program was:" >&5
14297 sed 's/^/| /' conftest.$ac_ext >&5
14299 ac_header_preproc=no
14302 rm -f conftest.err conftest.$ac_ext
14303 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14304 echo "${ECHO_T}$ac_header_preproc" >&6; }
14306 # So? What about this header?
14307 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14309 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: accepted by the compiler, rejected by the preprocessor!" >&5
14310 echo "$as_me: WARNING: lirc/lirc_client.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14311 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: proceeding with the compiler's result" >&5
14312 echo "$as_me: WARNING: lirc/lirc_client.h: proceeding with the compiler's result" >&2;}
14313 ac_header_preproc=yes
14316 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: present but cannot be compiled" >&5
14317 echo "$as_me: WARNING: lirc/lirc_client.h: present but cannot be compiled" >&2;}
14318 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: check for missing prerequisite headers?" >&5
14319 echo "$as_me: WARNING: lirc/lirc_client.h: check for missing prerequisite headers?" >&2;}
14320 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: see the Autoconf documentation" >&5
14321 echo "$as_me: WARNING: lirc/lirc_client.h: see the Autoconf documentation" >&2;}
14322 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: section \"Present But Cannot Be Compiled\"" >&5
14323 echo "$as_me: WARNING: lirc/lirc_client.h: section \"Present But Cannot Be Compiled\"" >&2;}
14324 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&5
14325 echo "$as_me: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&2;}
14326 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: in the future, the compiler will take precedence" >&5
14327 echo "$as_me: WARNING: lirc/lirc_client.h: in the future, the compiler will take precedence" >&2;}
14331 { echo "$as_me:$LINENO: checking for lirc/lirc_client.h" >&5
14332 echo $ECHO_N "checking for lirc/lirc_client.h... $ECHO_C" >&6; }
14333 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
14334 echo $ECHO_N "(cached) $ECHO_C" >&6
14336 ac_cv_header_lirc_lirc_client_h=$ac_header_preproc
14338 { echo "$as_me:$LINENO: result: $ac_cv_header_lirc_lirc_client_h" >&5
14339 echo "${ECHO_T}$ac_cv_header_lirc_lirc_client_h" >&6; }
14342 if test $ac_cv_header_lirc_lirc_client_h = yes; then
14344 HAVE_LIRC_CLIENT_H=yes
14346 cat >>confdefs.h <<\_ACEOF
14347 #define HAVE_LIRC 1
14350 INPUT_DRIVERS="$INPUT_DRIVERS lirc"
14353 echo "LIRC support not found, building without it."
14360 if test "$HAVE_LIRC_CLIENT_H" = "yes"; then
14362 INPUT_LIRC_FALSE='#'
14364 INPUT_LIRC_TRUE='#'
14369 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
14370 set dummy sh-elf-gcc; ac_word=$2
14371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14373 if test "${ac_cv_path_SHCC+set}" = set; then
14374 echo $ECHO_N "(cached) $ECHO_C" >&6
14378 ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
14381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14382 for as_dir in $PATH
14385 test -z "$as_dir" && as_dir=.
14386 for ac_exec_ext in '' $ac_executable_extensions; do
14387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14388 ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
14389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14399 SHCC=$ac_cv_path_SHCC
14400 if test -n "$SHCC"; then
14401 { echo "$as_me:$LINENO: result: $SHCC" >&5
14402 echo "${ECHO_T}$SHCC" >&6; }
14404 { echo "$as_me:$LINENO: result: no" >&5
14405 echo "${ECHO_T}no" >&6; }
14409 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
14410 set dummy sh-elf-ld; ac_word=$2
14411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14413 if test "${ac_cv_path_SHLD+set}" = set; then
14414 echo $ECHO_N "(cached) $ECHO_C" >&6
14418 ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
14421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14422 for as_dir in $PATH
14425 test -z "$as_dir" && as_dir=.
14426 for ac_exec_ext in '' $ac_executable_extensions; do
14427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14428 ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
14429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14439 SHLD=$ac_cv_path_SHLD
14440 if test -n "$SHLD"; then
14441 { echo "$as_me:$LINENO: result: $SHLD" >&5
14442 echo "${ECHO_T}$SHLD" >&6; }
14444 { echo "$as_me:$LINENO: result: no" >&5
14445 echo "${ECHO_T}no" >&6; }
14449 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
14450 set dummy sh-elf-objcopy; ac_word=$2
14451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14453 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
14454 echo $ECHO_N "(cached) $ECHO_C" >&6
14458 ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
14461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14462 for as_dir in $PATH
14465 test -z "$as_dir" && as_dir=.
14466 for ac_exec_ext in '' $ac_executable_extensions; do
14467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14468 ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
14469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14479 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
14480 if test -n "$SHOBJCOPY"; then
14481 { echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
14482 echo "${ECHO_T}$SHOBJCOPY" >&6; }
14484 { echo "$as_me:$LINENO: result: no" >&5
14485 echo "${ECHO_T}no" >&6; }
14489 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
14490 set dummy arm-elf-gcc; ac_word=$2
14491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14493 if test "${ac_cv_path_ARMCC+set}" = set; then
14494 echo $ECHO_N "(cached) $ECHO_C" >&6
14498 ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
14501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14502 for as_dir in $PATH
14505 test -z "$as_dir" && as_dir=.
14506 for ac_exec_ext in '' $ac_executable_extensions; do
14507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14508 ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
14509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14519 ARMCC=$ac_cv_path_ARMCC
14520 if test -n "$ARMCC"; then
14521 { echo "$as_me:$LINENO: result: $ARMCC" >&5
14522 echo "${ECHO_T}$ARMCC" >&6; }
14524 { echo "$as_me:$LINENO: result: no" >&5
14525 echo "${ECHO_T}no" >&6; }
14529 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
14530 set dummy arm-elf-ld; ac_word=$2
14531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14533 if test "${ac_cv_path_ARMLD+set}" = set; then
14534 echo $ECHO_N "(cached) $ECHO_C" >&6
14538 ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
14541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14542 for as_dir in $PATH
14545 test -z "$as_dir" && as_dir=.
14546 for ac_exec_ext in '' $ac_executable_extensions; do
14547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14548 ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
14549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14559 ARMLD=$ac_cv_path_ARMLD
14560 if test -n "$ARMLD"; then
14561 { echo "$as_me:$LINENO: result: $ARMLD" >&5
14562 echo "${ECHO_T}$ARMLD" >&6; }
14564 { echo "$as_me:$LINENO: result: no" >&5
14565 echo "${ECHO_T}no" >&6; }
14569 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
14570 set dummy arm-elf-objcopy; ac_word=$2
14571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14573 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
14574 echo $ECHO_N "(cached) $ECHO_C" >&6
14576 case $ARMOBJCOPY in
14578 ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
14581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14582 for as_dir in $PATH
14585 test -z "$as_dir" && as_dir=.
14586 for ac_exec_ext in '' $ac_executable_extensions; do
14587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14588 ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
14589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14599 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
14600 if test -n "$ARMOBJCOPY"; then
14601 { echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
14602 echo "${ECHO_T}$ARMOBJCOPY" >&6; }
14604 { echo "$as_me:$LINENO: result: no" >&5
14605 echo "${ECHO_T}no" >&6; }
14610 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
14612 echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
14616 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
14618 echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
14624 if test "$BUILD_SH" = "yes"; then
14625 BUILD_SYSTEST_TRUE=
14626 BUILD_SYSTEST_FALSE='#'
14628 BUILD_SYSTEST_TRUE='#'
14629 BUILD_SYSTEST_FALSE=
14634 if test "$BUILD_ARM" = "yes"; then
14635 BUILD_ARMTEST_TRUE=
14636 BUILD_ARMTEST_FALSE='#'
14638 BUILD_ARMTEST_TRUE='#'
14639 BUILD_ARMTEST_FALSE=
14643 CFLAGS="$CFLAGS $STDCFLAG"
14645 GETTEXT_PACKAGE=lxdream
14646 LXDREAM_LIBS="$LIBS"
14651 cat >>confdefs.h <<_ACEOF
14652 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14656 ALL_LINGUAS="de es it nl pt_BR"
14659 for ac_header in locale.h
14661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14662 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14663 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14665 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14666 echo $ECHO_N "(cached) $ECHO_C" >&6
14668 ac_res=`eval echo '${'$as_ac_Header'}'`
14669 { echo "$as_me:$LINENO: result: $ac_res" >&5
14670 echo "${ECHO_T}$ac_res" >&6; }
14672 # Is the header compilable?
14673 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14674 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14675 cat >conftest.$ac_ext <<_ACEOF
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14681 $ac_includes_default
14682 #include <$ac_header>
14684 rm -f conftest.$ac_objext
14685 if { (ac_try="$ac_compile"
14686 case "(($ac_try" in
14687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14688 *) ac_try_echo=$ac_try;;
14690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14691 (eval "$ac_compile") 2>conftest.er1
14693 grep -v '^ *+' conftest.er1 >conftest.err
14695 cat conftest.err >&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); } && {
14698 test -z "$ac_c_werror_flag" ||
14699 test ! -s conftest.err
14700 } && test -s conftest.$ac_objext; then
14701 ac_header_compiler=yes
14703 echo "$as_me: failed program was:" >&5
14704 sed 's/^/| /' conftest.$ac_ext >&5
14706 ac_header_compiler=no
14709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14710 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14711 echo "${ECHO_T}$ac_header_compiler" >&6; }
14713 # Is the header present?
14714 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14715 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14716 cat >conftest.$ac_ext <<_ACEOF
14719 cat confdefs.h >>conftest.$ac_ext
14720 cat >>conftest.$ac_ext <<_ACEOF
14721 /* end confdefs.h. */
14722 #include <$ac_header>
14724 if { (ac_try="$ac_cpp conftest.$ac_ext"
14725 case "(($ac_try" in
14726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14727 *) ac_try_echo=$ac_try;;
14729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14730 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14732 grep -v '^ *+' conftest.er1 >conftest.err
14734 cat conftest.err >&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); } >/dev/null && {
14737 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14738 test ! -s conftest.err
14740 ac_header_preproc=yes
14742 echo "$as_me: failed program was:" >&5
14743 sed 's/^/| /' conftest.$ac_ext >&5
14745 ac_header_preproc=no
14748 rm -f conftest.err conftest.$ac_ext
14749 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14750 echo "${ECHO_T}$ac_header_preproc" >&6; }
14752 # So? What about this header?
14753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14755 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14756 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14758 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14759 ac_header_preproc=yes
14762 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14763 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14764 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14765 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14766 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14767 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14768 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14769 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14771 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14772 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14773 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14777 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14779 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14780 echo $ECHO_N "(cached) $ECHO_C" >&6
14782 eval "$as_ac_Header=\$ac_header_preproc"
14784 ac_res=`eval echo '${'$as_ac_Header'}'`
14785 { echo "$as_me:$LINENO: result: $ac_res" >&5
14786 echo "${ECHO_T}$ac_res" >&6; }
14789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14790 cat >>confdefs.h <<_ACEOF
14791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14798 if test $ac_cv_header_locale_h = yes; then
14799 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
14800 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
14801 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
14802 echo $ECHO_N "(cached) $ECHO_C" >&6
14804 cat >conftest.$ac_ext <<_ACEOF
14807 cat confdefs.h >>conftest.$ac_ext
14808 cat >>conftest.$ac_ext <<_ACEOF
14809 /* end confdefs.h. */
14810 #include <locale.h>
14819 rm -f conftest.$ac_objext conftest$ac_exeext
14820 if { (ac_try="$ac_link"
14821 case "(($ac_try" in
14822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14823 *) ac_try_echo=$ac_try;;
14825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14826 (eval "$ac_link") 2>conftest.er1
14828 grep -v '^ *+' conftest.er1 >conftest.err
14830 cat conftest.err >&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); } && {
14833 test -z "$ac_c_werror_flag" ||
14834 test ! -s conftest.err
14835 } && test -s conftest$ac_exeext &&
14836 $as_test_x conftest$ac_exeext; then
14837 am_cv_val_LC_MESSAGES=yes
14839 echo "$as_me: failed program was:" >&5
14840 sed 's/^/| /' conftest.$ac_ext >&5
14842 am_cv_val_LC_MESSAGES=no
14845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14846 conftest$ac_exeext conftest.$ac_ext
14848 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
14849 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
14850 if test $am_cv_val_LC_MESSAGES = yes; then
14852 cat >>confdefs.h <<\_ACEOF
14853 #define HAVE_LC_MESSAGES 1
14861 gt_cv_have_gettext=no
14867 if test "${ac_cv_header_libintl_h+set}" = set; then
14868 { echo "$as_me:$LINENO: checking for libintl.h" >&5
14869 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
14870 if test "${ac_cv_header_libintl_h+set}" = set; then
14871 echo $ECHO_N "(cached) $ECHO_C" >&6
14873 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
14874 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
14876 # Is the header compilable?
14877 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
14878 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
14879 cat >conftest.$ac_ext <<_ACEOF
14882 cat confdefs.h >>conftest.$ac_ext
14883 cat >>conftest.$ac_ext <<_ACEOF
14884 /* end confdefs.h. */
14885 $ac_includes_default
14886 #include <libintl.h>
14888 rm -f conftest.$ac_objext
14889 if { (ac_try="$ac_compile"
14890 case "(($ac_try" in
14891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14892 *) ac_try_echo=$ac_try;;
14894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14895 (eval "$ac_compile") 2>conftest.er1
14897 grep -v '^ *+' conftest.er1 >conftest.err
14899 cat conftest.err >&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); } && {
14902 test -z "$ac_c_werror_flag" ||
14903 test ! -s conftest.err
14904 } && test -s conftest.$ac_objext; then
14905 ac_header_compiler=yes
14907 echo "$as_me: failed program was:" >&5
14908 sed 's/^/| /' conftest.$ac_ext >&5
14910 ac_header_compiler=no
14913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14914 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14915 echo "${ECHO_T}$ac_header_compiler" >&6; }
14917 # Is the header present?
14918 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
14919 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
14920 cat >conftest.$ac_ext <<_ACEOF
14923 cat confdefs.h >>conftest.$ac_ext
14924 cat >>conftest.$ac_ext <<_ACEOF
14925 /* end confdefs.h. */
14926 #include <libintl.h>
14928 if { (ac_try="$ac_cpp conftest.$ac_ext"
14929 case "(($ac_try" in
14930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14931 *) ac_try_echo=$ac_try;;
14933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14934 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14936 grep -v '^ *+' conftest.er1 >conftest.err
14938 cat conftest.err >&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); } >/dev/null && {
14941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14942 test ! -s conftest.err
14944 ac_header_preproc=yes
14946 echo "$as_me: failed program was:" >&5
14947 sed 's/^/| /' conftest.$ac_ext >&5
14949 ac_header_preproc=no
14952 rm -f conftest.err conftest.$ac_ext
14953 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14954 echo "${ECHO_T}$ac_header_preproc" >&6; }
14956 # So? What about this header?
14957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14959 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
14960 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14961 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
14962 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
14963 ac_header_preproc=yes
14966 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
14967 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
14968 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
14969 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
14970 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
14971 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
14972 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
14973 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
14974 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
14975 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
14976 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
14977 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
14981 { echo "$as_me:$LINENO: checking for libintl.h" >&5
14982 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
14983 if test "${ac_cv_header_libintl_h+set}" = set; then
14984 echo $ECHO_N "(cached) $ECHO_C" >&6
14986 ac_cv_header_libintl_h=$ac_header_preproc
14988 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
14989 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
14992 if test $ac_cv_header_libintl_h = yes; then
14993 gt_cv_func_dgettext_libintl="no"
14994 libintl_extra_libs=""
14997 # First check in libc
14999 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
15000 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
15001 if test "${gt_cv_func_ngettext_libc+set}" = set; then
15002 echo $ECHO_N "(cached) $ECHO_C" >&6
15004 cat >conftest.$ac_ext <<_ACEOF
15007 cat confdefs.h >>conftest.$ac_ext
15008 cat >>conftest.$ac_ext <<_ACEOF
15009 /* end confdefs.h. */
15011 #include <libintl.h>
15016 return !ngettext ("","", 1)
15021 rm -f conftest.$ac_objext conftest$ac_exeext
15022 if { (ac_try="$ac_link"
15023 case "(($ac_try" in
15024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15025 *) ac_try_echo=$ac_try;;
15027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15028 (eval "$ac_link") 2>conftest.er1
15030 grep -v '^ *+' conftest.er1 >conftest.err
15032 cat conftest.err >&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); } && {
15035 test -z "$ac_c_werror_flag" ||
15036 test ! -s conftest.err
15037 } && test -s conftest$ac_exeext &&
15038 $as_test_x conftest$ac_exeext; then
15039 gt_cv_func_ngettext_libc=yes
15041 echo "$as_me: failed program was:" >&5
15042 sed 's/^/| /' conftest.$ac_ext >&5
15044 gt_cv_func_ngettext_libc=no
15047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15048 conftest$ac_exeext conftest.$ac_ext
15051 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
15052 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
15054 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15055 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
15056 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
15057 if test "${gt_cv_func_dgettext_libc+set}" = set; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15060 cat >conftest.$ac_ext <<_ACEOF
15063 cat confdefs.h >>conftest.$ac_ext
15064 cat >>conftest.$ac_ext <<_ACEOF
15065 /* end confdefs.h. */
15067 #include <libintl.h>
15072 return !dgettext ("","")
15077 rm -f conftest.$ac_objext conftest$ac_exeext
15078 if { (ac_try="$ac_link"
15079 case "(($ac_try" in
15080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15081 *) ac_try_echo=$ac_try;;
15083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15084 (eval "$ac_link") 2>conftest.er1
15086 grep -v '^ *+' conftest.er1 >conftest.err
15088 cat conftest.err >&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); } && {
15091 test -z "$ac_c_werror_flag" ||
15092 test ! -s conftest.err
15093 } && test -s conftest$ac_exeext &&
15094 $as_test_x conftest$ac_exeext; then
15095 gt_cv_func_dgettext_libc=yes
15097 echo "$as_me: failed program was:" >&5
15098 sed 's/^/| /' conftest.$ac_ext >&5
15100 gt_cv_func_dgettext_libc=no
15103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15104 conftest$ac_exeext conftest.$ac_ext
15107 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
15108 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
15111 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15113 for ac_func in bind_textdomain_codeset
15115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15116 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15118 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15119 echo $ECHO_N "(cached) $ECHO_C" >&6
15121 cat >conftest.$ac_ext <<_ACEOF
15124 cat confdefs.h >>conftest.$ac_ext
15125 cat >>conftest.$ac_ext <<_ACEOF
15126 /* end confdefs.h. */
15127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15129 #define $ac_func innocuous_$ac_func
15131 /* System header to define __stub macros and hopefully few prototypes,
15132 which can conflict with char $ac_func (); below.
15133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15134 <limits.h> exists even on freestanding compilers. */
15137 # include <limits.h>
15139 # include <assert.h>
15144 /* Override any GCC internal prototype to avoid an error.
15145 Use char because int might match the return type of a GCC
15146 builtin and then its argument prototype would still apply. */
15151 /* The GNU C library defines this for functions which it implements
15152 to always fail with ENOSYS. Some functions are actually named
15153 something starting with __ and the normal name is an alias. */
15154 #if defined __stub_$ac_func || defined __stub___$ac_func
15161 return $ac_func ();
15166 rm -f conftest.$ac_objext conftest$ac_exeext
15167 if { (ac_try="$ac_link"
15168 case "(($ac_try" in
15169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15170 *) ac_try_echo=$ac_try;;
15172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15173 (eval "$ac_link") 2>conftest.er1
15175 grep -v '^ *+' conftest.er1 >conftest.err
15177 cat conftest.err >&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); } && {
15180 test -z "$ac_c_werror_flag" ||
15181 test ! -s conftest.err
15182 } && test -s conftest$ac_exeext &&
15183 $as_test_x conftest$ac_exeext; then
15184 eval "$as_ac_var=yes"
15186 echo "$as_me: failed program was:" >&5
15187 sed 's/^/| /' conftest.$ac_ext >&5
15189 eval "$as_ac_var=no"
15192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15193 conftest$ac_exeext conftest.$ac_ext
15195 ac_res=`eval echo '${'$as_ac_var'}'`
15196 { echo "$as_me:$LINENO: result: $ac_res" >&5
15197 echo "${ECHO_T}$ac_res" >&6; }
15198 if test `eval echo '${'$as_ac_var'}'` = yes; then
15199 cat >>confdefs.h <<_ACEOF
15200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15209 # If we don't have everything we want, check in libintl
15211 if test "$gt_cv_func_dgettext_libc" != "yes" \
15212 || test "$gt_cv_func_ngettext_libc" != "yes" \
15213 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15215 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
15216 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
15217 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
15218 echo $ECHO_N "(cached) $ECHO_C" >&6
15220 ac_check_lib_save_LIBS=$LIBS
15221 LIBS="-lintl $LIBS"
15222 cat >conftest.$ac_ext <<_ACEOF
15225 cat confdefs.h >>conftest.$ac_ext
15226 cat >>conftest.$ac_ext <<_ACEOF
15227 /* end confdefs.h. */
15229 /* Override any GCC internal prototype to avoid an error.
15230 Use char because int might match the return type of a GCC
15231 builtin and then its argument prototype would still apply. */
15235 char bindtextdomain ();
15239 return bindtextdomain ();
15244 rm -f conftest.$ac_objext conftest$ac_exeext
15245 if { (ac_try="$ac_link"
15246 case "(($ac_try" in
15247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15248 *) ac_try_echo=$ac_try;;
15250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15251 (eval "$ac_link") 2>conftest.er1
15253 grep -v '^ *+' conftest.er1 >conftest.err
15255 cat conftest.err >&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); } && {
15258 test -z "$ac_c_werror_flag" ||
15259 test ! -s conftest.err
15260 } && test -s conftest$ac_exeext &&
15261 $as_test_x conftest$ac_exeext; then
15262 ac_cv_lib_intl_bindtextdomain=yes
15264 echo "$as_me: failed program was:" >&5
15265 sed 's/^/| /' conftest.$ac_ext >&5
15267 ac_cv_lib_intl_bindtextdomain=no
15270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15271 conftest$ac_exeext conftest.$ac_ext
15272 LIBS=$ac_check_lib_save_LIBS
15274 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
15275 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
15276 if test $ac_cv_lib_intl_bindtextdomain = yes; then
15277 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
15278 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
15279 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
15280 echo $ECHO_N "(cached) $ECHO_C" >&6
15282 ac_check_lib_save_LIBS=$LIBS
15283 LIBS="-lintl $LIBS"
15284 cat >conftest.$ac_ext <<_ACEOF
15287 cat confdefs.h >>conftest.$ac_ext
15288 cat >>conftest.$ac_ext <<_ACEOF
15289 /* end confdefs.h. */
15291 /* Override any GCC internal prototype to avoid an error.
15292 Use char because int might match the return type of a GCC
15293 builtin and then its argument prototype would still apply. */
15301 return ngettext ();
15306 rm -f conftest.$ac_objext conftest$ac_exeext
15307 if { (ac_try="$ac_link"
15308 case "(($ac_try" in
15309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15310 *) ac_try_echo=$ac_try;;
15312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15313 (eval "$ac_link") 2>conftest.er1
15315 grep -v '^ *+' conftest.er1 >conftest.err
15317 cat conftest.err >&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); } && {
15320 test -z "$ac_c_werror_flag" ||
15321 test ! -s conftest.err
15322 } && test -s conftest$ac_exeext &&
15323 $as_test_x conftest$ac_exeext; then
15324 ac_cv_lib_intl_ngettext=yes
15326 echo "$as_me: failed program was:" >&5
15327 sed 's/^/| /' conftest.$ac_ext >&5
15329 ac_cv_lib_intl_ngettext=no
15332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15333 conftest$ac_exeext conftest.$ac_ext
15334 LIBS=$ac_check_lib_save_LIBS
15336 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
15337 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
15338 if test $ac_cv_lib_intl_ngettext = yes; then
15339 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
15340 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
15341 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
15342 echo $ECHO_N "(cached) $ECHO_C" >&6
15344 ac_check_lib_save_LIBS=$LIBS
15345 LIBS="-lintl $LIBS"
15346 cat >conftest.$ac_ext <<_ACEOF
15349 cat confdefs.h >>conftest.$ac_ext
15350 cat >>conftest.$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15353 /* Override any GCC internal prototype to avoid an error.
15354 Use char because int might match the return type of a GCC
15355 builtin and then its argument prototype would still apply. */
15363 return dgettext ();
15368 rm -f conftest.$ac_objext conftest$ac_exeext
15369 if { (ac_try="$ac_link"
15370 case "(($ac_try" in
15371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15372 *) ac_try_echo=$ac_try;;
15374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15375 (eval "$ac_link") 2>conftest.er1
15377 grep -v '^ *+' conftest.er1 >conftest.err
15379 cat conftest.err >&5
15380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15381 (exit $ac_status); } && {
15382 test -z "$ac_c_werror_flag" ||
15383 test ! -s conftest.err
15384 } && test -s conftest$ac_exeext &&
15385 $as_test_x conftest$ac_exeext; then
15386 ac_cv_lib_intl_dgettext=yes
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.$ac_ext >&5
15391 ac_cv_lib_intl_dgettext=no
15394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15395 conftest$ac_exeext conftest.$ac_ext
15396 LIBS=$ac_check_lib_save_LIBS
15398 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
15399 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
15400 if test $ac_cv_lib_intl_dgettext = yes; then
15401 gt_cv_func_dgettext_libintl=yes
15409 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15410 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
15411 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
15412 { echo "$as_me:$LINENO: result: " >&5
15413 echo "${ECHO_T}" >&6; }
15414 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
15415 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
15416 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
15417 echo $ECHO_N "(cached) $ECHO_C" >&6
15419 ac_check_lib_save_LIBS=$LIBS
15420 LIBS="-lintl -liconv $LIBS"
15421 cat >conftest.$ac_ext <<_ACEOF
15424 cat confdefs.h >>conftest.$ac_ext
15425 cat >>conftest.$ac_ext <<_ACEOF
15426 /* end confdefs.h. */
15428 /* Override any GCC internal prototype to avoid an error.
15429 Use char because int might match the return type of a GCC
15430 builtin and then its argument prototype would still apply. */
15438 return ngettext ();
15443 rm -f conftest.$ac_objext conftest$ac_exeext
15444 if { (ac_try="$ac_link"
15445 case "(($ac_try" in
15446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15447 *) ac_try_echo=$ac_try;;
15449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15450 (eval "$ac_link") 2>conftest.er1
15452 grep -v '^ *+' conftest.er1 >conftest.err
15454 cat conftest.err >&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); } && {
15457 test -z "$ac_c_werror_flag" ||
15458 test ! -s conftest.err
15459 } && test -s conftest$ac_exeext &&
15460 $as_test_x conftest$ac_exeext; then
15461 ac_cv_lib_intl_ngettext=yes
15463 echo "$as_me: failed program was:" >&5
15464 sed 's/^/| /' conftest.$ac_ext >&5
15466 ac_cv_lib_intl_ngettext=no
15469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15470 conftest$ac_exeext conftest.$ac_ext
15471 LIBS=$ac_check_lib_save_LIBS
15473 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
15474 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
15475 if test $ac_cv_lib_intl_ngettext = yes; then
15476 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
15477 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
15478 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
15479 echo $ECHO_N "(cached) $ECHO_C" >&6
15481 ac_check_lib_save_LIBS=$LIBS
15482 LIBS="-lintl -liconv $LIBS"
15483 cat >conftest.$ac_ext <<_ACEOF
15486 cat confdefs.h >>conftest.$ac_ext
15487 cat >>conftest.$ac_ext <<_ACEOF
15488 /* end confdefs.h. */
15490 /* Override any GCC internal prototype to avoid an error.
15491 Use char because int might match the return type of a GCC
15492 builtin and then its argument prototype would still apply. */
15500 return dcgettext ();
15505 rm -f conftest.$ac_objext conftest$ac_exeext
15506 if { (ac_try="$ac_link"
15507 case "(($ac_try" in
15508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15509 *) ac_try_echo=$ac_try;;
15511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15512 (eval "$ac_link") 2>conftest.er1
15514 grep -v '^ *+' conftest.er1 >conftest.err
15516 cat conftest.err >&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); } && {
15519 test -z "$ac_c_werror_flag" ||
15520 test ! -s conftest.err
15521 } && test -s conftest$ac_exeext &&
15522 $as_test_x conftest$ac_exeext; then
15523 ac_cv_lib_intl_dcgettext=yes
15525 echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.$ac_ext >&5
15528 ac_cv_lib_intl_dcgettext=no
15531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15532 conftest$ac_exeext conftest.$ac_ext
15533 LIBS=$ac_check_lib_save_LIBS
15535 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
15536 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
15537 if test $ac_cv_lib_intl_dcgettext = yes; then
15538 gt_cv_func_dgettext_libintl=yes
15539 libintl_extra_libs=-liconv
15551 # If we found libintl, then check in it for bind_textdomain_codeset();
15552 # we'll prefer libc if neither have bind_textdomain_codeset(),
15553 # and both have dgettext and ngettext
15555 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15556 glib_save_LIBS="$LIBS"
15557 LIBS="$LIBS -lintl $libintl_extra_libs"
15558 unset ac_cv_func_bind_textdomain_codeset
15560 for ac_func in bind_textdomain_codeset
15562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15563 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15565 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15566 echo $ECHO_N "(cached) $ECHO_C" >&6
15568 cat >conftest.$ac_ext <<_ACEOF
15571 cat confdefs.h >>conftest.$ac_ext
15572 cat >>conftest.$ac_ext <<_ACEOF
15573 /* end confdefs.h. */
15574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15576 #define $ac_func innocuous_$ac_func
15578 /* System header to define __stub macros and hopefully few prototypes,
15579 which can conflict with char $ac_func (); below.
15580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15581 <limits.h> exists even on freestanding compilers. */
15584 # include <limits.h>
15586 # include <assert.h>
15591 /* Override any GCC internal prototype to avoid an error.
15592 Use char because int might match the return type of a GCC
15593 builtin and then its argument prototype would still apply. */
15598 /* The GNU C library defines this for functions which it implements
15599 to always fail with ENOSYS. Some functions are actually named
15600 something starting with __ and the normal name is an alias. */
15601 #if defined __stub_$ac_func || defined __stub___$ac_func
15608 return $ac_func ();
15613 rm -f conftest.$ac_objext conftest$ac_exeext
15614 if { (ac_try="$ac_link"
15615 case "(($ac_try" in
15616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15617 *) ac_try_echo=$ac_try;;
15619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15620 (eval "$ac_link") 2>conftest.er1
15622 grep -v '^ *+' conftest.er1 >conftest.err
15624 cat conftest.err >&5
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); } && {
15627 test -z "$ac_c_werror_flag" ||
15628 test ! -s conftest.err
15629 } && test -s conftest$ac_exeext &&
15630 $as_test_x conftest$ac_exeext; then
15631 eval "$as_ac_var=yes"
15633 echo "$as_me: failed program was:" >&5
15634 sed 's/^/| /' conftest.$ac_ext >&5
15636 eval "$as_ac_var=no"
15639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15640 conftest$ac_exeext conftest.$ac_ext
15642 ac_res=`eval echo '${'$as_ac_var'}'`
15643 { echo "$as_me:$LINENO: result: $ac_res" >&5
15644 echo "${ECHO_T}$ac_res" >&6; }
15645 if test `eval echo '${'$as_ac_var'}'` = yes; then
15646 cat >>confdefs.h <<_ACEOF
15647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15653 LIBS="$glib_save_LIBS"
15655 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15656 gt_cv_func_dgettext_libc=no
15658 if test "$gt_cv_func_dgettext_libc" = "yes" \
15659 && test "$gt_cv_func_ngettext_libc" = "yes"; then
15660 gt_cv_func_dgettext_libintl=no
15666 if test "$gt_cv_func_dgettext_libc" = "yes" \
15667 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
15668 gt_cv_have_gettext=yes
15671 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15672 INTLLIBS="-lintl $libintl_extra_libs"
15675 if test "$gt_cv_have_gettext" = "yes"; then
15677 cat >>confdefs.h <<\_ACEOF
15678 #define HAVE_GETTEXT 1
15681 # Extract the first word of "msgfmt", so it can be a program name with args.
15682 set dummy msgfmt; ac_word=$2
15683 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15685 if test "${ac_cv_path_MSGFMT+set}" = set; then
15686 echo $ECHO_N "(cached) $ECHO_C" >&6
15690 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15693 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15694 for ac_dir in $PATH; do
15695 test -z "$ac_dir" && ac_dir=.
15696 if test -f $ac_dir/$ac_word; then
15697 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15698 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15704 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15708 MSGFMT="$ac_cv_path_MSGFMT"
15709 if test "$MSGFMT" != "no"; then
15710 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
15711 echo "${ECHO_T}$MSGFMT" >&6; }
15713 { echo "$as_me:$LINENO: result: no" >&5
15714 echo "${ECHO_T}no" >&6; }
15716 if test "$MSGFMT" != "no"; then
15717 glib_save_LIBS="$LIBS"
15718 LIBS="$LIBS $INTLLIBS"
15720 for ac_func in dcgettext
15722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15723 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15725 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15726 echo $ECHO_N "(cached) $ECHO_C" >&6
15728 cat >conftest.$ac_ext <<_ACEOF
15731 cat confdefs.h >>conftest.$ac_ext
15732 cat >>conftest.$ac_ext <<_ACEOF
15733 /* end confdefs.h. */
15734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15736 #define $ac_func innocuous_$ac_func
15738 /* System header to define __stub macros and hopefully few prototypes,
15739 which can conflict with char $ac_func (); below.
15740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15741 <limits.h> exists even on freestanding compilers. */
15744 # include <limits.h>
15746 # include <assert.h>
15751 /* Override any GCC internal prototype to avoid an error.
15752 Use char because int might match the return type of a GCC
15753 builtin and then its argument prototype would still apply. */
15758 /* The GNU C library defines this for functions which it implements
15759 to always fail with ENOSYS. Some functions are actually named
15760 something starting with __ and the normal name is an alias. */
15761 #if defined __stub_$ac_func || defined __stub___$ac_func
15768 return $ac_func ();
15773 rm -f conftest.$ac_objext conftest$ac_exeext
15774 if { (ac_try="$ac_link"
15775 case "(($ac_try" in
15776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15777 *) ac_try_echo=$ac_try;;
15779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15780 (eval "$ac_link") 2>conftest.er1
15782 grep -v '^ *+' conftest.er1 >conftest.err
15784 cat conftest.err >&5
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); } && {
15787 test -z "$ac_c_werror_flag" ||
15788 test ! -s conftest.err
15789 } && test -s conftest$ac_exeext &&
15790 $as_test_x conftest$ac_exeext; then
15791 eval "$as_ac_var=yes"
15793 echo "$as_me: failed program was:" >&5
15794 sed 's/^/| /' conftest.$ac_ext >&5
15796 eval "$as_ac_var=no"
15799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15800 conftest$ac_exeext conftest.$ac_ext
15802 ac_res=`eval echo '${'$as_ac_var'}'`
15803 { echo "$as_me:$LINENO: result: $ac_res" >&5
15804 echo "${ECHO_T}$ac_res" >&6; }
15805 if test `eval echo '${'$as_ac_var'}'` = yes; then
15806 cat >>confdefs.h <<_ACEOF
15807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15814 { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
15815 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
15816 cat >conftest.foo <<_ACEOF
15820 "Content-Type: text/plain; charset=UTF-8\n"
15821 "Project-Id-Version: test 1.0\n"
15822 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
15823 "Last-Translator: test <foo@bar.xx>\n"
15824 "Language-Team: C <LL@li.org>\n"
15825 "MIME-Version: 1.0\n"
15826 "Content-Transfer-Encoding: 8bit\n"
15829 if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
15830 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; then
15834 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
15835 echo "${ECHO_T}yes" >&6; }
15836 else { echo "$as_me:$LINENO: result: no" >&5
15837 echo "${ECHO_T}no" >&6; }
15838 echo "$as_me: failed input was:" >&5
15839 sed 's/^/| /' conftest.foo >&5
15842 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15843 set dummy gmsgfmt; ac_word=$2
15844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15846 if test "${ac_cv_path_GMSGFMT+set}" = set; then
15847 echo $ECHO_N "(cached) $ECHO_C" >&6
15851 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15855 for as_dir in $PATH
15858 test -z "$as_dir" && as_dir=.
15859 for ac_exec_ext in '' $ac_executable_extensions; do
15860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15861 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15869 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15873 GMSGFMT=$ac_cv_path_GMSGFMT
15874 if test -n "$GMSGFMT"; then
15875 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
15876 echo "${ECHO_T}$GMSGFMT" >&6; }
15878 { echo "$as_me:$LINENO: result: no" >&5
15879 echo "${ECHO_T}no" >&6; }
15883 # Extract the first word of "xgettext", so it can be a program name with args.
15884 set dummy xgettext; ac_word=$2
15885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15887 if test "${ac_cv_path_XGETTEXT+set}" = set; then
15888 echo $ECHO_N "(cached) $ECHO_C" >&6
15890 case "$XGETTEXT" in
15892 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15895 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15896 for ac_dir in $PATH; do
15897 test -z "$ac_dir" && ac_dir=.
15898 if test -f $ac_dir/$ac_word; then
15899 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15900 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15906 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15910 XGETTEXT="$ac_cv_path_XGETTEXT"
15911 if test "$XGETTEXT" != ":"; then
15912 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
15913 echo "${ECHO_T}$XGETTEXT" >&6; }
15915 { echo "$as_me:$LINENO: result: no" >&5
15916 echo "${ECHO_T}no" >&6; }
15919 cat >conftest.$ac_ext <<_ACEOF
15922 cat confdefs.h >>conftest.$ac_ext
15923 cat >>conftest.$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15929 extern int _nl_msg_cat_cntr;
15930 return _nl_msg_cat_cntr
15935 rm -f conftest.$ac_objext conftest$ac_exeext
15936 if { (ac_try="$ac_link"
15937 case "(($ac_try" in
15938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15939 *) ac_try_echo=$ac_try;;
15941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15942 (eval "$ac_link") 2>conftest.er1
15944 grep -v '^ *+' conftest.er1 >conftest.err
15946 cat conftest.err >&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); } && {
15949 test -z "$ac_c_werror_flag" ||
15950 test ! -s conftest.err
15951 } && test -s conftest$ac_exeext &&
15952 $as_test_x conftest$ac_exeext; then
15956 echo "$as_me: failed program was:" >&5
15957 sed 's/^/| /' conftest.$ac_ext >&5
15961 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
15962 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
15963 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
15964 echo $ECHO_N "(cached) $ECHO_C" >&6
15966 cat >conftest.$ac_ext <<_ACEOF
15969 cat confdefs.h >>conftest.$ac_ext
15970 cat >>conftest.$ac_ext <<_ACEOF
15971 /* end confdefs.h. */
15972 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
15973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15974 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
15976 /* System header to define __stub macros and hopefully few prototypes,
15977 which can conflict with char bind_textdomain_codeset (); below.
15978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15979 <limits.h> exists even on freestanding compilers. */
15982 # include <limits.h>
15984 # include <assert.h>
15987 #undef bind_textdomain_codeset
15989 /* Override any GCC internal prototype to avoid an error.
15990 Use char because int might match the return type of a GCC
15991 builtin and then its argument prototype would still apply. */
15995 char bind_textdomain_codeset ();
15996 /* The GNU C library defines this for functions which it implements
15997 to always fail with ENOSYS. Some functions are actually named
15998 something starting with __ and the normal name is an alias. */
15999 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
16006 return bind_textdomain_codeset ();
16011 rm -f conftest.$ac_objext conftest$ac_exeext
16012 if { (ac_try="$ac_link"
16013 case "(($ac_try" in
16014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16015 *) ac_try_echo=$ac_try;;
16017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16018 (eval "$ac_link") 2>conftest.er1
16020 grep -v '^ *+' conftest.er1 >conftest.err
16022 cat conftest.err >&5
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); } && {
16025 test -z "$ac_c_werror_flag" ||
16026 test ! -s conftest.err
16027 } && test -s conftest$ac_exeext &&
16028 $as_test_x conftest$ac_exeext; then
16029 ac_cv_func_bind_textdomain_codeset=yes
16031 echo "$as_me: failed program was:" >&5
16032 sed 's/^/| /' conftest.$ac_ext >&5
16034 ac_cv_func_bind_textdomain_codeset=no
16037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16038 conftest$ac_exeext conftest.$ac_ext
16040 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
16041 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
16042 if test $ac_cv_func_bind_textdomain_codeset = yes; then
16058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16059 conftest$ac_exeext conftest.$ac_ext
16060 LIBS="$glib_save_LIBS"
16063 gt_cv_have_gettext=no
16071 if test "$gt_cv_have_gettext" = "yes" ; then
16073 cat >>confdefs.h <<\_ACEOF
16074 #define ENABLE_NLS 1
16079 if test "$XGETTEXT" != ":"; then
16080 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
16083 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
16084 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
16089 # We need to process the po/ directory.
16092 ac_config_commands="$ac_config_commands default-1"
16095 for lang in $ALL_LINGUAS; do
16096 GMOFILES="$GMOFILES $lang.gmo"
16097 POFILES="$POFILES $lang.po"
16112 if test "$gt_cv_have_gettext" = "yes"; then
16113 if test "x$ALL_LINGUAS" = "x"; then
16116 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
16117 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
16119 for presentlang in $ALL_LINGUAS; do
16121 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
16122 desiredlanguages="$LINGUAS"
16124 desiredlanguages="$ALL_LINGUAS"
16126 for desiredlang in $desiredlanguages; do
16127 # Use the presentlang catalog if desiredlang is
16128 # a. equal to presentlang, or
16129 # b. a variant of presentlang (because in this case,
16130 # presentlang can be used as a fallback for messages
16131 # which are not translated in the desiredlang catalog).
16132 case "$desiredlang" in
16133 "$presentlang"*) useit=yes;;
16136 if test $useit = yes; then
16137 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
16140 LINGUAS=$NEW_LINGUAS
16141 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
16142 echo "${ECHO_T}$LINGUAS" >&6; }
16145 if test -n "$LINGUAS"; then
16146 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
16151 if test -n "$ac_aux_dir"; then
16152 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
16154 if test -z "$MKINSTALLDIRS"; then
16155 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
16159 test -d po || mkdir po
16160 if test "x$srcdir" != "x."; then
16161 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
16162 posrcprefix="$srcdir/"
16164 posrcprefix="../$srcdir/"
16170 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
16171 < $srcdir/po/POTFILES.in > po/POTFILES
16174 ac_config_files="$ac_config_files Makefile src/Makefile src/tools/Makefile po/Makefile.in test/Makefile Info.plist"
16176 cat >confcache <<\_ACEOF
16177 # This file is a shell script that caches the results of configure
16178 # tests run on this system so they can be shared between configure
16179 # scripts and configure runs, see configure's option --config-cache.
16180 # It is not useful on other systems. If it contains results you don't
16181 # want to keep, you may remove or edit it.
16183 # config.status only pays attention to the cache file if you give it
16184 # the --recheck option to rerun configure.
16186 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16187 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16188 # following values.
16192 # The following way of writing the cache mishandles newlines in values,
16193 # but we know of no workaround that is simple, portable, and efficient.
16194 # So, we kill variables containing newlines.
16195 # Ultrix sh set writes to stderr and can't be redirected directly,
16196 # and sets the high bit in the cache file unless we assign to the vars.
16198 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16199 eval ac_val=\$$ac_var
16203 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16204 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16207 _ | IFS | as_nl) ;; #(
16208 *) $as_unset $ac_var ;;
16214 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16215 *${as_nl}ac_space=\ *)
16216 # `set' does not quote correctly, so add quotes (double-quote
16217 # substitution turns \\\\ into \\, and sed turns \\ into \).
16220 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16223 # `set' quotes correctly as required by POSIX, so do not add quotes.
16224 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16233 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16235 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16237 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16238 if test -w "$cache_file"; then
16239 test "x$cache_file" != "x/dev/null" &&
16240 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16241 echo "$as_me: updating cache $cache_file" >&6;}
16242 cat confcache >$cache_file
16244 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16245 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16250 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16251 # Let make expand exec_prefix.
16252 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16254 DEFS=-DHAVE_CONFIG_H
16258 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16259 # 1. Remove the extension, and $U if already installed.
16260 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16261 ac_i=`echo "$ac_i" | sed "$ac_script"`
16262 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16263 # will be set to the directory where LIBOBJS objects are built.
16264 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16265 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
16267 LIBOBJS=$ac_libobjs
16269 LTLIBOBJS=$ac_ltlibobjs
16272 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16273 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16274 Usually this means the macro was only invoked conditionally." >&5
16275 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16276 Usually this means the macro was only invoked conditionally." >&2;}
16277 { (exit 1); exit 1; }; }
16279 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16280 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16281 Usually this means the macro was only invoked conditionally." >&5
16282 echo "$as_me: error: conditional \"AMDEP\" was never defined.
16283 Usually this means the macro was only invoked conditionally." >&2;}
16284 { (exit 1); exit 1; }; }
16286 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16287 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16288 Usually this means the macro was only invoked conditionally." >&5
16289 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16290 Usually this means the macro was only invoked conditionally." >&2;}
16291 { (exit 1); exit 1; }; }
16293 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16294 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16295 Usually this means the macro was only invoked conditionally." >&5
16296 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16297 Usually this means the macro was only invoked conditionally." >&2;}
16298 { (exit 1); exit 1; }; }
16300 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16301 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16302 Usually this means the macro was only invoked conditionally." >&5
16303 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16304 Usually this means the macro was only invoked conditionally." >&2;}
16305 { (exit 1); exit 1; }; }
16307 if test -z "${am__fastdepCC_FOR_BUILD_TRUE}" && test -z "${am__fastdepCC_FOR_BUILD_FALSE}"; then
16308 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.
16309 Usually this means the macro was only invoked conditionally." >&5
16310 echo "$as_me: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.
16311 Usually this means the macro was only invoked conditionally." >&2;}
16312 { (exit 1); exit 1; }; }
16314 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
16315 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.
16316 Usually this means the macro was only invoked conditionally." >&5
16317 echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.
16318 Usually this means the macro was only invoked conditionally." >&2;}
16319 { (exit 1); exit 1; }; }
16321 if test -z "${GUI_ANDROID_TRUE}" && test -z "${GUI_ANDROID_FALSE}"; then
16322 { { echo "$as_me:$LINENO: error: conditional \"GUI_ANDROID\" was never defined.
16323 Usually this means the macro was only invoked conditionally." >&5
16324 echo "$as_me: error: conditional \"GUI_ANDROID\" was never defined.
16325 Usually this means the macro was only invoked conditionally." >&2;}
16326 { (exit 1); exit 1; }; }
16328 if test -z "${GUI_COCOA_TRUE}" && test -z "${GUI_COCOA_FALSE}"; then
16329 { { echo "$as_me:$LINENO: error: conditional \"GUI_COCOA\" was never defined.
16330 Usually this means the macro was only invoked conditionally." >&5
16331 echo "$as_me: error: conditional \"GUI_COCOA\" was never defined.
16332 Usually this means the macro was only invoked conditionally." >&2;}
16333 { (exit 1); exit 1; }; }
16335 if test -z "${BUILD_PLUGINS_TRUE}" && test -z "${BUILD_PLUGINS_FALSE}"; then
16336 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PLUGINS\" was never defined.
16337 Usually this means the macro was only invoked conditionally." >&5
16338 echo "$as_me: error: conditional \"BUILD_PLUGINS\" was never defined.
16339 Usually this means the macro was only invoked conditionally." >&2;}
16340 { (exit 1); exit 1; }; }
16342 if test -z "${GUI_GTK_TRUE}" && test -z "${GUI_GTK_FALSE}"; then
16343 { { echo "$as_me:$LINENO: error: conditional \"GUI_GTK\" was never defined.
16344 Usually this means the macro was only invoked conditionally." >&5
16345 echo "$as_me: error: conditional \"GUI_GTK\" was never defined.
16346 Usually this means the macro was only invoked conditionally." >&2;}
16347 { (exit 1); exit 1; }; }
16349 if test -z "${VIDEO_OSMESA_TRUE}" && test -z "${VIDEO_OSMESA_FALSE}"; then
16350 { { echo "$as_me:$LINENO: error: conditional \"VIDEO_OSMESA\" was never defined.
16351 Usually this means the macro was only invoked conditionally." >&5
16352 echo "$as_me: error: conditional \"VIDEO_OSMESA\" was never defined.
16353 Usually this means the macro was only invoked conditionally." >&2;}
16354 { (exit 1); exit 1; }; }
16356 if test -z "${VIDEO_GLX_TRUE}" && test -z "${VIDEO_GLX_FALSE}"; then
16357 { { echo "$as_me:$LINENO: error: conditional \"VIDEO_GLX\" was never defined.
16358 Usually this means the macro was only invoked conditionally." >&5
16359 echo "$as_me: error: conditional \"VIDEO_GLX\" was never defined.
16360 Usually this means the macro was only invoked conditionally." >&2;}
16361 { (exit 1); exit 1; }; }
16363 if test -z "${VIDEO_NSGL_TRUE}" && test -z "${VIDEO_NSGL_FALSE}"; then
16364 { { echo "$as_me:$LINENO: error: conditional \"VIDEO_NSGL\" was never defined.
16365 Usually this means the macro was only invoked conditionally." >&5
16366 echo "$as_me: error: conditional \"VIDEO_NSGL\" was never defined.
16367 Usually this means the macro was only invoked conditionally." >&2;}
16368 { (exit 1); exit 1; }; }
16370 if test -z "${VIDEO_EGL_TRUE}" && test -z "${VIDEO_EGL_FALSE}"; then
16371 { { echo "$as_me:$LINENO: error: conditional \"VIDEO_EGL\" was never defined.
16372 Usually this means the macro was only invoked conditionally." >&5
16373 echo "$as_me: error: conditional \"VIDEO_EGL\" was never defined.
16374 Usually this means the macro was only invoked conditionally." >&2;}
16375 { (exit 1); exit 1; }; }
16377 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
16378 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
16379 Usually this means the macro was only invoked conditionally." >&5
16380 echo "$as_me: error: conditional \"BUILD_SH4X86\" was never defined.
16381 Usually this means the macro was only invoked conditionally." >&2;}
16382 { (exit 1); exit 1; }; }
16384 if test -z "${AUDIO_OSX_TRUE}" && test -z "${AUDIO_OSX_FALSE}"; then
16385 { { echo "$as_me:$LINENO: error: conditional \"AUDIO_OSX\" was never defined.
16386 Usually this means the macro was only invoked conditionally." >&5
16387 echo "$as_me: error: conditional \"AUDIO_OSX\" was never defined.
16388 Usually this means the macro was only invoked conditionally." >&2;}
16389 { (exit 1); exit 1; }; }
16391 if test -z "${AUDIO_SDL_TRUE}" && test -z "${AUDIO_SDL_FALSE}"; then
16392 { { echo "$as_me:$LINENO: error: conditional \"AUDIO_SDL\" was never defined.
16393 Usually this means the macro was only invoked conditionally." >&5
16394 echo "$as_me: error: conditional \"AUDIO_SDL\" was never defined.
16395 Usually this means the macro was only invoked conditionally." >&2;}
16396 { (exit 1); exit 1; }; }
16398 if test -z "${AUDIO_PULSE_TRUE}" && test -z "${AUDIO_PULSE_FALSE}"; then
16399 { { echo "$as_me:$LINENO: error: conditional \"AUDIO_PULSE\" was never defined.
16400 Usually this means the macro was only invoked conditionally." >&5
16401 echo "$as_me: error: conditional \"AUDIO_PULSE\" was never defined.
16402 Usually this means the macro was only invoked conditionally." >&2;}
16403 { (exit 1); exit 1; }; }
16405 if test -z "${AUDIO_ESOUND_TRUE}" && test -z "${AUDIO_ESOUND_FALSE}"; then
16406 { { echo "$as_me:$LINENO: error: conditional \"AUDIO_ESOUND\" was never defined.
16407 Usually this means the macro was only invoked conditionally." >&5
16408 echo "$as_me: error: conditional \"AUDIO_ESOUND\" was never defined.
16409 Usually this means the macro was only invoked conditionally." >&2;}
16410 { (exit 1); exit 1; }; }
16412 if test -z "${AUDIO_ALSA_TRUE}" && test -z "${AUDIO_ALSA_FALSE}"; then
16413 { { echo "$as_me:$LINENO: error: conditional \"AUDIO_ALSA\" was never defined.
16414 Usually this means the macro was only invoked conditionally." >&5
16415 echo "$as_me: error: conditional \"AUDIO_ALSA\" was never defined.
16416 Usually this means the macro was only invoked conditionally." >&2;}
16417 { (exit 1); exit 1; }; }
16419 if test -z "${CDROM_LINUX_TRUE}" && test -z "${CDROM_LINUX_FALSE}"; then
16420 { { echo "$as_me:$LINENO: error: conditional \"CDROM_LINUX\" was never defined.
16421 Usually this means the macro was only invoked conditionally." >&5
16422 echo "$as_me: error: conditional \"CDROM_LINUX\" was never defined.
16423 Usually this means the macro was only invoked conditionally." >&2;}
16424 { (exit 1); exit 1; }; }
16426 if test -z "${CDROM_OSX_TRUE}" && test -z "${CDROM_OSX_FALSE}"; then
16427 { { echo "$as_me:$LINENO: error: conditional \"CDROM_OSX\" was never defined.
16428 Usually this means the macro was only invoked conditionally." >&5
16429 echo "$as_me: error: conditional \"CDROM_OSX\" was never defined.
16430 Usually this means the macro was only invoked conditionally." >&2;}
16431 { (exit 1); exit 1; }; }
16433 if test -z "${CDROM_NONE_TRUE}" && test -z "${CDROM_NONE_FALSE}"; then
16434 { { echo "$as_me:$LINENO: error: conditional \"CDROM_NONE\" was never defined.
16435 Usually this means the macro was only invoked conditionally." >&5
16436 echo "$as_me: error: conditional \"CDROM_NONE\" was never defined.
16437 Usually this means the macro was only invoked conditionally." >&2;}
16438 { (exit 1); exit 1; }; }
16440 if test -z "${JOY_LINUX_TRUE}" && test -z "${JOY_LINUX_FALSE}"; then
16441 { { echo "$as_me:$LINENO: error: conditional \"JOY_LINUX\" was never defined.
16442 Usually this means the macro was only invoked conditionally." >&5
16443 echo "$as_me: error: conditional \"JOY_LINUX\" was never defined.
16444 Usually this means the macro was only invoked conditionally." >&2;}
16445 { (exit 1); exit 1; }; }
16447 if test -z "${INPUT_LIRC_TRUE}" && test -z "${INPUT_LIRC_FALSE}"; then
16448 { { echo "$as_me:$LINENO: error: conditional \"INPUT_LIRC\" was never defined.
16449 Usually this means the macro was only invoked conditionally." >&5
16450 echo "$as_me: error: conditional \"INPUT_LIRC\" was never defined.
16451 Usually this means the macro was only invoked conditionally." >&2;}
16452 { (exit 1); exit 1; }; }
16454 if test -z "${BUILD_SYSTEST_TRUE}" && test -z "${BUILD_SYSTEST_FALSE}"; then
16455 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYSTEST\" was never defined.
16456 Usually this means the macro was only invoked conditionally." >&5
16457 echo "$as_me: error: conditional \"BUILD_SYSTEST\" was never defined.
16458 Usually this means the macro was only invoked conditionally." >&2;}
16459 { (exit 1); exit 1; }; }
16461 if test -z "${BUILD_ARMTEST_TRUE}" && test -z "${BUILD_ARMTEST_FALSE}"; then
16462 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ARMTEST\" was never defined.
16463 Usually this means the macro was only invoked conditionally." >&5
16464 echo "$as_me: error: conditional \"BUILD_ARMTEST\" was never defined.
16465 Usually this means the macro was only invoked conditionally." >&2;}
16466 { (exit 1); exit 1; }; }
16469 : ${CONFIG_STATUS=./config.status}
16470 ac_clean_files_save=$ac_clean_files
16471 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16472 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16473 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16474 cat >$CONFIG_STATUS <<_ACEOF
16476 # Generated by $as_me.
16477 # Run this file to recreate the current configuration.
16478 # Compiler output produced by configure, useful for debugging
16479 # configure, is in config.log if it exists.
16482 ac_cs_recheck=false
16484 SHELL=\${CONFIG_SHELL-$SHELL}
16487 cat >>$CONFIG_STATUS <<\_ACEOF
16488 ## --------------------- ##
16489 ## M4sh Initialization. ##
16490 ## --------------------- ##
16492 # Be more Bourne compatible
16493 DUALCASE=1; export DUALCASE # for MKS sh
16494 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16497 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16498 # is contrary to our usage. Disable this feature.
16499 alias -g '${1+"$@"}'='"$@"'
16500 setopt NO_GLOB_SUBST
16502 case `(set -o) 2>/dev/null` in
16503 *posix*) set -o posix ;;
16512 # Avoid depending upon Character Ranges.
16513 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16514 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16515 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16516 as_cr_digits='0123456789'
16517 as_cr_alnum=$as_cr_Letters$as_cr_digits
16519 # The user is always right.
16520 if test "${PATH_SEPARATOR+set}" != set; then
16521 echo "#! /bin/sh" >conf$$.sh
16522 echo "exit 0" >>conf$$.sh
16524 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16532 # Support unset when possible.
16533 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
16541 # We need space, tab and new line, in precisely that order. Quoting is
16542 # there to prevent editors from complaining about space-tab.
16543 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16544 # splitting by setting IFS to empty value.)
16549 # Find who we are. Look in the path if we contain no directory separator.
16551 *[\\/]* ) as_myself=$0 ;;
16552 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16553 for as_dir in $PATH
16556 test -z "$as_dir" && as_dir=.
16557 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16563 # We did not find ourselves, most probably we were run as `sh COMMAND'
16564 # in which case we are not to be found in the path.
16565 if test "x$as_myself" = x; then
16568 if test ! -f "$as_myself"; then
16569 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16570 { (exit 1); exit 1; }
16573 # Work around bugs in pre-3.0 UWIN ksh.
16574 for as_var in ENV MAIL MAILPATH
16575 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
16583 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16584 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16585 LC_TELEPHONE LC_TIME
16587 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
16588 eval $as_var=C; export $as_var
16590 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
16594 # Required to use basename.
16595 if expr a : '\(a\)' >/dev/null 2>&1 &&
16596 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16602 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16603 as_basename=basename
16609 # Name of the executable.
16610 as_me=`$as_basename -- "$0" ||
16611 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16612 X"$0" : 'X\(//\)$' \| \
16613 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16615 sed '/^.*\/\([^/][^/]*\)\/*$/{
16634 as_lineno_1=$LINENO
16635 as_lineno_2=$LINENO
16636 test "x$as_lineno_1" != "x$as_lineno_2" &&
16637 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
16639 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16640 # uniformly replaced by the line number. The first 'sed' inserts a
16641 # line-number line after each line using $LINENO; the second 'sed'
16642 # does the real work. The second script uses 'N' to pair each
16643 # line-number line with the line containing $LINENO, and appends
16644 # trailing '-' during substitution so that $LINENO is not a special
16645 # case at line end.
16646 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16647 # scripts with optimization help from Paolo Bonzini. Blame Lee
16648 # E. McMahon (1931-1989) for sed's syntax. :-)
16660 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
16663 ' >$as_me.lineno &&
16664 chmod +x "$as_me.lineno" ||
16665 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
16666 { (exit 1); exit 1; }; }
16668 # Don't try to exec as it changes $[0], causing all sort of problems
16669 # (the dirname of $[0] is not the place where we might find the
16670 # original and so on. Autoconf is especially sensitive to this).
16671 . "./$as_me.lineno"
16672 # Exit status is that of the last command.
16677 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16683 ECHO_C= ECHO_N= ECHO_T=
16684 case `echo -n x` in
16686 case `echo 'x\c'` in
16687 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16694 if expr a : '\(a\)' >/dev/null 2>&1 &&
16695 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16701 rm -f conf$$ conf$$.exe conf$$.file
16702 if test -d conf$$.dir; then
16703 rm -f conf$$.dir/conf$$.file
16709 if ln -s conf$$.file conf$$ 2>/dev/null; then
16711 # ... but there are two gotchas:
16712 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16713 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16714 # In both cases, we have to default to `cp -p'.
16715 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16717 elif ln conf$$.file conf$$ 2>/dev/null; then
16722 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16723 rmdir conf$$.dir 2>/dev/null
16725 if mkdir -p . 2>/dev/null; then
16728 test -d ./-p && rmdir ./-p
16732 if test -x / >/dev/null 2>&1; then
16733 as_test_x='test -x'
16735 if ls -dL / >/dev/null 2>&1; then
16742 if test -d "$1"; then
16748 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
16749 ???[sx]*):;;*)false;;esac;fi
16753 as_executable_p=$as_test_x
16755 # Sed expression to map a string onto a valid CPP name.
16756 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16758 # Sed expression to map a string onto a valid variable name.
16759 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16764 # Save the log message, to keep $[0] and so on meaningful, and to
16765 # report actual input values of CONFIG_FILES etc. instead of their
16766 # values after options handling.
16768 This file was extended by $as_me, which was
16769 generated by GNU Autoconf 2.61. Invocation command line was
16771 CONFIG_FILES = $CONFIG_FILES
16772 CONFIG_HEADERS = $CONFIG_HEADERS
16773 CONFIG_LINKS = $CONFIG_LINKS
16774 CONFIG_COMMANDS = $CONFIG_COMMANDS
16777 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16782 cat >>$CONFIG_STATUS <<_ACEOF
16783 # Files that config.status was made for.
16784 config_files="$ac_config_files"
16785 config_headers="$ac_config_headers"
16786 config_commands="$ac_config_commands"
16790 cat >>$CONFIG_STATUS <<\_ACEOF
16792 \`$as_me' instantiates files from templates according to the
16793 current configuration.
16795 Usage: $0 [OPTIONS] [FILE]...
16797 -h, --help print this help, then exit
16798 -V, --version print version number and configuration settings, then exit
16799 -q, --quiet do not print progress messages
16800 -d, --debug don't remove temporary files
16801 --recheck update $as_me by reconfiguring in the same conditions
16802 --file=FILE[:TEMPLATE]
16803 instantiate the configuration file FILE
16804 --header=FILE[:TEMPLATE]
16805 instantiate the configuration header FILE
16807 Configuration files:
16810 Configuration headers:
16813 Configuration commands:
16816 Report bugs to <bug-autoconf@gnu.org>."
16819 cat >>$CONFIG_STATUS <<_ACEOF
16822 configured by $0, generated by GNU Autoconf 2.61,
16823 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16825 Copyright (C) 2006 Free Software Foundation, Inc.
16826 This config.status script is free software; the Free Software Foundation
16827 gives unlimited permission to copy, distribute and modify it."
16834 cat >>$CONFIG_STATUS <<\_ACEOF
16835 # If no file are specified by the user, then we need to provide default
16836 # value. By we need to know if files were specified by the user.
16842 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16843 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16854 # Handling of the options.
16855 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16857 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16858 echo "$ac_cs_version"; exit ;;
16859 --debug | --debu | --deb | --de | --d | -d )
16861 --file | --fil | --fi | --f )
16863 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
16864 ac_need_defaults=false;;
16865 --header | --heade | --head | --hea )
16867 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
16868 ac_need_defaults=false;;
16870 # Conflict between --help and --header
16871 { echo "$as_me: error: ambiguous option: $1
16872 Try \`$0 --help' for more information." >&2
16873 { (exit 1); exit 1; }; };;
16874 --help | --hel | -h )
16875 echo "$ac_cs_usage"; exit ;;
16876 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16877 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16880 # This is an error.
16881 -*) { echo "$as_me: error: unrecognized option: $1
16882 Try \`$0 --help' for more information." >&2
16883 { (exit 1); exit 1; }; } ;;
16885 *) ac_config_targets="$ac_config_targets $1"
16886 ac_need_defaults=false ;;
16892 ac_configure_extra_args=
16894 if $ac_cs_silent; then
16896 ac_configure_extra_args="$ac_configure_extra_args --silent"
16900 cat >>$CONFIG_STATUS <<_ACEOF
16901 if \$ac_cs_recheck; then
16902 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16903 CONFIG_SHELL=$SHELL
16904 export CONFIG_SHELL
16905 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16909 cat >>$CONFIG_STATUS <<\_ACEOF
16913 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16914 ## Running $as_me. ##
16920 cat >>$CONFIG_STATUS <<_ACEOF
16924 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16929 cat >>$CONFIG_STATUS <<\_ACEOF
16931 # Handling of arguments.
16932 for ac_config_target in $ac_config_targets
16934 case $ac_config_target in
16935 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16936 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16937 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16938 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16939 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16940 "src/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;
16941 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16942 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16943 "Info.plist") CONFIG_FILES="$CONFIG_FILES Info.plist" ;;
16945 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16946 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16947 { (exit 1); exit 1; }; };;
16952 # If the user did not use the arguments to specify the items to instantiate,
16953 # then the envvar interface is used. Set only those that are not.
16954 # We use the long form for the default assignment because of an extremely
16955 # bizarre bug on SunOS 4.1.3.
16956 if $ac_need_defaults; then
16957 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16958 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16959 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16962 # Have a temporary directory for convenience. Make it in the build tree
16963 # simply because there is no reason against having it here, and in addition,
16964 # creating and moving files from /tmp can sometimes cause problems.
16965 # Hook for its removal unless debugging.
16966 # Note that there is a small window in which the directory will not be cleaned:
16967 # after its creation but before its name has been assigned to `$tmp'.
16971 trap 'exit_status=$?
16972 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16974 trap '{ (exit 1); exit 1; }' 1 2 13 15
16976 # Create a (secure) tmp directory for tmp files.
16979 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16980 test -n "$tmp" && test -d "$tmp"
16983 tmp=./conf$$-$RANDOM
16984 (umask 077 && mkdir "$tmp")
16987 echo "$me: cannot create a temporary directory in ." >&2
16988 { (exit 1); exit 1; }
16992 # Set up the sed scripts for CONFIG_FILES section.
16995 # No need to generate the scripts if there are no CONFIG_FILES.
16996 # This happens for instance when ./config.status config.h
16997 if test -n "$CONFIG_FILES"; then
17004 for ac_last_try in false false false false false :; do
17005 cat >conf$$subs.sed <<_ACEOF
17006 SHELL!$SHELL$ac_delim
17007 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
17008 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
17009 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
17010 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
17011 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
17012 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
17013 exec_prefix!$exec_prefix$ac_delim
17014 prefix!$prefix$ac_delim
17015 program_transform_name!$program_transform_name$ac_delim
17016 bindir!$bindir$ac_delim
17017 sbindir!$sbindir$ac_delim
17018 libexecdir!$libexecdir$ac_delim
17019 datarootdir!$datarootdir$ac_delim
17020 datadir!$datadir$ac_delim
17021 sysconfdir!$sysconfdir$ac_delim
17022 sharedstatedir!$sharedstatedir$ac_delim
17023 localstatedir!$localstatedir$ac_delim
17024 includedir!$includedir$ac_delim
17025 oldincludedir!$oldincludedir$ac_delim
17026 docdir!$docdir$ac_delim
17027 infodir!$infodir$ac_delim
17028 htmldir!$htmldir$ac_delim
17029 dvidir!$dvidir$ac_delim
17030 pdfdir!$pdfdir$ac_delim
17031 psdir!$psdir$ac_delim
17032 libdir!$libdir$ac_delim
17033 localedir!$localedir$ac_delim
17034 mandir!$mandir$ac_delim
17035 DEFS!$DEFS$ac_delim
17036 ECHO_C!$ECHO_C$ac_delim
17037 ECHO_N!$ECHO_N$ac_delim
17038 ECHO_T!$ECHO_T$ac_delim
17039 LIBS!$LIBS$ac_delim
17040 build_alias!$build_alias$ac_delim
17041 host_alias!$host_alias$ac_delim
17042 target_alias!$target_alias$ac_delim
17043 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
17044 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
17045 INSTALL_DATA!$INSTALL_DATA$ac_delim
17046 CYGPATH_W!$CYGPATH_W$ac_delim
17047 PACKAGE!$PACKAGE$ac_delim
17048 VERSION!$VERSION$ac_delim
17049 ACLOCAL!$ACLOCAL$ac_delim
17050 AUTOCONF!$AUTOCONF$ac_delim
17051 AUTOMAKE!$AUTOMAKE$ac_delim
17052 AUTOHEADER!$AUTOHEADER$ac_delim
17053 MAKEINFO!$MAKEINFO$ac_delim
17054 install_sh!$install_sh$ac_delim
17055 STRIP!$STRIP$ac_delim
17056 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
17057 mkdir_p!$mkdir_p$ac_delim
17059 SET_MAKE!$SET_MAKE$ac_delim
17060 am__leading_dot!$am__leading_dot$ac_delim
17061 AMTAR!$AMTAR$ac_delim
17062 am__tar!$am__tar$ac_delim
17063 am__untar!$am__untar$ac_delim
17064 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
17065 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
17066 MAINT!$MAINT$ac_delim
17067 build!$build$ac_delim
17068 build_cpu!$build_cpu$ac_delim
17069 build_vendor!$build_vendor$ac_delim
17070 build_os!$build_os$ac_delim
17071 host!$host$ac_delim
17072 host_cpu!$host_cpu$ac_delim
17073 host_vendor!$host_vendor$ac_delim
17074 host_os!$host_os$ac_delim
17076 CFLAGS!$CFLAGS$ac_delim
17077 LDFLAGS!$LDFLAGS$ac_delim
17078 CPPFLAGS!$CPPFLAGS$ac_delim
17079 ac_ct_CC!$ac_ct_CC$ac_delim
17080 EXEEXT!$EXEEXT$ac_delim
17081 OBJEXT!$OBJEXT$ac_delim
17082 DEPDIR!$DEPDIR$ac_delim
17083 am__include!$am__include$ac_delim
17084 am__quote!$am__quote$ac_delim
17085 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
17086 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
17087 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
17088 CCDEPMODE!$CCDEPMODE$ac_delim
17089 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
17090 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
17093 CFLAGS!$CFLAGS$ac_delim
17094 CPPFLAGS!$CPPFLAGS$ac_delim
17095 CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
17096 ac_ct_CC_FOR_BUILD!$ac_ct_CC_FOR_BUILD$ac_delim
17097 CC_FOR_BUILDDEPMODE!$CC_FOR_BUILDDEPMODE$ac_delim
17098 am__fastdepCC_FOR_BUILD_TRUE!$am__fastdepCC_FOR_BUILD_TRUE$ac_delim
17099 am__fastdepCC_FOR_BUILD_FALSE!$am__fastdepCC_FOR_BUILD_FALSE$ac_delim
17101 CPPFLAGS!$CPPFLAGS$ac_delim
17102 CPP_FOR_BUILD!$CPP_FOR_BUILD$ac_delim
17105 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
17107 elif $ac_last_try; then
17108 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17109 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17110 { (exit 1); exit 1; }; }
17112 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17116 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
17117 if test -n "$ac_eof"; then
17118 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
17119 ac_eof=`expr $ac_eof + 1`
17122 cat >>$CONFIG_STATUS <<_ACEOF
17123 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
17124 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17127 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
17128 s/^/s,@/; s/!/@,|#_!!_#|/
17131 s/'"$ac_delim"'$/,g/; t
17133 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
17134 ' >>$CONFIG_STATUS <conf$$subs.sed
17135 rm -f conf$$subs.sed
17136 cat >>$CONFIG_STATUS <<_ACEOF
17142 for ac_last_try in false false false false false :; do
17143 cat >conf$$subs.sed <<_ACEOF
17144 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
17145 BUILD_OBJEXT!$BUILD_OBJEXT$ac_delim
17146 CFLAGS_FOR_BUILD!$CFLAGS_FOR_BUILD$ac_delim
17147 CPPFLAGS_FOR_BUILD!$CPPFLAGS_FOR_BUILD$ac_delim
17148 OBJC!$OBJC$ac_delim
17149 OBJCFLAGS!$OBJCFLAGS$ac_delim
17150 ac_ct_OBJC!$ac_ct_OBJC$ac_delim
17152 CCAS!$CCAS$ac_delim
17153 CCASFLAGS!$CCASFLAGS$ac_delim
17154 RANLIB!$RANLIB$ac_delim
17155 GREP!$GREP$ac_delim
17156 EGREP!$EGREP$ac_delim
17157 OBJCDEPMODE!$OBJCDEPMODE$ac_delim
17158 am__fastdepOBJC_TRUE!$am__fastdepOBJC_TRUE$ac_delim
17159 am__fastdepOBJC_FALSE!$am__fastdepOBJC_FALSE$ac_delim
17160 POD2MAN!$POD2MAN$ac_delim
17161 POD2HTML!$POD2HTML$ac_delim
17163 ANDROID_ABI!$ANDROID_ABI$ac_delim
17164 ANDROID_SDK_HOME!$ANDROID_SDK_HOME$ac_delim
17165 ANDROID_NDK_HOME!$ANDROID_NDK_HOME$ac_delim
17166 ANDROID_SDK_VERSION!$ANDROID_SDK_VERSION$ac_delim
17167 ANDROID_NDK_VERSION!$ANDROID_NDK_VERSION$ac_delim
17168 ANDROID_GDBSERVER!$ANDROID_GDBSERVER$ac_delim
17169 GUI_ANDROID_TRUE!$GUI_ANDROID_TRUE$ac_delim
17170 GUI_ANDROID_FALSE!$GUI_ANDROID_FALSE$ac_delim
17171 GUI_COCOA_TRUE!$GUI_COCOA_TRUE$ac_delim
17172 GUI_COCOA_FALSE!$GUI_COCOA_FALSE$ac_delim
17173 SOEXT!$SOEXT$ac_delim
17174 PLUGINCFLAGS!$PLUGINCFLAGS$ac_delim
17175 PLUGINLDFLAGS!$PLUGINLDFLAGS$ac_delim
17176 LXDREAMLDFLAGS!$LXDREAMLDFLAGS$ac_delim
17177 BUILD_PLUGINS_TRUE!$BUILD_PLUGINS_TRUE$ac_delim
17178 BUILD_PLUGINS_FALSE!$BUILD_PLUGINS_FALSE$ac_delim
17179 LXDREAMCPPFLAGS!$LXDREAMCPPFLAGS$ac_delim
17180 PKG_CONFIG!$PKG_CONFIG$ac_delim
17181 LIBPNG_CFLAGS!$LIBPNG_CFLAGS$ac_delim
17182 LIBPNG_LIBS!$LIBPNG_LIBS$ac_delim
17183 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
17184 GLIB_LIBS!$GLIB_LIBS$ac_delim
17185 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
17186 GTK_LIBS!$GTK_LIBS$ac_delim
17187 GLIB_FOR_BUILD_CFLAGS!$GLIB_FOR_BUILD_CFLAGS$ac_delim
17188 GLIB_FOR_BUILD_LIBS!$GLIB_FOR_BUILD_LIBS$ac_delim
17189 GUI_GTK_TRUE!$GUI_GTK_TRUE$ac_delim
17190 GUI_GTK_FALSE!$GUI_GTK_FALSE$ac_delim
17191 LIBISOFS_CFLAGS!$LIBISOFS_CFLAGS$ac_delim
17192 LIBISOFS_LIBS!$LIBISOFS_LIBS$ac_delim
17193 LIBGL_CFLAGS!$LIBGL_CFLAGS$ac_delim
17194 LIBGL_LIBS!$LIBGL_LIBS$ac_delim
17195 VIDEO_OSMESA_TRUE!$VIDEO_OSMESA_TRUE$ac_delim
17196 VIDEO_OSMESA_FALSE!$VIDEO_OSMESA_FALSE$ac_delim
17197 VIDEO_GLX_TRUE!$VIDEO_GLX_TRUE$ac_delim
17198 VIDEO_GLX_FALSE!$VIDEO_GLX_FALSE$ac_delim
17199 VIDEO_NSGL_TRUE!$VIDEO_NSGL_TRUE$ac_delim
17200 VIDEO_NSGL_FALSE!$VIDEO_NSGL_FALSE$ac_delim
17201 VIDEO_EGL_TRUE!$VIDEO_EGL_TRUE$ac_delim
17202 VIDEO_EGL_FALSE!$VIDEO_EGL_FALSE$ac_delim
17203 BUILD_SH4X86_TRUE!$BUILD_SH4X86_TRUE$ac_delim
17204 BUILD_SH4X86_FALSE!$BUILD_SH4X86_FALSE$ac_delim
17205 AUDIO_OSX_TRUE!$AUDIO_OSX_TRUE$ac_delim
17206 AUDIO_OSX_FALSE!$AUDIO_OSX_FALSE$ac_delim
17207 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
17208 SDL_LIBS!$SDL_LIBS$ac_delim
17209 AUDIO_SDL_TRUE!$AUDIO_SDL_TRUE$ac_delim
17210 AUDIO_SDL_FALSE!$AUDIO_SDL_FALSE$ac_delim
17211 PULSE_CFLAGS!$PULSE_CFLAGS$ac_delim
17212 PULSE_LIBS!$PULSE_LIBS$ac_delim
17213 AUDIO_PULSE_TRUE!$AUDIO_PULSE_TRUE$ac_delim
17214 AUDIO_PULSE_FALSE!$AUDIO_PULSE_FALSE$ac_delim
17215 ESOUND_CFLAGS!$ESOUND_CFLAGS$ac_delim
17216 ESOUND_LIBS!$ESOUND_LIBS$ac_delim
17217 AUDIO_ESOUND_TRUE!$AUDIO_ESOUND_TRUE$ac_delim
17218 AUDIO_ESOUND_FALSE!$AUDIO_ESOUND_FALSE$ac_delim
17219 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
17220 ALSA_LIBS!$ALSA_LIBS$ac_delim
17221 AUDIO_ALSA_TRUE!$AUDIO_ALSA_TRUE$ac_delim
17222 AUDIO_ALSA_FALSE!$AUDIO_ALSA_FALSE$ac_delim
17223 CDROM_LINUX_TRUE!$CDROM_LINUX_TRUE$ac_delim
17224 CDROM_LINUX_FALSE!$CDROM_LINUX_FALSE$ac_delim
17225 CDROM_OSX_TRUE!$CDROM_OSX_TRUE$ac_delim
17226 CDROM_OSX_FALSE!$CDROM_OSX_FALSE$ac_delim
17227 CDROM_NONE_TRUE!$CDROM_NONE_TRUE$ac_delim
17228 CDROM_NONE_FALSE!$CDROM_NONE_FALSE$ac_delim
17229 JOY_LINUX_TRUE!$JOY_LINUX_TRUE$ac_delim
17230 JOY_LINUX_FALSE!$JOY_LINUX_FALSE$ac_delim
17231 INPUT_LIRC_TRUE!$INPUT_LIRC_TRUE$ac_delim
17232 INPUT_LIRC_FALSE!$INPUT_LIRC_FALSE$ac_delim
17233 SHCC!$SHCC$ac_delim
17234 SHLD!$SHLD$ac_delim
17235 SHOBJCOPY!$SHOBJCOPY$ac_delim
17236 ARMCC!$ARMCC$ac_delim
17237 ARMLD!$ARMLD$ac_delim
17238 ARMOBJCOPY!$ARMOBJCOPY$ac_delim
17239 BUILD_SYSTEST_TRUE!$BUILD_SYSTEST_TRUE$ac_delim
17240 BUILD_SYSTEST_FALSE!$BUILD_SYSTEST_FALSE$ac_delim
17243 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
17245 elif $ac_last_try; then
17246 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17247 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17248 { (exit 1); exit 1; }; }
17250 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17254 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
17255 if test -n "$ac_eof"; then
17256 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
17257 ac_eof=`expr $ac_eof + 1`
17260 cat >>$CONFIG_STATUS <<_ACEOF
17261 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
17262 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17265 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
17266 s/^/s,@/; s/!/@,|#_!!_#|/
17269 s/'"$ac_delim"'$/,g/; t
17271 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
17272 ' >>$CONFIG_STATUS <conf$$subs.sed
17273 rm -f conf$$subs.sed
17274 cat >>$CONFIG_STATUS <<_ACEOF
17280 for ac_last_try in false false false false false :; do
17281 cat >conf$$subs.sed <<_ACEOF
17282 BUILD_ARMTEST_TRUE!$BUILD_ARMTEST_TRUE$ac_delim
17283 BUILD_ARMTEST_FALSE!$BUILD_ARMTEST_FALSE$ac_delim
17284 LXDREAM_LIBS!$LXDREAM_LIBS$ac_delim
17285 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
17286 USE_NLS!$USE_NLS$ac_delim
17287 MSGFMT!$MSGFMT$ac_delim
17288 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
17289 GMSGFMT!$GMSGFMT$ac_delim
17290 XGETTEXT!$XGETTEXT$ac_delim
17291 CATALOGS!$CATALOGS$ac_delim
17292 CATOBJEXT!$CATOBJEXT$ac_delim
17293 DATADIRNAME!$DATADIRNAME$ac_delim
17294 GMOFILES!$GMOFILES$ac_delim
17295 INSTOBJEXT!$INSTOBJEXT$ac_delim
17296 INTLLIBS!$INTLLIBS$ac_delim
17297 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
17298 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
17299 POFILES!$POFILES$ac_delim
17300 POSUB!$POSUB$ac_delim
17301 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
17302 LIBOBJS!$LIBOBJS$ac_delim
17303 LTLIBOBJS!$LTLIBOBJS$ac_delim
17306 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then
17308 elif $ac_last_try; then
17309 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17310 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17311 { (exit 1); exit 1; }; }
17313 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17317 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
17318 if test -n "$ac_eof"; then
17319 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
17320 ac_eof=`expr $ac_eof + 1`
17323 cat >>$CONFIG_STATUS <<_ACEOF
17324 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
17325 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
17328 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
17329 s/^/s,@/; s/!/@,|#_!!_#|/
17332 s/'"$ac_delim"'$/,g/; t
17334 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
17335 ' >>$CONFIG_STATUS <conf$$subs.sed
17336 rm -f conf$$subs.sed
17337 cat >>$CONFIG_STATUS <<_ACEOF
17344 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17345 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17346 # trailing colons and then remove the whole line if VPATH becomes empty
17347 # (actually we leave an empty line to preserve line numbers).
17348 if test "x$srcdir" = x.; then
17349 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17350 s/:*\$(srcdir):*/:/
17351 s/:*\${srcdir}:*/:/
17353 s/^\([^=]*=[ ]*\):*/\1/
17359 cat >>$CONFIG_STATUS <<\_ACEOF
17360 fi # test -n "$CONFIG_FILES"
17363 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
17366 :[FHLC]) ac_mode=$ac_tag; continue;;
17368 case $ac_mode$ac_tag in
17370 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
17371 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
17372 { (exit 1); exit 1; }; };;
17373 :[FH]-) ac_tag=-:-;;
17374 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17391 -) ac_f="$tmp/stdin";;
17392 *) # Look for the file first in the build tree, then in the source tree
17393 # (if the path is not absolute). The absolute path cannot be DOS-style,
17394 # because $ac_f cannot contain `:'.
17398 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17400 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
17401 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
17402 { (exit 1); exit 1; }; };;
17404 ac_file_inputs="$ac_file_inputs $ac_f"
17407 # Let's still pretend it is `configure' which instantiates (i.e., don't
17408 # use $as_me), people would be surprised to read:
17409 # /* config.h. Generated by config.status. */
17410 configure_input="Generated from "`IFS=:
17411 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
17412 if test x"$ac_file" != x-; then
17413 configure_input="$ac_file. $configure_input"
17414 { echo "$as_me:$LINENO: creating $ac_file" >&5
17415 echo "$as_me: creating $ac_file" >&6;}
17419 *:-:* | *:-) cat >"$tmp/stdin";;
17424 ac_dir=`$as_dirname -- "$ac_file" ||
17425 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17426 X"$ac_file" : 'X\(//\)[^/]' \| \
17427 X"$ac_file" : 'X\(//\)$' \| \
17428 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17434 /^X\(\/\/\)[^/].*/{
17449 -*) as_dir=./$as_dir;;
17451 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17455 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
17456 *) as_qdir=$as_dir;;
17458 as_dirs="'$as_qdir' $as_dirs"
17459 as_dir=`$as_dirname -- "$as_dir" ||
17460 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17461 X"$as_dir" : 'X\(//\)[^/]' \| \
17462 X"$as_dir" : 'X\(//\)$' \| \
17463 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17469 /^X\(\/\/\)[^/].*/{
17482 test -d "$as_dir" && break
17484 test -z "$as_dirs" || eval "mkdir $as_dirs"
17485 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17486 echo "$as_me: error: cannot create directory $as_dir" >&2;}
17487 { (exit 1); exit 1; }; }; }
17491 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17493 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17494 # A ".." for each directory in $ac_dir_suffix.
17495 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
17496 case $ac_top_builddir_sub in
17497 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17498 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17501 ac_abs_top_builddir=$ac_pwd
17502 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17503 # for backward compatibility:
17504 ac_top_builddir=$ac_top_build_prefix
17507 .) # We are building in place.
17509 ac_top_srcdir=$ac_top_builddir_sub
17510 ac_abs_top_srcdir=$ac_pwd ;;
17511 [\\/]* | ?:[\\/]* ) # Absolute name.
17512 ac_srcdir=$srcdir$ac_dir_suffix;
17513 ac_top_srcdir=$srcdir
17514 ac_abs_top_srcdir=$srcdir ;;
17515 *) # Relative name.
17516 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17517 ac_top_srcdir=$ac_top_build_prefix$srcdir
17518 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17520 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17530 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17531 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17535 cat >>$CONFIG_STATUS <<\_ACEOF
17536 # If the template does not know about datarootdir, expand it.
17537 # FIXME: This hack should be removed a few years after 2.60.
17538 ac_datarootdir_hack=; ac_datarootdir_seen=
17540 case `sed -n '/datarootdir/ {
17549 ' $ac_file_inputs` in
17550 *datarootdir*) ac_datarootdir_seen=yes;;
17551 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17552 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17553 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17555 cat >>$CONFIG_STATUS <<_ACEOF
17556 ac_datarootdir_hack='
17557 s&@datadir@&$datadir&g
17558 s&@docdir@&$docdir&g
17559 s&@infodir@&$infodir&g
17560 s&@localedir@&$localedir&g
17561 s&@mandir@&$mandir&g
17562 s&\\\${datarootdir}&$datarootdir&g' ;;
17566 # Neutralize VPATH when `$srcdir' = `.'.
17567 # Shell code in configure.ac might set extrasub.
17568 # FIXME: do we really want to maintain this feature?
17569 cat >>$CONFIG_STATUS <<_ACEOF
17573 cat >>$CONFIG_STATUS <<\_ACEOF
17575 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17576 s&@configure_input@&$configure_input&;t t
17577 s&@top_builddir@&$ac_top_builddir_sub&;t t
17578 s&@srcdir@&$ac_srcdir&;t t
17579 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17580 s&@top_srcdir@&$ac_top_srcdir&;t t
17581 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17582 s&@builddir@&$ac_builddir&;t t
17583 s&@abs_builddir@&$ac_abs_builddir&;t t
17584 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17585 s&@INSTALL@&$ac_INSTALL&;t t
17586 $ac_datarootdir_hack
17587 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
17589 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17590 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17591 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17592 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17593 which seems to be undefined. Please make sure it is defined." >&5
17594 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17595 which seems to be undefined. Please make sure it is defined." >&2;}
17599 -) cat "$tmp/out"; rm -f "$tmp/out";;
17600 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
17609 # Transform confdefs.h into a sed script `conftest.defines', that
17610 # substitutes the proper values into config.h.in to produce config.h.
17611 rm -f conftest.defines conftest.tail
17612 # First, append a space to every undef/define line, to ease matching.
17613 echo 's/$/ /' >conftest.defines
17614 # Then, protect against being on the right side of a sed subst, or in
17615 # an unquoted here document, in config.status. If some macros were
17616 # called several times there might be several #defines for the same
17617 # symbol, which is useless. But do not sort them, since the last
17618 # AC_DEFINE must be honored.
17619 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17620 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
17621 # NAME is the cpp macro being defined, VALUE is the value it is being given.
17622 # PARAMS is the parameter list in the macro definition--in most cases, it's
17623 # just an empty string.
17624 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
17625 ac_dB='\\)[ (].*,\\1define\\2'
17633 s/^[ ]*#[ ]*define[ ][ ]*//
17638 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
17639 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
17640 ' >>conftest.defines
17642 # Remove the space that was appended to ease matching.
17643 # Then replace #undef with comments. This is necessary, for
17644 # example, in the case of _POSIX_SOURCE, which is predefined and required
17645 # on some systems where configure will not decide to define it.
17646 # (The regexp can be short, since the line contains either #define or #undef.)
17648 s,^[ #]*u.*,/* & */,' >>conftest.defines
17650 # Break up conftest.defines:
17651 ac_max_sed_lines=50
17653 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
17654 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
17655 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
17657 ac_in='$ac_file_inputs'
17658 ac_out='"$tmp/out1"'
17659 ac_nxt='"$tmp/out2"'
17663 # Write a here document:
17664 cat >>$CONFIG_STATUS <<_ACEOF
17665 # First, check the format of the line:
17666 cat >"\$tmp/defines.sed" <<\\CEOF
17667 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
17668 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
17672 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
17674 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
17675 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
17676 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
17677 grep . conftest.tail >/dev/null || break
17678 rm -f conftest.defines
17679 mv conftest.tail conftest.defines
17681 rm -f conftest.defines conftest.tail
17683 echo "ac_result=$ac_in" >>$CONFIG_STATUS
17684 cat >>$CONFIG_STATUS <<\_ACEOF
17685 if test x"$ac_file" != x-; then
17686 echo "/* $configure_input */" >"$tmp/config.h"
17687 cat "$ac_result" >>"$tmp/config.h"
17688 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
17689 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17690 echo "$as_me: $ac_file is unchanged" >&6;}
17693 mv "$tmp/config.h" $ac_file
17696 echo "/* $configure_input */"
17700 # Compute $ac_file's index in $config_headers.
17702 for _am_header in $config_headers :; do
17703 case $_am_header in
17704 $ac_file | $ac_file:* )
17707 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17710 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
17711 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17712 X$ac_file : 'X\(//\)[^/]' \| \
17713 X$ac_file : 'X\(//\)$' \| \
17714 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
17716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17720 /^X\(\/\/\)[^/].*/{
17732 s/.*/./; q'`/stamp-h$_am_stamp_count
17735 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
17736 echo "$as_me: executing $ac_file commands" >&6;}
17741 case $ac_file$ac_mode in
17742 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
17743 # Strip MF so we end up with the name of the file.
17744 mf=`echo "$mf" | sed -e 's/:.*$//'`
17745 # Check whether this is an Automake generated Makefile or not.
17746 # We used to match only the files named `Makefile.in', but
17747 # some people rename them; so instead we look at the file content.
17748 # Grep'ing the first line is not enough: some people post-process
17749 # each Makefile.in and add a new line on top of each file to say so.
17750 # So let's grep whole file.
17751 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
17752 dirpart=`$as_dirname -- "$mf" ||
17753 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17754 X"$mf" : 'X\(//\)[^/]' \| \
17755 X"$mf" : 'X\(//\)$' \| \
17756 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17762 /^X\(\/\/\)[^/].*/{
17778 # Extract the definition of DEPDIR, am__include, and am__quote
17779 # from the Makefile without running `make'.
17780 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17781 test -z "$DEPDIR" && continue
17782 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17783 test -z "am__include" && continue
17784 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17785 # When using ansi2knr, U may be empty or an underscore; expand it
17786 U=`sed -n 's/^U = //p' < "$mf"`
17787 # Find all dependency output files, they are included files with
17788 # $(DEPDIR) in their names. We invoke sed twice because it is the
17789 # simplest approach to changing $(DEPDIR) to its actual value in the
17791 for file in `sed -n "
17792 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17793 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17794 # Make sure the directory exists.
17795 test -f "$dirpart/$file" && continue
17796 fdir=`$as_dirname -- "$file" ||
17797 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17798 X"$file" : 'X\(//\)[^/]' \| \
17799 X"$file" : 'X\(//\)$' \| \
17800 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17806 /^X\(\/\/\)[^/].*/{
17819 { as_dir=$dirpart/$fdir
17821 -*) as_dir=./$as_dir;;
17823 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17827 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
17828 *) as_qdir=$as_dir;;
17830 as_dirs="'$as_qdir' $as_dirs"
17831 as_dir=`$as_dirname -- "$as_dir" ||
17832 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17833 X"$as_dir" : 'X\(//\)[^/]' \| \
17834 X"$as_dir" : 'X\(//\)$' \| \
17835 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17841 /^X\(\/\/\)[^/].*/{
17854 test -d "$as_dir" && break
17856 test -z "$as_dirs" || eval "mkdir $as_dirs"
17857 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17858 echo "$as_me: error: cannot create directory $as_dir" >&2;}
17859 { (exit 1); exit 1; }; }; }
17860 # echo "creating $dirpart/$file"
17861 echo '# dummy' > "$dirpart/$file"
17865 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17866 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17873 { (exit 0); exit 0; }
17875 chmod +x $CONFIG_STATUS
17876 ac_clean_files=$ac_clean_files_save
17879 # configure is writing to config.log, and then calls config.status.
17880 # config.status does its own redirection, appending to config.log.
17881 # Unfortunately, on DOS this fails, as config.log is still kept open
17882 # by configure, so config.status won't be able to write to it; its
17883 # output is simply discarded. So we exec the FD to /dev/null,
17884 # effectively closing config.log, so it can be properly (re)opened and
17885 # appended to by config.status. When coming back to configure, we
17886 # need to make the FD available again.
17887 if test "$no_create" != yes; then
17889 ac_config_status_args=
17890 test "$silent" = yes &&
17891 ac_config_status_args="$ac_config_status_args --quiet"
17893 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17895 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17896 # would make configure fail if this is the last instruction.
17897 $ac_cs_success || { (exit 1); exit 1; }
17902 -*) as_dir=./$as_dir;;
17904 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17908 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
17909 *) as_qdir=$as_dir;;
17911 as_dirs="'$as_qdir' $as_dirs"
17912 as_dir=`$as_dirname -- "$as_dir" ||
17913 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17914 X"$as_dir" : 'X\(//\)[^/]' \| \
17915 X"$as_dir" : 'X\(//\)$' \| \
17916 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17922 /^X\(\/\/\)[^/].*/{
17935 test -d "$as_dir" && break
17937 test -z "$as_dirs" || eval "mkdir $as_dirs"
17938 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17939 echo "$as_me: error: cannot create directory $as_dir" >&2;}
17940 { (exit 1); exit 1; }; }; }
17944 echo "Configuration complete"
17947 if test "x$UI_DRIVER" = x; then
17948 echo " User interface: none"
17950 echo " User interface: $UI_DRIVER"
17953 if test "x$SH4_TRANSLATOR" = "x"; then
17954 echo " SH4 translator: none (emulation core only)"
17956 echo " SH4 translator: $SH4_TRANSLATOR"
17959 if test "x$VIDEO_DRIVERS" = "x"; then
17960 echo " Video drivers: none (no supported GL found)"
17962 echo " Video drivers: $VIDEO_DRIVERS"
17965 if test "x$AUDIO_DRIVERS" = "x"; then
17966 echo " Audio drivers: none (no supported output devices found)"
17968 echo " Audio drivers: $AUDIO_DRIVERS"
17971 if test "x$INPUT_DRIVERS" = "x"; then
17972 echo " Input drivers: none (no supported input devices found)"
17974 echo " Input drivers: $INPUT_DRIVERS"
17977 if test "x$CDROM_DRIVER" = "x"; then
17978 echo " CD-ROM driver: none (no supported cd-rom devices found)"
17980 echo " CD-ROM driver: $CDROM_DRIVER"
.