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
752 ac_precious_vars='build_alias
770 # Initialize some variables set by options.
772 ac_init_version=false
773 # The variables have the same names as the options, with
774 # dashes changed to underlines.
782 program_transform_name=s,x,x,
790 # Installation directory options.
791 # These are left unexpanded so users can "make install exec_prefix=/foo"
792 # and all the variables that are supposed to be based on exec_prefix
793 # by default will actually change.
794 # Use braces instead of parens because sh, perl, etc. also accept them.
795 # (The list follows the same order as the GNU Coding Standards.)
796 bindir='${exec_prefix}/bin'
797 sbindir='${exec_prefix}/sbin'
798 libexecdir='${exec_prefix}/libexec'
799 datarootdir='${prefix}/share'
800 datadir='${datarootdir}'
801 sysconfdir='${prefix}/etc'
802 sharedstatedir='${prefix}/com'
803 localstatedir='${prefix}/var'
804 includedir='${prefix}/include'
805 oldincludedir='/usr/include'
806 docdir='${datarootdir}/doc/${PACKAGE}'
807 infodir='${datarootdir}/info'
812 libdir='${exec_prefix}/lib'
813 localedir='${datarootdir}/locale'
814 mandir='${datarootdir}/man'
820 # If the previous option needs an argument, assign it.
821 if test -n "$ac_prev"; then
822 eval $ac_prev=\$ac_option
828 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
832 # Accept the important Cygnus configure options, so we can diagnose typos.
834 case $ac_dashdash$ac_option in
838 -bindir | --bindir | --bindi | --bind | --bin | --bi)
840 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
843 -build | --build | --buil | --bui | --bu)
844 ac_prev=build_alias ;;
845 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
846 build_alias=$ac_optarg ;;
848 -cache-file | --cache-file | --cache-fil | --cache-fi \
849 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
850 ac_prev=cache_file ;;
851 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
852 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
853 cache_file=$ac_optarg ;;
856 cache_file=config.cache ;;
858 -datadir | --datadir | --datadi | --datad)
860 -datadir=* | --datadir=* | --datadi=* | --datad=*)
861 datadir=$ac_optarg ;;
863 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
864 | --dataroo | --dataro | --datar)
865 ac_prev=datarootdir ;;
866 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
867 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
868 datarootdir=$ac_optarg ;;
870 -disable-* | --disable-*)
871 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
872 # Reject names that are not valid shell variable names.
873 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
874 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
875 { (exit 1); exit 1; }; }
876 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
877 eval enable_$ac_feature=no ;;
879 -docdir | --docdir | --docdi | --doc | --do)
881 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
884 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
886 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
889 -enable-* | --enable-*)
890 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
891 # Reject names that are not valid shell variable names.
892 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
893 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
894 { (exit 1); exit 1; }; }
895 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
896 eval enable_$ac_feature=\$ac_optarg ;;
898 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
899 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
900 | --exec | --exe | --ex)
901 ac_prev=exec_prefix ;;
902 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
903 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
904 | --exec=* | --exe=* | --ex=*)
905 exec_prefix=$ac_optarg ;;
907 -gas | --gas | --ga | --g)
908 # Obsolete; use --with-gas.
911 -help | --help | --hel | --he | -h)
913 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
914 ac_init_help=recursive ;;
915 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
916 ac_init_help=short ;;
918 -host | --host | --hos | --ho)
919 ac_prev=host_alias ;;
920 -host=* | --host=* | --hos=* | --ho=*)
921 host_alias=$ac_optarg ;;
923 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
925 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
927 htmldir=$ac_optarg ;;
929 -includedir | --includedir | --includedi | --included | --include \
930 | --includ | --inclu | --incl | --inc)
931 ac_prev=includedir ;;
932 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
933 | --includ=* | --inclu=* | --incl=* | --inc=*)
934 includedir=$ac_optarg ;;
936 -infodir | --infodir | --infodi | --infod | --info | --inf)
938 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
939 infodir=$ac_optarg ;;
941 -libdir | --libdir | --libdi | --libd)
943 -libdir=* | --libdir=* | --libdi=* | --libd=*)
946 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
947 | --libexe | --libex | --libe)
948 ac_prev=libexecdir ;;
949 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
950 | --libexe=* | --libex=* | --libe=*)
951 libexecdir=$ac_optarg ;;
953 -localedir | --localedir | --localedi | --localed | --locale)
955 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
956 localedir=$ac_optarg ;;
958 -localstatedir | --localstatedir | --localstatedi | --localstated \
959 | --localstate | --localstat | --localsta | --localst | --locals)
960 ac_prev=localstatedir ;;
961 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
962 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
963 localstatedir=$ac_optarg ;;
965 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
967 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
971 # Obsolete; use --without-fp.
974 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
975 | --no-cr | --no-c | -n)
978 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
979 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
982 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
983 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
984 | --oldin | --oldi | --old | --ol | --o)
985 ac_prev=oldincludedir ;;
986 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
987 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
988 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
989 oldincludedir=$ac_optarg ;;
991 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
993 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
996 -program-prefix | --program-prefix | --program-prefi | --program-pref \
997 | --program-pre | --program-pr | --program-p)
998 ac_prev=program_prefix ;;
999 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1000 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1001 program_prefix=$ac_optarg ;;
1003 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1004 | --program-suf | --program-su | --program-s)
1005 ac_prev=program_suffix ;;
1006 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1007 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1008 program_suffix=$ac_optarg ;;
1010 -program-transform-name | --program-transform-name \
1011 | --program-transform-nam | --program-transform-na \
1012 | --program-transform-n | --program-transform- \
1013 | --program-transform | --program-transfor \
1014 | --program-transfo | --program-transf \
1015 | --program-trans | --program-tran \
1016 | --progr-tra | --program-tr | --program-t)
1017 ac_prev=program_transform_name ;;
1018 -program-transform-name=* | --program-transform-name=* \
1019 | --program-transform-nam=* | --program-transform-na=* \
1020 | --program-transform-n=* | --program-transform-=* \
1021 | --program-transform=* | --program-transfor=* \
1022 | --program-transfo=* | --program-transf=* \
1023 | --program-trans=* | --program-tran=* \
1024 | --progr-tra=* | --program-tr=* | --program-t=*)
1025 program_transform_name=$ac_optarg ;;
1027 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1029 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1030 pdfdir=$ac_optarg ;;
1032 -psdir | --psdir | --psdi | --psd | --ps)
1034 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1037 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038 | -silent | --silent | --silen | --sile | --sil)
1041 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1043 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1045 sbindir=$ac_optarg ;;
1047 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1048 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1049 | --sharedst | --shareds | --shared | --share | --shar \
1051 ac_prev=sharedstatedir ;;
1052 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1053 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1054 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1056 sharedstatedir=$ac_optarg ;;
1058 -site | --site | --sit)
1060 -site=* | --site=* | --sit=*)
1063 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1065 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1066 srcdir=$ac_optarg ;;
1068 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1069 | --syscon | --sysco | --sysc | --sys | --sy)
1070 ac_prev=sysconfdir ;;
1071 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1072 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1073 sysconfdir=$ac_optarg ;;
1075 -target | --target | --targe | --targ | --tar | --ta | --t)
1076 ac_prev=target_alias ;;
1077 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1078 target_alias=$ac_optarg ;;
1080 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1083 -version | --version | --versio | --versi | --vers | -V)
1084 ac_init_version=: ;;
1087 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1090 { echo "$as_me: error: invalid package name: $ac_package" >&2
1091 { (exit 1); exit 1; }; }
1092 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1093 eval with_$ac_package=\$ac_optarg ;;
1095 -without-* | --without-*)
1096 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1099 { echo "$as_me: error: invalid package name: $ac_package" >&2
1100 { (exit 1); exit 1; }; }
1101 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1102 eval with_$ac_package=no ;;
1105 # Obsolete; use --with-x.
1108 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1109 | --x-incl | --x-inc | --x-in | --x-i)
1110 ac_prev=x_includes ;;
1111 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1112 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1113 x_includes=$ac_optarg ;;
1115 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1116 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1117 ac_prev=x_libraries ;;
1118 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1119 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1120 x_libraries=$ac_optarg ;;
1122 -*) { echo "$as_me: error: unrecognized option: $ac_option
1123 Try \`$0 --help' for more information." >&2
1124 { (exit 1); exit 1; }; }
1128 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1131 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1132 { (exit 1); exit 1; }; }
1133 eval $ac_envvar=\$ac_optarg
1134 export $ac_envvar ;;
1137 # FIXME: should be removed in autoconf 3.0.
1138 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1139 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1140 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1141 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1147 if test -n "$ac_prev"; then
1148 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1149 { echo "$as_me: error: missing argument to $ac_option" >&2
1150 { (exit 1); exit 1; }; }
1153 # Be sure to have absolute directory names.
1154 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1155 datadir sysconfdir sharedstatedir localstatedir includedir \
1156 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1157 libdir localedir mandir
1159 eval ac_val=\$$ac_var
1161 [\\/$]* | ?:[\\/]* ) continue;;
1162 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1164 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1165 { (exit 1); exit 1; }; }
1168 # There might be people who depend on the old broken behavior: `$host'
1169 # used to hold the argument of --host etc.
1170 # FIXME: To remove some day.
1173 target=$target_alias
1175 # FIXME: To remove some day.
1176 if test "x$host_alias" != x; then
1177 if test "x$build_alias" = x; then
1178 cross_compiling=maybe
1179 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1180 If a cross compiler is detected then cross compile mode will be used." >&2
1181 elif test "x$build_alias" != "x$host_alias"; then
1187 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1189 test "$silent" = yes && exec 6>/dev/null
1192 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1193 ac_ls_di=`ls -di .` &&
1194 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1195 { echo "$as_me: error: Working directory cannot be determined" >&2
1196 { (exit 1); exit 1; }; }
1197 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1198 { echo "$as_me: error: pwd does not report name of working directory" >&2
1199 { (exit 1); exit 1; }; }
1202 # Find the source files, if location was not specified.
1203 if test -z "$srcdir"; then
1204 ac_srcdir_defaulted=yes
1205 # Try the directory containing this script, then the parent directory.
1206 ac_confdir=`$as_dirname -- "$0" ||
1207 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1208 X"$0" : 'X\(//\)[^/]' \| \
1209 X"$0" : 'X\(//\)$' \| \
1210 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1230 if test ! -r "$srcdir/$ac_unique_file"; then
1234 ac_srcdir_defaulted=no
1236 if test ! -r "$srcdir/$ac_unique_file"; then
1237 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1238 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1239 { (exit 1); exit 1; }; }
1241 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1243 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1244 { (exit 1); exit 1; }; }
1246 # When building in place, set srcdir=.
1247 if test "$ac_abs_confdir" = "$ac_pwd"; then
1250 # Remove unnecessary trailing slashes from srcdir.
1251 # Double slashes in file names in object file debugging info
1252 # mess up M-x gdb in Emacs.
1254 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1256 for ac_var in $ac_precious_vars; do
1257 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1258 eval ac_env_${ac_var}_value=\$${ac_var}
1259 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1260 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1264 # Report the --help message.
1266 if test "$ac_init_help" = "long"; then
1267 # Omit some internal or obsolete options to make the list less imposing.
1268 # This message is too long to be a string in the A/UX 3.1 sh.
1270 \`configure' configures this package to adapt to many kinds of systems.
1272 Usage: $0 [OPTION]... [VAR=VALUE]...
1274 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1275 VAR=VALUE. See below for descriptions of some of the useful variables.
1277 Defaults for the options are specified in brackets.
1280 -h, --help display this help and exit
1281 --help=short display options specific to this package
1282 --help=recursive display the short help of all the included packages
1283 -V, --version display version information and exit
1284 -q, --quiet, --silent do not print \`checking...' messages
1285 --cache-file=FILE cache test results in FILE [disabled]
1286 -C, --config-cache alias for \`--cache-file=config.cache'
1287 -n, --no-create do not create output files
1288 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1290 Installation directories:
1291 --prefix=PREFIX install architecture-independent files in PREFIX
1292 [$ac_default_prefix]
1293 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1296 By default, \`make install' will install all the files in
1297 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1298 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1299 for instance \`--prefix=\$HOME'.
1301 For better control, use the options below.
1303 Fine tuning of the installation directories:
1304 --bindir=DIR user executables [EPREFIX/bin]
1305 --sbindir=DIR system admin executables [EPREFIX/sbin]
1306 --libexecdir=DIR program executables [EPREFIX/libexec]
1307 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1308 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1309 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1310 --libdir=DIR object code libraries [EPREFIX/lib]
1311 --includedir=DIR C header files [PREFIX/include]
1312 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1313 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1314 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1315 --infodir=DIR info documentation [DATAROOTDIR/info]
1316 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1317 --mandir=DIR man documentation [DATAROOTDIR/man]
1318 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1319 --htmldir=DIR html documentation [DOCDIR]
1320 --dvidir=DIR dvi documentation [DOCDIR]
1321 --pdfdir=DIR pdf documentation [DOCDIR]
1322 --psdir=DIR ps documentation [DOCDIR]
1328 --program-prefix=PREFIX prepend PREFIX to installed program names
1329 --program-suffix=SUFFIX append SUFFIX to installed program names
1330 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1333 --build=BUILD configure for building on BUILD [guessed]
1334 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1338 if test -n "$ac_init_help"; then
1343 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1344 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1345 --enable-maintainer-mode enable make rules and dependencies not useful
1346 (and sometimes confusing) to the casual installer
1347 --disable-dependency-tracking Speeds up one-time builds
1348 --enable-dependency-tracking Do not reject slow dependency extractors
1349 --enable-trace Enable generation of IO traces (warning: hurts
1351 --enable-watch Enable watchpoints in the debugger (warning: hurts
1354 Some influential environment variables:
1355 CC C compiler command
1356 CFLAGS C compiler flags
1357 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1358 nonstandard directory <lib dir>
1359 LIBS libraries to pass to the linker, e.g. -l<library>
1360 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1361 you have headers in a nonstandard directory <include dir>
1363 PKG_CONFIG path to pkg-config utility
1365 C compiler flags for LIBPNG, overriding pkg-config
1366 LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
1367 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1368 GTK_LIBS linker flags for GTK, overriding pkg-config
1370 C compiler flags for ESOUND, overriding pkg-config
1371 ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
1373 Use these variables to override the choices made by `configure' or to help
1374 it to find libraries and programs with nonstandard names/locations.
1380 if test "$ac_init_help" = "recursive"; then
1381 # If there are subdirs, report their specific --help.
1382 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1383 test -d "$ac_dir" || continue
1387 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1389 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1390 # A ".." for each directory in $ac_dir_suffix.
1391 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1392 case $ac_top_builddir_sub in
1393 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1394 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1397 ac_abs_top_builddir=$ac_pwd
1398 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1399 # for backward compatibility:
1400 ac_top_builddir=$ac_top_build_prefix
1403 .) # We are building in place.
1405 ac_top_srcdir=$ac_top_builddir_sub
1406 ac_abs_top_srcdir=$ac_pwd ;;
1407 [\\/]* | ?:[\\/]* ) # Absolute name.
1408 ac_srcdir=$srcdir$ac_dir_suffix;
1409 ac_top_srcdir=$srcdir
1410 ac_abs_top_srcdir=$srcdir ;;
1412 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1413 ac_top_srcdir=$ac_top_build_prefix$srcdir
1414 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1416 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1418 cd "$ac_dir" || { ac_status=$?; continue; }
1419 # Check for guested configure.
1420 if test -f "$ac_srcdir/configure.gnu"; then
1422 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1423 elif test -f "$ac_srcdir/configure"; then
1425 $SHELL "$ac_srcdir/configure" --help=recursive
1427 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1429 cd "$ac_pwd" || { ac_status=$?; break; }
1433 test -n "$ac_init_help" && exit $ac_status
1434 if $ac_init_version; then
1437 generated by GNU Autoconf 2.61
1439 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1440 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1441 This configure script is free software; the Free Software Foundation
1442 gives unlimited permission to copy, distribute and modify it.
1446 cat >config.log <<_ACEOF
1447 This file contains any messages produced by compilers while
1448 running configure, to aid debugging if configure makes a mistake.
1450 It was created by $as_me, which was
1451 generated by GNU Autoconf 2.61. Invocation command line was
1463 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1464 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1465 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1466 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1467 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1469 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1470 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1472 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1473 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1474 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1475 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1476 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1477 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1478 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1486 test -z "$as_dir" && as_dir=.
1487 echo "PATH: $as_dir"
1503 # Keep a trace of the command line.
1504 # Strip out --no-create and --no-recursion so they do not pile up.
1505 # Strip out --silent because we don't want to record it for future runs.
1506 # Also quote any args containing shell meta-characters.
1507 # Make two passes to allow for proper duplicate-argument suppression.
1511 ac_must_keep_next=false
1517 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1518 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1519 | -silent | --silent | --silen | --sile | --sil)
1522 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1525 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1527 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1528 if test $ac_must_keep_next = true; then
1529 ac_must_keep_next=false # Got value, back to normal.
1532 *=* | --config-cache | -C | -disable-* | --disable-* \
1533 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1534 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1535 | -with-* | --with-* | -without-* | --without-* | --x)
1536 case "$ac_configure_args0 " in
1537 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1540 -* ) ac_must_keep_next=true ;;
1543 ac_configure_args="$ac_configure_args '$ac_arg'"
1548 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1549 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1551 # When interrupted or exit'd, cleanup temporary files, and complete
1552 # config.log. We remove comments because anyway the quotes in there
1553 # would cause problems or look ugly.
1554 # WARNING: Use '\'' to represent an apostrophe within the trap.
1555 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1556 trap 'exit_status=$?
1557 # Save into config.log some information that might help in debugging.
1562 ## ---------------- ##
1563 ## Cache variables. ##
1564 ## ---------------- ##
1567 # The following way of writing the cache mishandles newlines in values,
1569 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1570 eval ac_val=\$$ac_var
1574 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1575 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1578 _ | IFS | as_nl) ;; #(
1579 *) $as_unset $ac_var ;;
1584 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1585 *${as_nl}ac_space=\ *)
1587 "s/'\''/'\''\\\\'\'''\''/g;
1588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1591 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1599 ## ----------------- ##
1600 ## Output variables. ##
1601 ## ----------------- ##
1604 for ac_var in $ac_subst_vars
1606 eval ac_val=\$$ac_var
1608 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1610 echo "$ac_var='\''$ac_val'\''"
1614 if test -n "$ac_subst_files"; then
1616 ## ------------------- ##
1617 ## File substitutions. ##
1618 ## ------------------- ##
1621 for ac_var in $ac_subst_files
1623 eval ac_val=\$$ac_var
1625 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1627 echo "$ac_var='\''$ac_val'\''"
1632 if test -s confdefs.h; then
1642 test "$ac_signal" != 0 &&
1643 echo "$as_me: caught signal $ac_signal"
1644 echo "$as_me: exit $exit_status"
1646 rm -f core *.core core.conftest.* &&
1647 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1650 for ac_signal in 1 2 13 15; do
1651 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1655 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1656 rm -f -r conftest* confdefs.h
1658 # Predefined preprocessor variables.
1660 cat >>confdefs.h <<_ACEOF
1661 #define PACKAGE_NAME "$PACKAGE_NAME"
1665 cat >>confdefs.h <<_ACEOF
1666 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1670 cat >>confdefs.h <<_ACEOF
1671 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1675 cat >>confdefs.h <<_ACEOF
1676 #define PACKAGE_STRING "$PACKAGE_STRING"
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1685 # Let the site file select an alternate cache file if it wants to.
1686 # Prefer explicitly selected file to automatically selected ones.
1687 if test -n "$CONFIG_SITE"; then
1688 set x "$CONFIG_SITE"
1689 elif test "x$prefix" != xNONE; then
1690 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1692 set x "$ac_default_prefix/share/config.site" \
1693 "$ac_default_prefix/etc/config.site"
1698 if test -r "$ac_site_file"; then
1699 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1700 echo "$as_me: loading site script $ac_site_file" >&6;}
1701 sed 's/^/| /' "$ac_site_file" >&5
1706 if test -r "$cache_file"; then
1707 # Some versions of bash will fail to source /dev/null (special
1708 # files actually), so we avoid doing that.
1709 if test -f "$cache_file"; then
1710 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1711 echo "$as_me: loading cache $cache_file" >&6;}
1713 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1714 *) . "./$cache_file";;
1718 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1719 echo "$as_me: creating cache $cache_file" >&6;}
1723 # Check that the precious variables saved in the cache have kept the same
1725 ac_cache_corrupted=false
1726 for ac_var in $ac_precious_vars; do
1727 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1728 eval ac_new_set=\$ac_env_${ac_var}_set
1729 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1730 eval ac_new_val=\$ac_env_${ac_var}_value
1731 case $ac_old_set,$ac_new_set in
1733 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1734 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1735 ac_cache_corrupted=: ;;
1737 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1738 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1739 ac_cache_corrupted=: ;;
1742 if test "x$ac_old_val" != "x$ac_new_val"; then
1743 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1744 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1745 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1746 echo "$as_me: former value: $ac_old_val" >&2;}
1747 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1748 echo "$as_me: current value: $ac_new_val" >&2;}
1749 ac_cache_corrupted=:
1752 # Pass precious variables to config.status.
1753 if test "$ac_new_set" = set; then
1755 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1756 *) ac_arg=$ac_var=$ac_new_val ;;
1758 case " $ac_configure_args " in
1759 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1760 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1764 if $ac_cache_corrupted; then
1765 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1766 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1767 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1768 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1769 { (exit 1); exit 1; }; }
1789 ac_cpp='$CPP $CPPFLAGS'
1790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1795 am__api_version="1.7"
1797 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1798 if test -f "$ac_dir/install-sh"; then
1800 ac_install_sh="$ac_aux_dir/install-sh -c"
1802 elif test -f "$ac_dir/install.sh"; then
1804 ac_install_sh="$ac_aux_dir/install.sh -c"
1806 elif test -f "$ac_dir/shtool"; then
1808 ac_install_sh="$ac_aux_dir/shtool install -c"
1812 if test -z "$ac_aux_dir"; then
1813 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1814 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1815 { (exit 1); exit 1; }; }
1818 # These three variables are undocumented and unsupported,
1819 # and are intended to be withdrawn in a future Autoconf release.
1820 # They can cause serious problems if a builder's source tree is in a directory
1821 # whose full name contains unusual characters.
1822 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1823 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1824 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1827 # Find a good install program. We prefer a C program (faster),
1828 # so one script is as good as another. But avoid the broken or
1829 # incompatible versions:
1830 # SysV /etc/install, /usr/sbin/install
1831 # SunOS /usr/etc/install
1832 # IRIX /sbin/install
1834 # AmigaOS /C/install, which installs bootblocks on floppy discs
1835 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1836 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1837 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1838 # OS/2's system install, which has a completely different semantic
1839 # ./install, which can be erroneously created by make from ./install.sh.
1840 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1841 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1842 if test -z "$INSTALL"; then
1843 if test "${ac_cv_path_install+set}" = set; then
1844 echo $ECHO_N "(cached) $ECHO_C" >&6
1846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1850 test -z "$as_dir" && as_dir=.
1851 # Account for people who put trailing slashes in PATH elements.
1853 ./ | .// | /cC/* | \
1854 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1855 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1858 # OSF1 and SCO ODT 3.0 have their own names for install.
1859 # Don't use installbsd from OSF since it installs stuff as root
1861 for ac_prog in ginstall scoinst install; do
1862 for ac_exec_ext in '' $ac_executable_extensions; do
1863 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1864 if test $ac_prog = install &&
1865 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1866 # AIX install. It has an incompatible calling convention.
1868 elif test $ac_prog = install &&
1869 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1870 # program-specific install script used by HP pwplus--don't use.
1873 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1886 if test "${ac_cv_path_install+set}" = set; then
1887 INSTALL=$ac_cv_path_install
1889 # As a last resort, use the slow shell script. Don't cache a
1890 # value for INSTALL within a source directory, because that will
1891 # break other packages using the cache if that directory is
1892 # removed, or if the value is a relative name.
1893 INSTALL=$ac_install_sh
1896 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1897 echo "${ECHO_T}$INSTALL" >&6; }
1899 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1900 # It thinks the first close brace ends the variable substitution.
1901 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1903 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1905 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1907 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1908 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1911 echo timestamp > conftest.file
1912 # Do `set' in a subshell so we don't clobber the current shell's
1913 # arguments. Must try -L first in case configure is actually a
1914 # symlink; some systems play weird games with the mod time of symlinks
1915 # (eg FreeBSD returns the mod time of the symlink's containing
1918 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1919 if test "$*" = "X"; then
1921 set X `ls -t $srcdir/configure conftest.file`
1924 if test "$*" != "X $srcdir/configure conftest.file" \
1925 && test "$*" != "X conftest.file $srcdir/configure"; then
1927 # If neither matched, then we have a broken ls. This can happen
1928 # if, for instance, CONFIG_SHELL is bash and it inherits a
1929 # broken ls alias from the environment. This has actually
1930 # happened. Such a system could not be considered "sane".
1931 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1932 alias in your environment" >&5
1933 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1934 alias in your environment" >&2;}
1935 { (exit 1); exit 1; }; }
1938 test "$2" = conftest.file
1944 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1945 Check your system clock" >&5
1946 echo "$as_me: error: newly created file is older than distributed files!
1947 Check your system clock" >&2;}
1948 { (exit 1); exit 1; }; }
1950 { echo "$as_me:$LINENO: result: yes" >&5
1951 echo "${ECHO_T}yes" >&6; }
1952 test "$program_prefix" != NONE &&
1953 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1954 # Use a double $ so make ignores it.
1955 test "$program_suffix" != NONE &&
1956 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1957 # Double any \ or $. echo might interpret backslashes.
1958 # By default was `s,x,x', remove it if useless.
1959 cat <<\_ACEOF >conftest.sed
1960 s/[\\$]/&&/g;s/;s,x,x,$//
1962 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1966 # expand $ac_aux_dir to an absolute path
1967 am_aux_dir=`cd $ac_aux_dir && pwd`
1969 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1970 # Use eval to expand $SHELL
1971 if eval "$MISSING --run true"; then
1972 am_missing_run="$MISSING --run "
1975 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1976 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1979 for ac_prog in gawk mawk nawk awk
1981 # Extract the first word of "$ac_prog", so it can be a program name with args.
1982 set dummy $ac_prog; ac_word=$2
1983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1985 if test "${ac_cv_prog_AWK+set}" = set; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 if test -n "$AWK"; then
1989 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1995 test -z "$as_dir" && as_dir=.
1996 for ac_exec_ext in '' $ac_executable_extensions; do
1997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1998 ac_cv_prog_AWK="$ac_prog"
1999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2009 if test -n "$AWK"; then
2010 { echo "$as_me:$LINENO: result: $AWK" >&5
2011 echo "${ECHO_T}$AWK" >&6; }
2013 { echo "$as_me:$LINENO: result: no" >&5
2014 echo "${ECHO_T}no" >&6; }
2018 test -n "$AWK" && break
2021 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2022 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2023 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2024 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 cat >conftest.make <<\_ACEOF
2030 @echo '@@@%%%=$(MAKE)=@@@%%%'
2032 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2033 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2035 eval ac_cv_prog_make_${ac_make}_set=yes;;
2037 eval ac_cv_prog_make_${ac_make}_set=no;;
2041 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2042 { echo "$as_me:$LINENO: result: yes" >&5
2043 echo "${ECHO_T}yes" >&6; }
2046 { echo "$as_me:$LINENO: result: no" >&5
2047 echo "${ECHO_T}no" >&6; }
2048 SET_MAKE="MAKE=${MAKE-make}"
2051 rm -rf .tst 2>/dev/null
2052 mkdir .tst 2>/dev/null
2053 if test -d .tst; then
2058 rmdir .tst 2>/dev/null
2060 # test to see if srcdir already configured
2061 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2062 test -f $srcdir/config.status; then
2063 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2064 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2065 { (exit 1); exit 1; }; }
2068 # test whether we have cygpath
2069 if test -z "$CYGPATH_W"; then
2070 if (cygpath --version) >/dev/null 2>/dev/null; then
2071 CYGPATH_W='cygpath -w'
2078 # Define the identity of the package.
2083 cat >>confdefs.h <<_ACEOF
2084 #define PACKAGE "$PACKAGE"
2088 cat >>confdefs.h <<_ACEOF
2089 #define VERSION "$VERSION"
2092 # Some tools Automake needs.
2094 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2097 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2100 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2103 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2106 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2109 AMTAR=${AMTAR-"${am_missing_run}tar"}
2111 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2113 # Installed binaries are usually stripped using `strip' when the user
2114 # run `make install-strip'. However `strip' might not be the right
2115 # tool to use in cross-compilation environments, therefore Automake
2116 # will honor the `STRIP' environment variable to overrule this program.
2117 if test "$cross_compiling" != no; then
2118 if test -n "$ac_tool_prefix"; then
2119 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2120 set dummy ${ac_tool_prefix}strip; ac_word=$2
2121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2123 if test "${ac_cv_prog_STRIP+set}" = set; then
2124 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 if test -n "$STRIP"; then
2127 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 test -z "$as_dir" && as_dir=.
2134 for ac_exec_ext in '' $ac_executable_extensions; do
2135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2136 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 STRIP=$ac_cv_prog_STRIP
2147 if test -n "$STRIP"; then
2148 { echo "$as_me:$LINENO: result: $STRIP" >&5
2149 echo "${ECHO_T}$STRIP" >&6; }
2151 { echo "$as_me:$LINENO: result: no" >&5
2152 echo "${ECHO_T}no" >&6; }
2157 if test -z "$ac_cv_prog_STRIP"; then
2159 # Extract the first word of "strip", so it can be a program name with args.
2160 set dummy strip; ac_word=$2
2161 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2163 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2164 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 if test -n "$ac_ct_STRIP"; then
2167 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173 test -z "$as_dir" && as_dir=.
2174 for ac_exec_ext in '' $ac_executable_extensions; do
2175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2176 ac_cv_prog_ac_ct_STRIP="strip"
2177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2186 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2187 if test -n "$ac_ct_STRIP"; then
2188 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2189 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2191 { echo "$as_me:$LINENO: result: no" >&5
2192 echo "${ECHO_T}no" >&6; }
2195 if test "x$ac_ct_STRIP" = x; then
2198 case $cross_compiling:$ac_tool_warned in
2200 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2201 whose name does not start with the host triplet. If you think this
2202 configuration is useful to you, please write to autoconf@gnu.org." >&5
2203 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2204 whose name does not start with the host triplet. If you think this
2205 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2206 ac_tool_warned=yes ;;
2211 STRIP="$ac_cv_prog_STRIP"
2215 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2217 # We need awk for the "check" target. The system "awk" is bad on
2222 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2223 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2224 # Check whether --enable-maintainer-mode was given.
2225 if test "${enable_maintainer_mode+set}" = set; then
2226 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2228 USE_MAINTAINER_MODE=no
2231 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2232 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2235 if test $USE_MAINTAINER_MODE = yes; then
2236 MAINTAINER_MODE_TRUE=
2237 MAINTAINER_MODE_FALSE='#'
2239 MAINTAINER_MODE_TRUE='#'
2240 MAINTAINER_MODE_FALSE=
2243 MAINT=$MAINTAINER_MODE_TRUE
2246 ac_config_headers="$ac_config_headers config.h"
2249 DEPDIR="${am__leading_dot}deps"
2251 ac_config_commands="$ac_config_commands depfiles"
2254 am_make=${MAKE-make}
2255 cat > confinc << 'END'
2260 # If we don't find an include directive, just comment out the code.
2261 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2262 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2266 # First try GNU make style include.
2267 echo "include confinc" > confmf
2268 # We grep out `Entering directory' and `Leaving directory'
2269 # messages which can occur if `w' ends up in MAKEFLAGS.
2270 # In particular we don't look at `^make:' because GNU make might
2271 # be invoked under some other name (usually "gmake"), in which
2272 # case it prints its new name instead of `make'.
2273 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2278 # Now try BSD make style include.
2279 if test "$am__include" = "#"; then
2280 echo '.include "confinc"' > confmf
2281 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2282 am__include=.include
2289 { echo "$as_me:$LINENO: result: $_am_result" >&5
2290 echo "${ECHO_T}$_am_result" >&6; }
2291 rm -f confinc confmf
2293 # Check whether --enable-dependency-tracking was given.
2294 if test "${enable_dependency_tracking+set}" = set; then
2295 enableval=$enable_dependency_tracking;
2298 if test "x$enable_dependency_tracking" != xno; then
2299 am_depcomp="$ac_aux_dir/depcomp"
2304 if test "x$enable_dependency_tracking" != xno; then
2315 ac_cpp='$CPP $CPPFLAGS'
2316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2319 if test -n "$ac_tool_prefix"; then
2320 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2321 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2324 if test "${ac_cv_prog_CC+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2327 if test -n "$CC"; then
2328 ac_cv_prog_CC="$CC" # Let the user override the test.
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2334 test -z "$as_dir" && as_dir=.
2335 for ac_exec_ext in '' $ac_executable_extensions; do
2336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2337 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2348 if test -n "$CC"; then
2349 { echo "$as_me:$LINENO: result: $CC" >&5
2350 echo "${ECHO_T}$CC" >&6; }
2352 { echo "$as_me:$LINENO: result: no" >&5
2353 echo "${ECHO_T}no" >&6; }
2358 if test -z "$ac_cv_prog_CC"; then
2360 # Extract the first word of "gcc", so it can be a program name with args.
2361 set dummy gcc; ac_word=$2
2362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2367 if test -n "$ac_ct_CC"; then
2368 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2374 test -z "$as_dir" && as_dir=.
2375 for ac_exec_ext in '' $ac_executable_extensions; do
2376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2377 ac_cv_prog_ac_ct_CC="gcc"
2378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2388 if test -n "$ac_ct_CC"; then
2389 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2390 echo "${ECHO_T}$ac_ct_CC" >&6; }
2392 { echo "$as_me:$LINENO: result: no" >&5
2393 echo "${ECHO_T}no" >&6; }
2396 if test "x$ac_ct_CC" = x; then
2399 case $cross_compiling:$ac_tool_warned in
2401 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2402 whose name does not start with the host triplet. If you think this
2403 configuration is useful to you, please write to autoconf@gnu.org." >&5
2404 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2405 whose name does not start with the host triplet. If you think this
2406 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2407 ac_tool_warned=yes ;;
2415 if test -z "$CC"; then
2416 if test -n "$ac_tool_prefix"; then
2417 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2418 set dummy ${ac_tool_prefix}cc; ac_word=$2
2419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2421 if test "${ac_cv_prog_CC+set}" = set; then
2422 echo $ECHO_N "(cached) $ECHO_C" >&6
2424 if test -n "$CC"; then
2425 ac_cv_prog_CC="$CC" # Let the user override the test.
2427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2431 test -z "$as_dir" && as_dir=.
2432 for ac_exec_ext in '' $ac_executable_extensions; do
2433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2434 ac_cv_prog_CC="${ac_tool_prefix}cc"
2435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2445 if test -n "$CC"; then
2446 { echo "$as_me:$LINENO: result: $CC" >&5
2447 echo "${ECHO_T}$CC" >&6; }
2449 { echo "$as_me:$LINENO: result: no" >&5
2450 echo "${ECHO_T}no" >&6; }
2456 if test -z "$CC"; then
2457 # Extract the first word of "cc", so it can be a program name with args.
2458 set dummy cc; ac_word=$2
2459 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2461 if test "${ac_cv_prog_CC+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 if test -n "$CC"; then
2465 ac_cv_prog_CC="$CC" # Let the user override the test.
2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir=.
2473 for ac_exec_ext in '' $ac_executable_extensions; do
2474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2475 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2476 ac_prog_rejected=yes
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2487 if test $ac_prog_rejected = yes; then
2488 # We found a bogon in the path, so make sure we never use it.
2489 set dummy $ac_cv_prog_CC
2491 if test $# != 0; then
2492 # We chose a different compiler from the bogus one.
2493 # However, it has the same basename, so the bogon will be chosen
2494 # first if we set CC to just the basename; use the full file name.
2496 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2502 if test -n "$CC"; then
2503 { echo "$as_me:$LINENO: result: $CC" >&5
2504 echo "${ECHO_T}$CC" >&6; }
2506 { echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6; }
2512 if test -z "$CC"; then
2513 if test -n "$ac_tool_prefix"; then
2514 for ac_prog in cl.exe
2516 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2517 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2520 if test "${ac_cv_prog_CC+set}" = set; then
2521 echo $ECHO_N "(cached) $ECHO_C" >&6
2523 if test -n "$CC"; then
2524 ac_cv_prog_CC="$CC" # Let the user override the test.
2526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 test -z "$as_dir" && as_dir=.
2531 for ac_exec_ext in '' $ac_executable_extensions; do
2532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2533 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2544 if test -n "$CC"; then
2545 { echo "$as_me:$LINENO: result: $CC" >&5
2546 echo "${ECHO_T}$CC" >&6; }
2548 { echo "$as_me:$LINENO: result: no" >&5
2549 echo "${ECHO_T}no" >&6; }
2553 test -n "$CC" && break
2556 if test -z "$CC"; then
2558 for ac_prog in cl.exe
2560 # Extract the first word of "$ac_prog", so it can be a program name with args.
2561 set dummy $ac_prog; ac_word=$2
2562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2567 if test -n "$ac_ct_CC"; then
2568 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 test -z "$as_dir" && as_dir=.
2575 for ac_exec_ext in '' $ac_executable_extensions; do
2576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2577 ac_cv_prog_ac_ct_CC="$ac_prog"
2578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2588 if test -n "$ac_ct_CC"; then
2589 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2590 echo "${ECHO_T}$ac_ct_CC" >&6; }
2592 { echo "$as_me:$LINENO: result: no" >&5
2593 echo "${ECHO_T}no" >&6; }
2597 test -n "$ac_ct_CC" && break
2600 if test "x$ac_ct_CC" = x; then
2603 case $cross_compiling:$ac_tool_warned in
2605 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2606 whose name does not start with the host triplet. If you think this
2607 configuration is useful to you, please write to autoconf@gnu.org." >&5
2608 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2609 whose name does not start with the host triplet. If you think this
2610 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2611 ac_tool_warned=yes ;;
2620 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2621 See \`config.log' for more details." >&5
2622 echo "$as_me: error: no acceptable C compiler found in \$PATH
2623 See \`config.log' for more details." >&2;}
2624 { (exit 1); exit 1; }; }
2626 # Provide some information about the compiler.
2627 echo "$as_me:$LINENO: checking for C compiler version" >&5
2628 ac_compiler=`set X $ac_compile; echo $2`
2629 { (ac_try="$ac_compiler --version >&5"
2631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2632 *) ac_try_echo=$ac_try;;
2634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2635 (eval "$ac_compiler --version >&5") 2>&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }
2639 { (ac_try="$ac_compiler -v >&5"
2641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2642 *) ac_try_echo=$ac_try;;
2644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2645 (eval "$ac_compiler -v >&5") 2>&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }
2649 { (ac_try="$ac_compiler -V >&5"
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2655 (eval "$ac_compiler -V >&5") 2>&5
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); }
2660 cat >conftest.$ac_ext <<_ACEOF
2663 cat confdefs.h >>conftest.$ac_ext
2664 cat >>conftest.$ac_ext <<_ACEOF
2665 /* end confdefs.h. */
2675 ac_clean_files_save=$ac_clean_files
2676 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2677 # Try to create an executable without -o first, disregard a.out.
2678 # It will help us diagnose broken compilers, and finding out an intuition
2680 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2681 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2682 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2684 # List of possible output files, starting from the most likely.
2685 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2686 # only as a last resort. b.out is created by i960 compilers.
2687 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2689 # The IRIX 6 linker writes into existing files which may not be
2690 # executable, retaining their permissions. Remove them first so a
2691 # subsequent execution test works.
2693 for ac_file in $ac_files
2696 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2697 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2702 if { (ac_try="$ac_link_default"
2704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2705 *) ac_try_echo=$ac_try;;
2707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2708 (eval "$ac_link_default") 2>&5
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); }; then
2712 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2713 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2714 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2715 # so that the user can short-circuit this test for compilers unknown to
2717 for ac_file in $ac_files ''
2719 test -f "$ac_file" || continue
2721 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2724 # We found the default executable, but exeext='' is most
2728 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2730 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2732 # We set ac_cv_exeext here because the later test for it is not
2733 # safe: cross compilers may not add the suffix if given an `-o'
2734 # argument, so we may need to know it at that point already.
2735 # Even if this section looks crufty: it has the advantage of
2742 test "$ac_cv_exeext" = no && ac_cv_exeext=
2748 { echo "$as_me:$LINENO: result: $ac_file" >&5
2749 echo "${ECHO_T}$ac_file" >&6; }
2750 if test -z "$ac_file"; then
2751 echo "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.$ac_ext >&5
2754 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2755 See \`config.log' for more details." >&5
2756 echo "$as_me: error: C compiler cannot create executables
2757 See \`config.log' for more details." >&2;}
2758 { (exit 77); exit 77; }; }
2761 ac_exeext=$ac_cv_exeext
2763 # Check that the compiler produces executables we can run. If not, either
2764 # the compiler is broken, or we cross compile.
2765 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2766 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2767 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2768 # If not cross compiling, check that we can run a simple program.
2769 if test "$cross_compiling" != yes; then
2770 if { ac_try='./$ac_file'
2771 { (case "(($ac_try" in
2772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2773 *) ac_try_echo=$ac_try;;
2775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2776 (eval "$ac_try") 2>&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }; }; then
2782 if test "$cross_compiling" = maybe; then
2785 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2786 If you meant to cross compile, use \`--host'.
2787 See \`config.log' for more details." >&5
2788 echo "$as_me: error: cannot run C compiled programs.
2789 If you meant to cross compile, use \`--host'.
2790 See \`config.log' for more details." >&2;}
2791 { (exit 1); exit 1; }; }
2795 { echo "$as_me:$LINENO: result: yes" >&5
2796 echo "${ECHO_T}yes" >&6; }
2798 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2799 ac_clean_files=$ac_clean_files_save
2800 # Check that the compiler produces executables we can run. If not, either
2801 # the compiler is broken, or we cross compile.
2802 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2803 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2804 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2805 echo "${ECHO_T}$cross_compiling" >&6; }
2807 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2808 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2809 if { (ac_try="$ac_link"
2811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2812 *) ac_try_echo=$ac_try;;
2814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2815 (eval "$ac_link") 2>&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); }; then
2819 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2820 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2821 # work properly (i.e., refer to `conftest.exe'), while it won't with
2823 for ac_file in conftest.exe conftest conftest.*; do
2824 test -f "$ac_file" || continue
2826 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2827 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2833 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2834 See \`config.log' for more details." >&5
2835 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2836 See \`config.log' for more details." >&2;}
2837 { (exit 1); exit 1; }; }
2840 rm -f conftest$ac_cv_exeext
2841 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2842 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2844 rm -f conftest.$ac_ext
2845 EXEEXT=$ac_cv_exeext
2847 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2848 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2849 if test "${ac_cv_objext+set}" = set; then
2850 echo $ECHO_N "(cached) $ECHO_C" >&6
2852 cat >conftest.$ac_ext <<_ACEOF
2855 cat confdefs.h >>conftest.$ac_ext
2856 cat >>conftest.$ac_ext <<_ACEOF
2857 /* end confdefs.h. */
2867 rm -f conftest.o conftest.obj
2868 if { (ac_try="$ac_compile"
2870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2871 *) ac_try_echo=$ac_try;;
2873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2874 (eval "$ac_compile") 2>&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; then
2878 for ac_file in conftest.o conftest.obj conftest.*; do
2879 test -f "$ac_file" || continue;
2881 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2882 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2887 echo "$as_me: failed program was:" >&5
2888 sed 's/^/| /' conftest.$ac_ext >&5
2890 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2891 See \`config.log' for more details." >&5
2892 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2893 See \`config.log' for more details." >&2;}
2894 { (exit 1); exit 1; }; }
2897 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2899 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2900 echo "${ECHO_T}$ac_cv_objext" >&6; }
2901 OBJEXT=$ac_cv_objext
2903 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2904 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2905 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2906 echo $ECHO_N "(cached) $ECHO_C" >&6
2908 cat >conftest.$ac_ext <<_ACEOF
2911 cat confdefs.h >>conftest.$ac_ext
2912 cat >>conftest.$ac_ext <<_ACEOF
2913 /* end confdefs.h. */
2926 rm -f conftest.$ac_objext
2927 if { (ac_try="$ac_compile"
2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2933 (eval "$ac_compile") 2>conftest.er1
2935 grep -v '^ *+' conftest.er1 >conftest.err
2937 cat conftest.err >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } && {
2940 test -z "$ac_c_werror_flag" ||
2941 test ! -s conftest.err
2942 } && test -s conftest.$ac_objext; then
2945 echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.$ac_ext >&5
2951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2952 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2955 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2956 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2957 GCC=`test $ac_compiler_gnu = yes && echo yes`
2958 ac_test_CFLAGS=${CFLAGS+set}
2959 ac_save_CFLAGS=$CFLAGS
2960 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2961 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2962 if test "${ac_cv_prog_cc_g+set}" = set; then
2963 echo $ECHO_N "(cached) $ECHO_C" >&6
2965 ac_save_c_werror_flag=$ac_c_werror_flag
2966 ac_c_werror_flag=yes
2969 cat >conftest.$ac_ext <<_ACEOF
2972 cat confdefs.h >>conftest.$ac_ext
2973 cat >>conftest.$ac_ext <<_ACEOF
2974 /* end confdefs.h. */
2984 rm -f conftest.$ac_objext
2985 if { (ac_try="$ac_compile"
2987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2988 *) ac_try_echo=$ac_try;;
2990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2991 (eval "$ac_compile") 2>conftest.er1
2993 grep -v '^ *+' conftest.er1 >conftest.err
2995 cat conftest.err >&5
2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 (exit $ac_status); } && {
2998 test -z "$ac_c_werror_flag" ||
2999 test ! -s conftest.err
3000 } && test -s conftest.$ac_objext; then
3003 echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3007 cat >conftest.$ac_ext <<_ACEOF
3010 cat confdefs.h >>conftest.$ac_ext
3011 cat >>conftest.$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3022 rm -f conftest.$ac_objext
3023 if { (ac_try="$ac_compile"
3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3026 *) ac_try_echo=$ac_try;;
3028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3029 (eval "$ac_compile") 2>conftest.er1
3031 grep -v '^ *+' conftest.er1 >conftest.err
3033 cat conftest.err >&5
3034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 (exit $ac_status); } && {
3036 test -z "$ac_c_werror_flag" ||
3037 test ! -s conftest.err
3038 } && test -s conftest.$ac_objext; then
3041 echo "$as_me: failed program was:" >&5
3042 sed 's/^/| /' conftest.$ac_ext >&5
3044 ac_c_werror_flag=$ac_save_c_werror_flag
3046 cat >conftest.$ac_ext <<_ACEOF
3049 cat confdefs.h >>conftest.$ac_ext
3050 cat >>conftest.$ac_ext <<_ACEOF
3051 /* end confdefs.h. */
3061 rm -f conftest.$ac_objext
3062 if { (ac_try="$ac_compile"
3064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065 *) ac_try_echo=$ac_try;;
3067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3068 (eval "$ac_compile") 2>conftest.er1
3070 grep -v '^ *+' conftest.er1 >conftest.err
3072 cat conftest.err >&5
3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); } && {
3075 test -z "$ac_c_werror_flag" ||
3076 test ! -s conftest.err
3077 } && test -s conftest.$ac_objext; then
3080 echo "$as_me: failed program was:" >&5
3081 sed 's/^/| /' conftest.$ac_ext >&5
3086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3093 ac_c_werror_flag=$ac_save_c_werror_flag
3095 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3096 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3097 if test "$ac_test_CFLAGS" = set; then
3098 CFLAGS=$ac_save_CFLAGS
3099 elif test $ac_cv_prog_cc_g = yes; then
3100 if test "$GCC" = yes; then
3106 if test "$GCC" = yes; then
3112 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3113 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3114 if test "${ac_cv_prog_cc_c89+set}" = set; then
3115 echo $ECHO_N "(cached) $ECHO_C" >&6
3117 ac_cv_prog_cc_c89=no
3119 cat >conftest.$ac_ext <<_ACEOF
3122 cat confdefs.h >>conftest.$ac_ext
3123 cat >>conftest.$ac_ext <<_ACEOF
3124 /* end confdefs.h. */
3127 #include <sys/types.h>
3128 #include <sys/stat.h>
3129 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3130 struct buf { int x; };
3131 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3132 static char *e (p, i)
3138 static char *f (char * (*g) (char **, int), char **p, ...)
3143 s = g (p, va_arg (v,int));
3148 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3149 function prototypes and stuff, but not '\xHH' hex character constants.
3150 These don't provoke an error unfortunately, instead are silently treated
3151 as 'x'. The following induces an error, until -std is added to get
3152 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3153 array size at least. It's necessary to write '\x00'==0 to get something
3154 that's true only with -std. */
3155 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3157 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3158 inside strings and character constants. */
3160 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3162 int test (int i, double x);
3163 struct s1 {int (*f) (int a);};
3164 struct s2 {int (*f) (double a);};
3165 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3171 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3176 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3177 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3179 CC="$ac_save_CC $ac_arg"
3180 rm -f conftest.$ac_objext
3181 if { (ac_try="$ac_compile"
3183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184 *) ac_try_echo=$ac_try;;
3186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3187 (eval "$ac_compile") 2>conftest.er1
3189 grep -v '^ *+' conftest.er1 >conftest.err
3191 cat conftest.err >&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); } && {
3194 test -z "$ac_c_werror_flag" ||
3195 test ! -s conftest.err
3196 } && test -s conftest.$ac_objext; then
3197 ac_cv_prog_cc_c89=$ac_arg
3199 echo "$as_me: failed program was:" >&5
3200 sed 's/^/| /' conftest.$ac_ext >&5
3205 rm -f core conftest.err conftest.$ac_objext
3206 test "x$ac_cv_prog_cc_c89" != "xno" && break
3208 rm -f conftest.$ac_ext
3213 case "x$ac_cv_prog_cc_c89" in
3215 { echo "$as_me:$LINENO: result: none needed" >&5
3216 echo "${ECHO_T}none needed" >&6; } ;;
3218 { echo "$as_me:$LINENO: result: unsupported" >&5
3219 echo "${ECHO_T}unsupported" >&6; } ;;
3221 CC="$CC $ac_cv_prog_cc_c89"
3222 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3223 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3228 ac_cpp='$CPP $CPPFLAGS'
3229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3233 depcc="$CC" am_compiler_list=
3235 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3236 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3237 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3238 echo $ECHO_N "(cached) $ECHO_C" >&6
3240 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3241 # We make a subdir and do the tests there. Otherwise we can end up
3242 # making bogus files that we don't know about and never remove. For
3243 # instance it was reported that on HP-UX the gcc test will end up
3244 # making a dummy file named `D' -- because `-MD' means `put the output
3247 # Copy depcomp to subdir because otherwise we won't find it if we're
3248 # using a relative directory.
3249 cp "$am_depcomp" conftest.dir
3251 # We will build objects and dependencies in a subdirectory because
3252 # it helps to detect inapplicable dependency modes. For instance
3253 # both Tru64's cc and ICC support -MD to output dependencies as a
3254 # side effect of compilation, but ICC will put the dependencies in
3255 # the current directory while Tru64 will put them in the object
3259 am_cv_CC_dependencies_compiler_type=none
3260 if test "$am_compiler_list" = ""; then
3261 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3263 for depmode in $am_compiler_list; do
3264 # Setup a source with many dependencies, because some compilers
3265 # like to wrap large dependency lists on column 80 (with \), and
3266 # we should not choose a depcomp mode which is confused by this.
3268 # We need to recreate these files for each test, as the compiler may
3269 # overwrite some of them when testing with obscure command lines.
3270 # This happens at least with the AIX C compiler.
3272 for i in 1 2 3 4 5 6; do
3273 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3276 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3280 # after this tag, mechanisms are not by side-effect, so they'll
3281 # only be used when explicitly requested
3282 if test "x$enable_dependency_tracking" = xyes; then
3290 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3291 # mode. It turns out that the SunPro C++ compiler does not properly
3292 # handle `-M -o', and we need to detect this.
3293 if depmode=$depmode \
3294 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3295 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3296 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3297 >/dev/null 2>conftest.err &&
3298 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3299 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3300 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3301 # icc doesn't choke on unknown options, it will just issue warnings
3302 # (even with -Werror). So we grep stderr for any message
3303 # that says an option was ignored.
3304 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3305 am_cv_CC_dependencies_compiler_type=$depmode
3314 am_cv_CC_dependencies_compiler_type=none
3318 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3319 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3320 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3325 test "x$enable_dependency_tracking" != xno \
3326 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3328 am__fastdepCC_FALSE='#'
3330 am__fastdepCC_TRUE='#'
3331 am__fastdepCC_FALSE=
3336 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
3337 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3338 if test "${ac_cv_search_strerror+set}" = set; then
3339 echo $ECHO_N "(cached) $ECHO_C" >&6
3341 ac_func_search_save_LIBS=$LIBS
3342 cat >conftest.$ac_ext <<_ACEOF
3345 cat confdefs.h >>conftest.$ac_ext
3346 cat >>conftest.$ac_ext <<_ACEOF
3347 /* end confdefs.h. */
3349 /* Override any GCC internal prototype to avoid an error.
3350 Use char because int might match the return type of a GCC
3351 builtin and then its argument prototype would still apply. */
3364 for ac_lib in '' cposix; do
3365 if test -z "$ac_lib"; then
3366 ac_res="none required"
3369 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3371 rm -f conftest.$ac_objext conftest$ac_exeext
3372 if { (ac_try="$ac_link"
3374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3375 *) ac_try_echo=$ac_try;;
3377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3378 (eval "$ac_link") 2>conftest.er1
3380 grep -v '^ *+' conftest.er1 >conftest.err
3382 cat conftest.err >&5
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); } && {
3385 test -z "$ac_c_werror_flag" ||
3386 test ! -s conftest.err
3387 } && test -s conftest$ac_exeext &&
3388 $as_test_x conftest$ac_exeext; then
3389 ac_cv_search_strerror=$ac_res
3391 echo "$as_me: failed program was:" >&5
3392 sed 's/^/| /' conftest.$ac_ext >&5
3397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3399 if test "${ac_cv_search_strerror+set}" = set; then
3403 if test "${ac_cv_search_strerror+set}" = set; then
3406 ac_cv_search_strerror=no
3409 LIBS=$ac_func_search_save_LIBS
3411 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3412 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3413 ac_res=$ac_cv_search_strerror
3414 if test "$ac_res" != no; then
3415 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3420 ac_cpp='$CPP $CPPFLAGS'
3421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3424 if test -n "$ac_tool_prefix"; then
3425 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3426 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3429 if test "${ac_cv_prog_CC+set}" = set; then
3430 echo $ECHO_N "(cached) $ECHO_C" >&6
3432 if test -n "$CC"; then
3433 ac_cv_prog_CC="$CC" # Let the user override the test.
3435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439 test -z "$as_dir" && as_dir=.
3440 for ac_exec_ext in '' $ac_executable_extensions; do
3441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3442 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3453 if test -n "$CC"; then
3454 { echo "$as_me:$LINENO: result: $CC" >&5
3455 echo "${ECHO_T}$CC" >&6; }
3457 { echo "$as_me:$LINENO: result: no" >&5
3458 echo "${ECHO_T}no" >&6; }
3463 if test -z "$ac_cv_prog_CC"; then
3465 # Extract the first word of "gcc", so it can be a program name with args.
3466 set dummy gcc; ac_word=$2
3467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3469 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 if test -n "$ac_ct_CC"; then
3473 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3479 test -z "$as_dir" && as_dir=.
3480 for ac_exec_ext in '' $ac_executable_extensions; do
3481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3482 ac_cv_prog_ac_ct_CC="gcc"
3483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3492 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3493 if test -n "$ac_ct_CC"; then
3494 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3495 echo "${ECHO_T}$ac_ct_CC" >&6; }
3497 { echo "$as_me:$LINENO: result: no" >&5
3498 echo "${ECHO_T}no" >&6; }
3501 if test "x$ac_ct_CC" = x; then
3504 case $cross_compiling:$ac_tool_warned in
3506 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3507 whose name does not start with the host triplet. If you think this
3508 configuration is useful to you, please write to autoconf@gnu.org." >&5
3509 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3510 whose name does not start with the host triplet. If you think this
3511 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3512 ac_tool_warned=yes ;;
3520 if test -z "$CC"; then
3521 if test -n "$ac_tool_prefix"; then
3522 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3523 set dummy ${ac_tool_prefix}cc; ac_word=$2
3524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3526 if test "${ac_cv_prog_CC+set}" = set; then
3527 echo $ECHO_N "(cached) $ECHO_C" >&6
3529 if test -n "$CC"; then
3530 ac_cv_prog_CC="$CC" # Let the user override the test.
3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3536 test -z "$as_dir" && as_dir=.
3537 for ac_exec_ext in '' $ac_executable_extensions; do
3538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3539 ac_cv_prog_CC="${ac_tool_prefix}cc"
3540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3550 if test -n "$CC"; then
3551 { echo "$as_me:$LINENO: result: $CC" >&5
3552 echo "${ECHO_T}$CC" >&6; }
3554 { echo "$as_me:$LINENO: result: no" >&5
3555 echo "${ECHO_T}no" >&6; }
3561 if test -z "$CC"; then
3562 # Extract the first word of "cc", so it can be a program name with args.
3563 set dummy cc; ac_word=$2
3564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3566 if test "${ac_cv_prog_CC+set}" = set; then
3567 echo $ECHO_N "(cached) $ECHO_C" >&6
3569 if test -n "$CC"; then
3570 ac_cv_prog_CC="$CC" # Let the user override the test.
3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3577 test -z "$as_dir" && as_dir=.
3578 for ac_exec_ext in '' $ac_executable_extensions; do
3579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3580 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3581 ac_prog_rejected=yes
3585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3592 if test $ac_prog_rejected = yes; then
3593 # We found a bogon in the path, so make sure we never use it.
3594 set dummy $ac_cv_prog_CC
3596 if test $# != 0; then
3597 # We chose a different compiler from the bogus one.
3598 # However, it has the same basename, so the bogon will be chosen
3599 # first if we set CC to just the basename; use the full file name.
3601 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3607 if test -n "$CC"; then
3608 { echo "$as_me:$LINENO: result: $CC" >&5
3609 echo "${ECHO_T}$CC" >&6; }
3611 { echo "$as_me:$LINENO: result: no" >&5
3612 echo "${ECHO_T}no" >&6; }
3617 if test -z "$CC"; then
3618 if test -n "$ac_tool_prefix"; then
3619 for ac_prog in cl.exe
3621 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3622 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3625 if test "${ac_cv_prog_CC+set}" = set; then
3626 echo $ECHO_N "(cached) $ECHO_C" >&6
3628 if test -n "$CC"; then
3629 ac_cv_prog_CC="$CC" # Let the user override the test.
3631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3635 test -z "$as_dir" && as_dir=.
3636 for ac_exec_ext in '' $ac_executable_extensions; do
3637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3638 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3649 if test -n "$CC"; then
3650 { echo "$as_me:$LINENO: result: $CC" >&5
3651 echo "${ECHO_T}$CC" >&6; }
3653 { echo "$as_me:$LINENO: result: no" >&5
3654 echo "${ECHO_T}no" >&6; }
3658 test -n "$CC" && break
3661 if test -z "$CC"; then
3663 for ac_prog in cl.exe
3665 # Extract the first word of "$ac_prog", so it can be a program name with args.
3666 set dummy $ac_prog; ac_word=$2
3667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3669 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3670 echo $ECHO_N "(cached) $ECHO_C" >&6
3672 if test -n "$ac_ct_CC"; then
3673 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679 test -z "$as_dir" && as_dir=.
3680 for ac_exec_ext in '' $ac_executable_extensions; do
3681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3682 ac_cv_prog_ac_ct_CC="$ac_prog"
3683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3692 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3693 if test -n "$ac_ct_CC"; then
3694 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3695 echo "${ECHO_T}$ac_ct_CC" >&6; }
3697 { echo "$as_me:$LINENO: result: no" >&5
3698 echo "${ECHO_T}no" >&6; }
3702 test -n "$ac_ct_CC" && break
3705 if test "x$ac_ct_CC" = x; then
3708 case $cross_compiling:$ac_tool_warned in
3710 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3711 whose name does not start with the host triplet. If you think this
3712 configuration is useful to you, please write to autoconf@gnu.org." >&5
3713 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3714 whose name does not start with the host triplet. If you think this
3715 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3716 ac_tool_warned=yes ;;
3725 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3726 See \`config.log' for more details." >&5
3727 echo "$as_me: error: no acceptable C compiler found in \$PATH
3728 See \`config.log' for more details." >&2;}
3729 { (exit 1); exit 1; }; }
3731 # Provide some information about the compiler.
3732 echo "$as_me:$LINENO: checking for C compiler version" >&5
3733 ac_compiler=`set X $ac_compile; echo $2`
3734 { (ac_try="$ac_compiler --version >&5"
3736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3737 *) ac_try_echo=$ac_try;;
3739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3740 (eval "$ac_compiler --version >&5") 2>&5
3742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 (exit $ac_status); }
3744 { (ac_try="$ac_compiler -v >&5"
3746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3747 *) ac_try_echo=$ac_try;;
3749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3750 (eval "$ac_compiler -v >&5") 2>&5
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); }
3754 { (ac_try="$ac_compiler -V >&5"
3756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3757 *) ac_try_echo=$ac_try;;
3759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3760 (eval "$ac_compiler -V >&5") 2>&5
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); }
3765 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3766 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3767 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 cat >conftest.$ac_ext <<_ACEOF
3773 cat confdefs.h >>conftest.$ac_ext
3774 cat >>conftest.$ac_ext <<_ACEOF
3775 /* end confdefs.h. */
3788 rm -f conftest.$ac_objext
3789 if { (ac_try="$ac_compile"
3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3795 (eval "$ac_compile") 2>conftest.er1
3797 grep -v '^ *+' conftest.er1 >conftest.err
3799 cat conftest.err >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); } && {
3802 test -z "$ac_c_werror_flag" ||
3803 test ! -s conftest.err
3804 } && test -s conftest.$ac_objext; then
3807 echo "$as_me: failed program was:" >&5
3808 sed 's/^/| /' conftest.$ac_ext >&5
3813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3814 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3817 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3818 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3819 GCC=`test $ac_compiler_gnu = yes && echo yes`
3820 ac_test_CFLAGS=${CFLAGS+set}
3821 ac_save_CFLAGS=$CFLAGS
3822 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3823 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3824 if test "${ac_cv_prog_cc_g+set}" = set; then
3825 echo $ECHO_N "(cached) $ECHO_C" >&6
3827 ac_save_c_werror_flag=$ac_c_werror_flag
3828 ac_c_werror_flag=yes
3831 cat >conftest.$ac_ext <<_ACEOF
3834 cat confdefs.h >>conftest.$ac_ext
3835 cat >>conftest.$ac_ext <<_ACEOF
3836 /* end confdefs.h. */
3846 rm -f conftest.$ac_objext
3847 if { (ac_try="$ac_compile"
3849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3850 *) ac_try_echo=$ac_try;;
3852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3853 (eval "$ac_compile") 2>conftest.er1
3855 grep -v '^ *+' conftest.er1 >conftest.err
3857 cat conftest.err >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); } && {
3860 test -z "$ac_c_werror_flag" ||
3861 test ! -s conftest.err
3862 } && test -s conftest.$ac_objext; then
3865 echo "$as_me: failed program was:" >&5
3866 sed 's/^/| /' conftest.$ac_ext >&5
3869 cat >conftest.$ac_ext <<_ACEOF
3872 cat confdefs.h >>conftest.$ac_ext
3873 cat >>conftest.$ac_ext <<_ACEOF
3874 /* end confdefs.h. */
3884 rm -f conftest.$ac_objext
3885 if { (ac_try="$ac_compile"
3887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3888 *) ac_try_echo=$ac_try;;
3890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3891 (eval "$ac_compile") 2>conftest.er1
3893 grep -v '^ *+' conftest.er1 >conftest.err
3895 cat conftest.err >&5
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); } && {
3898 test -z "$ac_c_werror_flag" ||
3899 test ! -s conftest.err
3900 } && test -s conftest.$ac_objext; then
3903 echo "$as_me: failed program was:" >&5
3904 sed 's/^/| /' conftest.$ac_ext >&5
3906 ac_c_werror_flag=$ac_save_c_werror_flag
3908 cat >conftest.$ac_ext <<_ACEOF
3911 cat confdefs.h >>conftest.$ac_ext
3912 cat >>conftest.$ac_ext <<_ACEOF
3913 /* end confdefs.h. */
3923 rm -f conftest.$ac_objext
3924 if { (ac_try="$ac_compile"
3926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3927 *) ac_try_echo=$ac_try;;
3929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3930 (eval "$ac_compile") 2>conftest.er1
3932 grep -v '^ *+' conftest.er1 >conftest.err
3934 cat conftest.err >&5
3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936 (exit $ac_status); } && {
3937 test -z "$ac_c_werror_flag" ||
3938 test ! -s conftest.err
3939 } && test -s conftest.$ac_objext; then
3942 echo "$as_me: failed program was:" >&5
3943 sed 's/^/| /' conftest.$ac_ext >&5
3948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3955 ac_c_werror_flag=$ac_save_c_werror_flag
3957 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3958 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3959 if test "$ac_test_CFLAGS" = set; then
3960 CFLAGS=$ac_save_CFLAGS
3961 elif test $ac_cv_prog_cc_g = yes; then
3962 if test "$GCC" = yes; then
3968 if test "$GCC" = yes; then
3974 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3975 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3976 if test "${ac_cv_prog_cc_c89+set}" = set; then
3977 echo $ECHO_N "(cached) $ECHO_C" >&6
3979 ac_cv_prog_cc_c89=no
3981 cat >conftest.$ac_ext <<_ACEOF
3984 cat confdefs.h >>conftest.$ac_ext
3985 cat >>conftest.$ac_ext <<_ACEOF
3986 /* end confdefs.h. */
3989 #include <sys/types.h>
3990 #include <sys/stat.h>
3991 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3992 struct buf { int x; };
3993 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3994 static char *e (p, i)
4000 static char *f (char * (*g) (char **, int), char **p, ...)
4005 s = g (p, va_arg (v,int));
4010 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4011 function prototypes and stuff, but not '\xHH' hex character constants.
4012 These don't provoke an error unfortunately, instead are silently treated
4013 as 'x'. The following induces an error, until -std is added to get
4014 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4015 array size at least. It's necessary to write '\x00'==0 to get something
4016 that's true only with -std. */
4017 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4019 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4020 inside strings and character constants. */
4022 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4024 int test (int i, double x);
4025 struct s1 {int (*f) (int a);};
4026 struct s2 {int (*f) (double a);};
4027 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4033 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4038 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4039 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4041 CC="$ac_save_CC $ac_arg"
4042 rm -f conftest.$ac_objext
4043 if { (ac_try="$ac_compile"
4045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4046 *) ac_try_echo=$ac_try;;
4048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4049 (eval "$ac_compile") 2>conftest.er1
4051 grep -v '^ *+' conftest.er1 >conftest.err
4053 cat conftest.err >&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); } && {
4056 test -z "$ac_c_werror_flag" ||
4057 test ! -s conftest.err
4058 } && test -s conftest.$ac_objext; then
4059 ac_cv_prog_cc_c89=$ac_arg
4061 echo "$as_me: failed program was:" >&5
4062 sed 's/^/| /' conftest.$ac_ext >&5
4067 rm -f core conftest.err conftest.$ac_objext
4068 test "x$ac_cv_prog_cc_c89" != "xno" && break
4070 rm -f conftest.$ac_ext
4075 case "x$ac_cv_prog_cc_c89" in
4077 { echo "$as_me:$LINENO: result: none needed" >&5
4078 echo "${ECHO_T}none needed" >&6; } ;;
4080 { echo "$as_me:$LINENO: result: unsupported" >&5
4081 echo "${ECHO_T}unsupported" >&6; } ;;
4083 CC="$CC $ac_cv_prog_cc_c89"
4084 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4085 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4090 ac_cpp='$CPP $CPPFLAGS'
4091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4095 depcc="$CC" am_compiler_list=
4097 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4098 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4099 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4100 echo $ECHO_N "(cached) $ECHO_C" >&6
4102 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4103 # We make a subdir and do the tests there. Otherwise we can end up
4104 # making bogus files that we don't know about and never remove. For
4105 # instance it was reported that on HP-UX the gcc test will end up
4106 # making a dummy file named `D' -- because `-MD' means `put the output
4109 # Copy depcomp to subdir because otherwise we won't find it if we're
4110 # using a relative directory.
4111 cp "$am_depcomp" conftest.dir
4113 # We will build objects and dependencies in a subdirectory because
4114 # it helps to detect inapplicable dependency modes. For instance
4115 # both Tru64's cc and ICC support -MD to output dependencies as a
4116 # side effect of compilation, but ICC will put the dependencies in
4117 # the current directory while Tru64 will put them in the object
4121 am_cv_CC_dependencies_compiler_type=none
4122 if test "$am_compiler_list" = ""; then
4123 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4125 for depmode in $am_compiler_list; do
4126 # Setup a source with many dependencies, because some compilers
4127 # like to wrap large dependency lists on column 80 (with \), and
4128 # we should not choose a depcomp mode which is confused by this.
4130 # We need to recreate these files for each test, as the compiler may
4131 # overwrite some of them when testing with obscure command lines.
4132 # This happens at least with the AIX C compiler.
4134 for i in 1 2 3 4 5 6; do
4135 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4138 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4142 # after this tag, mechanisms are not by side-effect, so they'll
4143 # only be used when explicitly requested
4144 if test "x$enable_dependency_tracking" = xyes; then
4152 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4153 # mode. It turns out that the SunPro C++ compiler does not properly
4154 # handle `-M -o', and we need to detect this.
4155 if depmode=$depmode \
4156 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4157 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4158 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4159 >/dev/null 2>conftest.err &&
4160 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4161 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4162 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4163 # icc doesn't choke on unknown options, it will just issue warnings
4164 # (even with -Werror). So we grep stderr for any message
4165 # that says an option was ignored.
4166 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4167 am_cv_CC_dependencies_compiler_type=$depmode
4176 am_cv_CC_dependencies_compiler_type=none
4180 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4181 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4182 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4187 test "x$enable_dependency_tracking" != xno \
4188 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4190 am__fastdepCC_FALSE='#'
4192 am__fastdepCC_TRUE='#'
4193 am__fastdepCC_FALSE=
4200 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
4201 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
4202 if test "${am_cv_prog_cc_stdc+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 am_cv_prog_cc_stdc=no
4207 # Don't try gcc -ansi; that turns off useful extensions and
4208 # breaks some systems' header files.
4209 # AIX -qlanglvl=ansi
4210 # Ultrix and OSF/1 -std1
4211 # HP-UX 10.20 and later -Ae
4212 # HP-UX older versions -Aa -D_HPUX_SOURCE
4213 # SVR4 -Xc -D__EXTENSIONS__
4214 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4216 CC="$ac_save_CC $ac_arg"
4217 cat >conftest.$ac_ext <<_ACEOF
4220 cat confdefs.h >>conftest.$ac_ext
4221 cat >>conftest.$ac_ext <<_ACEOF
4222 /* end confdefs.h. */
4225 #include <sys/types.h>
4226 #include <sys/stat.h>
4227 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4228 struct buf { int x; };
4229 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4230 static char *e (p, i)
4236 static char *f (char * (*g) (char **, int), char **p, ...)
4241 s = g (p, va_arg (v,int));
4245 int test (int i, double x);
4246 struct s1 {int (*f) (int a);};
4247 struct s2 {int (*f) (double a);};
4248 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4256 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4262 rm -f conftest.$ac_objext
4263 if { (ac_try="$ac_compile"
4265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4266 *) ac_try_echo=$ac_try;;
4268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4269 (eval "$ac_compile") 2>conftest.er1
4271 grep -v '^ *+' conftest.er1 >conftest.err
4273 cat conftest.err >&5
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275 (exit $ac_status); } && {
4276 test -z "$ac_c_werror_flag" ||
4277 test ! -s conftest.err
4278 } && test -s conftest.$ac_objext; then
4279 am_cv_prog_cc_stdc="$ac_arg"; break
4281 echo "$as_me: failed program was:" >&5
4282 sed 's/^/| /' conftest.$ac_ext >&5
4287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4293 if test -z "$am_cv_prog_cc_stdc"; then
4294 { echo "$as_me:$LINENO: result: none needed" >&5
4295 echo "${ECHO_T}none needed" >&6; }
4297 { echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
4298 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6; }
4300 case "x$am_cv_prog_cc_stdc" in
4302 *) CC="$CC $am_cv_prog_cc_stdc" ;;
4305 # By default we simply use the C compiler to build assembly code.
4308 # Set ASFLAGS if not already set.
4309 : ${CCASFLAGS='$(CFLAGS)'}
4313 ac_cpp='$CPP $CPPFLAGS'
4314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4317 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4318 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4319 # On Suns, sometimes $CPP names a directory.
4320 if test -n "$CPP" && test -d "$CPP"; then
4323 if test -z "$CPP"; then
4324 if test "${ac_cv_prog_CPP+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 # Double quotes because CPP needs to be expanded
4328 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4331 for ac_c_preproc_warn_flag in '' yes
4333 # Use a header file that comes with gcc, so configuring glibc
4334 # with a fresh cross-compiler works.
4335 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4336 # <limits.h> exists even on freestanding compilers.
4337 # On the NeXT, cc -E runs the code through the compiler's parser,
4338 # not just through cpp. "Syntax error" is here to catch this case.
4339 cat >conftest.$ac_ext <<_ACEOF
4342 cat confdefs.h >>conftest.$ac_ext
4343 cat >>conftest.$ac_ext <<_ACEOF
4344 /* end confdefs.h. */
4346 # include <limits.h>
4348 # include <assert.h>
4352 if { (ac_try="$ac_cpp conftest.$ac_ext"
4354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4355 *) ac_try_echo=$ac_try;;
4357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4358 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4360 grep -v '^ *+' conftest.er1 >conftest.err
4362 cat conftest.err >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } >/dev/null && {
4365 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4366 test ! -s conftest.err
4370 echo "$as_me: failed program was:" >&5
4371 sed 's/^/| /' conftest.$ac_ext >&5
4373 # Broken: fails on valid input.
4377 rm -f conftest.err conftest.$ac_ext
4379 # OK, works on sane cases. Now check whether nonexistent headers
4380 # can be detected and how.
4381 cat >conftest.$ac_ext <<_ACEOF
4384 cat confdefs.h >>conftest.$ac_ext
4385 cat >>conftest.$ac_ext <<_ACEOF
4386 /* end confdefs.h. */
4387 #include <ac_nonexistent.h>
4389 if { (ac_try="$ac_cpp conftest.$ac_ext"
4391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4392 *) ac_try_echo=$ac_try;;
4394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4395 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4397 grep -v '^ *+' conftest.er1 >conftest.err
4399 cat conftest.err >&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); } >/dev/null && {
4402 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4403 test ! -s conftest.err
4405 # Broken: success on invalid input.
4408 echo "$as_me: failed program was:" >&5
4409 sed 's/^/| /' conftest.$ac_ext >&5
4411 # Passes both tests.
4416 rm -f conftest.err conftest.$ac_ext
4419 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4420 rm -f conftest.err conftest.$ac_ext
4421 if $ac_preproc_ok; then
4433 { echo "$as_me:$LINENO: result: $CPP" >&5
4434 echo "${ECHO_T}$CPP" >&6; }
4436 for ac_c_preproc_warn_flag in '' yes
4438 # Use a header file that comes with gcc, so configuring glibc
4439 # with a fresh cross-compiler works.
4440 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4441 # <limits.h> exists even on freestanding compilers.
4442 # On the NeXT, cc -E runs the code through the compiler's parser,
4443 # not just through cpp. "Syntax error" is here to catch this case.
4444 cat >conftest.$ac_ext <<_ACEOF
4447 cat confdefs.h >>conftest.$ac_ext
4448 cat >>conftest.$ac_ext <<_ACEOF
4449 /* end confdefs.h. */
4451 # include <limits.h>
4453 # include <assert.h>
4457 if { (ac_try="$ac_cpp conftest.$ac_ext"
4459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4460 *) ac_try_echo=$ac_try;;
4462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4463 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4465 grep -v '^ *+' conftest.er1 >conftest.err
4467 cat conftest.err >&5
4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469 (exit $ac_status); } >/dev/null && {
4470 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4471 test ! -s conftest.err
4475 echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.$ac_ext >&5
4478 # Broken: fails on valid input.
4482 rm -f conftest.err conftest.$ac_ext
4484 # OK, works on sane cases. Now check whether nonexistent headers
4485 # can be detected and how.
4486 cat >conftest.$ac_ext <<_ACEOF
4489 cat confdefs.h >>conftest.$ac_ext
4490 cat >>conftest.$ac_ext <<_ACEOF
4491 /* end confdefs.h. */
4492 #include <ac_nonexistent.h>
4494 if { (ac_try="$ac_cpp conftest.$ac_ext"
4496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4497 *) ac_try_echo=$ac_try;;
4499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4500 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4502 grep -v '^ *+' conftest.er1 >conftest.err
4504 cat conftest.err >&5
4505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 (exit $ac_status); } >/dev/null && {
4507 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4508 test ! -s conftest.err
4510 # Broken: success on invalid input.
4513 echo "$as_me: failed program was:" >&5
4514 sed 's/^/| /' conftest.$ac_ext >&5
4516 # Passes both tests.
4521 rm -f conftest.err conftest.$ac_ext
4524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4525 rm -f conftest.err conftest.$ac_ext
4526 if $ac_preproc_ok; then
4529 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4530 See \`config.log' for more details." >&5
4531 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4532 See \`config.log' for more details." >&2;}
4533 { (exit 1); exit 1; }; }
4537 ac_cpp='$CPP $CPPFLAGS'
4538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4543 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4544 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4545 if test "${ac_cv_path_GREP+set}" = set; then
4546 echo $ECHO_N "(cached) $ECHO_C" >&6
4548 # Extract the first word of "grep ggrep" to use in msg output
4549 if test -z "$GREP"; then
4550 set dummy grep ggrep; ac_prog_name=$2
4551 if test "${ac_cv_path_GREP+set}" = set; then
4552 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 ac_path_GREP_found=false
4555 # Loop through the user's path and test for each of PROGNAME-LIST
4556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4560 test -z "$as_dir" && as_dir=.
4561 for ac_prog in grep ggrep; do
4562 for ac_exec_ext in '' $ac_executable_extensions; do
4563 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4564 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4565 # Check for GNU ac_path_GREP and select it if it is found.
4566 # Check for GNU $ac_path_GREP
4567 case `"$ac_path_GREP" --version 2>&1` in
4569 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4572 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4575 cat "conftest.in" "conftest.in" >"conftest.tmp"
4576 mv "conftest.tmp" "conftest.in"
4577 cp "conftest.in" "conftest.nl"
4578 echo 'GREP' >> "conftest.nl"
4579 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4580 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4581 ac_count=`expr $ac_count + 1`
4582 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4583 # Best one so far, save it but keep looking for a better one
4584 ac_cv_path_GREP="$ac_path_GREP"
4585 ac_path_GREP_max=$ac_count
4587 # 10*(2^10) chars as input seems more than enough
4588 test $ac_count -gt 10 && break
4590 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4594 $ac_path_GREP_found && break 3
4604 GREP="$ac_cv_path_GREP"
4605 if test -z "$GREP"; then
4606 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4607 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4608 { (exit 1); exit 1; }; }
4612 ac_cv_path_GREP=$GREP
4617 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4618 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4619 GREP="$ac_cv_path_GREP"
4622 { echo "$as_me:$LINENO: checking for egrep" >&5
4623 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4624 if test "${ac_cv_path_EGREP+set}" = set; then
4625 echo $ECHO_N "(cached) $ECHO_C" >&6
4627 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4628 then ac_cv_path_EGREP="$GREP -E"
4630 # Extract the first word of "egrep" to use in msg output
4631 if test -z "$EGREP"; then
4632 set dummy egrep; ac_prog_name=$2
4633 if test "${ac_cv_path_EGREP+set}" = set; then
4634 echo $ECHO_N "(cached) $ECHO_C" >&6
4636 ac_path_EGREP_found=false
4637 # Loop through the user's path and test for each of PROGNAME-LIST
4638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4639 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4642 test -z "$as_dir" && as_dir=.
4643 for ac_prog in egrep; do
4644 for ac_exec_ext in '' $ac_executable_extensions; do
4645 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4646 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4647 # Check for GNU ac_path_EGREP and select it if it is found.
4648 # Check for GNU $ac_path_EGREP
4649 case `"$ac_path_EGREP" --version 2>&1` in
4651 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4654 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4657 cat "conftest.in" "conftest.in" >"conftest.tmp"
4658 mv "conftest.tmp" "conftest.in"
4659 cp "conftest.in" "conftest.nl"
4660 echo 'EGREP' >> "conftest.nl"
4661 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4662 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4663 ac_count=`expr $ac_count + 1`
4664 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4665 # Best one so far, save it but keep looking for a better one
4666 ac_cv_path_EGREP="$ac_path_EGREP"
4667 ac_path_EGREP_max=$ac_count
4669 # 10*(2^10) chars as input seems more than enough
4670 test $ac_count -gt 10 && break
4672 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4676 $ac_path_EGREP_found && break 3
4686 EGREP="$ac_cv_path_EGREP"
4687 if test -z "$EGREP"; then
4688 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4689 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4690 { (exit 1); exit 1; }; }
4694 ac_cv_path_EGREP=$EGREP
4700 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4701 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4702 EGREP="$ac_cv_path_EGREP"
4705 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4706 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4707 if test "${ac_cv_header_stdc+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 cat >conftest.$ac_ext <<_ACEOF
4713 cat confdefs.h >>conftest.$ac_ext
4714 cat >>conftest.$ac_ext <<_ACEOF
4715 /* end confdefs.h. */
4729 rm -f conftest.$ac_objext
4730 if { (ac_try="$ac_compile"
4732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4733 *) ac_try_echo=$ac_try;;
4735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4736 (eval "$ac_compile") 2>conftest.er1
4738 grep -v '^ *+' conftest.er1 >conftest.err
4740 cat conftest.err >&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); } && {
4743 test -z "$ac_c_werror_flag" ||
4744 test ! -s conftest.err
4745 } && test -s conftest.$ac_objext; then
4746 ac_cv_header_stdc=yes
4748 echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4751 ac_cv_header_stdc=no
4754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4756 if test $ac_cv_header_stdc = yes; then
4757 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4758 cat >conftest.$ac_ext <<_ACEOF
4761 cat confdefs.h >>conftest.$ac_ext
4762 cat >>conftest.$ac_ext <<_ACEOF
4763 /* end confdefs.h. */
4767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4768 $EGREP "memchr" >/dev/null 2>&1; then
4771 ac_cv_header_stdc=no
4777 if test $ac_cv_header_stdc = yes; then
4778 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4779 cat >conftest.$ac_ext <<_ACEOF
4782 cat confdefs.h >>conftest.$ac_ext
4783 cat >>conftest.$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4789 $EGREP "free" >/dev/null 2>&1; then
4792 ac_cv_header_stdc=no
4798 if test $ac_cv_header_stdc = yes; then
4799 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4800 if test "$cross_compiling" = yes; then
4803 cat >conftest.$ac_ext <<_ACEOF
4806 cat confdefs.h >>conftest.$ac_ext
4807 cat >>conftest.$ac_ext <<_ACEOF
4808 /* end confdefs.h. */
4811 #if ((' ' & 0x0FF) == 0x020)
4812 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4813 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4815 # define ISLOWER(c) \
4816 (('a' <= (c) && (c) <= 'i') \
4817 || ('j' <= (c) && (c) <= 'r') \
4818 || ('s' <= (c) && (c) <= 'z'))
4819 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4822 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4827 for (i = 0; i < 256; i++)
4828 if (XOR (islower (i), ISLOWER (i))
4829 || toupper (i) != TOUPPER (i))
4834 rm -f conftest$ac_exeext
4835 if { (ac_try="$ac_link"
4837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4838 *) ac_try_echo=$ac_try;;
4840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4841 (eval "$ac_link") 2>&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4845 { (case "(($ac_try" in
4846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4847 *) ac_try_echo=$ac_try;;
4849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4850 (eval "$ac_try") 2>&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); }; }; then
4856 echo "$as_me: program exited with status $ac_status" >&5
4857 echo "$as_me: failed program was:" >&5
4858 sed 's/^/| /' conftest.$ac_ext >&5
4861 ac_cv_header_stdc=no
4863 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4869 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4870 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4871 if test $ac_cv_header_stdc = yes; then
4873 cat >>confdefs.h <<\_ACEOF
4874 #define STDC_HEADERS 1
4879 # Make sure we can run config.sub.
4880 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4881 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4882 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4883 { (exit 1); exit 1; }; }
4885 { echo "$as_me:$LINENO: checking build system type" >&5
4886 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4887 if test "${ac_cv_build+set}" = set; then
4888 echo $ECHO_N "(cached) $ECHO_C" >&6
4890 ac_build_alias=$build_alias
4891 test "x$ac_build_alias" = x &&
4892 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4893 test "x$ac_build_alias" = x &&
4894 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4895 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4896 { (exit 1); exit 1; }; }
4897 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4898 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4899 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4900 { (exit 1); exit 1; }; }
4903 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4904 echo "${ECHO_T}$ac_cv_build" >&6; }
4905 case $ac_cv_build in
4907 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4908 echo "$as_me: error: invalid value of canonical build" >&2;}
4909 { (exit 1); exit 1; }; };;
4912 ac_save_IFS=$IFS; IFS='-'
4918 # Remember, the first character of IFS is used to create $*,
4919 # except with old shells:
4922 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4925 { echo "$as_me:$LINENO: checking host system type" >&5
4926 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4927 if test "${ac_cv_host+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 if test "x$host_alias" = x; then
4931 ac_cv_host=$ac_cv_build
4933 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4934 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4935 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4936 { (exit 1); exit 1; }; }
4940 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4941 echo "${ECHO_T}$ac_cv_host" >&6; }
4944 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4945 echo "$as_me: error: invalid value of canonical host" >&2;}
4946 { (exit 1); exit 1; }; };;
4949 ac_save_IFS=$IFS; IFS='-'
4955 # Remember, the first character of IFS is used to create $*,
4956 # except with old shells:
4959 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4962 # Check whether --enable-trace was given.
4963 if test "${enable_trace+set}" = set; then
4964 enableval=$enable_trace; if test "$enableval" == "yes"; then
4966 cat >>confdefs.h <<\_ACEOF
4967 #define ENABLE_TRACE_IO 1
4973 # Check whether --enable-watch was given.
4974 if test "${enable_watch+set}" = set; then
4975 enableval=$enable_watch; if test "$enableval" == "yes"; then
4977 cat >>confdefs.h <<\_ACEOF
4978 #define ENABLE_WATCH 1
4984 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4994 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4995 inttypes.h stdint.h unistd.h
4997 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4998 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5000 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 cat >conftest.$ac_ext <<_ACEOF
5006 cat confdefs.h >>conftest.$ac_ext
5007 cat >>conftest.$ac_ext <<_ACEOF
5008 /* end confdefs.h. */
5009 $ac_includes_default
5011 #include <$ac_header>
5013 rm -f conftest.$ac_objext
5014 if { (ac_try="$ac_compile"
5016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5017 *) ac_try_echo=$ac_try;;
5019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5020 (eval "$ac_compile") 2>conftest.er1
5022 grep -v '^ *+' conftest.er1 >conftest.err
5024 cat conftest.err >&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); } && {
5027 test -z "$ac_c_werror_flag" ||
5028 test ! -s conftest.err
5029 } && test -s conftest.$ac_objext; then
5030 eval "$as_ac_Header=yes"
5032 echo "$as_me: failed program was:" >&5
5033 sed 's/^/| /' conftest.$ac_ext >&5
5035 eval "$as_ac_Header=no"
5038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5040 ac_res=`eval echo '${'$as_ac_Header'}'`
5041 { echo "$as_me:$LINENO: result: $ac_res" >&5
5042 echo "${ECHO_T}$ac_res" >&6; }
5043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5044 cat >>confdefs.h <<_ACEOF
5045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5053 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
5054 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
5055 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
5056 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
5057 echo $ECHO_N "(cached) $ECHO_C" >&6
5059 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
5060 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
5062 # Is the header compilable?
5063 { echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
5064 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6; }
5065 cat >conftest.$ac_ext <<_ACEOF
5068 cat confdefs.h >>conftest.$ac_ext
5069 cat >>conftest.$ac_ext <<_ACEOF
5070 /* end confdefs.h. */
5071 $ac_includes_default
5072 #include <Carbon/Carbon.h>
5074 rm -f conftest.$ac_objext
5075 if { (ac_try="$ac_compile"
5077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5078 *) ac_try_echo=$ac_try;;
5080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5081 (eval "$ac_compile") 2>conftest.er1
5083 grep -v '^ *+' conftest.er1 >conftest.err
5085 cat conftest.err >&5
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); } && {
5088 test -z "$ac_c_werror_flag" ||
5089 test ! -s conftest.err
5090 } && test -s conftest.$ac_objext; then
5091 ac_header_compiler=yes
5093 echo "$as_me: failed program was:" >&5
5094 sed 's/^/| /' conftest.$ac_ext >&5
5096 ac_header_compiler=no
5099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5100 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5101 echo "${ECHO_T}$ac_header_compiler" >&6; }
5103 # Is the header present?
5104 { echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
5105 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6; }
5106 cat >conftest.$ac_ext <<_ACEOF
5109 cat confdefs.h >>conftest.$ac_ext
5110 cat >>conftest.$ac_ext <<_ACEOF
5111 /* end confdefs.h. */
5112 #include <Carbon/Carbon.h>
5114 if { (ac_try="$ac_cpp conftest.$ac_ext"
5116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5117 *) ac_try_echo=$ac_try;;
5119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5120 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5122 grep -v '^ *+' conftest.er1 >conftest.err
5124 cat conftest.err >&5
5125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5126 (exit $ac_status); } >/dev/null && {
5127 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5128 test ! -s conftest.err
5130 ac_header_preproc=yes
5132 echo "$as_me: failed program was:" >&5
5133 sed 's/^/| /' conftest.$ac_ext >&5
5135 ac_header_preproc=no
5138 rm -f conftest.err conftest.$ac_ext
5139 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5140 echo "${ECHO_T}$ac_header_preproc" >&6; }
5142 # So? What about this header?
5143 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5145 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
5146 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5147 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
5148 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
5149 ac_header_preproc=yes
5152 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
5153 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
5154 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
5155 echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
5156 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
5157 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
5158 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
5159 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
5160 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
5161 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
5162 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
5163 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
5167 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
5168 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
5169 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5172 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
5174 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
5175 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
5178 if test $ac_cv_header_Carbon_Carbon_h = yes; then
5182 LIBS="$LIBS -framework OpenGL -framework AGL -framework Carbon -L/usr/X11R6/lib -lGL"
5184 cat >>confdefs.h <<\_ACEOF
5185 #define HAVE_CARBON 1
5189 cat >>confdefs.h <<\_ACEOF
5190 #define APPLE_BUILD 1
5200 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5201 if test -n "$ac_tool_prefix"; then
5202 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5203 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5206 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5207 echo $ECHO_N "(cached) $ECHO_C" >&6
5211 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218 test -z "$as_dir" && as_dir=.
5219 for ac_exec_ext in '' $ac_executable_extensions; do
5220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5233 if test -n "$PKG_CONFIG"; then
5234 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5235 echo "${ECHO_T}$PKG_CONFIG" >&6; }
5237 { echo "$as_me:$LINENO: result: no" >&5
5238 echo "${ECHO_T}no" >&6; }
5243 if test -z "$ac_cv_path_PKG_CONFIG"; then
5244 ac_pt_PKG_CONFIG=$PKG_CONFIG
5245 # Extract the first word of "pkg-config", so it can be a program name with args.
5246 set dummy pkg-config; ac_word=$2
5247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5249 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5250 echo $ECHO_N "(cached) $ECHO_C" >&6
5252 case $ac_pt_PKG_CONFIG in
5254 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5261 test -z "$as_dir" && as_dir=.
5262 for ac_exec_ext in '' $ac_executable_extensions; do
5263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5264 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5276 if test -n "$ac_pt_PKG_CONFIG"; then
5277 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5278 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
5280 { echo "$as_me:$LINENO: result: no" >&5
5281 echo "${ECHO_T}no" >&6; }
5284 if test "x$ac_pt_PKG_CONFIG" = x; then
5287 case $cross_compiling:$ac_tool_warned in
5289 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5290 whose name does not start with the host triplet. If you think this
5291 configuration is useful to you, please write to autoconf@gnu.org." >&5
5292 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5293 whose name does not start with the host triplet. If you think this
5294 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5295 ac_tool_warned=yes ;;
5297 PKG_CONFIG=$ac_pt_PKG_CONFIG
5300 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5304 if test -n "$PKG_CONFIG"; then
5305 _pkg_min_version=0.9.0
5306 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5307 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
5308 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5309 { echo "$as_me:$LINENO: result: yes" >&5
5310 echo "${ECHO_T}yes" >&6; }
5312 { echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6; }
5320 { echo "$as_me:$LINENO: checking for LIBPNG" >&5
5321 echo $ECHO_N "checking for LIBPNG... $ECHO_C" >&6; }
5323 if test -n "$PKG_CONFIG"; then
5324 if test -n "$LIBPNG_CFLAGS"; then
5325 pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
5327 if test -n "$PKG_CONFIG" && \
5328 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
5329 ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); }; then
5333 pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
5341 if test -n "$PKG_CONFIG"; then
5342 if test -n "$LIBPNG_LIBS"; then
5343 pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
5345 if test -n "$PKG_CONFIG" && \
5346 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
5347 ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
5349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350 (exit $ac_status); }; then
5351 pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
5362 if test $pkg_failed = yes; then
5364 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5365 _pkg_short_errors_supported=yes
5367 _pkg_short_errors_supported=no
5369 if test $_pkg_short_errors_supported = yes; then
5370 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng "`
5372 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng "`
5374 # Put the nasty error message in config.log where it belongs
5375 echo "$LIBPNG_PKG_ERRORS" >&5
5377 { { echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
5381 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5382 installed software in a non-standard prefix.
5384 Alternatively, you may set the environment variables LIBPNG_CFLAGS
5385 and LIBPNG_LIBS to avoid the need to call pkg-config.
5386 See the pkg-config man page for more details.
5388 echo "$as_me: error: Package requirements (libpng ) were not met:
5392 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5393 installed software in a non-standard prefix.
5395 Alternatively, you may set the environment variables LIBPNG_CFLAGS
5396 and LIBPNG_LIBS to avoid the need to call pkg-config.
5397 See the pkg-config man page for more details.
5399 { (exit 1); exit 1; }; }
5400 elif test $pkg_failed = untried; then
5401 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5402 is in your PATH or set the PKG_CONFIG environment variable to the full
5405 Alternatively, you may set the environment variables LIBPNG_CFLAGS
5406 and LIBPNG_LIBS to avoid the need to call pkg-config.
5407 See the pkg-config man page for more details.
5409 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5410 See \`config.log' for more details." >&5
5411 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5412 is in your PATH or set the PKG_CONFIG environment variable to the full
5415 Alternatively, you may set the environment variables LIBPNG_CFLAGS
5416 and LIBPNG_LIBS to avoid the need to call pkg-config.
5417 See the pkg-config man page for more details.
5419 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5420 See \`config.log' for more details." >&2;}
5421 { (exit 1); exit 1; }; }
5423 LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
5424 LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
5425 { echo "$as_me:$LINENO: result: yes" >&5
5426 echo "${ECHO_T}yes" >&6; }
5431 { echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
5432 echo $ECHO_N "checking for uncompress in -lz... $ECHO_C" >&6; }
5433 if test "${ac_cv_lib_z_uncompress+set}" = set; then
5434 echo $ECHO_N "(cached) $ECHO_C" >&6
5436 ac_check_lib_save_LIBS=$LIBS
5438 cat >conftest.$ac_ext <<_ACEOF
5441 cat confdefs.h >>conftest.$ac_ext
5442 cat >>conftest.$ac_ext <<_ACEOF
5443 /* end confdefs.h. */
5445 /* Override any GCC internal prototype to avoid an error.
5446 Use char because int might match the return type of a GCC
5447 builtin and then its argument prototype would still apply. */
5455 return uncompress ();
5460 rm -f conftest.$ac_objext conftest$ac_exeext
5461 if { (ac_try="$ac_link"
5463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5464 *) ac_try_echo=$ac_try;;
5466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5467 (eval "$ac_link") 2>conftest.er1
5469 grep -v '^ *+' conftest.er1 >conftest.err
5471 cat conftest.err >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); } && {
5474 test -z "$ac_c_werror_flag" ||
5475 test ! -s conftest.err
5476 } && test -s conftest$ac_exeext &&
5477 $as_test_x conftest$ac_exeext; then
5478 ac_cv_lib_z_uncompress=yes
5480 echo "$as_me: failed program was:" >&5
5481 sed 's/^/| /' conftest.$ac_ext >&5
5483 ac_cv_lib_z_uncompress=no
5486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5487 conftest$ac_exeext conftest.$ac_ext
5488 LIBS=$ac_check_lib_save_LIBS
5490 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
5491 echo "${ECHO_T}$ac_cv_lib_z_uncompress" >&6; }
5492 if test $ac_cv_lib_z_uncompress = yes; then
5493 cat >>confdefs.h <<_ACEOF
5501 echo "Zlib (libz.so) could not be found, but is required."
5506 if test "$APPLE_BUILD" != 'yes'; then
5508 { echo "$as_me:$LINENO: checking for glXQueryVersion in -lGL" >&5
5509 echo $ECHO_N "checking for glXQueryVersion in -lGL... $ECHO_C" >&6; }
5510 if test "${ac_cv_lib_GL_glXQueryVersion+set}" = set; then
5511 echo $ECHO_N "(cached) $ECHO_C" >&6
5513 ac_check_lib_save_LIBS=$LIBS
5515 cat >conftest.$ac_ext <<_ACEOF
5518 cat confdefs.h >>conftest.$ac_ext
5519 cat >>conftest.$ac_ext <<_ACEOF
5520 /* end confdefs.h. */
5522 /* Override any GCC internal prototype to avoid an error.
5523 Use char because int might match the return type of a GCC
5524 builtin and then its argument prototype would still apply. */
5528 char glXQueryVersion ();
5532 return glXQueryVersion ();
5537 rm -f conftest.$ac_objext conftest$ac_exeext
5538 if { (ac_try="$ac_link"
5540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5541 *) ac_try_echo=$ac_try;;
5543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5544 (eval "$ac_link") 2>conftest.er1
5546 grep -v '^ *+' conftest.er1 >conftest.err
5548 cat conftest.err >&5
5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550 (exit $ac_status); } && {
5551 test -z "$ac_c_werror_flag" ||
5552 test ! -s conftest.err
5553 } && test -s conftest$ac_exeext &&
5554 $as_test_x conftest$ac_exeext; then
5555 ac_cv_lib_GL_glXQueryVersion=yes
5557 echo "$as_me: failed program was:" >&5
5558 sed 's/^/| /' conftest.$ac_ext >&5
5560 ac_cv_lib_GL_glXQueryVersion=no
5563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5564 conftest$ac_exeext conftest.$ac_ext
5565 LIBS=$ac_check_lib_save_LIBS
5567 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXQueryVersion" >&5
5568 echo "${ECHO_T}$ac_cv_lib_GL_glXQueryVersion" >&6; }
5569 if test $ac_cv_lib_GL_glXQueryVersion = yes; then
5570 cat >>confdefs.h <<_ACEOF
5571 #define HAVE_LIBGL 1
5578 echo "The OpenGL library (libGL.so) could not be found, but is required."
5582 if test "${ac_cv_header_GL_gl_h+set}" = set; then
5583 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
5584 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
5585 if test "${ac_cv_header_GL_gl_h+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5588 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
5589 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
5591 # Is the header compilable?
5592 { echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
5593 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6; }
5594 cat >conftest.$ac_ext <<_ACEOF
5597 cat confdefs.h >>conftest.$ac_ext
5598 cat >>conftest.$ac_ext <<_ACEOF
5599 /* end confdefs.h. */
5600 $ac_includes_default
5603 rm -f conftest.$ac_objext
5604 if { (ac_try="$ac_compile"
5606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5607 *) ac_try_echo=$ac_try;;
5609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5610 (eval "$ac_compile") 2>conftest.er1
5612 grep -v '^ *+' conftest.er1 >conftest.err
5614 cat conftest.err >&5
5615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616 (exit $ac_status); } && {
5617 test -z "$ac_c_werror_flag" ||
5618 test ! -s conftest.err
5619 } && test -s conftest.$ac_objext; then
5620 ac_header_compiler=yes
5622 echo "$as_me: failed program was:" >&5
5623 sed 's/^/| /' conftest.$ac_ext >&5
5625 ac_header_compiler=no
5628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5629 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5630 echo "${ECHO_T}$ac_header_compiler" >&6; }
5632 # Is the header present?
5633 { echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
5634 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6; }
5635 cat >conftest.$ac_ext <<_ACEOF
5638 cat confdefs.h >>conftest.$ac_ext
5639 cat >>conftest.$ac_ext <<_ACEOF
5640 /* end confdefs.h. */
5643 if { (ac_try="$ac_cpp conftest.$ac_ext"
5645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5646 *) ac_try_echo=$ac_try;;
5648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5651 grep -v '^ *+' conftest.er1 >conftest.err
5653 cat conftest.err >&5
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); } >/dev/null && {
5656 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5657 test ! -s conftest.err
5659 ac_header_preproc=yes
5661 echo "$as_me: failed program was:" >&5
5662 sed 's/^/| /' conftest.$ac_ext >&5
5664 ac_header_preproc=no
5667 rm -f conftest.err conftest.$ac_ext
5668 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5669 echo "${ECHO_T}$ac_header_preproc" >&6; }
5671 # So? What about this header?
5672 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5674 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5675 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5676 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
5677 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
5678 ac_header_preproc=yes
5681 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
5682 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
5683 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
5684 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
5685 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
5686 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
5687 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
5688 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
5689 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
5690 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
5691 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
5692 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
5696 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
5697 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
5698 if test "${ac_cv_header_GL_gl_h+set}" = set; then
5699 echo $ECHO_N "(cached) $ECHO_C" >&6
5701 ac_cv_header_GL_gl_h=$ac_header_preproc
5703 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
5704 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
5707 if test $ac_cv_header_GL_gl_h = yes; then
5711 echo "The OpenGL header files (eg GL/gl.h) could not be found, but are required."
5720 { echo "$as_me:$LINENO: checking for GTK" >&5
5721 echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
5723 if test -n "$PKG_CONFIG"; then
5724 if test -n "$GTK_CFLAGS"; then
5725 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
5727 if test -n "$PKG_CONFIG" && \
5728 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
5729 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); }; then
5733 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
5741 if test -n "$PKG_CONFIG"; then
5742 if test -n "$GTK_LIBS"; then
5743 pkg_cv_GTK_LIBS="$GTK_LIBS"
5745 if test -n "$PKG_CONFIG" && \
5746 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
5747 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750 (exit $ac_status); }; then
5751 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
5762 if test $pkg_failed = yes; then
5764 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5765 _pkg_short_errors_supported=yes
5767 _pkg_short_errors_supported=no
5769 if test $_pkg_short_errors_supported = yes; then
5770 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
5772 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
5774 # Put the nasty error message in config.log where it belongs
5775 echo "$GTK_PKG_ERRORS" >&5
5777 { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
5781 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5782 installed software in a non-standard prefix.
5784 Alternatively, you may set the environment variables GTK_CFLAGS
5785 and GTK_LIBS to avoid the need to call pkg-config.
5786 See the pkg-config man page for more details.
5788 echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
5792 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5793 installed software in a non-standard prefix.
5795 Alternatively, you may set the environment variables GTK_CFLAGS
5796 and GTK_LIBS to avoid the need to call pkg-config.
5797 See the pkg-config man page for more details.
5799 { (exit 1); exit 1; }; }
5800 elif test $pkg_failed = untried; then
5801 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5802 is in your PATH or set the PKG_CONFIG environment variable to the full
5805 Alternatively, you may set the environment variables GTK_CFLAGS
5806 and GTK_LIBS to avoid the need to call pkg-config.
5807 See the pkg-config man page for more details.
5809 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5810 See \`config.log' for more details." >&5
5811 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5812 is in your PATH or set the PKG_CONFIG environment variable to the full
5815 Alternatively, you may set the environment variables GTK_CFLAGS
5816 and GTK_LIBS to avoid the need to call pkg-config.
5817 See the pkg-config man page for more details.
5819 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5820 See \`config.log' for more details." >&2;}
5821 { (exit 1); exit 1; }; }
5823 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
5824 GTK_LIBS=$pkg_cv_GTK_LIBS
5825 { echo "$as_me:$LINENO: result: yes" >&5
5826 echo "${ECHO_T}yes" >&6; }
5830 cat >>confdefs.h <<\_ACEOF
5839 if test "$HAVE_CARBON" = 'yes'; then
5841 GUI_CARBON_FALSE='#'
5849 if test "$HAVE_GTK" = 'yes'; then
5859 i386|i486|i586|i686)
5860 SH4_TRANSLATOR="x86"
5862 cat >>confdefs.h <<_ACEOF
5863 #define SH4_TRANSLATOR TARGET_X86
5867 SH4_TRANSLATOR="x86_64"
5869 cat >>confdefs.h <<_ACEOF
5870 #define SH4_TRANSLATOR TARGET_X86_64
5874 echo "Warning: No translator available for $host. Building emulation core only";;
5878 if test "$SH4_TRANSLATOR" = "x86" -o "$SH4_TRANSLATOR" = "x86_64"; then
5880 BUILD_SH4X86_FALSE='#'
5882 BUILD_SH4X86_TRUE='#'
5888 if test "$SH4_TRANSLATOR" = "x86_64"; then
5890 BUILD_X86_64_FALSE='#'
5892 BUILD_X86_64_TRUE='#'
5899 { echo "$as_me:$LINENO: checking for ESOUND" >&5
5900 echo $ECHO_N "checking for ESOUND... $ECHO_C" >&6; }
5902 if test -n "$PKG_CONFIG"; then
5903 if test -n "$ESOUND_CFLAGS"; then
5904 pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
5906 if test -n "$PKG_CONFIG" && \
5907 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
5908 ($PKG_CONFIG --exists --print-errors "esound") 2>&5
5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911 (exit $ac_status); }; then
5912 pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
5920 if test -n "$PKG_CONFIG"; then
5921 if test -n "$ESOUND_LIBS"; then
5922 pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
5924 if test -n "$PKG_CONFIG" && \
5925 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
5926 ($PKG_CONFIG --exists --print-errors "esound") 2>&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); }; then
5930 pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
5941 if test $pkg_failed = yes; then
5943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5944 _pkg_short_errors_supported=yes
5946 _pkg_short_errors_supported=no
5948 if test $_pkg_short_errors_supported = yes; then
5949 ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "esound"`
5951 ESOUND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "esound"`
5953 # Put the nasty error message in config.log where it belongs
5954 echo "$ESOUND_PKG_ERRORS" >&5
5956 { echo "$as_me:$LINENO: result: no" >&5
5957 echo "${ECHO_T}no" >&6; }
5958 echo "Warning: esound not found - building without audio support"
5959 elif test $pkg_failed = untried; then
5960 echo "Warning: esound not found - building without audio support"
5962 ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
5963 ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
5964 { echo "$as_me:$LINENO: result: yes" >&5
5965 echo "${ECHO_T}yes" >&6; }
5969 cat >>confdefs.h <<\_ACEOF
5970 #define HAVE_ESOUND 1
5976 if test "$HAVE_ESOUND" = 'yes' ; then
5978 AUDIO_ESOUND_FALSE='#'
5980 AUDIO_ESOUND_TRUE='#'
5985 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
5986 { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
5987 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
5988 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
5989 echo $ECHO_N "(cached) $ECHO_C" >&6
5991 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
5992 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
5994 # Is the header compilable?
5995 { echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
5996 echo $ECHO_N "checking linux/cdrom.h usability... $ECHO_C" >&6; }
5997 cat >conftest.$ac_ext <<_ACEOF
6000 cat confdefs.h >>conftest.$ac_ext
6001 cat >>conftest.$ac_ext <<_ACEOF
6002 /* end confdefs.h. */
6003 $ac_includes_default
6004 #include <linux/cdrom.h>
6006 rm -f conftest.$ac_objext
6007 if { (ac_try="$ac_compile"
6009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6010 *) ac_try_echo=$ac_try;;
6012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6013 (eval "$ac_compile") 2>conftest.er1
6015 grep -v '^ *+' conftest.er1 >conftest.err
6017 cat conftest.err >&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); } && {
6020 test -z "$ac_c_werror_flag" ||
6021 test ! -s conftest.err
6022 } && test -s conftest.$ac_objext; then
6023 ac_header_compiler=yes
6025 echo "$as_me: failed program was:" >&5
6026 sed 's/^/| /' conftest.$ac_ext >&5
6028 ac_header_compiler=no
6031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6032 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6033 echo "${ECHO_T}$ac_header_compiler" >&6; }
6035 # Is the header present?
6036 { echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
6037 echo $ECHO_N "checking linux/cdrom.h presence... $ECHO_C" >&6; }
6038 cat >conftest.$ac_ext <<_ACEOF
6041 cat confdefs.h >>conftest.$ac_ext
6042 cat >>conftest.$ac_ext <<_ACEOF
6043 /* end confdefs.h. */
6044 #include <linux/cdrom.h>
6046 if { (ac_try="$ac_cpp conftest.$ac_ext"
6048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6049 *) ac_try_echo=$ac_try;;
6051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6052 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6054 grep -v '^ *+' conftest.er1 >conftest.err
6056 cat conftest.err >&5
6057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058 (exit $ac_status); } >/dev/null && {
6059 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6060 test ! -s conftest.err
6062 ac_header_preproc=yes
6064 echo "$as_me: failed program was:" >&5
6065 sed 's/^/| /' conftest.$ac_ext >&5
6067 ac_header_preproc=no
6070 rm -f conftest.err conftest.$ac_ext
6071 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6072 echo "${ECHO_T}$ac_header_preproc" >&6; }
6074 # So? What about this header?
6075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6077 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
6078 echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6079 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
6080 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
6081 ac_header_preproc=yes
6084 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
6085 echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
6086 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: check for missing prerequisite headers?" >&5
6087 echo "$as_me: WARNING: linux/cdrom.h: check for missing prerequisite headers?" >&2;}
6088 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
6089 echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
6090 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: section \"Present But Cannot Be Compiled\"" >&5
6091 echo "$as_me: WARNING: linux/cdrom.h: section \"Present But Cannot Be Compiled\"" >&2;}
6092 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
6093 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
6094 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
6095 echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
6099 { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
6100 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
6101 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
6102 echo $ECHO_N "(cached) $ECHO_C" >&6
6104 ac_cv_header_linux_cdrom_h=$ac_header_preproc
6106 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
6107 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
6110 if test $ac_cv_header_linux_cdrom_h = yes; then
6111 HAVE_LINUX_CDROM_H=yes
6114 echo "Linux CDROM support not found, building without it."
6120 if test "$HAVE_LINUX_CDROM_H" = "yes"; then
6122 CDROM_LINUX_FALSE='#'
6124 CDROM_LINUX_TRUE='#'
6129 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
6130 set dummy sh-elf-gcc; ac_word=$2
6131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6133 if test "${ac_cv_path_SHCC+set}" = set; then
6134 echo $ECHO_N "(cached) $ECHO_C" >&6
6138 ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 test -z "$as_dir" && as_dir=.
6146 for ac_exec_ext in '' $ac_executable_extensions; do
6147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6148 ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
6149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 SHCC=$ac_cv_path_SHCC
6160 if test -n "$SHCC"; then
6161 { echo "$as_me:$LINENO: result: $SHCC" >&5
6162 echo "${ECHO_T}$SHCC" >&6; }
6164 { echo "$as_me:$LINENO: result: no" >&5
6165 echo "${ECHO_T}no" >&6; }
6169 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
6170 set dummy sh-elf-ld; ac_word=$2
6171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6173 if test "${ac_cv_path_SHLD+set}" = set; then
6174 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6185 test -z "$as_dir" && as_dir=.
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6188 ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
6189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 SHLD=$ac_cv_path_SHLD
6200 if test -n "$SHLD"; then
6201 { echo "$as_me:$LINENO: result: $SHLD" >&5
6202 echo "${ECHO_T}$SHLD" >&6; }
6204 { echo "$as_me:$LINENO: result: no" >&5
6205 echo "${ECHO_T}no" >&6; }
6209 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
6210 set dummy sh-elf-objcopy; ac_word=$2
6211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6213 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
6214 echo $ECHO_N "(cached) $ECHO_C" >&6
6218 ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6225 test -z "$as_dir" && as_dir=.
6226 for ac_exec_ext in '' $ac_executable_extensions; do
6227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6228 ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
6229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6239 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
6240 if test -n "$SHOBJCOPY"; then
6241 { echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
6242 echo "${ECHO_T}$SHOBJCOPY" >&6; }
6244 { echo "$as_me:$LINENO: result: no" >&5
6245 echo "${ECHO_T}no" >&6; }
6249 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
6250 set dummy arm-elf-gcc; ac_word=$2
6251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6253 if test "${ac_cv_path_ARMCC+set}" = set; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6258 ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
6261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6265 test -z "$as_dir" && as_dir=.
6266 for ac_exec_ext in '' $ac_executable_extensions; do
6267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6268 ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
6269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6279 ARMCC=$ac_cv_path_ARMCC
6280 if test -n "$ARMCC"; then
6281 { echo "$as_me:$LINENO: result: $ARMCC" >&5
6282 echo "${ECHO_T}$ARMCC" >&6; }
6284 { echo "$as_me:$LINENO: result: no" >&5
6285 echo "${ECHO_T}no" >&6; }
6289 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
6290 set dummy arm-elf-ld; ac_word=$2
6291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6293 if test "${ac_cv_path_ARMLD+set}" = set; then
6294 echo $ECHO_N "(cached) $ECHO_C" >&6
6298 ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
6301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305 test -z "$as_dir" && as_dir=.
6306 for ac_exec_ext in '' $ac_executable_extensions; do
6307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6308 ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
6309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6319 ARMLD=$ac_cv_path_ARMLD
6320 if test -n "$ARMLD"; then
6321 { echo "$as_me:$LINENO: result: $ARMLD" >&5
6322 echo "${ECHO_T}$ARMLD" >&6; }
6324 { echo "$as_me:$LINENO: result: no" >&5
6325 echo "${ECHO_T}no" >&6; }
6329 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
6330 set dummy arm-elf-objcopy; ac_word=$2
6331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6333 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
6334 echo $ECHO_N "(cached) $ECHO_C" >&6
6338 ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6345 test -z "$as_dir" && as_dir=.
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6348 ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
6349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6359 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
6360 if test -n "$ARMOBJCOPY"; then
6361 { echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
6362 echo "${ECHO_T}$ARMOBJCOPY" >&6; }
6364 { echo "$as_me:$LINENO: result: no" >&5
6365 echo "${ECHO_T}no" >&6; }
6370 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
6372 echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
6376 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
6378 echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
6384 if test "$BUILD_SH" = "yes"; then
6386 BUILD_SYSTEST_FALSE='#'
6388 BUILD_SYSTEST_TRUE='#'
6389 BUILD_SYSTEST_FALSE=
6394 if test "$BUILD_ARM" = "yes"; then
6396 BUILD_ARMTEST_FALSE='#'
6398 BUILD_ARMTEST_TRUE='#'
6399 BUILD_ARMTEST_FALSE=
6404 GETTEXT_PACKAGE=lxdream
6407 cat >>confdefs.h <<_ACEOF
6408 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6412 ALL_LINGUAS="de pt_BR"
6415 for ac_header in locale.h
6417 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6418 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6419 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6421 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6422 echo $ECHO_N "(cached) $ECHO_C" >&6
6424 ac_res=`eval echo '${'$as_ac_Header'}'`
6425 { echo "$as_me:$LINENO: result: $ac_res" >&5
6426 echo "${ECHO_T}$ac_res" >&6; }
6428 # Is the header compilable?
6429 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6430 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6431 cat >conftest.$ac_ext <<_ACEOF
6434 cat confdefs.h >>conftest.$ac_ext
6435 cat >>conftest.$ac_ext <<_ACEOF
6436 /* end confdefs.h. */
6437 $ac_includes_default
6438 #include <$ac_header>
6440 rm -f conftest.$ac_objext
6441 if { (ac_try="$ac_compile"
6443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6444 *) ac_try_echo=$ac_try;;
6446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6447 (eval "$ac_compile") 2>conftest.er1
6449 grep -v '^ *+' conftest.er1 >conftest.err
6451 cat conftest.err >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); } && {
6454 test -z "$ac_c_werror_flag" ||
6455 test ! -s conftest.err
6456 } && test -s conftest.$ac_objext; then
6457 ac_header_compiler=yes
6459 echo "$as_me: failed program was:" >&5
6460 sed 's/^/| /' conftest.$ac_ext >&5
6462 ac_header_compiler=no
6465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6466 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6467 echo "${ECHO_T}$ac_header_compiler" >&6; }
6469 # Is the header present?
6470 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6471 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6472 cat >conftest.$ac_ext <<_ACEOF
6475 cat confdefs.h >>conftest.$ac_ext
6476 cat >>conftest.$ac_ext <<_ACEOF
6477 /* end confdefs.h. */
6478 #include <$ac_header>
6480 if { (ac_try="$ac_cpp conftest.$ac_ext"
6482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6483 *) ac_try_echo=$ac_try;;
6485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6486 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6488 grep -v '^ *+' conftest.er1 >conftest.err
6490 cat conftest.err >&5
6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492 (exit $ac_status); } >/dev/null && {
6493 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6494 test ! -s conftest.err
6496 ac_header_preproc=yes
6498 echo "$as_me: failed program was:" >&5
6499 sed 's/^/| /' conftest.$ac_ext >&5
6501 ac_header_preproc=no
6504 rm -f conftest.err conftest.$ac_ext
6505 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6506 echo "${ECHO_T}$ac_header_preproc" >&6; }
6508 # So? What about this header?
6509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6511 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6514 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6515 ac_header_preproc=yes
6518 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6520 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6521 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6522 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6523 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6524 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6525 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6528 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6529 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6533 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6535 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6536 echo $ECHO_N "(cached) $ECHO_C" >&6
6538 eval "$as_ac_Header=\$ac_header_preproc"
6540 ac_res=`eval echo '${'$as_ac_Header'}'`
6541 { echo "$as_me:$LINENO: result: $ac_res" >&5
6542 echo "${ECHO_T}$ac_res" >&6; }
6545 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6546 cat >>confdefs.h <<_ACEOF
6547 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6554 if test $ac_cv_header_locale_h = yes; then
6555 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6556 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
6557 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6558 echo $ECHO_N "(cached) $ECHO_C" >&6
6560 cat >conftest.$ac_ext <<_ACEOF
6563 cat confdefs.h >>conftest.$ac_ext
6564 cat >>conftest.$ac_ext <<_ACEOF
6565 /* end confdefs.h. */
6575 rm -f conftest.$ac_objext conftest$ac_exeext
6576 if { (ac_try="$ac_link"
6578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6579 *) ac_try_echo=$ac_try;;
6581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6582 (eval "$ac_link") 2>conftest.er1
6584 grep -v '^ *+' conftest.er1 >conftest.err
6586 cat conftest.err >&5
6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588 (exit $ac_status); } && {
6589 test -z "$ac_c_werror_flag" ||
6590 test ! -s conftest.err
6591 } && test -s conftest$ac_exeext &&
6592 $as_test_x conftest$ac_exeext; then
6593 am_cv_val_LC_MESSAGES=yes
6595 echo "$as_me: failed program was:" >&5
6596 sed 's/^/| /' conftest.$ac_ext >&5
6598 am_cv_val_LC_MESSAGES=no
6601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6602 conftest$ac_exeext conftest.$ac_ext
6604 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6605 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
6606 if test $am_cv_val_LC_MESSAGES = yes; then
6608 cat >>confdefs.h <<\_ACEOF
6609 #define HAVE_LC_MESSAGES 1
6617 gt_cv_have_gettext=no
6623 if test "${ac_cv_header_libintl_h+set}" = set; then
6624 { echo "$as_me:$LINENO: checking for libintl.h" >&5
6625 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
6626 if test "${ac_cv_header_libintl_h+set}" = set; then
6627 echo $ECHO_N "(cached) $ECHO_C" >&6
6629 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6630 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
6632 # Is the header compilable?
6633 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
6634 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
6635 cat >conftest.$ac_ext <<_ACEOF
6638 cat confdefs.h >>conftest.$ac_ext
6639 cat >>conftest.$ac_ext <<_ACEOF
6640 /* end confdefs.h. */
6641 $ac_includes_default
6642 #include <libintl.h>
6644 rm -f conftest.$ac_objext
6645 if { (ac_try="$ac_compile"
6647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6648 *) ac_try_echo=$ac_try;;
6650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6651 (eval "$ac_compile") 2>conftest.er1
6653 grep -v '^ *+' conftest.er1 >conftest.err
6655 cat conftest.err >&5
6656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6657 (exit $ac_status); } && {
6658 test -z "$ac_c_werror_flag" ||
6659 test ! -s conftest.err
6660 } && test -s conftest.$ac_objext; then
6661 ac_header_compiler=yes
6663 echo "$as_me: failed program was:" >&5
6664 sed 's/^/| /' conftest.$ac_ext >&5
6666 ac_header_compiler=no
6669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6670 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6671 echo "${ECHO_T}$ac_header_compiler" >&6; }
6673 # Is the header present?
6674 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
6675 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
6676 cat >conftest.$ac_ext <<_ACEOF
6679 cat confdefs.h >>conftest.$ac_ext
6680 cat >>conftest.$ac_ext <<_ACEOF
6681 /* end confdefs.h. */
6682 #include <libintl.h>
6684 if { (ac_try="$ac_cpp conftest.$ac_ext"
6686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6687 *) ac_try_echo=$ac_try;;
6689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6692 grep -v '^ *+' conftest.er1 >conftest.err
6694 cat conftest.err >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } >/dev/null && {
6697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6698 test ! -s conftest.err
6700 ac_header_preproc=yes
6702 echo "$as_me: failed program was:" >&5
6703 sed 's/^/| /' conftest.$ac_ext >&5
6705 ac_header_preproc=no
6708 rm -f conftest.err conftest.$ac_ext
6709 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6710 echo "${ECHO_T}$ac_header_preproc" >&6; }
6712 # So? What about this header?
6713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6715 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6716 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6717 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
6718 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
6719 ac_header_preproc=yes
6722 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6723 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6724 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
6725 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
6726 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6727 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6728 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
6729 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
6730 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
6731 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
6732 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6733 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6737 { echo "$as_me:$LINENO: checking for libintl.h" >&5
6738 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
6739 if test "${ac_cv_header_libintl_h+set}" = set; then
6740 echo $ECHO_N "(cached) $ECHO_C" >&6
6742 ac_cv_header_libintl_h=$ac_header_preproc
6744 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6745 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
6748 if test $ac_cv_header_libintl_h = yes; then
6749 gt_cv_func_dgettext_libintl="no"
6750 libintl_extra_libs=""
6753 # First check in libc
6755 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
6756 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
6757 if test "${gt_cv_func_ngettext_libc+set}" = set; then
6758 echo $ECHO_N "(cached) $ECHO_C" >&6
6760 cat >conftest.$ac_ext <<_ACEOF
6763 cat confdefs.h >>conftest.$ac_ext
6764 cat >>conftest.$ac_ext <<_ACEOF
6765 /* end confdefs.h. */
6767 #include <libintl.h>
6772 return !ngettext ("","", 1)
6777 rm -f conftest.$ac_objext conftest$ac_exeext
6778 if { (ac_try="$ac_link"
6780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6781 *) ac_try_echo=$ac_try;;
6783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6784 (eval "$ac_link") 2>conftest.er1
6786 grep -v '^ *+' conftest.er1 >conftest.err
6788 cat conftest.err >&5
6789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 (exit $ac_status); } && {
6791 test -z "$ac_c_werror_flag" ||
6792 test ! -s conftest.err
6793 } && test -s conftest$ac_exeext &&
6794 $as_test_x conftest$ac_exeext; then
6795 gt_cv_func_ngettext_libc=yes
6797 echo "$as_me: failed program was:" >&5
6798 sed 's/^/| /' conftest.$ac_ext >&5
6800 gt_cv_func_ngettext_libc=no
6803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6804 conftest$ac_exeext conftest.$ac_ext
6807 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
6808 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
6810 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6811 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
6812 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
6813 if test "${gt_cv_func_dgettext_libc+set}" = set; then
6814 echo $ECHO_N "(cached) $ECHO_C" >&6
6816 cat >conftest.$ac_ext <<_ACEOF
6819 cat confdefs.h >>conftest.$ac_ext
6820 cat >>conftest.$ac_ext <<_ACEOF
6821 /* end confdefs.h. */
6823 #include <libintl.h>
6828 return !dgettext ("","")
6833 rm -f conftest.$ac_objext conftest$ac_exeext
6834 if { (ac_try="$ac_link"
6836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6837 *) ac_try_echo=$ac_try;;
6839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6840 (eval "$ac_link") 2>conftest.er1
6842 grep -v '^ *+' conftest.er1 >conftest.err
6844 cat conftest.err >&5
6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 (exit $ac_status); } && {
6847 test -z "$ac_c_werror_flag" ||
6848 test ! -s conftest.err
6849 } && test -s conftest$ac_exeext &&
6850 $as_test_x conftest$ac_exeext; then
6851 gt_cv_func_dgettext_libc=yes
6853 echo "$as_me: failed program was:" >&5
6854 sed 's/^/| /' conftest.$ac_ext >&5
6856 gt_cv_func_dgettext_libc=no
6859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6860 conftest$ac_exeext conftest.$ac_ext
6863 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
6864 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
6867 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6869 for ac_func in bind_textdomain_codeset
6871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6872 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6874 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6875 echo $ECHO_N "(cached) $ECHO_C" >&6
6877 cat >conftest.$ac_ext <<_ACEOF
6880 cat confdefs.h >>conftest.$ac_ext
6881 cat >>conftest.$ac_ext <<_ACEOF
6882 /* end confdefs.h. */
6883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6885 #define $ac_func innocuous_$ac_func
6887 /* System header to define __stub macros and hopefully few prototypes,
6888 which can conflict with char $ac_func (); below.
6889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6890 <limits.h> exists even on freestanding compilers. */
6893 # include <limits.h>
6895 # include <assert.h>
6900 /* Override any GCC internal prototype to avoid an error.
6901 Use char because int might match the return type of a GCC
6902 builtin and then its argument prototype would still apply. */
6907 /* The GNU C library defines this for functions which it implements
6908 to always fail with ENOSYS. Some functions are actually named
6909 something starting with __ and the normal name is an alias. */
6910 #if defined __stub_$ac_func || defined __stub___$ac_func
6922 rm -f conftest.$ac_objext conftest$ac_exeext
6923 if { (ac_try="$ac_link"
6925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6926 *) ac_try_echo=$ac_try;;
6928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6929 (eval "$ac_link") 2>conftest.er1
6931 grep -v '^ *+' conftest.er1 >conftest.err
6933 cat conftest.err >&5
6934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935 (exit $ac_status); } && {
6936 test -z "$ac_c_werror_flag" ||
6937 test ! -s conftest.err
6938 } && test -s conftest$ac_exeext &&
6939 $as_test_x conftest$ac_exeext; then
6940 eval "$as_ac_var=yes"
6942 echo "$as_me: failed program was:" >&5
6943 sed 's/^/| /' conftest.$ac_ext >&5
6945 eval "$as_ac_var=no"
6948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6949 conftest$ac_exeext conftest.$ac_ext
6951 ac_res=`eval echo '${'$as_ac_var'}'`
6952 { echo "$as_me:$LINENO: result: $ac_res" >&5
6953 echo "${ECHO_T}$ac_res" >&6; }
6954 if test `eval echo '${'$as_ac_var'}'` = yes; then
6955 cat >>confdefs.h <<_ACEOF
6956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6965 # If we don't have everything we want, check in libintl
6967 if test "$gt_cv_func_dgettext_libc" != "yes" \
6968 || test "$gt_cv_func_ngettext_libc" != "yes" \
6969 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6971 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
6972 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
6973 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
6974 echo $ECHO_N "(cached) $ECHO_C" >&6
6976 ac_check_lib_save_LIBS=$LIBS
6978 cat >conftest.$ac_ext <<_ACEOF
6981 cat confdefs.h >>conftest.$ac_ext
6982 cat >>conftest.$ac_ext <<_ACEOF
6983 /* end confdefs.h. */
6985 /* Override any GCC internal prototype to avoid an error.
6986 Use char because int might match the return type of a GCC
6987 builtin and then its argument prototype would still apply. */
6991 char bindtextdomain ();
6995 return bindtextdomain ();
7000 rm -f conftest.$ac_objext conftest$ac_exeext
7001 if { (ac_try="$ac_link"
7003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7004 *) ac_try_echo=$ac_try;;
7006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7007 (eval "$ac_link") 2>conftest.er1
7009 grep -v '^ *+' conftest.er1 >conftest.err
7011 cat conftest.err >&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); } && {
7014 test -z "$ac_c_werror_flag" ||
7015 test ! -s conftest.err
7016 } && test -s conftest$ac_exeext &&
7017 $as_test_x conftest$ac_exeext; then
7018 ac_cv_lib_intl_bindtextdomain=yes
7020 echo "$as_me: failed program was:" >&5
7021 sed 's/^/| /' conftest.$ac_ext >&5
7023 ac_cv_lib_intl_bindtextdomain=no
7026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7027 conftest$ac_exeext conftest.$ac_ext
7028 LIBS=$ac_check_lib_save_LIBS
7030 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7031 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
7032 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7033 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
7034 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
7035 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
7036 echo $ECHO_N "(cached) $ECHO_C" >&6
7038 ac_check_lib_save_LIBS=$LIBS
7040 cat >conftest.$ac_ext <<_ACEOF
7043 cat confdefs.h >>conftest.$ac_ext
7044 cat >>conftest.$ac_ext <<_ACEOF
7045 /* end confdefs.h. */
7047 /* Override any GCC internal prototype to avoid an error.
7048 Use char because int might match the return type of a GCC
7049 builtin and then its argument prototype would still apply. */
7062 rm -f conftest.$ac_objext conftest$ac_exeext
7063 if { (ac_try="$ac_link"
7065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7066 *) ac_try_echo=$ac_try;;
7068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7069 (eval "$ac_link") 2>conftest.er1
7071 grep -v '^ *+' conftest.er1 >conftest.err
7073 cat conftest.err >&5
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); } && {
7076 test -z "$ac_c_werror_flag" ||
7077 test ! -s conftest.err
7078 } && test -s conftest$ac_exeext &&
7079 $as_test_x conftest$ac_exeext; then
7080 ac_cv_lib_intl_ngettext=yes
7082 echo "$as_me: failed program was:" >&5
7083 sed 's/^/| /' conftest.$ac_ext >&5
7085 ac_cv_lib_intl_ngettext=no
7088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7089 conftest$ac_exeext conftest.$ac_ext
7090 LIBS=$ac_check_lib_save_LIBS
7092 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
7093 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
7094 if test $ac_cv_lib_intl_ngettext = yes; then
7095 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
7096 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
7097 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
7098 echo $ECHO_N "(cached) $ECHO_C" >&6
7100 ac_check_lib_save_LIBS=$LIBS
7102 cat >conftest.$ac_ext <<_ACEOF
7105 cat confdefs.h >>conftest.$ac_ext
7106 cat >>conftest.$ac_ext <<_ACEOF
7107 /* end confdefs.h. */
7109 /* Override any GCC internal prototype to avoid an error.
7110 Use char because int might match the return type of a GCC
7111 builtin and then its argument prototype would still apply. */
7124 rm -f conftest.$ac_objext conftest$ac_exeext
7125 if { (ac_try="$ac_link"
7127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7128 *) ac_try_echo=$ac_try;;
7130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7131 (eval "$ac_link") 2>conftest.er1
7133 grep -v '^ *+' conftest.er1 >conftest.err
7135 cat conftest.err >&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); } && {
7138 test -z "$ac_c_werror_flag" ||
7139 test ! -s conftest.err
7140 } && test -s conftest$ac_exeext &&
7141 $as_test_x conftest$ac_exeext; then
7142 ac_cv_lib_intl_dgettext=yes
7144 echo "$as_me: failed program was:" >&5
7145 sed 's/^/| /' conftest.$ac_ext >&5
7147 ac_cv_lib_intl_dgettext=no
7150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7151 conftest$ac_exeext conftest.$ac_ext
7152 LIBS=$ac_check_lib_save_LIBS
7154 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
7155 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
7156 if test $ac_cv_lib_intl_dgettext = yes; then
7157 gt_cv_func_dgettext_libintl=yes
7165 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
7166 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
7167 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
7168 { echo "$as_me:$LINENO: result: " >&5
7169 echo "${ECHO_T}" >&6; }
7170 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
7171 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
7172 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
7173 echo $ECHO_N "(cached) $ECHO_C" >&6
7175 ac_check_lib_save_LIBS=$LIBS
7176 LIBS="-lintl -liconv $LIBS"
7177 cat >conftest.$ac_ext <<_ACEOF
7180 cat confdefs.h >>conftest.$ac_ext
7181 cat >>conftest.$ac_ext <<_ACEOF
7182 /* end confdefs.h. */
7184 /* Override any GCC internal prototype to avoid an error.
7185 Use char because int might match the return type of a GCC
7186 builtin and then its argument prototype would still apply. */
7199 rm -f conftest.$ac_objext conftest$ac_exeext
7200 if { (ac_try="$ac_link"
7202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7203 *) ac_try_echo=$ac_try;;
7205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7206 (eval "$ac_link") 2>conftest.er1
7208 grep -v '^ *+' conftest.er1 >conftest.err
7210 cat conftest.err >&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); } && {
7213 test -z "$ac_c_werror_flag" ||
7214 test ! -s conftest.err
7215 } && test -s conftest$ac_exeext &&
7216 $as_test_x conftest$ac_exeext; then
7217 ac_cv_lib_intl_ngettext=yes
7219 echo "$as_me: failed program was:" >&5
7220 sed 's/^/| /' conftest.$ac_ext >&5
7222 ac_cv_lib_intl_ngettext=no
7225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7226 conftest$ac_exeext conftest.$ac_ext
7227 LIBS=$ac_check_lib_save_LIBS
7229 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
7230 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
7231 if test $ac_cv_lib_intl_ngettext = yes; then
7232 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
7233 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
7234 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
7235 echo $ECHO_N "(cached) $ECHO_C" >&6
7237 ac_check_lib_save_LIBS=$LIBS
7238 LIBS="-lintl -liconv $LIBS"
7239 cat >conftest.$ac_ext <<_ACEOF
7242 cat confdefs.h >>conftest.$ac_ext
7243 cat >>conftest.$ac_ext <<_ACEOF
7244 /* end confdefs.h. */
7246 /* Override any GCC internal prototype to avoid an error.
7247 Use char because int might match the return type of a GCC
7248 builtin and then its argument prototype would still apply. */
7256 return dcgettext ();
7261 rm -f conftest.$ac_objext conftest$ac_exeext
7262 if { (ac_try="$ac_link"
7264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7265 *) ac_try_echo=$ac_try;;
7267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7268 (eval "$ac_link") 2>conftest.er1
7270 grep -v '^ *+' conftest.er1 >conftest.err
7272 cat conftest.err >&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); } && {
7275 test -z "$ac_c_werror_flag" ||
7276 test ! -s conftest.err
7277 } && test -s conftest$ac_exeext &&
7278 $as_test_x conftest$ac_exeext; then
7279 ac_cv_lib_intl_dcgettext=yes
7281 echo "$as_me: failed program was:" >&5
7282 sed 's/^/| /' conftest.$ac_ext >&5
7284 ac_cv_lib_intl_dcgettext=no
7287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7288 conftest$ac_exeext conftest.$ac_ext
7289 LIBS=$ac_check_lib_save_LIBS
7291 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
7292 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
7293 if test $ac_cv_lib_intl_dcgettext = yes; then
7294 gt_cv_func_dgettext_libintl=yes
7295 libintl_extra_libs=-liconv
7307 # If we found libintl, then check in it for bind_textdomain_codeset();
7308 # we'll prefer libc if neither have bind_textdomain_codeset(),
7309 # and both have dgettext and ngettext
7311 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
7312 glib_save_LIBS="$LIBS"
7313 LIBS="$LIBS -lintl $libintl_extra_libs"
7314 unset ac_cv_func_bind_textdomain_codeset
7316 for ac_func in bind_textdomain_codeset
7318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7319 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7321 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7322 echo $ECHO_N "(cached) $ECHO_C" >&6
7324 cat >conftest.$ac_ext <<_ACEOF
7327 cat confdefs.h >>conftest.$ac_ext
7328 cat >>conftest.$ac_ext <<_ACEOF
7329 /* end confdefs.h. */
7330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7332 #define $ac_func innocuous_$ac_func
7334 /* System header to define __stub macros and hopefully few prototypes,
7335 which can conflict with char $ac_func (); below.
7336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7337 <limits.h> exists even on freestanding compilers. */
7340 # include <limits.h>
7342 # include <assert.h>
7347 /* Override any GCC internal prototype to avoid an error.
7348 Use char because int might match the return type of a GCC
7349 builtin and then its argument prototype would still apply. */
7354 /* The GNU C library defines this for functions which it implements
7355 to always fail with ENOSYS. Some functions are actually named
7356 something starting with __ and the normal name is an alias. */
7357 #if defined __stub_$ac_func || defined __stub___$ac_func
7369 rm -f conftest.$ac_objext conftest$ac_exeext
7370 if { (ac_try="$ac_link"
7372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7373 *) ac_try_echo=$ac_try;;
7375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7376 (eval "$ac_link") 2>conftest.er1
7378 grep -v '^ *+' conftest.er1 >conftest.err
7380 cat conftest.err >&5
7381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382 (exit $ac_status); } && {
7383 test -z "$ac_c_werror_flag" ||
7384 test ! -s conftest.err
7385 } && test -s conftest$ac_exeext &&
7386 $as_test_x conftest$ac_exeext; then
7387 eval "$as_ac_var=yes"
7389 echo "$as_me: failed program was:" >&5
7390 sed 's/^/| /' conftest.$ac_ext >&5
7392 eval "$as_ac_var=no"
7395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7396 conftest$ac_exeext conftest.$ac_ext
7398 ac_res=`eval echo '${'$as_ac_var'}'`
7399 { echo "$as_me:$LINENO: result: $ac_res" >&5
7400 echo "${ECHO_T}$ac_res" >&6; }
7401 if test `eval echo '${'$as_ac_var'}'` = yes; then
7402 cat >>confdefs.h <<_ACEOF
7403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7409 LIBS="$glib_save_LIBS"
7411 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
7412 gt_cv_func_dgettext_libc=no
7414 if test "$gt_cv_func_dgettext_libc" = "yes" \
7415 && test "$gt_cv_func_ngettext_libc" = "yes"; then
7416 gt_cv_func_dgettext_libintl=no
7422 if test "$gt_cv_func_dgettext_libc" = "yes" \
7423 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
7424 gt_cv_have_gettext=yes
7427 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
7428 INTLLIBS="-lintl $libintl_extra_libs"
7431 if test "$gt_cv_have_gettext" = "yes"; then
7433 cat >>confdefs.h <<\_ACEOF
7434 #define HAVE_GETTEXT 1
7437 # Extract the first word of "msgfmt", so it can be a program name with args.
7438 set dummy msgfmt; ac_word=$2
7439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7441 if test "${ac_cv_path_MSGFMT+set}" = set; then
7442 echo $ECHO_N "(cached) $ECHO_C" >&6
7446 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7449 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7450 for ac_dir in $PATH; do
7451 test -z "$ac_dir" && ac_dir=.
7452 if test -f $ac_dir/$ac_word; then
7453 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7454 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
7460 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
7464 MSGFMT="$ac_cv_path_MSGFMT"
7465 if test "$MSGFMT" != "no"; then
7466 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7467 echo "${ECHO_T}$MSGFMT" >&6; }
7469 { echo "$as_me:$LINENO: result: no" >&5
7470 echo "${ECHO_T}no" >&6; }
7472 if test "$MSGFMT" != "no"; then
7473 glib_save_LIBS="$LIBS"
7474 LIBS="$LIBS $INTLLIBS"
7476 for ac_func in dcgettext
7478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7479 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7481 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7482 echo $ECHO_N "(cached) $ECHO_C" >&6
7484 cat >conftest.$ac_ext <<_ACEOF
7487 cat confdefs.h >>conftest.$ac_ext
7488 cat >>conftest.$ac_ext <<_ACEOF
7489 /* end confdefs.h. */
7490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7492 #define $ac_func innocuous_$ac_func
7494 /* System header to define __stub macros and hopefully few prototypes,
7495 which can conflict with char $ac_func (); below.
7496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7497 <limits.h> exists even on freestanding compilers. */
7500 # include <limits.h>
7502 # include <assert.h>
7507 /* Override any GCC internal prototype to avoid an error.
7508 Use char because int might match the return type of a GCC
7509 builtin and then its argument prototype would still apply. */
7514 /* The GNU C library defines this for functions which it implements
7515 to always fail with ENOSYS. Some functions are actually named
7516 something starting with __ and the normal name is an alias. */
7517 #if defined __stub_$ac_func || defined __stub___$ac_func
7529 rm -f conftest.$ac_objext conftest$ac_exeext
7530 if { (ac_try="$ac_link"
7532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7533 *) ac_try_echo=$ac_try;;
7535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7536 (eval "$ac_link") 2>conftest.er1
7538 grep -v '^ *+' conftest.er1 >conftest.err
7540 cat conftest.err >&5
7541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542 (exit $ac_status); } && {
7543 test -z "$ac_c_werror_flag" ||
7544 test ! -s conftest.err
7545 } && test -s conftest$ac_exeext &&
7546 $as_test_x conftest$ac_exeext; then
7547 eval "$as_ac_var=yes"
7549 echo "$as_me: failed program was:" >&5
7550 sed 's/^/| /' conftest.$ac_ext >&5
7552 eval "$as_ac_var=no"
7555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7556 conftest$ac_exeext conftest.$ac_ext
7558 ac_res=`eval echo '${'$as_ac_var'}'`
7559 { echo "$as_me:$LINENO: result: $ac_res" >&5
7560 echo "${ECHO_T}$ac_res" >&6; }
7561 if test `eval echo '${'$as_ac_var'}'` = yes; then
7562 cat >>confdefs.h <<_ACEOF
7563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7570 { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
7571 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
7572 cat >conftest.foo <<_ACEOF
7576 "Content-Type: text/plain; charset=UTF-8\n"
7577 "Project-Id-Version: test 1.0\n"
7578 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
7579 "Last-Translator: test <foo@bar.xx>\n"
7580 "Language-Team: C <LL@li.org>\n"
7581 "MIME-Version: 1.0\n"
7582 "Content-Transfer-Encoding: 8bit\n"
7585 if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
7586 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
7588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589 (exit $ac_status); }; then
7590 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
7591 echo "${ECHO_T}yes" >&6; }
7592 else { echo "$as_me:$LINENO: result: no" >&5
7593 echo "${ECHO_T}no" >&6; }
7594 echo "$as_me: failed input was:" >&5
7595 sed 's/^/| /' conftest.foo >&5
7598 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7599 set dummy gmsgfmt; ac_word=$2
7600 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7602 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7603 echo $ECHO_N "(cached) $ECHO_C" >&6
7607 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7614 test -z "$as_dir" && as_dir=.
7615 for ac_exec_ext in '' $ac_executable_extensions; do
7616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7617 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7625 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7629 GMSGFMT=$ac_cv_path_GMSGFMT
7630 if test -n "$GMSGFMT"; then
7631 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7632 echo "${ECHO_T}$GMSGFMT" >&6; }
7634 { echo "$as_me:$LINENO: result: no" >&5
7635 echo "${ECHO_T}no" >&6; }
7639 # Extract the first word of "xgettext", so it can be a program name with args.
7640 set dummy xgettext; ac_word=$2
7641 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7643 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7644 echo $ECHO_N "(cached) $ECHO_C" >&6
7648 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7651 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7652 for ac_dir in $PATH; do
7653 test -z "$ac_dir" && ac_dir=.
7654 if test -f $ac_dir/$ac_word; then
7655 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7656 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
7662 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7666 XGETTEXT="$ac_cv_path_XGETTEXT"
7667 if test "$XGETTEXT" != ":"; then
7668 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7669 echo "${ECHO_T}$XGETTEXT" >&6; }
7671 { echo "$as_me:$LINENO: result: no" >&5
7672 echo "${ECHO_T}no" >&6; }
7675 cat >conftest.$ac_ext <<_ACEOF
7678 cat confdefs.h >>conftest.$ac_ext
7679 cat >>conftest.$ac_ext <<_ACEOF
7680 /* end confdefs.h. */
7685 extern int _nl_msg_cat_cntr;
7686 return _nl_msg_cat_cntr
7691 rm -f conftest.$ac_objext conftest$ac_exeext
7692 if { (ac_try="$ac_link"
7694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7695 *) ac_try_echo=$ac_try;;
7697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7698 (eval "$ac_link") 2>conftest.er1
7700 grep -v '^ *+' conftest.er1 >conftest.err
7702 cat conftest.err >&5
7703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7704 (exit $ac_status); } && {
7705 test -z "$ac_c_werror_flag" ||
7706 test ! -s conftest.err
7707 } && test -s conftest$ac_exeext &&
7708 $as_test_x conftest$ac_exeext; then
7712 echo "$as_me: failed program was:" >&5
7713 sed 's/^/| /' conftest.$ac_ext >&5
7717 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7718 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
7719 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7720 echo $ECHO_N "(cached) $ECHO_C" >&6
7722 cat >conftest.$ac_ext <<_ACEOF
7725 cat confdefs.h >>conftest.$ac_ext
7726 cat >>conftest.$ac_ext <<_ACEOF
7727 /* end confdefs.h. */
7728 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7730 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7732 /* System header to define __stub macros and hopefully few prototypes,
7733 which can conflict with char bind_textdomain_codeset (); below.
7734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7735 <limits.h> exists even on freestanding compilers. */
7738 # include <limits.h>
7740 # include <assert.h>
7743 #undef bind_textdomain_codeset
7745 /* Override any GCC internal prototype to avoid an error.
7746 Use char because int might match the return type of a GCC
7747 builtin and then its argument prototype would still apply. */
7751 char bind_textdomain_codeset ();
7752 /* The GNU C library defines this for functions which it implements
7753 to always fail with ENOSYS. Some functions are actually named
7754 something starting with __ and the normal name is an alias. */
7755 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7762 return bind_textdomain_codeset ();
7767 rm -f conftest.$ac_objext conftest$ac_exeext
7768 if { (ac_try="$ac_link"
7770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7771 *) ac_try_echo=$ac_try;;
7773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7774 (eval "$ac_link") 2>conftest.er1
7776 grep -v '^ *+' conftest.er1 >conftest.err
7778 cat conftest.err >&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); } && {
7781 test -z "$ac_c_werror_flag" ||
7782 test ! -s conftest.err
7783 } && test -s conftest$ac_exeext &&
7784 $as_test_x conftest$ac_exeext; then
7785 ac_cv_func_bind_textdomain_codeset=yes
7787 echo "$as_me: failed program was:" >&5
7788 sed 's/^/| /' conftest.$ac_ext >&5
7790 ac_cv_func_bind_textdomain_codeset=no
7793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7794 conftest$ac_exeext conftest.$ac_ext
7796 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7797 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
7798 if test $ac_cv_func_bind_textdomain_codeset = yes; then
7814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7815 conftest$ac_exeext conftest.$ac_ext
7816 LIBS="$glib_save_LIBS"
7819 gt_cv_have_gettext=no
7827 if test "$gt_cv_have_gettext" = "yes" ; then
7829 cat >>confdefs.h <<\_ACEOF
7830 #define ENABLE_NLS 1
7835 if test "$XGETTEXT" != ":"; then
7836 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7839 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7840 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
7845 # We need to process the po/ directory.
7848 ac_config_commands="$ac_config_commands default-1"
7851 for lang in $ALL_LINGUAS; do
7852 GMOFILES="$GMOFILES $lang.gmo"
7853 POFILES="$POFILES $lang.po"
7868 if test "$gt_cv_have_gettext" = "yes"; then
7869 if test "x$ALL_LINGUAS" = "x"; then
7872 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7873 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
7875 for presentlang in $ALL_LINGUAS; do
7877 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
7878 desiredlanguages="$LINGUAS"
7880 desiredlanguages="$ALL_LINGUAS"
7882 for desiredlang in $desiredlanguages; do
7883 # Use the presentlang catalog if desiredlang is
7884 # a. equal to presentlang, or
7885 # b. a variant of presentlang (because in this case,
7886 # presentlang can be used as a fallback for messages
7887 # which are not translated in the desiredlang catalog).
7888 case "$desiredlang" in
7889 "$presentlang"*) useit=yes;;
7892 if test $useit = yes; then
7893 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
7896 LINGUAS=$NEW_LINGUAS
7897 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
7898 echo "${ECHO_T}$LINGUAS" >&6; }
7901 if test -n "$LINGUAS"; then
7902 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
7907 if test -n "$ac_aux_dir"; then
7908 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
7910 if test -z "$MKINSTALLDIRS"; then
7911 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
7915 test -d po || mkdir po
7916 if test "x$srcdir" != "x."; then
7917 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
7918 posrcprefix="$srcdir/"
7920 posrcprefix="../$srcdir/"
7926 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7927 < $srcdir/po/POTFILES.in > po/POTFILES
7930 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in test/Makefile"
7932 cat >confcache <<\_ACEOF
7933 # This file is a shell script that caches the results of configure
7934 # tests run on this system so they can be shared between configure
7935 # scripts and configure runs, see configure's option --config-cache.
7936 # It is not useful on other systems. If it contains results you don't
7937 # want to keep, you may remove or edit it.
7939 # config.status only pays attention to the cache file if you give it
7940 # the --recheck option to rerun configure.
7942 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7943 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7948 # The following way of writing the cache mishandles newlines in values,
7949 # but we know of no workaround that is simple, portable, and efficient.
7950 # So, we kill variables containing newlines.
7951 # Ultrix sh set writes to stderr and can't be redirected directly,
7952 # and sets the high bit in the cache file unless we assign to the vars.
7954 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7955 eval ac_val=\$$ac_var
7959 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7960 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7963 _ | IFS | as_nl) ;; #(
7964 *) $as_unset $ac_var ;;
7970 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7971 *${as_nl}ac_space=\ *)
7972 # `set' does not quote correctly, so add quotes (double-quote
7973 # substitution turns \\\\ into \\, and sed turns \\ into \).
7976 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7979 # `set' quotes correctly as required by POSIX, so do not add quotes.
7980 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7989 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7991 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7993 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7994 if test -w "$cache_file"; then
7995 test "x$cache_file" != "x/dev/null" &&
7996 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
7997 echo "$as_me: updating cache $cache_file" >&6;}
7998 cat confcache >$cache_file
8000 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8001 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8006 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8007 # Let make expand exec_prefix.
8008 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8010 DEFS=-DHAVE_CONFIG_H
8014 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8015 # 1. Remove the extension, and $U if already installed.
8016 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8017 ac_i=`echo "$ac_i" | sed "$ac_script"`
8018 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8019 # will be set to the directory where LIBOBJS objects are built.
8020 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8021 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8025 LTLIBOBJS=$ac_ltlibobjs
8028 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8029 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8030 Usually this means the macro was only invoked conditionally." >&5
8031 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8032 Usually this means the macro was only invoked conditionally." >&2;}
8033 { (exit 1); exit 1; }; }
8035 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8036 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8037 Usually this means the macro was only invoked conditionally." >&5
8038 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8039 Usually this means the macro was only invoked conditionally." >&2;}
8040 { (exit 1); exit 1; }; }
8042 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8043 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8044 Usually this means the macro was only invoked conditionally." >&5
8045 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8046 Usually this means the macro was only invoked conditionally." >&2;}
8047 { (exit 1); exit 1; }; }
8049 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8050 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8051 Usually this means the macro was only invoked conditionally." >&5
8052 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8053 Usually this means the macro was only invoked conditionally." >&2;}
8054 { (exit 1); exit 1; }; }
8056 if test -z "${GUI_CARBON_TRUE}" && test -z "${GUI_CARBON_FALSE}"; then
8057 { { echo "$as_me:$LINENO: error: conditional \"GUI_CARBON\" was never defined.
8058 Usually this means the macro was only invoked conditionally." >&5
8059 echo "$as_me: error: conditional \"GUI_CARBON\" was never defined.
8060 Usually this means the macro was only invoked conditionally." >&2;}
8061 { (exit 1); exit 1; }; }
8063 if test -z "${GUI_GTK_TRUE}" && test -z "${GUI_GTK_FALSE}"; then
8064 { { echo "$as_me:$LINENO: error: conditional \"GUI_GTK\" was never defined.
8065 Usually this means the macro was only invoked conditionally." >&5
8066 echo "$as_me: error: conditional \"GUI_GTK\" was never defined.
8067 Usually this means the macro was only invoked conditionally." >&2;}
8068 { (exit 1); exit 1; }; }
8070 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
8071 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
8072 Usually this means the macro was only invoked conditionally." >&5
8073 echo "$as_me: error: conditional \"BUILD_SH4X86\" was never defined.
8074 Usually this means the macro was only invoked conditionally." >&2;}
8075 { (exit 1); exit 1; }; }
8077 if test -z "${BUILD_X86_64_TRUE}" && test -z "${BUILD_X86_64_FALSE}"; then
8078 { { echo "$as_me:$LINENO: error: conditional \"BUILD_X86_64\" was never defined.
8079 Usually this means the macro was only invoked conditionally." >&5
8080 echo "$as_me: error: conditional \"BUILD_X86_64\" was never defined.
8081 Usually this means the macro was only invoked conditionally." >&2;}
8082 { (exit 1); exit 1; }; }
8084 if test -z "${AUDIO_ESOUND_TRUE}" && test -z "${AUDIO_ESOUND_FALSE}"; then
8085 { { echo "$as_me:$LINENO: error: conditional \"AUDIO_ESOUND\" was never defined.
8086 Usually this means the macro was only invoked conditionally." >&5
8087 echo "$as_me: error: conditional \"AUDIO_ESOUND\" was never defined.
8088 Usually this means the macro was only invoked conditionally." >&2;}
8089 { (exit 1); exit 1; }; }
8091 if test -z "${CDROM_LINUX_TRUE}" && test -z "${CDROM_LINUX_FALSE}"; then
8092 { { echo "$as_me:$LINENO: error: conditional \"CDROM_LINUX\" was never defined.
8093 Usually this means the macro was only invoked conditionally." >&5
8094 echo "$as_me: error: conditional \"CDROM_LINUX\" was never defined.
8095 Usually this means the macro was only invoked conditionally." >&2;}
8096 { (exit 1); exit 1; }; }
8098 if test -z "${BUILD_SYSTEST_TRUE}" && test -z "${BUILD_SYSTEST_FALSE}"; then
8099 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYSTEST\" was never defined.
8100 Usually this means the macro was only invoked conditionally." >&5
8101 echo "$as_me: error: conditional \"BUILD_SYSTEST\" was never defined.
8102 Usually this means the macro was only invoked conditionally." >&2;}
8103 { (exit 1); exit 1; }; }
8105 if test -z "${BUILD_ARMTEST_TRUE}" && test -z "${BUILD_ARMTEST_FALSE}"; then
8106 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ARMTEST\" was never defined.
8107 Usually this means the macro was only invoked conditionally." >&5
8108 echo "$as_me: error: conditional \"BUILD_ARMTEST\" was never defined.
8109 Usually this means the macro was only invoked conditionally." >&2;}
8110 { (exit 1); exit 1; }; }
8113 : ${CONFIG_STATUS=./config.status}
8114 ac_clean_files_save=$ac_clean_files
8115 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8116 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8117 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8118 cat >$CONFIG_STATUS <<_ACEOF
8120 # Generated by $as_me.
8121 # Run this file to recreate the current configuration.
8122 # Compiler output produced by configure, useful for debugging
8123 # configure, is in config.log if it exists.
8128 SHELL=\${CONFIG_SHELL-$SHELL}
8131 cat >>$CONFIG_STATUS <<\_ACEOF
8132 ## --------------------- ##
8133 ## M4sh Initialization. ##
8134 ## --------------------- ##
8136 # Be more Bourne compatible
8137 DUALCASE=1; export DUALCASE # for MKS sh
8138 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8141 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8142 # is contrary to our usage. Disable this feature.
8143 alias -g '${1+"$@"}'='"$@"'
8144 setopt NO_GLOB_SUBST
8146 case `(set -o) 2>/dev/null` in
8147 *posix*) set -o posix ;;
8156 # Avoid depending upon Character Ranges.
8157 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8158 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8159 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8160 as_cr_digits='0123456789'
8161 as_cr_alnum=$as_cr_Letters$as_cr_digits
8163 # The user is always right.
8164 if test "${PATH_SEPARATOR+set}" != set; then
8165 echo "#! /bin/sh" >conf$$.sh
8166 echo "exit 0" >>conf$$.sh
8168 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8176 # Support unset when possible.
8177 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8185 # We need space, tab and new line, in precisely that order. Quoting is
8186 # there to prevent editors from complaining about space-tab.
8187 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8188 # splitting by setting IFS to empty value.)
8193 # Find who we are. Look in the path if we contain no directory separator.
8195 *[\\/]* ) as_myself=$0 ;;
8196 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8200 test -z "$as_dir" && as_dir=.
8201 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8207 # We did not find ourselves, most probably we were run as `sh COMMAND'
8208 # in which case we are not to be found in the path.
8209 if test "x$as_myself" = x; then
8212 if test ! -f "$as_myself"; then
8213 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8214 { (exit 1); exit 1; }
8217 # Work around bugs in pre-3.0 UWIN ksh.
8218 for as_var in ENV MAIL MAILPATH
8219 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8227 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8228 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8229 LC_TELEPHONE LC_TIME
8231 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8232 eval $as_var=C; export $as_var
8234 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8238 # Required to use basename.
8239 if expr a : '\(a\)' >/dev/null 2>&1 &&
8240 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8246 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8247 as_basename=basename
8253 # Name of the executable.
8254 as_me=`$as_basename -- "$0" ||
8255 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8256 X"$0" : 'X\(//\)$' \| \
8257 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8259 sed '/^.*\/\([^/][^/]*\)\/*$/{
8280 test "x$as_lineno_1" != "x$as_lineno_2" &&
8281 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8283 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8284 # uniformly replaced by the line number. The first 'sed' inserts a
8285 # line-number line after each line using $LINENO; the second 'sed'
8286 # does the real work. The second script uses 'N' to pair each
8287 # line-number line with the line containing $LINENO, and appends
8288 # trailing '-' during substitution so that $LINENO is not a special
8290 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8291 # scripts with optimization help from Paolo Bonzini. Blame Lee
8292 # E. McMahon (1931-1989) for sed's syntax. :-)
8304 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8308 chmod +x "$as_me.lineno" ||
8309 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8310 { (exit 1); exit 1; }; }
8312 # Don't try to exec as it changes $[0], causing all sort of problems
8313 # (the dirname of $[0] is not the place where we might find the
8314 # original and so on. Autoconf is especially sensitive to this).
8316 # Exit status is that of the last command.
8321 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8327 ECHO_C= ECHO_N= ECHO_T=
8330 case `echo 'x\c'` in
8331 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8338 if expr a : '\(a\)' >/dev/null 2>&1 &&
8339 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8345 rm -f conf$$ conf$$.exe conf$$.file
8346 if test -d conf$$.dir; then
8347 rm -f conf$$.dir/conf$$.file
8353 if ln -s conf$$.file conf$$ 2>/dev/null; then
8355 # ... but there are two gotchas:
8356 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8357 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8358 # In both cases, we have to default to `cp -p'.
8359 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8361 elif ln conf$$.file conf$$ 2>/dev/null; then
8366 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8367 rmdir conf$$.dir 2>/dev/null
8369 if mkdir -p . 2>/dev/null; then
8372 test -d ./-p && rmdir ./-p
8376 if test -x / >/dev/null 2>&1; then
8379 if ls -dL / >/dev/null 2>&1; then
8386 if test -d "$1"; then
8392 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8393 ???[sx]*):;;*)false;;esac;fi
8397 as_executable_p=$as_test_x
8399 # Sed expression to map a string onto a valid CPP name.
8400 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8402 # Sed expression to map a string onto a valid variable name.
8403 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8408 # Save the log message, to keep $[0] and so on meaningful, and to
8409 # report actual input values of CONFIG_FILES etc. instead of their
8410 # values after options handling.
8412 This file was extended by $as_me, which was
8413 generated by GNU Autoconf 2.61. Invocation command line was
8415 CONFIG_FILES = $CONFIG_FILES
8416 CONFIG_HEADERS = $CONFIG_HEADERS
8417 CONFIG_LINKS = $CONFIG_LINKS
8418 CONFIG_COMMANDS = $CONFIG_COMMANDS
8421 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8426 cat >>$CONFIG_STATUS <<_ACEOF
8427 # Files that config.status was made for.
8428 config_files="$ac_config_files"
8429 config_headers="$ac_config_headers"
8430 config_commands="$ac_config_commands"
8434 cat >>$CONFIG_STATUS <<\_ACEOF
8436 \`$as_me' instantiates files from templates according to the
8437 current configuration.
8439 Usage: $0 [OPTIONS] [FILE]...
8441 -h, --help print this help, then exit
8442 -V, --version print version number and configuration settings, then exit
8443 -q, --quiet do not print progress messages
8444 -d, --debug don't remove temporary files
8445 --recheck update $as_me by reconfiguring in the same conditions
8446 --file=FILE[:TEMPLATE]
8447 instantiate the configuration file FILE
8448 --header=FILE[:TEMPLATE]
8449 instantiate the configuration header FILE
8451 Configuration files:
8454 Configuration headers:
8457 Configuration commands:
8460 Report bugs to <bug-autoconf@gnu.org>."
8463 cat >>$CONFIG_STATUS <<_ACEOF
8466 configured by $0, generated by GNU Autoconf 2.61,
8467 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8469 Copyright (C) 2006 Free Software Foundation, Inc.
8470 This config.status script is free software; the Free Software Foundation
8471 gives unlimited permission to copy, distribute and modify it."
8478 cat >>$CONFIG_STATUS <<\_ACEOF
8479 # If no file are specified by the user, then we need to provide default
8480 # value. By we need to know if files were specified by the user.
8486 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8487 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8498 # Handling of the options.
8499 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8501 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8502 echo "$ac_cs_version"; exit ;;
8503 --debug | --debu | --deb | --de | --d | -d )
8505 --file | --fil | --fi | --f )
8507 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8508 ac_need_defaults=false;;
8509 --header | --heade | --head | --hea )
8511 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8512 ac_need_defaults=false;;
8514 # Conflict between --help and --header
8515 { echo "$as_me: error: ambiguous option: $1
8516 Try \`$0 --help' for more information." >&2
8517 { (exit 1); exit 1; }; };;
8518 --help | --hel | -h )
8519 echo "$ac_cs_usage"; exit ;;
8520 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8521 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8525 -*) { echo "$as_me: error: unrecognized option: $1
8526 Try \`$0 --help' for more information." >&2
8527 { (exit 1); exit 1; }; } ;;
8529 *) ac_config_targets="$ac_config_targets $1"
8530 ac_need_defaults=false ;;
8536 ac_configure_extra_args=
8538 if $ac_cs_silent; then
8540 ac_configure_extra_args="$ac_configure_extra_args --silent"
8544 cat >>$CONFIG_STATUS <<_ACEOF
8545 if \$ac_cs_recheck; then
8546 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8549 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8553 cat >>$CONFIG_STATUS <<\_ACEOF
8557 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8558 ## Running $as_me. ##
8564 cat >>$CONFIG_STATUS <<_ACEOF
8568 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8573 cat >>$CONFIG_STATUS <<\_ACEOF
8575 # Handling of arguments.
8576 for ac_config_target in $ac_config_targets
8578 case $ac_config_target in
8579 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8580 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8581 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8582 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8583 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8584 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
8585 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
8587 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8588 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8589 { (exit 1); exit 1; }; };;
8594 # If the user did not use the arguments to specify the items to instantiate,
8595 # then the envvar interface is used. Set only those that are not.
8596 # We use the long form for the default assignment because of an extremely
8597 # bizarre bug on SunOS 4.1.3.
8598 if $ac_need_defaults; then
8599 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8600 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8601 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8604 # Have a temporary directory for convenience. Make it in the build tree
8605 # simply because there is no reason against having it here, and in addition,
8606 # creating and moving files from /tmp can sometimes cause problems.
8607 # Hook for its removal unless debugging.
8608 # Note that there is a small window in which the directory will not be cleaned:
8609 # after its creation but before its name has been assigned to `$tmp'.
8613 trap 'exit_status=$?
8614 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8616 trap '{ (exit 1); exit 1; }' 1 2 13 15
8618 # Create a (secure) tmp directory for tmp files.
8621 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8622 test -n "$tmp" && test -d "$tmp"
8625 tmp=./conf$$-$RANDOM
8626 (umask 077 && mkdir "$tmp")
8629 echo "$me: cannot create a temporary directory in ." >&2
8630 { (exit 1); exit 1; }
8634 # Set up the sed scripts for CONFIG_FILES section.
8637 # No need to generate the scripts if there are no CONFIG_FILES.
8638 # This happens for instance when ./config.status config.h
8639 if test -n "$CONFIG_FILES"; then
8646 for ac_last_try in false false false false false :; do
8647 cat >conf$$subs.sed <<_ACEOF
8648 SHELL!$SHELL$ac_delim
8649 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
8650 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
8651 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
8652 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
8653 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
8654 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
8655 exec_prefix!$exec_prefix$ac_delim
8656 prefix!$prefix$ac_delim
8657 program_transform_name!$program_transform_name$ac_delim
8658 bindir!$bindir$ac_delim
8659 sbindir!$sbindir$ac_delim
8660 libexecdir!$libexecdir$ac_delim
8661 datarootdir!$datarootdir$ac_delim
8662 datadir!$datadir$ac_delim
8663 sysconfdir!$sysconfdir$ac_delim
8664 sharedstatedir!$sharedstatedir$ac_delim
8665 localstatedir!$localstatedir$ac_delim
8666 includedir!$includedir$ac_delim
8667 oldincludedir!$oldincludedir$ac_delim
8668 docdir!$docdir$ac_delim
8669 infodir!$infodir$ac_delim
8670 htmldir!$htmldir$ac_delim
8671 dvidir!$dvidir$ac_delim
8672 pdfdir!$pdfdir$ac_delim
8673 psdir!$psdir$ac_delim
8674 libdir!$libdir$ac_delim
8675 localedir!$localedir$ac_delim
8676 mandir!$mandir$ac_delim
8678 ECHO_C!$ECHO_C$ac_delim
8679 ECHO_N!$ECHO_N$ac_delim
8680 ECHO_T!$ECHO_T$ac_delim
8682 build_alias!$build_alias$ac_delim
8683 host_alias!$host_alias$ac_delim
8684 target_alias!$target_alias$ac_delim
8685 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
8686 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
8687 INSTALL_DATA!$INSTALL_DATA$ac_delim
8688 CYGPATH_W!$CYGPATH_W$ac_delim
8689 PACKAGE!$PACKAGE$ac_delim
8690 VERSION!$VERSION$ac_delim
8691 ACLOCAL!$ACLOCAL$ac_delim
8692 AUTOCONF!$AUTOCONF$ac_delim
8693 AUTOMAKE!$AUTOMAKE$ac_delim
8694 AUTOHEADER!$AUTOHEADER$ac_delim
8695 MAKEINFO!$MAKEINFO$ac_delim
8696 AMTAR!$AMTAR$ac_delim
8697 install_sh!$install_sh$ac_delim
8698 STRIP!$STRIP$ac_delim
8699 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
8701 SET_MAKE!$SET_MAKE$ac_delim
8702 am__leading_dot!$am__leading_dot$ac_delim
8703 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
8704 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
8705 MAINT!$MAINT$ac_delim
8707 CFLAGS!$CFLAGS$ac_delim
8708 LDFLAGS!$LDFLAGS$ac_delim
8709 CPPFLAGS!$CPPFLAGS$ac_delim
8710 ac_ct_CC!$ac_ct_CC$ac_delim
8711 EXEEXT!$EXEEXT$ac_delim
8712 OBJEXT!$OBJEXT$ac_delim
8713 DEPDIR!$DEPDIR$ac_delim
8714 am__include!$am__include$ac_delim
8715 am__quote!$am__quote$ac_delim
8716 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
8717 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
8718 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
8719 CCDEPMODE!$CCDEPMODE$ac_delim
8720 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
8721 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
8723 CCASFLAGS!$CCASFLAGS$ac_delim
8726 EGREP!$EGREP$ac_delim
8727 build!$build$ac_delim
8728 build_cpu!$build_cpu$ac_delim
8729 build_vendor!$build_vendor$ac_delim
8730 build_os!$build_os$ac_delim
8732 host_cpu!$host_cpu$ac_delim
8733 host_vendor!$host_vendor$ac_delim
8734 host_os!$host_os$ac_delim
8735 PKG_CONFIG!$PKG_CONFIG$ac_delim
8736 LIBPNG_CFLAGS!$LIBPNG_CFLAGS$ac_delim
8737 LIBPNG_LIBS!$LIBPNG_LIBS$ac_delim
8738 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
8739 GTK_LIBS!$GTK_LIBS$ac_delim
8740 GUI_CARBON_TRUE!$GUI_CARBON_TRUE$ac_delim
8741 GUI_CARBON_FALSE!$GUI_CARBON_FALSE$ac_delim
8742 GUI_GTK_TRUE!$GUI_GTK_TRUE$ac_delim
8743 GUI_GTK_FALSE!$GUI_GTK_FALSE$ac_delim
8744 BUILD_SH4X86_TRUE!$BUILD_SH4X86_TRUE$ac_delim
8747 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
8749 elif $ac_last_try; then
8750 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8751 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8752 { (exit 1); exit 1; }; }
8754 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8758 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8759 if test -n "$ac_eof"; then
8760 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8761 ac_eof=`expr $ac_eof + 1`
8764 cat >>$CONFIG_STATUS <<_ACEOF
8765 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8766 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8769 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8770 s/^/s,@/; s/!/@,|#_!!_#|/
8773 s/'"$ac_delim"'$/,g/; t
8775 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8776 ' >>$CONFIG_STATUS <conf$$subs.sed
8777 rm -f conf$$subs.sed
8778 cat >>$CONFIG_STATUS <<_ACEOF
8784 for ac_last_try in false false false false false :; do
8785 cat >conf$$subs.sed <<_ACEOF
8786 BUILD_SH4X86_FALSE!$BUILD_SH4X86_FALSE$ac_delim
8787 BUILD_X86_64_TRUE!$BUILD_X86_64_TRUE$ac_delim
8788 BUILD_X86_64_FALSE!$BUILD_X86_64_FALSE$ac_delim
8789 ESOUND_CFLAGS!$ESOUND_CFLAGS$ac_delim
8790 ESOUND_LIBS!$ESOUND_LIBS$ac_delim
8791 AUDIO_ESOUND_TRUE!$AUDIO_ESOUND_TRUE$ac_delim
8792 AUDIO_ESOUND_FALSE!$AUDIO_ESOUND_FALSE$ac_delim
8793 CDROM_LINUX_TRUE!$CDROM_LINUX_TRUE$ac_delim
8794 CDROM_LINUX_FALSE!$CDROM_LINUX_FALSE$ac_delim
8797 SHOBJCOPY!$SHOBJCOPY$ac_delim
8798 ARMCC!$ARMCC$ac_delim
8799 ARMLD!$ARMLD$ac_delim
8800 ARMOBJCOPY!$ARMOBJCOPY$ac_delim
8801 BUILD_SYSTEST_TRUE!$BUILD_SYSTEST_TRUE$ac_delim
8802 BUILD_SYSTEST_FALSE!$BUILD_SYSTEST_FALSE$ac_delim
8803 BUILD_ARMTEST_TRUE!$BUILD_ARMTEST_TRUE$ac_delim
8804 BUILD_ARMTEST_FALSE!$BUILD_ARMTEST_FALSE$ac_delim
8805 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
8806 USE_NLS!$USE_NLS$ac_delim
8807 MSGFMT!$MSGFMT$ac_delim
8808 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
8809 GMSGFMT!$GMSGFMT$ac_delim
8810 XGETTEXT!$XGETTEXT$ac_delim
8811 CATALOGS!$CATALOGS$ac_delim
8812 CATOBJEXT!$CATOBJEXT$ac_delim
8813 DATADIRNAME!$DATADIRNAME$ac_delim
8814 GMOFILES!$GMOFILES$ac_delim
8815 INSTOBJEXT!$INSTOBJEXT$ac_delim
8816 INTLLIBS!$INTLLIBS$ac_delim
8817 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
8818 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
8819 POFILES!$POFILES$ac_delim
8820 POSUB!$POSUB$ac_delim
8821 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
8822 LIBOBJS!$LIBOBJS$ac_delim
8823 LTLIBOBJS!$LTLIBOBJS$ac_delim
8826 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then
8828 elif $ac_last_try; then
8829 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8830 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8831 { (exit 1); exit 1; }; }
8833 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8837 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8838 if test -n "$ac_eof"; then
8839 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8840 ac_eof=`expr $ac_eof + 1`
8843 cat >>$CONFIG_STATUS <<_ACEOF
8844 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
8845 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
8848 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8849 s/^/s,@/; s/!/@,|#_!!_#|/
8852 s/'"$ac_delim"'$/,g/; t
8854 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8855 ' >>$CONFIG_STATUS <conf$$subs.sed
8856 rm -f conf$$subs.sed
8857 cat >>$CONFIG_STATUS <<_ACEOF
8864 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8865 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8866 # trailing colons and then remove the whole line if VPATH becomes empty
8867 # (actually we leave an empty line to preserve line numbers).
8868 if test "x$srcdir" = x.; then
8869 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8873 s/^\([^=]*=[ ]*\):*/\1/
8879 cat >>$CONFIG_STATUS <<\_ACEOF
8880 fi # test -n "$CONFIG_FILES"
8883 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
8886 :[FHLC]) ac_mode=$ac_tag; continue;;
8888 case $ac_mode$ac_tag in
8890 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8891 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8892 { (exit 1); exit 1; }; };;
8893 :[FH]-) ac_tag=-:-;;
8894 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8911 -) ac_f="$tmp/stdin";;
8912 *) # Look for the file first in the build tree, then in the source tree
8913 # (if the path is not absolute). The absolute path cannot be DOS-style,
8914 # because $ac_f cannot contain `:'.
8918 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8920 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8921 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8922 { (exit 1); exit 1; }; };;
8924 ac_file_inputs="$ac_file_inputs $ac_f"
8927 # Let's still pretend it is `configure' which instantiates (i.e., don't
8928 # use $as_me), people would be surprised to read:
8929 # /* config.h. Generated by config.status. */
8930 configure_input="Generated from "`IFS=:
8931 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8932 if test x"$ac_file" != x-; then
8933 configure_input="$ac_file. $configure_input"
8934 { echo "$as_me:$LINENO: creating $ac_file" >&5
8935 echo "$as_me: creating $ac_file" >&6;}
8939 *:-:* | *:-) cat >"$tmp/stdin";;
8944 ac_dir=`$as_dirname -- "$ac_file" ||
8945 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8946 X"$ac_file" : 'X\(//\)[^/]' \| \
8947 X"$ac_file" : 'X\(//\)$' \| \
8948 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8950 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8969 -*) as_dir=./$as_dir;;
8971 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8975 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8976 *) as_qdir=$as_dir;;
8978 as_dirs="'$as_qdir' $as_dirs"
8979 as_dir=`$as_dirname -- "$as_dir" ||
8980 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8981 X"$as_dir" : 'X\(//\)[^/]' \| \
8982 X"$as_dir" : 'X\(//\)$' \| \
8983 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9002 test -d "$as_dir" && break
9004 test -z "$as_dirs" || eval "mkdir $as_dirs"
9005 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9006 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9007 { (exit 1); exit 1; }; }; }
9011 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9013 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9014 # A ".." for each directory in $ac_dir_suffix.
9015 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9016 case $ac_top_builddir_sub in
9017 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9018 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9021 ac_abs_top_builddir=$ac_pwd
9022 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9023 # for backward compatibility:
9024 ac_top_builddir=$ac_top_build_prefix
9027 .) # We are building in place.
9029 ac_top_srcdir=$ac_top_builddir_sub
9030 ac_abs_top_srcdir=$ac_pwd ;;
9031 [\\/]* | ?:[\\/]* ) # Absolute name.
9032 ac_srcdir=$srcdir$ac_dir_suffix;
9033 ac_top_srcdir=$srcdir
9034 ac_abs_top_srcdir=$srcdir ;;
9036 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9037 ac_top_srcdir=$ac_top_build_prefix$srcdir
9038 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9040 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9050 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9051 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9055 cat >>$CONFIG_STATUS <<\_ACEOF
9056 # If the template does not know about datarootdir, expand it.
9057 # FIXME: This hack should be removed a few years after 2.60.
9058 ac_datarootdir_hack=; ac_datarootdir_seen=
9060 case `sed -n '/datarootdir/ {
9069 ' $ac_file_inputs` in
9070 *datarootdir*) ac_datarootdir_seen=yes;;
9071 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9072 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9073 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9075 cat >>$CONFIG_STATUS <<_ACEOF
9076 ac_datarootdir_hack='
9077 s&@datadir@&$datadir&g
9078 s&@docdir@&$docdir&g
9079 s&@infodir@&$infodir&g
9080 s&@localedir@&$localedir&g
9081 s&@mandir@&$mandir&g
9082 s&\\\${datarootdir}&$datarootdir&g' ;;
9086 # Neutralize VPATH when `$srcdir' = `.'.
9087 # Shell code in configure.ac might set extrasub.
9088 # FIXME: do we really want to maintain this feature?
9089 cat >>$CONFIG_STATUS <<_ACEOF
9093 cat >>$CONFIG_STATUS <<\_ACEOF
9095 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9096 s&@configure_input@&$configure_input&;t t
9097 s&@top_builddir@&$ac_top_builddir_sub&;t t
9098 s&@srcdir@&$ac_srcdir&;t t
9099 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9100 s&@top_srcdir@&$ac_top_srcdir&;t t
9101 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9102 s&@builddir@&$ac_builddir&;t t
9103 s&@abs_builddir@&$ac_abs_builddir&;t t
9104 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9105 s&@INSTALL@&$ac_INSTALL&;t t
9106 $ac_datarootdir_hack
9107 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
9109 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9110 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9111 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9112 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9113 which seems to be undefined. Please make sure it is defined." >&5
9114 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9115 which seems to be undefined. Please make sure it is defined." >&2;}
9119 -) cat "$tmp/out"; rm -f "$tmp/out";;
9120 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9129 # Transform confdefs.h into a sed script `conftest.defines', that
9130 # substitutes the proper values into config.h.in to produce config.h.
9131 rm -f conftest.defines conftest.tail
9132 # First, append a space to every undef/define line, to ease matching.
9133 echo 's/$/ /' >conftest.defines
9134 # Then, protect against being on the right side of a sed subst, or in
9135 # an unquoted here document, in config.status. If some macros were
9136 # called several times there might be several #defines for the same
9137 # symbol, which is useless. But do not sort them, since the last
9138 # AC_DEFINE must be honored.
9139 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9140 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9141 # NAME is the cpp macro being defined, VALUE is the value it is being given.
9142 # PARAMS is the parameter list in the macro definition--in most cases, it's
9143 # just an empty string.
9144 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
9145 ac_dB='\\)[ (].*,\\1define\\2'
9153 s/^[ ]*#[ ]*define[ ][ ]*//
9158 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9159 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9160 ' >>conftest.defines
9162 # Remove the space that was appended to ease matching.
9163 # Then replace #undef with comments. This is necessary, for
9164 # example, in the case of _POSIX_SOURCE, which is predefined and required
9165 # on some systems where configure will not decide to define it.
9166 # (The regexp can be short, since the line contains either #define or #undef.)
9168 s,^[ #]*u.*,/* & */,' >>conftest.defines
9170 # Break up conftest.defines:
9173 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9174 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9175 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9177 ac_in='$ac_file_inputs'
9178 ac_out='"$tmp/out1"'
9179 ac_nxt='"$tmp/out2"'
9183 # Write a here document:
9184 cat >>$CONFIG_STATUS <<_ACEOF
9185 # First, check the format of the line:
9186 cat >"\$tmp/defines.sed" <<\\CEOF
9187 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
9188 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
9192 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
9194 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9195 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
9196 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
9197 grep . conftest.tail >/dev/null || break
9198 rm -f conftest.defines
9199 mv conftest.tail conftest.defines
9201 rm -f conftest.defines conftest.tail
9203 echo "ac_result=$ac_in" >>$CONFIG_STATUS
9204 cat >>$CONFIG_STATUS <<\_ACEOF
9205 if test x"$ac_file" != x-; then
9206 echo "/* $configure_input */" >"$tmp/config.h"
9207 cat "$ac_result" >>"$tmp/config.h"
9208 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
9209 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9210 echo "$as_me: $ac_file is unchanged" >&6;}
9213 mv "$tmp/config.h" $ac_file
9216 echo "/* $configure_input */"
9220 # Compute $ac_file's index in $config_headers.
9222 for _am_header in $config_headers :; do
9224 $ac_file | $ac_file:* )
9227 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9230 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
9231 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9232 X$ac_file : 'X\(//\)[^/]' \| \
9233 X$ac_file : 'X\(//\)$' \| \
9234 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
9236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9252 s/.*/./; q'`/stamp-h$_am_stamp_count
9255 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
9256 echo "$as_me: executing $ac_file commands" >&6;}
9261 case $ac_file$ac_mode in
9262 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9263 # Strip MF so we end up with the name of the file.
9264 mf=`echo "$mf" | sed -e 's/:.*$//'`
9265 # Check whether this is an Automake generated Makefile or not.
9266 # We used to match only the files named `Makefile.in', but
9267 # some people rename them; so instead we look at the file content.
9268 # Grep'ing the first line is not enough: some people post-process
9269 # each Makefile.in and add a new line on top of each file to say so.
9270 # So let's grep whole file.
9271 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9272 dirpart=`$as_dirname -- "$mf" ||
9273 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9274 X"$mf" : 'X\(//\)[^/]' \| \
9275 X"$mf" : 'X\(//\)$' \| \
9276 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9298 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
9299 # Extract the definition of DEP_FILES from the Makefile without
9301 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
9302 test -z "$DEPDIR" && continue
9303 # When using ansi2knr, U may be empty or an underscore; expand it
9304 U=`sed -n -e '/^U = / s///p' < "$mf"`
9305 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
9306 # We invoke sed twice because it is the simplest approach to
9307 # changing $(DEPDIR) to its actual value in the expansion.
9308 for file in `sed -n -e '
9309 /^DEP_FILES = .*\\\\$/ {
9318 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
9319 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9320 # Make sure the directory exists.
9321 test -f "$dirpart/$file" && continue
9322 fdir=`$as_dirname -- "$file" ||
9323 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9324 X"$file" : 'X\(//\)[^/]' \| \
9325 X"$file" : 'X\(//\)$' \| \
9326 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9345 { as_dir=$dirpart/$fdir
9347 -*) as_dir=./$as_dir;;
9349 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9353 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9354 *) as_qdir=$as_dir;;
9356 as_dirs="'$as_qdir' $as_dirs"
9357 as_dir=`$as_dirname -- "$as_dir" ||
9358 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9359 X"$as_dir" : 'X\(//\)[^/]' \| \
9360 X"$as_dir" : 'X\(//\)$' \| \
9361 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9380 test -d "$as_dir" && break
9382 test -z "$as_dirs" || eval "mkdir $as_dirs"
9383 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9384 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9385 { (exit 1); exit 1; }; }; }
9386 # echo "creating $dirpart/$file"
9387 echo '# dummy' > "$dirpart/$file"
9391 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
9392 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
9399 { (exit 0); exit 0; }
9401 chmod +x $CONFIG_STATUS
9402 ac_clean_files=$ac_clean_files_save
9405 # configure is writing to config.log, and then calls config.status.
9406 # config.status does its own redirection, appending to config.log.
9407 # Unfortunately, on DOS this fails, as config.log is still kept open
9408 # by configure, so config.status won't be able to write to it; its
9409 # output is simply discarded. So we exec the FD to /dev/null,
9410 # effectively closing config.log, so it can be properly (re)opened and
9411 # appended to by config.status. When coming back to configure, we
9412 # need to make the FD available again.
9413 if test "$no_create" != yes; then
9415 ac_config_status_args=
9416 test "$silent" = yes &&
9417 ac_config_status_args="$ac_config_status_args --quiet"
9419 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9421 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9422 # would make configure fail if this is the last instruction.
9423 $ac_cs_success || { (exit 1); exit 1; }
.