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
815 ac_precious_vars='build_alias
841 # Initialize some variables set by options.
843 ac_init_version=false
844 ac_unrecognized_opts=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
855 program_transform_name=s,x,x,
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir='${exec_prefix}/bin'
870 sbindir='${exec_prefix}/sbin'
871 libexecdir='${exec_prefix}/libexec'
872 datarootdir='${prefix}/share'
873 datadir='${datarootdir}'
874 sysconfdir='${prefix}/etc'
875 sharedstatedir='${prefix}/com'
876 localstatedir='${prefix}/var'
877 includedir='${prefix}/include'
878 oldincludedir='/usr/include'
879 docdir='${datarootdir}/doc/${PACKAGE}'
880 infodir='${datarootdir}/info'
885 libdir='${exec_prefix}/lib'
886 localedir='${datarootdir}/locale'
887 mandir='${datarootdir}/man'
893 # If the previous option needs an argument, assign it.
894 if test -n "$ac_prev"; then
895 eval $ac_prev=\$ac_option
901 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
905 # Accept the important Cygnus configure options, so we can diagnose typos.
907 case $ac_dashdash$ac_option in
911 -bindir | --bindir | --bindi | --bind | --bin | --bi)
913 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
916 -build | --build | --buil | --bui | --bu)
917 ac_prev=build_alias ;;
918 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
919 build_alias=$ac_optarg ;;
921 -cache-file | --cache-file | --cache-fil | --cache-fi \
922 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
923 ac_prev=cache_file ;;
924 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
925 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
926 cache_file=$ac_optarg ;;
929 cache_file=config.cache ;;
931 -datadir | --datadir | --datadi | --datad)
933 -datadir=* | --datadir=* | --datadi=* | --datad=*)
934 datadir=$ac_optarg ;;
936 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
937 | --dataroo | --dataro | --datar)
938 ac_prev=datarootdir ;;
939 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
940 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
941 datarootdir=$ac_optarg ;;
943 -disable-* | --disable-*)
944 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
947 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
948 { (exit 1); exit 1; }; }
949 ac_useropt_orig=$ac_useropt
950 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956 ac_unrecognized_sep=', ';;
958 eval enable_$ac_useropt=no ;;
960 -docdir | --docdir | --docdi | --doc | --do)
962 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
965 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
967 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
970 -enable-* | --enable-*)
971 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
975 { (exit 1); exit 1; }; }
976 ac_useropt_orig=$ac_useropt
977 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
982 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep=', ';;
985 eval enable_$ac_useropt=\$ac_optarg ;;
987 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
988 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
989 | --exec | --exe | --ex)
990 ac_prev=exec_prefix ;;
991 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
992 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
993 | --exec=* | --exe=* | --ex=*)
994 exec_prefix=$ac_optarg ;;
996 -gas | --gas | --ga | --g)
997 # Obsolete; use --with-gas.
1000 -help | --help | --hel | --he | -h)
1001 ac_init_help=long ;;
1002 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1003 ac_init_help=recursive ;;
1004 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1005 ac_init_help=short ;;
1007 -host | --host | --hos | --ho)
1008 ac_prev=host_alias ;;
1009 -host=* | --host=* | --hos=* | --ho=*)
1010 host_alias=$ac_optarg ;;
1012 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1014 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1016 htmldir=$ac_optarg ;;
1018 -includedir | --includedir | --includedi | --included | --include \
1019 | --includ | --inclu | --incl | --inc)
1020 ac_prev=includedir ;;
1021 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1022 | --includ=* | --inclu=* | --incl=* | --inc=*)
1023 includedir=$ac_optarg ;;
1025 -infodir | --infodir | --infodi | --infod | --info | --inf)
1027 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1028 infodir=$ac_optarg ;;
1030 -libdir | --libdir | --libdi | --libd)
1032 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1033 libdir=$ac_optarg ;;
1035 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1036 | --libexe | --libex | --libe)
1037 ac_prev=libexecdir ;;
1038 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1039 | --libexe=* | --libex=* | --libe=*)
1040 libexecdir=$ac_optarg ;;
1042 -localedir | --localedir | --localedi | --localed | --locale)
1043 ac_prev=localedir ;;
1044 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1045 localedir=$ac_optarg ;;
1047 -localstatedir | --localstatedir | --localstatedi | --localstated \
1048 | --localstate | --localstat | --localsta | --localst | --locals)
1049 ac_prev=localstatedir ;;
1050 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1051 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1052 localstatedir=$ac_optarg ;;
1054 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1056 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1057 mandir=$ac_optarg ;;
1059 -nfp | --nfp | --nf)
1060 # Obsolete; use --without-fp.
1063 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1064 | --no-cr | --no-c | -n)
1067 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1068 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1071 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1072 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1073 | --oldin | --oldi | --old | --ol | --o)
1074 ac_prev=oldincludedir ;;
1075 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1076 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1077 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1078 oldincludedir=$ac_optarg ;;
1080 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1082 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1083 prefix=$ac_optarg ;;
1085 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1086 | --program-pre | --program-pr | --program-p)
1087 ac_prev=program_prefix ;;
1088 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1089 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1090 program_prefix=$ac_optarg ;;
1092 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1093 | --program-suf | --program-su | --program-s)
1094 ac_prev=program_suffix ;;
1095 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1096 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1097 program_suffix=$ac_optarg ;;
1099 -program-transform-name | --program-transform-name \
1100 | --program-transform-nam | --program-transform-na \
1101 | --program-transform-n | --program-transform- \
1102 | --program-transform | --program-transfor \
1103 | --program-transfo | --program-transf \
1104 | --program-trans | --program-tran \
1105 | --progr-tra | --program-tr | --program-t)
1106 ac_prev=program_transform_name ;;
1107 -program-transform-name=* | --program-transform-name=* \
1108 | --program-transform-nam=* | --program-transform-na=* \
1109 | --program-transform-n=* | --program-transform-=* \
1110 | --program-transform=* | --program-transfor=* \
1111 | --program-transfo=* | --program-transf=* \
1112 | --program-trans=* | --program-tran=* \
1113 | --progr-tra=* | --program-tr=* | --program-t=*)
1114 program_transform_name=$ac_optarg ;;
1116 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1118 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1119 pdfdir=$ac_optarg ;;
1121 -psdir | --psdir | --psdi | --psd | --ps)
1123 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1126 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1127 | -silent | --silent | --silen | --sile | --sil)
1130 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1132 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1134 sbindir=$ac_optarg ;;
1136 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1137 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1138 | --sharedst | --shareds | --shared | --share | --shar \
1140 ac_prev=sharedstatedir ;;
1141 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1142 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1143 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1145 sharedstatedir=$ac_optarg ;;
1147 -site | --site | --sit)
1149 -site=* | --site=* | --sit=*)
1152 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1154 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1155 srcdir=$ac_optarg ;;
1157 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1158 | --syscon | --sysco | --sysc | --sys | --sy)
1159 ac_prev=sysconfdir ;;
1160 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1161 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1162 sysconfdir=$ac_optarg ;;
1164 -target | --target | --targe | --targ | --tar | --ta | --t)
1165 ac_prev=target_alias ;;
1166 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1167 target_alias=$ac_optarg ;;
1169 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1172 -version | --version | --versio | --versi | --vers | -V)
1173 ac_init_version=: ;;
1176 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1180 { (exit 1); exit 1; }; }
1181 ac_useropt_orig=$ac_useropt
1182 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1187 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1188 ac_unrecognized_sep=', ';;
1190 eval with_$ac_useropt=\$ac_optarg ;;
1192 -without-* | --without-*)
1193 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1196 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1197 { (exit 1); exit 1; }; }
1198 ac_useropt_orig=$ac_useropt
1199 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1204 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1205 ac_unrecognized_sep=', ';;
1207 eval with_$ac_useropt=no ;;
1210 # Obsolete; use --with-x.
1213 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1214 | --x-incl | --x-inc | --x-in | --x-i)
1215 ac_prev=x_includes ;;
1216 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1217 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1218 x_includes=$ac_optarg ;;
1220 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1221 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1222 ac_prev=x_libraries ;;
1223 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1224 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1225 x_libraries=$ac_optarg ;;
1227 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1228 Try \`$0 --help' for more information." >&2
1229 { (exit 1); exit 1; }; }
1233 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1234 # Reject names that are not valid shell variable names.
1235 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1236 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1237 { (exit 1); exit 1; }; }
1238 eval $ac_envvar=\$ac_optarg
1239 export $ac_envvar ;;
1242 # FIXME: should be removed in autoconf 3.0.
1243 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1244 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1245 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1246 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1252 if test -n "$ac_prev"; then
1253 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1254 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1255 { (exit 1); exit 1; }; }
1258 if test -n "$ac_unrecognized_opts"; then
1259 case $enable_option_checking in
1261 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1262 { (exit 1); exit 1; }; } ;;
1263 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1267 # Check all directory arguments for consistency.
1268 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1269 datadir sysconfdir sharedstatedir localstatedir includedir \
1270 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1271 libdir localedir mandir
1273 eval ac_val=\$$ac_var
1274 # Remove trailing slashes.
1277 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1278 eval $ac_var=\$ac_val;;
1280 # Be sure to have absolute directory names.
1282 [\\/$]* | ?:[\\/]* ) continue;;
1283 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1285 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1286 { (exit 1); exit 1; }; }
1289 # There might be people who depend on the old broken behavior: `$host'
1290 # used to hold the argument of --host etc.
1291 # FIXME: To remove some day.
1294 target=$target_alias
1296 # FIXME: To remove some day.
1297 if test "x$host_alias" != x; then
1298 if test "x$build_alias" = x; then
1299 cross_compiling=maybe
1300 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1301 If a cross compiler is detected then cross compile mode will be used." >&2
1302 elif test "x$build_alias" != "x$host_alias"; then
1308 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1310 test "$silent" = yes && exec 6>/dev/null
1313 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1314 ac_ls_di=`ls -di .` &&
1315 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1316 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1317 { (exit 1); exit 1; }; }
1318 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1319 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1320 { (exit 1); exit 1; }; }
1323 # Find the source files, if location was not specified.
1324 if test -z "$srcdir"; then
1325 ac_srcdir_defaulted=yes
1326 # Try the directory containing this script, then the parent directory.
1327 ac_confdir=`$as_dirname -- "$as_myself" ||
1328 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1329 X"$as_myself" : 'X\(//\)[^/]' \| \
1330 X"$as_myself" : 'X\(//\)$' \| \
1331 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1332 $as_echo X"$as_myself" |
1333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1355 ac_srcdir_defaulted=no
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1358 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1359 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1360 { (exit 1); exit 1; }; }
1362 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1364 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1365 { (exit 1); exit 1; }; }
1367 # When building in place, set srcdir=.
1368 if test "$ac_abs_confdir" = "$ac_pwd"; then
1371 # Remove unnecessary trailing slashes from srcdir.
1372 # Double slashes in file names in object file debugging info
1373 # mess up M-x gdb in Emacs.
1375 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1377 for ac_var in $ac_precious_vars; do
1378 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1379 eval ac_env_${ac_var}_value=\$${ac_var}
1380 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1381 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1385 # Report the --help message.
1387 if test "$ac_init_help" = "long"; then
1388 # Omit some internal or obsolete options to make the list less imposing.
1389 # This message is too long to be a string in the A/UX 3.1 sh.
1391 \`configure' configures this package to adapt to many kinds of systems.
1393 Usage: $0 [OPTION]... [VAR=VALUE]...
1395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1396 VAR=VALUE. See below for descriptions of some of the useful variables.
1398 Defaults for the options are specified in brackets.
1401 -h, --help display this help and exit
1402 --help=short display options specific to this package
1403 --help=recursive display the short help of all the included packages
1404 -V, --version display version information and exit
1405 -q, --quiet, --silent do not print \`checking...' messages
1406 --cache-file=FILE cache test results in FILE [disabled]
1407 -C, --config-cache alias for \`--cache-file=config.cache'
1408 -n, --no-create do not create output files
1409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1411 Installation directories:
1412 --prefix=PREFIX install architecture-independent files in PREFIX
1413 [$ac_default_prefix]
1414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1417 By default, \`make install' will install all the files in
1418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1420 for instance \`--prefix=\$HOME'.
1422 For better control, use the options below.
1424 Fine tuning of the installation directories:
1425 --bindir=DIR user executables [EPREFIX/bin]
1426 --sbindir=DIR system admin executables [EPREFIX/sbin]
1427 --libexecdir=DIR program executables [EPREFIX/libexec]
1428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1431 --libdir=DIR object code libraries [EPREFIX/lib]
1432 --includedir=DIR C header files [PREFIX/include]
1433 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1434 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1435 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1436 --infodir=DIR info documentation [DATAROOTDIR/info]
1437 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1438 --mandir=DIR man documentation [DATAROOTDIR/man]
1439 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1440 --htmldir=DIR html documentation [DOCDIR]
1441 --dvidir=DIR dvi documentation [DOCDIR]
1442 --pdfdir=DIR pdf documentation [DOCDIR]
1443 --psdir=DIR ps documentation [DOCDIR]
1449 --program-prefix=PREFIX prepend PREFIX to installed program names
1450 --program-suffix=SUFFIX append SUFFIX to installed program names
1451 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1454 --build=BUILD configure for building on BUILD [guessed]
1455 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1459 if test -n "$ac_init_help"; then
1464 --disable-option-checking ignore unrecognized --enable/--with options
1465 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1466 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1467 --enable-maintainer-mode enable make rules and dependencies not useful
1468 (and sometimes confusing) to the casual installer
1469 --disable-dependency-tracking speeds up one-time build
1470 --enable-dependency-tracking do not reject slow dependency extractors
1471 --enable-strict-warn Enable strict compilation warnings
1472 --disable-translator Disable the SH4 translator (Enable by default)
1473 --enable-trace Enable generation of IO traces (warning: hurts
1475 --enable-watch Enable watchpoints in the debugger (warning: hurts
1477 --enable-sh4stats Enable statistics on executed sh4 instructions
1480 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1481 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1482 --with-osmesa Build with the osmesa GL library (software
1484 --with-gtk Build with the GTK UI. Default on X11 systems
1485 --with-esd Build with support for the ESounD audio system
1486 --with-pulse Build with support for the PulseAudio audio system
1488 Some influential environment variables:
1489 CC C compiler command
1490 CFLAGS C compiler flags
1491 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1492 nonstandard directory <lib dir>
1493 LIBS libraries to pass to the linker, e.g. -l<library>
1494 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1495 you have headers in a nonstandard directory <include dir>
1496 CCAS assembler compiler command (defaults to CC)
1497 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1499 PKG_CONFIG path to pkg-config utility
1501 C compiler flags for LIBPNG, overriding pkg-config
1502 LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
1503 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1504 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1505 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1506 GTK_LIBS linker flags for GTK, overriding pkg-config
1508 C compiler flags for PULSE, overriding pkg-config
1509 PULSE_LIBS linker flags for PULSE, overriding pkg-config
1511 C compiler flags for ESOUND, overriding pkg-config
1512 ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
1513 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1514 ALSA_LIBS linker flags for ALSA, overriding pkg-config
1516 Use these variables to override the choices made by `configure' or to help
1517 it to find libraries and programs with nonstandard names/locations.
1523 if test "$ac_init_help" = "recursive"; then
1524 # If there are subdirs, report their specific --help.
1525 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1526 test -d "$ac_dir" ||
1527 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1532 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1535 # A ".." for each directory in $ac_dir_suffix.
1536 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1537 case $ac_top_builddir_sub in
1538 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1539 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1542 ac_abs_top_builddir=$ac_pwd
1543 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1544 # for backward compatibility:
1545 ac_top_builddir=$ac_top_build_prefix
1548 .) # We are building in place.
1550 ac_top_srcdir=$ac_top_builddir_sub
1551 ac_abs_top_srcdir=$ac_pwd ;;
1552 [\\/]* | ?:[\\/]* ) # Absolute name.
1553 ac_srcdir=$srcdir$ac_dir_suffix;
1554 ac_top_srcdir=$srcdir
1555 ac_abs_top_srcdir=$srcdir ;;
1557 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1558 ac_top_srcdir=$ac_top_build_prefix$srcdir
1559 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1561 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1563 cd "$ac_dir" || { ac_status=$?; continue; }
1564 # Check for guested configure.
1565 if test -f "$ac_srcdir/configure.gnu"; then
1567 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1568 elif test -f "$ac_srcdir/configure"; then
1570 $SHELL "$ac_srcdir/configure" --help=recursive
1572 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1574 cd "$ac_pwd" || { ac_status=$?; break; }
1578 test -n "$ac_init_help" && exit $ac_status
1579 if $ac_init_version; then
1582 generated by GNU Autoconf 2.62
1584 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1585 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1586 This configure script is free software; the Free Software Foundation
1587 gives unlimited permission to copy, distribute and modify it.
1591 cat >config.log <<_ACEOF
1592 This file contains any messages produced by compilers while
1593 running configure, to aid debugging if configure makes a mistake.
1595 It was created by $as_me, which was
1596 generated by GNU Autoconf 2.62. Invocation command line was
1608 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1609 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1610 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1611 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1612 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1614 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1615 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1617 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1618 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1619 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1620 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1621 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1622 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1623 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1631 test -z "$as_dir" && as_dir=.
1632 $as_echo "PATH: $as_dir"
1648 # Keep a trace of the command line.
1649 # Strip out --no-create and --no-recursion so they do not pile up.
1650 # Strip out --silent because we don't want to record it for future runs.
1651 # Also quote any args containing shell meta-characters.
1652 # Make two passes to allow for proper duplicate-argument suppression.
1656 ac_must_keep_next=false
1662 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1663 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1664 | -silent | --silent | --silen | --sile | --sil)
1667 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1670 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1672 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1673 if test $ac_must_keep_next = true; then
1674 ac_must_keep_next=false # Got value, back to normal.
1677 *=* | --config-cache | -C | -disable-* | --disable-* \
1678 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1679 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1680 | -with-* | --with-* | -without-* | --without-* | --x)
1681 case "$ac_configure_args0 " in
1682 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1685 -* ) ac_must_keep_next=true ;;
1688 ac_configure_args="$ac_configure_args '$ac_arg'"
1693 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1694 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1696 # When interrupted or exit'd, cleanup temporary files, and complete
1697 # config.log. We remove comments because anyway the quotes in there
1698 # would cause problems or look ugly.
1699 # WARNING: Use '\'' to represent an apostrophe within the trap.
1700 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1701 trap 'exit_status=$?
1702 # Save into config.log some information that might help in debugging.
1707 ## ---------------- ##
1708 ## Cache variables. ##
1709 ## ---------------- ##
1712 # The following way of writing the cache mishandles newlines in values,
1714 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1715 eval ac_val=\$$ac_var
1719 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1720 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1723 _ | IFS | as_nl) ;; #(
1724 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1725 *) $as_unset $ac_var ;;
1730 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1731 *${as_nl}ac_space=\ *)
1733 "s/'\''/'\''\\\\'\'''\''/g;
1734 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1737 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1745 ## ----------------- ##
1746 ## Output variables. ##
1747 ## ----------------- ##
1750 for ac_var in $ac_subst_vars
1752 eval ac_val=\$$ac_var
1754 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1756 $as_echo "$ac_var='\''$ac_val'\''"
1760 if test -n "$ac_subst_files"; then
1762 ## ------------------- ##
1763 ## File substitutions. ##
1764 ## ------------------- ##
1767 for ac_var in $ac_subst_files
1769 eval ac_val=\$$ac_var
1771 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1773 $as_echo "$ac_var='\''$ac_val'\''"
1778 if test -s confdefs.h; then
1788 test "$ac_signal" != 0 &&
1789 $as_echo "$as_me: caught signal $ac_signal"
1790 $as_echo "$as_me: exit $exit_status"
1792 rm -f core *.core core.conftest.* &&
1793 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1796 for ac_signal in 1 2 13 15; do
1797 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1801 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1802 rm -f -r conftest* confdefs.h
1804 # Predefined preprocessor variables.
1806 cat >>confdefs.h <<_ACEOF
1807 #define PACKAGE_NAME "$PACKAGE_NAME"
1811 cat >>confdefs.h <<_ACEOF
1812 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1816 cat >>confdefs.h <<_ACEOF
1817 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1821 cat >>confdefs.h <<_ACEOF
1822 #define PACKAGE_STRING "$PACKAGE_STRING"
1826 cat >>confdefs.h <<_ACEOF
1827 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1831 # Let the site file select an alternate cache file if it wants to.
1832 # Prefer an explicitly selected file to automatically selected ones.
1835 if test -n "$CONFIG_SITE"; then
1836 ac_site_file1=$CONFIG_SITE
1837 elif test "x$prefix" != xNONE; then
1838 ac_site_file1=$prefix/share/config.site
1839 ac_site_file2=$prefix/etc/config.site
1841 ac_site_file1=$ac_default_prefix/share/config.site
1842 ac_site_file2=$ac_default_prefix/etc/config.site
1844 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1846 test "x$ac_site_file" = xNONE && continue
1847 if test -r "$ac_site_file"; then
1848 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1849 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1850 sed 's/^/| /' "$ac_site_file" >&5
1855 if test -r "$cache_file"; then
1856 # Some versions of bash will fail to source /dev/null (special
1857 # files actually), so we avoid doing that.
1858 if test -f "$cache_file"; then
1859 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1860 $as_echo "$as_me: loading cache $cache_file" >&6;}
1862 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1863 *) . "./$cache_file";;
1867 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1868 $as_echo "$as_me: creating cache $cache_file" >&6;}
1872 # Check that the precious variables saved in the cache have kept the same
1874 ac_cache_corrupted=false
1875 for ac_var in $ac_precious_vars; do
1876 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1877 eval ac_new_set=\$ac_env_${ac_var}_set
1878 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1879 eval ac_new_val=\$ac_env_${ac_var}_value
1880 case $ac_old_set,$ac_new_set in
1882 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1883 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1884 ac_cache_corrupted=: ;;
1886 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1887 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1888 ac_cache_corrupted=: ;;
1891 if test "x$ac_old_val" != "x$ac_new_val"; then
1892 # differences in whitespace do not lead to failure.
1893 ac_old_val_w=`echo x $ac_old_val`
1894 ac_new_val_w=`echo x $ac_new_val`
1895 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1896 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1897 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1898 ac_cache_corrupted=:
1900 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1901 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1902 eval $ac_var=\$ac_old_val
1904 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1905 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1906 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1907 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1910 # Pass precious variables to config.status.
1911 if test "$ac_new_set" = set; then
1913 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1914 *) ac_arg=$ac_var=$ac_new_val ;;
1916 case " $ac_configure_args " in
1917 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1918 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1922 if $ac_cache_corrupted; then
1923 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1924 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1925 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1926 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1927 { (exit 1); exit 1; }; }
1947 ac_cpp='$CPP $CPPFLAGS'
1948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1953 am__api_version="1.9"
1955 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1956 if test -f "$ac_dir/install-sh"; then
1958 ac_install_sh="$ac_aux_dir/install-sh -c"
1960 elif test -f "$ac_dir/install.sh"; then
1962 ac_install_sh="$ac_aux_dir/install.sh -c"
1964 elif test -f "$ac_dir/shtool"; then
1966 ac_install_sh="$ac_aux_dir/shtool install -c"
1970 if test -z "$ac_aux_dir"; then
1971 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1972 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1973 { (exit 1); exit 1; }; }
1976 # These three variables are undocumented and unsupported,
1977 # and are intended to be withdrawn in a future Autoconf release.
1978 # They can cause serious problems if a builder's source tree is in a directory
1979 # whose full name contains unusual characters.
1980 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1981 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1982 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1985 # Find a good install program. We prefer a C program (faster),
1986 # so one script is as good as another. But avoid the broken or
1987 # incompatible versions:
1988 # SysV /etc/install, /usr/sbin/install
1989 # SunOS /usr/etc/install
1990 # IRIX /sbin/install
1992 # AmigaOS /C/install, which installs bootblocks on floppy discs
1993 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1994 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1995 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1996 # OS/2's system install, which has a completely different semantic
1997 # ./install, which can be erroneously created by make from ./install.sh.
1998 # Reject install programs that cannot install multiple files.
1999 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2000 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2001 if test -z "$INSTALL"; then
2002 if test "${ac_cv_path_install+set}" = set; then
2003 $as_echo_n "(cached) " >&6
2005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2009 test -z "$as_dir" && as_dir=.
2010 # Account for people who put trailing slashes in PATH elements.
2012 ./ | .// | /cC/* | \
2013 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2014 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2017 # OSF1 and SCO ODT 3.0 have their own names for install.
2018 # Don't use installbsd from OSF since it installs stuff as root
2020 for ac_prog in ginstall scoinst install; do
2021 for ac_exec_ext in '' $ac_executable_extensions; do
2022 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2023 if test $ac_prog = install &&
2024 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2025 # AIX install. It has an incompatible calling convention.
2027 elif test $ac_prog = install &&
2028 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2029 # program-specific install script used by HP pwplus--don't use.
2032 rm -rf conftest.one conftest.two conftest.dir
2033 echo one > conftest.one
2034 echo two > conftest.two
2036 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2037 test -s conftest.one && test -s conftest.two &&
2038 test -s conftest.dir/conftest.one &&
2039 test -s conftest.dir/conftest.two
2041 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2054 rm -rf conftest.one conftest.two conftest.dir
2057 if test "${ac_cv_path_install+set}" = set; then
2058 INSTALL=$ac_cv_path_install
2060 # As a last resort, use the slow shell script. Don't cache a
2061 # value for INSTALL within a source directory, because that will
2062 # break other packages using the cache if that directory is
2063 # removed, or if the value is a relative name.
2064 INSTALL=$ac_install_sh
2067 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2068 $as_echo "$INSTALL" >&6; }
2070 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2071 # It thinks the first close brace ends the variable substitution.
2072 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2074 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2076 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2078 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2079 $as_echo_n "checking whether build environment is sane... " >&6; }
2082 echo timestamp > conftest.file
2083 # Do `set' in a subshell so we don't clobber the current shell's
2084 # arguments. Must try -L first in case configure is actually a
2085 # symlink; some systems play weird games with the mod time of symlinks
2086 # (eg FreeBSD returns the mod time of the symlink's containing
2089 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2090 if test "$*" = "X"; then
2092 set X `ls -t $srcdir/configure conftest.file`
2095 if test "$*" != "X $srcdir/configure conftest.file" \
2096 && test "$*" != "X conftest.file $srcdir/configure"; then
2098 # If neither matched, then we have a broken ls. This can happen
2099 # if, for instance, CONFIG_SHELL is bash and it inherits a
2100 # broken ls alias from the environment. This has actually
2101 # happened. Such a system could not be considered "sane".
2102 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2103 alias in your environment" >&5
2104 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2105 alias in your environment" >&2;}
2106 { (exit 1); exit 1; }; }
2109 test "$2" = conftest.file
2115 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2116 Check your system clock" >&5
2117 $as_echo "$as_me: error: newly created file is older than distributed files!
2118 Check your system clock" >&2;}
2119 { (exit 1); exit 1; }; }
2121 { $as_echo "$as_me:$LINENO: result: yes" >&5
2122 $as_echo "yes" >&6; }
2123 test "$program_prefix" != NONE &&
2124 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2125 # Use a double $ so make ignores it.
2126 test "$program_suffix" != NONE &&
2127 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2128 # Double any \ or $.
2129 # By default was `s,x,x', remove it if useless.
2130 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2131 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2133 # expand $ac_aux_dir to an absolute path
2134 am_aux_dir=`cd $ac_aux_dir && pwd`
2136 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2137 # Use eval to expand $SHELL
2138 if eval "$MISSING --run true"; then
2139 am_missing_run="$MISSING --run "
2142 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2143 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2146 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2147 # We used to keeping the `.' as first argument, in order to
2148 # allow $(mkdir_p) to be used without argument. As in
2149 # $(mkdir_p) $(somedir)
2150 # where $(somedir) is conditionally defined. However this is wrong
2152 # 1. if the package is installed by a user who cannot write `.'
2153 # make install will fail,
2154 # 2. the above comment should most certainly read
2155 # $(mkdir_p) $(DESTDIR)$(somedir)
2156 # so it does not work when $(somedir) is undefined and
2157 # $(DESTDIR) is not.
2158 # To support the latter case, we have to write
2159 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2160 # so the `.' trick is pointless.
2161 mkdir_p='mkdir -p --'
2163 # On NextStep and OpenStep, the `mkdir' command does not
2164 # recognize any option. It will interpret all options as
2165 # directories to create, and then abort because `.' already
2167 for d in ./-p ./--version;
2169 test -d $d && rmdir $d
2171 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2172 if test -f "$ac_aux_dir/mkinstalldirs"; then
2173 mkdir_p='$(mkinstalldirs)'
2175 mkdir_p='$(install_sh) -d'
2179 for ac_prog in gawk mawk nawk awk
2181 # Extract the first word of "$ac_prog", so it can be a program name with args.
2182 set dummy $ac_prog; ac_word=$2
2183 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 $as_echo_n "checking for $ac_word... " >&6; }
2185 if test "${ac_cv_prog_AWK+set}" = set; then
2186 $as_echo_n "(cached) " >&6
2188 if test -n "$AWK"; then
2189 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 test -z "$as_dir" && as_dir=.
2196 for ac_exec_ext in '' $ac_executable_extensions; do
2197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2198 ac_cv_prog_AWK="$ac_prog"
2199 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2209 if test -n "$AWK"; then
2210 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2211 $as_echo "$AWK" >&6; }
2213 { $as_echo "$as_me:$LINENO: result: no" >&5
2214 $as_echo "no" >&6; }
2218 test -n "$AWK" && break
2221 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2222 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2224 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2225 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2226 $as_echo_n "(cached) " >&6
2228 cat >conftest.make <<\_ACEOF
2231 @echo '@@@%%%=$(MAKE)=@@@%%%'
2233 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2234 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2236 eval ac_cv_prog_make_${ac_make}_set=yes;;
2238 eval ac_cv_prog_make_${ac_make}_set=no;;
2242 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2243 { $as_echo "$as_me:$LINENO: result: yes" >&5
2244 $as_echo "yes" >&6; }
2247 { $as_echo "$as_me:$LINENO: result: no" >&5
2248 $as_echo "no" >&6; }
2249 SET_MAKE="MAKE=${MAKE-make}"
2252 rm -rf .tst 2>/dev/null
2253 mkdir .tst 2>/dev/null
2254 if test -d .tst; then
2259 rmdir .tst 2>/dev/null
2261 # test to see if srcdir already configured
2262 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2263 test -f $srcdir/config.status; then
2264 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2265 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2266 { (exit 1); exit 1; }; }
2269 # test whether we have cygpath
2270 if test -z "$CYGPATH_W"; then
2271 if (cygpath --version) >/dev/null 2>/dev/null; then
2272 CYGPATH_W='cygpath -w'
2279 # Define the identity of the package.
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE "$PACKAGE"
2289 cat >>confdefs.h <<_ACEOF
2290 #define VERSION "$VERSION"
2293 # Some tools Automake needs.
2295 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2298 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2301 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2304 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2307 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2309 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2311 # Installed binaries are usually stripped using `strip' when the user
2312 # run `make install-strip'. However `strip' might not be the right
2313 # tool to use in cross-compilation environments, therefore Automake
2314 # will honor the `STRIP' environment variable to overrule this program.
2315 if test "$cross_compiling" != no; then
2316 if test -n "$ac_tool_prefix"; then
2317 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2318 set dummy ${ac_tool_prefix}strip; ac_word=$2
2319 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2320 $as_echo_n "checking for $ac_word... " >&6; }
2321 if test "${ac_cv_prog_STRIP+set}" = set; then
2322 $as_echo_n "(cached) " >&6
2324 if test -n "$STRIP"; then
2325 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 test -z "$as_dir" && as_dir=.
2332 for ac_exec_ext in '' $ac_executable_extensions; do
2333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2334 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2335 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 STRIP=$ac_cv_prog_STRIP
2345 if test -n "$STRIP"; then
2346 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2347 $as_echo "$STRIP" >&6; }
2349 { $as_echo "$as_me:$LINENO: result: no" >&5
2350 $as_echo "no" >&6; }
2355 if test -z "$ac_cv_prog_STRIP"; then
2357 # Extract the first word of "strip", so it can be a program name with args.
2358 set dummy strip; ac_word=$2
2359 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2360 $as_echo_n "checking for $ac_word... " >&6; }
2361 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2362 $as_echo_n "(cached) " >&6
2364 if test -n "$ac_ct_STRIP"; then
2365 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 test -z "$as_dir" && as_dir=.
2372 for ac_exec_ext in '' $ac_executable_extensions; do
2373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2374 ac_cv_prog_ac_ct_STRIP="strip"
2375 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2384 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2385 if test -n "$ac_ct_STRIP"; then
2386 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2387 $as_echo "$ac_ct_STRIP" >&6; }
2389 { $as_echo "$as_me:$LINENO: result: no" >&5
2390 $as_echo "no" >&6; }
2393 if test "x$ac_ct_STRIP" = x; then
2396 case $cross_compiling:$ac_tool_warned in
2398 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2399 whose name does not start with the host triplet. If you think this
2400 configuration is useful to you, please write to autoconf@gnu.org." >&5
2401 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2402 whose name does not start with the host triplet. If you think this
2403 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2404 ac_tool_warned=yes ;;
2409 STRIP="$ac_cv_prog_STRIP"
2413 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2415 # We need awk for the "check" target. The system "awk" is bad on
2417 # Always define AMTAR for backward compatibility.
2419 AMTAR=${AMTAR-"${am_missing_run}tar"}
2421 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2427 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2428 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2429 # Check whether --enable-maintainer-mode was given.
2430 if test "${enable_maintainer_mode+set}" = set; then
2431 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2433 USE_MAINTAINER_MODE=no
2436 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2437 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2440 if test $USE_MAINTAINER_MODE = yes; then
2441 MAINTAINER_MODE_TRUE=
2442 MAINTAINER_MODE_FALSE='#'
2444 MAINTAINER_MODE_TRUE='#'
2445 MAINTAINER_MODE_FALSE=
2448 MAINT=$MAINTAINER_MODE_TRUE
2451 ac_config_headers="$ac_config_headers config.h"
2454 DEPDIR="${am__leading_dot}deps"
2456 ac_config_commands="$ac_config_commands depfiles"
2459 am_make=${MAKE-make}
2460 cat > confinc << 'END'
2465 # If we don't find an include directive, just comment out the code.
2466 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2467 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2471 # First try GNU make style include.
2472 echo "include confinc" > confmf
2473 # We grep out `Entering directory' and `Leaving directory'
2474 # messages which can occur if `w' ends up in MAKEFLAGS.
2475 # In particular we don't look at `^make:' because GNU make might
2476 # be invoked under some other name (usually "gmake"), in which
2477 # case it prints its new name instead of `make'.
2478 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2483 # Now try BSD make style include.
2484 if test "$am__include" = "#"; then
2485 echo '.include "confinc"' > confmf
2486 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2487 am__include=.include
2494 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2495 $as_echo "$_am_result" >&6; }
2496 rm -f confinc confmf
2498 # Check whether --enable-dependency-tracking was given.
2499 if test "${enable_dependency_tracking+set}" = set; then
2500 enableval=$enable_dependency_tracking;
2503 if test "x$enable_dependency_tracking" != xno; then
2504 am_depcomp="$ac_aux_dir/depcomp"
2509 if test "x$enable_dependency_tracking" != xno; then
2520 ac_cpp='$CPP $CPPFLAGS'
2521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2524 if test -n "$ac_tool_prefix"; then
2525 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2526 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2527 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2528 $as_echo_n "checking for $ac_word... " >&6; }
2529 if test "${ac_cv_prog_CC+set}" = set; then
2530 $as_echo_n "(cached) " >&6
2532 if test -n "$CC"; then
2533 ac_cv_prog_CC="$CC" # Let the user override the test.
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 test -z "$as_dir" && as_dir=.
2540 for ac_exec_ext in '' $ac_executable_extensions; do
2541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2543 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2553 if test -n "$CC"; then
2554 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2555 $as_echo "$CC" >&6; }
2557 { $as_echo "$as_me:$LINENO: result: no" >&5
2558 $as_echo "no" >&6; }
2563 if test -z "$ac_cv_prog_CC"; then
2565 # Extract the first word of "gcc", so it can be a program name with args.
2566 set dummy gcc; ac_word=$2
2567 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2568 $as_echo_n "checking for $ac_word... " >&6; }
2569 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2570 $as_echo_n "(cached) " >&6
2572 if test -n "$ac_ct_CC"; then
2573 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579 test -z "$as_dir" && as_dir=.
2580 for ac_exec_ext in '' $ac_executable_extensions; do
2581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2582 ac_cv_prog_ac_ct_CC="gcc"
2583 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2592 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2593 if test -n "$ac_ct_CC"; then
2594 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2595 $as_echo "$ac_ct_CC" >&6; }
2597 { $as_echo "$as_me:$LINENO: result: no" >&5
2598 $as_echo "no" >&6; }
2601 if test "x$ac_ct_CC" = x; then
2604 case $cross_compiling:$ac_tool_warned in
2606 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2607 whose name does not start with the host triplet. If you think this
2608 configuration is useful to you, please write to autoconf@gnu.org." >&5
2609 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2610 whose name does not start with the host triplet. If you think this
2611 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2612 ac_tool_warned=yes ;;
2620 if test -z "$CC"; then
2621 if test -n "$ac_tool_prefix"; then
2622 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2623 set dummy ${ac_tool_prefix}cc; ac_word=$2
2624 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2625 $as_echo_n "checking for $ac_word... " >&6; }
2626 if test "${ac_cv_prog_CC+set}" = set; then
2627 $as_echo_n "(cached) " >&6
2629 if test -n "$CC"; then
2630 ac_cv_prog_CC="$CC" # Let the user override the test.
2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 test -z "$as_dir" && as_dir=.
2637 for ac_exec_ext in '' $ac_executable_extensions; do
2638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2639 ac_cv_prog_CC="${ac_tool_prefix}cc"
2640 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2650 if test -n "$CC"; then
2651 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2652 $as_echo "$CC" >&6; }
2654 { $as_echo "$as_me:$LINENO: result: no" >&5
2655 $as_echo "no" >&6; }
2661 if test -z "$CC"; then
2662 # Extract the first word of "cc", so it can be a program name with args.
2663 set dummy cc; ac_word=$2
2664 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2665 $as_echo_n "checking for $ac_word... " >&6; }
2666 if test "${ac_cv_prog_CC+set}" = set; then
2667 $as_echo_n "(cached) " >&6
2669 if test -n "$CC"; then
2670 ac_cv_prog_CC="$CC" # Let the user override the test.
2673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir=.
2678 for ac_exec_ext in '' $ac_executable_extensions; do
2679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2681 ac_prog_rejected=yes
2685 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2692 if test $ac_prog_rejected = yes; then
2693 # We found a bogon in the path, so make sure we never use it.
2694 set dummy $ac_cv_prog_CC
2696 if test $# != 0; then
2697 # We chose a different compiler from the bogus one.
2698 # However, it has the same basename, so the bogon will be chosen
2699 # first if we set CC to just the basename; use the full file name.
2701 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2707 if test -n "$CC"; then
2708 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2709 $as_echo "$CC" >&6; }
2711 { $as_echo "$as_me:$LINENO: result: no" >&5
2712 $as_echo "no" >&6; }
2717 if test -z "$CC"; then
2718 if test -n "$ac_tool_prefix"; then
2719 for ac_prog in cl.exe
2721 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2722 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2723 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if test "${ac_cv_prog_CC+set}" = set; then
2726 $as_echo_n "(cached) " >&6
2728 if test -n "$CC"; then
2729 ac_cv_prog_CC="$CC" # Let the user override the test.
2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 test -z "$as_dir" && as_dir=.
2736 for ac_exec_ext in '' $ac_executable_extensions; do
2737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2738 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2739 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 if test -n "$CC"; then
2750 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2751 $as_echo "$CC" >&6; }
2753 { $as_echo "$as_me:$LINENO: result: no" >&5
2754 $as_echo "no" >&6; }
2758 test -n "$CC" && break
2761 if test -z "$CC"; then
2763 for ac_prog in cl.exe
2765 # Extract the first word of "$ac_prog", so it can be a program name with args.
2766 set dummy $ac_prog; ac_word=$2
2767 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2768 $as_echo_n "checking for $ac_word... " >&6; }
2769 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2770 $as_echo_n "(cached) " >&6
2772 if test -n "$ac_ct_CC"; then
2773 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 test -z "$as_dir" && as_dir=.
2780 for ac_exec_ext in '' $ac_executable_extensions; do
2781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2782 ac_cv_prog_ac_ct_CC="$ac_prog"
2783 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2793 if test -n "$ac_ct_CC"; then
2794 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2795 $as_echo "$ac_ct_CC" >&6; }
2797 { $as_echo "$as_me:$LINENO: result: no" >&5
2798 $as_echo "no" >&6; }
2802 test -n "$ac_ct_CC" && break
2805 if test "x$ac_ct_CC" = x; then
2808 case $cross_compiling:$ac_tool_warned in
2810 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2811 whose name does not start with the host triplet. If you think this
2812 configuration is useful to you, please write to autoconf@gnu.org." >&5
2813 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2814 whose name does not start with the host triplet. If you think this
2815 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2816 ac_tool_warned=yes ;;
2825 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2826 See \`config.log' for more details." >&5
2827 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2828 See \`config.log' for more details." >&2;}
2829 { (exit 1); exit 1; }; }
2831 # Provide some information about the compiler.
2832 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2835 { (ac_try="$ac_compiler --version >&5"
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2841 $as_echo "$ac_try_echo") >&5
2842 (eval "$ac_compiler --version >&5") 2>&5
2844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }
2846 { (ac_try="$ac_compiler -v >&5"
2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;;
2851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2852 $as_echo "$ac_try_echo") >&5
2853 (eval "$ac_compiler -v >&5") 2>&5
2855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }
2857 { (ac_try="$ac_compiler -V >&5"
2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860 *) ac_try_echo=$ac_try;;
2862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2863 $as_echo "$ac_try_echo") >&5
2864 (eval "$ac_compiler -V >&5") 2>&5
2866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }
2869 cat >conftest.$ac_ext <<_ACEOF
2872 cat confdefs.h >>conftest.$ac_ext
2873 cat >>conftest.$ac_ext <<_ACEOF
2874 /* end confdefs.h. */
2884 ac_clean_files_save=$ac_clean_files
2885 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2886 # Try to create an executable without -o first, disregard a.out.
2887 # It will help us diagnose broken compilers, and finding out an intuition
2889 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2890 $as_echo_n "checking for C compiler default output file name... " >&6; }
2891 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2893 # The possible output files:
2894 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2897 for ac_file in $ac_files
2900 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2901 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2906 if { (ac_try="$ac_link_default"
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2912 $as_echo "$ac_try_echo") >&5
2913 (eval "$ac_link_default") 2>&5
2915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); }; then
2917 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2918 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2919 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2920 # so that the user can short-circuit this test for compilers unknown to
2922 for ac_file in $ac_files ''
2924 test -f "$ac_file" || continue
2926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2929 # We found the default executable, but exeext='' is most
2933 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2935 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2937 # We set ac_cv_exeext here because the later test for it is not
2938 # safe: cross compilers may not add the suffix if given an `-o'
2939 # argument, so we may need to know it at that point already.
2940 # Even if this section looks crufty: it has the advantage of
2947 test "$ac_cv_exeext" = no && ac_cv_exeext=
2953 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2954 $as_echo "$ac_file" >&6; }
2955 if test -z "$ac_file"; then
2956 $as_echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2959 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2960 See \`config.log' for more details." >&5
2961 $as_echo "$as_me: error: C compiler cannot create executables
2962 See \`config.log' for more details." >&2;}
2963 { (exit 77); exit 77; }; }
2966 ac_exeext=$ac_cv_exeext
2968 # Check that the compiler produces executables we can run. If not, either
2969 # the compiler is broken, or we cross compile.
2970 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2971 $as_echo_n "checking whether the C compiler works... " >&6; }
2972 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2973 # If not cross compiling, check that we can run a simple program.
2974 if test "$cross_compiling" != yes; then
2975 if { ac_try='./$ac_file'
2976 { (case "(($ac_try" in
2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2978 *) ac_try_echo=$ac_try;;
2980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2981 $as_echo "$ac_try_echo") >&5
2982 (eval "$ac_try") 2>&5
2984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; }; then
2988 if test "$cross_compiling" = maybe; then
2991 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2992 If you meant to cross compile, use \`--host'.
2993 See \`config.log' for more details." >&5
2994 $as_echo "$as_me: error: cannot run C compiled programs.
2995 If you meant to cross compile, use \`--host'.
2996 See \`config.log' for more details." >&2;}
2997 { (exit 1); exit 1; }; }
3001 { $as_echo "$as_me:$LINENO: result: yes" >&5
3002 $as_echo "yes" >&6; }
3004 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3005 ac_clean_files=$ac_clean_files_save
3006 # Check that the compiler produces executables we can run. If not, either
3007 # the compiler is broken, or we cross compile.
3008 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3009 $as_echo_n "checking whether we are cross compiling... " >&6; }
3010 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3011 $as_echo "$cross_compiling" >&6; }
3013 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3014 $as_echo_n "checking for suffix of executables... " >&6; }
3015 if { (ac_try="$ac_link"
3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018 *) ac_try_echo=$ac_try;;
3020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3021 $as_echo "$ac_try_echo") >&5
3022 (eval "$ac_link") 2>&5
3024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); }; then
3026 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3027 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3028 # work properly (i.e., refer to `conftest.exe'), while it won't with
3030 for ac_file in conftest.exe conftest conftest.*; do
3031 test -f "$ac_file" || continue
3033 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3034 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3040 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3041 See \`config.log' for more details." >&5
3042 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3043 See \`config.log' for more details." >&2;}
3044 { (exit 1); exit 1; }; }
3047 rm -f conftest$ac_cv_exeext
3048 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3049 $as_echo "$ac_cv_exeext" >&6; }
3051 rm -f conftest.$ac_ext
3052 EXEEXT=$ac_cv_exeext
3054 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3055 $as_echo_n "checking for suffix of object files... " >&6; }
3056 if test "${ac_cv_objext+set}" = set; then
3057 $as_echo_n "(cached) " >&6
3059 cat >conftest.$ac_ext <<_ACEOF
3062 cat confdefs.h >>conftest.$ac_ext
3063 cat >>conftest.$ac_ext <<_ACEOF
3064 /* end confdefs.h. */
3074 rm -f conftest.o conftest.obj
3075 if { (ac_try="$ac_compile"
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3080 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3081 $as_echo "$ac_try_echo") >&5
3082 (eval "$ac_compile") 2>&5
3084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); }; then
3086 for ac_file in conftest.o conftest.obj conftest.*; do
3087 test -f "$ac_file" || continue;
3089 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3090 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3095 $as_echo "$as_me: failed program was:" >&5
3096 sed 's/^/| /' conftest.$ac_ext >&5
3098 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3099 See \`config.log' for more details." >&5
3100 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3101 See \`config.log' for more details." >&2;}
3102 { (exit 1); exit 1; }; }
3105 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3107 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3108 $as_echo "$ac_cv_objext" >&6; }
3109 OBJEXT=$ac_cv_objext
3111 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3112 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3113 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3114 $as_echo_n "(cached) " >&6
3116 cat >conftest.$ac_ext <<_ACEOF
3119 cat confdefs.h >>conftest.$ac_ext
3120 cat >>conftest.$ac_ext <<_ACEOF
3121 /* end confdefs.h. */
3134 rm -f conftest.$ac_objext
3135 if { (ac_try="$ac_compile"
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3141 $as_echo "$ac_try_echo") >&5
3142 (eval "$ac_compile") 2>conftest.er1
3144 grep -v '^ *+' conftest.er1 >conftest.err
3146 cat conftest.err >&5
3147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } && {
3149 test -z "$ac_c_werror_flag" ||
3150 test ! -s conftest.err
3151 } && test -s conftest.$ac_objext; then
3154 $as_echo "$as_me: failed program was:" >&5
3155 sed 's/^/| /' conftest.$ac_ext >&5
3160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3161 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3164 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3165 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3166 if test $ac_compiler_gnu = yes; then
3171 ac_test_CFLAGS=${CFLAGS+set}
3172 ac_save_CFLAGS=$CFLAGS
3173 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3174 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3175 if test "${ac_cv_prog_cc_g+set}" = set; then
3176 $as_echo_n "(cached) " >&6
3178 ac_save_c_werror_flag=$ac_c_werror_flag
3179 ac_c_werror_flag=yes
3182 cat >conftest.$ac_ext <<_ACEOF
3185 cat confdefs.h >>conftest.$ac_ext
3186 cat >>conftest.$ac_ext <<_ACEOF
3187 /* end confdefs.h. */
3197 rm -f conftest.$ac_objext
3198 if { (ac_try="$ac_compile"
3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201 *) ac_try_echo=$ac_try;;
3203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3204 $as_echo "$ac_try_echo") >&5
3205 (eval "$ac_compile") 2>conftest.er1
3207 grep -v '^ *+' conftest.er1 >conftest.err
3209 cat conftest.err >&5
3210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); } && {
3212 test -z "$ac_c_werror_flag" ||
3213 test ! -s conftest.err
3214 } && test -s conftest.$ac_objext; then
3217 $as_echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.$ac_ext >&5
3221 cat >conftest.$ac_ext <<_ACEOF
3224 cat confdefs.h >>conftest.$ac_ext
3225 cat >>conftest.$ac_ext <<_ACEOF
3226 /* end confdefs.h. */
3236 rm -f conftest.$ac_objext
3237 if { (ac_try="$ac_compile"
3239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240 *) ac_try_echo=$ac_try;;
3242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3243 $as_echo "$ac_try_echo") >&5
3244 (eval "$ac_compile") 2>conftest.er1
3246 grep -v '^ *+' conftest.er1 >conftest.err
3248 cat conftest.err >&5
3249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); } && {
3251 test -z "$ac_c_werror_flag" ||
3252 test ! -s conftest.err
3253 } && test -s conftest.$ac_objext; then
3256 $as_echo "$as_me: failed program was:" >&5
3257 sed 's/^/| /' conftest.$ac_ext >&5
3259 ac_c_werror_flag=$ac_save_c_werror_flag
3261 cat >conftest.$ac_ext <<_ACEOF
3264 cat confdefs.h >>conftest.$ac_ext
3265 cat >>conftest.$ac_ext <<_ACEOF
3266 /* end confdefs.h. */
3276 rm -f conftest.$ac_objext
3277 if { (ac_try="$ac_compile"
3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280 *) ac_try_echo=$ac_try;;
3282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3283 $as_echo "$ac_try_echo") >&5
3284 (eval "$ac_compile") 2>conftest.er1
3286 grep -v '^ *+' conftest.er1 >conftest.err
3288 cat conftest.err >&5
3289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290 (exit $ac_status); } && {
3291 test -z "$ac_c_werror_flag" ||
3292 test ! -s conftest.err
3293 } && test -s conftest.$ac_objext; then
3296 $as_echo "$as_me: failed program was:" >&5
3297 sed 's/^/| /' conftest.$ac_ext >&5
3302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3309 ac_c_werror_flag=$ac_save_c_werror_flag
3311 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3312 $as_echo "$ac_cv_prog_cc_g" >&6; }
3313 if test "$ac_test_CFLAGS" = set; then
3314 CFLAGS=$ac_save_CFLAGS
3315 elif test $ac_cv_prog_cc_g = yes; then
3316 if test "$GCC" = yes; then
3322 if test "$GCC" = yes; then
3328 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3329 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3330 if test "${ac_cv_prog_cc_c89+set}" = set; then
3331 $as_echo_n "(cached) " >&6
3333 ac_cv_prog_cc_c89=no
3335 cat >conftest.$ac_ext <<_ACEOF
3338 cat confdefs.h >>conftest.$ac_ext
3339 cat >>conftest.$ac_ext <<_ACEOF
3340 /* end confdefs.h. */
3343 #include <sys/types.h>
3344 #include <sys/stat.h>
3345 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3346 struct buf { int x; };
3347 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3348 static char *e (p, i)
3354 static char *f (char * (*g) (char **, int), char **p, ...)
3359 s = g (p, va_arg (v,int));
3364 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3365 function prototypes and stuff, but not '\xHH' hex character constants.
3366 These don't provoke an error unfortunately, instead are silently treated
3367 as 'x'. The following induces an error, until -std is added to get
3368 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3369 array size at least. It's necessary to write '\x00'==0 to get something
3370 that's true only with -std. */
3371 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3373 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3374 inside strings and character constants. */
3376 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3378 int test (int i, double x);
3379 struct s1 {int (*f) (int a);};
3380 struct s2 {int (*f) (double a);};
3381 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3387 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3392 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3393 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3395 CC="$ac_save_CC $ac_arg"
3396 rm -f conftest.$ac_objext
3397 if { (ac_try="$ac_compile"
3399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3400 *) ac_try_echo=$ac_try;;
3402 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3403 $as_echo "$ac_try_echo") >&5
3404 (eval "$ac_compile") 2>conftest.er1
3406 grep -v '^ *+' conftest.er1 >conftest.err
3408 cat conftest.err >&5
3409 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); } && {
3411 test -z "$ac_c_werror_flag" ||
3412 test ! -s conftest.err
3413 } && test -s conftest.$ac_objext; then
3414 ac_cv_prog_cc_c89=$ac_arg
3416 $as_echo "$as_me: failed program was:" >&5
3417 sed 's/^/| /' conftest.$ac_ext >&5
3422 rm -f core conftest.err conftest.$ac_objext
3423 test "x$ac_cv_prog_cc_c89" != "xno" && break
3425 rm -f conftest.$ac_ext
3430 case "x$ac_cv_prog_cc_c89" in
3432 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3433 $as_echo "none needed" >&6; } ;;
3435 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3436 $as_echo "unsupported" >&6; } ;;
3438 CC="$CC $ac_cv_prog_cc_c89"
3439 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3440 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3445 ac_cpp='$CPP $CPPFLAGS'
3446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3450 depcc="$CC" am_compiler_list=
3452 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3453 $as_echo_n "checking dependency style of $depcc... " >&6; }
3454 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3455 $as_echo_n "(cached) " >&6
3457 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3458 # We make a subdir and do the tests there. Otherwise we can end up
3459 # making bogus files that we don't know about and never remove. For
3460 # instance it was reported that on HP-UX the gcc test will end up
3461 # making a dummy file named `D' -- because `-MD' means `put the output
3464 # Copy depcomp to subdir because otherwise we won't find it if we're
3465 # using a relative directory.
3466 cp "$am_depcomp" conftest.dir
3468 # We will build objects and dependencies in a subdirectory because
3469 # it helps to detect inapplicable dependency modes. For instance
3470 # both Tru64's cc and ICC support -MD to output dependencies as a
3471 # side effect of compilation, but ICC will put the dependencies in
3472 # the current directory while Tru64 will put them in the object
3476 am_cv_CC_dependencies_compiler_type=none
3477 if test "$am_compiler_list" = ""; then
3478 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3480 for depmode in $am_compiler_list; do
3481 # Setup a source with many dependencies, because some compilers
3482 # like to wrap large dependency lists on column 80 (with \), and
3483 # we should not choose a depcomp mode which is confused by this.
3485 # We need to recreate these files for each test, as the compiler may
3486 # overwrite some of them when testing with obscure command lines.
3487 # This happens at least with the AIX C compiler.
3489 for i in 1 2 3 4 5 6; do
3490 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3491 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3492 # Solaris 8's {/usr,}/bin/sh.
3493 touch sub/conftst$i.h
3495 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3499 # after this tag, mechanisms are not by side-effect, so they'll
3500 # only be used when explicitly requested
3501 if test "x$enable_dependency_tracking" = xyes; then
3509 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3510 # mode. It turns out that the SunPro C++ compiler does not properly
3511 # handle `-M -o', and we need to detect this.
3512 if depmode=$depmode \
3513 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3514 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3515 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3516 >/dev/null 2>conftest.err &&
3517 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3518 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3519 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3520 # icc doesn't choke on unknown options, it will just issue warnings
3521 # or remarks (even with -Werror). So we grep stderr for any message
3522 # that says an option was ignored or not supported.
3523 # When given -MP, icc 7.0 and 7.1 complain thusly:
3524 # icc: Command line warning: ignoring option '-M'; no argument required
3525 # The diagnosis changed in icc 8.0:
3526 # icc: Command line remark: option '-MP' not supported
3527 if (grep 'ignoring option' conftest.err ||
3528 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3529 am_cv_CC_dependencies_compiler_type=$depmode
3538 am_cv_CC_dependencies_compiler_type=none
3542 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3543 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3544 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3549 test "x$enable_dependency_tracking" != xno \
3550 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3552 am__fastdepCC_FALSE='#'
3554 am__fastdepCC_TRUE='#'
3555 am__fastdepCC_FALSE=
3561 { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3562 $as_echo_n "checking for strerror in -lcposix... " >&6; }
3563 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3564 $as_echo_n "(cached) " >&6
3566 ac_check_lib_save_LIBS=$LIBS
3567 LIBS="-lcposix $LIBS"
3568 cat >conftest.$ac_ext <<_ACEOF
3571 cat confdefs.h >>conftest.$ac_ext
3572 cat >>conftest.$ac_ext <<_ACEOF
3573 /* end confdefs.h. */
3575 /* Override any GCC internal prototype to avoid an error.
3576 Use char because int might match the return type of a GCC
3577 builtin and then its argument prototype would still apply. */
3590 rm -f conftest.$ac_objext conftest$ac_exeext
3591 if { (ac_try="$ac_link"
3593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3594 *) ac_try_echo=$ac_try;;
3596 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3597 $as_echo "$ac_try_echo") >&5
3598 (eval "$ac_link") 2>conftest.er1
3600 grep -v '^ *+' conftest.er1 >conftest.err
3602 cat conftest.err >&5
3603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); } && {
3605 test -z "$ac_c_werror_flag" ||
3606 test ! -s conftest.err
3607 } && test -s conftest$ac_exeext && {
3608 test "$cross_compiling" = yes ||
3609 $as_test_x conftest$ac_exeext
3611 ac_cv_lib_cposix_strerror=yes
3613 $as_echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3616 ac_cv_lib_cposix_strerror=no
3619 rm -rf conftest.dSYM
3620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3621 conftest$ac_exeext conftest.$ac_ext
3622 LIBS=$ac_check_lib_save_LIBS
3624 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3625 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
3626 if test $ac_cv_lib_cposix_strerror = yes; then
3627 LIBS="$LIBS -lcposix"
3633 ac_cpp='$CPP $CPPFLAGS'
3634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3637 if test -n "$ac_tool_prefix"; then
3638 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3639 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3640 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3641 $as_echo_n "checking for $ac_word... " >&6; }
3642 if test "${ac_cv_prog_CC+set}" = set; then
3643 $as_echo_n "(cached) " >&6
3645 if test -n "$CC"; then
3646 ac_cv_prog_CC="$CC" # Let the user override the test.
3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652 test -z "$as_dir" && as_dir=.
3653 for ac_exec_ext in '' $ac_executable_extensions; do
3654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3655 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3656 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3666 if test -n "$CC"; then
3667 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3668 $as_echo "$CC" >&6; }
3670 { $as_echo "$as_me:$LINENO: result: no" >&5
3671 $as_echo "no" >&6; }
3676 if test -z "$ac_cv_prog_CC"; then
3678 # Extract the first word of "gcc", so it can be a program name with args.
3679 set dummy gcc; ac_word=$2
3680 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3681 $as_echo_n "checking for $ac_word... " >&6; }
3682 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3683 $as_echo_n "(cached) " >&6
3685 if test -n "$ac_ct_CC"; then
3686 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3692 test -z "$as_dir" && as_dir=.
3693 for ac_exec_ext in '' $ac_executable_extensions; do
3694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3695 ac_cv_prog_ac_ct_CC="gcc"
3696 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3705 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3706 if test -n "$ac_ct_CC"; then
3707 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3708 $as_echo "$ac_ct_CC" >&6; }
3710 { $as_echo "$as_me:$LINENO: result: no" >&5
3711 $as_echo "no" >&6; }
3714 if test "x$ac_ct_CC" = x; then
3717 case $cross_compiling:$ac_tool_warned in
3719 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3720 whose name does not start with the host triplet. If you think this
3721 configuration is useful to you, please write to autoconf@gnu.org." >&5
3722 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3723 whose name does not start with the host triplet. If you think this
3724 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3725 ac_tool_warned=yes ;;
3733 if test -z "$CC"; then
3734 if test -n "$ac_tool_prefix"; then
3735 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3736 set dummy ${ac_tool_prefix}cc; ac_word=$2
3737 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if test "${ac_cv_prog_CC+set}" = set; then
3740 $as_echo_n "(cached) " >&6
3742 if test -n "$CC"; then
3743 ac_cv_prog_CC="$CC" # Let the user override the test.
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3752 ac_cv_prog_CC="${ac_tool_prefix}cc"
3753 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 if test -n "$CC"; then
3764 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3765 $as_echo "$CC" >&6; }
3767 { $as_echo "$as_me:$LINENO: result: no" >&5
3768 $as_echo "no" >&6; }
3774 if test -z "$CC"; then
3775 # Extract the first word of "cc", so it can be a program name with args.
3776 set dummy cc; ac_word=$2
3777 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3779 if test "${ac_cv_prog_CC+set}" = set; then
3780 $as_echo_n "(cached) " >&6
3782 if test -n "$CC"; then
3783 ac_cv_prog_CC="$CC" # Let the user override the test.
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 test -z "$as_dir" && as_dir=.
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3793 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3794 ac_prog_rejected=yes
3798 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 if test $ac_prog_rejected = yes; then
3806 # We found a bogon in the path, so make sure we never use it.
3807 set dummy $ac_cv_prog_CC
3809 if test $# != 0; then
3810 # We chose a different compiler from the bogus one.
3811 # However, it has the same basename, so the bogon will be chosen
3812 # first if we set CC to just the basename; use the full file name.
3814 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3820 if test -n "$CC"; then
3821 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3822 $as_echo "$CC" >&6; }
3824 { $as_echo "$as_me:$LINENO: result: no" >&5
3825 $as_echo "no" >&6; }
3830 if test -z "$CC"; then
3831 if test -n "$ac_tool_prefix"; then
3832 for ac_prog in cl.exe
3834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3835 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3836 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3837 $as_echo_n "checking for $ac_word... " >&6; }
3838 if test "${ac_cv_prog_CC+set}" = set; then
3839 $as_echo_n "(cached) " >&6
3841 if test -n "$CC"; then
3842 ac_cv_prog_CC="$CC" # Let the user override the test.
3844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3848 test -z "$as_dir" && as_dir=.
3849 for ac_exec_ext in '' $ac_executable_extensions; do
3850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3851 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3852 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 if test -n "$CC"; then
3863 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3864 $as_echo "$CC" >&6; }
3866 { $as_echo "$as_me:$LINENO: result: no" >&5
3867 $as_echo "no" >&6; }
3871 test -n "$CC" && break
3874 if test -z "$CC"; then
3876 for ac_prog in cl.exe
3878 # Extract the first word of "$ac_prog", so it can be a program name with args.
3879 set dummy $ac_prog; ac_word=$2
3880 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3881 $as_echo_n "checking for $ac_word... " >&6; }
3882 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3883 $as_echo_n "(cached) " >&6
3885 if test -n "$ac_ct_CC"; then
3886 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3892 test -z "$as_dir" && as_dir=.
3893 for ac_exec_ext in '' $ac_executable_extensions; do
3894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3895 ac_cv_prog_ac_ct_CC="$ac_prog"
3896 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3905 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3906 if test -n "$ac_ct_CC"; then
3907 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3908 $as_echo "$ac_ct_CC" >&6; }
3910 { $as_echo "$as_me:$LINENO: result: no" >&5
3911 $as_echo "no" >&6; }
3915 test -n "$ac_ct_CC" && break
3918 if test "x$ac_ct_CC" = x; then
3921 case $cross_compiling:$ac_tool_warned in
3923 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3924 whose name does not start with the host triplet. If you think this
3925 configuration is useful to you, please write to autoconf@gnu.org." >&5
3926 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3927 whose name does not start with the host triplet. If you think this
3928 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3929 ac_tool_warned=yes ;;
3938 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3939 See \`config.log' for more details." >&5
3940 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3941 See \`config.log' for more details." >&2;}
3942 { (exit 1); exit 1; }; }
3944 # Provide some information about the compiler.
3945 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3948 { (ac_try="$ac_compiler --version >&5"
3950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3951 *) ac_try_echo=$ac_try;;
3953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3954 $as_echo "$ac_try_echo") >&5
3955 (eval "$ac_compiler --version >&5") 2>&5
3957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958 (exit $ac_status); }
3959 { (ac_try="$ac_compiler -v >&5"
3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
3964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3965 $as_echo "$ac_try_echo") >&5
3966 (eval "$ac_compiler -v >&5") 2>&5
3968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); }
3970 { (ac_try="$ac_compiler -V >&5"
3972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3973 *) ac_try_echo=$ac_try;;
3975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3976 $as_echo "$ac_try_echo") >&5
3977 (eval "$ac_compiler -V >&5") 2>&5
3979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980 (exit $ac_status); }
3982 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3983 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3984 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3985 $as_echo_n "(cached) " >&6
3987 cat >conftest.$ac_ext <<_ACEOF
3990 cat confdefs.h >>conftest.$ac_ext
3991 cat >>conftest.$ac_ext <<_ACEOF
3992 /* end confdefs.h. */
4005 rm -f conftest.$ac_objext
4006 if { (ac_try="$ac_compile"
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4012 $as_echo "$ac_try_echo") >&5
4013 (eval "$ac_compile") 2>conftest.er1
4015 grep -v '^ *+' conftest.er1 >conftest.err
4017 cat conftest.err >&5
4018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); } && {
4020 test -z "$ac_c_werror_flag" ||
4021 test ! -s conftest.err
4022 } && test -s conftest.$ac_objext; then
4025 $as_echo "$as_me: failed program was:" >&5
4026 sed 's/^/| /' conftest.$ac_ext >&5
4031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4032 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4035 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4036 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4037 if test $ac_compiler_gnu = yes; then
4042 ac_test_CFLAGS=${CFLAGS+set}
4043 ac_save_CFLAGS=$CFLAGS
4044 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4045 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4046 if test "${ac_cv_prog_cc_g+set}" = set; then
4047 $as_echo_n "(cached) " >&6
4049 ac_save_c_werror_flag=$ac_c_werror_flag
4050 ac_c_werror_flag=yes
4053 cat >conftest.$ac_ext <<_ACEOF
4056 cat confdefs.h >>conftest.$ac_ext
4057 cat >>conftest.$ac_ext <<_ACEOF
4058 /* end confdefs.h. */
4068 rm -f conftest.$ac_objext
4069 if { (ac_try="$ac_compile"
4071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4072 *) ac_try_echo=$ac_try;;
4074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4075 $as_echo "$ac_try_echo") >&5
4076 (eval "$ac_compile") 2>conftest.er1
4078 grep -v '^ *+' conftest.er1 >conftest.err
4080 cat conftest.err >&5
4081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); } && {
4083 test -z "$ac_c_werror_flag" ||
4084 test ! -s conftest.err
4085 } && test -s conftest.$ac_objext; then
4088 $as_echo "$as_me: failed program was:" >&5
4089 sed 's/^/| /' conftest.$ac_ext >&5
4092 cat >conftest.$ac_ext <<_ACEOF
4095 cat confdefs.h >>conftest.$ac_ext
4096 cat >>conftest.$ac_ext <<_ACEOF
4097 /* end confdefs.h. */
4107 rm -f conftest.$ac_objext
4108 if { (ac_try="$ac_compile"
4110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4111 *) ac_try_echo=$ac_try;;
4113 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4114 $as_echo "$ac_try_echo") >&5
4115 (eval "$ac_compile") 2>conftest.er1
4117 grep -v '^ *+' conftest.er1 >conftest.err
4119 cat conftest.err >&5
4120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121 (exit $ac_status); } && {
4122 test -z "$ac_c_werror_flag" ||
4123 test ! -s conftest.err
4124 } && test -s conftest.$ac_objext; then
4127 $as_echo "$as_me: failed program was:" >&5
4128 sed 's/^/| /' conftest.$ac_ext >&5
4130 ac_c_werror_flag=$ac_save_c_werror_flag
4132 cat >conftest.$ac_ext <<_ACEOF
4135 cat confdefs.h >>conftest.$ac_ext
4136 cat >>conftest.$ac_ext <<_ACEOF
4137 /* end confdefs.h. */
4147 rm -f conftest.$ac_objext
4148 if { (ac_try="$ac_compile"
4150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151 *) ac_try_echo=$ac_try;;
4153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4154 $as_echo "$ac_try_echo") >&5
4155 (eval "$ac_compile") 2>conftest.er1
4157 grep -v '^ *+' conftest.er1 >conftest.err
4159 cat conftest.err >&5
4160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161 (exit $ac_status); } && {
4162 test -z "$ac_c_werror_flag" ||
4163 test ! -s conftest.err
4164 } && test -s conftest.$ac_objext; then
4167 $as_echo "$as_me: failed program was:" >&5
4168 sed 's/^/| /' conftest.$ac_ext >&5
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 ac_c_werror_flag=$ac_save_c_werror_flag
4182 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4183 $as_echo "$ac_cv_prog_cc_g" >&6; }
4184 if test "$ac_test_CFLAGS" = set; then
4185 CFLAGS=$ac_save_CFLAGS
4186 elif test $ac_cv_prog_cc_g = yes; then
4187 if test "$GCC" = yes; then
4193 if test "$GCC" = yes; then
4199 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4200 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4201 if test "${ac_cv_prog_cc_c89+set}" = set; then
4202 $as_echo_n "(cached) " >&6
4204 ac_cv_prog_cc_c89=no
4206 cat >conftest.$ac_ext <<_ACEOF
4209 cat confdefs.h >>conftest.$ac_ext
4210 cat >>conftest.$ac_ext <<_ACEOF
4211 /* end confdefs.h. */
4214 #include <sys/types.h>
4215 #include <sys/stat.h>
4216 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4217 struct buf { int x; };
4218 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4219 static char *e (p, i)
4225 static char *f (char * (*g) (char **, int), char **p, ...)
4230 s = g (p, va_arg (v,int));
4235 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4236 function prototypes and stuff, but not '\xHH' hex character constants.
4237 These don't provoke an error unfortunately, instead are silently treated
4238 as 'x'. The following induces an error, until -std is added to get
4239 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4240 array size at least. It's necessary to write '\x00'==0 to get something
4241 that's true only with -std. */
4242 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4244 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4245 inside strings and character constants. */
4247 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4249 int test (int i, double x);
4250 struct s1 {int (*f) (int a);};
4251 struct s2 {int (*f) (double a);};
4252 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4258 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4263 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4264 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4266 CC="$ac_save_CC $ac_arg"
4267 rm -f conftest.$ac_objext
4268 if { (ac_try="$ac_compile"
4270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4271 *) ac_try_echo=$ac_try;;
4273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4274 $as_echo "$ac_try_echo") >&5
4275 (eval "$ac_compile") 2>conftest.er1
4277 grep -v '^ *+' conftest.er1 >conftest.err
4279 cat conftest.err >&5
4280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281 (exit $ac_status); } && {
4282 test -z "$ac_c_werror_flag" ||
4283 test ! -s conftest.err
4284 } && test -s conftest.$ac_objext; then
4285 ac_cv_prog_cc_c89=$ac_arg
4287 $as_echo "$as_me: failed program was:" >&5
4288 sed 's/^/| /' conftest.$ac_ext >&5
4293 rm -f core conftest.err conftest.$ac_objext
4294 test "x$ac_cv_prog_cc_c89" != "xno" && break
4296 rm -f conftest.$ac_ext
4301 case "x$ac_cv_prog_cc_c89" in
4303 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4304 $as_echo "none needed" >&6; } ;;
4306 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4307 $as_echo "unsupported" >&6; } ;;
4309 CC="$CC $ac_cv_prog_cc_c89"
4310 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4311 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4316 ac_cpp='$CPP $CPPFLAGS'
4317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4321 depcc="$CC" am_compiler_list=
4323 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4324 $as_echo_n "checking dependency style of $depcc... " >&6; }
4325 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4326 $as_echo_n "(cached) " >&6
4328 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4329 # We make a subdir and do the tests there. Otherwise we can end up
4330 # making bogus files that we don't know about and never remove. For
4331 # instance it was reported that on HP-UX the gcc test will end up
4332 # making a dummy file named `D' -- because `-MD' means `put the output
4335 # Copy depcomp to subdir because otherwise we won't find it if we're
4336 # using a relative directory.
4337 cp "$am_depcomp" conftest.dir
4339 # We will build objects and dependencies in a subdirectory because
4340 # it helps to detect inapplicable dependency modes. For instance
4341 # both Tru64's cc and ICC support -MD to output dependencies as a
4342 # side effect of compilation, but ICC will put the dependencies in
4343 # the current directory while Tru64 will put them in the object
4347 am_cv_CC_dependencies_compiler_type=none
4348 if test "$am_compiler_list" = ""; then
4349 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4351 for depmode in $am_compiler_list; do
4352 # Setup a source with many dependencies, because some compilers
4353 # like to wrap large dependency lists on column 80 (with \), and
4354 # we should not choose a depcomp mode which is confused by this.
4356 # We need to recreate these files for each test, as the compiler may
4357 # overwrite some of them when testing with obscure command lines.
4358 # This happens at least with the AIX C compiler.
4360 for i in 1 2 3 4 5 6; do
4361 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4362 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4363 # Solaris 8's {/usr,}/bin/sh.
4364 touch sub/conftst$i.h
4366 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4370 # after this tag, mechanisms are not by side-effect, so they'll
4371 # only be used when explicitly requested
4372 if test "x$enable_dependency_tracking" = xyes; then
4380 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4381 # mode. It turns out that the SunPro C++ compiler does not properly
4382 # handle `-M -o', and we need to detect this.
4383 if depmode=$depmode \
4384 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4385 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4386 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4387 >/dev/null 2>conftest.err &&
4388 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4389 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4390 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4391 # icc doesn't choke on unknown options, it will just issue warnings
4392 # or remarks (even with -Werror). So we grep stderr for any message
4393 # that says an option was ignored or not supported.
4394 # When given -MP, icc 7.0 and 7.1 complain thusly:
4395 # icc: Command line warning: ignoring option '-M'; no argument required
4396 # The diagnosis changed in icc 8.0:
4397 # icc: Command line remark: option '-MP' not supported
4398 if (grep 'ignoring option' conftest.err ||
4399 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4400 am_cv_CC_dependencies_compiler_type=$depmode
4409 am_cv_CC_dependencies_compiler_type=none
4413 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4414 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4415 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4420 test "x$enable_dependency_tracking" != xno \
4421 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4423 am__fastdepCC_FALSE='#'
4425 am__fastdepCC_TRUE='#'
4426 am__fastdepCC_FALSE=
4431 ac_cpp='$CPP $CPPFLAGS'
4432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4435 if test -n "$ac_tool_prefix"; then
4436 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4437 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4438 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4439 $as_echo_n "checking for $ac_word... " >&6; }
4440 if test "${ac_cv_prog_CC+set}" = set; then
4441 $as_echo_n "(cached) " >&6
4443 if test -n "$CC"; then
4444 ac_cv_prog_CC="$CC" # Let the user override the test.
4446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450 test -z "$as_dir" && as_dir=.
4451 for ac_exec_ext in '' $ac_executable_extensions; do
4452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4453 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4454 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4464 if test -n "$CC"; then
4465 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4466 $as_echo "$CC" >&6; }
4468 { $as_echo "$as_me:$LINENO: result: no" >&5
4469 $as_echo "no" >&6; }
4474 if test -z "$ac_cv_prog_CC"; then
4476 # Extract the first word of "gcc", so it can be a program name with args.
4477 set dummy gcc; ac_word=$2
4478 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4481 $as_echo_n "(cached) " >&6
4483 if test -n "$ac_ct_CC"; then
4484 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 ac_cv_prog_ac_ct_CC="gcc"
4494 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4503 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4504 if test -n "$ac_ct_CC"; then
4505 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4506 $as_echo "$ac_ct_CC" >&6; }
4508 { $as_echo "$as_me:$LINENO: result: no" >&5
4509 $as_echo "no" >&6; }
4512 if test "x$ac_ct_CC" = x; then
4515 case $cross_compiling:$ac_tool_warned in
4517 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4518 whose name does not start with the host triplet. If you think this
4519 configuration is useful to you, please write to autoconf@gnu.org." >&5
4520 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4521 whose name does not start with the host triplet. If you think this
4522 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4523 ac_tool_warned=yes ;;
4531 if test -z "$CC"; then
4532 if test -n "$ac_tool_prefix"; then
4533 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4534 set dummy ${ac_tool_prefix}cc; ac_word=$2
4535 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4536 $as_echo_n "checking for $ac_word... " >&6; }
4537 if test "${ac_cv_prog_CC+set}" = set; then
4538 $as_echo_n "(cached) " >&6
4540 if test -n "$CC"; then
4541 ac_cv_prog_CC="$CC" # Let the user override the test.
4543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4547 test -z "$as_dir" && as_dir=.
4548 for ac_exec_ext in '' $ac_executable_extensions; do
4549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4550 ac_cv_prog_CC="${ac_tool_prefix}cc"
4551 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 if test -n "$CC"; then
4562 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4563 $as_echo "$CC" >&6; }
4565 { $as_echo "$as_me:$LINENO: result: no" >&5
4566 $as_echo "no" >&6; }
4572 if test -z "$CC"; then
4573 # Extract the first word of "cc", so it can be a program name with args.
4574 set dummy cc; ac_word=$2
4575 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4576 $as_echo_n "checking for $ac_word... " >&6; }
4577 if test "${ac_cv_prog_CC+set}" = set; then
4578 $as_echo_n "(cached) " >&6
4580 if test -n "$CC"; then
4581 ac_cv_prog_CC="$CC" # Let the user override the test.
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4588 test -z "$as_dir" && as_dir=.
4589 for ac_exec_ext in '' $ac_executable_extensions; do
4590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4591 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4592 ac_prog_rejected=yes
4596 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4603 if test $ac_prog_rejected = yes; then
4604 # We found a bogon in the path, so make sure we never use it.
4605 set dummy $ac_cv_prog_CC
4607 if test $# != 0; then
4608 # We chose a different compiler from the bogus one.
4609 # However, it has the same basename, so the bogon will be chosen
4610 # first if we set CC to just the basename; use the full file name.
4612 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4618 if test -n "$CC"; then
4619 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4620 $as_echo "$CC" >&6; }
4622 { $as_echo "$as_me:$LINENO: result: no" >&5
4623 $as_echo "no" >&6; }
4628 if test -z "$CC"; then
4629 if test -n "$ac_tool_prefix"; then
4630 for ac_prog in cl.exe
4632 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4633 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4634 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4635 $as_echo_n "checking for $ac_word... " >&6; }
4636 if test "${ac_cv_prog_CC+set}" = set; then
4637 $as_echo_n "(cached) " >&6
4639 if test -n "$CC"; then
4640 ac_cv_prog_CC="$CC" # Let the user override the test.
4642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4646 test -z "$as_dir" && as_dir=.
4647 for ac_exec_ext in '' $ac_executable_extensions; do
4648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4649 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4650 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4660 if test -n "$CC"; then
4661 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4662 $as_echo "$CC" >&6; }
4664 { $as_echo "$as_me:$LINENO: result: no" >&5
4665 $as_echo "no" >&6; }
4669 test -n "$CC" && break
4672 if test -z "$CC"; then
4674 for ac_prog in cl.exe
4676 # Extract the first word of "$ac_prog", so it can be a program name with args.
4677 set dummy $ac_prog; ac_word=$2
4678 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4679 $as_echo_n "checking for $ac_word... " >&6; }
4680 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4681 $as_echo_n "(cached) " >&6
4683 if test -n "$ac_ct_CC"; then
4684 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 test -z "$as_dir" && as_dir=.
4691 for ac_exec_ext in '' $ac_executable_extensions; do
4692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4693 ac_cv_prog_ac_ct_CC="$ac_prog"
4694 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4703 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4704 if test -n "$ac_ct_CC"; then
4705 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4706 $as_echo "$ac_ct_CC" >&6; }
4708 { $as_echo "$as_me:$LINENO: result: no" >&5
4709 $as_echo "no" >&6; }
4713 test -n "$ac_ct_CC" && break
4716 if test "x$ac_ct_CC" = x; then
4719 case $cross_compiling:$ac_tool_warned in
4721 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4722 whose name does not start with the host triplet. If you think this
4723 configuration is useful to you, please write to autoconf@gnu.org." >&5
4724 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4725 whose name does not start with the host triplet. If you think this
4726 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4727 ac_tool_warned=yes ;;
4736 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4737 See \`config.log' for more details." >&5
4738 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4739 See \`config.log' for more details." >&2;}
4740 { (exit 1); exit 1; }; }
4742 # Provide some information about the compiler.
4743 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4746 { (ac_try="$ac_compiler --version >&5"
4748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4749 *) ac_try_echo=$ac_try;;
4751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4752 $as_echo "$ac_try_echo") >&5
4753 (eval "$ac_compiler --version >&5") 2>&5
4755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); }
4757 { (ac_try="$ac_compiler -v >&5"
4759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4760 *) ac_try_echo=$ac_try;;
4762 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4763 $as_echo "$ac_try_echo") >&5
4764 (eval "$ac_compiler -v >&5") 2>&5
4766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); }
4768 { (ac_try="$ac_compiler -V >&5"
4770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4771 *) ac_try_echo=$ac_try;;
4773 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4774 $as_echo "$ac_try_echo") >&5
4775 (eval "$ac_compiler -V >&5") 2>&5
4777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); }
4780 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4781 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4782 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4783 $as_echo_n "(cached) " >&6
4785 cat >conftest.$ac_ext <<_ACEOF
4788 cat confdefs.h >>conftest.$ac_ext
4789 cat >>conftest.$ac_ext <<_ACEOF
4790 /* end confdefs.h. */
4803 rm -f conftest.$ac_objext
4804 if { (ac_try="$ac_compile"
4806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4807 *) ac_try_echo=$ac_try;;
4809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4810 $as_echo "$ac_try_echo") >&5
4811 (eval "$ac_compile") 2>conftest.er1
4813 grep -v '^ *+' conftest.er1 >conftest.err
4815 cat conftest.err >&5
4816 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); } && {
4818 test -z "$ac_c_werror_flag" ||
4819 test ! -s conftest.err
4820 } && test -s conftest.$ac_objext; then
4823 $as_echo "$as_me: failed program was:" >&5
4824 sed 's/^/| /' conftest.$ac_ext >&5
4829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4830 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4833 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4834 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4835 if test $ac_compiler_gnu = yes; then
4840 ac_test_CFLAGS=${CFLAGS+set}
4841 ac_save_CFLAGS=$CFLAGS
4842 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4843 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4844 if test "${ac_cv_prog_cc_g+set}" = set; then
4845 $as_echo_n "(cached) " >&6
4847 ac_save_c_werror_flag=$ac_c_werror_flag
4848 ac_c_werror_flag=yes
4851 cat >conftest.$ac_ext <<_ACEOF
4854 cat confdefs.h >>conftest.$ac_ext
4855 cat >>conftest.$ac_ext <<_ACEOF
4856 /* end confdefs.h. */
4866 rm -f conftest.$ac_objext
4867 if { (ac_try="$ac_compile"
4869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4870 *) ac_try_echo=$ac_try;;
4872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4873 $as_echo "$ac_try_echo") >&5
4874 (eval "$ac_compile") 2>conftest.er1
4876 grep -v '^ *+' conftest.er1 >conftest.err
4878 cat conftest.err >&5
4879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); } && {
4881 test -z "$ac_c_werror_flag" ||
4882 test ! -s conftest.err
4883 } && test -s conftest.$ac_objext; then
4886 $as_echo "$as_me: failed program was:" >&5
4887 sed 's/^/| /' conftest.$ac_ext >&5
4890 cat >conftest.$ac_ext <<_ACEOF
4893 cat confdefs.h >>conftest.$ac_ext
4894 cat >>conftest.$ac_ext <<_ACEOF
4895 /* end confdefs.h. */
4905 rm -f conftest.$ac_objext
4906 if { (ac_try="$ac_compile"
4908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4909 *) ac_try_echo=$ac_try;;
4911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4912 $as_echo "$ac_try_echo") >&5
4913 (eval "$ac_compile") 2>conftest.er1
4915 grep -v '^ *+' conftest.er1 >conftest.err
4917 cat conftest.err >&5
4918 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); } && {
4920 test -z "$ac_c_werror_flag" ||
4921 test ! -s conftest.err
4922 } && test -s conftest.$ac_objext; then
4925 $as_echo "$as_me: failed program was:" >&5
4926 sed 's/^/| /' conftest.$ac_ext >&5
4928 ac_c_werror_flag=$ac_save_c_werror_flag
4930 cat >conftest.$ac_ext <<_ACEOF
4933 cat confdefs.h >>conftest.$ac_ext
4934 cat >>conftest.$ac_ext <<_ACEOF
4935 /* end confdefs.h. */
4945 rm -f conftest.$ac_objext
4946 if { (ac_try="$ac_compile"
4948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4949 *) ac_try_echo=$ac_try;;
4951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4952 $as_echo "$ac_try_echo") >&5
4953 (eval "$ac_compile") 2>conftest.er1
4955 grep -v '^ *+' conftest.er1 >conftest.err
4957 cat conftest.err >&5
4958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); } && {
4960 test -z "$ac_c_werror_flag" ||
4961 test ! -s conftest.err
4962 } && test -s conftest.$ac_objext; then
4965 $as_echo "$as_me: failed program was:" >&5
4966 sed 's/^/| /' conftest.$ac_ext >&5
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4978 ac_c_werror_flag=$ac_save_c_werror_flag
4980 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4981 $as_echo "$ac_cv_prog_cc_g" >&6; }
4982 if test "$ac_test_CFLAGS" = set; then
4983 CFLAGS=$ac_save_CFLAGS
4984 elif test $ac_cv_prog_cc_g = yes; then
4985 if test "$GCC" = yes; then
4991 if test "$GCC" = yes; then
4997 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4998 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4999 if test "${ac_cv_prog_cc_c89+set}" = set; then
5000 $as_echo_n "(cached) " >&6
5002 ac_cv_prog_cc_c89=no
5004 cat >conftest.$ac_ext <<_ACEOF
5007 cat confdefs.h >>conftest.$ac_ext
5008 cat >>conftest.$ac_ext <<_ACEOF
5009 /* end confdefs.h. */
5012 #include <sys/types.h>
5013 #include <sys/stat.h>
5014 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5015 struct buf { int x; };
5016 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5017 static char *e (p, i)
5023 static char *f (char * (*g) (char **, int), char **p, ...)
5028 s = g (p, va_arg (v,int));
5033 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5034 function prototypes and stuff, but not '\xHH' hex character constants.
5035 These don't provoke an error unfortunately, instead are silently treated
5036 as 'x'. The following induces an error, until -std is added to get
5037 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5038 array size at least. It's necessary to write '\x00'==0 to get something
5039 that's true only with -std. */
5040 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5042 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5043 inside strings and character constants. */
5045 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5047 int test (int i, double x);
5048 struct s1 {int (*f) (int a);};
5049 struct s2 {int (*f) (double a);};
5050 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5056 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5061 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5062 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5064 CC="$ac_save_CC $ac_arg"
5065 rm -f conftest.$ac_objext
5066 if { (ac_try="$ac_compile"
5068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5069 *) ac_try_echo=$ac_try;;
5071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5072 $as_echo "$ac_try_echo") >&5
5073 (eval "$ac_compile") 2>conftest.er1
5075 grep -v '^ *+' conftest.er1 >conftest.err
5077 cat conftest.err >&5
5078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079 (exit $ac_status); } && {
5080 test -z "$ac_c_werror_flag" ||
5081 test ! -s conftest.err
5082 } && test -s conftest.$ac_objext; then
5083 ac_cv_prog_cc_c89=$ac_arg
5085 $as_echo "$as_me: failed program was:" >&5
5086 sed 's/^/| /' conftest.$ac_ext >&5
5091 rm -f core conftest.err conftest.$ac_objext
5092 test "x$ac_cv_prog_cc_c89" != "xno" && break
5094 rm -f conftest.$ac_ext
5099 case "x$ac_cv_prog_cc_c89" in
5101 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5102 $as_echo "none needed" >&6; } ;;
5104 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5105 $as_echo "unsupported" >&6; } ;;
5107 CC="$CC $ac_cv_prog_cc_c89"
5108 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5109 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5114 ac_cpp='$CPP $CPPFLAGS'
5115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5119 depcc="$CC" am_compiler_list=
5121 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5122 $as_echo_n "checking dependency style of $depcc... " >&6; }
5123 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5124 $as_echo_n "(cached) " >&6
5126 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5127 # We make a subdir and do the tests there. Otherwise we can end up
5128 # making bogus files that we don't know about and never remove. For
5129 # instance it was reported that on HP-UX the gcc test will end up
5130 # making a dummy file named `D' -- because `-MD' means `put the output
5133 # Copy depcomp to subdir because otherwise we won't find it if we're
5134 # using a relative directory.
5135 cp "$am_depcomp" conftest.dir
5137 # We will build objects and dependencies in a subdirectory because
5138 # it helps to detect inapplicable dependency modes. For instance
5139 # both Tru64's cc and ICC support -MD to output dependencies as a
5140 # side effect of compilation, but ICC will put the dependencies in
5141 # the current directory while Tru64 will put them in the object
5145 am_cv_CC_dependencies_compiler_type=none
5146 if test "$am_compiler_list" = ""; then
5147 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5149 for depmode in $am_compiler_list; do
5150 # Setup a source with many dependencies, because some compilers
5151 # like to wrap large dependency lists on column 80 (with \), and
5152 # we should not choose a depcomp mode which is confused by this.
5154 # We need to recreate these files for each test, as the compiler may
5155 # overwrite some of them when testing with obscure command lines.
5156 # This happens at least with the AIX C compiler.
5158 for i in 1 2 3 4 5 6; do
5159 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5160 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5161 # Solaris 8's {/usr,}/bin/sh.
5162 touch sub/conftst$i.h
5164 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5168 # after this tag, mechanisms are not by side-effect, so they'll
5169 # only be used when explicitly requested
5170 if test "x$enable_dependency_tracking" = xyes; then
5178 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5179 # mode. It turns out that the SunPro C++ compiler does not properly
5180 # handle `-M -o', and we need to detect this.
5181 if depmode=$depmode \
5182 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5183 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5184 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5185 >/dev/null 2>conftest.err &&
5186 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5187 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5188 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5189 # icc doesn't choke on unknown options, it will just issue warnings
5190 # or remarks (even with -Werror). So we grep stderr for any message
5191 # that says an option was ignored or not supported.
5192 # When given -MP, icc 7.0 and 7.1 complain thusly:
5193 # icc: Command line warning: ignoring option '-M'; no argument required
5194 # The diagnosis changed in icc 8.0:
5195 # icc: Command line remark: option '-MP' not supported
5196 if (grep 'ignoring option' conftest.err ||
5197 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5198 am_cv_CC_dependencies_compiler_type=$depmode
5207 am_cv_CC_dependencies_compiler_type=none
5211 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5212 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5213 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5218 test "x$enable_dependency_tracking" != xno \
5219 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5221 am__fastdepCC_FALSE='#'
5223 am__fastdepCC_TRUE='#'
5224 am__fastdepCC_FALSE=
5229 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5231 # By default we simply use the C compiler to build assembly code.
5233 test "${CCAS+set}" = set || CCAS=$CC
5234 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
5239 ac_cpp='$CPP $CPPFLAGS'
5240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5243 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5244 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5245 # On Suns, sometimes $CPP names a directory.
5246 if test -n "$CPP" && test -d "$CPP"; then
5249 if test -z "$CPP"; then
5250 if test "${ac_cv_prog_CPP+set}" = set; then
5251 $as_echo_n "(cached) " >&6
5253 # Double quotes because CPP needs to be expanded
5254 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5257 for ac_c_preproc_warn_flag in '' yes
5259 # Use a header file that comes with gcc, so configuring glibc
5260 # with a fresh cross-compiler works.
5261 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5262 # <limits.h> exists even on freestanding compilers.
5263 # On the NeXT, cc -E runs the code through the compiler's parser,
5264 # not just through cpp. "Syntax error" is here to catch this case.
5265 cat >conftest.$ac_ext <<_ACEOF
5268 cat confdefs.h >>conftest.$ac_ext
5269 cat >>conftest.$ac_ext <<_ACEOF
5270 /* end confdefs.h. */
5272 # include <limits.h>
5274 # include <assert.h>
5278 if { (ac_try="$ac_cpp conftest.$ac_ext"
5280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5281 *) ac_try_echo=$ac_try;;
5283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5284 $as_echo "$ac_try_echo") >&5
5285 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5287 grep -v '^ *+' conftest.er1 >conftest.err
5289 cat conftest.err >&5
5290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); } >/dev/null && {
5292 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5293 test ! -s conftest.err
5297 $as_echo "$as_me: failed program was:" >&5
5298 sed 's/^/| /' conftest.$ac_ext >&5
5300 # Broken: fails on valid input.
5304 rm -f conftest.err conftest.$ac_ext
5306 # OK, works on sane cases. Now check whether nonexistent headers
5307 # can be detected and how.
5308 cat >conftest.$ac_ext <<_ACEOF
5311 cat confdefs.h >>conftest.$ac_ext
5312 cat >>conftest.$ac_ext <<_ACEOF
5313 /* end confdefs.h. */
5314 #include <ac_nonexistent.h>
5316 if { (ac_try="$ac_cpp conftest.$ac_ext"
5318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5319 *) ac_try_echo=$ac_try;;
5321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5322 $as_echo "$ac_try_echo") >&5
5323 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5325 grep -v '^ *+' conftest.er1 >conftest.err
5327 cat conftest.err >&5
5328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); } >/dev/null && {
5330 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5331 test ! -s conftest.err
5333 # Broken: success on invalid input.
5336 $as_echo "$as_me: failed program was:" >&5
5337 sed 's/^/| /' conftest.$ac_ext >&5
5339 # Passes both tests.
5344 rm -f conftest.err conftest.$ac_ext
5347 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5348 rm -f conftest.err conftest.$ac_ext
5349 if $ac_preproc_ok; then
5361 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5362 $as_echo "$CPP" >&6; }
5364 for ac_c_preproc_warn_flag in '' yes
5366 # Use a header file that comes with gcc, so configuring glibc
5367 # with a fresh cross-compiler works.
5368 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5369 # <limits.h> exists even on freestanding compilers.
5370 # On the NeXT, cc -E runs the code through the compiler's parser,
5371 # not just through cpp. "Syntax error" is here to catch this case.
5372 cat >conftest.$ac_ext <<_ACEOF
5375 cat confdefs.h >>conftest.$ac_ext
5376 cat >>conftest.$ac_ext <<_ACEOF
5377 /* end confdefs.h. */
5379 # include <limits.h>
5381 # include <assert.h>
5385 if { (ac_try="$ac_cpp conftest.$ac_ext"
5387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5388 *) ac_try_echo=$ac_try;;
5390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5391 $as_echo "$ac_try_echo") >&5
5392 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5394 grep -v '^ *+' conftest.er1 >conftest.err
5396 cat conftest.err >&5
5397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); } >/dev/null && {
5399 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5400 test ! -s conftest.err
5404 $as_echo "$as_me: failed program was:" >&5
5405 sed 's/^/| /' conftest.$ac_ext >&5
5407 # Broken: fails on valid input.
5411 rm -f conftest.err conftest.$ac_ext
5413 # OK, works on sane cases. Now check whether nonexistent headers
5414 # can be detected and how.
5415 cat >conftest.$ac_ext <<_ACEOF
5418 cat confdefs.h >>conftest.$ac_ext
5419 cat >>conftest.$ac_ext <<_ACEOF
5420 /* end confdefs.h. */
5421 #include <ac_nonexistent.h>
5423 if { (ac_try="$ac_cpp conftest.$ac_ext"
5425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5426 *) ac_try_echo=$ac_try;;
5428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5429 $as_echo "$ac_try_echo") >&5
5430 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5432 grep -v '^ *+' conftest.er1 >conftest.err
5434 cat conftest.err >&5
5435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5436 (exit $ac_status); } >/dev/null && {
5437 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5438 test ! -s conftest.err
5440 # Broken: success on invalid input.
5443 $as_echo "$as_me: failed program was:" >&5
5444 sed 's/^/| /' conftest.$ac_ext >&5
5446 # Passes both tests.
5451 rm -f conftest.err conftest.$ac_ext
5454 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5455 rm -f conftest.err conftest.$ac_ext
5456 if $ac_preproc_ok; then
5459 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5460 See \`config.log' for more details." >&5
5461 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5462 See \`config.log' for more details." >&2;}
5463 { (exit 1); exit 1; }; }
5467 ac_cpp='$CPP $CPPFLAGS'
5468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5473 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5474 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5475 if test "${ac_cv_path_GREP+set}" = set; then
5476 $as_echo_n "(cached) " >&6
5478 if test -z "$GREP"; then
5479 ac_path_GREP_found=false
5480 # Loop through the user's path and test for each of PROGNAME-LIST
5481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5485 test -z "$as_dir" && as_dir=.
5486 for ac_prog in grep ggrep; do
5487 for ac_exec_ext in '' $ac_executable_extensions; do
5488 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5489 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5490 # Check for GNU ac_path_GREP and select it if it is found.
5491 # Check for GNU $ac_path_GREP
5492 case `"$ac_path_GREP" --version 2>&1` in
5494 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5497 $as_echo_n 0123456789 >"conftest.in"
5500 cat "conftest.in" "conftest.in" >"conftest.tmp"
5501 mv "conftest.tmp" "conftest.in"
5502 cp "conftest.in" "conftest.nl"
5503 $as_echo 'GREP' >> "conftest.nl"
5504 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5505 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5506 ac_count=`expr $ac_count + 1`
5507 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5508 # Best one so far, save it but keep looking for a better one
5509 ac_cv_path_GREP="$ac_path_GREP"
5510 ac_path_GREP_max=$ac_count
5512 # 10*(2^10) chars as input seems more than enough
5513 test $ac_count -gt 10 && break
5515 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5518 $ac_path_GREP_found && break 3
5523 if test -z "$ac_cv_path_GREP"; then
5524 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5525 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5526 { (exit 1); exit 1; }; }
5529 ac_cv_path_GREP=$GREP
5533 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5534 $as_echo "$ac_cv_path_GREP" >&6; }
5535 GREP="$ac_cv_path_GREP"
5538 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5539 $as_echo_n "checking for egrep... " >&6; }
5540 if test "${ac_cv_path_EGREP+set}" = set; then
5541 $as_echo_n "(cached) " >&6
5543 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5544 then ac_cv_path_EGREP="$GREP -E"
5546 if test -z "$EGREP"; then
5547 ac_path_EGREP_found=false
5548 # Loop through the user's path and test for each of PROGNAME-LIST
5549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5553 test -z "$as_dir" && as_dir=.
5554 for ac_prog in egrep; do
5555 for ac_exec_ext in '' $ac_executable_extensions; do
5556 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5557 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5558 # Check for GNU ac_path_EGREP and select it if it is found.
5559 # Check for GNU $ac_path_EGREP
5560 case `"$ac_path_EGREP" --version 2>&1` in
5562 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5565 $as_echo_n 0123456789 >"conftest.in"
5568 cat "conftest.in" "conftest.in" >"conftest.tmp"
5569 mv "conftest.tmp" "conftest.in"
5570 cp "conftest.in" "conftest.nl"
5571 $as_echo 'EGREP' >> "conftest.nl"
5572 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5573 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5574 ac_count=`expr $ac_count + 1`
5575 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5576 # Best one so far, save it but keep looking for a better one
5577 ac_cv_path_EGREP="$ac_path_EGREP"
5578 ac_path_EGREP_max=$ac_count
5580 # 10*(2^10) chars as input seems more than enough
5581 test $ac_count -gt 10 && break
5583 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5586 $ac_path_EGREP_found && break 3
5591 if test -z "$ac_cv_path_EGREP"; then
5592 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5593 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5594 { (exit 1); exit 1; }; }
5597 ac_cv_path_EGREP=$EGREP
5602 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5603 $as_echo "$ac_cv_path_EGREP" >&6; }
5604 EGREP="$ac_cv_path_EGREP"
5607 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5608 $as_echo_n "checking for ANSI C header files... " >&6; }
5609 if test "${ac_cv_header_stdc+set}" = set; then
5610 $as_echo_n "(cached) " >&6
5612 cat >conftest.$ac_ext <<_ACEOF
5615 cat confdefs.h >>conftest.$ac_ext
5616 cat >>conftest.$ac_ext <<_ACEOF
5617 /* end confdefs.h. */
5631 rm -f conftest.$ac_objext
5632 if { (ac_try="$ac_compile"
5634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5635 *) ac_try_echo=$ac_try;;
5637 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5638 $as_echo "$ac_try_echo") >&5
5639 (eval "$ac_compile") 2>conftest.er1
5641 grep -v '^ *+' conftest.er1 >conftest.err
5643 cat conftest.err >&5
5644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); } && {
5646 test -z "$ac_c_werror_flag" ||
5647 test ! -s conftest.err
5648 } && test -s conftest.$ac_objext; then
5649 ac_cv_header_stdc=yes
5651 $as_echo "$as_me: failed program was:" >&5
5652 sed 's/^/| /' conftest.$ac_ext >&5
5654 ac_cv_header_stdc=no
5657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5659 if test $ac_cv_header_stdc = yes; then
5660 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5661 cat >conftest.$ac_ext <<_ACEOF
5664 cat confdefs.h >>conftest.$ac_ext
5665 cat >>conftest.$ac_ext <<_ACEOF
5666 /* end confdefs.h. */
5670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5671 $EGREP "memchr" >/dev/null 2>&1; then
5674 ac_cv_header_stdc=no
5680 if test $ac_cv_header_stdc = yes; then
5681 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5682 cat >conftest.$ac_ext <<_ACEOF
5685 cat confdefs.h >>conftest.$ac_ext
5686 cat >>conftest.$ac_ext <<_ACEOF
5687 /* end confdefs.h. */
5691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5692 $EGREP "free" >/dev/null 2>&1; then
5695 ac_cv_header_stdc=no
5701 if test $ac_cv_header_stdc = yes; then
5702 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5703 if test "$cross_compiling" = yes; then
5706 cat >conftest.$ac_ext <<_ACEOF
5709 cat confdefs.h >>conftest.$ac_ext
5710 cat >>conftest.$ac_ext <<_ACEOF
5711 /* end confdefs.h. */
5714 #if ((' ' & 0x0FF) == 0x020)
5715 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5716 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5718 # define ISLOWER(c) \
5719 (('a' <= (c) && (c) <= 'i') \
5720 || ('j' <= (c) && (c) <= 'r') \
5721 || ('s' <= (c) && (c) <= 'z'))
5722 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5725 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5730 for (i = 0; i < 256; i++)
5731 if (XOR (islower (i), ISLOWER (i))
5732 || toupper (i) != TOUPPER (i))
5737 rm -f conftest$ac_exeext
5738 if { (ac_try="$ac_link"
5740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5741 *) ac_try_echo=$ac_try;;
5743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5744 $as_echo "$ac_try_echo") >&5
5745 (eval "$ac_link") 2>&5
5747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5749 { (case "(($ac_try" in
5750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5751 *) ac_try_echo=$ac_try;;
5753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5754 $as_echo "$ac_try_echo") >&5
5755 (eval "$ac_try") 2>&5
5757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758 (exit $ac_status); }; }; then
5761 $as_echo "$as_me: program exited with status $ac_status" >&5
5762 $as_echo "$as_me: failed program was:" >&5
5763 sed 's/^/| /' conftest.$ac_ext >&5
5766 ac_cv_header_stdc=no
5768 rm -rf conftest.dSYM
5769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5775 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5776 $as_echo "$ac_cv_header_stdc" >&6; }
5777 if test $ac_cv_header_stdc = yes; then
5779 cat >>confdefs.h <<\_ACEOF
5780 #define STDC_HEADERS 1
5785 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5795 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5796 inttypes.h stdint.h unistd.h
5798 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5799 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5800 $as_echo_n "checking for $ac_header... " >&6; }
5801 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5802 $as_echo_n "(cached) " >&6
5804 cat >conftest.$ac_ext <<_ACEOF
5807 cat confdefs.h >>conftest.$ac_ext
5808 cat >>conftest.$ac_ext <<_ACEOF
5809 /* end confdefs.h. */
5810 $ac_includes_default
5812 #include <$ac_header>
5814 rm -f conftest.$ac_objext
5815 if { (ac_try="$ac_compile"
5817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5818 *) ac_try_echo=$ac_try;;
5820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5821 $as_echo "$ac_try_echo") >&5
5822 (eval "$ac_compile") 2>conftest.er1
5824 grep -v '^ *+' conftest.er1 >conftest.err
5826 cat conftest.err >&5
5827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); } && {
5829 test -z "$ac_c_werror_flag" ||
5830 test ! -s conftest.err
5831 } && test -s conftest.$ac_objext; then
5832 eval "$as_ac_Header=yes"
5834 $as_echo "$as_me: failed program was:" >&5
5835 sed 's/^/| /' conftest.$ac_ext >&5
5837 eval "$as_ac_Header=no"
5840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5842 ac_res=`eval 'as_val=${'$as_ac_Header'}
5843 $as_echo "$as_val"'`
5844 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5845 $as_echo "$ac_res" >&6; }
5846 if test `eval 'as_val=${'$as_ac_Header'}
5847 $as_echo "$as_val"'` = yes; then
5848 cat >>confdefs.h <<_ACEOF
5849 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5857 # The cast to long int works around a bug in the HP C Compiler
5858 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5859 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5860 # This bug is HP SR number 8606223364.
5861 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
5862 $as_echo_n "checking size of void *... " >&6; }
5863 if test "${ac_cv_sizeof_void_p+set}" = set; then
5864 $as_echo_n "(cached) " >&6
5866 if test "$cross_compiling" = yes; then
5867 # Depending upon the size, compute the lo and hi bounds.
5868 cat >conftest.$ac_ext <<_ACEOF
5871 cat confdefs.h >>conftest.$ac_ext
5872 cat >>conftest.$ac_ext <<_ACEOF
5873 /* end confdefs.h. */
5874 $ac_includes_default
5878 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
5885 rm -f conftest.$ac_objext
5886 if { (ac_try="$ac_compile"
5888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5889 *) ac_try_echo=$ac_try;;
5891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5892 $as_echo "$ac_try_echo") >&5
5893 (eval "$ac_compile") 2>conftest.er1
5895 grep -v '^ *+' conftest.er1 >conftest.err
5897 cat conftest.err >&5
5898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); } && {
5900 test -z "$ac_c_werror_flag" ||
5901 test ! -s conftest.err
5902 } && test -s conftest.$ac_objext; then
5905 cat >conftest.$ac_ext <<_ACEOF
5908 cat confdefs.h >>conftest.$ac_ext
5909 cat >>conftest.$ac_ext <<_ACEOF
5910 /* end confdefs.h. */
5911 $ac_includes_default
5915 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
5922 rm -f conftest.$ac_objext
5923 if { (ac_try="$ac_compile"
5925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5926 *) ac_try_echo=$ac_try;;
5928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5929 $as_echo "$ac_try_echo") >&5
5930 (eval "$ac_compile") 2>conftest.er1
5932 grep -v '^ *+' conftest.er1 >conftest.err
5934 cat conftest.err >&5
5935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); } && {
5937 test -z "$ac_c_werror_flag" ||
5938 test ! -s conftest.err
5939 } && test -s conftest.$ac_objext; then
5940 ac_hi=$ac_mid; break
5942 $as_echo "$as_me: failed program was:" >&5
5943 sed 's/^/| /' conftest.$ac_ext >&5
5945 ac_lo=`expr $ac_mid + 1`
5946 if test $ac_lo -le $ac_mid; then
5950 ac_mid=`expr 2 '*' $ac_mid + 1`
5953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5956 $as_echo "$as_me: failed program was:" >&5
5957 sed 's/^/| /' conftest.$ac_ext >&5
5959 cat >conftest.$ac_ext <<_ACEOF
5962 cat confdefs.h >>conftest.$ac_ext
5963 cat >>conftest.$ac_ext <<_ACEOF
5964 /* end confdefs.h. */
5965 $ac_includes_default
5969 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
5976 rm -f conftest.$ac_objext
5977 if { (ac_try="$ac_compile"
5979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5980 *) ac_try_echo=$ac_try;;
5982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5983 $as_echo "$ac_try_echo") >&5
5984 (eval "$ac_compile") 2>conftest.er1
5986 grep -v '^ *+' conftest.er1 >conftest.err
5988 cat conftest.err >&5
5989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990 (exit $ac_status); } && {
5991 test -z "$ac_c_werror_flag" ||
5992 test ! -s conftest.err
5993 } && test -s conftest.$ac_objext; then
5996 cat >conftest.$ac_ext <<_ACEOF
5999 cat confdefs.h >>conftest.$ac_ext
6000 cat >>conftest.$ac_ext <<_ACEOF
6001 /* end confdefs.h. */
6002 $ac_includes_default
6006 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
6013 rm -f conftest.$ac_objext
6014 if { (ac_try="$ac_compile"
6016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6017 *) ac_try_echo=$ac_try;;
6019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6020 $as_echo "$ac_try_echo") >&5
6021 (eval "$ac_compile") 2>conftest.er1
6023 grep -v '^ *+' conftest.er1 >conftest.err
6025 cat conftest.err >&5
6026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); } && {
6028 test -z "$ac_c_werror_flag" ||
6029 test ! -s conftest.err
6030 } && test -s conftest.$ac_objext; then
6031 ac_lo=$ac_mid; break
6033 $as_echo "$as_me: failed program was:" >&5
6034 sed 's/^/| /' conftest.$ac_ext >&5
6036 ac_hi=`expr '(' $ac_mid ')' - 1`
6037 if test $ac_mid -le $ac_hi; then
6041 ac_mid=`expr 2 '*' $ac_mid`
6044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6047 $as_echo "$as_me: failed program was:" >&5
6048 sed 's/^/| /' conftest.$ac_ext >&5
6053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6057 # Binary search between lo and hi bounds.
6058 while test "x$ac_lo" != "x$ac_hi"; do
6059 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6060 cat >conftest.$ac_ext <<_ACEOF
6063 cat confdefs.h >>conftest.$ac_ext
6064 cat >>conftest.$ac_ext <<_ACEOF
6065 /* end confdefs.h. */
6066 $ac_includes_default
6070 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
6077 rm -f conftest.$ac_objext
6078 if { (ac_try="$ac_compile"
6080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6081 *) ac_try_echo=$ac_try;;
6083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6084 $as_echo "$ac_try_echo") >&5
6085 (eval "$ac_compile") 2>conftest.er1
6087 grep -v '^ *+' conftest.er1 >conftest.err
6089 cat conftest.err >&5
6090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); } && {
6092 test -z "$ac_c_werror_flag" ||
6093 test ! -s conftest.err
6094 } && test -s conftest.$ac_objext; then
6097 $as_echo "$as_me: failed program was:" >&5
6098 sed 's/^/| /' conftest.$ac_ext >&5
6100 ac_lo=`expr '(' $ac_mid ')' + 1`
6103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6106 ?*) ac_cv_sizeof_void_p=$ac_lo;;
6107 '') if test "$ac_cv_type_void_p" = yes; then
6108 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
6109 See \`config.log' for more details." >&5
6110 $as_echo "$as_me: error: cannot compute sizeof (void *)
6111 See \`config.log' for more details." >&2;}
6112 { (exit 77); exit 77; }; }
6114 ac_cv_sizeof_void_p=0
6118 cat >conftest.$ac_ext <<_ACEOF
6121 cat confdefs.h >>conftest.$ac_ext
6122 cat >>conftest.$ac_ext <<_ACEOF
6123 /* end confdefs.h. */
6124 $ac_includes_default
6125 static long int longval () { return (long int) (sizeof (void *)); }
6126 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
6133 FILE *f = fopen ("conftest.val", "w");
6136 if (((long int) (sizeof (void *))) < 0)
6138 long int i = longval ();
6139 if (i != ((long int) (sizeof (void *))))
6141 fprintf (f, "%ld", i);
6145 unsigned long int i = ulongval ();
6146 if (i != ((long int) (sizeof (void *))))
6148 fprintf (f, "%lu", i);
6150 /* Do not output a trailing newline, as this causes \r\n confusion
6151 on some platforms. */
6152 return ferror (f) || fclose (f) != 0;
6158 rm -f conftest$ac_exeext
6159 if { (ac_try="$ac_link"
6161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6162 *) ac_try_echo=$ac_try;;
6164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6165 $as_echo "$ac_try_echo") >&5
6166 (eval "$ac_link") 2>&5
6168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6170 { (case "(($ac_try" in
6171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6172 *) ac_try_echo=$ac_try;;
6174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6175 $as_echo "$ac_try_echo") >&5
6176 (eval "$ac_try") 2>&5
6178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; }; then
6180 ac_cv_sizeof_void_p=`cat conftest.val`
6182 $as_echo "$as_me: program exited with status $ac_status" >&5
6183 $as_echo "$as_me: failed program was:" >&5
6184 sed 's/^/| /' conftest.$ac_ext >&5
6187 if test "$ac_cv_type_void_p" = yes; then
6188 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
6189 See \`config.log' for more details." >&5
6190 $as_echo "$as_me: error: cannot compute sizeof (void *)
6191 See \`config.log' for more details." >&2;}
6192 { (exit 77); exit 77; }; }
6194 ac_cv_sizeof_void_p=0
6197 rm -rf conftest.dSYM
6198 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6202 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
6203 $as_echo "$ac_cv_sizeof_void_p" >&6; }
6207 cat >>confdefs.h <<_ACEOF
6208 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
6212 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6213 $as_echo_n "checking for ANSI C header files... " >&6; }
6214 if test "${ac_cv_header_stdc+set}" = set; then
6215 $as_echo_n "(cached) " >&6
6217 cat >conftest.$ac_ext <<_ACEOF
6220 cat confdefs.h >>conftest.$ac_ext
6221 cat >>conftest.$ac_ext <<_ACEOF
6222 /* end confdefs.h. */
6236 rm -f conftest.$ac_objext
6237 if { (ac_try="$ac_compile"
6239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6240 *) ac_try_echo=$ac_try;;
6242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6243 $as_echo "$ac_try_echo") >&5
6244 (eval "$ac_compile") 2>conftest.er1
6246 grep -v '^ *+' conftest.er1 >conftest.err
6248 cat conftest.err >&5
6249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); } && {
6251 test -z "$ac_c_werror_flag" ||
6252 test ! -s conftest.err
6253 } && test -s conftest.$ac_objext; then
6254 ac_cv_header_stdc=yes
6256 $as_echo "$as_me: failed program was:" >&5
6257 sed 's/^/| /' conftest.$ac_ext >&5
6259 ac_cv_header_stdc=no
6262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6264 if test $ac_cv_header_stdc = yes; then
6265 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6266 cat >conftest.$ac_ext <<_ACEOF
6269 cat confdefs.h >>conftest.$ac_ext
6270 cat >>conftest.$ac_ext <<_ACEOF
6271 /* end confdefs.h. */
6275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6276 $EGREP "memchr" >/dev/null 2>&1; then
6279 ac_cv_header_stdc=no
6285 if test $ac_cv_header_stdc = yes; then
6286 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6287 cat >conftest.$ac_ext <<_ACEOF
6290 cat confdefs.h >>conftest.$ac_ext
6291 cat >>conftest.$ac_ext <<_ACEOF
6292 /* end confdefs.h. */
6296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6297 $EGREP "free" >/dev/null 2>&1; then
6300 ac_cv_header_stdc=no
6306 if test $ac_cv_header_stdc = yes; then
6307 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6308 if test "$cross_compiling" = yes; then
6311 cat >conftest.$ac_ext <<_ACEOF
6314 cat confdefs.h >>conftest.$ac_ext
6315 cat >>conftest.$ac_ext <<_ACEOF
6316 /* end confdefs.h. */
6319 #if ((' ' & 0x0FF) == 0x020)
6320 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6321 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6323 # define ISLOWER(c) \
6324 (('a' <= (c) && (c) <= 'i') \
6325 || ('j' <= (c) && (c) <= 'r') \
6326 || ('s' <= (c) && (c) <= 'z'))
6327 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6330 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6335 for (i = 0; i < 256; i++)
6336 if (XOR (islower (i), ISLOWER (i))
6337 || toupper (i) != TOUPPER (i))
6342 rm -f conftest$ac_exeext
6343 if { (ac_try="$ac_link"
6345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6346 *) ac_try_echo=$ac_try;;
6348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6349 $as_echo "$ac_try_echo") >&5
6350 (eval "$ac_link") 2>&5
6352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6354 { (case "(($ac_try" in
6355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6356 *) ac_try_echo=$ac_try;;
6358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6359 $as_echo "$ac_try_echo") >&5
6360 (eval "$ac_try") 2>&5
6362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363 (exit $ac_status); }; }; then
6366 $as_echo "$as_me: program exited with status $ac_status" >&5
6367 $as_echo "$as_me: failed program was:" >&5
6368 sed 's/^/| /' conftest.$ac_ext >&5
6371 ac_cv_header_stdc=no
6373 rm -rf conftest.dSYM
6374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6380 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6381 $as_echo "$ac_cv_header_stdc" >&6; }
6382 if test $ac_cv_header_stdc = yes; then
6384 cat >>confdefs.h <<\_ACEOF
6385 #define STDC_HEADERS 1
6390 # Make sure we can run config.sub.
6391 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6392 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
6393 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
6394 { (exit 1); exit 1; }; }
6396 { $as_echo "$as_me:$LINENO: checking build system type" >&5
6397 $as_echo_n "checking build system type... " >&6; }
6398 if test "${ac_cv_build+set}" = set; then
6399 $as_echo_n "(cached) " >&6
6401 ac_build_alias=$build_alias
6402 test "x$ac_build_alias" = x &&
6403 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6404 test "x$ac_build_alias" = x &&
6405 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6406 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6407 { (exit 1); exit 1; }; }
6408 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6409 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
6410 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
6411 { (exit 1); exit 1; }; }
6414 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6415 $as_echo "$ac_cv_build" >&6; }
6416 case $ac_cv_build in
6418 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
6419 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
6420 { (exit 1); exit 1; }; };;
6423 ac_save_IFS=$IFS; IFS='-'
6429 # Remember, the first character of IFS is used to create $*,
6430 # except with old shells:
6433 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6436 { $as_echo "$as_me:$LINENO: checking host system type" >&5
6437 $as_echo_n "checking host system type... " >&6; }
6438 if test "${ac_cv_host+set}" = set; then
6439 $as_echo_n "(cached) " >&6
6441 if test "x$host_alias" = x; then
6442 ac_cv_host=$ac_cv_build
6444 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6445 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
6446 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
6447 { (exit 1); exit 1; }; }
6451 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
6452 $as_echo "$ac_cv_host" >&6; }
6455 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
6456 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
6457 { (exit 1); exit 1; }; };;
6460 ac_save_IFS=$IFS; IFS='-'
6466 # Remember, the first character of IFS is used to create $*,
6467 # except with old shells:
6470 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6474 # Extract the first word of "pod2man", so it can be a program name with args.
6475 set dummy pod2man; ac_word=$2
6476 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6477 $as_echo_n "checking for $ac_word... " >&6; }
6478 if test "${ac_cv_path_POD2MAN+set}" = set; then
6479 $as_echo_n "(cached) " >&6
6483 ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6493 ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
6494 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6504 POD2MAN=$ac_cv_path_POD2MAN
6505 if test -n "$POD2MAN"; then
6506 { $as_echo "$as_me:$LINENO: result: $POD2MAN" >&5
6507 $as_echo "$POD2MAN" >&6; }
6509 { $as_echo "$as_me:$LINENO: result: no" >&5
6510 $as_echo "no" >&6; }
6514 # Extract the first word of "pod2html", so it can be a program name with args.
6515 set dummy pod2html; ac_word=$2
6516 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6517 $as_echo_n "checking for $ac_word... " >&6; }
6518 if test "${ac_cv_path_POD2HTML+set}" = set; then
6519 $as_echo_n "(cached) " >&6
6523 ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
6526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6530 test -z "$as_dir" && as_dir=.
6531 for ac_exec_ext in '' $ac_executable_extensions; do
6532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6533 ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
6534 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6544 POD2HTML=$ac_cv_path_POD2HTML
6545 if test -n "$POD2HTML"; then
6546 { $as_echo "$as_me:$LINENO: result: $POD2HTML" >&5
6547 $as_echo "$POD2HTML" >&6; }
6549 { $as_echo "$as_me:$LINENO: result: no" >&5
6550 $as_echo "no" >&6; }
6556 # Check whether --enable-strict-warn was given.
6557 if test "${enable_strict_warn+set}" = set; then
6558 enableval=$enable_strict_warn; CFLAGS="$CFLAGS -Werror -Wall -Wno-unused"
6561 # Check whether --enable-translator was given.
6562 if test "${enable_translator+set}" = set; then
6563 enableval=$enable_translator; true
6565 enable_translator=yes
6568 # Check whether --enable-trace was given.
6569 if test "${enable_trace+set}" = set; then
6570 enableval=$enable_trace; if test "$enableval" == "yes"; then
6572 cat >>confdefs.h <<\_ACEOF
6573 #define ENABLE_TRACE_IO 1
6579 # Check whether --enable-watch was given.
6580 if test "${enable_watch+set}" = set; then
6581 enableval=$enable_watch; if test "$enableval" == "yes"; then
6583 cat >>confdefs.h <<\_ACEOF
6584 #define ENABLE_WATCH 1
6590 # Check whether --enable-sh4stats was given.
6591 if test "${enable_sh4stats+set}" = set; then
6592 enableval=$enable_sh4stats; if test "$enableval" == "yes"; then
6594 cat >>confdefs.h <<\_ACEOF
6595 #define ENABLE_SH4STATS 1
6602 # Check whether --with-osmesa was given.
6603 if test "${with_osmesa+set}" = set; then
6604 withval=$with_osmesa;
6610 # Check whether --with-gtk was given.
6611 if test "${with_gtk+set}" = set; then
6612 withval=$with_gtk; with_gtk=yes
6618 # Check whether --with-esd was given.
6619 if test "${with_esd+set}" = set; then
6624 # Check whether --with-pulse was given.
6625 if test "${with_pulse+set}" = set; then
6626 withval=$with_pulse;
6631 if test "x$GCC" = "xyes"; then
6632 CFLAGS="$CFLAGS -fno-strict-aliasing"
6636 lxdream_save_cppflags="$CPPFLAGS"
6637 CPPFLAGS="$CPPFLAGS -x objective-c"
6638 cat >conftest.$ac_ext <<_ACEOF
6641 cat confdefs.h >>conftest.$ac_ext
6642 cat >>conftest.$ac_ext <<_ACEOF
6643 /* end confdefs.h. */
6653 rm -f conftest.$ac_objext
6654 if { (ac_try="$ac_compile"
6656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6657 *) ac_try_echo=$ac_try;;
6659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6660 $as_echo "$ac_try_echo") >&5
6661 (eval "$ac_compile") 2>conftest.er1
6663 grep -v '^ *+' conftest.er1 >conftest.err
6665 cat conftest.err >&5
6666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667 (exit $ac_status); } && {
6668 test -z "$ac_c_werror_flag" ||
6669 test ! -s conftest.err
6670 } && test -s conftest.$ac_objext; then
6673 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
6674 { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
6675 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
6676 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
6677 $as_echo_n "(cached) " >&6
6679 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
6680 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
6682 # Is the header compilable?
6683 { $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h usability" >&5
6684 $as_echo_n "checking Cocoa/Cocoa.h usability... " >&6; }
6685 cat >conftest.$ac_ext <<_ACEOF
6688 cat confdefs.h >>conftest.$ac_ext
6689 cat >>conftest.$ac_ext <<_ACEOF
6690 /* end confdefs.h. */
6691 $ac_includes_default
6692 #include <Cocoa/Cocoa.h>
6694 rm -f conftest.$ac_objext
6695 if { (ac_try="$ac_compile"
6697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6698 *) ac_try_echo=$ac_try;;
6700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6701 $as_echo "$ac_try_echo") >&5
6702 (eval "$ac_compile") 2>conftest.er1
6704 grep -v '^ *+' conftest.er1 >conftest.err
6706 cat conftest.err >&5
6707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); } && {
6709 test -z "$ac_c_werror_flag" ||
6710 test ! -s conftest.err
6711 } && test -s conftest.$ac_objext; then
6712 ac_header_compiler=yes
6714 $as_echo "$as_me: failed program was:" >&5
6715 sed 's/^/| /' conftest.$ac_ext >&5
6717 ac_header_compiler=no
6720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6721 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6722 $as_echo "$ac_header_compiler" >&6; }
6724 # Is the header present?
6725 { $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h presence" >&5
6726 $as_echo_n "checking Cocoa/Cocoa.h presence... " >&6; }
6727 cat >conftest.$ac_ext <<_ACEOF
6730 cat confdefs.h >>conftest.$ac_ext
6731 cat >>conftest.$ac_ext <<_ACEOF
6732 /* end confdefs.h. */
6733 #include <Cocoa/Cocoa.h>
6735 if { (ac_try="$ac_cpp conftest.$ac_ext"
6737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6738 *) ac_try_echo=$ac_try;;
6740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6741 $as_echo "$ac_try_echo") >&5
6742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6744 grep -v '^ *+' conftest.er1 >conftest.err
6746 cat conftest.err >&5
6747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); } >/dev/null && {
6749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6750 test ! -s conftest.err
6752 ac_header_preproc=yes
6754 $as_echo "$as_me: failed program was:" >&5
6755 sed 's/^/| /' conftest.$ac_ext >&5
6757 ac_header_preproc=no
6760 rm -f conftest.err conftest.$ac_ext
6761 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6762 $as_echo "$ac_header_preproc" >&6; }
6764 # So? What about this header?
6765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6767 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&5
6768 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6769 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&5
6770 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&2;}
6771 ac_header_preproc=yes
6774 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&5
6775 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&2;}
6776 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: check for missing prerequisite headers?" >&5
6777 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: check for missing prerequisite headers?" >&2;}
6778 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&5
6779 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&2;}
6780 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: section \"Present But Cannot Be Compiled\"" >&5
6781 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: section \"Present But Cannot Be Compiled\"" >&2;}
6782 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&5
6783 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&2;}
6784 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&5
6785 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&2;}
6789 { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
6790 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
6791 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
6792 $as_echo_n "(cached) " >&6
6794 ac_cv_header_Cocoa_Cocoa_h=$ac_header_preproc
6796 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
6797 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
6800 if test $ac_cv_header_Cocoa_Cocoa_h = yes; then
6804 LIBS="$LIBS -framework AppKit"
6805 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"
6806 CPPFLAGS="$CPPFLAGS -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4"
6807 LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
6809 cat >>confdefs.h <<\_ACEOF
6810 #define HAVE_COCOA 1
6814 cat >>confdefs.h <<\_ACEOF
6815 #define APPLE_BUILD 1
6818 if test "x$with_gtk" = "xx11"; then
6828 $as_echo "$as_me: failed program was:" >&5
6829 sed 's/^/| /' conftest.$ac_ext >&5
6831 CPPFLAGS="$lxdream_save_cppflags"
6834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6837 if test "$HAVE_COCOA" = 'yes' -a "$with_gtk" = "no"; then
6848 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6849 if test -n "$ac_tool_prefix"; then
6850 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6851 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6852 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6853 $as_echo_n "checking for $ac_word... " >&6; }
6854 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6855 $as_echo_n "(cached) " >&6
6859 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866 test -z "$as_dir" && as_dir=.
6867 for ac_exec_ext in '' $ac_executable_extensions; do
6868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6869 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6870 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6880 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6881 if test -n "$PKG_CONFIG"; then
6882 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6883 $as_echo "$PKG_CONFIG" >&6; }
6885 { $as_echo "$as_me:$LINENO: result: no" >&5
6886 $as_echo "no" >&6; }
6891 if test -z "$ac_cv_path_PKG_CONFIG"; then
6892 ac_pt_PKG_CONFIG=$PKG_CONFIG
6893 # Extract the first word of "pkg-config", so it can be a program name with args.
6894 set dummy pkg-config; ac_word=$2
6895 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6896 $as_echo_n "checking for $ac_word... " >&6; }
6897 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
6898 $as_echo_n "(cached) " >&6
6900 case $ac_pt_PKG_CONFIG in
6902 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6909 test -z "$as_dir" && as_dir=.
6910 for ac_exec_ext in '' $ac_executable_extensions; do
6911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6912 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6913 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6923 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6924 if test -n "$ac_pt_PKG_CONFIG"; then
6925 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
6926 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6928 { $as_echo "$as_me:$LINENO: result: no" >&5
6929 $as_echo "no" >&6; }
6932 if test "x$ac_pt_PKG_CONFIG" = x; then
6935 case $cross_compiling:$ac_tool_warned in
6937 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6938 whose name does not start with the host triplet. If you think this
6939 configuration is useful to you, please write to autoconf@gnu.org." >&5
6940 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6941 whose name does not start with the host triplet. If you think this
6942 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6943 ac_tool_warned=yes ;;
6945 PKG_CONFIG=$ac_pt_PKG_CONFIG
6948 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6952 if test -n "$PKG_CONFIG"; then
6953 _pkg_min_version=0.9.0
6954 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
6955 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6956 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6957 { $as_echo "$as_me:$LINENO: result: yes" >&5
6958 $as_echo "yes" >&6; }
6960 { $as_echo "$as_me:$LINENO: result: no" >&5
6961 $as_echo "no" >&6; }
6968 { $as_echo "$as_me:$LINENO: checking for LIBPNG" >&5
6969 $as_echo_n "checking for LIBPNG... " >&6; }
6971 if test -n "$PKG_CONFIG"; then
6972 if test -n "$LIBPNG_CFLAGS"; then
6973 pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
6975 if test -n "$PKG_CONFIG" && \
6976 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
6977 ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
6979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; then
6981 pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
6989 if test -n "$PKG_CONFIG"; then
6990 if test -n "$LIBPNG_LIBS"; then
6991 pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
6993 if test -n "$PKG_CONFIG" && \
6994 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
6995 ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
6997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); }; then
6999 pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
7010 if test $pkg_failed = yes; then
7012 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7013 _pkg_short_errors_supported=yes
7015 _pkg_short_errors_supported=no
7017 if test $_pkg_short_errors_supported = yes; then
7018 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng "`
7020 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng "`
7022 # Put the nasty error message in config.log where it belongs
7023 echo "$LIBPNG_PKG_ERRORS" >&5
7025 { { $as_echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
7029 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7030 installed software in a non-standard prefix.
7032 Alternatively, you may set the environment variables LIBPNG_CFLAGS
7033 and LIBPNG_LIBS to avoid the need to call pkg-config.
7034 See the pkg-config man page for more details.
7036 $as_echo "$as_me: error: Package requirements (libpng ) were not met:
7040 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7041 installed software in a non-standard prefix.
7043 Alternatively, you may set the environment variables LIBPNG_CFLAGS
7044 and LIBPNG_LIBS to avoid the need to call pkg-config.
7045 See the pkg-config man page for more details.
7047 { (exit 1); exit 1; }; }
7048 elif test $pkg_failed = untried; then
7049 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
7050 is in your PATH or set the PKG_CONFIG environment variable to the full
7053 Alternatively, you may set the environment variables LIBPNG_CFLAGS
7054 and LIBPNG_LIBS to avoid the need to call pkg-config.
7055 See the pkg-config man page for more details.
7057 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7058 See \`config.log' for more details." >&5
7059 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
7060 is in your PATH or set the PKG_CONFIG environment variable to the full
7063 Alternatively, you may set the environment variables LIBPNG_CFLAGS
7064 and LIBPNG_LIBS to avoid the need to call pkg-config.
7065 See the pkg-config man page for more details.
7067 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7068 See \`config.log' for more details." >&2;}
7069 { (exit 1); exit 1; }; }
7071 LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
7072 LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
7073 { $as_echo "$as_me:$LINENO: result: yes" >&5
7074 $as_echo "yes" >&6; }
7079 { $as_echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
7080 $as_echo_n "checking for uncompress in -lz... " >&6; }
7081 if test "${ac_cv_lib_z_uncompress+set}" = set; then
7082 $as_echo_n "(cached) " >&6
7084 ac_check_lib_save_LIBS=$LIBS
7086 cat >conftest.$ac_ext <<_ACEOF
7089 cat confdefs.h >>conftest.$ac_ext
7090 cat >>conftest.$ac_ext <<_ACEOF
7091 /* end confdefs.h. */
7093 /* Override any GCC internal prototype to avoid an error.
7094 Use char because int might match the return type of a GCC
7095 builtin and then its argument prototype would still apply. */
7103 return uncompress ();
7108 rm -f conftest.$ac_objext conftest$ac_exeext
7109 if { (ac_try="$ac_link"
7111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7112 *) ac_try_echo=$ac_try;;
7114 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7115 $as_echo "$ac_try_echo") >&5
7116 (eval "$ac_link") 2>conftest.er1
7118 grep -v '^ *+' conftest.er1 >conftest.err
7120 cat conftest.err >&5
7121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); } && {
7123 test -z "$ac_c_werror_flag" ||
7124 test ! -s conftest.err
7125 } && test -s conftest$ac_exeext && {
7126 test "$cross_compiling" = yes ||
7127 $as_test_x conftest$ac_exeext
7129 ac_cv_lib_z_uncompress=yes
7131 $as_echo "$as_me: failed program was:" >&5
7132 sed 's/^/| /' conftest.$ac_ext >&5
7134 ac_cv_lib_z_uncompress=no
7137 rm -rf conftest.dSYM
7138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7139 conftest$ac_exeext conftest.$ac_ext
7140 LIBS=$ac_check_lib_save_LIBS
7142 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
7143 $as_echo "$ac_cv_lib_z_uncompress" >&6; }
7144 if test $ac_cv_lib_z_uncompress = yes; then
7145 cat >>confdefs.h <<_ACEOF
7153 echo "Zlib (libz.so) could not be found, but is required."
7158 if test "x$with_gtk" = "xno"; then
7161 { $as_echo "$as_me:$LINENO: checking for GLIB" >&5
7162 $as_echo_n "checking for GLIB... " >&6; }
7164 if test -n "$PKG_CONFIG"; then
7165 if test -n "$GLIB_CFLAGS"; then
7166 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
7168 if test -n "$PKG_CONFIG" && \
7169 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
7170 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
7172 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7173 (exit $ac_status); }; then
7174 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
7182 if test -n "$PKG_CONFIG"; then
7183 if test -n "$GLIB_LIBS"; then
7184 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
7186 if test -n "$PKG_CONFIG" && \
7187 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
7188 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
7190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7191 (exit $ac_status); }; then
7192 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
7203 if test $pkg_failed = yes; then
7205 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7206 _pkg_short_errors_supported=yes
7208 _pkg_short_errors_supported=no
7210 if test $_pkg_short_errors_supported = yes; then
7211 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"`
7213 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
7215 # Put the nasty error message in config.log where it belongs
7216 echo "$GLIB_PKG_ERRORS" >&5
7218 { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
7222 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7223 installed software in a non-standard prefix.
7225 Alternatively, you may set the environment variables GLIB_CFLAGS
7226 and GLIB_LIBS to avoid the need to call pkg-config.
7227 See the pkg-config man page for more details.
7229 $as_echo "$as_me: error: Package requirements (glib-2.0) were not met:
7233 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7234 installed software in a non-standard prefix.
7236 Alternatively, you may set the environment variables GLIB_CFLAGS
7237 and GLIB_LIBS to avoid the need to call pkg-config.
7238 See the pkg-config man page for more details.
7240 { (exit 1); exit 1; }; }
7241 elif test $pkg_failed = untried; then
7242 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
7243 is in your PATH or set the PKG_CONFIG environment variable to the full
7246 Alternatively, you may set the environment variables GLIB_CFLAGS
7247 and GLIB_LIBS to avoid the need to call pkg-config.
7248 See the pkg-config man page for more details.
7250 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7251 See \`config.log' for more details." >&5
7252 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
7253 is in your PATH or set the PKG_CONFIG environment variable to the full
7256 Alternatively, you may set the environment variables GLIB_CFLAGS
7257 and GLIB_LIBS to avoid the need to call pkg-config.
7258 See the pkg-config man page for more details.
7260 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7261 See \`config.log' for more details." >&2;}
7262 { (exit 1); exit 1; }; }
7264 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
7265 GLIB_LIBS=$pkg_cv_GLIB_LIBS
7266 { $as_echo "$as_me:$LINENO: result: yes" >&5
7267 $as_echo "yes" >&6; }
7273 { $as_echo "$as_me:$LINENO: checking for GTK" >&5
7274 $as_echo_n "checking for GTK... " >&6; }
7276 if test -n "$PKG_CONFIG"; then
7277 if test -n "$GTK_CFLAGS"; then
7278 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
7280 if test -n "$PKG_CONFIG" && \
7281 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
7282 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
7284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); }; then
7286 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
7294 if test -n "$PKG_CONFIG"; then
7295 if test -n "$GTK_LIBS"; then
7296 pkg_cv_GTK_LIBS="$GTK_LIBS"
7298 if test -n "$PKG_CONFIG" && \
7299 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
7300 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
7302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); }; then
7304 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
7315 if test $pkg_failed = yes; then
7317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7318 _pkg_short_errors_supported=yes
7320 _pkg_short_errors_supported=no
7322 if test $_pkg_short_errors_supported = yes; then
7323 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
7325 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
7327 # Put the nasty error message in config.log where it belongs
7328 echo "$GTK_PKG_ERRORS" >&5
7330 { { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
7334 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7335 installed software in a non-standard prefix.
7337 Alternatively, you may set the environment variables GTK_CFLAGS
7338 and GTK_LIBS to avoid the need to call pkg-config.
7339 See the pkg-config man page for more details.
7341 $as_echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
7345 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7346 installed software in a non-standard prefix.
7348 Alternatively, you may set the environment variables GTK_CFLAGS
7349 and GTK_LIBS to avoid the need to call pkg-config.
7350 See the pkg-config man page for more details.
7352 { (exit 1); exit 1; }; }
7353 elif test $pkg_failed = untried; then
7354 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
7355 is in your PATH or set the PKG_CONFIG environment variable to the full
7358 Alternatively, you may set the environment variables GTK_CFLAGS
7359 and GTK_LIBS to avoid the need to call pkg-config.
7360 See the pkg-config man page for more details.
7362 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7363 See \`config.log' for more details." >&5
7364 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
7365 is in your PATH or set the PKG_CONFIG environment variable to the full
7368 Alternatively, you may set the environment variables GTK_CFLAGS
7369 and GTK_LIBS to avoid the need to call pkg-config.
7370 See the pkg-config man page for more details.
7372 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7373 See \`config.log' for more details." >&2;}
7374 { (exit 1); exit 1; }; }
7376 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
7377 GTK_LIBS=$pkg_cv_GTK_LIBS
7378 { $as_echo "$as_me:$LINENO: result: yes" >&5
7379 $as_echo "yes" >&6; }
7383 cat >>confdefs.h <<\_ACEOF
7390 LIBS="$LIBS $GTK_LIBS"
7391 { $as_echo "$as_me:$LINENO: checking for gdk_x11_display_get_xdisplay" >&5
7392 $as_echo_n "checking for gdk_x11_display_get_xdisplay... " >&6; }
7393 if test "${ac_cv_func_gdk_x11_display_get_xdisplay+set}" = set; then
7394 $as_echo_n "(cached) " >&6
7396 cat >conftest.$ac_ext <<_ACEOF
7399 cat confdefs.h >>conftest.$ac_ext
7400 cat >>conftest.$ac_ext <<_ACEOF
7401 /* end confdefs.h. */
7402 /* Define gdk_x11_display_get_xdisplay to an innocuous variant, in case <limits.h> declares gdk_x11_display_get_xdisplay.
7403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7404 #define gdk_x11_display_get_xdisplay innocuous_gdk_x11_display_get_xdisplay
7406 /* System header to define __stub macros and hopefully few prototypes,
7407 which can conflict with char gdk_x11_display_get_xdisplay (); below.
7408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7409 <limits.h> exists even on freestanding compilers. */
7412 # include <limits.h>
7414 # include <assert.h>
7417 #undef gdk_x11_display_get_xdisplay
7419 /* Override any GCC internal prototype to avoid an error.
7420 Use char because int might match the return type of a GCC
7421 builtin and then its argument prototype would still apply. */
7425 char gdk_x11_display_get_xdisplay ();
7426 /* The GNU C library defines this for functions which it implements
7427 to always fail with ENOSYS. Some functions are actually named
7428 something starting with __ and the normal name is an alias. */
7429 #if defined __stub_gdk_x11_display_get_xdisplay || defined __stub___gdk_x11_display_get_xdisplay
7436 return gdk_x11_display_get_xdisplay ();
7441 rm -f conftest.$ac_objext conftest$ac_exeext
7442 if { (ac_try="$ac_link"
7444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7445 *) ac_try_echo=$ac_try;;
7447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7448 $as_echo "$ac_try_echo") >&5
7449 (eval "$ac_link") 2>conftest.er1
7451 grep -v '^ *+' conftest.er1 >conftest.err
7453 cat conftest.err >&5
7454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); } && {
7456 test -z "$ac_c_werror_flag" ||
7457 test ! -s conftest.err
7458 } && test -s conftest$ac_exeext && {
7459 test "$cross_compiling" = yes ||
7460 $as_test_x conftest$ac_exeext
7462 ac_cv_func_gdk_x11_display_get_xdisplay=yes
7464 $as_echo "$as_me: failed program was:" >&5
7465 sed 's/^/| /' conftest.$ac_ext >&5
7467 ac_cv_func_gdk_x11_display_get_xdisplay=no
7470 rm -rf conftest.dSYM
7471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7472 conftest$ac_exeext conftest.$ac_ext
7474 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdk_x11_display_get_xdisplay" >&5
7475 $as_echo "$ac_cv_func_gdk_x11_display_get_xdisplay" >&6; }
7476 if test $ac_cv_func_gdk_x11_display_get_xdisplay = yes; then
7480 cat >>confdefs.h <<\_ACEOF
7481 #define HAVE_GTK_X11 1
7486 { $as_echo "$as_me:$LINENO: checking for gdk_quartz_window_get_nsview" >&5
7487 $as_echo_n "checking for gdk_quartz_window_get_nsview... " >&6; }
7488 if test "${ac_cv_func_gdk_quartz_window_get_nsview+set}" = set; then
7489 $as_echo_n "(cached) " >&6
7491 cat >conftest.$ac_ext <<_ACEOF
7494 cat confdefs.h >>conftest.$ac_ext
7495 cat >>conftest.$ac_ext <<_ACEOF
7496 /* end confdefs.h. */
7497 /* Define gdk_quartz_window_get_nsview to an innocuous variant, in case <limits.h> declares gdk_quartz_window_get_nsview.
7498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7499 #define gdk_quartz_window_get_nsview innocuous_gdk_quartz_window_get_nsview
7501 /* System header to define __stub macros and hopefully few prototypes,
7502 which can conflict with char gdk_quartz_window_get_nsview (); below.
7503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7504 <limits.h> exists even on freestanding compilers. */
7507 # include <limits.h>
7509 # include <assert.h>
7512 #undef gdk_quartz_window_get_nsview
7514 /* Override any GCC internal prototype to avoid an error.
7515 Use char because int might match the return type of a GCC
7516 builtin and then its argument prototype would still apply. */
7520 char gdk_quartz_window_get_nsview ();
7521 /* The GNU C library defines this for functions which it implements
7522 to always fail with ENOSYS. Some functions are actually named
7523 something starting with __ and the normal name is an alias. */
7524 #if defined __stub_gdk_quartz_window_get_nsview || defined __stub___gdk_quartz_window_get_nsview
7531 return gdk_quartz_window_get_nsview ();
7536 rm -f conftest.$ac_objext conftest$ac_exeext
7537 if { (ac_try="$ac_link"
7539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7540 *) ac_try_echo=$ac_try;;
7542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7543 $as_echo "$ac_try_echo") >&5
7544 (eval "$ac_link") 2>conftest.er1
7546 grep -v '^ *+' conftest.er1 >conftest.err
7548 cat conftest.err >&5
7549 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7550 (exit $ac_status); } && {
7551 test -z "$ac_c_werror_flag" ||
7552 test ! -s conftest.err
7553 } && test -s conftest$ac_exeext && {
7554 test "$cross_compiling" = yes ||
7555 $as_test_x conftest$ac_exeext
7557 ac_cv_func_gdk_quartz_window_get_nsview=yes
7559 $as_echo "$as_me: failed program was:" >&5
7560 sed 's/^/| /' conftest.$ac_ext >&5
7562 ac_cv_func_gdk_quartz_window_get_nsview=no
7565 rm -rf conftest.dSYM
7566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7567 conftest$ac_exeext conftest.$ac_ext
7569 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdk_quartz_window_get_nsview" >&5
7570 $as_echo "$ac_cv_func_gdk_quartz_window_get_nsview" >&6; }
7571 if test $ac_cv_func_gdk_quartz_window_get_nsview = yes; then
7575 cat >>confdefs.h <<\_ACEOF
7576 #define HAVE_GTK_OSX 1
7585 if test "$HAVE_GTK" = 'yes'; then
7594 if test "x$with_osmesa" != xno; then
7598 { $as_echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
7599 $as_echo_n "checking for OSMesaCreateContext in -lOSMesa... " >&6; }
7600 if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
7601 $as_echo_n "(cached) " >&6
7603 ac_check_lib_save_LIBS=$LIBS
7604 LIBS="-lOSMesa $LIBS"
7605 cat >conftest.$ac_ext <<_ACEOF
7608 cat confdefs.h >>conftest.$ac_ext
7609 cat >>conftest.$ac_ext <<_ACEOF
7610 /* end confdefs.h. */
7612 /* Override any GCC internal prototype to avoid an error.
7613 Use char because int might match the return type of a GCC
7614 builtin and then its argument prototype would still apply. */
7618 char OSMesaCreateContext ();
7622 return OSMesaCreateContext ();
7627 rm -f conftest.$ac_objext conftest$ac_exeext
7628 if { (ac_try="$ac_link"
7630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7631 *) ac_try_echo=$ac_try;;
7633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7634 $as_echo "$ac_try_echo") >&5
7635 (eval "$ac_link") 2>conftest.er1
7637 grep -v '^ *+' conftest.er1 >conftest.err
7639 cat conftest.err >&5
7640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 (exit $ac_status); } && {
7642 test -z "$ac_c_werror_flag" ||
7643 test ! -s conftest.err
7644 } && test -s conftest$ac_exeext && {
7645 test "$cross_compiling" = yes ||
7646 $as_test_x conftest$ac_exeext
7648 ac_cv_lib_OSMesa_OSMesaCreateContext=yes
7650 $as_echo "$as_me: failed program was:" >&5
7651 sed 's/^/| /' conftest.$ac_ext >&5
7653 ac_cv_lib_OSMesa_OSMesaCreateContext=no
7656 rm -rf conftest.dSYM
7657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7658 conftest$ac_exeext conftest.$ac_ext
7659 LIBS=$ac_check_lib_save_LIBS
7661 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
7662 $as_echo "$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6; }
7663 if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
7664 cat >>confdefs.h <<_ACEOF
7665 #define HAVE_LIBOSMESA 1
7668 LIBS="-lOSMesa $LIBS"
7671 { { $as_echo "$as_me:$LINENO: error: --with-osmesa was given, but OSMesa library could not be found
7672 See \`config.log' for more details." >&5
7673 $as_echo "$as_me: error: --with-osmesa was given, but OSMesa library could not be found
7674 See \`config.log' for more details." >&2;}
7675 { (exit 1); exit 1; }; }
7678 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
7679 { $as_echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
7680 $as_echo_n "checking for GL/osmesa.h... " >&6; }
7681 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
7682 $as_echo_n "(cached) " >&6
7684 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
7685 $as_echo "$ac_cv_header_GL_osmesa_h" >&6; }
7687 # Is the header compilable?
7688 { $as_echo "$as_me:$LINENO: checking GL/osmesa.h usability" >&5
7689 $as_echo_n "checking GL/osmesa.h usability... " >&6; }
7690 cat >conftest.$ac_ext <<_ACEOF
7693 cat confdefs.h >>conftest.$ac_ext
7694 cat >>conftest.$ac_ext <<_ACEOF
7695 /* end confdefs.h. */
7696 $ac_includes_default
7697 #include <GL/osmesa.h>
7699 rm -f conftest.$ac_objext
7700 if { (ac_try="$ac_compile"
7702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7703 *) ac_try_echo=$ac_try;;
7705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7706 $as_echo "$ac_try_echo") >&5
7707 (eval "$ac_compile") 2>conftest.er1
7709 grep -v '^ *+' conftest.er1 >conftest.err
7711 cat conftest.err >&5
7712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7713 (exit $ac_status); } && {
7714 test -z "$ac_c_werror_flag" ||
7715 test ! -s conftest.err
7716 } && test -s conftest.$ac_objext; then
7717 ac_header_compiler=yes
7719 $as_echo "$as_me: failed program was:" >&5
7720 sed 's/^/| /' conftest.$ac_ext >&5
7722 ac_header_compiler=no
7725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7726 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7727 $as_echo "$ac_header_compiler" >&6; }
7729 # Is the header present?
7730 { $as_echo "$as_me:$LINENO: checking GL/osmesa.h presence" >&5
7731 $as_echo_n "checking GL/osmesa.h presence... " >&6; }
7732 cat >conftest.$ac_ext <<_ACEOF
7735 cat confdefs.h >>conftest.$ac_ext
7736 cat >>conftest.$ac_ext <<_ACEOF
7737 /* end confdefs.h. */
7738 #include <GL/osmesa.h>
7740 if { (ac_try="$ac_cpp conftest.$ac_ext"
7742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7743 *) ac_try_echo=$ac_try;;
7745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7746 $as_echo "$ac_try_echo") >&5
7747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7749 grep -v '^ *+' conftest.er1 >conftest.err
7751 cat conftest.err >&5
7752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); } >/dev/null && {
7754 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7755 test ! -s conftest.err
7757 ac_header_preproc=yes
7759 $as_echo "$as_me: failed program was:" >&5
7760 sed 's/^/| /' conftest.$ac_ext >&5
7762 ac_header_preproc=no
7765 rm -f conftest.err conftest.$ac_ext
7766 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7767 $as_echo "$ac_header_preproc" >&6; }
7769 # So? What about this header?
7770 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7772 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&5
7773 $as_echo "$as_me: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7774 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&5
7775 $as_echo "$as_me: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&2;}
7776 ac_header_preproc=yes
7779 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: present but cannot be compiled" >&5
7780 $as_echo "$as_me: WARNING: GL/osmesa.h: present but cannot be compiled" >&2;}
7781 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: check for missing prerequisite headers?" >&5
7782 $as_echo "$as_me: WARNING: GL/osmesa.h: check for missing prerequisite headers?" >&2;}
7783 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: see the Autoconf documentation" >&5
7784 $as_echo "$as_me: WARNING: GL/osmesa.h: see the Autoconf documentation" >&2;}
7785 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: section \"Present But Cannot Be Compiled\"" >&5
7786 $as_echo "$as_me: WARNING: GL/osmesa.h: section \"Present But Cannot Be Compiled\"" >&2;}
7787 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&5
7788 $as_echo "$as_me: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&2;}
7789 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&5
7790 $as_echo "$as_me: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&2;}
7794 { $as_echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
7795 $as_echo_n "checking for GL/osmesa.h... " >&6; }
7796 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
7797 $as_echo_n "(cached) " >&6
7799 ac_cv_header_GL_osmesa_h=$ac_header_preproc
7801 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
7802 $as_echo "$ac_cv_header_GL_osmesa_h" >&6; }
7805 if test $ac_cv_header_GL_osmesa_h = yes; then
7808 { { $as_echo "$as_me:$LINENO: error: --with-osmesa was given, but osmesa.h could not be found
7809 See \`config.log' for more details." >&5
7810 $as_echo "$as_me: error: --with-osmesa was given, but osmesa.h could not be found
7811 See \`config.log' for more details." >&2;}
7812 { (exit 1); exit 1; }; }
7817 VIDEO_DRIVERS="$VIDEO_DRIVERS osmesa"
7819 cat >>confdefs.h <<\_ACEOF
7820 #define HAVE_OSMESA 1
7826 if test "x$APPLE_BUILD" != 'xyes'; then
7828 { $as_echo "$as_me:$LINENO: checking for glVertex3f in -lGL" >&5
7829 $as_echo_n "checking for glVertex3f in -lGL... " >&6; }
7830 if test "${ac_cv_lib_GL_glVertex3f+set}" = set; then
7831 $as_echo_n "(cached) " >&6
7833 ac_check_lib_save_LIBS=$LIBS
7835 cat >conftest.$ac_ext <<_ACEOF
7838 cat confdefs.h >>conftest.$ac_ext
7839 cat >>conftest.$ac_ext <<_ACEOF
7840 /* end confdefs.h. */
7842 /* Override any GCC internal prototype to avoid an error.
7843 Use char because int might match the return type of a GCC
7844 builtin and then its argument prototype would still apply. */
7852 return glVertex3f ();
7857 rm -f conftest.$ac_objext conftest$ac_exeext
7858 if { (ac_try="$ac_link"
7860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7861 *) ac_try_echo=$ac_try;;
7863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7864 $as_echo "$ac_try_echo") >&5
7865 (eval "$ac_link") 2>conftest.er1
7867 grep -v '^ *+' conftest.er1 >conftest.err
7869 cat conftest.err >&5
7870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); } && {
7872 test -z "$ac_c_werror_flag" ||
7873 test ! -s conftest.err
7874 } && test -s conftest$ac_exeext && {
7875 test "$cross_compiling" = yes ||
7876 $as_test_x conftest$ac_exeext
7878 ac_cv_lib_GL_glVertex3f=yes
7880 $as_echo "$as_me: failed program was:" >&5
7881 sed 's/^/| /' conftest.$ac_ext >&5
7883 ac_cv_lib_GL_glVertex3f=no
7886 rm -rf conftest.dSYM
7887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7888 conftest$ac_exeext conftest.$ac_ext
7889 LIBS=$ac_check_lib_save_LIBS
7891 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glVertex3f" >&5
7892 $as_echo "$ac_cv_lib_GL_glVertex3f" >&6; }
7893 if test $ac_cv_lib_GL_glVertex3f = yes; then
7894 cat >>confdefs.h <<_ACEOF
7895 #define HAVE_LIBGL 1
7902 { { $as_echo "$as_me:$LINENO: error: \"The OpenGL library (libGL.so) could not be found, but is required.\"
7903 See \`config.log' for more details." >&5
7904 $as_echo "$as_me: error: \"The OpenGL library (libGL.so) could not be found, but is required.\"
7905 See \`config.log' for more details." >&2;}
7906 { (exit 1); exit 1; }; }
7909 if test "${ac_cv_header_GL_gl_h+set}" = set; then
7910 { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
7911 $as_echo_n "checking for GL/gl.h... " >&6; }
7912 if test "${ac_cv_header_GL_gl_h+set}" = set; then
7913 $as_echo_n "(cached) " >&6
7915 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
7916 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
7918 # Is the header compilable?
7919 { $as_echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
7920 $as_echo_n "checking GL/gl.h usability... " >&6; }
7921 cat >conftest.$ac_ext <<_ACEOF
7924 cat confdefs.h >>conftest.$ac_ext
7925 cat >>conftest.$ac_ext <<_ACEOF
7926 /* end confdefs.h. */
7927 $ac_includes_default
7930 rm -f conftest.$ac_objext
7931 if { (ac_try="$ac_compile"
7933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7934 *) ac_try_echo=$ac_try;;
7936 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7937 $as_echo "$ac_try_echo") >&5
7938 (eval "$ac_compile") 2>conftest.er1
7940 grep -v '^ *+' conftest.er1 >conftest.err
7942 cat conftest.err >&5
7943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7944 (exit $ac_status); } && {
7945 test -z "$ac_c_werror_flag" ||
7946 test ! -s conftest.err
7947 } && test -s conftest.$ac_objext; then
7948 ac_header_compiler=yes
7950 $as_echo "$as_me: failed program was:" >&5
7951 sed 's/^/| /' conftest.$ac_ext >&5
7953 ac_header_compiler=no
7956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7957 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7958 $as_echo "$ac_header_compiler" >&6; }
7960 # Is the header present?
7961 { $as_echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
7962 $as_echo_n "checking GL/gl.h presence... " >&6; }
7963 cat >conftest.$ac_ext <<_ACEOF
7966 cat confdefs.h >>conftest.$ac_ext
7967 cat >>conftest.$ac_ext <<_ACEOF
7968 /* end confdefs.h. */
7971 if { (ac_try="$ac_cpp conftest.$ac_ext"
7973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7974 *) ac_try_echo=$ac_try;;
7976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7977 $as_echo "$ac_try_echo") >&5
7978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7980 grep -v '^ *+' conftest.er1 >conftest.err
7982 cat conftest.err >&5
7983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); } >/dev/null && {
7985 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7986 test ! -s conftest.err
7988 ac_header_preproc=yes
7990 $as_echo "$as_me: failed program was:" >&5
7991 sed 's/^/| /' conftest.$ac_ext >&5
7993 ac_header_preproc=no
7996 rm -f conftest.err conftest.$ac_ext
7997 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7998 $as_echo "$ac_header_preproc" >&6; }
8000 # So? What about this header?
8001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8003 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
8004 $as_echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8005 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
8006 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
8007 ac_header_preproc=yes
8010 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
8011 $as_echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
8012 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
8013 $as_echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
8014 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
8015 $as_echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
8016 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
8017 $as_echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
8018 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
8019 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
8020 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
8021 $as_echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
8025 { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
8026 $as_echo_n "checking for GL/gl.h... " >&6; }
8027 if test "${ac_cv_header_GL_gl_h+set}" = set; then
8028 $as_echo_n "(cached) " >&6
8030 ac_cv_header_GL_gl_h=$ac_header_preproc
8032 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
8033 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
8036 if test $ac_cv_header_GL_gl_h = yes; then
8040 { { $as_echo "$as_me:$LINENO: error: \"The OpenGL header files (eg GL/gl.h) could not be found, but are required.\"
8041 See \`config.log' for more details." >&5
8042 $as_echo "$as_me: error: \"The OpenGL header files (eg GL/gl.h) could not be found, but are required.\"
8043 See \`config.log' for more details." >&2;}
8044 { (exit 1); exit 1; }; }
8049 { $as_echo "$as_me:$LINENO: checking for NSOpenGLGetVersion" >&5
8050 $as_echo_n "checking for NSOpenGLGetVersion... " >&6; }
8051 if test "${ac_cv_func_NSOpenGLGetVersion+set}" = set; then
8052 $as_echo_n "(cached) " >&6
8054 cat >conftest.$ac_ext <<_ACEOF
8057 cat confdefs.h >>conftest.$ac_ext
8058 cat >>conftest.$ac_ext <<_ACEOF
8059 /* end confdefs.h. */
8060 /* Define NSOpenGLGetVersion to an innocuous variant, in case <limits.h> declares NSOpenGLGetVersion.
8061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8062 #define NSOpenGLGetVersion innocuous_NSOpenGLGetVersion
8064 /* System header to define __stub macros and hopefully few prototypes,
8065 which can conflict with char NSOpenGLGetVersion (); below.
8066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8067 <limits.h> exists even on freestanding compilers. */
8070 # include <limits.h>
8072 # include <assert.h>
8075 #undef NSOpenGLGetVersion
8077 /* Override any GCC internal prototype to avoid an error.
8078 Use char because int might match the return type of a GCC
8079 builtin and then its argument prototype would still apply. */
8083 char NSOpenGLGetVersion ();
8084 /* The GNU C library defines this for functions which it implements
8085 to always fail with ENOSYS. Some functions are actually named
8086 something starting with __ and the normal name is an alias. */
8087 #if defined __stub_NSOpenGLGetVersion || defined __stub___NSOpenGLGetVersion
8094 return NSOpenGLGetVersion ();
8099 rm -f conftest.$ac_objext conftest$ac_exeext
8100 if { (ac_try="$ac_link"
8102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8103 *) ac_try_echo=$ac_try;;
8105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8106 $as_echo "$ac_try_echo") >&5
8107 (eval "$ac_link") 2>conftest.er1
8109 grep -v '^ *+' conftest.er1 >conftest.err
8111 cat conftest.err >&5
8112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 (exit $ac_status); } && {
8114 test -z "$ac_c_werror_flag" ||
8115 test ! -s conftest.err
8116 } && test -s conftest$ac_exeext && {
8117 test "$cross_compiling" = yes ||
8118 $as_test_x conftest$ac_exeext
8120 ac_cv_func_NSOpenGLGetVersion=yes
8122 $as_echo "$as_me: failed program was:" >&5
8123 sed 's/^/| /' conftest.$ac_ext >&5
8125 ac_cv_func_NSOpenGLGetVersion=no
8128 rm -rf conftest.dSYM
8129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8130 conftest$ac_exeext conftest.$ac_ext
8132 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_NSOpenGLGetVersion" >&5
8133 $as_echo "$ac_cv_func_NSOpenGLGetVersion" >&6; }
8134 if test $ac_cv_func_NSOpenGLGetVersion = yes; then
8137 VIDEO_DRIVERS="$VIDEO_DRIVERS nsgl"
8139 cat >>confdefs.h <<\_ACEOF
8147 if test "x$HAVE_GTK_X11" = "xyes"; then
8148 if test "x$APPLE_BUILD" = "xyes"; then
8149 LIBS="$LIBS -L/usr/X11/lib -lGL"
8151 { $as_echo "$as_me:$LINENO: checking for glXQueryVersion" >&5
8152 $as_echo_n "checking for glXQueryVersion... " >&6; }
8153 if test "${ac_cv_func_glXQueryVersion+set}" = set; then
8154 $as_echo_n "(cached) " >&6
8156 cat >conftest.$ac_ext <<_ACEOF
8159 cat confdefs.h >>conftest.$ac_ext
8160 cat >>conftest.$ac_ext <<_ACEOF
8161 /* end confdefs.h. */
8162 /* Define glXQueryVersion to an innocuous variant, in case <limits.h> declares glXQueryVersion.
8163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8164 #define glXQueryVersion innocuous_glXQueryVersion
8166 /* System header to define __stub macros and hopefully few prototypes,
8167 which can conflict with char glXQueryVersion (); below.
8168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8169 <limits.h> exists even on freestanding compilers. */
8172 # include <limits.h>
8174 # include <assert.h>
8177 #undef glXQueryVersion
8179 /* Override any GCC internal prototype to avoid an error.
8180 Use char because int might match the return type of a GCC
8181 builtin and then its argument prototype would still apply. */
8185 char glXQueryVersion ();
8186 /* The GNU C library defines this for functions which it implements
8187 to always fail with ENOSYS. Some functions are actually named
8188 something starting with __ and the normal name is an alias. */
8189 #if defined __stub_glXQueryVersion || defined __stub___glXQueryVersion
8196 return glXQueryVersion ();
8201 rm -f conftest.$ac_objext conftest$ac_exeext
8202 if { (ac_try="$ac_link"
8204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8205 *) ac_try_echo=$ac_try;;
8207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8208 $as_echo "$ac_try_echo") >&5
8209 (eval "$ac_link") 2>conftest.er1
8211 grep -v '^ *+' conftest.er1 >conftest.err
8213 cat conftest.err >&5
8214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); } && {
8216 test -z "$ac_c_werror_flag" ||
8217 test ! -s conftest.err
8218 } && test -s conftest$ac_exeext && {
8219 test "$cross_compiling" = yes ||
8220 $as_test_x conftest$ac_exeext
8222 ac_cv_func_glXQueryVersion=yes
8224 $as_echo "$as_me: failed program was:" >&5
8225 sed 's/^/| /' conftest.$ac_ext >&5
8227 ac_cv_func_glXQueryVersion=no
8230 rm -rf conftest.dSYM
8231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8232 conftest$ac_exeext conftest.$ac_ext
8234 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glXQueryVersion" >&5
8235 $as_echo "$ac_cv_func_glXQueryVersion" >&6; }
8236 if test $ac_cv_func_glXQueryVersion = yes; then
8239 VIDEO_DRIVERS="$VIDEO_DRIVERS glx"
8241 cat >>confdefs.h <<\_ACEOF
8257 if test "x$HAVE_OSMESA" = "xyes"; then
8259 VIDEO_OSMESA_FALSE='#'
8261 VIDEO_OSMESA_TRUE='#'
8267 if test "x$HAVE_GLX" = "xyes"; then
8277 if test "x$HAVE_NSGL" = "xyes"; then
8279 VIDEO_NSGL_FALSE='#'
8286 { $as_echo "$as_me:$LINENO: checking for glGenFramebuffersEXT" >&5
8287 $as_echo_n "checking for glGenFramebuffersEXT... " >&6; }
8288 if test "${ac_cv_func_glGenFramebuffersEXT+set}" = set; then
8289 $as_echo_n "(cached) " >&6
8291 cat >conftest.$ac_ext <<_ACEOF
8294 cat confdefs.h >>conftest.$ac_ext
8295 cat >>conftest.$ac_ext <<_ACEOF
8296 /* end confdefs.h. */
8297 /* Define glGenFramebuffersEXT to an innocuous variant, in case <limits.h> declares glGenFramebuffersEXT.
8298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8299 #define glGenFramebuffersEXT innocuous_glGenFramebuffersEXT
8301 /* System header to define __stub macros and hopefully few prototypes,
8302 which can conflict with char glGenFramebuffersEXT (); below.
8303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8304 <limits.h> exists even on freestanding compilers. */
8307 # include <limits.h>
8309 # include <assert.h>
8312 #undef glGenFramebuffersEXT
8314 /* Override any GCC internal prototype to avoid an error.
8315 Use char because int might match the return type of a GCC
8316 builtin and then its argument prototype would still apply. */
8320 char glGenFramebuffersEXT ();
8321 /* The GNU C library defines this for functions which it implements
8322 to always fail with ENOSYS. Some functions are actually named
8323 something starting with __ and the normal name is an alias. */
8324 #if defined __stub_glGenFramebuffersEXT || defined __stub___glGenFramebuffersEXT
8331 return glGenFramebuffersEXT ();
8336 rm -f conftest.$ac_objext conftest$ac_exeext
8337 if { (ac_try="$ac_link"
8339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8340 *) ac_try_echo=$ac_try;;
8342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8343 $as_echo "$ac_try_echo") >&5
8344 (eval "$ac_link") 2>conftest.er1
8346 grep -v '^ *+' conftest.er1 >conftest.err
8348 cat conftest.err >&5
8349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350 (exit $ac_status); } && {
8351 test -z "$ac_c_werror_flag" ||
8352 test ! -s conftest.err
8353 } && test -s conftest$ac_exeext && {
8354 test "$cross_compiling" = yes ||
8355 $as_test_x conftest$ac_exeext
8357 ac_cv_func_glGenFramebuffersEXT=yes
8359 $as_echo "$as_me: failed program was:" >&5
8360 sed 's/^/| /' conftest.$ac_ext >&5
8362 ac_cv_func_glGenFramebuffersEXT=no
8365 rm -rf conftest.dSYM
8366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8367 conftest$ac_exeext conftest.$ac_ext
8369 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glGenFramebuffersEXT" >&5
8370 $as_echo "$ac_cv_func_glGenFramebuffersEXT" >&6; }
8371 if test $ac_cv_func_glGenFramebuffersEXT = yes; then
8373 cat >>confdefs.h <<\_ACEOF
8374 #define HAVE_OPENGL_FBO 1
8379 { $as_echo "$as_me:$LINENO: checking for glCreateShader" >&5
8380 $as_echo_n "checking for glCreateShader... " >&6; }
8381 if test "${ac_cv_func_glCreateShader+set}" = set; then
8382 $as_echo_n "(cached) " >&6
8384 cat >conftest.$ac_ext <<_ACEOF
8387 cat confdefs.h >>conftest.$ac_ext
8388 cat >>conftest.$ac_ext <<_ACEOF
8389 /* end confdefs.h. */
8390 /* Define glCreateShader to an innocuous variant, in case <limits.h> declares glCreateShader.
8391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8392 #define glCreateShader innocuous_glCreateShader
8394 /* System header to define __stub macros and hopefully few prototypes,
8395 which can conflict with char glCreateShader (); below.
8396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8397 <limits.h> exists even on freestanding compilers. */
8400 # include <limits.h>
8402 # include <assert.h>
8405 #undef glCreateShader
8407 /* Override any GCC internal prototype to avoid an error.
8408 Use char because int might match the return type of a GCC
8409 builtin and then its argument prototype would still apply. */
8413 char glCreateShader ();
8414 /* The GNU C library defines this for functions which it implements
8415 to always fail with ENOSYS. Some functions are actually named
8416 something starting with __ and the normal name is an alias. */
8417 #if defined __stub_glCreateShader || defined __stub___glCreateShader
8424 return glCreateShader ();
8429 rm -f conftest.$ac_objext conftest$ac_exeext
8430 if { (ac_try="$ac_link"
8432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8433 *) ac_try_echo=$ac_try;;
8435 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8436 $as_echo "$ac_try_echo") >&5
8437 (eval "$ac_link") 2>conftest.er1
8439 grep -v '^ *+' conftest.er1 >conftest.err
8441 cat conftest.err >&5
8442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8443 (exit $ac_status); } && {
8444 test -z "$ac_c_werror_flag" ||
8445 test ! -s conftest.err
8446 } && test -s conftest$ac_exeext && {
8447 test "$cross_compiling" = yes ||
8448 $as_test_x conftest$ac_exeext
8450 ac_cv_func_glCreateShader=yes
8452 $as_echo "$as_me: failed program was:" >&5
8453 sed 's/^/| /' conftest.$ac_ext >&5
8455 ac_cv_func_glCreateShader=no
8458 rm -rf conftest.dSYM
8459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8460 conftest$ac_exeext conftest.$ac_ext
8462 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShader" >&5
8463 $as_echo "$ac_cv_func_glCreateShader" >&6; }
8464 if test $ac_cv_func_glCreateShader = yes; then
8466 cat >>confdefs.h <<\_ACEOF
8467 #define HAVE_OPENGL_SHADER 1
8472 { $as_echo "$as_me:$LINENO: checking for glCreateShaderObjectARB" >&5
8473 $as_echo_n "checking for glCreateShaderObjectARB... " >&6; }
8474 if test "${ac_cv_func_glCreateShaderObjectARB+set}" = set; then
8475 $as_echo_n "(cached) " >&6
8477 cat >conftest.$ac_ext <<_ACEOF
8480 cat confdefs.h >>conftest.$ac_ext
8481 cat >>conftest.$ac_ext <<_ACEOF
8482 /* end confdefs.h. */
8483 /* Define glCreateShaderObjectARB to an innocuous variant, in case <limits.h> declares glCreateShaderObjectARB.
8484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8485 #define glCreateShaderObjectARB innocuous_glCreateShaderObjectARB
8487 /* System header to define __stub macros and hopefully few prototypes,
8488 which can conflict with char glCreateShaderObjectARB (); below.
8489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8490 <limits.h> exists even on freestanding compilers. */
8493 # include <limits.h>
8495 # include <assert.h>
8498 #undef glCreateShaderObjectARB
8500 /* Override any GCC internal prototype to avoid an error.
8501 Use char because int might match the return type of a GCC
8502 builtin and then its argument prototype would still apply. */
8506 char glCreateShaderObjectARB ();
8507 /* The GNU C library defines this for functions which it implements
8508 to always fail with ENOSYS. Some functions are actually named
8509 something starting with __ and the normal name is an alias. */
8510 #if defined __stub_glCreateShaderObjectARB || defined __stub___glCreateShaderObjectARB
8517 return glCreateShaderObjectARB ();
8522 rm -f conftest.$ac_objext conftest$ac_exeext
8523 if { (ac_try="$ac_link"
8525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8526 *) ac_try_echo=$ac_try;;
8528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8529 $as_echo "$ac_try_echo") >&5
8530 (eval "$ac_link") 2>conftest.er1
8532 grep -v '^ *+' conftest.er1 >conftest.err
8534 cat conftest.err >&5
8535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); } && {
8537 test -z "$ac_c_werror_flag" ||
8538 test ! -s conftest.err
8539 } && test -s conftest$ac_exeext && {
8540 test "$cross_compiling" = yes ||
8541 $as_test_x conftest$ac_exeext
8543 ac_cv_func_glCreateShaderObjectARB=yes
8545 $as_echo "$as_me: failed program was:" >&5
8546 sed 's/^/| /' conftest.$ac_ext >&5
8548 ac_cv_func_glCreateShaderObjectARB=no
8551 rm -rf conftest.dSYM
8552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8553 conftest$ac_exeext conftest.$ac_ext
8555 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShaderObjectARB" >&5
8556 $as_echo "$ac_cv_func_glCreateShaderObjectARB" >&6; }
8557 if test $ac_cv_func_glCreateShaderObjectARB = yes; then
8559 cat >>confdefs.h <<\_ACEOF
8560 #define HAVE_OPENGL_SHADER_ARB 1
8565 { $as_echo "$as_me:$LINENO: checking for glClampColorARB" >&5
8566 $as_echo_n "checking for glClampColorARB... " >&6; }
8567 if test "${ac_cv_func_glClampColorARB+set}" = set; then
8568 $as_echo_n "(cached) " >&6
8570 cat >conftest.$ac_ext <<_ACEOF
8573 cat confdefs.h >>conftest.$ac_ext
8574 cat >>conftest.$ac_ext <<_ACEOF
8575 /* end confdefs.h. */
8576 /* Define glClampColorARB to an innocuous variant, in case <limits.h> declares glClampColorARB.
8577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8578 #define glClampColorARB innocuous_glClampColorARB
8580 /* System header to define __stub macros and hopefully few prototypes,
8581 which can conflict with char glClampColorARB (); below.
8582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8583 <limits.h> exists even on freestanding compilers. */
8586 # include <limits.h>
8588 # include <assert.h>
8591 #undef glClampColorARB
8593 /* Override any GCC internal prototype to avoid an error.
8594 Use char because int might match the return type of a GCC
8595 builtin and then its argument prototype would still apply. */
8599 char glClampColorARB ();
8600 /* The GNU C library defines this for functions which it implements
8601 to always fail with ENOSYS. Some functions are actually named
8602 something starting with __ and the normal name is an alias. */
8603 #if defined __stub_glClampColorARB || defined __stub___glClampColorARB
8610 return glClampColorARB ();
8615 rm -f conftest.$ac_objext conftest$ac_exeext
8616 if { (ac_try="$ac_link"
8618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8619 *) ac_try_echo=$ac_try;;
8621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8622 $as_echo "$ac_try_echo") >&5
8623 (eval "$ac_link") 2>conftest.er1
8625 grep -v '^ *+' conftest.er1 >conftest.err
8627 cat conftest.err >&5
8628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); } && {
8630 test -z "$ac_c_werror_flag" ||
8631 test ! -s conftest.err
8632 } && test -s conftest$ac_exeext && {
8633 test "$cross_compiling" = yes ||
8634 $as_test_x conftest$ac_exeext
8636 ac_cv_func_glClampColorARB=yes
8638 $as_echo "$as_me: failed program was:" >&5
8639 sed 's/^/| /' conftest.$ac_ext >&5
8641 ac_cv_func_glClampColorARB=no
8644 rm -rf conftest.dSYM
8645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8646 conftest$ac_exeext conftest.$ac_ext
8648 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glClampColorARB" >&5
8649 $as_echo "$ac_cv_func_glClampColorARB" >&6; }
8650 if test $ac_cv_func_glClampColorARB = yes; then
8652 cat >>confdefs.h <<\_ACEOF
8653 #define HAVE_OPENGL_CLAMP_COLOR 1
8661 if test "x$enable_translator" != "xno"; then
8663 i386|i486|i586|i686|x86_64)
8664 SH4_TRANSLATOR="x86"
8666 cat >>confdefs.h <<_ACEOF
8667 #define SH4_TRANSLATOR TARGET_X86
8674 if test "$SH4_TRANSLATOR" = "x86"; then
8676 BUILD_SH4X86_FALSE='#'
8678 BUILD_SH4X86_TRUE='#'
8683 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
8684 { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
8685 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
8686 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
8687 $as_echo_n "(cached) " >&6
8689 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
8690 $as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
8692 # Is the header compilable?
8693 { $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
8694 $as_echo_n "checking CoreAudio/CoreAudio.h usability... " >&6; }
8695 cat >conftest.$ac_ext <<_ACEOF
8698 cat confdefs.h >>conftest.$ac_ext
8699 cat >>conftest.$ac_ext <<_ACEOF
8700 /* end confdefs.h. */
8701 $ac_includes_default
8702 #include <CoreAudio/CoreAudio.h>
8704 rm -f conftest.$ac_objext
8705 if { (ac_try="$ac_compile"
8707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8708 *) ac_try_echo=$ac_try;;
8710 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8711 $as_echo "$ac_try_echo") >&5
8712 (eval "$ac_compile") 2>conftest.er1
8714 grep -v '^ *+' conftest.er1 >conftest.err
8716 cat conftest.err >&5
8717 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); } && {
8719 test -z "$ac_c_werror_flag" ||
8720 test ! -s conftest.err
8721 } && test -s conftest.$ac_objext; then
8722 ac_header_compiler=yes
8724 $as_echo "$as_me: failed program was:" >&5
8725 sed 's/^/| /' conftest.$ac_ext >&5
8727 ac_header_compiler=no
8730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8731 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8732 $as_echo "$ac_header_compiler" >&6; }
8734 # Is the header present?
8735 { $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
8736 $as_echo_n "checking CoreAudio/CoreAudio.h presence... " >&6; }
8737 cat >conftest.$ac_ext <<_ACEOF
8740 cat confdefs.h >>conftest.$ac_ext
8741 cat >>conftest.$ac_ext <<_ACEOF
8742 /* end confdefs.h. */
8743 #include <CoreAudio/CoreAudio.h>
8745 if { (ac_try="$ac_cpp conftest.$ac_ext"
8747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8748 *) ac_try_echo=$ac_try;;
8750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8751 $as_echo "$ac_try_echo") >&5
8752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8754 grep -v '^ *+' conftest.er1 >conftest.err
8756 cat conftest.err >&5
8757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8758 (exit $ac_status); } >/dev/null && {
8759 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8760 test ! -s conftest.err
8762 ac_header_preproc=yes
8764 $as_echo "$as_me: failed program was:" >&5
8765 sed 's/^/| /' conftest.$ac_ext >&5
8767 ac_header_preproc=no
8770 rm -f conftest.err conftest.$ac_ext
8771 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8772 $as_echo "$ac_header_preproc" >&6; }
8774 # So? What about this header?
8775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8777 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
8778 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8779 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
8780 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
8781 ac_header_preproc=yes
8784 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
8785 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
8786 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&5
8787 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&2;}
8788 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
8789 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
8790 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&5
8791 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&2;}
8792 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
8793 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
8794 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
8795 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
8799 { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
8800 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
8801 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
8802 $as_echo_n "(cached) " >&6
8804 ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
8806 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
8807 $as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
8810 if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
8813 LIBS="$LIBS -framework CoreAudio"
8814 AUDIO_DRIVERS="$AUDIO_DRIVERS osx"
8816 cat >>confdefs.h <<\_ACEOF
8817 #define HAVE_CORE_AUDIO 1
8827 if test "$HAVE_CORE_AUDIO" = 'yes' ; then
8836 if test "x$with_pulse" != "xno"; then
8839 { $as_echo "$as_me:$LINENO: checking for PULSE" >&5
8840 $as_echo_n "checking for PULSE... " >&6; }
8842 if test -n "$PKG_CONFIG"; then
8843 if test -n "$PULSE_CFLAGS"; then
8844 pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
8846 if test -n "$PKG_CONFIG" && \
8847 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
8848 ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
8850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851 (exit $ac_status); }; then
8852 pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse-simple" 2>/dev/null`
8860 if test -n "$PKG_CONFIG"; then
8861 if test -n "$PULSE_LIBS"; then
8862 pkg_cv_PULSE_LIBS="$PULSE_LIBS"
8864 if test -n "$PKG_CONFIG" && \
8865 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
8866 ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
8868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); }; then
8870 pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse-simple" 2>/dev/null`
8881 if test $pkg_failed = yes; then
8883 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8884 _pkg_short_errors_supported=yes
8886 _pkg_short_errors_supported=no
8888 if test $_pkg_short_errors_supported = yes; then
8889 PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpulse-simple"`
8891 PULSE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpulse-simple"`
8893 # Put the nasty error message in config.log where it belongs
8894 echo "$PULSE_PKG_ERRORS" >&5
8896 { $as_echo "$as_me:$LINENO: result: no" >&5
8897 $as_echo "no" >&6; }
8899 if test "x$with_pulse" = "xyes"; then
8900 { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
8901 See \`config.log' for more details." >&5
8902 $as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
8903 See \`config.log' for more details." >&2;}
8904 { (exit 1); exit 1; }; }
8907 elif test $pkg_failed = untried; then
8909 if test "x$with_pulse" = "xyes"; then
8910 { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
8911 See \`config.log' for more details." >&5
8912 $as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
8913 See \`config.log' for more details." >&2;}
8914 { (exit 1); exit 1; }; }
8918 PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
8919 PULSE_LIBS=$pkg_cv_PULSE_LIBS
8920 { $as_echo "$as_me:$LINENO: result: yes" >&5
8921 $as_echo "yes" >&6; }
8924 AUDIO_DRIVERS="$AUDIO_DRIVERS pulse"
8926 cat >>confdefs.h <<\_ACEOF
8927 #define HAVE_PULSE 1
8935 if test "$HAVE_PULSE" = 'yes' ; then
8937 AUDIO_PULSE_FALSE='#'
8939 AUDIO_PULSE_TRUE='#'
8944 if test "x$with_esd" != "xno"; then
8947 { $as_echo "$as_me:$LINENO: checking for ESOUND" >&5
8948 $as_echo_n "checking for ESOUND... " >&6; }
8950 if test -n "$PKG_CONFIG"; then
8951 if test -n "$ESOUND_CFLAGS"; then
8952 pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
8954 if test -n "$PKG_CONFIG" && \
8955 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
8956 ($PKG_CONFIG --exists --print-errors "esound") 2>&5
8958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959 (exit $ac_status); }; then
8960 pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
8968 if test -n "$PKG_CONFIG"; then
8969 if test -n "$ESOUND_LIBS"; then
8970 pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
8972 if test -n "$PKG_CONFIG" && \
8973 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
8974 ($PKG_CONFIG --exists --print-errors "esound") 2>&5
8976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8977 (exit $ac_status); }; then
8978 pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
8989 if test $pkg_failed = yes; then
8991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8992 _pkg_short_errors_supported=yes
8994 _pkg_short_errors_supported=no
8996 if test $_pkg_short_errors_supported = yes; then
8997 ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "esound"`
8999 ESOUND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "esound"`
9001 # Put the nasty error message in config.log where it belongs
9002 echo "$ESOUND_PKG_ERRORS" >&5
9004 { $as_echo "$as_me:$LINENO: result: no" >&5
9005 $as_echo "no" >&6; }
9007 if test "x$with_esd" = "xyes"; then
9008 { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
9009 See \`config.log' for more details." >&5
9010 $as_echo "$as_me: error: ESounD audio package could not be found (but was required)
9011 See \`config.log' for more details." >&2;}
9012 { (exit 1); exit 1; }; }
9015 elif test $pkg_failed = untried; then
9017 if test "x$with_esd" = "xyes"; then
9018 { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
9019 See \`config.log' for more details." >&5
9020 $as_echo "$as_me: error: ESounD audio package could not be found (but was required)
9021 See \`config.log' for more details." >&2;}
9022 { (exit 1); exit 1; }; }
9026 ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
9027 ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
9028 { $as_echo "$as_me:$LINENO: result: yes" >&5
9029 $as_echo "yes" >&6; }
9032 AUDIO_DRIVERS="$AUDIO_DRIVERS esd"
9034 cat >>confdefs.h <<\_ACEOF
9035 #define HAVE_ESOUND 1
9043 if test "$HAVE_ESOUND" = 'yes' ; then
9045 AUDIO_ESOUND_FALSE='#'
9047 AUDIO_ESOUND_TRUE='#'
9054 { $as_echo "$as_me:$LINENO: checking for ALSA" >&5
9055 $as_echo_n "checking for ALSA... " >&6; }
9057 if test -n "$PKG_CONFIG"; then
9058 if test -n "$ALSA_CFLAGS"; then
9059 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
9061 if test -n "$PKG_CONFIG" && \
9062 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
9063 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
9065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066 (exit $ac_status); }; then
9067 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
9075 if test -n "$PKG_CONFIG"; then
9076 if test -n "$ALSA_LIBS"; then
9077 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
9079 if test -n "$PKG_CONFIG" && \
9080 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
9081 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
9083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9084 (exit $ac_status); }; then
9085 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
9096 if test $pkg_failed = yes; then
9098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9099 _pkg_short_errors_supported=yes
9101 _pkg_short_errors_supported=no
9103 if test $_pkg_short_errors_supported = yes; then
9104 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa"`
9106 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa"`
9108 # Put the nasty error message in config.log where it belongs
9109 echo "$ALSA_PKG_ERRORS" >&5
9111 { $as_echo "$as_me:$LINENO: result: no" >&5
9112 $as_echo "no" >&6; }
9114 elif test $pkg_failed = untried; then
9117 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
9118 ALSA_LIBS=$pkg_cv_ALSA_LIBS
9119 { $as_echo "$as_me:$LINENO: result: yes" >&5
9120 $as_echo "yes" >&6; }
9123 AUDIO_DRIVERS="$AUDIO_DRIVERS alsa"
9125 cat >>confdefs.h <<\_ACEOF
9132 if test "$HAVE_ALSA" = 'yes' ; then
9134 AUDIO_ALSA_FALSE='#'
9142 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
9143 { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
9144 $as_echo_n "checking for linux/cdrom.h... " >&6; }
9145 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
9146 $as_echo_n "(cached) " >&6
9148 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
9149 $as_echo "$ac_cv_header_linux_cdrom_h" >&6; }
9151 # Is the header compilable?
9152 { $as_echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
9153 $as_echo_n "checking linux/cdrom.h usability... " >&6; }
9154 cat >conftest.$ac_ext <<_ACEOF
9157 cat confdefs.h >>conftest.$ac_ext
9158 cat >>conftest.$ac_ext <<_ACEOF
9159 /* end confdefs.h. */
9160 $ac_includes_default
9161 #include <linux/cdrom.h>
9163 rm -f conftest.$ac_objext
9164 if { (ac_try="$ac_compile"
9166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9167 *) ac_try_echo=$ac_try;;
9169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9170 $as_echo "$ac_try_echo") >&5
9171 (eval "$ac_compile") 2>conftest.er1
9173 grep -v '^ *+' conftest.er1 >conftest.err
9175 cat conftest.err >&5
9176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9177 (exit $ac_status); } && {
9178 test -z "$ac_c_werror_flag" ||
9179 test ! -s conftest.err
9180 } && test -s conftest.$ac_objext; then
9181 ac_header_compiler=yes
9183 $as_echo "$as_me: failed program was:" >&5
9184 sed 's/^/| /' conftest.$ac_ext >&5
9186 ac_header_compiler=no
9189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9190 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9191 $as_echo "$ac_header_compiler" >&6; }
9193 # Is the header present?
9194 { $as_echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
9195 $as_echo_n "checking linux/cdrom.h presence... " >&6; }
9196 cat >conftest.$ac_ext <<_ACEOF
9199 cat confdefs.h >>conftest.$ac_ext
9200 cat >>conftest.$ac_ext <<_ACEOF
9201 /* end confdefs.h. */
9202 #include <linux/cdrom.h>
9204 if { (ac_try="$ac_cpp conftest.$ac_ext"
9206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9207 *) ac_try_echo=$ac_try;;
9209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9210 $as_echo "$ac_try_echo") >&5
9211 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9213 grep -v '^ *+' conftest.er1 >conftest.err
9215 cat conftest.err >&5
9216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 (exit $ac_status); } >/dev/null && {
9218 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9219 test ! -s conftest.err
9221 ac_header_preproc=yes
9223 $as_echo "$as_me: failed program was:" >&5
9224 sed 's/^/| /' conftest.$ac_ext >&5
9226 ac_header_preproc=no
9229 rm -f conftest.err conftest.$ac_ext
9230 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9231 $as_echo "$ac_header_preproc" >&6; }
9233 # So? What about this header?
9234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9236 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
9237 $as_echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9238 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
9239 $as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
9240 ac_header_preproc=yes
9243 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
9244 $as_echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
9245 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: check for missing prerequisite headers?" >&5
9246 $as_echo "$as_me: WARNING: linux/cdrom.h: check for missing prerequisite headers?" >&2;}
9247 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
9248 $as_echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
9249 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: section \"Present But Cannot Be Compiled\"" >&5
9250 $as_echo "$as_me: WARNING: linux/cdrom.h: section \"Present But Cannot Be Compiled\"" >&2;}
9251 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
9252 $as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
9253 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
9254 $as_echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
9258 { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
9259 $as_echo_n "checking for linux/cdrom.h... " >&6; }
9260 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
9261 $as_echo_n "(cached) " >&6
9263 ac_cv_header_linux_cdrom_h=$ac_header_preproc
9265 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
9266 $as_echo "$ac_cv_header_linux_cdrom_h" >&6; }
9269 if test $ac_cv_header_linux_cdrom_h = yes; then
9276 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
9277 { $as_echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
9278 $as_echo_n "checking for IOKit/IOKitLib.h... " >&6; }
9279 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
9280 $as_echo_n "(cached) " >&6
9282 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
9283 $as_echo "$ac_cv_header_IOKit_IOKitLib_h" >&6; }
9285 # Is the header compilable?
9286 { $as_echo "$as_me:$LINENO: checking IOKit/IOKitLib.h usability" >&5
9287 $as_echo_n "checking IOKit/IOKitLib.h usability... " >&6; }
9288 cat >conftest.$ac_ext <<_ACEOF
9291 cat confdefs.h >>conftest.$ac_ext
9292 cat >>conftest.$ac_ext <<_ACEOF
9293 /* end confdefs.h. */
9294 $ac_includes_default
9295 #include <IOKit/IOKitLib.h>
9297 rm -f conftest.$ac_objext
9298 if { (ac_try="$ac_compile"
9300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9301 *) ac_try_echo=$ac_try;;
9303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9304 $as_echo "$ac_try_echo") >&5
9305 (eval "$ac_compile") 2>conftest.er1
9307 grep -v '^ *+' conftest.er1 >conftest.err
9309 cat conftest.err >&5
9310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 (exit $ac_status); } && {
9312 test -z "$ac_c_werror_flag" ||
9313 test ! -s conftest.err
9314 } && test -s conftest.$ac_objext; then
9315 ac_header_compiler=yes
9317 $as_echo "$as_me: failed program was:" >&5
9318 sed 's/^/| /' conftest.$ac_ext >&5
9320 ac_header_compiler=no
9323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9324 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9325 $as_echo "$ac_header_compiler" >&6; }
9327 # Is the header present?
9328 { $as_echo "$as_me:$LINENO: checking IOKit/IOKitLib.h presence" >&5
9329 $as_echo_n "checking IOKit/IOKitLib.h presence... " >&6; }
9330 cat >conftest.$ac_ext <<_ACEOF
9333 cat confdefs.h >>conftest.$ac_ext
9334 cat >>conftest.$ac_ext <<_ACEOF
9335 /* end confdefs.h. */
9336 #include <IOKit/IOKitLib.h>
9338 if { (ac_try="$ac_cpp conftest.$ac_ext"
9340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9341 *) ac_try_echo=$ac_try;;
9343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9344 $as_echo "$ac_try_echo") >&5
9345 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9347 grep -v '^ *+' conftest.er1 >conftest.err
9349 cat conftest.err >&5
9350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9351 (exit $ac_status); } >/dev/null && {
9352 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9353 test ! -s conftest.err
9355 ac_header_preproc=yes
9357 $as_echo "$as_me: failed program was:" >&5
9358 sed 's/^/| /' conftest.$ac_ext >&5
9360 ac_header_preproc=no
9363 rm -f conftest.err conftest.$ac_ext
9364 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9365 $as_echo "$ac_header_preproc" >&6; }
9367 # So? What about this header?
9368 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9370 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&5
9371 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9372 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&5
9373 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&2;}
9374 ac_header_preproc=yes
9377 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&5
9378 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&2;}
9379 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: check for missing prerequisite headers?" >&5
9380 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: check for missing prerequisite headers?" >&2;}
9381 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&5
9382 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&2;}
9383 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: section \"Present But Cannot Be Compiled\"" >&5
9384 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: section \"Present But Cannot Be Compiled\"" >&2;}
9385 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&5
9386 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&2;}
9387 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&5
9388 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&2;}
9392 { $as_echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
9393 $as_echo_n "checking for IOKit/IOKitLib.h... " >&6; }
9394 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
9395 $as_echo_n "(cached) " >&6
9397 ac_cv_header_IOKit_IOKitLib_h=$ac_header_preproc
9399 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
9400 $as_echo "$ac_cv_header_IOKit_IOKitLib_h" >&6; }
9403 if test $ac_cv_header_IOKit_IOKitLib_h = yes; then
9406 LIBS="$LIBS -framework IOKit"
9414 if test "x$CDROM_DRIVER" = "xlinux"; then
9416 CDROM_LINUX_FALSE='#'
9418 CDROM_LINUX_TRUE='#'
9424 if test "x$CDROM_DRIVER" = "xosx"; then
9434 if test "x$CDROM_DRIVER" = "x"; then
9436 CDROM_NONE_FALSE='#'
9443 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
9444 { $as_echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
9445 $as_echo_n "checking for linux/joystick.h... " >&6; }
9446 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
9447 $as_echo_n "(cached) " >&6
9449 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
9450 $as_echo "$ac_cv_header_linux_joystick_h" >&6; }
9452 # Is the header compilable?
9453 { $as_echo "$as_me:$LINENO: checking linux/joystick.h usability" >&5
9454 $as_echo_n "checking linux/joystick.h usability... " >&6; }
9455 cat >conftest.$ac_ext <<_ACEOF
9458 cat confdefs.h >>conftest.$ac_ext
9459 cat >>conftest.$ac_ext <<_ACEOF
9460 /* end confdefs.h. */
9461 $ac_includes_default
9462 #include <linux/joystick.h>
9464 rm -f conftest.$ac_objext
9465 if { (ac_try="$ac_compile"
9467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9468 *) ac_try_echo=$ac_try;;
9470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9471 $as_echo "$ac_try_echo") >&5
9472 (eval "$ac_compile") 2>conftest.er1
9474 grep -v '^ *+' conftest.er1 >conftest.err
9476 cat conftest.err >&5
9477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } && {
9479 test -z "$ac_c_werror_flag" ||
9480 test ! -s conftest.err
9481 } && test -s conftest.$ac_objext; then
9482 ac_header_compiler=yes
9484 $as_echo "$as_me: failed program was:" >&5
9485 sed 's/^/| /' conftest.$ac_ext >&5
9487 ac_header_compiler=no
9490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9491 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9492 $as_echo "$ac_header_compiler" >&6; }
9494 # Is the header present?
9495 { $as_echo "$as_me:$LINENO: checking linux/joystick.h presence" >&5
9496 $as_echo_n "checking linux/joystick.h presence... " >&6; }
9497 cat >conftest.$ac_ext <<_ACEOF
9500 cat confdefs.h >>conftest.$ac_ext
9501 cat >>conftest.$ac_ext <<_ACEOF
9502 /* end confdefs.h. */
9503 #include <linux/joystick.h>
9505 if { (ac_try="$ac_cpp conftest.$ac_ext"
9507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9508 *) ac_try_echo=$ac_try;;
9510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9511 $as_echo "$ac_try_echo") >&5
9512 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9514 grep -v '^ *+' conftest.er1 >conftest.err
9516 cat conftest.err >&5
9517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9518 (exit $ac_status); } >/dev/null && {
9519 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9520 test ! -s conftest.err
9522 ac_header_preproc=yes
9524 $as_echo "$as_me: failed program was:" >&5
9525 sed 's/^/| /' conftest.$ac_ext >&5
9527 ac_header_preproc=no
9530 rm -f conftest.err conftest.$ac_ext
9531 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9532 $as_echo "$ac_header_preproc" >&6; }
9534 # So? What about this header?
9535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9537 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&5
9538 $as_echo "$as_me: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9539 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the compiler's result" >&5
9540 $as_echo "$as_me: WARNING: linux/joystick.h: proceeding with the compiler's result" >&2;}
9541 ac_header_preproc=yes
9544 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: present but cannot be compiled" >&5
9545 $as_echo "$as_me: WARNING: linux/joystick.h: present but cannot be compiled" >&2;}
9546 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: check for missing prerequisite headers?" >&5
9547 $as_echo "$as_me: WARNING: linux/joystick.h: check for missing prerequisite headers?" >&2;}
9548 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: see the Autoconf documentation" >&5
9549 $as_echo "$as_me: WARNING: linux/joystick.h: see the Autoconf documentation" >&2;}
9550 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: section \"Present But Cannot Be Compiled\"" >&5
9551 $as_echo "$as_me: WARNING: linux/joystick.h: section \"Present But Cannot Be Compiled\"" >&2;}
9552 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&5
9553 $as_echo "$as_me: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&2;}
9554 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&5
9555 $as_echo "$as_me: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&2;}
9559 { $as_echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
9560 $as_echo_n "checking for linux/joystick.h... " >&6; }
9561 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
9562 $as_echo_n "(cached) " >&6
9564 ac_cv_header_linux_joystick_h=$ac_header_preproc
9566 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
9567 $as_echo "$ac_cv_header_linux_joystick_h" >&6; }
9570 if test $ac_cv_header_linux_joystick_h = yes; then
9572 HAVE_LINUX_JOYSTICK_H=yes
9574 cat >>confdefs.h <<\_ACEOF
9575 #define HAVE_LINUX_JOYSTICK 1
9579 echo "Linux Joystick support not found, building without it."
9585 if test "$HAVE_LINUX_JOYSTICK_H" = "yes"; then
9594 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
9595 set dummy sh-elf-gcc; ac_word=$2
9596 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9597 $as_echo_n "checking for $ac_word... " >&6; }
9598 if test "${ac_cv_path_SHCC+set}" = set; then
9599 $as_echo_n "(cached) " >&6
9603 ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
9606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9610 test -z "$as_dir" && as_dir=.
9611 for ac_exec_ext in '' $ac_executable_extensions; do
9612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9613 ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
9614 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9624 SHCC=$ac_cv_path_SHCC
9625 if test -n "$SHCC"; then
9626 { $as_echo "$as_me:$LINENO: result: $SHCC" >&5
9627 $as_echo "$SHCC" >&6; }
9629 { $as_echo "$as_me:$LINENO: result: no" >&5
9630 $as_echo "no" >&6; }
9634 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
9635 set dummy sh-elf-ld; ac_word=$2
9636 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9637 $as_echo_n "checking for $ac_word... " >&6; }
9638 if test "${ac_cv_path_SHLD+set}" = set; then
9639 $as_echo_n "(cached) " >&6
9643 ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
9646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9650 test -z "$as_dir" && as_dir=.
9651 for ac_exec_ext in '' $ac_executable_extensions; do
9652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9653 ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
9654 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9664 SHLD=$ac_cv_path_SHLD
9665 if test -n "$SHLD"; then
9666 { $as_echo "$as_me:$LINENO: result: $SHLD" >&5
9667 $as_echo "$SHLD" >&6; }
9669 { $as_echo "$as_me:$LINENO: result: no" >&5
9670 $as_echo "no" >&6; }
9674 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
9675 set dummy sh-elf-objcopy; ac_word=$2
9676 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9677 $as_echo_n "checking for $ac_word... " >&6; }
9678 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
9679 $as_echo_n "(cached) " >&6
9683 ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
9686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9690 test -z "$as_dir" && as_dir=.
9691 for ac_exec_ext in '' $ac_executable_extensions; do
9692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9693 ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
9694 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9704 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
9705 if test -n "$SHOBJCOPY"; then
9706 { $as_echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
9707 $as_echo "$SHOBJCOPY" >&6; }
9709 { $as_echo "$as_me:$LINENO: result: no" >&5
9710 $as_echo "no" >&6; }
9714 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
9715 set dummy arm-elf-gcc; ac_word=$2
9716 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9717 $as_echo_n "checking for $ac_word... " >&6; }
9718 if test "${ac_cv_path_ARMCC+set}" = set; then
9719 $as_echo_n "(cached) " >&6
9723 ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
9726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9730 test -z "$as_dir" && as_dir=.
9731 for ac_exec_ext in '' $ac_executable_extensions; do
9732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9733 ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
9734 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9744 ARMCC=$ac_cv_path_ARMCC
9745 if test -n "$ARMCC"; then
9746 { $as_echo "$as_me:$LINENO: result: $ARMCC" >&5
9747 $as_echo "$ARMCC" >&6; }
9749 { $as_echo "$as_me:$LINENO: result: no" >&5
9750 $as_echo "no" >&6; }
9754 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
9755 set dummy arm-elf-ld; ac_word=$2
9756 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9757 $as_echo_n "checking for $ac_word... " >&6; }
9758 if test "${ac_cv_path_ARMLD+set}" = set; then
9759 $as_echo_n "(cached) " >&6
9763 ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
9766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9770 test -z "$as_dir" && as_dir=.
9771 for ac_exec_ext in '' $ac_executable_extensions; do
9772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9773 ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
9774 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9784 ARMLD=$ac_cv_path_ARMLD
9785 if test -n "$ARMLD"; then
9786 { $as_echo "$as_me:$LINENO: result: $ARMLD" >&5
9787 $as_echo "$ARMLD" >&6; }
9789 { $as_echo "$as_me:$LINENO: result: no" >&5
9790 $as_echo "no" >&6; }
9794 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
9795 set dummy arm-elf-objcopy; ac_word=$2
9796 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9797 $as_echo_n "checking for $ac_word... " >&6; }
9798 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
9799 $as_echo_n "(cached) " >&6
9803 ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
9806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9810 test -z "$as_dir" && as_dir=.
9811 for ac_exec_ext in '' $ac_executable_extensions; do
9812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9813 ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
9814 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9824 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
9825 if test -n "$ARMOBJCOPY"; then
9826 { $as_echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
9827 $as_echo "$ARMOBJCOPY" >&6; }
9829 { $as_echo "$as_me:$LINENO: result: no" >&5
9830 $as_echo "no" >&6; }
9835 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
9837 echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
9841 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
9843 echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
9849 if test "$BUILD_SH" = "yes"; then
9851 BUILD_SYSTEST_FALSE='#'
9853 BUILD_SYSTEST_TRUE='#'
9854 BUILD_SYSTEST_FALSE=
9859 if test "$BUILD_ARM" = "yes"; then
9861 BUILD_ARMTEST_FALSE='#'
9863 BUILD_ARMTEST_TRUE='#'
9864 BUILD_ARMTEST_FALSE=
9869 GETTEXT_PACKAGE=lxdream
9872 cat >>confdefs.h <<_ACEOF
9873 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
9877 ALL_LINGUAS="de es it pt_BR"
9880 for ac_header in locale.h
9882 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9883 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9884 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9885 $as_echo_n "checking for $ac_header... " >&6; }
9886 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9887 $as_echo_n "(cached) " >&6
9889 ac_res=`eval 'as_val=${'$as_ac_Header'}
9890 $as_echo "$as_val"'`
9891 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9892 $as_echo "$ac_res" >&6; }
9894 # Is the header compilable?
9895 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9896 $as_echo_n "checking $ac_header usability... " >&6; }
9897 cat >conftest.$ac_ext <<_ACEOF
9900 cat confdefs.h >>conftest.$ac_ext
9901 cat >>conftest.$ac_ext <<_ACEOF
9902 /* end confdefs.h. */
9903 $ac_includes_default
9904 #include <$ac_header>
9906 rm -f conftest.$ac_objext
9907 if { (ac_try="$ac_compile"
9909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9910 *) ac_try_echo=$ac_try;;
9912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9913 $as_echo "$ac_try_echo") >&5
9914 (eval "$ac_compile") 2>conftest.er1
9916 grep -v '^ *+' conftest.er1 >conftest.err
9918 cat conftest.err >&5
9919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9920 (exit $ac_status); } && {
9921 test -z "$ac_c_werror_flag" ||
9922 test ! -s conftest.err
9923 } && test -s conftest.$ac_objext; then
9924 ac_header_compiler=yes
9926 $as_echo "$as_me: failed program was:" >&5
9927 sed 's/^/| /' conftest.$ac_ext >&5
9929 ac_header_compiler=no
9932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9933 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9934 $as_echo "$ac_header_compiler" >&6; }
9936 # Is the header present?
9937 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9938 $as_echo_n "checking $ac_header presence... " >&6; }
9939 cat >conftest.$ac_ext <<_ACEOF
9942 cat confdefs.h >>conftest.$ac_ext
9943 cat >>conftest.$ac_ext <<_ACEOF
9944 /* end confdefs.h. */
9945 #include <$ac_header>
9947 if { (ac_try="$ac_cpp conftest.$ac_ext"
9949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9950 *) ac_try_echo=$ac_try;;
9952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9953 $as_echo "$ac_try_echo") >&5
9954 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9956 grep -v '^ *+' conftest.er1 >conftest.err
9958 cat conftest.err >&5
9959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); } >/dev/null && {
9961 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9962 test ! -s conftest.err
9964 ac_header_preproc=yes
9966 $as_echo "$as_me: failed program was:" >&5
9967 sed 's/^/| /' conftest.$ac_ext >&5
9969 ac_header_preproc=no
9972 rm -f conftest.err conftest.$ac_ext
9973 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9974 $as_echo "$ac_header_preproc" >&6; }
9976 # So? What about this header?
9977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9979 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9980 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9981 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9982 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9983 ac_header_preproc=yes
9986 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9987 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9988 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9989 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9990 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9991 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9992 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9993 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9994 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9995 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9996 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9997 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10001 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10002 $as_echo_n "checking for $ac_header... " >&6; }
10003 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10004 $as_echo_n "(cached) " >&6
10006 eval "$as_ac_Header=\$ac_header_preproc"
10008 ac_res=`eval 'as_val=${'$as_ac_Header'}
10009 $as_echo "$as_val"'`
10010 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10011 $as_echo "$ac_res" >&6; }
10014 if test `eval 'as_val=${'$as_ac_Header'}
10015 $as_echo "$as_val"'` = yes; then
10016 cat >>confdefs.h <<_ACEOF
10017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10024 if test $ac_cv_header_locale_h = yes; then
10025 { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10026 $as_echo_n "checking for LC_MESSAGES... " >&6; }
10027 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
10028 $as_echo_n "(cached) " >&6
10030 cat >conftest.$ac_ext <<_ACEOF
10033 cat confdefs.h >>conftest.$ac_ext
10034 cat >>conftest.$ac_ext <<_ACEOF
10035 /* end confdefs.h. */
10036 #include <locale.h>
10045 rm -f conftest.$ac_objext conftest$ac_exeext
10046 if { (ac_try="$ac_link"
10047 case "(($ac_try" in
10048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10049 *) ac_try_echo=$ac_try;;
10051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10052 $as_echo "$ac_try_echo") >&5
10053 (eval "$ac_link") 2>conftest.er1
10055 grep -v '^ *+' conftest.er1 >conftest.err
10057 cat conftest.err >&5
10058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10059 (exit $ac_status); } && {
10060 test -z "$ac_c_werror_flag" ||
10061 test ! -s conftest.err
10062 } && test -s conftest$ac_exeext && {
10063 test "$cross_compiling" = yes ||
10064 $as_test_x conftest$ac_exeext
10066 am_cv_val_LC_MESSAGES=yes
10068 $as_echo "$as_me: failed program was:" >&5
10069 sed 's/^/| /' conftest.$ac_ext >&5
10071 am_cv_val_LC_MESSAGES=no
10074 rm -rf conftest.dSYM
10075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10076 conftest$ac_exeext conftest.$ac_ext
10078 { $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10079 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
10080 if test $am_cv_val_LC_MESSAGES = yes; then
10082 cat >>confdefs.h <<\_ACEOF
10083 #define HAVE_LC_MESSAGES 1
10091 gt_cv_have_gettext=no
10097 if test "${ac_cv_header_libintl_h+set}" = set; then
10098 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
10099 $as_echo_n "checking for libintl.h... " >&6; }
10100 if test "${ac_cv_header_libintl_h+set}" = set; then
10101 $as_echo_n "(cached) " >&6
10103 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
10104 $as_echo "$ac_cv_header_libintl_h" >&6; }
10106 # Is the header compilable?
10107 { $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
10108 $as_echo_n "checking libintl.h usability... " >&6; }
10109 cat >conftest.$ac_ext <<_ACEOF
10112 cat confdefs.h >>conftest.$ac_ext
10113 cat >>conftest.$ac_ext <<_ACEOF
10114 /* end confdefs.h. */
10115 $ac_includes_default
10116 #include <libintl.h>
10118 rm -f conftest.$ac_objext
10119 if { (ac_try="$ac_compile"
10120 case "(($ac_try" in
10121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10122 *) ac_try_echo=$ac_try;;
10124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10125 $as_echo "$ac_try_echo") >&5
10126 (eval "$ac_compile") 2>conftest.er1
10128 grep -v '^ *+' conftest.er1 >conftest.err
10130 cat conftest.err >&5
10131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10132 (exit $ac_status); } && {
10133 test -z "$ac_c_werror_flag" ||
10134 test ! -s conftest.err
10135 } && test -s conftest.$ac_objext; then
10136 ac_header_compiler=yes
10138 $as_echo "$as_me: failed program was:" >&5
10139 sed 's/^/| /' conftest.$ac_ext >&5
10141 ac_header_compiler=no
10144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10145 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10146 $as_echo "$ac_header_compiler" >&6; }
10148 # Is the header present?
10149 { $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
10150 $as_echo_n "checking libintl.h presence... " >&6; }
10151 cat >conftest.$ac_ext <<_ACEOF
10154 cat confdefs.h >>conftest.$ac_ext
10155 cat >>conftest.$ac_ext <<_ACEOF
10156 /* end confdefs.h. */
10157 #include <libintl.h>
10159 if { (ac_try="$ac_cpp conftest.$ac_ext"
10160 case "(($ac_try" in
10161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10162 *) ac_try_echo=$ac_try;;
10164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10165 $as_echo "$ac_try_echo") >&5
10166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10168 grep -v '^ *+' conftest.er1 >conftest.err
10170 cat conftest.err >&5
10171 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); } >/dev/null && {
10173 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10174 test ! -s conftest.err
10176 ac_header_preproc=yes
10178 $as_echo "$as_me: failed program was:" >&5
10179 sed 's/^/| /' conftest.$ac_ext >&5
10181 ac_header_preproc=no
10184 rm -f conftest.err conftest.$ac_ext
10185 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10186 $as_echo "$ac_header_preproc" >&6; }
10188 # So? What about this header?
10189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10191 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
10192 $as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10193 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
10194 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
10195 ac_header_preproc=yes
10198 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
10199 $as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
10200 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
10201 $as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
10202 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
10203 $as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
10204 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
10205 $as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
10206 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
10207 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
10208 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
10209 $as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
10213 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
10214 $as_echo_n "checking for libintl.h... " >&6; }
10215 if test "${ac_cv_header_libintl_h+set}" = set; then
10216 $as_echo_n "(cached) " >&6
10218 ac_cv_header_libintl_h=$ac_header_preproc
10220 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
10221 $as_echo "$ac_cv_header_libintl_h" >&6; }
10224 if test $ac_cv_header_libintl_h = yes; then
10225 gt_cv_func_dgettext_libintl="no"
10226 libintl_extra_libs=""
10229 # First check in libc
10231 { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
10232 $as_echo_n "checking for ngettext in libc... " >&6; }
10233 if test "${gt_cv_func_ngettext_libc+set}" = set; then
10234 $as_echo_n "(cached) " >&6
10236 cat >conftest.$ac_ext <<_ACEOF
10239 cat confdefs.h >>conftest.$ac_ext
10240 cat >>conftest.$ac_ext <<_ACEOF
10241 /* end confdefs.h. */
10243 #include <libintl.h>
10248 return !ngettext ("","", 1)
10253 rm -f conftest.$ac_objext conftest$ac_exeext
10254 if { (ac_try="$ac_link"
10255 case "(($ac_try" in
10256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10257 *) ac_try_echo=$ac_try;;
10259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10260 $as_echo "$ac_try_echo") >&5
10261 (eval "$ac_link") 2>conftest.er1
10263 grep -v '^ *+' conftest.er1 >conftest.err
10265 cat conftest.err >&5
10266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); } && {
10268 test -z "$ac_c_werror_flag" ||
10269 test ! -s conftest.err
10270 } && test -s conftest$ac_exeext && {
10271 test "$cross_compiling" = yes ||
10272 $as_test_x conftest$ac_exeext
10274 gt_cv_func_ngettext_libc=yes
10276 $as_echo "$as_me: failed program was:" >&5
10277 sed 's/^/| /' conftest.$ac_ext >&5
10279 gt_cv_func_ngettext_libc=no
10282 rm -rf conftest.dSYM
10283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10284 conftest$ac_exeext conftest.$ac_ext
10287 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
10288 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
10290 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
10291 { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
10292 $as_echo_n "checking for dgettext in libc... " >&6; }
10293 if test "${gt_cv_func_dgettext_libc+set}" = set; then
10294 $as_echo_n "(cached) " >&6
10296 cat >conftest.$ac_ext <<_ACEOF
10299 cat confdefs.h >>conftest.$ac_ext
10300 cat >>conftest.$ac_ext <<_ACEOF
10301 /* end confdefs.h. */
10303 #include <libintl.h>
10308 return !dgettext ("","")
10313 rm -f conftest.$ac_objext conftest$ac_exeext
10314 if { (ac_try="$ac_link"
10315 case "(($ac_try" in
10316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10317 *) ac_try_echo=$ac_try;;
10319 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10320 $as_echo "$ac_try_echo") >&5
10321 (eval "$ac_link") 2>conftest.er1
10323 grep -v '^ *+' conftest.er1 >conftest.err
10325 cat conftest.err >&5
10326 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10327 (exit $ac_status); } && {
10328 test -z "$ac_c_werror_flag" ||
10329 test ! -s conftest.err
10330 } && test -s conftest$ac_exeext && {
10331 test "$cross_compiling" = yes ||
10332 $as_test_x conftest$ac_exeext
10334 gt_cv_func_dgettext_libc=yes
10336 $as_echo "$as_me: failed program was:" >&5
10337 sed 's/^/| /' conftest.$ac_ext >&5
10339 gt_cv_func_dgettext_libc=no
10342 rm -rf conftest.dSYM
10343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10344 conftest$ac_exeext conftest.$ac_ext
10347 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
10348 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
10351 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
10353 for ac_func in bind_textdomain_codeset
10355 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10356 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10357 $as_echo_n "checking for $ac_func... " >&6; }
10358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10359 $as_echo_n "(cached) " >&6
10361 cat >conftest.$ac_ext <<_ACEOF
10364 cat confdefs.h >>conftest.$ac_ext
10365 cat >>conftest.$ac_ext <<_ACEOF
10366 /* end confdefs.h. */
10367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10369 #define $ac_func innocuous_$ac_func
10371 /* System header to define __stub macros and hopefully few prototypes,
10372 which can conflict with char $ac_func (); below.
10373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10374 <limits.h> exists even on freestanding compilers. */
10377 # include <limits.h>
10379 # include <assert.h>
10384 /* Override any GCC internal prototype to avoid an error.
10385 Use char because int might match the return type of a GCC
10386 builtin and then its argument prototype would still apply. */
10391 /* The GNU C library defines this for functions which it implements
10392 to always fail with ENOSYS. Some functions are actually named
10393 something starting with __ and the normal name is an alias. */
10394 #if defined __stub_$ac_func || defined __stub___$ac_func
10401 return $ac_func ();
10406 rm -f conftest.$ac_objext conftest$ac_exeext
10407 if { (ac_try="$ac_link"
10408 case "(($ac_try" in
10409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10410 *) ac_try_echo=$ac_try;;
10412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10413 $as_echo "$ac_try_echo") >&5
10414 (eval "$ac_link") 2>conftest.er1
10416 grep -v '^ *+' conftest.er1 >conftest.err
10418 cat conftest.err >&5
10419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420 (exit $ac_status); } && {
10421 test -z "$ac_c_werror_flag" ||
10422 test ! -s conftest.err
10423 } && test -s conftest$ac_exeext && {
10424 test "$cross_compiling" = yes ||
10425 $as_test_x conftest$ac_exeext
10427 eval "$as_ac_var=yes"
10429 $as_echo "$as_me: failed program was:" >&5
10430 sed 's/^/| /' conftest.$ac_ext >&5
10432 eval "$as_ac_var=no"
10435 rm -rf conftest.dSYM
10436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10437 conftest$ac_exeext conftest.$ac_ext
10439 ac_res=`eval 'as_val=${'$as_ac_var'}
10440 $as_echo "$as_val"'`
10441 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10442 $as_echo "$ac_res" >&6; }
10443 if test `eval 'as_val=${'$as_ac_var'}
10444 $as_echo "$as_val"'` = yes; then
10445 cat >>confdefs.h <<_ACEOF
10446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10455 # If we don't have everything we want, check in libintl
10457 if test "$gt_cv_func_dgettext_libc" != "yes" \
10458 || test "$gt_cv_func_ngettext_libc" != "yes" \
10459 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
10461 { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
10462 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
10463 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
10464 $as_echo_n "(cached) " >&6
10466 ac_check_lib_save_LIBS=$LIBS
10467 LIBS="-lintl $LIBS"
10468 cat >conftest.$ac_ext <<_ACEOF
10471 cat confdefs.h >>conftest.$ac_ext
10472 cat >>conftest.$ac_ext <<_ACEOF
10473 /* end confdefs.h. */
10475 /* Override any GCC internal prototype to avoid an error.
10476 Use char because int might match the return type of a GCC
10477 builtin and then its argument prototype would still apply. */
10481 char bindtextdomain ();
10485 return bindtextdomain ();
10490 rm -f conftest.$ac_objext conftest$ac_exeext
10491 if { (ac_try="$ac_link"
10492 case "(($ac_try" in
10493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10494 *) ac_try_echo=$ac_try;;
10496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10497 $as_echo "$ac_try_echo") >&5
10498 (eval "$ac_link") 2>conftest.er1
10500 grep -v '^ *+' conftest.er1 >conftest.err
10502 cat conftest.err >&5
10503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); } && {
10505 test -z "$ac_c_werror_flag" ||
10506 test ! -s conftest.err
10507 } && test -s conftest$ac_exeext && {
10508 test "$cross_compiling" = yes ||
10509 $as_test_x conftest$ac_exeext
10511 ac_cv_lib_intl_bindtextdomain=yes
10513 $as_echo "$as_me: failed program was:" >&5
10514 sed 's/^/| /' conftest.$ac_ext >&5
10516 ac_cv_lib_intl_bindtextdomain=no
10519 rm -rf conftest.dSYM
10520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10521 conftest$ac_exeext conftest.$ac_ext
10522 LIBS=$ac_check_lib_save_LIBS
10524 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
10525 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
10526 if test $ac_cv_lib_intl_bindtextdomain = yes; then
10527 { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
10528 $as_echo_n "checking for ngettext in -lintl... " >&6; }
10529 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
10530 $as_echo_n "(cached) " >&6
10532 ac_check_lib_save_LIBS=$LIBS
10533 LIBS="-lintl $LIBS"
10534 cat >conftest.$ac_ext <<_ACEOF
10537 cat confdefs.h >>conftest.$ac_ext
10538 cat >>conftest.$ac_ext <<_ACEOF
10539 /* end confdefs.h. */
10541 /* Override any GCC internal prototype to avoid an error.
10542 Use char because int might match the return type of a GCC
10543 builtin and then its argument prototype would still apply. */
10551 return ngettext ();
10556 rm -f conftest.$ac_objext conftest$ac_exeext
10557 if { (ac_try="$ac_link"
10558 case "(($ac_try" in
10559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10560 *) ac_try_echo=$ac_try;;
10562 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10563 $as_echo "$ac_try_echo") >&5
10564 (eval "$ac_link") 2>conftest.er1
10566 grep -v '^ *+' conftest.er1 >conftest.err
10568 cat conftest.err >&5
10569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10570 (exit $ac_status); } && {
10571 test -z "$ac_c_werror_flag" ||
10572 test ! -s conftest.err
10573 } && test -s conftest$ac_exeext && {
10574 test "$cross_compiling" = yes ||
10575 $as_test_x conftest$ac_exeext
10577 ac_cv_lib_intl_ngettext=yes
10579 $as_echo "$as_me: failed program was:" >&5
10580 sed 's/^/| /' conftest.$ac_ext >&5
10582 ac_cv_lib_intl_ngettext=no
10585 rm -rf conftest.dSYM
10586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10587 conftest$ac_exeext conftest.$ac_ext
10588 LIBS=$ac_check_lib_save_LIBS
10590 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
10591 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
10592 if test $ac_cv_lib_intl_ngettext = yes; then
10593 { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
10594 $as_echo_n "checking for dgettext in -lintl... " >&6; }
10595 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
10596 $as_echo_n "(cached) " >&6
10598 ac_check_lib_save_LIBS=$LIBS
10599 LIBS="-lintl $LIBS"
10600 cat >conftest.$ac_ext <<_ACEOF
10603 cat confdefs.h >>conftest.$ac_ext
10604 cat >>conftest.$ac_ext <<_ACEOF
10605 /* end confdefs.h. */
10607 /* Override any GCC internal prototype to avoid an error.
10608 Use char because int might match the return type of a GCC
10609 builtin and then its argument prototype would still apply. */
10617 return dgettext ();
10622 rm -f conftest.$ac_objext conftest$ac_exeext
10623 if { (ac_try="$ac_link"
10624 case "(($ac_try" in
10625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10626 *) ac_try_echo=$ac_try;;
10628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10629 $as_echo "$ac_try_echo") >&5
10630 (eval "$ac_link") 2>conftest.er1
10632 grep -v '^ *+' conftest.er1 >conftest.err
10634 cat conftest.err >&5
10635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); } && {
10637 test -z "$ac_c_werror_flag" ||
10638 test ! -s conftest.err
10639 } && test -s conftest$ac_exeext && {
10640 test "$cross_compiling" = yes ||
10641 $as_test_x conftest$ac_exeext
10643 ac_cv_lib_intl_dgettext=yes
10645 $as_echo "$as_me: failed program was:" >&5
10646 sed 's/^/| /' conftest.$ac_ext >&5
10648 ac_cv_lib_intl_dgettext=no
10651 rm -rf conftest.dSYM
10652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10653 conftest$ac_exeext conftest.$ac_ext
10654 LIBS=$ac_check_lib_save_LIBS
10656 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
10657 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
10658 if test $ac_cv_lib_intl_dgettext = yes; then
10659 gt_cv_func_dgettext_libintl=yes
10667 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
10668 { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
10669 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
10670 { $as_echo "$as_me:$LINENO: result: " >&5
10672 { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
10673 $as_echo_n "checking for ngettext in -lintl... " >&6; }
10674 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
10675 $as_echo_n "(cached) " >&6
10677 ac_check_lib_save_LIBS=$LIBS
10678 LIBS="-lintl -liconv $LIBS"
10679 cat >conftest.$ac_ext <<_ACEOF
10682 cat confdefs.h >>conftest.$ac_ext
10683 cat >>conftest.$ac_ext <<_ACEOF
10684 /* end confdefs.h. */
10686 /* Override any GCC internal prototype to avoid an error.
10687 Use char because int might match the return type of a GCC
10688 builtin and then its argument prototype would still apply. */
10696 return ngettext ();
10701 rm -f conftest.$ac_objext conftest$ac_exeext
10702 if { (ac_try="$ac_link"
10703 case "(($ac_try" in
10704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10705 *) ac_try_echo=$ac_try;;
10707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10708 $as_echo "$ac_try_echo") >&5
10709 (eval "$ac_link") 2>conftest.er1
10711 grep -v '^ *+' conftest.er1 >conftest.err
10713 cat conftest.err >&5
10714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); } && {
10716 test -z "$ac_c_werror_flag" ||
10717 test ! -s conftest.err
10718 } && test -s conftest$ac_exeext && {
10719 test "$cross_compiling" = yes ||
10720 $as_test_x conftest$ac_exeext
10722 ac_cv_lib_intl_ngettext=yes
10724 $as_echo "$as_me: failed program was:" >&5
10725 sed 's/^/| /' conftest.$ac_ext >&5
10727 ac_cv_lib_intl_ngettext=no
10730 rm -rf conftest.dSYM
10731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10732 conftest$ac_exeext conftest.$ac_ext
10733 LIBS=$ac_check_lib_save_LIBS
10735 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
10736 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
10737 if test $ac_cv_lib_intl_ngettext = yes; then
10738 { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
10739 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
10740 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
10741 $as_echo_n "(cached) " >&6
10743 ac_check_lib_save_LIBS=$LIBS
10744 LIBS="-lintl -liconv $LIBS"
10745 cat >conftest.$ac_ext <<_ACEOF
10748 cat confdefs.h >>conftest.$ac_ext
10749 cat >>conftest.$ac_ext <<_ACEOF
10750 /* end confdefs.h. */
10752 /* Override any GCC internal prototype to avoid an error.
10753 Use char because int might match the return type of a GCC
10754 builtin and then its argument prototype would still apply. */
10762 return dcgettext ();
10767 rm -f conftest.$ac_objext conftest$ac_exeext
10768 if { (ac_try="$ac_link"
10769 case "(($ac_try" in
10770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10771 *) ac_try_echo=$ac_try;;
10773 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10774 $as_echo "$ac_try_echo") >&5
10775 (eval "$ac_link") 2>conftest.er1
10777 grep -v '^ *+' conftest.er1 >conftest.err
10779 cat conftest.err >&5
10780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781 (exit $ac_status); } && {
10782 test -z "$ac_c_werror_flag" ||
10783 test ! -s conftest.err
10784 } && test -s conftest$ac_exeext && {
10785 test "$cross_compiling" = yes ||
10786 $as_test_x conftest$ac_exeext
10788 ac_cv_lib_intl_dcgettext=yes
10790 $as_echo "$as_me: failed program was:" >&5
10791 sed 's/^/| /' conftest.$ac_ext >&5
10793 ac_cv_lib_intl_dcgettext=no
10796 rm -rf conftest.dSYM
10797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10798 conftest$ac_exeext conftest.$ac_ext
10799 LIBS=$ac_check_lib_save_LIBS
10801 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
10802 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
10803 if test $ac_cv_lib_intl_dcgettext = yes; then
10804 gt_cv_func_dgettext_libintl=yes
10805 libintl_extra_libs=-liconv
10817 # If we found libintl, then check in it for bind_textdomain_codeset();
10818 # we'll prefer libc if neither have bind_textdomain_codeset(),
10819 # and both have dgettext and ngettext
10821 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
10822 glib_save_LIBS="$LIBS"
10823 LIBS="$LIBS -lintl $libintl_extra_libs"
10824 unset ac_cv_func_bind_textdomain_codeset
10826 for ac_func in bind_textdomain_codeset
10828 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10829 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10830 $as_echo_n "checking for $ac_func... " >&6; }
10831 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10832 $as_echo_n "(cached) " >&6
10834 cat >conftest.$ac_ext <<_ACEOF
10837 cat confdefs.h >>conftest.$ac_ext
10838 cat >>conftest.$ac_ext <<_ACEOF
10839 /* end confdefs.h. */
10840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10842 #define $ac_func innocuous_$ac_func
10844 /* System header to define __stub macros and hopefully few prototypes,
10845 which can conflict with char $ac_func (); below.
10846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10847 <limits.h> exists even on freestanding compilers. */
10850 # include <limits.h>
10852 # include <assert.h>
10857 /* Override any GCC internal prototype to avoid an error.
10858 Use char because int might match the return type of a GCC
10859 builtin and then its argument prototype would still apply. */
10864 /* The GNU C library defines this for functions which it implements
10865 to always fail with ENOSYS. Some functions are actually named
10866 something starting with __ and the normal name is an alias. */
10867 #if defined __stub_$ac_func || defined __stub___$ac_func
10874 return $ac_func ();
10879 rm -f conftest.$ac_objext conftest$ac_exeext
10880 if { (ac_try="$ac_link"
10881 case "(($ac_try" in
10882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10883 *) ac_try_echo=$ac_try;;
10885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10886 $as_echo "$ac_try_echo") >&5
10887 (eval "$ac_link") 2>conftest.er1
10889 grep -v '^ *+' conftest.er1 >conftest.err
10891 cat conftest.err >&5
10892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); } && {
10894 test -z "$ac_c_werror_flag" ||
10895 test ! -s conftest.err
10896 } && test -s conftest$ac_exeext && {
10897 test "$cross_compiling" = yes ||
10898 $as_test_x conftest$ac_exeext
10900 eval "$as_ac_var=yes"
10902 $as_echo "$as_me: failed program was:" >&5
10903 sed 's/^/| /' conftest.$ac_ext >&5
10905 eval "$as_ac_var=no"
10908 rm -rf conftest.dSYM
10909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10910 conftest$ac_exeext conftest.$ac_ext
10912 ac_res=`eval 'as_val=${'$as_ac_var'}
10913 $as_echo "$as_val"'`
10914 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10915 $as_echo "$ac_res" >&6; }
10916 if test `eval 'as_val=${'$as_ac_var'}
10917 $as_echo "$as_val"'` = yes; then
10918 cat >>confdefs.h <<_ACEOF
10919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10925 LIBS="$glib_save_LIBS"
10927 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
10928 gt_cv_func_dgettext_libc=no
10930 if test "$gt_cv_func_dgettext_libc" = "yes" \
10931 && test "$gt_cv_func_ngettext_libc" = "yes"; then
10932 gt_cv_func_dgettext_libintl=no
10938 if test "$gt_cv_func_dgettext_libc" = "yes" \
10939 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
10940 gt_cv_have_gettext=yes
10943 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
10944 INTLLIBS="-lintl $libintl_extra_libs"
10947 if test "$gt_cv_have_gettext" = "yes"; then
10949 cat >>confdefs.h <<\_ACEOF
10950 #define HAVE_GETTEXT 1
10953 # Extract the first word of "msgfmt", so it can be a program name with args.
10954 set dummy msgfmt; ac_word=$2
10955 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10956 $as_echo_n "checking for $ac_word... " >&6; }
10957 if test "${ac_cv_path_MSGFMT+set}" = set; then
10958 $as_echo_n "(cached) " >&6
10962 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
10965 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
10966 for ac_dir in $PATH; do
10967 test -z "$ac_dir" && ac_dir=.
10968 if test -f $ac_dir/$ac_word; then
10969 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
10970 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
10976 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
10980 MSGFMT="$ac_cv_path_MSGFMT"
10981 if test "$MSGFMT" != "no"; then
10982 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
10983 $as_echo "$MSGFMT" >&6; }
10985 { $as_echo "$as_me:$LINENO: result: no" >&5
10986 $as_echo "no" >&6; }
10988 if test "$MSGFMT" != "no"; then
10989 glib_save_LIBS="$LIBS"
10990 LIBS="$LIBS $INTLLIBS"
10992 for ac_func in dcgettext
10994 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10995 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10996 $as_echo_n "checking for $ac_func... " >&6; }
10997 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10998 $as_echo_n "(cached) " >&6
11000 cat >conftest.$ac_ext <<_ACEOF
11003 cat confdefs.h >>conftest.$ac_ext
11004 cat >>conftest.$ac_ext <<_ACEOF
11005 /* end confdefs.h. */
11006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11008 #define $ac_func innocuous_$ac_func
11010 /* System header to define __stub macros and hopefully few prototypes,
11011 which can conflict with char $ac_func (); below.
11012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11013 <limits.h> exists even on freestanding compilers. */
11016 # include <limits.h>
11018 # include <assert.h>
11023 /* Override any GCC internal prototype to avoid an error.
11024 Use char because int might match the return type of a GCC
11025 builtin and then its argument prototype would still apply. */
11030 /* The GNU C library defines this for functions which it implements
11031 to always fail with ENOSYS. Some functions are actually named
11032 something starting with __ and the normal name is an alias. */
11033 #if defined __stub_$ac_func || defined __stub___$ac_func
11040 return $ac_func ();
11045 rm -f conftest.$ac_objext conftest$ac_exeext
11046 if { (ac_try="$ac_link"
11047 case "(($ac_try" in
11048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11049 *) ac_try_echo=$ac_try;;
11051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11052 $as_echo "$ac_try_echo") >&5
11053 (eval "$ac_link") 2>conftest.er1
11055 grep -v '^ *+' conftest.er1 >conftest.err
11057 cat conftest.err >&5
11058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11059 (exit $ac_status); } && {
11060 test -z "$ac_c_werror_flag" ||
11061 test ! -s conftest.err
11062 } && test -s conftest$ac_exeext && {
11063 test "$cross_compiling" = yes ||
11064 $as_test_x conftest$ac_exeext
11066 eval "$as_ac_var=yes"
11068 $as_echo "$as_me: failed program was:" >&5
11069 sed 's/^/| /' conftest.$ac_ext >&5
11071 eval "$as_ac_var=no"
11074 rm -rf conftest.dSYM
11075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11076 conftest$ac_exeext conftest.$ac_ext
11078 ac_res=`eval 'as_val=${'$as_ac_var'}
11079 $as_echo "$as_val"'`
11080 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11081 $as_echo "$ac_res" >&6; }
11082 if test `eval 'as_val=${'$as_ac_var'}
11083 $as_echo "$as_val"'` = yes; then
11084 cat >>confdefs.h <<_ACEOF
11085 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11092 { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
11093 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
11094 cat >conftest.foo <<_ACEOF
11098 "Content-Type: text/plain; charset=UTF-8\n"
11099 "Project-Id-Version: test 1.0\n"
11100 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
11101 "Last-Translator: test <foo@bar.xx>\n"
11102 "Language-Team: C <LL@li.org>\n"
11103 "MIME-Version: 1.0\n"
11104 "Content-Transfer-Encoding: 8bit\n"
11107 if { ($as_echo "$as_me:$LINENO: msgfmt -c -o /dev/null conftest.foo") >&5
11108 (msgfmt -c -o /dev/null conftest.foo) 2>&5
11110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 (exit $ac_status); }; then
11112 MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
11113 $as_echo "yes" >&6; }
11114 else { $as_echo "$as_me:$LINENO: result: no" >&5
11115 $as_echo "no" >&6; }
11116 echo "$as_me: failed input was:" >&5
11117 sed 's/^/| /' conftest.foo >&5
11120 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11121 set dummy gmsgfmt; ac_word=$2
11122 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11123 $as_echo_n "checking for $ac_word... " >&6; }
11124 if test "${ac_cv_path_GMSGFMT+set}" = set; then
11125 $as_echo_n "(cached) " >&6
11129 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11133 for as_dir in $PATH
11136 test -z "$as_dir" && as_dir=.
11137 for ac_exec_ext in '' $ac_executable_extensions; do
11138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11139 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11140 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11147 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11151 GMSGFMT=$ac_cv_path_GMSGFMT
11152 if test -n "$GMSGFMT"; then
11153 { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
11154 $as_echo "$GMSGFMT" >&6; }
11156 { $as_echo "$as_me:$LINENO: result: no" >&5
11157 $as_echo "no" >&6; }
11161 # Extract the first word of "xgettext", so it can be a program name with args.
11162 set dummy xgettext; ac_word=$2
11163 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11164 $as_echo_n "checking for $ac_word... " >&6; }
11165 if test "${ac_cv_path_XGETTEXT+set}" = set; then
11166 $as_echo_n "(cached) " >&6
11168 case "$XGETTEXT" in
11170 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11173 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
11174 for ac_dir in $PATH; do
11175 test -z "$ac_dir" && ac_dir=.
11176 if test -f $ac_dir/$ac_word; then
11177 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
11178 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
11184 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11188 XGETTEXT="$ac_cv_path_XGETTEXT"
11189 if test "$XGETTEXT" != ":"; then
11190 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11191 $as_echo "$XGETTEXT" >&6; }
11193 { $as_echo "$as_me:$LINENO: result: no" >&5
11194 $as_echo "no" >&6; }
11197 cat >conftest.$ac_ext <<_ACEOF
11200 cat confdefs.h >>conftest.$ac_ext
11201 cat >>conftest.$ac_ext <<_ACEOF
11202 /* end confdefs.h. */
11207 extern int _nl_msg_cat_cntr;
11208 return _nl_msg_cat_cntr
11213 rm -f conftest.$ac_objext conftest$ac_exeext
11214 if { (ac_try="$ac_link"
11215 case "(($ac_try" in
11216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11217 *) ac_try_echo=$ac_try;;
11219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11220 $as_echo "$ac_try_echo") >&5
11221 (eval "$ac_link") 2>conftest.er1
11223 grep -v '^ *+' conftest.er1 >conftest.err
11225 cat conftest.err >&5
11226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); } && {
11228 test -z "$ac_c_werror_flag" ||
11229 test ! -s conftest.err
11230 } && test -s conftest$ac_exeext && {
11231 test "$cross_compiling" = yes ||
11232 $as_test_x conftest$ac_exeext
11237 $as_echo "$as_me: failed program was:" >&5
11238 sed 's/^/| /' conftest.$ac_ext >&5
11242 { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
11243 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
11244 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
11245 $as_echo_n "(cached) " >&6
11247 cat >conftest.$ac_ext <<_ACEOF
11250 cat confdefs.h >>conftest.$ac_ext
11251 cat >>conftest.$ac_ext <<_ACEOF
11252 /* end confdefs.h. */
11253 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
11254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11255 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
11257 /* System header to define __stub macros and hopefully few prototypes,
11258 which can conflict with char bind_textdomain_codeset (); below.
11259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11260 <limits.h> exists even on freestanding compilers. */
11263 # include <limits.h>
11265 # include <assert.h>
11268 #undef bind_textdomain_codeset
11270 /* Override any GCC internal prototype to avoid an error.
11271 Use char because int might match the return type of a GCC
11272 builtin and then its argument prototype would still apply. */
11276 char bind_textdomain_codeset ();
11277 /* The GNU C library defines this for functions which it implements
11278 to always fail with ENOSYS. Some functions are actually named
11279 something starting with __ and the normal name is an alias. */
11280 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
11287 return bind_textdomain_codeset ();
11292 rm -f conftest.$ac_objext conftest$ac_exeext
11293 if { (ac_try="$ac_link"
11294 case "(($ac_try" in
11295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11296 *) ac_try_echo=$ac_try;;
11298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11299 $as_echo "$ac_try_echo") >&5
11300 (eval "$ac_link") 2>conftest.er1
11302 grep -v '^ *+' conftest.er1 >conftest.err
11304 cat conftest.err >&5
11305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); } && {
11307 test -z "$ac_c_werror_flag" ||
11308 test ! -s conftest.err
11309 } && test -s conftest$ac_exeext && {
11310 test "$cross_compiling" = yes ||
11311 $as_test_x conftest$ac_exeext
11313 ac_cv_func_bind_textdomain_codeset=yes
11315 $as_echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.$ac_ext >&5
11318 ac_cv_func_bind_textdomain_codeset=no
11321 rm -rf conftest.dSYM
11322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11323 conftest$ac_exeext conftest.$ac_ext
11325 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
11326 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
11327 if test $ac_cv_func_bind_textdomain_codeset = yes; then
11343 rm -rf conftest.dSYM
11344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11345 conftest$ac_exeext conftest.$ac_ext
11346 LIBS="$glib_save_LIBS"
11349 gt_cv_have_gettext=no
11357 if test "$gt_cv_have_gettext" = "yes" ; then
11359 cat >>confdefs.h <<\_ACEOF
11360 #define ENABLE_NLS 1
11365 if test "$XGETTEXT" != ":"; then
11366 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
11369 { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11370 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11375 # We need to process the po/ directory.
11378 ac_config_commands="$ac_config_commands default-1"
11381 for lang in $ALL_LINGUAS; do
11382 GMOFILES="$GMOFILES $lang.gmo"
11383 POFILES="$POFILES $lang.po"
11398 if test "$gt_cv_have_gettext" = "yes"; then
11399 if test "x$ALL_LINGUAS" = "x"; then
11402 { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
11403 $as_echo_n "checking for catalogs to be installed... " >&6; }
11405 for presentlang in $ALL_LINGUAS; do
11407 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
11408 desiredlanguages="$LINGUAS"
11410 desiredlanguages="$ALL_LINGUAS"
11412 for desiredlang in $desiredlanguages; do
11413 # Use the presentlang catalog if desiredlang is
11414 # a. equal to presentlang, or
11415 # b. a variant of presentlang (because in this case,
11416 # presentlang can be used as a fallback for messages
11417 # which are not translated in the desiredlang catalog).
11418 case "$desiredlang" in
11419 "$presentlang"*) useit=yes;;
11422 if test $useit = yes; then
11423 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
11426 LINGUAS=$NEW_LINGUAS
11427 { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
11428 $as_echo "$LINGUAS" >&6; }
11431 if test -n "$LINGUAS"; then
11432 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
11437 if test -n "$ac_aux_dir"; then
11438 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
11440 if test -z "$MKINSTALLDIRS"; then
11441 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11445 test -d po || mkdir po
11446 if test "x$srcdir" != "x."; then
11447 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
11448 posrcprefix="$srcdir/"
11450 posrcprefix="../$srcdir/"
11456 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
11457 < $srcdir/po/POTFILES.in > po/POTFILES
11460 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in test/Makefile Info.plist"
11462 cat >confcache <<\_ACEOF
11463 # This file is a shell script that caches the results of configure
11464 # tests run on this system so they can be shared between configure
11465 # scripts and configure runs, see configure's option --config-cache.
11466 # It is not useful on other systems. If it contains results you don't
11467 # want to keep, you may remove or edit it.
11469 # config.status only pays attention to the cache file if you give it
11470 # the --recheck option to rerun configure.
11472 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11473 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11474 # following values.
11478 # The following way of writing the cache mishandles newlines in values,
11479 # but we know of no workaround that is simple, portable, and efficient.
11480 # So, we kill variables containing newlines.
11481 # Ultrix sh set writes to stderr and can't be redirected directly,
11482 # and sets the high bit in the cache file unless we assign to the vars.
11484 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11485 eval ac_val=\$$ac_var
11489 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
11490 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
11493 _ | IFS | as_nl) ;; #(
11494 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11495 *) $as_unset $ac_var ;;
11501 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11502 *${as_nl}ac_space=\ *)
11503 # `set' does not quote correctly, so add quotes (double-quote
11504 # substitution turns \\\\ into \\, and sed turns \\ into \).
11507 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11510 # `set' quotes correctly as required by POSIX, so do not add quotes.
11511 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11520 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11522 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11524 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11525 if test -w "$cache_file"; then
11526 test "x$cache_file" != "x/dev/null" &&
11527 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
11528 $as_echo "$as_me: updating cache $cache_file" >&6;}
11529 cat confcache >$cache_file
11531 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11532 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11537 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11538 # Let make expand exec_prefix.
11539 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11541 DEFS=-DHAVE_CONFIG_H
11545 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11546 # 1. Remove the extension, and $U if already installed.
11547 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11548 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11549 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11550 # will be set to the directory where LIBOBJS objects are built.
11551 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11552 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11554 LIBOBJS=$ac_libobjs
11556 LTLIBOBJS=$ac_ltlibobjs
11559 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11560 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11561 Usually this means the macro was only invoked conditionally." >&5
11562 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11563 Usually this means the macro was only invoked conditionally." >&2;}
11564 { (exit 1); exit 1; }; }
11566 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11567 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11568 Usually this means the macro was only invoked conditionally." >&5
11569 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
11570 Usually this means the macro was only invoked conditionally." >&2;}
11571 { (exit 1); exit 1; }; }
11573 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11574 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11575 Usually this means the macro was only invoked conditionally." >&5
11576 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11577 Usually this means the macro was only invoked conditionally." >&2;}
11578 { (exit 1); exit 1; }; }
11580 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11581 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11582 Usually this means the macro was only invoked conditionally." >&5
11583 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11584 Usually this means the macro was only invoked conditionally." >&2;}
11585 { (exit 1); exit 1; }; }
11587 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11588 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11589 Usually this means the macro was only invoked conditionally." >&5
11590 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11591 Usually this means the macro was only invoked conditionally." >&2;}
11592 { (exit 1); exit 1; }; }
11594 if test -z "${GUI_COCOA_TRUE}" && test -z "${GUI_COCOA_FALSE}"; then
11595 { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_COCOA\" was never defined.
11596 Usually this means the macro was only invoked conditionally." >&5
11597 $as_echo "$as_me: error: conditional \"GUI_COCOA\" was never defined.
11598 Usually this means the macro was only invoked conditionally." >&2;}
11599 { (exit 1); exit 1; }; }
11601 if test -z "${GUI_GTK_TRUE}" && test -z "${GUI_GTK_FALSE}"; then
11602 { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_GTK\" was never defined.
11603 Usually this means the macro was only invoked conditionally." >&5
11604 $as_echo "$as_me: error: conditional \"GUI_GTK\" was never defined.
11605 Usually this means the macro was only invoked conditionally." >&2;}
11606 { (exit 1); exit 1; }; }
11608 if test -z "${VIDEO_OSMESA_TRUE}" && test -z "${VIDEO_OSMESA_FALSE}"; then
11609 { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_OSMESA\" was never defined.
11610 Usually this means the macro was only invoked conditionally." >&5
11611 $as_echo "$as_me: error: conditional \"VIDEO_OSMESA\" was never defined.
11612 Usually this means the macro was only invoked conditionally." >&2;}
11613 { (exit 1); exit 1; }; }
11615 if test -z "${VIDEO_GLX_TRUE}" && test -z "${VIDEO_GLX_FALSE}"; then
11616 { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_GLX\" was never defined.
11617 Usually this means the macro was only invoked conditionally." >&5
11618 $as_echo "$as_me: error: conditional \"VIDEO_GLX\" was never defined.
11619 Usually this means the macro was only invoked conditionally." >&2;}
11620 { (exit 1); exit 1; }; }
11622 if test -z "${VIDEO_NSGL_TRUE}" && test -z "${VIDEO_NSGL_FALSE}"; then
11623 { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_NSGL\" was never defined.
11624 Usually this means the macro was only invoked conditionally." >&5
11625 $as_echo "$as_me: error: conditional \"VIDEO_NSGL\" was never defined.
11626 Usually this means the macro was only invoked conditionally." >&2;}
11627 { (exit 1); exit 1; }; }
11629 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
11630 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
11631 Usually this means the macro was only invoked conditionally." >&5
11632 $as_echo "$as_me: error: conditional \"BUILD_SH4X86\" was never defined.
11633 Usually this means the macro was only invoked conditionally." >&2;}
11634 { (exit 1); exit 1; }; }
11636 if test -z "${AUDIO_OSX_TRUE}" && test -z "${AUDIO_OSX_FALSE}"; then
11637 { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_OSX\" was never defined.
11638 Usually this means the macro was only invoked conditionally." >&5
11639 $as_echo "$as_me: error: conditional \"AUDIO_OSX\" was never defined.
11640 Usually this means the macro was only invoked conditionally." >&2;}
11641 { (exit 1); exit 1; }; }
11643 if test -z "${AUDIO_PULSE_TRUE}" && test -z "${AUDIO_PULSE_FALSE}"; then
11644 { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_PULSE\" was never defined.
11645 Usually this means the macro was only invoked conditionally." >&5
11646 $as_echo "$as_me: error: conditional \"AUDIO_PULSE\" was never defined.
11647 Usually this means the macro was only invoked conditionally." >&2;}
11648 { (exit 1); exit 1; }; }
11650 if test -z "${AUDIO_ESOUND_TRUE}" && test -z "${AUDIO_ESOUND_FALSE}"; then
11651 { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_ESOUND\" was never defined.
11652 Usually this means the macro was only invoked conditionally." >&5
11653 $as_echo "$as_me: error: conditional \"AUDIO_ESOUND\" was never defined.
11654 Usually this means the macro was only invoked conditionally." >&2;}
11655 { (exit 1); exit 1; }; }
11657 if test -z "${AUDIO_ALSA_TRUE}" && test -z "${AUDIO_ALSA_FALSE}"; then
11658 { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_ALSA\" was never defined.
11659 Usually this means the macro was only invoked conditionally." >&5
11660 $as_echo "$as_me: error: conditional \"AUDIO_ALSA\" was never defined.
11661 Usually this means the macro was only invoked conditionally." >&2;}
11662 { (exit 1); exit 1; }; }
11664 if test -z "${CDROM_LINUX_TRUE}" && test -z "${CDROM_LINUX_FALSE}"; then
11665 { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_LINUX\" was never defined.
11666 Usually this means the macro was only invoked conditionally." >&5
11667 $as_echo "$as_me: error: conditional \"CDROM_LINUX\" was never defined.
11668 Usually this means the macro was only invoked conditionally." >&2;}
11669 { (exit 1); exit 1; }; }
11671 if test -z "${CDROM_OSX_TRUE}" && test -z "${CDROM_OSX_FALSE}"; then
11672 { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_OSX\" was never defined.
11673 Usually this means the macro was only invoked conditionally." >&5
11674 $as_echo "$as_me: error: conditional \"CDROM_OSX\" was never defined.
11675 Usually this means the macro was only invoked conditionally." >&2;}
11676 { (exit 1); exit 1; }; }
11678 if test -z "${CDROM_NONE_TRUE}" && test -z "${CDROM_NONE_FALSE}"; then
11679 { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_NONE\" was never defined.
11680 Usually this means the macro was only invoked conditionally." >&5
11681 $as_echo "$as_me: error: conditional \"CDROM_NONE\" was never defined.
11682 Usually this means the macro was only invoked conditionally." >&2;}
11683 { (exit 1); exit 1; }; }
11685 if test -z "${JOY_LINUX_TRUE}" && test -z "${JOY_LINUX_FALSE}"; then
11686 { { $as_echo "$as_me:$LINENO: error: conditional \"JOY_LINUX\" was never defined.
11687 Usually this means the macro was only invoked conditionally." >&5
11688 $as_echo "$as_me: error: conditional \"JOY_LINUX\" was never defined.
11689 Usually this means the macro was only invoked conditionally." >&2;}
11690 { (exit 1); exit 1; }; }
11692 if test -z "${BUILD_SYSTEST_TRUE}" && test -z "${BUILD_SYSTEST_FALSE}"; then
11693 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SYSTEST\" was never defined.
11694 Usually this means the macro was only invoked conditionally." >&5
11695 $as_echo "$as_me: error: conditional \"BUILD_SYSTEST\" was never defined.
11696 Usually this means the macro was only invoked conditionally." >&2;}
11697 { (exit 1); exit 1; }; }
11699 if test -z "${BUILD_ARMTEST_TRUE}" && test -z "${BUILD_ARMTEST_FALSE}"; then
11700 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ARMTEST\" was never defined.
11701 Usually this means the macro was only invoked conditionally." >&5
11702 $as_echo "$as_me: error: conditional \"BUILD_ARMTEST\" was never defined.
11703 Usually this means the macro was only invoked conditionally." >&2;}
11704 { (exit 1); exit 1; }; }
11707 : ${CONFIG_STATUS=./config.status}
11709 ac_clean_files_save=$ac_clean_files
11710 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11711 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11712 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11713 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11715 # Generated by $as_me.
11716 # Run this file to recreate the current configuration.
11717 # Compiler output produced by configure, useful for debugging
11718 # configure, is in config.log if it exists.
11721 ac_cs_recheck=false
11723 SHELL=\${CONFIG_SHELL-$SHELL}
11726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11727 ## --------------------- ##
11728 ## M4sh Initialization. ##
11729 ## --------------------- ##
11731 # Be more Bourne compatible
11732 DUALCASE=1; export DUALCASE # for MKS sh
11733 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11736 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11737 # is contrary to our usage. Disable this feature.
11738 alias -g '${1+"$@"}'='"$@"'
11739 setopt NO_GLOB_SUBST
11741 case `(set -o) 2>/dev/null` in
11742 *posix*) set -o posix ;;
11751 # Avoid depending upon Character Ranges.
11752 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11753 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11754 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11755 as_cr_digits='0123456789'
11756 as_cr_alnum=$as_cr_Letters$as_cr_digits
11761 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11762 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11763 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11764 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11765 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11766 as_echo='printf %s\n'
11767 as_echo_n='printf %s'
11769 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11770 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11771 as_echo_n='/usr/ucb/echo -n'
11773 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11774 as_echo_n_body='eval
11778 expr "X$arg" : "X\\(.*\\)$as_nl";
11779 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11781 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11783 export as_echo_n_body
11784 as_echo_n='sh -c $as_echo_n_body as_echo'
11786 export as_echo_body
11787 as_echo='sh -c $as_echo_body as_echo'
11790 # The user is always right.
11791 if test "${PATH_SEPARATOR+set}" != set; then
11793 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11794 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11799 # Support unset when possible.
11800 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11808 # We need space, tab and new line, in precisely that order. Quoting is
11809 # there to prevent editors from complaining about space-tab.
11810 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11811 # splitting by setting IFS to empty value.)
11814 # Find who we are. Look in the path if we contain no directory separator.
11816 *[\\/]* ) as_myself=$0 ;;
11817 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11818 for as_dir in $PATH
11821 test -z "$as_dir" && as_dir=.
11822 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11828 # We did not find ourselves, most probably we were run as `sh COMMAND'
11829 # in which case we are not to be found in the path.
11830 if test "x$as_myself" = x; then
11833 if test ! -f "$as_myself"; then
11834 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11835 { (exit 1); exit 1; }
11838 # Work around bugs in pre-3.0 UWIN ksh.
11839 for as_var in ENV MAIL MAILPATH
11840 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11852 # Required to use basename.
11853 if expr a : '\(a\)' >/dev/null 2>&1 &&
11854 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11860 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11861 as_basename=basename
11867 # Name of the executable.
11868 as_me=`$as_basename -- "$0" ||
11869 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11870 X"$0" : 'X\(//\)$' \| \
11871 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11873 sed '/^.*\/\([^/][^/]*\)\/*$/{
11892 as_lineno_1=$LINENO
11893 as_lineno_2=$LINENO
11894 test "x$as_lineno_1" != "x$as_lineno_2" &&
11895 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11897 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11898 # uniformly replaced by the line number. The first 'sed' inserts a
11899 # line-number line after each line using $LINENO; the second 'sed'
11900 # does the real work. The second script uses 'N' to pair each
11901 # line-number line with the line containing $LINENO, and appends
11902 # trailing '-' during substitution so that $LINENO is not a special
11903 # case at line end.
11904 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11905 # scripts with optimization help from Paolo Bonzini. Blame Lee
11906 # E. McMahon (1931-1989) for sed's syntax. :-)
11918 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11921 ' >$as_me.lineno &&
11922 chmod +x "$as_me.lineno" ||
11923 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11924 { (exit 1); exit 1; }; }
11926 # Don't try to exec as it changes $[0], causing all sort of problems
11927 # (the dirname of $[0] is not the place where we might find the
11928 # original and so on. Autoconf is especially sensitive to this).
11929 . "./$as_me.lineno"
11930 # Exit status is that of the last command.
11935 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11941 ECHO_C= ECHO_N= ECHO_T=
11942 case `echo -n x` in
11944 case `echo 'x\c'` in
11945 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11951 if expr a : '\(a\)' >/dev/null 2>&1 &&
11952 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11958 rm -f conf$$ conf$$.exe conf$$.file
11959 if test -d conf$$.dir; then
11960 rm -f conf$$.dir/conf$$.file
11963 mkdir conf$$.dir 2>/dev/null
11965 if (echo >conf$$.file) 2>/dev/null; then
11966 if ln -s conf$$.file conf$$ 2>/dev/null; then
11968 # ... but there are two gotchas:
11969 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11970 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11971 # In both cases, we have to default to `cp -p'.
11972 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11974 elif ln conf$$.file conf$$ 2>/dev/null; then
11982 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11983 rmdir conf$$.dir 2>/dev/null
11985 if mkdir -p . 2>/dev/null; then
11988 test -d ./-p && rmdir ./-p
11992 if test -x / >/dev/null 2>&1; then
11993 as_test_x='test -x'
11995 if ls -dL / >/dev/null 2>&1; then
12002 if test -d "$1"; then
12008 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12009 ???[sx]*):;;*)false;;esac;fi
12013 as_executable_p=$as_test_x
12015 # Sed expression to map a string onto a valid CPP name.
12016 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12018 # Sed expression to map a string onto a valid variable name.
12019 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12024 # Save the log message, to keep $[0] and so on meaningful, and to
12025 # report actual input values of CONFIG_FILES etc. instead of their
12026 # values after options handling.
12028 This file was extended by $as_me, which was
12029 generated by GNU Autoconf 2.62. Invocation command line was
12031 CONFIG_FILES = $CONFIG_FILES
12032 CONFIG_HEADERS = $CONFIG_HEADERS
12033 CONFIG_LINKS = $CONFIG_LINKS
12034 CONFIG_COMMANDS = $CONFIG_COMMANDS
12037 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12043 # Files that config.status was made for.
12044 config_files="$ac_config_files"
12045 config_headers="$ac_config_headers"
12046 config_commands="$ac_config_commands"
12050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12052 \`$as_me' instantiates files from templates according to the
12053 current configuration.
12055 Usage: $0 [OPTIONS] [FILE]...
12057 -h, --help print this help, then exit
12058 -V, --version print version number and configuration settings, then exit
12059 -q, --quiet do not print progress messages
12060 -d, --debug don't remove temporary files
12061 --recheck update $as_me by reconfiguring in the same conditions
12062 --file=FILE[:TEMPLATE]
12063 instantiate the configuration file FILE
12064 --header=FILE[:TEMPLATE]
12065 instantiate the configuration header FILE
12067 Configuration files:
12070 Configuration headers:
12073 Configuration commands:
12076 Report bugs to <bug-autoconf@gnu.org>."
12079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12082 configured by $0, generated by GNU Autoconf 2.62,
12083 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12085 Copyright (C) 2008 Free Software Foundation, Inc.
12086 This config.status script is free software; the Free Software Foundation
12087 gives unlimited permission to copy, distribute and modify it."
12093 test -n "\$AWK" || AWK=awk
12096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12097 # The default lists apply if the user does not specify any file.
12103 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12104 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12115 # Handling of the options.
12116 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12118 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12119 $as_echo "$ac_cs_version"; exit ;;
12120 --debug | --debu | --deb | --de | --d | -d )
12122 --file | --fil | --fi | --f )
12125 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12127 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
12128 ac_need_defaults=false;;
12129 --header | --heade | --head | --hea )
12132 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12134 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
12135 ac_need_defaults=false;;
12137 # Conflict between --help and --header
12138 { $as_echo "$as_me: error: ambiguous option: $1
12139 Try \`$0 --help' for more information." >&2
12140 { (exit 1); exit 1; }; };;
12141 --help | --hel | -h )
12142 $as_echo "$ac_cs_usage"; exit ;;
12143 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12144 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12147 # This is an error.
12148 -*) { $as_echo "$as_me: error: unrecognized option: $1
12149 Try \`$0 --help' for more information." >&2
12150 { (exit 1); exit 1; }; } ;;
12152 *) ac_config_targets="$ac_config_targets $1"
12153 ac_need_defaults=false ;;
12159 ac_configure_extra_args=
12161 if $ac_cs_silent; then
12163 ac_configure_extra_args="$ac_configure_extra_args --silent"
12167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12168 if \$ac_cs_recheck; then
12169 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12171 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12172 CONFIG_SHELL='$SHELL'
12173 export CONFIG_SHELL
12178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12182 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12183 ## Running $as_me. ##
12189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12193 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12200 # Handling of arguments.
12201 for ac_config_target in $ac_config_targets
12203 case $ac_config_target in
12204 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12205 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12206 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12207 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12208 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12209 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
12210 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
12211 "Info.plist") CONFIG_FILES="$CONFIG_FILES Info.plist" ;;
12213 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12214 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12215 { (exit 1); exit 1; }; };;
12220 # If the user did not use the arguments to specify the items to instantiate,
12221 # then the envvar interface is used. Set only those that are not.
12222 # We use the long form for the default assignment because of an extremely
12223 # bizarre bug on SunOS 4.1.3.
12224 if $ac_need_defaults; then
12225 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12226 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12227 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12230 # Have a temporary directory for convenience. Make it in the build tree
12231 # simply because there is no reason against having it here, and in addition,
12232 # creating and moving files from /tmp can sometimes cause problems.
12233 # Hook for its removal unless debugging.
12234 # Note that there is a small window in which the directory will not be cleaned:
12235 # after its creation but before its name has been assigned to `$tmp'.
12239 trap 'exit_status=$?
12240 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12242 trap '{ (exit 1); exit 1; }' 1 2 13 15
12244 # Create a (secure) tmp directory for tmp files.
12247 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12248 test -n "$tmp" && test -d "$tmp"
12251 tmp=./conf$$-$RANDOM
12252 (umask 077 && mkdir "$tmp")
12255 $as_echo "$as_me: cannot create a temporary directory in ." >&2
12256 { (exit 1); exit 1; }
12259 # Set up the scripts for CONFIG_FILES section.
12260 # No need to generate them if there are no CONFIG_FILES.
12261 # This happens for instance with `./config.status config.h'.
12262 if test -n "$CONFIG_FILES"; then
12267 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12268 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12271 ac_cs_awk_cr=$ac_cr
12274 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12279 echo "cat >conf$$subs.awk <<_ACEOF" &&
12280 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12282 } >conf$$subs.sh ||
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; }; }
12286 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12288 for ac_last_try in false false false false false :; do
12289 . ./conf$$subs.sh ||
12290 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12291 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12292 { (exit 1); exit 1; }; }
12294 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
12296 elif $ac_last_try; then
12297 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12298 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12299 { (exit 1); exit 1; }; }
12301 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12304 rm -f conf$$subs.sh
12306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12307 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
12311 s/^/S["/; s/!.*/"]=/
12321 s/\(.\{148\}\).*/\1/
12323 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12328 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12335 s/\(.\{148\}\).*/\1/
12337 s/["\\]/\\&/g; s/^/"/; s/$/"/
12341 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12346 ' <conf$$subs.awk | sed '
12351 ' >>$CONFIG_STATUS || ac_write_fail=1
12352 rm -f conf$$subs.awk
12353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12355 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12356 for (key in S) S_is_set[key] = 1
12362 nfields = split(line, field, "@")
12364 len = length(field[1])
12365 for (i = 2; i < nfields; i++) {
12367 keylen = length(key)
12368 if (S_is_set[key]) {
12370 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12371 len += length(value) + length(field[++i])
12382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12383 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12384 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12387 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12388 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
12389 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
12390 { (exit 1); exit 1; }; }
12393 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12394 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12395 # trailing colons and then remove the whole line if VPATH becomes empty
12396 # (actually we leave an empty line to preserve line numbers).
12397 if test "x$srcdir" = x.; then
12398 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12399 s/:*\$(srcdir):*/:/
12400 s/:*\${srcdir}:*/:/
12402 s/^\([^=]*=[ ]*\):*/\1/
12408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12409 fi # test -n "$CONFIG_FILES"
12411 # Set up the scripts for CONFIG_HEADERS section.
12412 # No need to generate them if there are no CONFIG_HEADERS.
12413 # This happens for instance with `./config.status Makefile'.
12414 if test -n "$CONFIG_HEADERS"; then
12415 cat >"$tmp/defines.awk" <<\_ACAWK ||
12419 # Transform confdefs.h into an awk script `defines.awk', embedded as
12420 # here-document in config.status, that substitutes the proper values into
12421 # config.h.in to produce config.h.
12423 # Create a delimiter string that does not exist in confdefs.h, to ease
12424 # handling of long lines.
12426 for ac_last_try in false false :; do
12427 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12428 if test -z "$ac_t"; then
12430 elif $ac_last_try; then
12431 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
12432 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
12433 { (exit 1); exit 1; }; }
12435 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12439 # For the awk script, D is an array of macro values keyed by name,
12440 # likewise P contains macro parameters if any. Preserve backslash
12441 # newline sequences.
12443 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12445 s/.\{148\}/&'"$ac_delim"'/g
12448 s/^[ ]*#[ ]*define[ ][ ]*/ /
12455 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12457 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
12461 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12462 D["\1"]=" \3\\\\\\n"\\/p
12464 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12469 s/.\{148\}/&'"$ac_delim"'/g
12474 s/["\\]/\\&/g; s/^/"/; s/$/"/p
12477 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12479 ' <confdefs.h | sed '
12480 s/'"$ac_delim"'/"\\\
12481 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12484 for (key in D) D_is_set[key] = 1
12487 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12489 split(line, arg, " ")
12490 if (arg[1] == "#") {
12494 defundef = substr(arg[1], 2)
12497 split(mac1, mac2, "(") #)
12499 if (D_is_set[macro]) {
12500 # Preserve the white space surrounding the "#".
12501 prefix = substr(line, 1, index(line, defundef) - 1)
12502 print prefix "define", macro P[macro] D[macro]
12505 # Replace #undef with comments. This is necessary, for example,
12506 # in the case of _POSIX_SOURCE, which is predefined and required
12507 # on some systems where configure will not decide to define it.
12508 if (defundef == "undef") {
12509 print "/*", line, "*/"
12517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12518 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
12519 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
12520 { (exit 1); exit 1; }; }
12521 fi # test -n "$CONFIG_HEADERS"
12524 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12529 :[FHLC]) ac_mode=$ac_tag; continue;;
12531 case $ac_mode$ac_tag in
12533 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
12534 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
12535 { (exit 1); exit 1; }; };;
12536 :[FH]-) ac_tag=-:-;;
12537 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12554 -) ac_f="$tmp/stdin";;
12555 *) # Look for the file first in the build tree, then in the source tree
12556 # (if the path is not absolute). The absolute path cannot be DOS-style,
12557 # because $ac_f cannot contain `:'.
12561 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12563 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12564 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12565 { (exit 1); exit 1; }; };;
12567 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12568 ac_file_inputs="$ac_file_inputs '$ac_f'"
12571 # Let's still pretend it is `configure' which instantiates (i.e., don't
12572 # use $as_me), people would be surprised to read:
12573 # /* config.h. Generated by config.status. */
12574 configure_input='Generated from '`
12575 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12577 if test x"$ac_file" != x-; then
12578 configure_input="$ac_file. $configure_input"
12579 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
12580 $as_echo "$as_me: creating $ac_file" >&6;}
12582 # Neutralize special characters interpreted by sed in replacement strings.
12583 case $configure_input in #(
12584 *\&* | *\|* | *\\* )
12585 ac_sed_conf_input=`$as_echo "$configure_input" |
12586 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12587 *) ac_sed_conf_input=$configure_input;;
12591 *:-:* | *:-) cat >"$tmp/stdin" \
12592 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12593 $as_echo "$as_me: error: could not create $ac_file" >&2;}
12594 { (exit 1); exit 1; }; } ;;
12599 ac_dir=`$as_dirname -- "$ac_file" ||
12600 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12601 X"$ac_file" : 'X\(//\)[^/]' \| \
12602 X"$ac_file" : 'X\(//\)$' \| \
12603 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12604 $as_echo X"$ac_file" |
12605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12609 /^X\(\/\/\)[^/].*/{
12624 -*) as_dir=./$as_dir;;
12626 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12630 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12631 *) as_qdir=$as_dir;;
12633 as_dirs="'$as_qdir' $as_dirs"
12634 as_dir=`$as_dirname -- "$as_dir" ||
12635 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12636 X"$as_dir" : 'X\(//\)[^/]' \| \
12637 X"$as_dir" : 'X\(//\)$' \| \
12638 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12639 $as_echo X"$as_dir" |
12640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12644 /^X\(\/\/\)[^/].*/{
12657 test -d "$as_dir" && break
12659 test -z "$as_dirs" || eval "mkdir $as_dirs"
12660 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12661 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
12662 { (exit 1); exit 1; }; }; }
12666 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12668 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12669 # A ".." for each directory in $ac_dir_suffix.
12670 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12671 case $ac_top_builddir_sub in
12672 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12673 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12676 ac_abs_top_builddir=$ac_pwd
12677 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12678 # for backward compatibility:
12679 ac_top_builddir=$ac_top_build_prefix
12682 .) # We are building in place.
12684 ac_top_srcdir=$ac_top_builddir_sub
12685 ac_abs_top_srcdir=$ac_pwd ;;
12686 [\\/]* | ?:[\\/]* ) # Absolute name.
12687 ac_srcdir=$srcdir$ac_dir_suffix;
12688 ac_top_srcdir=$srcdir
12689 ac_abs_top_srcdir=$srcdir ;;
12690 *) # Relative name.
12691 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12692 ac_top_srcdir=$ac_top_build_prefix$srcdir
12693 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12695 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12705 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12706 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12711 # If the template does not know about datarootdir, expand it.
12712 # FIXME: This hack should be removed a few years after 2.60.
12713 ac_datarootdir_hack=; ac_datarootdir_seen=
12726 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12727 *datarootdir*) ac_datarootdir_seen=yes;;
12728 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12729 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12730 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12733 ac_datarootdir_hack='
12734 s&@datadir@&$datadir&g
12735 s&@docdir@&$docdir&g
12736 s&@infodir@&$infodir&g
12737 s&@localedir@&$localedir&g
12738 s&@mandir@&$mandir&g
12739 s&\\\${datarootdir}&$datarootdir&g' ;;
12743 # Neutralize VPATH when `$srcdir' = `.'.
12744 # Shell code in configure.ac might set extrasub.
12745 # FIXME: do we really want to maintain this feature?
12746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12747 ac_sed_extra="$ac_vpsub
12750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12752 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12753 s|@configure_input@|$ac_sed_conf_input|;t t
12754 s&@top_builddir@&$ac_top_builddir_sub&;t t
12755 s&@top_build_prefix@&$ac_top_build_prefix&;t t
12756 s&@srcdir@&$ac_srcdir&;t t
12757 s&@abs_srcdir@&$ac_abs_srcdir&;t t
12758 s&@top_srcdir@&$ac_top_srcdir&;t t
12759 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12760 s&@builddir@&$ac_builddir&;t t
12761 s&@abs_builddir@&$ac_abs_builddir&;t t
12762 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12763 s&@INSTALL@&$ac_INSTALL&;t t
12764 $ac_datarootdir_hack
12766 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12767 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12768 $as_echo "$as_me: error: could not create $ac_file" >&2;}
12769 { (exit 1); exit 1; }; }
12771 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12772 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12773 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12774 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12775 which seems to be undefined. Please make sure it is defined." >&5
12776 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12777 which seems to be undefined. Please make sure it is defined." >&2;}
12781 -) cat "$tmp/out" && rm -f "$tmp/out";;
12782 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12784 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12785 $as_echo "$as_me: error: could not create $ac_file" >&2;}
12786 { (exit 1); exit 1; }; }
12792 if test x"$ac_file" != x-; then
12794 $as_echo "/* $configure_input */" \
12795 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12796 } >"$tmp/config.h" \
12797 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12798 $as_echo "$as_me: error: could not create $ac_file" >&2;}
12799 { (exit 1); exit 1; }; }
12800 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12801 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12802 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12805 mv "$tmp/config.h" "$ac_file" \
12806 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12807 $as_echo "$as_me: error: could not create $ac_file" >&2;}
12808 { (exit 1); exit 1; }; }
12811 $as_echo "/* $configure_input */" \
12812 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12813 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
12814 $as_echo "$as_me: error: could not create -" >&2;}
12815 { (exit 1); exit 1; }; }
12817 # Compute "$ac_file"'s index in $config_headers.
12819 for _am_header in $config_headers :; do
12820 case $_am_header in
12821 "$ac_file" | "$ac_file":* )
12824 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12827 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
12828 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12829 X"$ac_file" : 'X\(//\)[^/]' \| \
12830 X"$ac_file" : 'X\(//\)$' \| \
12831 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12832 $as_echo X"$ac_file" |
12833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12837 /^X\(\/\/\)[^/].*/{
12849 s/.*/./; q'`/stamp-h$_am_stamp_count
12852 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
12853 $as_echo "$as_me: executing $ac_file commands" >&6;}
12858 case $ac_file$ac_mode in
12859 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12860 # Strip MF so we end up with the name of the file.
12861 mf=`echo "$mf" | sed -e 's/:.*$//'`
12862 # Check whether this is an Automake generated Makefile or not.
12863 # We used to match only the files named `Makefile.in', but
12864 # some people rename them; so instead we look at the file content.
12865 # Grep'ing the first line is not enough: some people post-process
12866 # each Makefile.in and add a new line on top of each file to say so.
12867 # So let's grep whole file.
12868 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
12869 dirpart=`$as_dirname -- "$mf" ||
12870 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12871 X"$mf" : 'X\(//\)[^/]' \| \
12872 X"$mf" : 'X\(//\)$' \| \
12873 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12879 /^X\(\/\/\)[^/].*/{
12895 # Extract the definition of DEPDIR, am__include, and am__quote
12896 # from the Makefile without running `make'.
12897 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12898 test -z "$DEPDIR" && continue
12899 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12900 test -z "am__include" && continue
12901 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12902 # When using ansi2knr, U may be empty or an underscore; expand it
12903 U=`sed -n 's/^U = //p' < "$mf"`
12904 # Find all dependency output files, they are included files with
12905 # $(DEPDIR) in their names. We invoke sed twice because it is the
12906 # simplest approach to changing $(DEPDIR) to its actual value in the
12908 for file in `sed -n "
12909 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12910 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12911 # Make sure the directory exists.
12912 test -f "$dirpart/$file" && continue
12913 fdir=`$as_dirname -- "$file" ||
12914 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12915 X"$file" : 'X\(//\)[^/]' \| \
12916 X"$file" : 'X\(//\)$' \| \
12917 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12918 $as_echo X"$file" |
12919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12923 /^X\(\/\/\)[^/].*/{
12936 { as_dir=$dirpart/$fdir
12938 -*) as_dir=./$as_dir;;
12940 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12944 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12945 *) as_qdir=$as_dir;;
12947 as_dirs="'$as_qdir' $as_dirs"
12948 as_dir=`$as_dirname -- "$as_dir" ||
12949 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12950 X"$as_dir" : 'X\(//\)[^/]' \| \
12951 X"$as_dir" : 'X\(//\)$' \| \
12952 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12953 $as_echo X"$as_dir" |
12954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12958 /^X\(\/\/\)[^/].*/{
12971 test -d "$as_dir" && break
12973 test -z "$as_dirs" || eval "mkdir $as_dirs"
12974 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12975 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
12976 { (exit 1); exit 1; }; }; }
12977 # echo "creating $dirpart/$file"
12978 echo '# dummy' > "$dirpart/$file"
12982 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
12983 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
12990 { (exit 0); exit 0; }
12992 chmod +x $CONFIG_STATUS
12993 ac_clean_files=$ac_clean_files_save
12995 test $ac_write_fail = 0 ||
12996 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
12997 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
12998 { (exit 1); exit 1; }; }
13001 # configure is writing to config.log, and then calls config.status.
13002 # config.status does its own redirection, appending to config.log.
13003 # Unfortunately, on DOS this fails, as config.log is still kept open
13004 # by configure, so config.status won't be able to write to it; its
13005 # output is simply discarded. So we exec the FD to /dev/null,
13006 # effectively closing config.log, so it can be properly (re)opened and
13007 # appended to by config.status. When coming back to configure, we
13008 # need to make the FD available again.
13009 if test "$no_create" != yes; then
13011 ac_config_status_args=
13012 test "$silent" = yes &&
13013 ac_config_status_args="$ac_config_status_args --quiet"
13015 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13017 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13018 # would make configure fail if this is the last instruction.
13019 $ac_cs_success || { (exit 1); exit 1; }
13021 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13022 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
13023 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
13028 -*) as_dir=./$as_dir;;
13030 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13034 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13035 *) as_qdir=$as_dir;;
13037 as_dirs="'$as_qdir' $as_dirs"
13038 as_dir=`$as_dirname -- "$as_dir" ||
13039 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13040 X"$as_dir" : 'X\(//\)[^/]' \| \
13041 X"$as_dir" : 'X\(//\)$' \| \
13042 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13043 $as_echo X"$as_dir" |
13044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13048 /^X\(\/\/\)[^/].*/{
13061 test -d "$as_dir" && break
13063 test -z "$as_dirs" || eval "mkdir $as_dirs"
13064 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13065 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13066 { (exit 1); exit 1; }; }; }
13070 echo "Configuration complete"
13073 if test "x$HAVE_GTK" = x; then
13074 if test "x$HAVE_COCOA" = x; then
13075 echo " User interface: none"
13077 echo " User interface: Cocoa"
13080 echo " User interface: GTK"
13083 if test "x$SH4_TRANSLATOR" = "x"; then
13084 echo " SH4 translator: None (emulation core only)"
13086 echo " SH4 translator: $SH4_TRANSLATOR"
13089 if test "x$VIDEO_DRIVERS" = "x"; then
13090 echo " Video drivers: none (no supported GL found)"
13092 echo " Video drivers: $VIDEO_DRIVERS"
13095 if test "x$AUDIO_DRIVERS" = "x"; then
13096 echo " Audio drivers: none (no supported output devices found)"
13098 echo " Audio drivers: $AUDIO_DRIVERS"
13101 if test "x$CDROM_DRIVER" = "x"; then
13102 echo " CD-ROM driver: none (no supported cd-rom devices found)"
13104 echo " CD-ROM driver: $CDROM_DRIVER"
.