2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file="configure.in"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
667 INSTALL_STRIP_PROGRAM
672 MAINTAINER_MODE_FALSE
754 ac_precious_vars='build_alias
772 # Initialize some variables set by options.
774 ac_init_version=false
775 # The variables have the same names as the options, with
776 # dashes changed to underlines.
784 program_transform_name=s,x,x,
792 # Installation directory options.
793 # These are left unexpanded so users can "make install exec_prefix=/foo"
794 # and all the variables that are supposed to be based on exec_prefix
795 # by default will actually change.
796 # Use braces instead of parens because sh, perl, etc. also accept them.
797 # (The list follows the same order as the GNU Coding Standards.)
798 bindir='${exec_prefix}/bin'
799 sbindir='${exec_prefix}/sbin'
800 libexecdir='${exec_prefix}/libexec'
801 datarootdir='${prefix}/share'
802 datadir='${datarootdir}'
803 sysconfdir='${prefix}/etc'
804 sharedstatedir='${prefix}/com'
805 localstatedir='${prefix}/var'
806 includedir='${prefix}/include'
807 oldincludedir='/usr/include'
808 docdir='${datarootdir}/doc/${PACKAGE}'
809 infodir='${datarootdir}/info'
814 libdir='${exec_prefix}/lib'
815 localedir='${datarootdir}/locale'
816 mandir='${datarootdir}/man'
822 # If the previous option needs an argument, assign it.
823 if test -n "$ac_prev"; then
824 eval $ac_prev=\$ac_option
830 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
834 # Accept the important Cygnus configure options, so we can diagnose typos.
836 case $ac_dashdash$ac_option in
840 -bindir | --bindir | --bindi | --bind | --bin | --bi)
842 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
845 -build | --build | --buil | --bui | --bu)
846 ac_prev=build_alias ;;
847 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
848 build_alias=$ac_optarg ;;
850 -cache-file | --cache-file | --cache-fil | --cache-fi \
851 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
852 ac_prev=cache_file ;;
853 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
854 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
855 cache_file=$ac_optarg ;;
858 cache_file=config.cache ;;
860 -datadir | --datadir | --datadi | --datad)
862 -datadir=* | --datadir=* | --datadi=* | --datad=*)
863 datadir=$ac_optarg ;;
865 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
866 | --dataroo | --dataro | --datar)
867 ac_prev=datarootdir ;;
868 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
869 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
870 datarootdir=$ac_optarg ;;
872 -disable-* | --disable-*)
873 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
874 # Reject names that are not valid shell variable names.
875 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
876 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
877 { (exit 1); exit 1; }; }
878 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
879 eval enable_$ac_feature=no ;;
881 -docdir | --docdir | --docdi | --doc | --do)
883 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
886 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
888 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
891 -enable-* | --enable-*)
892 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
895 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
896 { (exit 1); exit 1; }; }
897 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
898 eval enable_$ac_feature=\$ac_optarg ;;
900 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
901 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
902 | --exec | --exe | --ex)
903 ac_prev=exec_prefix ;;
904 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
905 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
906 | --exec=* | --exe=* | --ex=*)
907 exec_prefix=$ac_optarg ;;
909 -gas | --gas | --ga | --g)
910 # Obsolete; use --with-gas.
913 -help | --help | --hel | --he | -h)
915 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
916 ac_init_help=recursive ;;
917 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
918 ac_init_help=short ;;
920 -host | --host | --hos | --ho)
921 ac_prev=host_alias ;;
922 -host=* | --host=* | --hos=* | --ho=*)
923 host_alias=$ac_optarg ;;
925 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
927 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
929 htmldir=$ac_optarg ;;
931 -includedir | --includedir | --includedi | --included | --include \
932 | --includ | --inclu | --incl | --inc)
933 ac_prev=includedir ;;
934 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
935 | --includ=* | --inclu=* | --incl=* | --inc=*)
936 includedir=$ac_optarg ;;
938 -infodir | --infodir | --infodi | --infod | --info | --inf)
940 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
941 infodir=$ac_optarg ;;
943 -libdir | --libdir | --libdi | --libd)
945 -libdir=* | --libdir=* | --libdi=* | --libd=*)
948 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
949 | --libexe | --libex | --libe)
950 ac_prev=libexecdir ;;
951 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
952 | --libexe=* | --libex=* | --libe=*)
953 libexecdir=$ac_optarg ;;
955 -localedir | --localedir | --localedi | --localed | --locale)
957 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
958 localedir=$ac_optarg ;;
960 -localstatedir | --localstatedir | --localstatedi | --localstated \
961 | --localstate | --localstat | --localsta | --localst | --locals)
962 ac_prev=localstatedir ;;
963 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
964 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
965 localstatedir=$ac_optarg ;;
967 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
969 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
973 # Obsolete; use --without-fp.
976 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
977 | --no-cr | --no-c | -n)
980 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
981 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
984 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
985 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
986 | --oldin | --oldi | --old | --ol | --o)
987 ac_prev=oldincludedir ;;
988 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
989 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
990 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
991 oldincludedir=$ac_optarg ;;
993 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
995 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
998 -program-prefix | --program-prefix | --program-prefi | --program-pref \
999 | --program-pre | --program-pr | --program-p)
1000 ac_prev=program_prefix ;;
1001 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1002 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1003 program_prefix=$ac_optarg ;;
1005 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1006 | --program-suf | --program-su | --program-s)
1007 ac_prev=program_suffix ;;
1008 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1009 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1010 program_suffix=$ac_optarg ;;
1012 -program-transform-name | --program-transform-name \
1013 | --program-transform-nam | --program-transform-na \
1014 | --program-transform-n | --program-transform- \
1015 | --program-transform | --program-transfor \
1016 | --program-transfo | --program-transf \
1017 | --program-trans | --program-tran \
1018 | --progr-tra | --program-tr | --program-t)
1019 ac_prev=program_transform_name ;;
1020 -program-transform-name=* | --program-transform-name=* \
1021 | --program-transform-nam=* | --program-transform-na=* \
1022 | --program-transform-n=* | --program-transform-=* \
1023 | --program-transform=* | --program-transfor=* \
1024 | --program-transfo=* | --program-transf=* \
1025 | --program-trans=* | --program-tran=* \
1026 | --progr-tra=* | --program-tr=* | --program-t=*)
1027 program_transform_name=$ac_optarg ;;
1029 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1031 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1032 pdfdir=$ac_optarg ;;
1034 -psdir | --psdir | --psdi | --psd | --ps)
1036 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1039 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1040 | -silent | --silent | --silen | --sile | --sil)
1043 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1045 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1047 sbindir=$ac_optarg ;;
1049 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1050 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1051 | --sharedst | --shareds | --shared | --share | --shar \
1053 ac_prev=sharedstatedir ;;
1054 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1055 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1056 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1058 sharedstatedir=$ac_optarg ;;
1060 -site | --site | --sit)
1062 -site=* | --site=* | --sit=*)
1065 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1067 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1068 srcdir=$ac_optarg ;;
1070 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1071 | --syscon | --sysco | --sysc | --sys | --sy)
1072 ac_prev=sysconfdir ;;
1073 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1074 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1075 sysconfdir=$ac_optarg ;;
1077 -target | --target | --targe | --targ | --tar | --ta | --t)
1078 ac_prev=target_alias ;;
1079 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1080 target_alias=$ac_optarg ;;
1082 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1085 -version | --version | --versio | --versi | --vers | -V)
1086 ac_init_version=: ;;
1089 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1092 { echo "$as_me: error: invalid package name: $ac_package" >&2
1093 { (exit 1); exit 1; }; }
1094 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1095 eval with_$ac_package=\$ac_optarg ;;
1097 -without-* | --without-*)
1098 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1101 { echo "$as_me: error: invalid package name: $ac_package" >&2
1102 { (exit 1); exit 1; }; }
1103 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1104 eval with_$ac_package=no ;;
1107 # Obsolete; use --with-x.
1110 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1111 | --x-incl | --x-inc | --x-in | --x-i)
1112 ac_prev=x_includes ;;
1113 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1114 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1115 x_includes=$ac_optarg ;;
1117 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1118 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1119 ac_prev=x_libraries ;;
1120 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1121 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1122 x_libraries=$ac_optarg ;;
1124 -*) { echo "$as_me: error: unrecognized option: $ac_option
1125 Try \`$0 --help' for more information." >&2
1126 { (exit 1); exit 1; }; }
1130 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1131 # Reject names that are not valid shell variable names.
1132 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1133 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1134 { (exit 1); exit 1; }; }
1135 eval $ac_envvar=\$ac_optarg
1136 export $ac_envvar ;;
1139 # FIXME: should be removed in autoconf 3.0.
1140 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1141 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1142 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1143 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1149 if test -n "$ac_prev"; then
1150 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1151 { echo "$as_me: error: missing argument to $ac_option" >&2
1152 { (exit 1); exit 1; }; }
1155 # Be sure to have absolute directory names.
1156 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1157 datadir sysconfdir sharedstatedir localstatedir includedir \
1158 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1159 libdir localedir mandir
1161 eval ac_val=\$$ac_var
1163 [\\/$]* | ?:[\\/]* ) continue;;
1164 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1166 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1167 { (exit 1); exit 1; }; }
1170 # There might be people who depend on the old broken behavior: `$host'
1171 # used to hold the argument of --host etc.
1172 # FIXME: To remove some day.
1175 target=$target_alias
1177 # FIXME: To remove some day.
1178 if test "x$host_alias" != x; then
1179 if test "x$build_alias" = x; then
1180 cross_compiling=maybe
1181 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1182 If a cross compiler is detected then cross compile mode will be used." >&2
1183 elif test "x$build_alias" != "x$host_alias"; then
1189 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1191 test "$silent" = yes && exec 6>/dev/null
1194 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1195 ac_ls_di=`ls -di .` &&
1196 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1197 { echo "$as_me: error: Working directory cannot be determined" >&2
1198 { (exit 1); exit 1; }; }
1199 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1200 { echo "$as_me: error: pwd does not report name of working directory" >&2
1201 { (exit 1); exit 1; }; }
1204 # Find the source files, if location was not specified.
1205 if test -z "$srcdir"; then
1206 ac_srcdir_defaulted=yes
1207 # Try the directory containing this script, then the parent directory.
1208 ac_confdir=`$as_dirname -- "$0" ||
1209 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1210 X"$0" : 'X\(//\)[^/]' \| \
1211 X"$0" : 'X\(//\)$' \| \
1212 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1232 if test ! -r "$srcdir/$ac_unique_file"; then
1236 ac_srcdir_defaulted=no
1238 if test ! -r "$srcdir/$ac_unique_file"; then
1239 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1240 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1241 { (exit 1); exit 1; }; }
1243 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1245 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1246 { (exit 1); exit 1; }; }
1248 # When building in place, set srcdir=.
1249 if test "$ac_abs_confdir" = "$ac_pwd"; then
1252 # Remove unnecessary trailing slashes from srcdir.
1253 # Double slashes in file names in object file debugging info
1254 # mess up M-x gdb in Emacs.
1256 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1258 for ac_var in $ac_precious_vars; do
1259 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1260 eval ac_env_${ac_var}_value=\$${ac_var}
1261 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1262 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1266 # Report the --help message.
1268 if test "$ac_init_help" = "long"; then
1269 # Omit some internal or obsolete options to make the list less imposing.
1270 # This message is too long to be a string in the A/UX 3.1 sh.
1272 \`configure' configures this package to adapt to many kinds of systems.
1274 Usage: $0 [OPTION]... [VAR=VALUE]...
1276 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1277 VAR=VALUE. See below for descriptions of some of the useful variables.
1279 Defaults for the options are specified in brackets.
1282 -h, --help display this help and exit
1283 --help=short display options specific to this package
1284 --help=recursive display the short help of all the included packages
1285 -V, --version display version information and exit
1286 -q, --quiet, --silent do not print \`checking...' messages
1287 --cache-file=FILE cache test results in FILE [disabled]
1288 -C, --config-cache alias for \`--cache-file=config.cache'
1289 -n, --no-create do not create output files
1290 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1292 Installation directories:
1293 --prefix=PREFIX install architecture-independent files in PREFIX
1294 [$ac_default_prefix]
1295 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1298 By default, \`make install' will install all the files in
1299 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1300 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1301 for instance \`--prefix=\$HOME'.
1303 For better control, use the options below.
1305 Fine tuning of the installation directories:
1306 --bindir=DIR user executables [EPREFIX/bin]
1307 --sbindir=DIR system admin executables [EPREFIX/sbin]
1308 --libexecdir=DIR program executables [EPREFIX/libexec]
1309 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1310 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1311 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1312 --libdir=DIR object code libraries [EPREFIX/lib]
1313 --includedir=DIR C header files [PREFIX/include]
1314 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1315 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1316 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1317 --infodir=DIR info documentation [DATAROOTDIR/info]
1318 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1319 --mandir=DIR man documentation [DATAROOTDIR/man]
1320 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1321 --htmldir=DIR html documentation [DOCDIR]
1322 --dvidir=DIR dvi documentation [DOCDIR]
1323 --pdfdir=DIR pdf documentation [DOCDIR]
1324 --psdir=DIR ps documentation [DOCDIR]
1330 --program-prefix=PREFIX prepend PREFIX to installed program names
1331 --program-suffix=SUFFIX append SUFFIX to installed program names
1332 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1335 --build=BUILD configure for building on BUILD [guessed]
1336 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1340 if test -n "$ac_init_help"; then
1345 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1346 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1347 --enable-maintainer-mode enable make rules and dependencies not useful
1348 (and sometimes confusing) to the casual installer
1349 --disable-dependency-tracking Speeds up one-time builds
1350 --enable-dependency-tracking Do not reject slow dependency extractors
1351 --enable-trace Enable generation of IO traces (warning: hurts
1353 --enable-watch Enable watchpoints in the debugger (warning: hurts
1356 Some influential environment variables:
1357 CC C compiler command
1358 CFLAGS C compiler flags
1359 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1360 nonstandard directory <lib dir>
1361 LIBS libraries to pass to the linker, e.g. -l<library>
1362 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1363 you have headers in a nonstandard directory <include dir>
1365 PKG_CONFIG path to pkg-config utility
1367 C compiler flags for LIBPNG, overriding pkg-config
1368 LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
1369 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1370 GTK_LIBS linker flags for GTK, overriding pkg-config
1372 C compiler flags for ESOUND, overriding pkg-config
1373 ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
1375 Use these variables to override the choices made by `configure' or to help
1376 it to find libraries and programs with nonstandard names/locations.
1382 if test "$ac_init_help" = "recursive"; then
1383 # If there are subdirs, report their specific --help.
1384 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1385 test -d "$ac_dir" || continue
1389 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1391 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1392 # A ".." for each directory in $ac_dir_suffix.
1393 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1394 case $ac_top_builddir_sub in
1395 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1396 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1399 ac_abs_top_builddir=$ac_pwd
1400 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1401 # for backward compatibility:
1402 ac_top_builddir=$ac_top_build_prefix
1405 .) # We are building in place.
1407 ac_top_srcdir=$ac_top_builddir_sub
1408 ac_abs_top_srcdir=$ac_pwd ;;
1409 [\\/]* | ?:[\\/]* ) # Absolute name.
1410 ac_srcdir=$srcdir$ac_dir_suffix;
1411 ac_top_srcdir=$srcdir
1412 ac_abs_top_srcdir=$srcdir ;;
1414 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1415 ac_top_srcdir=$ac_top_build_prefix$srcdir
1416 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1418 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1420 cd "$ac_dir" || { ac_status=$?; continue; }
1421 # Check for guested configure.
1422 if test -f "$ac_srcdir/configure.gnu"; then
1424 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1425 elif test -f "$ac_srcdir/configure"; then
1427 $SHELL "$ac_srcdir/configure" --help=recursive
1429 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1431 cd "$ac_pwd" || { ac_status=$?; break; }
1435 test -n "$ac_init_help" && exit $ac_status
1436 if $ac_init_version; then
1439 generated by GNU Autoconf 2.61
1441 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1442 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1443 This configure script is free software; the Free Software Foundation
1444 gives unlimited permission to copy, distribute and modify it.
1448 cat >config.log <<_ACEOF
1449 This file contains any messages produced by compilers while
1450 running configure, to aid debugging if configure makes a mistake.
1452 It was created by $as_me, which was
1453 generated by GNU Autoconf 2.61. Invocation command line was
1465 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1466 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1467 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1468 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1469 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1471 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1472 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1474 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1475 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1476 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1477 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1478 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1479 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1480 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1488 test -z "$as_dir" && as_dir=.
1489 echo "PATH: $as_dir"
1505 # Keep a trace of the command line.
1506 # Strip out --no-create and --no-recursion so they do not pile up.
1507 # Strip out --silent because we don't want to record it for future runs.
1508 # Also quote any args containing shell meta-characters.
1509 # Make two passes to allow for proper duplicate-argument suppression.
1513 ac_must_keep_next=false
1519 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1520 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1521 | -silent | --silent | --silen | --sile | --sil)
1524 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1527 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1529 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1530 if test $ac_must_keep_next = true; then
1531 ac_must_keep_next=false # Got value, back to normal.
1534 *=* | --config-cache | -C | -disable-* | --disable-* \
1535 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1536 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1537 | -with-* | --with-* | -without-* | --without-* | --x)
1538 case "$ac_configure_args0 " in
1539 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1542 -* ) ac_must_keep_next=true ;;
1545 ac_configure_args="$ac_configure_args '$ac_arg'"
1550 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1551 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1553 # When interrupted or exit'd, cleanup temporary files, and complete
1554 # config.log. We remove comments because anyway the quotes in there
1555 # would cause problems or look ugly.
1556 # WARNING: Use '\'' to represent an apostrophe within the trap.
1557 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1558 trap 'exit_status=$?
1559 # Save into config.log some information that might help in debugging.
1564 ## ---------------- ##
1565 ## Cache variables. ##
1566 ## ---------------- ##
1569 # The following way of writing the cache mishandles newlines in values,
1571 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1572 eval ac_val=\$$ac_var
1576 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1577 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1580 _ | IFS | as_nl) ;; #(
1581 *) $as_unset $ac_var ;;
1586 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1587 *${as_nl}ac_space=\ *)
1589 "s/'\''/'\''\\\\'\'''\''/g;
1590 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1593 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1601 ## ----------------- ##
1602 ## Output variables. ##
1603 ## ----------------- ##
1606 for ac_var in $ac_subst_vars
1608 eval ac_val=\$$ac_var
1610 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1612 echo "$ac_var='\''$ac_val'\''"
1616 if test -n "$ac_subst_files"; then
1618 ## ------------------- ##
1619 ## File substitutions. ##
1620 ## ------------------- ##
1623 for ac_var in $ac_subst_files
1625 eval ac_val=\$$ac_var
1627 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1629 echo "$ac_var='\''$ac_val'\''"
1634 if test -s confdefs.h; then
1644 test "$ac_signal" != 0 &&
1645 echo "$as_me: caught signal $ac_signal"
1646 echo "$as_me: exit $exit_status"
1648 rm -f core *.core core.conftest.* &&
1649 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1652 for ac_signal in 1 2 13 15; do
1653 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1657 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1658 rm -f -r conftest* confdefs.h
1660 # Predefined preprocessor variables.
1662 cat >>confdefs.h <<_ACEOF
1663 #define PACKAGE_NAME "$PACKAGE_NAME"
1667 cat >>confdefs.h <<_ACEOF
1668 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1672 cat >>confdefs.h <<_ACEOF
1673 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1677 cat >>confdefs.h <<_ACEOF
1678 #define PACKAGE_STRING "$PACKAGE_STRING"
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1687 # Let the site file select an alternate cache file if it wants to.
1688 # Prefer explicitly selected file to automatically selected ones.
1689 if test -n "$CONFIG_SITE"; then
1690 set x "$CONFIG_SITE"
1691 elif test "x$prefix" != xNONE; then
1692 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1694 set x "$ac_default_prefix/share/config.site" \
1695 "$ac_default_prefix/etc/config.site"
1700 if test -r "$ac_site_file"; then
1701 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1702 echo "$as_me: loading site script $ac_site_file" >&6;}
1703 sed 's/^/| /' "$ac_site_file" >&5
1708 if test -r "$cache_file"; then
1709 # Some versions of bash will fail to source /dev/null (special
1710 # files actually), so we avoid doing that.
1711 if test -f "$cache_file"; then
1712 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1713 echo "$as_me: loading cache $cache_file" >&6;}
1715 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1716 *) . "./$cache_file";;
1720 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1721 echo "$as_me: creating cache $cache_file" >&6;}
1725 # Check that the precious variables saved in the cache have kept the same
1727 ac_cache_corrupted=false
1728 for ac_var in $ac_precious_vars; do
1729 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1730 eval ac_new_set=\$ac_env_${ac_var}_set
1731 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1732 eval ac_new_val=\$ac_env_${ac_var}_value
1733 case $ac_old_set,$ac_new_set in
1735 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1736 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1737 ac_cache_corrupted=: ;;
1739 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1740 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1741 ac_cache_corrupted=: ;;
1744 if test "x$ac_old_val" != "x$ac_new_val"; then
1745 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1746 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1747 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1748 echo "$as_me: former value: $ac_old_val" >&2;}
1749 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1750 echo "$as_me: current value: $ac_new_val" >&2;}
1751 ac_cache_corrupted=:
1754 # Pass precious variables to config.status.
1755 if test "$ac_new_set" = set; then
1757 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1758 *) ac_arg=$ac_var=$ac_new_val ;;
1760 case " $ac_configure_args " in
1761 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1762 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1766 if $ac_cache_corrupted; then
1767 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1768 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1769 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1770 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1771 { (exit 1); exit 1; }; }
1791 ac_cpp='$CPP $CPPFLAGS'
1792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1797 am__api_version="1.7"
1799 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1800 if test -f "$ac_dir/install-sh"; then
1802 ac_install_sh="$ac_aux_dir/install-sh -c"
1804 elif test -f "$ac_dir/install.sh"; then
1806 ac_install_sh="$ac_aux_dir/install.sh -c"
1808 elif test -f "$ac_dir/shtool"; then
1810 ac_install_sh="$ac_aux_dir/shtool install -c"
1814 if test -z "$ac_aux_dir"; then
1815 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1816 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1817 { (exit 1); exit 1; }; }
1820 # These three variables are undocumented and unsupported,
1821 # and are intended to be withdrawn in a future Autoconf release.
1822 # They can cause serious problems if a builder's source tree is in a directory
1823 # whose full name contains unusual characters.
1824 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1825 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1826 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1829 # Find a good install program. We prefer a C program (faster),
1830 # so one script is as good as another. But avoid the broken or
1831 # incompatible versions:
1832 # SysV /etc/install, /usr/sbin/install
1833 # SunOS /usr/etc/install
1834 # IRIX /sbin/install
1836 # AmigaOS /C/install, which installs bootblocks on floppy discs
1837 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1838 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1839 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1840 # OS/2's system install, which has a completely different semantic
1841 # ./install, which can be erroneously created by make from ./install.sh.
1842 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1843 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1844 if test -z "$INSTALL"; then
1845 if test "${ac_cv_path_install+set}" = set; then
1846 echo $ECHO_N "(cached) $ECHO_C" >&6
1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1852 test -z "$as_dir" && as_dir=.
1853 # Account for people who put trailing slashes in PATH elements.
1855 ./ | .// | /cC/* | \
1856 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1857 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1860 # OSF1 and SCO ODT 3.0 have their own names for install.
1861 # Don't use installbsd from OSF since it installs stuff as root
1863 for ac_prog in ginstall scoinst install; do
1864 for ac_exec_ext in '' $ac_executable_extensions; do
1865 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1866 if test $ac_prog = install &&
1867 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1868 # AIX install. It has an incompatible calling convention.
1870 elif test $ac_prog = install &&
1871 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1872 # program-specific install script used by HP pwplus--don't use.
1875 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1888 if test "${ac_cv_path_install+set}" = set; then
1889 INSTALL=$ac_cv_path_install
1891 # As a last resort, use the slow shell script. Don't cache a
1892 # value for INSTALL within a source directory, because that will
1893 # break other packages using the cache if that directory is
1894 # removed, or if the value is a relative name.
1895 INSTALL=$ac_install_sh
1898 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1899 echo "${ECHO_T}$INSTALL" >&6; }
1901 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1902 # It thinks the first close brace ends the variable substitution.
1903 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1905 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1907 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1909 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1910 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1913 echo timestamp > conftest.file
1914 # Do `set' in a subshell so we don't clobber the current shell's
1915 # arguments. Must try -L first in case configure is actually a
1916 # symlink; some systems play weird games with the mod time of symlinks
1917 # (eg FreeBSD returns the mod time of the symlink's containing
1920 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1921 if test "$*" = "X"; then
1923 set X `ls -t $srcdir/configure conftest.file`
1926 if test "$*" != "X $srcdir/configure conftest.file" \
1927 && test "$*" != "X conftest.file $srcdir/configure"; then
1929 # If neither matched, then we have a broken ls. This can happen
1930 # if, for instance, CONFIG_SHELL is bash and it inherits a
1931 # broken ls alias from the environment. This has actually
1932 # happened. Such a system could not be considered "sane".
1933 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1934 alias in your environment" >&5
1935 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1936 alias in your environment" >&2;}
1937 { (exit 1); exit 1; }; }
1940 test "$2" = conftest.file
1946 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1947 Check your system clock" >&5
1948 echo "$as_me: error: newly created file is older than distributed files!
1949 Check your system clock" >&2;}
1950 { (exit 1); exit 1; }; }
1952 { echo "$as_me:$LINENO: result: yes" >&5
1953 echo "${ECHO_T}yes" >&6; }
1954 test "$program_prefix" != NONE &&
1955 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1956 # Use a double $ so make ignores it.
1957 test "$program_suffix" != NONE &&
1958 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1959 # Double any \ or $. echo might interpret backslashes.
1960 # By default was `s,x,x', remove it if useless.
1961 cat <<\_ACEOF >conftest.sed
1962 s/[\\$]/&&/g;s/;s,x,x,$//
1964 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1968 # expand $ac_aux_dir to an absolute path
1969 am_aux_dir=`cd $ac_aux_dir && pwd`
1971 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1972 # Use eval to expand $SHELL
1973 if eval "$MISSING --run true"; then
1974 am_missing_run="$MISSING --run "
1977 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1978 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1981 for ac_prog in gawk mawk nawk awk
1983 # Extract the first word of "$ac_prog", so it can be a program name with args.
1984 set dummy $ac_prog; ac_word=$2
1985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1987 if test "${ac_cv_prog_AWK+set}" = set; then
1988 echo $ECHO_N "(cached) $ECHO_C" >&6
1990 if test -n "$AWK"; then
1991 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1997 test -z "$as_dir" && as_dir=.
1998 for ac_exec_ext in '' $ac_executable_extensions; do
1999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2000 ac_cv_prog_AWK="$ac_prog"
2001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2011 if test -n "$AWK"; then
2012 { echo "$as_me:$LINENO: result: $AWK" >&5
2013 echo "${ECHO_T}$AWK" >&6; }
2015 { echo "$as_me:$LINENO: result: no" >&5
2016 echo "${ECHO_T}no" >&6; }
2020 test -n "$AWK" && break
2023 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2024 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2025 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2026 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2027 echo $ECHO_N "(cached) $ECHO_C" >&6
2029 cat >conftest.make <<\_ACEOF
2032 @echo '@@@%%%=$(MAKE)=@@@%%%'
2034 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2035 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2037 eval ac_cv_prog_make_${ac_make}_set=yes;;
2039 eval ac_cv_prog_make_${ac_make}_set=no;;
2043 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2044 { echo "$as_me:$LINENO: result: yes" >&5
2045 echo "${ECHO_T}yes" >&6; }
2048 { echo "$as_me:$LINENO: result: no" >&5
2049 echo "${ECHO_T}no" >&6; }
2050 SET_MAKE="MAKE=${MAKE-make}"
2053 rm -rf .tst 2>/dev/null
2054 mkdir .tst 2>/dev/null
2055 if test -d .tst; then
2060 rmdir .tst 2>/dev/null
2062 # test to see if srcdir already configured
2063 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2064 test -f $srcdir/config.status; then
2065 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2066 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2067 { (exit 1); exit 1; }; }
2070 # test whether we have cygpath
2071 if test -z "$CYGPATH_W"; then
2072 if (cygpath --version) >/dev/null 2>/dev/null; then
2073 CYGPATH_W='cygpath -w'
2080 # Define the identity of the package.
2085 cat >>confdefs.h <<_ACEOF
2086 #define PACKAGE "$PACKAGE"
2090 cat >>confdefs.h <<_ACEOF
2091 #define VERSION "$VERSION"
2094 # Some tools Automake needs.
2096 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2099 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2102 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2105 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2108 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2111 AMTAR=${AMTAR-"${am_missing_run}tar"}
2113 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2115 # Installed binaries are usually stripped using `strip' when the user
2116 # run `make install-strip'. However `strip' might not be the right
2117 # tool to use in cross-compilation environments, therefore Automake
2118 # will honor the `STRIP' environment variable to overrule this program.
2119 if test "$cross_compiling" != no; then
2120 if test -n "$ac_tool_prefix"; then
2121 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2122 set dummy ${ac_tool_prefix}strip; ac_word=$2
2123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2125 if test "${ac_cv_prog_STRIP+set}" = set; then
2126 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 if test -n "$STRIP"; then
2129 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2135 test -z "$as_dir" && as_dir=.
2136 for ac_exec_ext in '' $ac_executable_extensions; do
2137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2138 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2148 STRIP=$ac_cv_prog_STRIP
2149 if test -n "$STRIP"; then
2150 { echo "$as_me:$LINENO: result: $STRIP" >&5
2151 echo "${ECHO_T}$STRIP" >&6; }
2153 { echo "$as_me:$LINENO: result: no" >&5
2154 echo "${ECHO_T}no" >&6; }
2159 if test -z "$ac_cv_prog_STRIP"; then
2161 # Extract the first word of "strip", so it can be a program name with args.
2162 set dummy strip; ac_word=$2
2163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2165 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2166 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 if test -n "$ac_ct_STRIP"; then
2169 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2175 test -z "$as_dir" && as_dir=.
2176 for ac_exec_ext in '' $ac_executable_extensions; do
2177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2178 ac_cv_prog_ac_ct_STRIP="strip"
2179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2188 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2189 if test -n "$ac_ct_STRIP"; then
2190 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2191 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2193 { echo "$as_me:$LINENO: result: no" >&5
2194 echo "${ECHO_T}no" >&6; }
2197 if test "x$ac_ct_STRIP" = x; then
2200 case $cross_compiling:$ac_tool_warned in
2202 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2203 whose name does not start with the host triplet. If you think this
2204 configuration is useful to you, please write to autoconf@gnu.org." >&5
2205 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2206 whose name does not start with the host triplet. If you think this
2207 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2208 ac_tool_warned=yes ;;
2213 STRIP="$ac_cv_prog_STRIP"
2217 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2219 # We need awk for the "check" target. The system "awk" is bad on
2224 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2225 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2226 # Check whether --enable-maintainer-mode was given.
2227 if test "${enable_maintainer_mode+set}" = set; then
2228 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2230 USE_MAINTAINER_MODE=no
2233 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2234 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2237 if test $USE_MAINTAINER_MODE = yes; then
2238 MAINTAINER_MODE_TRUE=
2239 MAINTAINER_MODE_FALSE='#'
2241 MAINTAINER_MODE_TRUE='#'
2242 MAINTAINER_MODE_FALSE=
2245 MAINT=$MAINTAINER_MODE_TRUE
2248 ac_config_headers="$ac_config_headers config.h"
2251 DEPDIR="${am__leading_dot}deps"
2253 ac_config_commands="$ac_config_commands depfiles"
2256 am_make=${MAKE-make}
2257 cat > confinc << 'END'
2262 # If we don't find an include directive, just comment out the code.
2263 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2264 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2268 # First try GNU make style include.
2269 echo "include confinc" > confmf
2270 # We grep out `Entering directory' and `Leaving directory'
2271 # messages which can occur if `w' ends up in MAKEFLAGS.
2272 # In particular we don't look at `^make:' because GNU make might
2273 # be invoked under some other name (usually "gmake"), in which
2274 # case it prints its new name instead of `make'.
2275 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2280 # Now try BSD make style include.
2281 if test "$am__include" = "#"; then
2282 echo '.include "confinc"' > confmf
2283 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2284 am__include=.include
2291 { echo "$as_me:$LINENO: result: $_am_result" >&5
2292 echo "${ECHO_T}$_am_result" >&6; }
2293 rm -f confinc confmf
2295 # Check whether --enable-dependency-tracking was given.
2296 if test "${enable_dependency_tracking+set}" = set; then
2297 enableval=$enable_dependency_tracking;
2300 if test "x$enable_dependency_tracking" != xno; then
2301 am_depcomp="$ac_aux_dir/depcomp"
2306 if test "x$enable_dependency_tracking" != xno; then
2317 ac_cpp='$CPP $CPPFLAGS'
2318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2321 if test -n "$ac_tool_prefix"; then
2322 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2323 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2326 if test "${ac_cv_prog_CC+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2329 if test -n "$CC"; then
2330 ac_cv_prog_CC="$CC" # Let the user override the test.
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2336 test -z "$as_dir" && as_dir=.
2337 for ac_exec_ext in '' $ac_executable_extensions; do
2338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2339 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2350 if test -n "$CC"; then
2351 { echo "$as_me:$LINENO: result: $CC" >&5
2352 echo "${ECHO_T}$CC" >&6; }
2354 { echo "$as_me:$LINENO: result: no" >&5
2355 echo "${ECHO_T}no" >&6; }
2360 if test -z "$ac_cv_prog_CC"; then
2362 # Extract the first word of "gcc", so it can be a program name with args.
2363 set dummy gcc; ac_word=$2
2364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2366 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2367 echo $ECHO_N "(cached) $ECHO_C" >&6
2369 if test -n "$ac_ct_CC"; then
2370 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2376 test -z "$as_dir" && as_dir=.
2377 for ac_exec_ext in '' $ac_executable_extensions; do
2378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2379 ac_cv_prog_ac_ct_CC="gcc"
2380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2389 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2390 if test -n "$ac_ct_CC"; then
2391 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2392 echo "${ECHO_T}$ac_ct_CC" >&6; }
2394 { echo "$as_me:$LINENO: result: no" >&5
2395 echo "${ECHO_T}no" >&6; }
2398 if test "x$ac_ct_CC" = x; then
2401 case $cross_compiling:$ac_tool_warned in
2403 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2404 whose name does not start with the host triplet. If you think this
2405 configuration is useful to you, please write to autoconf@gnu.org." >&5
2406 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2407 whose name does not start with the host triplet. If you think this
2408 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2409 ac_tool_warned=yes ;;
2417 if test -z "$CC"; then
2418 if test -n "$ac_tool_prefix"; then
2419 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2420 set dummy ${ac_tool_prefix}cc; ac_word=$2
2421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2423 if test "${ac_cv_prog_CC+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2426 if test -n "$CC"; then
2427 ac_cv_prog_CC="$CC" # Let the user override the test.
2429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2433 test -z "$as_dir" && as_dir=.
2434 for ac_exec_ext in '' $ac_executable_extensions; do
2435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2436 ac_cv_prog_CC="${ac_tool_prefix}cc"
2437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 if test -n "$CC"; then
2448 { echo "$as_me:$LINENO: result: $CC" >&5
2449 echo "${ECHO_T}$CC" >&6; }
2451 { echo "$as_me:$LINENO: result: no" >&5
2452 echo "${ECHO_T}no" >&6; }
2458 if test -z "$CC"; then
2459 # Extract the first word of "cc", so it can be a program name with args.
2460 set dummy cc; ac_word=$2
2461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2463 if test "${ac_cv_prog_CC+set}" = set; then
2464 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 if test -n "$CC"; then
2467 ac_cv_prog_CC="$CC" # Let the user override the test.
2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir=.
2475 for ac_exec_ext in '' $ac_executable_extensions; do
2476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2477 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2478 ac_prog_rejected=yes
2482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 if test $ac_prog_rejected = yes; then
2490 # We found a bogon in the path, so make sure we never use it.
2491 set dummy $ac_cv_prog_CC
2493 if test $# != 0; then
2494 # We chose a different compiler from the bogus one.
2495 # However, it has the same basename, so the bogon will be chosen
2496 # first if we set CC to just the basename; use the full file name.
2498 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2504 if test -n "$CC"; then
2505 { echo "$as_me:$LINENO: result: $CC" >&5
2506 echo "${ECHO_T}$CC" >&6; }
2508 { echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6; }
2514 if test -z "$CC"; then
2515 if test -n "$ac_tool_prefix"; then
2516 for ac_prog in cl.exe
2518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2519 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2522 if test "${ac_cv_prog_CC+set}" = set; then
2523 echo $ECHO_N "(cached) $ECHO_C" >&6
2525 if test -n "$CC"; then
2526 ac_cv_prog_CC="$CC" # Let the user override the test.
2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532 test -z "$as_dir" && as_dir=.
2533 for ac_exec_ext in '' $ac_executable_extensions; do
2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2535 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2546 if test -n "$CC"; then
2547 { echo "$as_me:$LINENO: result: $CC" >&5
2548 echo "${ECHO_T}$CC" >&6; }
2550 { echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6; }
2555 test -n "$CC" && break
2558 if test -z "$CC"; then
2560 for ac_prog in cl.exe
2562 # Extract the first word of "$ac_prog", so it can be a program name with args.
2563 set dummy $ac_prog; ac_word=$2
2564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2566 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2567 echo $ECHO_N "(cached) $ECHO_C" >&6
2569 if test -n "$ac_ct_CC"; then
2570 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir=.
2577 for ac_exec_ext in '' $ac_executable_extensions; do
2578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2579 ac_cv_prog_ac_ct_CC="$ac_prog"
2580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2589 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2590 if test -n "$ac_ct_CC"; then
2591 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2592 echo "${ECHO_T}$ac_ct_CC" >&6; }
2594 { echo "$as_me:$LINENO: result: no" >&5
2595 echo "${ECHO_T}no" >&6; }
2599 test -n "$ac_ct_CC" && break
2602 if test "x$ac_ct_CC" = x; then
2605 case $cross_compiling:$ac_tool_warned in
2607 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2608 whose name does not start with the host triplet. If you think this
2609 configuration is useful to you, please write to autoconf@gnu.org." >&5
2610 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2611 whose name does not start with the host triplet. If you think this
2612 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2613 ac_tool_warned=yes ;;
2622 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2623 See \`config.log' for more details." >&5
2624 echo "$as_me: error: no acceptable C compiler found in \$PATH
2625 See \`config.log' for more details." >&2;}
2626 { (exit 1); exit 1; }; }
2628 # Provide some information about the compiler.
2629 echo "$as_me:$LINENO: checking for C compiler version" >&5
2630 ac_compiler=`set X $ac_compile; echo $2`
2631 { (ac_try="$ac_compiler --version >&5"
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2637 (eval "$ac_compiler --version >&5") 2>&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }
2641 { (ac_try="$ac_compiler -v >&5"
2643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644 *) ac_try_echo=$ac_try;;
2646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2647 (eval "$ac_compiler -v >&5") 2>&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }
2651 { (ac_try="$ac_compiler -V >&5"
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_compiler -V >&5") 2>&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }
2662 cat >conftest.$ac_ext <<_ACEOF
2665 cat confdefs.h >>conftest.$ac_ext
2666 cat >>conftest.$ac_ext <<_ACEOF
2667 /* end confdefs.h. */
2677 ac_clean_files_save=$ac_clean_files
2678 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2679 # Try to create an executable without -o first, disregard a.out.
2680 # It will help us diagnose broken compilers, and finding out an intuition
2682 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2683 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2684 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2686 # List of possible output files, starting from the most likely.
2687 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2688 # only as a last resort. b.out is created by i960 compilers.
2689 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2691 # The IRIX 6 linker writes into existing files which may not be
2692 # executable, retaining their permissions. Remove them first so a
2693 # subsequent execution test works.
2695 for ac_file in $ac_files
2698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2699 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2704 if { (ac_try="$ac_link_default"
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2710 (eval "$ac_link_default") 2>&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }; then
2714 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2715 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2716 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2717 # so that the user can short-circuit this test for compilers unknown to
2719 for ac_file in $ac_files ''
2721 test -f "$ac_file" || continue
2723 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2726 # We found the default executable, but exeext='' is most
2730 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2732 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2734 # We set ac_cv_exeext here because the later test for it is not
2735 # safe: cross compilers may not add the suffix if given an `-o'
2736 # argument, so we may need to know it at that point already.
2737 # Even if this section looks crufty: it has the advantage of
2744 test "$ac_cv_exeext" = no && ac_cv_exeext=
2750 { echo "$as_me:$LINENO: result: $ac_file" >&5
2751 echo "${ECHO_T}$ac_file" >&6; }
2752 if test -z "$ac_file"; then
2753 echo "$as_me: failed program was:" >&5
2754 sed 's/^/| /' conftest.$ac_ext >&5
2756 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2757 See \`config.log' for more details." >&5
2758 echo "$as_me: error: C compiler cannot create executables
2759 See \`config.log' for more details." >&2;}
2760 { (exit 77); exit 77; }; }
2763 ac_exeext=$ac_cv_exeext
2765 # Check that the compiler produces executables we can run. If not, either
2766 # the compiler is broken, or we cross compile.
2767 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2768 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2769 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2770 # If not cross compiling, check that we can run a simple program.
2771 if test "$cross_compiling" != yes; then
2772 if { ac_try='./$ac_file'
2773 { (case "(($ac_try" in
2774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2775 *) ac_try_echo=$ac_try;;
2777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2778 (eval "$ac_try") 2>&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); }; }; then
2784 if test "$cross_compiling" = maybe; then
2787 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2788 If you meant to cross compile, use \`--host'.
2789 See \`config.log' for more details." >&5
2790 echo "$as_me: error: cannot run C compiled programs.
2791 If you meant to cross compile, use \`--host'.
2792 See \`config.log' for more details." >&2;}
2793 { (exit 1); exit 1; }; }
2797 { echo "$as_me:$LINENO: result: yes" >&5
2798 echo "${ECHO_T}yes" >&6; }
2800 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2801 ac_clean_files=$ac_clean_files_save
2802 # Check that the compiler produces executables we can run. If not, either
2803 # the compiler is broken, or we cross compile.
2804 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2805 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2806 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2807 echo "${ECHO_T}$cross_compiling" >&6; }
2809 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2810 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2811 if { (ac_try="$ac_link"
2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814 *) ac_try_echo=$ac_try;;
2816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2817 (eval "$ac_link") 2>&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); }; then
2821 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2822 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2823 # work properly (i.e., refer to `conftest.exe'), while it won't with
2825 for ac_file in conftest.exe conftest conftest.*; do
2826 test -f "$ac_file" || continue
2828 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2829 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2835 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2836 See \`config.log' for more details." >&5
2837 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2838 See \`config.log' for more details." >&2;}
2839 { (exit 1); exit 1; }; }
2842 rm -f conftest$ac_cv_exeext
2843 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2844 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2846 rm -f conftest.$ac_ext
2847 EXEEXT=$ac_cv_exeext
2849 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2850 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2851 if test "${ac_cv_objext+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2854 cat >conftest.$ac_ext <<_ACEOF
2857 cat confdefs.h >>conftest.$ac_ext
2858 cat >>conftest.$ac_ext <<_ACEOF
2859 /* end confdefs.h. */
2869 rm -f conftest.o conftest.obj
2870 if { (ac_try="$ac_compile"
2872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2876 (eval "$ac_compile") 2>&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }; then
2880 for ac_file in conftest.o conftest.obj conftest.*; do
2881 test -f "$ac_file" || continue;
2883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2884 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2889 echo "$as_me: failed program was:" >&5
2890 sed 's/^/| /' conftest.$ac_ext >&5
2892 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2893 See \`config.log' for more details." >&5
2894 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2895 See \`config.log' for more details." >&2;}
2896 { (exit 1); exit 1; }; }
2899 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2901 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2902 echo "${ECHO_T}$ac_cv_objext" >&6; }
2903 OBJEXT=$ac_cv_objext
2905 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2906 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2907 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2908 echo $ECHO_N "(cached) $ECHO_C" >&6
2910 cat >conftest.$ac_ext <<_ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2928 rm -f conftest.$ac_objext
2929 if { (ac_try="$ac_compile"
2931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2935 (eval "$ac_compile") 2>conftest.er1
2937 grep -v '^ *+' conftest.er1 >conftest.err
2939 cat conftest.err >&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); } && {
2942 test -z "$ac_c_werror_flag" ||
2943 test ! -s conftest.err
2944 } && test -s conftest.$ac_objext; then
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2954 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2957 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2958 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2959 GCC=`test $ac_compiler_gnu = yes && echo yes`
2960 ac_test_CFLAGS=${CFLAGS+set}
2961 ac_save_CFLAGS=$CFLAGS
2962 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2963 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2964 if test "${ac_cv_prog_cc_g+set}" = set; then
2965 echo $ECHO_N "(cached) $ECHO_C" >&6
2967 ac_save_c_werror_flag=$ac_c_werror_flag
2968 ac_c_werror_flag=yes
2971 cat >conftest.$ac_ext <<_ACEOF
2974 cat confdefs.h >>conftest.$ac_ext
2975 cat >>conftest.$ac_ext <<_ACEOF
2976 /* end confdefs.h. */
2986 rm -f conftest.$ac_objext
2987 if { (ac_try="$ac_compile"
2989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2990 *) ac_try_echo=$ac_try;;
2992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2993 (eval "$ac_compile") 2>conftest.er1
2995 grep -v '^ *+' conftest.er1 >conftest.err
2997 cat conftest.err >&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); } && {
3000 test -z "$ac_c_werror_flag" ||
3001 test ! -s conftest.err
3002 } && test -s conftest.$ac_objext; then
3005 echo "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.$ac_ext >&5
3009 cat >conftest.$ac_ext <<_ACEOF
3012 cat confdefs.h >>conftest.$ac_ext
3013 cat >>conftest.$ac_ext <<_ACEOF
3014 /* end confdefs.h. */
3024 rm -f conftest.$ac_objext
3025 if { (ac_try="$ac_compile"
3027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3028 *) ac_try_echo=$ac_try;;
3030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3031 (eval "$ac_compile") 2>conftest.er1
3033 grep -v '^ *+' conftest.er1 >conftest.err
3035 cat conftest.err >&5
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); } && {
3038 test -z "$ac_c_werror_flag" ||
3039 test ! -s conftest.err
3040 } && test -s conftest.$ac_objext; then
3043 echo "$as_me: failed program was:" >&5
3044 sed 's/^/| /' conftest.$ac_ext >&5
3046 ac_c_werror_flag=$ac_save_c_werror_flag
3048 cat >conftest.$ac_ext <<_ACEOF
3051 cat confdefs.h >>conftest.$ac_ext
3052 cat >>conftest.$ac_ext <<_ACEOF
3053 /* end confdefs.h. */
3063 rm -f conftest.$ac_objext
3064 if { (ac_try="$ac_compile"
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3070 (eval "$ac_compile") 2>conftest.er1
3072 grep -v '^ *+' conftest.er1 >conftest.err
3074 cat conftest.err >&5
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); } && {
3077 test -z "$ac_c_werror_flag" ||
3078 test ! -s conftest.err
3079 } && test -s conftest.$ac_objext; then
3082 echo "$as_me: failed program was:" >&5
3083 sed 's/^/| /' conftest.$ac_ext >&5
3088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3095 ac_c_werror_flag=$ac_save_c_werror_flag
3097 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3098 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3099 if test "$ac_test_CFLAGS" = set; then
3100 CFLAGS=$ac_save_CFLAGS
3101 elif test $ac_cv_prog_cc_g = yes; then
3102 if test "$GCC" = yes; then
3108 if test "$GCC" = yes; then
3114 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3115 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3116 if test "${ac_cv_prog_cc_c89+set}" = set; then
3117 echo $ECHO_N "(cached) $ECHO_C" >&6
3119 ac_cv_prog_cc_c89=no
3121 cat >conftest.$ac_ext <<_ACEOF
3124 cat confdefs.h >>conftest.$ac_ext
3125 cat >>conftest.$ac_ext <<_ACEOF
3126 /* end confdefs.h. */
3129 #include <sys/types.h>
3130 #include <sys/stat.h>
3131 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3132 struct buf { int x; };
3133 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3134 static char *e (p, i)
3140 static char *f (char * (*g) (char **, int), char **p, ...)
3145 s = g (p, va_arg (v,int));
3150 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3151 function prototypes and stuff, but not '\xHH' hex character constants.
3152 These don't provoke an error unfortunately, instead are silently treated
3153 as 'x'. The following induces an error, until -std is added to get
3154 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3155 array size at least. It's necessary to write '\x00'==0 to get something
3156 that's true only with -std. */
3157 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3159 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3160 inside strings and character constants. */
3162 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3164 int test (int i, double x);
3165 struct s1 {int (*f) (int a);};
3166 struct s2 {int (*f) (double a);};
3167 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3173 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3178 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3179 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3181 CC="$ac_save_CC $ac_arg"
3182 rm -f conftest.$ac_objext
3183 if { (ac_try="$ac_compile"
3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3186 *) ac_try_echo=$ac_try;;
3188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3189 (eval "$ac_compile") 2>conftest.er1
3191 grep -v '^ *+' conftest.er1 >conftest.err
3193 cat conftest.err >&5
3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); } && {
3196 test -z "$ac_c_werror_flag" ||
3197 test ! -s conftest.err
3198 } && test -s conftest.$ac_objext; then
3199 ac_cv_prog_cc_c89=$ac_arg
3201 echo "$as_me: failed program was:" >&5
3202 sed 's/^/| /' conftest.$ac_ext >&5
3207 rm -f core conftest.err conftest.$ac_objext
3208 test "x$ac_cv_prog_cc_c89" != "xno" && break
3210 rm -f conftest.$ac_ext
3215 case "x$ac_cv_prog_cc_c89" in
3217 { echo "$as_me:$LINENO: result: none needed" >&5
3218 echo "${ECHO_T}none needed" >&6; } ;;
3220 { echo "$as_me:$LINENO: result: unsupported" >&5
3221 echo "${ECHO_T}unsupported" >&6; } ;;
3223 CC="$CC $ac_cv_prog_cc_c89"
3224 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3225 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3230 ac_cpp='$CPP $CPPFLAGS'
3231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3235 depcc="$CC" am_compiler_list=
3237 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3238 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3239 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3240 echo $ECHO_N "(cached) $ECHO_C" >&6
3242 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3243 # We make a subdir and do the tests there. Otherwise we can end up
3244 # making bogus files that we don't know about and never remove. For
3245 # instance it was reported that on HP-UX the gcc test will end up
3246 # making a dummy file named `D' -- because `-MD' means `put the output
3249 # Copy depcomp to subdir because otherwise we won't find it if we're
3250 # using a relative directory.
3251 cp "$am_depcomp" conftest.dir
3253 # We will build objects and dependencies in a subdirectory because
3254 # it helps to detect inapplicable dependency modes. For instance
3255 # both Tru64's cc and ICC support -MD to output dependencies as a
3256 # side effect of compilation, but ICC will put the dependencies in
3257 # the current directory while Tru64 will put them in the object
3261 am_cv_CC_dependencies_compiler_type=none
3262 if test "$am_compiler_list" = ""; then
3263 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3265 for depmode in $am_compiler_list; do
3266 # Setup a source with many dependencies, because some compilers
3267 # like to wrap large dependency lists on column 80 (with \), and
3268 # we should not choose a depcomp mode which is confused by this.
3270 # We need to recreate these files for each test, as the compiler may
3271 # overwrite some of them when testing with obscure command lines.
3272 # This happens at least with the AIX C compiler.
3274 for i in 1 2 3 4 5 6; do
3275 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3278 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3282 # after this tag, mechanisms are not by side-effect, so they'll
3283 # only be used when explicitly requested
3284 if test "x$enable_dependency_tracking" = xyes; then
3292 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3293 # mode. It turns out that the SunPro C++ compiler does not properly
3294 # handle `-M -o', and we need to detect this.
3295 if depmode=$depmode \
3296 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3297 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3298 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3299 >/dev/null 2>conftest.err &&
3300 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3301 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3302 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3303 # icc doesn't choke on unknown options, it will just issue warnings
3304 # (even with -Werror). So we grep stderr for any message
3305 # that says an option was ignored.
3306 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3307 am_cv_CC_dependencies_compiler_type=$depmode
3316 am_cv_CC_dependencies_compiler_type=none
3320 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3321 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3322 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3327 test "x$enable_dependency_tracking" != xno \
3328 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3330 am__fastdepCC_FALSE='#'
3332 am__fastdepCC_TRUE='#'
3333 am__fastdepCC_FALSE=
3338 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
3339 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3340 if test "${ac_cv_search_strerror+set}" = set; then
3341 echo $ECHO_N "(cached) $ECHO_C" >&6
3343 ac_func_search_save_LIBS=$LIBS
3344 cat >conftest.$ac_ext <<_ACEOF
3347 cat confdefs.h >>conftest.$ac_ext
3348 cat >>conftest.$ac_ext <<_ACEOF
3349 /* end confdefs.h. */
3351 /* Override any GCC internal prototype to avoid an error.
3352 Use char because int might match the return type of a GCC
3353 builtin and then its argument prototype would still apply. */
3366 for ac_lib in '' cposix; do
3367 if test -z "$ac_lib"; then
3368 ac_res="none required"
3371 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3373 rm -f conftest.$ac_objext conftest$ac_exeext
3374 if { (ac_try="$ac_link"
3376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377 *) ac_try_echo=$ac_try;;
3379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3380 (eval "$ac_link") 2>conftest.er1
3382 grep -v '^ *+' conftest.er1 >conftest.err
3384 cat conftest.err >&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); } && {
3387 test -z "$ac_c_werror_flag" ||
3388 test ! -s conftest.err
3389 } && test -s conftest$ac_exeext &&
3390 $as_test_x conftest$ac_exeext; then
3391 ac_cv_search_strerror=$ac_res
3393 echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.$ac_ext >&5
3399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3401 if test "${ac_cv_search_strerror+set}" = set; then
3405 if test "${ac_cv_search_strerror+set}" = set; then
3408 ac_cv_search_strerror=no
3411 LIBS=$ac_func_search_save_LIBS
3413 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3414 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3415 ac_res=$ac_cv_search_strerror
3416 if test "$ac_res" != no; then
3417 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3422 ac_cpp='$CPP $CPPFLAGS'
3423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3426 if test -n "$ac_tool_prefix"; then
3427 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3428 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3431 if test "${ac_cv_prog_CC+set}" = set; then
3432 echo $ECHO_N "(cached) $ECHO_C" >&6
3434 if test -n "$CC"; then
3435 ac_cv_prog_CC="$CC" # Let the user override the test.
3437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441 test -z "$as_dir" && as_dir=.
3442 for ac_exec_ext in '' $ac_executable_extensions; do
3443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3444 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3455 if test -n "$CC"; then
3456 { echo "$as_me:$LINENO: result: $CC" >&5
3457 echo "${ECHO_T}$CC" >&6; }
3459 { echo "$as_me:$LINENO: result: no" >&5
3460 echo "${ECHO_T}no" >&6; }
3465 if test -z "$ac_cv_prog_CC"; then
3467 # Extract the first word of "gcc", so it can be a program name with args.
3468 set dummy gcc; ac_word=$2
3469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3471 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3472 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 if test -n "$ac_ct_CC"; then
3475 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3481 test -z "$as_dir" && as_dir=.
3482 for ac_exec_ext in '' $ac_executable_extensions; do
3483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3484 ac_cv_prog_ac_ct_CC="gcc"
3485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3494 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3495 if test -n "$ac_ct_CC"; then
3496 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3497 echo "${ECHO_T}$ac_ct_CC" >&6; }
3499 { echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6; }
3503 if test "x$ac_ct_CC" = x; then
3506 case $cross_compiling:$ac_tool_warned in
3508 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3509 whose name does not start with the host triplet. If you think this
3510 configuration is useful to you, please write to autoconf@gnu.org." >&5
3511 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3512 whose name does not start with the host triplet. If you think this
3513 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3514 ac_tool_warned=yes ;;
3522 if test -z "$CC"; then
3523 if test -n "$ac_tool_prefix"; then
3524 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3525 set dummy ${ac_tool_prefix}cc; ac_word=$2
3526 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3528 if test "${ac_cv_prog_CC+set}" = set; then
3529 echo $ECHO_N "(cached) $ECHO_C" >&6
3531 if test -n "$CC"; then
3532 ac_cv_prog_CC="$CC" # Let the user override the test.
3534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3538 test -z "$as_dir" && as_dir=.
3539 for ac_exec_ext in '' $ac_executable_extensions; do
3540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3541 ac_cv_prog_CC="${ac_tool_prefix}cc"
3542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3552 if test -n "$CC"; then
3553 { echo "$as_me:$LINENO: result: $CC" >&5
3554 echo "${ECHO_T}$CC" >&6; }
3556 { echo "$as_me:$LINENO: result: no" >&5
3557 echo "${ECHO_T}no" >&6; }
3563 if test -z "$CC"; then
3564 # Extract the first word of "cc", so it can be a program name with args.
3565 set dummy cc; ac_word=$2
3566 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3568 if test "${ac_cv_prog_CC+set}" = set; then
3569 echo $ECHO_N "(cached) $ECHO_C" >&6
3571 if test -n "$CC"; then
3572 ac_cv_prog_CC="$CC" # Let the user override the test.
3575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579 test -z "$as_dir" && as_dir=.
3580 for ac_exec_ext in '' $ac_executable_extensions; do
3581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3582 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3583 ac_prog_rejected=yes
3587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3594 if test $ac_prog_rejected = yes; then
3595 # We found a bogon in the path, so make sure we never use it.
3596 set dummy $ac_cv_prog_CC
3598 if test $# != 0; then
3599 # We chose a different compiler from the bogus one.
3600 # However, it has the same basename, so the bogon will be chosen
3601 # first if we set CC to just the basename; use the full file name.
3603 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3609 if test -n "$CC"; then
3610 { echo "$as_me:$LINENO: result: $CC" >&5
3611 echo "${ECHO_T}$CC" >&6; }
3613 { echo "$as_me:$LINENO: result: no" >&5
3614 echo "${ECHO_T}no" >&6; }
3619 if test -z "$CC"; then
3620 if test -n "$ac_tool_prefix"; then
3621 for ac_prog in cl.exe
3623 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3624 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3627 if test "${ac_cv_prog_CC+set}" = set; then
3628 echo $ECHO_N "(cached) $ECHO_C" >&6
3630 if test -n "$CC"; then
3631 ac_cv_prog_CC="$CC" # Let the user override the test.
3633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3637 test -z "$as_dir" && as_dir=.
3638 for ac_exec_ext in '' $ac_executable_extensions; do
3639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3640 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 if test -n "$CC"; then
3652 { echo "$as_me:$LINENO: result: $CC" >&5
3653 echo "${ECHO_T}$CC" >&6; }
3655 { echo "$as_me:$LINENO: result: no" >&5
3656 echo "${ECHO_T}no" >&6; }
3660 test -n "$CC" && break
3663 if test -z "$CC"; then
3665 for ac_prog in cl.exe
3667 # Extract the first word of "$ac_prog", so it can be a program name with args.
3668 set dummy $ac_prog; ac_word=$2
3669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3671 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3672 echo $ECHO_N "(cached) $ECHO_C" >&6
3674 if test -n "$ac_ct_CC"; then
3675 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 test -z "$as_dir" && as_dir=.
3682 for ac_exec_ext in '' $ac_executable_extensions; do
3683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3684 ac_cv_prog_ac_ct_CC="$ac_prog"
3685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3694 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3695 if test -n "$ac_ct_CC"; then
3696 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3697 echo "${ECHO_T}$ac_ct_CC" >&6; }
3699 { echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6; }
3704 test -n "$ac_ct_CC" && break
3707 if test "x$ac_ct_CC" = x; then
3710 case $cross_compiling:$ac_tool_warned in
3712 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3713 whose name does not start with the host triplet. If you think this
3714 configuration is useful to you, please write to autoconf@gnu.org." >&5
3715 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3716 whose name does not start with the host triplet. If you think this
3717 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3718 ac_tool_warned=yes ;;
3727 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3728 See \`config.log' for more details." >&5
3729 echo "$as_me: error: no acceptable C compiler found in \$PATH
3730 See \`config.log' for more details." >&2;}
3731 { (exit 1); exit 1; }; }
3733 # Provide some information about the compiler.
3734 echo "$as_me:$LINENO: checking for C compiler version" >&5
3735 ac_compiler=`set X $ac_compile; echo $2`
3736 { (ac_try="$ac_compiler --version >&5"
3738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3739 *) ac_try_echo=$ac_try;;
3741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3742 (eval "$ac_compiler --version >&5") 2>&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); }
3746 { (ac_try="$ac_compiler -v >&5"
3748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3749 *) ac_try_echo=$ac_try;;
3751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3752 (eval "$ac_compiler -v >&5") 2>&5
3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); }
3756 { (ac_try="$ac_compiler -V >&5"
3758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3759 *) ac_try_echo=$ac_try;;
3761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3762 (eval "$ac_compiler -V >&5") 2>&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); }
3767 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3768 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3769 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3772 cat >conftest.$ac_ext <<_ACEOF
3775 cat confdefs.h >>conftest.$ac_ext
3776 cat >>conftest.$ac_ext <<_ACEOF
3777 /* end confdefs.h. */
3790 rm -f conftest.$ac_objext
3791 if { (ac_try="$ac_compile"
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_compile") 2>conftest.er1
3799 grep -v '^ *+' conftest.er1 >conftest.err
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } && {
3804 test -z "$ac_c_werror_flag" ||
3805 test ! -s conftest.err
3806 } && test -s conftest.$ac_objext; then
3809 echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.$ac_ext >&5
3815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3816 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3819 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3820 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3821 GCC=`test $ac_compiler_gnu = yes && echo yes`
3822 ac_test_CFLAGS=${CFLAGS+set}
3823 ac_save_CFLAGS=$CFLAGS
3824 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3825 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3826 if test "${ac_cv_prog_cc_g+set}" = set; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3829 ac_save_c_werror_flag=$ac_c_werror_flag
3830 ac_c_werror_flag=yes
3833 cat >conftest.$ac_ext <<_ACEOF
3836 cat confdefs.h >>conftest.$ac_ext
3837 cat >>conftest.$ac_ext <<_ACEOF
3838 /* end confdefs.h. */
3848 rm -f conftest.$ac_objext
3849 if { (ac_try="$ac_compile"
3851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3852 *) ac_try_echo=$ac_try;;
3854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3855 (eval "$ac_compile") 2>conftest.er1
3857 grep -v '^ *+' conftest.er1 >conftest.err
3859 cat conftest.err >&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); } && {
3862 test -z "$ac_c_werror_flag" ||
3863 test ! -s conftest.err
3864 } && test -s conftest.$ac_objext; then
3867 echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.$ac_ext >&5
3871 cat >conftest.$ac_ext <<_ACEOF
3874 cat confdefs.h >>conftest.$ac_ext
3875 cat >>conftest.$ac_ext <<_ACEOF
3876 /* end confdefs.h. */
3886 rm -f conftest.$ac_objext
3887 if { (ac_try="$ac_compile"
3889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3890 *) ac_try_echo=$ac_try;;
3892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3893 (eval "$ac_compile") 2>conftest.er1
3895 grep -v '^ *+' conftest.er1 >conftest.err
3897 cat conftest.err >&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); } && {
3900 test -z "$ac_c_werror_flag" ||
3901 test ! -s conftest.err
3902 } && test -s conftest.$ac_objext; then
3905 echo "$as_me: failed program was:" >&5
3906 sed 's/^/| /' conftest.$ac_ext >&5
3908 ac_c_werror_flag=$ac_save_c_werror_flag
3910 cat >conftest.$ac_ext <<_ACEOF
3913 cat confdefs.h >>conftest.$ac_ext
3914 cat >>conftest.$ac_ext <<_ACEOF
3915 /* end confdefs.h. */
3925 rm -f conftest.$ac_objext
3926 if { (ac_try="$ac_compile"
3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929 *) ac_try_echo=$ac_try;;
3931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3932 (eval "$ac_compile") 2>conftest.er1
3934 grep -v '^ *+' conftest.er1 >conftest.err
3936 cat conftest.err >&5
3937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938 (exit $ac_status); } && {
3939 test -z "$ac_c_werror_flag" ||
3940 test ! -s conftest.err
3941 } && test -s conftest.$ac_objext; then
3944 echo "$as_me: failed program was:" >&5
3945 sed 's/^/| /' conftest.$ac_ext >&5
3950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3957 ac_c_werror_flag=$ac_save_c_werror_flag
3959 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3960 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3961 if test "$ac_test_CFLAGS" = set; then
3962 CFLAGS=$ac_save_CFLAGS
3963 elif test $ac_cv_prog_cc_g = yes; then
3964 if test "$GCC" = yes; then
3970 if test "$GCC" = yes; then
3976 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3977 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3978 if test "${ac_cv_prog_cc_c89+set}" = set; then
3979 echo $ECHO_N "(cached) $ECHO_C" >&6
3981 ac_cv_prog_cc_c89=no
3983 cat >conftest.$ac_ext <<_ACEOF
3986 cat confdefs.h >>conftest.$ac_ext
3987 cat >>conftest.$ac_ext <<_ACEOF
3988 /* end confdefs.h. */
3991 #include <sys/types.h>
3992 #include <sys/stat.h>
3993 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3994 struct buf { int x; };
3995 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3996 static char *e (p, i)
4002 static char *f (char * (*g) (char **, int), char **p, ...)
4007 s = g (p, va_arg (v,int));
4012 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4013 function prototypes and stuff, but not '\xHH' hex character constants.
4014 These don't provoke an error unfortunately, instead are silently treated
4015 as 'x'. The following induces an error, until -std is added to get
4016 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4017 array size at least. It's necessary to write '\x00'==0 to get something
4018 that's true only with -std. */
4019 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4021 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4022 inside strings and character constants. */
4024 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4026 int test (int i, double x);
4027 struct s1 {int (*f) (int a);};
4028 struct s2 {int (*f) (double a);};
4029 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4035 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4040 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4041 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4043 CC="$ac_save_CC $ac_arg"
4044 rm -f conftest.$ac_objext
4045 if { (ac_try="$ac_compile"
4047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4048 *) ac_try_echo=$ac_try;;
4050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4051 (eval "$ac_compile") 2>conftest.er1
4053 grep -v '^ *+' conftest.er1 >conftest.err
4055 cat conftest.err >&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); } && {
4058 test -z "$ac_c_werror_flag" ||
4059 test ! -s conftest.err
4060 } && test -s conftest.$ac_objext; then
4061 ac_cv_prog_cc_c89=$ac_arg
4063 echo "$as_me: failed program was:" >&5
4064 sed 's/^/| /' conftest.$ac_ext >&5
4069 rm -f core conftest.err conftest.$ac_objext
4070 test "x$ac_cv_prog_cc_c89" != "xno" && break
4072 rm -f conftest.$ac_ext
4077 case "x$ac_cv_prog_cc_c89" in
4079 { echo "$as_me:$LINENO: result: none needed" >&5
4080 echo "${ECHO_T}none needed" >&6; } ;;
4082 { echo "$as_me:$LINENO: result: unsupported" >&5
4083 echo "${ECHO_T}unsupported" >&6; } ;;
4085 CC="$CC $ac_cv_prog_cc_c89"
4086 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4087 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4092 ac_cpp='$CPP $CPPFLAGS'
4093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4097 depcc="$CC" am_compiler_list=
4099 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4100 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4101 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4102 echo $ECHO_N "(cached) $ECHO_C" >&6
4104 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4105 # We make a subdir and do the tests there. Otherwise we can end up
4106 # making bogus files that we don't know about and never remove. For
4107 # instance it was reported that on HP-UX the gcc test will end up
4108 # making a dummy file named `D' -- because `-MD' means `put the output
4111 # Copy depcomp to subdir because otherwise we won't find it if we're
4112 # using a relative directory.
4113 cp "$am_depcomp" conftest.dir
4115 # We will build objects and dependencies in a subdirectory because
4116 # it helps to detect inapplicable dependency modes. For instance
4117 # both Tru64's cc and ICC support -MD to output dependencies as a
4118 # side effect of compilation, but ICC will put the dependencies in
4119 # the current directory while Tru64 will put them in the object
4123 am_cv_CC_dependencies_compiler_type=none
4124 if test "$am_compiler_list" = ""; then
4125 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4127 for depmode in $am_compiler_list; do
4128 # Setup a source with many dependencies, because some compilers
4129 # like to wrap large dependency lists on column 80 (with \), and
4130 # we should not choose a depcomp mode which is confused by this.
4132 # We need to recreate these files for each test, as the compiler may
4133 # overwrite some of them when testing with obscure command lines.
4134 # This happens at least with the AIX C compiler.
4136 for i in 1 2 3 4 5 6; do
4137 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4140 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4144 # after this tag, mechanisms are not by side-effect, so they'll
4145 # only be used when explicitly requested
4146 if test "x$enable_dependency_tracking" = xyes; then
4154 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4155 # mode. It turns out that the SunPro C++ compiler does not properly
4156 # handle `-M -o', and we need to detect this.
4157 if depmode=$depmode \
4158 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4159 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4160 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4161 >/dev/null 2>conftest.err &&
4162 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4163 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4164 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4165 # icc doesn't choke on unknown options, it will just issue warnings
4166 # (even with -Werror). So we grep stderr for any message
4167 # that says an option was ignored.
4168 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4169 am_cv_CC_dependencies_compiler_type=$depmode
4178 am_cv_CC_dependencies_compiler_type=none
4182 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4183 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4184 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4189 test "x$enable_dependency_tracking" != xno \
4190 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4192 am__fastdepCC_FALSE='#'
4194 am__fastdepCC_TRUE='#'
4195 am__fastdepCC_FALSE=
4202 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
4203 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
4204 if test "${am_cv_prog_cc_stdc+set}" = set; then
4205 echo $ECHO_N "(cached) $ECHO_C" >&6
4207 am_cv_prog_cc_stdc=no
4209 # Don't try gcc -ansi; that turns off useful extensions and
4210 # breaks some systems' header files.
4211 # AIX -qlanglvl=ansi
4212 # Ultrix and OSF/1 -std1
4213 # HP-UX 10.20 and later -Ae
4214 # HP-UX older versions -Aa -D_HPUX_SOURCE
4215 # SVR4 -Xc -D__EXTENSIONS__
4216 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4218 CC="$ac_save_CC $ac_arg"
4219 cat >conftest.$ac_ext <<_ACEOF
4222 cat confdefs.h >>conftest.$ac_ext
4223 cat >>conftest.$ac_ext <<_ACEOF
4224 /* end confdefs.h. */
4227 #include <sys/types.h>
4228 #include <sys/stat.h>
4229 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4230 struct buf { int x; };
4231 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4232 static char *e (p, i)
4238 static char *f (char * (*g) (char **, int), char **p, ...)
4243 s = g (p, va_arg (v,int));
4247 int test (int i, double x);
4248 struct s1 {int (*f) (int a);};
4249 struct s2 {int (*f) (double a);};
4250 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4258 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4264 rm -f conftest.$ac_objext
4265 if { (ac_try="$ac_compile"
4267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4268 *) ac_try_echo=$ac_try;;
4270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4271 (eval "$ac_compile") 2>conftest.er1
4273 grep -v '^ *+' conftest.er1 >conftest.err
4275 cat conftest.err >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); } && {
4278 test -z "$ac_c_werror_flag" ||
4279 test ! -s conftest.err
4280 } && test -s conftest.$ac_objext; then
4281 am_cv_prog_cc_stdc="$ac_arg"; break
4283 echo "$as_me: failed program was:" >&5
4284 sed 's/^/| /' conftest.$ac_ext >&5
4289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4295 if test -z "$am_cv_prog_cc_stdc"; then
4296 { echo "$as_me:$LINENO: result: none needed" >&5
4297 echo "${ECHO_T}none needed" >&6; }
4299 { echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
4300 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6; }
4302 case "x$am_cv_prog_cc_stdc" in
4304 *) CC="$CC $am_cv_prog_cc_stdc" ;;
4307 # By default we simply use the C compiler to build assembly code.
4310 # Set ASFLAGS if not already set.
4311 : ${CCASFLAGS='$(CFLAGS)'}
4315 ac_cpp='$CPP $CPPFLAGS'
4316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4319 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4320 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4321 # On Suns, sometimes $CPP names a directory.
4322 if test -n "$CPP" && test -d "$CPP"; then
4325 if test -z "$CPP"; then
4326 if test "${ac_cv_prog_CPP+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 # Double quotes because CPP needs to be expanded
4330 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4333 for ac_c_preproc_warn_flag in '' yes
4335 # Use a header file that comes with gcc, so configuring glibc
4336 # with a fresh cross-compiler works.
4337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4338 # <limits.h> exists even on freestanding compilers.
4339 # On the NeXT, cc -E runs the code through the compiler's parser,
4340 # not just through cpp. "Syntax error" is here to catch this case.
4341 cat >conftest.$ac_ext <<_ACEOF
4344 cat confdefs.h >>conftest.$ac_ext
4345 cat >>conftest.$ac_ext <<_ACEOF
4346 /* end confdefs.h. */
4348 # include <limits.h>
4350 # include <assert.h>
4354 if { (ac_try="$ac_cpp conftest.$ac_ext"
4356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4357 *) ac_try_echo=$ac_try;;
4359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4360 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4362 grep -v '^ *+' conftest.er1 >conftest.err
4364 cat conftest.err >&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); } >/dev/null && {
4367 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4368 test ! -s conftest.err
4372 echo "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.$ac_ext >&5
4375 # Broken: fails on valid input.
4379 rm -f conftest.err conftest.$ac_ext
4381 # OK, works on sane cases. Now check whether nonexistent headers
4382 # can be detected and how.
4383 cat >conftest.$ac_ext <<_ACEOF
4386 cat confdefs.h >>conftest.$ac_ext
4387 cat >>conftest.$ac_ext <<_ACEOF
4388 /* end confdefs.h. */
4389 #include <ac_nonexistent.h>
4391 if { (ac_try="$ac_cpp conftest.$ac_ext"
4393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4394 *) ac_try_echo=$ac_try;;
4396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4397 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4399 grep -v '^ *+' conftest.er1 >conftest.err
4401 cat conftest.err >&5
4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); } >/dev/null && {
4404 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4405 test ! -s conftest.err
4407 # Broken: success on invalid input.
4410 echo "$as_me: failed program was:" >&5
4411 sed 's/^/| /' conftest.$ac_ext >&5
4413 # Passes both tests.
4418 rm -f conftest.err conftest.$ac_ext
4421 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4422 rm -f conftest.err conftest.$ac_ext
4423 if $ac_preproc_ok; then
4435 { echo "$as_me:$LINENO: result: $CPP" >&5
4436 echo "${ECHO_T}$CPP" >&6; }
4438 for ac_c_preproc_warn_flag in '' yes
4440 # Use a header file that comes with gcc, so configuring glibc
4441 # with a fresh cross-compiler works.
4442 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4443 # <limits.h> exists even on freestanding compilers.
4444 # On the NeXT, cc -E runs the code through the compiler's parser,
4445 # not just through cpp. "Syntax error" is here to catch this case.
4446 cat >conftest.$ac_ext <<_ACEOF
4449 cat confdefs.h >>conftest.$ac_ext
4450 cat >>conftest.$ac_ext <<_ACEOF
4451 /* end confdefs.h. */
4453 # include <limits.h>
4455 # include <assert.h>
4459 if { (ac_try="$ac_cpp conftest.$ac_ext"
4461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4462 *) ac_try_echo=$ac_try;;
4464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4465 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4467 grep -v '^ *+' conftest.er1 >conftest.err
4469 cat conftest.err >&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); } >/dev/null && {
4472 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4473 test ! -s conftest.err
4477 echo "$as_me: failed program was:" >&5
4478 sed 's/^/| /' conftest.$ac_ext >&5
4480 # Broken: fails on valid input.
4484 rm -f conftest.err conftest.$ac_ext
4486 # OK, works on sane cases. Now check whether nonexistent headers
4487 # can be detected and how.
4488 cat >conftest.$ac_ext <<_ACEOF
4491 cat confdefs.h >>conftest.$ac_ext
4492 cat >>conftest.$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4494 #include <ac_nonexistent.h>
4496 if { (ac_try="$ac_cpp conftest.$ac_ext"
4498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4499 *) ac_try_echo=$ac_try;;
4501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4504 grep -v '^ *+' conftest.er1 >conftest.err
4506 cat conftest.err >&5
4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4508 (exit $ac_status); } >/dev/null && {
4509 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4510 test ! -s conftest.err
4512 # Broken: success on invalid input.
4515 echo "$as_me: failed program was:" >&5
4516 sed 's/^/| /' conftest.$ac_ext >&5
4518 # Passes both tests.
4523 rm -f conftest.err conftest.$ac_ext
4526 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4527 rm -f conftest.err conftest.$ac_ext
4528 if $ac_preproc_ok; then
4531 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4532 See \`config.log' for more details." >&5
4533 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4534 See \`config.log' for more details." >&2;}
4535 { (exit 1); exit 1; }; }
4539 ac_cpp='$CPP $CPPFLAGS'
4540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4545 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4546 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4547 if test "${ac_cv_path_GREP+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4550 # Extract the first word of "grep ggrep" to use in msg output
4551 if test -z "$GREP"; then
4552 set dummy grep ggrep; ac_prog_name=$2
4553 if test "${ac_cv_path_GREP+set}" = set; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4556 ac_path_GREP_found=false
4557 # Loop through the user's path and test for each of PROGNAME-LIST
4558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4559 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4562 test -z "$as_dir" && as_dir=.
4563 for ac_prog in grep ggrep; do
4564 for ac_exec_ext in '' $ac_executable_extensions; do
4565 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4566 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4567 # Check for GNU ac_path_GREP and select it if it is found.
4568 # Check for GNU $ac_path_GREP
4569 case `"$ac_path_GREP" --version 2>&1` in
4571 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4574 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4577 cat "conftest.in" "conftest.in" >"conftest.tmp"
4578 mv "conftest.tmp" "conftest.in"
4579 cp "conftest.in" "conftest.nl"
4580 echo 'GREP' >> "conftest.nl"
4581 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4582 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4583 ac_count=`expr $ac_count + 1`
4584 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4585 # Best one so far, save it but keep looking for a better one
4586 ac_cv_path_GREP="$ac_path_GREP"
4587 ac_path_GREP_max=$ac_count
4589 # 10*(2^10) chars as input seems more than enough
4590 test $ac_count -gt 10 && break
4592 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4596 $ac_path_GREP_found && break 3
4606 GREP="$ac_cv_path_GREP"
4607 if test -z "$GREP"; then
4608 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4609 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4610 { (exit 1); exit 1; }; }
4614 ac_cv_path_GREP=$GREP
4619 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4620 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4621 GREP="$ac_cv_path_GREP"
4624 { echo "$as_me:$LINENO: checking for egrep" >&5
4625 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4626 if test "${ac_cv_path_EGREP+set}" = set; then
4627 echo $ECHO_N "(cached) $ECHO_C" >&6
4629 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4630 then ac_cv_path_EGREP="$GREP -E"
4632 # Extract the first word of "egrep" to use in msg output
4633 if test -z "$EGREP"; then
4634 set dummy egrep; ac_prog_name=$2
4635 if test "${ac_cv_path_EGREP+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 ac_path_EGREP_found=false
4639 # Loop through the user's path and test for each of PROGNAME-LIST
4640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4644 test -z "$as_dir" && as_dir=.
4645 for ac_prog in egrep; do
4646 for ac_exec_ext in '' $ac_executable_extensions; do
4647 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4648 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4649 # Check for GNU ac_path_EGREP and select it if it is found.
4650 # Check for GNU $ac_path_EGREP
4651 case `"$ac_path_EGREP" --version 2>&1` in
4653 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4656 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4659 cat "conftest.in" "conftest.in" >"conftest.tmp"
4660 mv "conftest.tmp" "conftest.in"
4661 cp "conftest.in" "conftest.nl"
4662 echo 'EGREP' >> "conftest.nl"
4663 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4664 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4665 ac_count=`expr $ac_count + 1`
4666 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4667 # Best one so far, save it but keep looking for a better one
4668 ac_cv_path_EGREP="$ac_path_EGREP"
4669 ac_path_EGREP_max=$ac_count
4671 # 10*(2^10) chars as input seems more than enough
4672 test $ac_count -gt 10 && break
4674 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4678 $ac_path_EGREP_found && break 3
4688 EGREP="$ac_cv_path_EGREP"
4689 if test -z "$EGREP"; then
4690 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4691 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4692 { (exit 1); exit 1; }; }
4696 ac_cv_path_EGREP=$EGREP
4702 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4703 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4704 EGREP="$ac_cv_path_EGREP"
4707 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4708 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4709 if test "${ac_cv_header_stdc+set}" = set; then
4710 echo $ECHO_N "(cached) $ECHO_C" >&6
4712 cat >conftest.$ac_ext <<_ACEOF
4715 cat confdefs.h >>conftest.$ac_ext
4716 cat >>conftest.$ac_ext <<_ACEOF
4717 /* end confdefs.h. */
4731 rm -f conftest.$ac_objext
4732 if { (ac_try="$ac_compile"
4734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4735 *) ac_try_echo=$ac_try;;
4737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4738 (eval "$ac_compile") 2>conftest.er1
4740 grep -v '^ *+' conftest.er1 >conftest.err
4742 cat conftest.err >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } && {
4745 test -z "$ac_c_werror_flag" ||
4746 test ! -s conftest.err
4747 } && test -s conftest.$ac_objext; then
4748 ac_cv_header_stdc=yes
4750 echo "$as_me: failed program was:" >&5
4751 sed 's/^/| /' conftest.$ac_ext >&5
4753 ac_cv_header_stdc=no
4756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4758 if test $ac_cv_header_stdc = yes; then
4759 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4760 cat >conftest.$ac_ext <<_ACEOF
4763 cat confdefs.h >>conftest.$ac_ext
4764 cat >>conftest.$ac_ext <<_ACEOF
4765 /* end confdefs.h. */
4769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4770 $EGREP "memchr" >/dev/null 2>&1; then
4773 ac_cv_header_stdc=no
4779 if test $ac_cv_header_stdc = yes; then
4780 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4781 cat >conftest.$ac_ext <<_ACEOF
4784 cat confdefs.h >>conftest.$ac_ext
4785 cat >>conftest.$ac_ext <<_ACEOF
4786 /* end confdefs.h. */
4790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4791 $EGREP "free" >/dev/null 2>&1; then
4794 ac_cv_header_stdc=no
4800 if test $ac_cv_header_stdc = yes; then
4801 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4802 if test "$cross_compiling" = yes; then
4805 cat >conftest.$ac_ext <<_ACEOF
4808 cat confdefs.h >>conftest.$ac_ext
4809 cat >>conftest.$ac_ext <<_ACEOF
4810 /* end confdefs.h. */
4813 #if ((' ' & 0x0FF) == 0x020)
4814 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4815 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4817 # define ISLOWER(c) \
4818 (('a' <= (c) && (c) <= 'i') \
4819 || ('j' <= (c) && (c) <= 'r') \
4820 || ('s' <= (c) && (c) <= 'z'))
4821 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4824 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4829 for (i = 0; i < 256; i++)
4830 if (XOR (islower (i), ISLOWER (i))
4831 || toupper (i) != TOUPPER (i))
4836 rm -f conftest$ac_exeext
4837 if { (ac_try="$ac_link"
4839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4840 *) ac_try_echo=$ac_try;;
4842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4843 (eval "$ac_link") 2>&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4847 { (case "(($ac_try" in
4848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4849 *) ac_try_echo=$ac_try;;
4851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4852 (eval "$ac_try") 2>&5
4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855 (exit $ac_status); }; }; then
4858 echo "$as_me: program exited with status $ac_status" >&5
4859 echo "$as_me: failed program was:" >&5
4860 sed 's/^/| /' conftest.$ac_ext >&5
4863 ac_cv_header_stdc=no
4865 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4871 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4872 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4873 if test $ac_cv_header_stdc = yes; then
4875 cat >>confdefs.h <<\_ACEOF
4876 #define STDC_HEADERS 1
4881 # Make sure we can run config.sub.
4882 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4883 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4884 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4885 { (exit 1); exit 1; }; }
4887 { echo "$as_me:$LINENO: checking build system type" >&5
4888 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4889 if test "${ac_cv_build+set}" = set; then
4890 echo $ECHO_N "(cached) $ECHO_C" >&6
4892 ac_build_alias=$build_alias
4893 test "x$ac_build_alias" = x &&
4894 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4895 test "x$ac_build_alias" = x &&
4896 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4897 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4898 { (exit 1); exit 1; }; }
4899 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4900 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4901 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4902 { (exit 1); exit 1; }; }
4905 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4906 echo "${ECHO_T}$ac_cv_build" >&6; }
4907 case $ac_cv_build in
4909 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4910 echo "$as_me: error: invalid value of canonical build" >&2;}
4911 { (exit 1); exit 1; }; };;
4914 ac_save_IFS=$IFS; IFS='-'
4920 # Remember, the first character of IFS is used to create $*,
4921 # except with old shells:
4924 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4927 { echo "$as_me:$LINENO: checking host system type" >&5
4928 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4929 if test "${ac_cv_host+set}" = set; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4932 if test "x$host_alias" = x; then
4933 ac_cv_host=$ac_cv_build
4935 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4936 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4937 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4938 { (exit 1); exit 1; }; }
4942 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4943 echo "${ECHO_T}$ac_cv_host" >&6; }
4946 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4947 echo "$as_me: error: invalid value of canonical host" >&2;}
4948 { (exit 1); exit 1; }; };;
4951 ac_save_IFS=$IFS; IFS='-'
4957 # Remember, the first character of IFS is used to create $*,
4958 # except with old shells:
4961 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4964 # Check whether --enable-trace was given.
4965 if test "${enable_trace+set}" = set; then
4966 enableval=$enable_trace; if test "$enableval" == "yes"; then
4968 cat >>confdefs.h <<\_ACEOF
4969 #define ENABLE_TRACE_IO 1
4975 # Check whether --enable-watch was given.
4976 if test "${enable_watch+set}" = set; then
4977 enableval=$enable_watch; if test "$enableval" == "yes"; then
4979 cat >>confdefs.h <<\_ACEOF
4980 #define ENABLE_WATCH 1
4986 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4996 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4997 inttypes.h stdint.h unistd.h
4999 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5000 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5002 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5003 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 cat >conftest.$ac_ext <<_ACEOF
5008 cat confdefs.h >>conftest.$ac_ext
5009 cat >>conftest.$ac_ext <<_ACEOF
5010 /* end confdefs.h. */
5011 $ac_includes_default
5013 #include <$ac_header>
5015 rm -f conftest.$ac_objext
5016 if { (ac_try="$ac_compile"
5018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5019 *) ac_try_echo=$ac_try;;
5021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5022 (eval "$ac_compile") 2>conftest.er1
5024 grep -v '^ *+' conftest.er1 >conftest.err
5026 cat conftest.err >&5
5027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028 (exit $ac_status); } && {
5029 test -z "$ac_c_werror_flag" ||
5030 test ! -s conftest.err
5031 } && test -s conftest.$ac_objext; then
5032 eval "$as_ac_Header=yes"
5034 echo "$as_me: failed program was:" >&5
5035 sed 's/^/| /' conftest.$ac_ext >&5
5037 eval "$as_ac_Header=no"
5040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5042 ac_res=`eval echo '${'$as_ac_Header'}'`
5043 { echo "$as_me:$LINENO: result: $ac_res" >&5
5044 echo "${ECHO_T}$ac_res" >&6; }
5045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5046 cat >>confdefs.h <<_ACEOF
5047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5055 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
5056 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
5057 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
5058 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
5059 echo $ECHO_N "(cached) $ECHO_C" >&6
5061 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
5062 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
5064 # Is the header compilable?
5065 { echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
5066 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6; }
5067 cat >conftest.$ac_ext <<_ACEOF
5070 cat confdefs.h >>conftest.$ac_ext
5071 cat >>conftest.$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5073 $ac_includes_default
5074 #include <Carbon/Carbon.h>
5076 rm -f conftest.$ac_objext
5077 if { (ac_try="$ac_compile"
5079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5080 *) ac_try_echo=$ac_try;;
5082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5083 (eval "$ac_compile") 2>conftest.er1
5085 grep -v '^ *+' conftest.er1 >conftest.err
5087 cat conftest.err >&5
5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5089 (exit $ac_status); } && {
5090 test -z "$ac_c_werror_flag" ||
5091 test ! -s conftest.err
5092 } && test -s conftest.$ac_objext; then
5093 ac_header_compiler=yes
5095 echo "$as_me: failed program was:" >&5
5096 sed 's/^/| /' conftest.$ac_ext >&5
5098 ac_header_compiler=no
5101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5102 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5103 echo "${ECHO_T}$ac_header_compiler" >&6; }
5105 # Is the header present?
5106 { echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
5107 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6; }
5108 cat >conftest.$ac_ext <<_ACEOF
5111 cat confdefs.h >>conftest.$ac_ext
5112 cat >>conftest.$ac_ext <<_ACEOF
5113 /* end confdefs.h. */
5114 #include <Carbon/Carbon.h>
5116 if { (ac_try="$ac_cpp conftest.$ac_ext"
5118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5119 *) ac_try_echo=$ac_try;;
5121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5122 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5124 grep -v '^ *+' conftest.er1 >conftest.err
5126 cat conftest.err >&5
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); } >/dev/null && {
5129 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5130 test ! -s conftest.err
5132 ac_header_preproc=yes
5134 echo "$as_me: failed program was:" >&5
5135 sed 's/^/| /' conftest.$ac_ext >&5
5137 ac_header_preproc=no
5140 rm -f conftest.err conftest.$ac_ext
5141 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5142 echo "${ECHO_T}$ac_header_preproc" >&6; }
5144 # So? What about this header?
5145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5147 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
5148 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5149 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
5150 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
5151 ac_header_preproc=yes
5154 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
5155 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
5156 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
5157 echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
5158 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
5159 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
5160 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
5161 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
5162 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
5163 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
5164 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
5165 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
5169 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
5170 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
5171 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
5172 echo $ECHO_N "(cached) $ECHO_C" >&6
5174 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
5176 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
5177 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
5180 if test $ac_cv_header_Carbon_Carbon_h = yes; then
5184 LIBS="$LIBS -framework OpenGL -framework AGL -framework Carbon -L/usr/X11R6/lib -lGL"
5186 cat >>confdefs.h <<\_ACEOF
5187 #define HAVE_CARBON 1
5191 cat >>confdefs.h <<\_ACEOF
5192 #define APPLE_BUILD 1
5202 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5203 if test -n "$ac_tool_prefix"; then
5204 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5205 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5208 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5209 echo $ECHO_N "(cached) $ECHO_C" >&6
5213 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5220 test -z "$as_dir" && as_dir=.
5221 for ac_exec_ext in '' $ac_executable_extensions; do
5222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5223 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5235 if test -n "$PKG_CONFIG"; then
5236 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5237 echo "${ECHO_T}$PKG_CONFIG" >&6; }
5239 { echo "$as_me:$LINENO: result: no" >&5
5240 echo "${ECHO_T}no" >&6; }
5245 if test -z "$ac_cv_path_PKG_CONFIG"; then
5246 ac_pt_PKG_CONFIG=$PKG_CONFIG
5247 # Extract the first word of "pkg-config", so it can be a program name with args.
5248 set dummy pkg-config; ac_word=$2
5249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5251 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5252 echo $ECHO_N "(cached) $ECHO_C" >&6
5254 case $ac_pt_PKG_CONFIG in
5256 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263 test -z "$as_dir" && as_dir=.
5264 for ac_exec_ext in '' $ac_executable_extensions; do
5265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5266 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5278 if test -n "$ac_pt_PKG_CONFIG"; then
5279 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5280 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
5282 { echo "$as_me:$LINENO: result: no" >&5
5283 echo "${ECHO_T}no" >&6; }
5286 if test "x$ac_pt_PKG_CONFIG" = x; then
5289 case $cross_compiling:$ac_tool_warned in
5291 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5292 whose name does not start with the host triplet. If you think this
5293 configuration is useful to you, please write to autoconf@gnu.org." >&5
5294 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5295 whose name does not start with the host triplet. If you think this
5296 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5297 ac_tool_warned=yes ;;
5299 PKG_CONFIG=$ac_pt_PKG_CONFIG
5302 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5306 if test -n "$PKG_CONFIG"; then
5307 _pkg_min_version=0.9.0
5308 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5309 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
5310 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5311 { echo "$as_me:$LINENO: result: yes" >&5
5312 echo "${ECHO_T}yes" >&6; }
5314 { echo "$as_me:$LINENO: result: no" >&5
5315 echo "${ECHO_T}no" >&6; }
5322 { echo "$as_me:$LINENO: checking for LIBPNG" >&5
5323 echo $ECHO_N "checking for LIBPNG... $ECHO_C" >&6; }
5325 if test -n "$PKG_CONFIG"; then
5326 if test -n "$LIBPNG_CFLAGS"; then
5327 pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
5329 if test -n "$PKG_CONFIG" && \
5330 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
5331 ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
5333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5334 (exit $ac_status); }; then
5335 pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
5343 if test -n "$PKG_CONFIG"; then
5344 if test -n "$LIBPNG_LIBS"; then
5345 pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
5347 if test -n "$PKG_CONFIG" && \
5348 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
5349 ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); }; then
5353 pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
5364 if test $pkg_failed = yes; then
5366 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5367 _pkg_short_errors_supported=yes
5369 _pkg_short_errors_supported=no
5371 if test $_pkg_short_errors_supported = yes; then
5372 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng "`
5374 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng "`
5376 # Put the nasty error message in config.log where it belongs
5377 echo "$LIBPNG_PKG_ERRORS" >&5
5379 { { echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
5383 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5384 installed software in a non-standard prefix.
5386 Alternatively, you may set the environment variables LIBPNG_CFLAGS
5387 and LIBPNG_LIBS to avoid the need to call pkg-config.
5388 See the pkg-config man page for more details.
5390 echo "$as_me: error: Package requirements (libpng ) were not met:
5394 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5395 installed software in a non-standard prefix.
5397 Alternatively, you may set the environment variables LIBPNG_CFLAGS
5398 and LIBPNG_LIBS to avoid the need to call pkg-config.
5399 See the pkg-config man page for more details.
5401 { (exit 1); exit 1; }; }
5402 elif test $pkg_failed = untried; then
5403 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5404 is in your PATH or set the PKG_CONFIG environment variable to the full
5407 Alternatively, you may set the environment variables LIBPNG_CFLAGS
5408 and LIBPNG_LIBS to avoid the need to call pkg-config.
5409 See the pkg-config man page for more details.
5411 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5412 See \`config.log' for more details." >&5
5413 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5414 is in your PATH or set the PKG_CONFIG environment variable to the full
5417 Alternatively, you may set the environment variables LIBPNG_CFLAGS
5418 and LIBPNG_LIBS to avoid the need to call pkg-config.
5419 See the pkg-config man page for more details.
5421 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5422 See \`config.log' for more details." >&2;}
5423 { (exit 1); exit 1; }; }
5425 LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
5426 LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
5427 { echo "$as_me:$LINENO: result: yes" >&5
5428 echo "${ECHO_T}yes" >&6; }
5433 { echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
5434 echo $ECHO_N "checking for uncompress in -lz... $ECHO_C" >&6; }
5435 if test "${ac_cv_lib_z_uncompress+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 ac_check_lib_save_LIBS=$LIBS
5440 cat >conftest.$ac_ext <<_ACEOF
5443 cat confdefs.h >>conftest.$ac_ext
5444 cat >>conftest.$ac_ext <<_ACEOF
5445 /* end confdefs.h. */
5447 /* Override any GCC internal prototype to avoid an error.
5448 Use char because int might match the return type of a GCC
5449 builtin and then its argument prototype would still apply. */
5457 return uncompress ();
5462 rm -f conftest.$ac_objext conftest$ac_exeext
5463 if { (ac_try="$ac_link"
5465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5466 *) ac_try_echo=$ac_try;;
5468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5469 (eval "$ac_link") 2>conftest.er1
5471 grep -v '^ *+' conftest.er1 >conftest.err
5473 cat conftest.err >&5
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); } && {
5476 test -z "$ac_c_werror_flag" ||
5477 test ! -s conftest.err
5478 } && test -s conftest$ac_exeext &&
5479 $as_test_x conftest$ac_exeext; then
5480 ac_cv_lib_z_uncompress=yes
5482 echo "$as_me: failed program was:" >&5
5483 sed 's/^/| /' conftest.$ac_ext >&5
5485 ac_cv_lib_z_uncompress=no
5488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5489 conftest$ac_exeext conftest.$ac_ext
5490 LIBS=$ac_check_lib_save_LIBS
5492 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
5493 echo "${ECHO_T}$ac_cv_lib_z_uncompress" >&6; }
5494 if test $ac_cv_lib_z_uncompress = yes; then
5495 cat >>confdefs.h <<_ACEOF
5503 echo "Zlib (libz.so) could not be found, but is required."
5508 if test "$APPLE_BUILD" != 'yes'; then
5510 { echo "$as_me:$LINENO: checking for glXQueryVersion in -lGL" >&5
5511 echo $ECHO_N "checking for glXQueryVersion in -lGL... $ECHO_C" >&6; }
5512 if test "${ac_cv_lib_GL_glXQueryVersion+set}" = set; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6
5515 ac_check_lib_save_LIBS=$LIBS
5517 cat >conftest.$ac_ext <<_ACEOF
5520 cat confdefs.h >>conftest.$ac_ext
5521 cat >>conftest.$ac_ext <<_ACEOF
5522 /* end confdefs.h. */
5524 /* Override any GCC internal prototype to avoid an error.
5525 Use char because int might match the return type of a GCC
5526 builtin and then its argument prototype would still apply. */
5530 char glXQueryVersion ();
5534 return glXQueryVersion ();
5539 rm -f conftest.$ac_objext conftest$ac_exeext
5540 if { (ac_try="$ac_link"
5542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5543 *) ac_try_echo=$ac_try;;
5545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5546 (eval "$ac_link") 2>conftest.er1
5548 grep -v '^ *+' conftest.er1 >conftest.err
5550 cat conftest.err >&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); } && {
5553 test -z "$ac_c_werror_flag" ||
5554 test ! -s conftest.err
5555 } && test -s conftest$ac_exeext &&
5556 $as_test_x conftest$ac_exeext; then
5557 ac_cv_lib_GL_glXQueryVersion=yes
5559 echo "$as_me: failed program was:" >&5
5560 sed 's/^/| /' conftest.$ac_ext >&5
5562 ac_cv_lib_GL_glXQueryVersion=no
5565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5566 conftest$ac_exeext conftest.$ac_ext
5567 LIBS=$ac_check_lib_save_LIBS
5569 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXQueryVersion" >&5
5570 echo "${ECHO_T}$ac_cv_lib_GL_glXQueryVersion" >&6; }
5571 if test $ac_cv_lib_GL_glXQueryVersion = yes; then
5572 cat >>confdefs.h <<_ACEOF
5573 #define HAVE_LIBGL 1
5580 echo "The OpenGL library (libGL.so) could not be found, but is required."
5584 if test "${ac_cv_header_GL_gl_h+set}" = set; then
5585 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
5586 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
5587 if test "${ac_cv_header_GL_gl_h+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5590 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
5591 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
5593 # Is the header compilable?
5594 { echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
5595 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6; }
5596 cat >conftest.$ac_ext <<_ACEOF
5599 cat confdefs.h >>conftest.$ac_ext
5600 cat >>conftest.$ac_ext <<_ACEOF
5601 /* end confdefs.h. */
5602 $ac_includes_default
5605 rm -f conftest.$ac_objext
5606 if { (ac_try="$ac_compile"
5608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5609 *) ac_try_echo=$ac_try;;
5611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5612 (eval "$ac_compile") 2>conftest.er1
5614 grep -v '^ *+' conftest.er1 >conftest.err
5616 cat conftest.err >&5
5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 (exit $ac_status); } && {
5619 test -z "$ac_c_werror_flag" ||
5620 test ! -s conftest.err
5621 } && test -s conftest.$ac_objext; then
5622 ac_header_compiler=yes
5624 echo "$as_me: failed program was:" >&5
5625 sed 's/^/| /' conftest.$ac_ext >&5
5627 ac_header_compiler=no
5630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5631 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5632 echo "${ECHO_T}$ac_header_compiler" >&6; }
5634 # Is the header present?
5635 { echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
5636 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6; }
5637 cat >conftest.$ac_ext <<_ACEOF
5640 cat confdefs.h >>conftest.$ac_ext
5641 cat >>conftest.$ac_ext <<_ACEOF
5642 /* end confdefs.h. */
5645 if { (ac_try="$ac_cpp conftest.$ac_ext"
5647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5648 *) ac_try_echo=$ac_try;;
5650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5653 grep -v '^ *+' conftest.er1 >conftest.err
5655 cat conftest.err >&5
5656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657 (exit $ac_status); } >/dev/null && {
5658 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5659 test ! -s conftest.err
5661 ac_header_preproc=yes
5663 echo "$as_me: failed program was:" >&5
5664 sed 's/^/| /' conftest.$ac_ext >&5
5666 ac_header_preproc=no
5669 rm -f conftest.err conftest.$ac_ext
5670 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5671 echo "${ECHO_T}$ac_header_preproc" >&6; }
5673 # So? What about this header?
5674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5676 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5677 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5678 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
5679 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
5680 ac_header_preproc=yes
5683 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
5684 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
5685 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
5686 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
5687 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
5688 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
5689 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
5690 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
5691 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
5692 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
5693 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
5694 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
5698 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
5699 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
5700 if test "${ac_cv_header_GL_gl_h+set}" = set; then
5701 echo $ECHO_N "(cached) $ECHO_C" >&6
5703 ac_cv_header_GL_gl_h=$ac_header_preproc
5705 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
5706 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
5709 if test $ac_cv_header_GL_gl_h = yes; then
5713 echo "The OpenGL header files (eg GL/gl.h) could not be found, but are required."
5722 { echo "$as_me:$LINENO: checking for GTK" >&5
5723 echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
5725 if test -n "$PKG_CONFIG"; then
5726 if test -n "$GTK_CFLAGS"; then
5727 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
5729 if test -n "$PKG_CONFIG" && \
5730 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
5731 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); }; then
5735 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
5743 if test -n "$PKG_CONFIG"; then
5744 if test -n "$GTK_LIBS"; then
5745 pkg_cv_GTK_LIBS="$GTK_LIBS"
5747 if test -n "$PKG_CONFIG" && \
5748 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
5749 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752 (exit $ac_status); }; then
5753 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
5764 if test $pkg_failed = yes; then
5766 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5767 _pkg_short_errors_supported=yes
5769 _pkg_short_errors_supported=no
5771 if test $_pkg_short_errors_supported = yes; then
5772 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
5774 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
5776 # Put the nasty error message in config.log where it belongs
5777 echo "$GTK_PKG_ERRORS" >&5
5779 { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
5783 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5784 installed software in a non-standard prefix.
5786 Alternatively, you may set the environment variables GTK_CFLAGS
5787 and GTK_LIBS to avoid the need to call pkg-config.
5788 See the pkg-config man page for more details.
5790 echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
5794 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5795 installed software in a non-standard prefix.
5797 Alternatively, you may set the environment variables GTK_CFLAGS
5798 and GTK_LIBS to avoid the need to call pkg-config.
5799 See the pkg-config man page for more details.
5801 { (exit 1); exit 1; }; }
5802 elif test $pkg_failed = untried; then
5803 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5804 is in your PATH or set the PKG_CONFIG environment variable to the full
5807 Alternatively, you may set the environment variables GTK_CFLAGS
5808 and GTK_LIBS to avoid the need to call pkg-config.
5809 See the pkg-config man page for more details.
5811 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5812 See \`config.log' for more details." >&5
5813 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5814 is in your PATH or set the PKG_CONFIG environment variable to the full
5817 Alternatively, you may set the environment variables GTK_CFLAGS
5818 and GTK_LIBS to avoid the need to call pkg-config.
5819 See the pkg-config man page for more details.
5821 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5822 See \`config.log' for more details." >&2;}
5823 { (exit 1); exit 1; }; }
5825 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
5826 GTK_LIBS=$pkg_cv_GTK_LIBS
5827 { echo "$as_me:$LINENO: result: yes" >&5
5828 echo "${ECHO_T}yes" >&6; }
5832 cat >>confdefs.h <<\_ACEOF
5841 if test "$HAVE_CARBON" = 'yes'; then
5843 GUI_CARBON_FALSE='#'
5851 if test "$HAVE_GTK" = 'yes'; then
5861 i386|i486|i586|i686)
5862 SH4_TRANSLATOR="x86"
5864 cat >>confdefs.h <<_ACEOF
5865 #define SH4_TRANSLATOR TARGET_X86
5869 SH4_TRANSLATOR="x86_64"
5871 cat >>confdefs.h <<_ACEOF
5872 #define SH4_TRANSLATOR TARGET_X86_64
5876 echo "Warning: No translator available for $host. Building emulation core only";;
5880 if test "$SH4_TRANSLATOR" = "x86" -o "$SH4_TRANSLATOR" = "x86_64"; then
5882 BUILD_SH4X86_FALSE='#'
5884 BUILD_SH4X86_TRUE='#'
5890 if test "$SH4_TRANSLATOR" = "x86_64"; then
5892 BUILD_X86_64_FALSE='#'
5894 BUILD_X86_64_TRUE='#'
5901 { echo "$as_me:$LINENO: checking for ESOUND" >&5
5902 echo $ECHO_N "checking for ESOUND... $ECHO_C" >&6; }
5904 if test -n "$PKG_CONFIG"; then
5905 if test -n "$ESOUND_CFLAGS"; then
5906 pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
5908 if test -n "$PKG_CONFIG" && \
5909 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
5910 ($PKG_CONFIG --exists --print-errors "esound") 2>&5
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); }; then
5914 pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
5922 if test -n "$PKG_CONFIG"; then
5923 if test -n "$ESOUND_LIBS"; then
5924 pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
5926 if test -n "$PKG_CONFIG" && \
5927 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
5928 ($PKG_CONFIG --exists --print-errors "esound") 2>&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); }; then
5932 pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
5943 if test $pkg_failed = yes; then
5945 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5946 _pkg_short_errors_supported=yes
5948 _pkg_short_errors_supported=no
5950 if test $_pkg_short_errors_supported = yes; then
5951 ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "esound"`
5953 ESOUND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "esound"`
5955 # Put the nasty error message in config.log where it belongs
5956 echo "$ESOUND_PKG_ERRORS" >&5
5958 { echo "$as_me:$LINENO: result: no" >&5
5959 echo "${ECHO_T}no" >&6; }
5960 echo "Warning: esound not found - building without audio support"
5961 elif test $pkg_failed = untried; then
5962 echo "Warning: esound not found - building without audio support"
5964 ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
5965 ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
5966 { echo "$as_me:$LINENO: result: yes" >&5
5967 echo "${ECHO_T}yes" >&6; }
5971 cat >>confdefs.h <<\_ACEOF
5972 #define HAVE_ESOUND 1
5978 if test "$HAVE_ESOUND" = 'yes' ; then
5980 AUDIO_ESOUND_FALSE='#'
5982 AUDIO_ESOUND_TRUE='#'
5987 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
5988 { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
5989 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
5990 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
5991 echo $ECHO_N "(cached) $ECHO_C" >&6
5993 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
5994 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
5996 # Is the header compilable?
5997 { echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
5998 echo $ECHO_N "checking linux/cdrom.h usability... $ECHO_C" >&6; }
5999 cat >conftest.$ac_ext <<_ACEOF
6002 cat confdefs.h >>conftest.$ac_ext
6003 cat >>conftest.$ac_ext <<_ACEOF
6004 /* end confdefs.h. */
6005 $ac_includes_default
6006 #include <linux/cdrom.h>
6008 rm -f conftest.$ac_objext
6009 if { (ac_try="$ac_compile"
6011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6012 *) ac_try_echo=$ac_try;;
6014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6015 (eval "$ac_compile") 2>conftest.er1
6017 grep -v '^ *+' conftest.er1 >conftest.err
6019 cat conftest.err >&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); } && {
6022 test -z "$ac_c_werror_flag" ||
6023 test ! -s conftest.err
6024 } && test -s conftest.$ac_objext; then
6025 ac_header_compiler=yes
6027 echo "$as_me: failed program was:" >&5
6028 sed 's/^/| /' conftest.$ac_ext >&5
6030 ac_header_compiler=no
6033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6034 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6035 echo "${ECHO_T}$ac_header_compiler" >&6; }
6037 # Is the header present?
6038 { echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
6039 echo $ECHO_N "checking linux/cdrom.h presence... $ECHO_C" >&6; }
6040 cat >conftest.$ac_ext <<_ACEOF
6043 cat confdefs.h >>conftest.$ac_ext
6044 cat >>conftest.$ac_ext <<_ACEOF
6045 /* end confdefs.h. */
6046 #include <linux/cdrom.h>
6048 if { (ac_try="$ac_cpp conftest.$ac_ext"
6050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6051 *) ac_try_echo=$ac_try;;
6053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6054 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6056 grep -v '^ *+' conftest.er1 >conftest.err
6058 cat conftest.err >&5
6059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6060 (exit $ac_status); } >/dev/null && {
6061 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6062 test ! -s conftest.err
6064 ac_header_preproc=yes
6066 echo "$as_me: failed program was:" >&5
6067 sed 's/^/| /' conftest.$ac_ext >&5
6069 ac_header_preproc=no
6072 rm -f conftest.err conftest.$ac_ext
6073 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6074 echo "${ECHO_T}$ac_header_preproc" >&6; }
6076 # So? What about this header?
6077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6079 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
6080 echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6081 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
6082 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
6083 ac_header_preproc=yes
6086 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
6087 echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
6088 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: check for missing prerequisite headers?" >&5
6089 echo "$as_me: WARNING: linux/cdrom.h: check for missing prerequisite headers?" >&2;}
6090 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
6091 echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
6092 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: section \"Present But Cannot Be Compiled\"" >&5
6093 echo "$as_me: WARNING: linux/cdrom.h: section \"Present But Cannot Be Compiled\"" >&2;}
6094 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
6095 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
6096 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
6097 echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
6101 { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
6102 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
6103 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
6104 echo $ECHO_N "(cached) $ECHO_C" >&6
6106 ac_cv_header_linux_cdrom_h=$ac_header_preproc
6108 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
6109 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
6112 if test $ac_cv_header_linux_cdrom_h = yes; then
6113 HAVE_LINUX_CDROM_H=yes
6116 echo "Linux CDROM support not found, building without it."
6122 if test "$HAVE_LINUX_CDROM_H" = "yes"; then
6124 CDROM_LINUX_FALSE='#'
6126 CDROM_LINUX_TRUE='#'
6131 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
6132 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
6133 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
6134 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
6135 echo $ECHO_N "(cached) $ECHO_C" >&6
6137 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
6138 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
6140 # Is the header compilable?
6141 { echo "$as_me:$LINENO: checking linux/joystick.h usability" >&5
6142 echo $ECHO_N "checking linux/joystick.h usability... $ECHO_C" >&6; }
6143 cat >conftest.$ac_ext <<_ACEOF
6146 cat confdefs.h >>conftest.$ac_ext
6147 cat >>conftest.$ac_ext <<_ACEOF
6148 /* end confdefs.h. */
6149 $ac_includes_default
6150 #include <linux/joystick.h>
6152 rm -f conftest.$ac_objext
6153 if { (ac_try="$ac_compile"
6155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6156 *) ac_try_echo=$ac_try;;
6158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6159 (eval "$ac_compile") 2>conftest.er1
6161 grep -v '^ *+' conftest.er1 >conftest.err
6163 cat conftest.err >&5
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); } && {
6166 test -z "$ac_c_werror_flag" ||
6167 test ! -s conftest.err
6168 } && test -s conftest.$ac_objext; then
6169 ac_header_compiler=yes
6171 echo "$as_me: failed program was:" >&5
6172 sed 's/^/| /' conftest.$ac_ext >&5
6174 ac_header_compiler=no
6177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6178 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6179 echo "${ECHO_T}$ac_header_compiler" >&6; }
6181 # Is the header present?
6182 { echo "$as_me:$LINENO: checking linux/joystick.h presence" >&5
6183 echo $ECHO_N "checking linux/joystick.h presence... $ECHO_C" >&6; }
6184 cat >conftest.$ac_ext <<_ACEOF
6187 cat confdefs.h >>conftest.$ac_ext
6188 cat >>conftest.$ac_ext <<_ACEOF
6189 /* end confdefs.h. */
6190 #include <linux/joystick.h>
6192 if { (ac_try="$ac_cpp conftest.$ac_ext"
6194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6195 *) ac_try_echo=$ac_try;;
6197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6198 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6200 grep -v '^ *+' conftest.er1 >conftest.err
6202 cat conftest.err >&5
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); } >/dev/null && {
6205 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6206 test ! -s conftest.err
6208 ac_header_preproc=yes
6210 echo "$as_me: failed program was:" >&5
6211 sed 's/^/| /' conftest.$ac_ext >&5
6213 ac_header_preproc=no
6216 rm -f conftest.err conftest.$ac_ext
6217 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6218 echo "${ECHO_T}$ac_header_preproc" >&6; }
6220 # So? What about this header?
6221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6223 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&5
6224 echo "$as_me: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6225 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the compiler's result" >&5
6226 echo "$as_me: WARNING: linux/joystick.h: proceeding with the compiler's result" >&2;}
6227 ac_header_preproc=yes
6230 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: present but cannot be compiled" >&5
6231 echo "$as_me: WARNING: linux/joystick.h: present but cannot be compiled" >&2;}
6232 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: check for missing prerequisite headers?" >&5
6233 echo "$as_me: WARNING: linux/joystick.h: check for missing prerequisite headers?" >&2;}
6234 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: see the Autoconf documentation" >&5
6235 echo "$as_me: WARNING: linux/joystick.h: see the Autoconf documentation" >&2;}
6236 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: section \"Present But Cannot Be Compiled\"" >&5
6237 echo "$as_me: WARNING: linux/joystick.h: section \"Present But Cannot Be Compiled\"" >&2;}
6238 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&5
6239 echo "$as_me: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&2;}
6240 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&5
6241 echo "$as_me: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&2;}
6245 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
6246 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
6247 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
6248 echo $ECHO_N "(cached) $ECHO_C" >&6
6250 ac_cv_header_linux_joystick_h=$ac_header_preproc
6252 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
6253 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
6256 if test $ac_cv_header_linux_joystick_h = yes; then
6258 HAVE_LINUX_JOYSTICK_H=yes
6260 cat >>confdefs.h <<\_ACEOF
6261 #define HAVE_LINUX_JOYSTICK 1
6265 echo "Linux Joystick support not found, building without it."
6271 if test "$HAVE_LINUX_JOYSTICK_H" = "yes"; then
6280 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
6281 set dummy sh-elf-gcc; ac_word=$2
6282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6284 if test "${ac_cv_path_SHCC+set}" = set; then
6285 echo $ECHO_N "(cached) $ECHO_C" >&6
6289 ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
6292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6296 test -z "$as_dir" && as_dir=.
6297 for ac_exec_ext in '' $ac_executable_extensions; do
6298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6299 ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
6300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6310 SHCC=$ac_cv_path_SHCC
6311 if test -n "$SHCC"; then
6312 { echo "$as_me:$LINENO: result: $SHCC" >&5
6313 echo "${ECHO_T}$SHCC" >&6; }
6315 { echo "$as_me:$LINENO: result: no" >&5
6316 echo "${ECHO_T}no" >&6; }
6320 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
6321 set dummy sh-elf-ld; ac_word=$2
6322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6324 if test "${ac_cv_path_SHLD+set}" = set; then
6325 echo $ECHO_N "(cached) $ECHO_C" >&6
6329 ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
6332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 test -z "$as_dir" && as_dir=.
6337 for ac_exec_ext in '' $ac_executable_extensions; do
6338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6339 ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
6340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6350 SHLD=$ac_cv_path_SHLD
6351 if test -n "$SHLD"; then
6352 { echo "$as_me:$LINENO: result: $SHLD" >&5
6353 echo "${ECHO_T}$SHLD" >&6; }
6355 { echo "$as_me:$LINENO: result: no" >&5
6356 echo "${ECHO_T}no" >&6; }
6360 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
6361 set dummy sh-elf-objcopy; ac_word=$2
6362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6364 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
6365 echo $ECHO_N "(cached) $ECHO_C" >&6
6369 ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
6372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6376 test -z "$as_dir" && as_dir=.
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6379 ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
6380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6390 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
6391 if test -n "$SHOBJCOPY"; then
6392 { echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
6393 echo "${ECHO_T}$SHOBJCOPY" >&6; }
6395 { echo "$as_me:$LINENO: result: no" >&5
6396 echo "${ECHO_T}no" >&6; }
6400 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
6401 set dummy arm-elf-gcc; ac_word=$2
6402 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6404 if test "${ac_cv_path_ARMCC+set}" = set; then
6405 echo $ECHO_N "(cached) $ECHO_C" >&6
6409 ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
6412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6416 test -z "$as_dir" && as_dir=.
6417 for ac_exec_ext in '' $ac_executable_extensions; do
6418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6419 ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
6420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6430 ARMCC=$ac_cv_path_ARMCC
6431 if test -n "$ARMCC"; then
6432 { echo "$as_me:$LINENO: result: $ARMCC" >&5
6433 echo "${ECHO_T}$ARMCC" >&6; }
6435 { echo "$as_me:$LINENO: result: no" >&5
6436 echo "${ECHO_T}no" >&6; }
6440 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
6441 set dummy arm-elf-ld; ac_word=$2
6442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6444 if test "${ac_cv_path_ARMLD+set}" = set; then
6445 echo $ECHO_N "(cached) $ECHO_C" >&6
6449 ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
6452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 test -z "$as_dir" && as_dir=.
6457 for ac_exec_ext in '' $ac_executable_extensions; do
6458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6459 ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
6460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6470 ARMLD=$ac_cv_path_ARMLD
6471 if test -n "$ARMLD"; then
6472 { echo "$as_me:$LINENO: result: $ARMLD" >&5
6473 echo "${ECHO_T}$ARMLD" >&6; }
6475 { echo "$as_me:$LINENO: result: no" >&5
6476 echo "${ECHO_T}no" >&6; }
6480 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
6481 set dummy arm-elf-objcopy; ac_word=$2
6482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6484 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
6485 echo $ECHO_N "(cached) $ECHO_C" >&6
6489 ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
6492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6496 test -z "$as_dir" && as_dir=.
6497 for ac_exec_ext in '' $ac_executable_extensions; do
6498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6499 ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
6500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6510 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
6511 if test -n "$ARMOBJCOPY"; then
6512 { echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
6513 echo "${ECHO_T}$ARMOBJCOPY" >&6; }
6515 { echo "$as_me:$LINENO: result: no" >&5
6516 echo "${ECHO_T}no" >&6; }
6521 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
6523 echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
6527 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
6529 echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
6535 if test "$BUILD_SH" = "yes"; then
6537 BUILD_SYSTEST_FALSE='#'
6539 BUILD_SYSTEST_TRUE='#'
6540 BUILD_SYSTEST_FALSE=
6545 if test "$BUILD_ARM" = "yes"; then
6547 BUILD_ARMTEST_FALSE='#'
6549 BUILD_ARMTEST_TRUE='#'
6550 BUILD_ARMTEST_FALSE=
6555 GETTEXT_PACKAGE=lxdream
6558 cat >>confdefs.h <<_ACEOF
6559 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6563 ALL_LINGUAS="de pt_BR"
6566 for ac_header in locale.h
6568 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6569 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6570 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6573 echo $ECHO_N "(cached) $ECHO_C" >&6
6575 ac_res=`eval echo '${'$as_ac_Header'}'`
6576 { echo "$as_me:$LINENO: result: $ac_res" >&5
6577 echo "${ECHO_T}$ac_res" >&6; }
6579 # Is the header compilable?
6580 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6581 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6582 cat >conftest.$ac_ext <<_ACEOF
6585 cat confdefs.h >>conftest.$ac_ext
6586 cat >>conftest.$ac_ext <<_ACEOF
6587 /* end confdefs.h. */
6588 $ac_includes_default
6589 #include <$ac_header>
6591 rm -f conftest.$ac_objext
6592 if { (ac_try="$ac_compile"
6594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6595 *) ac_try_echo=$ac_try;;
6597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6598 (eval "$ac_compile") 2>conftest.er1
6600 grep -v '^ *+' conftest.er1 >conftest.err
6602 cat conftest.err >&5
6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); } && {
6605 test -z "$ac_c_werror_flag" ||
6606 test ! -s conftest.err
6607 } && test -s conftest.$ac_objext; then
6608 ac_header_compiler=yes
6610 echo "$as_me: failed program was:" >&5
6611 sed 's/^/| /' conftest.$ac_ext >&5
6613 ac_header_compiler=no
6616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6617 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6618 echo "${ECHO_T}$ac_header_compiler" >&6; }
6620 # Is the header present?
6621 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6622 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6623 cat >conftest.$ac_ext <<_ACEOF
6626 cat confdefs.h >>conftest.$ac_ext
6627 cat >>conftest.$ac_ext <<_ACEOF
6628 /* end confdefs.h. */
6629 #include <$ac_header>
6631 if { (ac_try="$ac_cpp conftest.$ac_ext"
6633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6634 *) ac_try_echo=$ac_try;;
6636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6639 grep -v '^ *+' conftest.er1 >conftest.err
6641 cat conftest.err >&5
6642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6643 (exit $ac_status); } >/dev/null && {
6644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6645 test ! -s conftest.err
6647 ac_header_preproc=yes
6649 echo "$as_me: failed program was:" >&5
6650 sed 's/^/| /' conftest.$ac_ext >&5
6652 ac_header_preproc=no
6655 rm -f conftest.err conftest.$ac_ext
6656 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6657 echo "${ECHO_T}$ac_header_preproc" >&6; }
6659 # So? What about this header?
6660 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6662 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6663 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6664 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6665 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6666 ac_header_preproc=yes
6669 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6670 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6671 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6672 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6673 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6674 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6675 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6676 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6678 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6679 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6680 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6684 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6687 echo $ECHO_N "(cached) $ECHO_C" >&6
6689 eval "$as_ac_Header=\$ac_header_preproc"
6691 ac_res=`eval echo '${'$as_ac_Header'}'`
6692 { echo "$as_me:$LINENO: result: $ac_res" >&5
6693 echo "${ECHO_T}$ac_res" >&6; }
6696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6697 cat >>confdefs.h <<_ACEOF
6698 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6705 if test $ac_cv_header_locale_h = yes; then
6706 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6707 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
6708 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6709 echo $ECHO_N "(cached) $ECHO_C" >&6
6711 cat >conftest.$ac_ext <<_ACEOF
6714 cat confdefs.h >>conftest.$ac_ext
6715 cat >>conftest.$ac_ext <<_ACEOF
6716 /* end confdefs.h. */
6726 rm -f conftest.$ac_objext conftest$ac_exeext
6727 if { (ac_try="$ac_link"
6729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6730 *) ac_try_echo=$ac_try;;
6732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6733 (eval "$ac_link") 2>conftest.er1
6735 grep -v '^ *+' conftest.er1 >conftest.err
6737 cat conftest.err >&5
6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739 (exit $ac_status); } && {
6740 test -z "$ac_c_werror_flag" ||
6741 test ! -s conftest.err
6742 } && test -s conftest$ac_exeext &&
6743 $as_test_x conftest$ac_exeext; then
6744 am_cv_val_LC_MESSAGES=yes
6746 echo "$as_me: failed program was:" >&5
6747 sed 's/^/| /' conftest.$ac_ext >&5
6749 am_cv_val_LC_MESSAGES=no
6752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6753 conftest$ac_exeext conftest.$ac_ext
6755 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6756 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
6757 if test $am_cv_val_LC_MESSAGES = yes; then
6759 cat >>confdefs.h <<\_ACEOF
6760 #define HAVE_LC_MESSAGES 1
6768 gt_cv_have_gettext=no
6774 if test "${ac_cv_header_libintl_h+set}" = set; then
6775 { echo "$as_me:$LINENO: checking for libintl.h" >&5
6776 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
6777 if test "${ac_cv_header_libintl_h+set}" = set; then
6778 echo $ECHO_N "(cached) $ECHO_C" >&6
6780 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6781 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
6783 # Is the header compilable?
6784 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
6785 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
6786 cat >conftest.$ac_ext <<_ACEOF
6789 cat confdefs.h >>conftest.$ac_ext
6790 cat >>conftest.$ac_ext <<_ACEOF
6791 /* end confdefs.h. */
6792 $ac_includes_default
6793 #include <libintl.h>
6795 rm -f conftest.$ac_objext
6796 if { (ac_try="$ac_compile"
6798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6799 *) ac_try_echo=$ac_try;;
6801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6802 (eval "$ac_compile") 2>conftest.er1
6804 grep -v '^ *+' conftest.er1 >conftest.err
6806 cat conftest.err >&5
6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 (exit $ac_status); } && {
6809 test -z "$ac_c_werror_flag" ||
6810 test ! -s conftest.err
6811 } && test -s conftest.$ac_objext; then
6812 ac_header_compiler=yes
6814 echo "$as_me: failed program was:" >&5
6815 sed 's/^/| /' conftest.$ac_ext >&5
6817 ac_header_compiler=no
6820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6821 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6822 echo "${ECHO_T}$ac_header_compiler" >&6; }
6824 # Is the header present?
6825 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
6826 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
6827 cat >conftest.$ac_ext <<_ACEOF
6830 cat confdefs.h >>conftest.$ac_ext
6831 cat >>conftest.$ac_ext <<_ACEOF
6832 /* end confdefs.h. */
6833 #include <libintl.h>
6835 if { (ac_try="$ac_cpp conftest.$ac_ext"
6837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6838 *) ac_try_echo=$ac_try;;
6840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6841 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6843 grep -v '^ *+' conftest.er1 >conftest.err
6845 cat conftest.err >&5
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); } >/dev/null && {
6848 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6849 test ! -s conftest.err
6851 ac_header_preproc=yes
6853 echo "$as_me: failed program was:" >&5
6854 sed 's/^/| /' conftest.$ac_ext >&5
6856 ac_header_preproc=no
6859 rm -f conftest.err conftest.$ac_ext
6860 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6861 echo "${ECHO_T}$ac_header_preproc" >&6; }
6863 # So? What about this header?
6864 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6866 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6867 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6868 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
6869 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
6870 ac_header_preproc=yes
6873 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6874 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6875 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
6876 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
6877 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6878 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6879 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
6880 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
6881 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
6882 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
6883 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6884 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6888 { echo "$as_me:$LINENO: checking for libintl.h" >&5
6889 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
6890 if test "${ac_cv_header_libintl_h+set}" = set; then
6891 echo $ECHO_N "(cached) $ECHO_C" >&6
6893 ac_cv_header_libintl_h=$ac_header_preproc
6895 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6896 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
6899 if test $ac_cv_header_libintl_h = yes; then
6900 gt_cv_func_dgettext_libintl="no"
6901 libintl_extra_libs=""
6904 # First check in libc
6906 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
6907 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
6908 if test "${gt_cv_func_ngettext_libc+set}" = set; then
6909 echo $ECHO_N "(cached) $ECHO_C" >&6
6911 cat >conftest.$ac_ext <<_ACEOF
6914 cat confdefs.h >>conftest.$ac_ext
6915 cat >>conftest.$ac_ext <<_ACEOF
6916 /* end confdefs.h. */
6918 #include <libintl.h>
6923 return !ngettext ("","", 1)
6928 rm -f conftest.$ac_objext conftest$ac_exeext
6929 if { (ac_try="$ac_link"
6931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6932 *) ac_try_echo=$ac_try;;
6934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6935 (eval "$ac_link") 2>conftest.er1
6937 grep -v '^ *+' conftest.er1 >conftest.err
6939 cat conftest.err >&5
6940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 (exit $ac_status); } && {
6942 test -z "$ac_c_werror_flag" ||
6943 test ! -s conftest.err
6944 } && test -s conftest$ac_exeext &&
6945 $as_test_x conftest$ac_exeext; then
6946 gt_cv_func_ngettext_libc=yes
6948 echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6951 gt_cv_func_ngettext_libc=no
6954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6955 conftest$ac_exeext conftest.$ac_ext
6958 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
6959 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
6961 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6962 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
6963 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
6964 if test "${gt_cv_func_dgettext_libc+set}" = set; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6967 cat >conftest.$ac_ext <<_ACEOF
6970 cat confdefs.h >>conftest.$ac_ext
6971 cat >>conftest.$ac_ext <<_ACEOF
6972 /* end confdefs.h. */
6974 #include <libintl.h>
6979 return !dgettext ("","")
6984 rm -f conftest.$ac_objext conftest$ac_exeext
6985 if { (ac_try="$ac_link"
6987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6988 *) ac_try_echo=$ac_try;;
6990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6991 (eval "$ac_link") 2>conftest.er1
6993 grep -v '^ *+' conftest.er1 >conftest.err
6995 cat conftest.err >&5
6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997 (exit $ac_status); } && {
6998 test -z "$ac_c_werror_flag" ||
6999 test ! -s conftest.err
7000 } && test -s conftest$ac_exeext &&
7001 $as_test_x conftest$ac_exeext; then
7002 gt_cv_func_dgettext_libc=yes
7004 echo "$as_me: failed program was:" >&5
7005 sed 's/^/| /' conftest.$ac_ext >&5
7007 gt_cv_func_dgettext_libc=no
7010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7011 conftest$ac_exeext conftest.$ac_ext
7014 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
7015 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
7018 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
7020 for ac_func in bind_textdomain_codeset
7022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7023 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7025 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7026 echo $ECHO_N "(cached) $ECHO_C" >&6
7028 cat >conftest.$ac_ext <<_ACEOF
7031 cat confdefs.h >>conftest.$ac_ext
7032 cat >>conftest.$ac_ext <<_ACEOF
7033 /* end confdefs.h. */
7034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7036 #define $ac_func innocuous_$ac_func
7038 /* System header to define __stub macros and hopefully few prototypes,
7039 which can conflict with char $ac_func (); below.
7040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7041 <limits.h> exists even on freestanding compilers. */
7044 # include <limits.h>
7046 # include <assert.h>
7051 /* Override any GCC internal prototype to avoid an error.
7052 Use char because int might match the return type of a GCC
7053 builtin and then its argument prototype would still apply. */
7058 /* The GNU C library defines this for functions which it implements
7059 to always fail with ENOSYS. Some functions are actually named
7060 something starting with __ and the normal name is an alias. */
7061 #if defined __stub_$ac_func || defined __stub___$ac_func
7073 rm -f conftest.$ac_objext conftest$ac_exeext
7074 if { (ac_try="$ac_link"
7076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7077 *) ac_try_echo=$ac_try;;
7079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7080 (eval "$ac_link") 2>conftest.er1
7082 grep -v '^ *+' conftest.er1 >conftest.err
7084 cat conftest.err >&5
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); } && {
7087 test -z "$ac_c_werror_flag" ||
7088 test ! -s conftest.err
7089 } && test -s conftest$ac_exeext &&
7090 $as_test_x conftest$ac_exeext; then
7091 eval "$as_ac_var=yes"
7093 echo "$as_me: failed program was:" >&5
7094 sed 's/^/| /' conftest.$ac_ext >&5
7096 eval "$as_ac_var=no"
7099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7100 conftest$ac_exeext conftest.$ac_ext
7102 ac_res=`eval echo '${'$as_ac_var'}'`
7103 { echo "$as_me:$LINENO: result: $ac_res" >&5
7104 echo "${ECHO_T}$ac_res" >&6; }
7105 if test `eval echo '${'$as_ac_var'}'` = yes; then
7106 cat >>confdefs.h <<_ACEOF
7107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7116 # If we don't have everything we want, check in libintl
7118 if test "$gt_cv_func_dgettext_libc" != "yes" \
7119 || test "$gt_cv_func_ngettext_libc" != "yes" \
7120 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
7122 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7123 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
7124 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7125 echo $ECHO_N "(cached) $ECHO_C" >&6
7127 ac_check_lib_save_LIBS=$LIBS
7129 cat >conftest.$ac_ext <<_ACEOF
7132 cat confdefs.h >>conftest.$ac_ext
7133 cat >>conftest.$ac_ext <<_ACEOF
7134 /* end confdefs.h. */
7136 /* Override any GCC internal prototype to avoid an error.
7137 Use char because int might match the return type of a GCC
7138 builtin and then its argument prototype would still apply. */
7142 char bindtextdomain ();
7146 return bindtextdomain ();
7151 rm -f conftest.$ac_objext conftest$ac_exeext
7152 if { (ac_try="$ac_link"
7154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7155 *) ac_try_echo=$ac_try;;
7157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7158 (eval "$ac_link") 2>conftest.er1
7160 grep -v '^ *+' conftest.er1 >conftest.err
7162 cat conftest.err >&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); } && {
7165 test -z "$ac_c_werror_flag" ||
7166 test ! -s conftest.err
7167 } && test -s conftest$ac_exeext &&
7168 $as_test_x conftest$ac_exeext; then
7169 ac_cv_lib_intl_bindtextdomain=yes
7171 echo "$as_me: failed program was:" >&5
7172 sed 's/^/| /' conftest.$ac_ext >&5
7174 ac_cv_lib_intl_bindtextdomain=no
7177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7178 conftest$ac_exeext conftest.$ac_ext
7179 LIBS=$ac_check_lib_save_LIBS
7181 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7182 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
7183 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7184 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
7185 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
7186 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
7187 echo $ECHO_N "(cached) $ECHO_C" >&6
7189 ac_check_lib_save_LIBS=$LIBS
7191 cat >conftest.$ac_ext <<_ACEOF
7194 cat confdefs.h >>conftest.$ac_ext
7195 cat >>conftest.$ac_ext <<_ACEOF
7196 /* end confdefs.h. */
7198 /* Override any GCC internal prototype to avoid an error.
7199 Use char because int might match the return type of a GCC
7200 builtin and then its argument prototype would still apply. */
7213 rm -f conftest.$ac_objext conftest$ac_exeext
7214 if { (ac_try="$ac_link"
7216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7217 *) ac_try_echo=$ac_try;;
7219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7220 (eval "$ac_link") 2>conftest.er1
7222 grep -v '^ *+' conftest.er1 >conftest.err
7224 cat conftest.err >&5
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); } && {
7227 test -z "$ac_c_werror_flag" ||
7228 test ! -s conftest.err
7229 } && test -s conftest$ac_exeext &&
7230 $as_test_x conftest$ac_exeext; then
7231 ac_cv_lib_intl_ngettext=yes
7233 echo "$as_me: failed program was:" >&5
7234 sed 's/^/| /' conftest.$ac_ext >&5
7236 ac_cv_lib_intl_ngettext=no
7239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7240 conftest$ac_exeext conftest.$ac_ext
7241 LIBS=$ac_check_lib_save_LIBS
7243 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
7244 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
7245 if test $ac_cv_lib_intl_ngettext = yes; then
7246 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
7247 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
7248 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
7249 echo $ECHO_N "(cached) $ECHO_C" >&6
7251 ac_check_lib_save_LIBS=$LIBS
7253 cat >conftest.$ac_ext <<_ACEOF
7256 cat confdefs.h >>conftest.$ac_ext
7257 cat >>conftest.$ac_ext <<_ACEOF
7258 /* end confdefs.h. */
7260 /* Override any GCC internal prototype to avoid an error.
7261 Use char because int might match the return type of a GCC
7262 builtin and then its argument prototype would still apply. */
7275 rm -f conftest.$ac_objext conftest$ac_exeext
7276 if { (ac_try="$ac_link"
7278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7279 *) ac_try_echo=$ac_try;;
7281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7282 (eval "$ac_link") 2>conftest.er1
7284 grep -v '^ *+' conftest.er1 >conftest.err
7286 cat conftest.err >&5
7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288 (exit $ac_status); } && {
7289 test -z "$ac_c_werror_flag" ||
7290 test ! -s conftest.err
7291 } && test -s conftest$ac_exeext &&
7292 $as_test_x conftest$ac_exeext; then
7293 ac_cv_lib_intl_dgettext=yes
7295 echo "$as_me: failed program was:" >&5
7296 sed 's/^/| /' conftest.$ac_ext >&5
7298 ac_cv_lib_intl_dgettext=no
7301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7302 conftest$ac_exeext conftest.$ac_ext
7303 LIBS=$ac_check_lib_save_LIBS
7305 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
7306 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
7307 if test $ac_cv_lib_intl_dgettext = yes; then
7308 gt_cv_func_dgettext_libintl=yes
7316 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
7317 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
7318 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
7319 { echo "$as_me:$LINENO: result: " >&5
7320 echo "${ECHO_T}" >&6; }
7321 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
7322 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
7323 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
7324 echo $ECHO_N "(cached) $ECHO_C" >&6
7326 ac_check_lib_save_LIBS=$LIBS
7327 LIBS="-lintl -liconv $LIBS"
7328 cat >conftest.$ac_ext <<_ACEOF
7331 cat confdefs.h >>conftest.$ac_ext
7332 cat >>conftest.$ac_ext <<_ACEOF
7333 /* end confdefs.h. */
7335 /* Override any GCC internal prototype to avoid an error.
7336 Use char because int might match the return type of a GCC
7337 builtin and then its argument prototype would still apply. */
7350 rm -f conftest.$ac_objext conftest$ac_exeext
7351 if { (ac_try="$ac_link"
7353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7354 *) ac_try_echo=$ac_try;;
7356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7357 (eval "$ac_link") 2>conftest.er1
7359 grep -v '^ *+' conftest.er1 >conftest.err
7361 cat conftest.err >&5
7362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 (exit $ac_status); } && {
7364 test -z "$ac_c_werror_flag" ||
7365 test ! -s conftest.err
7366 } && test -s conftest$ac_exeext &&
7367 $as_test_x conftest$ac_exeext; then
7368 ac_cv_lib_intl_ngettext=yes
7370 echo "$as_me: failed program was:" >&5
7371 sed 's/^/| /' conftest.$ac_ext >&5
7373 ac_cv_lib_intl_ngettext=no
7376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7377 conftest$ac_exeext conftest.$ac_ext
7378 LIBS=$ac_check_lib_save_LIBS
7380 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
7381 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
7382 if test $ac_cv_lib_intl_ngettext = yes; then
7383 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
7384 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
7385 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
7386 echo $ECHO_N "(cached) $ECHO_C" >&6
7388 ac_check_lib_save_LIBS=$LIBS
7389 LIBS="-lintl -liconv $LIBS"
7390 cat >conftest.$ac_ext <<_ACEOF
7393 cat confdefs.h >>conftest.$ac_ext
7394 cat >>conftest.$ac_ext <<_ACEOF
7395 /* end confdefs.h. */
7397 /* Override any GCC internal prototype to avoid an error.
7398 Use char because int might match the return type of a GCC
7399 builtin and then its argument prototype would still apply. */
7407 return dcgettext ();
7412 rm -f conftest.$ac_objext conftest$ac_exeext
7413 if { (ac_try="$ac_link"
7415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7416 *) ac_try_echo=$ac_try;;
7418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7419 (eval "$ac_link") 2>conftest.er1
7421 grep -v '^ *+' conftest.er1 >conftest.err
7423 cat conftest.err >&5
7424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7425 (exit $ac_status); } && {
7426 test -z "$ac_c_werror_flag" ||
7427 test ! -s conftest.err
7428 } && test -s conftest$ac_exeext &&
7429 $as_test_x conftest$ac_exeext; then
7430 ac_cv_lib_intl_dcgettext=yes
7432 echo "$as_me: failed program was:" >&5
7433 sed 's/^/| /' conftest.$ac_ext >&5
7435 ac_cv_lib_intl_dcgettext=no
7438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7439 conftest$ac_exeext conftest.$ac_ext
7440 LIBS=$ac_check_lib_save_LIBS
7442 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
7443 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
7444 if test $ac_cv_lib_intl_dcgettext = yes; then
7445 gt_cv_func_dgettext_libintl=yes
7446 libintl_extra_libs=-liconv
7458 # If we found libintl, then check in it for bind_textdomain_codeset();
7459 # we'll prefer libc if neither have bind_textdomain_codeset(),
7460 # and both have dgettext and ngettext
7462 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
7463 glib_save_LIBS="$LIBS"
7464 LIBS="$LIBS -lintl $libintl_extra_libs"
7465 unset ac_cv_func_bind_textdomain_codeset
7467 for ac_func in bind_textdomain_codeset
7469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7470 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7472 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7473 echo $ECHO_N "(cached) $ECHO_C" >&6
7475 cat >conftest.$ac_ext <<_ACEOF
7478 cat confdefs.h >>conftest.$ac_ext
7479 cat >>conftest.$ac_ext <<_ACEOF
7480 /* end confdefs.h. */
7481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7483 #define $ac_func innocuous_$ac_func
7485 /* System header to define __stub macros and hopefully few prototypes,
7486 which can conflict with char $ac_func (); below.
7487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7488 <limits.h> exists even on freestanding compilers. */
7491 # include <limits.h>
7493 # include <assert.h>
7498 /* Override any GCC internal prototype to avoid an error.
7499 Use char because int might match the return type of a GCC
7500 builtin and then its argument prototype would still apply. */
7505 /* The GNU C library defines this for functions which it implements
7506 to always fail with ENOSYS. Some functions are actually named
7507 something starting with __ and the normal name is an alias. */
7508 #if defined __stub_$ac_func || defined __stub___$ac_func
7520 rm -f conftest.$ac_objext conftest$ac_exeext
7521 if { (ac_try="$ac_link"
7523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7524 *) ac_try_echo=$ac_try;;
7526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7527 (eval "$ac_link") 2>conftest.er1
7529 grep -v '^ *+' conftest.er1 >conftest.err
7531 cat conftest.err >&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); } && {
7534 test -z "$ac_c_werror_flag" ||
7535 test ! -s conftest.err
7536 } && test -s conftest$ac_exeext &&
7537 $as_test_x conftest$ac_exeext; then
7538 eval "$as_ac_var=yes"
7540 echo "$as_me: failed program was:" >&5
7541 sed 's/^/| /' conftest.$ac_ext >&5
7543 eval "$as_ac_var=no"
7546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7547 conftest$ac_exeext conftest.$ac_ext
7549 ac_res=`eval echo '${'$as_ac_var'}'`
7550 { echo "$as_me:$LINENO: result: $ac_res" >&5
7551 echo "${ECHO_T}$ac_res" >&6; }
7552 if test `eval echo '${'$as_ac_var'}'` = yes; then
7553 cat >>confdefs.h <<_ACEOF
7554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7560 LIBS="$glib_save_LIBS"
7562 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
7563 gt_cv_func_dgettext_libc=no
7565 if test "$gt_cv_func_dgettext_libc" = "yes" \
7566 && test "$gt_cv_func_ngettext_libc" = "yes"; then
7567 gt_cv_func_dgettext_libintl=no
7573 if test "$gt_cv_func_dgettext_libc" = "yes" \
7574 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
7575 gt_cv_have_gettext=yes
7578 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
7579 INTLLIBS="-lintl $libintl_extra_libs"
7582 if test "$gt_cv_have_gettext" = "yes"; then
7584 cat >>confdefs.h <<\_ACEOF
7585 #define HAVE_GETTEXT 1
7588 # Extract the first word of "msgfmt", so it can be a program name with args.
7589 set dummy msgfmt; ac_word=$2
7590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7592 if test "${ac_cv_path_MSGFMT+set}" = set; then
7593 echo $ECHO_N "(cached) $ECHO_C" >&6
7597 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7600 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7601 for ac_dir in $PATH; do
7602 test -z "$ac_dir" && ac_dir=.
7603 if test -f $ac_dir/$ac_word; then
7604 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7605 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
7611 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
7615 MSGFMT="$ac_cv_path_MSGFMT"
7616 if test "$MSGFMT" != "no"; then
7617 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7618 echo "${ECHO_T}$MSGFMT" >&6; }
7620 { echo "$as_me:$LINENO: result: no" >&5
7621 echo "${ECHO_T}no" >&6; }
7623 if test "$MSGFMT" != "no"; then
7624 glib_save_LIBS="$LIBS"
7625 LIBS="$LIBS $INTLLIBS"
7627 for ac_func in dcgettext
7629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7630 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7632 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7633 echo $ECHO_N "(cached) $ECHO_C" >&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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7643 #define $ac_func innocuous_$ac_func
7645 /* System header to define __stub macros and hopefully few prototypes,
7646 which can conflict with char $ac_func (); below.
7647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7648 <limits.h> exists even on freestanding compilers. */
7651 # include <limits.h>
7653 # include <assert.h>
7658 /* Override any GCC internal prototype to avoid an error.
7659 Use char because int might match the return type of a GCC
7660 builtin and then its argument prototype would still apply. */
7665 /* The GNU C library defines this for functions which it implements
7666 to always fail with ENOSYS. Some functions are actually named
7667 something starting with __ and the normal name is an alias. */
7668 #if defined __stub_$ac_func || defined __stub___$ac_func
7680 rm -f conftest.$ac_objext conftest$ac_exeext
7681 if { (ac_try="$ac_link"
7683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7684 *) ac_try_echo=$ac_try;;
7686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7687 (eval "$ac_link") 2>conftest.er1
7689 grep -v '^ *+' conftest.er1 >conftest.err
7691 cat conftest.err >&5
7692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693 (exit $ac_status); } && {
7694 test -z "$ac_c_werror_flag" ||
7695 test ! -s conftest.err
7696 } && test -s conftest$ac_exeext &&
7697 $as_test_x conftest$ac_exeext; then
7698 eval "$as_ac_var=yes"
7700 echo "$as_me: failed program was:" >&5
7701 sed 's/^/| /' conftest.$ac_ext >&5
7703 eval "$as_ac_var=no"
7706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7707 conftest$ac_exeext conftest.$ac_ext
7709 ac_res=`eval echo '${'$as_ac_var'}'`
7710 { echo "$as_me:$LINENO: result: $ac_res" >&5
7711 echo "${ECHO_T}$ac_res" >&6; }
7712 if test `eval echo '${'$as_ac_var'}'` = yes; then
7713 cat >>confdefs.h <<_ACEOF
7714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7721 { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
7722 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
7723 cat >conftest.foo <<_ACEOF
7727 "Content-Type: text/plain; charset=UTF-8\n"
7728 "Project-Id-Version: test 1.0\n"
7729 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
7730 "Last-Translator: test <foo@bar.xx>\n"
7731 "Language-Team: C <LL@li.org>\n"
7732 "MIME-Version: 1.0\n"
7733 "Content-Transfer-Encoding: 8bit\n"
7736 if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
7737 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
7739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740 (exit $ac_status); }; then
7741 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
7742 echo "${ECHO_T}yes" >&6; }
7743 else { echo "$as_me:$LINENO: result: no" >&5
7744 echo "${ECHO_T}no" >&6; }
7745 echo "$as_me: failed input was:" >&5
7746 sed 's/^/| /' conftest.foo >&5
7749 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7750 set dummy gmsgfmt; ac_word=$2
7751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7753 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7754 echo $ECHO_N "(cached) $ECHO_C" >&6
7758 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7765 test -z "$as_dir" && as_dir=.
7766 for ac_exec_ext in '' $ac_executable_extensions; do
7767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7768 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7776 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7780 GMSGFMT=$ac_cv_path_GMSGFMT
7781 if test -n "$GMSGFMT"; then
7782 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7783 echo "${ECHO_T}$GMSGFMT" >&6; }
7785 { echo "$as_me:$LINENO: result: no" >&5
7786 echo "${ECHO_T}no" >&6; }
7790 # Extract the first word of "xgettext", so it can be a program name with args.
7791 set dummy xgettext; ac_word=$2
7792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7794 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7795 echo $ECHO_N "(cached) $ECHO_C" >&6
7799 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7802 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7803 for ac_dir in $PATH; do
7804 test -z "$ac_dir" && ac_dir=.
7805 if test -f $ac_dir/$ac_word; then
7806 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7807 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
7813 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7817 XGETTEXT="$ac_cv_path_XGETTEXT"
7818 if test "$XGETTEXT" != ":"; then
7819 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7820 echo "${ECHO_T}$XGETTEXT" >&6; }
7822 { echo "$as_me:$LINENO: result: no" >&5
7823 echo "${ECHO_T}no" >&6; }
7826 cat >conftest.$ac_ext <<_ACEOF
7829 cat confdefs.h >>conftest.$ac_ext
7830 cat >>conftest.$ac_ext <<_ACEOF
7831 /* end confdefs.h. */
7836 extern int _nl_msg_cat_cntr;
7837 return _nl_msg_cat_cntr
7842 rm -f conftest.$ac_objext conftest$ac_exeext
7843 if { (ac_try="$ac_link"
7845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7846 *) ac_try_echo=$ac_try;;
7848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7849 (eval "$ac_link") 2>conftest.er1
7851 grep -v '^ *+' conftest.er1 >conftest.err
7853 cat conftest.err >&5
7854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7855 (exit $ac_status); } && {
7856 test -z "$ac_c_werror_flag" ||
7857 test ! -s conftest.err
7858 } && test -s conftest$ac_exeext &&
7859 $as_test_x conftest$ac_exeext; then
7863 echo "$as_me: failed program was:" >&5
7864 sed 's/^/| /' conftest.$ac_ext >&5
7868 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7869 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
7870 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7871 echo $ECHO_N "(cached) $ECHO_C" >&6
7873 cat >conftest.$ac_ext <<_ACEOF
7876 cat confdefs.h >>conftest.$ac_ext
7877 cat >>conftest.$ac_ext <<_ACEOF
7878 /* end confdefs.h. */
7879 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7881 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7883 /* System header to define __stub macros and hopefully few prototypes,
7884 which can conflict with char bind_textdomain_codeset (); below.
7885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7886 <limits.h> exists even on freestanding compilers. */
7889 # include <limits.h>
7891 # include <assert.h>
7894 #undef bind_textdomain_codeset
7896 /* Override any GCC internal prototype to avoid an error.
7897 Use char because int might match the return type of a GCC
7898 builtin and then its argument prototype would still apply. */
7902 char bind_textdomain_codeset ();
7903 /* The GNU C library defines this for functions which it implements
7904 to always fail with ENOSYS. Some functions are actually named
7905 something starting with __ and the normal name is an alias. */
7906 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7913 return bind_textdomain_codeset ();
7918 rm -f conftest.$ac_objext conftest$ac_exeext
7919 if { (ac_try="$ac_link"
7921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7922 *) ac_try_echo=$ac_try;;
7924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7925 (eval "$ac_link") 2>conftest.er1
7927 grep -v '^ *+' conftest.er1 >conftest.err
7929 cat conftest.err >&5
7930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); } && {
7932 test -z "$ac_c_werror_flag" ||
7933 test ! -s conftest.err
7934 } && test -s conftest$ac_exeext &&
7935 $as_test_x conftest$ac_exeext; then
7936 ac_cv_func_bind_textdomain_codeset=yes
7938 echo "$as_me: failed program was:" >&5
7939 sed 's/^/| /' conftest.$ac_ext >&5
7941 ac_cv_func_bind_textdomain_codeset=no
7944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7945 conftest$ac_exeext conftest.$ac_ext
7947 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7948 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
7949 if test $ac_cv_func_bind_textdomain_codeset = yes; then
7965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7966 conftest$ac_exeext conftest.$ac_ext
7967 LIBS="$glib_save_LIBS"
7970 gt_cv_have_gettext=no
7978 if test "$gt_cv_have_gettext" = "yes" ; then
7980 cat >>confdefs.h <<\_ACEOF
7981 #define ENABLE_NLS 1
7986 if test "$XGETTEXT" != ":"; then
7987 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7990 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7991 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
7996 # We need to process the po/ directory.
7999 ac_config_commands="$ac_config_commands default-1"
8002 for lang in $ALL_LINGUAS; do
8003 GMOFILES="$GMOFILES $lang.gmo"
8004 POFILES="$POFILES $lang.po"
8019 if test "$gt_cv_have_gettext" = "yes"; then
8020 if test "x$ALL_LINGUAS" = "x"; then
8023 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8024 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
8026 for presentlang in $ALL_LINGUAS; do
8028 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
8029 desiredlanguages="$LINGUAS"
8031 desiredlanguages="$ALL_LINGUAS"
8033 for desiredlang in $desiredlanguages; do
8034 # Use the presentlang catalog if desiredlang is
8035 # a. equal to presentlang, or
8036 # b. a variant of presentlang (because in this case,
8037 # presentlang can be used as a fallback for messages
8038 # which are not translated in the desiredlang catalog).
8039 case "$desiredlang" in
8040 "$presentlang"*) useit=yes;;
8043 if test $useit = yes; then
8044 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
8047 LINGUAS=$NEW_LINGUAS
8048 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
8049 echo "${ECHO_T}$LINGUAS" >&6; }
8052 if test -n "$LINGUAS"; then
8053 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
8058 if test -n "$ac_aux_dir"; then
8059 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
8061 if test -z "$MKINSTALLDIRS"; then
8062 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
8066 test -d po || mkdir po
8067 if test "x$srcdir" != "x."; then
8068 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8069 posrcprefix="$srcdir/"
8071 posrcprefix="../$srcdir/"
8077 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8078 < $srcdir/po/POTFILES.in > po/POTFILES
8081 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in test/Makefile"
8083 cat >confcache <<\_ACEOF
8084 # This file is a shell script that caches the results of configure
8085 # tests run on this system so they can be shared between configure
8086 # scripts and configure runs, see configure's option --config-cache.
8087 # It is not useful on other systems. If it contains results you don't
8088 # want to keep, you may remove or edit it.
8090 # config.status only pays attention to the cache file if you give it
8091 # the --recheck option to rerun configure.
8093 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8094 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8099 # The following way of writing the cache mishandles newlines in values,
8100 # but we know of no workaround that is simple, portable, and efficient.
8101 # So, we kill variables containing newlines.
8102 # Ultrix sh set writes to stderr and can't be redirected directly,
8103 # and sets the high bit in the cache file unless we assign to the vars.
8105 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8106 eval ac_val=\$$ac_var
8110 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8111 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8114 _ | IFS | as_nl) ;; #(
8115 *) $as_unset $ac_var ;;
8121 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8122 *${as_nl}ac_space=\ *)
8123 # `set' does not quote correctly, so add quotes (double-quote
8124 # substitution turns \\\\ into \\, and sed turns \\ into \).
8127 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8130 # `set' quotes correctly as required by POSIX, so do not add quotes.
8131 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8140 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8142 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8144 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8145 if test -w "$cache_file"; then
8146 test "x$cache_file" != "x/dev/null" &&
8147 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8148 echo "$as_me: updating cache $cache_file" >&6;}
8149 cat confcache >$cache_file
8151 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8152 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8157 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8158 # Let make expand exec_prefix.
8159 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8161 DEFS=-DHAVE_CONFIG_H
8165 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8166 # 1. Remove the extension, and $U if already installed.
8167 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8168 ac_i=`echo "$ac_i" | sed "$ac_script"`
8169 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8170 # will be set to the directory where LIBOBJS objects are built.
8171 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8172 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8176 LTLIBOBJS=$ac_ltlibobjs
8179 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8180 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8181 Usually this means the macro was only invoked conditionally." >&5
8182 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8183 Usually this means the macro was only invoked conditionally." >&2;}
8184 { (exit 1); exit 1; }; }
8186 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8187 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8188 Usually this means the macro was only invoked conditionally." >&5
8189 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8190 Usually this means the macro was only invoked conditionally." >&2;}
8191 { (exit 1); exit 1; }; }
8193 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8194 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8195 Usually this means the macro was only invoked conditionally." >&5
8196 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8197 Usually this means the macro was only invoked conditionally." >&2;}
8198 { (exit 1); exit 1; }; }
8200 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8201 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8202 Usually this means the macro was only invoked conditionally." >&5
8203 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8204 Usually this means the macro was only invoked conditionally." >&2;}
8205 { (exit 1); exit 1; }; }
8207 if test -z "${GUI_CARBON_TRUE}" && test -z "${GUI_CARBON_FALSE}"; then
8208 { { echo "$as_me:$LINENO: error: conditional \"GUI_CARBON\" was never defined.
8209 Usually this means the macro was only invoked conditionally." >&5
8210 echo "$as_me: error: conditional \"GUI_CARBON\" was never defined.
8211 Usually this means the macro was only invoked conditionally." >&2;}
8212 { (exit 1); exit 1; }; }
8214 if test -z "${GUI_GTK_TRUE}" && test -z "${GUI_GTK_FALSE}"; then
8215 { { echo "$as_me:$LINENO: error: conditional \"GUI_GTK\" was never defined.
8216 Usually this means the macro was only invoked conditionally." >&5
8217 echo "$as_me: error: conditional \"GUI_GTK\" was never defined.
8218 Usually this means the macro was only invoked conditionally." >&2;}
8219 { (exit 1); exit 1; }; }
8221 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
8222 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
8223 Usually this means the macro was only invoked conditionally." >&5
8224 echo "$as_me: error: conditional \"BUILD_SH4X86\" was never defined.
8225 Usually this means the macro was only invoked conditionally." >&2;}
8226 { (exit 1); exit 1; }; }
8228 if test -z "${BUILD_X86_64_TRUE}" && test -z "${BUILD_X86_64_FALSE}"; then
8229 { { echo "$as_me:$LINENO: error: conditional \"BUILD_X86_64\" was never defined.
8230 Usually this means the macro was only invoked conditionally." >&5
8231 echo "$as_me: error: conditional \"BUILD_X86_64\" was never defined.
8232 Usually this means the macro was only invoked conditionally." >&2;}
8233 { (exit 1); exit 1; }; }
8235 if test -z "${AUDIO_ESOUND_TRUE}" && test -z "${AUDIO_ESOUND_FALSE}"; then
8236 { { echo "$as_me:$LINENO: error: conditional \"AUDIO_ESOUND\" was never defined.
8237 Usually this means the macro was only invoked conditionally." >&5
8238 echo "$as_me: error: conditional \"AUDIO_ESOUND\" was never defined.
8239 Usually this means the macro was only invoked conditionally." >&2;}
8240 { (exit 1); exit 1; }; }
8242 if test -z "${CDROM_LINUX_TRUE}" && test -z "${CDROM_LINUX_FALSE}"; then
8243 { { echo "$as_me:$LINENO: error: conditional \"CDROM_LINUX\" was never defined.
8244 Usually this means the macro was only invoked conditionally." >&5
8245 echo "$as_me: error: conditional \"CDROM_LINUX\" was never defined.
8246 Usually this means the macro was only invoked conditionally." >&2;}
8247 { (exit 1); exit 1; }; }
8249 if test -z "${JOY_LINUX_TRUE}" && test -z "${JOY_LINUX_FALSE}"; then
8250 { { echo "$as_me:$LINENO: error: conditional \"JOY_LINUX\" was never defined.
8251 Usually this means the macro was only invoked conditionally." >&5
8252 echo "$as_me: error: conditional \"JOY_LINUX\" was never defined.
8253 Usually this means the macro was only invoked conditionally." >&2;}
8254 { (exit 1); exit 1; }; }
8256 if test -z "${BUILD_SYSTEST_TRUE}" && test -z "${BUILD_SYSTEST_FALSE}"; then
8257 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYSTEST\" was never defined.
8258 Usually this means the macro was only invoked conditionally." >&5
8259 echo "$as_me: error: conditional \"BUILD_SYSTEST\" was never defined.
8260 Usually this means the macro was only invoked conditionally." >&2;}
8261 { (exit 1); exit 1; }; }
8263 if test -z "${BUILD_ARMTEST_TRUE}" && test -z "${BUILD_ARMTEST_FALSE}"; then
8264 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ARMTEST\" was never defined.
8265 Usually this means the macro was only invoked conditionally." >&5
8266 echo "$as_me: error: conditional \"BUILD_ARMTEST\" was never defined.
8267 Usually this means the macro was only invoked conditionally." >&2;}
8268 { (exit 1); exit 1; }; }
8271 : ${CONFIG_STATUS=./config.status}
8272 ac_clean_files_save=$ac_clean_files
8273 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8274 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8275 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8276 cat >$CONFIG_STATUS <<_ACEOF
8278 # Generated by $as_me.
8279 # Run this file to recreate the current configuration.
8280 # Compiler output produced by configure, useful for debugging
8281 # configure, is in config.log if it exists.
8286 SHELL=\${CONFIG_SHELL-$SHELL}
8289 cat >>$CONFIG_STATUS <<\_ACEOF
8290 ## --------------------- ##
8291 ## M4sh Initialization. ##
8292 ## --------------------- ##
8294 # Be more Bourne compatible
8295 DUALCASE=1; export DUALCASE # for MKS sh
8296 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8299 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8300 # is contrary to our usage. Disable this feature.
8301 alias -g '${1+"$@"}'='"$@"'
8302 setopt NO_GLOB_SUBST
8304 case `(set -o) 2>/dev/null` in
8305 *posix*) set -o posix ;;
8314 # Avoid depending upon Character Ranges.
8315 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8316 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8317 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8318 as_cr_digits='0123456789'
8319 as_cr_alnum=$as_cr_Letters$as_cr_digits
8321 # The user is always right.
8322 if test "${PATH_SEPARATOR+set}" != set; then
8323 echo "#! /bin/sh" >conf$$.sh
8324 echo "exit 0" >>conf$$.sh
8326 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8334 # Support unset when possible.
8335 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8343 # We need space, tab and new line, in precisely that order. Quoting is
8344 # there to prevent editors from complaining about space-tab.
8345 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8346 # splitting by setting IFS to empty value.)
8351 # Find who we are. Look in the path if we contain no directory separator.
8353 *[\\/]* ) as_myself=$0 ;;
8354 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8358 test -z "$as_dir" && as_dir=.
8359 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8365 # We did not find ourselves, most probably we were run as `sh COMMAND'
8366 # in which case we are not to be found in the path.
8367 if test "x$as_myself" = x; then
8370 if test ! -f "$as_myself"; then
8371 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8372 { (exit 1); exit 1; }
8375 # Work around bugs in pre-3.0 UWIN ksh.
8376 for as_var in ENV MAIL MAILPATH
8377 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8385 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8386 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8387 LC_TELEPHONE LC_TIME
8389 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8390 eval $as_var=C; export $as_var
8392 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8396 # Required to use basename.
8397 if expr a : '\(a\)' >/dev/null 2>&1 &&
8398 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8404 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8405 as_basename=basename
8411 # Name of the executable.
8412 as_me=`$as_basename -- "$0" ||
8413 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8414 X"$0" : 'X\(//\)$' \| \
8415 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8417 sed '/^.*\/\([^/][^/]*\)\/*$/{
8438 test "x$as_lineno_1" != "x$as_lineno_2" &&
8439 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8441 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8442 # uniformly replaced by the line number. The first 'sed' inserts a
8443 # line-number line after each line using $LINENO; the second 'sed'
8444 # does the real work. The second script uses 'N' to pair each
8445 # line-number line with the line containing $LINENO, and appends
8446 # trailing '-' during substitution so that $LINENO is not a special
8448 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8449 # scripts with optimization help from Paolo Bonzini. Blame Lee
8450 # E. McMahon (1931-1989) for sed's syntax. :-)
8462 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8466 chmod +x "$as_me.lineno" ||
8467 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8468 { (exit 1); exit 1; }; }
8470 # Don't try to exec as it changes $[0], causing all sort of problems
8471 # (the dirname of $[0] is not the place where we might find the
8472 # original and so on. Autoconf is especially sensitive to this).
8474 # Exit status is that of the last command.
8479 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8485 ECHO_C= ECHO_N= ECHO_T=
8488 case `echo 'x\c'` in
8489 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8496 if expr a : '\(a\)' >/dev/null 2>&1 &&
8497 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8503 rm -f conf$$ conf$$.exe conf$$.file
8504 if test -d conf$$.dir; then
8505 rm -f conf$$.dir/conf$$.file
8511 if ln -s conf$$.file conf$$ 2>/dev/null; then
8513 # ... but there are two gotchas:
8514 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8515 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8516 # In both cases, we have to default to `cp -p'.
8517 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8519 elif ln conf$$.file conf$$ 2>/dev/null; then
8524 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8525 rmdir conf$$.dir 2>/dev/null
8527 if mkdir -p . 2>/dev/null; then
8530 test -d ./-p && rmdir ./-p
8534 if test -x / >/dev/null 2>&1; then
8537 if ls -dL / >/dev/null 2>&1; then
8544 if test -d "$1"; then
8550 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8551 ???[sx]*):;;*)false;;esac;fi
8555 as_executable_p=$as_test_x
8557 # Sed expression to map a string onto a valid CPP name.
8558 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8560 # Sed expression to map a string onto a valid variable name.
8561 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8566 # Save the log message, to keep $[0] and so on meaningful, and to
8567 # report actual input values of CONFIG_FILES etc. instead of their
8568 # values after options handling.
8570 This file was extended by $as_me, which was
8571 generated by GNU Autoconf 2.61. Invocation command line was
8573 CONFIG_FILES = $CONFIG_FILES
8574 CONFIG_HEADERS = $CONFIG_HEADERS
8575 CONFIG_LINKS = $CONFIG_LINKS
8576 CONFIG_COMMANDS = $CONFIG_COMMANDS
8579 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8584 cat >>$CONFIG_STATUS <<_ACEOF
8585 # Files that config.status was made for.
8586 config_files="$ac_config_files"
8587 config_headers="$ac_config_headers"
8588 config_commands="$ac_config_commands"
8592 cat >>$CONFIG_STATUS <<\_ACEOF
8594 \`$as_me' instantiates files from templates according to the
8595 current configuration.
8597 Usage: $0 [OPTIONS] [FILE]...
8599 -h, --help print this help, then exit
8600 -V, --version print version number and configuration settings, then exit
8601 -q, --quiet do not print progress messages
8602 -d, --debug don't remove temporary files
8603 --recheck update $as_me by reconfiguring in the same conditions
8604 --file=FILE[:TEMPLATE]
8605 instantiate the configuration file FILE
8606 --header=FILE[:TEMPLATE]
8607 instantiate the configuration header FILE
8609 Configuration files:
8612 Configuration headers:
8615 Configuration commands:
8618 Report bugs to <bug-autoconf@gnu.org>."
8621 cat >>$CONFIG_STATUS <<_ACEOF
8624 configured by $0, generated by GNU Autoconf 2.61,
8625 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8627 Copyright (C) 2006 Free Software Foundation, Inc.
8628 This config.status script is free software; the Free Software Foundation
8629 gives unlimited permission to copy, distribute and modify it."
8636 cat >>$CONFIG_STATUS <<\_ACEOF
8637 # If no file are specified by the user, then we need to provide default
8638 # value. By we need to know if files were specified by the user.
8644 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8645 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8656 # Handling of the options.
8657 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8659 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8660 echo "$ac_cs_version"; exit ;;
8661 --debug | --debu | --deb | --de | --d | -d )
8663 --file | --fil | --fi | --f )
8665 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8666 ac_need_defaults=false;;
8667 --header | --heade | --head | --hea )
8669 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8670 ac_need_defaults=false;;
8672 # Conflict between --help and --header
8673 { echo "$as_me: error: ambiguous option: $1
8674 Try \`$0 --help' for more information." >&2
8675 { (exit 1); exit 1; }; };;
8676 --help | --hel | -h )
8677 echo "$ac_cs_usage"; exit ;;
8678 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8679 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8683 -*) { echo "$as_me: error: unrecognized option: $1
8684 Try \`$0 --help' for more information." >&2
8685 { (exit 1); exit 1; }; } ;;
8687 *) ac_config_targets="$ac_config_targets $1"
8688 ac_need_defaults=false ;;
8694 ac_configure_extra_args=
8696 if $ac_cs_silent; then
8698 ac_configure_extra_args="$ac_configure_extra_args --silent"
8702 cat >>$CONFIG_STATUS <<_ACEOF
8703 if \$ac_cs_recheck; then
8704 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8707 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8711 cat >>$CONFIG_STATUS <<\_ACEOF
8715 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8716 ## Running $as_me. ##
8722 cat >>$CONFIG_STATUS <<_ACEOF
8726 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8731 cat >>$CONFIG_STATUS <<\_ACEOF
8733 # Handling of arguments.
8734 for ac_config_target in $ac_config_targets
8736 case $ac_config_target in
8737 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8738 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8739 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8740 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8741 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8742 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
8743 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
8745 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8746 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8747 { (exit 1); exit 1; }; };;
8752 # If the user did not use the arguments to specify the items to instantiate,
8753 # then the envvar interface is used. Set only those that are not.
8754 # We use the long form for the default assignment because of an extremely
8755 # bizarre bug on SunOS 4.1.3.
8756 if $ac_need_defaults; then
8757 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8758 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8759 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8762 # Have a temporary directory for convenience. Make it in the build tree
8763 # simply because there is no reason against having it here, and in addition,
8764 # creating and moving files from /tmp can sometimes cause problems.
8765 # Hook for its removal unless debugging.
8766 # Note that there is a small window in which the directory will not be cleaned:
8767 # after its creation but before its name has been assigned to `$tmp'.
8771 trap 'exit_status=$?
8772 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8774 trap '{ (exit 1); exit 1; }' 1 2 13 15
8776 # Create a (secure) tmp directory for tmp files.
8779 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8780 test -n "$tmp" && test -d "$tmp"
8783 tmp=./conf$$-$RANDOM
8784 (umask 077 && mkdir "$tmp")
8787 echo "$me: cannot create a temporary directory in ." >&2
8788 { (exit 1); exit 1; }
8792 # Set up the sed scripts for CONFIG_FILES section.
8795 # No need to generate the scripts if there are no CONFIG_FILES.
8796 # This happens for instance when ./config.status config.h
8797 if test -n "$CONFIG_FILES"; then
8804 for ac_last_try in false false false false false :; do
8805 cat >conf$$subs.sed <<_ACEOF
8806 SHELL!$SHELL$ac_delim
8807 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
8808 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
8809 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
8810 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
8811 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
8812 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
8813 exec_prefix!$exec_prefix$ac_delim
8814 prefix!$prefix$ac_delim
8815 program_transform_name!$program_transform_name$ac_delim
8816 bindir!$bindir$ac_delim
8817 sbindir!$sbindir$ac_delim
8818 libexecdir!$libexecdir$ac_delim
8819 datarootdir!$datarootdir$ac_delim
8820 datadir!$datadir$ac_delim
8821 sysconfdir!$sysconfdir$ac_delim
8822 sharedstatedir!$sharedstatedir$ac_delim
8823 localstatedir!$localstatedir$ac_delim
8824 includedir!$includedir$ac_delim
8825 oldincludedir!$oldincludedir$ac_delim
8826 docdir!$docdir$ac_delim
8827 infodir!$infodir$ac_delim
8828 htmldir!$htmldir$ac_delim
8829 dvidir!$dvidir$ac_delim
8830 pdfdir!$pdfdir$ac_delim
8831 psdir!$psdir$ac_delim
8832 libdir!$libdir$ac_delim
8833 localedir!$localedir$ac_delim
8834 mandir!$mandir$ac_delim
8836 ECHO_C!$ECHO_C$ac_delim
8837 ECHO_N!$ECHO_N$ac_delim
8838 ECHO_T!$ECHO_T$ac_delim
8840 build_alias!$build_alias$ac_delim
8841 host_alias!$host_alias$ac_delim
8842 target_alias!$target_alias$ac_delim
8843 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
8844 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
8845 INSTALL_DATA!$INSTALL_DATA$ac_delim
8846 CYGPATH_W!$CYGPATH_W$ac_delim
8847 PACKAGE!$PACKAGE$ac_delim
8848 VERSION!$VERSION$ac_delim
8849 ACLOCAL!$ACLOCAL$ac_delim
8850 AUTOCONF!$AUTOCONF$ac_delim
8851 AUTOMAKE!$AUTOMAKE$ac_delim
8852 AUTOHEADER!$AUTOHEADER$ac_delim
8853 MAKEINFO!$MAKEINFO$ac_delim
8854 AMTAR!$AMTAR$ac_delim
8855 install_sh!$install_sh$ac_delim
8856 STRIP!$STRIP$ac_delim
8857 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
8859 SET_MAKE!$SET_MAKE$ac_delim
8860 am__leading_dot!$am__leading_dot$ac_delim
8861 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
8862 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
8863 MAINT!$MAINT$ac_delim
8865 CFLAGS!$CFLAGS$ac_delim
8866 LDFLAGS!$LDFLAGS$ac_delim
8867 CPPFLAGS!$CPPFLAGS$ac_delim
8868 ac_ct_CC!$ac_ct_CC$ac_delim
8869 EXEEXT!$EXEEXT$ac_delim
8870 OBJEXT!$OBJEXT$ac_delim
8871 DEPDIR!$DEPDIR$ac_delim
8872 am__include!$am__include$ac_delim
8873 am__quote!$am__quote$ac_delim
8874 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
8875 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
8876 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
8877 CCDEPMODE!$CCDEPMODE$ac_delim
8878 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
8879 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
8881 CCASFLAGS!$CCASFLAGS$ac_delim
8884 EGREP!$EGREP$ac_delim
8885 build!$build$ac_delim
8886 build_cpu!$build_cpu$ac_delim
8887 build_vendor!$build_vendor$ac_delim
8888 build_os!$build_os$ac_delim
8890 host_cpu!$host_cpu$ac_delim
8891 host_vendor!$host_vendor$ac_delim
8892 host_os!$host_os$ac_delim
8893 PKG_CONFIG!$PKG_CONFIG$ac_delim
8894 LIBPNG_CFLAGS!$LIBPNG_CFLAGS$ac_delim
8895 LIBPNG_LIBS!$LIBPNG_LIBS$ac_delim
8896 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
8897 GTK_LIBS!$GTK_LIBS$ac_delim
8898 GUI_CARBON_TRUE!$GUI_CARBON_TRUE$ac_delim
8899 GUI_CARBON_FALSE!$GUI_CARBON_FALSE$ac_delim
8900 GUI_GTK_TRUE!$GUI_GTK_TRUE$ac_delim
8901 GUI_GTK_FALSE!$GUI_GTK_FALSE$ac_delim
8902 BUILD_SH4X86_TRUE!$BUILD_SH4X86_TRUE$ac_delim
8905 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
8907 elif $ac_last_try; then
8908 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8909 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8910 { (exit 1); exit 1; }; }
8912 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8916 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8917 if test -n "$ac_eof"; then
8918 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8919 ac_eof=`expr $ac_eof + 1`
8922 cat >>$CONFIG_STATUS <<_ACEOF
8923 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8924 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8927 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8928 s/^/s,@/; s/!/@,|#_!!_#|/
8931 s/'"$ac_delim"'$/,g/; t
8933 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8934 ' >>$CONFIG_STATUS <conf$$subs.sed
8935 rm -f conf$$subs.sed
8936 cat >>$CONFIG_STATUS <<_ACEOF
8942 for ac_last_try in false false false false false :; do
8943 cat >conf$$subs.sed <<_ACEOF
8944 BUILD_SH4X86_FALSE!$BUILD_SH4X86_FALSE$ac_delim
8945 BUILD_X86_64_TRUE!$BUILD_X86_64_TRUE$ac_delim
8946 BUILD_X86_64_FALSE!$BUILD_X86_64_FALSE$ac_delim
8947 ESOUND_CFLAGS!$ESOUND_CFLAGS$ac_delim
8948 ESOUND_LIBS!$ESOUND_LIBS$ac_delim
8949 AUDIO_ESOUND_TRUE!$AUDIO_ESOUND_TRUE$ac_delim
8950 AUDIO_ESOUND_FALSE!$AUDIO_ESOUND_FALSE$ac_delim
8951 CDROM_LINUX_TRUE!$CDROM_LINUX_TRUE$ac_delim
8952 CDROM_LINUX_FALSE!$CDROM_LINUX_FALSE$ac_delim
8953 JOY_LINUX_TRUE!$JOY_LINUX_TRUE$ac_delim
8954 JOY_LINUX_FALSE!$JOY_LINUX_FALSE$ac_delim
8957 SHOBJCOPY!$SHOBJCOPY$ac_delim
8958 ARMCC!$ARMCC$ac_delim
8959 ARMLD!$ARMLD$ac_delim
8960 ARMOBJCOPY!$ARMOBJCOPY$ac_delim
8961 BUILD_SYSTEST_TRUE!$BUILD_SYSTEST_TRUE$ac_delim
8962 BUILD_SYSTEST_FALSE!$BUILD_SYSTEST_FALSE$ac_delim
8963 BUILD_ARMTEST_TRUE!$BUILD_ARMTEST_TRUE$ac_delim
8964 BUILD_ARMTEST_FALSE!$BUILD_ARMTEST_FALSE$ac_delim
8965 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
8966 USE_NLS!$USE_NLS$ac_delim
8967 MSGFMT!$MSGFMT$ac_delim
8968 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
8969 GMSGFMT!$GMSGFMT$ac_delim
8970 XGETTEXT!$XGETTEXT$ac_delim
8971 CATALOGS!$CATALOGS$ac_delim
8972 CATOBJEXT!$CATOBJEXT$ac_delim
8973 DATADIRNAME!$DATADIRNAME$ac_delim
8974 GMOFILES!$GMOFILES$ac_delim
8975 INSTOBJEXT!$INSTOBJEXT$ac_delim
8976 INTLLIBS!$INTLLIBS$ac_delim
8977 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
8978 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
8979 POFILES!$POFILES$ac_delim
8980 POSUB!$POSUB$ac_delim
8981 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
8982 LIBOBJS!$LIBOBJS$ac_delim
8983 LTLIBOBJS!$LTLIBOBJS$ac_delim
8986 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 40; then
8988 elif $ac_last_try; then
8989 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8990 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8991 { (exit 1); exit 1; }; }
8993 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8997 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8998 if test -n "$ac_eof"; then
8999 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
9000 ac_eof=`expr $ac_eof + 1`
9003 cat >>$CONFIG_STATUS <<_ACEOF
9004 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
9005 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
9008 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9009 s/^/s,@/; s/!/@,|#_!!_#|/
9012 s/'"$ac_delim"'$/,g/; t
9014 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9015 ' >>$CONFIG_STATUS <conf$$subs.sed
9016 rm -f conf$$subs.sed
9017 cat >>$CONFIG_STATUS <<_ACEOF
9024 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9025 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9026 # trailing colons and then remove the whole line if VPATH becomes empty
9027 # (actually we leave an empty line to preserve line numbers).
9028 if test "x$srcdir" = x.; then
9029 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9033 s/^\([^=]*=[ ]*\):*/\1/
9039 cat >>$CONFIG_STATUS <<\_ACEOF
9040 fi # test -n "$CONFIG_FILES"
9043 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
9046 :[FHLC]) ac_mode=$ac_tag; continue;;
9048 case $ac_mode$ac_tag in
9050 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9051 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9052 { (exit 1); exit 1; }; };;
9053 :[FH]-) ac_tag=-:-;;
9054 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9071 -) ac_f="$tmp/stdin";;
9072 *) # Look for the file first in the build tree, then in the source tree
9073 # (if the path is not absolute). The absolute path cannot be DOS-style,
9074 # because $ac_f cannot contain `:'.
9078 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9080 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9081 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9082 { (exit 1); exit 1; }; };;
9084 ac_file_inputs="$ac_file_inputs $ac_f"
9087 # Let's still pretend it is `configure' which instantiates (i.e., don't
9088 # use $as_me), people would be surprised to read:
9089 # /* config.h. Generated by config.status. */
9090 configure_input="Generated from "`IFS=:
9091 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
9092 if test x"$ac_file" != x-; then
9093 configure_input="$ac_file. $configure_input"
9094 { echo "$as_me:$LINENO: creating $ac_file" >&5
9095 echo "$as_me: creating $ac_file" >&6;}
9099 *:-:* | *:-) cat >"$tmp/stdin";;
9104 ac_dir=`$as_dirname -- "$ac_file" ||
9105 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9106 X"$ac_file" : 'X\(//\)[^/]' \| \
9107 X"$ac_file" : 'X\(//\)$' \| \
9108 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9129 -*) as_dir=./$as_dir;;
9131 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9135 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9136 *) as_qdir=$as_dir;;
9138 as_dirs="'$as_qdir' $as_dirs"
9139 as_dir=`$as_dirname -- "$as_dir" ||
9140 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9141 X"$as_dir" : 'X\(//\)[^/]' \| \
9142 X"$as_dir" : 'X\(//\)$' \| \
9143 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9162 test -d "$as_dir" && break
9164 test -z "$as_dirs" || eval "mkdir $as_dirs"
9165 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9166 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9167 { (exit 1); exit 1; }; }; }
9171 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9173 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9174 # A ".." for each directory in $ac_dir_suffix.
9175 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9176 case $ac_top_builddir_sub in
9177 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9178 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9181 ac_abs_top_builddir=$ac_pwd
9182 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9183 # for backward compatibility:
9184 ac_top_builddir=$ac_top_build_prefix
9187 .) # We are building in place.
9189 ac_top_srcdir=$ac_top_builddir_sub
9190 ac_abs_top_srcdir=$ac_pwd ;;
9191 [\\/]* | ?:[\\/]* ) # Absolute name.
9192 ac_srcdir=$srcdir$ac_dir_suffix;
9193 ac_top_srcdir=$srcdir
9194 ac_abs_top_srcdir=$srcdir ;;
9196 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9197 ac_top_srcdir=$ac_top_build_prefix$srcdir
9198 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9200 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9210 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9211 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9215 cat >>$CONFIG_STATUS <<\_ACEOF
9216 # If the template does not know about datarootdir, expand it.
9217 # FIXME: This hack should be removed a few years after 2.60.
9218 ac_datarootdir_hack=; ac_datarootdir_seen=
9220 case `sed -n '/datarootdir/ {
9229 ' $ac_file_inputs` in
9230 *datarootdir*) ac_datarootdir_seen=yes;;
9231 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9232 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9233 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9235 cat >>$CONFIG_STATUS <<_ACEOF
9236 ac_datarootdir_hack='
9237 s&@datadir@&$datadir&g
9238 s&@docdir@&$docdir&g
9239 s&@infodir@&$infodir&g
9240 s&@localedir@&$localedir&g
9241 s&@mandir@&$mandir&g
9242 s&\\\${datarootdir}&$datarootdir&g' ;;
9246 # Neutralize VPATH when `$srcdir' = `.'.
9247 # Shell code in configure.ac might set extrasub.
9248 # FIXME: do we really want to maintain this feature?
9249 cat >>$CONFIG_STATUS <<_ACEOF
9253 cat >>$CONFIG_STATUS <<\_ACEOF
9255 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9256 s&@configure_input@&$configure_input&;t t
9257 s&@top_builddir@&$ac_top_builddir_sub&;t t
9258 s&@srcdir@&$ac_srcdir&;t t
9259 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9260 s&@top_srcdir@&$ac_top_srcdir&;t t
9261 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9262 s&@builddir@&$ac_builddir&;t t
9263 s&@abs_builddir@&$ac_abs_builddir&;t t
9264 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9265 s&@INSTALL@&$ac_INSTALL&;t t
9266 $ac_datarootdir_hack
9267 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
9269 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9270 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9271 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9272 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9273 which seems to be undefined. Please make sure it is defined." >&5
9274 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9275 which seems to be undefined. Please make sure it is defined." >&2;}
9279 -) cat "$tmp/out"; rm -f "$tmp/out";;
9280 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9289 # Transform confdefs.h into a sed script `conftest.defines', that
9290 # substitutes the proper values into config.h.in to produce config.h.
9291 rm -f conftest.defines conftest.tail
9292 # First, append a space to every undef/define line, to ease matching.
9293 echo 's/$/ /' >conftest.defines
9294 # Then, protect against being on the right side of a sed subst, or in
9295 # an unquoted here document, in config.status. If some macros were
9296 # called several times there might be several #defines for the same
9297 # symbol, which is useless. But do not sort them, since the last
9298 # AC_DEFINE must be honored.
9299 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9300 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9301 # NAME is the cpp macro being defined, VALUE is the value it is being given.
9302 # PARAMS is the parameter list in the macro definition--in most cases, it's
9303 # just an empty string.
9304 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
9305 ac_dB='\\)[ (].*,\\1define\\2'
9313 s/^[ ]*#[ ]*define[ ][ ]*//
9318 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9319 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9320 ' >>conftest.defines
9322 # Remove the space that was appended to ease matching.
9323 # Then replace #undef with comments. This is necessary, for
9324 # example, in the case of _POSIX_SOURCE, which is predefined and required
9325 # on some systems where configure will not decide to define it.
9326 # (The regexp can be short, since the line contains either #define or #undef.)
9328 s,^[ #]*u.*,/* & */,' >>conftest.defines
9330 # Break up conftest.defines:
9333 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9334 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9335 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9337 ac_in='$ac_file_inputs'
9338 ac_out='"$tmp/out1"'
9339 ac_nxt='"$tmp/out2"'
9343 # Write a here document:
9344 cat >>$CONFIG_STATUS <<_ACEOF
9345 # First, check the format of the line:
9346 cat >"\$tmp/defines.sed" <<\\CEOF
9347 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
9348 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
9352 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
9354 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9355 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
9356 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
9357 grep . conftest.tail >/dev/null || break
9358 rm -f conftest.defines
9359 mv conftest.tail conftest.defines
9361 rm -f conftest.defines conftest.tail
9363 echo "ac_result=$ac_in" >>$CONFIG_STATUS
9364 cat >>$CONFIG_STATUS <<\_ACEOF
9365 if test x"$ac_file" != x-; then
9366 echo "/* $configure_input */" >"$tmp/config.h"
9367 cat "$ac_result" >>"$tmp/config.h"
9368 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
9369 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9370 echo "$as_me: $ac_file is unchanged" >&6;}
9373 mv "$tmp/config.h" $ac_file
9376 echo "/* $configure_input */"
9380 # Compute $ac_file's index in $config_headers.
9382 for _am_header in $config_headers :; do
9384 $ac_file | $ac_file:* )
9387 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9390 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
9391 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9392 X$ac_file : 'X\(//\)[^/]' \| \
9393 X$ac_file : 'X\(//\)$' \| \
9394 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
9396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9412 s/.*/./; q'`/stamp-h$_am_stamp_count
9415 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
9416 echo "$as_me: executing $ac_file commands" >&6;}
9421 case $ac_file$ac_mode in
9422 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9423 # Strip MF so we end up with the name of the file.
9424 mf=`echo "$mf" | sed -e 's/:.*$//'`
9425 # Check whether this is an Automake generated Makefile or not.
9426 # We used to match only the files named `Makefile.in', but
9427 # some people rename them; so instead we look at the file content.
9428 # Grep'ing the first line is not enough: some people post-process
9429 # each Makefile.in and add a new line on top of each file to say so.
9430 # So let's grep whole file.
9431 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9432 dirpart=`$as_dirname -- "$mf" ||
9433 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9434 X"$mf" : 'X\(//\)[^/]' \| \
9435 X"$mf" : 'X\(//\)$' \| \
9436 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9458 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
9459 # Extract the definition of DEP_FILES from the Makefile without
9461 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
9462 test -z "$DEPDIR" && continue
9463 # When using ansi2knr, U may be empty or an underscore; expand it
9464 U=`sed -n -e '/^U = / s///p' < "$mf"`
9465 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
9466 # We invoke sed twice because it is the simplest approach to
9467 # changing $(DEPDIR) to its actual value in the expansion.
9468 for file in `sed -n -e '
9469 /^DEP_FILES = .*\\\\$/ {
9478 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
9479 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9480 # Make sure the directory exists.
9481 test -f "$dirpart/$file" && continue
9482 fdir=`$as_dirname -- "$file" ||
9483 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9484 X"$file" : 'X\(//\)[^/]' \| \
9485 X"$file" : 'X\(//\)$' \| \
9486 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9505 { as_dir=$dirpart/$fdir
9507 -*) as_dir=./$as_dir;;
9509 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9513 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9514 *) as_qdir=$as_dir;;
9516 as_dirs="'$as_qdir' $as_dirs"
9517 as_dir=`$as_dirname -- "$as_dir" ||
9518 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9519 X"$as_dir" : 'X\(//\)[^/]' \| \
9520 X"$as_dir" : 'X\(//\)$' \| \
9521 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9540 test -d "$as_dir" && break
9542 test -z "$as_dirs" || eval "mkdir $as_dirs"
9543 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9544 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9545 { (exit 1); exit 1; }; }; }
9546 # echo "creating $dirpart/$file"
9547 echo '# dummy' > "$dirpart/$file"
9551 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
9552 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
9559 { (exit 0); exit 0; }
9561 chmod +x $CONFIG_STATUS
9562 ac_clean_files=$ac_clean_files_save
9565 # configure is writing to config.log, and then calls config.status.
9566 # config.status does its own redirection, appending to config.log.
9567 # Unfortunately, on DOS this fails, as config.log is still kept open
9568 # by configure, so config.status won't be able to write to it; its
9569 # output is simply discarded. So we exec the FD to /dev/null,
9570 # effectively closing config.log, so it can be properly (re)opened and
9571 # appended to by config.status. When coming back to configure, we
9572 # need to make the FD available again.
9573 if test "$no_create" != yes; then
9575 ac_config_status_args=
9576 test "$silent" = yes &&
9577 ac_config_status_args="$ac_config_status_args --quiet"
9579 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9581 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9582 # would make configure fail if this is the last instruction.
9583 $ac_cs_success || { (exit 1); exit 1; }
.