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
734 am__fastdepOBJC_FALSE
809 enable_option_checking
810 enable_maintainer_mode
811 enable_dependency_tracking
824 ac_precious_vars='build_alias
852 # Initialize some variables set by options.
854 ac_init_version=false
855 ac_unrecognized_opts=
857 # The variables have the same names as the options, with
858 # dashes changed to underlines.
866 program_transform_name=s,x,x,
874 # Installation directory options.
875 # These are left unexpanded so users can "make install exec_prefix=/foo"
876 # and all the variables that are supposed to be based on exec_prefix
877 # by default will actually change.
878 # Use braces instead of parens because sh, perl, etc. also accept them.
879 # (The list follows the same order as the GNU Coding Standards.)
880 bindir='${exec_prefix}/bin'
881 sbindir='${exec_prefix}/sbin'
882 libexecdir='${exec_prefix}/libexec'
883 datarootdir='${prefix}/share'
884 datadir='${datarootdir}'
885 sysconfdir='${prefix}/etc'
886 sharedstatedir='${prefix}/com'
887 localstatedir='${prefix}/var'
888 includedir='${prefix}/include'
889 oldincludedir='/usr/include'
890 docdir='${datarootdir}/doc/${PACKAGE}'
891 infodir='${datarootdir}/info'
896 libdir='${exec_prefix}/lib'
897 localedir='${datarootdir}/locale'
898 mandir='${datarootdir}/man'
904 # If the previous option needs an argument, assign it.
905 if test -n "$ac_prev"; then
906 eval $ac_prev=\$ac_option
912 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
916 # Accept the important Cygnus configure options, so we can diagnose typos.
918 case $ac_dashdash$ac_option in
922 -bindir | --bindir | --bindi | --bind | --bin | --bi)
924 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
927 -build | --build | --buil | --bui | --bu)
928 ac_prev=build_alias ;;
929 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
930 build_alias=$ac_optarg ;;
932 -cache-file | --cache-file | --cache-fil | --cache-fi \
933 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
934 ac_prev=cache_file ;;
935 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
936 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
937 cache_file=$ac_optarg ;;
940 cache_file=config.cache ;;
942 -datadir | --datadir | --datadi | --datad)
944 -datadir=* | --datadir=* | --datadi=* | --datad=*)
945 datadir=$ac_optarg ;;
947 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
948 | --dataroo | --dataro | --datar)
949 ac_prev=datarootdir ;;
950 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
951 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
952 datarootdir=$ac_optarg ;;
954 -disable-* | --disable-*)
955 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
958 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
959 { (exit 1); exit 1; }; }
960 ac_useropt_orig=$ac_useropt
961 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
962 case $ac_user_opts in
966 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
967 ac_unrecognized_sep=', ';;
969 eval enable_$ac_useropt=no ;;
971 -docdir | --docdir | --docdi | --doc | --do)
973 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
976 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
978 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
981 -enable-* | --enable-*)
982 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
983 # Reject names that are not valid shell variable names.
984 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
985 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
986 { (exit 1); exit 1; }; }
987 ac_useropt_orig=$ac_useropt
988 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989 case $ac_user_opts in
993 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
994 ac_unrecognized_sep=', ';;
996 eval enable_$ac_useropt=\$ac_optarg ;;
998 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
999 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1000 | --exec | --exe | --ex)
1001 ac_prev=exec_prefix ;;
1002 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1003 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1004 | --exec=* | --exe=* | --ex=*)
1005 exec_prefix=$ac_optarg ;;
1007 -gas | --gas | --ga | --g)
1008 # Obsolete; use --with-gas.
1011 -help | --help | --hel | --he | -h)
1012 ac_init_help=long ;;
1013 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1014 ac_init_help=recursive ;;
1015 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1016 ac_init_help=short ;;
1018 -host | --host | --hos | --ho)
1019 ac_prev=host_alias ;;
1020 -host=* | --host=* | --hos=* | --ho=*)
1021 host_alias=$ac_optarg ;;
1023 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1025 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1027 htmldir=$ac_optarg ;;
1029 -includedir | --includedir | --includedi | --included | --include \
1030 | --includ | --inclu | --incl | --inc)
1031 ac_prev=includedir ;;
1032 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1033 | --includ=* | --inclu=* | --incl=* | --inc=*)
1034 includedir=$ac_optarg ;;
1036 -infodir | --infodir | --infodi | --infod | --info | --inf)
1038 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1039 infodir=$ac_optarg ;;
1041 -libdir | --libdir | --libdi | --libd)
1043 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1044 libdir=$ac_optarg ;;
1046 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1047 | --libexe | --libex | --libe)
1048 ac_prev=libexecdir ;;
1049 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1050 | --libexe=* | --libex=* | --libe=*)
1051 libexecdir=$ac_optarg ;;
1053 -localedir | --localedir | --localedi | --localed | --locale)
1054 ac_prev=localedir ;;
1055 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1056 localedir=$ac_optarg ;;
1058 -localstatedir | --localstatedir | --localstatedi | --localstated \
1059 | --localstate | --localstat | --localsta | --localst | --locals)
1060 ac_prev=localstatedir ;;
1061 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1062 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1063 localstatedir=$ac_optarg ;;
1065 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1067 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1068 mandir=$ac_optarg ;;
1070 -nfp | --nfp | --nf)
1071 # Obsolete; use --without-fp.
1074 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1075 | --no-cr | --no-c | -n)
1078 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1079 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1082 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1083 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1084 | --oldin | --oldi | --old | --ol | --o)
1085 ac_prev=oldincludedir ;;
1086 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1087 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1088 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1089 oldincludedir=$ac_optarg ;;
1091 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1093 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1094 prefix=$ac_optarg ;;
1096 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1097 | --program-pre | --program-pr | --program-p)
1098 ac_prev=program_prefix ;;
1099 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1100 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1101 program_prefix=$ac_optarg ;;
1103 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1104 | --program-suf | --program-su | --program-s)
1105 ac_prev=program_suffix ;;
1106 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1107 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1108 program_suffix=$ac_optarg ;;
1110 -program-transform-name | --program-transform-name \
1111 | --program-transform-nam | --program-transform-na \
1112 | --program-transform-n | --program-transform- \
1113 | --program-transform | --program-transfor \
1114 | --program-transfo | --program-transf \
1115 | --program-trans | --program-tran \
1116 | --progr-tra | --program-tr | --program-t)
1117 ac_prev=program_transform_name ;;
1118 -program-transform-name=* | --program-transform-name=* \
1119 | --program-transform-nam=* | --program-transform-na=* \
1120 | --program-transform-n=* | --program-transform-=* \
1121 | --program-transform=* | --program-transfor=* \
1122 | --program-transfo=* | --program-transf=* \
1123 | --program-trans=* | --program-tran=* \
1124 | --progr-tra=* | --program-tr=* | --program-t=*)
1125 program_transform_name=$ac_optarg ;;
1127 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1129 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1130 pdfdir=$ac_optarg ;;
1132 -psdir | --psdir | --psdi | --psd | --ps)
1134 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1138 | -silent | --silent | --silen | --sile | --sil)
1141 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1143 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1145 sbindir=$ac_optarg ;;
1147 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1148 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1149 | --sharedst | --shareds | --shared | --share | --shar \
1151 ac_prev=sharedstatedir ;;
1152 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1153 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1154 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1156 sharedstatedir=$ac_optarg ;;
1158 -site | --site | --sit)
1160 -site=* | --site=* | --sit=*)
1163 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1165 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1166 srcdir=$ac_optarg ;;
1168 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1169 | --syscon | --sysco | --sysc | --sys | --sy)
1170 ac_prev=sysconfdir ;;
1171 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1172 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1173 sysconfdir=$ac_optarg ;;
1175 -target | --target | --targe | --targ | --tar | --ta | --t)
1176 ac_prev=target_alias ;;
1177 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1178 target_alias=$ac_optarg ;;
1180 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1183 -version | --version | --versio | --versi | --vers | -V)
1184 ac_init_version=: ;;
1187 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1191 { (exit 1); exit 1; }; }
1192 ac_useropt_orig=$ac_useropt
1193 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194 case $ac_user_opts in
1198 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1199 ac_unrecognized_sep=', ';;
1201 eval with_$ac_useropt=\$ac_optarg ;;
1203 -without-* | --without-*)
1204 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1205 # Reject names that are not valid shell variable names.
1206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1207 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1208 { (exit 1); exit 1; }; }
1209 ac_useropt_orig=$ac_useropt
1210 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1211 case $ac_user_opts in
1215 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1216 ac_unrecognized_sep=', ';;
1218 eval with_$ac_useropt=no ;;
1221 # Obsolete; use --with-x.
1224 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1225 | --x-incl | --x-inc | --x-in | --x-i)
1226 ac_prev=x_includes ;;
1227 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1228 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1229 x_includes=$ac_optarg ;;
1231 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1232 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1233 ac_prev=x_libraries ;;
1234 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1235 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1236 x_libraries=$ac_optarg ;;
1238 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1239 Try \`$0 --help' for more information." >&2
1240 { (exit 1); exit 1; }; }
1244 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1245 # Reject names that are not valid shell variable names.
1246 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1247 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1248 { (exit 1); exit 1; }; }
1249 eval $ac_envvar=\$ac_optarg
1250 export $ac_envvar ;;
1253 # FIXME: should be removed in autoconf 3.0.
1254 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1255 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1256 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1257 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1263 if test -n "$ac_prev"; then
1264 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1265 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1266 { (exit 1); exit 1; }; }
1269 if test -n "$ac_unrecognized_opts"; then
1270 case $enable_option_checking in
1272 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1273 { (exit 1); exit 1; }; } ;;
1274 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1278 # Check all directory arguments for consistency.
1279 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1280 datadir sysconfdir sharedstatedir localstatedir includedir \
1281 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1282 libdir localedir mandir
1284 eval ac_val=\$$ac_var
1285 # Remove trailing slashes.
1288 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1289 eval $ac_var=\$ac_val;;
1291 # Be sure to have absolute directory names.
1293 [\\/$]* | ?:[\\/]* ) continue;;
1294 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1296 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1297 { (exit 1); exit 1; }; }
1300 # There might be people who depend on the old broken behavior: `$host'
1301 # used to hold the argument of --host etc.
1302 # FIXME: To remove some day.
1305 target=$target_alias
1307 # FIXME: To remove some day.
1308 if test "x$host_alias" != x; then
1309 if test "x$build_alias" = x; then
1310 cross_compiling=maybe
1311 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1312 If a cross compiler is detected then cross compile mode will be used." >&2
1313 elif test "x$build_alias" != "x$host_alias"; then
1319 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1321 test "$silent" = yes && exec 6>/dev/null
1324 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1325 ac_ls_di=`ls -di .` &&
1326 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1327 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1328 { (exit 1); exit 1; }; }
1329 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1330 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1331 { (exit 1); exit 1; }; }
1334 # Find the source files, if location was not specified.
1335 if test -z "$srcdir"; then
1336 ac_srcdir_defaulted=yes
1337 # Try the directory containing this script, then the parent directory.
1338 ac_confdir=`$as_dirname -- "$as_myself" ||
1339 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1340 X"$as_myself" : 'X\(//\)[^/]' \| \
1341 X"$as_myself" : 'X\(//\)$' \| \
1342 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1343 $as_echo X"$as_myself" |
1344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1366 ac_srcdir_defaulted=no
1368 if test ! -r "$srcdir/$ac_unique_file"; then
1369 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1370 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1371 { (exit 1); exit 1; }; }
1373 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1375 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1376 { (exit 1); exit 1; }; }
1378 # When building in place, set srcdir=.
1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
1382 # Remove unnecessary trailing slashes from srcdir.
1383 # Double slashes in file names in object file debugging info
1384 # mess up M-x gdb in Emacs.
1386 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 for ac_var in $ac_precious_vars; do
1389 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1390 eval ac_env_${ac_var}_value=\$${ac_var}
1391 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1392 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1396 # Report the --help message.
1398 if test "$ac_init_help" = "long"; then
1399 # Omit some internal or obsolete options to make the list less imposing.
1400 # This message is too long to be a string in the A/UX 3.1 sh.
1402 \`configure' configures this package to adapt to many kinds of systems.
1404 Usage: $0 [OPTION]... [VAR=VALUE]...
1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1407 VAR=VALUE. See below for descriptions of some of the useful variables.
1409 Defaults for the options are specified in brackets.
1412 -h, --help display this help and exit
1413 --help=short display options specific to this package
1414 --help=recursive display the short help of all the included packages
1415 -V, --version display version information and exit
1416 -q, --quiet, --silent do not print \`checking...' messages
1417 --cache-file=FILE cache test results in FILE [disabled]
1418 -C, --config-cache alias for \`--cache-file=config.cache'
1419 -n, --no-create do not create output files
1420 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1422 Installation directories:
1423 --prefix=PREFIX install architecture-independent files in PREFIX
1424 [$ac_default_prefix]
1425 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1428 By default, \`make install' will install all the files in
1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1431 for instance \`--prefix=\$HOME'.
1433 For better control, use the options below.
1435 Fine tuning of the installation directories:
1436 --bindir=DIR user executables [EPREFIX/bin]
1437 --sbindir=DIR system admin executables [EPREFIX/sbin]
1438 --libexecdir=DIR program executables [EPREFIX/libexec]
1439 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1440 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1441 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1442 --libdir=DIR object code libraries [EPREFIX/lib]
1443 --includedir=DIR C header files [PREFIX/include]
1444 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1445 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1446 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1447 --infodir=DIR info documentation [DATAROOTDIR/info]
1448 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1449 --mandir=DIR man documentation [DATAROOTDIR/man]
1450 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1451 --htmldir=DIR html documentation [DOCDIR]
1452 --dvidir=DIR dvi documentation [DOCDIR]
1453 --pdfdir=DIR pdf documentation [DOCDIR]
1454 --psdir=DIR ps documentation [DOCDIR]
1460 --program-prefix=PREFIX prepend PREFIX to installed program names
1461 --program-suffix=SUFFIX append SUFFIX to installed program names
1462 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1465 --build=BUILD configure for building on BUILD [guessed]
1466 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1470 if test -n "$ac_init_help"; then
1475 --disable-option-checking ignore unrecognized --enable/--with options
1476 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1477 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1478 --enable-maintainer-mode enable make rules and dependencies not useful
1479 (and sometimes confusing) to the casual installer
1480 --disable-dependency-tracking speeds up one-time build
1481 --enable-dependency-tracking do not reject slow dependency extractors
1482 --enable-strict-warn Enable strict compilation warnings
1483 --disable-translator Disable the SH4 translator (Enabled by default)
1484 --disable-optimized Disable compile-time optimizations (Enabled by
1486 --enable-profiled Enable profiling build
1487 --enable-trace Enable generation of IO traces (warning: hurts
1489 --enable-watch Enable watchpoints in the debugger (warning: hurts
1491 --enable-sh4stats Enable statistics on executed sh4 instructions
1494 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1495 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1496 --with-osmesa Build with the osmesa GL library (software
1498 --with-gtk Build with the GTK UI. Default on X11 systems
1499 --with-esd Build with support for the ESounD audio system
1500 --with-pulse Build with support for the PulseAudio audio system
1502 Some influential environment variables:
1503 CC C compiler command
1504 CFLAGS C compiler flags
1505 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1506 nonstandard directory <lib dir>
1507 LIBS libraries to pass to the linker, e.g. -l<library>
1508 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1509 you have headers in a nonstandard directory <include dir>
1510 OBJC Objective C compiler command
1511 OBJCFLAGS Objective C compiler flags
1512 CCAS assembler compiler command (defaults to CC)
1513 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1515 PKG_CONFIG path to pkg-config utility
1517 C compiler flags for LIBPNG, overriding pkg-config
1518 LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
1519 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1520 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1521 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1522 GTK_LIBS linker flags for GTK, overriding pkg-config
1524 C compiler flags for PULSE, overriding pkg-config
1525 PULSE_LIBS linker flags for PULSE, overriding pkg-config
1527 C compiler flags for ESOUND, overriding pkg-config
1528 ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
1529 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1530 ALSA_LIBS linker flags for ALSA, overriding pkg-config
1532 Use these variables to override the choices made by `configure' or to help
1533 it to find libraries and programs with nonstandard names/locations.
1539 if test "$ac_init_help" = "recursive"; then
1540 # If there are subdirs, report their specific --help.
1541 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1542 test -d "$ac_dir" ||
1543 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1548 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1551 # A ".." for each directory in $ac_dir_suffix.
1552 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1553 case $ac_top_builddir_sub in
1554 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1558 ac_abs_top_builddir=$ac_pwd
1559 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1560 # for backward compatibility:
1561 ac_top_builddir=$ac_top_build_prefix
1564 .) # We are building in place.
1566 ac_top_srcdir=$ac_top_builddir_sub
1567 ac_abs_top_srcdir=$ac_pwd ;;
1568 [\\/]* | ?:[\\/]* ) # Absolute name.
1569 ac_srcdir=$srcdir$ac_dir_suffix;
1570 ac_top_srcdir=$srcdir
1571 ac_abs_top_srcdir=$srcdir ;;
1573 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1574 ac_top_srcdir=$ac_top_build_prefix$srcdir
1575 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1577 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1579 cd "$ac_dir" || { ac_status=$?; continue; }
1580 # Check for guested configure.
1581 if test -f "$ac_srcdir/configure.gnu"; then
1583 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1584 elif test -f "$ac_srcdir/configure"; then
1586 $SHELL "$ac_srcdir/configure" --help=recursive
1588 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1590 cd "$ac_pwd" || { ac_status=$?; break; }
1594 test -n "$ac_init_help" && exit $ac_status
1595 if $ac_init_version; then
1598 generated by GNU Autoconf 2.62
1600 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1601 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1602 This configure script is free software; the Free Software Foundation
1603 gives unlimited permission to copy, distribute and modify it.
1607 cat >config.log <<_ACEOF
1608 This file contains any messages produced by compilers while
1609 running configure, to aid debugging if configure makes a mistake.
1611 It was created by $as_me, which was
1612 generated by GNU Autoconf 2.62. Invocation command line was
1624 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1625 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1626 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1627 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1628 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1630 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1631 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1633 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1634 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1635 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1636 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1637 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1638 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1639 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1647 test -z "$as_dir" && as_dir=.
1648 $as_echo "PATH: $as_dir"
1664 # Keep a trace of the command line.
1665 # Strip out --no-create and --no-recursion so they do not pile up.
1666 # Strip out --silent because we don't want to record it for future runs.
1667 # Also quote any args containing shell meta-characters.
1668 # Make two passes to allow for proper duplicate-argument suppression.
1672 ac_must_keep_next=false
1678 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1679 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1680 | -silent | --silent | --silen | --sile | --sil)
1683 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1686 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1688 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1689 if test $ac_must_keep_next = true; then
1690 ac_must_keep_next=false # Got value, back to normal.
1693 *=* | --config-cache | -C | -disable-* | --disable-* \
1694 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1695 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1696 | -with-* | --with-* | -without-* | --without-* | --x)
1697 case "$ac_configure_args0 " in
1698 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1701 -* ) ac_must_keep_next=true ;;
1704 ac_configure_args="$ac_configure_args '$ac_arg'"
1709 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1710 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1712 # When interrupted or exit'd, cleanup temporary files, and complete
1713 # config.log. We remove comments because anyway the quotes in there
1714 # would cause problems or look ugly.
1715 # WARNING: Use '\'' to represent an apostrophe within the trap.
1716 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1717 trap 'exit_status=$?
1718 # Save into config.log some information that might help in debugging.
1723 ## ---------------- ##
1724 ## Cache variables. ##
1725 ## ---------------- ##
1728 # The following way of writing the cache mishandles newlines in values,
1730 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1731 eval ac_val=\$$ac_var
1735 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1736 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1739 _ | IFS | as_nl) ;; #(
1740 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1741 *) $as_unset $ac_var ;;
1746 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1747 *${as_nl}ac_space=\ *)
1749 "s/'\''/'\''\\\\'\'''\''/g;
1750 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1753 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1761 ## ----------------- ##
1762 ## Output variables. ##
1763 ## ----------------- ##
1766 for ac_var in $ac_subst_vars
1768 eval ac_val=\$$ac_var
1770 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1772 $as_echo "$ac_var='\''$ac_val'\''"
1776 if test -n "$ac_subst_files"; then
1778 ## ------------------- ##
1779 ## File substitutions. ##
1780 ## ------------------- ##
1783 for ac_var in $ac_subst_files
1785 eval ac_val=\$$ac_var
1787 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1789 $as_echo "$ac_var='\''$ac_val'\''"
1794 if test -s confdefs.h; then
1804 test "$ac_signal" != 0 &&
1805 $as_echo "$as_me: caught signal $ac_signal"
1806 $as_echo "$as_me: exit $exit_status"
1808 rm -f core *.core core.conftest.* &&
1809 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1812 for ac_signal in 1 2 13 15; do
1813 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1817 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1818 rm -f -r conftest* confdefs.h
1820 # Predefined preprocessor variables.
1822 cat >>confdefs.h <<_ACEOF
1823 #define PACKAGE_NAME "$PACKAGE_NAME"
1827 cat >>confdefs.h <<_ACEOF
1828 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1832 cat >>confdefs.h <<_ACEOF
1833 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1837 cat >>confdefs.h <<_ACEOF
1838 #define PACKAGE_STRING "$PACKAGE_STRING"
1842 cat >>confdefs.h <<_ACEOF
1843 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1847 # Let the site file select an alternate cache file if it wants to.
1848 # Prefer an explicitly selected file to automatically selected ones.
1851 if test -n "$CONFIG_SITE"; then
1852 ac_site_file1=$CONFIG_SITE
1853 elif test "x$prefix" != xNONE; then
1854 ac_site_file1=$prefix/share/config.site
1855 ac_site_file2=$prefix/etc/config.site
1857 ac_site_file1=$ac_default_prefix/share/config.site
1858 ac_site_file2=$ac_default_prefix/etc/config.site
1860 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1862 test "x$ac_site_file" = xNONE && continue
1863 if test -r "$ac_site_file"; then
1864 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1865 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1866 sed 's/^/| /' "$ac_site_file" >&5
1871 if test -r "$cache_file"; then
1872 # Some versions of bash will fail to source /dev/null (special
1873 # files actually), so we avoid doing that.
1874 if test -f "$cache_file"; then
1875 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1876 $as_echo "$as_me: loading cache $cache_file" >&6;}
1878 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1879 *) . "./$cache_file";;
1883 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1884 $as_echo "$as_me: creating cache $cache_file" >&6;}
1888 # Check that the precious variables saved in the cache have kept the same
1890 ac_cache_corrupted=false
1891 for ac_var in $ac_precious_vars; do
1892 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1893 eval ac_new_set=\$ac_env_${ac_var}_set
1894 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1895 eval ac_new_val=\$ac_env_${ac_var}_value
1896 case $ac_old_set,$ac_new_set in
1898 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1899 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1900 ac_cache_corrupted=: ;;
1902 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1903 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1904 ac_cache_corrupted=: ;;
1907 if test "x$ac_old_val" != "x$ac_new_val"; then
1908 # differences in whitespace do not lead to failure.
1909 ac_old_val_w=`echo x $ac_old_val`
1910 ac_new_val_w=`echo x $ac_new_val`
1911 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1912 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1913 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1914 ac_cache_corrupted=:
1916 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1917 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1918 eval $ac_var=\$ac_old_val
1920 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1921 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1922 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1923 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1926 # Pass precious variables to config.status.
1927 if test "$ac_new_set" = set; then
1929 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1930 *) ac_arg=$ac_var=$ac_new_val ;;
1932 case " $ac_configure_args " in
1933 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1934 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1938 if $ac_cache_corrupted; then
1939 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1940 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1941 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1942 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1943 { (exit 1); exit 1; }; }
1963 ac_cpp='$CPP $CPPFLAGS'
1964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1969 am__api_version="1.9"
1971 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1972 if test -f "$ac_dir/install-sh"; then
1974 ac_install_sh="$ac_aux_dir/install-sh -c"
1976 elif test -f "$ac_dir/install.sh"; then
1978 ac_install_sh="$ac_aux_dir/install.sh -c"
1980 elif test -f "$ac_dir/shtool"; then
1982 ac_install_sh="$ac_aux_dir/shtool install -c"
1986 if test -z "$ac_aux_dir"; then
1987 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1988 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1989 { (exit 1); exit 1; }; }
1992 # These three variables are undocumented and unsupported,
1993 # and are intended to be withdrawn in a future Autoconf release.
1994 # They can cause serious problems if a builder's source tree is in a directory
1995 # whose full name contains unusual characters.
1996 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1997 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1998 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2001 # Find a good install program. We prefer a C program (faster),
2002 # so one script is as good as another. But avoid the broken or
2003 # incompatible versions:
2004 # SysV /etc/install, /usr/sbin/install
2005 # SunOS /usr/etc/install
2006 # IRIX /sbin/install
2008 # AmigaOS /C/install, which installs bootblocks on floppy discs
2009 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2010 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2011 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2012 # OS/2's system install, which has a completely different semantic
2013 # ./install, which can be erroneously created by make from ./install.sh.
2014 # Reject install programs that cannot install multiple files.
2015 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2016 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2017 if test -z "$INSTALL"; then
2018 if test "${ac_cv_path_install+set}" = set; then
2019 $as_echo_n "(cached) " >&6
2021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2025 test -z "$as_dir" && as_dir=.
2026 # Account for people who put trailing slashes in PATH elements.
2028 ./ | .// | /cC/* | \
2029 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2030 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2033 # OSF1 and SCO ODT 3.0 have their own names for install.
2034 # Don't use installbsd from OSF since it installs stuff as root
2036 for ac_prog in ginstall scoinst install; do
2037 for ac_exec_ext in '' $ac_executable_extensions; do
2038 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2039 if test $ac_prog = install &&
2040 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2041 # AIX install. It has an incompatible calling convention.
2043 elif test $ac_prog = install &&
2044 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2045 # program-specific install script used by HP pwplus--don't use.
2048 rm -rf conftest.one conftest.two conftest.dir
2049 echo one > conftest.one
2050 echo two > conftest.two
2052 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2053 test -s conftest.one && test -s conftest.two &&
2054 test -s conftest.dir/conftest.one &&
2055 test -s conftest.dir/conftest.two
2057 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2070 rm -rf conftest.one conftest.two conftest.dir
2073 if test "${ac_cv_path_install+set}" = set; then
2074 INSTALL=$ac_cv_path_install
2076 # As a last resort, use the slow shell script. Don't cache a
2077 # value for INSTALL within a source directory, because that will
2078 # break other packages using the cache if that directory is
2079 # removed, or if the value is a relative name.
2080 INSTALL=$ac_install_sh
2083 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2084 $as_echo "$INSTALL" >&6; }
2086 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2087 # It thinks the first close brace ends the variable substitution.
2088 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2090 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2092 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2094 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2095 $as_echo_n "checking whether build environment is sane... " >&6; }
2098 echo timestamp > conftest.file
2099 # Do `set' in a subshell so we don't clobber the current shell's
2100 # arguments. Must try -L first in case configure is actually a
2101 # symlink; some systems play weird games with the mod time of symlinks
2102 # (eg FreeBSD returns the mod time of the symlink's containing
2105 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2106 if test "$*" = "X"; then
2108 set X `ls -t $srcdir/configure conftest.file`
2111 if test "$*" != "X $srcdir/configure conftest.file" \
2112 && test "$*" != "X conftest.file $srcdir/configure"; then
2114 # If neither matched, then we have a broken ls. This can happen
2115 # if, for instance, CONFIG_SHELL is bash and it inherits a
2116 # broken ls alias from the environment. This has actually
2117 # happened. Such a system could not be considered "sane".
2118 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2119 alias in your environment" >&5
2120 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2121 alias in your environment" >&2;}
2122 { (exit 1); exit 1; }; }
2125 test "$2" = conftest.file
2131 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2132 Check your system clock" >&5
2133 $as_echo "$as_me: error: newly created file is older than distributed files!
2134 Check your system clock" >&2;}
2135 { (exit 1); exit 1; }; }
2137 { $as_echo "$as_me:$LINENO: result: yes" >&5
2138 $as_echo "yes" >&6; }
2139 test "$program_prefix" != NONE &&
2140 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2141 # Use a double $ so make ignores it.
2142 test "$program_suffix" != NONE &&
2143 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2144 # Double any \ or $.
2145 # By default was `s,x,x', remove it if useless.
2146 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2147 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2149 # expand $ac_aux_dir to an absolute path
2150 am_aux_dir=`cd $ac_aux_dir && pwd`
2152 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2153 # Use eval to expand $SHELL
2154 if eval "$MISSING --run true"; then
2155 am_missing_run="$MISSING --run "
2158 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2159 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2162 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2163 # We used to keeping the `.' as first argument, in order to
2164 # allow $(mkdir_p) to be used without argument. As in
2165 # $(mkdir_p) $(somedir)
2166 # where $(somedir) is conditionally defined. However this is wrong
2168 # 1. if the package is installed by a user who cannot write `.'
2169 # make install will fail,
2170 # 2. the above comment should most certainly read
2171 # $(mkdir_p) $(DESTDIR)$(somedir)
2172 # so it does not work when $(somedir) is undefined and
2173 # $(DESTDIR) is not.
2174 # To support the latter case, we have to write
2175 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2176 # so the `.' trick is pointless.
2177 mkdir_p='mkdir -p --'
2179 # On NextStep and OpenStep, the `mkdir' command does not
2180 # recognize any option. It will interpret all options as
2181 # directories to create, and then abort because `.' already
2183 for d in ./-p ./--version;
2185 test -d $d && rmdir $d
2187 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2188 if test -f "$ac_aux_dir/mkinstalldirs"; then
2189 mkdir_p='$(mkinstalldirs)'
2191 mkdir_p='$(install_sh) -d'
2195 for ac_prog in gawk mawk nawk awk
2197 # Extract the first word of "$ac_prog", so it can be a program name with args.
2198 set dummy $ac_prog; ac_word=$2
2199 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2200 $as_echo_n "checking for $ac_word... " >&6; }
2201 if test "${ac_cv_prog_AWK+set}" = set; then
2202 $as_echo_n "(cached) " >&6
2204 if test -n "$AWK"; then
2205 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211 test -z "$as_dir" && as_dir=.
2212 for ac_exec_ext in '' $ac_executable_extensions; do
2213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2214 ac_cv_prog_AWK="$ac_prog"
2215 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2225 if test -n "$AWK"; then
2226 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2227 $as_echo "$AWK" >&6; }
2229 { $as_echo "$as_me:$LINENO: result: no" >&5
2230 $as_echo "no" >&6; }
2234 test -n "$AWK" && break
2237 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2238 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2240 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2241 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2242 $as_echo_n "(cached) " >&6
2244 cat >conftest.make <<\_ACEOF
2247 @echo '@@@%%%=$(MAKE)=@@@%%%'
2249 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2250 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2252 eval ac_cv_prog_make_${ac_make}_set=yes;;
2254 eval ac_cv_prog_make_${ac_make}_set=no;;
2258 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2259 { $as_echo "$as_me:$LINENO: result: yes" >&5
2260 $as_echo "yes" >&6; }
2263 { $as_echo "$as_me:$LINENO: result: no" >&5
2264 $as_echo "no" >&6; }
2265 SET_MAKE="MAKE=${MAKE-make}"
2268 rm -rf .tst 2>/dev/null
2269 mkdir .tst 2>/dev/null
2270 if test -d .tst; then
2275 rmdir .tst 2>/dev/null
2277 # test to see if srcdir already configured
2278 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2279 test -f $srcdir/config.status; then
2280 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2281 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2282 { (exit 1); exit 1; }; }
2285 # test whether we have cygpath
2286 if test -z "$CYGPATH_W"; then
2287 if (cygpath --version) >/dev/null 2>/dev/null; then
2288 CYGPATH_W='cygpath -w'
2295 # Define the identity of the package.
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE "$PACKAGE"
2305 cat >>confdefs.h <<_ACEOF
2306 #define VERSION "$VERSION"
2309 # Some tools Automake needs.
2311 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2314 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2317 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2320 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2323 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2325 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2327 # Installed binaries are usually stripped using `strip' when the user
2328 # run `make install-strip'. However `strip' might not be the right
2329 # tool to use in cross-compilation environments, therefore Automake
2330 # will honor the `STRIP' environment variable to overrule this program.
2331 if test "$cross_compiling" != no; then
2332 if test -n "$ac_tool_prefix"; then
2333 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2334 set dummy ${ac_tool_prefix}strip; ac_word=$2
2335 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2336 $as_echo_n "checking for $ac_word... " >&6; }
2337 if test "${ac_cv_prog_STRIP+set}" = set; then
2338 $as_echo_n "(cached) " >&6
2340 if test -n "$STRIP"; then
2341 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2347 test -z "$as_dir" && as_dir=.
2348 for ac_exec_ext in '' $ac_executable_extensions; do
2349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2350 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2351 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2360 STRIP=$ac_cv_prog_STRIP
2361 if test -n "$STRIP"; then
2362 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2363 $as_echo "$STRIP" >&6; }
2365 { $as_echo "$as_me:$LINENO: result: no" >&5
2366 $as_echo "no" >&6; }
2371 if test -z "$ac_cv_prog_STRIP"; then
2373 # Extract the first word of "strip", so it can be a program name with args.
2374 set dummy strip; ac_word=$2
2375 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2376 $as_echo_n "checking for $ac_word... " >&6; }
2377 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2378 $as_echo_n "(cached) " >&6
2380 if test -n "$ac_ct_STRIP"; then
2381 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2387 test -z "$as_dir" && as_dir=.
2388 for ac_exec_ext in '' $ac_executable_extensions; do
2389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2390 ac_cv_prog_ac_ct_STRIP="strip"
2391 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2400 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2401 if test -n "$ac_ct_STRIP"; then
2402 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2403 $as_echo "$ac_ct_STRIP" >&6; }
2405 { $as_echo "$as_me:$LINENO: result: no" >&5
2406 $as_echo "no" >&6; }
2409 if test "x$ac_ct_STRIP" = x; then
2412 case $cross_compiling:$ac_tool_warned in
2414 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2415 whose name does not start with the host triplet. If you think this
2416 configuration is useful to you, please write to autoconf@gnu.org." >&5
2417 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2418 whose name does not start with the host triplet. If you think this
2419 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2420 ac_tool_warned=yes ;;
2425 STRIP="$ac_cv_prog_STRIP"
2429 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2431 # We need awk for the "check" target. The system "awk" is bad on
2433 # Always define AMTAR for backward compatibility.
2435 AMTAR=${AMTAR-"${am_missing_run}tar"}
2437 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2443 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2444 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2445 # Check whether --enable-maintainer-mode was given.
2446 if test "${enable_maintainer_mode+set}" = set; then
2447 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2449 USE_MAINTAINER_MODE=no
2452 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2453 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2456 if test $USE_MAINTAINER_MODE = yes; then
2457 MAINTAINER_MODE_TRUE=
2458 MAINTAINER_MODE_FALSE='#'
2460 MAINTAINER_MODE_TRUE='#'
2461 MAINTAINER_MODE_FALSE=
2464 MAINT=$MAINTAINER_MODE_TRUE
2467 ac_config_headers="$ac_config_headers config.h"
2470 DEPDIR="${am__leading_dot}deps"
2472 ac_config_commands="$ac_config_commands depfiles"
2475 am_make=${MAKE-make}
2476 cat > confinc << 'END'
2481 # If we don't find an include directive, just comment out the code.
2482 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2483 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2487 # First try GNU make style include.
2488 echo "include confinc" > confmf
2489 # We grep out `Entering directory' and `Leaving directory'
2490 # messages which can occur if `w' ends up in MAKEFLAGS.
2491 # In particular we don't look at `^make:' because GNU make might
2492 # be invoked under some other name (usually "gmake"), in which
2493 # case it prints its new name instead of `make'.
2494 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2499 # Now try BSD make style include.
2500 if test "$am__include" = "#"; then
2501 echo '.include "confinc"' > confmf
2502 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2503 am__include=.include
2510 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2511 $as_echo "$_am_result" >&6; }
2512 rm -f confinc confmf
2514 # Check whether --enable-dependency-tracking was given.
2515 if test "${enable_dependency_tracking+set}" = set; then
2516 enableval=$enable_dependency_tracking;
2519 if test "x$enable_dependency_tracking" != xno; then
2520 am_depcomp="$ac_aux_dir/depcomp"
2525 if test "x$enable_dependency_tracking" != xno; then
2536 ac_cpp='$CPP $CPPFLAGS'
2537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2540 if test -n "$ac_tool_prefix"; then
2541 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2542 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2543 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2544 $as_echo_n "checking for $ac_word... " >&6; }
2545 if test "${ac_cv_prog_CC+set}" = set; then
2546 $as_echo_n "(cached) " >&6
2548 if test -n "$CC"; then
2549 ac_cv_prog_CC="$CC" # Let the user override the test.
2551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2555 test -z "$as_dir" && as_dir=.
2556 for ac_exec_ext in '' $ac_executable_extensions; do
2557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2558 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2559 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2569 if test -n "$CC"; then
2570 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2571 $as_echo "$CC" >&6; }
2573 { $as_echo "$as_me:$LINENO: result: no" >&5
2574 $as_echo "no" >&6; }
2579 if test -z "$ac_cv_prog_CC"; then
2581 # Extract the first word of "gcc", so it can be a program name with args.
2582 set dummy gcc; ac_word=$2
2583 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2584 $as_echo_n "checking for $ac_word... " >&6; }
2585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2586 $as_echo_n "(cached) " >&6
2588 if test -n "$ac_ct_CC"; then
2589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 test -z "$as_dir" && as_dir=.
2596 for ac_exec_ext in '' $ac_executable_extensions; do
2597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2598 ac_cv_prog_ac_ct_CC="gcc"
2599 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2609 if test -n "$ac_ct_CC"; then
2610 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2611 $as_echo "$ac_ct_CC" >&6; }
2613 { $as_echo "$as_me:$LINENO: result: no" >&5
2614 $as_echo "no" >&6; }
2617 if test "x$ac_ct_CC" = x; then
2620 case $cross_compiling:$ac_tool_warned in
2622 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2623 whose name does not start with the host triplet. If you think this
2624 configuration is useful to you, please write to autoconf@gnu.org." >&5
2625 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2626 whose name does not start with the host triplet. If you think this
2627 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2628 ac_tool_warned=yes ;;
2636 if test -z "$CC"; then
2637 if test -n "$ac_tool_prefix"; then
2638 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2639 set dummy ${ac_tool_prefix}cc; ac_word=$2
2640 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2641 $as_echo_n "checking for $ac_word... " >&6; }
2642 if test "${ac_cv_prog_CC+set}" = set; then
2643 $as_echo_n "(cached) " >&6
2645 if test -n "$CC"; then
2646 ac_cv_prog_CC="$CC" # Let the user override the test.
2648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2652 test -z "$as_dir" && as_dir=.
2653 for ac_exec_ext in '' $ac_executable_extensions; do
2654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2655 ac_cv_prog_CC="${ac_tool_prefix}cc"
2656 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2666 if test -n "$CC"; then
2667 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2668 $as_echo "$CC" >&6; }
2670 { $as_echo "$as_me:$LINENO: result: no" >&5
2671 $as_echo "no" >&6; }
2677 if test -z "$CC"; then
2678 # Extract the first word of "cc", so it can be a program name with args.
2679 set dummy cc; ac_word=$2
2680 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if test "${ac_cv_prog_CC+set}" = set; then
2683 $as_echo_n "(cached) " >&6
2685 if test -n "$CC"; then
2686 ac_cv_prog_CC="$CC" # Let the user override the test.
2689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2693 test -z "$as_dir" && as_dir=.
2694 for ac_exec_ext in '' $ac_executable_extensions; do
2695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2696 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2697 ac_prog_rejected=yes
2701 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2708 if test $ac_prog_rejected = yes; then
2709 # We found a bogon in the path, so make sure we never use it.
2710 set dummy $ac_cv_prog_CC
2712 if test $# != 0; then
2713 # We chose a different compiler from the bogus one.
2714 # However, it has the same basename, so the bogon will be chosen
2715 # first if we set CC to just the basename; use the full file name.
2717 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2723 if test -n "$CC"; then
2724 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2725 $as_echo "$CC" >&6; }
2727 { $as_echo "$as_me:$LINENO: result: no" >&5
2728 $as_echo "no" >&6; }
2733 if test -z "$CC"; then
2734 if test -n "$ac_tool_prefix"; then
2735 for ac_prog in cl.exe
2737 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2738 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2739 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2740 $as_echo_n "checking for $ac_word... " >&6; }
2741 if test "${ac_cv_prog_CC+set}" = set; then
2742 $as_echo_n "(cached) " >&6
2744 if test -n "$CC"; then
2745 ac_cv_prog_CC="$CC" # Let the user override the test.
2747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751 test -z "$as_dir" && as_dir=.
2752 for ac_exec_ext in '' $ac_executable_extensions; do
2753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2754 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2755 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2765 if test -n "$CC"; then
2766 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2767 $as_echo "$CC" >&6; }
2769 { $as_echo "$as_me:$LINENO: result: no" >&5
2770 $as_echo "no" >&6; }
2774 test -n "$CC" && break
2777 if test -z "$CC"; then
2779 for ac_prog in cl.exe
2781 # Extract the first word of "$ac_prog", so it can be a program name with args.
2782 set dummy $ac_prog; ac_word=$2
2783 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2784 $as_echo_n "checking for $ac_word... " >&6; }
2785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2786 $as_echo_n "(cached) " >&6
2788 if test -n "$ac_ct_CC"; then
2789 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2795 test -z "$as_dir" && as_dir=.
2796 for ac_exec_ext in '' $ac_executable_extensions; do
2797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2798 ac_cv_prog_ac_ct_CC="$ac_prog"
2799 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2808 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2809 if test -n "$ac_ct_CC"; then
2810 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2811 $as_echo "$ac_ct_CC" >&6; }
2813 { $as_echo "$as_me:$LINENO: result: no" >&5
2814 $as_echo "no" >&6; }
2818 test -n "$ac_ct_CC" && break
2821 if test "x$ac_ct_CC" = x; then
2824 case $cross_compiling:$ac_tool_warned in
2826 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2827 whose name does not start with the host triplet. If you think this
2828 configuration is useful to you, please write to autoconf@gnu.org." >&5
2829 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2830 whose name does not start with the host triplet. If you think this
2831 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2832 ac_tool_warned=yes ;;
2841 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2842 See \`config.log' for more details." >&5
2843 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2844 See \`config.log' for more details." >&2;}
2845 { (exit 1); exit 1; }; }
2847 # Provide some information about the compiler.
2848 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2851 { (ac_try="$ac_compiler --version >&5"
2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854 *) ac_try_echo=$ac_try;;
2856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2857 $as_echo "$ac_try_echo") >&5
2858 (eval "$ac_compiler --version >&5") 2>&5
2860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }
2862 { (ac_try="$ac_compiler -v >&5"
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2868 $as_echo "$ac_try_echo") >&5
2869 (eval "$ac_compiler -v >&5") 2>&5
2871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); }
2873 { (ac_try="$ac_compiler -V >&5"
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2879 $as_echo "$ac_try_echo") >&5
2880 (eval "$ac_compiler -V >&5") 2>&5
2882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); }
2885 cat >conftest.$ac_ext <<_ACEOF
2888 cat confdefs.h >>conftest.$ac_ext
2889 cat >>conftest.$ac_ext <<_ACEOF
2890 /* end confdefs.h. */
2900 ac_clean_files_save=$ac_clean_files
2901 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2902 # Try to create an executable without -o first, disregard a.out.
2903 # It will help us diagnose broken compilers, and finding out an intuition
2905 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2906 $as_echo_n "checking for C compiler default output file name... " >&6; }
2907 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2909 # The possible output files:
2910 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2913 for ac_file in $ac_files
2916 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2917 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2922 if { (ac_try="$ac_link_default"
2924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2925 *) ac_try_echo=$ac_try;;
2927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2928 $as_echo "$ac_try_echo") >&5
2929 (eval "$ac_link_default") 2>&5
2931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }; then
2933 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2934 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2935 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2936 # so that the user can short-circuit this test for compilers unknown to
2938 for ac_file in $ac_files ''
2940 test -f "$ac_file" || continue
2942 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2945 # We found the default executable, but exeext='' is most
2949 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2951 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2953 # We set ac_cv_exeext here because the later test for it is not
2954 # safe: cross compilers may not add the suffix if given an `-o'
2955 # argument, so we may need to know it at that point already.
2956 # Even if this section looks crufty: it has the advantage of
2963 test "$ac_cv_exeext" = no && ac_cv_exeext=
2969 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2970 $as_echo "$ac_file" >&6; }
2971 if test -z "$ac_file"; then
2972 $as_echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2975 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2976 See \`config.log' for more details." >&5
2977 $as_echo "$as_me: error: C compiler cannot create executables
2978 See \`config.log' for more details." >&2;}
2979 { (exit 77); exit 77; }; }
2982 ac_exeext=$ac_cv_exeext
2984 # Check that the compiler produces executables we can run. If not, either
2985 # the compiler is broken, or we cross compile.
2986 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2987 $as_echo_n "checking whether the C compiler works... " >&6; }
2988 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2989 # If not cross compiling, check that we can run a simple program.
2990 if test "$cross_compiling" != yes; then
2991 if { ac_try='./$ac_file'
2992 { (case "(($ac_try" in
2993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994 *) ac_try_echo=$ac_try;;
2996 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2997 $as_echo "$ac_try_echo") >&5
2998 (eval "$ac_try") 2>&5
3000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001 (exit $ac_status); }; }; then
3004 if test "$cross_compiling" = maybe; then
3007 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3008 If you meant to cross compile, use \`--host'.
3009 See \`config.log' for more details." >&5
3010 $as_echo "$as_me: error: cannot run C compiled programs.
3011 If you meant to cross compile, use \`--host'.
3012 See \`config.log' for more details." >&2;}
3013 { (exit 1); exit 1; }; }
3017 { $as_echo "$as_me:$LINENO: result: yes" >&5
3018 $as_echo "yes" >&6; }
3020 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3021 ac_clean_files=$ac_clean_files_save
3022 # Check that the compiler produces executables we can run. If not, either
3023 # the compiler is broken, or we cross compile.
3024 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3025 $as_echo_n "checking whether we are cross compiling... " >&6; }
3026 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3027 $as_echo "$cross_compiling" >&6; }
3029 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3030 $as_echo_n "checking for suffix of executables... " >&6; }
3031 if { (ac_try="$ac_link"
3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3037 $as_echo "$ac_try_echo") >&5
3038 (eval "$ac_link") 2>&5
3040 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); }; then
3042 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3043 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3044 # work properly (i.e., refer to `conftest.exe'), while it won't with
3046 for ac_file in conftest.exe conftest conftest.*; do
3047 test -f "$ac_file" || continue
3049 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3050 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3056 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3057 See \`config.log' for more details." >&5
3058 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3059 See \`config.log' for more details." >&2;}
3060 { (exit 1); exit 1; }; }
3063 rm -f conftest$ac_cv_exeext
3064 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3065 $as_echo "$ac_cv_exeext" >&6; }
3067 rm -f conftest.$ac_ext
3068 EXEEXT=$ac_cv_exeext
3070 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3071 $as_echo_n "checking for suffix of object files... " >&6; }
3072 if test "${ac_cv_objext+set}" = set; then
3073 $as_echo_n "(cached) " >&6
3075 cat >conftest.$ac_ext <<_ACEOF
3078 cat confdefs.h >>conftest.$ac_ext
3079 cat >>conftest.$ac_ext <<_ACEOF
3080 /* end confdefs.h. */
3090 rm -f conftest.o conftest.obj
3091 if { (ac_try="$ac_compile"
3093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3094 *) ac_try_echo=$ac_try;;
3096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3097 $as_echo "$ac_try_echo") >&5
3098 (eval "$ac_compile") 2>&5
3100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); }; then
3102 for ac_file in conftest.o conftest.obj conftest.*; do
3103 test -f "$ac_file" || continue;
3105 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3106 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3111 $as_echo "$as_me: failed program was:" >&5
3112 sed 's/^/| /' conftest.$ac_ext >&5
3114 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3115 See \`config.log' for more details." >&5
3116 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3117 See \`config.log' for more details." >&2;}
3118 { (exit 1); exit 1; }; }
3121 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3123 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3124 $as_echo "$ac_cv_objext" >&6; }
3125 OBJEXT=$ac_cv_objext
3127 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3128 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3129 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3130 $as_echo_n "(cached) " >&6
3132 cat >conftest.$ac_ext <<_ACEOF
3135 cat confdefs.h >>conftest.$ac_ext
3136 cat >>conftest.$ac_ext <<_ACEOF
3137 /* end confdefs.h. */
3150 rm -f conftest.$ac_objext
3151 if { (ac_try="$ac_compile"
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3156 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3157 $as_echo "$ac_try_echo") >&5
3158 (eval "$ac_compile") 2>conftest.er1
3160 grep -v '^ *+' conftest.er1 >conftest.err
3162 cat conftest.err >&5
3163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } && {
3165 test -z "$ac_c_werror_flag" ||
3166 test ! -s conftest.err
3167 } && test -s conftest.$ac_objext; then
3170 $as_echo "$as_me: failed program was:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3180 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3181 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3182 if test $ac_compiler_gnu = yes; then
3187 ac_test_CFLAGS=${CFLAGS+set}
3188 ac_save_CFLAGS=$CFLAGS
3189 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3190 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3191 if test "${ac_cv_prog_cc_g+set}" = set; then
3192 $as_echo_n "(cached) " >&6
3194 ac_save_c_werror_flag=$ac_c_werror_flag
3195 ac_c_werror_flag=yes
3198 cat >conftest.$ac_ext <<_ACEOF
3201 cat confdefs.h >>conftest.$ac_ext
3202 cat >>conftest.$ac_ext <<_ACEOF
3203 /* end confdefs.h. */
3213 rm -f conftest.$ac_objext
3214 if { (ac_try="$ac_compile"
3216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217 *) ac_try_echo=$ac_try;;
3219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3220 $as_echo "$ac_try_echo") >&5
3221 (eval "$ac_compile") 2>conftest.er1
3223 grep -v '^ *+' conftest.er1 >conftest.err
3225 cat conftest.err >&5
3226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); } && {
3228 test -z "$ac_c_werror_flag" ||
3229 test ! -s conftest.err
3230 } && test -s conftest.$ac_objext; then
3233 $as_echo "$as_me: failed program was:" >&5
3234 sed 's/^/| /' conftest.$ac_ext >&5
3237 cat >conftest.$ac_ext <<_ACEOF
3240 cat confdefs.h >>conftest.$ac_ext
3241 cat >>conftest.$ac_ext <<_ACEOF
3242 /* end confdefs.h. */
3252 rm -f conftest.$ac_objext
3253 if { (ac_try="$ac_compile"
3255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3256 *) ac_try_echo=$ac_try;;
3258 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3259 $as_echo "$ac_try_echo") >&5
3260 (eval "$ac_compile") 2>conftest.er1
3262 grep -v '^ *+' conftest.er1 >conftest.err
3264 cat conftest.err >&5
3265 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); } && {
3267 test -z "$ac_c_werror_flag" ||
3268 test ! -s conftest.err
3269 } && test -s conftest.$ac_objext; then
3272 $as_echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.$ac_ext >&5
3275 ac_c_werror_flag=$ac_save_c_werror_flag
3277 cat >conftest.$ac_ext <<_ACEOF
3280 cat confdefs.h >>conftest.$ac_ext
3281 cat >>conftest.$ac_ext <<_ACEOF
3282 /* end confdefs.h. */
3292 rm -f conftest.$ac_objext
3293 if { (ac_try="$ac_compile"
3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3299 $as_echo "$ac_try_echo") >&5
3300 (eval "$ac_compile") 2>conftest.er1
3302 grep -v '^ *+' conftest.er1 >conftest.err
3304 cat conftest.err >&5
3305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); } && {
3307 test -z "$ac_c_werror_flag" ||
3308 test ! -s conftest.err
3309 } && test -s conftest.$ac_objext; then
3312 $as_echo "$as_me: failed program was:" >&5
3313 sed 's/^/| /' conftest.$ac_ext >&5
3318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3325 ac_c_werror_flag=$ac_save_c_werror_flag
3327 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3328 $as_echo "$ac_cv_prog_cc_g" >&6; }
3329 if test "$ac_test_CFLAGS" = set; then
3330 CFLAGS=$ac_save_CFLAGS
3331 elif test $ac_cv_prog_cc_g = yes; then
3332 if test "$GCC" = yes; then
3338 if test "$GCC" = yes; then
3344 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3345 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3346 if test "${ac_cv_prog_cc_c89+set}" = set; then
3347 $as_echo_n "(cached) " >&6
3349 ac_cv_prog_cc_c89=no
3351 cat >conftest.$ac_ext <<_ACEOF
3354 cat confdefs.h >>conftest.$ac_ext
3355 cat >>conftest.$ac_ext <<_ACEOF
3356 /* end confdefs.h. */
3359 #include <sys/types.h>
3360 #include <sys/stat.h>
3361 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3362 struct buf { int x; };
3363 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3364 static char *e (p, i)
3370 static char *f (char * (*g) (char **, int), char **p, ...)
3375 s = g (p, va_arg (v,int));
3380 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3381 function prototypes and stuff, but not '\xHH' hex character constants.
3382 These don't provoke an error unfortunately, instead are silently treated
3383 as 'x'. The following induces an error, until -std is added to get
3384 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3385 array size at least. It's necessary to write '\x00'==0 to get something
3386 that's true only with -std. */
3387 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3389 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3390 inside strings and character constants. */
3392 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3394 int test (int i, double x);
3395 struct s1 {int (*f) (int a);};
3396 struct s2 {int (*f) (double a);};
3397 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3403 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3408 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3409 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3411 CC="$ac_save_CC $ac_arg"
3412 rm -f conftest.$ac_objext
3413 if { (ac_try="$ac_compile"
3415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3416 *) ac_try_echo=$ac_try;;
3418 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3419 $as_echo "$ac_try_echo") >&5
3420 (eval "$ac_compile") 2>conftest.er1
3422 grep -v '^ *+' conftest.er1 >conftest.err
3424 cat conftest.err >&5
3425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); } && {
3427 test -z "$ac_c_werror_flag" ||
3428 test ! -s conftest.err
3429 } && test -s conftest.$ac_objext; then
3430 ac_cv_prog_cc_c89=$ac_arg
3432 $as_echo "$as_me: failed program was:" >&5
3433 sed 's/^/| /' conftest.$ac_ext >&5
3438 rm -f core conftest.err conftest.$ac_objext
3439 test "x$ac_cv_prog_cc_c89" != "xno" && break
3441 rm -f conftest.$ac_ext
3446 case "x$ac_cv_prog_cc_c89" in
3448 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3449 $as_echo "none needed" >&6; } ;;
3451 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3452 $as_echo "unsupported" >&6; } ;;
3454 CC="$CC $ac_cv_prog_cc_c89"
3455 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3456 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3461 ac_cpp='$CPP $CPPFLAGS'
3462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3466 depcc="$CC" am_compiler_list=
3468 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3469 $as_echo_n "checking dependency style of $depcc... " >&6; }
3470 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3471 $as_echo_n "(cached) " >&6
3473 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3474 # We make a subdir and do the tests there. Otherwise we can end up
3475 # making bogus files that we don't know about and never remove. For
3476 # instance it was reported that on HP-UX the gcc test will end up
3477 # making a dummy file named `D' -- because `-MD' means `put the output
3480 # Copy depcomp to subdir because otherwise we won't find it if we're
3481 # using a relative directory.
3482 cp "$am_depcomp" conftest.dir
3484 # We will build objects and dependencies in a subdirectory because
3485 # it helps to detect inapplicable dependency modes. For instance
3486 # both Tru64's cc and ICC support -MD to output dependencies as a
3487 # side effect of compilation, but ICC will put the dependencies in
3488 # the current directory while Tru64 will put them in the object
3492 am_cv_CC_dependencies_compiler_type=none
3493 if test "$am_compiler_list" = ""; then
3494 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3496 for depmode in $am_compiler_list; do
3497 # Setup a source with many dependencies, because some compilers
3498 # like to wrap large dependency lists on column 80 (with \), and
3499 # we should not choose a depcomp mode which is confused by this.
3501 # We need to recreate these files for each test, as the compiler may
3502 # overwrite some of them when testing with obscure command lines.
3503 # This happens at least with the AIX C compiler.
3505 for i in 1 2 3 4 5 6; do
3506 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3507 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3508 # Solaris 8's {/usr,}/bin/sh.
3509 touch sub/conftst$i.h
3511 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3515 # after this tag, mechanisms are not by side-effect, so they'll
3516 # only be used when explicitly requested
3517 if test "x$enable_dependency_tracking" = xyes; then
3525 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3526 # mode. It turns out that the SunPro C++ compiler does not properly
3527 # handle `-M -o', and we need to detect this.
3528 if depmode=$depmode \
3529 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3530 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3531 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3532 >/dev/null 2>conftest.err &&
3533 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3534 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3535 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3536 # icc doesn't choke on unknown options, it will just issue warnings
3537 # or remarks (even with -Werror). So we grep stderr for any message
3538 # that says an option was ignored or not supported.
3539 # When given -MP, icc 7.0 and 7.1 complain thusly:
3540 # icc: Command line warning: ignoring option '-M'; no argument required
3541 # The diagnosis changed in icc 8.0:
3542 # icc: Command line remark: option '-MP' not supported
3543 if (grep 'ignoring option' conftest.err ||
3544 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3545 am_cv_CC_dependencies_compiler_type=$depmode
3554 am_cv_CC_dependencies_compiler_type=none
3558 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3559 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3560 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3565 test "x$enable_dependency_tracking" != xno \
3566 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3568 am__fastdepCC_FALSE='#'
3570 am__fastdepCC_TRUE='#'
3571 am__fastdepCC_FALSE=
3577 { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3578 $as_echo_n "checking for strerror in -lcposix... " >&6; }
3579 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3580 $as_echo_n "(cached) " >&6
3582 ac_check_lib_save_LIBS=$LIBS
3583 LIBS="-lcposix $LIBS"
3584 cat >conftest.$ac_ext <<_ACEOF
3587 cat confdefs.h >>conftest.$ac_ext
3588 cat >>conftest.$ac_ext <<_ACEOF
3589 /* end confdefs.h. */
3591 /* Override any GCC internal prototype to avoid an error.
3592 Use char because int might match the return type of a GCC
3593 builtin and then its argument prototype would still apply. */
3606 rm -f conftest.$ac_objext conftest$ac_exeext
3607 if { (ac_try="$ac_link"
3609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3610 *) ac_try_echo=$ac_try;;
3612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3613 $as_echo "$ac_try_echo") >&5
3614 (eval "$ac_link") 2>conftest.er1
3616 grep -v '^ *+' conftest.er1 >conftest.err
3618 cat conftest.err >&5
3619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); } && {
3621 test -z "$ac_c_werror_flag" ||
3622 test ! -s conftest.err
3623 } && test -s conftest$ac_exeext && {
3624 test "$cross_compiling" = yes ||
3625 $as_test_x conftest$ac_exeext
3627 ac_cv_lib_cposix_strerror=yes
3629 $as_echo "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.$ac_ext >&5
3632 ac_cv_lib_cposix_strerror=no
3635 rm -rf conftest.dSYM
3636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3637 conftest$ac_exeext conftest.$ac_ext
3638 LIBS=$ac_check_lib_save_LIBS
3640 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3641 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
3642 if test $ac_cv_lib_cposix_strerror = yes; then
3643 LIBS="$LIBS -lcposix"
3649 ac_cpp='$CPP $CPPFLAGS'
3650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3653 if test -n "$ac_tool_prefix"; then
3654 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3655 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3656 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3657 $as_echo_n "checking for $ac_word... " >&6; }
3658 if test "${ac_cv_prog_CC+set}" = set; then
3659 $as_echo_n "(cached) " >&6
3661 if test -n "$CC"; then
3662 ac_cv_prog_CC="$CC" # Let the user override the test.
3664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3668 test -z "$as_dir" && as_dir=.
3669 for ac_exec_ext in '' $ac_executable_extensions; do
3670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3671 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3672 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3682 if test -n "$CC"; then
3683 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3684 $as_echo "$CC" >&6; }
3686 { $as_echo "$as_me:$LINENO: result: no" >&5
3687 $as_echo "no" >&6; }
3692 if test -z "$ac_cv_prog_CC"; then
3694 # Extract the first word of "gcc", so it can be a program name with args.
3695 set dummy gcc; ac_word=$2
3696 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3699 $as_echo_n "(cached) " >&6
3701 if test -n "$ac_ct_CC"; then
3702 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3708 test -z "$as_dir" && as_dir=.
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3711 ac_cv_prog_ac_ct_CC="gcc"
3712 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3722 if test -n "$ac_ct_CC"; then
3723 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3724 $as_echo "$ac_ct_CC" >&6; }
3726 { $as_echo "$as_me:$LINENO: result: no" >&5
3727 $as_echo "no" >&6; }
3730 if test "x$ac_ct_CC" = x; then
3733 case $cross_compiling:$ac_tool_warned in
3735 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3736 whose name does not start with the host triplet. If you think this
3737 configuration is useful to you, please write to autoconf@gnu.org." >&5
3738 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3739 whose name does not start with the host triplet. If you think this
3740 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3741 ac_tool_warned=yes ;;
3749 if test -z "$CC"; then
3750 if test -n "$ac_tool_prefix"; then
3751 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3752 set dummy ${ac_tool_prefix}cc; ac_word=$2
3753 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3754 $as_echo_n "checking for $ac_word... " >&6; }
3755 if test "${ac_cv_prog_CC+set}" = set; then
3756 $as_echo_n "(cached) " >&6
3758 if test -n "$CC"; then
3759 ac_cv_prog_CC="$CC" # Let the user override the test.
3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3765 test -z "$as_dir" && as_dir=.
3766 for ac_exec_ext in '' $ac_executable_extensions; do
3767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3768 ac_cv_prog_CC="${ac_tool_prefix}cc"
3769 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3779 if test -n "$CC"; then
3780 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3781 $as_echo "$CC" >&6; }
3783 { $as_echo "$as_me:$LINENO: result: no" >&5
3784 $as_echo "no" >&6; }
3790 if test -z "$CC"; then
3791 # Extract the first word of "cc", so it can be a program name with args.
3792 set dummy cc; ac_word=$2
3793 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3794 $as_echo_n "checking for $ac_word... " >&6; }
3795 if test "${ac_cv_prog_CC+set}" = set; then
3796 $as_echo_n "(cached) " >&6
3798 if test -n "$CC"; then
3799 ac_cv_prog_CC="$CC" # Let the user override the test.
3802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3806 test -z "$as_dir" && as_dir=.
3807 for ac_exec_ext in '' $ac_executable_extensions; do
3808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3809 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3810 ac_prog_rejected=yes
3814 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3821 if test $ac_prog_rejected = yes; then
3822 # We found a bogon in the path, so make sure we never use it.
3823 set dummy $ac_cv_prog_CC
3825 if test $# != 0; then
3826 # We chose a different compiler from the bogus one.
3827 # However, it has the same basename, so the bogon will be chosen
3828 # first if we set CC to just the basename; use the full file name.
3830 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3836 if test -n "$CC"; then
3837 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3838 $as_echo "$CC" >&6; }
3840 { $as_echo "$as_me:$LINENO: result: no" >&5
3841 $as_echo "no" >&6; }
3846 if test -z "$CC"; then
3847 if test -n "$ac_tool_prefix"; then
3848 for ac_prog in cl.exe
3850 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3851 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3852 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3853 $as_echo_n "checking for $ac_word... " >&6; }
3854 if test "${ac_cv_prog_CC+set}" = set; then
3855 $as_echo_n "(cached) " >&6
3857 if test -n "$CC"; then
3858 ac_cv_prog_CC="$CC" # Let the user override the test.
3860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3864 test -z "$as_dir" && as_dir=.
3865 for ac_exec_ext in '' $ac_executable_extensions; do
3866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3867 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3868 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3878 if test -n "$CC"; then
3879 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3880 $as_echo "$CC" >&6; }
3882 { $as_echo "$as_me:$LINENO: result: no" >&5
3883 $as_echo "no" >&6; }
3887 test -n "$CC" && break
3890 if test -z "$CC"; then
3892 for ac_prog in cl.exe
3894 # Extract the first word of "$ac_prog", so it can be a program name with args.
3895 set dummy $ac_prog; ac_word=$2
3896 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3897 $as_echo_n "checking for $ac_word... " >&6; }
3898 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3899 $as_echo_n "(cached) " >&6
3901 if test -n "$ac_ct_CC"; then
3902 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3908 test -z "$as_dir" && as_dir=.
3909 for ac_exec_ext in '' $ac_executable_extensions; do
3910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3911 ac_cv_prog_ac_ct_CC="$ac_prog"
3912 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3921 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3922 if test -n "$ac_ct_CC"; then
3923 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3924 $as_echo "$ac_ct_CC" >&6; }
3926 { $as_echo "$as_me:$LINENO: result: no" >&5
3927 $as_echo "no" >&6; }
3931 test -n "$ac_ct_CC" && break
3934 if test "x$ac_ct_CC" = x; then
3937 case $cross_compiling:$ac_tool_warned in
3939 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3940 whose name does not start with the host triplet. If you think this
3941 configuration is useful to you, please write to autoconf@gnu.org." >&5
3942 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3943 whose name does not start with the host triplet. If you think this
3944 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3945 ac_tool_warned=yes ;;
3954 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3955 See \`config.log' for more details." >&5
3956 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3957 See \`config.log' for more details." >&2;}
3958 { (exit 1); exit 1; }; }
3960 # Provide some information about the compiler.
3961 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3964 { (ac_try="$ac_compiler --version >&5"
3966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3967 *) ac_try_echo=$ac_try;;
3969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3970 $as_echo "$ac_try_echo") >&5
3971 (eval "$ac_compiler --version >&5") 2>&5
3973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); }
3975 { (ac_try="$ac_compiler -v >&5"
3977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3978 *) ac_try_echo=$ac_try;;
3980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3981 $as_echo "$ac_try_echo") >&5
3982 (eval "$ac_compiler -v >&5") 2>&5
3984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); }
3986 { (ac_try="$ac_compiler -V >&5"
3988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3989 *) ac_try_echo=$ac_try;;
3991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3992 $as_echo "$ac_try_echo") >&5
3993 (eval "$ac_compiler -V >&5") 2>&5
3995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); }
3998 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3999 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4000 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4001 $as_echo_n "(cached) " >&6
4003 cat >conftest.$ac_ext <<_ACEOF
4006 cat confdefs.h >>conftest.$ac_ext
4007 cat >>conftest.$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4021 rm -f conftest.$ac_objext
4022 if { (ac_try="$ac_compile"
4024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4025 *) ac_try_echo=$ac_try;;
4027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4028 $as_echo "$ac_try_echo") >&5
4029 (eval "$ac_compile") 2>conftest.er1
4031 grep -v '^ *+' conftest.er1 >conftest.err
4033 cat conftest.err >&5
4034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } && {
4036 test -z "$ac_c_werror_flag" ||
4037 test ! -s conftest.err
4038 } && test -s conftest.$ac_objext; then
4041 $as_echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4048 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4051 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4052 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4053 if test $ac_compiler_gnu = yes; then
4058 ac_test_CFLAGS=${CFLAGS+set}
4059 ac_save_CFLAGS=$CFLAGS
4060 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4061 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4062 if test "${ac_cv_prog_cc_g+set}" = set; then
4063 $as_echo_n "(cached) " >&6
4065 ac_save_c_werror_flag=$ac_c_werror_flag
4066 ac_c_werror_flag=yes
4069 cat >conftest.$ac_ext <<_ACEOF
4072 cat confdefs.h >>conftest.$ac_ext
4073 cat >>conftest.$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4084 rm -f conftest.$ac_objext
4085 if { (ac_try="$ac_compile"
4087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4090 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4091 $as_echo "$ac_try_echo") >&5
4092 (eval "$ac_compile") 2>conftest.er1
4094 grep -v '^ *+' conftest.er1 >conftest.err
4096 cat conftest.err >&5
4097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); } && {
4099 test -z "$ac_c_werror_flag" ||
4100 test ! -s conftest.err
4101 } && test -s conftest.$ac_objext; then
4104 $as_echo "$as_me: failed program was:" >&5
4105 sed 's/^/| /' conftest.$ac_ext >&5
4108 cat >conftest.$ac_ext <<_ACEOF
4111 cat confdefs.h >>conftest.$ac_ext
4112 cat >>conftest.$ac_ext <<_ACEOF
4113 /* end confdefs.h. */
4123 rm -f conftest.$ac_objext
4124 if { (ac_try="$ac_compile"
4126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4127 *) ac_try_echo=$ac_try;;
4129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4130 $as_echo "$ac_try_echo") >&5
4131 (eval "$ac_compile") 2>conftest.er1
4133 grep -v '^ *+' conftest.er1 >conftest.err
4135 cat conftest.err >&5
4136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } && {
4138 test -z "$ac_c_werror_flag" ||
4139 test ! -s conftest.err
4140 } && test -s conftest.$ac_objext; then
4143 $as_echo "$as_me: failed program was:" >&5
4144 sed 's/^/| /' conftest.$ac_ext >&5
4146 ac_c_werror_flag=$ac_save_c_werror_flag
4148 cat >conftest.$ac_ext <<_ACEOF
4151 cat confdefs.h >>conftest.$ac_ext
4152 cat >>conftest.$ac_ext <<_ACEOF
4153 /* end confdefs.h. */
4163 rm -f conftest.$ac_objext
4164 if { (ac_try="$ac_compile"
4166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4167 *) ac_try_echo=$ac_try;;
4169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4170 $as_echo "$ac_try_echo") >&5
4171 (eval "$ac_compile") 2>conftest.er1
4173 grep -v '^ *+' conftest.er1 >conftest.err
4175 cat conftest.err >&5
4176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); } && {
4178 test -z "$ac_c_werror_flag" ||
4179 test ! -s conftest.err
4180 } && test -s conftest.$ac_objext; then
4183 $as_echo "$as_me: failed program was:" >&5
4184 sed 's/^/| /' conftest.$ac_ext >&5
4189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4196 ac_c_werror_flag=$ac_save_c_werror_flag
4198 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4199 $as_echo "$ac_cv_prog_cc_g" >&6; }
4200 if test "$ac_test_CFLAGS" = set; then
4201 CFLAGS=$ac_save_CFLAGS
4202 elif test $ac_cv_prog_cc_g = yes; then
4203 if test "$GCC" = yes; then
4209 if test "$GCC" = yes; then
4215 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4216 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4217 if test "${ac_cv_prog_cc_c89+set}" = set; then
4218 $as_echo_n "(cached) " >&6
4220 ac_cv_prog_cc_c89=no
4222 cat >conftest.$ac_ext <<_ACEOF
4225 cat confdefs.h >>conftest.$ac_ext
4226 cat >>conftest.$ac_ext <<_ACEOF
4227 /* end confdefs.h. */
4230 #include <sys/types.h>
4231 #include <sys/stat.h>
4232 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4233 struct buf { int x; };
4234 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4235 static char *e (p, i)
4241 static char *f (char * (*g) (char **, int), char **p, ...)
4246 s = g (p, va_arg (v,int));
4251 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4252 function prototypes and stuff, but not '\xHH' hex character constants.
4253 These don't provoke an error unfortunately, instead are silently treated
4254 as 'x'. The following induces an error, until -std is added to get
4255 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4256 array size at least. It's necessary to write '\x00'==0 to get something
4257 that's true only with -std. */
4258 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4260 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4261 inside strings and character constants. */
4263 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4265 int test (int i, double x);
4266 struct s1 {int (*f) (int a);};
4267 struct s2 {int (*f) (double a);};
4268 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4274 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4279 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4280 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4282 CC="$ac_save_CC $ac_arg"
4283 rm -f conftest.$ac_objext
4284 if { (ac_try="$ac_compile"
4286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4287 *) ac_try_echo=$ac_try;;
4289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4290 $as_echo "$ac_try_echo") >&5
4291 (eval "$ac_compile") 2>conftest.er1
4293 grep -v '^ *+' conftest.er1 >conftest.err
4295 cat conftest.err >&5
4296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297 (exit $ac_status); } && {
4298 test -z "$ac_c_werror_flag" ||
4299 test ! -s conftest.err
4300 } && test -s conftest.$ac_objext; then
4301 ac_cv_prog_cc_c89=$ac_arg
4303 $as_echo "$as_me: failed program was:" >&5
4304 sed 's/^/| /' conftest.$ac_ext >&5
4309 rm -f core conftest.err conftest.$ac_objext
4310 test "x$ac_cv_prog_cc_c89" != "xno" && break
4312 rm -f conftest.$ac_ext
4317 case "x$ac_cv_prog_cc_c89" in
4319 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4320 $as_echo "none needed" >&6; } ;;
4322 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4323 $as_echo "unsupported" >&6; } ;;
4325 CC="$CC $ac_cv_prog_cc_c89"
4326 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4327 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4332 ac_cpp='$CPP $CPPFLAGS'
4333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4337 depcc="$CC" am_compiler_list=
4339 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4340 $as_echo_n "checking dependency style of $depcc... " >&6; }
4341 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4342 $as_echo_n "(cached) " >&6
4344 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4345 # We make a subdir and do the tests there. Otherwise we can end up
4346 # making bogus files that we don't know about and never remove. For
4347 # instance it was reported that on HP-UX the gcc test will end up
4348 # making a dummy file named `D' -- because `-MD' means `put the output
4351 # Copy depcomp to subdir because otherwise we won't find it if we're
4352 # using a relative directory.
4353 cp "$am_depcomp" conftest.dir
4355 # We will build objects and dependencies in a subdirectory because
4356 # it helps to detect inapplicable dependency modes. For instance
4357 # both Tru64's cc and ICC support -MD to output dependencies as a
4358 # side effect of compilation, but ICC will put the dependencies in
4359 # the current directory while Tru64 will put them in the object
4363 am_cv_CC_dependencies_compiler_type=none
4364 if test "$am_compiler_list" = ""; then
4365 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4367 for depmode in $am_compiler_list; do
4368 # Setup a source with many dependencies, because some compilers
4369 # like to wrap large dependency lists on column 80 (with \), and
4370 # we should not choose a depcomp mode which is confused by this.
4372 # We need to recreate these files for each test, as the compiler may
4373 # overwrite some of them when testing with obscure command lines.
4374 # This happens at least with the AIX C compiler.
4376 for i in 1 2 3 4 5 6; do
4377 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4378 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4379 # Solaris 8's {/usr,}/bin/sh.
4380 touch sub/conftst$i.h
4382 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4386 # after this tag, mechanisms are not by side-effect, so they'll
4387 # only be used when explicitly requested
4388 if test "x$enable_dependency_tracking" = xyes; then
4396 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4397 # mode. It turns out that the SunPro C++ compiler does not properly
4398 # handle `-M -o', and we need to detect this.
4399 if depmode=$depmode \
4400 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4401 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4402 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4403 >/dev/null 2>conftest.err &&
4404 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4405 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4406 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4407 # icc doesn't choke on unknown options, it will just issue warnings
4408 # or remarks (even with -Werror). So we grep stderr for any message
4409 # that says an option was ignored or not supported.
4410 # When given -MP, icc 7.0 and 7.1 complain thusly:
4411 # icc: Command line warning: ignoring option '-M'; no argument required
4412 # The diagnosis changed in icc 8.0:
4413 # icc: Command line remark: option '-MP' not supported
4414 if (grep 'ignoring option' conftest.err ||
4415 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4416 am_cv_CC_dependencies_compiler_type=$depmode
4425 am_cv_CC_dependencies_compiler_type=none
4429 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4430 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4431 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4436 test "x$enable_dependency_tracking" != xno \
4437 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4439 am__fastdepCC_FALSE='#'
4441 am__fastdepCC_TRUE='#'
4442 am__fastdepCC_FALSE=
4447 ac_cpp='$CPP $CPPFLAGS'
4448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4451 if test -n "$ac_tool_prefix"; then
4452 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4453 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4454 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4455 $as_echo_n "checking for $ac_word... " >&6; }
4456 if test "${ac_cv_prog_CC+set}" = set; then
4457 $as_echo_n "(cached) " >&6
4459 if test -n "$CC"; then
4460 ac_cv_prog_CC="$CC" # Let the user override the test.
4462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466 test -z "$as_dir" && as_dir=.
4467 for ac_exec_ext in '' $ac_executable_extensions; do
4468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4469 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4470 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4480 if test -n "$CC"; then
4481 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4482 $as_echo "$CC" >&6; }
4484 { $as_echo "$as_me:$LINENO: result: no" >&5
4485 $as_echo "no" >&6; }
4490 if test -z "$ac_cv_prog_CC"; then
4492 # Extract the first word of "gcc", so it can be a program name with args.
4493 set dummy gcc; ac_word=$2
4494 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4495 $as_echo_n "checking for $ac_word... " >&6; }
4496 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4497 $as_echo_n "(cached) " >&6
4499 if test -n "$ac_ct_CC"; then
4500 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4506 test -z "$as_dir" && as_dir=.
4507 for ac_exec_ext in '' $ac_executable_extensions; do
4508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4509 ac_cv_prog_ac_ct_CC="gcc"
4510 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4519 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4520 if test -n "$ac_ct_CC"; then
4521 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4522 $as_echo "$ac_ct_CC" >&6; }
4524 { $as_echo "$as_me:$LINENO: result: no" >&5
4525 $as_echo "no" >&6; }
4528 if test "x$ac_ct_CC" = x; then
4531 case $cross_compiling:$ac_tool_warned in
4533 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4534 whose name does not start with the host triplet. If you think this
4535 configuration is useful to you, please write to autoconf@gnu.org." >&5
4536 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4537 whose name does not start with the host triplet. If you think this
4538 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4539 ac_tool_warned=yes ;;
4547 if test -z "$CC"; then
4548 if test -n "$ac_tool_prefix"; then
4549 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4550 set dummy ${ac_tool_prefix}cc; ac_word=$2
4551 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4552 $as_echo_n "checking for $ac_word... " >&6; }
4553 if test "${ac_cv_prog_CC+set}" = set; then
4554 $as_echo_n "(cached) " >&6
4556 if test -n "$CC"; then
4557 ac_cv_prog_CC="$CC" # Let the user override the test.
4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4563 test -z "$as_dir" && as_dir=.
4564 for ac_exec_ext in '' $ac_executable_extensions; do
4565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4566 ac_cv_prog_CC="${ac_tool_prefix}cc"
4567 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4577 if test -n "$CC"; then
4578 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4579 $as_echo "$CC" >&6; }
4581 { $as_echo "$as_me:$LINENO: result: no" >&5
4582 $as_echo "no" >&6; }
4588 if test -z "$CC"; then
4589 # Extract the first word of "cc", so it can be a program name with args.
4590 set dummy cc; ac_word=$2
4591 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4592 $as_echo_n "checking for $ac_word... " >&6; }
4593 if test "${ac_cv_prog_CC+set}" = set; then
4594 $as_echo_n "(cached) " >&6
4596 if test -n "$CC"; then
4597 ac_cv_prog_CC="$CC" # Let the user override the test.
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4604 test -z "$as_dir" && as_dir=.
4605 for ac_exec_ext in '' $ac_executable_extensions; do
4606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4607 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4608 ac_prog_rejected=yes
4612 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4619 if test $ac_prog_rejected = yes; then
4620 # We found a bogon in the path, so make sure we never use it.
4621 set dummy $ac_cv_prog_CC
4623 if test $# != 0; then
4624 # We chose a different compiler from the bogus one.
4625 # However, it has the same basename, so the bogon will be chosen
4626 # first if we set CC to just the basename; use the full file name.
4628 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4634 if test -n "$CC"; then
4635 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4636 $as_echo "$CC" >&6; }
4638 { $as_echo "$as_me:$LINENO: result: no" >&5
4639 $as_echo "no" >&6; }
4644 if test -z "$CC"; then
4645 if test -n "$ac_tool_prefix"; then
4646 for ac_prog in cl.exe
4648 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4649 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4650 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4651 $as_echo_n "checking for $ac_word... " >&6; }
4652 if test "${ac_cv_prog_CC+set}" = set; then
4653 $as_echo_n "(cached) " >&6
4655 if test -n "$CC"; then
4656 ac_cv_prog_CC="$CC" # Let the user override the test.
4658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662 test -z "$as_dir" && as_dir=.
4663 for ac_exec_ext in '' $ac_executable_extensions; do
4664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4665 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4666 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 if test -n "$CC"; then
4677 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4678 $as_echo "$CC" >&6; }
4680 { $as_echo "$as_me:$LINENO: result: no" >&5
4681 $as_echo "no" >&6; }
4685 test -n "$CC" && break
4688 if test -z "$CC"; then
4690 for ac_prog in cl.exe
4692 # Extract the first word of "$ac_prog", so it can be a program name with args.
4693 set dummy $ac_prog; ac_word=$2
4694 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4695 $as_echo_n "checking for $ac_word... " >&6; }
4696 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4697 $as_echo_n "(cached) " >&6
4699 if test -n "$ac_ct_CC"; then
4700 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4706 test -z "$as_dir" && as_dir=.
4707 for ac_exec_ext in '' $ac_executable_extensions; do
4708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4709 ac_cv_prog_ac_ct_CC="$ac_prog"
4710 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4719 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4720 if test -n "$ac_ct_CC"; then
4721 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4722 $as_echo "$ac_ct_CC" >&6; }
4724 { $as_echo "$as_me:$LINENO: result: no" >&5
4725 $as_echo "no" >&6; }
4729 test -n "$ac_ct_CC" && break
4732 if test "x$ac_ct_CC" = x; then
4735 case $cross_compiling:$ac_tool_warned in
4737 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4738 whose name does not start with the host triplet. If you think this
4739 configuration is useful to you, please write to autoconf@gnu.org." >&5
4740 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4741 whose name does not start with the host triplet. If you think this
4742 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4743 ac_tool_warned=yes ;;
4752 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4753 See \`config.log' for more details." >&5
4754 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4755 See \`config.log' for more details." >&2;}
4756 { (exit 1); exit 1; }; }
4758 # Provide some information about the compiler.
4759 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4762 { (ac_try="$ac_compiler --version >&5"
4764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4765 *) ac_try_echo=$ac_try;;
4767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4768 $as_echo "$ac_try_echo") >&5
4769 (eval "$ac_compiler --version >&5") 2>&5
4771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); }
4773 { (ac_try="$ac_compiler -v >&5"
4775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4776 *) ac_try_echo=$ac_try;;
4778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4779 $as_echo "$ac_try_echo") >&5
4780 (eval "$ac_compiler -v >&5") 2>&5
4782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4783 (exit $ac_status); }
4784 { (ac_try="$ac_compiler -V >&5"
4786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4787 *) ac_try_echo=$ac_try;;
4789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4790 $as_echo "$ac_try_echo") >&5
4791 (eval "$ac_compiler -V >&5") 2>&5
4793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); }
4796 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4797 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4798 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4799 $as_echo_n "(cached) " >&6
4801 cat >conftest.$ac_ext <<_ACEOF
4804 cat confdefs.h >>conftest.$ac_ext
4805 cat >>conftest.$ac_ext <<_ACEOF
4806 /* end confdefs.h. */
4819 rm -f conftest.$ac_objext
4820 if { (ac_try="$ac_compile"
4822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4823 *) ac_try_echo=$ac_try;;
4825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4826 $as_echo "$ac_try_echo") >&5
4827 (eval "$ac_compile") 2>conftest.er1
4829 grep -v '^ *+' conftest.er1 >conftest.err
4831 cat conftest.err >&5
4832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); } && {
4834 test -z "$ac_c_werror_flag" ||
4835 test ! -s conftest.err
4836 } && test -s conftest.$ac_objext; then
4839 $as_echo "$as_me: failed program was:" >&5
4840 sed 's/^/| /' conftest.$ac_ext >&5
4845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4846 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4849 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4850 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4851 if test $ac_compiler_gnu = yes; then
4856 ac_test_CFLAGS=${CFLAGS+set}
4857 ac_save_CFLAGS=$CFLAGS
4858 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4859 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4860 if test "${ac_cv_prog_cc_g+set}" = set; then
4861 $as_echo_n "(cached) " >&6
4863 ac_save_c_werror_flag=$ac_c_werror_flag
4864 ac_c_werror_flag=yes
4867 cat >conftest.$ac_ext <<_ACEOF
4870 cat confdefs.h >>conftest.$ac_ext
4871 cat >>conftest.$ac_ext <<_ACEOF
4872 /* end confdefs.h. */
4882 rm -f conftest.$ac_objext
4883 if { (ac_try="$ac_compile"
4885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4886 *) ac_try_echo=$ac_try;;
4888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4889 $as_echo "$ac_try_echo") >&5
4890 (eval "$ac_compile") 2>conftest.er1
4892 grep -v '^ *+' conftest.er1 >conftest.err
4894 cat conftest.err >&5
4895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); } && {
4897 test -z "$ac_c_werror_flag" ||
4898 test ! -s conftest.err
4899 } && test -s conftest.$ac_objext; then
4902 $as_echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.$ac_ext >&5
4906 cat >conftest.$ac_ext <<_ACEOF
4909 cat confdefs.h >>conftest.$ac_ext
4910 cat >>conftest.$ac_ext <<_ACEOF
4911 /* end confdefs.h. */
4921 rm -f conftest.$ac_objext
4922 if { (ac_try="$ac_compile"
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4928 $as_echo "$ac_try_echo") >&5
4929 (eval "$ac_compile") 2>conftest.er1
4931 grep -v '^ *+' conftest.er1 >conftest.err
4933 cat conftest.err >&5
4934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } && {
4936 test -z "$ac_c_werror_flag" ||
4937 test ! -s conftest.err
4938 } && test -s conftest.$ac_objext; then
4941 $as_echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.$ac_ext >&5
4944 ac_c_werror_flag=$ac_save_c_werror_flag
4946 cat >conftest.$ac_ext <<_ACEOF
4949 cat confdefs.h >>conftest.$ac_ext
4950 cat >>conftest.$ac_ext <<_ACEOF
4951 /* end confdefs.h. */
4961 rm -f conftest.$ac_objext
4962 if { (ac_try="$ac_compile"
4964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4965 *) ac_try_echo=$ac_try;;
4967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4968 $as_echo "$ac_try_echo") >&5
4969 (eval "$ac_compile") 2>conftest.er1
4971 grep -v '^ *+' conftest.er1 >conftest.err
4973 cat conftest.err >&5
4974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); } && {
4976 test -z "$ac_c_werror_flag" ||
4977 test ! -s conftest.err
4978 } && test -s conftest.$ac_objext; then
4981 $as_echo "$as_me: failed program was:" >&5
4982 sed 's/^/| /' conftest.$ac_ext >&5
4987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4994 ac_c_werror_flag=$ac_save_c_werror_flag
4996 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4997 $as_echo "$ac_cv_prog_cc_g" >&6; }
4998 if test "$ac_test_CFLAGS" = set; then
4999 CFLAGS=$ac_save_CFLAGS
5000 elif test $ac_cv_prog_cc_g = yes; then
5001 if test "$GCC" = yes; then
5007 if test "$GCC" = yes; then
5013 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5014 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5015 if test "${ac_cv_prog_cc_c89+set}" = set; then
5016 $as_echo_n "(cached) " >&6
5018 ac_cv_prog_cc_c89=no
5020 cat >conftest.$ac_ext <<_ACEOF
5023 cat confdefs.h >>conftest.$ac_ext
5024 cat >>conftest.$ac_ext <<_ACEOF
5025 /* end confdefs.h. */
5028 #include <sys/types.h>
5029 #include <sys/stat.h>
5030 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5031 struct buf { int x; };
5032 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5033 static char *e (p, i)
5039 static char *f (char * (*g) (char **, int), char **p, ...)
5044 s = g (p, va_arg (v,int));
5049 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5050 function prototypes and stuff, but not '\xHH' hex character constants.
5051 These don't provoke an error unfortunately, instead are silently treated
5052 as 'x'. The following induces an error, until -std is added to get
5053 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5054 array size at least. It's necessary to write '\x00'==0 to get something
5055 that's true only with -std. */
5056 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5058 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5059 inside strings and character constants. */
5061 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5063 int test (int i, double x);
5064 struct s1 {int (*f) (int a);};
5065 struct s2 {int (*f) (double a);};
5066 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5072 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5077 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5078 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5080 CC="$ac_save_CC $ac_arg"
5081 rm -f conftest.$ac_objext
5082 if { (ac_try="$ac_compile"
5084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5085 *) ac_try_echo=$ac_try;;
5087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5088 $as_echo "$ac_try_echo") >&5
5089 (eval "$ac_compile") 2>conftest.er1
5091 grep -v '^ *+' conftest.er1 >conftest.err
5093 cat conftest.err >&5
5094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095 (exit $ac_status); } && {
5096 test -z "$ac_c_werror_flag" ||
5097 test ! -s conftest.err
5098 } && test -s conftest.$ac_objext; then
5099 ac_cv_prog_cc_c89=$ac_arg
5101 $as_echo "$as_me: failed program was:" >&5
5102 sed 's/^/| /' conftest.$ac_ext >&5
5107 rm -f core conftest.err conftest.$ac_objext
5108 test "x$ac_cv_prog_cc_c89" != "xno" && break
5110 rm -f conftest.$ac_ext
5115 case "x$ac_cv_prog_cc_c89" in
5117 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5118 $as_echo "none needed" >&6; } ;;
5120 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5121 $as_echo "unsupported" >&6; } ;;
5123 CC="$CC $ac_cv_prog_cc_c89"
5124 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5125 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5130 ac_cpp='$CPP $CPPFLAGS'
5131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5135 depcc="$CC" am_compiler_list=
5137 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5138 $as_echo_n "checking dependency style of $depcc... " >&6; }
5139 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5140 $as_echo_n "(cached) " >&6
5142 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5143 # We make a subdir and do the tests there. Otherwise we can end up
5144 # making bogus files that we don't know about and never remove. For
5145 # instance it was reported that on HP-UX the gcc test will end up
5146 # making a dummy file named `D' -- because `-MD' means `put the output
5149 # Copy depcomp to subdir because otherwise we won't find it if we're
5150 # using a relative directory.
5151 cp "$am_depcomp" conftest.dir
5153 # We will build objects and dependencies in a subdirectory because
5154 # it helps to detect inapplicable dependency modes. For instance
5155 # both Tru64's cc and ICC support -MD to output dependencies as a
5156 # side effect of compilation, but ICC will put the dependencies in
5157 # the current directory while Tru64 will put them in the object
5161 am_cv_CC_dependencies_compiler_type=none
5162 if test "$am_compiler_list" = ""; then
5163 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5165 for depmode in $am_compiler_list; do
5166 # Setup a source with many dependencies, because some compilers
5167 # like to wrap large dependency lists on column 80 (with \), and
5168 # we should not choose a depcomp mode which is confused by this.
5170 # We need to recreate these files for each test, as the compiler may
5171 # overwrite some of them when testing with obscure command lines.
5172 # This happens at least with the AIX C compiler.
5174 for i in 1 2 3 4 5 6; do
5175 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5176 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5177 # Solaris 8's {/usr,}/bin/sh.
5178 touch sub/conftst$i.h
5180 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5184 # after this tag, mechanisms are not by side-effect, so they'll
5185 # only be used when explicitly requested
5186 if test "x$enable_dependency_tracking" = xyes; then
5194 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5195 # mode. It turns out that the SunPro C++ compiler does not properly
5196 # handle `-M -o', and we need to detect this.
5197 if depmode=$depmode \
5198 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5199 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5200 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5201 >/dev/null 2>conftest.err &&
5202 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5203 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5204 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5205 # icc doesn't choke on unknown options, it will just issue warnings
5206 # or remarks (even with -Werror). So we grep stderr for any message
5207 # that says an option was ignored or not supported.
5208 # When given -MP, icc 7.0 and 7.1 complain thusly:
5209 # icc: Command line warning: ignoring option '-M'; no argument required
5210 # The diagnosis changed in icc 8.0:
5211 # icc: Command line remark: option '-MP' not supported
5212 if (grep 'ignoring option' conftest.err ||
5213 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5214 am_cv_CC_dependencies_compiler_type=$depmode
5223 am_cv_CC_dependencies_compiler_type=none
5227 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5228 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5229 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5234 test "x$enable_dependency_tracking" != xno \
5235 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5237 am__fastdepCC_FALSE='#'
5239 am__fastdepCC_TRUE='#'
5240 am__fastdepCC_FALSE=
5245 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5248 ac_cpp='$OBJCPP $CPPFLAGS'
5249 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5250 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5251 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
5252 if test -n "$ac_tool_prefix"; then
5253 for ac_prog in gcc objcc objc cc CC
5255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5257 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5258 $as_echo_n "checking for $ac_word... " >&6; }
5259 if test "${ac_cv_prog_OBJC+set}" = set; then
5260 $as_echo_n "(cached) " >&6
5262 if test -n "$OBJC"; then
5263 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
5265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 test -z "$as_dir" && as_dir=.
5270 for ac_exec_ext in '' $ac_executable_extensions; do
5271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5272 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
5273 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 OBJC=$ac_cv_prog_OBJC
5283 if test -n "$OBJC"; then
5284 { $as_echo "$as_me:$LINENO: result: $OBJC" >&5
5285 $as_echo "$OBJC" >&6; }
5287 { $as_echo "$as_me:$LINENO: result: no" >&5
5288 $as_echo "no" >&6; }
5292 test -n "$OBJC" && break
5295 if test -z "$OBJC"; then
5297 for ac_prog in gcc objcc objc cc CC
5299 # Extract the first word of "$ac_prog", so it can be a program name with args.
5300 set dummy $ac_prog; ac_word=$2
5301 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5302 $as_echo_n "checking for $ac_word... " >&6; }
5303 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
5304 $as_echo_n "(cached) " >&6
5306 if test -n "$ac_ct_OBJC"; then
5307 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5313 test -z "$as_dir" && as_dir=.
5314 for ac_exec_ext in '' $ac_executable_extensions; do
5315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5316 ac_cv_prog_ac_ct_OBJC="$ac_prog"
5317 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
5327 if test -n "$ac_ct_OBJC"; then
5328 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
5329 $as_echo "$ac_ct_OBJC" >&6; }
5331 { $as_echo "$as_me:$LINENO: result: no" >&5
5332 $as_echo "no" >&6; }
5336 test -n "$ac_ct_OBJC" && break
5339 if test "x$ac_ct_OBJC" = x; then
5342 case $cross_compiling:$ac_tool_warned in
5344 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5345 whose name does not start with the host triplet. If you think this
5346 configuration is useful to you, please write to autoconf@gnu.org." >&5
5347 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5348 whose name does not start with the host triplet. If you think this
5349 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5350 ac_tool_warned=yes ;;
5356 # Provide some information about the compiler.
5357 $as_echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
5360 { (ac_try="$ac_compiler --version >&5"
5362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5363 *) ac_try_echo=$ac_try;;
5365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5366 $as_echo "$ac_try_echo") >&5
5367 (eval "$ac_compiler --version >&5") 2>&5
5369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); }
5371 { (ac_try="$ac_compiler -v >&5"
5373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5374 *) ac_try_echo=$ac_try;;
5376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5377 $as_echo "$ac_try_echo") >&5
5378 (eval "$ac_compiler -v >&5") 2>&5
5380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); }
5382 { (ac_try="$ac_compiler -V >&5"
5384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5385 *) ac_try_echo=$ac_try;;
5387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5388 $as_echo "$ac_try_echo") >&5
5389 (eval "$ac_compiler -V >&5") 2>&5
5391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392 (exit $ac_status); }
5394 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
5395 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
5396 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
5397 $as_echo_n "(cached) " >&6
5399 cat >conftest.$ac_ext <<_ACEOF
5402 cat confdefs.h >>conftest.$ac_ext
5403 cat >>conftest.$ac_ext <<_ACEOF
5404 /* end confdefs.h. */
5417 rm -f conftest.$ac_objext
5418 if { (ac_try="$ac_compile"
5420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5421 *) ac_try_echo=$ac_try;;
5423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5424 $as_echo "$ac_try_echo") >&5
5425 (eval "$ac_compile") 2>conftest.er1
5427 grep -v '^ *+' conftest.er1 >conftest.err
5429 cat conftest.err >&5
5430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431 (exit $ac_status); } && {
5432 test -z "$ac_objc_werror_flag" ||
5433 test ! -s conftest.err
5434 } && test -s conftest.$ac_objext; then
5437 $as_echo "$as_me: failed program was:" >&5
5438 sed 's/^/| /' conftest.$ac_ext >&5
5443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5444 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
5447 { $as_echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
5448 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
5449 if test $ac_compiler_gnu = yes; then
5454 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
5455 ac_save_OBJCFLAGS=$OBJCFLAGS
5456 { $as_echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
5457 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
5458 if test "${ac_cv_prog_objc_g+set}" = set; then
5459 $as_echo_n "(cached) " >&6
5461 ac_save_objc_werror_flag=$ac_objc_werror_flag
5462 ac_objc_werror_flag=yes
5463 ac_cv_prog_objc_g=no
5465 cat >conftest.$ac_ext <<_ACEOF
5468 cat confdefs.h >>conftest.$ac_ext
5469 cat >>conftest.$ac_ext <<_ACEOF
5470 /* end confdefs.h. */
5480 rm -f conftest.$ac_objext
5481 if { (ac_try="$ac_compile"
5483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5484 *) ac_try_echo=$ac_try;;
5486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5487 $as_echo "$ac_try_echo") >&5
5488 (eval "$ac_compile") 2>conftest.er1
5490 grep -v '^ *+' conftest.er1 >conftest.err
5492 cat conftest.err >&5
5493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 (exit $ac_status); } && {
5495 test -z "$ac_objc_werror_flag" ||
5496 test ! -s conftest.err
5497 } && test -s conftest.$ac_objext; then
5498 ac_cv_prog_objc_g=yes
5500 $as_echo "$as_me: failed program was:" >&5
5501 sed 's/^/| /' conftest.$ac_ext >&5
5504 cat >conftest.$ac_ext <<_ACEOF
5507 cat confdefs.h >>conftest.$ac_ext
5508 cat >>conftest.$ac_ext <<_ACEOF
5509 /* end confdefs.h. */
5519 rm -f conftest.$ac_objext
5520 if { (ac_try="$ac_compile"
5522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5523 *) ac_try_echo=$ac_try;;
5525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5526 $as_echo "$ac_try_echo") >&5
5527 (eval "$ac_compile") 2>conftest.er1
5529 grep -v '^ *+' conftest.er1 >conftest.err
5531 cat conftest.err >&5
5532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533 (exit $ac_status); } && {
5534 test -z "$ac_objc_werror_flag" ||
5535 test ! -s conftest.err
5536 } && test -s conftest.$ac_objext; then
5539 $as_echo "$as_me: failed program was:" >&5
5540 sed 's/^/| /' conftest.$ac_ext >&5
5542 ac_objc_werror_flag=$ac_save_objc_werror_flag
5544 cat >conftest.$ac_ext <<_ACEOF
5547 cat confdefs.h >>conftest.$ac_ext
5548 cat >>conftest.$ac_ext <<_ACEOF
5549 /* end confdefs.h. */
5559 rm -f conftest.$ac_objext
5560 if { (ac_try="$ac_compile"
5562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5563 *) ac_try_echo=$ac_try;;
5565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5566 $as_echo "$ac_try_echo") >&5
5567 (eval "$ac_compile") 2>conftest.er1
5569 grep -v '^ *+' conftest.er1 >conftest.err
5571 cat conftest.err >&5
5572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); } && {
5574 test -z "$ac_objc_werror_flag" ||
5575 test ! -s conftest.err
5576 } && test -s conftest.$ac_objext; then
5577 ac_cv_prog_objc_g=yes
5579 $as_echo "$as_me: failed program was:" >&5
5580 sed 's/^/| /' conftest.$ac_ext >&5
5585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5592 ac_objc_werror_flag=$ac_save_objc_werror_flag
5594 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
5595 $as_echo "$ac_cv_prog_objc_g" >&6; }
5596 if test "$ac_test_OBJCFLAGS" = set; then
5597 OBJCFLAGS=$ac_save_OBJCFLAGS
5598 elif test $ac_cv_prog_objc_g = yes; then
5599 if test "$GOBJC" = yes; then
5605 if test "$GOBJC" = yes; then
5612 ac_cpp='$CPP $CPPFLAGS'
5613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5617 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5618 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5619 if test "${ac_cv_path_SED+set}" = set; then
5620 $as_echo_n "(cached) " >&6
5622 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5623 for ac_i in 1 2 3 4 5 6 7; do
5624 ac_script="$ac_script$as_nl$ac_script"
5626 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5627 $as_unset ac_script || ac_script=
5628 if test -z "$SED"; then
5629 ac_path_SED_found=false
5630 # Loop through the user's path and test for each of PROGNAME-LIST
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5635 test -z "$as_dir" && as_dir=.
5636 for ac_prog in sed gsed; do
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5639 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5640 # Check for GNU ac_path_SED and select it if it is found.
5641 # Check for GNU $ac_path_SED
5642 case `"$ac_path_SED" --version 2>&1` in
5644 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5647 $as_echo_n 0123456789 >"conftest.in"
5650 cat "conftest.in" "conftest.in" >"conftest.tmp"
5651 mv "conftest.tmp" "conftest.in"
5652 cp "conftest.in" "conftest.nl"
5653 $as_echo '' >> "conftest.nl"
5654 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5655 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5656 ac_count=`expr $ac_count + 1`
5657 if test $ac_count -gt ${ac_path_SED_max-0}; then
5658 # Best one so far, save it but keep looking for a better one
5659 ac_cv_path_SED="$ac_path_SED"
5660 ac_path_SED_max=$ac_count
5662 # 10*(2^10) chars as input seems more than enough
5663 test $ac_count -gt 10 && break
5665 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5668 $ac_path_SED_found && break 3
5673 if test -z "$ac_cv_path_SED"; then
5674 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
5675 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
5676 { (exit 1); exit 1; }; }
5683 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5684 $as_echo "$ac_cv_path_SED" >&6; }
5685 SED="$ac_cv_path_SED"
5688 # By default we simply use the C compiler to build assembly code.
5690 test "${CCAS+set}" = set || CCAS=$CC
5691 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
5696 ac_cpp='$CPP $CPPFLAGS'
5697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5700 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5701 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5702 # On Suns, sometimes $CPP names a directory.
5703 if test -n "$CPP" && test -d "$CPP"; then
5706 if test -z "$CPP"; then
5707 if test "${ac_cv_prog_CPP+set}" = set; then
5708 $as_echo_n "(cached) " >&6
5710 # Double quotes because CPP needs to be expanded
5711 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5714 for ac_c_preproc_warn_flag in '' yes
5716 # Use a header file that comes with gcc, so configuring glibc
5717 # with a fresh cross-compiler works.
5718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5719 # <limits.h> exists even on freestanding compilers.
5720 # On the NeXT, cc -E runs the code through the compiler's parser,
5721 # not just through cpp. "Syntax error" is here to catch this case.
5722 cat >conftest.$ac_ext <<_ACEOF
5725 cat confdefs.h >>conftest.$ac_ext
5726 cat >>conftest.$ac_ext <<_ACEOF
5727 /* end confdefs.h. */
5729 # include <limits.h>
5731 # include <assert.h>
5735 if { (ac_try="$ac_cpp conftest.$ac_ext"
5737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5738 *) ac_try_echo=$ac_try;;
5740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5741 $as_echo "$ac_try_echo") >&5
5742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5744 grep -v '^ *+' conftest.er1 >conftest.err
5746 cat conftest.err >&5
5747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); } >/dev/null && {
5749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5750 test ! -s conftest.err
5754 $as_echo "$as_me: failed program was:" >&5
5755 sed 's/^/| /' conftest.$ac_ext >&5
5757 # Broken: fails on valid input.
5761 rm -f conftest.err conftest.$ac_ext
5763 # OK, works on sane cases. Now check whether nonexistent headers
5764 # can be detected and how.
5765 cat >conftest.$ac_ext <<_ACEOF
5768 cat confdefs.h >>conftest.$ac_ext
5769 cat >>conftest.$ac_ext <<_ACEOF
5770 /* end confdefs.h. */
5771 #include <ac_nonexistent.h>
5773 if { (ac_try="$ac_cpp conftest.$ac_ext"
5775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5776 *) ac_try_echo=$ac_try;;
5778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5779 $as_echo "$ac_try_echo") >&5
5780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5782 grep -v '^ *+' conftest.er1 >conftest.err
5784 cat conftest.err >&5
5785 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); } >/dev/null && {
5787 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5788 test ! -s conftest.err
5790 # Broken: success on invalid input.
5793 $as_echo "$as_me: failed program was:" >&5
5794 sed 's/^/| /' conftest.$ac_ext >&5
5796 # Passes both tests.
5801 rm -f conftest.err conftest.$ac_ext
5804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5805 rm -f conftest.err conftest.$ac_ext
5806 if $ac_preproc_ok; then
5818 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5819 $as_echo "$CPP" >&6; }
5821 for ac_c_preproc_warn_flag in '' yes
5823 # Use a header file that comes with gcc, so configuring glibc
5824 # with a fresh cross-compiler works.
5825 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5826 # <limits.h> exists even on freestanding compilers.
5827 # On the NeXT, cc -E runs the code through the compiler's parser,
5828 # not just through cpp. "Syntax error" is here to catch this case.
5829 cat >conftest.$ac_ext <<_ACEOF
5832 cat confdefs.h >>conftest.$ac_ext
5833 cat >>conftest.$ac_ext <<_ACEOF
5834 /* end confdefs.h. */
5836 # include <limits.h>
5838 # include <assert.h>
5842 if { (ac_try="$ac_cpp conftest.$ac_ext"
5844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5845 *) ac_try_echo=$ac_try;;
5847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5848 $as_echo "$ac_try_echo") >&5
5849 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5851 grep -v '^ *+' conftest.er1 >conftest.err
5853 cat conftest.err >&5
5854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855 (exit $ac_status); } >/dev/null && {
5856 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5857 test ! -s conftest.err
5861 $as_echo "$as_me: failed program was:" >&5
5862 sed 's/^/| /' conftest.$ac_ext >&5
5864 # Broken: fails on valid input.
5868 rm -f conftest.err conftest.$ac_ext
5870 # OK, works on sane cases. Now check whether nonexistent headers
5871 # can be detected and how.
5872 cat >conftest.$ac_ext <<_ACEOF
5875 cat confdefs.h >>conftest.$ac_ext
5876 cat >>conftest.$ac_ext <<_ACEOF
5877 /* end confdefs.h. */
5878 #include <ac_nonexistent.h>
5880 if { (ac_try="$ac_cpp conftest.$ac_ext"
5882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5883 *) ac_try_echo=$ac_try;;
5885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5886 $as_echo "$ac_try_echo") >&5
5887 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5889 grep -v '^ *+' conftest.er1 >conftest.err
5891 cat conftest.err >&5
5892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5893 (exit $ac_status); } >/dev/null && {
5894 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5895 test ! -s conftest.err
5897 # Broken: success on invalid input.
5900 $as_echo "$as_me: failed program was:" >&5
5901 sed 's/^/| /' conftest.$ac_ext >&5
5903 # Passes both tests.
5908 rm -f conftest.err conftest.$ac_ext
5911 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5912 rm -f conftest.err conftest.$ac_ext
5913 if $ac_preproc_ok; then
5916 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5917 See \`config.log' for more details." >&5
5918 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5919 See \`config.log' for more details." >&2;}
5920 { (exit 1); exit 1; }; }
5924 ac_cpp='$CPP $CPPFLAGS'
5925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5930 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5931 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5932 if test "${ac_cv_path_GREP+set}" = set; then
5933 $as_echo_n "(cached) " >&6
5935 if test -z "$GREP"; then
5936 ac_path_GREP_found=false
5937 # Loop through the user's path and test for each of PROGNAME-LIST
5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5942 test -z "$as_dir" && as_dir=.
5943 for ac_prog in grep ggrep; do
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5946 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5947 # Check for GNU ac_path_GREP and select it if it is found.
5948 # Check for GNU $ac_path_GREP
5949 case `"$ac_path_GREP" --version 2>&1` in
5951 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5954 $as_echo_n 0123456789 >"conftest.in"
5957 cat "conftest.in" "conftest.in" >"conftest.tmp"
5958 mv "conftest.tmp" "conftest.in"
5959 cp "conftest.in" "conftest.nl"
5960 $as_echo 'GREP' >> "conftest.nl"
5961 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5962 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5963 ac_count=`expr $ac_count + 1`
5964 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5965 # Best one so far, save it but keep looking for a better one
5966 ac_cv_path_GREP="$ac_path_GREP"
5967 ac_path_GREP_max=$ac_count
5969 # 10*(2^10) chars as input seems more than enough
5970 test $ac_count -gt 10 && break
5972 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5975 $ac_path_GREP_found && break 3
5980 if test -z "$ac_cv_path_GREP"; then
5981 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5982 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5983 { (exit 1); exit 1; }; }
5986 ac_cv_path_GREP=$GREP
5990 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5991 $as_echo "$ac_cv_path_GREP" >&6; }
5992 GREP="$ac_cv_path_GREP"
5995 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5996 $as_echo_n "checking for egrep... " >&6; }
5997 if test "${ac_cv_path_EGREP+set}" = set; then
5998 $as_echo_n "(cached) " >&6
6000 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6001 then ac_cv_path_EGREP="$GREP -E"
6003 if test -z "$EGREP"; then
6004 ac_path_EGREP_found=false
6005 # Loop through the user's path and test for each of PROGNAME-LIST
6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6010 test -z "$as_dir" && as_dir=.
6011 for ac_prog in egrep; do
6012 for ac_exec_ext in '' $ac_executable_extensions; do
6013 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6014 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6015 # Check for GNU ac_path_EGREP and select it if it is found.
6016 # Check for GNU $ac_path_EGREP
6017 case `"$ac_path_EGREP" --version 2>&1` in
6019 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6022 $as_echo_n 0123456789 >"conftest.in"
6025 cat "conftest.in" "conftest.in" >"conftest.tmp"
6026 mv "conftest.tmp" "conftest.in"
6027 cp "conftest.in" "conftest.nl"
6028 $as_echo 'EGREP' >> "conftest.nl"
6029 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6030 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6031 ac_count=`expr $ac_count + 1`
6032 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6033 # Best one so far, save it but keep looking for a better one
6034 ac_cv_path_EGREP="$ac_path_EGREP"
6035 ac_path_EGREP_max=$ac_count
6037 # 10*(2^10) chars as input seems more than enough
6038 test $ac_count -gt 10 && break
6040 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6043 $ac_path_EGREP_found && break 3
6048 if test -z "$ac_cv_path_EGREP"; then
6049 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6050 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6051 { (exit 1); exit 1; }; }
6054 ac_cv_path_EGREP=$EGREP
6059 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6060 $as_echo "$ac_cv_path_EGREP" >&6; }
6061 EGREP="$ac_cv_path_EGREP"
6064 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6065 $as_echo_n "checking for ANSI C header files... " >&6; }
6066 if test "${ac_cv_header_stdc+set}" = set; then
6067 $as_echo_n "(cached) " >&6
6069 cat >conftest.$ac_ext <<_ACEOF
6072 cat confdefs.h >>conftest.$ac_ext
6073 cat >>conftest.$ac_ext <<_ACEOF
6074 /* end confdefs.h. */
6088 rm -f conftest.$ac_objext
6089 if { (ac_try="$ac_compile"
6091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6092 *) ac_try_echo=$ac_try;;
6094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6095 $as_echo "$ac_try_echo") >&5
6096 (eval "$ac_compile") 2>conftest.er1
6098 grep -v '^ *+' conftest.er1 >conftest.err
6100 cat conftest.err >&5
6101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102 (exit $ac_status); } && {
6103 test -z "$ac_c_werror_flag" ||
6104 test ! -s conftest.err
6105 } && test -s conftest.$ac_objext; then
6106 ac_cv_header_stdc=yes
6108 $as_echo "$as_me: failed program was:" >&5
6109 sed 's/^/| /' conftest.$ac_ext >&5
6111 ac_cv_header_stdc=no
6114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6116 if test $ac_cv_header_stdc = yes; then
6117 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6118 cat >conftest.$ac_ext <<_ACEOF
6121 cat confdefs.h >>conftest.$ac_ext
6122 cat >>conftest.$ac_ext <<_ACEOF
6123 /* end confdefs.h. */
6127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6128 $EGREP "memchr" >/dev/null 2>&1; then
6131 ac_cv_header_stdc=no
6137 if test $ac_cv_header_stdc = yes; then
6138 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6139 cat >conftest.$ac_ext <<_ACEOF
6142 cat confdefs.h >>conftest.$ac_ext
6143 cat >>conftest.$ac_ext <<_ACEOF
6144 /* end confdefs.h. */
6148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6149 $EGREP "free" >/dev/null 2>&1; then
6152 ac_cv_header_stdc=no
6158 if test $ac_cv_header_stdc = yes; then
6159 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6160 if test "$cross_compiling" = yes; then
6163 cat >conftest.$ac_ext <<_ACEOF
6166 cat confdefs.h >>conftest.$ac_ext
6167 cat >>conftest.$ac_ext <<_ACEOF
6168 /* end confdefs.h. */
6171 #if ((' ' & 0x0FF) == 0x020)
6172 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6173 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6175 # define ISLOWER(c) \
6176 (('a' <= (c) && (c) <= 'i') \
6177 || ('j' <= (c) && (c) <= 'r') \
6178 || ('s' <= (c) && (c) <= 'z'))
6179 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6182 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6187 for (i = 0; i < 256; i++)
6188 if (XOR (islower (i), ISLOWER (i))
6189 || toupper (i) != TOUPPER (i))
6194 rm -f conftest$ac_exeext
6195 if { (ac_try="$ac_link"
6197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6198 *) ac_try_echo=$ac_try;;
6200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6201 $as_echo "$ac_try_echo") >&5
6202 (eval "$ac_link") 2>&5
6204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6206 { (case "(($ac_try" in
6207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6208 *) ac_try_echo=$ac_try;;
6210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6211 $as_echo "$ac_try_echo") >&5
6212 (eval "$ac_try") 2>&5
6214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); }; }; then
6218 $as_echo "$as_me: program exited with status $ac_status" >&5
6219 $as_echo "$as_me: failed program was:" >&5
6220 sed 's/^/| /' conftest.$ac_ext >&5
6223 ac_cv_header_stdc=no
6225 rm -rf conftest.dSYM
6226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6232 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6233 $as_echo "$ac_cv_header_stdc" >&6; }
6234 if test $ac_cv_header_stdc = yes; then
6236 cat >>confdefs.h <<\_ACEOF
6237 #define STDC_HEADERS 1
6242 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6252 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6253 inttypes.h stdint.h unistd.h
6255 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6256 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6257 $as_echo_n "checking for $ac_header... " >&6; }
6258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6259 $as_echo_n "(cached) " >&6
6261 cat >conftest.$ac_ext <<_ACEOF
6264 cat confdefs.h >>conftest.$ac_ext
6265 cat >>conftest.$ac_ext <<_ACEOF
6266 /* end confdefs.h. */
6267 $ac_includes_default
6269 #include <$ac_header>
6271 rm -f conftest.$ac_objext
6272 if { (ac_try="$ac_compile"
6274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6275 *) ac_try_echo=$ac_try;;
6277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6278 $as_echo "$ac_try_echo") >&5
6279 (eval "$ac_compile") 2>conftest.er1
6281 grep -v '^ *+' conftest.er1 >conftest.err
6283 cat conftest.err >&5
6284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); } && {
6286 test -z "$ac_c_werror_flag" ||
6287 test ! -s conftest.err
6288 } && test -s conftest.$ac_objext; then
6289 eval "$as_ac_Header=yes"
6291 $as_echo "$as_me: failed program was:" >&5
6292 sed 's/^/| /' conftest.$ac_ext >&5
6294 eval "$as_ac_Header=no"
6297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6299 ac_res=`eval 'as_val=${'$as_ac_Header'}
6300 $as_echo "$as_val"'`
6301 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6302 $as_echo "$ac_res" >&6; }
6303 if test `eval 'as_val=${'$as_ac_Header'}
6304 $as_echo "$as_val"'` = yes; then
6305 cat >>confdefs.h <<_ACEOF
6306 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6314 # The cast to long int works around a bug in the HP C Compiler
6315 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6316 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6317 # This bug is HP SR number 8606223364.
6318 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
6319 $as_echo_n "checking size of void *... " >&6; }
6320 if test "${ac_cv_sizeof_void_p+set}" = set; then
6321 $as_echo_n "(cached) " >&6
6323 if test "$cross_compiling" = yes; then
6324 # Depending upon the size, compute the lo and hi bounds.
6325 cat >conftest.$ac_ext <<_ACEOF
6328 cat confdefs.h >>conftest.$ac_ext
6329 cat >>conftest.$ac_ext <<_ACEOF
6330 /* end confdefs.h. */
6331 $ac_includes_default
6335 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
6342 rm -f conftest.$ac_objext
6343 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
6352 grep -v '^ *+' conftest.er1 >conftest.err
6354 cat conftest.err >&5
6355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6356 (exit $ac_status); } && {
6357 test -z "$ac_c_werror_flag" ||
6358 test ! -s conftest.err
6359 } && test -s conftest.$ac_objext; then
6362 cat >conftest.$ac_ext <<_ACEOF
6365 cat confdefs.h >>conftest.$ac_ext
6366 cat >>conftest.$ac_ext <<_ACEOF
6367 /* end confdefs.h. */
6368 $ac_includes_default
6372 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
6379 rm -f conftest.$ac_objext
6380 if { (ac_try="$ac_compile"
6382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6383 *) ac_try_echo=$ac_try;;
6385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6386 $as_echo "$ac_try_echo") >&5
6387 (eval "$ac_compile") 2>conftest.er1
6389 grep -v '^ *+' conftest.er1 >conftest.err
6391 cat conftest.err >&5
6392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393 (exit $ac_status); } && {
6394 test -z "$ac_c_werror_flag" ||
6395 test ! -s conftest.err
6396 } && test -s conftest.$ac_objext; then
6397 ac_hi=$ac_mid; break
6399 $as_echo "$as_me: failed program was:" >&5
6400 sed 's/^/| /' conftest.$ac_ext >&5
6402 ac_lo=`expr $ac_mid + 1`
6403 if test $ac_lo -le $ac_mid; then
6407 ac_mid=`expr 2 '*' $ac_mid + 1`
6410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6413 $as_echo "$as_me: failed program was:" >&5
6414 sed 's/^/| /' conftest.$ac_ext >&5
6416 cat >conftest.$ac_ext <<_ACEOF
6419 cat confdefs.h >>conftest.$ac_ext
6420 cat >>conftest.$ac_ext <<_ACEOF
6421 /* end confdefs.h. */
6422 $ac_includes_default
6426 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
6433 rm -f conftest.$ac_objext
6434 if { (ac_try="$ac_compile"
6436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6437 *) ac_try_echo=$ac_try;;
6439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6440 $as_echo "$ac_try_echo") >&5
6441 (eval "$ac_compile") 2>conftest.er1
6443 grep -v '^ *+' conftest.er1 >conftest.err
6445 cat conftest.err >&5
6446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); } && {
6448 test -z "$ac_c_werror_flag" ||
6449 test ! -s conftest.err
6450 } && test -s conftest.$ac_objext; then
6453 cat >conftest.$ac_ext <<_ACEOF
6456 cat confdefs.h >>conftest.$ac_ext
6457 cat >>conftest.$ac_ext <<_ACEOF
6458 /* end confdefs.h. */
6459 $ac_includes_default
6463 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
6470 rm -f conftest.$ac_objext
6471 if { (ac_try="$ac_compile"
6473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6474 *) ac_try_echo=$ac_try;;
6476 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6477 $as_echo "$ac_try_echo") >&5
6478 (eval "$ac_compile") 2>conftest.er1
6480 grep -v '^ *+' conftest.er1 >conftest.err
6482 cat conftest.err >&5
6483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6484 (exit $ac_status); } && {
6485 test -z "$ac_c_werror_flag" ||
6486 test ! -s conftest.err
6487 } && test -s conftest.$ac_objext; then
6488 ac_lo=$ac_mid; break
6490 $as_echo "$as_me: failed program was:" >&5
6491 sed 's/^/| /' conftest.$ac_ext >&5
6493 ac_hi=`expr '(' $ac_mid ')' - 1`
6494 if test $ac_mid -le $ac_hi; then
6498 ac_mid=`expr 2 '*' $ac_mid`
6501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6504 $as_echo "$as_me: failed program was:" >&5
6505 sed 's/^/| /' conftest.$ac_ext >&5
6510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6514 # Binary search between lo and hi bounds.
6515 while test "x$ac_lo" != "x$ac_hi"; do
6516 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6517 cat >conftest.$ac_ext <<_ACEOF
6520 cat confdefs.h >>conftest.$ac_ext
6521 cat >>conftest.$ac_ext <<_ACEOF
6522 /* end confdefs.h. */
6523 $ac_includes_default
6527 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
6534 rm -f conftest.$ac_objext
6535 if { (ac_try="$ac_compile"
6537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6538 *) ac_try_echo=$ac_try;;
6540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6541 $as_echo "$ac_try_echo") >&5
6542 (eval "$ac_compile") 2>conftest.er1
6544 grep -v '^ *+' conftest.er1 >conftest.err
6546 cat conftest.err >&5
6547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); } && {
6549 test -z "$ac_c_werror_flag" ||
6550 test ! -s conftest.err
6551 } && test -s conftest.$ac_objext; then
6554 $as_echo "$as_me: failed program was:" >&5
6555 sed 's/^/| /' conftest.$ac_ext >&5
6557 ac_lo=`expr '(' $ac_mid ')' + 1`
6560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6563 ?*) ac_cv_sizeof_void_p=$ac_lo;;
6564 '') if test "$ac_cv_type_void_p" = yes; then
6565 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
6566 See \`config.log' for more details." >&5
6567 $as_echo "$as_me: error: cannot compute sizeof (void *)
6568 See \`config.log' for more details." >&2;}
6569 { (exit 77); exit 77; }; }
6571 ac_cv_sizeof_void_p=0
6575 cat >conftest.$ac_ext <<_ACEOF
6578 cat confdefs.h >>conftest.$ac_ext
6579 cat >>conftest.$ac_ext <<_ACEOF
6580 /* end confdefs.h. */
6581 $ac_includes_default
6582 static long int longval () { return (long int) (sizeof (void *)); }
6583 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
6590 FILE *f = fopen ("conftest.val", "w");
6593 if (((long int) (sizeof (void *))) < 0)
6595 long int i = longval ();
6596 if (i != ((long int) (sizeof (void *))))
6598 fprintf (f, "%ld", i);
6602 unsigned long int i = ulongval ();
6603 if (i != ((long int) (sizeof (void *))))
6605 fprintf (f, "%lu", i);
6607 /* Do not output a trailing newline, as this causes \r\n confusion
6608 on some platforms. */
6609 return ferror (f) || fclose (f) != 0;
6615 rm -f conftest$ac_exeext
6616 if { (ac_try="$ac_link"
6618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6619 *) ac_try_echo=$ac_try;;
6621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6622 $as_echo "$ac_try_echo") >&5
6623 (eval "$ac_link") 2>&5
6625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6627 { (case "(($ac_try" in
6628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6629 *) ac_try_echo=$ac_try;;
6631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6632 $as_echo "$ac_try_echo") >&5
6633 (eval "$ac_try") 2>&5
6635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 (exit $ac_status); }; }; then
6637 ac_cv_sizeof_void_p=`cat conftest.val`
6639 $as_echo "$as_me: program exited with status $ac_status" >&5
6640 $as_echo "$as_me: failed program was:" >&5
6641 sed 's/^/| /' conftest.$ac_ext >&5
6644 if test "$ac_cv_type_void_p" = yes; then
6645 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
6646 See \`config.log' for more details." >&5
6647 $as_echo "$as_me: error: cannot compute sizeof (void *)
6648 See \`config.log' for more details." >&2;}
6649 { (exit 77); exit 77; }; }
6651 ac_cv_sizeof_void_p=0
6654 rm -rf conftest.dSYM
6655 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6659 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
6660 $as_echo "$ac_cv_sizeof_void_p" >&6; }
6664 cat >>confdefs.h <<_ACEOF
6665 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
6669 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6670 $as_echo_n "checking for ANSI C header files... " >&6; }
6671 if test "${ac_cv_header_stdc+set}" = set; then
6672 $as_echo_n "(cached) " >&6
6674 cat >conftest.$ac_ext <<_ACEOF
6677 cat confdefs.h >>conftest.$ac_ext
6678 cat >>conftest.$ac_ext <<_ACEOF
6679 /* end confdefs.h. */
6693 rm -f conftest.$ac_objext
6694 if { (ac_try="$ac_compile"
6696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6697 *) ac_try_echo=$ac_try;;
6699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6700 $as_echo "$ac_try_echo") >&5
6701 (eval "$ac_compile") 2>conftest.er1
6703 grep -v '^ *+' conftest.er1 >conftest.err
6705 cat conftest.err >&5
6706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); } && {
6708 test -z "$ac_c_werror_flag" ||
6709 test ! -s conftest.err
6710 } && test -s conftest.$ac_objext; then
6711 ac_cv_header_stdc=yes
6713 $as_echo "$as_me: failed program was:" >&5
6714 sed 's/^/| /' conftest.$ac_ext >&5
6716 ac_cv_header_stdc=no
6719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6721 if test $ac_cv_header_stdc = yes; then
6722 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6723 cat >conftest.$ac_ext <<_ACEOF
6726 cat confdefs.h >>conftest.$ac_ext
6727 cat >>conftest.$ac_ext <<_ACEOF
6728 /* end confdefs.h. */
6732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6733 $EGREP "memchr" >/dev/null 2>&1; then
6736 ac_cv_header_stdc=no
6742 if test $ac_cv_header_stdc = yes; then
6743 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6744 cat >conftest.$ac_ext <<_ACEOF
6747 cat confdefs.h >>conftest.$ac_ext
6748 cat >>conftest.$ac_ext <<_ACEOF
6749 /* end confdefs.h. */
6753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6754 $EGREP "free" >/dev/null 2>&1; then
6757 ac_cv_header_stdc=no
6763 if test $ac_cv_header_stdc = yes; then
6764 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6765 if test "$cross_compiling" = yes; then
6768 cat >conftest.$ac_ext <<_ACEOF
6771 cat confdefs.h >>conftest.$ac_ext
6772 cat >>conftest.$ac_ext <<_ACEOF
6773 /* end confdefs.h. */
6776 #if ((' ' & 0x0FF) == 0x020)
6777 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6778 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6780 # define ISLOWER(c) \
6781 (('a' <= (c) && (c) <= 'i') \
6782 || ('j' <= (c) && (c) <= 'r') \
6783 || ('s' <= (c) && (c) <= 'z'))
6784 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6787 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6792 for (i = 0; i < 256; i++)
6793 if (XOR (islower (i), ISLOWER (i))
6794 || toupper (i) != TOUPPER (i))
6799 rm -f conftest$ac_exeext
6800 if { (ac_try="$ac_link"
6802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6803 *) ac_try_echo=$ac_try;;
6805 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6806 $as_echo "$ac_try_echo") >&5
6807 (eval "$ac_link") 2>&5
6809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6811 { (case "(($ac_try" in
6812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6813 *) ac_try_echo=$ac_try;;
6815 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6816 $as_echo "$ac_try_echo") >&5
6817 (eval "$ac_try") 2>&5
6819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820 (exit $ac_status); }; }; then
6823 $as_echo "$as_me: program exited with status $ac_status" >&5
6824 $as_echo "$as_me: failed program was:" >&5
6825 sed 's/^/| /' conftest.$ac_ext >&5
6828 ac_cv_header_stdc=no
6830 rm -rf conftest.dSYM
6831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6837 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6838 $as_echo "$ac_cv_header_stdc" >&6; }
6839 if test $ac_cv_header_stdc = yes; then
6841 cat >>confdefs.h <<\_ACEOF
6842 #define STDC_HEADERS 1
6847 # Make sure we can run config.sub.
6848 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6849 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
6850 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
6851 { (exit 1); exit 1; }; }
6853 { $as_echo "$as_me:$LINENO: checking build system type" >&5
6854 $as_echo_n "checking build system type... " >&6; }
6855 if test "${ac_cv_build+set}" = set; then
6856 $as_echo_n "(cached) " >&6
6858 ac_build_alias=$build_alias
6859 test "x$ac_build_alias" = x &&
6860 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6861 test "x$ac_build_alias" = x &&
6862 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6863 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6864 { (exit 1); exit 1; }; }
6865 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6866 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
6867 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
6868 { (exit 1); exit 1; }; }
6871 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6872 $as_echo "$ac_cv_build" >&6; }
6873 case $ac_cv_build in
6875 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
6876 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
6877 { (exit 1); exit 1; }; };;
6880 ac_save_IFS=$IFS; IFS='-'
6886 # Remember, the first character of IFS is used to create $*,
6887 # except with old shells:
6890 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6893 { $as_echo "$as_me:$LINENO: checking host system type" >&5
6894 $as_echo_n "checking host system type... " >&6; }
6895 if test "${ac_cv_host+set}" = set; then
6896 $as_echo_n "(cached) " >&6
6898 if test "x$host_alias" = x; then
6899 ac_cv_host=$ac_cv_build
6901 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6902 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
6903 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
6904 { (exit 1); exit 1; }; }
6908 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
6909 $as_echo "$ac_cv_host" >&6; }
6912 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
6913 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
6914 { (exit 1); exit 1; }; };;
6917 ac_save_IFS=$IFS; IFS='-'
6923 # Remember, the first character of IFS is used to create $*,
6924 # except with old shells:
6927 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6932 depcc="$OBJC" am_compiler_list='gcc3 gcc'
6934 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6935 $as_echo_n "checking dependency style of $depcc... " >&6; }
6936 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
6937 $as_echo_n "(cached) " >&6
6939 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6940 # We make a subdir and do the tests there. Otherwise we can end up
6941 # making bogus files that we don't know about and never remove. For
6942 # instance it was reported that on HP-UX the gcc test will end up
6943 # making a dummy file named `D' -- because `-MD' means `put the output
6946 # Copy depcomp to subdir because otherwise we won't find it if we're
6947 # using a relative directory.
6948 cp "$am_depcomp" conftest.dir
6950 # We will build objects and dependencies in a subdirectory because
6951 # it helps to detect inapplicable dependency modes. For instance
6952 # both Tru64's cc and ICC support -MD to output dependencies as a
6953 # side effect of compilation, but ICC will put the dependencies in
6954 # the current directory while Tru64 will put them in the object
6958 am_cv_OBJC_dependencies_compiler_type=none
6959 if test "$am_compiler_list" = ""; then
6960 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6962 for depmode in $am_compiler_list; do
6963 # Setup a source with many dependencies, because some compilers
6964 # like to wrap large dependency lists on column 80 (with \), and
6965 # we should not choose a depcomp mode which is confused by this.
6967 # We need to recreate these files for each test, as the compiler may
6968 # overwrite some of them when testing with obscure command lines.
6969 # This happens at least with the AIX C compiler.
6971 for i in 1 2 3 4 5 6; do
6972 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6973 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6974 # Solaris 8's {/usr,}/bin/sh.
6975 touch sub/conftst$i.h
6977 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6981 # after this tag, mechanisms are not by side-effect, so they'll
6982 # only be used when explicitly requested
6983 if test "x$enable_dependency_tracking" = xyes; then
6991 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6992 # mode. It turns out that the SunPro C++ compiler does not properly
6993 # handle `-M -o', and we need to detect this.
6994 if depmode=$depmode \
6995 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6996 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6997 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6998 >/dev/null 2>conftest.err &&
6999 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7000 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7001 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7002 # icc doesn't choke on unknown options, it will just issue warnings
7003 # or remarks (even with -Werror). So we grep stderr for any message
7004 # that says an option was ignored or not supported.
7005 # When given -MP, icc 7.0 and 7.1 complain thusly:
7006 # icc: Command line warning: ignoring option '-M'; no argument required
7007 # The diagnosis changed in icc 8.0:
7008 # icc: Command line remark: option '-MP' not supported
7009 if (grep 'ignoring option' conftest.err ||
7010 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7011 am_cv_OBJC_dependencies_compiler_type=$depmode
7020 am_cv_OBJC_dependencies_compiler_type=none
7024 { $as_echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
7025 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
7026 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
7031 test "x$enable_dependency_tracking" != xno \
7032 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
7033 am__fastdepOBJC_TRUE=
7034 am__fastdepOBJC_FALSE='#'
7036 am__fastdepOBJC_TRUE='#'
7037 am__fastdepOBJC_FALSE=
7042 # Extract the first word of "pod2man", so it can be a program name with args.
7043 set dummy pod2man; ac_word=$2
7044 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7045 $as_echo_n "checking for $ac_word... " >&6; }
7046 if test "${ac_cv_path_POD2MAN+set}" = set; then
7047 $as_echo_n "(cached) " >&6
7051 ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
7054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7058 test -z "$as_dir" && as_dir=.
7059 for ac_exec_ext in '' $ac_executable_extensions; do
7060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7061 ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
7062 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7072 POD2MAN=$ac_cv_path_POD2MAN
7073 if test -n "$POD2MAN"; then
7074 { $as_echo "$as_me:$LINENO: result: $POD2MAN" >&5
7075 $as_echo "$POD2MAN" >&6; }
7077 { $as_echo "$as_me:$LINENO: result: no" >&5
7078 $as_echo "no" >&6; }
7082 # Extract the first word of "pod2html", so it can be a program name with args.
7083 set dummy pod2html; ac_word=$2
7084 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7085 $as_echo_n "checking for $ac_word... " >&6; }
7086 if test "${ac_cv_path_POD2HTML+set}" = set; then
7087 $as_echo_n "(cached) " >&6
7091 ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
7094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7098 test -z "$as_dir" && as_dir=.
7099 for ac_exec_ext in '' $ac_executable_extensions; do
7100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7101 ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
7102 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7112 POD2HTML=$ac_cv_path_POD2HTML
7113 if test -n "$POD2HTML"; then
7114 { $as_echo "$as_me:$LINENO: result: $POD2HTML" >&5
7115 $as_echo "$POD2HTML" >&6; }
7117 { $as_echo "$as_me:$LINENO: result: no" >&5
7118 $as_echo "no" >&6; }
7124 # Check whether --enable-strict-warn was given.
7125 if test "${enable_strict_warn+set}" = set; then
7126 enableval=$enable_strict_warn; if test "$enableval" == "yes"; then
7127 enable_strictwarn=yes
7131 # Check whether --enable-translator was given.
7132 if test "${enable_translator+set}" = set; then
7133 enableval=$enable_translator; true
7135 enable_translator=yes
7138 # Check whether --enable-optimized was given.
7139 if test "${enable_optimized+set}" = set; then
7140 enableval=$enable_optimized; true
7142 enable_optimized=yes
7145 # Check whether --enable-profiled was given.
7146 if test "${enable_profiled+set}" = set; then
7147 enableval=$enable_profiled; if test "$enableval" == "yes"; then
7148 enable_profiled=yes;
7152 # Check whether --enable-trace was given.
7153 if test "${enable_trace+set}" = set; then
7154 enableval=$enable_trace; if test "$enableval" == "yes"; then
7156 cat >>confdefs.h <<\_ACEOF
7157 #define ENABLE_TRACE_IO 1
7163 # Check whether --enable-watch was given.
7164 if test "${enable_watch+set}" = set; then
7165 enableval=$enable_watch; if test "$enableval" == "yes"; then
7167 cat >>confdefs.h <<\_ACEOF
7168 #define ENABLE_WATCH 1
7174 # Check whether --enable-sh4stats was given.
7175 if test "${enable_sh4stats+set}" = set; then
7176 enableval=$enable_sh4stats; if test "$enableval" == "yes"; then
7178 cat >>confdefs.h <<\_ACEOF
7179 #define ENABLE_SH4STATS 1
7186 # Check whether --with-osmesa was given.
7187 if test "${with_osmesa+set}" = set; then
7188 withval=$with_osmesa;
7194 # Check whether --with-gtk was given.
7195 if test "${with_gtk+set}" = set; then
7196 withval=$with_gtk; with_gtk=yes
7202 # Check whether --with-esd was given.
7203 if test "${with_esd+set}" = set; then
7208 # Check whether --with-pulse was given.
7209 if test "${with_pulse+set}" = set; then
7210 withval=$with_pulse;
7218 ac_cpp='$OBJCPP $CPPFLAGS'
7219 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7220 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7221 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
7222 if test -n "$ac_tool_prefix"; then
7223 for ac_prog in gcc objcc objc cc CC
7225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7227 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7228 $as_echo_n "checking for $ac_word... " >&6; }
7229 if test "${ac_cv_prog_OBJC+set}" = set; then
7230 $as_echo_n "(cached) " >&6
7232 if test -n "$OBJC"; then
7233 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7239 test -z "$as_dir" && as_dir=.
7240 for ac_exec_ext in '' $ac_executable_extensions; do
7241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7242 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
7243 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7252 OBJC=$ac_cv_prog_OBJC
7253 if test -n "$OBJC"; then
7254 { $as_echo "$as_me:$LINENO: result: $OBJC" >&5
7255 $as_echo "$OBJC" >&6; }
7257 { $as_echo "$as_me:$LINENO: result: no" >&5
7258 $as_echo "no" >&6; }
7262 test -n "$OBJC" && break
7265 if test -z "$OBJC"; then
7267 for ac_prog in gcc objcc objc cc CC
7269 # Extract the first word of "$ac_prog", so it can be a program name with args.
7270 set dummy $ac_prog; ac_word=$2
7271 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
7274 $as_echo_n "(cached) " >&6
7276 if test -n "$ac_ct_OBJC"; then
7277 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 test -z "$as_dir" && as_dir=.
7284 for ac_exec_ext in '' $ac_executable_extensions; do
7285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7286 ac_cv_prog_ac_ct_OBJC="$ac_prog"
7287 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7296 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
7297 if test -n "$ac_ct_OBJC"; then
7298 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
7299 $as_echo "$ac_ct_OBJC" >&6; }
7301 { $as_echo "$as_me:$LINENO: result: no" >&5
7302 $as_echo "no" >&6; }
7306 test -n "$ac_ct_OBJC" && break
7309 if test "x$ac_ct_OBJC" = x; then
7312 case $cross_compiling:$ac_tool_warned in
7314 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7315 whose name does not start with the host triplet. If you think this
7316 configuration is useful to you, please write to autoconf@gnu.org." >&5
7317 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7318 whose name does not start with the host triplet. If you think this
7319 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7320 ac_tool_warned=yes ;;
7326 # Provide some information about the compiler.
7327 $as_echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
7330 { (ac_try="$ac_compiler --version >&5"
7332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7333 *) ac_try_echo=$ac_try;;
7335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7336 $as_echo "$ac_try_echo") >&5
7337 (eval "$ac_compiler --version >&5") 2>&5
7339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340 (exit $ac_status); }
7341 { (ac_try="$ac_compiler -v >&5"
7343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7344 *) ac_try_echo=$ac_try;;
7346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7347 $as_echo "$ac_try_echo") >&5
7348 (eval "$ac_compiler -v >&5") 2>&5
7350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); }
7352 { (ac_try="$ac_compiler -V >&5"
7354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7355 *) ac_try_echo=$ac_try;;
7357 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7358 $as_echo "$ac_try_echo") >&5
7359 (eval "$ac_compiler -V >&5") 2>&5
7361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); }
7364 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
7365 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
7366 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
7367 $as_echo_n "(cached) " >&6
7369 cat >conftest.$ac_ext <<_ACEOF
7372 cat confdefs.h >>conftest.$ac_ext
7373 cat >>conftest.$ac_ext <<_ACEOF
7374 /* end confdefs.h. */
7387 rm -f conftest.$ac_objext
7388 if { (ac_try="$ac_compile"
7390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7391 *) ac_try_echo=$ac_try;;
7393 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7394 $as_echo "$ac_try_echo") >&5
7395 (eval "$ac_compile") 2>conftest.er1
7397 grep -v '^ *+' conftest.er1 >conftest.err
7399 cat conftest.err >&5
7400 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 (exit $ac_status); } && {
7402 test -z "$ac_objc_werror_flag" ||
7403 test ! -s conftest.err
7404 } && test -s conftest.$ac_objext; then
7407 $as_echo "$as_me: failed program was:" >&5
7408 sed 's/^/| /' conftest.$ac_ext >&5
7413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7414 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
7417 { $as_echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
7418 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
7419 if test $ac_compiler_gnu = yes; then
7424 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
7425 ac_save_OBJCFLAGS=$OBJCFLAGS
7426 { $as_echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
7427 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
7428 if test "${ac_cv_prog_objc_g+set}" = set; then
7429 $as_echo_n "(cached) " >&6
7431 ac_save_objc_werror_flag=$ac_objc_werror_flag
7432 ac_objc_werror_flag=yes
7433 ac_cv_prog_objc_g=no
7435 cat >conftest.$ac_ext <<_ACEOF
7438 cat confdefs.h >>conftest.$ac_ext
7439 cat >>conftest.$ac_ext <<_ACEOF
7440 /* end confdefs.h. */
7450 rm -f conftest.$ac_objext
7451 if { (ac_try="$ac_compile"
7453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7454 *) ac_try_echo=$ac_try;;
7456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7457 $as_echo "$ac_try_echo") >&5
7458 (eval "$ac_compile") 2>conftest.er1
7460 grep -v '^ *+' conftest.er1 >conftest.err
7462 cat conftest.err >&5
7463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); } && {
7465 test -z "$ac_objc_werror_flag" ||
7466 test ! -s conftest.err
7467 } && test -s conftest.$ac_objext; then
7468 ac_cv_prog_objc_g=yes
7470 $as_echo "$as_me: failed program was:" >&5
7471 sed 's/^/| /' conftest.$ac_ext >&5
7474 cat >conftest.$ac_ext <<_ACEOF
7477 cat confdefs.h >>conftest.$ac_ext
7478 cat >>conftest.$ac_ext <<_ACEOF
7479 /* end confdefs.h. */
7489 rm -f conftest.$ac_objext
7490 if { (ac_try="$ac_compile"
7492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7493 *) ac_try_echo=$ac_try;;
7495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7496 $as_echo "$ac_try_echo") >&5
7497 (eval "$ac_compile") 2>conftest.er1
7499 grep -v '^ *+' conftest.er1 >conftest.err
7501 cat conftest.err >&5
7502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7503 (exit $ac_status); } && {
7504 test -z "$ac_objc_werror_flag" ||
7505 test ! -s conftest.err
7506 } && test -s conftest.$ac_objext; then
7509 $as_echo "$as_me: failed program was:" >&5
7510 sed 's/^/| /' conftest.$ac_ext >&5
7512 ac_objc_werror_flag=$ac_save_objc_werror_flag
7514 cat >conftest.$ac_ext <<_ACEOF
7517 cat confdefs.h >>conftest.$ac_ext
7518 cat >>conftest.$ac_ext <<_ACEOF
7519 /* end confdefs.h. */
7529 rm -f conftest.$ac_objext
7530 if { (ac_try="$ac_compile"
7532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7533 *) ac_try_echo=$ac_try;;
7535 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7536 $as_echo "$ac_try_echo") >&5
7537 (eval "$ac_compile") 2>conftest.er1
7539 grep -v '^ *+' conftest.er1 >conftest.err
7541 cat conftest.err >&5
7542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7543 (exit $ac_status); } && {
7544 test -z "$ac_objc_werror_flag" ||
7545 test ! -s conftest.err
7546 } && test -s conftest.$ac_objext; then
7547 ac_cv_prog_objc_g=yes
7549 $as_echo "$as_me: failed program was:" >&5
7550 sed 's/^/| /' conftest.$ac_ext >&5
7555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7562 ac_objc_werror_flag=$ac_save_objc_werror_flag
7564 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
7565 $as_echo "$ac_cv_prog_objc_g" >&6; }
7566 if test "$ac_test_OBJCFLAGS" = set; then
7567 OBJCFLAGS=$ac_save_OBJCFLAGS
7568 elif test $ac_cv_prog_objc_g = yes; then
7569 if test "$GOBJC" = yes; then
7575 if test "$GOBJC" = yes; then
7582 ac_cpp='$CPP $CPPFLAGS'
7583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7587 { $as_echo "$as_me:$LINENO: checking for a working Objective-C compiler" >&5
7588 $as_echo_n "checking for a working Objective-C compiler... " >&6; }
7590 ac_cpp='$OBJCPP $CPPFLAGS'
7591 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7592 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7593 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
7594 cat >conftest.$ac_ext <<_ACEOF
7597 cat confdefs.h >>conftest.$ac_ext
7598 cat >>conftest.$ac_ext <<_ACEOF
7599 /* end confdefs.h. */
7609 rm -f conftest.$ac_objext
7610 if { (ac_try="$ac_compile"
7612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7613 *) ac_try_echo=$ac_try;;
7615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7616 $as_echo "$ac_try_echo") >&5
7617 (eval "$ac_compile") 2>conftest.er1
7619 grep -v '^ *+' conftest.er1 >conftest.err
7621 cat conftest.err >&5
7622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7623 (exit $ac_status); } && {
7624 test -z "$ac_objc_werror_flag" ||
7625 test ! -s conftest.err
7626 } && test -s conftest.$ac_objext; then
7627 { $as_echo "$as_me:$LINENO: result: yes" >&5
7628 $as_echo "yes" >&6; }
7630 { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
7631 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
7632 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
7633 $as_echo_n "(cached) " >&6
7635 cat >conftest.$ac_ext <<_ACEOF
7638 cat confdefs.h >>conftest.$ac_ext
7639 cat >>conftest.$ac_ext <<_ACEOF
7640 /* end confdefs.h. */
7641 $ac_includes_default
7643 #include <Cocoa/Cocoa.h>
7645 rm -f conftest.$ac_objext
7646 if { (ac_try="$ac_compile"
7648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7649 *) ac_try_echo=$ac_try;;
7651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7652 $as_echo "$ac_try_echo") >&5
7653 (eval "$ac_compile") 2>conftest.er1
7655 grep -v '^ *+' conftest.er1 >conftest.err
7657 cat conftest.err >&5
7658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7659 (exit $ac_status); } && {
7660 test -z "$ac_objc_werror_flag" ||
7661 test ! -s conftest.err
7662 } && test -s conftest.$ac_objext; then
7663 ac_cv_header_Cocoa_Cocoa_h=yes
7665 $as_echo "$as_me: failed program was:" >&5
7666 sed 's/^/| /' conftest.$ac_ext >&5
7668 ac_cv_header_Cocoa_Cocoa_h=no
7671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7673 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
7674 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
7675 if test $ac_cv_header_Cocoa_Cocoa_h = yes; then
7679 LIBS="$LIBS -framework AppKit"
7680 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"
7681 CPPFLAGS="$CPPFLAGS -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4 -mdynamic-no-pic"
7682 LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
7684 cat >>confdefs.h <<\_ACEOF
7685 #define HAVE_COCOA 1
7689 cat >>confdefs.h <<\_ACEOF
7690 #define APPLE_BUILD 1
7693 if test "x$with_gtk" = "xx11"; then
7702 { $as_echo "$as_me:$LINENO: checking OBJC version" >&5
7703 $as_echo_n "checking OBJC version... " >&6; }
7704 if test -n "$OBJC"; then
7705 _GOBJC_VERSION=`$OBJC --version | $SED -ne '/(GCC)/p'`
7706 if test -n "$_GOBJC_VERSION"; then
7707 { $as_echo "$as_me:$LINENO: result: GCC" >&5
7708 $as_echo "GCC" >&6; }
7709 OBJCOPT="-O2 -msse2 -mfpmath=sse"
7710 OBJCFLAGS="$OBJCFLAGS -fno-strict-aliasing"
7712 { $as_echo "$as_me:$LINENO: result: Unknown" >&5
7713 $as_echo "Unknown" >&6; }
7717 { $as_echo "$as_me:$LINENO: result: None" >&5
7718 $as_echo "None" >&6; }
7724 $as_echo "$as_me: failed program was:" >&5
7725 sed 's/^/| /' conftest.$ac_ext >&5
7727 { $as_echo "$as_me:$LINENO: result: No" >&5
7728 $as_echo "No" >&6; }
7732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
7734 ac_cpp='$CPP $CPPFLAGS'
7735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7743 if test "$HAVE_COCOA" = 'yes' -a "$with_gtk" = "no"; then
7751 if test "x$HAVE_COCOA" = 'xyes' -a "x$with_gtk" = "xno"; then
7753 cat >>confdefs.h <<\_ACEOF
7754 #define OSX_BUNDLE 1
7759 CFLAGS="-g -fexceptions"
7760 OBJCFLAGS="-g -fexceptions"
7762 cat >>confdefs.h <<\_ACEOF
7763 #define HAVE_EXCEPTIONS 1
7768 _GCC_VERSION=`$CC --version | $SED -ne '/(GCC)/p'`
7769 _ICC_VERSION=`$CC --version | $SED -ne '/(ICC)/p'`
7770 { $as_echo "$as_me:$LINENO: checking CC version" >&5
7771 $as_echo_n "checking CC version... " >&6; }
7772 if test -n "$_GCC_VERSION"; then
7773 { $as_echo "$as_me:$LINENO: result: GCC" >&5
7774 $as_echo "GCC" >&6; }
7775 CCOPT="-O2 -msse2 -mfpmath=sse"
7776 CFLAGS="$CFLAGS -fno-strict-aliasing"
7777 elif test -n "$_ICC_VERSION"; then
7778 { $as_echo "$as_me:$LINENO: result: ICC" >&5
7779 $as_echo "ICC" >&6; }
7780 CCOPT="$CFLAGS -fast"
7782 { $as_echo "$as_me:$LINENO: result: Unknown" >&5
7783 $as_echo "Unknown" >&6; }
7788 if test "x$enable_optimized" = "xyes"; then
7789 CFLAGS="$CFLAGS $CCOPT"
7790 OBJCFLAGS="$OBJCFLAGS $OBJCOPT"
7791 if test "x$enable_profiled" != "xyes"; then
7792 CFLAGS="$CFLAGS -fomit-frame-pointer"
7793 OBJCFLAGS="$OBJCFLAGS -fomit-frame-pointer"
7796 CFLAGS="$CFLAGS -g3"
7797 OBJCFLAGS="$OBJCFLAGS -g3"
7800 if test "x$enable_profiled" = "xyes"; then
7801 CFLAGS="$CFLAGS -pg"
7802 LDFLAGS="$LDFLAGS -pg";
7803 OBJCFLAGS="$OBJCFLAGS -pg";
7806 if test "x$enable_strictwarn" = "xyes"; then
7807 CFLAGS="$CFLAGS -Wall -Werror -Wno-unused"
7808 OBJCFLAGS="$OBJCFLAGS -Wall -Werror -Wno-unused"
7812 { $as_echo "$as_me:$LINENO: checking support for fastcall calling conventions" >&5
7813 $as_echo_n "checking support for fastcall calling conventions... " >&6; };
7814 if test "$cross_compiling" = yes; then
7815 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7816 See \`config.log' for more details." >&5
7817 $as_echo "$as_me: error: cannot run test program while cross compiling
7818 See \`config.log' for more details." >&2;}
7819 { (exit 1); exit 1; }; }
7821 cat >conftest.$ac_ext <<_ACEOF
7825 cat confdefs.h >>conftest.$ac_ext
7826 cat >>conftest.$ac_ext <<_ACEOF
7827 /* end confdefs.h. */
7829 int __attribute__((regparm(3))) foo(int a, int b) { return a+b; }
7831 int main(int argc, char *argv[])
7833 return foo( 1, 2 ) == 3 ? 0 : 1;
7836 rm -f conftest$ac_exeext
7837 if { (ac_try="$ac_link"
7839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7840 *) ac_try_echo=$ac_try;;
7842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7843 $as_echo "$ac_try_echo") >&5
7844 (eval "$ac_link") 2>&5
7846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7848 { (case "(($ac_try" in
7849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7850 *) ac_try_echo=$ac_try;;
7852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7853 $as_echo "$ac_try_echo") >&5
7854 (eval "$ac_try") 2>&5
7856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7857 (exit $ac_status); }; }; then
7859 { $as_echo "$as_me:$LINENO: result: yes" >&5
7860 $as_echo "yes" >&6; }
7863 cat >>confdefs.h <<\_ACEOF
7864 #define HAVE_FASTCALL 1
7869 $as_echo "$as_me: program exited with status $ac_status" >&5
7870 $as_echo "$as_me: failed program was:" >&5
7871 sed 's/^/| /' conftest.$ac_ext >&5
7875 { $as_echo "$as_me:$LINENO: result: no" >&5
7876 $as_echo "no" >&6; }
7879 rm -rf conftest.dSYM
7880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7886 { $as_echo "$as_me:$LINENO: checking if we have a working __builtin_frame_address()" >&5
7887 $as_echo_n "checking if we have a working __builtin_frame_address()... " >&6; };
7888 if test "$cross_compiling" = yes; then
7889 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7890 See \`config.log' for more details." >&5
7891 $as_echo "$as_me: error: cannot run test program while cross compiling
7892 See \`config.log' for more details." >&2;}
7893 { (exit 1); exit 1; }; }
7895 cat >conftest.$ac_ext <<_ACEOF
7899 cat confdefs.h >>conftest.$ac_ext
7900 cat >>conftest.$ac_ext <<_ACEOF
7901 /* end confdefs.h. */
7903 void * __attribute__((noinline)) first_arg( void *x, void *y ) { return x; }
7904 int __attribute__((noinline)) foo( int arg, void *exc )
7907 *(((void **)__builtin_frame_address(0))+1) = exc;
7912 int main(int argc, char *argv[])
7914 goto *first_arg(&&start, &&except);
7917 return foo( argc, &&except ) + 1;
7923 rm -f conftest$ac_exeext
7924 if { (ac_try="$ac_link"
7926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7927 *) ac_try_echo=$ac_try;;
7929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7930 $as_echo "$ac_try_echo") >&5
7931 (eval "$ac_link") 2>&5
7933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7935 { (case "(($ac_try" in
7936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7937 *) ac_try_echo=$ac_try;;
7939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7940 $as_echo "$ac_try_echo") >&5
7941 (eval "$ac_try") 2>&5
7943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7944 (exit $ac_status); }; }; then
7946 { $as_echo "$as_me:$LINENO: result: yes" >&5
7947 $as_echo "yes" >&6; }
7950 cat >>confdefs.h <<\_ACEOF
7951 #define HAVE_FRAME_ADDRESS 1
7956 $as_echo "$as_me: program exited with status $ac_status" >&5
7957 $as_echo "$as_me: failed program was:" >&5
7958 sed 's/^/| /' conftest.$ac_ext >&5
7962 { $as_echo "$as_me:$LINENO: result: no" >&5
7963 $as_echo "no" >&6; }
7964 { $as_echo "$as_me:$LINENO: WARNING: Memory exceptions will be slow" >&5
7965 $as_echo "$as_me: WARNING: Memory exceptions will be slow" >&2;}
7967 rm -rf conftest.dSYM
7968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7978 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7979 if test -n "$ac_tool_prefix"; then
7980 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7981 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7982 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7983 $as_echo_n "checking for $ac_word... " >&6; }
7984 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7985 $as_echo_n "(cached) " >&6
7989 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7996 test -z "$as_dir" && as_dir=.
7997 for ac_exec_ext in '' $ac_executable_extensions; do
7998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7999 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8000 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8010 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8011 if test -n "$PKG_CONFIG"; then
8012 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8013 $as_echo "$PKG_CONFIG" >&6; }
8015 { $as_echo "$as_me:$LINENO: result: no" >&5
8016 $as_echo "no" >&6; }
8021 if test -z "$ac_cv_path_PKG_CONFIG"; then
8022 ac_pt_PKG_CONFIG=$PKG_CONFIG
8023 # Extract the first word of "pkg-config", so it can be a program name with args.
8024 set dummy pkg-config; ac_word=$2
8025 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8026 $as_echo_n "checking for $ac_word... " >&6; }
8027 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
8028 $as_echo_n "(cached) " >&6
8030 case $ac_pt_PKG_CONFIG in
8032 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8039 test -z "$as_dir" && as_dir=.
8040 for ac_exec_ext in '' $ac_executable_extensions; do
8041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8042 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8043 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8053 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
8054 if test -n "$ac_pt_PKG_CONFIG"; then
8055 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
8056 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
8058 { $as_echo "$as_me:$LINENO: result: no" >&5
8059 $as_echo "no" >&6; }
8062 if test "x$ac_pt_PKG_CONFIG" = x; then
8065 case $cross_compiling:$ac_tool_warned in
8067 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8068 whose name does not start with the host triplet. If you think this
8069 configuration is useful to you, please write to autoconf@gnu.org." >&5
8070 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8071 whose name does not start with the host triplet. If you think this
8072 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8073 ac_tool_warned=yes ;;
8075 PKG_CONFIG=$ac_pt_PKG_CONFIG
8078 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
8082 if test -n "$PKG_CONFIG"; then
8083 _pkg_min_version=0.9.0
8084 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
8085 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8086 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8087 { $as_echo "$as_me:$LINENO: result: yes" >&5
8088 $as_echo "yes" >&6; }
8090 { $as_echo "$as_me:$LINENO: result: no" >&5
8091 $as_echo "no" >&6; }
8098 { $as_echo "$as_me:$LINENO: checking for LIBPNG" >&5
8099 $as_echo_n "checking for LIBPNG... " >&6; }
8101 if test -n "$LIBPNG_CFLAGS"; then
8102 pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
8103 elif test -n "$PKG_CONFIG"; then
8104 if test -n "$PKG_CONFIG" && \
8105 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
8106 ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
8108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109 (exit $ac_status); }; then
8110 pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
8117 if test -n "$LIBPNG_LIBS"; then
8118 pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
8119 elif test -n "$PKG_CONFIG"; then
8120 if test -n "$PKG_CONFIG" && \
8121 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
8122 ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
8124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125 (exit $ac_status); }; then
8126 pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
8136 if test $pkg_failed = yes; then
8138 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8139 _pkg_short_errors_supported=yes
8141 _pkg_short_errors_supported=no
8143 if test $_pkg_short_errors_supported = yes; then
8144 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng " 2>&1`
8146 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng " 2>&1`
8148 # Put the nasty error message in config.log where it belongs
8149 echo "$LIBPNG_PKG_ERRORS" >&5
8151 { { $as_echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
8155 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8156 installed software in a non-standard prefix.
8158 Alternatively, you may set the environment variables LIBPNG_CFLAGS
8159 and LIBPNG_LIBS to avoid the need to call pkg-config.
8160 See the pkg-config man page for more details.
8162 $as_echo "$as_me: error: Package requirements (libpng ) were not met:
8166 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8167 installed software in a non-standard prefix.
8169 Alternatively, you may set the environment variables LIBPNG_CFLAGS
8170 and LIBPNG_LIBS to avoid the need to call pkg-config.
8171 See the pkg-config man page for more details.
8173 { (exit 1); exit 1; }; }
8174 elif test $pkg_failed = untried; then
8175 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
8176 is in your PATH or set the PKG_CONFIG environment variable to the full
8179 Alternatively, you may set the environment variables LIBPNG_CFLAGS
8180 and LIBPNG_LIBS to avoid the need to call pkg-config.
8181 See the pkg-config man page for more details.
8183 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8184 See \`config.log' for more details." >&5
8185 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
8186 is in your PATH or set the PKG_CONFIG environment variable to the full
8189 Alternatively, you may set the environment variables LIBPNG_CFLAGS
8190 and LIBPNG_LIBS to avoid the need to call pkg-config.
8191 See the pkg-config man page for more details.
8193 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8194 See \`config.log' for more details." >&2;}
8195 { (exit 1); exit 1; }; }
8197 LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
8198 LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
8199 { $as_echo "$as_me:$LINENO: result: yes" >&5
8200 $as_echo "yes" >&6; }
8205 { $as_echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
8206 $as_echo_n "checking for uncompress in -lz... " >&6; }
8207 if test "${ac_cv_lib_z_uncompress+set}" = set; then
8208 $as_echo_n "(cached) " >&6
8210 ac_check_lib_save_LIBS=$LIBS
8212 cat >conftest.$ac_ext <<_ACEOF
8215 cat confdefs.h >>conftest.$ac_ext
8216 cat >>conftest.$ac_ext <<_ACEOF
8217 /* end confdefs.h. */
8219 /* Override any GCC internal prototype to avoid an error.
8220 Use char because int might match the return type of a GCC
8221 builtin and then its argument prototype would still apply. */
8229 return uncompress ();
8234 rm -f conftest.$ac_objext conftest$ac_exeext
8235 if { (ac_try="$ac_link"
8237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8238 *) ac_try_echo=$ac_try;;
8240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8241 $as_echo "$ac_try_echo") >&5
8242 (eval "$ac_link") 2>conftest.er1
8244 grep -v '^ *+' conftest.er1 >conftest.err
8246 cat conftest.err >&5
8247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); } && {
8249 test -z "$ac_c_werror_flag" ||
8250 test ! -s conftest.err
8251 } && test -s conftest$ac_exeext && {
8252 test "$cross_compiling" = yes ||
8253 $as_test_x conftest$ac_exeext
8255 ac_cv_lib_z_uncompress=yes
8257 $as_echo "$as_me: failed program was:" >&5
8258 sed 's/^/| /' conftest.$ac_ext >&5
8260 ac_cv_lib_z_uncompress=no
8263 rm -rf conftest.dSYM
8264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8265 conftest$ac_exeext conftest.$ac_ext
8266 LIBS=$ac_check_lib_save_LIBS
8268 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
8269 $as_echo "$ac_cv_lib_z_uncompress" >&6; }
8270 if test $ac_cv_lib_z_uncompress = yes; then
8271 cat >>confdefs.h <<_ACEOF
8279 echo "Zlib (libz.so) could not be found, but is required."
8284 if test "x$with_gtk" = "xno"; then
8287 { $as_echo "$as_me:$LINENO: checking for GLIB" >&5
8288 $as_echo_n "checking for GLIB... " >&6; }
8290 if test -n "$GLIB_CFLAGS"; then
8291 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
8292 elif test -n "$PKG_CONFIG"; then
8293 if test -n "$PKG_CONFIG" && \
8294 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
8295 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
8297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 (exit $ac_status); }; then
8299 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
8306 if test -n "$GLIB_LIBS"; then
8307 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
8308 elif test -n "$PKG_CONFIG"; then
8309 if test -n "$PKG_CONFIG" && \
8310 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
8311 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
8313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); }; then
8315 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
8325 if test $pkg_failed = yes; then
8327 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8328 _pkg_short_errors_supported=yes
8330 _pkg_short_errors_supported=no
8332 if test $_pkg_short_errors_supported = yes; then
8333 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
8335 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
8337 # Put the nasty error message in config.log where it belongs
8338 echo "$GLIB_PKG_ERRORS" >&5
8340 { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
8344 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8345 installed software in a non-standard prefix.
8347 Alternatively, you may set the environment variables GLIB_CFLAGS
8348 and GLIB_LIBS to avoid the need to call pkg-config.
8349 See the pkg-config man page for more details.
8351 $as_echo "$as_me: error: Package requirements (glib-2.0) were not met:
8355 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8356 installed software in a non-standard prefix.
8358 Alternatively, you may set the environment variables GLIB_CFLAGS
8359 and GLIB_LIBS to avoid the need to call pkg-config.
8360 See the pkg-config man page for more details.
8362 { (exit 1); exit 1; }; }
8363 elif test $pkg_failed = untried; then
8364 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
8365 is in your PATH or set the PKG_CONFIG environment variable to the full
8368 Alternatively, you may set the environment variables GLIB_CFLAGS
8369 and GLIB_LIBS to avoid the need to call pkg-config.
8370 See the pkg-config man page for more details.
8372 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8373 See \`config.log' for more details." >&5
8374 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
8375 is in your PATH or set the PKG_CONFIG environment variable to the full
8378 Alternatively, you may set the environment variables GLIB_CFLAGS
8379 and GLIB_LIBS to avoid the need to call pkg-config.
8380 See the pkg-config man page for more details.
8382 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8383 See \`config.log' for more details." >&2;}
8384 { (exit 1); exit 1; }; }
8386 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
8387 GLIB_LIBS=$pkg_cv_GLIB_LIBS
8388 { $as_echo "$as_me:$LINENO: result: yes" >&5
8389 $as_echo "yes" >&6; }
8395 { $as_echo "$as_me:$LINENO: checking for GTK" >&5
8396 $as_echo_n "checking for GTK... " >&6; }
8398 if test -n "$GTK_CFLAGS"; then
8399 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
8400 elif test -n "$PKG_CONFIG"; then
8401 if test -n "$PKG_CONFIG" && \
8402 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
8403 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
8405 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); }; then
8407 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
8414 if test -n "$GTK_LIBS"; then
8415 pkg_cv_GTK_LIBS="$GTK_LIBS"
8416 elif test -n "$PKG_CONFIG"; then
8417 if test -n "$PKG_CONFIG" && \
8418 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
8419 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
8421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8422 (exit $ac_status); }; then
8423 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
8433 if test $pkg_failed = yes; then
8435 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8436 _pkg_short_errors_supported=yes
8438 _pkg_short_errors_supported=no
8440 if test $_pkg_short_errors_supported = yes; then
8441 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0" 2>&1`
8443 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0" 2>&1`
8445 # Put the nasty error message in config.log where it belongs
8446 echo "$GTK_PKG_ERRORS" >&5
8448 { { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
8452 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8453 installed software in a non-standard prefix.
8455 Alternatively, you may set the environment variables GTK_CFLAGS
8456 and GTK_LIBS to avoid the need to call pkg-config.
8457 See the pkg-config man page for more details.
8459 $as_echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
8463 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8464 installed software in a non-standard prefix.
8466 Alternatively, you may set the environment variables GTK_CFLAGS
8467 and GTK_LIBS to avoid the need to call pkg-config.
8468 See the pkg-config man page for more details.
8470 { (exit 1); exit 1; }; }
8471 elif test $pkg_failed = untried; then
8472 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
8473 is in your PATH or set the PKG_CONFIG environment variable to the full
8476 Alternatively, you may set the environment variables GTK_CFLAGS
8477 and GTK_LIBS to avoid the need to call pkg-config.
8478 See the pkg-config man page for more details.
8480 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8481 See \`config.log' for more details." >&5
8482 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
8483 is in your PATH or set the PKG_CONFIG environment variable to the full
8486 Alternatively, you may set the environment variables GTK_CFLAGS
8487 and GTK_LIBS to avoid the need to call pkg-config.
8488 See the pkg-config man page for more details.
8490 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8491 See \`config.log' for more details." >&2;}
8492 { (exit 1); exit 1; }; }
8494 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
8495 GTK_LIBS=$pkg_cv_GTK_LIBS
8496 { $as_echo "$as_me:$LINENO: result: yes" >&5
8497 $as_echo "yes" >&6; }
8501 cat >>confdefs.h <<\_ACEOF
8508 LIBS="$LIBS $GTK_LIBS"
8509 { $as_echo "$as_me:$LINENO: checking for gdk_x11_display_get_xdisplay" >&5
8510 $as_echo_n "checking for gdk_x11_display_get_xdisplay... " >&6; }
8511 if test "${ac_cv_func_gdk_x11_display_get_xdisplay+set}" = set; then
8512 $as_echo_n "(cached) " >&6
8514 cat >conftest.$ac_ext <<_ACEOF
8517 cat confdefs.h >>conftest.$ac_ext
8518 cat >>conftest.$ac_ext <<_ACEOF
8519 /* end confdefs.h. */
8520 /* Define gdk_x11_display_get_xdisplay to an innocuous variant, in case <limits.h> declares gdk_x11_display_get_xdisplay.
8521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8522 #define gdk_x11_display_get_xdisplay innocuous_gdk_x11_display_get_xdisplay
8524 /* System header to define __stub macros and hopefully few prototypes,
8525 which can conflict with char gdk_x11_display_get_xdisplay (); below.
8526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8527 <limits.h> exists even on freestanding compilers. */
8530 # include <limits.h>
8532 # include <assert.h>
8535 #undef gdk_x11_display_get_xdisplay
8537 /* Override any GCC internal prototype to avoid an error.
8538 Use char because int might match the return type of a GCC
8539 builtin and then its argument prototype would still apply. */
8543 char gdk_x11_display_get_xdisplay ();
8544 /* The GNU C library defines this for functions which it implements
8545 to always fail with ENOSYS. Some functions are actually named
8546 something starting with __ and the normal name is an alias. */
8547 #if defined __stub_gdk_x11_display_get_xdisplay || defined __stub___gdk_x11_display_get_xdisplay
8554 return gdk_x11_display_get_xdisplay ();
8559 rm -f conftest.$ac_objext conftest$ac_exeext
8560 if { (ac_try="$ac_link"
8562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8563 *) ac_try_echo=$ac_try;;
8565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8566 $as_echo "$ac_try_echo") >&5
8567 (eval "$ac_link") 2>conftest.er1
8569 grep -v '^ *+' conftest.er1 >conftest.err
8571 cat conftest.err >&5
8572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 (exit $ac_status); } && {
8574 test -z "$ac_c_werror_flag" ||
8575 test ! -s conftest.err
8576 } && test -s conftest$ac_exeext && {
8577 test "$cross_compiling" = yes ||
8578 $as_test_x conftest$ac_exeext
8580 ac_cv_func_gdk_x11_display_get_xdisplay=yes
8582 $as_echo "$as_me: failed program was:" >&5
8583 sed 's/^/| /' conftest.$ac_ext >&5
8585 ac_cv_func_gdk_x11_display_get_xdisplay=no
8588 rm -rf conftest.dSYM
8589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8590 conftest$ac_exeext conftest.$ac_ext
8592 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdk_x11_display_get_xdisplay" >&5
8593 $as_echo "$ac_cv_func_gdk_x11_display_get_xdisplay" >&6; }
8594 if test $ac_cv_func_gdk_x11_display_get_xdisplay = yes; then
8598 cat >>confdefs.h <<\_ACEOF
8599 #define HAVE_GTK_X11 1
8604 { $as_echo "$as_me:$LINENO: checking for gdk_quartz_window_get_nsview" >&5
8605 $as_echo_n "checking for gdk_quartz_window_get_nsview... " >&6; }
8606 if test "${ac_cv_func_gdk_quartz_window_get_nsview+set}" = set; then
8607 $as_echo_n "(cached) " >&6
8609 cat >conftest.$ac_ext <<_ACEOF
8612 cat confdefs.h >>conftest.$ac_ext
8613 cat >>conftest.$ac_ext <<_ACEOF
8614 /* end confdefs.h. */
8615 /* Define gdk_quartz_window_get_nsview to an innocuous variant, in case <limits.h> declares gdk_quartz_window_get_nsview.
8616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8617 #define gdk_quartz_window_get_nsview innocuous_gdk_quartz_window_get_nsview
8619 /* System header to define __stub macros and hopefully few prototypes,
8620 which can conflict with char gdk_quartz_window_get_nsview (); below.
8621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8622 <limits.h> exists even on freestanding compilers. */
8625 # include <limits.h>
8627 # include <assert.h>
8630 #undef gdk_quartz_window_get_nsview
8632 /* Override any GCC internal prototype to avoid an error.
8633 Use char because int might match the return type of a GCC
8634 builtin and then its argument prototype would still apply. */
8638 char gdk_quartz_window_get_nsview ();
8639 /* The GNU C library defines this for functions which it implements
8640 to always fail with ENOSYS. Some functions are actually named
8641 something starting with __ and the normal name is an alias. */
8642 #if defined __stub_gdk_quartz_window_get_nsview || defined __stub___gdk_quartz_window_get_nsview
8649 return gdk_quartz_window_get_nsview ();
8654 rm -f conftest.$ac_objext conftest$ac_exeext
8655 if { (ac_try="$ac_link"
8657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8658 *) ac_try_echo=$ac_try;;
8660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8661 $as_echo "$ac_try_echo") >&5
8662 (eval "$ac_link") 2>conftest.er1
8664 grep -v '^ *+' conftest.er1 >conftest.err
8666 cat conftest.err >&5
8667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); } && {
8669 test -z "$ac_c_werror_flag" ||
8670 test ! -s conftest.err
8671 } && test -s conftest$ac_exeext && {
8672 test "$cross_compiling" = yes ||
8673 $as_test_x conftest$ac_exeext
8675 ac_cv_func_gdk_quartz_window_get_nsview=yes
8677 $as_echo "$as_me: failed program was:" >&5
8678 sed 's/^/| /' conftest.$ac_ext >&5
8680 ac_cv_func_gdk_quartz_window_get_nsview=no
8683 rm -rf conftest.dSYM
8684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8685 conftest$ac_exeext conftest.$ac_ext
8687 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdk_quartz_window_get_nsview" >&5
8688 $as_echo "$ac_cv_func_gdk_quartz_window_get_nsview" >&6; }
8689 if test $ac_cv_func_gdk_quartz_window_get_nsview = yes; then
8693 cat >>confdefs.h <<\_ACEOF
8694 #define HAVE_GTK_OSX 1
8703 if test "$HAVE_GTK" = 'yes'; then
8712 if test "x$with_osmesa" != xno; then
8716 { $as_echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
8717 $as_echo_n "checking for OSMesaCreateContext in -lOSMesa... " >&6; }
8718 if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
8719 $as_echo_n "(cached) " >&6
8721 ac_check_lib_save_LIBS=$LIBS
8722 LIBS="-lOSMesa $LIBS"
8723 cat >conftest.$ac_ext <<_ACEOF
8726 cat confdefs.h >>conftest.$ac_ext
8727 cat >>conftest.$ac_ext <<_ACEOF
8728 /* end confdefs.h. */
8730 /* Override any GCC internal prototype to avoid an error.
8731 Use char because int might match the return type of a GCC
8732 builtin and then its argument prototype would still apply. */
8736 char OSMesaCreateContext ();
8740 return OSMesaCreateContext ();
8745 rm -f conftest.$ac_objext conftest$ac_exeext
8746 if { (ac_try="$ac_link"
8748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8749 *) ac_try_echo=$ac_try;;
8751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8752 $as_echo "$ac_try_echo") >&5
8753 (eval "$ac_link") 2>conftest.er1
8755 grep -v '^ *+' conftest.er1 >conftest.err
8757 cat conftest.err >&5
8758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759 (exit $ac_status); } && {
8760 test -z "$ac_c_werror_flag" ||
8761 test ! -s conftest.err
8762 } && test -s conftest$ac_exeext && {
8763 test "$cross_compiling" = yes ||
8764 $as_test_x conftest$ac_exeext
8766 ac_cv_lib_OSMesa_OSMesaCreateContext=yes
8768 $as_echo "$as_me: failed program was:" >&5
8769 sed 's/^/| /' conftest.$ac_ext >&5
8771 ac_cv_lib_OSMesa_OSMesaCreateContext=no
8774 rm -rf conftest.dSYM
8775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8776 conftest$ac_exeext conftest.$ac_ext
8777 LIBS=$ac_check_lib_save_LIBS
8779 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
8780 $as_echo "$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6; }
8781 if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
8782 cat >>confdefs.h <<_ACEOF
8783 #define HAVE_LIBOSMESA 1
8786 LIBS="-lOSMesa $LIBS"
8789 { { $as_echo "$as_me:$LINENO: error: --with-osmesa was given, but OSMesa library could not be found
8790 See \`config.log' for more details." >&5
8791 $as_echo "$as_me: error: --with-osmesa was given, but OSMesa library could not be found
8792 See \`config.log' for more details." >&2;}
8793 { (exit 1); exit 1; }; }
8796 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
8797 { $as_echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
8798 $as_echo_n "checking for GL/osmesa.h... " >&6; }
8799 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
8800 $as_echo_n "(cached) " >&6
8802 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
8803 $as_echo "$ac_cv_header_GL_osmesa_h" >&6; }
8805 # Is the header compilable?
8806 { $as_echo "$as_me:$LINENO: checking GL/osmesa.h usability" >&5
8807 $as_echo_n "checking GL/osmesa.h usability... " >&6; }
8808 cat >conftest.$ac_ext <<_ACEOF
8811 cat confdefs.h >>conftest.$ac_ext
8812 cat >>conftest.$ac_ext <<_ACEOF
8813 /* end confdefs.h. */
8814 $ac_includes_default
8815 #include <GL/osmesa.h>
8817 rm -f conftest.$ac_objext
8818 if { (ac_try="$ac_compile"
8820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8821 *) ac_try_echo=$ac_try;;
8823 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8824 $as_echo "$ac_try_echo") >&5
8825 (eval "$ac_compile") 2>conftest.er1
8827 grep -v '^ *+' conftest.er1 >conftest.err
8829 cat conftest.err >&5
8830 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); } && {
8832 test -z "$ac_c_werror_flag" ||
8833 test ! -s conftest.err
8834 } && test -s conftest.$ac_objext; then
8835 ac_header_compiler=yes
8837 $as_echo "$as_me: failed program was:" >&5
8838 sed 's/^/| /' conftest.$ac_ext >&5
8840 ac_header_compiler=no
8843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8844 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8845 $as_echo "$ac_header_compiler" >&6; }
8847 # Is the header present?
8848 { $as_echo "$as_me:$LINENO: checking GL/osmesa.h presence" >&5
8849 $as_echo_n "checking GL/osmesa.h presence... " >&6; }
8850 cat >conftest.$ac_ext <<_ACEOF
8853 cat confdefs.h >>conftest.$ac_ext
8854 cat >>conftest.$ac_ext <<_ACEOF
8855 /* end confdefs.h. */
8856 #include <GL/osmesa.h>
8858 if { (ac_try="$ac_cpp conftest.$ac_ext"
8860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8861 *) ac_try_echo=$ac_try;;
8863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8864 $as_echo "$ac_try_echo") >&5
8865 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8867 grep -v '^ *+' conftest.er1 >conftest.err
8869 cat conftest.err >&5
8870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871 (exit $ac_status); } >/dev/null && {
8872 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8873 test ! -s conftest.err
8875 ac_header_preproc=yes
8877 $as_echo "$as_me: failed program was:" >&5
8878 sed 's/^/| /' conftest.$ac_ext >&5
8880 ac_header_preproc=no
8883 rm -f conftest.err conftest.$ac_ext
8884 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8885 $as_echo "$ac_header_preproc" >&6; }
8887 # So? What about this header?
8888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8890 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&5
8891 $as_echo "$as_me: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8892 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&5
8893 $as_echo "$as_me: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&2;}
8894 ac_header_preproc=yes
8897 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: present but cannot be compiled" >&5
8898 $as_echo "$as_me: WARNING: GL/osmesa.h: present but cannot be compiled" >&2;}
8899 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: check for missing prerequisite headers?" >&5
8900 $as_echo "$as_me: WARNING: GL/osmesa.h: check for missing prerequisite headers?" >&2;}
8901 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: see the Autoconf documentation" >&5
8902 $as_echo "$as_me: WARNING: GL/osmesa.h: see the Autoconf documentation" >&2;}
8903 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: section \"Present But Cannot Be Compiled\"" >&5
8904 $as_echo "$as_me: WARNING: GL/osmesa.h: section \"Present But Cannot Be Compiled\"" >&2;}
8905 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&5
8906 $as_echo "$as_me: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&2;}
8907 { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&5
8908 $as_echo "$as_me: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&2;}
8912 { $as_echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
8913 $as_echo_n "checking for GL/osmesa.h... " >&6; }
8914 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
8915 $as_echo_n "(cached) " >&6
8917 ac_cv_header_GL_osmesa_h=$ac_header_preproc
8919 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
8920 $as_echo "$ac_cv_header_GL_osmesa_h" >&6; }
8923 if test $ac_cv_header_GL_osmesa_h = yes; then
8926 { { $as_echo "$as_me:$LINENO: error: --with-osmesa was given, but osmesa.h could not be found
8927 See \`config.log' for more details." >&5
8928 $as_echo "$as_me: error: --with-osmesa was given, but osmesa.h could not be found
8929 See \`config.log' for more details." >&2;}
8930 { (exit 1); exit 1; }; }
8935 VIDEO_DRIVERS="$VIDEO_DRIVERS osmesa"
8937 cat >>confdefs.h <<\_ACEOF
8938 #define HAVE_OSMESA 1
8944 if test "x$APPLE_BUILD" != 'xyes'; then
8946 { $as_echo "$as_me:$LINENO: checking for glVertex3f in -lGL" >&5
8947 $as_echo_n "checking for glVertex3f in -lGL... " >&6; }
8948 if test "${ac_cv_lib_GL_glVertex3f+set}" = set; then
8949 $as_echo_n "(cached) " >&6
8951 ac_check_lib_save_LIBS=$LIBS
8953 cat >conftest.$ac_ext <<_ACEOF
8956 cat confdefs.h >>conftest.$ac_ext
8957 cat >>conftest.$ac_ext <<_ACEOF
8958 /* end confdefs.h. */
8960 /* Override any GCC internal prototype to avoid an error.
8961 Use char because int might match the return type of a GCC
8962 builtin and then its argument prototype would still apply. */
8970 return glVertex3f ();
8975 rm -f conftest.$ac_objext conftest$ac_exeext
8976 if { (ac_try="$ac_link"
8978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8979 *) ac_try_echo=$ac_try;;
8981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8982 $as_echo "$ac_try_echo") >&5
8983 (eval "$ac_link") 2>conftest.er1
8985 grep -v '^ *+' conftest.er1 >conftest.err
8987 cat conftest.err >&5
8988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); } && {
8990 test -z "$ac_c_werror_flag" ||
8991 test ! -s conftest.err
8992 } && test -s conftest$ac_exeext && {
8993 test "$cross_compiling" = yes ||
8994 $as_test_x conftest$ac_exeext
8996 ac_cv_lib_GL_glVertex3f=yes
8998 $as_echo "$as_me: failed program was:" >&5
8999 sed 's/^/| /' conftest.$ac_ext >&5
9001 ac_cv_lib_GL_glVertex3f=no
9004 rm -rf conftest.dSYM
9005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9006 conftest$ac_exeext conftest.$ac_ext
9007 LIBS=$ac_check_lib_save_LIBS
9009 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glVertex3f" >&5
9010 $as_echo "$ac_cv_lib_GL_glVertex3f" >&6; }
9011 if test $ac_cv_lib_GL_glVertex3f = yes; then
9012 cat >>confdefs.h <<_ACEOF
9013 #define HAVE_LIBGL 1
9020 { { $as_echo "$as_me:$LINENO: error: \"The OpenGL library (libGL.so) could not be found, but is required.\"
9021 See \`config.log' for more details." >&5
9022 $as_echo "$as_me: error: \"The OpenGL library (libGL.so) could not be found, but is required.\"
9023 See \`config.log' for more details." >&2;}
9024 { (exit 1); exit 1; }; }
9027 if test "${ac_cv_header_GL_gl_h+set}" = set; then
9028 { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
9029 $as_echo_n "checking for GL/gl.h... " >&6; }
9030 if test "${ac_cv_header_GL_gl_h+set}" = set; then
9031 $as_echo_n "(cached) " >&6
9033 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
9034 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
9036 # Is the header compilable?
9037 { $as_echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
9038 $as_echo_n "checking GL/gl.h usability... " >&6; }
9039 cat >conftest.$ac_ext <<_ACEOF
9042 cat confdefs.h >>conftest.$ac_ext
9043 cat >>conftest.$ac_ext <<_ACEOF
9044 /* end confdefs.h. */
9045 $ac_includes_default
9048 rm -f conftest.$ac_objext
9049 if { (ac_try="$ac_compile"
9051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9052 *) ac_try_echo=$ac_try;;
9054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9055 $as_echo "$ac_try_echo") >&5
9056 (eval "$ac_compile") 2>conftest.er1
9058 grep -v '^ *+' conftest.er1 >conftest.err
9060 cat conftest.err >&5
9061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); } && {
9063 test -z "$ac_c_werror_flag" ||
9064 test ! -s conftest.err
9065 } && test -s conftest.$ac_objext; then
9066 ac_header_compiler=yes
9068 $as_echo "$as_me: failed program was:" >&5
9069 sed 's/^/| /' conftest.$ac_ext >&5
9071 ac_header_compiler=no
9074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9075 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9076 $as_echo "$ac_header_compiler" >&6; }
9078 # Is the header present?
9079 { $as_echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
9080 $as_echo_n "checking GL/gl.h presence... " >&6; }
9081 cat >conftest.$ac_ext <<_ACEOF
9084 cat confdefs.h >>conftest.$ac_ext
9085 cat >>conftest.$ac_ext <<_ACEOF
9086 /* end confdefs.h. */
9089 if { (ac_try="$ac_cpp conftest.$ac_ext"
9091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9092 *) ac_try_echo=$ac_try;;
9094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9095 $as_echo "$ac_try_echo") >&5
9096 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9098 grep -v '^ *+' conftest.er1 >conftest.err
9100 cat conftest.err >&5
9101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 (exit $ac_status); } >/dev/null && {
9103 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9104 test ! -s conftest.err
9106 ac_header_preproc=yes
9108 $as_echo "$as_me: failed program was:" >&5
9109 sed 's/^/| /' conftest.$ac_ext >&5
9111 ac_header_preproc=no
9114 rm -f conftest.err conftest.$ac_ext
9115 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9116 $as_echo "$ac_header_preproc" >&6; }
9118 # So? What about this header?
9119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9121 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
9122 $as_echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9123 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
9124 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
9125 ac_header_preproc=yes
9128 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
9129 $as_echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
9130 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
9131 $as_echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
9132 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
9133 $as_echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
9134 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
9135 $as_echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
9136 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
9137 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
9138 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
9139 $as_echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
9143 { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
9144 $as_echo_n "checking for GL/gl.h... " >&6; }
9145 if test "${ac_cv_header_GL_gl_h+set}" = set; then
9146 $as_echo_n "(cached) " >&6
9148 ac_cv_header_GL_gl_h=$ac_header_preproc
9150 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
9151 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
9154 if test $ac_cv_header_GL_gl_h = yes; then
9158 { { $as_echo "$as_me:$LINENO: error: \"The OpenGL header files (eg GL/gl.h) could not be found, but are required.\"
9159 See \`config.log' for more details." >&5
9160 $as_echo "$as_me: error: \"The OpenGL header files (eg GL/gl.h) could not be found, but are required.\"
9161 See \`config.log' for more details." >&2;}
9162 { (exit 1); exit 1; }; }
9167 { $as_echo "$as_me:$LINENO: checking for NSOpenGLGetVersion" >&5
9168 $as_echo_n "checking for NSOpenGLGetVersion... " >&6; }
9169 if test "${ac_cv_func_NSOpenGLGetVersion+set}" = set; then
9170 $as_echo_n "(cached) " >&6
9172 cat >conftest.$ac_ext <<_ACEOF
9175 cat confdefs.h >>conftest.$ac_ext
9176 cat >>conftest.$ac_ext <<_ACEOF
9177 /* end confdefs.h. */
9178 /* Define NSOpenGLGetVersion to an innocuous variant, in case <limits.h> declares NSOpenGLGetVersion.
9179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9180 #define NSOpenGLGetVersion innocuous_NSOpenGLGetVersion
9182 /* System header to define __stub macros and hopefully few prototypes,
9183 which can conflict with char NSOpenGLGetVersion (); below.
9184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9185 <limits.h> exists even on freestanding compilers. */
9188 # include <limits.h>
9190 # include <assert.h>
9193 #undef NSOpenGLGetVersion
9195 /* Override any GCC internal prototype to avoid an error.
9196 Use char because int might match the return type of a GCC
9197 builtin and then its argument prototype would still apply. */
9201 char NSOpenGLGetVersion ();
9202 /* The GNU C library defines this for functions which it implements
9203 to always fail with ENOSYS. Some functions are actually named
9204 something starting with __ and the normal name is an alias. */
9205 #if defined __stub_NSOpenGLGetVersion || defined __stub___NSOpenGLGetVersion
9212 return NSOpenGLGetVersion ();
9217 rm -f conftest.$ac_objext conftest$ac_exeext
9218 if { (ac_try="$ac_link"
9220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9221 *) ac_try_echo=$ac_try;;
9223 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9224 $as_echo "$ac_try_echo") >&5
9225 (eval "$ac_link") 2>conftest.er1
9227 grep -v '^ *+' conftest.er1 >conftest.err
9229 cat conftest.err >&5
9230 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 (exit $ac_status); } && {
9232 test -z "$ac_c_werror_flag" ||
9233 test ! -s conftest.err
9234 } && test -s conftest$ac_exeext && {
9235 test "$cross_compiling" = yes ||
9236 $as_test_x conftest$ac_exeext
9238 ac_cv_func_NSOpenGLGetVersion=yes
9240 $as_echo "$as_me: failed program was:" >&5
9241 sed 's/^/| /' conftest.$ac_ext >&5
9243 ac_cv_func_NSOpenGLGetVersion=no
9246 rm -rf conftest.dSYM
9247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9248 conftest$ac_exeext conftest.$ac_ext
9250 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_NSOpenGLGetVersion" >&5
9251 $as_echo "$ac_cv_func_NSOpenGLGetVersion" >&6; }
9252 if test $ac_cv_func_NSOpenGLGetVersion = yes; then
9255 VIDEO_DRIVERS="$VIDEO_DRIVERS nsgl"
9257 cat >>confdefs.h <<\_ACEOF
9265 if test "x$HAVE_GTK_X11" = "xyes"; then
9266 if test "x$APPLE_BUILD" = "xyes"; then
9267 LIBS="$LIBS -L/usr/X11/lib -lGL"
9269 { $as_echo "$as_me:$LINENO: checking for glXQueryVersion" >&5
9270 $as_echo_n "checking for glXQueryVersion... " >&6; }
9271 if test "${ac_cv_func_glXQueryVersion+set}" = set; then
9272 $as_echo_n "(cached) " >&6
9274 cat >conftest.$ac_ext <<_ACEOF
9277 cat confdefs.h >>conftest.$ac_ext
9278 cat >>conftest.$ac_ext <<_ACEOF
9279 /* end confdefs.h. */
9280 /* Define glXQueryVersion to an innocuous variant, in case <limits.h> declares glXQueryVersion.
9281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9282 #define glXQueryVersion innocuous_glXQueryVersion
9284 /* System header to define __stub macros and hopefully few prototypes,
9285 which can conflict with char glXQueryVersion (); below.
9286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9287 <limits.h> exists even on freestanding compilers. */
9290 # include <limits.h>
9292 # include <assert.h>
9295 #undef glXQueryVersion
9297 /* Override any GCC internal prototype to avoid an error.
9298 Use char because int might match the return type of a GCC
9299 builtin and then its argument prototype would still apply. */
9303 char glXQueryVersion ();
9304 /* The GNU C library defines this for functions which it implements
9305 to always fail with ENOSYS. Some functions are actually named
9306 something starting with __ and the normal name is an alias. */
9307 #if defined __stub_glXQueryVersion || defined __stub___glXQueryVersion
9314 return glXQueryVersion ();
9319 rm -f conftest.$ac_objext conftest$ac_exeext
9320 if { (ac_try="$ac_link"
9322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9323 *) ac_try_echo=$ac_try;;
9325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9326 $as_echo "$ac_try_echo") >&5
9327 (eval "$ac_link") 2>conftest.er1
9329 grep -v '^ *+' conftest.er1 >conftest.err
9331 cat conftest.err >&5
9332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); } && {
9334 test -z "$ac_c_werror_flag" ||
9335 test ! -s conftest.err
9336 } && test -s conftest$ac_exeext && {
9337 test "$cross_compiling" = yes ||
9338 $as_test_x conftest$ac_exeext
9340 ac_cv_func_glXQueryVersion=yes
9342 $as_echo "$as_me: failed program was:" >&5
9343 sed 's/^/| /' conftest.$ac_ext >&5
9345 ac_cv_func_glXQueryVersion=no
9348 rm -rf conftest.dSYM
9349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9350 conftest$ac_exeext conftest.$ac_ext
9352 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glXQueryVersion" >&5
9353 $as_echo "$ac_cv_func_glXQueryVersion" >&6; }
9354 if test $ac_cv_func_glXQueryVersion = yes; then
9357 VIDEO_DRIVERS="$VIDEO_DRIVERS glx"
9359 cat >>confdefs.h <<\_ACEOF
9375 if test "x$HAVE_OSMESA" = "xyes"; then
9377 VIDEO_OSMESA_FALSE='#'
9379 VIDEO_OSMESA_TRUE='#'
9385 if test "x$HAVE_GLX" = "xyes"; then
9395 if test "x$HAVE_NSGL" = "xyes"; then
9397 VIDEO_NSGL_FALSE='#'
9404 { $as_echo "$as_me:$LINENO: checking for glGenFramebuffersEXT" >&5
9405 $as_echo_n "checking for glGenFramebuffersEXT... " >&6; }
9406 if test "${ac_cv_func_glGenFramebuffersEXT+set}" = set; then
9407 $as_echo_n "(cached) " >&6
9409 cat >conftest.$ac_ext <<_ACEOF
9412 cat confdefs.h >>conftest.$ac_ext
9413 cat >>conftest.$ac_ext <<_ACEOF
9414 /* end confdefs.h. */
9415 /* Define glGenFramebuffersEXT to an innocuous variant, in case <limits.h> declares glGenFramebuffersEXT.
9416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9417 #define glGenFramebuffersEXT innocuous_glGenFramebuffersEXT
9419 /* System header to define __stub macros and hopefully few prototypes,
9420 which can conflict with char glGenFramebuffersEXT (); below.
9421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9422 <limits.h> exists even on freestanding compilers. */
9425 # include <limits.h>
9427 # include <assert.h>
9430 #undef glGenFramebuffersEXT
9432 /* Override any GCC internal prototype to avoid an error.
9433 Use char because int might match the return type of a GCC
9434 builtin and then its argument prototype would still apply. */
9438 char glGenFramebuffersEXT ();
9439 /* The GNU C library defines this for functions which it implements
9440 to always fail with ENOSYS. Some functions are actually named
9441 something starting with __ and the normal name is an alias. */
9442 #if defined __stub_glGenFramebuffersEXT || defined __stub___glGenFramebuffersEXT
9449 return glGenFramebuffersEXT ();
9454 rm -f conftest.$ac_objext conftest$ac_exeext
9455 if { (ac_try="$ac_link"
9457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9458 *) ac_try_echo=$ac_try;;
9460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9461 $as_echo "$ac_try_echo") >&5
9462 (eval "$ac_link") 2>conftest.er1
9464 grep -v '^ *+' conftest.er1 >conftest.err
9466 cat conftest.err >&5
9467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9468 (exit $ac_status); } && {
9469 test -z "$ac_c_werror_flag" ||
9470 test ! -s conftest.err
9471 } && test -s conftest$ac_exeext && {
9472 test "$cross_compiling" = yes ||
9473 $as_test_x conftest$ac_exeext
9475 ac_cv_func_glGenFramebuffersEXT=yes
9477 $as_echo "$as_me: failed program was:" >&5
9478 sed 's/^/| /' conftest.$ac_ext >&5
9480 ac_cv_func_glGenFramebuffersEXT=no
9483 rm -rf conftest.dSYM
9484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9485 conftest$ac_exeext conftest.$ac_ext
9487 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glGenFramebuffersEXT" >&5
9488 $as_echo "$ac_cv_func_glGenFramebuffersEXT" >&6; }
9489 if test $ac_cv_func_glGenFramebuffersEXT = yes; then
9491 cat >>confdefs.h <<\_ACEOF
9492 #define HAVE_OPENGL_FBO 1
9497 { $as_echo "$as_me:$LINENO: checking for glCreateShader" >&5
9498 $as_echo_n "checking for glCreateShader... " >&6; }
9499 if test "${ac_cv_func_glCreateShader+set}" = set; then
9500 $as_echo_n "(cached) " >&6
9502 cat >conftest.$ac_ext <<_ACEOF
9505 cat confdefs.h >>conftest.$ac_ext
9506 cat >>conftest.$ac_ext <<_ACEOF
9507 /* end confdefs.h. */
9508 /* Define glCreateShader to an innocuous variant, in case <limits.h> declares glCreateShader.
9509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9510 #define glCreateShader innocuous_glCreateShader
9512 /* System header to define __stub macros and hopefully few prototypes,
9513 which can conflict with char glCreateShader (); below.
9514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9515 <limits.h> exists even on freestanding compilers. */
9518 # include <limits.h>
9520 # include <assert.h>
9523 #undef glCreateShader
9525 /* Override any GCC internal prototype to avoid an error.
9526 Use char because int might match the return type of a GCC
9527 builtin and then its argument prototype would still apply. */
9531 char glCreateShader ();
9532 /* The GNU C library defines this for functions which it implements
9533 to always fail with ENOSYS. Some functions are actually named
9534 something starting with __ and the normal name is an alias. */
9535 #if defined __stub_glCreateShader || defined __stub___glCreateShader
9542 return glCreateShader ();
9547 rm -f conftest.$ac_objext conftest$ac_exeext
9548 if { (ac_try="$ac_link"
9550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9551 *) ac_try_echo=$ac_try;;
9553 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9554 $as_echo "$ac_try_echo") >&5
9555 (eval "$ac_link") 2>conftest.er1
9557 grep -v '^ *+' conftest.er1 >conftest.err
9559 cat conftest.err >&5
9560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9561 (exit $ac_status); } && {
9562 test -z "$ac_c_werror_flag" ||
9563 test ! -s conftest.err
9564 } && test -s conftest$ac_exeext && {
9565 test "$cross_compiling" = yes ||
9566 $as_test_x conftest$ac_exeext
9568 ac_cv_func_glCreateShader=yes
9570 $as_echo "$as_me: failed program was:" >&5
9571 sed 's/^/| /' conftest.$ac_ext >&5
9573 ac_cv_func_glCreateShader=no
9576 rm -rf conftest.dSYM
9577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9578 conftest$ac_exeext conftest.$ac_ext
9580 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShader" >&5
9581 $as_echo "$ac_cv_func_glCreateShader" >&6; }
9582 if test $ac_cv_func_glCreateShader = yes; then
9584 cat >>confdefs.h <<\_ACEOF
9585 #define HAVE_OPENGL_SHADER 1
9590 { $as_echo "$as_me:$LINENO: checking for glCreateShaderObjectARB" >&5
9591 $as_echo_n "checking for glCreateShaderObjectARB... " >&6; }
9592 if test "${ac_cv_func_glCreateShaderObjectARB+set}" = set; then
9593 $as_echo_n "(cached) " >&6
9595 cat >conftest.$ac_ext <<_ACEOF
9598 cat confdefs.h >>conftest.$ac_ext
9599 cat >>conftest.$ac_ext <<_ACEOF
9600 /* end confdefs.h. */
9601 /* Define glCreateShaderObjectARB to an innocuous variant, in case <limits.h> declares glCreateShaderObjectARB.
9602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9603 #define glCreateShaderObjectARB innocuous_glCreateShaderObjectARB
9605 /* System header to define __stub macros and hopefully few prototypes,
9606 which can conflict with char glCreateShaderObjectARB (); below.
9607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9608 <limits.h> exists even on freestanding compilers. */
9611 # include <limits.h>
9613 # include <assert.h>
9616 #undef glCreateShaderObjectARB
9618 /* Override any GCC internal prototype to avoid an error.
9619 Use char because int might match the return type of a GCC
9620 builtin and then its argument prototype would still apply. */
9624 char glCreateShaderObjectARB ();
9625 /* The GNU C library defines this for functions which it implements
9626 to always fail with ENOSYS. Some functions are actually named
9627 something starting with __ and the normal name is an alias. */
9628 #if defined __stub_glCreateShaderObjectARB || defined __stub___glCreateShaderObjectARB
9635 return glCreateShaderObjectARB ();
9640 rm -f conftest.$ac_objext conftest$ac_exeext
9641 if { (ac_try="$ac_link"
9643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9644 *) ac_try_echo=$ac_try;;
9646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9647 $as_echo "$ac_try_echo") >&5
9648 (eval "$ac_link") 2>conftest.er1
9650 grep -v '^ *+' conftest.er1 >conftest.err
9652 cat conftest.err >&5
9653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654 (exit $ac_status); } && {
9655 test -z "$ac_c_werror_flag" ||
9656 test ! -s conftest.err
9657 } && test -s conftest$ac_exeext && {
9658 test "$cross_compiling" = yes ||
9659 $as_test_x conftest$ac_exeext
9661 ac_cv_func_glCreateShaderObjectARB=yes
9663 $as_echo "$as_me: failed program was:" >&5
9664 sed 's/^/| /' conftest.$ac_ext >&5
9666 ac_cv_func_glCreateShaderObjectARB=no
9669 rm -rf conftest.dSYM
9670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9671 conftest$ac_exeext conftest.$ac_ext
9673 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShaderObjectARB" >&5
9674 $as_echo "$ac_cv_func_glCreateShaderObjectARB" >&6; }
9675 if test $ac_cv_func_glCreateShaderObjectARB = yes; then
9677 cat >>confdefs.h <<\_ACEOF
9678 #define HAVE_OPENGL_SHADER_ARB 1
9683 { $as_echo "$as_me:$LINENO: checking for glClampColorARB" >&5
9684 $as_echo_n "checking for glClampColorARB... " >&6; }
9685 if test "${ac_cv_func_glClampColorARB+set}" = set; then
9686 $as_echo_n "(cached) " >&6
9688 cat >conftest.$ac_ext <<_ACEOF
9691 cat confdefs.h >>conftest.$ac_ext
9692 cat >>conftest.$ac_ext <<_ACEOF
9693 /* end confdefs.h. */
9694 /* Define glClampColorARB to an innocuous variant, in case <limits.h> declares glClampColorARB.
9695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9696 #define glClampColorARB innocuous_glClampColorARB
9698 /* System header to define __stub macros and hopefully few prototypes,
9699 which can conflict with char glClampColorARB (); below.
9700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9701 <limits.h> exists even on freestanding compilers. */
9704 # include <limits.h>
9706 # include <assert.h>
9709 #undef glClampColorARB
9711 /* Override any GCC internal prototype to avoid an error.
9712 Use char because int might match the return type of a GCC
9713 builtin and then its argument prototype would still apply. */
9717 char glClampColorARB ();
9718 /* The GNU C library defines this for functions which it implements
9719 to always fail with ENOSYS. Some functions are actually named
9720 something starting with __ and the normal name is an alias. */
9721 #if defined __stub_glClampColorARB || defined __stub___glClampColorARB
9728 return glClampColorARB ();
9733 rm -f conftest.$ac_objext conftest$ac_exeext
9734 if { (ac_try="$ac_link"
9736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9737 *) ac_try_echo=$ac_try;;
9739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9740 $as_echo "$ac_try_echo") >&5
9741 (eval "$ac_link") 2>conftest.er1
9743 grep -v '^ *+' conftest.er1 >conftest.err
9745 cat conftest.err >&5
9746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); } && {
9748 test -z "$ac_c_werror_flag" ||
9749 test ! -s conftest.err
9750 } && test -s conftest$ac_exeext && {
9751 test "$cross_compiling" = yes ||
9752 $as_test_x conftest$ac_exeext
9754 ac_cv_func_glClampColorARB=yes
9756 $as_echo "$as_me: failed program was:" >&5
9757 sed 's/^/| /' conftest.$ac_ext >&5
9759 ac_cv_func_glClampColorARB=no
9762 rm -rf conftest.dSYM
9763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9764 conftest$ac_exeext conftest.$ac_ext
9766 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glClampColorARB" >&5
9767 $as_echo "$ac_cv_func_glClampColorARB" >&6; }
9768 if test $ac_cv_func_glClampColorARB = yes; then
9770 cat >>confdefs.h <<\_ACEOF
9771 #define HAVE_OPENGL_CLAMP_COLOR 1
9779 if test "x$enable_translator" != "xno"; then
9781 i386|i486|i586|i686|x86_64)
9782 SH4_TRANSLATOR="x86"
9784 cat >>confdefs.h <<_ACEOF
9785 #define SH4_TRANSLATOR TARGET_X86
9792 if test "$SH4_TRANSLATOR" = "x86"; then
9794 BUILD_SH4X86_FALSE='#'
9796 BUILD_SH4X86_TRUE='#'
9801 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
9802 { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
9803 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
9804 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
9805 $as_echo_n "(cached) " >&6
9807 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
9808 $as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
9810 # Is the header compilable?
9811 { $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
9812 $as_echo_n "checking CoreAudio/CoreAudio.h usability... " >&6; }
9813 cat >conftest.$ac_ext <<_ACEOF
9816 cat confdefs.h >>conftest.$ac_ext
9817 cat >>conftest.$ac_ext <<_ACEOF
9818 /* end confdefs.h. */
9819 $ac_includes_default
9820 #include <CoreAudio/CoreAudio.h>
9822 rm -f conftest.$ac_objext
9823 if { (ac_try="$ac_compile"
9825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9826 *) ac_try_echo=$ac_try;;
9828 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9829 $as_echo "$ac_try_echo") >&5
9830 (eval "$ac_compile") 2>conftest.er1
9832 grep -v '^ *+' conftest.er1 >conftest.err
9834 cat conftest.err >&5
9835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836 (exit $ac_status); } && {
9837 test -z "$ac_c_werror_flag" ||
9838 test ! -s conftest.err
9839 } && test -s conftest.$ac_objext; then
9840 ac_header_compiler=yes
9842 $as_echo "$as_me: failed program was:" >&5
9843 sed 's/^/| /' conftest.$ac_ext >&5
9845 ac_header_compiler=no
9848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9849 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9850 $as_echo "$ac_header_compiler" >&6; }
9852 # Is the header present?
9853 { $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
9854 $as_echo_n "checking CoreAudio/CoreAudio.h presence... " >&6; }
9855 cat >conftest.$ac_ext <<_ACEOF
9858 cat confdefs.h >>conftest.$ac_ext
9859 cat >>conftest.$ac_ext <<_ACEOF
9860 /* end confdefs.h. */
9861 #include <CoreAudio/CoreAudio.h>
9863 if { (ac_try="$ac_cpp conftest.$ac_ext"
9865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9866 *) ac_try_echo=$ac_try;;
9868 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9869 $as_echo "$ac_try_echo") >&5
9870 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9872 grep -v '^ *+' conftest.er1 >conftest.err
9874 cat conftest.err >&5
9875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9876 (exit $ac_status); } >/dev/null && {
9877 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9878 test ! -s conftest.err
9880 ac_header_preproc=yes
9882 $as_echo "$as_me: failed program was:" >&5
9883 sed 's/^/| /' conftest.$ac_ext >&5
9885 ac_header_preproc=no
9888 rm -f conftest.err conftest.$ac_ext
9889 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9890 $as_echo "$ac_header_preproc" >&6; }
9892 # So? What about this header?
9893 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9895 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
9896 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9897 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
9898 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
9899 ac_header_preproc=yes
9902 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
9903 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
9904 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&5
9905 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&2;}
9906 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
9907 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
9908 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&5
9909 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&2;}
9910 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
9911 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
9912 { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
9913 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
9917 { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
9918 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
9919 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
9920 $as_echo_n "(cached) " >&6
9922 ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
9924 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
9925 $as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
9928 if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
9931 LIBS="$LIBS -framework CoreAudio"
9932 AUDIO_DRIVERS="$AUDIO_DRIVERS osx"
9934 cat >>confdefs.h <<\_ACEOF
9935 #define HAVE_CORE_AUDIO 1
9945 if test "$HAVE_CORE_AUDIO" = 'yes' ; then
9954 if test "x$with_pulse" != "xno"; then
9957 { $as_echo "$as_me:$LINENO: checking for PULSE" >&5
9958 $as_echo_n "checking for PULSE... " >&6; }
9960 if test -n "$PULSE_CFLAGS"; then
9961 pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
9962 elif test -n "$PKG_CONFIG"; then
9963 if test -n "$PKG_CONFIG" && \
9964 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
9965 ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
9967 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9968 (exit $ac_status); }; then
9969 pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse-simple" 2>/dev/null`
9976 if test -n "$PULSE_LIBS"; then
9977 pkg_cv_PULSE_LIBS="$PULSE_LIBS"
9978 elif test -n "$PKG_CONFIG"; then
9979 if test -n "$PKG_CONFIG" && \
9980 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
9981 ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
9983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); }; then
9985 pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse-simple" 2>/dev/null`
9995 if test $pkg_failed = yes; then
9997 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9998 _pkg_short_errors_supported=yes
10000 _pkg_short_errors_supported=no
10002 if test $_pkg_short_errors_supported = yes; then
10003 PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpulse-simple" 2>&1`
10005 PULSE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpulse-simple" 2>&1`
10007 # Put the nasty error message in config.log where it belongs
10008 echo "$PULSE_PKG_ERRORS" >&5
10010 { $as_echo "$as_me:$LINENO: result: no" >&5
10011 $as_echo "no" >&6; }
10013 if test "x$with_pulse" = "xyes"; then
10014 { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
10015 See \`config.log' for more details." >&5
10016 $as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
10017 See \`config.log' for more details." >&2;}
10018 { (exit 1); exit 1; }; }
10021 elif test $pkg_failed = untried; then
10023 if test "x$with_pulse" = "xyes"; then
10024 { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
10025 See \`config.log' for more details." >&5
10026 $as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
10027 See \`config.log' for more details." >&2;}
10028 { (exit 1); exit 1; }; }
10032 PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
10033 PULSE_LIBS=$pkg_cv_PULSE_LIBS
10034 { $as_echo "$as_me:$LINENO: result: yes" >&5
10035 $as_echo "yes" >&6; }
10038 AUDIO_DRIVERS="$AUDIO_DRIVERS pulse"
10040 cat >>confdefs.h <<\_ACEOF
10041 #define HAVE_PULSE 1
10049 if test "$HAVE_PULSE" = 'yes' ; then
10051 AUDIO_PULSE_FALSE='#'
10053 AUDIO_PULSE_TRUE='#'
10058 if test "x$with_esd" != "xno"; then
10061 { $as_echo "$as_me:$LINENO: checking for ESOUND" >&5
10062 $as_echo_n "checking for ESOUND... " >&6; }
10064 if test -n "$ESOUND_CFLAGS"; then
10065 pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
10066 elif test -n "$PKG_CONFIG"; then
10067 if test -n "$PKG_CONFIG" && \
10068 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
10069 ($PKG_CONFIG --exists --print-errors "esound") 2>&5
10071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }; then
10073 pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
10080 if test -n "$ESOUND_LIBS"; then
10081 pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
10082 elif test -n "$PKG_CONFIG"; then
10083 if test -n "$PKG_CONFIG" && \
10084 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
10085 ($PKG_CONFIG --exists --print-errors "esound") 2>&5
10087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); }; then
10089 pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
10099 if test $pkg_failed = yes; then
10101 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10102 _pkg_short_errors_supported=yes
10104 _pkg_short_errors_supported=no
10106 if test $_pkg_short_errors_supported = yes; then
10107 ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "esound" 2>&1`
10109 ESOUND_PKG_ERRORS=`$PKG_CONFIG --print-errors "esound" 2>&1`
10111 # Put the nasty error message in config.log where it belongs
10112 echo "$ESOUND_PKG_ERRORS" >&5
10114 { $as_echo "$as_me:$LINENO: result: no" >&5
10115 $as_echo "no" >&6; }
10117 if test "x$with_esd" = "xyes"; then
10118 { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
10119 See \`config.log' for more details." >&5
10120 $as_echo "$as_me: error: ESounD audio package could not be found (but was required)
10121 See \`config.log' for more details." >&2;}
10122 { (exit 1); exit 1; }; }
10125 elif test $pkg_failed = untried; then
10127 if test "x$with_esd" = "xyes"; then
10128 { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
10129 See \`config.log' for more details." >&5
10130 $as_echo "$as_me: error: ESounD audio package could not be found (but was required)
10131 See \`config.log' for more details." >&2;}
10132 { (exit 1); exit 1; }; }
10136 ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
10137 ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
10138 { $as_echo "$as_me:$LINENO: result: yes" >&5
10139 $as_echo "yes" >&6; }
10142 AUDIO_DRIVERS="$AUDIO_DRIVERS esd"
10144 cat >>confdefs.h <<\_ACEOF
10145 #define HAVE_ESOUND 1
10153 if test "$HAVE_ESOUND" = 'yes' ; then
10155 AUDIO_ESOUND_FALSE='#'
10157 AUDIO_ESOUND_TRUE='#'
10158 AUDIO_ESOUND_FALSE=
10164 { $as_echo "$as_me:$LINENO: checking for ALSA" >&5
10165 $as_echo_n "checking for ALSA... " >&6; }
10167 if test -n "$ALSA_CFLAGS"; then
10168 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
10169 elif test -n "$PKG_CONFIG"; then
10170 if test -n "$PKG_CONFIG" && \
10171 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
10172 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
10174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175 (exit $ac_status); }; then
10176 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
10183 if test -n "$ALSA_LIBS"; then
10184 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
10185 elif test -n "$PKG_CONFIG"; then
10186 if test -n "$PKG_CONFIG" && \
10187 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
10188 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
10190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10191 (exit $ac_status); }; then
10192 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
10202 if test $pkg_failed = yes; then
10204 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10205 _pkg_short_errors_supported=yes
10207 _pkg_short_errors_supported=no
10209 if test $_pkg_short_errors_supported = yes; then
10210 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "alsa" 2>&1`
10212 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "alsa" 2>&1`
10214 # Put the nasty error message in config.log where it belongs
10215 echo "$ALSA_PKG_ERRORS" >&5
10217 { $as_echo "$as_me:$LINENO: result: no" >&5
10218 $as_echo "no" >&6; }
10220 elif test $pkg_failed = untried; then
10223 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
10224 ALSA_LIBS=$pkg_cv_ALSA_LIBS
10225 { $as_echo "$as_me:$LINENO: result: yes" >&5
10226 $as_echo "yes" >&6; }
10229 AUDIO_DRIVERS="$AUDIO_DRIVERS alsa"
10231 cat >>confdefs.h <<\_ACEOF
10232 #define HAVE_ALSA 1
10238 if test "$HAVE_ALSA" = 'yes' ; then
10240 AUDIO_ALSA_FALSE='#'
10242 AUDIO_ALSA_TRUE='#'
10248 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
10249 { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
10250 $as_echo_n "checking for linux/cdrom.h... " >&6; }
10251 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
10252 $as_echo_n "(cached) " >&6
10254 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
10255 $as_echo "$ac_cv_header_linux_cdrom_h" >&6; }
10257 # Is the header compilable?
10258 { $as_echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
10259 $as_echo_n "checking linux/cdrom.h usability... " >&6; }
10260 cat >conftest.$ac_ext <<_ACEOF
10263 cat confdefs.h >>conftest.$ac_ext
10264 cat >>conftest.$ac_ext <<_ACEOF
10265 /* end confdefs.h. */
10266 $ac_includes_default
10267 #include <linux/cdrom.h>
10269 rm -f conftest.$ac_objext
10270 if { (ac_try="$ac_compile"
10271 case "(($ac_try" in
10272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10273 *) ac_try_echo=$ac_try;;
10275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10276 $as_echo "$ac_try_echo") >&5
10277 (eval "$ac_compile") 2>conftest.er1
10279 grep -v '^ *+' conftest.er1 >conftest.err
10281 cat conftest.err >&5
10282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283 (exit $ac_status); } && {
10284 test -z "$ac_c_werror_flag" ||
10285 test ! -s conftest.err
10286 } && test -s conftest.$ac_objext; then
10287 ac_header_compiler=yes
10289 $as_echo "$as_me: failed program was:" >&5
10290 sed 's/^/| /' conftest.$ac_ext >&5
10292 ac_header_compiler=no
10295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10296 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10297 $as_echo "$ac_header_compiler" >&6; }
10299 # Is the header present?
10300 { $as_echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
10301 $as_echo_n "checking linux/cdrom.h presence... " >&6; }
10302 cat >conftest.$ac_ext <<_ACEOF
10305 cat confdefs.h >>conftest.$ac_ext
10306 cat >>conftest.$ac_ext <<_ACEOF
10307 /* end confdefs.h. */
10308 #include <linux/cdrom.h>
10310 if { (ac_try="$ac_cpp conftest.$ac_ext"
10311 case "(($ac_try" in
10312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10313 *) ac_try_echo=$ac_try;;
10315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10316 $as_echo "$ac_try_echo") >&5
10317 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10319 grep -v '^ *+' conftest.er1 >conftest.err
10321 cat conftest.err >&5
10322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); } >/dev/null && {
10324 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10325 test ! -s conftest.err
10327 ac_header_preproc=yes
10329 $as_echo "$as_me: failed program was:" >&5
10330 sed 's/^/| /' conftest.$ac_ext >&5
10332 ac_header_preproc=no
10335 rm -f conftest.err conftest.$ac_ext
10336 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10337 $as_echo "$ac_header_preproc" >&6; }
10339 # So? What about this header?
10340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10342 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
10343 $as_echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10344 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
10345 $as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
10346 ac_header_preproc=yes
10349 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
10350 $as_echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
10351 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: check for missing prerequisite headers?" >&5
10352 $as_echo "$as_me: WARNING: linux/cdrom.h: check for missing prerequisite headers?" >&2;}
10353 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
10354 $as_echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
10355 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: section \"Present But Cannot Be Compiled\"" >&5
10356 $as_echo "$as_me: WARNING: linux/cdrom.h: section \"Present But Cannot Be Compiled\"" >&2;}
10357 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
10358 $as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
10359 { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
10360 $as_echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
10364 { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
10365 $as_echo_n "checking for linux/cdrom.h... " >&6; }
10366 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
10367 $as_echo_n "(cached) " >&6
10369 ac_cv_header_linux_cdrom_h=$ac_header_preproc
10371 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
10372 $as_echo "$ac_cv_header_linux_cdrom_h" >&6; }
10375 if test $ac_cv_header_linux_cdrom_h = yes; then
10382 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
10383 { $as_echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
10384 $as_echo_n "checking for IOKit/IOKitLib.h... " >&6; }
10385 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
10386 $as_echo_n "(cached) " >&6
10388 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
10389 $as_echo "$ac_cv_header_IOKit_IOKitLib_h" >&6; }
10391 # Is the header compilable?
10392 { $as_echo "$as_me:$LINENO: checking IOKit/IOKitLib.h usability" >&5
10393 $as_echo_n "checking IOKit/IOKitLib.h usability... " >&6; }
10394 cat >conftest.$ac_ext <<_ACEOF
10397 cat confdefs.h >>conftest.$ac_ext
10398 cat >>conftest.$ac_ext <<_ACEOF
10399 /* end confdefs.h. */
10400 $ac_includes_default
10401 #include <IOKit/IOKitLib.h>
10403 rm -f conftest.$ac_objext
10404 if { (ac_try="$ac_compile"
10405 case "(($ac_try" in
10406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10407 *) ac_try_echo=$ac_try;;
10409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10410 $as_echo "$ac_try_echo") >&5
10411 (eval "$ac_compile") 2>conftest.er1
10413 grep -v '^ *+' conftest.er1 >conftest.err
10415 cat conftest.err >&5
10416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417 (exit $ac_status); } && {
10418 test -z "$ac_c_werror_flag" ||
10419 test ! -s conftest.err
10420 } && test -s conftest.$ac_objext; then
10421 ac_header_compiler=yes
10423 $as_echo "$as_me: failed program was:" >&5
10424 sed 's/^/| /' conftest.$ac_ext >&5
10426 ac_header_compiler=no
10429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10430 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10431 $as_echo "$ac_header_compiler" >&6; }
10433 # Is the header present?
10434 { $as_echo "$as_me:$LINENO: checking IOKit/IOKitLib.h presence" >&5
10435 $as_echo_n "checking IOKit/IOKitLib.h presence... " >&6; }
10436 cat >conftest.$ac_ext <<_ACEOF
10439 cat confdefs.h >>conftest.$ac_ext
10440 cat >>conftest.$ac_ext <<_ACEOF
10441 /* end confdefs.h. */
10442 #include <IOKit/IOKitLib.h>
10444 if { (ac_try="$ac_cpp conftest.$ac_ext"
10445 case "(($ac_try" in
10446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10447 *) ac_try_echo=$ac_try;;
10449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10450 $as_echo "$ac_try_echo") >&5
10451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10453 grep -v '^ *+' conftest.er1 >conftest.err
10455 cat conftest.err >&5
10456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); } >/dev/null && {
10458 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10459 test ! -s conftest.err
10461 ac_header_preproc=yes
10463 $as_echo "$as_me: failed program was:" >&5
10464 sed 's/^/| /' conftest.$ac_ext >&5
10466 ac_header_preproc=no
10469 rm -f conftest.err conftest.$ac_ext
10470 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10471 $as_echo "$ac_header_preproc" >&6; }
10473 # So? What about this header?
10474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10476 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&5
10477 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10478 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&5
10479 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&2;}
10480 ac_header_preproc=yes
10483 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&5
10484 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&2;}
10485 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: check for missing prerequisite headers?" >&5
10486 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: check for missing prerequisite headers?" >&2;}
10487 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&5
10488 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&2;}
10489 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: section \"Present But Cannot Be Compiled\"" >&5
10490 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: section \"Present But Cannot Be Compiled\"" >&2;}
10491 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&5
10492 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&2;}
10493 { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&5
10494 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&2;}
10498 { $as_echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
10499 $as_echo_n "checking for IOKit/IOKitLib.h... " >&6; }
10500 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
10501 $as_echo_n "(cached) " >&6
10503 ac_cv_header_IOKit_IOKitLib_h=$ac_header_preproc
10505 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
10506 $as_echo "$ac_cv_header_IOKit_IOKitLib_h" >&6; }
10509 if test $ac_cv_header_IOKit_IOKitLib_h = yes; then
10512 LIBS="$LIBS -framework IOKit"
10520 if test "x$CDROM_DRIVER" = "xlinux"; then
10522 CDROM_LINUX_FALSE='#'
10524 CDROM_LINUX_TRUE='#'
10530 if test "x$CDROM_DRIVER" = "xosx"; then
10532 CDROM_OSX_FALSE='#'
10540 if test "x$CDROM_DRIVER" = "x"; then
10542 CDROM_NONE_FALSE='#'
10544 CDROM_NONE_TRUE='#'
10549 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
10550 { $as_echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
10551 $as_echo_n "checking for linux/joystick.h... " >&6; }
10552 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
10553 $as_echo_n "(cached) " >&6
10555 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
10556 $as_echo "$ac_cv_header_linux_joystick_h" >&6; }
10558 # Is the header compilable?
10559 { $as_echo "$as_me:$LINENO: checking linux/joystick.h usability" >&5
10560 $as_echo_n "checking linux/joystick.h usability... " >&6; }
10561 cat >conftest.$ac_ext <<_ACEOF
10564 cat confdefs.h >>conftest.$ac_ext
10565 cat >>conftest.$ac_ext <<_ACEOF
10566 /* end confdefs.h. */
10567 $ac_includes_default
10568 #include <linux/joystick.h>
10570 rm -f conftest.$ac_objext
10571 if { (ac_try="$ac_compile"
10572 case "(($ac_try" in
10573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10574 *) ac_try_echo=$ac_try;;
10576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10577 $as_echo "$ac_try_echo") >&5
10578 (eval "$ac_compile") 2>conftest.er1
10580 grep -v '^ *+' conftest.er1 >conftest.err
10582 cat conftest.err >&5
10583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); } && {
10585 test -z "$ac_c_werror_flag" ||
10586 test ! -s conftest.err
10587 } && test -s conftest.$ac_objext; then
10588 ac_header_compiler=yes
10590 $as_echo "$as_me: failed program was:" >&5
10591 sed 's/^/| /' conftest.$ac_ext >&5
10593 ac_header_compiler=no
10596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10597 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10598 $as_echo "$ac_header_compiler" >&6; }
10600 # Is the header present?
10601 { $as_echo "$as_me:$LINENO: checking linux/joystick.h presence" >&5
10602 $as_echo_n "checking linux/joystick.h presence... " >&6; }
10603 cat >conftest.$ac_ext <<_ACEOF
10606 cat confdefs.h >>conftest.$ac_ext
10607 cat >>conftest.$ac_ext <<_ACEOF
10608 /* end confdefs.h. */
10609 #include <linux/joystick.h>
10611 if { (ac_try="$ac_cpp conftest.$ac_ext"
10612 case "(($ac_try" in
10613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10614 *) ac_try_echo=$ac_try;;
10616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10617 $as_echo "$ac_try_echo") >&5
10618 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10620 grep -v '^ *+' conftest.er1 >conftest.err
10622 cat conftest.err >&5
10623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); } >/dev/null && {
10625 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10626 test ! -s conftest.err
10628 ac_header_preproc=yes
10630 $as_echo "$as_me: failed program was:" >&5
10631 sed 's/^/| /' conftest.$ac_ext >&5
10633 ac_header_preproc=no
10636 rm -f conftest.err conftest.$ac_ext
10637 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10638 $as_echo "$ac_header_preproc" >&6; }
10640 # So? What about this header?
10641 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10643 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&5
10644 $as_echo "$as_me: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10645 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the compiler's result" >&5
10646 $as_echo "$as_me: WARNING: linux/joystick.h: proceeding with the compiler's result" >&2;}
10647 ac_header_preproc=yes
10650 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: present but cannot be compiled" >&5
10651 $as_echo "$as_me: WARNING: linux/joystick.h: present but cannot be compiled" >&2;}
10652 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: check for missing prerequisite headers?" >&5
10653 $as_echo "$as_me: WARNING: linux/joystick.h: check for missing prerequisite headers?" >&2;}
10654 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: see the Autoconf documentation" >&5
10655 $as_echo "$as_me: WARNING: linux/joystick.h: see the Autoconf documentation" >&2;}
10656 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: section \"Present But Cannot Be Compiled\"" >&5
10657 $as_echo "$as_me: WARNING: linux/joystick.h: section \"Present But Cannot Be Compiled\"" >&2;}
10658 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&5
10659 $as_echo "$as_me: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&2;}
10660 { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&5
10661 $as_echo "$as_me: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&2;}
10665 { $as_echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
10666 $as_echo_n "checking for linux/joystick.h... " >&6; }
10667 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
10668 $as_echo_n "(cached) " >&6
10670 ac_cv_header_linux_joystick_h=$ac_header_preproc
10672 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
10673 $as_echo "$ac_cv_header_linux_joystick_h" >&6; }
10676 if test $ac_cv_header_linux_joystick_h = yes; then
10678 HAVE_LINUX_JOYSTICK_H=yes
10680 cat >>confdefs.h <<\_ACEOF
10681 #define HAVE_LINUX_JOYSTICK 1
10685 echo "Linux Joystick support not found, building without it."
10691 if test "$HAVE_LINUX_JOYSTICK_H" = "yes"; then
10693 JOY_LINUX_FALSE='#'
10700 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
10701 set dummy sh-elf-gcc; ac_word=$2
10702 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10703 $as_echo_n "checking for $ac_word... " >&6; }
10704 if test "${ac_cv_path_SHCC+set}" = set; then
10705 $as_echo_n "(cached) " >&6
10709 ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
10712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10713 for as_dir in $PATH
10716 test -z "$as_dir" && as_dir=.
10717 for ac_exec_ext in '' $ac_executable_extensions; do
10718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10719 ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
10720 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10730 SHCC=$ac_cv_path_SHCC
10731 if test -n "$SHCC"; then
10732 { $as_echo "$as_me:$LINENO: result: $SHCC" >&5
10733 $as_echo "$SHCC" >&6; }
10735 { $as_echo "$as_me:$LINENO: result: no" >&5
10736 $as_echo "no" >&6; }
10740 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
10741 set dummy sh-elf-ld; ac_word=$2
10742 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10743 $as_echo_n "checking for $ac_word... " >&6; }
10744 if test "${ac_cv_path_SHLD+set}" = set; then
10745 $as_echo_n "(cached) " >&6
10749 ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
10752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10753 for as_dir in $PATH
10756 test -z "$as_dir" && as_dir=.
10757 for ac_exec_ext in '' $ac_executable_extensions; do
10758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10759 ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
10760 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10770 SHLD=$ac_cv_path_SHLD
10771 if test -n "$SHLD"; then
10772 { $as_echo "$as_me:$LINENO: result: $SHLD" >&5
10773 $as_echo "$SHLD" >&6; }
10775 { $as_echo "$as_me:$LINENO: result: no" >&5
10776 $as_echo "no" >&6; }
10780 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
10781 set dummy sh-elf-objcopy; ac_word=$2
10782 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10783 $as_echo_n "checking for $ac_word... " >&6; }
10784 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
10785 $as_echo_n "(cached) " >&6
10789 ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
10792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10793 for as_dir in $PATH
10796 test -z "$as_dir" && as_dir=.
10797 for ac_exec_ext in '' $ac_executable_extensions; do
10798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10799 ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
10800 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10810 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
10811 if test -n "$SHOBJCOPY"; then
10812 { $as_echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
10813 $as_echo "$SHOBJCOPY" >&6; }
10815 { $as_echo "$as_me:$LINENO: result: no" >&5
10816 $as_echo "no" >&6; }
10820 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
10821 set dummy arm-elf-gcc; ac_word=$2
10822 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10823 $as_echo_n "checking for $ac_word... " >&6; }
10824 if test "${ac_cv_path_ARMCC+set}" = set; then
10825 $as_echo_n "(cached) " >&6
10829 ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
10832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10833 for as_dir in $PATH
10836 test -z "$as_dir" && as_dir=.
10837 for ac_exec_ext in '' $ac_executable_extensions; do
10838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10839 ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
10840 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10850 ARMCC=$ac_cv_path_ARMCC
10851 if test -n "$ARMCC"; then
10852 { $as_echo "$as_me:$LINENO: result: $ARMCC" >&5
10853 $as_echo "$ARMCC" >&6; }
10855 { $as_echo "$as_me:$LINENO: result: no" >&5
10856 $as_echo "no" >&6; }
10860 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
10861 set dummy arm-elf-ld; ac_word=$2
10862 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10863 $as_echo_n "checking for $ac_word... " >&6; }
10864 if test "${ac_cv_path_ARMLD+set}" = set; then
10865 $as_echo_n "(cached) " >&6
10869 ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
10872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10873 for as_dir in $PATH
10876 test -z "$as_dir" && as_dir=.
10877 for ac_exec_ext in '' $ac_executable_extensions; do
10878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10879 ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
10880 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10890 ARMLD=$ac_cv_path_ARMLD
10891 if test -n "$ARMLD"; then
10892 { $as_echo "$as_me:$LINENO: result: $ARMLD" >&5
10893 $as_echo "$ARMLD" >&6; }
10895 { $as_echo "$as_me:$LINENO: result: no" >&5
10896 $as_echo "no" >&6; }
10900 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
10901 set dummy arm-elf-objcopy; ac_word=$2
10902 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10903 $as_echo_n "checking for $ac_word... " >&6; }
10904 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
10905 $as_echo_n "(cached) " >&6
10907 case $ARMOBJCOPY in
10909 ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
10912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10913 for as_dir in $PATH
10916 test -z "$as_dir" && as_dir=.
10917 for ac_exec_ext in '' $ac_executable_extensions; do
10918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10919 ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
10920 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10930 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
10931 if test -n "$ARMOBJCOPY"; then
10932 { $as_echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
10933 $as_echo "$ARMOBJCOPY" >&6; }
10935 { $as_echo "$as_me:$LINENO: result: no" >&5
10936 $as_echo "no" >&6; }
10941 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
10943 echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
10947 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
10949 echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
10955 if test "$BUILD_SH" = "yes"; then
10956 BUILD_SYSTEST_TRUE=
10957 BUILD_SYSTEST_FALSE='#'
10959 BUILD_SYSTEST_TRUE='#'
10960 BUILD_SYSTEST_FALSE=
10965 if test "$BUILD_ARM" = "yes"; then
10966 BUILD_ARMTEST_TRUE=
10967 BUILD_ARMTEST_FALSE='#'
10969 BUILD_ARMTEST_TRUE='#'
10970 BUILD_ARMTEST_FALSE=
10975 GETTEXT_PACKAGE=lxdream
10978 cat >>confdefs.h <<_ACEOF
10979 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
10983 ALL_LINGUAS="de es it pt_BR"
10986 for ac_header in locale.h
10988 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10989 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10990 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10991 $as_echo_n "checking for $ac_header... " >&6; }
10992 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10993 $as_echo_n "(cached) " >&6
10995 ac_res=`eval 'as_val=${'$as_ac_Header'}
10996 $as_echo "$as_val"'`
10997 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10998 $as_echo "$ac_res" >&6; }
11000 # Is the header compilable?
11001 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11002 $as_echo_n "checking $ac_header usability... " >&6; }
11003 cat >conftest.$ac_ext <<_ACEOF
11006 cat confdefs.h >>conftest.$ac_ext
11007 cat >>conftest.$ac_ext <<_ACEOF
11008 /* end confdefs.h. */
11009 $ac_includes_default
11010 #include <$ac_header>
11012 rm -f conftest.$ac_objext
11013 if { (ac_try="$ac_compile"
11014 case "(($ac_try" in
11015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11016 *) ac_try_echo=$ac_try;;
11018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11019 $as_echo "$ac_try_echo") >&5
11020 (eval "$ac_compile") 2>conftest.er1
11022 grep -v '^ *+' conftest.er1 >conftest.err
11024 cat conftest.err >&5
11025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 (exit $ac_status); } && {
11027 test -z "$ac_c_werror_flag" ||
11028 test ! -s conftest.err
11029 } && test -s conftest.$ac_objext; then
11030 ac_header_compiler=yes
11032 $as_echo "$as_me: failed program was:" >&5
11033 sed 's/^/| /' conftest.$ac_ext >&5
11035 ac_header_compiler=no
11038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11039 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11040 $as_echo "$ac_header_compiler" >&6; }
11042 # Is the header present?
11043 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11044 $as_echo_n "checking $ac_header presence... " >&6; }
11045 cat >conftest.$ac_ext <<_ACEOF
11048 cat confdefs.h >>conftest.$ac_ext
11049 cat >>conftest.$ac_ext <<_ACEOF
11050 /* end confdefs.h. */
11051 #include <$ac_header>
11053 if { (ac_try="$ac_cpp conftest.$ac_ext"
11054 case "(($ac_try" in
11055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11056 *) ac_try_echo=$ac_try;;
11058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11059 $as_echo "$ac_try_echo") >&5
11060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11062 grep -v '^ *+' conftest.er1 >conftest.err
11064 cat conftest.err >&5
11065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } >/dev/null && {
11067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11068 test ! -s conftest.err
11070 ac_header_preproc=yes
11072 $as_echo "$as_me: failed program was:" >&5
11073 sed 's/^/| /' conftest.$ac_ext >&5
11075 ac_header_preproc=no
11078 rm -f conftest.err conftest.$ac_ext
11079 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11080 $as_echo "$ac_header_preproc" >&6; }
11082 # So? What about this header?
11083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11085 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11086 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11087 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11088 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11089 ac_header_preproc=yes
11092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11093 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11095 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11097 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11099 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11100 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11101 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11102 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11103 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11107 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11108 $as_echo_n "checking for $ac_header... " >&6; }
11109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11110 $as_echo_n "(cached) " >&6
11112 eval "$as_ac_Header=\$ac_header_preproc"
11114 ac_res=`eval 'as_val=${'$as_ac_Header'}
11115 $as_echo "$as_val"'`
11116 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11117 $as_echo "$ac_res" >&6; }
11120 if test `eval 'as_val=${'$as_ac_Header'}
11121 $as_echo "$as_val"'` = yes; then
11122 cat >>confdefs.h <<_ACEOF
11123 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11130 if test $ac_cv_header_locale_h = yes; then
11131 { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
11132 $as_echo_n "checking for LC_MESSAGES... " >&6; }
11133 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
11134 $as_echo_n "(cached) " >&6
11136 cat >conftest.$ac_ext <<_ACEOF
11139 cat confdefs.h >>conftest.$ac_ext
11140 cat >>conftest.$ac_ext <<_ACEOF
11141 /* end confdefs.h. */
11142 #include <locale.h>
11151 rm -f conftest.$ac_objext conftest$ac_exeext
11152 if { (ac_try="$ac_link"
11153 case "(($ac_try" in
11154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11155 *) ac_try_echo=$ac_try;;
11157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11158 $as_echo "$ac_try_echo") >&5
11159 (eval "$ac_link") 2>conftest.er1
11161 grep -v '^ *+' conftest.er1 >conftest.err
11163 cat conftest.err >&5
11164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); } && {
11166 test -z "$ac_c_werror_flag" ||
11167 test ! -s conftest.err
11168 } && test -s conftest$ac_exeext && {
11169 test "$cross_compiling" = yes ||
11170 $as_test_x conftest$ac_exeext
11172 am_cv_val_LC_MESSAGES=yes
11174 $as_echo "$as_me: failed program was:" >&5
11175 sed 's/^/| /' conftest.$ac_ext >&5
11177 am_cv_val_LC_MESSAGES=no
11180 rm -rf conftest.dSYM
11181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11182 conftest$ac_exeext conftest.$ac_ext
11184 { $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
11185 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
11186 if test $am_cv_val_LC_MESSAGES = yes; then
11188 cat >>confdefs.h <<\_ACEOF
11189 #define HAVE_LC_MESSAGES 1
11197 gt_cv_have_gettext=no
11203 if test "${ac_cv_header_libintl_h+set}" = set; then
11204 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
11205 $as_echo_n "checking for libintl.h... " >&6; }
11206 if test "${ac_cv_header_libintl_h+set}" = set; then
11207 $as_echo_n "(cached) " >&6
11209 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
11210 $as_echo "$ac_cv_header_libintl_h" >&6; }
11212 # Is the header compilable?
11213 { $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
11214 $as_echo_n "checking libintl.h usability... " >&6; }
11215 cat >conftest.$ac_ext <<_ACEOF
11218 cat confdefs.h >>conftest.$ac_ext
11219 cat >>conftest.$ac_ext <<_ACEOF
11220 /* end confdefs.h. */
11221 $ac_includes_default
11222 #include <libintl.h>
11224 rm -f conftest.$ac_objext
11225 if { (ac_try="$ac_compile"
11226 case "(($ac_try" in
11227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11228 *) ac_try_echo=$ac_try;;
11230 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11231 $as_echo "$ac_try_echo") >&5
11232 (eval "$ac_compile") 2>conftest.er1
11234 grep -v '^ *+' conftest.er1 >conftest.err
11236 cat conftest.err >&5
11237 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); } && {
11239 test -z "$ac_c_werror_flag" ||
11240 test ! -s conftest.err
11241 } && test -s conftest.$ac_objext; then
11242 ac_header_compiler=yes
11244 $as_echo "$as_me: failed program was:" >&5
11245 sed 's/^/| /' conftest.$ac_ext >&5
11247 ac_header_compiler=no
11250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11251 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11252 $as_echo "$ac_header_compiler" >&6; }
11254 # Is the header present?
11255 { $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
11256 $as_echo_n "checking libintl.h presence... " >&6; }
11257 cat >conftest.$ac_ext <<_ACEOF
11260 cat confdefs.h >>conftest.$ac_ext
11261 cat >>conftest.$ac_ext <<_ACEOF
11262 /* end confdefs.h. */
11263 #include <libintl.h>
11265 if { (ac_try="$ac_cpp conftest.$ac_ext"
11266 case "(($ac_try" in
11267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11268 *) ac_try_echo=$ac_try;;
11270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11271 $as_echo "$ac_try_echo") >&5
11272 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11274 grep -v '^ *+' conftest.er1 >conftest.err
11276 cat conftest.err >&5
11277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278 (exit $ac_status); } >/dev/null && {
11279 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11280 test ! -s conftest.err
11282 ac_header_preproc=yes
11284 $as_echo "$as_me: failed program was:" >&5
11285 sed 's/^/| /' conftest.$ac_ext >&5
11287 ac_header_preproc=no
11290 rm -f conftest.err conftest.$ac_ext
11291 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11292 $as_echo "$ac_header_preproc" >&6; }
11294 # So? What about this header?
11295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11297 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
11298 $as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11299 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
11300 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
11301 ac_header_preproc=yes
11304 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
11305 $as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
11306 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
11307 $as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
11308 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
11309 $as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
11310 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
11311 $as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
11312 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
11313 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
11314 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
11315 $as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
11319 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
11320 $as_echo_n "checking for libintl.h... " >&6; }
11321 if test "${ac_cv_header_libintl_h+set}" = set; then
11322 $as_echo_n "(cached) " >&6
11324 ac_cv_header_libintl_h=$ac_header_preproc
11326 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
11327 $as_echo "$ac_cv_header_libintl_h" >&6; }
11330 if test $ac_cv_header_libintl_h = yes; then
11331 gt_cv_func_dgettext_libintl="no"
11332 libintl_extra_libs=""
11335 # First check in libc
11337 { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
11338 $as_echo_n "checking for ngettext in libc... " >&6; }
11339 if test "${gt_cv_func_ngettext_libc+set}" = set; then
11340 $as_echo_n "(cached) " >&6
11342 cat >conftest.$ac_ext <<_ACEOF
11345 cat confdefs.h >>conftest.$ac_ext
11346 cat >>conftest.$ac_ext <<_ACEOF
11347 /* end confdefs.h. */
11349 #include <libintl.h>
11354 return !ngettext ("","", 1)
11359 rm -f conftest.$ac_objext conftest$ac_exeext
11360 if { (ac_try="$ac_link"
11361 case "(($ac_try" in
11362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11363 *) ac_try_echo=$ac_try;;
11365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11366 $as_echo "$ac_try_echo") >&5
11367 (eval "$ac_link") 2>conftest.er1
11369 grep -v '^ *+' conftest.er1 >conftest.err
11371 cat conftest.err >&5
11372 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373 (exit $ac_status); } && {
11374 test -z "$ac_c_werror_flag" ||
11375 test ! -s conftest.err
11376 } && test -s conftest$ac_exeext && {
11377 test "$cross_compiling" = yes ||
11378 $as_test_x conftest$ac_exeext
11380 gt_cv_func_ngettext_libc=yes
11382 $as_echo "$as_me: failed program was:" >&5
11383 sed 's/^/| /' conftest.$ac_ext >&5
11385 gt_cv_func_ngettext_libc=no
11388 rm -rf conftest.dSYM
11389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11390 conftest$ac_exeext conftest.$ac_ext
11393 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
11394 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
11396 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11397 { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
11398 $as_echo_n "checking for dgettext in libc... " >&6; }
11399 if test "${gt_cv_func_dgettext_libc+set}" = set; then
11400 $as_echo_n "(cached) " >&6
11402 cat >conftest.$ac_ext <<_ACEOF
11405 cat confdefs.h >>conftest.$ac_ext
11406 cat >>conftest.$ac_ext <<_ACEOF
11407 /* end confdefs.h. */
11409 #include <libintl.h>
11414 return !dgettext ("","")
11419 rm -f conftest.$ac_objext conftest$ac_exeext
11420 if { (ac_try="$ac_link"
11421 case "(($ac_try" in
11422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11423 *) ac_try_echo=$ac_try;;
11425 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11426 $as_echo "$ac_try_echo") >&5
11427 (eval "$ac_link") 2>conftest.er1
11429 grep -v '^ *+' conftest.er1 >conftest.err
11431 cat conftest.err >&5
11432 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); } && {
11434 test -z "$ac_c_werror_flag" ||
11435 test ! -s conftest.err
11436 } && test -s conftest$ac_exeext && {
11437 test "$cross_compiling" = yes ||
11438 $as_test_x conftest$ac_exeext
11440 gt_cv_func_dgettext_libc=yes
11442 $as_echo "$as_me: failed program was:" >&5
11443 sed 's/^/| /' conftest.$ac_ext >&5
11445 gt_cv_func_dgettext_libc=no
11448 rm -rf conftest.dSYM
11449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11450 conftest$ac_exeext conftest.$ac_ext
11453 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
11454 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
11457 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11459 for ac_func in bind_textdomain_codeset
11461 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11462 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11463 $as_echo_n "checking for $ac_func... " >&6; }
11464 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11465 $as_echo_n "(cached) " >&6
11467 cat >conftest.$ac_ext <<_ACEOF
11470 cat confdefs.h >>conftest.$ac_ext
11471 cat >>conftest.$ac_ext <<_ACEOF
11472 /* end confdefs.h. */
11473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11475 #define $ac_func innocuous_$ac_func
11477 /* System header to define __stub macros and hopefully few prototypes,
11478 which can conflict with char $ac_func (); below.
11479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11480 <limits.h> exists even on freestanding compilers. */
11483 # include <limits.h>
11485 # include <assert.h>
11490 /* Override any GCC internal prototype to avoid an error.
11491 Use char because int might match the return type of a GCC
11492 builtin and then its argument prototype would still apply. */
11497 /* The GNU C library defines this for functions which it implements
11498 to always fail with ENOSYS. Some functions are actually named
11499 something starting with __ and the normal name is an alias. */
11500 #if defined __stub_$ac_func || defined __stub___$ac_func
11507 return $ac_func ();
11512 rm -f conftest.$ac_objext conftest$ac_exeext
11513 if { (ac_try="$ac_link"
11514 case "(($ac_try" in
11515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11516 *) ac_try_echo=$ac_try;;
11518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11519 $as_echo "$ac_try_echo") >&5
11520 (eval "$ac_link") 2>conftest.er1
11522 grep -v '^ *+' conftest.er1 >conftest.err
11524 cat conftest.err >&5
11525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); } && {
11527 test -z "$ac_c_werror_flag" ||
11528 test ! -s conftest.err
11529 } && test -s conftest$ac_exeext && {
11530 test "$cross_compiling" = yes ||
11531 $as_test_x conftest$ac_exeext
11533 eval "$as_ac_var=yes"
11535 $as_echo "$as_me: failed program was:" >&5
11536 sed 's/^/| /' conftest.$ac_ext >&5
11538 eval "$as_ac_var=no"
11541 rm -rf conftest.dSYM
11542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11543 conftest$ac_exeext conftest.$ac_ext
11545 ac_res=`eval 'as_val=${'$as_ac_var'}
11546 $as_echo "$as_val"'`
11547 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11548 $as_echo "$ac_res" >&6; }
11549 if test `eval 'as_val=${'$as_ac_var'}
11550 $as_echo "$as_val"'` = yes; then
11551 cat >>confdefs.h <<_ACEOF
11552 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11561 # If we don't have everything we want, check in libintl
11563 if test "$gt_cv_func_dgettext_libc" != "yes" \
11564 || test "$gt_cv_func_ngettext_libc" != "yes" \
11565 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
11567 { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
11568 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
11569 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
11570 $as_echo_n "(cached) " >&6
11572 ac_check_lib_save_LIBS=$LIBS
11573 LIBS="-lintl $LIBS"
11574 cat >conftest.$ac_ext <<_ACEOF
11577 cat confdefs.h >>conftest.$ac_ext
11578 cat >>conftest.$ac_ext <<_ACEOF
11579 /* end confdefs.h. */
11581 /* Override any GCC internal prototype to avoid an error.
11582 Use char because int might match the return type of a GCC
11583 builtin and then its argument prototype would still apply. */
11587 char bindtextdomain ();
11591 return bindtextdomain ();
11596 rm -f conftest.$ac_objext conftest$ac_exeext
11597 if { (ac_try="$ac_link"
11598 case "(($ac_try" in
11599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11600 *) ac_try_echo=$ac_try;;
11602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11603 $as_echo "$ac_try_echo") >&5
11604 (eval "$ac_link") 2>conftest.er1
11606 grep -v '^ *+' conftest.er1 >conftest.err
11608 cat conftest.err >&5
11609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); } && {
11611 test -z "$ac_c_werror_flag" ||
11612 test ! -s conftest.err
11613 } && test -s conftest$ac_exeext && {
11614 test "$cross_compiling" = yes ||
11615 $as_test_x conftest$ac_exeext
11617 ac_cv_lib_intl_bindtextdomain=yes
11619 $as_echo "$as_me: failed program was:" >&5
11620 sed 's/^/| /' conftest.$ac_ext >&5
11622 ac_cv_lib_intl_bindtextdomain=no
11625 rm -rf conftest.dSYM
11626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11627 conftest$ac_exeext conftest.$ac_ext
11628 LIBS=$ac_check_lib_save_LIBS
11630 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
11631 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
11632 if test $ac_cv_lib_intl_bindtextdomain = yes; then
11633 { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
11634 $as_echo_n "checking for ngettext in -lintl... " >&6; }
11635 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
11636 $as_echo_n "(cached) " >&6
11638 ac_check_lib_save_LIBS=$LIBS
11639 LIBS="-lintl $LIBS"
11640 cat >conftest.$ac_ext <<_ACEOF
11643 cat confdefs.h >>conftest.$ac_ext
11644 cat >>conftest.$ac_ext <<_ACEOF
11645 /* end confdefs.h. */
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11657 return ngettext ();
11662 rm -f conftest.$ac_objext conftest$ac_exeext
11663 if { (ac_try="$ac_link"
11664 case "(($ac_try" in
11665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11666 *) ac_try_echo=$ac_try;;
11668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11669 $as_echo "$ac_try_echo") >&5
11670 (eval "$ac_link") 2>conftest.er1
11672 grep -v '^ *+' conftest.er1 >conftest.err
11674 cat conftest.err >&5
11675 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); } && {
11677 test -z "$ac_c_werror_flag" ||
11678 test ! -s conftest.err
11679 } && test -s conftest$ac_exeext && {
11680 test "$cross_compiling" = yes ||
11681 $as_test_x conftest$ac_exeext
11683 ac_cv_lib_intl_ngettext=yes
11685 $as_echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.$ac_ext >&5
11688 ac_cv_lib_intl_ngettext=no
11691 rm -rf conftest.dSYM
11692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11693 conftest$ac_exeext conftest.$ac_ext
11694 LIBS=$ac_check_lib_save_LIBS
11696 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
11697 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11698 if test $ac_cv_lib_intl_ngettext = yes; then
11699 { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
11700 $as_echo_n "checking for dgettext in -lintl... " >&6; }
11701 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11702 $as_echo_n "(cached) " >&6
11704 ac_check_lib_save_LIBS=$LIBS
11705 LIBS="-lintl $LIBS"
11706 cat >conftest.$ac_ext <<_ACEOF
11709 cat confdefs.h >>conftest.$ac_ext
11710 cat >>conftest.$ac_ext <<_ACEOF
11711 /* end confdefs.h. */
11713 /* Override any GCC internal prototype to avoid an error.
11714 Use char because int might match the return type of a GCC
11715 builtin and then its argument prototype would still apply. */
11723 return dgettext ();
11728 rm -f conftest.$ac_objext conftest$ac_exeext
11729 if { (ac_try="$ac_link"
11730 case "(($ac_try" in
11731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11732 *) ac_try_echo=$ac_try;;
11734 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11735 $as_echo "$ac_try_echo") >&5
11736 (eval "$ac_link") 2>conftest.er1
11738 grep -v '^ *+' conftest.er1 >conftest.err
11740 cat conftest.err >&5
11741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); } && {
11743 test -z "$ac_c_werror_flag" ||
11744 test ! -s conftest.err
11745 } && test -s conftest$ac_exeext && {
11746 test "$cross_compiling" = yes ||
11747 $as_test_x conftest$ac_exeext
11749 ac_cv_lib_intl_dgettext=yes
11751 $as_echo "$as_me: failed program was:" >&5
11752 sed 's/^/| /' conftest.$ac_ext >&5
11754 ac_cv_lib_intl_dgettext=no
11757 rm -rf conftest.dSYM
11758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11759 conftest$ac_exeext conftest.$ac_ext
11760 LIBS=$ac_check_lib_save_LIBS
11762 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
11763 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
11764 if test $ac_cv_lib_intl_dgettext = yes; then
11765 gt_cv_func_dgettext_libintl=yes
11773 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
11774 { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
11775 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
11776 { $as_echo "$as_me:$LINENO: result: " >&5
11778 { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
11779 $as_echo_n "checking for ngettext in -lintl... " >&6; }
11780 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
11781 $as_echo_n "(cached) " >&6
11783 ac_check_lib_save_LIBS=$LIBS
11784 LIBS="-lintl -liconv $LIBS"
11785 cat >conftest.$ac_ext <<_ACEOF
11788 cat confdefs.h >>conftest.$ac_ext
11789 cat >>conftest.$ac_ext <<_ACEOF
11790 /* end confdefs.h. */
11792 /* Override any GCC internal prototype to avoid an error.
11793 Use char because int might match the return type of a GCC
11794 builtin and then its argument prototype would still apply. */
11802 return ngettext ();
11807 rm -f conftest.$ac_objext conftest$ac_exeext
11808 if { (ac_try="$ac_link"
11809 case "(($ac_try" in
11810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11811 *) ac_try_echo=$ac_try;;
11813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11814 $as_echo "$ac_try_echo") >&5
11815 (eval "$ac_link") 2>conftest.er1
11817 grep -v '^ *+' conftest.er1 >conftest.err
11819 cat conftest.err >&5
11820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821 (exit $ac_status); } && {
11822 test -z "$ac_c_werror_flag" ||
11823 test ! -s conftest.err
11824 } && test -s conftest$ac_exeext && {
11825 test "$cross_compiling" = yes ||
11826 $as_test_x conftest$ac_exeext
11828 ac_cv_lib_intl_ngettext=yes
11830 $as_echo "$as_me: failed program was:" >&5
11831 sed 's/^/| /' conftest.$ac_ext >&5
11833 ac_cv_lib_intl_ngettext=no
11836 rm -rf conftest.dSYM
11837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11838 conftest$ac_exeext conftest.$ac_ext
11839 LIBS=$ac_check_lib_save_LIBS
11841 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
11842 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11843 if test $ac_cv_lib_intl_ngettext = yes; then
11844 { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
11845 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
11846 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
11847 $as_echo_n "(cached) " >&6
11849 ac_check_lib_save_LIBS=$LIBS
11850 LIBS="-lintl -liconv $LIBS"
11851 cat >conftest.$ac_ext <<_ACEOF
11854 cat confdefs.h >>conftest.$ac_ext
11855 cat >>conftest.$ac_ext <<_ACEOF
11856 /* end confdefs.h. */
11858 /* Override any GCC internal prototype to avoid an error.
11859 Use char because int might match the return type of a GCC
11860 builtin and then its argument prototype would still apply. */
11868 return dcgettext ();
11873 rm -f conftest.$ac_objext conftest$ac_exeext
11874 if { (ac_try="$ac_link"
11875 case "(($ac_try" in
11876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11877 *) ac_try_echo=$ac_try;;
11879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11880 $as_echo "$ac_try_echo") >&5
11881 (eval "$ac_link") 2>conftest.er1
11883 grep -v '^ *+' conftest.er1 >conftest.err
11885 cat conftest.err >&5
11886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); } && {
11888 test -z "$ac_c_werror_flag" ||
11889 test ! -s conftest.err
11890 } && test -s conftest$ac_exeext && {
11891 test "$cross_compiling" = yes ||
11892 $as_test_x conftest$ac_exeext
11894 ac_cv_lib_intl_dcgettext=yes
11896 $as_echo "$as_me: failed program was:" >&5
11897 sed 's/^/| /' conftest.$ac_ext >&5
11899 ac_cv_lib_intl_dcgettext=no
11902 rm -rf conftest.dSYM
11903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11904 conftest$ac_exeext conftest.$ac_ext
11905 LIBS=$ac_check_lib_save_LIBS
11907 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
11908 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
11909 if test $ac_cv_lib_intl_dcgettext = yes; then
11910 gt_cv_func_dgettext_libintl=yes
11911 libintl_extra_libs=-liconv
11923 # If we found libintl, then check in it for bind_textdomain_codeset();
11924 # we'll prefer libc if neither have bind_textdomain_codeset(),
11925 # and both have dgettext and ngettext
11927 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
11928 glib_save_LIBS="$LIBS"
11929 LIBS="$LIBS -lintl $libintl_extra_libs"
11930 unset ac_cv_func_bind_textdomain_codeset
11932 for ac_func in bind_textdomain_codeset
11934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11935 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11936 $as_echo_n "checking for $ac_func... " >&6; }
11937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11938 $as_echo_n "(cached) " >&6
11940 cat >conftest.$ac_ext <<_ACEOF
11943 cat confdefs.h >>conftest.$ac_ext
11944 cat >>conftest.$ac_ext <<_ACEOF
11945 /* end confdefs.h. */
11946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11948 #define $ac_func innocuous_$ac_func
11950 /* System header to define __stub macros and hopefully few prototypes,
11951 which can conflict with char $ac_func (); below.
11952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11953 <limits.h> exists even on freestanding compilers. */
11956 # include <limits.h>
11958 # include <assert.h>
11963 /* Override any GCC internal prototype to avoid an error.
11964 Use char because int might match the return type of a GCC
11965 builtin and then its argument prototype would still apply. */
11970 /* The GNU C library defines this for functions which it implements
11971 to always fail with ENOSYS. Some functions are actually named
11972 something starting with __ and the normal name is an alias. */
11973 #if defined __stub_$ac_func || defined __stub___$ac_func
11980 return $ac_func ();
11985 rm -f conftest.$ac_objext conftest$ac_exeext
11986 if { (ac_try="$ac_link"
11987 case "(($ac_try" in
11988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11989 *) ac_try_echo=$ac_try;;
11991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11992 $as_echo "$ac_try_echo") >&5
11993 (eval "$ac_link") 2>conftest.er1
11995 grep -v '^ *+' conftest.er1 >conftest.err
11997 cat conftest.err >&5
11998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999 (exit $ac_status); } && {
12000 test -z "$ac_c_werror_flag" ||
12001 test ! -s conftest.err
12002 } && test -s conftest$ac_exeext && {
12003 test "$cross_compiling" = yes ||
12004 $as_test_x conftest$ac_exeext
12006 eval "$as_ac_var=yes"
12008 $as_echo "$as_me: failed program was:" >&5
12009 sed 's/^/| /' conftest.$ac_ext >&5
12011 eval "$as_ac_var=no"
12014 rm -rf conftest.dSYM
12015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12016 conftest$ac_exeext conftest.$ac_ext
12018 ac_res=`eval 'as_val=${'$as_ac_var'}
12019 $as_echo "$as_val"'`
12020 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12021 $as_echo "$ac_res" >&6; }
12022 if test `eval 'as_val=${'$as_ac_var'}
12023 $as_echo "$as_val"'` = yes; then
12024 cat >>confdefs.h <<_ACEOF
12025 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12031 LIBS="$glib_save_LIBS"
12033 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
12034 gt_cv_func_dgettext_libc=no
12036 if test "$gt_cv_func_dgettext_libc" = "yes" \
12037 && test "$gt_cv_func_ngettext_libc" = "yes"; then
12038 gt_cv_func_dgettext_libintl=no
12044 if test "$gt_cv_func_dgettext_libc" = "yes" \
12045 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
12046 gt_cv_have_gettext=yes
12049 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
12050 INTLLIBS="-lintl $libintl_extra_libs"
12053 if test "$gt_cv_have_gettext" = "yes"; then
12055 cat >>confdefs.h <<\_ACEOF
12056 #define HAVE_GETTEXT 1
12059 # Extract the first word of "msgfmt", so it can be a program name with args.
12060 set dummy msgfmt; ac_word=$2
12061 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12062 $as_echo_n "checking for $ac_word... " >&6; }
12063 if test "${ac_cv_path_MSGFMT+set}" = set; then
12064 $as_echo_n "(cached) " >&6
12068 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12071 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12072 for ac_dir in $PATH; do
12073 test -z "$ac_dir" && ac_dir=.
12074 if test -f $ac_dir/$ac_word; then
12075 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
12076 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
12082 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
12086 MSGFMT="$ac_cv_path_MSGFMT"
12087 if test "$MSGFMT" != "no"; then
12088 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
12089 $as_echo "$MSGFMT" >&6; }
12091 { $as_echo "$as_me:$LINENO: result: no" >&5
12092 $as_echo "no" >&6; }
12094 if test "$MSGFMT" != "no"; then
12095 glib_save_LIBS="$LIBS"
12096 LIBS="$LIBS $INTLLIBS"
12098 for ac_func in dcgettext
12100 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12101 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12102 $as_echo_n "checking for $ac_func... " >&6; }
12103 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12104 $as_echo_n "(cached) " >&6
12106 cat >conftest.$ac_ext <<_ACEOF
12109 cat confdefs.h >>conftest.$ac_ext
12110 cat >>conftest.$ac_ext <<_ACEOF
12111 /* end confdefs.h. */
12112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12114 #define $ac_func innocuous_$ac_func
12116 /* System header to define __stub macros and hopefully few prototypes,
12117 which can conflict with char $ac_func (); below.
12118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12119 <limits.h> exists even on freestanding compilers. */
12122 # include <limits.h>
12124 # include <assert.h>
12129 /* Override any GCC internal prototype to avoid an error.
12130 Use char because int might match the return type of a GCC
12131 builtin and then its argument prototype would still apply. */
12136 /* The GNU C library defines this for functions which it implements
12137 to always fail with ENOSYS. Some functions are actually named
12138 something starting with __ and the normal name is an alias. */
12139 #if defined __stub_$ac_func || defined __stub___$ac_func
12146 return $ac_func ();
12151 rm -f conftest.$ac_objext conftest$ac_exeext
12152 if { (ac_try="$ac_link"
12153 case "(($ac_try" in
12154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12155 *) ac_try_echo=$ac_try;;
12157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12158 $as_echo "$ac_try_echo") >&5
12159 (eval "$ac_link") 2>conftest.er1
12161 grep -v '^ *+' conftest.er1 >conftest.err
12163 cat conftest.err >&5
12164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165 (exit $ac_status); } && {
12166 test -z "$ac_c_werror_flag" ||
12167 test ! -s conftest.err
12168 } && test -s conftest$ac_exeext && {
12169 test "$cross_compiling" = yes ||
12170 $as_test_x conftest$ac_exeext
12172 eval "$as_ac_var=yes"
12174 $as_echo "$as_me: failed program was:" >&5
12175 sed 's/^/| /' conftest.$ac_ext >&5
12177 eval "$as_ac_var=no"
12180 rm -rf conftest.dSYM
12181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12182 conftest$ac_exeext conftest.$ac_ext
12184 ac_res=`eval 'as_val=${'$as_ac_var'}
12185 $as_echo "$as_val"'`
12186 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12187 $as_echo "$ac_res" >&6; }
12188 if test `eval 'as_val=${'$as_ac_var'}
12189 $as_echo "$as_val"'` = yes; then
12190 cat >>confdefs.h <<_ACEOF
12191 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12198 { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
12199 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
12200 cat >conftest.foo <<_ACEOF
12204 "Content-Type: text/plain; charset=UTF-8\n"
12205 "Project-Id-Version: test 1.0\n"
12206 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
12207 "Last-Translator: test <foo@bar.xx>\n"
12208 "Language-Team: C <LL@li.org>\n"
12209 "MIME-Version: 1.0\n"
12210 "Content-Transfer-Encoding: 8bit\n"
12213 if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
12214 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
12216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); }; then
12218 MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
12219 $as_echo "yes" >&6; }
12220 else { $as_echo "$as_me:$LINENO: result: no" >&5
12221 $as_echo "no" >&6; }
12222 echo "$as_me: failed input was:" >&5
12223 sed 's/^/| /' conftest.foo >&5
12226 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12227 set dummy gmsgfmt; ac_word=$2
12228 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12229 $as_echo_n "checking for $ac_word... " >&6; }
12230 if test "${ac_cv_path_GMSGFMT+set}" = set; then
12231 $as_echo_n "(cached) " >&6
12235 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12239 for as_dir in $PATH
12242 test -z "$as_dir" && as_dir=.
12243 for ac_exec_ext in '' $ac_executable_extensions; do
12244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12245 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12246 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12253 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12257 GMSGFMT=$ac_cv_path_GMSGFMT
12258 if test -n "$GMSGFMT"; then
12259 { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
12260 $as_echo "$GMSGFMT" >&6; }
12262 { $as_echo "$as_me:$LINENO: result: no" >&5
12263 $as_echo "no" >&6; }
12267 # Extract the first word of "xgettext", so it can be a program name with args.
12268 set dummy xgettext; ac_word=$2
12269 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12270 $as_echo_n "checking for $ac_word... " >&6; }
12271 if test "${ac_cv_path_XGETTEXT+set}" = set; then
12272 $as_echo_n "(cached) " >&6
12274 case "$XGETTEXT" in
12276 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12279 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12280 for ac_dir in $PATH; do
12281 test -z "$ac_dir" && ac_dir=.
12282 if test -f $ac_dir/$ac_word; then
12283 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
12284 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
12290 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12294 XGETTEXT="$ac_cv_path_XGETTEXT"
12295 if test "$XGETTEXT" != ":"; then
12296 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
12297 $as_echo "$XGETTEXT" >&6; }
12299 { $as_echo "$as_me:$LINENO: result: no" >&5
12300 $as_echo "no" >&6; }
12303 cat >conftest.$ac_ext <<_ACEOF
12306 cat confdefs.h >>conftest.$ac_ext
12307 cat >>conftest.$ac_ext <<_ACEOF
12308 /* end confdefs.h. */
12313 extern int _nl_msg_cat_cntr;
12314 return _nl_msg_cat_cntr
12319 rm -f conftest.$ac_objext conftest$ac_exeext
12320 if { (ac_try="$ac_link"
12321 case "(($ac_try" in
12322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12323 *) ac_try_echo=$ac_try;;
12325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12326 $as_echo "$ac_try_echo") >&5
12327 (eval "$ac_link") 2>conftest.er1
12329 grep -v '^ *+' conftest.er1 >conftest.err
12331 cat conftest.err >&5
12332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); } && {
12334 test -z "$ac_c_werror_flag" ||
12335 test ! -s conftest.err
12336 } && test -s conftest$ac_exeext && {
12337 test "$cross_compiling" = yes ||
12338 $as_test_x conftest$ac_exeext
12343 $as_echo "$as_me: failed program was:" >&5
12344 sed 's/^/| /' conftest.$ac_ext >&5
12348 { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
12349 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
12350 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
12351 $as_echo_n "(cached) " >&6
12353 cat >conftest.$ac_ext <<_ACEOF
12356 cat confdefs.h >>conftest.$ac_ext
12357 cat >>conftest.$ac_ext <<_ACEOF
12358 /* end confdefs.h. */
12359 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
12360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12361 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
12363 /* System header to define __stub macros and hopefully few prototypes,
12364 which can conflict with char bind_textdomain_codeset (); below.
12365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12366 <limits.h> exists even on freestanding compilers. */
12369 # include <limits.h>
12371 # include <assert.h>
12374 #undef bind_textdomain_codeset
12376 /* Override any GCC internal prototype to avoid an error.
12377 Use char because int might match the return type of a GCC
12378 builtin and then its argument prototype would still apply. */
12382 char bind_textdomain_codeset ();
12383 /* The GNU C library defines this for functions which it implements
12384 to always fail with ENOSYS. Some functions are actually named
12385 something starting with __ and the normal name is an alias. */
12386 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
12393 return bind_textdomain_codeset ();
12398 rm -f conftest.$ac_objext conftest$ac_exeext
12399 if { (ac_try="$ac_link"
12400 case "(($ac_try" in
12401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12402 *) ac_try_echo=$ac_try;;
12404 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12405 $as_echo "$ac_try_echo") >&5
12406 (eval "$ac_link") 2>conftest.er1
12408 grep -v '^ *+' conftest.er1 >conftest.err
12410 cat conftest.err >&5
12411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); } && {
12413 test -z "$ac_c_werror_flag" ||
12414 test ! -s conftest.err
12415 } && test -s conftest$ac_exeext && {
12416 test "$cross_compiling" = yes ||
12417 $as_test_x conftest$ac_exeext
12419 ac_cv_func_bind_textdomain_codeset=yes
12421 $as_echo "$as_me: failed program was:" >&5
12422 sed 's/^/| /' conftest.$ac_ext >&5
12424 ac_cv_func_bind_textdomain_codeset=no
12427 rm -rf conftest.dSYM
12428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12429 conftest$ac_exeext conftest.$ac_ext
12431 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
12432 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
12433 if test $ac_cv_func_bind_textdomain_codeset = yes; then
12449 rm -rf conftest.dSYM
12450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12451 conftest$ac_exeext conftest.$ac_ext
12452 LIBS="$glib_save_LIBS"
12455 gt_cv_have_gettext=no
12463 if test "$gt_cv_have_gettext" = "yes" ; then
12465 cat >>confdefs.h <<\_ACEOF
12466 #define ENABLE_NLS 1
12471 if test "$XGETTEXT" != ":"; then
12472 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
12475 { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
12476 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12481 # We need to process the po/ directory.
12484 ac_config_commands="$ac_config_commands default-1"
12487 for lang in $ALL_LINGUAS; do
12488 GMOFILES="$GMOFILES $lang.gmo"
12489 POFILES="$POFILES $lang.po"
12504 if test "$gt_cv_have_gettext" = "yes"; then
12505 if test "x$ALL_LINGUAS" = "x"; then
12508 { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
12509 $as_echo_n "checking for catalogs to be installed... " >&6; }
12511 for presentlang in $ALL_LINGUAS; do
12513 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
12514 desiredlanguages="$LINGUAS"
12516 desiredlanguages="$ALL_LINGUAS"
12518 for desiredlang in $desiredlanguages; do
12519 # Use the presentlang catalog if desiredlang is
12520 # a. equal to presentlang, or
12521 # b. a variant of presentlang (because in this case,
12522 # presentlang can be used as a fallback for messages
12523 # which are not translated in the desiredlang catalog).
12524 case "$desiredlang" in
12525 "$presentlang"*) useit=yes;;
12528 if test $useit = yes; then
12529 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
12532 LINGUAS=$NEW_LINGUAS
12533 { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
12534 $as_echo "$LINGUAS" >&6; }
12537 if test -n "$LINGUAS"; then
12538 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
12543 if test -n "$ac_aux_dir"; then
12544 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
12546 if test -z "$MKINSTALLDIRS"; then
12547 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12551 test -d po || mkdir po
12552 if test "x$srcdir" != "x."; then
12553 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
12554 posrcprefix="$srcdir/"
12556 posrcprefix="../$srcdir/"
12562 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
12563 < $srcdir/po/POTFILES.in > po/POTFILES
12566 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in test/Makefile Info.plist"
12568 cat >confcache <<\_ACEOF
12569 # This file is a shell script that caches the results of configure
12570 # tests run on this system so they can be shared between configure
12571 # scripts and configure runs, see configure's option --config-cache.
12572 # It is not useful on other systems. If it contains results you don't
12573 # want to keep, you may remove or edit it.
12575 # config.status only pays attention to the cache file if you give it
12576 # the --recheck option to rerun configure.
12578 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12579 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12580 # following values.
12584 # The following way of writing the cache mishandles newlines in values,
12585 # but we know of no workaround that is simple, portable, and efficient.
12586 # So, we kill variables containing newlines.
12587 # Ultrix sh set writes to stderr and can't be redirected directly,
12588 # and sets the high bit in the cache file unless we assign to the vars.
12590 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12591 eval ac_val=\$$ac_var
12595 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12596 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12599 _ | IFS | as_nl) ;; #(
12600 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12601 *) $as_unset $ac_var ;;
12607 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12608 *${as_nl}ac_space=\ *)
12609 # `set' does not quote correctly, so add quotes (double-quote
12610 # substitution turns \\\\ into \\, and sed turns \\ into \).
12613 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12616 # `set' quotes correctly as required by POSIX, so do not add quotes.
12617 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12626 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12628 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12630 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12631 if test -w "$cache_file"; then
12632 test "x$cache_file" != "x/dev/null" &&
12633 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12634 $as_echo "$as_me: updating cache $cache_file" >&6;}
12635 cat confcache >$cache_file
12637 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12638 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12643 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12644 # Let make expand exec_prefix.
12645 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12647 DEFS=-DHAVE_CONFIG_H
12651 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12652 # 1. Remove the extension, and $U if already installed.
12653 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12654 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12655 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12656 # will be set to the directory where LIBOBJS objects are built.
12657 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12658 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12660 LIBOBJS=$ac_libobjs
12662 LTLIBOBJS=$ac_ltlibobjs
12665 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12666 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12667 Usually this means the macro was only invoked conditionally." >&5
12668 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12669 Usually this means the macro was only invoked conditionally." >&2;}
12670 { (exit 1); exit 1; }; }
12672 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12673 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12674 Usually this means the macro was only invoked conditionally." >&5
12675 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
12676 Usually this means the macro was only invoked conditionally." >&2;}
12677 { (exit 1); exit 1; }; }
12679 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12680 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12681 Usually this means the macro was only invoked conditionally." >&5
12682 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12683 Usually this means the macro was only invoked conditionally." >&2;}
12684 { (exit 1); exit 1; }; }
12686 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12687 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12688 Usually this means the macro was only invoked conditionally." >&5
12689 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12690 Usually this means the macro was only invoked conditionally." >&2;}
12691 { (exit 1); exit 1; }; }
12693 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12694 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12695 Usually this means the macro was only invoked conditionally." >&5
12696 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12697 Usually this means the macro was only invoked conditionally." >&2;}
12698 { (exit 1); exit 1; }; }
12700 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
12701 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.
12702 Usually this means the macro was only invoked conditionally." >&5
12703 $as_echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.
12704 Usually this means the macro was only invoked conditionally." >&2;}
12705 { (exit 1); exit 1; }; }
12707 if test -z "${GUI_COCOA_TRUE}" && test -z "${GUI_COCOA_FALSE}"; then
12708 { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_COCOA\" was never defined.
12709 Usually this means the macro was only invoked conditionally." >&5
12710 $as_echo "$as_me: error: conditional \"GUI_COCOA\" was never defined.
12711 Usually this means the macro was only invoked conditionally." >&2;}
12712 { (exit 1); exit 1; }; }
12714 if test -z "${GUI_GTK_TRUE}" && test -z "${GUI_GTK_FALSE}"; then
12715 { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_GTK\" was never defined.
12716 Usually this means the macro was only invoked conditionally." >&5
12717 $as_echo "$as_me: error: conditional \"GUI_GTK\" was never defined.
12718 Usually this means the macro was only invoked conditionally." >&2;}
12719 { (exit 1); exit 1; }; }
12721 if test -z "${VIDEO_OSMESA_TRUE}" && test -z "${VIDEO_OSMESA_FALSE}"; then
12722 { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_OSMESA\" was never defined.
12723 Usually this means the macro was only invoked conditionally." >&5
12724 $as_echo "$as_me: error: conditional \"VIDEO_OSMESA\" was never defined.
12725 Usually this means the macro was only invoked conditionally." >&2;}
12726 { (exit 1); exit 1; }; }
12728 if test -z "${VIDEO_GLX_TRUE}" && test -z "${VIDEO_GLX_FALSE}"; then
12729 { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_GLX\" was never defined.
12730 Usually this means the macro was only invoked conditionally." >&5
12731 $as_echo "$as_me: error: conditional \"VIDEO_GLX\" was never defined.
12732 Usually this means the macro was only invoked conditionally." >&2;}
12733 { (exit 1); exit 1; }; }
12735 if test -z "${VIDEO_NSGL_TRUE}" && test -z "${VIDEO_NSGL_FALSE}"; then
12736 { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_NSGL\" was never defined.
12737 Usually this means the macro was only invoked conditionally." >&5
12738 $as_echo "$as_me: error: conditional \"VIDEO_NSGL\" was never defined.
12739 Usually this means the macro was only invoked conditionally." >&2;}
12740 { (exit 1); exit 1; }; }
12742 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
12743 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
12744 Usually this means the macro was only invoked conditionally." >&5
12745 $as_echo "$as_me: error: conditional \"BUILD_SH4X86\" was never defined.
12746 Usually this means the macro was only invoked conditionally." >&2;}
12747 { (exit 1); exit 1; }; }
12749 if test -z "${AUDIO_OSX_TRUE}" && test -z "${AUDIO_OSX_FALSE}"; then
12750 { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_OSX\" was never defined.
12751 Usually this means the macro was only invoked conditionally." >&5
12752 $as_echo "$as_me: error: conditional \"AUDIO_OSX\" was never defined.
12753 Usually this means the macro was only invoked conditionally." >&2;}
12754 { (exit 1); exit 1; }; }
12756 if test -z "${AUDIO_PULSE_TRUE}" && test -z "${AUDIO_PULSE_FALSE}"; then
12757 { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_PULSE\" was never defined.
12758 Usually this means the macro was only invoked conditionally." >&5
12759 $as_echo "$as_me: error: conditional \"AUDIO_PULSE\" was never defined.
12760 Usually this means the macro was only invoked conditionally." >&2;}
12761 { (exit 1); exit 1; }; }
12763 if test -z "${AUDIO_ESOUND_TRUE}" && test -z "${AUDIO_ESOUND_FALSE}"; then
12764 { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_ESOUND\" was never defined.
12765 Usually this means the macro was only invoked conditionally." >&5
12766 $as_echo "$as_me: error: conditional \"AUDIO_ESOUND\" was never defined.
12767 Usually this means the macro was only invoked conditionally." >&2;}
12768 { (exit 1); exit 1; }; }
12770 if test -z "${AUDIO_ALSA_TRUE}" && test -z "${AUDIO_ALSA_FALSE}"; then
12771 { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_ALSA\" was never defined.
12772 Usually this means the macro was only invoked conditionally." >&5
12773 $as_echo "$as_me: error: conditional \"AUDIO_ALSA\" was never defined.
12774 Usually this means the macro was only invoked conditionally." >&2;}
12775 { (exit 1); exit 1; }; }
12777 if test -z "${CDROM_LINUX_TRUE}" && test -z "${CDROM_LINUX_FALSE}"; then
12778 { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_LINUX\" was never defined.
12779 Usually this means the macro was only invoked conditionally." >&5
12780 $as_echo "$as_me: error: conditional \"CDROM_LINUX\" was never defined.
12781 Usually this means the macro was only invoked conditionally." >&2;}
12782 { (exit 1); exit 1; }; }
12784 if test -z "${CDROM_OSX_TRUE}" && test -z "${CDROM_OSX_FALSE}"; then
12785 { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_OSX\" was never defined.
12786 Usually this means the macro was only invoked conditionally." >&5
12787 $as_echo "$as_me: error: conditional \"CDROM_OSX\" was never defined.
12788 Usually this means the macro was only invoked conditionally." >&2;}
12789 { (exit 1); exit 1; }; }
12791 if test -z "${CDROM_NONE_TRUE}" && test -z "${CDROM_NONE_FALSE}"; then
12792 { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_NONE\" was never defined.
12793 Usually this means the macro was only invoked conditionally." >&5
12794 $as_echo "$as_me: error: conditional \"CDROM_NONE\" was never defined.
12795 Usually this means the macro was only invoked conditionally." >&2;}
12796 { (exit 1); exit 1; }; }
12798 if test -z "${JOY_LINUX_TRUE}" && test -z "${JOY_LINUX_FALSE}"; then
12799 { { $as_echo "$as_me:$LINENO: error: conditional \"JOY_LINUX\" was never defined.
12800 Usually this means the macro was only invoked conditionally." >&5
12801 $as_echo "$as_me: error: conditional \"JOY_LINUX\" was never defined.
12802 Usually this means the macro was only invoked conditionally." >&2;}
12803 { (exit 1); exit 1; }; }
12805 if test -z "${BUILD_SYSTEST_TRUE}" && test -z "${BUILD_SYSTEST_FALSE}"; then
12806 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SYSTEST\" was never defined.
12807 Usually this means the macro was only invoked conditionally." >&5
12808 $as_echo "$as_me: error: conditional \"BUILD_SYSTEST\" was never defined.
12809 Usually this means the macro was only invoked conditionally." >&2;}
12810 { (exit 1); exit 1; }; }
12812 if test -z "${BUILD_ARMTEST_TRUE}" && test -z "${BUILD_ARMTEST_FALSE}"; then
12813 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ARMTEST\" was never defined.
12814 Usually this means the macro was only invoked conditionally." >&5
12815 $as_echo "$as_me: error: conditional \"BUILD_ARMTEST\" was never defined.
12816 Usually this means the macro was only invoked conditionally." >&2;}
12817 { (exit 1); exit 1; }; }
12820 : ${CONFIG_STATUS=./config.status}
12822 ac_clean_files_save=$ac_clean_files
12823 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12824 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12825 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12826 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12828 # Generated by $as_me.
12829 # Run this file to recreate the current configuration.
12830 # Compiler output produced by configure, useful for debugging
12831 # configure, is in config.log if it exists.
12834 ac_cs_recheck=false
12836 SHELL=\${CONFIG_SHELL-$SHELL}
12839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12840 ## --------------------- ##
12841 ## M4sh Initialization. ##
12842 ## --------------------- ##
12844 # Be more Bourne compatible
12845 DUALCASE=1; export DUALCASE # for MKS sh
12846 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12849 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12850 # is contrary to our usage. Disable this feature.
12851 alias -g '${1+"$@"}'='"$@"'
12852 setopt NO_GLOB_SUBST
12854 case `(set -o) 2>/dev/null` in
12855 *posix*) set -o posix ;;
12864 # Avoid depending upon Character Ranges.
12865 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12866 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12867 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12868 as_cr_digits='0123456789'
12869 as_cr_alnum=$as_cr_Letters$as_cr_digits
12874 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12875 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12876 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12877 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12878 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12879 as_echo='printf %s\n'
12880 as_echo_n='printf %s'
12882 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12883 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12884 as_echo_n='/usr/ucb/echo -n'
12886 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12887 as_echo_n_body='eval
12891 expr "X$arg" : "X\\(.*\\)$as_nl";
12892 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12894 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12896 export as_echo_n_body
12897 as_echo_n='sh -c $as_echo_n_body as_echo'
12899 export as_echo_body
12900 as_echo='sh -c $as_echo_body as_echo'
12903 # The user is always right.
12904 if test "${PATH_SEPARATOR+set}" != set; then
12906 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12907 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12912 # Support unset when possible.
12913 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12921 # We need space, tab and new line, in precisely that order. Quoting is
12922 # there to prevent editors from complaining about space-tab.
12923 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12924 # splitting by setting IFS to empty value.)
12927 # Find who we are. Look in the path if we contain no directory separator.
12929 *[\\/]* ) as_myself=$0 ;;
12930 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12931 for as_dir in $PATH
12934 test -z "$as_dir" && as_dir=.
12935 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12941 # We did not find ourselves, most probably we were run as `sh COMMAND'
12942 # in which case we are not to be found in the path.
12943 if test "x$as_myself" = x; then
12946 if test ! -f "$as_myself"; then
12947 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12948 { (exit 1); exit 1; }
12951 # Work around bugs in pre-3.0 UWIN ksh.
12952 for as_var in ENV MAIL MAILPATH
12953 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12965 # Required to use basename.
12966 if expr a : '\(a\)' >/dev/null 2>&1 &&
12967 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12973 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12974 as_basename=basename
12980 # Name of the executable.
12981 as_me=`$as_basename -- "$0" ||
12982 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12983 X"$0" : 'X\(//\)$' \| \
12984 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12986 sed '/^.*\/\([^/][^/]*\)\/*$/{
13005 as_lineno_1=$LINENO
13006 as_lineno_2=$LINENO
13007 test "x$as_lineno_1" != "x$as_lineno_2" &&
13008 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13010 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13011 # uniformly replaced by the line number. The first 'sed' inserts a
13012 # line-number line after each line using $LINENO; the second 'sed'
13013 # does the real work. The second script uses 'N' to pair each
13014 # line-number line with the line containing $LINENO, and appends
13015 # trailing '-' during substitution so that $LINENO is not a special
13016 # case at line end.
13017 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13018 # scripts with optimization help from Paolo Bonzini. Blame Lee
13019 # E. McMahon (1931-1989) for sed's syntax. :-)
13031 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13034 ' >$as_me.lineno &&
13035 chmod +x "$as_me.lineno" ||
13036 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13037 { (exit 1); exit 1; }; }
13039 # Don't try to exec as it changes $[0], causing all sort of problems
13040 # (the dirname of $[0] is not the place where we might find the
13041 # original and so on. Autoconf is especially sensitive to this).
13042 . "./$as_me.lineno"
13043 # Exit status is that of the last command.
13048 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13054 ECHO_C= ECHO_N= ECHO_T=
13055 case `echo -n x` in
13057 case `echo 'x\c'` in
13058 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13064 if expr a : '\(a\)' >/dev/null 2>&1 &&
13065 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13071 rm -f conf$$ conf$$.exe conf$$.file
13072 if test -d conf$$.dir; then
13073 rm -f conf$$.dir/conf$$.file
13076 mkdir conf$$.dir 2>/dev/null
13078 if (echo >conf$$.file) 2>/dev/null; then
13079 if ln -s conf$$.file conf$$ 2>/dev/null; then
13081 # ... but there are two gotchas:
13082 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13083 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13084 # In both cases, we have to default to `cp -p'.
13085 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13087 elif ln conf$$.file conf$$ 2>/dev/null; then
13095 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13096 rmdir conf$$.dir 2>/dev/null
13098 if mkdir -p . 2>/dev/null; then
13101 test -d ./-p && rmdir ./-p
13105 if test -x / >/dev/null 2>&1; then
13106 as_test_x='test -x'
13108 if ls -dL / >/dev/null 2>&1; then
13115 if test -d "$1"; then
13121 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13122 ???[sx]*):;;*)false;;esac;fi
13126 as_executable_p=$as_test_x
13128 # Sed expression to map a string onto a valid CPP name.
13129 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13131 # Sed expression to map a string onto a valid variable name.
13132 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13137 # Save the log message, to keep $[0] and so on meaningful, and to
13138 # report actual input values of CONFIG_FILES etc. instead of their
13139 # values after options handling.
13141 This file was extended by $as_me, which was
13142 generated by GNU Autoconf 2.62. Invocation command line was
13144 CONFIG_FILES = $CONFIG_FILES
13145 CONFIG_HEADERS = $CONFIG_HEADERS
13146 CONFIG_LINKS = $CONFIG_LINKS
13147 CONFIG_COMMANDS = $CONFIG_COMMANDS
13150 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13156 # Files that config.status was made for.
13157 config_files="$ac_config_files"
13158 config_headers="$ac_config_headers"
13159 config_commands="$ac_config_commands"
13163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13165 \`$as_me' instantiates files from templates according to the
13166 current configuration.
13168 Usage: $0 [OPTIONS] [FILE]...
13170 -h, --help print this help, then exit
13171 -V, --version print version number and configuration settings, then exit
13172 -q, --quiet do not print progress messages
13173 -d, --debug don't remove temporary files
13174 --recheck update $as_me by reconfiguring in the same conditions
13175 --file=FILE[:TEMPLATE]
13176 instantiate the configuration file FILE
13177 --header=FILE[:TEMPLATE]
13178 instantiate the configuration header FILE
13180 Configuration files:
13183 Configuration headers:
13186 Configuration commands:
13189 Report bugs to <bug-autoconf@gnu.org>."
13192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13195 configured by $0, generated by GNU Autoconf 2.62,
13196 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13198 Copyright (C) 2008 Free Software Foundation, Inc.
13199 This config.status script is free software; the Free Software Foundation
13200 gives unlimited permission to copy, distribute and modify it."
13206 test -n "\$AWK" || AWK=awk
13209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13210 # The default lists apply if the user does not specify any file.
13216 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13217 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13228 # Handling of the options.
13229 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13231 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13232 $as_echo "$ac_cs_version"; exit ;;
13233 --debug | --debu | --deb | --de | --d | -d )
13235 --file | --fil | --fi | --f )
13238 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13240 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
13241 ac_need_defaults=false;;
13242 --header | --heade | --head | --hea )
13245 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13247 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
13248 ac_need_defaults=false;;
13250 # Conflict between --help and --header
13251 { $as_echo "$as_me: error: ambiguous option: $1
13252 Try \`$0 --help' for more information." >&2
13253 { (exit 1); exit 1; }; };;
13254 --help | --hel | -h )
13255 $as_echo "$ac_cs_usage"; exit ;;
13256 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13257 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13260 # This is an error.
13261 -*) { $as_echo "$as_me: error: unrecognized option: $1
13262 Try \`$0 --help' for more information." >&2
13263 { (exit 1); exit 1; }; } ;;
13265 *) ac_config_targets="$ac_config_targets $1"
13266 ac_need_defaults=false ;;
13272 ac_configure_extra_args=
13274 if $ac_cs_silent; then
13276 ac_configure_extra_args="$ac_configure_extra_args --silent"
13280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13281 if \$ac_cs_recheck; then
13282 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13284 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13285 CONFIG_SHELL='$SHELL'
13286 export CONFIG_SHELL
13291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13295 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13296 ## Running $as_me. ##
13302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13306 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13313 # Handling of arguments.
13314 for ac_config_target in $ac_config_targets
13316 case $ac_config_target in
13317 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13318 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13319 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13320 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13321 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13322 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13323 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
13324 "Info.plist") CONFIG_FILES="$CONFIG_FILES Info.plist" ;;
13326 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13327 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13328 { (exit 1); exit 1; }; };;
13333 # If the user did not use the arguments to specify the items to instantiate,
13334 # then the envvar interface is used. Set only those that are not.
13335 # We use the long form for the default assignment because of an extremely
13336 # bizarre bug on SunOS 4.1.3.
13337 if $ac_need_defaults; then
13338 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13339 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13340 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13343 # Have a temporary directory for convenience. Make it in the build tree
13344 # simply because there is no reason against having it here, and in addition,
13345 # creating and moving files from /tmp can sometimes cause problems.
13346 # Hook for its removal unless debugging.
13347 # Note that there is a small window in which the directory will not be cleaned:
13348 # after its creation but before its name has been assigned to `$tmp'.
13352 trap 'exit_status=$?
13353 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13355 trap '{ (exit 1); exit 1; }' 1 2 13 15
13357 # Create a (secure) tmp directory for tmp files.
13360 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13361 test -n "$tmp" && test -d "$tmp"
13364 tmp=./conf$$-$RANDOM
13365 (umask 077 && mkdir "$tmp")
13368 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13369 { (exit 1); exit 1; }
13372 # Set up the scripts for CONFIG_FILES section.
13373 # No need to generate them if there are no CONFIG_FILES.
13374 # This happens for instance with `./config.status config.h'.
13375 if test -n "$CONFIG_FILES"; then
13380 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13381 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13384 ac_cs_awk_cr=$ac_cr
13387 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13392 echo "cat >conf$$subs.awk <<_ACEOF" &&
13393 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13395 } >conf$$subs.sh ||
13396 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13397 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13398 { (exit 1); exit 1; }; }
13399 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13401 for ac_last_try in false false false false false :; do
13402 . ./conf$$subs.sh ||
13403 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13404 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13405 { (exit 1); exit 1; }; }
13407 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
13409 elif $ac_last_try; then
13410 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13411 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13412 { (exit 1); exit 1; }; }
13414 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13417 rm -f conf$$subs.sh
13419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13420 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13424 s/^/S["/; s/!.*/"]=/
13434 s/\(.\{148\}\).*/\1/
13436 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13441 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13448 s/\(.\{148\}\).*/\1/
13450 s/["\\]/\\&/g; s/^/"/; s/$/"/
13454 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13459 ' <conf$$subs.awk | sed '
13464 ' >>$CONFIG_STATUS || ac_write_fail=1
13465 rm -f conf$$subs.awk
13466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13468 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13469 for (key in S) S_is_set[key] = 1
13475 nfields = split(line, field, "@")
13477 len = length(field[1])
13478 for (i = 2; i < nfields; i++) {
13480 keylen = length(key)
13481 if (S_is_set[key]) {
13483 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13484 len += length(value) + length(field[++i])
13495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13496 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13497 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13500 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13501 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
13502 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
13503 { (exit 1); exit 1; }; }
13506 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13507 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13508 # trailing colons and then remove the whole line if VPATH becomes empty
13509 # (actually we leave an empty line to preserve line numbers).
13510 if test "x$srcdir" = x.; then
13511 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13512 s/:*\$(srcdir):*/:/
13513 s/:*\${srcdir}:*/:/
13515 s/^\([^=]*=[ ]*\):*/\1/
13521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13522 fi # test -n "$CONFIG_FILES"
13524 # Set up the scripts for CONFIG_HEADERS section.
13525 # No need to generate them if there are no CONFIG_HEADERS.
13526 # This happens for instance with `./config.status Makefile'.
13527 if test -n "$CONFIG_HEADERS"; then
13528 cat >"$tmp/defines.awk" <<\_ACAWK ||
13532 # Transform confdefs.h into an awk script `defines.awk', embedded as
13533 # here-document in config.status, that substitutes the proper values into
13534 # config.h.in to produce config.h.
13536 # Create a delimiter string that does not exist in confdefs.h, to ease
13537 # handling of long lines.
13539 for ac_last_try in false false :; do
13540 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13541 if test -z "$ac_t"; then
13543 elif $ac_last_try; then
13544 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
13545 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
13546 { (exit 1); exit 1; }; }
13548 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13552 # For the awk script, D is an array of macro values keyed by name,
13553 # likewise P contains macro parameters if any. Preserve backslash
13554 # newline sequences.
13556 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13558 s/.\{148\}/&'"$ac_delim"'/g
13561 s/^[ ]*#[ ]*define[ ][ ]*/ /
13568 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13570 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13574 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13575 D["\1"]=" \3\\\\\\n"\\/p
13577 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13582 s/.\{148\}/&'"$ac_delim"'/g
13587 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13590 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13592 ' <confdefs.h | sed '
13593 s/'"$ac_delim"'/"\\\
13594 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13597 for (key in D) D_is_set[key] = 1
13600 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13602 split(line, arg, " ")
13603 if (arg[1] == "#") {
13607 defundef = substr(arg[1], 2)
13610 split(mac1, mac2, "(") #)
13612 if (D_is_set[macro]) {
13613 # Preserve the white space surrounding the "#".
13614 prefix = substr(line, 1, index(line, defundef) - 1)
13615 print prefix "define", macro P[macro] D[macro]
13618 # Replace #undef with comments. This is necessary, for example,
13619 # in the case of _POSIX_SOURCE, which is predefined and required
13620 # on some systems where configure will not decide to define it.
13621 if (defundef == "undef") {
13622 print "/*", line, "*/"
13630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13631 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
13632 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
13633 { (exit 1); exit 1; }; }
13634 fi # test -n "$CONFIG_HEADERS"
13637 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13642 :[FHLC]) ac_mode=$ac_tag; continue;;
13644 case $ac_mode$ac_tag in
13646 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13647 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13648 { (exit 1); exit 1; }; };;
13649 :[FH]-) ac_tag=-:-;;
13650 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13667 -) ac_f="$tmp/stdin";;
13668 *) # Look for the file first in the build tree, then in the source tree
13669 # (if the path is not absolute). The absolute path cannot be DOS-style,
13670 # because $ac_f cannot contain `:'.
13674 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13676 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13677 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13678 { (exit 1); exit 1; }; };;
13680 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13681 ac_file_inputs="$ac_file_inputs '$ac_f'"
13684 # Let's still pretend it is `configure' which instantiates (i.e., don't
13685 # use $as_me), people would be surprised to read:
13686 # /* config.h. Generated by config.status. */
13687 configure_input='Generated from '`
13688 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13690 if test x"$ac_file" != x-; then
13691 configure_input="$ac_file. $configure_input"
13692 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13693 $as_echo "$as_me: creating $ac_file" >&6;}
13695 # Neutralize special characters interpreted by sed in replacement strings.
13696 case $configure_input in #(
13697 *\&* | *\|* | *\\* )
13698 ac_sed_conf_input=`$as_echo "$configure_input" |
13699 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13700 *) ac_sed_conf_input=$configure_input;;
13704 *:-:* | *:-) cat >"$tmp/stdin" \
13705 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13706 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13707 { (exit 1); exit 1; }; } ;;
13712 ac_dir=`$as_dirname -- "$ac_file" ||
13713 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13714 X"$ac_file" : 'X\(//\)[^/]' \| \
13715 X"$ac_file" : 'X\(//\)$' \| \
13716 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13717 $as_echo X"$ac_file" |
13718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13722 /^X\(\/\/\)[^/].*/{
13737 -*) as_dir=./$as_dir;;
13739 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13743 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13744 *) as_qdir=$as_dir;;
13746 as_dirs="'$as_qdir' $as_dirs"
13747 as_dir=`$as_dirname -- "$as_dir" ||
13748 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13749 X"$as_dir" : 'X\(//\)[^/]' \| \
13750 X"$as_dir" : 'X\(//\)$' \| \
13751 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13752 $as_echo X"$as_dir" |
13753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13757 /^X\(\/\/\)[^/].*/{
13770 test -d "$as_dir" && break
13772 test -z "$as_dirs" || eval "mkdir $as_dirs"
13773 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13774 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13775 { (exit 1); exit 1; }; }; }
13779 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13781 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13782 # A ".." for each directory in $ac_dir_suffix.
13783 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13784 case $ac_top_builddir_sub in
13785 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13786 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13789 ac_abs_top_builddir=$ac_pwd
13790 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13791 # for backward compatibility:
13792 ac_top_builddir=$ac_top_build_prefix
13795 .) # We are building in place.
13797 ac_top_srcdir=$ac_top_builddir_sub
13798 ac_abs_top_srcdir=$ac_pwd ;;
13799 [\\/]* | ?:[\\/]* ) # Absolute name.
13800 ac_srcdir=$srcdir$ac_dir_suffix;
13801 ac_top_srcdir=$srcdir
13802 ac_abs_top_srcdir=$srcdir ;;
13803 *) # Relative name.
13804 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13805 ac_top_srcdir=$ac_top_build_prefix$srcdir
13806 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13808 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13818 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13819 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13824 # If the template does not know about datarootdir, expand it.
13825 # FIXME: This hack should be removed a few years after 2.60.
13826 ac_datarootdir_hack=; ac_datarootdir_seen=
13839 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13840 *datarootdir*) ac_datarootdir_seen=yes;;
13841 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13842 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13843 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13846 ac_datarootdir_hack='
13847 s&@datadir@&$datadir&g
13848 s&@docdir@&$docdir&g
13849 s&@infodir@&$infodir&g
13850 s&@localedir@&$localedir&g
13851 s&@mandir@&$mandir&g
13852 s&\\\${datarootdir}&$datarootdir&g' ;;
13856 # Neutralize VPATH when `$srcdir' = `.'.
13857 # Shell code in configure.ac might set extrasub.
13858 # FIXME: do we really want to maintain this feature?
13859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13860 ac_sed_extra="$ac_vpsub
13863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13865 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13866 s|@configure_input@|$ac_sed_conf_input|;t t
13867 s&@top_builddir@&$ac_top_builddir_sub&;t t
13868 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13869 s&@srcdir@&$ac_srcdir&;t t
13870 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13871 s&@top_srcdir@&$ac_top_srcdir&;t t
13872 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13873 s&@builddir@&$ac_builddir&;t t
13874 s&@abs_builddir@&$ac_abs_builddir&;t t
13875 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13876 s&@INSTALL@&$ac_INSTALL&;t t
13877 $ac_datarootdir_hack
13879 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13880 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13881 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13882 { (exit 1); exit 1; }; }
13884 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13885 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13886 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13887 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13888 which seems to be undefined. Please make sure it is defined." >&5
13889 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13890 which seems to be undefined. Please make sure it is defined." >&2;}
13894 -) cat "$tmp/out" && rm -f "$tmp/out";;
13895 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13897 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13898 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13899 { (exit 1); exit 1; }; }
13905 if test x"$ac_file" != x-; then
13907 $as_echo "/* $configure_input */" \
13908 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13909 } >"$tmp/config.h" \
13910 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13911 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13912 { (exit 1); exit 1; }; }
13913 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13914 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13915 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13918 mv "$tmp/config.h" "$ac_file" \
13919 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13920 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13921 { (exit 1); exit 1; }; }
13924 $as_echo "/* $configure_input */" \
13925 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13926 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
13927 $as_echo "$as_me: error: could not create -" >&2;}
13928 { (exit 1); exit 1; }; }
13930 # Compute "$ac_file"'s index in $config_headers.
13932 for _am_header in $config_headers :; do
13933 case $_am_header in
13934 "$ac_file" | "$ac_file":* )
13937 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13940 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
13941 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13942 X"$ac_file" : 'X\(//\)[^/]' \| \
13943 X"$ac_file" : 'X\(//\)$' \| \
13944 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13945 $as_echo X"$ac_file" |
13946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13950 /^X\(\/\/\)[^/].*/{
13962 s/.*/./; q'`/stamp-h$_am_stamp_count
13965 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
13966 $as_echo "$as_me: executing $ac_file commands" >&6;}
13971 case $ac_file$ac_mode in
13972 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
13973 # Strip MF so we end up with the name of the file.
13974 mf=`echo "$mf" | sed -e 's/:.*$//'`
13975 # Check whether this is an Automake generated Makefile or not.
13976 # We used to match only the files named `Makefile.in', but
13977 # some people rename them; so instead we look at the file content.
13978 # Grep'ing the first line is not enough: some people post-process
13979 # each Makefile.in and add a new line on top of each file to say so.
13980 # So let's grep whole file.
13981 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
13982 dirpart=`$as_dirname -- "$mf" ||
13983 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13984 X"$mf" : 'X\(//\)[^/]' \| \
13985 X"$mf" : 'X\(//\)$' \| \
13986 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13992 /^X\(\/\/\)[^/].*/{
14008 # Extract the definition of DEPDIR, am__include, and am__quote
14009 # from the Makefile without running `make'.
14010 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14011 test -z "$DEPDIR" && continue
14012 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14013 test -z "am__include" && continue
14014 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14015 # When using ansi2knr, U may be empty or an underscore; expand it
14016 U=`sed -n 's/^U = //p' < "$mf"`
14017 # Find all dependency output files, they are included files with
14018 # $(DEPDIR) in their names. We invoke sed twice because it is the
14019 # simplest approach to changing $(DEPDIR) to its actual value in the
14021 for file in `sed -n "
14022 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14023 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14024 # Make sure the directory exists.
14025 test -f "$dirpart/$file" && continue
14026 fdir=`$as_dirname -- "$file" ||
14027 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14028 X"$file" : 'X\(//\)[^/]' \| \
14029 X"$file" : 'X\(//\)$' \| \
14030 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14031 $as_echo X"$file" |
14032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14036 /^X\(\/\/\)[^/].*/{
14049 { as_dir=$dirpart/$fdir
14051 -*) as_dir=./$as_dir;;
14053 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14057 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14058 *) as_qdir=$as_dir;;
14060 as_dirs="'$as_qdir' $as_dirs"
14061 as_dir=`$as_dirname -- "$as_dir" ||
14062 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14063 X"$as_dir" : 'X\(//\)[^/]' \| \
14064 X"$as_dir" : 'X\(//\)$' \| \
14065 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14066 $as_echo X"$as_dir" |
14067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14071 /^X\(\/\/\)[^/].*/{
14084 test -d "$as_dir" && break
14086 test -z "$as_dirs" || eval "mkdir $as_dirs"
14087 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14088 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14089 { (exit 1); exit 1; }; }; }
14090 # echo "creating $dirpart/$file"
14091 echo '# dummy' > "$dirpart/$file"
14095 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
14096 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
14103 { (exit 0); exit 0; }
14105 chmod +x $CONFIG_STATUS
14106 ac_clean_files=$ac_clean_files_save
14108 test $ac_write_fail = 0 ||
14109 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14110 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14111 { (exit 1); exit 1; }; }
14114 # configure is writing to config.log, and then calls config.status.
14115 # config.status does its own redirection, appending to config.log.
14116 # Unfortunately, on DOS this fails, as config.log is still kept open
14117 # by configure, so config.status won't be able to write to it; its
14118 # output is simply discarded. So we exec the FD to /dev/null,
14119 # effectively closing config.log, so it can be properly (re)opened and
14120 # appended to by config.status. When coming back to configure, we
14121 # need to make the FD available again.
14122 if test "$no_create" != yes; then
14124 ac_config_status_args=
14125 test "$silent" = yes &&
14126 ac_config_status_args="$ac_config_status_args --quiet"
14128 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14130 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14131 # would make configure fail if this is the last instruction.
14132 $ac_cs_success || { (exit 1); exit 1; }
14134 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14135 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
14136 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
14141 -*) as_dir=./$as_dir;;
14143 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14147 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14148 *) as_qdir=$as_dir;;
14150 as_dirs="'$as_qdir' $as_dirs"
14151 as_dir=`$as_dirname -- "$as_dir" ||
14152 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14153 X"$as_dir" : 'X\(//\)[^/]' \| \
14154 X"$as_dir" : 'X\(//\)$' \| \
14155 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14156 $as_echo X"$as_dir" |
14157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14161 /^X\(\/\/\)[^/].*/{
14174 test -d "$as_dir" && break
14176 test -z "$as_dirs" || eval "mkdir $as_dirs"
14177 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14178 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14179 { (exit 1); exit 1; }; }; }
14183 echo "Configuration complete"
14186 if test "x$HAVE_GTK" = x; then
14187 if test "x$HAVE_COCOA" = x; then
14188 echo " User interface: none"
14190 echo " User interface: Cocoa"
14193 echo " User interface: GTK"
14196 if test "x$SH4_TRANSLATOR" = "x"; then
14197 echo " SH4 translator: None (emulation core only)"
14199 echo " SH4 translator: $SH4_TRANSLATOR"
14202 if test "x$VIDEO_DRIVERS" = "x"; then
14203 echo " Video drivers: none (no supported GL found)"
14205 echo " Video drivers: $VIDEO_DRIVERS"
14208 if test "x$AUDIO_DRIVERS" = "x"; then
14209 echo " Audio drivers: none (no supported output devices found)"
14211 echo " Audio drivers: $AUDIO_DRIVERS"
14214 if test "x$CDROM_DRIVER" = "x"; then
14215 echo " CD-ROM driver: none (no supported cd-rom devices found)"
14217 echo " CD-ROM driver: $CDROM_DRIVER"
.