2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
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
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir=.
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
277 CONFIG_SHELL=$as_shell
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
305 as_func_ret_success () {
308 as_func_ret_failure () {
313 if as_func_success; then
317 echo as_func_success failed.
320 if as_func_failure; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492 ECHO_C= ECHO_N= ECHO_T=
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 elif ln conf$$.file conf$$ 2>/dev/null; then
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
539 test -d ./-p && rmdir ./-p
543 if test -x / >/dev/null 2>&1; then
546 if ls -dL / >/dev/null 2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev/null 6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix=/usr/local
586 ac_config_libobj_dir=.
592 SHELL=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file="configure.in"
602 # Factoring default headers for most tests.
603 ac_includes_default="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
647 program_transform_name
688 INSTALL_STRIP_PROGRAM
697 MAINTAINER_MODE_FALSE
802 enable_option_checking
803 enable_maintainer_mode
804 enable_dependency_tracking
814 ac_precious_vars='build_alias
840 # Initialize some variables set by options.
842 ac_init_version=false
843 ac_unrecognized_opts=
845 # The variables have the same names as the options, with
846 # dashes changed to underlines.
854 program_transform_name=s,x,x,
862 # Installation directory options.
863 # These are left unexpanded so users can "make install exec_prefix=/foo"
864 # and all the variables that are supposed to be based on exec_prefix
865 # by default will actually change.
866 # Use braces instead of parens because sh, perl, etc. also accept them.
867 # (The list follows the same order as the GNU Coding Standards.)
868 bindir='${exec_prefix}/bin'
869 sbindir='${exec_prefix}/sbin'
870 libexecdir='${exec_prefix}/libexec'
871 datarootdir='${prefix}/share'
872 datadir='${datarootdir}'
873 sysconfdir='${prefix}/etc'
874 sharedstatedir='${prefix}/com'
875 localstatedir='${prefix}/var'
876 includedir='${prefix}/include'
877 oldincludedir='/usr/include'
878 docdir='${datarootdir}/doc/${PACKAGE}'
879 infodir='${datarootdir}/info'
884 libdir='${exec_prefix}/lib'
885 localedir='${datarootdir}/locale'
886 mandir='${datarootdir}/man'
892 # If the previous option needs an argument, assign it.
893 if test -n "$ac_prev"; then
894 eval $ac_prev=\$ac_option
900 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
904 # Accept the important Cygnus configure options, so we can diagnose typos.
906 case $ac_dashdash$ac_option in
910 -bindir | --bindir | --bindi | --bind | --bin | --bi)
912 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
915 -build | --build | --buil | --bui | --bu)
916 ac_prev=build_alias ;;
917 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
918 build_alias=$ac_optarg ;;
920 -cache-file | --cache-file | --cache-fil | --cache-fi \
921 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
922 ac_prev=cache_file ;;
923 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
924 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
925 cache_file=$ac_optarg ;;
928 cache_file=config.cache ;;
930 -datadir | --datadir | --datadi | --datad)
932 -datadir=* | --datadir=* | --datadi=* | --datad=*)
933 datadir=$ac_optarg ;;
935 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
936 | --dataroo | --dataro | --datar)
937 ac_prev=datarootdir ;;
938 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
939 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
940 datarootdir=$ac_optarg ;;
942 -disable-* | --disable-*)
943 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
944 # Reject names that are not valid shell variable names.
945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
946 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
947 { (exit 1); exit 1; }; }
948 ac_useropt_orig=$ac_useropt
949 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
950 case $ac_user_opts in
954 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
955 ac_unrecognized_sep=', ';;
957 eval enable_$ac_useropt=no ;;
959 -docdir | --docdir | --docdi | --doc | --do)
961 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
964 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
966 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
969 -enable-* | --enable-*)
970 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
971 # Reject names that are not valid shell variable names.
972 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
973 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
974 { (exit 1); exit 1; }; }
975 ac_useropt_orig=$ac_useropt
976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982 ac_unrecognized_sep=', ';;
984 eval enable_$ac_useropt=\$ac_optarg ;;
986 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
987 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
988 | --exec | --exe | --ex)
989 ac_prev=exec_prefix ;;
990 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
991 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
992 | --exec=* | --exe=* | --ex=*)
993 exec_prefix=$ac_optarg ;;
995 -gas | --gas | --ga | --g)
996 # Obsolete; use --with-gas.
999 -help | --help | --hel | --he | -h)
1000 ac_init_help=long ;;
1001 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1002 ac_init_help=recursive ;;
1003 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1004 ac_init_help=short ;;
1006 -host | --host | --hos | --ho)
1007 ac_prev=host_alias ;;
1008 -host=* | --host=* | --hos=* | --ho=*)
1009 host_alias=$ac_optarg ;;
1011 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1013 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1015 htmldir=$ac_optarg ;;
1017 -includedir | --includedir | --includedi | --included | --include \
1018 | --includ | --inclu | --incl | --inc)
1019 ac_prev=includedir ;;
1020 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1021 | --includ=* | --inclu=* | --incl=* | --inc=*)
1022 includedir=$ac_optarg ;;
1024 -infodir | --infodir | --infodi | --infod | --info | --inf)
1026 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1027 infodir=$ac_optarg ;;
1029 -libdir | --libdir | --libdi | --libd)
1031 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1032 libdir=$ac_optarg ;;
1034 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1035 | --libexe | --libex | --libe)
1036 ac_prev=libexecdir ;;
1037 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1038 | --libexe=* | --libex=* | --libe=*)
1039 libexecdir=$ac_optarg ;;
1041 -localedir | --localedir | --localedi | --localed | --locale)
1042 ac_prev=localedir ;;
1043 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1044 localedir=$ac_optarg ;;
1046 -localstatedir | --localstatedir | --localstatedi | --localstated \
1047 | --localstate | --localstat | --localsta | --localst | --locals)
1048 ac_prev=localstatedir ;;
1049 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1050 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1051 localstatedir=$ac_optarg ;;
1053 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1055 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1056 mandir=$ac_optarg ;;
1058 -nfp | --nfp | --nf)
1059 # Obsolete; use --without-fp.
1062 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1063 | --no-cr | --no-c | -n)
1066 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1067 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1070 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1071 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1072 | --oldin | --oldi | --old | --ol | --o)
1073 ac_prev=oldincludedir ;;
1074 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1075 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1076 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1077 oldincludedir=$ac_optarg ;;
1079 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1081 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1082 prefix=$ac_optarg ;;
1084 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1085 | --program-pre | --program-pr | --program-p)
1086 ac_prev=program_prefix ;;
1087 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1088 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1089 program_prefix=$ac_optarg ;;
1091 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1092 | --program-suf | --program-su | --program-s)
1093 ac_prev=program_suffix ;;
1094 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1095 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1096 program_suffix=$ac_optarg ;;
1098 -program-transform-name | --program-transform-name \
1099 | --program-transform-nam | --program-transform-na \
1100 | --program-transform-n | --program-transform- \
1101 | --program-transform | --program-transfor \
1102 | --program-transfo | --program-transf \
1103 | --program-trans | --program-tran \
1104 | --progr-tra | --program-tr | --program-t)
1105 ac_prev=program_transform_name ;;
1106 -program-transform-name=* | --program-transform-name=* \
1107 | --program-transform-nam=* | --program-transform-na=* \
1108 | --program-transform-n=* | --program-transform-=* \
1109 | --program-transform=* | --program-transfor=* \
1110 | --program-transfo=* | --program-transf=* \
1111 | --program-trans=* | --program-tran=* \
1112 | --progr-tra=* | --program-tr=* | --program-t=*)
1113 program_transform_name=$ac_optarg ;;
1115 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1117 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1118 pdfdir=$ac_optarg ;;
1120 -psdir | --psdir | --psdi | --psd | --ps)
1122 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1125 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1126 | -silent | --silent | --silen | --sile | --sil)
1129 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1131 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1133 sbindir=$ac_optarg ;;
1135 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1136 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1137 | --sharedst | --shareds | --shared | --share | --shar \
1139 ac_prev=sharedstatedir ;;
1140 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1141 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1142 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1144 sharedstatedir=$ac_optarg ;;
1146 -site | --site | --sit)
1148 -site=* | --site=* | --sit=*)
1151 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1153 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1154 srcdir=$ac_optarg ;;
1156 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1157 | --syscon | --sysco | --sysc | --sys | --sy)
1158 ac_prev=sysconfdir ;;
1159 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1160 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1161 sysconfdir=$ac_optarg ;;
1163 -target | --target | --targe | --targ | --tar | --ta | --t)
1164 ac_prev=target_alias ;;
1165 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1166 target_alias=$ac_optarg ;;
1168 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1171 -version | --version | --versio | --versi | --vers | -V)
1172 ac_init_version=: ;;
1175 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1178 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1179 { (exit 1); exit 1; }; }
1180 ac_useropt_orig=$ac_useropt
1181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep=', ';;
1189 eval with_$ac_useropt=\$ac_optarg ;;
1191 -without-* | --without-*)
1192 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1195 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1196 { (exit 1); exit 1; }; }
1197 ac_useropt_orig=$ac_useropt
1198 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1203 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1204 ac_unrecognized_sep=', ';;
1206 eval with_$ac_useropt=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 -*) { $as_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 { $as_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 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1244 $as_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 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1254 { (exit 1); exit 1; }; }
1257 if test -n "$ac_unrecognized_opts"; then
1258 case $enable_option_checking in
1260 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1261 { (exit 1); exit 1; }; } ;;
1262 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1266 # Check all directory arguments for consistency.
1267 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1268 datadir sysconfdir sharedstatedir localstatedir includedir \
1269 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1270 libdir localedir mandir
1272 eval ac_val=\$$ac_var
1273 # Remove trailing slashes.
1276 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1277 eval $ac_var=\$ac_val;;
1279 # Be sure to have absolute directory names.
1281 [\\/$]* | ?:[\\/]* ) continue;;
1282 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1284 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1285 { (exit 1); exit 1; }; }
1288 # There might be people who depend on the old broken behavior: `$host'
1289 # used to hold the argument of --host etc.
1290 # FIXME: To remove some day.
1293 target=$target_alias
1295 # FIXME: To remove some day.
1296 if test "x$host_alias" != x; then
1297 if test "x$build_alias" = x; then
1298 cross_compiling=maybe
1299 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1300 If a cross compiler is detected then cross compile mode will be used." >&2
1301 elif test "x$build_alias" != "x$host_alias"; then
1307 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1309 test "$silent" = yes && exec 6>/dev/null
1312 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1313 ac_ls_di=`ls -di .` &&
1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1315 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1316 { (exit 1); exit 1; }; }
1317 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1318 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1319 { (exit 1); exit 1; }; }
1322 # Find the source files, if location was not specified.
1323 if test -z "$srcdir"; then
1324 ac_srcdir_defaulted=yes
1325 # Try the directory containing this script, then the parent directory.
1326 ac_confdir=`$as_dirname -- "$as_myself" ||
1327 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1328 X"$as_myself" : 'X\(//\)[^/]' \| \
1329 X"$as_myself" : 'X\(//\)$' \| \
1330 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1331 $as_echo X"$as_myself" |
1332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1354 ac_srcdir_defaulted=no
1356 if test ! -r "$srcdir/$ac_unique_file"; then
1357 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1358 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1359 { (exit 1); exit 1; }; }
1361 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1363 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1364 { (exit 1); exit 1; }; }
1366 # When building in place, set srcdir=.
1367 if test "$ac_abs_confdir" = "$ac_pwd"; then
1370 # Remove unnecessary trailing slashes from srcdir.
1371 # Double slashes in file names in object file debugging info
1372 # mess up M-x gdb in Emacs.
1374 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1376 for ac_var in $ac_precious_vars; do
1377 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1378 eval ac_env_${ac_var}_value=\$${ac_var}
1379 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1380 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1384 # Report the --help message.
1386 if test "$ac_init_help" = "long"; then
1387 # Omit some internal or obsolete options to make the list less imposing.
1388 # This message is too long to be a string in the A/UX 3.1 sh.
1390 \`configure' configures this package to adapt to many kinds of systems.
1392 Usage: $0 [OPTION]... [VAR=VALUE]...
1394 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1395 VAR=VALUE. See below for descriptions of some of the useful variables.
1397 Defaults for the options are specified in brackets.
1400 -h, --help display this help and exit
1401 --help=short display options specific to this package
1402 --help=recursive display the short help of all the included packages
1403 -V, --version display version information and exit
1404 -q, --quiet, --silent do not print \`checking...' messages
1405 --cache-file=FILE cache test results in FILE [disabled]
1406 -C, --config-cache alias for \`--cache-file=config.cache'
1407 -n, --no-create do not create output files
1408 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1410 Installation directories:
1411 --prefix=PREFIX install architecture-independent files in PREFIX
1412 [$ac_default_prefix]
1413 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1416 By default, \`make install' will install all the files in
1417 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1418 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1419 for instance \`--prefix=\$HOME'.
1421 For better control, use the options below.
1423 Fine tuning of the installation directories:
1424 --bindir=DIR user executables [EPREFIX/bin]
1425 --sbindir=DIR system admin executables [EPREFIX/sbin]
1426 --libexecdir=DIR program executables [EPREFIX/libexec]
1427 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1428 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1429 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1430 --libdir=DIR object code libraries [EPREFIX/lib]
1431 --includedir=DIR C header files [PREFIX/include]
1432 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1433 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1434 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1435 --infodir=DIR info documentation [DATAROOTDIR/info]
1436 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1437 --mandir=DIR man documentation [DATAROOTDIR/man]
1438 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1439 --htmldir=DIR html documentation [DOCDIR]
1440 --dvidir=DIR dvi documentation [DOCDIR]
1441 --pdfdir=DIR pdf documentation [DOCDIR]
1442 --psdir=DIR ps documentation [DOCDIR]
1448 --program-prefix=PREFIX prepend PREFIX to installed program names
1449 --program-suffix=SUFFIX append SUFFIX to installed program names
1450 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1453 --build=BUILD configure for building on BUILD [guessed]
1454 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1458 if test -n "$ac_init_help"; then
1463 --disable-option-checking ignore unrecognized --enable/--with options
1464 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1465 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1466 --enable-maintainer-mode enable make rules and dependencies not useful
1467 (and sometimes confusing) to the casual installer
1468 --disable-dependency-tracking speeds up one-time build
1469 --enable-dependency-tracking do not reject slow dependency extractors
1470 --disable-translator Disable the SH4 translator (Enable by default)
1471 --enable-trace Enable generation of IO traces (warning: hurts
1473 --enable-watch Enable watchpoints in the debugger (warning: hurts
1475 --enable-sh4stats Enable statistics on executed sh4 instructions
1478 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1479 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1480 --with-osmesa Build with the osmesa GL library (software
1482 --with-gtk Build with the GTK UI. Default on X11 systems
1483 --with-esd Build with support for the ESounD audio system
1484 --with-pulse Build with support for the PulseAudio audio system
1486 Some influential environment variables:
1487 CC C compiler command
1488 CFLAGS C compiler flags
1489 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1490 nonstandard directory <lib dir>
1491 LIBS libraries to pass to the linker, e.g. -l<library>
1492 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1493 you have headers in a nonstandard directory <include dir>
1494 CCAS assembler compiler command (defaults to CC)
1495 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1497 PKG_CONFIG path to pkg-config utility
1499 C compiler flags for LIBPNG, overriding pkg-config
1500 LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
1501 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1502 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1503 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1504 GTK_LIBS linker flags for GTK, overriding pkg-config
1506 C compiler flags for PULSE, overriding pkg-config
1507 PULSE_LIBS linker flags for PULSE, overriding pkg-config
1509 C compiler flags for ESOUND, overriding pkg-config
1510 ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
1511 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1512 ALSA_LIBS linker flags for ALSA, overriding pkg-config
1514 Use these variables to override the choices made by `configure' or to help
1515 it to find libraries and programs with nonstandard names/locations.
1521 if test "$ac_init_help" = "recursive"; then
1522 # If there are subdirs, report their specific --help.
1523 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1524 test -d "$ac_dir" ||
1525 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1532 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1533 # A ".." for each directory in $ac_dir_suffix.
1534 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1535 case $ac_top_builddir_sub in
1536 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1537 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1540 ac_abs_top_builddir=$ac_pwd
1541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1542 # for backward compatibility:
1543 ac_top_builddir=$ac_top_build_prefix
1546 .) # We are building in place.
1548 ac_top_srcdir=$ac_top_builddir_sub
1549 ac_abs_top_srcdir=$ac_pwd ;;
1550 [\\/]* | ?:[\\/]* ) # Absolute name.
1551 ac_srcdir=$srcdir$ac_dir_suffix;
1552 ac_top_srcdir=$srcdir
1553 ac_abs_top_srcdir=$srcdir ;;
1555 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1556 ac_top_srcdir=$ac_top_build_prefix$srcdir
1557 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1561 cd "$ac_dir" || { ac_status=$?; continue; }
1562 # Check for guested configure.
1563 if test -f "$ac_srcdir/configure.gnu"; then
1565 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1566 elif test -f "$ac_srcdir/configure"; then
1568 $SHELL "$ac_srcdir/configure" --help=recursive
1570 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1572 cd "$ac_pwd" || { ac_status=$?; break; }
1576 test -n "$ac_init_help" && exit $ac_status
1577 if $ac_init_version; then
1580 generated by GNU Autoconf 2.62
1582 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1583 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1584 This configure script is free software; the Free Software Foundation
1585 gives unlimited permission to copy, distribute and modify it.
1589 cat >config.log <<_ACEOF
1590 This file contains any messages produced by compilers while
1591 running configure, to aid debugging if configure makes a mistake.
1593 It was created by $as_me, which was
1594 generated by GNU Autoconf 2.62. Invocation command line was
1606 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1607 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1608 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1609 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1610 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1612 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1613 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1615 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1616 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1617 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1618 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1619 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1620 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1621 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1629 test -z "$as_dir" && as_dir=.
1630 $as_echo "PATH: $as_dir"
1646 # Keep a trace of the command line.
1647 # Strip out --no-create and --no-recursion so they do not pile up.
1648 # Strip out --silent because we don't want to record it for future runs.
1649 # Also quote any args containing shell meta-characters.
1650 # Make two passes to allow for proper duplicate-argument suppression.
1654 ac_must_keep_next=false
1660 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1661 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1662 | -silent | --silent | --silen | --sile | --sil)
1665 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1668 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1670 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1671 if test $ac_must_keep_next = true; then
1672 ac_must_keep_next=false # Got value, back to normal.
1675 *=* | --config-cache | -C | -disable-* | --disable-* \
1676 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1677 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1678 | -with-* | --with-* | -without-* | --without-* | --x)
1679 case "$ac_configure_args0 " in
1680 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1683 -* ) ac_must_keep_next=true ;;
1686 ac_configure_args="$ac_configure_args '$ac_arg'"
1691 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1692 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1694 # When interrupted or exit'd, cleanup temporary files, and complete
1695 # config.log. We remove comments because anyway the quotes in there
1696 # would cause problems or look ugly.
1697 # WARNING: Use '\'' to represent an apostrophe within the trap.
1698 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1699 trap 'exit_status=$?
1700 # Save into config.log some information that might help in debugging.
1705 ## ---------------- ##
1706 ## Cache variables. ##
1707 ## ---------------- ##
1710 # The following way of writing the cache mishandles newlines in values,
1712 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1713 eval ac_val=\$$ac_var
1717 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1718 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1721 _ | IFS | as_nl) ;; #(
1722 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1723 *) $as_unset $ac_var ;;
1728 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1729 *${as_nl}ac_space=\ *)
1731 "s/'\''/'\''\\\\'\'''\''/g;
1732 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1735 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1743 ## ----------------- ##
1744 ## Output variables. ##
1745 ## ----------------- ##
1748 for ac_var in $ac_subst_vars
1750 eval ac_val=\$$ac_var
1752 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1754 $as_echo "$ac_var='\''$ac_val'\''"
1758 if test -n "$ac_subst_files"; then
1760 ## ------------------- ##
1761 ## File substitutions. ##
1762 ## ------------------- ##
1765 for ac_var in $ac_subst_files
1767 eval ac_val=\$$ac_var
1769 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1771 $as_echo "$ac_var='\''$ac_val'\''"
1776 if test -s confdefs.h; then
1786 test "$ac_signal" != 0 &&
1787 $as_echo "$as_me: caught signal $ac_signal"
1788 $as_echo "$as_me: exit $exit_status"
1790 rm -f core *.core core.conftest.* &&
1791 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1794 for ac_signal in 1 2 13 15; do
1795 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1799 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1800 rm -f -r conftest* confdefs.h
1802 # Predefined preprocessor variables.
1804 cat >>confdefs.h <<_ACEOF
1805 #define PACKAGE_NAME "$PACKAGE_NAME"
1809 cat >>confdefs.h <<_ACEOF
1810 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1814 cat >>confdefs.h <<_ACEOF
1815 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1819 cat >>confdefs.h <<_ACEOF
1820 #define PACKAGE_STRING "$PACKAGE_STRING"
1824 cat >>confdefs.h <<_ACEOF
1825 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1829 # Let the site file select an alternate cache file if it wants to.
1830 # Prefer an explicitly selected file to automatically selected ones.
1833 if test -n "$CONFIG_SITE"; then
1834 ac_site_file1=$CONFIG_SITE
1835 elif test "x$prefix" != xNONE; then
1836 ac_site_file1=$prefix/share/config.site
1837 ac_site_file2=$prefix/etc/config.site
1839 ac_site_file1=$ac_default_prefix/share/config.site
1840 ac_site_file2=$ac_default_prefix/etc/config.site
1842 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1844 test "x$ac_site_file" = xNONE && continue
1845 if test -r "$ac_site_file"; then
1846 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1847 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1848 sed 's/^/| /' "$ac_site_file" >&5
1853 if test -r "$cache_file"; then
1854 # Some versions of bash will fail to source /dev/null (special
1855 # files actually), so we avoid doing that.
1856 if test -f "$cache_file"; then
1857 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1858 $as_echo "$as_me: loading cache $cache_file" >&6;}
1860 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1861 *) . "./$cache_file";;
1865 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1866 $as_echo "$as_me: creating cache $cache_file" >&6;}
1870 # Check that the precious variables saved in the cache have kept the same
1872 ac_cache_corrupted=false
1873 for ac_var in $ac_precious_vars; do
1874 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1875 eval ac_new_set=\$ac_env_${ac_var}_set
1876 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1877 eval ac_new_val=\$ac_env_${ac_var}_value
1878 case $ac_old_set,$ac_new_set in
1880 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1881 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1882 ac_cache_corrupted=: ;;
1884 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1885 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1886 ac_cache_corrupted=: ;;
1889 if test "x$ac_old_val" != "x$ac_new_val"; then
1890 # differences in whitespace do not lead to failure.
1891 ac_old_val_w=`echo x $ac_old_val`
1892 ac_new_val_w=`echo x $ac_new_val`
1893 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1894 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1895 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1896 ac_cache_corrupted=:
1898 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1899 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1900 eval $ac_var=\$ac_old_val
1902 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1903 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1904 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1905 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1908 # Pass precious variables to config.status.
1909 if test "$ac_new_set" = set; then
1911 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1912 *) ac_arg=$ac_var=$ac_new_val ;;
1914 case " $ac_configure_args " in
1915 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1916 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1920 if $ac_cache_corrupted; then
1921 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1922 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1923 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1924 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1925 { (exit 1); exit 1; }; }
1945 ac_cpp='$CPP $CPPFLAGS'
1946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1951 am__api_version="1.9"
1953 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1954 if test -f "$ac_dir/install-sh"; then
1956 ac_install_sh="$ac_aux_dir/install-sh -c"
1958 elif test -f "$ac_dir/install.sh"; then
1960 ac_install_sh="$ac_aux_dir/install.sh -c"
1962 elif test -f "$ac_dir/shtool"; then
1964 ac_install_sh="$ac_aux_dir/shtool install -c"
1968 if test -z "$ac_aux_dir"; then
1969 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1970 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1971 { (exit 1); exit 1; }; }
1974 # These three variables are undocumented and unsupported,
1975 # and are intended to be withdrawn in a future Autoconf release.
1976 # They can cause serious problems if a builder's source tree is in a directory
1977 # whose full name contains unusual characters.
1978 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1979 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1980 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1983 # Find a good install program. We prefer a C program (faster),
1984 # so one script is as good as another. But avoid the broken or
1985 # incompatible versions:
1986 # SysV /etc/install, /usr/sbin/install
1987 # SunOS /usr/etc/install
1988 # IRIX /sbin/install
1990 # AmigaOS /C/install, which installs bootblocks on floppy discs
1991 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1992 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1993 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1994 # OS/2's system install, which has a completely different semantic
1995 # ./install, which can be erroneously created by make from ./install.sh.
1996 # Reject install programs that cannot install multiple files.
1997 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1998 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1999 if test -z "$INSTALL"; then
2000 if test "${ac_cv_path_install+set}" = set; then
2001 $as_echo_n "(cached) " >&6
2003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007 test -z "$as_dir" && as_dir=.
2008 # Account for people who put trailing slashes in PATH elements.
2010 ./ | .// | /cC/* | \
2011 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2012 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2015 # OSF1 and SCO ODT 3.0 have their own names for install.
2016 # Don't use installbsd from OSF since it installs stuff as root
2018 for ac_prog in ginstall scoinst install; do
2019 for ac_exec_ext in '' $ac_executable_extensions; do
2020 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2021 if test $ac_prog = install &&
2022 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2023 # AIX install. It has an incompatible calling convention.
2025 elif test $ac_prog = install &&
2026 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2027 # program-specific install script used by HP pwplus--don't use.
2030 rm -rf conftest.one conftest.two conftest.dir
2031 echo one > conftest.one
2032 echo two > conftest.two
2034 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2035 test -s conftest.one && test -s conftest.two &&
2036 test -s conftest.dir/conftest.one &&
2037 test -s conftest.dir/conftest.two
2039 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2052 rm -rf conftest.one conftest.two conftest.dir
2055 if test "${ac_cv_path_install+set}" = set; then
2056 INSTALL=$ac_cv_path_install
2058 # As a last resort, use the slow shell script. Don't cache a
2059 # value for INSTALL within a source directory, because that will
2060 # break other packages using the cache if that directory is
2061 # removed, or if the value is a relative name.
2062 INSTALL=$ac_install_sh
2065 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2066 $as_echo "$INSTALL" >&6; }
2068 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2069 # It thinks the first close brace ends the variable substitution.
2070 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2072 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2074 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2076 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2077 $as_echo_n "checking whether build environment is sane... " >&6; }
2080 echo timestamp > conftest.file
2081 # Do `set' in a subshell so we don't clobber the current shell's
2082 # arguments. Must try -L first in case configure is actually a
2083 # symlink; some systems play weird games with the mod time of symlinks
2084 # (eg FreeBSD returns the mod time of the symlink's containing
2087 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2088 if test "$*" = "X"; then
2090 set X `ls -t $srcdir/configure conftest.file`
2093 if test "$*" != "X $srcdir/configure conftest.file" \
2094 && test "$*" != "X conftest.file $srcdir/configure"; then
2096 # If neither matched, then we have a broken ls. This can happen
2097 # if, for instance, CONFIG_SHELL is bash and it inherits a
2098 # broken ls alias from the environment. This has actually
2099 # happened. Such a system could not be considered "sane".
2100 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2101 alias in your environment" >&5
2102 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2103 alias in your environment" >&2;}
2104 { (exit 1); exit 1; }; }
2107 test "$2" = conftest.file
2113 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2114 Check your system clock" >&5
2115 $as_echo "$as_me: error: newly created file is older than distributed files!
2116 Check your system clock" >&2;}
2117 { (exit 1); exit 1; }; }
2119 { $as_echo "$as_me:$LINENO: result: yes" >&5
2120 $as_echo "yes" >&6; }
2121 test "$program_prefix" != NONE &&
2122 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2123 # Use a double $ so make ignores it.
2124 test "$program_suffix" != NONE &&
2125 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2126 # Double any \ or $.
2127 # By default was `s,x,x', remove it if useless.
2128 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2129 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2131 # expand $ac_aux_dir to an absolute path
2132 am_aux_dir=`cd $ac_aux_dir && pwd`
2134 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2135 # Use eval to expand $SHELL
2136 if eval "$MISSING --run true"; then
2137 am_missing_run="$MISSING --run "
2140 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2141 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2144 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2145 # We used to keeping the `.' as first argument, in order to
2146 # allow $(mkdir_p) to be used without argument. As in
2147 # $(mkdir_p) $(somedir)
2148 # where $(somedir) is conditionally defined. However this is wrong
2150 # 1. if the package is installed by a user who cannot write `.'
2151 # make install will fail,
2152 # 2. the above comment should most certainly read
2153 # $(mkdir_p) $(DESTDIR)$(somedir)
2154 # so it does not work when $(somedir) is undefined and
2155 # $(DESTDIR) is not.
2156 # To support the latter case, we have to write
2157 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2158 # so the `.' trick is pointless.
2159 mkdir_p='mkdir -p --'
2161 # On NextStep and OpenStep, the `mkdir' command does not
2162 # recognize any option. It will interpret all options as
2163 # directories to create, and then abort because `.' already
2165 for d in ./-p ./--version;
2167 test -d $d && rmdir $d
2169 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2170 if test -f "$ac_aux_dir/mkinstalldirs"; then
2171 mkdir_p='$(mkinstalldirs)'
2173 mkdir_p='$(install_sh) -d'
2177 for ac_prog in gawk mawk nawk awk
2179 # Extract the first word of "$ac_prog", so it can be a program name with args.
2180 set dummy $ac_prog; ac_word=$2
2181 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 $as_echo_n "checking for $ac_word... " >&6; }
2183 if test "${ac_cv_prog_AWK+set}" = set; then
2184 $as_echo_n "(cached) " >&6
2186 if test -n "$AWK"; then
2187 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 test -z "$as_dir" && as_dir=.
2194 for ac_exec_ext in '' $ac_executable_extensions; do
2195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2196 ac_cv_prog_AWK="$ac_prog"
2197 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 if test -n "$AWK"; then
2208 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2209 $as_echo "$AWK" >&6; }
2211 { $as_echo "$as_me:$LINENO: result: no" >&5
2212 $as_echo "no" >&6; }
2216 test -n "$AWK" && break
2219 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2220 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2222 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2223 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2224 $as_echo_n "(cached) " >&6
2226 cat >conftest.make <<\_ACEOF
2229 @echo '@@@%%%=$(MAKE)=@@@%%%'
2231 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2232 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2234 eval ac_cv_prog_make_${ac_make}_set=yes;;
2236 eval ac_cv_prog_make_${ac_make}_set=no;;
2240 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2241 { $as_echo "$as_me:$LINENO: result: yes" >&5
2242 $as_echo "yes" >&6; }
2245 { $as_echo "$as_me:$LINENO: result: no" >&5
2246 $as_echo "no" >&6; }
2247 SET_MAKE="MAKE=${MAKE-make}"
2250 rm -rf .tst 2>/dev/null
2251 mkdir .tst 2>/dev/null
2252 if test -d .tst; then
2257 rmdir .tst 2>/dev/null
2259 # test to see if srcdir already configured
2260 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2261 test -f $srcdir/config.status; then
2262 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2263 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2264 { (exit 1); exit 1; }; }
2267 # test whether we have cygpath
2268 if test -z "$CYGPATH_W"; then
2269 if (cygpath --version) >/dev/null 2>/dev/null; then
2270 CYGPATH_W='cygpath -w'
2277 # Define the identity of the package.
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE "$PACKAGE"
2287 cat >>confdefs.h <<_ACEOF
2288 #define VERSION "$VERSION"
2291 # Some tools Automake needs.
2293 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2296 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2299 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2302 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2305 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2307 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2309 # Installed binaries are usually stripped using `strip' when the user
2310 # run `make install-strip'. However `strip' might not be the right
2311 # tool to use in cross-compilation environments, therefore Automake
2312 # will honor the `STRIP' environment variable to overrule this program.
2313 if test "$cross_compiling" != no; then
2314 if test -n "$ac_tool_prefix"; then
2315 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2316 set dummy ${ac_tool_prefix}strip; ac_word=$2
2317 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2318 $as_echo_n "checking for $ac_word... " >&6; }
2319 if test "${ac_cv_prog_STRIP+set}" = set; then
2320 $as_echo_n "(cached) " >&6
2322 if test -n "$STRIP"; then
2323 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 test -z "$as_dir" && as_dir=.
2330 for ac_exec_ext in '' $ac_executable_extensions; do
2331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2332 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2333 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2342 STRIP=$ac_cv_prog_STRIP
2343 if test -n "$STRIP"; then
2344 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2345 $as_echo "$STRIP" >&6; }
2347 { $as_echo "$as_me:$LINENO: result: no" >&5
2348 $as_echo "no" >&6; }
2353 if test -z "$ac_cv_prog_STRIP"; then
2355 # Extract the first word of "strip", so it can be a program name with args.
2356 set dummy strip; ac_word=$2
2357 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2358 $as_echo_n "checking for $ac_word... " >&6; }
2359 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2360 $as_echo_n "(cached) " >&6
2362 if test -n "$ac_ct_STRIP"; then
2363 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2369 test -z "$as_dir" && as_dir=.
2370 for ac_exec_ext in '' $ac_executable_extensions; do
2371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2372 ac_cv_prog_ac_ct_STRIP="strip"
2373 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2382 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2383 if test -n "$ac_ct_STRIP"; then
2384 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2385 $as_echo "$ac_ct_STRIP" >&6; }
2387 { $as_echo "$as_me:$LINENO: result: no" >&5
2388 $as_echo "no" >&6; }
2391 if test "x$ac_ct_STRIP" = x; then
2394 case $cross_compiling:$ac_tool_warned in
2396 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2397 whose name does not start with the host triplet. If you think this
2398 configuration is useful to you, please write to autoconf@gnu.org." >&5
2399 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2400 whose name does not start with the host triplet. If you think this
2401 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2402 ac_tool_warned=yes ;;
2407 STRIP="$ac_cv_prog_STRIP"
2411 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2413 # We need awk for the "check" target. The system "awk" is bad on
2415 # Always define AMTAR for backward compatibility.
2417 AMTAR=${AMTAR-"${am_missing_run}tar"}
2419 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2425 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2426 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2427 # Check whether --enable-maintainer-mode was given.
2428 if test "${enable_maintainer_mode+set}" = set; then
2429 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2431 USE_MAINTAINER_MODE=no
2434 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2435 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2438 if test $USE_MAINTAINER_MODE = yes; then
2439 MAINTAINER_MODE_TRUE=
2440 MAINTAINER_MODE_FALSE='#'
2442 MAINTAINER_MODE_TRUE='#'
2443 MAINTAINER_MODE_FALSE=
2446 MAINT=$MAINTAINER_MODE_TRUE
2449 ac_config_headers="$ac_config_headers config.h"
2452 DEPDIR="${am__leading_dot}deps"
2454 ac_config_commands="$ac_config_commands depfiles"
2457 am_make=${MAKE-make}
2458 cat > confinc << 'END'
2463 # If we don't find an include directive, just comment out the code.
2464 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2465 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2469 # First try GNU make style include.
2470 echo "include confinc" > confmf
2471 # We grep out `Entering directory' and `Leaving directory'
2472 # messages which can occur if `w' ends up in MAKEFLAGS.
2473 # In particular we don't look at `^make:' because GNU make might
2474 # be invoked under some other name (usually "gmake"), in which
2475 # case it prints its new name instead of `make'.
2476 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2481 # Now try BSD make style include.
2482 if test "$am__include" = "#"; then
2483 echo '.include "confinc"' > confmf
2484 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2485 am__include=.include
2492 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2493 $as_echo "$_am_result" >&6; }
2494 rm -f confinc confmf
2496 # Check whether --enable-dependency-tracking was given.
2497 if test "${enable_dependency_tracking+set}" = set; then
2498 enableval=$enable_dependency_tracking;
2501 if test "x$enable_dependency_tracking" != xno; then
2502 am_depcomp="$ac_aux_dir/depcomp"
2507 if test "x$enable_dependency_tracking" != xno; then
2518 ac_cpp='$CPP $CPPFLAGS'
2519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2522 if test -n "$ac_tool_prefix"; then
2523 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2524 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2525 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2526 $as_echo_n "checking for $ac_word... " >&6; }
2527 if test "${ac_cv_prog_CC+set}" = set; then
2528 $as_echo_n "(cached) " >&6
2530 if test -n "$CC"; then
2531 ac_cv_prog_CC="$CC" # Let the user override the test.
2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir=.
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2540 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2541 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 if test -n "$CC"; then
2552 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2553 $as_echo "$CC" >&6; }
2555 { $as_echo "$as_me:$LINENO: result: no" >&5
2556 $as_echo "no" >&6; }
2561 if test -z "$ac_cv_prog_CC"; then
2563 # Extract the first word of "gcc", so it can be a program name with args.
2564 set dummy gcc; ac_word=$2
2565 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2566 $as_echo_n "checking for $ac_word... " >&6; }
2567 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2568 $as_echo_n "(cached) " >&6
2570 if test -n "$ac_ct_CC"; then
2571 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 test -z "$as_dir" && as_dir=.
2578 for ac_exec_ext in '' $ac_executable_extensions; do
2579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2580 ac_cv_prog_ac_ct_CC="gcc"
2581 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2591 if test -n "$ac_ct_CC"; then
2592 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2593 $as_echo "$ac_ct_CC" >&6; }
2595 { $as_echo "$as_me:$LINENO: result: no" >&5
2596 $as_echo "no" >&6; }
2599 if test "x$ac_ct_CC" = x; then
2602 case $cross_compiling:$ac_tool_warned in
2604 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2605 whose name does not start with the host triplet. If you think this
2606 configuration is useful to you, please write to autoconf@gnu.org." >&5
2607 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2608 whose name does not start with the host triplet. If you think this
2609 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2610 ac_tool_warned=yes ;;
2618 if test -z "$CC"; then
2619 if test -n "$ac_tool_prefix"; then
2620 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2621 set dummy ${ac_tool_prefix}cc; ac_word=$2
2622 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2623 $as_echo_n "checking for $ac_word... " >&6; }
2624 if test "${ac_cv_prog_CC+set}" = set; then
2625 $as_echo_n "(cached) " >&6
2627 if test -n "$CC"; then
2628 ac_cv_prog_CC="$CC" # Let the user override the test.
2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2634 test -z "$as_dir" && as_dir=.
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2637 ac_cv_prog_CC="${ac_tool_prefix}cc"
2638 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 if test -n "$CC"; then
2649 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2650 $as_echo "$CC" >&6; }
2652 { $as_echo "$as_me:$LINENO: result: no" >&5
2653 $as_echo "no" >&6; }
2659 if test -z "$CC"; then
2660 # Extract the first word of "cc", so it can be a program name with args.
2661 set dummy cc; ac_word=$2
2662 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2663 $as_echo_n "checking for $ac_word... " >&6; }
2664 if test "${ac_cv_prog_CC+set}" = set; then
2665 $as_echo_n "(cached) " >&6
2667 if test -n "$CC"; then
2668 ac_cv_prog_CC="$CC" # Let the user override the test.
2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675 test -z "$as_dir" && as_dir=.
2676 for ac_exec_ext in '' $ac_executable_extensions; do
2677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2678 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2679 ac_prog_rejected=yes
2683 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 if test $ac_prog_rejected = yes; then
2691 # We found a bogon in the path, so make sure we never use it.
2692 set dummy $ac_cv_prog_CC
2694 if test $# != 0; then
2695 # We chose a different compiler from the bogus one.
2696 # However, it has the same basename, so the bogon will be chosen
2697 # first if we set CC to just the basename; use the full file name.
2699 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2705 if test -n "$CC"; then
2706 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2707 $as_echo "$CC" >&6; }
2709 { $as_echo "$as_me:$LINENO: result: no" >&5
2710 $as_echo "no" >&6; }
2715 if test -z "$CC"; then
2716 if test -n "$ac_tool_prefix"; then
2717 for ac_prog in cl.exe
2719 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2720 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2721 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2722 $as_echo_n "checking for $ac_word... " >&6; }
2723 if test "${ac_cv_prog_CC+set}" = set; then
2724 $as_echo_n "(cached) " >&6
2726 if test -n "$CC"; then
2727 ac_cv_prog_CC="$CC" # Let the user override the test.
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733 test -z "$as_dir" && as_dir=.
2734 for ac_exec_ext in '' $ac_executable_extensions; do
2735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2736 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2737 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 if test -n "$CC"; then
2748 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2749 $as_echo "$CC" >&6; }
2751 { $as_echo "$as_me:$LINENO: result: no" >&5
2752 $as_echo "no" >&6; }
2756 test -n "$CC" && break
2759 if test -z "$CC"; then
2761 for ac_prog in cl.exe
2763 # Extract the first word of "$ac_prog", so it can be a program name with args.
2764 set dummy $ac_prog; ac_word=$2
2765 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2768 $as_echo_n "(cached) " >&6
2770 if test -n "$ac_ct_CC"; then
2771 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir=.
2778 for ac_exec_ext in '' $ac_executable_extensions; do
2779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2780 ac_cv_prog_ac_ct_CC="$ac_prog"
2781 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2791 if test -n "$ac_ct_CC"; then
2792 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2793 $as_echo "$ac_ct_CC" >&6; }
2795 { $as_echo "$as_me:$LINENO: result: no" >&5
2796 $as_echo "no" >&6; }
2800 test -n "$ac_ct_CC" && break
2803 if test "x$ac_ct_CC" = x; then
2806 case $cross_compiling:$ac_tool_warned in
2808 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2809 whose name does not start with the host triplet. If you think this
2810 configuration is useful to you, please write to autoconf@gnu.org." >&5
2811 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2812 whose name does not start with the host triplet. If you think this
2813 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2814 ac_tool_warned=yes ;;
2823 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2824 See \`config.log' for more details." >&5
2825 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2826 See \`config.log' for more details." >&2;}
2827 { (exit 1); exit 1; }; }
2829 # Provide some information about the compiler.
2830 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2833 { (ac_try="$ac_compiler --version >&5"
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2839 $as_echo "$ac_try_echo") >&5
2840 (eval "$ac_compiler --version >&5") 2>&5
2842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }
2844 { (ac_try="$ac_compiler -v >&5"
2846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2847 *) ac_try_echo=$ac_try;;
2849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2850 $as_echo "$ac_try_echo") >&5
2851 (eval "$ac_compiler -v >&5") 2>&5
2853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); }
2855 { (ac_try="$ac_compiler -V >&5"
2857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2858 *) ac_try_echo=$ac_try;;
2860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2861 $as_echo "$ac_try_echo") >&5
2862 (eval "$ac_compiler -V >&5") 2>&5
2864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); }
2867 cat >conftest.$ac_ext <<_ACEOF
2870 cat confdefs.h >>conftest.$ac_ext
2871 cat >>conftest.$ac_ext <<_ACEOF
2872 /* end confdefs.h. */
2882 ac_clean_files_save=$ac_clean_files
2883 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2884 # Try to create an executable without -o first, disregard a.out.
2885 # It will help us diagnose broken compilers, and finding out an intuition
2887 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2888 $as_echo_n "checking for C compiler default output file name... " >&6; }
2889 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2891 # The possible output files:
2892 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2895 for ac_file in $ac_files
2898 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2899 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2904 if { (ac_try="$ac_link_default"
2906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907 *) ac_try_echo=$ac_try;;
2909 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2910 $as_echo "$ac_try_echo") >&5
2911 (eval "$ac_link_default") 2>&5
2913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }; then
2915 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2916 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2917 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2918 # so that the user can short-circuit this test for compilers unknown to
2920 for ac_file in $ac_files ''
2922 test -f "$ac_file" || continue
2924 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2927 # We found the default executable, but exeext='' is most
2931 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2933 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2935 # We set ac_cv_exeext here because the later test for it is not
2936 # safe: cross compilers may not add the suffix if given an `-o'
2937 # argument, so we may need to know it at that point already.
2938 # Even if this section looks crufty: it has the advantage of
2945 test "$ac_cv_exeext" = no && ac_cv_exeext=
2951 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2952 $as_echo "$ac_file" >&6; }
2953 if test -z "$ac_file"; then
2954 $as_echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2957 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2958 See \`config.log' for more details." >&5
2959 $as_echo "$as_me: error: C compiler cannot create executables
2960 See \`config.log' for more details." >&2;}
2961 { (exit 77); exit 77; }; }
2964 ac_exeext=$ac_cv_exeext
2966 # Check that the compiler produces executables we can run. If not, either
2967 # the compiler is broken, or we cross compile.
2968 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2969 $as_echo_n "checking whether the C compiler works... " >&6; }
2970 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2971 # If not cross compiling, check that we can run a simple program.
2972 if test "$cross_compiling" != yes; then
2973 if { ac_try='./$ac_file'
2974 { (case "(($ac_try" in
2975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976 *) ac_try_echo=$ac_try;;
2978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2979 $as_echo "$ac_try_echo") >&5
2980 (eval "$ac_try") 2>&5
2982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); }; }; then
2986 if test "$cross_compiling" = maybe; then
2989 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2990 If you meant to cross compile, use \`--host'.
2991 See \`config.log' for more details." >&5
2992 $as_echo "$as_me: error: cannot run C compiled programs.
2993 If you meant to cross compile, use \`--host'.
2994 See \`config.log' for more details." >&2;}
2995 { (exit 1); exit 1; }; }
2999 { $as_echo "$as_me:$LINENO: result: yes" >&5
3000 $as_echo "yes" >&6; }
3002 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3003 ac_clean_files=$ac_clean_files_save
3004 # Check that the compiler produces executables we can run. If not, either
3005 # the compiler is broken, or we cross compile.
3006 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3007 $as_echo_n "checking whether we are cross compiling... " >&6; }
3008 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3009 $as_echo "$cross_compiling" >&6; }
3011 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3012 $as_echo_n "checking for suffix of executables... " >&6; }
3013 if { (ac_try="$ac_link"
3015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3019 $as_echo "$ac_try_echo") >&5
3020 (eval "$ac_link") 2>&5
3022 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); }; then
3024 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3025 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3026 # work properly (i.e., refer to `conftest.exe'), while it won't with
3028 for ac_file in conftest.exe conftest conftest.*; do
3029 test -f "$ac_file" || continue
3031 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3032 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3038 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3039 See \`config.log' for more details." >&5
3040 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3041 See \`config.log' for more details." >&2;}
3042 { (exit 1); exit 1; }; }
3045 rm -f conftest$ac_cv_exeext
3046 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3047 $as_echo "$ac_cv_exeext" >&6; }
3049 rm -f conftest.$ac_ext
3050 EXEEXT=$ac_cv_exeext
3052 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3053 $as_echo_n "checking for suffix of object files... " >&6; }
3054 if test "${ac_cv_objext+set}" = set; then
3055 $as_echo_n "(cached) " >&6
3057 cat >conftest.$ac_ext <<_ACEOF
3060 cat confdefs.h >>conftest.$ac_ext
3061 cat >>conftest.$ac_ext <<_ACEOF
3062 /* end confdefs.h. */
3072 rm -f conftest.o conftest.obj
3073 if { (ac_try="$ac_compile"
3075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3076 *) ac_try_echo=$ac_try;;
3078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3079 $as_echo "$ac_try_echo") >&5
3080 (eval "$ac_compile") 2>&5
3082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); }; then
3084 for ac_file in conftest.o conftest.obj conftest.*; do
3085 test -f "$ac_file" || continue;
3087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3088 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3093 $as_echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.$ac_ext >&5
3096 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3097 See \`config.log' for more details." >&5
3098 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3099 See \`config.log' for more details." >&2;}
3100 { (exit 1); exit 1; }; }
3103 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3105 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3106 $as_echo "$ac_cv_objext" >&6; }
3107 OBJEXT=$ac_cv_objext
3109 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3110 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3111 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3112 $as_echo_n "(cached) " >&6
3114 cat >conftest.$ac_ext <<_ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3132 rm -f conftest.$ac_objext
3133 if { (ac_try="$ac_compile"
3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3139 $as_echo "$ac_try_echo") >&5
3140 (eval "$ac_compile") 2>conftest.er1
3142 grep -v '^ *+' conftest.er1 >conftest.err
3144 cat conftest.err >&5
3145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146 (exit $ac_status); } && {
3147 test -z "$ac_c_werror_flag" ||
3148 test ! -s conftest.err
3149 } && test -s conftest.$ac_objext; then
3152 $as_echo "$as_me: failed program was:" >&5
3153 sed 's/^/| /' conftest.$ac_ext >&5
3158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3159 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3162 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3163 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3164 if test $ac_compiler_gnu = yes; then
3169 ac_test_CFLAGS=${CFLAGS+set}
3170 ac_save_CFLAGS=$CFLAGS
3171 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3172 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3173 if test "${ac_cv_prog_cc_g+set}" = set; then
3174 $as_echo_n "(cached) " >&6
3176 ac_save_c_werror_flag=$ac_c_werror_flag
3177 ac_c_werror_flag=yes
3180 cat >conftest.$ac_ext <<_ACEOF
3183 cat confdefs.h >>conftest.$ac_ext
3184 cat >>conftest.$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3195 rm -f conftest.$ac_objext
3196 if { (ac_try="$ac_compile"
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3202 $as_echo "$ac_try_echo") >&5
3203 (eval "$ac_compile") 2>conftest.er1
3205 grep -v '^ *+' conftest.er1 >conftest.err
3207 cat conftest.err >&5
3208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); } && {
3210 test -z "$ac_c_werror_flag" ||
3211 test ! -s conftest.err
3212 } && test -s conftest.$ac_objext; then
3215 $as_echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3219 cat >conftest.$ac_ext <<_ACEOF
3222 cat confdefs.h >>conftest.$ac_ext
3223 cat >>conftest.$ac_ext <<_ACEOF
3224 /* end confdefs.h. */
3234 rm -f conftest.$ac_objext
3235 if { (ac_try="$ac_compile"
3237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3238 *) ac_try_echo=$ac_try;;
3240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3241 $as_echo "$ac_try_echo") >&5
3242 (eval "$ac_compile") 2>conftest.er1
3244 grep -v '^ *+' conftest.er1 >conftest.err
3246 cat conftest.err >&5
3247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); } && {
3249 test -z "$ac_c_werror_flag" ||
3250 test ! -s conftest.err
3251 } && test -s conftest.$ac_objext; then
3254 $as_echo "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.$ac_ext >&5
3257 ac_c_werror_flag=$ac_save_c_werror_flag
3259 cat >conftest.$ac_ext <<_ACEOF
3262 cat confdefs.h >>conftest.$ac_ext
3263 cat >>conftest.$ac_ext <<_ACEOF
3264 /* end confdefs.h. */
3274 rm -f conftest.$ac_objext
3275 if { (ac_try="$ac_compile"
3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3281 $as_echo "$ac_try_echo") >&5
3282 (eval "$ac_compile") 2>conftest.er1
3284 grep -v '^ *+' conftest.er1 >conftest.err
3286 cat conftest.err >&5
3287 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); } && {
3289 test -z "$ac_c_werror_flag" ||
3290 test ! -s conftest.err
3291 } && test -s conftest.$ac_objext; then
3294 $as_echo "$as_me: failed program was:" >&5
3295 sed 's/^/| /' conftest.$ac_ext >&5
3300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 ac_c_werror_flag=$ac_save_c_werror_flag
3309 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3310 $as_echo "$ac_cv_prog_cc_g" >&6; }
3311 if test "$ac_test_CFLAGS" = set; then
3312 CFLAGS=$ac_save_CFLAGS
3313 elif test $ac_cv_prog_cc_g = yes; then
3314 if test "$GCC" = yes; then
3320 if test "$GCC" = yes; then
3326 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3327 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3328 if test "${ac_cv_prog_cc_c89+set}" = set; then
3329 $as_echo_n "(cached) " >&6
3331 ac_cv_prog_cc_c89=no
3333 cat >conftest.$ac_ext <<_ACEOF
3336 cat confdefs.h >>conftest.$ac_ext
3337 cat >>conftest.$ac_ext <<_ACEOF
3338 /* end confdefs.h. */
3341 #include <sys/types.h>
3342 #include <sys/stat.h>
3343 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3344 struct buf { int x; };
3345 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3346 static char *e (p, i)
3352 static char *f (char * (*g) (char **, int), char **p, ...)
3357 s = g (p, va_arg (v,int));
3362 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3363 function prototypes and stuff, but not '\xHH' hex character constants.
3364 These don't provoke an error unfortunately, instead are silently treated
3365 as 'x'. The following induces an error, until -std is added to get
3366 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3367 array size at least. It's necessary to write '\x00'==0 to get something
3368 that's true only with -std. */
3369 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3371 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3372 inside strings and character constants. */
3374 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3376 int test (int i, double x);
3377 struct s1 {int (*f) (int a);};
3378 struct s2 {int (*f) (double a);};
3379 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3385 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3390 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3391 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3393 CC="$ac_save_CC $ac_arg"
3394 rm -f conftest.$ac_objext
3395 if { (ac_try="$ac_compile"
3397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3398 *) ac_try_echo=$ac_try;;
3400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3401 $as_echo "$ac_try_echo") >&5
3402 (eval "$ac_compile") 2>conftest.er1
3404 grep -v '^ *+' conftest.er1 >conftest.err
3406 cat conftest.err >&5
3407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); } && {
3409 test -z "$ac_c_werror_flag" ||
3410 test ! -s conftest.err
3411 } && test -s conftest.$ac_objext; then
3412 ac_cv_prog_cc_c89=$ac_arg
3414 $as_echo "$as_me: failed program was:" >&5
3415 sed 's/^/| /' conftest.$ac_ext >&5
3420 rm -f core conftest.err conftest.$ac_objext
3421 test "x$ac_cv_prog_cc_c89" != "xno" && break
3423 rm -f conftest.$ac_ext
3428 case "x$ac_cv_prog_cc_c89" in
3430 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3431 $as_echo "none needed" >&6; } ;;
3433 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3434 $as_echo "unsupported" >&6; } ;;
3436 CC="$CC $ac_cv_prog_cc_c89"
3437 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3438 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3443 ac_cpp='$CPP $CPPFLAGS'
3444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3448 depcc="$CC" am_compiler_list=
3450 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3451 $as_echo_n "checking dependency style of $depcc... " >&6; }
3452 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3453 $as_echo_n "(cached) " >&6
3455 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3456 # We make a subdir and do the tests there. Otherwise we can end up
3457 # making bogus files that we don't know about and never remove. For
3458 # instance it was reported that on HP-UX the gcc test will end up
3459 # making a dummy file named `D' -- because `-MD' means `put the output
3462 # Copy depcomp to subdir because otherwise we won't find it if we're
3463 # using a relative directory.
3464 cp "$am_depcomp" conftest.dir
3466 # We will build objects and dependencies in a subdirectory because
3467 # it helps to detect inapplicable dependency modes. For instance
3468 # both Tru64's cc and ICC support -MD to output dependencies as a
3469 # side effect of compilation, but ICC will put the dependencies in
3470 # the current directory while Tru64 will put them in the object
3474 am_cv_CC_dependencies_compiler_type=none
3475 if test "$am_compiler_list" = ""; then
3476 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3478 for depmode in $am_compiler_list; do
3479 # Setup a source with many dependencies, because some compilers
3480 # like to wrap large dependency lists on column 80 (with \), and
3481 # we should not choose a depcomp mode which is confused by this.
3483 # We need to recreate these files for each test, as the compiler may
3484 # overwrite some of them when testing with obscure command lines.
3485 # This happens at least with the AIX C compiler.
3487 for i in 1 2 3 4 5 6; do
3488 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3489 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3490 # Solaris 8's {/usr,}/bin/sh.
3491 touch sub/conftst$i.h
3493 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3497 # after this tag, mechanisms are not by side-effect, so they'll
3498 # only be used when explicitly requested
3499 if test "x$enable_dependency_tracking" = xyes; then
3507 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3508 # mode. It turns out that the SunPro C++ compiler does not properly
3509 # handle `-M -o', and we need to detect this.
3510 if depmode=$depmode \
3511 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3512 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3513 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3514 >/dev/null 2>conftest.err &&
3515 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3516 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3517 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3518 # icc doesn't choke on unknown options, it will just issue warnings
3519 # or remarks (even with -Werror). So we grep stderr for any message
3520 # that says an option was ignored or not supported.
3521 # When given -MP, icc 7.0 and 7.1 complain thusly:
3522 # icc: Command line warning: ignoring option '-M'; no argument required
3523 # The diagnosis changed in icc 8.0:
3524 # icc: Command line remark: option '-MP' not supported
3525 if (grep 'ignoring option' conftest.err ||
3526 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3527 am_cv_CC_dependencies_compiler_type=$depmode
3536 am_cv_CC_dependencies_compiler_type=none
3540 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3541 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3542 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3547 test "x$enable_dependency_tracking" != xno \
3548 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3550 am__fastdepCC_FALSE='#'
3552 am__fastdepCC_TRUE='#'
3553 am__fastdepCC_FALSE=
3559 { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3560 $as_echo_n "checking for strerror in -lcposix... " >&6; }
3561 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3562 $as_echo_n "(cached) " >&6
3564 ac_check_lib_save_LIBS=$LIBS
3565 LIBS="-lcposix $LIBS"
3566 cat >conftest.$ac_ext <<_ACEOF
3569 cat confdefs.h >>conftest.$ac_ext
3570 cat >>conftest.$ac_ext <<_ACEOF
3571 /* end confdefs.h. */
3573 /* Override any GCC internal prototype to avoid an error.
3574 Use char because int might match the return type of a GCC
3575 builtin and then its argument prototype would still apply. */
3588 rm -f conftest.$ac_objext conftest$ac_exeext
3589 if { (ac_try="$ac_link"
3591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3592 *) ac_try_echo=$ac_try;;
3594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3595 $as_echo "$ac_try_echo") >&5
3596 (eval "$ac_link") 2>conftest.er1
3598 grep -v '^ *+' conftest.er1 >conftest.err
3600 cat conftest.err >&5
3601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); } && {
3603 test -z "$ac_c_werror_flag" ||
3604 test ! -s conftest.err
3605 } && test -s conftest$ac_exeext && {
3606 test "$cross_compiling" = yes ||
3607 $as_test_x conftest$ac_exeext
3609 ac_cv_lib_cposix_strerror=yes
3611 $as_echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.$ac_ext >&5
3614 ac_cv_lib_cposix_strerror=no
3617 rm -rf conftest.dSYM
3618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3619 conftest$ac_exeext conftest.$ac_ext
3620 LIBS=$ac_check_lib_save_LIBS
3622 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3623 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
3624 if test $ac_cv_lib_cposix_strerror = yes; then
3625 LIBS="$LIBS -lcposix"
3631 ac_cpp='$CPP $CPPFLAGS'
3632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3635 if test -n "$ac_tool_prefix"; then
3636 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3637 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3638 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if test "${ac_cv_prog_CC+set}" = set; then
3641 $as_echo_n "(cached) " >&6
3643 if test -n "$CC"; then
3644 ac_cv_prog_CC="$CC" # Let the user override the test.
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3653 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3654 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 if test -n "$CC"; then
3665 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3666 $as_echo "$CC" >&6; }
3668 { $as_echo "$as_me:$LINENO: result: no" >&5
3669 $as_echo "no" >&6; }
3674 if test -z "$ac_cv_prog_CC"; then
3676 # Extract the first word of "gcc", so it can be a program name with args.
3677 set dummy gcc; ac_word=$2
3678 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3681 $as_echo_n "(cached) " >&6
3683 if test -n "$ac_ct_CC"; then
3684 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 test -z "$as_dir" && as_dir=.
3691 for ac_exec_ext in '' $ac_executable_extensions; do
3692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3693 ac_cv_prog_ac_ct_CC="gcc"
3694 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3704 if test -n "$ac_ct_CC"; then
3705 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3706 $as_echo "$ac_ct_CC" >&6; }
3708 { $as_echo "$as_me:$LINENO: result: no" >&5
3709 $as_echo "no" >&6; }
3712 if test "x$ac_ct_CC" = x; then
3715 case $cross_compiling:$ac_tool_warned in
3717 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3718 whose name does not start with the host triplet. If you think this
3719 configuration is useful to you, please write to autoconf@gnu.org." >&5
3720 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3721 whose name does not start with the host triplet. If you think this
3722 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3723 ac_tool_warned=yes ;;
3731 if test -z "$CC"; then
3732 if test -n "$ac_tool_prefix"; then
3733 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3734 set dummy ${ac_tool_prefix}cc; ac_word=$2
3735 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3736 $as_echo_n "checking for $ac_word... " >&6; }
3737 if test "${ac_cv_prog_CC+set}" = set; then
3738 $as_echo_n "(cached) " >&6
3740 if test -n "$CC"; then
3741 ac_cv_prog_CC="$CC" # Let the user override the test.
3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 test -z "$as_dir" && as_dir=.
3748 for ac_exec_ext in '' $ac_executable_extensions; do
3749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3750 ac_cv_prog_CC="${ac_tool_prefix}cc"
3751 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 if test -n "$CC"; then
3762 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3763 $as_echo "$CC" >&6; }
3765 { $as_echo "$as_me:$LINENO: result: no" >&5
3766 $as_echo "no" >&6; }
3772 if test -z "$CC"; then
3773 # Extract the first word of "cc", so it can be a program name with args.
3774 set dummy cc; ac_word=$2
3775 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3776 $as_echo_n "checking for $ac_word... " >&6; }
3777 if test "${ac_cv_prog_CC+set}" = set; then
3778 $as_echo_n "(cached) " >&6
3780 if test -n "$CC"; then
3781 ac_cv_prog_CC="$CC" # Let the user override the test.
3784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788 test -z "$as_dir" && as_dir=.
3789 for ac_exec_ext in '' $ac_executable_extensions; do
3790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3791 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3792 ac_prog_rejected=yes
3796 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 if test $ac_prog_rejected = yes; then
3804 # We found a bogon in the path, so make sure we never use it.
3805 set dummy $ac_cv_prog_CC
3807 if test $# != 0; then
3808 # We chose a different compiler from the bogus one.
3809 # However, it has the same basename, so the bogon will be chosen
3810 # first if we set CC to just the basename; use the full file name.
3812 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3818 if test -n "$CC"; then
3819 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3820 $as_echo "$CC" >&6; }
3822 { $as_echo "$as_me:$LINENO: result: no" >&5
3823 $as_echo "no" >&6; }
3828 if test -z "$CC"; then
3829 if test -n "$ac_tool_prefix"; then
3830 for ac_prog in cl.exe
3832 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3833 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3834 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3835 $as_echo_n "checking for $ac_word... " >&6; }
3836 if test "${ac_cv_prog_CC+set}" = set; then
3837 $as_echo_n "(cached) " >&6
3839 if test -n "$CC"; then
3840 ac_cv_prog_CC="$CC" # Let the user override the test.
3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846 test -z "$as_dir" && as_dir=.
3847 for ac_exec_ext in '' $ac_executable_extensions; do
3848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3849 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3850 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3860 if test -n "$CC"; then
3861 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3862 $as_echo "$CC" >&6; }
3864 { $as_echo "$as_me:$LINENO: result: no" >&5
3865 $as_echo "no" >&6; }
3869 test -n "$CC" && break
3872 if test -z "$CC"; then
3874 for ac_prog in cl.exe
3876 # Extract the first word of "$ac_prog", so it can be a program name with args.
3877 set dummy $ac_prog; ac_word=$2
3878 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3879 $as_echo_n "checking for $ac_word... " >&6; }
3880 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3881 $as_echo_n "(cached) " >&6
3883 if test -n "$ac_ct_CC"; then
3884 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890 test -z "$as_dir" && as_dir=.
3891 for ac_exec_ext in '' $ac_executable_extensions; do
3892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3893 ac_cv_prog_ac_ct_CC="$ac_prog"
3894 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3903 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3904 if test -n "$ac_ct_CC"; then
3905 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3906 $as_echo "$ac_ct_CC" >&6; }
3908 { $as_echo "$as_me:$LINENO: result: no" >&5
3909 $as_echo "no" >&6; }
3913 test -n "$ac_ct_CC" && break
3916 if test "x$ac_ct_CC" = x; then
3919 case $cross_compiling:$ac_tool_warned in
3921 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3922 whose name does not start with the host triplet. If you think this
3923 configuration is useful to you, please write to autoconf@gnu.org." >&5
3924 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3925 whose name does not start with the host triplet. If you think this
3926 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3927 ac_tool_warned=yes ;;
3936 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3937 See \`config.log' for more details." >&5
3938 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3939 See \`config.log' for more details." >&2;}
3940 { (exit 1); exit 1; }; }
3942 # Provide some information about the compiler.
3943 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3946 { (ac_try="$ac_compiler --version >&5"
3948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3949 *) ac_try_echo=$ac_try;;
3951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3952 $as_echo "$ac_try_echo") >&5
3953 (eval "$ac_compiler --version >&5") 2>&5
3955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); }
3957 { (ac_try="$ac_compiler -v >&5"
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3963 $as_echo "$ac_try_echo") >&5
3964 (eval "$ac_compiler -v >&5") 2>&5
3966 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); }
3968 { (ac_try="$ac_compiler -V >&5"
3970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3971 *) ac_try_echo=$ac_try;;
3973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3974 $as_echo "$ac_try_echo") >&5
3975 (eval "$ac_compiler -V >&5") 2>&5
3977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); }
3980 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3981 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3982 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3983 $as_echo_n "(cached) " >&6
3985 cat >conftest.$ac_ext <<_ACEOF
3988 cat confdefs.h >>conftest.$ac_ext
3989 cat >>conftest.$ac_ext <<_ACEOF
3990 /* end confdefs.h. */
4003 rm -f conftest.$ac_objext
4004 if { (ac_try="$ac_compile"
4006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4007 *) ac_try_echo=$ac_try;;
4009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4010 $as_echo "$ac_try_echo") >&5
4011 (eval "$ac_compile") 2>conftest.er1
4013 grep -v '^ *+' conftest.er1 >conftest.err
4015 cat conftest.err >&5
4016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); } && {
4018 test -z "$ac_c_werror_flag" ||
4019 test ! -s conftest.err
4020 } && test -s conftest.$ac_objext; then
4023 $as_echo "$as_me: failed program was:" >&5
4024 sed 's/^/| /' conftest.$ac_ext >&5
4029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4030 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4033 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4034 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4035 if test $ac_compiler_gnu = yes; then
4040 ac_test_CFLAGS=${CFLAGS+set}
4041 ac_save_CFLAGS=$CFLAGS
4042 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4043 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4044 if test "${ac_cv_prog_cc_g+set}" = set; then
4045 $as_echo_n "(cached) " >&6
4047 ac_save_c_werror_flag=$ac_c_werror_flag
4048 ac_c_werror_flag=yes
4051 cat >conftest.$ac_ext <<_ACEOF
4054 cat confdefs.h >>conftest.$ac_ext
4055 cat >>conftest.$ac_ext <<_ACEOF
4056 /* 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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4073 $as_echo "$ac_try_echo") >&5
4074 (eval "$ac_compile") 2>conftest.er1
4076 grep -v '^ *+' conftest.er1 >conftest.err
4078 cat conftest.err >&5
4079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080 (exit $ac_status); } && {
4081 test -z "$ac_c_werror_flag" ||
4082 test ! -s conftest.err
4083 } && test -s conftest.$ac_objext; then
4086 $as_echo "$as_me: failed program was:" >&5
4087 sed 's/^/| /' conftest.$ac_ext >&5
4090 cat >conftest.$ac_ext <<_ACEOF
4093 cat confdefs.h >>conftest.$ac_ext
4094 cat >>conftest.$ac_ext <<_ACEOF
4095 /* end confdefs.h. */
4105 rm -f conftest.$ac_objext
4106 if { (ac_try="$ac_compile"
4108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4112 $as_echo "$ac_try_echo") >&5
4113 (eval "$ac_compile") 2>conftest.er1
4115 grep -v '^ *+' conftest.er1 >conftest.err
4117 cat conftest.err >&5
4118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); } && {
4120 test -z "$ac_c_werror_flag" ||
4121 test ! -s conftest.err
4122 } && test -s conftest.$ac_objext; then
4125 $as_echo "$as_me: failed program was:" >&5
4126 sed 's/^/| /' conftest.$ac_ext >&5
4128 ac_c_werror_flag=$ac_save_c_werror_flag
4130 cat >conftest.$ac_ext <<_ACEOF
4133 cat confdefs.h >>conftest.$ac_ext
4134 cat >>conftest.$ac_ext <<_ACEOF
4135 /* end confdefs.h. */
4145 rm -f conftest.$ac_objext
4146 if { (ac_try="$ac_compile"
4148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4149 *) ac_try_echo=$ac_try;;
4151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4152 $as_echo "$ac_try_echo") >&5
4153 (eval "$ac_compile") 2>conftest.er1
4155 grep -v '^ *+' conftest.er1 >conftest.err
4157 cat conftest.err >&5
4158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); } && {
4160 test -z "$ac_c_werror_flag" ||
4161 test ! -s conftest.err
4162 } && test -s conftest.$ac_objext; then
4165 $as_echo "$as_me: failed program was:" >&5
4166 sed 's/^/| /' conftest.$ac_ext >&5
4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178 ac_c_werror_flag=$ac_save_c_werror_flag
4180 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4181 $as_echo "$ac_cv_prog_cc_g" >&6; }
4182 if test "$ac_test_CFLAGS" = set; then
4183 CFLAGS=$ac_save_CFLAGS
4184 elif test $ac_cv_prog_cc_g = yes; then
4185 if test "$GCC" = yes; then
4191 if test "$GCC" = yes; then
4197 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4198 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4199 if test "${ac_cv_prog_cc_c89+set}" = set; then
4200 $as_echo_n "(cached) " >&6
4202 ac_cv_prog_cc_c89=no
4204 cat >conftest.$ac_ext <<_ACEOF
4207 cat confdefs.h >>conftest.$ac_ext
4208 cat >>conftest.$ac_ext <<_ACEOF
4209 /* end confdefs.h. */
4212 #include <sys/types.h>
4213 #include <sys/stat.h>
4214 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4215 struct buf { int x; };
4216 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4217 static char *e (p, i)
4223 static char *f (char * (*g) (char **, int), char **p, ...)
4228 s = g (p, va_arg (v,int));
4233 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4234 function prototypes and stuff, but not '\xHH' hex character constants.
4235 These don't provoke an error unfortunately, instead are silently treated
4236 as 'x'. The following induces an error, until -std is added to get
4237 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4238 array size at least. It's necessary to write '\x00'==0 to get something
4239 that's true only with -std. */
4240 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4242 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4243 inside strings and character constants. */
4245 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4247 int test (int i, double x);
4248 struct s1 {int (*f) (int a);};
4249 struct s2 {int (*f) (double a);};
4250 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4256 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4261 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4262 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4264 CC="$ac_save_CC $ac_arg"
4265 rm -f conftest.$ac_objext
4266 if { (ac_try="$ac_compile"
4268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4269 *) ac_try_echo=$ac_try;;
4271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4272 $as_echo "$ac_try_echo") >&5
4273 (eval "$ac_compile") 2>conftest.er1
4275 grep -v '^ *+' conftest.er1 >conftest.err
4277 cat conftest.err >&5
4278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4279 (exit $ac_status); } && {
4280 test -z "$ac_c_werror_flag" ||
4281 test ! -s conftest.err
4282 } && test -s conftest.$ac_objext; then
4283 ac_cv_prog_cc_c89=$ac_arg
4285 $as_echo "$as_me: failed program was:" >&5
4286 sed 's/^/| /' conftest.$ac_ext >&5
4291 rm -f core conftest.err conftest.$ac_objext
4292 test "x$ac_cv_prog_cc_c89" != "xno" && break
4294 rm -f conftest.$ac_ext
4299 case "x$ac_cv_prog_cc_c89" in
4301 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4302 $as_echo "none needed" >&6; } ;;
4304 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4305 $as_echo "unsupported" >&6; } ;;
4307 CC="$CC $ac_cv_prog_cc_c89"
4308 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4309 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4314 ac_cpp='$CPP $CPPFLAGS'
4315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4319 depcc="$CC" am_compiler_list=
4321 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4322 $as_echo_n "checking dependency style of $depcc... " >&6; }
4323 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4324 $as_echo_n "(cached) " >&6
4326 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4327 # We make a subdir and do the tests there. Otherwise we can end up
4328 # making bogus files that we don't know about and never remove. For
4329 # instance it was reported that on HP-UX the gcc test will end up
4330 # making a dummy file named `D' -- because `-MD' means `put the output
4333 # Copy depcomp to subdir because otherwise we won't find it if we're
4334 # using a relative directory.
4335 cp "$am_depcomp" conftest.dir
4337 # We will build objects and dependencies in a subdirectory because
4338 # it helps to detect inapplicable dependency modes. For instance
4339 # both Tru64's cc and ICC support -MD to output dependencies as a
4340 # side effect of compilation, but ICC will put the dependencies in
4341 # the current directory while Tru64 will put them in the object
4345 am_cv_CC_dependencies_compiler_type=none
4346 if test "$am_compiler_list" = ""; then
4347 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4349 for depmode in $am_compiler_list; do
4350 # Setup a source with many dependencies, because some compilers
4351 # like to wrap large dependency lists on column 80 (with \), and
4352 # we should not choose a depcomp mode which is confused by this.
4354 # We need to recreate these files for each test, as the compiler may
4355 # overwrite some of them when testing with obscure command lines.
4356 # This happens at least with the AIX C compiler.
4358 for i in 1 2 3 4 5 6; do
4359 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4360 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4361 # Solaris 8's {/usr,}/bin/sh.
4362 touch sub/conftst$i.h
4364 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4368 # after this tag, mechanisms are not by side-effect, so they'll
4369 # only be used when explicitly requested
4370 if test "x$enable_dependency_tracking" = xyes; then
4378 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4379 # mode. It turns out that the SunPro C++ compiler does not properly
4380 # handle `-M -o', and we need to detect this.
4381 if depmode=$depmode \
4382 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4383 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4384 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4385 >/dev/null 2>conftest.err &&
4386 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4387 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4388 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4389 # icc doesn't choke on unknown options, it will just issue warnings
4390 # or remarks (even with -Werror). So we grep stderr for any message
4391 # that says an option was ignored or not supported.
4392 # When given -MP, icc 7.0 and 7.1 complain thusly:
4393 # icc: Command line warning: ignoring option '-M'; no argument required
4394 # The diagnosis changed in icc 8.0:
4395 # icc: Command line remark: option '-MP' not supported
4396 if (grep 'ignoring option' conftest.err ||
4397 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4398 am_cv_CC_dependencies_compiler_type=$depmode
4407 am_cv_CC_dependencies_compiler_type=none
4411 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4412 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4413 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4418 test "x$enable_dependency_tracking" != xno \
4419 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4421 am__fastdepCC_FALSE='#'
4423 am__fastdepCC_TRUE='#'
4424 am__fastdepCC_FALSE=
4429 ac_cpp='$CPP $CPPFLAGS'
4430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4433 if test -n "$ac_tool_prefix"; then
4434 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4435 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4436 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4437 $as_echo_n "checking for $ac_word... " >&6; }
4438 if test "${ac_cv_prog_CC+set}" = set; then
4439 $as_echo_n "(cached) " >&6
4441 if test -n "$CC"; then
4442 ac_cv_prog_CC="$CC" # Let the user override the test.
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4451 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4452 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 if test -n "$CC"; then
4463 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4464 $as_echo "$CC" >&6; }
4466 { $as_echo "$as_me:$LINENO: result: no" >&5
4467 $as_echo "no" >&6; }
4472 if test -z "$ac_cv_prog_CC"; then
4474 # Extract the first word of "gcc", so it can be a program name with args.
4475 set dummy gcc; ac_word=$2
4476 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4477 $as_echo_n "checking for $ac_word... " >&6; }
4478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4479 $as_echo_n "(cached) " >&6
4481 if test -n "$ac_ct_CC"; then
4482 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488 test -z "$as_dir" && as_dir=.
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4491 ac_cv_prog_ac_ct_CC="gcc"
4492 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4501 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4502 if test -n "$ac_ct_CC"; then
4503 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4504 $as_echo "$ac_ct_CC" >&6; }
4506 { $as_echo "$as_me:$LINENO: result: no" >&5
4507 $as_echo "no" >&6; }
4510 if test "x$ac_ct_CC" = x; then
4513 case $cross_compiling:$ac_tool_warned in
4515 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4516 whose name does not start with the host triplet. If you think this
4517 configuration is useful to you, please write to autoconf@gnu.org." >&5
4518 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4519 whose name does not start with the host triplet. If you think this
4520 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4521 ac_tool_warned=yes ;;
4529 if test -z "$CC"; then
4530 if test -n "$ac_tool_prefix"; then
4531 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4532 set dummy ${ac_tool_prefix}cc; ac_word=$2
4533 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4534 $as_echo_n "checking for $ac_word... " >&6; }
4535 if test "${ac_cv_prog_CC+set}" = set; then
4536 $as_echo_n "(cached) " >&6
4538 if test -n "$CC"; then
4539 ac_cv_prog_CC="$CC" # Let the user override the test.
4541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4545 test -z "$as_dir" && as_dir=.
4546 for ac_exec_ext in '' $ac_executable_extensions; do
4547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4548 ac_cv_prog_CC="${ac_tool_prefix}cc"
4549 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4559 if test -n "$CC"; then
4560 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4561 $as_echo "$CC" >&6; }
4563 { $as_echo "$as_me:$LINENO: result: no" >&5
4564 $as_echo "no" >&6; }
4570 if test -z "$CC"; then
4571 # Extract the first word of "cc", so it can be a program name with args.
4572 set dummy cc; ac_word=$2
4573 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4574 $as_echo_n "checking for $ac_word... " >&6; }
4575 if test "${ac_cv_prog_CC+set}" = set; then
4576 $as_echo_n "(cached) " >&6
4578 if test -n "$CC"; then
4579 ac_cv_prog_CC="$CC" # Let the user override the test.
4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586 test -z "$as_dir" && as_dir=.
4587 for ac_exec_ext in '' $ac_executable_extensions; do
4588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4589 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4590 ac_prog_rejected=yes
4594 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 if test $ac_prog_rejected = yes; then
4602 # We found a bogon in the path, so make sure we never use it.
4603 set dummy $ac_cv_prog_CC
4605 if test $# != 0; then
4606 # We chose a different compiler from the bogus one.
4607 # However, it has the same basename, so the bogon will be chosen
4608 # first if we set CC to just the basename; use the full file name.
4610 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4616 if test -n "$CC"; then
4617 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4618 $as_echo "$CC" >&6; }
4620 { $as_echo "$as_me:$LINENO: result: no" >&5
4621 $as_echo "no" >&6; }
4626 if test -z "$CC"; then
4627 if test -n "$ac_tool_prefix"; then
4628 for ac_prog in cl.exe
4630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4632 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4633 $as_echo_n "checking for $ac_word... " >&6; }
4634 if test "${ac_cv_prog_CC+set}" = set; then
4635 $as_echo_n "(cached) " >&6
4637 if test -n "$CC"; then
4638 ac_cv_prog_CC="$CC" # Let the user override the test.
4640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4644 test -z "$as_dir" && as_dir=.
4645 for ac_exec_ext in '' $ac_executable_extensions; do
4646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4647 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4648 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4658 if test -n "$CC"; then
4659 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4660 $as_echo "$CC" >&6; }
4662 { $as_echo "$as_me:$LINENO: result: no" >&5
4663 $as_echo "no" >&6; }
4667 test -n "$CC" && break
4670 if test -z "$CC"; then
4672 for ac_prog in cl.exe
4674 # Extract the first word of "$ac_prog", so it can be a program name with args.
4675 set dummy $ac_prog; ac_word=$2
4676 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4677 $as_echo_n "checking for $ac_word... " >&6; }
4678 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4679 $as_echo_n "(cached) " >&6
4681 if test -n "$ac_ct_CC"; then
4682 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688 test -z "$as_dir" && as_dir=.
4689 for ac_exec_ext in '' $ac_executable_extensions; do
4690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4691 ac_cv_prog_ac_ct_CC="$ac_prog"
4692 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4702 if test -n "$ac_ct_CC"; then
4703 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4704 $as_echo "$ac_ct_CC" >&6; }
4706 { $as_echo "$as_me:$LINENO: result: no" >&5
4707 $as_echo "no" >&6; }
4711 test -n "$ac_ct_CC" && break
4714 if test "x$ac_ct_CC" = x; then
4717 case $cross_compiling:$ac_tool_warned in
4719 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4720 whose name does not start with the host triplet. If you think this
4721 configuration is useful to you, please write to autoconf@gnu.org." >&5
4722 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4723 whose name does not start with the host triplet. If you think this
4724 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4725 ac_tool_warned=yes ;;
4734 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4735 See \`config.log' for more details." >&5
4736 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4737 See \`config.log' for more details." >&2;}
4738 { (exit 1); exit 1; }; }
4740 # Provide some information about the compiler.
4741 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4744 { (ac_try="$ac_compiler --version >&5"
4746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4747 *) ac_try_echo=$ac_try;;
4749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4750 $as_echo "$ac_try_echo") >&5
4751 (eval "$ac_compiler --version >&5") 2>&5
4753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); }
4755 { (ac_try="$ac_compiler -v >&5"
4757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758 *) ac_try_echo=$ac_try;;
4760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4761 $as_echo "$ac_try_echo") >&5
4762 (eval "$ac_compiler -v >&5") 2>&5
4764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); }
4766 { (ac_try="$ac_compiler -V >&5"
4768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4769 *) ac_try_echo=$ac_try;;
4771 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4772 $as_echo "$ac_try_echo") >&5
4773 (eval "$ac_compiler -V >&5") 2>&5
4775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 (exit $ac_status); }
4778 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4779 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4780 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4781 $as_echo_n "(cached) " >&6
4783 cat >conftest.$ac_ext <<_ACEOF
4786 cat confdefs.h >>conftest.$ac_ext
4787 cat >>conftest.$ac_ext <<_ACEOF
4788 /* end confdefs.h. */
4801 rm -f conftest.$ac_objext
4802 if { (ac_try="$ac_compile"
4804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4805 *) ac_try_echo=$ac_try;;
4807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4808 $as_echo "$ac_try_echo") >&5
4809 (eval "$ac_compile") 2>conftest.er1
4811 grep -v '^ *+' conftest.er1 >conftest.err
4813 cat conftest.err >&5
4814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815 (exit $ac_status); } && {
4816 test -z "$ac_c_werror_flag" ||
4817 test ! -s conftest.err
4818 } && test -s conftest.$ac_objext; then
4821 $as_echo "$as_me: failed program was:" >&5
4822 sed 's/^/| /' conftest.$ac_ext >&5
4827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4828 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4831 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4832 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4833 if test $ac_compiler_gnu = yes; then
4838 ac_test_CFLAGS=${CFLAGS+set}
4839 ac_save_CFLAGS=$CFLAGS
4840 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4841 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4842 if test "${ac_cv_prog_cc_g+set}" = set; then
4843 $as_echo_n "(cached) " >&6
4845 ac_save_c_werror_flag=$ac_c_werror_flag
4846 ac_c_werror_flag=yes
4849 cat >conftest.$ac_ext <<_ACEOF
4852 cat confdefs.h >>conftest.$ac_ext
4853 cat >>conftest.$ac_ext <<_ACEOF
4854 /* end confdefs.h. */
4864 rm -f conftest.$ac_objext
4865 if { (ac_try="$ac_compile"
4867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4868 *) ac_try_echo=$ac_try;;
4870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4871 $as_echo "$ac_try_echo") >&5
4872 (eval "$ac_compile") 2>conftest.er1
4874 grep -v '^ *+' conftest.er1 >conftest.err
4876 cat conftest.err >&5
4877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); } && {
4879 test -z "$ac_c_werror_flag" ||
4880 test ! -s conftest.err
4881 } && test -s conftest.$ac_objext; then
4884 $as_echo "$as_me: failed program was:" >&5
4885 sed 's/^/| /' conftest.$ac_ext >&5
4888 cat >conftest.$ac_ext <<_ACEOF
4891 cat confdefs.h >>conftest.$ac_ext
4892 cat >>conftest.$ac_ext <<_ACEOF
4893 /* end confdefs.h. */
4903 rm -f conftest.$ac_objext
4904 if { (ac_try="$ac_compile"
4906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4907 *) ac_try_echo=$ac_try;;
4909 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4910 $as_echo "$ac_try_echo") >&5
4911 (eval "$ac_compile") 2>conftest.er1
4913 grep -v '^ *+' conftest.er1 >conftest.err
4915 cat conftest.err >&5
4916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); } && {
4918 test -z "$ac_c_werror_flag" ||
4919 test ! -s conftest.err
4920 } && test -s conftest.$ac_objext; then
4923 $as_echo "$as_me: failed program was:" >&5
4924 sed 's/^/| /' conftest.$ac_ext >&5
4926 ac_c_werror_flag=$ac_save_c_werror_flag
4928 cat >conftest.$ac_ext <<_ACEOF
4931 cat confdefs.h >>conftest.$ac_ext
4932 cat >>conftest.$ac_ext <<_ACEOF
4933 /* end confdefs.h. */
4943 rm -f conftest.$ac_objext
4944 if { (ac_try="$ac_compile"
4946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4947 *) ac_try_echo=$ac_try;;
4949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4950 $as_echo "$ac_try_echo") >&5
4951 (eval "$ac_compile") 2>conftest.er1
4953 grep -v '^ *+' conftest.er1 >conftest.err
4955 cat conftest.err >&5
4956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957 (exit $ac_status); } && {
4958 test -z "$ac_c_werror_flag" ||
4959 test ! -s conftest.err
4960 } && test -s conftest.$ac_objext; then
4963 $as_echo "$as_me: failed program was:" >&5
4964 sed 's/^/| /' conftest.$ac_ext >&5
4969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976 ac_c_werror_flag=$ac_save_c_werror_flag
4978 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4979 $as_echo "$ac_cv_prog_cc_g" >&6; }
4980 if test "$ac_test_CFLAGS" = set; then
4981 CFLAGS=$ac_save_CFLAGS
4982 elif test $ac_cv_prog_cc_g = yes; then
4983 if test "$GCC" = yes; then
4989 if test "$GCC" = yes; then
4995 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4996 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4997 if test "${ac_cv_prog_cc_c89+set}" = set; then
4998 $as_echo_n "(cached) " >&6
5000 ac_cv_prog_cc_c89=no
5002 cat >conftest.$ac_ext <<_ACEOF
5005 cat confdefs.h >>conftest.$ac_ext
5006 cat >>conftest.$ac_ext <<_ACEOF
5007 /* end confdefs.h. */
5010 #include <sys/types.h>
5011 #include <sys/stat.h>
5012 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5013 struct buf { int x; };
5014 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5015 static char *e (p, i)
5021 static char *f (char * (*g) (char **, int), char **p, ...)
5026 s = g (p, va_arg (v,int));
5031 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5032 function prototypes and stuff, but not '\xHH' hex character constants.
5033 These don't provoke an error unfortunately, instead are silently treated
5034 as 'x'. The following induces an error, until -std is added to get
5035 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5036 array size at least. It's necessary to write '\x00'==0 to get something
5037 that's true only with -std. */
5038 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5040 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5041 inside strings and character constants. */
5043 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5045 int test (int i, double x);
5046 struct s1 {int (*f) (int a);};
5047 struct s2 {int (*f) (double a);};
5048 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5054 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5059 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5060 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5062 CC="$ac_save_CC $ac_arg"
5063 rm -f conftest.$ac_objext
5064 if { (ac_try="$ac_compile"
5066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5067 *) ac_try_echo=$ac_try;;
5069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5070 $as_echo "$ac_try_echo") >&5
5071 (eval "$ac_compile") 2>conftest.er1
5073 grep -v '^ *+' conftest.er1 >conftest.err
5075 cat conftest.err >&5
5076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); } && {
5078 test -z "$ac_c_werror_flag" ||
5079 test ! -s conftest.err
5080 } && test -s conftest.$ac_objext; then
5081 ac_cv_prog_cc_c89=$ac_arg
5083 $as_echo "$as_me: failed program was:" >&5
5084 sed 's/^/| /' conftest.$ac_ext >&5
5089 rm -f core conftest.err conftest.$ac_objext
5090 test "x$ac_cv_prog_cc_c89" != "xno" && break
5092 rm -f conftest.$ac_ext
5097 case "x$ac_cv_prog_cc_c89" in
5099 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5100 $as_echo "none needed" >&6; } ;;
5102 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5103 $as_echo "unsupported" >&6; } ;;
5105 CC="$CC $ac_cv_prog_cc_c89"
5106 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5107 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5112 ac_cpp='$CPP $CPPFLAGS'
5113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5117 depcc="$CC" am_compiler_list=
5119 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5120 $as_echo_n "checking dependency style of $depcc... " >&6; }
5121 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5122 $as_echo_n "(cached) " >&6
5124 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5125 # We make a subdir and do the tests there. Otherwise we can end up
5126 # making bogus files that we don't know about and never remove. For
5127 # instance it was reported that on HP-UX the gcc test will end up
5128 # making a dummy file named `D' -- because `-MD' means `put the output
5131 # Copy depcomp to subdir because otherwise we won't find it if we're
5132 # using a relative directory.
5133 cp "$am_depcomp" conftest.dir
5135 # We will build objects and dependencies in a subdirectory because
5136 # it helps to detect inapplicable dependency modes. For instance
5137 # both Tru64's cc and ICC support -MD to output dependencies as a
5138 # side effect of compilation, but ICC will put the dependencies in
5139 # the current directory while Tru64 will put them in the object
5143 am_cv_CC_dependencies_compiler_type=none
5144 if test "$am_compiler_list" = ""; then
5145 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5147 for depmode in $am_compiler_list; do
5148 # Setup a source with many dependencies, because some compilers
5149 # like to wrap large dependency lists on column 80 (with \), and
5150 # we should not choose a depcomp mode which is confused by this.
5152 # We need to recreate these files for each test, as the compiler may
5153 # overwrite some of them when testing with obscure command lines.
5154 # This happens at least with the AIX C compiler.
5156 for i in 1 2 3 4 5 6; do
5157 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5158 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5159 # Solaris 8's {/usr,}/bin/sh.
5160 touch sub/conftst$i.h
5162 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5166 # after this tag, mechanisms are not by side-effect, so they'll
5167 # only be used when explicitly requested
5168 if test "x$enable_dependency_tracking" = xyes; then
5176 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5177 # mode. It turns out that the SunPro C++ compiler does not properly
5178 # handle `-M -o', and we need to detect this.
5179 if depmode=$depmode \
5180 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5181 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5182 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5183 >/dev/null 2>conftest.err &&
5184 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5185 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5186 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5187 # icc doesn't choke on unknown options, it will just issue warnings
5188 # or remarks (even with -Werror). So we grep stderr for any message
5189 # that says an option was ignored or not supported.
5190 # When given -MP, icc 7.0 and 7.1 complain thusly:
5191 # icc: Command line warning: ignoring option '-M'; no argument required
5192 # The diagnosis changed in icc 8.0:
5193 # icc: Command line remark: option '-MP' not supported
5194 if (grep 'ignoring option' conftest.err ||
5195 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5196 am_cv_CC_dependencies_compiler_type=$depmode
5205 am_cv_CC_dependencies_compiler_type=none
5209 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5210 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5211 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5216 test "x$enable_dependency_tracking" != xno \
5217 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5219 am__fastdepCC_FALSE='#'
5221 am__fastdepCC_TRUE='#'
5222 am__fastdepCC_FALSE=
5227 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5229 # By default we simply use the C compiler to build assembly code.
5231 test "${CCAS+set}" = set || CCAS=$CC
5232 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
5237 ac_cpp='$CPP $CPPFLAGS'
5238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5241 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5242 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5243 # On Suns, sometimes $CPP names a directory.
5244 if test -n "$CPP" && test -d "$CPP"; then
5247 if test -z "$CPP"; then
5248 if test "${ac_cv_prog_CPP+set}" = set; then
5249 $as_echo_n "(cached) " >&6
5251 # Double quotes because CPP needs to be expanded
5252 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5255 for ac_c_preproc_warn_flag in '' yes
5257 # Use a header file that comes with gcc, so configuring glibc
5258 # with a fresh cross-compiler works.
5259 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5260 # <limits.h> exists even on freestanding compilers.
5261 # On the NeXT, cc -E runs the code through the compiler's parser,
5262 # not just through cpp. "Syntax error" is here to catch this case.
5263 cat >conftest.$ac_ext <<_ACEOF
5266 cat confdefs.h >>conftest.$ac_ext
5267 cat >>conftest.$ac_ext <<_ACEOF
5268 /* end confdefs.h. */
5270 # include <limits.h>
5272 # include <assert.h>
5276 if { (ac_try="$ac_cpp conftest.$ac_ext"
5278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5279 *) ac_try_echo=$ac_try;;
5281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5282 $as_echo "$ac_try_echo") >&5
5283 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5285 grep -v '^ *+' conftest.er1 >conftest.err
5287 cat conftest.err >&5
5288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); } >/dev/null && {
5290 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5291 test ! -s conftest.err
5295 $as_echo "$as_me: failed program was:" >&5
5296 sed 's/^/| /' conftest.$ac_ext >&5
5298 # Broken: fails on valid input.
5302 rm -f conftest.err conftest.$ac_ext
5304 # OK, works on sane cases. Now check whether nonexistent headers
5305 # can be detected and how.
5306 cat >conftest.$ac_ext <<_ACEOF
5309 cat confdefs.h >>conftest.$ac_ext
5310 cat >>conftest.$ac_ext <<_ACEOF
5311 /* end confdefs.h. */
5312 #include <ac_nonexistent.h>
5314 if { (ac_try="$ac_cpp conftest.$ac_ext"
5316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5317 *) ac_try_echo=$ac_try;;
5319 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5320 $as_echo "$ac_try_echo") >&5
5321 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5323 grep -v '^ *+' conftest.er1 >conftest.err
5325 cat conftest.err >&5
5326 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327 (exit $ac_status); } >/dev/null && {
5328 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5329 test ! -s conftest.err
5331 # Broken: success on invalid input.
5334 $as_echo "$as_me: failed program was:" >&5
5335 sed 's/^/| /' conftest.$ac_ext >&5
5337 # Passes both tests.
5342 rm -f conftest.err conftest.$ac_ext
5345 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5346 rm -f conftest.err conftest.$ac_ext
5347 if $ac_preproc_ok; then
5359 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5360 $as_echo "$CPP" >&6; }
5362 for ac_c_preproc_warn_flag in '' yes
5364 # Use a header file that comes with gcc, so configuring glibc
5365 # with a fresh cross-compiler works.
5366 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5367 # <limits.h> exists even on freestanding compilers.
5368 # On the NeXT, cc -E runs the code through the compiler's parser,
5369 # not just through cpp. "Syntax error" is here to catch this case.
5370 cat >conftest.$ac_ext <<_ACEOF
5373 cat confdefs.h >>conftest.$ac_ext
5374 cat >>conftest.$ac_ext <<_ACEOF
5375 /* end confdefs.h. */
5377 # include <limits.h>
5379 # include <assert.h>
5383 if { (ac_try="$ac_cpp conftest.$ac_ext"
5385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5386 *) ac_try_echo=$ac_try;;
5388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5389 $as_echo "$ac_try_echo") >&5
5390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5392 grep -v '^ *+' conftest.er1 >conftest.err
5394 cat conftest.err >&5
5395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); } >/dev/null && {
5397 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5398 test ! -s conftest.err
5402 $as_echo "$as_me: failed program was:" >&5
5403 sed 's/^/| /' conftest.$ac_ext >&5
5405 # Broken: fails on valid input.
5409 rm -f conftest.err conftest.$ac_ext
5411 # OK, works on sane cases. Now check whether nonexistent headers
5412 # can be detected and how.
5413 cat >conftest.$ac_ext <<_ACEOF
5416 cat confdefs.h >>conftest.$ac_ext
5417 cat >>conftest.$ac_ext <<_ACEOF
5418 /* end confdefs.h. */
5419 #include <ac_nonexistent.h>
5421 if { (ac_try="$ac_cpp conftest.$ac_ext"
5423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5424 *) ac_try_echo=$ac_try;;
5426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5427 $as_echo "$ac_try_echo") >&5
5428 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5430 grep -v '^ *+' conftest.er1 >conftest.err
5432 cat conftest.err >&5
5433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434 (exit $ac_status); } >/dev/null && {
5435 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5436 test ! -s conftest.err
5438 # Broken: success on invalid input.
5441 $as_echo "$as_me: failed program was:" >&5
5442 sed 's/^/| /' conftest.$ac_ext >&5
5444 # Passes both tests.
5449 rm -f conftest.err conftest.$ac_ext
5452 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5453 rm -f conftest.err conftest.$ac_ext
5454 if $ac_preproc_ok; then
5457 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5458 See \`config.log' for more details." >&5
5459 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5460 See \`config.log' for more details." >&2;}
5461 { (exit 1); exit 1; }; }
5465 ac_cpp='$CPP $CPPFLAGS'
5466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5471 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5472 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5473 if test "${ac_cv_path_GREP+set}" = set; then
5474 $as_echo_n "(cached) " >&6
5476 if test -z "$GREP"; then
5477 ac_path_GREP_found=false
5478 # Loop through the user's path and test for each of PROGNAME-LIST
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5483 test -z "$as_dir" && as_dir=.
5484 for ac_prog in grep ggrep; do
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5487 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5488 # Check for GNU ac_path_GREP and select it if it is found.
5489 # Check for GNU $ac_path_GREP
5490 case `"$ac_path_GREP" --version 2>&1` in
5492 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5495 $as_echo_n 0123456789 >"conftest.in"
5498 cat "conftest.in" "conftest.in" >"conftest.tmp"
5499 mv "conftest.tmp" "conftest.in"
5500 cp "conftest.in" "conftest.nl"
5501 $as_echo 'GREP' >> "conftest.nl"
5502 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5503 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5504 ac_count=`expr $ac_count + 1`
5505 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5506 # Best one so far, save it but keep looking for a better one
5507 ac_cv_path_GREP="$ac_path_GREP"
5508 ac_path_GREP_max=$ac_count
5510 # 10*(2^10) chars as input seems more than enough
5511 test $ac_count -gt 10 && break
5513 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5516 $ac_path_GREP_found && break 3
5521 if test -z "$ac_cv_path_GREP"; then
5522 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5523 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5524 { (exit 1); exit 1; }; }
5527 ac_cv_path_GREP=$GREP
5531 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5532 $as_echo "$ac_cv_path_GREP" >&6; }
5533 GREP="$ac_cv_path_GREP"
5536 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5537 $as_echo_n "checking for egrep... " >&6; }
5538 if test "${ac_cv_path_EGREP+set}" = set; then
5539 $as_echo_n "(cached) " >&6
5541 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5542 then ac_cv_path_EGREP="$GREP -E"
5544 if test -z "$EGREP"; then
5545 ac_path_EGREP_found=false
5546 # Loop through the user's path and test for each of PROGNAME-LIST
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5551 test -z "$as_dir" && as_dir=.
5552 for ac_prog in egrep; do
5553 for ac_exec_ext in '' $ac_executable_extensions; do
5554 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5555 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5556 # Check for GNU ac_path_EGREP and select it if it is found.
5557 # Check for GNU $ac_path_EGREP
5558 case `"$ac_path_EGREP" --version 2>&1` in
5560 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5563 $as_echo_n 0123456789 >"conftest.in"
5566 cat "conftest.in" "conftest.in" >"conftest.tmp"
5567 mv "conftest.tmp" "conftest.in"
5568 cp "conftest.in" "conftest.nl"
5569 $as_echo 'EGREP' >> "conftest.nl"
5570 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5571 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5572 ac_count=`expr $ac_count + 1`
5573 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5574 # Best one so far, save it but keep looking for a better one
5575 ac_cv_path_EGREP="$ac_path_EGREP"
5576 ac_path_EGREP_max=$ac_count
5578 # 10*(2^10) chars as input seems more than enough
5579 test $ac_count -gt 10 && break
5581 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5584 $ac_path_EGREP_found && break 3
5589 if test -z "$ac_cv_path_EGREP"; then
5590 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5591 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5592 { (exit 1); exit 1; }; }
5595 ac_cv_path_EGREP=$EGREP
5600 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5601 $as_echo "$ac_cv_path_EGREP" >&6; }
5602 EGREP="$ac_cv_path_EGREP"
5605 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5606 $as_echo_n "checking for ANSI C header files... " >&6; }
5607 if test "${ac_cv_header_stdc+set}" = set; then
5608 $as_echo_n "(cached) " >&6
5610 cat >conftest.$ac_ext <<_ACEOF
5613 cat confdefs.h >>conftest.$ac_ext
5614 cat >>conftest.$ac_ext <<_ACEOF
5615 /* end confdefs.h. */
5629 rm -f conftest.$ac_objext
5630 if { (ac_try="$ac_compile"
5632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5633 *) ac_try_echo=$ac_try;;
5635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5636 $as_echo "$ac_try_echo") >&5
5637 (eval "$ac_compile") 2>conftest.er1
5639 grep -v '^ *+' conftest.er1 >conftest.err
5641 cat conftest.err >&5
5642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5643 (exit $ac_status); } && {
5644 test -z "$ac_c_werror_flag" ||
5645 test ! -s conftest.err
5646 } && test -s conftest.$ac_objext; then
5647 ac_cv_header_stdc=yes
5649 $as_echo "$as_me: failed program was:" >&5
5650 sed 's/^/| /' conftest.$ac_ext >&5
5652 ac_cv_header_stdc=no
5655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5657 if test $ac_cv_header_stdc = yes; then
5658 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5659 cat >conftest.$ac_ext <<_ACEOF
5662 cat confdefs.h >>conftest.$ac_ext
5663 cat >>conftest.$ac_ext <<_ACEOF
5664 /* end confdefs.h. */
5668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5669 $EGREP "memchr" >/dev/null 2>&1; then
5672 ac_cv_header_stdc=no
5678 if test $ac_cv_header_stdc = yes; then
5679 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5680 cat >conftest.$ac_ext <<_ACEOF
5683 cat confdefs.h >>conftest.$ac_ext
5684 cat >>conftest.$ac_ext <<_ACEOF
5685 /* end confdefs.h. */
5689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5690 $EGREP "free" >/dev/null 2>&1; then
5693 ac_cv_header_stdc=no
5699 if test $ac_cv_header_stdc = yes; then
5700 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5701 if test "$cross_compiling" = yes; then
5704 cat >conftest.$ac_ext <<_ACEOF
5707 cat confdefs.h >>conftest.$ac_ext
5708 cat >>conftest.$ac_ext <<_ACEOF
5709 /* end confdefs.h. */
5712 #if ((' ' & 0x0FF) == 0x020)
5713 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5714 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5716 # define ISLOWER(c) \
5717 (('a' <= (c) && (c) <= 'i') \
5718 || ('j' <= (c) && (c) <= 'r') \
5719 || ('s' <= (c) && (c) <= 'z'))
5720 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5723 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5728 for (i = 0; i < 256; i++)
5729 if (XOR (islower (i), ISLOWER (i))
5730 || toupper (i) != TOUPPER (i))
5735 rm -f conftest$ac_exeext
5736 if { (ac_try="$ac_link"
5738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5739 *) ac_try_echo=$ac_try;;
5741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5742 $as_echo "$ac_try_echo") >&5
5743 (eval "$ac_link") 2>&5
5745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5747 { (case "(($ac_try" in
5748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5749 *) ac_try_echo=$ac_try;;
5751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5752 $as_echo "$ac_try_echo") >&5
5753 (eval "$ac_try") 2>&5
5755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); }; }; then
5759 $as_echo "$as_me: program exited with status $ac_status" >&5
5760 $as_echo "$as_me: failed program was:" >&5
5761 sed 's/^/| /' conftest.$ac_ext >&5
5764 ac_cv_header_stdc=no
5766 rm -rf conftest.dSYM
5767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5773 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5774 $as_echo "$ac_cv_header_stdc" >&6; }
5775 if test $ac_cv_header_stdc = yes; then
5777 cat >>confdefs.h <<\_ACEOF
5778 #define STDC_HEADERS 1
5783 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5793 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5794 inttypes.h stdint.h unistd.h
5796 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5797 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5798 $as_echo_n "checking for $ac_header... " >&6; }
5799 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5800 $as_echo_n "(cached) " >&6
5802 cat >conftest.$ac_ext <<_ACEOF
5805 cat confdefs.h >>conftest.$ac_ext
5806 cat >>conftest.$ac_ext <<_ACEOF
5807 /* end confdefs.h. */
5808 $ac_includes_default
5810 #include <$ac_header>
5812 rm -f conftest.$ac_objext
5813 if { (ac_try="$ac_compile"
5815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5816 *) ac_try_echo=$ac_try;;
5818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5819 $as_echo "$ac_try_echo") >&5
5820 (eval "$ac_compile") 2>conftest.er1
5822 grep -v '^ *+' conftest.er1 >conftest.err
5824 cat conftest.err >&5
5825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); } && {
5827 test -z "$ac_c_werror_flag" ||
5828 test ! -s conftest.err
5829 } && test -s conftest.$ac_objext; then
5830 eval "$as_ac_Header=yes"
5832 $as_echo "$as_me: failed program was:" >&5
5833 sed 's/^/| /' conftest.$ac_ext >&5
5835 eval "$as_ac_Header=no"
5838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5840 ac_res=`eval 'as_val=${'$as_ac_Header'}
5841 $as_echo "$as_val"'`
5842 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5843 $as_echo "$ac_res" >&6; }
5844 if test `eval 'as_val=${'$as_ac_Header'}
5845 $as_echo "$as_val"'` = yes; then
5846 cat >>confdefs.h <<_ACEOF
5847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5855 # The cast to long int works around a bug in the HP C Compiler
5856 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5857 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5858 # This bug is HP SR number 8606223364.
5859 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
5860 $as_echo_n "checking size of void *... " >&6; }
5861 if test "${ac_cv_sizeof_void_p+set}" = set; then
5862 $as_echo_n "(cached) " >&6
5864 if test "$cross_compiling" = yes; then
5865 # Depending upon the size, compute the lo and hi bounds.
5866 cat >conftest.$ac_ext <<_ACEOF
5869 cat confdefs.h >>conftest.$ac_ext
5870 cat >>conftest.$ac_ext <<_ACEOF
5871 /* end confdefs.h. */
5872 $ac_includes_default
5876 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
5883 rm -f conftest.$ac_objext
5884 if { (ac_try="$ac_compile"
5886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5887 *) ac_try_echo=$ac_try;;
5889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5890 $as_echo "$ac_try_echo") >&5
5891 (eval "$ac_compile") 2>conftest.er1
5893 grep -v '^ *+' conftest.er1 >conftest.err
5895 cat conftest.err >&5
5896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); } && {
5898 test -z "$ac_c_werror_flag" ||
5899 test ! -s conftest.err
5900 } && test -s conftest.$ac_objext; then
5903 cat >conftest.$ac_ext <<_ACEOF
5906 cat confdefs.h >>conftest.$ac_ext
5907 cat >>conftest.$ac_ext <<_ACEOF
5908 /* end confdefs.h. */
5909 $ac_includes_default
5913 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
5920 rm -f conftest.$ac_objext
5921 if { (ac_try="$ac_compile"
5923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5924 *) ac_try_echo=$ac_try;;
5926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5927 $as_echo "$ac_try_echo") >&5
5928 (eval "$ac_compile") 2>conftest.er1
5930 grep -v '^ *+' conftest.er1 >conftest.err
5932 cat conftest.err >&5
5933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); } && {
5935 test -z "$ac_c_werror_flag" ||
5936 test ! -s conftest.err
5937 } && test -s conftest.$ac_objext; then
5938 ac_hi=$ac_mid; break
5940 $as_echo "$as_me: failed program was:" >&5
5941 sed 's/^/| /' conftest.$ac_ext >&5
5943 ac_lo=`expr $ac_mid + 1`
5944 if test $ac_lo -le $ac_mid; then
5948 ac_mid=`expr 2 '*' $ac_mid + 1`
5951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5954 $as_echo "$as_me: failed program was:" >&5
5955 sed 's/^/| /' conftest.$ac_ext >&5
5957 cat >conftest.$ac_ext <<_ACEOF
5960 cat confdefs.h >>conftest.$ac_ext
5961 cat >>conftest.$ac_ext <<_ACEOF
5962 /* end confdefs.h. */
5963 $ac_includes_default
5967 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
5974 rm -f conftest.$ac_objext
5975 if { (ac_try="$ac_compile"
5977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5978 *) ac_try_echo=$ac_try;;
5980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5981 $as_echo "$ac_try_echo") >&5
5982 (eval "$ac_compile") 2>conftest.er1
5984 grep -v '^ *+' conftest.er1 >conftest.err
5986 cat conftest.err >&5
5987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988 (exit $ac_status); } && {
5989 test -z "$ac_c_werror_flag" ||
5990 test ! -s conftest.err
5991 } && test -s conftest.$ac_objext; then
5994 cat >conftest.$ac_ext <<_ACEOF
5997 cat confdefs.h >>conftest.$ac_ext
5998 cat >>conftest.$ac_ext <<_ACEOF
5999 /* end confdefs.h. */
6000 $ac_includes_default
6004 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
6011 rm -f conftest.$ac_objext
6012 if { (ac_try="$ac_compile"
6014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6015 *) ac_try_echo=$ac_try;;
6017 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6018 $as_echo "$ac_try_echo") >&5
6019 (eval "$ac_compile") 2>conftest.er1
6021 grep -v '^ *+' conftest.er1 >conftest.err
6023 cat conftest.err >&5
6024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); } && {
6026 test -z "$ac_c_werror_flag" ||
6027 test ! -s conftest.err
6028 } && test -s conftest.$ac_objext; then
6029 ac_lo=$ac_mid; break
6031 $as_echo "$as_me: failed program was:" >&5
6032 sed 's/^/| /' conftest.$ac_ext >&5
6034 ac_hi=`expr '(' $ac_mid ')' - 1`
6035 if test $ac_mid -le $ac_hi; then
6039 ac_mid=`expr 2 '*' $ac_mid`
6042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6045 $as_echo "$as_me: failed program was:" >&5
6046 sed 's/^/| /' conftest.$ac_ext >&5
6051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6055 # Binary search between lo and hi bounds.
6056 while test "x$ac_lo" != "x$ac_hi"; do
6057 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6058 cat >conftest.$ac_ext <<_ACEOF
6061 cat confdefs.h >>conftest.$ac_ext
6062 cat >>conftest.$ac_ext <<_ACEOF
6063 /* end confdefs.h. */
6064 $ac_includes_default
6068 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
6075 rm -f conftest.$ac_objext
6076 if { (ac_try="$ac_compile"
6078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6079 *) ac_try_echo=$ac_try;;
6081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6082 $as_echo "$ac_try_echo") >&5
6083 (eval "$ac_compile") 2>conftest.er1
6085 grep -v '^ *+' conftest.er1 >conftest.err
6087 cat conftest.err >&5
6088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6089 (exit $ac_status); } && {
6090 test -z "$ac_c_werror_flag" ||
6091 test ! -s conftest.err
6092 } && test -s conftest.$ac_objext; then
6095 $as_echo "$as_me: failed program was:" >&5
6096 sed 's/^/| /' conftest.$ac_ext >&5
6098 ac_lo=`expr '(' $ac_mid ')' + 1`
6101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6104 ?*) ac_cv_sizeof_void_p=$ac_lo;;
6105 '') if test "$ac_cv_type_void_p" = yes; then
6106 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
6107 See \`config.log' for more details." >&5
6108 $as_echo "$as_me: error: cannot compute sizeof (void *)
6109 See \`config.log' for more details." >&2;}
6110 { (exit 77); exit 77; }; }
6112 ac_cv_sizeof_void_p=0
6116 cat >conftest.$ac_ext <<_ACEOF
6119 cat confdefs.h >>conftest.$ac_ext
6120 cat >>conftest.$ac_ext <<_ACEOF
6121 /* end confdefs.h. */
6122 $ac_includes_default
6123 static long int longval () { return (long int) (sizeof (void *)); }
6124 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
6131 FILE *f = fopen ("conftest.val", "w");
6134 if (((long int) (sizeof (void *))) < 0)
6136 long int i = longval ();
6137 if (i != ((long int) (sizeof (void *))))
6139 fprintf (f, "%ld", i);
6143 unsigned long int i = ulongval ();
6144 if (i != ((long int) (sizeof (void *))))
6146 fprintf (f, "%lu", i);
6148 /* Do not output a trailing newline, as this causes \r\n confusion
6149 on some platforms. */
6150 return ferror (f) || fclose (f) != 0;
6156 rm -f conftest$ac_exeext
6157 if { (ac_try="$ac_link"
6159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6160 *) ac_try_echo=$ac_try;;
6162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6163 $as_echo "$ac_try_echo") >&5
6164 (eval "$ac_link") 2>&5
6166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6168 { (case "(($ac_try" in
6169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6170 *) ac_try_echo=$ac_try;;
6172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6173 $as_echo "$ac_try_echo") >&5
6174 (eval "$ac_try") 2>&5
6176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); }; }; then
6178 ac_cv_sizeof_void_p=`cat conftest.val`
6180 $as_echo "$as_me: program exited with status $ac_status" >&5
6181 $as_echo "$as_me: failed program was:" >&5
6182 sed 's/^/| /' conftest.$ac_ext >&5
6185 if test "$ac_cv_type_void_p" = yes; then
6186 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
6187 See \`config.log' for more details." >&5
6188 $as_echo "$as_me: error: cannot compute sizeof (void *)
6189 See \`config.log' for more details." >&2;}
6190 { (exit 77); exit 77; }; }
6192 ac_cv_sizeof_void_p=0
6195 rm -rf conftest.dSYM
6196 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6200 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
6201 $as_echo "$ac_cv_sizeof_void_p" >&6; }
6205 cat >>confdefs.h <<_ACEOF
6206 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
6210 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6211 $as_echo_n "checking for ANSI C header files... " >&6; }
6212 if test "${ac_cv_header_stdc+set}" = set; then
6213 $as_echo_n "(cached) " >&6
6215 cat >conftest.$ac_ext <<_ACEOF
6218 cat confdefs.h >>conftest.$ac_ext
6219 cat >>conftest.$ac_ext <<_ACEOF
6220 /* end confdefs.h. */
6234 rm -f conftest.$ac_objext
6235 if { (ac_try="$ac_compile"
6237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6238 *) ac_try_echo=$ac_try;;
6240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6241 $as_echo "$ac_try_echo") >&5
6242 (eval "$ac_compile") 2>conftest.er1
6244 grep -v '^ *+' conftest.er1 >conftest.err
6246 cat conftest.err >&5
6247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); } && {
6249 test -z "$ac_c_werror_flag" ||
6250 test ! -s conftest.err
6251 } && test -s conftest.$ac_objext; then
6252 ac_cv_header_stdc=yes
6254 $as_echo "$as_me: failed program was:" >&5
6255 sed 's/^/| /' conftest.$ac_ext >&5
6257 ac_cv_header_stdc=no
6260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6262 if test $ac_cv_header_stdc = yes; then
6263 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6264 cat >conftest.$ac_ext <<_ACEOF
6267 cat confdefs.h >>conftest.$ac_ext
6268 cat >>conftest.$ac_ext <<_ACEOF
6269 /* end confdefs.h. */
6273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6274 $EGREP "memchr" >/dev/null 2>&1; then
6277 ac_cv_header_stdc=no
6283 if test $ac_cv_header_stdc = yes; then
6284 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6285 cat >conftest.$ac_ext <<_ACEOF
6288 cat confdefs.h >>conftest.$ac_ext
6289 cat >>conftest.$ac_ext <<_ACEOF
6290 /* end confdefs.h. */
6294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6295 $EGREP "free" >/dev/null 2>&1; then
6298 ac_cv_header_stdc=no
6304 if test $ac_cv_header_stdc = yes; then
6305 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6306 if test "$cross_compiling" = yes; then
6309 cat >conftest.$ac_ext <<_ACEOF
6312 cat confdefs.h >>conftest.$ac_ext
6313 cat >>conftest.$ac_ext <<_ACEOF
6314 /* end confdefs.h. */
6317 #if ((' ' & 0x0FF) == 0x020)
6318 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6319 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6321 # define ISLOWER(c) \
6322 (('a' <= (c) && (c) <= 'i') \
6323 || ('j' <= (c) && (c) <= 'r') \
6324 || ('s' <= (c) && (c) <= 'z'))
6325 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6328 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6333 for (i = 0; i < 256; i++)
6334 if (XOR (islower (i), ISLOWER (i))
6335 || toupper (i) != TOUPPER (i))
6340 rm -f conftest$ac_exeext
6341 if { (ac_try="$ac_link"
6343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6344 *) ac_try_echo=$ac_try;;
6346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6347 $as_echo "$ac_try_echo") >&5
6348 (eval "$ac_link") 2>&5
6350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6352 { (case "(($ac_try" in
6353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6354 *) ac_try_echo=$ac_try;;
6356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6357 $as_echo "$ac_try_echo") >&5
6358 (eval "$ac_try") 2>&5
6360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); }; }; then
6364 $as_echo "$as_me: program exited with status $ac_status" >&5
6365 $as_echo "$as_me: failed program was:" >&5
6366 sed 's/^/| /' conftest.$ac_ext >&5
6369 ac_cv_header_stdc=no
6371 rm -rf conftest.dSYM
6372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6378 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6379 $as_echo "$ac_cv_header_stdc" >&6; }
6380 if test $ac_cv_header_stdc = yes; then
6382 cat >>confdefs.h <<\_ACEOF
6383 #define STDC_HEADERS 1
6388 # Make sure we can run config.sub.
6389 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6390 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
6391 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
6392 { (exit 1); exit 1; }; }
6394 { $as_echo "$as_me:$LINENO: checking build system type" >&5
6395 $as_echo_n "checking build system type... " >&6; }
6396 if test "${ac_cv_build+set}" = set; then
6397 $as_echo_n "(cached) " >&6
6399 ac_build_alias=$build_alias
6400 test "x$ac_build_alias" = x &&
6401 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6402 test "x$ac_build_alias" = x &&
6403 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6404 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6405 { (exit 1); exit 1; }; }
6406 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6407 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
6408 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
6409 { (exit 1); exit 1; }; }
6412 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6413 $as_echo "$ac_cv_build" >&6; }
6414 case $ac_cv_build in
6416 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
6417 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
6418 { (exit 1); exit 1; }; };;
6421 ac_save_IFS=$IFS; IFS='-'
6427 # Remember, the first character of IFS is used to create $*,
6428 # except with old shells:
6431 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6434 { $as_echo "$as_me:$LINENO: checking host system type" >&5
6435 $as_echo_n "checking host system type... " >&6; }
6436 if test "${ac_cv_host+set}" = set; then
6437 $as_echo_n "(cached) " >&6
6439 if test "x$host_alias" = x; then
6440 ac_cv_host=$ac_cv_build
6442 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6443 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
6444 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
6445 { (exit 1); exit 1; }; }
6449 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
6450 $as_echo "$ac_cv_host" >&6; }
6453 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
6454 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
6455 { (exit 1); exit 1; }; };;
6458 ac_save_IFS=$IFS; IFS='-'
6464 # Remember, the first character of IFS is used to create $*,
6465 # except with old shells:
6468 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6472 # Extract the first word of "pod2man", so it can be a program name with args.
6473 set dummy pod2man; ac_word=$2
6474 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if test "${ac_cv_path_POD2MAN+set}" = set; then
6477 $as_echo_n "(cached) " >&6
6481 ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
6484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6488 test -z "$as_dir" && as_dir=.
6489 for ac_exec_ext in '' $ac_executable_extensions; do
6490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6491 ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
6492 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6502 POD2MAN=$ac_cv_path_POD2MAN
6503 if test -n "$POD2MAN"; then
6504 { $as_echo "$as_me:$LINENO: result: $POD2MAN" >&5
6505 $as_echo "$POD2MAN" >&6; }
6507 { $as_echo "$as_me:$LINENO: result: no" >&5
6508 $as_echo "no" >&6; }
6512 # Extract the first word of "pod2html", so it can be a program name with args.
6513 set dummy pod2html; ac_word=$2
6514 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6515 $as_echo_n "checking for $ac_word... " >&6; }
6516 if test "${ac_cv_path_POD2HTML+set}" = set; then
6517 $as_echo_n "(cached) " >&6
6521 ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
6524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6528 test -z "$as_dir" && as_dir=.
6529 for ac_exec_ext in '' $ac_executable_extensions; do
6530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6531 ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
6532 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6542 POD2HTML=$ac_cv_path_POD2HTML
6543 if test -n "$POD2HTML"; then
6544 { $as_echo "$as_me:$LINENO: result: $POD2HTML" >&5
6545 $as_echo "$POD2HTML" >&6; }
6547 { $as_echo "$as_me:$LINENO: result: no" >&5
6548 $as_echo "no" >&6; }
6554 # Check whether --enable-translator was given.
6555 if test "${enable_translator+set}" = set; then
6556 enableval=$enable_translator; true
6558 enable_translator=yes
6561 # Check whether --enable-trace was given.
6562 if test "${enable_trace+set}" = set; then
6563 enableval=$enable_trace; if test "$enableval" == "yes"; then
6565 cat >>confdefs.h <<\_ACEOF
6566 #define ENABLE_TRACE_IO 1
6572 # Check whether --enable-watch was given.
6573 if test "${enable_watch+set}" = set; then
6574 enableval=$enable_watch; if test "$enableval" == "yes"; then
6576 cat >>confdefs.h <<\_ACEOF
6577 #define ENABLE_WATCH 1
6583 # Check whether --enable-sh4stats was given.
6584 if test "${enable_sh4stats+set}" = set; then
6585 enableval=$enable_sh4stats; if test "$enableval" == "yes"; then
6587 cat >>confdefs.h <<\_ACEOF
6588 #define ENABLE_SH4STATS 1
6595 # Check whether --with-osmesa was given.
6596 if test "${with_osmesa+set}" = set; then
6597 withval=$with_osmesa;
6603 # Check whether --with-gtk was given.
6604 if test "${with_gtk+set}" = set; then
6605 withval=$with_gtk; with_gtk=yes
6611 # Check whether --with-esd was given.
6612 if test "${with_esd+set}" = set; then
6617 # Check whether --with-pulse was given.
6618 if test "${with_pulse+set}" = set; then
6619 withval=$with_pulse;
6624 lxdream_save_cppflags="$CPPFLAGS"
6625 CPPFLAGS="$CPPFLAGS -x objective-c"
6626 cat >conftest.$ac_ext <<_ACEOF
6629 cat confdefs.h >>conftest.$ac_ext
6630 cat >>conftest.$ac_ext <<_ACEOF
6631 /* end confdefs.h. */
6641 rm -f conftest.$ac_objext
6642 if { (ac_try="$ac_compile"
6644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6645 *) ac_try_echo=$ac_try;;
6647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6648 $as_echo "$ac_try_echo") >&5
6649 (eval "$ac_compile") 2>conftest.er1
6651 grep -v '^ *+' conftest.er1 >conftest.err
6653 cat conftest.err >&5
6654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); } && {
6656 test -z "$ac_c_werror_flag" ||
6657 test ! -s conftest.err
6658 } && test -s conftest.$ac_objext; then
6661 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
6662 { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
6663 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
6664 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
6665 $as_echo_n "(cached) " >&6
6667 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
6668 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
6670 # Is the header compilable?
6671 { $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h usability" >&5
6672 $as_echo_n "checking Cocoa/Cocoa.h usability... " >&6; }
6673 cat >conftest.$ac_ext <<_ACEOF
6676 cat confdefs.h >>conftest.$ac_ext
6677 cat >>conftest.$ac_ext <<_ACEOF
6678 /* end confdefs.h. */
6679 $ac_includes_default
6680 #include <Cocoa/Cocoa.h>
6682 rm -f conftest.$ac_objext
6683 if { (ac_try="$ac_compile"
6685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6686 *) ac_try_echo=$ac_try;;
6688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6689 $as_echo "$ac_try_echo") >&5
6690 (eval "$ac_compile") 2>conftest.er1
6692 grep -v '^ *+' conftest.er1 >conftest.err
6694 cat conftest.err >&5
6695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } && {
6697 test -z "$ac_c_werror_flag" ||
6698 test ! -s conftest.err
6699 } && test -s conftest.$ac_objext; then
6700 ac_header_compiler=yes
6702 $as_echo "$as_me: failed program was:" >&5
6703 sed 's/^/| /' conftest.$ac_ext >&5
6705 ac_header_compiler=no
6708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6709 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6710 $as_echo "$ac_header_compiler" >&6; }
6712 # Is the header present?
6713 { $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h presence" >&5
6714 $as_echo_n "checking Cocoa/Cocoa.h presence... " >&6; }
6715 cat >conftest.$ac_ext <<_ACEOF
6718 cat confdefs.h >>conftest.$ac_ext
6719 cat >>conftest.$ac_ext <<_ACEOF
6720 /* end confdefs.h. */
6721 #include <Cocoa/Cocoa.h>
6723 if { (ac_try="$ac_cpp conftest.$ac_ext"
6725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6726 *) ac_try_echo=$ac_try;;
6728 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6729 $as_echo "$ac_try_echo") >&5
6730 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6732 grep -v '^ *+' conftest.er1 >conftest.err
6734 cat conftest.err >&5
6735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736 (exit $ac_status); } >/dev/null && {
6737 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6738 test ! -s conftest.err
6740 ac_header_preproc=yes
6742 $as_echo "$as_me: failed program was:" >&5
6743 sed 's/^/| /' conftest.$ac_ext >&5
6745 ac_header_preproc=no
6748 rm -f conftest.err conftest.$ac_ext
6749 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6750 $as_echo "$ac_header_preproc" >&6; }
6752 # So? What about this header?
6753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6755 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&5
6756 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6757 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&5
6758 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&2;}
6759 ac_header_preproc=yes
6762 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&5
6763 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&2;}
6764 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: check for missing prerequisite headers?" >&5
6765 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: check for missing prerequisite headers?" >&2;}
6766 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&5
6767 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&2;}
6768 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: section \"Present But Cannot Be Compiled\"" >&5
6769 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: section \"Present But Cannot Be Compiled\"" >&2;}
6770 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&5
6771 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&2;}
6772 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&5
6773 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&2;}
6777 { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
6778 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
6779 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
6780 $as_echo_n "(cached) " >&6
6782 ac_cv_header_Cocoa_Cocoa_h=$ac_header_preproc
6784 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
6785 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
6788 if test $ac_cv_header_Cocoa_Cocoa_h = yes; then
6792 LIBS="$LIBS -framework AppKit"
6793 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"
6794 LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
6796 cat >>confdefs.h <<\_ACEOF
6797 #define HAVE_COCOA 1
6801 cat >>confdefs.h <<\_ACEOF
6802 #define APPLE_BUILD 1
6805 if test "x$with_gtk" = "xx11"; then
6815 $as_echo "$as_me: failed program was:" >&5
6816 sed 's/^/| /' conftest.$ac_ext >&5
6818 CPPFLAGS="$lxdream_save_cppflags"
6821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6824 if test "$HAVE_COCOA" = 'yes' -a "$with_gtk" = "no"; then
6835 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6836 if test -n "$ac_tool_prefix"; then
6837 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6838 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6839 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6840 $as_echo_n "checking for $ac_word... " >&6; }
6841 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6842 $as_echo_n "(cached) " >&6
6846 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6853 test -z "$as_dir" && as_dir=.
6854 for ac_exec_ext in '' $ac_executable_extensions; do
6855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6856 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6857 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6867 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6868 if test -n "$PKG_CONFIG"; then
6869 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6870 $as_echo "$PKG_CONFIG" >&6; }
6872 { $as_echo "$as_me:$LINENO: result: no" >&5
6873 $as_echo "no" >&6; }
6878 if test -z "$ac_cv_path_PKG_CONFIG"; then
6879 ac_pt_PKG_CONFIG=$PKG_CONFIG
6880 # Extract the first word of "pkg-config", so it can be a program name with args.
6881 set dummy pkg-config; ac_word=$2
6882 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6883 $as_echo_n "checking for $ac_word... " >&6; }
6884 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
6885 $as_echo_n "(cached) " >&6
6887 case $ac_pt_PKG_CONFIG in
6889 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6896 test -z "$as_dir" && as_dir=.
6897 for ac_exec_ext in '' $ac_executable_extensions; do
6898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6899 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6900 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6910 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6911 if test -n "$ac_pt_PKG_CONFIG"; then
6912 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
6913 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6915 { $as_echo "$as_me:$LINENO: result: no" >&5
6916 $as_echo "no" >&6; }
6919 if test "x$ac_pt_PKG_CONFIG" = x; then
6922 case $cross_compiling:$ac_tool_warned in
6924 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6925 whose name does not start with the host triplet. If you think this
6926 configuration is useful to you, please write to autoconf@gnu.org." >&5
6927 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6928 whose name does not start with the host triplet. If you think this
6929 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6930 ac_tool_warned=yes ;;
6932 PKG_CONFIG=$ac_pt_PKG_CONFIG
6935 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6939 if test -n "$PKG_CONFIG"; then
6940 _pkg_min_version=0.9.0
6941 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
6942 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6943 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6944 { $as_echo "$as_me:$LINENO: result: yes" >&5
6945 $as_echo "yes" >&6; }
6947 { $as_echo "$as_me:$LINENO: result: no" >&5
6948 $as_echo "no" >&6; }
6955 { $as_echo "$as_me:$LINENO: checking for LIBPNG" >&5
6956 $as_echo_n "checking for LIBPNG... " >&6; }
6958 if test -n "$PKG_CONFIG"; then
6959 if test -n "$LIBPNG_CFLAGS"; then
6960 pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
6962 if test -n "$PKG_CONFIG" && \
6963 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
6964 ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
6966 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 (exit $ac_status); }; then
6968 pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
6976 if test -n "$PKG_CONFIG"; then
6977 if test -n "$LIBPNG_LIBS"; then
6978 pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
6980 if test -n "$PKG_CONFIG" && \
6981 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
6982 ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
6984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); }; then
6986 pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
6997 if test $pkg_failed = yes; then
6999 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7000 _pkg_short_errors_supported=yes
7002 _pkg_short_errors_supported=no
7004 if test $_pkg_short_errors_supported = yes; then
7005 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng "`
7007 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng "`
7009 # Put the nasty error message in config.log where it belongs
7010 echo "$LIBPNG_PKG_ERRORS" >&5
7012 { { $as_echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
7016 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7017 installed software in a non-standard prefix.
7019 Alternatively, you may set the environment variables LIBPNG_CFLAGS
7020 and LIBPNG_LIBS to avoid the need to call pkg-config.
7021 See the pkg-config man page for more details.
7023 $as_echo "$as_me: error: Package requirements (libpng ) were not met:
7027 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7028 installed software in a non-standard prefix.
7030 Alternatively, you may set the environment variables LIBPNG_CFLAGS
7031 and LIBPNG_LIBS to avoid the need to call pkg-config.
7032 See the pkg-config man page for more details.
7034 { (exit 1); exit 1; }; }
7035 elif test $pkg_failed = untried; then
7036 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
7037 is in your PATH or set the PKG_CONFIG environment variable to the full
7040 Alternatively, you may set the environment variables LIBPNG_CFLAGS
7041 and LIBPNG_LIBS to avoid the need to call pkg-config.
7042 See the pkg-config man page for more details.
7044 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7045 See \`config.log' for more details." >&5
7046 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
7047 is in your PATH or set the PKG_CONFIG environment variable to the full
7050 Alternatively, you may set the environment variables LIBPNG_CFLAGS
7051 and LIBPNG_LIBS to avoid the need to call pkg-config.
7052 See the pkg-config man page for more details.
7054 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7055 See \`config.log' for more details." >&2;}
7056 { (exit 1); exit 1; }; }
7058 LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
7059 LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
7060 { $as_echo "$as_me:$LINENO: result: yes" >&5
7061 $as_echo "yes" >&6; }
7066 { $as_echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
7067 $as_echo_n "checking for uncompress in -lz... " >&6; }
7068 if test "${ac_cv_lib_z_uncompress+set}" = set; then
7069 $as_echo_n "(cached) " >&6
7071 ac_check_lib_save_LIBS=$LIBS
7073 cat >conftest.$ac_ext <<_ACEOF
7076 cat confdefs.h >>conftest.$ac_ext
7077 cat >>conftest.$ac_ext <<_ACEOF
7078 /* end confdefs.h. */
7080 /* Override any GCC internal prototype to avoid an error.
7081 Use char because int might match the return type of a GCC
7082 builtin and then its argument prototype would still apply. */
7090 return uncompress ();
7095 rm -f conftest.$ac_objext conftest$ac_exeext
7096 if { (ac_try="$ac_link"
7098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7099 *) ac_try_echo=$ac_try;;
7101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7102 $as_echo "$ac_try_echo") >&5
7103 (eval "$ac_link") 2>conftest.er1
7105 grep -v '^ *+' conftest.er1 >conftest.err
7107 cat conftest.err >&5
7108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109 (exit $ac_status); } && {
7110 test -z "$ac_c_werror_flag" ||
7111 test ! -s conftest.err
7112 } && test -s conftest$ac_exeext && {
7113 test "$cross_compiling" = yes ||
7114 $as_test_x conftest$ac_exeext
7116 ac_cv_lib_z_uncompress=yes
7118 $as_echo "$as_me: failed program was:" >&5
7119 sed 's/^/| /' conftest.$ac_ext >&5
7121 ac_cv_lib_z_uncompress=no
7124 rm -rf conftest.dSYM
7125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7126 conftest$ac_exeext conftest.$ac_ext
7127 LIBS=$ac_check_lib_save_LIBS
7129 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
7130 $as_echo "$ac_cv_lib_z_uncompress" >&6; }
7131 if test $ac_cv_lib_z_uncompress = yes; then
7132 cat >>confdefs.h <<_ACEOF
7140 echo "Zlib (libz.so) could not be found, but is required."
7145 if test "x$with_gtk" = "xno"; then
7148 { $as_echo "$as_me:$LINENO: checking for GLIB" >&5
7149 $as_echo_n "checking for GLIB... " >&6; }
7151 if test -n "$PKG_CONFIG"; then
7152 if test -n "$GLIB_CFLAGS"; then
7153 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
7155 if test -n "$PKG_CONFIG" && \
7156 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
7157 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
7159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); }; then
7161 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
7169 if test -n "$PKG_CONFIG"; then
7170 if test -n "$GLIB_LIBS"; then
7171 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
7173 if test -n "$PKG_CONFIG" && \
7174 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
7175 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
7177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 (exit $ac_status); }; then
7179 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
7190 if test $pkg_failed = yes; then
7192 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7193 _pkg_short_errors_supported=yes
7195 _pkg_short_errors_supported=no
7197 if test $_pkg_short_errors_supported = yes; then
7198 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"`
7200 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
7202 # Put the nasty error message in config.log where it belongs
7203 echo "$GLIB_PKG_ERRORS" >&5
7205 { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
7209 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7210 installed software in a non-standard prefix.
7212 Alternatively, you may set the environment variables GLIB_CFLAGS
7213 and GLIB_LIBS to avoid the need to call pkg-config.
7214 See the pkg-config man page for more details.
7216 $as_echo "$as_me: error: Package requirements (glib-2.0) were not met:
7220 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7221 installed software in a non-standard prefix.
7223 Alternatively, you may set the environment variables GLIB_CFLAGS
7224 and GLIB_LIBS to avoid the need to call pkg-config.
7225 See the pkg-config man page for more details.
7227 { (exit 1); exit 1; }; }
7228 elif test $pkg_failed = untried; then
7229 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
7230 is in your PATH or set the PKG_CONFIG environment variable to the full
7233 Alternatively, you may set the environment variables GLIB_CFLAGS
7234 and GLIB_LIBS to avoid the need to call pkg-config.
7235 See the pkg-config man page for more details.
7237 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7238 See \`config.log' for more details." >&5
7239 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
7240 is in your PATH or set the PKG_CONFIG environment variable to the full
7243 Alternatively, you may set the environment variables GLIB_CFLAGS
7244 and GLIB_LIBS to avoid the need to call pkg-config.
7245 See the pkg-config man page for more details.
7247 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7248 See \`config.log' for more details." >&2;}
7249 { (exit 1); exit 1; }; }
7251 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
7252 GLIB_LIBS=$pkg_cv_GLIB_LIBS
7253 { $as_echo "$as_me:$LINENO: result: yes" >&5
7254 $as_echo "yes" >&6; }
7260 { $as_echo "$as_me:$LINENO: checking for GTK" >&5
7261 $as_echo_n "checking for GTK... " >&6; }
7263 if test -n "$PKG_CONFIG"; then
7264 if test -n "$GTK_CFLAGS"; then
7265 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
7267 if test -n "$PKG_CONFIG" && \
7268 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
7269 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
7271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); }; then
7273 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
7281 if test -n "$PKG_CONFIG"; then
7282 if test -n "$GTK_LIBS"; then
7283 pkg_cv_GTK_LIBS="$GTK_LIBS"
7285 if test -n "$PKG_CONFIG" && \
7286 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
7287 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
7289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290 (exit $ac_status); }; then
7291 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
7302 if test $pkg_failed = yes; then
7304 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7305 _pkg_short_errors_supported=yes
7307 _pkg_short_errors_supported=no
7309 if test $_pkg_short_errors_supported = yes; then
7310 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
7312 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
7314 # Put the nasty error message in config.log where it belongs
7315 echo "$GTK_PKG_ERRORS" >&5
7317 { { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
7321 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7322 installed software in a non-standard prefix.
7324 Alternatively, you may set the environment variables GTK_CFLAGS
7325 and GTK_LIBS to avoid the need to call pkg-config.
7326 See the pkg-config man page for more details.
7328 $as_echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
7332 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7333 installed software in a non-standard prefix.
7335 Alternatively, you may set the environment variables GTK_CFLAGS
7336 and GTK_LIBS to avoid the need to call pkg-config.
7337 See the pkg-config man page for more details.
7339 { (exit 1); exit 1; }; }
7340 elif test $pkg_failed = untried; then
7341 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
7342 is in your PATH or set the PKG_CONFIG environment variable to the full
7345 Alternatively, you may set the environment variables GTK_CFLAGS
7346 and GTK_LIBS to avoid the need to call pkg-config.
7347 See the pkg-config man page for more details.
7349 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7350 See \`config.log' for more details." >&5
7351 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
7352 is in your PATH or set the PKG_CONFIG environment variable to the full
7355 Alternatively, you may set the environment variables GTK_CFLAGS
7356 and GTK_LIBS to avoid the need to call pkg-config.
7357 See the pkg-config man page for more details.
7359 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7360 See \`config.log' for more details." >&2;}
7361 { (exit 1); exit 1; }; }
7363 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
7364 GTK_LIBS=$pkg_cv_GTK_LIBS
7365 { $as_echo "$as_me:$LINENO: result: yes" >&5
7366 $as_echo "yes" >&6; }
7370 cat >>confdefs.h <<\_ACEOF
7377 LIBS="$LIBS $GTK_LIBS"
7378 { $as_echo "$as_me:$LINENO: checking for gdk_x11_display_get_xdisplay" >&5
7379 $as_echo_n "checking for gdk_x11_display_get_xdisplay... " >&6; }
7380 if test "${ac_cv_func_gdk_x11_display_get_xdisplay+set}" = set; then
7381 $as_echo_n "(cached) " >&6
7383 cat >conftest.$ac_ext <<_ACEOF
7386 cat confdefs.h >>conftest.$ac_ext
7387 cat >>conftest.$ac_ext <<_ACEOF
7388 /* end confdefs.h. */
7389 /* Define gdk_x11_display_get_xdisplay to an innocuous variant, in case <limits.h> declares gdk_x11_display_get_xdisplay.
7390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7391 #define gdk_x11_display_get_xdisplay innocuous_gdk_x11_display_get_xdisplay
7393 /* System header to define __stub macros and hopefully few prototypes,
7394 which can conflict with char gdk_x11_display_get_xdisplay (); below.
7395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7396 <limits.h> exists even on freestanding compilers. */
7399 # include <limits.h>
7401 # include <assert.h>
7404 #undef gdk_x11_display_get_xdisplay
7406 /* Override any GCC internal prototype to avoid an error.
7407 Use char because int might match the return type of a GCC
7408 builtin and then its argument prototype would still apply. */
7412 char gdk_x11_display_get_xdisplay ();
7413 /* The GNU C library defines this for functions which it implements
7414 to always fail with ENOSYS. Some functions are actually named
7415 something starting with __ and the normal name is an alias. */
7416 #if defined __stub_gdk_x11_display_get_xdisplay || defined __stub___gdk_x11_display_get_xdisplay
7423 return gdk_x11_display_get_xdisplay ();
7428 rm -f conftest.$ac_objext conftest$ac_exeext
7429 if { (ac_try="$ac_link"
7431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7432 *) ac_try_echo=$ac_try;;
7434 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7435 $as_echo "$ac_try_echo") >&5
7436 (eval "$ac_link") 2>conftest.er1
7438 grep -v '^ *+' conftest.er1 >conftest.err
7440 cat conftest.err >&5
7441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); } && {
7443 test -z "$ac_c_werror_flag" ||
7444 test ! -s conftest.err
7445 } && test -s conftest$ac_exeext && {
7446 test "$cross_compiling" = yes ||
7447 $as_test_x conftest$ac_exeext
7449 ac_cv_func_gdk_x11_display_get_xdisplay=yes
7451 $as_echo "$as_me: failed program was:" >&5
7452 sed 's/^/| /' conftest.$ac_ext >&5
7454 ac_cv_func_gdk_x11_display_get_xdisplay=no
7457 rm -rf conftest.dSYM
7458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7459 conftest$ac_exeext conftest.$ac_ext
7461 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdk_x11_display_get_xdisplay" >&5
7462 $as_echo "$ac_cv_func_gdk_x11_display_get_xdisplay" >&6; }
7463 if test $ac_cv_func_gdk_x11_display_get_xdisplay = yes; then
7467 cat >>confdefs.h <<\_ACEOF
7468 #define HAVE_GTK_X11 1
7473 { $as_echo "$as_me:$LINENO: checking for gdk_quartz_window_get_nsview" >&5
7474 $as_echo_n "checking for gdk_quartz_window_get_nsview... " >&6; }
7475 if test "${ac_cv_func_gdk_quartz_window_get_nsview+set}" = set; then
7476 $as_echo_n "(cached) " >&6
7478 cat >conftest.$ac_ext <<_ACEOF
7481 cat confdefs.h >>conftest.$ac_ext
7482 cat >>conftest.$ac_ext <<_ACEOF
7483 /* end confdefs.h. */
7484 /* Define gdk_quartz_window_get_nsview to an innocuous variant, in case <limits.h> declares gdk_quartz_window_get_nsview.
7485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7486 #define gdk_quartz_window_get_nsview innocuous_gdk_quartz_window_get_nsview
7488 /* System header to define __stub macros and hopefully few prototypes,
7489 which can conflict with char gdk_quartz_window_get_nsview (); below.
7490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7491 <limits.h> exists even on freestanding compilers. */
7494 # include <limits.h>
7496 # include <assert.h>
7499 #undef gdk_quartz_window_get_nsview
7501 /* Override any GCC internal prototype to avoid an error.
7502 Use char because int might match the return type of a GCC
7503 builtin and then its argument prototype would still apply. */
7507 char gdk_quartz_window_get_nsview ();
7508 /* The GNU C library defines this for functions which it implements
7509 to always fail with ENOSYS. Some functions are actually named
7510 something starting with __ and the normal name is an alias. */
7511 #if defined __stub_gdk_quartz_window_get_nsview || defined __stub___gdk_quartz_window_get_nsview
7518 return gdk_quartz_window_get_nsview ();
7523 rm -f conftest.$ac_objext conftest$ac_exeext
7524 if { (ac_try="$ac_link"
7526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7527 *) ac_try_echo=$ac_try;;
7529 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7530 $as_echo "$ac_try_echo") >&5
7531 (eval "$ac_link") 2>conftest.er1
7533 grep -v '^ *+' conftest.er1 >conftest.err
7535 cat conftest.err >&5
7536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); } && {
7538 test -z "$ac_c_werror_flag" ||
7539 test ! -s conftest.err
7540 } && test -s conftest$ac_exeext && {
7541 test "$cross_compiling" = yes ||
7542 $as_test_x conftest$ac_exeext
7544 ac_cv_func_gdk_quartz_window_get_nsview=yes
7546 $as_echo "$as_me: failed program was:" >&5
7547 sed 's/^/| /' conftest.$ac_ext >&5
7549 ac_cv_func_gdk_quartz_window_get_nsview=no
7552 rm -rf conftest.dSYM
7553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7554 conftest$ac_exeext conftest.$ac_ext
7556 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdk_quartz_window_get_nsview" >&5
7557 $as_echo "$ac_cv_func_gdk_quartz_window_get_nsview" >&6; }
7558 if test $ac_cv_func_gdk_quartz_window_get_nsview = yes; then
7562 cat >>confdefs.h <<\_ACEOF
7563 #define HAVE_GTK_OSX 1
7572 if test "$HAVE_GTK" = 'yes'; then
7581 if test "x$with_osmesa" != xno; then
7585 { $as_echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
7586 $as_echo_n "checking for OSMesaCreateContext in -lOSMesa... " >&6; }
7587 if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
7588 $as_echo_n "(cached) " >&6
7590 ac_check_lib_save_LIBS=$LIBS
7591 LIBS="-lOSMesa $LIBS"
7592 cat >conftest.$ac_ext <<_ACEOF
7595 cat confdefs.h >>conftest.$ac_ext
7596 cat >>conftest.$ac_ext <<_ACEOF
7597 /* end confdefs.h. */
7599 /* Override any GCC internal prototype to avoid an error.
7600 Use char because int might match the return type of a GCC
7601 builtin and then its argument prototype would still apply. */
7605 char OSMesaCreateContext ();
7609 return OSMesaCreateContext ();
7614 rm -f conftest.$ac_objext conftest$ac_exeext
7615 if { (ac_try="$ac_link"
7617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7618 *) ac_try_echo=$ac_try;;
7620 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7621 $as_echo "$ac_try_echo") >&5
7622 (eval "$ac_link") 2>conftest.er1
7624 grep -v '^ *+' conftest.er1 >conftest.err
7626 cat conftest.err >&5
7627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628 (exit $ac_status); } && {
7629 test -z "$ac_c_werror_flag" ||
7630 test ! -s conftest.err
7631 } && test -s conftest$ac_exeext && {
7632 test "$cross_compiling" = yes ||
7633 $as_test_x conftest$ac_exeext
7635 ac_cv_lib_OSMesa_OSMesaCreateContext=yes
7637 $as_echo "$as_me: failed program was:" >&5
7638 sed 's/^/| /' conftest.$ac_ext >&5
7640 ac_cv_lib_OSMesa_OSMesaCreateContext=no
7643 rm -rf conftest.dSYM
7644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7645 conftest$ac_exeext conftest.$ac_ext
7646 LIBS=$ac_check_lib_save_LIBS
7648 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
7649 $as_echo "$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6; }
7650 if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
7651 cat >>confdefs.h <<_ACEOF
7652 #define HAVE_LIBOSMESA 1
7655 LIBS="-lOSMesa $LIBS"
7658 { { $as_echo "$as_me:$LINENO: error: --with-osmesa was given, but OSMesa library could not be found
7659 See \`config.log' for more details." >&5
7660 $as_echo "$as_me: error: --with-osmesa was given, but OSMesa library could not be found
7661 See \`config.log' for more details." >&2;}
7662 { (exit 1); exit 1; }; }
7665 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
7666 { $as_echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
7667 $as_echo_n "checking for GL/osmesa.h... " >&6; }
7668 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
7669 $as_echo_n "(cached) " >&6
7671 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
7672 $as_echo "$ac_cv_header_GL_osmesa_h" >&6; }
7674 # Is the header compilable?
7675 { $as_echo "$as_me:$LINENO: checking GL/osmesa.h usability" >&5
7676 $as_echo_n "checking GL/osmesa.h usability... " >&6; }
7677 cat >conftest.$ac_ext <<_ACEOF
7680 cat confdefs.h >>conftest.$ac_ext
7681 cat >>conftest.$ac_ext <<_ACEOF
7682 /* end confdefs.h. */
7683 $ac_includes_default
7684 #include <GL/osmesa.h>
7686 rm -f conftest.$ac_objext
7687 if { (ac_try="$ac_compile"
7689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7690 *) ac_try_echo=$ac_try;;
7692 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7693 $as_echo "$ac_try_echo") >&5
7694 (eval "$ac_compile") 2>conftest.er1
7696 grep -v '^ *+' conftest.er1 >conftest.err
7698 cat conftest.err >&5
7699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7700 (exit $ac_status); } && {
7701 test -z "$ac_c_werror_flag" ||
7702 test ! -s conftest.err
7703 } && test -s conftest.$ac_objext; then
7704 ac_header_compiler=yes
7706 $as_echo "$as_me: failed program was:" >&5
7707 sed 's/^/| /' conftest.$ac_ext >&5
7709 ac_header_compiler=no
7712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7713 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7714 $as_echo "$ac_header_compiler" >&6; }
7716 # Is the header present?
7717 { $as_echo "$as_me:$LINENO: checking GL/osmesa.h presence" >&5
7718 $as_echo_n "checking GL/osmesa.h presence... " >&6; }
7719 cat >conftest.$ac_ext <<_ACEOF
7722 cat confdefs.h >>conftest.$ac_ext
7723 cat >>conftest.$ac_ext <<_ACEOF
7724 /* end confdefs.h. */
7725 #include <GL/osmesa.h>
7727 if { (ac_try="$ac_cpp conftest.$ac_ext"
7729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7730 *) ac_try_echo=$ac_try;;
7732 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7733 $as_echo "$ac_try_echo") >&5
7734 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7736 grep -v '^ *+' conftest.er1 >conftest.err
7738 cat conftest.err >&5
7739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740 (exit $ac_status); } >/dev/null && {
7741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7742 test ! -s conftest.err
7744 ac_header_preproc=yes
7746 $as_echo "$as_me: failed program was:" >&5
7747 sed 's/^/| /' conftest.$ac_ext >&5
7749 ac_header_preproc=no
7752 rm -f conftest.err conftest.$ac_ext
7753 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7754 $as_echo "$ac_header_preproc" >&6; }
7756 # So? What about this header?
7757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7759 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&5
7760 $as_echo "$as_me: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7761 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&5
7762 $as_echo "$as_me: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&2;}
7763 ac_header_preproc=yes
7766 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: present but cannot be compiled" >&5
7767 $as_echo "$as_me: WARNING: GL/osmesa.h: present but cannot be compiled" >&2;}
7768 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: check for missing prerequisite headers?" >&5
7769 $as_echo "$as_me: WARNING: GL/osmesa.h: check for missing prerequisite headers?" >&2;}
7770 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: see the Autoconf documentation" >&5
7771 $as_echo "$as_me: WARNING: GL/osmesa.h: see the Autoconf documentation" >&2;}
7772 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: section \"Present But Cannot Be Compiled\"" >&5
7773 $as_echo "$as_me: WARNING: GL/osmesa.h: section \"Present But Cannot Be Compiled\"" >&2;}
7774 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&5
7775 $as_echo "$as_me: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&2;}
7776 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&5
7777 $as_echo "$as_me: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&2;}
7781 { $as_echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
7782 $as_echo_n "checking for GL/osmesa.h... " >&6; }
7783 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
7784 $as_echo_n "(cached) " >&6
7786 ac_cv_header_GL_osmesa_h=$ac_header_preproc
7788 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
7789 $as_echo "$ac_cv_header_GL_osmesa_h" >&6; }
7792 if test $ac_cv_header_GL_osmesa_h = yes; then
7795 { { $as_echo "$as_me:$LINENO: error: --with-osmesa was given, but osmesa.h could not be found
7796 See \`config.log' for more details." >&5
7797 $as_echo "$as_me: error: --with-osmesa was given, but osmesa.h could not be found
7798 See \`config.log' for more details." >&2;}
7799 { (exit 1); exit 1; }; }
7804 VIDEO_DRIVERS="$VIDEO_DRIVERS osmesa"
7806 cat >>confdefs.h <<\_ACEOF
7807 #define HAVE_OSMESA 1
7813 if test "x$APPLE_BUILD" != 'xyes'; then
7815 { $as_echo "$as_me:$LINENO: checking for glVertex3f in -lGL" >&5
7816 $as_echo_n "checking for glVertex3f in -lGL... " >&6; }
7817 if test "${ac_cv_lib_GL_glVertex3f+set}" = set; then
7818 $as_echo_n "(cached) " >&6
7820 ac_check_lib_save_LIBS=$LIBS
7822 cat >conftest.$ac_ext <<_ACEOF
7825 cat confdefs.h >>conftest.$ac_ext
7826 cat >>conftest.$ac_ext <<_ACEOF
7827 /* end confdefs.h. */
7829 /* Override any GCC internal prototype to avoid an error.
7830 Use char because int might match the return type of a GCC
7831 builtin and then its argument prototype would still apply. */
7839 return glVertex3f ();
7844 rm -f conftest.$ac_objext conftest$ac_exeext
7845 if { (ac_try="$ac_link"
7847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7848 *) ac_try_echo=$ac_try;;
7850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7851 $as_echo "$ac_try_echo") >&5
7852 (eval "$ac_link") 2>conftest.er1
7854 grep -v '^ *+' conftest.er1 >conftest.err
7856 cat conftest.err >&5
7857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); } && {
7859 test -z "$ac_c_werror_flag" ||
7860 test ! -s conftest.err
7861 } && test -s conftest$ac_exeext && {
7862 test "$cross_compiling" = yes ||
7863 $as_test_x conftest$ac_exeext
7865 ac_cv_lib_GL_glVertex3f=yes
7867 $as_echo "$as_me: failed program was:" >&5
7868 sed 's/^/| /' conftest.$ac_ext >&5
7870 ac_cv_lib_GL_glVertex3f=no
7873 rm -rf conftest.dSYM
7874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7875 conftest$ac_exeext conftest.$ac_ext
7876 LIBS=$ac_check_lib_save_LIBS
7878 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glVertex3f" >&5
7879 $as_echo "$ac_cv_lib_GL_glVertex3f" >&6; }
7880 if test $ac_cv_lib_GL_glVertex3f = yes; then
7881 cat >>confdefs.h <<_ACEOF
7882 #define HAVE_LIBGL 1
7889 { { $as_echo "$as_me:$LINENO: error: \"The OpenGL library (libGL.so) could not be found, but is required.\"
7890 See \`config.log' for more details." >&5
7891 $as_echo "$as_me: error: \"The OpenGL library (libGL.so) could not be found, but is required.\"
7892 See \`config.log' for more details." >&2;}
7893 { (exit 1); exit 1; }; }
7896 if test "${ac_cv_header_GL_gl_h+set}" = set; then
7897 { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
7898 $as_echo_n "checking for GL/gl.h... " >&6; }
7899 if test "${ac_cv_header_GL_gl_h+set}" = set; then
7900 $as_echo_n "(cached) " >&6
7902 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
7903 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
7905 # Is the header compilable?
7906 { $as_echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
7907 $as_echo_n "checking GL/gl.h usability... " >&6; }
7908 cat >conftest.$ac_ext <<_ACEOF
7911 cat confdefs.h >>conftest.$ac_ext
7912 cat >>conftest.$ac_ext <<_ACEOF
7913 /* end confdefs.h. */
7914 $ac_includes_default
7917 rm -f conftest.$ac_objext
7918 if { (ac_try="$ac_compile"
7920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7921 *) ac_try_echo=$ac_try;;
7923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7924 $as_echo "$ac_try_echo") >&5
7925 (eval "$ac_compile") 2>conftest.er1
7927 grep -v '^ *+' conftest.er1 >conftest.err
7929 cat conftest.err >&5
7930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); } && {
7932 test -z "$ac_c_werror_flag" ||
7933 test ! -s conftest.err
7934 } && test -s conftest.$ac_objext; then
7935 ac_header_compiler=yes
7937 $as_echo "$as_me: failed program was:" >&5
7938 sed 's/^/| /' conftest.$ac_ext >&5
7940 ac_header_compiler=no
7943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7944 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7945 $as_echo "$ac_header_compiler" >&6; }
7947 # Is the header present?
7948 { $as_echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
7949 $as_echo_n "checking GL/gl.h presence... " >&6; }
7950 cat >conftest.$ac_ext <<_ACEOF
7953 cat confdefs.h >>conftest.$ac_ext
7954 cat >>conftest.$ac_ext <<_ACEOF
7955 /* end confdefs.h. */
7958 if { (ac_try="$ac_cpp conftest.$ac_ext"
7960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7961 *) ac_try_echo=$ac_try;;
7963 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7964 $as_echo "$ac_try_echo") >&5
7965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7967 grep -v '^ *+' conftest.er1 >conftest.err
7969 cat conftest.err >&5
7970 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7971 (exit $ac_status); } >/dev/null && {
7972 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7973 test ! -s conftest.err
7975 ac_header_preproc=yes
7977 $as_echo "$as_me: failed program was:" >&5
7978 sed 's/^/| /' conftest.$ac_ext >&5
7980 ac_header_preproc=no
7983 rm -f conftest.err conftest.$ac_ext
7984 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7985 $as_echo "$ac_header_preproc" >&6; }
7987 # So? What about this header?
7988 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7990 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7991 $as_echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7992 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
7993 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
7994 ac_header_preproc=yes
7997 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
7998 $as_echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
7999 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
8000 $as_echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
8001 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
8002 $as_echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
8003 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
8004 $as_echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
8005 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
8006 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
8007 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
8008 $as_echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
8012 { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
8013 $as_echo_n "checking for GL/gl.h... " >&6; }
8014 if test "${ac_cv_header_GL_gl_h+set}" = set; then
8015 $as_echo_n "(cached) " >&6
8017 ac_cv_header_GL_gl_h=$ac_header_preproc
8019 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
8020 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
8023 if test $ac_cv_header_GL_gl_h = yes; then
8027 { { $as_echo "$as_me:$LINENO: error: \"The OpenGL header files (eg GL/gl.h) could not be found, but are required.\"
8028 See \`config.log' for more details." >&5
8029 $as_echo "$as_me: error: \"The OpenGL header files (eg GL/gl.h) could not be found, but are required.\"
8030 See \`config.log' for more details." >&2;}
8031 { (exit 1); exit 1; }; }
8036 { $as_echo "$as_me:$LINENO: checking for NSOpenGLGetVersion" >&5
8037 $as_echo_n "checking for NSOpenGLGetVersion... " >&6; }
8038 if test "${ac_cv_func_NSOpenGLGetVersion+set}" = set; then
8039 $as_echo_n "(cached) " >&6
8041 cat >conftest.$ac_ext <<_ACEOF
8044 cat confdefs.h >>conftest.$ac_ext
8045 cat >>conftest.$ac_ext <<_ACEOF
8046 /* end confdefs.h. */
8047 /* Define NSOpenGLGetVersion to an innocuous variant, in case <limits.h> declares NSOpenGLGetVersion.
8048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8049 #define NSOpenGLGetVersion innocuous_NSOpenGLGetVersion
8051 /* System header to define __stub macros and hopefully few prototypes,
8052 which can conflict with char NSOpenGLGetVersion (); below.
8053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8054 <limits.h> exists even on freestanding compilers. */
8057 # include <limits.h>
8059 # include <assert.h>
8062 #undef NSOpenGLGetVersion
8064 /* Override any GCC internal prototype to avoid an error.
8065 Use char because int might match the return type of a GCC
8066 builtin and then its argument prototype would still apply. */
8070 char NSOpenGLGetVersion ();
8071 /* The GNU C library defines this for functions which it implements
8072 to always fail with ENOSYS. Some functions are actually named
8073 something starting with __ and the normal name is an alias. */
8074 #if defined __stub_NSOpenGLGetVersion || defined __stub___NSOpenGLGetVersion
8081 return NSOpenGLGetVersion ();
8086 rm -f conftest.$ac_objext conftest$ac_exeext
8087 if { (ac_try="$ac_link"
8089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8090 *) ac_try_echo=$ac_try;;
8092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8093 $as_echo "$ac_try_echo") >&5
8094 (eval "$ac_link") 2>conftest.er1
8096 grep -v '^ *+' conftest.er1 >conftest.err
8098 cat conftest.err >&5
8099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100 (exit $ac_status); } && {
8101 test -z "$ac_c_werror_flag" ||
8102 test ! -s conftest.err
8103 } && test -s conftest$ac_exeext && {
8104 test "$cross_compiling" = yes ||
8105 $as_test_x conftest$ac_exeext
8107 ac_cv_func_NSOpenGLGetVersion=yes
8109 $as_echo "$as_me: failed program was:" >&5
8110 sed 's/^/| /' conftest.$ac_ext >&5
8112 ac_cv_func_NSOpenGLGetVersion=no
8115 rm -rf conftest.dSYM
8116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8117 conftest$ac_exeext conftest.$ac_ext
8119 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_NSOpenGLGetVersion" >&5
8120 $as_echo "$ac_cv_func_NSOpenGLGetVersion" >&6; }
8121 if test $ac_cv_func_NSOpenGLGetVersion = yes; then
8124 VIDEO_DRIVERS="$VIDEO_DRIVERS nsgl"
8126 cat >>confdefs.h <<\_ACEOF
8134 if test "x$HAVE_GTK_X11" = "xyes"; then
8135 if test "x$APPLE_BUILD" = "xyes"; then
8136 LIBS="$LIBS -L/usr/X11/lib -lGL"
8138 { $as_echo "$as_me:$LINENO: checking for glXQueryVersion" >&5
8139 $as_echo_n "checking for glXQueryVersion... " >&6; }
8140 if test "${ac_cv_func_glXQueryVersion+set}" = set; then
8141 $as_echo_n "(cached) " >&6
8143 cat >conftest.$ac_ext <<_ACEOF
8146 cat confdefs.h >>conftest.$ac_ext
8147 cat >>conftest.$ac_ext <<_ACEOF
8148 /* end confdefs.h. */
8149 /* Define glXQueryVersion to an innocuous variant, in case <limits.h> declares glXQueryVersion.
8150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8151 #define glXQueryVersion innocuous_glXQueryVersion
8153 /* System header to define __stub macros and hopefully few prototypes,
8154 which can conflict with char glXQueryVersion (); below.
8155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8156 <limits.h> exists even on freestanding compilers. */
8159 # include <limits.h>
8161 # include <assert.h>
8164 #undef glXQueryVersion
8166 /* Override any GCC internal prototype to avoid an error.
8167 Use char because int might match the return type of a GCC
8168 builtin and then its argument prototype would still apply. */
8172 char glXQueryVersion ();
8173 /* The GNU C library defines this for functions which it implements
8174 to always fail with ENOSYS. Some functions are actually named
8175 something starting with __ and the normal name is an alias. */
8176 #if defined __stub_glXQueryVersion || defined __stub___glXQueryVersion
8183 return glXQueryVersion ();
8188 rm -f conftest.$ac_objext conftest$ac_exeext
8189 if { (ac_try="$ac_link"
8191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8192 *) ac_try_echo=$ac_try;;
8194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8195 $as_echo "$ac_try_echo") >&5
8196 (eval "$ac_link") 2>conftest.er1
8198 grep -v '^ *+' conftest.er1 >conftest.err
8200 cat conftest.err >&5
8201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8202 (exit $ac_status); } && {
8203 test -z "$ac_c_werror_flag" ||
8204 test ! -s conftest.err
8205 } && test -s conftest$ac_exeext && {
8206 test "$cross_compiling" = yes ||
8207 $as_test_x conftest$ac_exeext
8209 ac_cv_func_glXQueryVersion=yes
8211 $as_echo "$as_me: failed program was:" >&5
8212 sed 's/^/| /' conftest.$ac_ext >&5
8214 ac_cv_func_glXQueryVersion=no
8217 rm -rf conftest.dSYM
8218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8219 conftest$ac_exeext conftest.$ac_ext
8221 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glXQueryVersion" >&5
8222 $as_echo "$ac_cv_func_glXQueryVersion" >&6; }
8223 if test $ac_cv_func_glXQueryVersion = yes; then
8226 VIDEO_DRIVERS="$VIDEO_DRIVERS glx"
8228 cat >>confdefs.h <<\_ACEOF
8244 if test "x$HAVE_OSMESA" = "xyes"; then
8246 VIDEO_OSMESA_FALSE='#'
8248 VIDEO_OSMESA_TRUE='#'
8254 if test "x$HAVE_GLX" = "xyes"; then
8264 if test "x$HAVE_NSGL" = "xyes"; then
8266 VIDEO_NSGL_FALSE='#'
8273 { $as_echo "$as_me:$LINENO: checking for glGenFramebuffersEXT" >&5
8274 $as_echo_n "checking for glGenFramebuffersEXT... " >&6; }
8275 if test "${ac_cv_func_glGenFramebuffersEXT+set}" = set; then
8276 $as_echo_n "(cached) " >&6
8278 cat >conftest.$ac_ext <<_ACEOF
8281 cat confdefs.h >>conftest.$ac_ext
8282 cat >>conftest.$ac_ext <<_ACEOF
8283 /* end confdefs.h. */
8284 /* Define glGenFramebuffersEXT to an innocuous variant, in case <limits.h> declares glGenFramebuffersEXT.
8285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8286 #define glGenFramebuffersEXT innocuous_glGenFramebuffersEXT
8288 /* System header to define __stub macros and hopefully few prototypes,
8289 which can conflict with char glGenFramebuffersEXT (); below.
8290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8291 <limits.h> exists even on freestanding compilers. */
8294 # include <limits.h>
8296 # include <assert.h>
8299 #undef glGenFramebuffersEXT
8301 /* Override any GCC internal prototype to avoid an error.
8302 Use char because int might match the return type of a GCC
8303 builtin and then its argument prototype would still apply. */
8307 char glGenFramebuffersEXT ();
8308 /* The GNU C library defines this for functions which it implements
8309 to always fail with ENOSYS. Some functions are actually named
8310 something starting with __ and the normal name is an alias. */
8311 #if defined __stub_glGenFramebuffersEXT || defined __stub___glGenFramebuffersEXT
8318 return glGenFramebuffersEXT ();
8323 rm -f conftest.$ac_objext conftest$ac_exeext
8324 if { (ac_try="$ac_link"
8326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8327 *) ac_try_echo=$ac_try;;
8329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8330 $as_echo "$ac_try_echo") >&5
8331 (eval "$ac_link") 2>conftest.er1
8333 grep -v '^ *+' conftest.er1 >conftest.err
8335 cat conftest.err >&5
8336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337 (exit $ac_status); } && {
8338 test -z "$ac_c_werror_flag" ||
8339 test ! -s conftest.err
8340 } && test -s conftest$ac_exeext && {
8341 test "$cross_compiling" = yes ||
8342 $as_test_x conftest$ac_exeext
8344 ac_cv_func_glGenFramebuffersEXT=yes
8346 $as_echo "$as_me: failed program was:" >&5
8347 sed 's/^/| /' conftest.$ac_ext >&5
8349 ac_cv_func_glGenFramebuffersEXT=no
8352 rm -rf conftest.dSYM
8353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8354 conftest$ac_exeext conftest.$ac_ext
8356 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glGenFramebuffersEXT" >&5
8357 $as_echo "$ac_cv_func_glGenFramebuffersEXT" >&6; }
8358 if test $ac_cv_func_glGenFramebuffersEXT = yes; then
8360 cat >>confdefs.h <<\_ACEOF
8361 #define HAVE_OPENGL_FBO 1
8366 { $as_echo "$as_me:$LINENO: checking for glCreateShader" >&5
8367 $as_echo_n "checking for glCreateShader... " >&6; }
8368 if test "${ac_cv_func_glCreateShader+set}" = set; then
8369 $as_echo_n "(cached) " >&6
8371 cat >conftest.$ac_ext <<_ACEOF
8374 cat confdefs.h >>conftest.$ac_ext
8375 cat >>conftest.$ac_ext <<_ACEOF
8376 /* end confdefs.h. */
8377 /* Define glCreateShader to an innocuous variant, in case <limits.h> declares glCreateShader.
8378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8379 #define glCreateShader innocuous_glCreateShader
8381 /* System header to define __stub macros and hopefully few prototypes,
8382 which can conflict with char glCreateShader (); below.
8383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8384 <limits.h> exists even on freestanding compilers. */
8387 # include <limits.h>
8389 # include <assert.h>
8392 #undef glCreateShader
8394 /* Override any GCC internal prototype to avoid an error.
8395 Use char because int might match the return type of a GCC
8396 builtin and then its argument prototype would still apply. */
8400 char glCreateShader ();
8401 /* The GNU C library defines this for functions which it implements
8402 to always fail with ENOSYS. Some functions are actually named
8403 something starting with __ and the normal name is an alias. */
8404 #if defined __stub_glCreateShader || defined __stub___glCreateShader
8411 return glCreateShader ();
8416 rm -f conftest.$ac_objext conftest$ac_exeext
8417 if { (ac_try="$ac_link"
8419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8420 *) ac_try_echo=$ac_try;;
8422 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8423 $as_echo "$ac_try_echo") >&5
8424 (eval "$ac_link") 2>conftest.er1
8426 grep -v '^ *+' conftest.er1 >conftest.err
8428 cat conftest.err >&5
8429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430 (exit $ac_status); } && {
8431 test -z "$ac_c_werror_flag" ||
8432 test ! -s conftest.err
8433 } && test -s conftest$ac_exeext && {
8434 test "$cross_compiling" = yes ||
8435 $as_test_x conftest$ac_exeext
8437 ac_cv_func_glCreateShader=yes
8439 $as_echo "$as_me: failed program was:" >&5
8440 sed 's/^/| /' conftest.$ac_ext >&5
8442 ac_cv_func_glCreateShader=no
8445 rm -rf conftest.dSYM
8446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8447 conftest$ac_exeext conftest.$ac_ext
8449 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShader" >&5
8450 $as_echo "$ac_cv_func_glCreateShader" >&6; }
8451 if test $ac_cv_func_glCreateShader = yes; then
8453 cat >>confdefs.h <<\_ACEOF
8454 #define HAVE_OPENGL_SHADER 1
8459 { $as_echo "$as_me:$LINENO: checking for glCreateShaderObjectARB" >&5
8460 $as_echo_n "checking for glCreateShaderObjectARB... " >&6; }
8461 if test "${ac_cv_func_glCreateShaderObjectARB+set}" = set; then
8462 $as_echo_n "(cached) " >&6
8464 cat >conftest.$ac_ext <<_ACEOF
8467 cat confdefs.h >>conftest.$ac_ext
8468 cat >>conftest.$ac_ext <<_ACEOF
8469 /* end confdefs.h. */
8470 /* Define glCreateShaderObjectARB to an innocuous variant, in case <limits.h> declares glCreateShaderObjectARB.
8471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8472 #define glCreateShaderObjectARB innocuous_glCreateShaderObjectARB
8474 /* System header to define __stub macros and hopefully few prototypes,
8475 which can conflict with char glCreateShaderObjectARB (); below.
8476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8477 <limits.h> exists even on freestanding compilers. */
8480 # include <limits.h>
8482 # include <assert.h>
8485 #undef glCreateShaderObjectARB
8487 /* Override any GCC internal prototype to avoid an error.
8488 Use char because int might match the return type of a GCC
8489 builtin and then its argument prototype would still apply. */
8493 char glCreateShaderObjectARB ();
8494 /* The GNU C library defines this for functions which it implements
8495 to always fail with ENOSYS. Some functions are actually named
8496 something starting with __ and the normal name is an alias. */
8497 #if defined __stub_glCreateShaderObjectARB || defined __stub___glCreateShaderObjectARB
8504 return glCreateShaderObjectARB ();
8509 rm -f conftest.$ac_objext conftest$ac_exeext
8510 if { (ac_try="$ac_link"
8512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8513 *) ac_try_echo=$ac_try;;
8515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8516 $as_echo "$ac_try_echo") >&5
8517 (eval "$ac_link") 2>conftest.er1
8519 grep -v '^ *+' conftest.er1 >conftest.err
8521 cat conftest.err >&5
8522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); } && {
8524 test -z "$ac_c_werror_flag" ||
8525 test ! -s conftest.err
8526 } && test -s conftest$ac_exeext && {
8527 test "$cross_compiling" = yes ||
8528 $as_test_x conftest$ac_exeext
8530 ac_cv_func_glCreateShaderObjectARB=yes
8532 $as_echo "$as_me: failed program was:" >&5
8533 sed 's/^/| /' conftest.$ac_ext >&5
8535 ac_cv_func_glCreateShaderObjectARB=no
8538 rm -rf conftest.dSYM
8539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8540 conftest$ac_exeext conftest.$ac_ext
8542 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShaderObjectARB" >&5
8543 $as_echo "$ac_cv_func_glCreateShaderObjectARB" >&6; }
8544 if test $ac_cv_func_glCreateShaderObjectARB = yes; then
8546 cat >>confdefs.h <<\_ACEOF
8547 #define HAVE_OPENGL_SHADER_ARB 1
8552 { $as_echo "$as_me:$LINENO: checking for glClampColorARB" >&5
8553 $as_echo_n "checking for glClampColorARB... " >&6; }
8554 if test "${ac_cv_func_glClampColorARB+set}" = set; then
8555 $as_echo_n "(cached) " >&6
8557 cat >conftest.$ac_ext <<_ACEOF
8560 cat confdefs.h >>conftest.$ac_ext
8561 cat >>conftest.$ac_ext <<_ACEOF
8562 /* end confdefs.h. */
8563 /* Define glClampColorARB to an innocuous variant, in case <limits.h> declares glClampColorARB.
8564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8565 #define glClampColorARB innocuous_glClampColorARB
8567 /* System header to define __stub macros and hopefully few prototypes,
8568 which can conflict with char glClampColorARB (); below.
8569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8570 <limits.h> exists even on freestanding compilers. */
8573 # include <limits.h>
8575 # include <assert.h>
8578 #undef glClampColorARB
8580 /* Override any GCC internal prototype to avoid an error.
8581 Use char because int might match the return type of a GCC
8582 builtin and then its argument prototype would still apply. */
8586 char glClampColorARB ();
8587 /* The GNU C library defines this for functions which it implements
8588 to always fail with ENOSYS. Some functions are actually named
8589 something starting with __ and the normal name is an alias. */
8590 #if defined __stub_glClampColorARB || defined __stub___glClampColorARB
8597 return glClampColorARB ();
8602 rm -f conftest.$ac_objext conftest$ac_exeext
8603 if { (ac_try="$ac_link"
8605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8606 *) ac_try_echo=$ac_try;;
8608 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8609 $as_echo "$ac_try_echo") >&5
8610 (eval "$ac_link") 2>conftest.er1
8612 grep -v '^ *+' conftest.er1 >conftest.err
8614 cat conftest.err >&5
8615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); } && {
8617 test -z "$ac_c_werror_flag" ||
8618 test ! -s conftest.err
8619 } && test -s conftest$ac_exeext && {
8620 test "$cross_compiling" = yes ||
8621 $as_test_x conftest$ac_exeext
8623 ac_cv_func_glClampColorARB=yes
8625 $as_echo "$as_me: failed program was:" >&5
8626 sed 's/^/| /' conftest.$ac_ext >&5
8628 ac_cv_func_glClampColorARB=no
8631 rm -rf conftest.dSYM
8632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8633 conftest$ac_exeext conftest.$ac_ext
8635 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glClampColorARB" >&5
8636 $as_echo "$ac_cv_func_glClampColorARB" >&6; }
8637 if test $ac_cv_func_glClampColorARB = yes; then
8639 cat >>confdefs.h <<\_ACEOF
8640 #define HAVE_OPENGL_CLAMP_COLOR 1
8648 if test "x$enable_translator" != "xno"; then
8650 i386|i486|i586|i686|x86_64)
8651 SH4_TRANSLATOR="x86"
8653 cat >>confdefs.h <<_ACEOF
8654 #define SH4_TRANSLATOR TARGET_X86
8661 if test "$SH4_TRANSLATOR" = "x86"; then
8663 BUILD_SH4X86_FALSE='#'
8665 BUILD_SH4X86_TRUE='#'
8670 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
8671 { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
8672 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
8673 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
8674 $as_echo_n "(cached) " >&6
8676 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
8677 $as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
8679 # Is the header compilable?
8680 { $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
8681 $as_echo_n "checking CoreAudio/CoreAudio.h usability... " >&6; }
8682 cat >conftest.$ac_ext <<_ACEOF
8685 cat confdefs.h >>conftest.$ac_ext
8686 cat >>conftest.$ac_ext <<_ACEOF
8687 /* end confdefs.h. */
8688 $ac_includes_default
8689 #include <CoreAudio/CoreAudio.h>
8691 rm -f conftest.$ac_objext
8692 if { (ac_try="$ac_compile"
8694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8695 *) ac_try_echo=$ac_try;;
8697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8698 $as_echo "$ac_try_echo") >&5
8699 (eval "$ac_compile") 2>conftest.er1
8701 grep -v '^ *+' conftest.er1 >conftest.err
8703 cat conftest.err >&5
8704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); } && {
8706 test -z "$ac_c_werror_flag" ||
8707 test ! -s conftest.err
8708 } && test -s conftest.$ac_objext; then
8709 ac_header_compiler=yes
8711 $as_echo "$as_me: failed program was:" >&5
8712 sed 's/^/| /' conftest.$ac_ext >&5
8714 ac_header_compiler=no
8717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8718 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8719 $as_echo "$ac_header_compiler" >&6; }
8721 # Is the header present?
8722 { $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
8723 $as_echo_n "checking CoreAudio/CoreAudio.h presence... " >&6; }
8724 cat >conftest.$ac_ext <<_ACEOF
8727 cat confdefs.h >>conftest.$ac_ext
8728 cat >>conftest.$ac_ext <<_ACEOF
8729 /* end confdefs.h. */
8730 #include <CoreAudio/CoreAudio.h>
8732 if { (ac_try="$ac_cpp conftest.$ac_ext"
8734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8735 *) ac_try_echo=$ac_try;;
8737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8738 $as_echo "$ac_try_echo") >&5
8739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8741 grep -v '^ *+' conftest.er1 >conftest.err
8743 cat conftest.err >&5
8744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745 (exit $ac_status); } >/dev/null && {
8746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8747 test ! -s conftest.err
8749 ac_header_preproc=yes
8751 $as_echo "$as_me: failed program was:" >&5
8752 sed 's/^/| /' conftest.$ac_ext >&5
8754 ac_header_preproc=no
8757 rm -f conftest.err conftest.$ac_ext
8758 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8759 $as_echo "$ac_header_preproc" >&6; }
8761 # So? What about this header?
8762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8764 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
8765 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8766 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
8767 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
8768 ac_header_preproc=yes
8771 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
8772 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
8773 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&5
8774 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&2;}
8775 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
8776 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
8777 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&5
8778 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&2;}
8779 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
8780 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
8781 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
8782 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
8786 { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
8787 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
8788 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
8789 $as_echo_n "(cached) " >&6
8791 ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
8793 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
8794 $as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
8797 if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
8800 LIBS="$LIBS -framework CoreAudio"
8801 AUDIO_DRIVERS="$AUDIO_DRIVERS osx"
8803 cat >>confdefs.h <<\_ACEOF
8804 #define HAVE_CORE_AUDIO 1
8814 if test "$HAVE_CORE_AUDIO" = 'yes' ; then
8823 if test "x$with_pulse" != "xno"; then
8826 { $as_echo "$as_me:$LINENO: checking for PULSE" >&5
8827 $as_echo_n "checking for PULSE... " >&6; }
8829 if test -n "$PKG_CONFIG"; then
8830 if test -n "$PULSE_CFLAGS"; then
8831 pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
8833 if test -n "$PKG_CONFIG" && \
8834 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
8835 ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
8837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 (exit $ac_status); }; then
8839 pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse-simple" 2>/dev/null`
8847 if test -n "$PKG_CONFIG"; then
8848 if test -n "$PULSE_LIBS"; then
8849 pkg_cv_PULSE_LIBS="$PULSE_LIBS"
8851 if test -n "$PKG_CONFIG" && \
8852 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
8853 ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
8855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8856 (exit $ac_status); }; then
8857 pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse-simple" 2>/dev/null`
8868 if test $pkg_failed = yes; then
8870 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8871 _pkg_short_errors_supported=yes
8873 _pkg_short_errors_supported=no
8875 if test $_pkg_short_errors_supported = yes; then
8876 PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpulse-simple"`
8878 PULSE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpulse-simple"`
8880 # Put the nasty error message in config.log where it belongs
8881 echo "$PULSE_PKG_ERRORS" >&5
8883 { $as_echo "$as_me:$LINENO: result: no" >&5
8884 $as_echo "no" >&6; }
8886 if test "x$with_pulse" = "xyes"; then
8887 { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
8888 See \`config.log' for more details." >&5
8889 $as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
8890 See \`config.log' for more details." >&2;}
8891 { (exit 1); exit 1; }; }
8894 elif test $pkg_failed = untried; then
8896 if test "x$with_pulse" = "xyes"; then
8897 { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
8898 See \`config.log' for more details." >&5
8899 $as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
8900 See \`config.log' for more details." >&2;}
8901 { (exit 1); exit 1; }; }
8905 PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
8906 PULSE_LIBS=$pkg_cv_PULSE_LIBS
8907 { $as_echo "$as_me:$LINENO: result: yes" >&5
8908 $as_echo "yes" >&6; }
8911 AUDIO_DRIVERS="$AUDIO_DRIVERS pulse"
8913 cat >>confdefs.h <<\_ACEOF
8914 #define HAVE_PULSE 1
8922 if test "$HAVE_PULSE" = 'yes' ; then
8924 AUDIO_PULSE_FALSE='#'
8926 AUDIO_PULSE_TRUE='#'
8931 if test "x$with_esd" != "xno"; then
8934 { $as_echo "$as_me:$LINENO: checking for ESOUND" >&5
8935 $as_echo_n "checking for ESOUND... " >&6; }
8937 if test -n "$PKG_CONFIG"; then
8938 if test -n "$ESOUND_CFLAGS"; then
8939 pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
8941 if test -n "$PKG_CONFIG" && \
8942 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
8943 ($PKG_CONFIG --exists --print-errors "esound") 2>&5
8945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); }; then
8947 pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
8955 if test -n "$PKG_CONFIG"; then
8956 if test -n "$ESOUND_LIBS"; then
8957 pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
8959 if test -n "$PKG_CONFIG" && \
8960 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
8961 ($PKG_CONFIG --exists --print-errors "esound") 2>&5
8963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 (exit $ac_status); }; then
8965 pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
8976 if test $pkg_failed = yes; then
8978 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8979 _pkg_short_errors_supported=yes
8981 _pkg_short_errors_supported=no
8983 if test $_pkg_short_errors_supported = yes; then
8984 ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "esound"`
8986 ESOUND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "esound"`
8988 # Put the nasty error message in config.log where it belongs
8989 echo "$ESOUND_PKG_ERRORS" >&5
8991 { $as_echo "$as_me:$LINENO: result: no" >&5
8992 $as_echo "no" >&6; }
8994 if test "x$with_esd" = "xyes"; then
8995 { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
8996 See \`config.log' for more details." >&5
8997 $as_echo "$as_me: error: ESounD audio package could not be found (but was required)
8998 See \`config.log' for more details." >&2;}
8999 { (exit 1); exit 1; }; }
9002 elif test $pkg_failed = untried; then
9004 if test "x$with_esd" = "xyes"; then
9005 { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
9006 See \`config.log' for more details." >&5
9007 $as_echo "$as_me: error: ESounD audio package could not be found (but was required)
9008 See \`config.log' for more details." >&2;}
9009 { (exit 1); exit 1; }; }
9013 ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
9014 ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
9015 { $as_echo "$as_me:$LINENO: result: yes" >&5
9016 $as_echo "yes" >&6; }
9019 AUDIO_DRIVERS="$AUDIO_DRIVERS esd"
9021 cat >>confdefs.h <<\_ACEOF
9022 #define HAVE_ESOUND 1
9030 if test "$HAVE_ESOUND" = 'yes' ; then
9032 AUDIO_ESOUND_FALSE='#'
9034 AUDIO_ESOUND_TRUE='#'
9041 { $as_echo "$as_me:$LINENO: checking for ALSA" >&5
9042 $as_echo_n "checking for ALSA... " >&6; }
9044 if test -n "$PKG_CONFIG"; then
9045 if test -n "$ALSA_CFLAGS"; then
9046 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
9048 if test -n "$PKG_CONFIG" && \
9049 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
9050 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
9052 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); }; then
9054 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
9062 if test -n "$PKG_CONFIG"; then
9063 if test -n "$ALSA_LIBS"; then
9064 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
9066 if test -n "$PKG_CONFIG" && \
9067 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
9068 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
9070 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); }; then
9072 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
9083 if test $pkg_failed = yes; then
9085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9086 _pkg_short_errors_supported=yes
9088 _pkg_short_errors_supported=no
9090 if test $_pkg_short_errors_supported = yes; then
9091 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa"`
9093 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa"`
9095 # Put the nasty error message in config.log where it belongs
9096 echo "$ALSA_PKG_ERRORS" >&5
9098 { $as_echo "$as_me:$LINENO: result: no" >&5
9099 $as_echo "no" >&6; }
9101 elif test $pkg_failed = untried; then
9104 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
9105 ALSA_LIBS=$pkg_cv_ALSA_LIBS
9106 { $as_echo "$as_me:$LINENO: result: yes" >&5
9107 $as_echo "yes" >&6; }
9110 AUDIO_DRIVERS="$AUDIO_DRIVERS alsa"
9112 cat >>confdefs.h <<\_ACEOF
9119 if test "$HAVE_ALSA" = 'yes' ; then
9121 AUDIO_ALSA_FALSE='#'
9129 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
9130 { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
9131 $as_echo_n "checking for linux/cdrom.h... " >&6; }
9132 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
9133 $as_echo_n "(cached) " >&6
9135 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
9136 $as_echo "$ac_cv_header_linux_cdrom_h" >&6; }
9138 # Is the header compilable?
9139 { $as_echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
9140 $as_echo_n "checking linux/cdrom.h usability... " >&6; }
9141 cat >conftest.$ac_ext <<_ACEOF
9144 cat confdefs.h >>conftest.$ac_ext
9145 cat >>conftest.$ac_ext <<_ACEOF
9146 /* end confdefs.h. */
9147 $ac_includes_default
9148 #include <linux/cdrom.h>
9150 rm -f conftest.$ac_objext
9151 if { (ac_try="$ac_compile"
9153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9154 *) ac_try_echo=$ac_try;;
9156 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9157 $as_echo "$ac_try_echo") >&5
9158 (eval "$ac_compile") 2>conftest.er1
9160 grep -v '^ *+' conftest.er1 >conftest.err
9162 cat conftest.err >&5
9163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9164 (exit $ac_status); } && {
9165 test -z "$ac_c_werror_flag" ||
9166 test ! -s conftest.err
9167 } && test -s conftest.$ac_objext; then
9168 ac_header_compiler=yes
9170 $as_echo "$as_me: failed program was:" >&5
9171 sed 's/^/| /' conftest.$ac_ext >&5
9173 ac_header_compiler=no
9176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9177 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9178 $as_echo "$ac_header_compiler" >&6; }
9180 # Is the header present?
9181 { $as_echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
9182 $as_echo_n "checking linux/cdrom.h presence... " >&6; }
9183 cat >conftest.$ac_ext <<_ACEOF
9186 cat confdefs.h >>conftest.$ac_ext
9187 cat >>conftest.$ac_ext <<_ACEOF
9188 /* end confdefs.h. */
9189 #include <linux/cdrom.h>
9191 if { (ac_try="$ac_cpp conftest.$ac_ext"
9193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9194 *) ac_try_echo=$ac_try;;
9196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9197 $as_echo "$ac_try_echo") >&5
9198 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9200 grep -v '^ *+' conftest.er1 >conftest.err
9202 cat conftest.err >&5
9203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204 (exit $ac_status); } >/dev/null && {
9205 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9206 test ! -s conftest.err
9208 ac_header_preproc=yes
9210 $as_echo "$as_me: failed program was:" >&5
9211 sed 's/^/| /' conftest.$ac_ext >&5
9213 ac_header_preproc=no
9216 rm -f conftest.err conftest.$ac_ext
9217 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9218 $as_echo "$ac_header_preproc" >&6; }
9220 # So? What about this header?
9221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9223 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
9224 $as_echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9225 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
9226 $as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
9227 ac_header_preproc=yes
9230 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
9231 $as_echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
9232 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: check for missing prerequisite headers?" >&5
9233 $as_echo "$as_me: WARNING: linux/cdrom.h: check for missing prerequisite headers?" >&2;}
9234 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
9235 $as_echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
9236 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: section \"Present But Cannot Be Compiled\"" >&5
9237 $as_echo "$as_me: WARNING: linux/cdrom.h: section \"Present But Cannot Be Compiled\"" >&2;}
9238 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
9239 $as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
9240 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
9241 $as_echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
9245 { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
9246 $as_echo_n "checking for linux/cdrom.h... " >&6; }
9247 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
9248 $as_echo_n "(cached) " >&6
9250 ac_cv_header_linux_cdrom_h=$ac_header_preproc
9252 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
9253 $as_echo "$ac_cv_header_linux_cdrom_h" >&6; }
9256 if test $ac_cv_header_linux_cdrom_h = yes; then
9263 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
9264 { $as_echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
9265 $as_echo_n "checking for IOKit/IOKitLib.h... " >&6; }
9266 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
9267 $as_echo_n "(cached) " >&6
9269 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
9270 $as_echo "$ac_cv_header_IOKit_IOKitLib_h" >&6; }
9272 # Is the header compilable?
9273 { $as_echo "$as_me:$LINENO: checking IOKit/IOKitLib.h usability" >&5
9274 $as_echo_n "checking IOKit/IOKitLib.h usability... " >&6; }
9275 cat >conftest.$ac_ext <<_ACEOF
9278 cat confdefs.h >>conftest.$ac_ext
9279 cat >>conftest.$ac_ext <<_ACEOF
9280 /* end confdefs.h. */
9281 $ac_includes_default
9282 #include <IOKit/IOKitLib.h>
9284 rm -f conftest.$ac_objext
9285 if { (ac_try="$ac_compile"
9287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9288 *) ac_try_echo=$ac_try;;
9290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9291 $as_echo "$ac_try_echo") >&5
9292 (eval "$ac_compile") 2>conftest.er1
9294 grep -v '^ *+' conftest.er1 >conftest.err
9296 cat conftest.err >&5
9297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9298 (exit $ac_status); } && {
9299 test -z "$ac_c_werror_flag" ||
9300 test ! -s conftest.err
9301 } && test -s conftest.$ac_objext; then
9302 ac_header_compiler=yes
9304 $as_echo "$as_me: failed program was:" >&5
9305 sed 's/^/| /' conftest.$ac_ext >&5
9307 ac_header_compiler=no
9310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9311 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9312 $as_echo "$ac_header_compiler" >&6; }
9314 # Is the header present?
9315 { $as_echo "$as_me:$LINENO: checking IOKit/IOKitLib.h presence" >&5
9316 $as_echo_n "checking IOKit/IOKitLib.h presence... " >&6; }
9317 cat >conftest.$ac_ext <<_ACEOF
9320 cat confdefs.h >>conftest.$ac_ext
9321 cat >>conftest.$ac_ext <<_ACEOF
9322 /* end confdefs.h. */
9323 #include <IOKit/IOKitLib.h>
9325 if { (ac_try="$ac_cpp conftest.$ac_ext"
9327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9328 *) ac_try_echo=$ac_try;;
9330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9331 $as_echo "$ac_try_echo") >&5
9332 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9334 grep -v '^ *+' conftest.er1 >conftest.err
9336 cat conftest.err >&5
9337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338 (exit $ac_status); } >/dev/null && {
9339 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9340 test ! -s conftest.err
9342 ac_header_preproc=yes
9344 $as_echo "$as_me: failed program was:" >&5
9345 sed 's/^/| /' conftest.$ac_ext >&5
9347 ac_header_preproc=no
9350 rm -f conftest.err conftest.$ac_ext
9351 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9352 $as_echo "$ac_header_preproc" >&6; }
9354 # So? What about this header?
9355 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9357 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&5
9358 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9359 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&5
9360 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&2;}
9361 ac_header_preproc=yes
9364 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&5
9365 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&2;}
9366 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: check for missing prerequisite headers?" >&5
9367 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: check for missing prerequisite headers?" >&2;}
9368 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&5
9369 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&2;}
9370 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: section \"Present But Cannot Be Compiled\"" >&5
9371 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: section \"Present But Cannot Be Compiled\"" >&2;}
9372 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&5
9373 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&2;}
9374 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&5
9375 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&2;}
9379 { $as_echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
9380 $as_echo_n "checking for IOKit/IOKitLib.h... " >&6; }
9381 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
9382 $as_echo_n "(cached) " >&6
9384 ac_cv_header_IOKit_IOKitLib_h=$ac_header_preproc
9386 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
9387 $as_echo "$ac_cv_header_IOKit_IOKitLib_h" >&6; }
9390 if test $ac_cv_header_IOKit_IOKitLib_h = yes; then
9393 LIBS="$LIBS -framework IOKit"
9401 if test "x$CDROM_DRIVER" = "xlinux"; then
9403 CDROM_LINUX_FALSE='#'
9405 CDROM_LINUX_TRUE='#'
9411 if test "x$CDROM_DRIVER" = "xosx"; then
9421 if test "x$CDROM_DRIVER" = "x"; then
9423 CDROM_NONE_FALSE='#'
9430 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
9431 { $as_echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
9432 $as_echo_n "checking for linux/joystick.h... " >&6; }
9433 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
9434 $as_echo_n "(cached) " >&6
9436 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
9437 $as_echo "$ac_cv_header_linux_joystick_h" >&6; }
9439 # Is the header compilable?
9440 { $as_echo "$as_me:$LINENO: checking linux/joystick.h usability" >&5
9441 $as_echo_n "checking linux/joystick.h usability... " >&6; }
9442 cat >conftest.$ac_ext <<_ACEOF
9445 cat confdefs.h >>conftest.$ac_ext
9446 cat >>conftest.$ac_ext <<_ACEOF
9447 /* end confdefs.h. */
9448 $ac_includes_default
9449 #include <linux/joystick.h>
9451 rm -f conftest.$ac_objext
9452 if { (ac_try="$ac_compile"
9454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9455 *) ac_try_echo=$ac_try;;
9457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9458 $as_echo "$ac_try_echo") >&5
9459 (eval "$ac_compile") 2>conftest.er1
9461 grep -v '^ *+' conftest.er1 >conftest.err
9463 cat conftest.err >&5
9464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9465 (exit $ac_status); } && {
9466 test -z "$ac_c_werror_flag" ||
9467 test ! -s conftest.err
9468 } && test -s conftest.$ac_objext; then
9469 ac_header_compiler=yes
9471 $as_echo "$as_me: failed program was:" >&5
9472 sed 's/^/| /' conftest.$ac_ext >&5
9474 ac_header_compiler=no
9477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9478 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9479 $as_echo "$ac_header_compiler" >&6; }
9481 # Is the header present?
9482 { $as_echo "$as_me:$LINENO: checking linux/joystick.h presence" >&5
9483 $as_echo_n "checking linux/joystick.h presence... " >&6; }
9484 cat >conftest.$ac_ext <<_ACEOF
9487 cat confdefs.h >>conftest.$ac_ext
9488 cat >>conftest.$ac_ext <<_ACEOF
9489 /* end confdefs.h. */
9490 #include <linux/joystick.h>
9492 if { (ac_try="$ac_cpp conftest.$ac_ext"
9494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9495 *) ac_try_echo=$ac_try;;
9497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9498 $as_echo "$ac_try_echo") >&5
9499 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9501 grep -v '^ *+' conftest.er1 >conftest.err
9503 cat conftest.err >&5
9504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); } >/dev/null && {
9506 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9507 test ! -s conftest.err
9509 ac_header_preproc=yes
9511 $as_echo "$as_me: failed program was:" >&5
9512 sed 's/^/| /' conftest.$ac_ext >&5
9514 ac_header_preproc=no
9517 rm -f conftest.err conftest.$ac_ext
9518 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9519 $as_echo "$ac_header_preproc" >&6; }
9521 # So? What about this header?
9522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9524 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&5
9525 $as_echo "$as_me: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9526 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the compiler's result" >&5
9527 $as_echo "$as_me: WARNING: linux/joystick.h: proceeding with the compiler's result" >&2;}
9528 ac_header_preproc=yes
9531 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: present but cannot be compiled" >&5
9532 $as_echo "$as_me: WARNING: linux/joystick.h: present but cannot be compiled" >&2;}
9533 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: check for missing prerequisite headers?" >&5
9534 $as_echo "$as_me: WARNING: linux/joystick.h: check for missing prerequisite headers?" >&2;}
9535 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: see the Autoconf documentation" >&5
9536 $as_echo "$as_me: WARNING: linux/joystick.h: see the Autoconf documentation" >&2;}
9537 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: section \"Present But Cannot Be Compiled\"" >&5
9538 $as_echo "$as_me: WARNING: linux/joystick.h: section \"Present But Cannot Be Compiled\"" >&2;}
9539 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&5
9540 $as_echo "$as_me: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&2;}
9541 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&5
9542 $as_echo "$as_me: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&2;}
9546 { $as_echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
9547 $as_echo_n "checking for linux/joystick.h... " >&6; }
9548 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
9549 $as_echo_n "(cached) " >&6
9551 ac_cv_header_linux_joystick_h=$ac_header_preproc
9553 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
9554 $as_echo "$ac_cv_header_linux_joystick_h" >&6; }
9557 if test $ac_cv_header_linux_joystick_h = yes; then
9559 HAVE_LINUX_JOYSTICK_H=yes
9561 cat >>confdefs.h <<\_ACEOF
9562 #define HAVE_LINUX_JOYSTICK 1
9566 echo "Linux Joystick support not found, building without it."
9572 if test "$HAVE_LINUX_JOYSTICK_H" = "yes"; then
9581 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
9582 set dummy sh-elf-gcc; ac_word=$2
9583 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9584 $as_echo_n "checking for $ac_word... " >&6; }
9585 if test "${ac_cv_path_SHCC+set}" = set; then
9586 $as_echo_n "(cached) " >&6
9590 ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
9593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9597 test -z "$as_dir" && as_dir=.
9598 for ac_exec_ext in '' $ac_executable_extensions; do
9599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9600 ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
9601 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9611 SHCC=$ac_cv_path_SHCC
9612 if test -n "$SHCC"; then
9613 { $as_echo "$as_me:$LINENO: result: $SHCC" >&5
9614 $as_echo "$SHCC" >&6; }
9616 { $as_echo "$as_me:$LINENO: result: no" >&5
9617 $as_echo "no" >&6; }
9621 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
9622 set dummy sh-elf-ld; ac_word=$2
9623 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9624 $as_echo_n "checking for $ac_word... " >&6; }
9625 if test "${ac_cv_path_SHLD+set}" = set; then
9626 $as_echo_n "(cached) " >&6
9630 ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
9633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9637 test -z "$as_dir" && as_dir=.
9638 for ac_exec_ext in '' $ac_executable_extensions; do
9639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9640 ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
9641 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9651 SHLD=$ac_cv_path_SHLD
9652 if test -n "$SHLD"; then
9653 { $as_echo "$as_me:$LINENO: result: $SHLD" >&5
9654 $as_echo "$SHLD" >&6; }
9656 { $as_echo "$as_me:$LINENO: result: no" >&5
9657 $as_echo "no" >&6; }
9661 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
9662 set dummy sh-elf-objcopy; ac_word=$2
9663 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9664 $as_echo_n "checking for $ac_word... " >&6; }
9665 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
9666 $as_echo_n "(cached) " >&6
9670 ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
9673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9677 test -z "$as_dir" && as_dir=.
9678 for ac_exec_ext in '' $ac_executable_extensions; do
9679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9680 ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
9681 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9691 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
9692 if test -n "$SHOBJCOPY"; then
9693 { $as_echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
9694 $as_echo "$SHOBJCOPY" >&6; }
9696 { $as_echo "$as_me:$LINENO: result: no" >&5
9697 $as_echo "no" >&6; }
9701 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
9702 set dummy arm-elf-gcc; ac_word=$2
9703 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9704 $as_echo_n "checking for $ac_word... " >&6; }
9705 if test "${ac_cv_path_ARMCC+set}" = set; then
9706 $as_echo_n "(cached) " >&6
9710 ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
9713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9717 test -z "$as_dir" && as_dir=.
9718 for ac_exec_ext in '' $ac_executable_extensions; do
9719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9720 ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
9721 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9731 ARMCC=$ac_cv_path_ARMCC
9732 if test -n "$ARMCC"; then
9733 { $as_echo "$as_me:$LINENO: result: $ARMCC" >&5
9734 $as_echo "$ARMCC" >&6; }
9736 { $as_echo "$as_me:$LINENO: result: no" >&5
9737 $as_echo "no" >&6; }
9741 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
9742 set dummy arm-elf-ld; ac_word=$2
9743 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9744 $as_echo_n "checking for $ac_word... " >&6; }
9745 if test "${ac_cv_path_ARMLD+set}" = set; then
9746 $as_echo_n "(cached) " >&6
9750 ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
9753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9757 test -z "$as_dir" && as_dir=.
9758 for ac_exec_ext in '' $ac_executable_extensions; do
9759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9760 ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
9761 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9771 ARMLD=$ac_cv_path_ARMLD
9772 if test -n "$ARMLD"; then
9773 { $as_echo "$as_me:$LINENO: result: $ARMLD" >&5
9774 $as_echo "$ARMLD" >&6; }
9776 { $as_echo "$as_me:$LINENO: result: no" >&5
9777 $as_echo "no" >&6; }
9781 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
9782 set dummy arm-elf-objcopy; ac_word=$2
9783 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9784 $as_echo_n "checking for $ac_word... " >&6; }
9785 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
9786 $as_echo_n "(cached) " >&6
9790 ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
9793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9797 test -z "$as_dir" && as_dir=.
9798 for ac_exec_ext in '' $ac_executable_extensions; do
9799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9800 ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
9801 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9811 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
9812 if test -n "$ARMOBJCOPY"; then
9813 { $as_echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
9814 $as_echo "$ARMOBJCOPY" >&6; }
9816 { $as_echo "$as_me:$LINENO: result: no" >&5
9817 $as_echo "no" >&6; }
9822 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
9824 echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
9828 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
9830 echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
9836 if test "$BUILD_SH" = "yes"; then
9838 BUILD_SYSTEST_FALSE='#'
9840 BUILD_SYSTEST_TRUE='#'
9841 BUILD_SYSTEST_FALSE=
9846 if test "$BUILD_ARM" = "yes"; then
9848 BUILD_ARMTEST_FALSE='#'
9850 BUILD_ARMTEST_TRUE='#'
9851 BUILD_ARMTEST_FALSE=
9856 GETTEXT_PACKAGE=lxdream
9859 cat >>confdefs.h <<_ACEOF
9860 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
9864 ALL_LINGUAS="de es it pt_BR"
9867 for ac_header in locale.h
9869 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9870 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9871 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9872 $as_echo_n "checking for $ac_header... " >&6; }
9873 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9874 $as_echo_n "(cached) " >&6
9876 ac_res=`eval 'as_val=${'$as_ac_Header'}
9877 $as_echo "$as_val"'`
9878 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9879 $as_echo "$ac_res" >&6; }
9881 # Is the header compilable?
9882 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9883 $as_echo_n "checking $ac_header usability... " >&6; }
9884 cat >conftest.$ac_ext <<_ACEOF
9887 cat confdefs.h >>conftest.$ac_ext
9888 cat >>conftest.$ac_ext <<_ACEOF
9889 /* end confdefs.h. */
9890 $ac_includes_default
9891 #include <$ac_header>
9893 rm -f conftest.$ac_objext
9894 if { (ac_try="$ac_compile"
9896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9897 *) ac_try_echo=$ac_try;;
9899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9900 $as_echo "$ac_try_echo") >&5
9901 (eval "$ac_compile") 2>conftest.er1
9903 grep -v '^ *+' conftest.er1 >conftest.err
9905 cat conftest.err >&5
9906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9907 (exit $ac_status); } && {
9908 test -z "$ac_c_werror_flag" ||
9909 test ! -s conftest.err
9910 } && test -s conftest.$ac_objext; then
9911 ac_header_compiler=yes
9913 $as_echo "$as_me: failed program was:" >&5
9914 sed 's/^/| /' conftest.$ac_ext >&5
9916 ac_header_compiler=no
9919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9920 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9921 $as_echo "$ac_header_compiler" >&6; }
9923 # Is the header present?
9924 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9925 $as_echo_n "checking $ac_header presence... " >&6; }
9926 cat >conftest.$ac_ext <<_ACEOF
9929 cat confdefs.h >>conftest.$ac_ext
9930 cat >>conftest.$ac_ext <<_ACEOF
9931 /* end confdefs.h. */
9932 #include <$ac_header>
9934 if { (ac_try="$ac_cpp conftest.$ac_ext"
9936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9937 *) ac_try_echo=$ac_try;;
9939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9940 $as_echo "$ac_try_echo") >&5
9941 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9943 grep -v '^ *+' conftest.er1 >conftest.err
9945 cat conftest.err >&5
9946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9947 (exit $ac_status); } >/dev/null && {
9948 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9949 test ! -s conftest.err
9951 ac_header_preproc=yes
9953 $as_echo "$as_me: failed program was:" >&5
9954 sed 's/^/| /' conftest.$ac_ext >&5
9956 ac_header_preproc=no
9959 rm -f conftest.err conftest.$ac_ext
9960 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9961 $as_echo "$ac_header_preproc" >&6; }
9963 # So? What about this header?
9964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9966 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9967 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9968 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9969 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9970 ac_header_preproc=yes
9973 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9974 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9975 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9976 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9977 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9978 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9979 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9980 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9981 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9982 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9983 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9984 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9988 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9989 $as_echo_n "checking for $ac_header... " >&6; }
9990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9991 $as_echo_n "(cached) " >&6
9993 eval "$as_ac_Header=\$ac_header_preproc"
9995 ac_res=`eval 'as_val=${'$as_ac_Header'}
9996 $as_echo "$as_val"'`
9997 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9998 $as_echo "$ac_res" >&6; }
10001 if test `eval 'as_val=${'$as_ac_Header'}
10002 $as_echo "$as_val"'` = yes; then
10003 cat >>confdefs.h <<_ACEOF
10004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10011 if test $ac_cv_header_locale_h = yes; then
10012 { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10013 $as_echo_n "checking for LC_MESSAGES... " >&6; }
10014 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
10015 $as_echo_n "(cached) " >&6
10017 cat >conftest.$ac_ext <<_ACEOF
10020 cat confdefs.h >>conftest.$ac_ext
10021 cat >>conftest.$ac_ext <<_ACEOF
10022 /* end confdefs.h. */
10023 #include <locale.h>
10032 rm -f conftest.$ac_objext conftest$ac_exeext
10033 if { (ac_try="$ac_link"
10034 case "(($ac_try" in
10035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10036 *) ac_try_echo=$ac_try;;
10038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10039 $as_echo "$ac_try_echo") >&5
10040 (eval "$ac_link") 2>conftest.er1
10042 grep -v '^ *+' conftest.er1 >conftest.err
10044 cat conftest.err >&5
10045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10046 (exit $ac_status); } && {
10047 test -z "$ac_c_werror_flag" ||
10048 test ! -s conftest.err
10049 } && test -s conftest$ac_exeext && {
10050 test "$cross_compiling" = yes ||
10051 $as_test_x conftest$ac_exeext
10053 am_cv_val_LC_MESSAGES=yes
10055 $as_echo "$as_me: failed program was:" >&5
10056 sed 's/^/| /' conftest.$ac_ext >&5
10058 am_cv_val_LC_MESSAGES=no
10061 rm -rf conftest.dSYM
10062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10063 conftest$ac_exeext conftest.$ac_ext
10065 { $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10066 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
10067 if test $am_cv_val_LC_MESSAGES = yes; then
10069 cat >>confdefs.h <<\_ACEOF
10070 #define HAVE_LC_MESSAGES 1
10078 gt_cv_have_gettext=no
10084 if test "${ac_cv_header_libintl_h+set}" = set; then
10085 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
10086 $as_echo_n "checking for libintl.h... " >&6; }
10087 if test "${ac_cv_header_libintl_h+set}" = set; then
10088 $as_echo_n "(cached) " >&6
10090 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
10091 $as_echo "$ac_cv_header_libintl_h" >&6; }
10093 # Is the header compilable?
10094 { $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
10095 $as_echo_n "checking libintl.h usability... " >&6; }
10096 cat >conftest.$ac_ext <<_ACEOF
10099 cat confdefs.h >>conftest.$ac_ext
10100 cat >>conftest.$ac_ext <<_ACEOF
10101 /* end confdefs.h. */
10102 $ac_includes_default
10103 #include <libintl.h>
10105 rm -f conftest.$ac_objext
10106 if { (ac_try="$ac_compile"
10107 case "(($ac_try" in
10108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10109 *) ac_try_echo=$ac_try;;
10111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10112 $as_echo "$ac_try_echo") >&5
10113 (eval "$ac_compile") 2>conftest.er1
10115 grep -v '^ *+' conftest.er1 >conftest.err
10117 cat conftest.err >&5
10118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119 (exit $ac_status); } && {
10120 test -z "$ac_c_werror_flag" ||
10121 test ! -s conftest.err
10122 } && test -s conftest.$ac_objext; then
10123 ac_header_compiler=yes
10125 $as_echo "$as_me: failed program was:" >&5
10126 sed 's/^/| /' conftest.$ac_ext >&5
10128 ac_header_compiler=no
10131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10132 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10133 $as_echo "$ac_header_compiler" >&6; }
10135 # Is the header present?
10136 { $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
10137 $as_echo_n "checking libintl.h presence... " >&6; }
10138 cat >conftest.$ac_ext <<_ACEOF
10141 cat confdefs.h >>conftest.$ac_ext
10142 cat >>conftest.$ac_ext <<_ACEOF
10143 /* end confdefs.h. */
10144 #include <libintl.h>
10146 if { (ac_try="$ac_cpp conftest.$ac_ext"
10147 case "(($ac_try" in
10148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10149 *) ac_try_echo=$ac_try;;
10151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10152 $as_echo "$ac_try_echo") >&5
10153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10155 grep -v '^ *+' conftest.er1 >conftest.err
10157 cat conftest.err >&5
10158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10159 (exit $ac_status); } >/dev/null && {
10160 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10161 test ! -s conftest.err
10163 ac_header_preproc=yes
10165 $as_echo "$as_me: failed program was:" >&5
10166 sed 's/^/| /' conftest.$ac_ext >&5
10168 ac_header_preproc=no
10171 rm -f conftest.err conftest.$ac_ext
10172 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10173 $as_echo "$ac_header_preproc" >&6; }
10175 # So? What about this header?
10176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10178 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
10179 $as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10180 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
10181 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
10182 ac_header_preproc=yes
10185 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
10186 $as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
10187 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
10188 $as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
10189 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
10190 $as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
10191 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
10192 $as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
10193 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
10194 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
10195 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
10196 $as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
10200 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
10201 $as_echo_n "checking for libintl.h... " >&6; }
10202 if test "${ac_cv_header_libintl_h+set}" = set; then
10203 $as_echo_n "(cached) " >&6
10205 ac_cv_header_libintl_h=$ac_header_preproc
10207 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
10208 $as_echo "$ac_cv_header_libintl_h" >&6; }
10211 if test $ac_cv_header_libintl_h = yes; then
10212 gt_cv_func_dgettext_libintl="no"
10213 libintl_extra_libs=""
10216 # First check in libc
10218 { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
10219 $as_echo_n "checking for ngettext in libc... " >&6; }
10220 if test "${gt_cv_func_ngettext_libc+set}" = set; then
10221 $as_echo_n "(cached) " >&6
10223 cat >conftest.$ac_ext <<_ACEOF
10226 cat confdefs.h >>conftest.$ac_ext
10227 cat >>conftest.$ac_ext <<_ACEOF
10228 /* end confdefs.h. */
10230 #include <libintl.h>
10235 return !ngettext ("","", 1)
10240 rm -f conftest.$ac_objext conftest$ac_exeext
10241 if { (ac_try="$ac_link"
10242 case "(($ac_try" in
10243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10244 *) ac_try_echo=$ac_try;;
10246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10247 $as_echo "$ac_try_echo") >&5
10248 (eval "$ac_link") 2>conftest.er1
10250 grep -v '^ *+' conftest.er1 >conftest.err
10252 cat conftest.err >&5
10253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); } && {
10255 test -z "$ac_c_werror_flag" ||
10256 test ! -s conftest.err
10257 } && test -s conftest$ac_exeext && {
10258 test "$cross_compiling" = yes ||
10259 $as_test_x conftest$ac_exeext
10261 gt_cv_func_ngettext_libc=yes
10263 $as_echo "$as_me: failed program was:" >&5
10264 sed 's/^/| /' conftest.$ac_ext >&5
10266 gt_cv_func_ngettext_libc=no
10269 rm -rf conftest.dSYM
10270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10271 conftest$ac_exeext conftest.$ac_ext
10274 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
10275 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
10277 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
10278 { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
10279 $as_echo_n "checking for dgettext in libc... " >&6; }
10280 if test "${gt_cv_func_dgettext_libc+set}" = set; then
10281 $as_echo_n "(cached) " >&6
10283 cat >conftest.$ac_ext <<_ACEOF
10286 cat confdefs.h >>conftest.$ac_ext
10287 cat >>conftest.$ac_ext <<_ACEOF
10288 /* end confdefs.h. */
10290 #include <libintl.h>
10295 return !dgettext ("","")
10300 rm -f conftest.$ac_objext conftest$ac_exeext
10301 if { (ac_try="$ac_link"
10302 case "(($ac_try" in
10303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10304 *) ac_try_echo=$ac_try;;
10306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10307 $as_echo "$ac_try_echo") >&5
10308 (eval "$ac_link") 2>conftest.er1
10310 grep -v '^ *+' conftest.er1 >conftest.err
10312 cat conftest.err >&5
10313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); } && {
10315 test -z "$ac_c_werror_flag" ||
10316 test ! -s conftest.err
10317 } && test -s conftest$ac_exeext && {
10318 test "$cross_compiling" = yes ||
10319 $as_test_x conftest$ac_exeext
10321 gt_cv_func_dgettext_libc=yes
10323 $as_echo "$as_me: failed program was:" >&5
10324 sed 's/^/| /' conftest.$ac_ext >&5
10326 gt_cv_func_dgettext_libc=no
10329 rm -rf conftest.dSYM
10330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10331 conftest$ac_exeext conftest.$ac_ext
10334 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
10335 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
10338 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
10340 for ac_func in bind_textdomain_codeset
10342 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10343 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10344 $as_echo_n "checking for $ac_func... " >&6; }
10345 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10346 $as_echo_n "(cached) " >&6
10348 cat >conftest.$ac_ext <<_ACEOF
10351 cat confdefs.h >>conftest.$ac_ext
10352 cat >>conftest.$ac_ext <<_ACEOF
10353 /* end confdefs.h. */
10354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10356 #define $ac_func innocuous_$ac_func
10358 /* System header to define __stub macros and hopefully few prototypes,
10359 which can conflict with char $ac_func (); below.
10360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10361 <limits.h> exists even on freestanding compilers. */
10364 # include <limits.h>
10366 # include <assert.h>
10371 /* Override any GCC internal prototype to avoid an error.
10372 Use char because int might match the return type of a GCC
10373 builtin and then its argument prototype would still apply. */
10378 /* The GNU C library defines this for functions which it implements
10379 to always fail with ENOSYS. Some functions are actually named
10380 something starting with __ and the normal name is an alias. */
10381 #if defined __stub_$ac_func || defined __stub___$ac_func
10388 return $ac_func ();
10393 rm -f conftest.$ac_objext conftest$ac_exeext
10394 if { (ac_try="$ac_link"
10395 case "(($ac_try" in
10396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10397 *) ac_try_echo=$ac_try;;
10399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10400 $as_echo "$ac_try_echo") >&5
10401 (eval "$ac_link") 2>conftest.er1
10403 grep -v '^ *+' conftest.er1 >conftest.err
10405 cat conftest.err >&5
10406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); } && {
10408 test -z "$ac_c_werror_flag" ||
10409 test ! -s conftest.err
10410 } && test -s conftest$ac_exeext && {
10411 test "$cross_compiling" = yes ||
10412 $as_test_x conftest$ac_exeext
10414 eval "$as_ac_var=yes"
10416 $as_echo "$as_me: failed program was:" >&5
10417 sed 's/^/| /' conftest.$ac_ext >&5
10419 eval "$as_ac_var=no"
10422 rm -rf conftest.dSYM
10423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10424 conftest$ac_exeext conftest.$ac_ext
10426 ac_res=`eval 'as_val=${'$as_ac_var'}
10427 $as_echo "$as_val"'`
10428 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10429 $as_echo "$ac_res" >&6; }
10430 if test `eval 'as_val=${'$as_ac_var'}
10431 $as_echo "$as_val"'` = yes; then
10432 cat >>confdefs.h <<_ACEOF
10433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10442 # If we don't have everything we want, check in libintl
10444 if test "$gt_cv_func_dgettext_libc" != "yes" \
10445 || test "$gt_cv_func_ngettext_libc" != "yes" \
10446 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
10448 { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
10449 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
10450 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
10451 $as_echo_n "(cached) " >&6
10453 ac_check_lib_save_LIBS=$LIBS
10454 LIBS="-lintl $LIBS"
10455 cat >conftest.$ac_ext <<_ACEOF
10458 cat confdefs.h >>conftest.$ac_ext
10459 cat >>conftest.$ac_ext <<_ACEOF
10460 /* end confdefs.h. */
10462 /* Override any GCC internal prototype to avoid an error.
10463 Use char because int might match the return type of a GCC
10464 builtin and then its argument prototype would still apply. */
10468 char bindtextdomain ();
10472 return bindtextdomain ();
10477 rm -f conftest.$ac_objext conftest$ac_exeext
10478 if { (ac_try="$ac_link"
10479 case "(($ac_try" in
10480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10481 *) ac_try_echo=$ac_try;;
10483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10484 $as_echo "$ac_try_echo") >&5
10485 (eval "$ac_link") 2>conftest.er1
10487 grep -v '^ *+' conftest.er1 >conftest.err
10489 cat conftest.err >&5
10490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); } && {
10492 test -z "$ac_c_werror_flag" ||
10493 test ! -s conftest.err
10494 } && test -s conftest$ac_exeext && {
10495 test "$cross_compiling" = yes ||
10496 $as_test_x conftest$ac_exeext
10498 ac_cv_lib_intl_bindtextdomain=yes
10500 $as_echo "$as_me: failed program was:" >&5
10501 sed 's/^/| /' conftest.$ac_ext >&5
10503 ac_cv_lib_intl_bindtextdomain=no
10506 rm -rf conftest.dSYM
10507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10508 conftest$ac_exeext conftest.$ac_ext
10509 LIBS=$ac_check_lib_save_LIBS
10511 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
10512 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
10513 if test $ac_cv_lib_intl_bindtextdomain = yes; then
10514 { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
10515 $as_echo_n "checking for ngettext in -lintl... " >&6; }
10516 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
10517 $as_echo_n "(cached) " >&6
10519 ac_check_lib_save_LIBS=$LIBS
10520 LIBS="-lintl $LIBS"
10521 cat >conftest.$ac_ext <<_ACEOF
10524 cat confdefs.h >>conftest.$ac_ext
10525 cat >>conftest.$ac_ext <<_ACEOF
10526 /* end confdefs.h. */
10528 /* Override any GCC internal prototype to avoid an error.
10529 Use char because int might match the return type of a GCC
10530 builtin and then its argument prototype would still apply. */
10538 return ngettext ();
10543 rm -f conftest.$ac_objext conftest$ac_exeext
10544 if { (ac_try="$ac_link"
10545 case "(($ac_try" in
10546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10547 *) ac_try_echo=$ac_try;;
10549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10550 $as_echo "$ac_try_echo") >&5
10551 (eval "$ac_link") 2>conftest.er1
10553 grep -v '^ *+' conftest.er1 >conftest.err
10555 cat conftest.err >&5
10556 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10557 (exit $ac_status); } && {
10558 test -z "$ac_c_werror_flag" ||
10559 test ! -s conftest.err
10560 } && test -s conftest$ac_exeext && {
10561 test "$cross_compiling" = yes ||
10562 $as_test_x conftest$ac_exeext
10564 ac_cv_lib_intl_ngettext=yes
10566 $as_echo "$as_me: failed program was:" >&5
10567 sed 's/^/| /' conftest.$ac_ext >&5
10569 ac_cv_lib_intl_ngettext=no
10572 rm -rf conftest.dSYM
10573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10574 conftest$ac_exeext conftest.$ac_ext
10575 LIBS=$ac_check_lib_save_LIBS
10577 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
10578 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
10579 if test $ac_cv_lib_intl_ngettext = yes; then
10580 { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
10581 $as_echo_n "checking for dgettext in -lintl... " >&6; }
10582 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
10583 $as_echo_n "(cached) " >&6
10585 ac_check_lib_save_LIBS=$LIBS
10586 LIBS="-lintl $LIBS"
10587 cat >conftest.$ac_ext <<_ACEOF
10590 cat confdefs.h >>conftest.$ac_ext
10591 cat >>conftest.$ac_ext <<_ACEOF
10592 /* end confdefs.h. */
10594 /* Override any GCC internal prototype to avoid an error.
10595 Use char because int might match the return type of a GCC
10596 builtin and then its argument prototype would still apply. */
10604 return dgettext ();
10609 rm -f conftest.$ac_objext conftest$ac_exeext
10610 if { (ac_try="$ac_link"
10611 case "(($ac_try" in
10612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10613 *) ac_try_echo=$ac_try;;
10615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10616 $as_echo "$ac_try_echo") >&5
10617 (eval "$ac_link") 2>conftest.er1
10619 grep -v '^ *+' conftest.er1 >conftest.err
10621 cat conftest.err >&5
10622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); } && {
10624 test -z "$ac_c_werror_flag" ||
10625 test ! -s conftest.err
10626 } && test -s conftest$ac_exeext && {
10627 test "$cross_compiling" = yes ||
10628 $as_test_x conftest$ac_exeext
10630 ac_cv_lib_intl_dgettext=yes
10632 $as_echo "$as_me: failed program was:" >&5
10633 sed 's/^/| /' conftest.$ac_ext >&5
10635 ac_cv_lib_intl_dgettext=no
10638 rm -rf conftest.dSYM
10639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10640 conftest$ac_exeext conftest.$ac_ext
10641 LIBS=$ac_check_lib_save_LIBS
10643 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
10644 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
10645 if test $ac_cv_lib_intl_dgettext = yes; then
10646 gt_cv_func_dgettext_libintl=yes
10654 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
10655 { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
10656 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
10657 { $as_echo "$as_me:$LINENO: result: " >&5
10659 { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
10660 $as_echo_n "checking for ngettext in -lintl... " >&6; }
10661 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
10662 $as_echo_n "(cached) " >&6
10664 ac_check_lib_save_LIBS=$LIBS
10665 LIBS="-lintl -liconv $LIBS"
10666 cat >conftest.$ac_ext <<_ACEOF
10669 cat confdefs.h >>conftest.$ac_ext
10670 cat >>conftest.$ac_ext <<_ACEOF
10671 /* end confdefs.h. */
10673 /* Override any GCC internal prototype to avoid an error.
10674 Use char because int might match the return type of a GCC
10675 builtin and then its argument prototype would still apply. */
10683 return ngettext ();
10688 rm -f conftest.$ac_objext conftest$ac_exeext
10689 if { (ac_try="$ac_link"
10690 case "(($ac_try" in
10691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10692 *) ac_try_echo=$ac_try;;
10694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10695 $as_echo "$ac_try_echo") >&5
10696 (eval "$ac_link") 2>conftest.er1
10698 grep -v '^ *+' conftest.er1 >conftest.err
10700 cat conftest.err >&5
10701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702 (exit $ac_status); } && {
10703 test -z "$ac_c_werror_flag" ||
10704 test ! -s conftest.err
10705 } && test -s conftest$ac_exeext && {
10706 test "$cross_compiling" = yes ||
10707 $as_test_x conftest$ac_exeext
10709 ac_cv_lib_intl_ngettext=yes
10711 $as_echo "$as_me: failed program was:" >&5
10712 sed 's/^/| /' conftest.$ac_ext >&5
10714 ac_cv_lib_intl_ngettext=no
10717 rm -rf conftest.dSYM
10718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10719 conftest$ac_exeext conftest.$ac_ext
10720 LIBS=$ac_check_lib_save_LIBS
10722 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
10723 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
10724 if test $ac_cv_lib_intl_ngettext = yes; then
10725 { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
10726 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
10727 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
10728 $as_echo_n "(cached) " >&6
10730 ac_check_lib_save_LIBS=$LIBS
10731 LIBS="-lintl -liconv $LIBS"
10732 cat >conftest.$ac_ext <<_ACEOF
10735 cat confdefs.h >>conftest.$ac_ext
10736 cat >>conftest.$ac_ext <<_ACEOF
10737 /* end confdefs.h. */
10739 /* Override any GCC internal prototype to avoid an error.
10740 Use char because int might match the return type of a GCC
10741 builtin and then its argument prototype would still apply. */
10749 return dcgettext ();
10754 rm -f conftest.$ac_objext conftest$ac_exeext
10755 if { (ac_try="$ac_link"
10756 case "(($ac_try" in
10757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10758 *) ac_try_echo=$ac_try;;
10760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10761 $as_echo "$ac_try_echo") >&5
10762 (eval "$ac_link") 2>conftest.er1
10764 grep -v '^ *+' conftest.er1 >conftest.err
10766 cat conftest.err >&5
10767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768 (exit $ac_status); } && {
10769 test -z "$ac_c_werror_flag" ||
10770 test ! -s conftest.err
10771 } && test -s conftest$ac_exeext && {
10772 test "$cross_compiling" = yes ||
10773 $as_test_x conftest$ac_exeext
10775 ac_cv_lib_intl_dcgettext=yes
10777 $as_echo "$as_me: failed program was:" >&5
10778 sed 's/^/| /' conftest.$ac_ext >&5
10780 ac_cv_lib_intl_dcgettext=no
10783 rm -rf conftest.dSYM
10784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10785 conftest$ac_exeext conftest.$ac_ext
10786 LIBS=$ac_check_lib_save_LIBS
10788 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
10789 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
10790 if test $ac_cv_lib_intl_dcgettext = yes; then
10791 gt_cv_func_dgettext_libintl=yes
10792 libintl_extra_libs=-liconv
10804 # If we found libintl, then check in it for bind_textdomain_codeset();
10805 # we'll prefer libc if neither have bind_textdomain_codeset(),
10806 # and both have dgettext and ngettext
10808 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
10809 glib_save_LIBS="$LIBS"
10810 LIBS="$LIBS -lintl $libintl_extra_libs"
10811 unset ac_cv_func_bind_textdomain_codeset
10813 for ac_func in bind_textdomain_codeset
10815 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10816 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10817 $as_echo_n "checking for $ac_func... " >&6; }
10818 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10819 $as_echo_n "(cached) " >&6
10821 cat >conftest.$ac_ext <<_ACEOF
10824 cat confdefs.h >>conftest.$ac_ext
10825 cat >>conftest.$ac_ext <<_ACEOF
10826 /* end confdefs.h. */
10827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10829 #define $ac_func innocuous_$ac_func
10831 /* System header to define __stub macros and hopefully few prototypes,
10832 which can conflict with char $ac_func (); below.
10833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10834 <limits.h> exists even on freestanding compilers. */
10837 # include <limits.h>
10839 # include <assert.h>
10844 /* Override any GCC internal prototype to avoid an error.
10845 Use char because int might match the return type of a GCC
10846 builtin and then its argument prototype would still apply. */
10851 /* The GNU C library defines this for functions which it implements
10852 to always fail with ENOSYS. Some functions are actually named
10853 something starting with __ and the normal name is an alias. */
10854 #if defined __stub_$ac_func || defined __stub___$ac_func
10861 return $ac_func ();
10866 rm -f conftest.$ac_objext conftest$ac_exeext
10867 if { (ac_try="$ac_link"
10868 case "(($ac_try" in
10869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10870 *) ac_try_echo=$ac_try;;
10872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10873 $as_echo "$ac_try_echo") >&5
10874 (eval "$ac_link") 2>conftest.er1
10876 grep -v '^ *+' conftest.er1 >conftest.err
10878 cat conftest.err >&5
10879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); } && {
10881 test -z "$ac_c_werror_flag" ||
10882 test ! -s conftest.err
10883 } && test -s conftest$ac_exeext && {
10884 test "$cross_compiling" = yes ||
10885 $as_test_x conftest$ac_exeext
10887 eval "$as_ac_var=yes"
10889 $as_echo "$as_me: failed program was:" >&5
10890 sed 's/^/| /' conftest.$ac_ext >&5
10892 eval "$as_ac_var=no"
10895 rm -rf conftest.dSYM
10896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10897 conftest$ac_exeext conftest.$ac_ext
10899 ac_res=`eval 'as_val=${'$as_ac_var'}
10900 $as_echo "$as_val"'`
10901 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10902 $as_echo "$ac_res" >&6; }
10903 if test `eval 'as_val=${'$as_ac_var'}
10904 $as_echo "$as_val"'` = yes; then
10905 cat >>confdefs.h <<_ACEOF
10906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10912 LIBS="$glib_save_LIBS"
10914 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
10915 gt_cv_func_dgettext_libc=no
10917 if test "$gt_cv_func_dgettext_libc" = "yes" \
10918 && test "$gt_cv_func_ngettext_libc" = "yes"; then
10919 gt_cv_func_dgettext_libintl=no
10925 if test "$gt_cv_func_dgettext_libc" = "yes" \
10926 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
10927 gt_cv_have_gettext=yes
10930 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
10931 INTLLIBS="-lintl $libintl_extra_libs"
10934 if test "$gt_cv_have_gettext" = "yes"; then
10936 cat >>confdefs.h <<\_ACEOF
10937 #define HAVE_GETTEXT 1
10940 # Extract the first word of "msgfmt", so it can be a program name with args.
10941 set dummy msgfmt; ac_word=$2
10942 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10943 $as_echo_n "checking for $ac_word... " >&6; }
10944 if test "${ac_cv_path_MSGFMT+set}" = set; then
10945 $as_echo_n "(cached) " >&6
10949 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
10952 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
10953 for ac_dir in $PATH; do
10954 test -z "$ac_dir" && ac_dir=.
10955 if test -f $ac_dir/$ac_word; then
10956 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
10957 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
10963 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
10967 MSGFMT="$ac_cv_path_MSGFMT"
10968 if test "$MSGFMT" != "no"; then
10969 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
10970 $as_echo "$MSGFMT" >&6; }
10972 { $as_echo "$as_me:$LINENO: result: no" >&5
10973 $as_echo "no" >&6; }
10975 if test "$MSGFMT" != "no"; then
10976 glib_save_LIBS="$LIBS"
10977 LIBS="$LIBS $INTLLIBS"
10979 for ac_func in dcgettext
10981 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10982 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10983 $as_echo_n "checking for $ac_func... " >&6; }
10984 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10985 $as_echo_n "(cached) " >&6
10987 cat >conftest.$ac_ext <<_ACEOF
10990 cat confdefs.h >>conftest.$ac_ext
10991 cat >>conftest.$ac_ext <<_ACEOF
10992 /* end confdefs.h. */
10993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10995 #define $ac_func innocuous_$ac_func
10997 /* System header to define __stub macros and hopefully few prototypes,
10998 which can conflict with char $ac_func (); below.
10999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11000 <limits.h> exists even on freestanding compilers. */
11003 # include <limits.h>
11005 # include <assert.h>
11010 /* Override any GCC internal prototype to avoid an error.
11011 Use char because int might match the return type of a GCC
11012 builtin and then its argument prototype would still apply. */
11017 /* The GNU C library defines this for functions which it implements
11018 to always fail with ENOSYS. Some functions are actually named
11019 something starting with __ and the normal name is an alias. */
11020 #if defined __stub_$ac_func || defined __stub___$ac_func
11027 return $ac_func ();
11032 rm -f conftest.$ac_objext conftest$ac_exeext
11033 if { (ac_try="$ac_link"
11034 case "(($ac_try" in
11035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11036 *) ac_try_echo=$ac_try;;
11038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11039 $as_echo "$ac_try_echo") >&5
11040 (eval "$ac_link") 2>conftest.er1
11042 grep -v '^ *+' conftest.er1 >conftest.err
11044 cat conftest.err >&5
11045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); } && {
11047 test -z "$ac_c_werror_flag" ||
11048 test ! -s conftest.err
11049 } && test -s conftest$ac_exeext && {
11050 test "$cross_compiling" = yes ||
11051 $as_test_x conftest$ac_exeext
11053 eval "$as_ac_var=yes"
11055 $as_echo "$as_me: failed program was:" >&5
11056 sed 's/^/| /' conftest.$ac_ext >&5
11058 eval "$as_ac_var=no"
11061 rm -rf conftest.dSYM
11062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11063 conftest$ac_exeext conftest.$ac_ext
11065 ac_res=`eval 'as_val=${'$as_ac_var'}
11066 $as_echo "$as_val"'`
11067 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11068 $as_echo "$ac_res" >&6; }
11069 if test `eval 'as_val=${'$as_ac_var'}
11070 $as_echo "$as_val"'` = yes; then
11071 cat >>confdefs.h <<_ACEOF
11072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11079 { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
11080 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
11081 cat >conftest.foo <<_ACEOF
11085 "Content-Type: text/plain; charset=UTF-8\n"
11086 "Project-Id-Version: test 1.0\n"
11087 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
11088 "Last-Translator: test <foo@bar.xx>\n"
11089 "Language-Team: C <LL@li.org>\n"
11090 "MIME-Version: 1.0\n"
11091 "Content-Transfer-Encoding: 8bit\n"
11094 if { ($as_echo "$as_me:$LINENO: msgfmt -c -o /dev/null conftest.foo") >&5
11095 (msgfmt -c -o /dev/null conftest.foo) 2>&5
11097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098 (exit $ac_status); }; then
11099 MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
11100 $as_echo "yes" >&6; }
11101 else { $as_echo "$as_me:$LINENO: result: no" >&5
11102 $as_echo "no" >&6; }
11103 echo "$as_me: failed input was:" >&5
11104 sed 's/^/| /' conftest.foo >&5
11107 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11108 set dummy gmsgfmt; ac_word=$2
11109 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11110 $as_echo_n "checking for $ac_word... " >&6; }
11111 if test "${ac_cv_path_GMSGFMT+set}" = set; then
11112 $as_echo_n "(cached) " >&6
11116 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11120 for as_dir in $PATH
11123 test -z "$as_dir" && as_dir=.
11124 for ac_exec_ext in '' $ac_executable_extensions; do
11125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11126 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11127 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11134 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11138 GMSGFMT=$ac_cv_path_GMSGFMT
11139 if test -n "$GMSGFMT"; then
11140 { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
11141 $as_echo "$GMSGFMT" >&6; }
11143 { $as_echo "$as_me:$LINENO: result: no" >&5
11144 $as_echo "no" >&6; }
11148 # Extract the first word of "xgettext", so it can be a program name with args.
11149 set dummy xgettext; ac_word=$2
11150 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11151 $as_echo_n "checking for $ac_word... " >&6; }
11152 if test "${ac_cv_path_XGETTEXT+set}" = set; then
11153 $as_echo_n "(cached) " >&6
11155 case "$XGETTEXT" in
11157 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11160 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
11161 for ac_dir in $PATH; do
11162 test -z "$ac_dir" && ac_dir=.
11163 if test -f $ac_dir/$ac_word; then
11164 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
11165 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
11171 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11175 XGETTEXT="$ac_cv_path_XGETTEXT"
11176 if test "$XGETTEXT" != ":"; then
11177 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11178 $as_echo "$XGETTEXT" >&6; }
11180 { $as_echo "$as_me:$LINENO: result: no" >&5
11181 $as_echo "no" >&6; }
11184 cat >conftest.$ac_ext <<_ACEOF
11187 cat confdefs.h >>conftest.$ac_ext
11188 cat >>conftest.$ac_ext <<_ACEOF
11189 /* end confdefs.h. */
11194 extern int _nl_msg_cat_cntr;
11195 return _nl_msg_cat_cntr
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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11207 $as_echo "$ac_try_echo") >&5
11208 (eval "$ac_link") 2>conftest.er1
11210 grep -v '^ *+' conftest.er1 >conftest.err
11212 cat conftest.err >&5
11213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11214 (exit $ac_status); } && {
11215 test -z "$ac_c_werror_flag" ||
11216 test ! -s conftest.err
11217 } && test -s conftest$ac_exeext && {
11218 test "$cross_compiling" = yes ||
11219 $as_test_x conftest$ac_exeext
11224 $as_echo "$as_me: failed program was:" >&5
11225 sed 's/^/| /' conftest.$ac_ext >&5
11229 { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
11230 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
11231 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
11232 $as_echo_n "(cached) " >&6
11234 cat >conftest.$ac_ext <<_ACEOF
11237 cat confdefs.h >>conftest.$ac_ext
11238 cat >>conftest.$ac_ext <<_ACEOF
11239 /* end confdefs.h. */
11240 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
11241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11242 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
11244 /* System header to define __stub macros and hopefully few prototypes,
11245 which can conflict with char bind_textdomain_codeset (); below.
11246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11247 <limits.h> exists even on freestanding compilers. */
11250 # include <limits.h>
11252 # include <assert.h>
11255 #undef bind_textdomain_codeset
11257 /* Override any GCC internal prototype to avoid an error.
11258 Use char because int might match the return type of a GCC
11259 builtin and then its argument prototype would still apply. */
11263 char bind_textdomain_codeset ();
11264 /* The GNU C library defines this for functions which it implements
11265 to always fail with ENOSYS. Some functions are actually named
11266 something starting with __ and the normal name is an alias. */
11267 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
11274 return bind_textdomain_codeset ();
11279 rm -f conftest.$ac_objext conftest$ac_exeext
11280 if { (ac_try="$ac_link"
11281 case "(($ac_try" in
11282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11283 *) ac_try_echo=$ac_try;;
11285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11286 $as_echo "$ac_try_echo") >&5
11287 (eval "$ac_link") 2>conftest.er1
11289 grep -v '^ *+' conftest.er1 >conftest.err
11291 cat conftest.err >&5
11292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); } && {
11294 test -z "$ac_c_werror_flag" ||
11295 test ! -s conftest.err
11296 } && test -s conftest$ac_exeext && {
11297 test "$cross_compiling" = yes ||
11298 $as_test_x conftest$ac_exeext
11300 ac_cv_func_bind_textdomain_codeset=yes
11302 $as_echo "$as_me: failed program was:" >&5
11303 sed 's/^/| /' conftest.$ac_ext >&5
11305 ac_cv_func_bind_textdomain_codeset=no
11308 rm -rf conftest.dSYM
11309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11310 conftest$ac_exeext conftest.$ac_ext
11312 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
11313 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
11314 if test $ac_cv_func_bind_textdomain_codeset = yes; then
11330 rm -rf conftest.dSYM
11331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11332 conftest$ac_exeext conftest.$ac_ext
11333 LIBS="$glib_save_LIBS"
11336 gt_cv_have_gettext=no
11344 if test "$gt_cv_have_gettext" = "yes" ; then
11346 cat >>confdefs.h <<\_ACEOF
11347 #define ENABLE_NLS 1
11352 if test "$XGETTEXT" != ":"; then
11353 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
11356 { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11357 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11362 # We need to process the po/ directory.
11365 ac_config_commands="$ac_config_commands default-1"
11368 for lang in $ALL_LINGUAS; do
11369 GMOFILES="$GMOFILES $lang.gmo"
11370 POFILES="$POFILES $lang.po"
11385 if test "$gt_cv_have_gettext" = "yes"; then
11386 if test "x$ALL_LINGUAS" = "x"; then
11389 { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
11390 $as_echo_n "checking for catalogs to be installed... " >&6; }
11392 for presentlang in $ALL_LINGUAS; do
11394 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
11395 desiredlanguages="$LINGUAS"
11397 desiredlanguages="$ALL_LINGUAS"
11399 for desiredlang in $desiredlanguages; do
11400 # Use the presentlang catalog if desiredlang is
11401 # a. equal to presentlang, or
11402 # b. a variant of presentlang (because in this case,
11403 # presentlang can be used as a fallback for messages
11404 # which are not translated in the desiredlang catalog).
11405 case "$desiredlang" in
11406 "$presentlang"*) useit=yes;;
11409 if test $useit = yes; then
11410 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
11413 LINGUAS=$NEW_LINGUAS
11414 { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
11415 $as_echo "$LINGUAS" >&6; }
11418 if test -n "$LINGUAS"; then
11419 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
11424 if test -n "$ac_aux_dir"; then
11425 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
11427 if test -z "$MKINSTALLDIRS"; then
11428 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11432 test -d po || mkdir po
11433 if test "x$srcdir" != "x."; then
11434 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
11435 posrcprefix="$srcdir/"
11437 posrcprefix="../$srcdir/"
11443 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
11444 < $srcdir/po/POTFILES.in > po/POTFILES
11447 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in test/Makefile"
11449 cat >confcache <<\_ACEOF
11450 # This file is a shell script that caches the results of configure
11451 # tests run on this system so they can be shared between configure
11452 # scripts and configure runs, see configure's option --config-cache.
11453 # It is not useful on other systems. If it contains results you don't
11454 # want to keep, you may remove or edit it.
11456 # config.status only pays attention to the cache file if you give it
11457 # the --recheck option to rerun configure.
11459 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11460 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11461 # following values.
11465 # The following way of writing the cache mishandles newlines in values,
11466 # but we know of no workaround that is simple, portable, and efficient.
11467 # So, we kill variables containing newlines.
11468 # Ultrix sh set writes to stderr and can't be redirected directly,
11469 # and sets the high bit in the cache file unless we assign to the vars.
11471 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11472 eval ac_val=\$$ac_var
11476 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
11477 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
11480 _ | IFS | as_nl) ;; #(
11481 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11482 *) $as_unset $ac_var ;;
11488 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11489 *${as_nl}ac_space=\ *)
11490 # `set' does not quote correctly, so add quotes (double-quote
11491 # substitution turns \\\\ into \\, and sed turns \\ into \).
11494 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11497 # `set' quotes correctly as required by POSIX, so do not add quotes.
11498 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11507 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11509 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11511 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11512 if test -w "$cache_file"; then
11513 test "x$cache_file" != "x/dev/null" &&
11514 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
11515 $as_echo "$as_me: updating cache $cache_file" >&6;}
11516 cat confcache >$cache_file
11518 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11519 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11524 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11525 # Let make expand exec_prefix.
11526 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11528 DEFS=-DHAVE_CONFIG_H
11532 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11533 # 1. Remove the extension, and $U if already installed.
11534 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11535 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11536 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11537 # will be set to the directory where LIBOBJS objects are built.
11538 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11539 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11541 LIBOBJS=$ac_libobjs
11543 LTLIBOBJS=$ac_ltlibobjs
11546 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11547 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11548 Usually this means the macro was only invoked conditionally." >&5
11549 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11550 Usually this means the macro was only invoked conditionally." >&2;}
11551 { (exit 1); exit 1; }; }
11553 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11554 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11555 Usually this means the macro was only invoked conditionally." >&5
11556 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
11557 Usually this means the macro was only invoked conditionally." >&2;}
11558 { (exit 1); exit 1; }; }
11560 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11561 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11562 Usually this means the macro was only invoked conditionally." >&5
11563 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11564 Usually this means the macro was only invoked conditionally." >&2;}
11565 { (exit 1); exit 1; }; }
11567 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11568 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11569 Usually this means the macro was only invoked conditionally." >&5
11570 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11571 Usually this means the macro was only invoked conditionally." >&2;}
11572 { (exit 1); exit 1; }; }
11574 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11575 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11576 Usually this means the macro was only invoked conditionally." >&5
11577 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11578 Usually this means the macro was only invoked conditionally." >&2;}
11579 { (exit 1); exit 1; }; }
11581 if test -z "${GUI_COCOA_TRUE}" && test -z "${GUI_COCOA_FALSE}"; then
11582 { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_COCOA\" was never defined.
11583 Usually this means the macro was only invoked conditionally." >&5
11584 $as_echo "$as_me: error: conditional \"GUI_COCOA\" was never defined.
11585 Usually this means the macro was only invoked conditionally." >&2;}
11586 { (exit 1); exit 1; }; }
11588 if test -z "${GUI_GTK_TRUE}" && test -z "${GUI_GTK_FALSE}"; then
11589 { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_GTK\" was never defined.
11590 Usually this means the macro was only invoked conditionally." >&5
11591 $as_echo "$as_me: error: conditional \"GUI_GTK\" was never defined.
11592 Usually this means the macro was only invoked conditionally." >&2;}
11593 { (exit 1); exit 1; }; }
11595 if test -z "${VIDEO_OSMESA_TRUE}" && test -z "${VIDEO_OSMESA_FALSE}"; then
11596 { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_OSMESA\" was never defined.
11597 Usually this means the macro was only invoked conditionally." >&5
11598 $as_echo "$as_me: error: conditional \"VIDEO_OSMESA\" was never defined.
11599 Usually this means the macro was only invoked conditionally." >&2;}
11600 { (exit 1); exit 1; }; }
11602 if test -z "${VIDEO_GLX_TRUE}" && test -z "${VIDEO_GLX_FALSE}"; then
11603 { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_GLX\" was never defined.
11604 Usually this means the macro was only invoked conditionally." >&5
11605 $as_echo "$as_me: error: conditional \"VIDEO_GLX\" was never defined.
11606 Usually this means the macro was only invoked conditionally." >&2;}
11607 { (exit 1); exit 1; }; }
11609 if test -z "${VIDEO_NSGL_TRUE}" && test -z "${VIDEO_NSGL_FALSE}"; then
11610 { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_NSGL\" was never defined.
11611 Usually this means the macro was only invoked conditionally." >&5
11612 $as_echo "$as_me: error: conditional \"VIDEO_NSGL\" was never defined.
11613 Usually this means the macro was only invoked conditionally." >&2;}
11614 { (exit 1); exit 1; }; }
11616 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
11617 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
11618 Usually this means the macro was only invoked conditionally." >&5
11619 $as_echo "$as_me: error: conditional \"BUILD_SH4X86\" was never defined.
11620 Usually this means the macro was only invoked conditionally." >&2;}
11621 { (exit 1); exit 1; }; }
11623 if test -z "${AUDIO_OSX_TRUE}" && test -z "${AUDIO_OSX_FALSE}"; then
11624 { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_OSX\" was never defined.
11625 Usually this means the macro was only invoked conditionally." >&5
11626 $as_echo "$as_me: error: conditional \"AUDIO_OSX\" was never defined.
11627 Usually this means the macro was only invoked conditionally." >&2;}
11628 { (exit 1); exit 1; }; }
11630 if test -z "${AUDIO_PULSE_TRUE}" && test -z "${AUDIO_PULSE_FALSE}"; then
11631 { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_PULSE\" was never defined.
11632 Usually this means the macro was only invoked conditionally." >&5
11633 $as_echo "$as_me: error: conditional \"AUDIO_PULSE\" was never defined.
11634 Usually this means the macro was only invoked conditionally." >&2;}
11635 { (exit 1); exit 1; }; }
11637 if test -z "${AUDIO_ESOUND_TRUE}" && test -z "${AUDIO_ESOUND_FALSE}"; then
11638 { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_ESOUND\" was never defined.
11639 Usually this means the macro was only invoked conditionally." >&5
11640 $as_echo "$as_me: error: conditional \"AUDIO_ESOUND\" was never defined.
11641 Usually this means the macro was only invoked conditionally." >&2;}
11642 { (exit 1); exit 1; }; }
11644 if test -z "${AUDIO_ALSA_TRUE}" && test -z "${AUDIO_ALSA_FALSE}"; then
11645 { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_ALSA\" was never defined.
11646 Usually this means the macro was only invoked conditionally." >&5
11647 $as_echo "$as_me: error: conditional \"AUDIO_ALSA\" was never defined.
11648 Usually this means the macro was only invoked conditionally." >&2;}
11649 { (exit 1); exit 1; }; }
11651 if test -z "${CDROM_LINUX_TRUE}" && test -z "${CDROM_LINUX_FALSE}"; then
11652 { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_LINUX\" was never defined.
11653 Usually this means the macro was only invoked conditionally." >&5
11654 $as_echo "$as_me: error: conditional \"CDROM_LINUX\" was never defined.
11655 Usually this means the macro was only invoked conditionally." >&2;}
11656 { (exit 1); exit 1; }; }
11658 if test -z "${CDROM_OSX_TRUE}" && test -z "${CDROM_OSX_FALSE}"; then
11659 { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_OSX\" was never defined.
11660 Usually this means the macro was only invoked conditionally." >&5
11661 $as_echo "$as_me: error: conditional \"CDROM_OSX\" was never defined.
11662 Usually this means the macro was only invoked conditionally." >&2;}
11663 { (exit 1); exit 1; }; }
11665 if test -z "${CDROM_NONE_TRUE}" && test -z "${CDROM_NONE_FALSE}"; then
11666 { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_NONE\" was never defined.
11667 Usually this means the macro was only invoked conditionally." >&5
11668 $as_echo "$as_me: error: conditional \"CDROM_NONE\" was never defined.
11669 Usually this means the macro was only invoked conditionally." >&2;}
11670 { (exit 1); exit 1; }; }
11672 if test -z "${JOY_LINUX_TRUE}" && test -z "${JOY_LINUX_FALSE}"; then
11673 { { $as_echo "$as_me:$LINENO: error: conditional \"JOY_LINUX\" was never defined.
11674 Usually this means the macro was only invoked conditionally." >&5
11675 $as_echo "$as_me: error: conditional \"JOY_LINUX\" was never defined.
11676 Usually this means the macro was only invoked conditionally." >&2;}
11677 { (exit 1); exit 1; }; }
11679 if test -z "${BUILD_SYSTEST_TRUE}" && test -z "${BUILD_SYSTEST_FALSE}"; then
11680 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SYSTEST\" was never defined.
11681 Usually this means the macro was only invoked conditionally." >&5
11682 $as_echo "$as_me: error: conditional \"BUILD_SYSTEST\" was never defined.
11683 Usually this means the macro was only invoked conditionally." >&2;}
11684 { (exit 1); exit 1; }; }
11686 if test -z "${BUILD_ARMTEST_TRUE}" && test -z "${BUILD_ARMTEST_FALSE}"; then
11687 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ARMTEST\" was never defined.
11688 Usually this means the macro was only invoked conditionally." >&5
11689 $as_echo "$as_me: error: conditional \"BUILD_ARMTEST\" was never defined.
11690 Usually this means the macro was only invoked conditionally." >&2;}
11691 { (exit 1); exit 1; }; }
11694 : ${CONFIG_STATUS=./config.status}
11696 ac_clean_files_save=$ac_clean_files
11697 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11698 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11699 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11700 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11702 # Generated by $as_me.
11703 # Run this file to recreate the current configuration.
11704 # Compiler output produced by configure, useful for debugging
11705 # configure, is in config.log if it exists.
11708 ac_cs_recheck=false
11710 SHELL=\${CONFIG_SHELL-$SHELL}
11713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11714 ## --------------------- ##
11715 ## M4sh Initialization. ##
11716 ## --------------------- ##
11718 # Be more Bourne compatible
11719 DUALCASE=1; export DUALCASE # for MKS sh
11720 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11723 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11724 # is contrary to our usage. Disable this feature.
11725 alias -g '${1+"$@"}'='"$@"'
11726 setopt NO_GLOB_SUBST
11728 case `(set -o) 2>/dev/null` in
11729 *posix*) set -o posix ;;
11738 # Avoid depending upon Character Ranges.
11739 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11740 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11741 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11742 as_cr_digits='0123456789'
11743 as_cr_alnum=$as_cr_Letters$as_cr_digits
11748 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11749 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11750 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11751 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11752 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11753 as_echo='printf %s\n'
11754 as_echo_n='printf %s'
11756 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11757 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11758 as_echo_n='/usr/ucb/echo -n'
11760 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11761 as_echo_n_body='eval
11765 expr "X$arg" : "X\\(.*\\)$as_nl";
11766 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11768 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11770 export as_echo_n_body
11771 as_echo_n='sh -c $as_echo_n_body as_echo'
11773 export as_echo_body
11774 as_echo='sh -c $as_echo_body as_echo'
11777 # The user is always right.
11778 if test "${PATH_SEPARATOR+set}" != set; then
11780 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11781 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11786 # Support unset when possible.
11787 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11795 # We need space, tab and new line, in precisely that order. Quoting is
11796 # there to prevent editors from complaining about space-tab.
11797 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11798 # splitting by setting IFS to empty value.)
11801 # Find who we are. Look in the path if we contain no directory separator.
11803 *[\\/]* ) as_myself=$0 ;;
11804 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11805 for as_dir in $PATH
11808 test -z "$as_dir" && as_dir=.
11809 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11815 # We did not find ourselves, most probably we were run as `sh COMMAND'
11816 # in which case we are not to be found in the path.
11817 if test "x$as_myself" = x; then
11820 if test ! -f "$as_myself"; then
11821 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11822 { (exit 1); exit 1; }
11825 # Work around bugs in pre-3.0 UWIN ksh.
11826 for as_var in ENV MAIL MAILPATH
11827 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11839 # Required to use basename.
11840 if expr a : '\(a\)' >/dev/null 2>&1 &&
11841 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11847 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11848 as_basename=basename
11854 # Name of the executable.
11855 as_me=`$as_basename -- "$0" ||
11856 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11857 X"$0" : 'X\(//\)$' \| \
11858 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11860 sed '/^.*\/\([^/][^/]*\)\/*$/{
11879 as_lineno_1=$LINENO
11880 as_lineno_2=$LINENO
11881 test "x$as_lineno_1" != "x$as_lineno_2" &&
11882 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11884 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11885 # uniformly replaced by the line number. The first 'sed' inserts a
11886 # line-number line after each line using $LINENO; the second 'sed'
11887 # does the real work. The second script uses 'N' to pair each
11888 # line-number line with the line containing $LINENO, and appends
11889 # trailing '-' during substitution so that $LINENO is not a special
11890 # case at line end.
11891 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11892 # scripts with optimization help from Paolo Bonzini. Blame Lee
11893 # E. McMahon (1931-1989) for sed's syntax. :-)
11905 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11908 ' >$as_me.lineno &&
11909 chmod +x "$as_me.lineno" ||
11910 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11911 { (exit 1); exit 1; }; }
11913 # Don't try to exec as it changes $[0], causing all sort of problems
11914 # (the dirname of $[0] is not the place where we might find the
11915 # original and so on. Autoconf is especially sensitive to this).
11916 . "./$as_me.lineno"
11917 # Exit status is that of the last command.
11922 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11928 ECHO_C= ECHO_N= ECHO_T=
11929 case `echo -n x` in
11931 case `echo 'x\c'` in
11932 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11938 if expr a : '\(a\)' >/dev/null 2>&1 &&
11939 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11945 rm -f conf$$ conf$$.exe conf$$.file
11946 if test -d conf$$.dir; then
11947 rm -f conf$$.dir/conf$$.file
11950 mkdir conf$$.dir 2>/dev/null
11952 if (echo >conf$$.file) 2>/dev/null; then
11953 if ln -s conf$$.file conf$$ 2>/dev/null; then
11955 # ... but there are two gotchas:
11956 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11957 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11958 # In both cases, we have to default to `cp -p'.
11959 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11961 elif ln conf$$.file conf$$ 2>/dev/null; then
11969 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11970 rmdir conf$$.dir 2>/dev/null
11972 if mkdir -p . 2>/dev/null; then
11975 test -d ./-p && rmdir ./-p
11979 if test -x / >/dev/null 2>&1; then
11980 as_test_x='test -x'
11982 if ls -dL / >/dev/null 2>&1; then
11989 if test -d "$1"; then
11995 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11996 ???[sx]*):;;*)false;;esac;fi
12000 as_executable_p=$as_test_x
12002 # Sed expression to map a string onto a valid CPP name.
12003 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12005 # Sed expression to map a string onto a valid variable name.
12006 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12011 # Save the log message, to keep $[0] and so on meaningful, and to
12012 # report actual input values of CONFIG_FILES etc. instead of their
12013 # values after options handling.
12015 This file was extended by $as_me, which was
12016 generated by GNU Autoconf 2.62. Invocation command line was
12018 CONFIG_FILES = $CONFIG_FILES
12019 CONFIG_HEADERS = $CONFIG_HEADERS
12020 CONFIG_LINKS = $CONFIG_LINKS
12021 CONFIG_COMMANDS = $CONFIG_COMMANDS
12024 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12030 # Files that config.status was made for.
12031 config_files="$ac_config_files"
12032 config_headers="$ac_config_headers"
12033 config_commands="$ac_config_commands"
12037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12039 \`$as_me' instantiates files from templates according to the
12040 current configuration.
12042 Usage: $0 [OPTIONS] [FILE]...
12044 -h, --help print this help, then exit
12045 -V, --version print version number and configuration settings, then exit
12046 -q, --quiet do not print progress messages
12047 -d, --debug don't remove temporary files
12048 --recheck update $as_me by reconfiguring in the same conditions
12049 --file=FILE[:TEMPLATE]
12050 instantiate the configuration file FILE
12051 --header=FILE[:TEMPLATE]
12052 instantiate the configuration header FILE
12054 Configuration files:
12057 Configuration headers:
12060 Configuration commands:
12063 Report bugs to <bug-autoconf@gnu.org>."
12066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12069 configured by $0, generated by GNU Autoconf 2.62,
12070 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12072 Copyright (C) 2008 Free Software Foundation, Inc.
12073 This config.status script is free software; the Free Software Foundation
12074 gives unlimited permission to copy, distribute and modify it."
12080 test -n "\$AWK" || AWK=awk
12083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12084 # The default lists apply if the user does not specify any file.
12090 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12091 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12102 # Handling of the options.
12103 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12105 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12106 $as_echo "$ac_cs_version"; exit ;;
12107 --debug | --debu | --deb | --de | --d | -d )
12109 --file | --fil | --fi | --f )
12112 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12114 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
12115 ac_need_defaults=false;;
12116 --header | --heade | --head | --hea )
12119 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12121 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
12122 ac_need_defaults=false;;
12124 # Conflict between --help and --header
12125 { $as_echo "$as_me: error: ambiguous option: $1
12126 Try \`$0 --help' for more information." >&2
12127 { (exit 1); exit 1; }; };;
12128 --help | --hel | -h )
12129 $as_echo "$ac_cs_usage"; exit ;;
12130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12131 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12134 # This is an error.
12135 -*) { $as_echo "$as_me: error: unrecognized option: $1
12136 Try \`$0 --help' for more information." >&2
12137 { (exit 1); exit 1; }; } ;;
12139 *) ac_config_targets="$ac_config_targets $1"
12140 ac_need_defaults=false ;;
12146 ac_configure_extra_args=
12148 if $ac_cs_silent; then
12150 ac_configure_extra_args="$ac_configure_extra_args --silent"
12154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12155 if \$ac_cs_recheck; then
12156 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12158 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12159 CONFIG_SHELL='$SHELL'
12160 export CONFIG_SHELL
12165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12169 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12170 ## Running $as_me. ##
12176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12180 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12187 # Handling of arguments.
12188 for ac_config_target in $ac_config_targets
12190 case $ac_config_target in
12191 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12192 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12193 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12194 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12195 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12196 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
12197 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
12199 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12200 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12201 { (exit 1); exit 1; }; };;
12206 # If the user did not use the arguments to specify the items to instantiate,
12207 # then the envvar interface is used. Set only those that are not.
12208 # We use the long form for the default assignment because of an extremely
12209 # bizarre bug on SunOS 4.1.3.
12210 if $ac_need_defaults; then
12211 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12212 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12213 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12216 # Have a temporary directory for convenience. Make it in the build tree
12217 # simply because there is no reason against having it here, and in addition,
12218 # creating and moving files from /tmp can sometimes cause problems.
12219 # Hook for its removal unless debugging.
12220 # Note that there is a small window in which the directory will not be cleaned:
12221 # after its creation but before its name has been assigned to `$tmp'.
12225 trap 'exit_status=$?
12226 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12228 trap '{ (exit 1); exit 1; }' 1 2 13 15
12230 # Create a (secure) tmp directory for tmp files.
12233 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12234 test -n "$tmp" && test -d "$tmp"
12237 tmp=./conf$$-$RANDOM
12238 (umask 077 && mkdir "$tmp")
12241 $as_echo "$as_me: cannot create a temporary directory in ." >&2
12242 { (exit 1); exit 1; }
12245 # Set up the scripts for CONFIG_FILES section.
12246 # No need to generate them if there are no CONFIG_FILES.
12247 # This happens for instance with `./config.status config.h'.
12248 if test -n "$CONFIG_FILES"; then
12253 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12254 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12257 ac_cs_awk_cr=$ac_cr
12260 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12265 echo "cat >conf$$subs.awk <<_ACEOF" &&
12266 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12268 } >conf$$subs.sh ||
12269 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12270 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12271 { (exit 1); exit 1; }; }
12272 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12274 for ac_last_try in false false false false false :; do
12275 . ./conf$$subs.sh ||
12276 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12277 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12278 { (exit 1); exit 1; }; }
12280 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
12282 elif $ac_last_try; then
12283 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12284 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12285 { (exit 1); exit 1; }; }
12287 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12290 rm -f conf$$subs.sh
12292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12293 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
12297 s/^/S["/; s/!.*/"]=/
12307 s/\(.\{148\}\).*/\1/
12309 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12314 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12321 s/\(.\{148\}\).*/\1/
12323 s/["\\]/\\&/g; s/^/"/; s/$/"/
12327 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12332 ' <conf$$subs.awk | sed '
12337 ' >>$CONFIG_STATUS || ac_write_fail=1
12338 rm -f conf$$subs.awk
12339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12341 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12342 for (key in S) S_is_set[key] = 1
12348 nfields = split(line, field, "@")
12350 len = length(field[1])
12351 for (i = 2; i < nfields; i++) {
12353 keylen = length(key)
12354 if (S_is_set[key]) {
12356 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12357 len += length(value) + length(field[++i])
12368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12369 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12370 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12373 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12374 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
12375 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
12376 { (exit 1); exit 1; }; }
12379 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12380 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12381 # trailing colons and then remove the whole line if VPATH becomes empty
12382 # (actually we leave an empty line to preserve line numbers).
12383 if test "x$srcdir" = x.; then
12384 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12385 s/:*\$(srcdir):*/:/
12386 s/:*\${srcdir}:*/:/
12388 s/^\([^=]*=[ ]*\):*/\1/
12394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12395 fi # test -n "$CONFIG_FILES"
12397 # Set up the scripts for CONFIG_HEADERS section.
12398 # No need to generate them if there are no CONFIG_HEADERS.
12399 # This happens for instance with `./config.status Makefile'.
12400 if test -n "$CONFIG_HEADERS"; then
12401 cat >"$tmp/defines.awk" <<\_ACAWK ||
12405 # Transform confdefs.h into an awk script `defines.awk', embedded as
12406 # here-document in config.status, that substitutes the proper values into
12407 # config.h.in to produce config.h.
12409 # Create a delimiter string that does not exist in confdefs.h, to ease
12410 # handling of long lines.
12412 for ac_last_try in false false :; do
12413 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12414 if test -z "$ac_t"; then
12416 elif $ac_last_try; then
12417 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
12418 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
12419 { (exit 1); exit 1; }; }
12421 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12425 # For the awk script, D is an array of macro values keyed by name,
12426 # likewise P contains macro parameters if any. Preserve backslash
12427 # newline sequences.
12429 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12431 s/.\{148\}/&'"$ac_delim"'/g
12434 s/^[ ]*#[ ]*define[ ][ ]*/ /
12441 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12443 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
12447 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12448 D["\1"]=" \3\\\\\\n"\\/p
12450 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12455 s/.\{148\}/&'"$ac_delim"'/g
12460 s/["\\]/\\&/g; s/^/"/; s/$/"/p
12463 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12465 ' <confdefs.h | sed '
12466 s/'"$ac_delim"'/"\\\
12467 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12470 for (key in D) D_is_set[key] = 1
12473 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12475 split(line, arg, " ")
12476 if (arg[1] == "#") {
12480 defundef = substr(arg[1], 2)
12483 split(mac1, mac2, "(") #)
12485 if (D_is_set[macro]) {
12486 # Preserve the white space surrounding the "#".
12487 prefix = substr(line, 1, index(line, defundef) - 1)
12488 print prefix "define", macro P[macro] D[macro]
12491 # Replace #undef with comments. This is necessary, for example,
12492 # in the case of _POSIX_SOURCE, which is predefined and required
12493 # on some systems where configure will not decide to define it.
12494 if (defundef == "undef") {
12495 print "/*", line, "*/"
12503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12504 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
12505 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
12506 { (exit 1); exit 1; }; }
12507 fi # test -n "$CONFIG_HEADERS"
12510 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12515 :[FHLC]) ac_mode=$ac_tag; continue;;
12517 case $ac_mode$ac_tag in
12519 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
12520 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
12521 { (exit 1); exit 1; }; };;
12522 :[FH]-) ac_tag=-:-;;
12523 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12540 -) ac_f="$tmp/stdin";;
12541 *) # Look for the file first in the build tree, then in the source tree
12542 # (if the path is not absolute). The absolute path cannot be DOS-style,
12543 # because $ac_f cannot contain `:'.
12547 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12549 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12550 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12551 { (exit 1); exit 1; }; };;
12553 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12554 ac_file_inputs="$ac_file_inputs '$ac_f'"
12557 # Let's still pretend it is `configure' which instantiates (i.e., don't
12558 # use $as_me), people would be surprised to read:
12559 # /* config.h. Generated by config.status. */
12560 configure_input='Generated from '`
12561 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12563 if test x"$ac_file" != x-; then
12564 configure_input="$ac_file. $configure_input"
12565 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
12566 $as_echo "$as_me: creating $ac_file" >&6;}
12568 # Neutralize special characters interpreted by sed in replacement strings.
12569 case $configure_input in #(
12570 *\&* | *\|* | *\\* )
12571 ac_sed_conf_input=`$as_echo "$configure_input" |
12572 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12573 *) ac_sed_conf_input=$configure_input;;
12577 *:-:* | *:-) cat >"$tmp/stdin" \
12578 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12579 $as_echo "$as_me: error: could not create $ac_file" >&2;}
12580 { (exit 1); exit 1; }; } ;;
12585 ac_dir=`$as_dirname -- "$ac_file" ||
12586 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12587 X"$ac_file" : 'X\(//\)[^/]' \| \
12588 X"$ac_file" : 'X\(//\)$' \| \
12589 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12590 $as_echo X"$ac_file" |
12591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12595 /^X\(\/\/\)[^/].*/{
12610 -*) as_dir=./$as_dir;;
12612 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12616 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12617 *) as_qdir=$as_dir;;
12619 as_dirs="'$as_qdir' $as_dirs"
12620 as_dir=`$as_dirname -- "$as_dir" ||
12621 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12622 X"$as_dir" : 'X\(//\)[^/]' \| \
12623 X"$as_dir" : 'X\(//\)$' \| \
12624 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12625 $as_echo X"$as_dir" |
12626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12630 /^X\(\/\/\)[^/].*/{
12643 test -d "$as_dir" && break
12645 test -z "$as_dirs" || eval "mkdir $as_dirs"
12646 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12647 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
12648 { (exit 1); exit 1; }; }; }
12652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12654 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12655 # A ".." for each directory in $ac_dir_suffix.
12656 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12657 case $ac_top_builddir_sub in
12658 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12659 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12662 ac_abs_top_builddir=$ac_pwd
12663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12664 # for backward compatibility:
12665 ac_top_builddir=$ac_top_build_prefix
12668 .) # We are building in place.
12670 ac_top_srcdir=$ac_top_builddir_sub
12671 ac_abs_top_srcdir=$ac_pwd ;;
12672 [\\/]* | ?:[\\/]* ) # Absolute name.
12673 ac_srcdir=$srcdir$ac_dir_suffix;
12674 ac_top_srcdir=$srcdir
12675 ac_abs_top_srcdir=$srcdir ;;
12676 *) # Relative name.
12677 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12678 ac_top_srcdir=$ac_top_build_prefix$srcdir
12679 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12691 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12692 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12697 # If the template does not know about datarootdir, expand it.
12698 # FIXME: This hack should be removed a few years after 2.60.
12699 ac_datarootdir_hack=; ac_datarootdir_seen=
12712 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12713 *datarootdir*) ac_datarootdir_seen=yes;;
12714 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12715 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12716 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12719 ac_datarootdir_hack='
12720 s&@datadir@&$datadir&g
12721 s&@docdir@&$docdir&g
12722 s&@infodir@&$infodir&g
12723 s&@localedir@&$localedir&g
12724 s&@mandir@&$mandir&g
12725 s&\\\${datarootdir}&$datarootdir&g' ;;
12729 # Neutralize VPATH when `$srcdir' = `.'.
12730 # Shell code in configure.ac might set extrasub.
12731 # FIXME: do we really want to maintain this feature?
12732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12733 ac_sed_extra="$ac_vpsub
12736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12738 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12739 s|@configure_input@|$ac_sed_conf_input|;t t
12740 s&@top_builddir@&$ac_top_builddir_sub&;t t
12741 s&@top_build_prefix@&$ac_top_build_prefix&;t t
12742 s&@srcdir@&$ac_srcdir&;t t
12743 s&@abs_srcdir@&$ac_abs_srcdir&;t t
12744 s&@top_srcdir@&$ac_top_srcdir&;t t
12745 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12746 s&@builddir@&$ac_builddir&;t t
12747 s&@abs_builddir@&$ac_abs_builddir&;t t
12748 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12749 s&@INSTALL@&$ac_INSTALL&;t t
12750 $ac_datarootdir_hack
12752 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12753 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12754 $as_echo "$as_me: error: could not create $ac_file" >&2;}
12755 { (exit 1); exit 1; }; }
12757 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12758 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12759 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12760 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12761 which seems to be undefined. Please make sure it is defined." >&5
12762 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12763 which seems to be undefined. Please make sure it is defined." >&2;}
12767 -) cat "$tmp/out" && rm -f "$tmp/out";;
12768 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12770 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12771 $as_echo "$as_me: error: could not create $ac_file" >&2;}
12772 { (exit 1); exit 1; }; }
12778 if test x"$ac_file" != x-; then
12780 $as_echo "/* $configure_input */" \
12781 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12782 } >"$tmp/config.h" \
12783 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12784 $as_echo "$as_me: error: could not create $ac_file" >&2;}
12785 { (exit 1); exit 1; }; }
12786 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12787 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12788 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12791 mv "$tmp/config.h" "$ac_file" \
12792 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12793 $as_echo "$as_me: error: could not create $ac_file" >&2;}
12794 { (exit 1); exit 1; }; }
12797 $as_echo "/* $configure_input */" \
12798 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12799 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
12800 $as_echo "$as_me: error: could not create -" >&2;}
12801 { (exit 1); exit 1; }; }
12803 # Compute "$ac_file"'s index in $config_headers.
12805 for _am_header in $config_headers :; do
12806 case $_am_header in
12807 "$ac_file" | "$ac_file":* )
12810 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12813 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
12814 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12815 X"$ac_file" : 'X\(//\)[^/]' \| \
12816 X"$ac_file" : 'X\(//\)$' \| \
12817 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12818 $as_echo X"$ac_file" |
12819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12823 /^X\(\/\/\)[^/].*/{
12835 s/.*/./; q'`/stamp-h$_am_stamp_count
12838 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
12839 $as_echo "$as_me: executing $ac_file commands" >&6;}
12844 case $ac_file$ac_mode in
12845 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12846 # Strip MF so we end up with the name of the file.
12847 mf=`echo "$mf" | sed -e 's/:.*$//'`
12848 # Check whether this is an Automake generated Makefile or not.
12849 # We used to match only the files named `Makefile.in', but
12850 # some people rename them; so instead we look at the file content.
12851 # Grep'ing the first line is not enough: some people post-process
12852 # each Makefile.in and add a new line on top of each file to say so.
12853 # So let's grep whole file.
12854 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
12855 dirpart=`$as_dirname -- "$mf" ||
12856 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12857 X"$mf" : 'X\(//\)[^/]' \| \
12858 X"$mf" : 'X\(//\)$' \| \
12859 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12865 /^X\(\/\/\)[^/].*/{
12881 # Extract the definition of DEPDIR, am__include, and am__quote
12882 # from the Makefile without running `make'.
12883 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12884 test -z "$DEPDIR" && continue
12885 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12886 test -z "am__include" && continue
12887 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12888 # When using ansi2knr, U may be empty or an underscore; expand it
12889 U=`sed -n 's/^U = //p' < "$mf"`
12890 # Find all dependency output files, they are included files with
12891 # $(DEPDIR) in their names. We invoke sed twice because it is the
12892 # simplest approach to changing $(DEPDIR) to its actual value in the
12894 for file in `sed -n "
12895 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12896 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12897 # Make sure the directory exists.
12898 test -f "$dirpart/$file" && continue
12899 fdir=`$as_dirname -- "$file" ||
12900 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12901 X"$file" : 'X\(//\)[^/]' \| \
12902 X"$file" : 'X\(//\)$' \| \
12903 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12904 $as_echo X"$file" |
12905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12909 /^X\(\/\/\)[^/].*/{
12922 { as_dir=$dirpart/$fdir
12924 -*) as_dir=./$as_dir;;
12926 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12930 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12931 *) as_qdir=$as_dir;;
12933 as_dirs="'$as_qdir' $as_dirs"
12934 as_dir=`$as_dirname -- "$as_dir" ||
12935 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12936 X"$as_dir" : 'X\(//\)[^/]' \| \
12937 X"$as_dir" : 'X\(//\)$' \| \
12938 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12939 $as_echo X"$as_dir" |
12940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12944 /^X\(\/\/\)[^/].*/{
12957 test -d "$as_dir" && break
12959 test -z "$as_dirs" || eval "mkdir $as_dirs"
12960 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12961 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
12962 { (exit 1); exit 1; }; }; }
12963 # echo "creating $dirpart/$file"
12964 echo '# dummy' > "$dirpart/$file"
12968 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
12969 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
12976 { (exit 0); exit 0; }
12978 chmod +x $CONFIG_STATUS
12979 ac_clean_files=$ac_clean_files_save
12981 test $ac_write_fail = 0 ||
12982 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
12983 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
12984 { (exit 1); exit 1; }; }
12987 # configure is writing to config.log, and then calls config.status.
12988 # config.status does its own redirection, appending to config.log.
12989 # Unfortunately, on DOS this fails, as config.log is still kept open
12990 # by configure, so config.status won't be able to write to it; its
12991 # output is simply discarded. So we exec the FD to /dev/null,
12992 # effectively closing config.log, so it can be properly (re)opened and
12993 # appended to by config.status. When coming back to configure, we
12994 # need to make the FD available again.
12995 if test "$no_create" != yes; then
12997 ac_config_status_args=
12998 test "$silent" = yes &&
12999 ac_config_status_args="$ac_config_status_args --quiet"
13001 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13003 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13004 # would make configure fail if this is the last instruction.
13005 $ac_cs_success || { (exit 1); exit 1; }
13007 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13008 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
13009 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
13014 -*) as_dir=./$as_dir;;
13016 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13020 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13021 *) as_qdir=$as_dir;;
13023 as_dirs="'$as_qdir' $as_dirs"
13024 as_dir=`$as_dirname -- "$as_dir" ||
13025 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13026 X"$as_dir" : 'X\(//\)[^/]' \| \
13027 X"$as_dir" : 'X\(//\)$' \| \
13028 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13029 $as_echo X"$as_dir" |
13030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13034 /^X\(\/\/\)[^/].*/{
13047 test -d "$as_dir" && break
13049 test -z "$as_dirs" || eval "mkdir $as_dirs"
13050 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13051 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13052 { (exit 1); exit 1; }; }; }
13056 echo "Configuration complete"
13059 if test "x$HAVE_GTK" = x; then
13060 if test "x$HAVE_COCOA" = x; then
13061 echo " User interface: none"
13063 echo " User interface: Cocoa"
13066 echo " User interface: GTK"
13069 if test "x$SH4_TRANSLATOR" = "x"; then
13070 echo " SH4 translator: None (emulation core only)"
13072 echo " SH4 translator: $SH4_TRANSLATOR"
13075 if test "x$VIDEO_DRIVERS" = "x"; then
13076 echo " Video drivers: none (no supported GL found)"
13078 echo " Video drivers: $VIDEO_DRIVERS"
13081 if test "x$AUDIO_DRIVERS" = "x"; then
13082 echo " Audio drivers: none (no supported output devices found)"
13084 echo " Audio drivers: $AUDIO_DRIVERS"
13087 if test "x$CDROM_DRIVER" = "x"; then
13088 echo " CD-ROM driver: none (no supported cd-rom devices found)"
13090 echo " CD-ROM driver: $CDROM_DRIVER"
.