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
741 ac_precious_vars='build_alias
757 # Initialize some variables set by options.
759 ac_init_version=false
760 # The variables have the same names as the options, with
761 # dashes changed to underlines.
769 program_transform_name=s,x,x,
777 # Installation directory options.
778 # These are left unexpanded so users can "make install exec_prefix=/foo"
779 # and all the variables that are supposed to be based on exec_prefix
780 # by default will actually change.
781 # Use braces instead of parens because sh, perl, etc. also accept them.
782 # (The list follows the same order as the GNU Coding Standards.)
783 bindir='${exec_prefix}/bin'
784 sbindir='${exec_prefix}/sbin'
785 libexecdir='${exec_prefix}/libexec'
786 datarootdir='${prefix}/share'
787 datadir='${datarootdir}'
788 sysconfdir='${prefix}/etc'
789 sharedstatedir='${prefix}/com'
790 localstatedir='${prefix}/var'
791 includedir='${prefix}/include'
792 oldincludedir='/usr/include'
793 docdir='${datarootdir}/doc/${PACKAGE}'
794 infodir='${datarootdir}/info'
799 libdir='${exec_prefix}/lib'
800 localedir='${datarootdir}/locale'
801 mandir='${datarootdir}/man'
807 # If the previous option needs an argument, assign it.
808 if test -n "$ac_prev"; then
809 eval $ac_prev=\$ac_option
815 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
819 # Accept the important Cygnus configure options, so we can diagnose typos.
821 case $ac_dashdash$ac_option in
825 -bindir | --bindir | --bindi | --bind | --bin | --bi)
827 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
830 -build | --build | --buil | --bui | --bu)
831 ac_prev=build_alias ;;
832 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
833 build_alias=$ac_optarg ;;
835 -cache-file | --cache-file | --cache-fil | --cache-fi \
836 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
837 ac_prev=cache_file ;;
838 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
839 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
840 cache_file=$ac_optarg ;;
843 cache_file=config.cache ;;
845 -datadir | --datadir | --datadi | --datad)
847 -datadir=* | --datadir=* | --datadi=* | --datad=*)
848 datadir=$ac_optarg ;;
850 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
851 | --dataroo | --dataro | --datar)
852 ac_prev=datarootdir ;;
853 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
854 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
855 datarootdir=$ac_optarg ;;
857 -disable-* | --disable-*)
858 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
859 # Reject names that are not valid shell variable names.
860 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
861 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
862 { (exit 1); exit 1; }; }
863 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
864 eval enable_$ac_feature=no ;;
866 -docdir | --docdir | --docdi | --doc | --do)
868 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
871 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
873 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
876 -enable-* | --enable-*)
877 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
878 # Reject names that are not valid shell variable names.
879 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
880 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
881 { (exit 1); exit 1; }; }
882 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
883 eval enable_$ac_feature=\$ac_optarg ;;
885 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
886 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
887 | --exec | --exe | --ex)
888 ac_prev=exec_prefix ;;
889 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
890 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
891 | --exec=* | --exe=* | --ex=*)
892 exec_prefix=$ac_optarg ;;
894 -gas | --gas | --ga | --g)
895 # Obsolete; use --with-gas.
898 -help | --help | --hel | --he | -h)
900 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
901 ac_init_help=recursive ;;
902 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
903 ac_init_help=short ;;
905 -host | --host | --hos | --ho)
906 ac_prev=host_alias ;;
907 -host=* | --host=* | --hos=* | --ho=*)
908 host_alias=$ac_optarg ;;
910 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
912 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
914 htmldir=$ac_optarg ;;
916 -includedir | --includedir | --includedi | --included | --include \
917 | --includ | --inclu | --incl | --inc)
918 ac_prev=includedir ;;
919 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
920 | --includ=* | --inclu=* | --incl=* | --inc=*)
921 includedir=$ac_optarg ;;
923 -infodir | --infodir | --infodi | --infod | --info | --inf)
925 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
926 infodir=$ac_optarg ;;
928 -libdir | --libdir | --libdi | --libd)
930 -libdir=* | --libdir=* | --libdi=* | --libd=*)
933 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
934 | --libexe | --libex | --libe)
935 ac_prev=libexecdir ;;
936 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
937 | --libexe=* | --libex=* | --libe=*)
938 libexecdir=$ac_optarg ;;
940 -localedir | --localedir | --localedi | --localed | --locale)
942 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
943 localedir=$ac_optarg ;;
945 -localstatedir | --localstatedir | --localstatedi | --localstated \
946 | --localstate | --localstat | --localsta | --localst | --locals)
947 ac_prev=localstatedir ;;
948 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
949 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
950 localstatedir=$ac_optarg ;;
952 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
954 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
958 # Obsolete; use --without-fp.
961 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
962 | --no-cr | --no-c | -n)
965 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
966 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
969 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
970 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
971 | --oldin | --oldi | --old | --ol | --o)
972 ac_prev=oldincludedir ;;
973 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
974 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
975 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
976 oldincludedir=$ac_optarg ;;
978 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
980 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
983 -program-prefix | --program-prefix | --program-prefi | --program-pref \
984 | --program-pre | --program-pr | --program-p)
985 ac_prev=program_prefix ;;
986 -program-prefix=* | --program-prefix=* | --program-prefi=* \
987 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
988 program_prefix=$ac_optarg ;;
990 -program-suffix | --program-suffix | --program-suffi | --program-suff \
991 | --program-suf | --program-su | --program-s)
992 ac_prev=program_suffix ;;
993 -program-suffix=* | --program-suffix=* | --program-suffi=* \
994 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
995 program_suffix=$ac_optarg ;;
997 -program-transform-name | --program-transform-name \
998 | --program-transform-nam | --program-transform-na \
999 | --program-transform-n | --program-transform- \
1000 | --program-transform | --program-transfor \
1001 | --program-transfo | --program-transf \
1002 | --program-trans | --program-tran \
1003 | --progr-tra | --program-tr | --program-t)
1004 ac_prev=program_transform_name ;;
1005 -program-transform-name=* | --program-transform-name=* \
1006 | --program-transform-nam=* | --program-transform-na=* \
1007 | --program-transform-n=* | --program-transform-=* \
1008 | --program-transform=* | --program-transfor=* \
1009 | --program-transfo=* | --program-transf=* \
1010 | --program-trans=* | --program-tran=* \
1011 | --progr-tra=* | --program-tr=* | --program-t=*)
1012 program_transform_name=$ac_optarg ;;
1014 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1016 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1017 pdfdir=$ac_optarg ;;
1019 -psdir | --psdir | --psdi | --psd | --ps)
1021 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1025 | -silent | --silent | --silen | --sile | --sil)
1028 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1030 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1032 sbindir=$ac_optarg ;;
1034 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1035 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1036 | --sharedst | --shareds | --shared | --share | --shar \
1038 ac_prev=sharedstatedir ;;
1039 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1040 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1041 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1043 sharedstatedir=$ac_optarg ;;
1045 -site | --site | --sit)
1047 -site=* | --site=* | --sit=*)
1050 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1052 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1053 srcdir=$ac_optarg ;;
1055 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1056 | --syscon | --sysco | --sysc | --sys | --sy)
1057 ac_prev=sysconfdir ;;
1058 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1059 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1060 sysconfdir=$ac_optarg ;;
1062 -target | --target | --targe | --targ | --tar | --ta | --t)
1063 ac_prev=target_alias ;;
1064 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1065 target_alias=$ac_optarg ;;
1067 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1070 -version | --version | --versio | --versi | --vers | -V)
1071 ac_init_version=: ;;
1074 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1075 # Reject names that are not valid shell variable names.
1076 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1077 { echo "$as_me: error: invalid package name: $ac_package" >&2
1078 { (exit 1); exit 1; }; }
1079 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1080 eval with_$ac_package=\$ac_optarg ;;
1082 -without-* | --without-*)
1083 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1086 { echo "$as_me: error: invalid package name: $ac_package" >&2
1087 { (exit 1); exit 1; }; }
1088 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1089 eval with_$ac_package=no ;;
1092 # Obsolete; use --with-x.
1095 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1096 | --x-incl | --x-inc | --x-in | --x-i)
1097 ac_prev=x_includes ;;
1098 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1099 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1100 x_includes=$ac_optarg ;;
1102 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1103 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1104 ac_prev=x_libraries ;;
1105 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1106 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1107 x_libraries=$ac_optarg ;;
1109 -*) { echo "$as_me: error: unrecognized option: $ac_option
1110 Try \`$0 --help' for more information." >&2
1111 { (exit 1); exit 1; }; }
1115 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1118 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1119 { (exit 1); exit 1; }; }
1120 eval $ac_envvar=\$ac_optarg
1121 export $ac_envvar ;;
1124 # FIXME: should be removed in autoconf 3.0.
1125 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1126 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1127 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1128 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1134 if test -n "$ac_prev"; then
1135 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1136 { echo "$as_me: error: missing argument to $ac_option" >&2
1137 { (exit 1); exit 1; }; }
1140 # Be sure to have absolute directory names.
1141 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1142 datadir sysconfdir sharedstatedir localstatedir includedir \
1143 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1144 libdir localedir mandir
1146 eval ac_val=\$$ac_var
1148 [\\/$]* | ?:[\\/]* ) continue;;
1149 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1151 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1152 { (exit 1); exit 1; }; }
1155 # There might be people who depend on the old broken behavior: `$host'
1156 # used to hold the argument of --host etc.
1157 # FIXME: To remove some day.
1160 target=$target_alias
1162 # FIXME: To remove some day.
1163 if test "x$host_alias" != x; then
1164 if test "x$build_alias" = x; then
1165 cross_compiling=maybe
1166 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1167 If a cross compiler is detected then cross compile mode will be used." >&2
1168 elif test "x$build_alias" != "x$host_alias"; then
1174 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1176 test "$silent" = yes && exec 6>/dev/null
1179 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1180 ac_ls_di=`ls -di .` &&
1181 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1182 { echo "$as_me: error: Working directory cannot be determined" >&2
1183 { (exit 1); exit 1; }; }
1184 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1185 { echo "$as_me: error: pwd does not report name of working directory" >&2
1186 { (exit 1); exit 1; }; }
1189 # Find the source files, if location was not specified.
1190 if test -z "$srcdir"; then
1191 ac_srcdir_defaulted=yes
1192 # Try the directory containing this script, then the parent directory.
1193 ac_confdir=`$as_dirname -- "$0" ||
1194 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1195 X"$0" : 'X\(//\)[^/]' \| \
1196 X"$0" : 'X\(//\)$' \| \
1197 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1217 if test ! -r "$srcdir/$ac_unique_file"; then
1221 ac_srcdir_defaulted=no
1223 if test ! -r "$srcdir/$ac_unique_file"; then
1224 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1225 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1226 { (exit 1); exit 1; }; }
1228 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1230 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1231 { (exit 1); exit 1; }; }
1233 # When building in place, set srcdir=.
1234 if test "$ac_abs_confdir" = "$ac_pwd"; then
1237 # Remove unnecessary trailing slashes from srcdir.
1238 # Double slashes in file names in object file debugging info
1239 # mess up M-x gdb in Emacs.
1241 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1243 for ac_var in $ac_precious_vars; do
1244 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1245 eval ac_env_${ac_var}_value=\$${ac_var}
1246 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1247 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1251 # Report the --help message.
1253 if test "$ac_init_help" = "long"; then
1254 # Omit some internal or obsolete options to make the list less imposing.
1255 # This message is too long to be a string in the A/UX 3.1 sh.
1257 \`configure' configures this package to adapt to many kinds of systems.
1259 Usage: $0 [OPTION]... [VAR=VALUE]...
1261 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1262 VAR=VALUE. See below for descriptions of some of the useful variables.
1264 Defaults for the options are specified in brackets.
1267 -h, --help display this help and exit
1268 --help=short display options specific to this package
1269 --help=recursive display the short help of all the included packages
1270 -V, --version display version information and exit
1271 -q, --quiet, --silent do not print \`checking...' messages
1272 --cache-file=FILE cache test results in FILE [disabled]
1273 -C, --config-cache alias for \`--cache-file=config.cache'
1274 -n, --no-create do not create output files
1275 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1277 Installation directories:
1278 --prefix=PREFIX install architecture-independent files in PREFIX
1279 [$ac_default_prefix]
1280 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1283 By default, \`make install' will install all the files in
1284 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1285 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1286 for instance \`--prefix=\$HOME'.
1288 For better control, use the options below.
1290 Fine tuning of the installation directories:
1291 --bindir=DIR user executables [EPREFIX/bin]
1292 --sbindir=DIR system admin executables [EPREFIX/sbin]
1293 --libexecdir=DIR program executables [EPREFIX/libexec]
1294 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1295 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1296 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1297 --libdir=DIR object code libraries [EPREFIX/lib]
1298 --includedir=DIR C header files [PREFIX/include]
1299 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1300 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1301 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1302 --infodir=DIR info documentation [DATAROOTDIR/info]
1303 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1304 --mandir=DIR man documentation [DATAROOTDIR/man]
1305 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1306 --htmldir=DIR html documentation [DOCDIR]
1307 --dvidir=DIR dvi documentation [DOCDIR]
1308 --pdfdir=DIR pdf documentation [DOCDIR]
1309 --psdir=DIR ps documentation [DOCDIR]
1315 --program-prefix=PREFIX prepend PREFIX to installed program names
1316 --program-suffix=SUFFIX append SUFFIX to installed program names
1317 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1320 --build=BUILD configure for building on BUILD [guessed]
1321 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1325 if test -n "$ac_init_help"; then
1330 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1331 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1332 --enable-maintainer-mode enable make rules and dependencies not useful
1333 (and sometimes confusing) to the casual installer
1334 --disable-dependency-tracking Speeds up one-time builds
1335 --enable-dependency-tracking Do not reject slow dependency extractors
1337 Some influential environment variables:
1338 CC C compiler command
1339 CFLAGS C compiler flags
1340 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1341 nonstandard directory <lib dir>
1342 LIBS libraries to pass to the linker, e.g. -l<library>
1343 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1344 you have headers in a nonstandard directory <include dir>
1346 PKG_CONFIG path to pkg-config utility
1348 C compiler flags for PACKAGE, overriding pkg-config
1350 linker flags for PACKAGE, overriding pkg-config
1352 C compiler flags for ESOUND, overriding pkg-config
1353 ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
1355 Use these variables to override the choices made by `configure' or to help
1356 it to find libraries and programs with nonstandard names/locations.
1362 if test "$ac_init_help" = "recursive"; then
1363 # If there are subdirs, report their specific --help.
1364 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1365 test -d "$ac_dir" || continue
1369 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1371 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1372 # A ".." for each directory in $ac_dir_suffix.
1373 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1374 case $ac_top_builddir_sub in
1375 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1376 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1379 ac_abs_top_builddir=$ac_pwd
1380 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1381 # for backward compatibility:
1382 ac_top_builddir=$ac_top_build_prefix
1385 .) # We are building in place.
1387 ac_top_srcdir=$ac_top_builddir_sub
1388 ac_abs_top_srcdir=$ac_pwd ;;
1389 [\\/]* | ?:[\\/]* ) # Absolute name.
1390 ac_srcdir=$srcdir$ac_dir_suffix;
1391 ac_top_srcdir=$srcdir
1392 ac_abs_top_srcdir=$srcdir ;;
1394 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1395 ac_top_srcdir=$ac_top_build_prefix$srcdir
1396 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1398 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1400 cd "$ac_dir" || { ac_status=$?; continue; }
1401 # Check for guested configure.
1402 if test -f "$ac_srcdir/configure.gnu"; then
1404 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1405 elif test -f "$ac_srcdir/configure"; then
1407 $SHELL "$ac_srcdir/configure" --help=recursive
1409 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1411 cd "$ac_pwd" || { ac_status=$?; break; }
1415 test -n "$ac_init_help" && exit $ac_status
1416 if $ac_init_version; then
1419 generated by GNU Autoconf 2.61
1421 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1422 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1423 This configure script is free software; the Free Software Foundation
1424 gives unlimited permission to copy, distribute and modify it.
1428 cat >config.log <<_ACEOF
1429 This file contains any messages produced by compilers while
1430 running configure, to aid debugging if configure makes a mistake.
1432 It was created by $as_me, which was
1433 generated by GNU Autoconf 2.61. Invocation command line was
1445 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1446 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1447 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1448 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1449 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1451 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1452 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1454 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1455 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1456 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1457 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1458 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1459 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1460 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1468 test -z "$as_dir" && as_dir=.
1469 echo "PATH: $as_dir"
1485 # Keep a trace of the command line.
1486 # Strip out --no-create and --no-recursion so they do not pile up.
1487 # Strip out --silent because we don't want to record it for future runs.
1488 # Also quote any args containing shell meta-characters.
1489 # Make two passes to allow for proper duplicate-argument suppression.
1493 ac_must_keep_next=false
1499 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1501 | -silent | --silent | --silen | --sile | --sil)
1504 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1507 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1509 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1510 if test $ac_must_keep_next = true; then
1511 ac_must_keep_next=false # Got value, back to normal.
1514 *=* | --config-cache | -C | -disable-* | --disable-* \
1515 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1516 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1517 | -with-* | --with-* | -without-* | --without-* | --x)
1518 case "$ac_configure_args0 " in
1519 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1522 -* ) ac_must_keep_next=true ;;
1525 ac_configure_args="$ac_configure_args '$ac_arg'"
1530 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1531 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1533 # When interrupted or exit'd, cleanup temporary files, and complete
1534 # config.log. We remove comments because anyway the quotes in there
1535 # would cause problems or look ugly.
1536 # WARNING: Use '\'' to represent an apostrophe within the trap.
1537 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1538 trap 'exit_status=$?
1539 # Save into config.log some information that might help in debugging.
1544 ## ---------------- ##
1545 ## Cache variables. ##
1546 ## ---------------- ##
1549 # The following way of writing the cache mishandles newlines in values,
1551 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1552 eval ac_val=\$$ac_var
1556 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1557 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1560 _ | IFS | as_nl) ;; #(
1561 *) $as_unset $ac_var ;;
1566 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1567 *${as_nl}ac_space=\ *)
1569 "s/'\''/'\''\\\\'\'''\''/g;
1570 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1581 ## ----------------- ##
1582 ## Output variables. ##
1583 ## ----------------- ##
1586 for ac_var in $ac_subst_vars
1588 eval ac_val=\$$ac_var
1590 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1592 echo "$ac_var='\''$ac_val'\''"
1596 if test -n "$ac_subst_files"; then
1598 ## ------------------- ##
1599 ## File substitutions. ##
1600 ## ------------------- ##
1603 for ac_var in $ac_subst_files
1605 eval ac_val=\$$ac_var
1607 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1609 echo "$ac_var='\''$ac_val'\''"
1614 if test -s confdefs.h; then
1624 test "$ac_signal" != 0 &&
1625 echo "$as_me: caught signal $ac_signal"
1626 echo "$as_me: exit $exit_status"
1628 rm -f core *.core core.conftest.* &&
1629 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1632 for ac_signal in 1 2 13 15; do
1633 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1637 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1638 rm -f -r conftest* confdefs.h
1640 # Predefined preprocessor variables.
1642 cat >>confdefs.h <<_ACEOF
1643 #define PACKAGE_NAME "$PACKAGE_NAME"
1647 cat >>confdefs.h <<_ACEOF
1648 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1652 cat >>confdefs.h <<_ACEOF
1653 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1657 cat >>confdefs.h <<_ACEOF
1658 #define PACKAGE_STRING "$PACKAGE_STRING"
1662 cat >>confdefs.h <<_ACEOF
1663 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1667 # Let the site file select an alternate cache file if it wants to.
1668 # Prefer explicitly selected file to automatically selected ones.
1669 if test -n "$CONFIG_SITE"; then
1670 set x "$CONFIG_SITE"
1671 elif test "x$prefix" != xNONE; then
1672 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1674 set x "$ac_default_prefix/share/config.site" \
1675 "$ac_default_prefix/etc/config.site"
1680 if test -r "$ac_site_file"; then
1681 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1682 echo "$as_me: loading site script $ac_site_file" >&6;}
1683 sed 's/^/| /' "$ac_site_file" >&5
1688 if test -r "$cache_file"; then
1689 # Some versions of bash will fail to source /dev/null (special
1690 # files actually), so we avoid doing that.
1691 if test -f "$cache_file"; then
1692 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1693 echo "$as_me: loading cache $cache_file" >&6;}
1695 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1696 *) . "./$cache_file";;
1700 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1701 echo "$as_me: creating cache $cache_file" >&6;}
1705 # Check that the precious variables saved in the cache have kept the same
1707 ac_cache_corrupted=false
1708 for ac_var in $ac_precious_vars; do
1709 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1710 eval ac_new_set=\$ac_env_${ac_var}_set
1711 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1712 eval ac_new_val=\$ac_env_${ac_var}_value
1713 case $ac_old_set,$ac_new_set in
1715 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1716 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1717 ac_cache_corrupted=: ;;
1719 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1720 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1721 ac_cache_corrupted=: ;;
1724 if test "x$ac_old_val" != "x$ac_new_val"; then
1725 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1726 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1727 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1728 echo "$as_me: former value: $ac_old_val" >&2;}
1729 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1730 echo "$as_me: current value: $ac_new_val" >&2;}
1731 ac_cache_corrupted=:
1734 # Pass precious variables to config.status.
1735 if test "$ac_new_set" = set; then
1737 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1738 *) ac_arg=$ac_var=$ac_new_val ;;
1740 case " $ac_configure_args " in
1741 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1742 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1746 if $ac_cache_corrupted; then
1747 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1748 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1749 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1750 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1751 { (exit 1); exit 1; }; }
1771 ac_cpp='$CPP $CPPFLAGS'
1772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1777 am__api_version="1.7"
1779 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1780 if test -f "$ac_dir/install-sh"; then
1782 ac_install_sh="$ac_aux_dir/install-sh -c"
1784 elif test -f "$ac_dir/install.sh"; then
1786 ac_install_sh="$ac_aux_dir/install.sh -c"
1788 elif test -f "$ac_dir/shtool"; then
1790 ac_install_sh="$ac_aux_dir/shtool install -c"
1794 if test -z "$ac_aux_dir"; then
1795 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1796 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1797 { (exit 1); exit 1; }; }
1800 # These three variables are undocumented and unsupported,
1801 # and are intended to be withdrawn in a future Autoconf release.
1802 # They can cause serious problems if a builder's source tree is in a directory
1803 # whose full name contains unusual characters.
1804 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1805 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1806 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1809 # Find a good install program. We prefer a C program (faster),
1810 # so one script is as good as another. But avoid the broken or
1811 # incompatible versions:
1812 # SysV /etc/install, /usr/sbin/install
1813 # SunOS /usr/etc/install
1814 # IRIX /sbin/install
1816 # AmigaOS /C/install, which installs bootblocks on floppy discs
1817 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1818 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1819 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1820 # OS/2's system install, which has a completely different semantic
1821 # ./install, which can be erroneously created by make from ./install.sh.
1822 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1823 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1824 if test -z "$INSTALL"; then
1825 if test "${ac_cv_path_install+set}" = set; then
1826 echo $ECHO_N "(cached) $ECHO_C" >&6
1828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1832 test -z "$as_dir" && as_dir=.
1833 # Account for people who put trailing slashes in PATH elements.
1835 ./ | .// | /cC/* | \
1836 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1837 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1840 # OSF1 and SCO ODT 3.0 have their own names for install.
1841 # Don't use installbsd from OSF since it installs stuff as root
1843 for ac_prog in ginstall scoinst install; do
1844 for ac_exec_ext in '' $ac_executable_extensions; do
1845 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1846 if test $ac_prog = install &&
1847 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1848 # AIX install. It has an incompatible calling convention.
1850 elif test $ac_prog = install &&
1851 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1852 # program-specific install script used by HP pwplus--don't use.
1855 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1868 if test "${ac_cv_path_install+set}" = set; then
1869 INSTALL=$ac_cv_path_install
1871 # As a last resort, use the slow shell script. Don't cache a
1872 # value for INSTALL within a source directory, because that will
1873 # break other packages using the cache if that directory is
1874 # removed, or if the value is a relative name.
1875 INSTALL=$ac_install_sh
1878 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1879 echo "${ECHO_T}$INSTALL" >&6; }
1881 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1882 # It thinks the first close brace ends the variable substitution.
1883 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1885 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1887 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1889 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1890 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1893 echo timestamp > conftest.file
1894 # Do `set' in a subshell so we don't clobber the current shell's
1895 # arguments. Must try -L first in case configure is actually a
1896 # symlink; some systems play weird games with the mod time of symlinks
1897 # (eg FreeBSD returns the mod time of the symlink's containing
1900 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1901 if test "$*" = "X"; then
1903 set X `ls -t $srcdir/configure conftest.file`
1906 if test "$*" != "X $srcdir/configure conftest.file" \
1907 && test "$*" != "X conftest.file $srcdir/configure"; then
1909 # If neither matched, then we have a broken ls. This can happen
1910 # if, for instance, CONFIG_SHELL is bash and it inherits a
1911 # broken ls alias from the environment. This has actually
1912 # happened. Such a system could not be considered "sane".
1913 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1914 alias in your environment" >&5
1915 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1916 alias in your environment" >&2;}
1917 { (exit 1); exit 1; }; }
1920 test "$2" = conftest.file
1926 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1927 Check your system clock" >&5
1928 echo "$as_me: error: newly created file is older than distributed files!
1929 Check your system clock" >&2;}
1930 { (exit 1); exit 1; }; }
1932 { echo "$as_me:$LINENO: result: yes" >&5
1933 echo "${ECHO_T}yes" >&6; }
1934 test "$program_prefix" != NONE &&
1935 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1936 # Use a double $ so make ignores it.
1937 test "$program_suffix" != NONE &&
1938 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1939 # Double any \ or $. echo might interpret backslashes.
1940 # By default was `s,x,x', remove it if useless.
1941 cat <<\_ACEOF >conftest.sed
1942 s/[\\$]/&&/g;s/;s,x,x,$//
1944 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1948 # expand $ac_aux_dir to an absolute path
1949 am_aux_dir=`cd $ac_aux_dir && pwd`
1951 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1952 # Use eval to expand $SHELL
1953 if eval "$MISSING --run true"; then
1954 am_missing_run="$MISSING --run "
1957 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1958 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1961 for ac_prog in gawk mawk nawk awk
1963 # Extract the first word of "$ac_prog", so it can be a program name with args.
1964 set dummy $ac_prog; ac_word=$2
1965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1967 if test "${ac_cv_prog_AWK+set}" = set; then
1968 echo $ECHO_N "(cached) $ECHO_C" >&6
1970 if test -n "$AWK"; then
1971 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1977 test -z "$as_dir" && as_dir=.
1978 for ac_exec_ext in '' $ac_executable_extensions; do
1979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1980 ac_cv_prog_AWK="$ac_prog"
1981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1991 if test -n "$AWK"; then
1992 { echo "$as_me:$LINENO: result: $AWK" >&5
1993 echo "${ECHO_T}$AWK" >&6; }
1995 { echo "$as_me:$LINENO: result: no" >&5
1996 echo "${ECHO_T}no" >&6; }
2000 test -n "$AWK" && break
2003 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2004 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2005 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2006 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2007 echo $ECHO_N "(cached) $ECHO_C" >&6
2009 cat >conftest.make <<\_ACEOF
2012 @echo '@@@%%%=$(MAKE)=@@@%%%'
2014 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2015 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2017 eval ac_cv_prog_make_${ac_make}_set=yes;;
2019 eval ac_cv_prog_make_${ac_make}_set=no;;
2023 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2024 { echo "$as_me:$LINENO: result: yes" >&5
2025 echo "${ECHO_T}yes" >&6; }
2028 { echo "$as_me:$LINENO: result: no" >&5
2029 echo "${ECHO_T}no" >&6; }
2030 SET_MAKE="MAKE=${MAKE-make}"
2033 rm -rf .tst 2>/dev/null
2034 mkdir .tst 2>/dev/null
2035 if test -d .tst; then
2040 rmdir .tst 2>/dev/null
2042 # test to see if srcdir already configured
2043 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2044 test -f $srcdir/config.status; then
2045 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2046 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2047 { (exit 1); exit 1; }; }
2050 # test whether we have cygpath
2051 if test -z "$CYGPATH_W"; then
2052 if (cygpath --version) >/dev/null 2>/dev/null; then
2053 CYGPATH_W='cygpath -w'
2060 # Define the identity of the package.
2065 cat >>confdefs.h <<_ACEOF
2066 #define PACKAGE "$PACKAGE"
2070 cat >>confdefs.h <<_ACEOF
2071 #define VERSION "$VERSION"
2074 # Some tools Automake needs.
2076 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2079 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2082 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2085 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2088 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2091 AMTAR=${AMTAR-"${am_missing_run}tar"}
2093 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2095 # Installed binaries are usually stripped using `strip' when the user
2096 # run `make install-strip'. However `strip' might not be the right
2097 # tool to use in cross-compilation environments, therefore Automake
2098 # will honor the `STRIP' environment variable to overrule this program.
2099 if test "$cross_compiling" != no; then
2100 if test -n "$ac_tool_prefix"; then
2101 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2102 set dummy ${ac_tool_prefix}strip; ac_word=$2
2103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2105 if test "${ac_cv_prog_STRIP+set}" = set; then
2106 echo $ECHO_N "(cached) $ECHO_C" >&6
2108 if test -n "$STRIP"; then
2109 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2115 test -z "$as_dir" && as_dir=.
2116 for ac_exec_ext in '' $ac_executable_extensions; do
2117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2118 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2128 STRIP=$ac_cv_prog_STRIP
2129 if test -n "$STRIP"; then
2130 { echo "$as_me:$LINENO: result: $STRIP" >&5
2131 echo "${ECHO_T}$STRIP" >&6; }
2133 { echo "$as_me:$LINENO: result: no" >&5
2134 echo "${ECHO_T}no" >&6; }
2139 if test -z "$ac_cv_prog_STRIP"; then
2141 # Extract the first word of "strip", so it can be a program name with args.
2142 set dummy strip; ac_word=$2
2143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2145 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 if test -n "$ac_ct_STRIP"; then
2149 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2158 ac_cv_prog_ac_ct_STRIP="strip"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2168 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2169 if test -n "$ac_ct_STRIP"; then
2170 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2171 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2173 { echo "$as_me:$LINENO: result: no" >&5
2174 echo "${ECHO_T}no" >&6; }
2177 if test "x$ac_ct_STRIP" = x; then
2180 case $cross_compiling:$ac_tool_warned in
2182 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2183 whose name does not start with the host triplet. If you think this
2184 configuration is useful to you, please write to autoconf@gnu.org." >&5
2185 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2186 whose name does not start with the host triplet. If you think this
2187 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2188 ac_tool_warned=yes ;;
2193 STRIP="$ac_cv_prog_STRIP"
2197 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2199 # We need awk for the "check" target. The system "awk" is bad on
2204 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2205 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2206 # Check whether --enable-maintainer-mode was given.
2207 if test "${enable_maintainer_mode+set}" = set; then
2208 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2210 USE_MAINTAINER_MODE=no
2213 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2214 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2217 if test $USE_MAINTAINER_MODE = yes; then
2218 MAINTAINER_MODE_TRUE=
2219 MAINTAINER_MODE_FALSE='#'
2221 MAINTAINER_MODE_TRUE='#'
2222 MAINTAINER_MODE_FALSE=
2225 MAINT=$MAINTAINER_MODE_TRUE
2228 ac_config_headers="$ac_config_headers config.h"
2231 DEPDIR="${am__leading_dot}deps"
2233 ac_config_commands="$ac_config_commands depfiles"
2236 am_make=${MAKE-make}
2237 cat > confinc << 'END'
2242 # If we don't find an include directive, just comment out the code.
2243 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2244 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2248 # First try GNU make style include.
2249 echo "include confinc" > confmf
2250 # We grep out `Entering directory' and `Leaving directory'
2251 # messages which can occur if `w' ends up in MAKEFLAGS.
2252 # In particular we don't look at `^make:' because GNU make might
2253 # be invoked under some other name (usually "gmake"), in which
2254 # case it prints its new name instead of `make'.
2255 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2260 # Now try BSD make style include.
2261 if test "$am__include" = "#"; then
2262 echo '.include "confinc"' > confmf
2263 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2264 am__include=.include
2271 { echo "$as_me:$LINENO: result: $_am_result" >&5
2272 echo "${ECHO_T}$_am_result" >&6; }
2273 rm -f confinc confmf
2275 # Check whether --enable-dependency-tracking was given.
2276 if test "${enable_dependency_tracking+set}" = set; then
2277 enableval=$enable_dependency_tracking;
2280 if test "x$enable_dependency_tracking" != xno; then
2281 am_depcomp="$ac_aux_dir/depcomp"
2286 if test "x$enable_dependency_tracking" != xno; then
2297 ac_cpp='$CPP $CPPFLAGS'
2298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2301 if test -n "$ac_tool_prefix"; then
2302 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2303 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2306 if test "${ac_cv_prog_CC+set}" = set; then
2307 echo $ECHO_N "(cached) $ECHO_C" >&6
2309 if test -n "$CC"; then
2310 ac_cv_prog_CC="$CC" # Let the user override the test.
2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316 test -z "$as_dir" && as_dir=.
2317 for ac_exec_ext in '' $ac_executable_extensions; do
2318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2319 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2330 if test -n "$CC"; then
2331 { echo "$as_me:$LINENO: result: $CC" >&5
2332 echo "${ECHO_T}$CC" >&6; }
2334 { echo "$as_me:$LINENO: result: no" >&5
2335 echo "${ECHO_T}no" >&6; }
2340 if test -z "$ac_cv_prog_CC"; then
2342 # Extract the first word of "gcc", so it can be a program name with args.
2343 set dummy gcc; ac_word=$2
2344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2346 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2347 echo $ECHO_N "(cached) $ECHO_C" >&6
2349 if test -n "$ac_ct_CC"; then
2350 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356 test -z "$as_dir" && as_dir=.
2357 for ac_exec_ext in '' $ac_executable_extensions; do
2358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2359 ac_cv_prog_ac_ct_CC="gcc"
2360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2370 if test -n "$ac_ct_CC"; then
2371 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2372 echo "${ECHO_T}$ac_ct_CC" >&6; }
2374 { echo "$as_me:$LINENO: result: no" >&5
2375 echo "${ECHO_T}no" >&6; }
2378 if test "x$ac_ct_CC" = x; then
2381 case $cross_compiling:$ac_tool_warned in
2383 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2384 whose name does not start with the host triplet. If you think this
2385 configuration is useful to you, please write to autoconf@gnu.org." >&5
2386 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2387 whose name does not start with the host triplet. If you think this
2388 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2389 ac_tool_warned=yes ;;
2397 if test -z "$CC"; then
2398 if test -n "$ac_tool_prefix"; then
2399 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2400 set dummy ${ac_tool_prefix}cc; ac_word=$2
2401 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2403 if test "${ac_cv_prog_CC+set}" = set; then
2404 echo $ECHO_N "(cached) $ECHO_C" >&6
2406 if test -n "$CC"; then
2407 ac_cv_prog_CC="$CC" # Let the user override the test.
2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 test -z "$as_dir" && as_dir=.
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2416 ac_cv_prog_CC="${ac_tool_prefix}cc"
2417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2427 if test -n "$CC"; then
2428 { echo "$as_me:$LINENO: result: $CC" >&5
2429 echo "${ECHO_T}$CC" >&6; }
2431 { echo "$as_me:$LINENO: result: no" >&5
2432 echo "${ECHO_T}no" >&6; }
2438 if test -z "$CC"; then
2439 # Extract the first word of "cc", so it can be a program name with args.
2440 set dummy cc; ac_word=$2
2441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2443 if test "${ac_cv_prog_CC+set}" = set; then
2444 echo $ECHO_N "(cached) $ECHO_C" >&6
2446 if test -n "$CC"; then
2447 ac_cv_prog_CC="$CC" # Let the user override the test.
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454 test -z "$as_dir" && as_dir=.
2455 for ac_exec_ext in '' $ac_executable_extensions; do
2456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2457 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2458 ac_prog_rejected=yes
2462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 if test $ac_prog_rejected = yes; then
2470 # We found a bogon in the path, so make sure we never use it.
2471 set dummy $ac_cv_prog_CC
2473 if test $# != 0; then
2474 # We chose a different compiler from the bogus one.
2475 # However, it has the same basename, so the bogon will be chosen
2476 # first if we set CC to just the basename; use the full file name.
2478 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2484 if test -n "$CC"; then
2485 { echo "$as_me:$LINENO: result: $CC" >&5
2486 echo "${ECHO_T}$CC" >&6; }
2488 { echo "$as_me:$LINENO: result: no" >&5
2489 echo "${ECHO_T}no" >&6; }
2494 if test -z "$CC"; then
2495 if test -n "$ac_tool_prefix"; then
2496 for ac_prog in cl.exe
2498 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2502 if test "${ac_cv_prog_CC+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test -n "$CC"; then
2506 ac_cv_prog_CC="$CC" # Let the user override the test.
2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir=.
2513 for ac_exec_ext in '' $ac_executable_extensions; do
2514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2515 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 if test -n "$CC"; then
2527 { echo "$as_me:$LINENO: result: $CC" >&5
2528 echo "${ECHO_T}$CC" >&6; }
2530 { echo "$as_me:$LINENO: result: no" >&5
2531 echo "${ECHO_T}no" >&6; }
2535 test -n "$CC" && break
2538 if test -z "$CC"; then
2540 for ac_prog in cl.exe
2542 # Extract the first word of "$ac_prog", so it can be a program name with args.
2543 set dummy $ac_prog; ac_word=$2
2544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2546 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2547 echo $ECHO_N "(cached) $ECHO_C" >&6
2549 if test -n "$ac_ct_CC"; then
2550 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2556 test -z "$as_dir" && as_dir=.
2557 for ac_exec_ext in '' $ac_executable_extensions; do
2558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2559 ac_cv_prog_ac_ct_CC="$ac_prog"
2560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2569 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2570 if test -n "$ac_ct_CC"; then
2571 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2572 echo "${ECHO_T}$ac_ct_CC" >&6; }
2574 { echo "$as_me:$LINENO: result: no" >&5
2575 echo "${ECHO_T}no" >&6; }
2579 test -n "$ac_ct_CC" && break
2582 if test "x$ac_ct_CC" = x; then
2585 case $cross_compiling:$ac_tool_warned in
2587 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2588 whose name does not start with the host triplet. If you think this
2589 configuration is useful to you, please write to autoconf@gnu.org." >&5
2590 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2591 whose name does not start with the host triplet. If you think this
2592 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2593 ac_tool_warned=yes ;;
2602 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2603 See \`config.log' for more details." >&5
2604 echo "$as_me: error: no acceptable C compiler found in \$PATH
2605 See \`config.log' for more details." >&2;}
2606 { (exit 1); exit 1; }; }
2608 # Provide some information about the compiler.
2609 echo "$as_me:$LINENO: checking for C compiler version" >&5
2610 ac_compiler=`set X $ac_compile; echo $2`
2611 { (ac_try="$ac_compiler --version >&5"
2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614 *) ac_try_echo=$ac_try;;
2616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2617 (eval "$ac_compiler --version >&5") 2>&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }
2621 { (ac_try="$ac_compiler -v >&5"
2623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2627 (eval "$ac_compiler -v >&5") 2>&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }
2631 { (ac_try="$ac_compiler -V >&5"
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2637 (eval "$ac_compiler -V >&5") 2>&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }
2642 cat >conftest.$ac_ext <<_ACEOF
2645 cat confdefs.h >>conftest.$ac_ext
2646 cat >>conftest.$ac_ext <<_ACEOF
2647 /* end confdefs.h. */
2657 ac_clean_files_save=$ac_clean_files
2658 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2659 # Try to create an executable without -o first, disregard a.out.
2660 # It will help us diagnose broken compilers, and finding out an intuition
2662 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2663 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2664 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2666 # List of possible output files, starting from the most likely.
2667 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2668 # only as a last resort. b.out is created by i960 compilers.
2669 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2671 # The IRIX 6 linker writes into existing files which may not be
2672 # executable, retaining their permissions. Remove them first so a
2673 # subsequent execution test works.
2675 for ac_file in $ac_files
2678 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2679 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2684 if { (ac_try="$ac_link_default"
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2690 (eval "$ac_link_default") 2>&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; then
2694 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2695 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2696 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2697 # so that the user can short-circuit this test for compilers unknown to
2699 for ac_file in $ac_files ''
2701 test -f "$ac_file" || continue
2703 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2706 # We found the default executable, but exeext='' is most
2710 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2712 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2714 # We set ac_cv_exeext here because the later test for it is not
2715 # safe: cross compilers may not add the suffix if given an `-o'
2716 # argument, so we may need to know it at that point already.
2717 # Even if this section looks crufty: it has the advantage of
2724 test "$ac_cv_exeext" = no && ac_cv_exeext=
2730 { echo "$as_me:$LINENO: result: $ac_file" >&5
2731 echo "${ECHO_T}$ac_file" >&6; }
2732 if test -z "$ac_file"; then
2733 echo "$as_me: failed program was:" >&5
2734 sed 's/^/| /' conftest.$ac_ext >&5
2736 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2737 See \`config.log' for more details." >&5
2738 echo "$as_me: error: C compiler cannot create executables
2739 See \`config.log' for more details." >&2;}
2740 { (exit 77); exit 77; }; }
2743 ac_exeext=$ac_cv_exeext
2745 # Check that the compiler produces executables we can run. If not, either
2746 # the compiler is broken, or we cross compile.
2747 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2748 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2749 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2750 # If not cross compiling, check that we can run a simple program.
2751 if test "$cross_compiling" != yes; then
2752 if { ac_try='./$ac_file'
2753 { (case "(($ac_try" in
2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2755 *) ac_try_echo=$ac_try;;
2757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2758 (eval "$ac_try") 2>&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; }; then
2764 if test "$cross_compiling" = maybe; then
2767 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2768 If you meant to cross compile, use \`--host'.
2769 See \`config.log' for more details." >&5
2770 echo "$as_me: error: cannot run C compiled programs.
2771 If you meant to cross compile, use \`--host'.
2772 See \`config.log' for more details." >&2;}
2773 { (exit 1); exit 1; }; }
2777 { echo "$as_me:$LINENO: result: yes" >&5
2778 echo "${ECHO_T}yes" >&6; }
2780 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2781 ac_clean_files=$ac_clean_files_save
2782 # Check that the compiler produces executables we can run. If not, either
2783 # the compiler is broken, or we cross compile.
2784 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2785 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2786 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2787 echo "${ECHO_T}$cross_compiling" >&6; }
2789 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2790 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2791 if { (ac_try="$ac_link"
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2797 (eval "$ac_link") 2>&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; then
2801 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2802 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2803 # work properly (i.e., refer to `conftest.exe'), while it won't with
2805 for ac_file in conftest.exe conftest conftest.*; do
2806 test -f "$ac_file" || continue
2808 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2809 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2815 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2816 See \`config.log' for more details." >&5
2817 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2818 See \`config.log' for more details." >&2;}
2819 { (exit 1); exit 1; }; }
2822 rm -f conftest$ac_cv_exeext
2823 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2824 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2826 rm -f conftest.$ac_ext
2827 EXEEXT=$ac_cv_exeext
2829 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2830 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2831 if test "${ac_cv_objext+set}" = set; then
2832 echo $ECHO_N "(cached) $ECHO_C" >&6
2834 cat >conftest.$ac_ext <<_ACEOF
2837 cat confdefs.h >>conftest.$ac_ext
2838 cat >>conftest.$ac_ext <<_ACEOF
2839 /* end confdefs.h. */
2849 rm -f conftest.o conftest.obj
2850 if { (ac_try="$ac_compile"
2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853 *) ac_try_echo=$ac_try;;
2855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2856 (eval "$ac_compile") 2>&5
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }; then
2860 for ac_file in conftest.o conftest.obj conftest.*; do
2861 test -f "$ac_file" || continue;
2863 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2864 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2869 echo "$as_me: failed program was:" >&5
2870 sed 's/^/| /' conftest.$ac_ext >&5
2872 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2873 See \`config.log' for more details." >&5
2874 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2875 See \`config.log' for more details." >&2;}
2876 { (exit 1); exit 1; }; }
2879 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2881 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2882 echo "${ECHO_T}$ac_cv_objext" >&6; }
2883 OBJEXT=$ac_cv_objext
2885 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2886 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2887 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2888 echo $ECHO_N "(cached) $ECHO_C" >&6
2890 cat >conftest.$ac_ext <<_ACEOF
2893 cat confdefs.h >>conftest.$ac_ext
2894 cat >>conftest.$ac_ext <<_ACEOF
2895 /* end confdefs.h. */
2908 rm -f conftest.$ac_objext
2909 if { (ac_try="$ac_compile"
2911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912 *) ac_try_echo=$ac_try;;
2914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2915 (eval "$ac_compile") 2>conftest.er1
2917 grep -v '^ *+' conftest.er1 >conftest.err
2919 cat conftest.err >&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); } && {
2922 test -z "$ac_c_werror_flag" ||
2923 test ! -s conftest.err
2924 } && test -s conftest.$ac_objext; then
2927 echo "$as_me: failed program was:" >&5
2928 sed 's/^/| /' conftest.$ac_ext >&5
2933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2937 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2938 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2939 GCC=`test $ac_compiler_gnu = yes && echo yes`
2940 ac_test_CFLAGS=${CFLAGS+set}
2941 ac_save_CFLAGS=$CFLAGS
2942 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2943 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2944 if test "${ac_cv_prog_cc_g+set}" = set; then
2945 echo $ECHO_N "(cached) $ECHO_C" >&6
2947 ac_save_c_werror_flag=$ac_c_werror_flag
2948 ac_c_werror_flag=yes
2951 cat >conftest.$ac_ext <<_ACEOF
2954 cat confdefs.h >>conftest.$ac_ext
2955 cat >>conftest.$ac_ext <<_ACEOF
2956 /* end confdefs.h. */
2966 rm -f conftest.$ac_objext
2967 if { (ac_try="$ac_compile"
2969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2970 *) ac_try_echo=$ac_try;;
2972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2973 (eval "$ac_compile") 2>conftest.er1
2975 grep -v '^ *+' conftest.er1 >conftest.err
2977 cat conftest.err >&5
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); } && {
2980 test -z "$ac_c_werror_flag" ||
2981 test ! -s conftest.err
2982 } && test -s conftest.$ac_objext; then
2985 echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2989 cat >conftest.$ac_ext <<_ACEOF
2992 cat confdefs.h >>conftest.$ac_ext
2993 cat >>conftest.$ac_ext <<_ACEOF
2994 /* end confdefs.h. */
3004 rm -f conftest.$ac_objext
3005 if { (ac_try="$ac_compile"
3007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3008 *) ac_try_echo=$ac_try;;
3010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3011 (eval "$ac_compile") 2>conftest.er1
3013 grep -v '^ *+' conftest.er1 >conftest.err
3015 cat conftest.err >&5
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); } && {
3018 test -z "$ac_c_werror_flag" ||
3019 test ! -s conftest.err
3020 } && test -s conftest.$ac_objext; then
3023 echo "$as_me: failed program was:" >&5
3024 sed 's/^/| /' conftest.$ac_ext >&5
3026 ac_c_werror_flag=$ac_save_c_werror_flag
3028 cat >conftest.$ac_ext <<_ACEOF
3031 cat confdefs.h >>conftest.$ac_ext
3032 cat >>conftest.$ac_ext <<_ACEOF
3033 /* end confdefs.h. */
3043 rm -f conftest.$ac_objext
3044 if { (ac_try="$ac_compile"
3046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047 *) ac_try_echo=$ac_try;;
3049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3050 (eval "$ac_compile") 2>conftest.er1
3052 grep -v '^ *+' conftest.er1 >conftest.err
3054 cat conftest.err >&5
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); } && {
3057 test -z "$ac_c_werror_flag" ||
3058 test ! -s conftest.err
3059 } && test -s conftest.$ac_objext; then
3062 echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.$ac_ext >&5
3068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3075 ac_c_werror_flag=$ac_save_c_werror_flag
3077 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3078 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3079 if test "$ac_test_CFLAGS" = set; then
3080 CFLAGS=$ac_save_CFLAGS
3081 elif test $ac_cv_prog_cc_g = yes; then
3082 if test "$GCC" = yes; then
3088 if test "$GCC" = yes; then
3094 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3095 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3096 if test "${ac_cv_prog_cc_c89+set}" = set; then
3097 echo $ECHO_N "(cached) $ECHO_C" >&6
3099 ac_cv_prog_cc_c89=no
3101 cat >conftest.$ac_ext <<_ACEOF
3104 cat confdefs.h >>conftest.$ac_ext
3105 cat >>conftest.$ac_ext <<_ACEOF
3106 /* end confdefs.h. */
3109 #include <sys/types.h>
3110 #include <sys/stat.h>
3111 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3112 struct buf { int x; };
3113 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3114 static char *e (p, i)
3120 static char *f (char * (*g) (char **, int), char **p, ...)
3125 s = g (p, va_arg (v,int));
3130 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3131 function prototypes and stuff, but not '\xHH' hex character constants.
3132 These don't provoke an error unfortunately, instead are silently treated
3133 as 'x'. The following induces an error, until -std is added to get
3134 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3135 array size at least. It's necessary to write '\x00'==0 to get something
3136 that's true only with -std. */
3137 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3139 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3140 inside strings and character constants. */
3142 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3144 int test (int i, double x);
3145 struct s1 {int (*f) (int a);};
3146 struct s2 {int (*f) (double a);};
3147 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3153 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3158 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3159 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3161 CC="$ac_save_CC $ac_arg"
3162 rm -f conftest.$ac_objext
3163 if { (ac_try="$ac_compile"
3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3169 (eval "$ac_compile") 2>conftest.er1
3171 grep -v '^ *+' conftest.er1 >conftest.err
3173 cat conftest.err >&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); } && {
3176 test -z "$ac_c_werror_flag" ||
3177 test ! -s conftest.err
3178 } && test -s conftest.$ac_objext; then
3179 ac_cv_prog_cc_c89=$ac_arg
3181 echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3187 rm -f core conftest.err conftest.$ac_objext
3188 test "x$ac_cv_prog_cc_c89" != "xno" && break
3190 rm -f conftest.$ac_ext
3195 case "x$ac_cv_prog_cc_c89" in
3197 { echo "$as_me:$LINENO: result: none needed" >&5
3198 echo "${ECHO_T}none needed" >&6; } ;;
3200 { echo "$as_me:$LINENO: result: unsupported" >&5
3201 echo "${ECHO_T}unsupported" >&6; } ;;
3203 CC="$CC $ac_cv_prog_cc_c89"
3204 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3205 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3210 ac_cpp='$CPP $CPPFLAGS'
3211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3215 depcc="$CC" am_compiler_list=
3217 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3218 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3219 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3220 echo $ECHO_N "(cached) $ECHO_C" >&6
3222 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3223 # We make a subdir and do the tests there. Otherwise we can end up
3224 # making bogus files that we don't know about and never remove. For
3225 # instance it was reported that on HP-UX the gcc test will end up
3226 # making a dummy file named `D' -- because `-MD' means `put the output
3229 # Copy depcomp to subdir because otherwise we won't find it if we're
3230 # using a relative directory.
3231 cp "$am_depcomp" conftest.dir
3233 # We will build objects and dependencies in a subdirectory because
3234 # it helps to detect inapplicable dependency modes. For instance
3235 # both Tru64's cc and ICC support -MD to output dependencies as a
3236 # side effect of compilation, but ICC will put the dependencies in
3237 # the current directory while Tru64 will put them in the object
3241 am_cv_CC_dependencies_compiler_type=none
3242 if test "$am_compiler_list" = ""; then
3243 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3245 for depmode in $am_compiler_list; do
3246 # Setup a source with many dependencies, because some compilers
3247 # like to wrap large dependency lists on column 80 (with \), and
3248 # we should not choose a depcomp mode which is confused by this.
3250 # We need to recreate these files for each test, as the compiler may
3251 # overwrite some of them when testing with obscure command lines.
3252 # This happens at least with the AIX C compiler.
3254 for i in 1 2 3 4 5 6; do
3255 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3258 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3262 # after this tag, mechanisms are not by side-effect, so they'll
3263 # only be used when explicitly requested
3264 if test "x$enable_dependency_tracking" = xyes; then
3272 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3273 # mode. It turns out that the SunPro C++ compiler does not properly
3274 # handle `-M -o', and we need to detect this.
3275 if depmode=$depmode \
3276 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3277 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3278 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3279 >/dev/null 2>conftest.err &&
3280 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3281 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3282 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3283 # icc doesn't choke on unknown options, it will just issue warnings
3284 # (even with -Werror). So we grep stderr for any message
3285 # that says an option was ignored.
3286 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3287 am_cv_CC_dependencies_compiler_type=$depmode
3296 am_cv_CC_dependencies_compiler_type=none
3300 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3301 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3302 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3307 test "x$enable_dependency_tracking" != xno \
3308 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3310 am__fastdepCC_FALSE='#'
3312 am__fastdepCC_TRUE='#'
3313 am__fastdepCC_FALSE=
3318 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
3319 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3320 if test "${ac_cv_search_strerror+set}" = set; then
3321 echo $ECHO_N "(cached) $ECHO_C" >&6
3323 ac_func_search_save_LIBS=$LIBS
3324 cat >conftest.$ac_ext <<_ACEOF
3327 cat confdefs.h >>conftest.$ac_ext
3328 cat >>conftest.$ac_ext <<_ACEOF
3329 /* end confdefs.h. */
3331 /* Override any GCC internal prototype to avoid an error.
3332 Use char because int might match the return type of a GCC
3333 builtin and then its argument prototype would still apply. */
3346 for ac_lib in '' cposix; do
3347 if test -z "$ac_lib"; then
3348 ac_res="none required"
3351 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3353 rm -f conftest.$ac_objext conftest$ac_exeext
3354 if { (ac_try="$ac_link"
3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3360 (eval "$ac_link") 2>conftest.er1
3362 grep -v '^ *+' conftest.er1 >conftest.err
3364 cat conftest.err >&5
3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366 (exit $ac_status); } && {
3367 test -z "$ac_c_werror_flag" ||
3368 test ! -s conftest.err
3369 } && test -s conftest$ac_exeext &&
3370 $as_test_x conftest$ac_exeext; then
3371 ac_cv_search_strerror=$ac_res
3373 echo "$as_me: failed program was:" >&5
3374 sed 's/^/| /' conftest.$ac_ext >&5
3379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3381 if test "${ac_cv_search_strerror+set}" = set; then
3385 if test "${ac_cv_search_strerror+set}" = set; then
3388 ac_cv_search_strerror=no
3391 LIBS=$ac_func_search_save_LIBS
3393 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3394 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3395 ac_res=$ac_cv_search_strerror
3396 if test "$ac_res" != no; then
3397 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3402 ac_cpp='$CPP $CPPFLAGS'
3403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3406 if test -n "$ac_tool_prefix"; then
3407 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3408 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3411 if test "${ac_cv_prog_CC+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3414 if test -n "$CC"; then
3415 ac_cv_prog_CC="$CC" # Let the user override the test.
3417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 test -z "$as_dir" && as_dir=.
3422 for ac_exec_ext in '' $ac_executable_extensions; do
3423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3424 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3435 if test -n "$CC"; then
3436 { echo "$as_me:$LINENO: result: $CC" >&5
3437 echo "${ECHO_T}$CC" >&6; }
3439 { echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6; }
3445 if test -z "$ac_cv_prog_CC"; then
3447 # Extract the first word of "gcc", so it can be a program name with args.
3448 set dummy gcc; ac_word=$2
3449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3451 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3452 echo $ECHO_N "(cached) $ECHO_C" >&6
3454 if test -n "$ac_ct_CC"; then
3455 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3461 test -z "$as_dir" && as_dir=.
3462 for ac_exec_ext in '' $ac_executable_extensions; do
3463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3464 ac_cv_prog_ac_ct_CC="gcc"
3465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3474 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3475 if test -n "$ac_ct_CC"; then
3476 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3477 echo "${ECHO_T}$ac_ct_CC" >&6; }
3479 { echo "$as_me:$LINENO: result: no" >&5
3480 echo "${ECHO_T}no" >&6; }
3483 if test "x$ac_ct_CC" = x; then
3486 case $cross_compiling:$ac_tool_warned in
3488 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3489 whose name does not start with the host triplet. If you think this
3490 configuration is useful to you, please write to autoconf@gnu.org." >&5
3491 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3492 whose name does not start with the host triplet. If you think this
3493 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3494 ac_tool_warned=yes ;;
3502 if test -z "$CC"; then
3503 if test -n "$ac_tool_prefix"; then
3504 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3505 set dummy ${ac_tool_prefix}cc; ac_word=$2
3506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3508 if test "${ac_cv_prog_CC+set}" = set; then
3509 echo $ECHO_N "(cached) $ECHO_C" >&6
3511 if test -n "$CC"; then
3512 ac_cv_prog_CC="$CC" # Let the user override the test.
3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3518 test -z "$as_dir" && as_dir=.
3519 for ac_exec_ext in '' $ac_executable_extensions; do
3520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3521 ac_cv_prog_CC="${ac_tool_prefix}cc"
3522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3532 if test -n "$CC"; then
3533 { echo "$as_me:$LINENO: result: $CC" >&5
3534 echo "${ECHO_T}$CC" >&6; }
3536 { echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6; }
3543 if test -z "$CC"; then
3544 # Extract the first word of "cc", so it can be a program name with args.
3545 set dummy cc; ac_word=$2
3546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3548 if test "${ac_cv_prog_CC+set}" = set; then
3549 echo $ECHO_N "(cached) $ECHO_C" >&6
3551 if test -n "$CC"; then
3552 ac_cv_prog_CC="$CC" # Let the user override the test.
3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3559 test -z "$as_dir" && as_dir=.
3560 for ac_exec_ext in '' $ac_executable_extensions; do
3561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3562 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3563 ac_prog_rejected=yes
3567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3574 if test $ac_prog_rejected = yes; then
3575 # We found a bogon in the path, so make sure we never use it.
3576 set dummy $ac_cv_prog_CC
3578 if test $# != 0; then
3579 # We chose a different compiler from the bogus one.
3580 # However, it has the same basename, so the bogon will be chosen
3581 # first if we set CC to just the basename; use the full file name.
3583 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3589 if test -n "$CC"; then
3590 { echo "$as_me:$LINENO: result: $CC" >&5
3591 echo "${ECHO_T}$CC" >&6; }
3593 { echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6; }
3599 if test -z "$CC"; then
3600 if test -n "$ac_tool_prefix"; then
3601 for ac_prog in cl.exe
3603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3604 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3607 if test "${ac_cv_prog_CC+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3610 if test -n "$CC"; then
3611 ac_cv_prog_CC="$CC" # Let the user override the test.
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3620 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3631 if test -n "$CC"; then
3632 { echo "$as_me:$LINENO: result: $CC" >&5
3633 echo "${ECHO_T}$CC" >&6; }
3635 { echo "$as_me:$LINENO: result: no" >&5
3636 echo "${ECHO_T}no" >&6; }
3640 test -n "$CC" && break
3643 if test -z "$CC"; then
3645 for ac_prog in cl.exe
3647 # Extract the first word of "$ac_prog", so it can be a program name with args.
3648 set dummy $ac_prog; ac_word=$2
3649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3652 echo $ECHO_N "(cached) $ECHO_C" >&6
3654 if test -n "$ac_ct_CC"; then
3655 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 test -z "$as_dir" && as_dir=.
3662 for ac_exec_ext in '' $ac_executable_extensions; do
3663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3664 ac_cv_prog_ac_ct_CC="$ac_prog"
3665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3674 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3675 if test -n "$ac_ct_CC"; then
3676 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3677 echo "${ECHO_T}$ac_ct_CC" >&6; }
3679 { echo "$as_me:$LINENO: result: no" >&5
3680 echo "${ECHO_T}no" >&6; }
3684 test -n "$ac_ct_CC" && break
3687 if test "x$ac_ct_CC" = x; then
3690 case $cross_compiling:$ac_tool_warned in
3692 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3693 whose name does not start with the host triplet. If you think this
3694 configuration is useful to you, please write to autoconf@gnu.org." >&5
3695 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3696 whose name does not start with the host triplet. If you think this
3697 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3698 ac_tool_warned=yes ;;
3707 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3708 See \`config.log' for more details." >&5
3709 echo "$as_me: error: no acceptable C compiler found in \$PATH
3710 See \`config.log' for more details." >&2;}
3711 { (exit 1); exit 1; }; }
3713 # Provide some information about the compiler.
3714 echo "$as_me:$LINENO: checking for C compiler version" >&5
3715 ac_compiler=`set X $ac_compile; echo $2`
3716 { (ac_try="$ac_compiler --version >&5"
3718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3719 *) ac_try_echo=$ac_try;;
3721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3722 (eval "$ac_compiler --version >&5") 2>&5
3724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725 (exit $ac_status); }
3726 { (ac_try="$ac_compiler -v >&5"
3728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3729 *) ac_try_echo=$ac_try;;
3731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3732 (eval "$ac_compiler -v >&5") 2>&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); }
3736 { (ac_try="$ac_compiler -V >&5"
3738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3739 *) ac_try_echo=$ac_try;;
3741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3742 (eval "$ac_compiler -V >&5") 2>&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); }
3747 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3748 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3749 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3750 echo $ECHO_N "(cached) $ECHO_C" >&6
3752 cat >conftest.$ac_ext <<_ACEOF
3755 cat confdefs.h >>conftest.$ac_ext
3756 cat >>conftest.$ac_ext <<_ACEOF
3757 /* end confdefs.h. */
3770 rm -f conftest.$ac_objext
3771 if { (ac_try="$ac_compile"
3773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774 *) ac_try_echo=$ac_try;;
3776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3777 (eval "$ac_compile") 2>conftest.er1
3779 grep -v '^ *+' conftest.er1 >conftest.err
3781 cat conftest.err >&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); } && {
3784 test -z "$ac_c_werror_flag" ||
3785 test ! -s conftest.err
3786 } && test -s conftest.$ac_objext; then
3789 echo "$as_me: failed program was:" >&5
3790 sed 's/^/| /' conftest.$ac_ext >&5
3795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3796 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3799 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3800 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3801 GCC=`test $ac_compiler_gnu = yes && echo yes`
3802 ac_test_CFLAGS=${CFLAGS+set}
3803 ac_save_CFLAGS=$CFLAGS
3804 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3805 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3806 if test "${ac_cv_prog_cc_g+set}" = set; then
3807 echo $ECHO_N "(cached) $ECHO_C" >&6
3809 ac_save_c_werror_flag=$ac_c_werror_flag
3810 ac_c_werror_flag=yes
3813 cat >conftest.$ac_ext <<_ACEOF
3816 cat confdefs.h >>conftest.$ac_ext
3817 cat >>conftest.$ac_ext <<_ACEOF
3818 /* end confdefs.h. */
3828 rm -f conftest.$ac_objext
3829 if { (ac_try="$ac_compile"
3831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3832 *) ac_try_echo=$ac_try;;
3834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3835 (eval "$ac_compile") 2>conftest.er1
3837 grep -v '^ *+' conftest.er1 >conftest.err
3839 cat conftest.err >&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841 (exit $ac_status); } && {
3842 test -z "$ac_c_werror_flag" ||
3843 test ! -s conftest.err
3844 } && test -s conftest.$ac_objext; then
3847 echo "$as_me: failed program was:" >&5
3848 sed 's/^/| /' conftest.$ac_ext >&5
3851 cat >conftest.$ac_ext <<_ACEOF
3854 cat confdefs.h >>conftest.$ac_ext
3855 cat >>conftest.$ac_ext <<_ACEOF
3856 /* end confdefs.h. */
3866 rm -f conftest.$ac_objext
3867 if { (ac_try="$ac_compile"
3869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3870 *) ac_try_echo=$ac_try;;
3872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3873 (eval "$ac_compile") 2>conftest.er1
3875 grep -v '^ *+' conftest.er1 >conftest.err
3877 cat conftest.err >&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); } && {
3880 test -z "$ac_c_werror_flag" ||
3881 test ! -s conftest.err
3882 } && test -s conftest.$ac_objext; then
3885 echo "$as_me: failed program was:" >&5
3886 sed 's/^/| /' conftest.$ac_ext >&5
3888 ac_c_werror_flag=$ac_save_c_werror_flag
3890 cat >conftest.$ac_ext <<_ACEOF
3893 cat confdefs.h >>conftest.$ac_ext
3894 cat >>conftest.$ac_ext <<_ACEOF
3895 /* end confdefs.h. */
3905 rm -f conftest.$ac_objext
3906 if { (ac_try="$ac_compile"
3908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3909 *) ac_try_echo=$ac_try;;
3911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3912 (eval "$ac_compile") 2>conftest.er1
3914 grep -v '^ *+' conftest.er1 >conftest.err
3916 cat conftest.err >&5
3917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918 (exit $ac_status); } && {
3919 test -z "$ac_c_werror_flag" ||
3920 test ! -s conftest.err
3921 } && test -s conftest.$ac_objext; then
3924 echo "$as_me: failed program was:" >&5
3925 sed 's/^/| /' conftest.$ac_ext >&5
3930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3937 ac_c_werror_flag=$ac_save_c_werror_flag
3939 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3940 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3941 if test "$ac_test_CFLAGS" = set; then
3942 CFLAGS=$ac_save_CFLAGS
3943 elif test $ac_cv_prog_cc_g = yes; then
3944 if test "$GCC" = yes; then
3950 if test "$GCC" = yes; then
3956 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3957 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3958 if test "${ac_cv_prog_cc_c89+set}" = set; then
3959 echo $ECHO_N "(cached) $ECHO_C" >&6
3961 ac_cv_prog_cc_c89=no
3963 cat >conftest.$ac_ext <<_ACEOF
3966 cat confdefs.h >>conftest.$ac_ext
3967 cat >>conftest.$ac_ext <<_ACEOF
3968 /* end confdefs.h. */
3971 #include <sys/types.h>
3972 #include <sys/stat.h>
3973 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3974 struct buf { int x; };
3975 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3976 static char *e (p, i)
3982 static char *f (char * (*g) (char **, int), char **p, ...)
3987 s = g (p, va_arg (v,int));
3992 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3993 function prototypes and stuff, but not '\xHH' hex character constants.
3994 These don't provoke an error unfortunately, instead are silently treated
3995 as 'x'. The following induces an error, until -std is added to get
3996 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3997 array size at least. It's necessary to write '\x00'==0 to get something
3998 that's true only with -std. */
3999 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4001 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4002 inside strings and character constants. */
4004 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4006 int test (int i, double x);
4007 struct s1 {int (*f) (int a);};
4008 struct s2 {int (*f) (double a);};
4009 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4015 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4020 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4021 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4023 CC="$ac_save_CC $ac_arg"
4024 rm -f conftest.$ac_objext
4025 if { (ac_try="$ac_compile"
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4031 (eval "$ac_compile") 2>conftest.er1
4033 grep -v '^ *+' conftest.er1 >conftest.err
4035 cat conftest.err >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); } && {
4038 test -z "$ac_c_werror_flag" ||
4039 test ! -s conftest.err
4040 } && test -s conftest.$ac_objext; then
4041 ac_cv_prog_cc_c89=$ac_arg
4043 echo "$as_me: failed program was:" >&5
4044 sed 's/^/| /' conftest.$ac_ext >&5
4049 rm -f core conftest.err conftest.$ac_objext
4050 test "x$ac_cv_prog_cc_c89" != "xno" && break
4052 rm -f conftest.$ac_ext
4057 case "x$ac_cv_prog_cc_c89" in
4059 { echo "$as_me:$LINENO: result: none needed" >&5
4060 echo "${ECHO_T}none needed" >&6; } ;;
4062 { echo "$as_me:$LINENO: result: unsupported" >&5
4063 echo "${ECHO_T}unsupported" >&6; } ;;
4065 CC="$CC $ac_cv_prog_cc_c89"
4066 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4067 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4072 ac_cpp='$CPP $CPPFLAGS'
4073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4077 depcc="$CC" am_compiler_list=
4079 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4080 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4081 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4082 echo $ECHO_N "(cached) $ECHO_C" >&6
4084 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4085 # We make a subdir and do the tests there. Otherwise we can end up
4086 # making bogus files that we don't know about and never remove. For
4087 # instance it was reported that on HP-UX the gcc test will end up
4088 # making a dummy file named `D' -- because `-MD' means `put the output
4091 # Copy depcomp to subdir because otherwise we won't find it if we're
4092 # using a relative directory.
4093 cp "$am_depcomp" conftest.dir
4095 # We will build objects and dependencies in a subdirectory because
4096 # it helps to detect inapplicable dependency modes. For instance
4097 # both Tru64's cc and ICC support -MD to output dependencies as a
4098 # side effect of compilation, but ICC will put the dependencies in
4099 # the current directory while Tru64 will put them in the object
4103 am_cv_CC_dependencies_compiler_type=none
4104 if test "$am_compiler_list" = ""; then
4105 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4107 for depmode in $am_compiler_list; do
4108 # Setup a source with many dependencies, because some compilers
4109 # like to wrap large dependency lists on column 80 (with \), and
4110 # we should not choose a depcomp mode which is confused by this.
4112 # We need to recreate these files for each test, as the compiler may
4113 # overwrite some of them when testing with obscure command lines.
4114 # This happens at least with the AIX C compiler.
4116 for i in 1 2 3 4 5 6; do
4117 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4120 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4124 # after this tag, mechanisms are not by side-effect, so they'll
4125 # only be used when explicitly requested
4126 if test "x$enable_dependency_tracking" = xyes; then
4134 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4135 # mode. It turns out that the SunPro C++ compiler does not properly
4136 # handle `-M -o', and we need to detect this.
4137 if depmode=$depmode \
4138 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4139 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4140 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4141 >/dev/null 2>conftest.err &&
4142 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4143 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4144 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4145 # icc doesn't choke on unknown options, it will just issue warnings
4146 # (even with -Werror). So we grep stderr for any message
4147 # that says an option was ignored.
4148 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4149 am_cv_CC_dependencies_compiler_type=$depmode
4158 am_cv_CC_dependencies_compiler_type=none
4162 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4163 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4164 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4169 test "x$enable_dependency_tracking" != xno \
4170 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4172 am__fastdepCC_FALSE='#'
4174 am__fastdepCC_TRUE='#'
4175 am__fastdepCC_FALSE=
4182 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
4183 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
4184 if test "${am_cv_prog_cc_stdc+set}" = set; then
4185 echo $ECHO_N "(cached) $ECHO_C" >&6
4187 am_cv_prog_cc_stdc=no
4189 # Don't try gcc -ansi; that turns off useful extensions and
4190 # breaks some systems' header files.
4191 # AIX -qlanglvl=ansi
4192 # Ultrix and OSF/1 -std1
4193 # HP-UX 10.20 and later -Ae
4194 # HP-UX older versions -Aa -D_HPUX_SOURCE
4195 # SVR4 -Xc -D__EXTENSIONS__
4196 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4198 CC="$ac_save_CC $ac_arg"
4199 cat >conftest.$ac_ext <<_ACEOF
4202 cat confdefs.h >>conftest.$ac_ext
4203 cat >>conftest.$ac_ext <<_ACEOF
4204 /* end confdefs.h. */
4207 #include <sys/types.h>
4208 #include <sys/stat.h>
4209 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4210 struct buf { int x; };
4211 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4212 static char *e (p, i)
4218 static char *f (char * (*g) (char **, int), char **p, ...)
4223 s = g (p, va_arg (v,int));
4227 int test (int i, double x);
4228 struct s1 {int (*f) (int a);};
4229 struct s2 {int (*f) (double a);};
4230 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4238 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4244 rm -f conftest.$ac_objext
4245 if { (ac_try="$ac_compile"
4247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4248 *) ac_try_echo=$ac_try;;
4250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4251 (eval "$ac_compile") 2>conftest.er1
4253 grep -v '^ *+' conftest.er1 >conftest.err
4255 cat conftest.err >&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); } && {
4258 test -z "$ac_c_werror_flag" ||
4259 test ! -s conftest.err
4260 } && test -s conftest.$ac_objext; then
4261 am_cv_prog_cc_stdc="$ac_arg"; break
4263 echo "$as_me: failed program was:" >&5
4264 sed 's/^/| /' conftest.$ac_ext >&5
4269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4275 if test -z "$am_cv_prog_cc_stdc"; then
4276 { echo "$as_me:$LINENO: result: none needed" >&5
4277 echo "${ECHO_T}none needed" >&6; }
4279 { echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
4280 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6; }
4282 case "x$am_cv_prog_cc_stdc" in
4284 *) CC="$CC $am_cv_prog_cc_stdc" ;;
4288 ac_cpp='$CPP $CPPFLAGS'
4289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4292 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4293 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4294 # On Suns, sometimes $CPP names a directory.
4295 if test -n "$CPP" && test -d "$CPP"; then
4298 if test -z "$CPP"; then
4299 if test "${ac_cv_prog_CPP+set}" = set; then
4300 echo $ECHO_N "(cached) $ECHO_C" >&6
4302 # Double quotes because CPP needs to be expanded
4303 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4306 for ac_c_preproc_warn_flag in '' yes
4308 # Use a header file that comes with gcc, so configuring glibc
4309 # with a fresh cross-compiler works.
4310 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4311 # <limits.h> exists even on freestanding compilers.
4312 # On the NeXT, cc -E runs the code through the compiler's parser,
4313 # not just through cpp. "Syntax error" is here to catch this case.
4314 cat >conftest.$ac_ext <<_ACEOF
4317 cat confdefs.h >>conftest.$ac_ext
4318 cat >>conftest.$ac_ext <<_ACEOF
4319 /* end confdefs.h. */
4321 # include <limits.h>
4323 # include <assert.h>
4327 if { (ac_try="$ac_cpp conftest.$ac_ext"
4329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4330 *) ac_try_echo=$ac_try;;
4332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4333 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4335 grep -v '^ *+' conftest.er1 >conftest.err
4337 cat conftest.err >&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); } >/dev/null && {
4340 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4341 test ! -s conftest.err
4345 echo "$as_me: failed program was:" >&5
4346 sed 's/^/| /' conftest.$ac_ext >&5
4348 # Broken: fails on valid input.
4352 rm -f conftest.err conftest.$ac_ext
4354 # OK, works on sane cases. Now check whether nonexistent headers
4355 # can be detected and how.
4356 cat >conftest.$ac_ext <<_ACEOF
4359 cat confdefs.h >>conftest.$ac_ext
4360 cat >>conftest.$ac_ext <<_ACEOF
4361 /* end confdefs.h. */
4362 #include <ac_nonexistent.h>
4364 if { (ac_try="$ac_cpp conftest.$ac_ext"
4366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4367 *) ac_try_echo=$ac_try;;
4369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4370 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4372 grep -v '^ *+' conftest.er1 >conftest.err
4374 cat conftest.err >&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); } >/dev/null && {
4377 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4378 test ! -s conftest.err
4380 # Broken: success on invalid input.
4383 echo "$as_me: failed program was:" >&5
4384 sed 's/^/| /' conftest.$ac_ext >&5
4386 # Passes both tests.
4391 rm -f conftest.err conftest.$ac_ext
4394 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4395 rm -f conftest.err conftest.$ac_ext
4396 if $ac_preproc_ok; then
4408 { echo "$as_me:$LINENO: result: $CPP" >&5
4409 echo "${ECHO_T}$CPP" >&6; }
4411 for ac_c_preproc_warn_flag in '' yes
4413 # Use a header file that comes with gcc, so configuring glibc
4414 # with a fresh cross-compiler works.
4415 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4416 # <limits.h> exists even on freestanding compilers.
4417 # On the NeXT, cc -E runs the code through the compiler's parser,
4418 # not just through cpp. "Syntax error" is here to catch this case.
4419 cat >conftest.$ac_ext <<_ACEOF
4422 cat confdefs.h >>conftest.$ac_ext
4423 cat >>conftest.$ac_ext <<_ACEOF
4424 /* end confdefs.h. */
4426 # include <limits.h>
4428 # include <assert.h>
4432 if { (ac_try="$ac_cpp conftest.$ac_ext"
4434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4435 *) ac_try_echo=$ac_try;;
4437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4438 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4440 grep -v '^ *+' conftest.er1 >conftest.err
4442 cat conftest.err >&5
4443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4444 (exit $ac_status); } >/dev/null && {
4445 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4446 test ! -s conftest.err
4450 echo "$as_me: failed program was:" >&5
4451 sed 's/^/| /' conftest.$ac_ext >&5
4453 # Broken: fails on valid input.
4457 rm -f conftest.err conftest.$ac_ext
4459 # OK, works on sane cases. Now check whether nonexistent headers
4460 # can be detected and how.
4461 cat >conftest.$ac_ext <<_ACEOF
4464 cat confdefs.h >>conftest.$ac_ext
4465 cat >>conftest.$ac_ext <<_ACEOF
4466 /* end confdefs.h. */
4467 #include <ac_nonexistent.h>
4469 if { (ac_try="$ac_cpp conftest.$ac_ext"
4471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4472 *) ac_try_echo=$ac_try;;
4474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4475 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4477 grep -v '^ *+' conftest.er1 >conftest.err
4479 cat conftest.err >&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); } >/dev/null && {
4482 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4483 test ! -s conftest.err
4485 # Broken: success on invalid input.
4488 echo "$as_me: failed program was:" >&5
4489 sed 's/^/| /' conftest.$ac_ext >&5
4491 # Passes both tests.
4496 rm -f conftest.err conftest.$ac_ext
4499 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4500 rm -f conftest.err conftest.$ac_ext
4501 if $ac_preproc_ok; then
4504 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4505 See \`config.log' for more details." >&5
4506 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4507 See \`config.log' for more details." >&2;}
4508 { (exit 1); exit 1; }; }
4512 ac_cpp='$CPP $CPPFLAGS'
4513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4518 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4519 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4520 if test "${ac_cv_path_GREP+set}" = set; then
4521 echo $ECHO_N "(cached) $ECHO_C" >&6
4523 # Extract the first word of "grep ggrep" to use in msg output
4524 if test -z "$GREP"; then
4525 set dummy grep ggrep; ac_prog_name=$2
4526 if test "${ac_cv_path_GREP+set}" = set; then
4527 echo $ECHO_N "(cached) $ECHO_C" >&6
4529 ac_path_GREP_found=false
4530 # Loop through the user's path and test for each of PROGNAME-LIST
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4535 test -z "$as_dir" && as_dir=.
4536 for ac_prog in grep ggrep; do
4537 for ac_exec_ext in '' $ac_executable_extensions; do
4538 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4539 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4540 # Check for GNU ac_path_GREP and select it if it is found.
4541 # Check for GNU $ac_path_GREP
4542 case `"$ac_path_GREP" --version 2>&1` in
4544 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4547 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4550 cat "conftest.in" "conftest.in" >"conftest.tmp"
4551 mv "conftest.tmp" "conftest.in"
4552 cp "conftest.in" "conftest.nl"
4553 echo 'GREP' >> "conftest.nl"
4554 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4555 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4556 ac_count=`expr $ac_count + 1`
4557 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4558 # Best one so far, save it but keep looking for a better one
4559 ac_cv_path_GREP="$ac_path_GREP"
4560 ac_path_GREP_max=$ac_count
4562 # 10*(2^10) chars as input seems more than enough
4563 test $ac_count -gt 10 && break
4565 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4569 $ac_path_GREP_found && break 3
4579 GREP="$ac_cv_path_GREP"
4580 if test -z "$GREP"; then
4581 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4582 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4583 { (exit 1); exit 1; }; }
4587 ac_cv_path_GREP=$GREP
4592 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4593 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4594 GREP="$ac_cv_path_GREP"
4597 { echo "$as_me:$LINENO: checking for egrep" >&5
4598 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4599 if test "${ac_cv_path_EGREP+set}" = set; then
4600 echo $ECHO_N "(cached) $ECHO_C" >&6
4602 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4603 then ac_cv_path_EGREP="$GREP -E"
4605 # Extract the first word of "egrep" to use in msg output
4606 if test -z "$EGREP"; then
4607 set dummy egrep; ac_prog_name=$2
4608 if test "${ac_cv_path_EGREP+set}" = set; then
4609 echo $ECHO_N "(cached) $ECHO_C" >&6
4611 ac_path_EGREP_found=false
4612 # Loop through the user's path and test for each of PROGNAME-LIST
4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4614 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4617 test -z "$as_dir" && as_dir=.
4618 for ac_prog in egrep; do
4619 for ac_exec_ext in '' $ac_executable_extensions; do
4620 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4621 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4622 # Check for GNU ac_path_EGREP and select it if it is found.
4623 # Check for GNU $ac_path_EGREP
4624 case `"$ac_path_EGREP" --version 2>&1` in
4626 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4629 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4632 cat "conftest.in" "conftest.in" >"conftest.tmp"
4633 mv "conftest.tmp" "conftest.in"
4634 cp "conftest.in" "conftest.nl"
4635 echo 'EGREP' >> "conftest.nl"
4636 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4637 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4638 ac_count=`expr $ac_count + 1`
4639 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4640 # Best one so far, save it but keep looking for a better one
4641 ac_cv_path_EGREP="$ac_path_EGREP"
4642 ac_path_EGREP_max=$ac_count
4644 # 10*(2^10) chars as input seems more than enough
4645 test $ac_count -gt 10 && break
4647 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4651 $ac_path_EGREP_found && break 3
4661 EGREP="$ac_cv_path_EGREP"
4662 if test -z "$EGREP"; then
4663 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4664 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4665 { (exit 1); exit 1; }; }
4669 ac_cv_path_EGREP=$EGREP
4675 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4676 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4677 EGREP="$ac_cv_path_EGREP"
4680 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4681 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4682 if test "${ac_cv_header_stdc+set}" = set; then
4683 echo $ECHO_N "(cached) $ECHO_C" >&6
4685 cat >conftest.$ac_ext <<_ACEOF
4688 cat confdefs.h >>conftest.$ac_ext
4689 cat >>conftest.$ac_ext <<_ACEOF
4690 /* end confdefs.h. */
4704 rm -f conftest.$ac_objext
4705 if { (ac_try="$ac_compile"
4707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4708 *) ac_try_echo=$ac_try;;
4710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4711 (eval "$ac_compile") 2>conftest.er1
4713 grep -v '^ *+' conftest.er1 >conftest.err
4715 cat conftest.err >&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); } && {
4718 test -z "$ac_c_werror_flag" ||
4719 test ! -s conftest.err
4720 } && test -s conftest.$ac_objext; then
4721 ac_cv_header_stdc=yes
4723 echo "$as_me: failed program was:" >&5
4724 sed 's/^/| /' conftest.$ac_ext >&5
4726 ac_cv_header_stdc=no
4729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4731 if test $ac_cv_header_stdc = yes; then
4732 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4733 cat >conftest.$ac_ext <<_ACEOF
4736 cat confdefs.h >>conftest.$ac_ext
4737 cat >>conftest.$ac_ext <<_ACEOF
4738 /* end confdefs.h. */
4742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4743 $EGREP "memchr" >/dev/null 2>&1; then
4746 ac_cv_header_stdc=no
4752 if test $ac_cv_header_stdc = yes; then
4753 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4754 cat >conftest.$ac_ext <<_ACEOF
4757 cat confdefs.h >>conftest.$ac_ext
4758 cat >>conftest.$ac_ext <<_ACEOF
4759 /* end confdefs.h. */
4763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4764 $EGREP "free" >/dev/null 2>&1; then
4767 ac_cv_header_stdc=no
4773 if test $ac_cv_header_stdc = yes; then
4774 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4775 if test "$cross_compiling" = yes; then
4778 cat >conftest.$ac_ext <<_ACEOF
4781 cat confdefs.h >>conftest.$ac_ext
4782 cat >>conftest.$ac_ext <<_ACEOF
4783 /* end confdefs.h. */
4786 #if ((' ' & 0x0FF) == 0x020)
4787 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4788 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4790 # define ISLOWER(c) \
4791 (('a' <= (c) && (c) <= 'i') \
4792 || ('j' <= (c) && (c) <= 'r') \
4793 || ('s' <= (c) && (c) <= 'z'))
4794 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4797 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4802 for (i = 0; i < 256; i++)
4803 if (XOR (islower (i), ISLOWER (i))
4804 || toupper (i) != TOUPPER (i))
4809 rm -f conftest$ac_exeext
4810 if { (ac_try="$ac_link"
4812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4813 *) ac_try_echo=$ac_try;;
4815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4816 (eval "$ac_link") 2>&5
4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4820 { (case "(($ac_try" in
4821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4822 *) ac_try_echo=$ac_try;;
4824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4825 (eval "$ac_try") 2>&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); }; }; then
4831 echo "$as_me: program exited with status $ac_status" >&5
4832 echo "$as_me: failed program was:" >&5
4833 sed 's/^/| /' conftest.$ac_ext >&5
4836 ac_cv_header_stdc=no
4838 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4844 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4845 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4846 if test $ac_cv_header_stdc = yes; then
4848 cat >>confdefs.h <<\_ACEOF
4849 #define STDC_HEADERS 1
4854 # Make sure we can run config.sub.
4855 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4856 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4857 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4858 { (exit 1); exit 1; }; }
4860 { echo "$as_me:$LINENO: checking build system type" >&5
4861 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4862 if test "${ac_cv_build+set}" = set; then
4863 echo $ECHO_N "(cached) $ECHO_C" >&6
4865 ac_build_alias=$build_alias
4866 test "x$ac_build_alias" = x &&
4867 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4868 test "x$ac_build_alias" = x &&
4869 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4870 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4871 { (exit 1); exit 1; }; }
4872 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4873 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4874 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4875 { (exit 1); exit 1; }; }
4878 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4879 echo "${ECHO_T}$ac_cv_build" >&6; }
4880 case $ac_cv_build in
4882 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4883 echo "$as_me: error: invalid value of canonical build" >&2;}
4884 { (exit 1); exit 1; }; };;
4887 ac_save_IFS=$IFS; IFS='-'
4893 # Remember, the first character of IFS is used to create $*,
4894 # except with old shells:
4897 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4900 { echo "$as_me:$LINENO: checking host system type" >&5
4901 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4902 if test "${ac_cv_host+set}" = set; then
4903 echo $ECHO_N "(cached) $ECHO_C" >&6
4905 if test "x$host_alias" = x; then
4906 ac_cv_host=$ac_cv_build
4908 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4909 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4910 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4911 { (exit 1); exit 1; }; }
4915 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4916 echo "${ECHO_T}$ac_cv_host" >&6; }
4919 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4920 echo "$as_me: error: invalid value of canonical host" >&2;}
4921 { (exit 1); exit 1; }; };;
4924 ac_save_IFS=$IFS; IFS='-'
4930 # Remember, the first character of IFS is used to create $*,
4931 # except with old shells:
4934 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4940 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4941 if test -n "$ac_tool_prefix"; then
4942 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4943 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4946 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4947 echo $ECHO_N "(cached) $ECHO_C" >&6
4951 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958 test -z "$as_dir" && as_dir=.
4959 for ac_exec_ext in '' $ac_executable_extensions; do
4960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4961 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4972 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4973 if test -n "$PKG_CONFIG"; then
4974 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4975 echo "${ECHO_T}$PKG_CONFIG" >&6; }
4977 { echo "$as_me:$LINENO: result: no" >&5
4978 echo "${ECHO_T}no" >&6; }
4983 if test -z "$ac_cv_path_PKG_CONFIG"; then
4984 ac_pt_PKG_CONFIG=$PKG_CONFIG
4985 # Extract the first word of "pkg-config", so it can be a program name with args.
4986 set dummy pkg-config; ac_word=$2
4987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4989 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4990 echo $ECHO_N "(cached) $ECHO_C" >&6
4992 case $ac_pt_PKG_CONFIG in
4994 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5001 test -z "$as_dir" && as_dir=.
5002 for ac_exec_ext in '' $ac_executable_extensions; do
5003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5004 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5016 if test -n "$ac_pt_PKG_CONFIG"; then
5017 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5018 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
5020 { echo "$as_me:$LINENO: result: no" >&5
5021 echo "${ECHO_T}no" >&6; }
5024 if test "x$ac_pt_PKG_CONFIG" = x; then
5027 case $cross_compiling:$ac_tool_warned in
5029 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5030 whose name does not start with the host triplet. If you think this
5031 configuration is useful to you, please write to autoconf@gnu.org." >&5
5032 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5033 whose name does not start with the host triplet. If you think this
5034 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5035 ac_tool_warned=yes ;;
5037 PKG_CONFIG=$ac_pt_PKG_CONFIG
5040 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5044 if test -n "$PKG_CONFIG"; then
5045 _pkg_min_version=0.9.0
5046 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5047 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
5048 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5049 { echo "$as_me:$LINENO: result: yes" >&5
5050 echo "${ECHO_T}yes" >&6; }
5052 { echo "$as_me:$LINENO: result: no" >&5
5053 echo "${ECHO_T}no" >&6; }
5060 { echo "$as_me:$LINENO: checking for PACKAGE" >&5
5061 echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&6; }
5063 if test -n "$PKG_CONFIG"; then
5064 if test -n "$PACKAGE_CFLAGS"; then
5065 pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
5067 if test -n "$PKG_CONFIG" && \
5068 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" gtk+-2.0 libpng \"") >&5
5069 ($PKG_CONFIG --exists --print-errors " gtk+-2.0 libpng ") 2>&5
5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072 (exit $ac_status); }; then
5073 pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags " gtk+-2.0 libpng " 2>/dev/null`
5081 if test -n "$PKG_CONFIG"; then
5082 if test -n "$PACKAGE_LIBS"; then
5083 pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
5085 if test -n "$PKG_CONFIG" && \
5086 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" gtk+-2.0 libpng \"") >&5
5087 ($PKG_CONFIG --exists --print-errors " gtk+-2.0 libpng ") 2>&5
5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5090 (exit $ac_status); }; then
5091 pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs " gtk+-2.0 libpng " 2>/dev/null`
5102 if test $pkg_failed = yes; then
5104 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5105 _pkg_short_errors_supported=yes
5107 _pkg_short_errors_supported=no
5109 if test $_pkg_short_errors_supported = yes; then
5110 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " gtk+-2.0 libpng "`
5112 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " gtk+-2.0 libpng "`
5114 # Put the nasty error message in config.log where it belongs
5115 echo "$PACKAGE_PKG_ERRORS" >&5
5117 { { echo "$as_me:$LINENO: error: Package requirements ( gtk+-2.0 libpng ) were not met:
5121 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5122 installed software in a non-standard prefix.
5124 Alternatively, you may set the environment variables PACKAGE_CFLAGS
5125 and PACKAGE_LIBS to avoid the need to call pkg-config.
5126 See the pkg-config man page for more details.
5128 echo "$as_me: error: Package requirements ( gtk+-2.0 libpng ) were not met:
5132 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5133 installed software in a non-standard prefix.
5135 Alternatively, you may set the environment variables PACKAGE_CFLAGS
5136 and PACKAGE_LIBS to avoid the need to call pkg-config.
5137 See the pkg-config man page for more details.
5139 { (exit 1); exit 1; }; }
5140 elif test $pkg_failed = untried; then
5141 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5142 is in your PATH or set the PKG_CONFIG environment variable to the full
5145 Alternatively, you may set the environment variables PACKAGE_CFLAGS
5146 and PACKAGE_LIBS to avoid the need to call pkg-config.
5147 See the pkg-config man page for more details.
5149 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5150 See \`config.log' for more details." >&5
5151 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5152 is in your PATH or set the PKG_CONFIG environment variable to the full
5155 Alternatively, you may set the environment variables PACKAGE_CFLAGS
5156 and PACKAGE_LIBS to avoid the need to call pkg-config.
5157 See the pkg-config man page for more details.
5159 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5160 See \`config.log' for more details." >&2;}
5161 { (exit 1); exit 1; }; }
5163 PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
5164 PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
5165 { echo "$as_me:$LINENO: result: yes" >&5
5166 echo "${ECHO_T}yes" >&6; }
5171 { echo "$as_me:$LINENO: checking for ESOUND" >&5
5172 echo $ECHO_N "checking for ESOUND... $ECHO_C" >&6; }
5174 if test -n "$PKG_CONFIG"; then
5175 if test -n "$ESOUND_CFLAGS"; then
5176 pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
5178 if test -n "$PKG_CONFIG" && \
5179 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
5180 ($PKG_CONFIG --exists --print-errors "esound") 2>&5
5182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183 (exit $ac_status); }; then
5184 pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
5192 if test -n "$PKG_CONFIG"; then
5193 if test -n "$ESOUND_LIBS"; then
5194 pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
5196 if test -n "$PKG_CONFIG" && \
5197 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
5198 ($PKG_CONFIG --exists --print-errors "esound") 2>&5
5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201 (exit $ac_status); }; then
5202 pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
5213 if test $pkg_failed = yes; then
5215 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5216 _pkg_short_errors_supported=yes
5218 _pkg_short_errors_supported=no
5220 if test $_pkg_short_errors_supported = yes; then
5221 ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "esound"`
5223 ESOUND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "esound"`
5225 # Put the nasty error message in config.log where it belongs
5226 echo "$ESOUND_PKG_ERRORS" >&5
5228 echo "Warning: esound not found - building without audio support"
5229 elif test $pkg_failed = untried; then
5230 echo "Warning: esound not found - building without audio support"
5232 ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
5233 ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
5234 { echo "$as_me:$LINENO: result: yes" >&5
5235 echo "${ECHO_T}yes" >&6; }
5239 cat >>confdefs.h <<\_ACEOF
5240 #define HAVE_ESOUND 1
5246 if test "$HAVE_ESOUND" = 'yes' ; then
5248 AUDIO_ESOUND_FALSE='#'
5250 AUDIO_ESOUND_TRUE='#'
5256 { echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
5257 echo $ECHO_N "checking for uncompress in -lz... $ECHO_C" >&6; }
5258 if test "${ac_cv_lib_z_uncompress+set}" = set; then
5259 echo $ECHO_N "(cached) $ECHO_C" >&6
5261 ac_check_lib_save_LIBS=$LIBS
5263 cat >conftest.$ac_ext <<_ACEOF
5266 cat confdefs.h >>conftest.$ac_ext
5267 cat >>conftest.$ac_ext <<_ACEOF
5268 /* end confdefs.h. */
5270 /* Override any GCC internal prototype to avoid an error.
5271 Use char because int might match the return type of a GCC
5272 builtin and then its argument prototype would still apply. */
5280 return uncompress ();
5285 rm -f conftest.$ac_objext conftest$ac_exeext
5286 if { (ac_try="$ac_link"
5288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5289 *) ac_try_echo=$ac_try;;
5291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5292 (eval "$ac_link") 2>conftest.er1
5294 grep -v '^ *+' conftest.er1 >conftest.err
5296 cat conftest.err >&5
5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5298 (exit $ac_status); } && {
5299 test -z "$ac_c_werror_flag" ||
5300 test ! -s conftest.err
5301 } && test -s conftest$ac_exeext &&
5302 $as_test_x conftest$ac_exeext; then
5303 ac_cv_lib_z_uncompress=yes
5305 echo "$as_me: failed program was:" >&5
5306 sed 's/^/| /' conftest.$ac_ext >&5
5308 ac_cv_lib_z_uncompress=no
5311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5312 conftest$ac_exeext conftest.$ac_ext
5313 LIBS=$ac_check_lib_save_LIBS
5315 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
5316 echo "${ECHO_T}$ac_cv_lib_z_uncompress" >&6; }
5317 if test $ac_cv_lib_z_uncompress = yes; then
5318 cat >>confdefs.h <<_ACEOF
5326 echo "Zlib (libz.so) could not be found, but is required."
5331 { echo "$as_me:$LINENO: checking for glXQueryVersion in -lGL" >&5
5332 echo $ECHO_N "checking for glXQueryVersion in -lGL... $ECHO_C" >&6; }
5333 if test "${ac_cv_lib_GL_glXQueryVersion+set}" = set; then
5334 echo $ECHO_N "(cached) $ECHO_C" >&6
5336 ac_check_lib_save_LIBS=$LIBS
5338 cat >conftest.$ac_ext <<_ACEOF
5341 cat confdefs.h >>conftest.$ac_ext
5342 cat >>conftest.$ac_ext <<_ACEOF
5343 /* end confdefs.h. */
5345 /* Override any GCC internal prototype to avoid an error.
5346 Use char because int might match the return type of a GCC
5347 builtin and then its argument prototype would still apply. */
5351 char glXQueryVersion ();
5355 return glXQueryVersion ();
5360 rm -f conftest.$ac_objext conftest$ac_exeext
5361 if { (ac_try="$ac_link"
5363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5364 *) ac_try_echo=$ac_try;;
5366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5367 (eval "$ac_link") 2>conftest.er1
5369 grep -v '^ *+' conftest.er1 >conftest.err
5371 cat conftest.err >&5
5372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373 (exit $ac_status); } && {
5374 test -z "$ac_c_werror_flag" ||
5375 test ! -s conftest.err
5376 } && test -s conftest$ac_exeext &&
5377 $as_test_x conftest$ac_exeext; then
5378 ac_cv_lib_GL_glXQueryVersion=yes
5380 echo "$as_me: failed program was:" >&5
5381 sed 's/^/| /' conftest.$ac_ext >&5
5383 ac_cv_lib_GL_glXQueryVersion=no
5386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5387 conftest$ac_exeext conftest.$ac_ext
5388 LIBS=$ac_check_lib_save_LIBS
5390 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXQueryVersion" >&5
5391 echo "${ECHO_T}$ac_cv_lib_GL_glXQueryVersion" >&6; }
5392 if test $ac_cv_lib_GL_glXQueryVersion = yes; then
5393 cat >>confdefs.h <<_ACEOF
5394 #define HAVE_LIBGL 1
5401 echo "The OpenGL library (libGL.so) could not be found, but is required."
5405 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5415 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5416 inttypes.h stdint.h unistd.h
5418 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5419 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5421 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5422 echo $ECHO_N "(cached) $ECHO_C" >&6
5424 cat >conftest.$ac_ext <<_ACEOF
5427 cat confdefs.h >>conftest.$ac_ext
5428 cat >>conftest.$ac_ext <<_ACEOF
5429 /* end confdefs.h. */
5430 $ac_includes_default
5432 #include <$ac_header>
5434 rm -f conftest.$ac_objext
5435 if { (ac_try="$ac_compile"
5437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5438 *) ac_try_echo=$ac_try;;
5440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5441 (eval "$ac_compile") 2>conftest.er1
5443 grep -v '^ *+' conftest.er1 >conftest.err
5445 cat conftest.err >&5
5446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5447 (exit $ac_status); } && {
5448 test -z "$ac_c_werror_flag" ||
5449 test ! -s conftest.err
5450 } && test -s conftest.$ac_objext; then
5451 eval "$as_ac_Header=yes"
5453 echo "$as_me: failed program was:" >&5
5454 sed 's/^/| /' conftest.$ac_ext >&5
5456 eval "$as_ac_Header=no"
5459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5461 ac_res=`eval echo '${'$as_ac_Header'}'`
5462 { echo "$as_me:$LINENO: result: $ac_res" >&5
5463 echo "${ECHO_T}$ac_res" >&6; }
5464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5465 cat >>confdefs.h <<_ACEOF
5466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5474 if test "${ac_cv_header_GL_gl_h+set}" = set; then
5475 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
5476 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
5477 if test "${ac_cv_header_GL_gl_h+set}" = set; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
5481 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
5483 # Is the header compilable?
5484 { echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
5485 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6; }
5486 cat >conftest.$ac_ext <<_ACEOF
5489 cat confdefs.h >>conftest.$ac_ext
5490 cat >>conftest.$ac_ext <<_ACEOF
5491 /* end confdefs.h. */
5492 $ac_includes_default
5495 rm -f conftest.$ac_objext
5496 if { (ac_try="$ac_compile"
5498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5499 *) ac_try_echo=$ac_try;;
5501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5502 (eval "$ac_compile") 2>conftest.er1
5504 grep -v '^ *+' conftest.er1 >conftest.err
5506 cat conftest.err >&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); } && {
5509 test -z "$ac_c_werror_flag" ||
5510 test ! -s conftest.err
5511 } && test -s conftest.$ac_objext; then
5512 ac_header_compiler=yes
5514 echo "$as_me: failed program was:" >&5
5515 sed 's/^/| /' conftest.$ac_ext >&5
5517 ac_header_compiler=no
5520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5521 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5522 echo "${ECHO_T}$ac_header_compiler" >&6; }
5524 # Is the header present?
5525 { echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
5526 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6; }
5527 cat >conftest.$ac_ext <<_ACEOF
5530 cat confdefs.h >>conftest.$ac_ext
5531 cat >>conftest.$ac_ext <<_ACEOF
5532 /* end confdefs.h. */
5535 if { (ac_try="$ac_cpp conftest.$ac_ext"
5537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5538 *) ac_try_echo=$ac_try;;
5540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5541 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5543 grep -v '^ *+' conftest.er1 >conftest.err
5545 cat conftest.err >&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); } >/dev/null && {
5548 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5549 test ! -s conftest.err
5551 ac_header_preproc=yes
5553 echo "$as_me: failed program was:" >&5
5554 sed 's/^/| /' conftest.$ac_ext >&5
5556 ac_header_preproc=no
5559 rm -f conftest.err conftest.$ac_ext
5560 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5561 echo "${ECHO_T}$ac_header_preproc" >&6; }
5563 # So? What about this header?
5564 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5566 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5567 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5568 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
5569 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
5570 ac_header_preproc=yes
5573 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
5574 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
5575 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
5576 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
5577 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
5578 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
5579 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
5580 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
5581 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
5582 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
5583 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
5584 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
5588 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
5589 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
5590 if test "${ac_cv_header_GL_gl_h+set}" = set; then
5591 echo $ECHO_N "(cached) $ECHO_C" >&6
5593 ac_cv_header_GL_gl_h=$ac_header_preproc
5595 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
5596 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
5599 if test $ac_cv_header_GL_gl_h = yes; then
5603 echo "The OpenGL header files (eg GL/gl.h) could not be found, but are required."
5610 i386|i486|i586|i686)
5611 SH4_TRANSLATOR="x86"
5613 cat >>confdefs.h <<_ACEOF
5614 #define SH4_TRANSLATOR TARGET_X86
5618 SH4_TRANSLATOR="x86_64"
5620 cat >>confdefs.h <<_ACEOF
5621 #define SH4_TRANSLATOR TARGET_X86_64
5625 echo "Warning: No translator available for $host. Building emulation core only";;
5629 if test "$SH4_TRANSLATOR" = "x86" -o "$SH4_TRANSLATOR" = "x86_64"; then
5631 BUILD_SH4X86_FALSE='#'
5633 BUILD_SH4X86_TRUE='#'
5638 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
5639 { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
5640 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
5641 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
5642 echo $ECHO_N "(cached) $ECHO_C" >&6
5644 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
5645 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
5647 # Is the header compilable?
5648 { echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
5649 echo $ECHO_N "checking linux/cdrom.h usability... $ECHO_C" >&6; }
5650 cat >conftest.$ac_ext <<_ACEOF
5653 cat confdefs.h >>conftest.$ac_ext
5654 cat >>conftest.$ac_ext <<_ACEOF
5655 /* end confdefs.h. */
5656 $ac_includes_default
5657 #include <linux/cdrom.h>
5659 rm -f conftest.$ac_objext
5660 if { (ac_try="$ac_compile"
5662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5663 *) ac_try_echo=$ac_try;;
5665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5666 (eval "$ac_compile") 2>conftest.er1
5668 grep -v '^ *+' conftest.er1 >conftest.err
5670 cat conftest.err >&5
5671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5672 (exit $ac_status); } && {
5673 test -z "$ac_c_werror_flag" ||
5674 test ! -s conftest.err
5675 } && test -s conftest.$ac_objext; then
5676 ac_header_compiler=yes
5678 echo "$as_me: failed program was:" >&5
5679 sed 's/^/| /' conftest.$ac_ext >&5
5681 ac_header_compiler=no
5684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5685 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5686 echo "${ECHO_T}$ac_header_compiler" >&6; }
5688 # Is the header present?
5689 { echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
5690 echo $ECHO_N "checking linux/cdrom.h presence... $ECHO_C" >&6; }
5691 cat >conftest.$ac_ext <<_ACEOF
5694 cat confdefs.h >>conftest.$ac_ext
5695 cat >>conftest.$ac_ext <<_ACEOF
5696 /* end confdefs.h. */
5697 #include <linux/cdrom.h>
5699 if { (ac_try="$ac_cpp conftest.$ac_ext"
5701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5702 *) ac_try_echo=$ac_try;;
5704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5707 grep -v '^ *+' conftest.er1 >conftest.err
5709 cat conftest.err >&5
5710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711 (exit $ac_status); } >/dev/null && {
5712 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5713 test ! -s conftest.err
5715 ac_header_preproc=yes
5717 echo "$as_me: failed program was:" >&5
5718 sed 's/^/| /' conftest.$ac_ext >&5
5720 ac_header_preproc=no
5723 rm -f conftest.err conftest.$ac_ext
5724 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5725 echo "${ECHO_T}$ac_header_preproc" >&6; }
5727 # So? What about this header?
5728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5730 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
5731 echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5732 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
5733 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
5734 ac_header_preproc=yes
5737 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
5738 echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
5739 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: check for missing prerequisite headers?" >&5
5740 echo "$as_me: WARNING: linux/cdrom.h: check for missing prerequisite headers?" >&2;}
5741 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
5742 echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
5743 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: section \"Present But Cannot Be Compiled\"" >&5
5744 echo "$as_me: WARNING: linux/cdrom.h: section \"Present But Cannot Be Compiled\"" >&2;}
5745 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
5746 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
5747 { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
5748 echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
5752 { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
5753 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
5754 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
5755 echo $ECHO_N "(cached) $ECHO_C" >&6
5757 ac_cv_header_linux_cdrom_h=$ac_header_preproc
5759 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
5760 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
5763 if test $ac_cv_header_linux_cdrom_h = yes; then
5764 HAVE_LINUX_CDROM_H=yes
5767 echo "Linux CDROM support not found, building without it."
5773 if test "$HAVE_LINUX_CDROM_H" = "yes"; then
5775 CDROM_LINUX_FALSE='#'
5777 CDROM_LINUX_TRUE='#'
5782 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
5783 set dummy sh-elf-gcc; ac_word=$2
5784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5786 if test "${ac_cv_path_SHCC+set}" = set; then
5787 echo $ECHO_N "(cached) $ECHO_C" >&6
5791 ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
5794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5798 test -z "$as_dir" && as_dir=.
5799 for ac_exec_ext in '' $ac_executable_extensions; do
5800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5801 ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
5802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5812 SHCC=$ac_cv_path_SHCC
5813 if test -n "$SHCC"; then
5814 { echo "$as_me:$LINENO: result: $SHCC" >&5
5815 echo "${ECHO_T}$SHCC" >&6; }
5817 { echo "$as_me:$LINENO: result: no" >&5
5818 echo "${ECHO_T}no" >&6; }
5822 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
5823 set dummy sh-elf-ld; ac_word=$2
5824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5826 if test "${ac_cv_path_SHLD+set}" = set; then
5827 echo $ECHO_N "(cached) $ECHO_C" >&6
5831 ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
5834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5838 test -z "$as_dir" && as_dir=.
5839 for ac_exec_ext in '' $ac_executable_extensions; do
5840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5841 ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
5842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5852 SHLD=$ac_cv_path_SHLD
5853 if test -n "$SHLD"; then
5854 { echo "$as_me:$LINENO: result: $SHLD" >&5
5855 echo "${ECHO_T}$SHLD" >&6; }
5857 { echo "$as_me:$LINENO: result: no" >&5
5858 echo "${ECHO_T}no" >&6; }
5862 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
5863 set dummy sh-elf-objcopy; ac_word=$2
5864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5866 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
5867 echo $ECHO_N "(cached) $ECHO_C" >&6
5871 ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5881 ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
5882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5892 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
5893 if test -n "$SHOBJCOPY"; then
5894 { echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
5895 echo "${ECHO_T}$SHOBJCOPY" >&6; }
5897 { echo "$as_me:$LINENO: result: no" >&5
5898 echo "${ECHO_T}no" >&6; }
5902 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
5903 set dummy arm-elf-gcc; ac_word=$2
5904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5906 if test "${ac_cv_path_ARMCC+set}" = set; then
5907 echo $ECHO_N "(cached) $ECHO_C" >&6
5911 ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
5914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918 test -z "$as_dir" && as_dir=.
5919 for ac_exec_ext in '' $ac_executable_extensions; do
5920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5921 ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
5922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5932 ARMCC=$ac_cv_path_ARMCC
5933 if test -n "$ARMCC"; then
5934 { echo "$as_me:$LINENO: result: $ARMCC" >&5
5935 echo "${ECHO_T}$ARMCC" >&6; }
5937 { echo "$as_me:$LINENO: result: no" >&5
5938 echo "${ECHO_T}no" >&6; }
5942 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
5943 set dummy arm-elf-ld; ac_word=$2
5944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5946 if test "${ac_cv_path_ARMLD+set}" = set; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5951 ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5958 test -z "$as_dir" && as_dir=.
5959 for ac_exec_ext in '' $ac_executable_extensions; do
5960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5961 ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
5962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5972 ARMLD=$ac_cv_path_ARMLD
5973 if test -n "$ARMLD"; then
5974 { echo "$as_me:$LINENO: result: $ARMLD" >&5
5975 echo "${ECHO_T}$ARMLD" >&6; }
5977 { echo "$as_me:$LINENO: result: no" >&5
5978 echo "${ECHO_T}no" >&6; }
5982 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
5983 set dummy arm-elf-objcopy; ac_word=$2
5984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5986 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
5987 echo $ECHO_N "(cached) $ECHO_C" >&6
5991 ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
5994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5998 test -z "$as_dir" && as_dir=.
5999 for ac_exec_ext in '' $ac_executable_extensions; do
6000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6001 ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
6002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
6013 if test -n "$ARMOBJCOPY"; then
6014 { echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
6015 echo "${ECHO_T}$ARMOBJCOPY" >&6; }
6017 { echo "$as_me:$LINENO: result: no" >&5
6018 echo "${ECHO_T}no" >&6; }
6023 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
6025 echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
6029 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
6031 echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
6037 if test "$BUILD_SH" = "yes"; then
6039 BUILD_SYSTEST_FALSE='#'
6041 BUILD_SYSTEST_TRUE='#'
6042 BUILD_SYSTEST_FALSE=
6047 if test "$BUILD_ARM" = "yes"; then
6049 BUILD_ARMTEST_FALSE='#'
6051 BUILD_ARMTEST_TRUE='#'
6052 BUILD_ARMTEST_FALSE=
6056 GETTEXT_PACKAGE=lxdream
6059 cat >>confdefs.h <<_ACEOF
6060 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6067 ALL_LINGUAS="de pt_BR"
6070 for ac_header in locale.h
6072 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6073 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6074 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6076 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6077 echo $ECHO_N "(cached) $ECHO_C" >&6
6079 ac_res=`eval echo '${'$as_ac_Header'}'`
6080 { echo "$as_me:$LINENO: result: $ac_res" >&5
6081 echo "${ECHO_T}$ac_res" >&6; }
6083 # Is the header compilable?
6084 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6085 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6086 cat >conftest.$ac_ext <<_ACEOF
6089 cat confdefs.h >>conftest.$ac_ext
6090 cat >>conftest.$ac_ext <<_ACEOF
6091 /* end confdefs.h. */
6092 $ac_includes_default
6093 #include <$ac_header>
6095 rm -f conftest.$ac_objext
6096 if { (ac_try="$ac_compile"
6098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6099 *) ac_try_echo=$ac_try;;
6101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6102 (eval "$ac_compile") 2>conftest.er1
6104 grep -v '^ *+' conftest.er1 >conftest.err
6106 cat conftest.err >&5
6107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108 (exit $ac_status); } && {
6109 test -z "$ac_c_werror_flag" ||
6110 test ! -s conftest.err
6111 } && test -s conftest.$ac_objext; then
6112 ac_header_compiler=yes
6114 echo "$as_me: failed program was:" >&5
6115 sed 's/^/| /' conftest.$ac_ext >&5
6117 ac_header_compiler=no
6120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6121 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6122 echo "${ECHO_T}$ac_header_compiler" >&6; }
6124 # Is the header present?
6125 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6126 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6127 cat >conftest.$ac_ext <<_ACEOF
6130 cat confdefs.h >>conftest.$ac_ext
6131 cat >>conftest.$ac_ext <<_ACEOF
6132 /* end confdefs.h. */
6133 #include <$ac_header>
6135 if { (ac_try="$ac_cpp conftest.$ac_ext"
6137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6138 *) ac_try_echo=$ac_try;;
6140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6141 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6143 grep -v '^ *+' conftest.er1 >conftest.err
6145 cat conftest.err >&5
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); } >/dev/null && {
6148 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6149 test ! -s conftest.err
6151 ac_header_preproc=yes
6153 echo "$as_me: failed program was:" >&5
6154 sed 's/^/| /' conftest.$ac_ext >&5
6156 ac_header_preproc=no
6159 rm -f conftest.err conftest.$ac_ext
6160 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6161 echo "${ECHO_T}$ac_header_preproc" >&6; }
6163 # So? What about this header?
6164 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6166 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6167 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6169 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6170 ac_header_preproc=yes
6173 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6174 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6175 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6176 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6177 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6178 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6179 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6180 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6182 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6183 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6184 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6188 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6191 echo $ECHO_N "(cached) $ECHO_C" >&6
6193 eval "$as_ac_Header=\$ac_header_preproc"
6195 ac_res=`eval echo '${'$as_ac_Header'}'`
6196 { echo "$as_me:$LINENO: result: $ac_res" >&5
6197 echo "${ECHO_T}$ac_res" >&6; }
6200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6201 cat >>confdefs.h <<_ACEOF
6202 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6209 if test $ac_cv_header_locale_h = yes; then
6210 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6211 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
6212 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6213 echo $ECHO_N "(cached) $ECHO_C" >&6
6215 cat >conftest.$ac_ext <<_ACEOF
6218 cat confdefs.h >>conftest.$ac_ext
6219 cat >>conftest.$ac_ext <<_ACEOF
6220 /* end confdefs.h. */
6230 rm -f conftest.$ac_objext conftest$ac_exeext
6231 if { (ac_try="$ac_link"
6233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6234 *) ac_try_echo=$ac_try;;
6236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6237 (eval "$ac_link") 2>conftest.er1
6239 grep -v '^ *+' conftest.er1 >conftest.err
6241 cat conftest.err >&5
6242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 (exit $ac_status); } && {
6244 test -z "$ac_c_werror_flag" ||
6245 test ! -s conftest.err
6246 } && test -s conftest$ac_exeext &&
6247 $as_test_x conftest$ac_exeext; then
6248 am_cv_val_LC_MESSAGES=yes
6250 echo "$as_me: failed program was:" >&5
6251 sed 's/^/| /' conftest.$ac_ext >&5
6253 am_cv_val_LC_MESSAGES=no
6256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6257 conftest$ac_exeext conftest.$ac_ext
6259 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6260 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
6261 if test $am_cv_val_LC_MESSAGES = yes; then
6263 cat >>confdefs.h <<\_ACEOF
6264 #define HAVE_LC_MESSAGES 1
6272 gt_cv_have_gettext=no
6278 if test "${ac_cv_header_libintl_h+set}" = set; then
6279 { echo "$as_me:$LINENO: checking for libintl.h" >&5
6280 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
6281 if test "${ac_cv_header_libintl_h+set}" = set; then
6282 echo $ECHO_N "(cached) $ECHO_C" >&6
6284 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6285 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
6287 # Is the header compilable?
6288 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
6289 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
6290 cat >conftest.$ac_ext <<_ACEOF
6293 cat confdefs.h >>conftest.$ac_ext
6294 cat >>conftest.$ac_ext <<_ACEOF
6295 /* end confdefs.h. */
6296 $ac_includes_default
6297 #include <libintl.h>
6299 rm -f conftest.$ac_objext
6300 if { (ac_try="$ac_compile"
6302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6303 *) ac_try_echo=$ac_try;;
6305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6306 (eval "$ac_compile") 2>conftest.er1
6308 grep -v '^ *+' conftest.er1 >conftest.err
6310 cat conftest.err >&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); } && {
6313 test -z "$ac_c_werror_flag" ||
6314 test ! -s conftest.err
6315 } && test -s conftest.$ac_objext; then
6316 ac_header_compiler=yes
6318 echo "$as_me: failed program was:" >&5
6319 sed 's/^/| /' conftest.$ac_ext >&5
6321 ac_header_compiler=no
6324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6325 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6326 echo "${ECHO_T}$ac_header_compiler" >&6; }
6328 # Is the header present?
6329 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
6330 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
6331 cat >conftest.$ac_ext <<_ACEOF
6334 cat confdefs.h >>conftest.$ac_ext
6335 cat >>conftest.$ac_ext <<_ACEOF
6336 /* end confdefs.h. */
6337 #include <libintl.h>
6339 if { (ac_try="$ac_cpp conftest.$ac_ext"
6341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6342 *) ac_try_echo=$ac_try;;
6344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6345 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6347 grep -v '^ *+' conftest.er1 >conftest.err
6349 cat conftest.err >&5
6350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351 (exit $ac_status); } >/dev/null && {
6352 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6353 test ! -s conftest.err
6355 ac_header_preproc=yes
6357 echo "$as_me: failed program was:" >&5
6358 sed 's/^/| /' conftest.$ac_ext >&5
6360 ac_header_preproc=no
6363 rm -f conftest.err conftest.$ac_ext
6364 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6365 echo "${ECHO_T}$ac_header_preproc" >&6; }
6367 # So? What about this header?
6368 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6370 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6371 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6372 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
6373 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
6374 ac_header_preproc=yes
6377 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6378 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6379 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
6380 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
6381 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6382 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6383 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
6384 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
6385 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
6386 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
6387 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6388 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6392 { echo "$as_me:$LINENO: checking for libintl.h" >&5
6393 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
6394 if test "${ac_cv_header_libintl_h+set}" = set; then
6395 echo $ECHO_N "(cached) $ECHO_C" >&6
6397 ac_cv_header_libintl_h=$ac_header_preproc
6399 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6400 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
6403 if test $ac_cv_header_libintl_h = yes; then
6404 gt_cv_func_dgettext_libintl="no"
6405 libintl_extra_libs=""
6408 # First check in libc
6410 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
6411 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
6412 if test "${gt_cv_func_ngettext_libc+set}" = set; then
6413 echo $ECHO_N "(cached) $ECHO_C" >&6
6415 cat >conftest.$ac_ext <<_ACEOF
6418 cat confdefs.h >>conftest.$ac_ext
6419 cat >>conftest.$ac_ext <<_ACEOF
6420 /* end confdefs.h. */
6422 #include <libintl.h>
6427 return !ngettext ("","", 1)
6432 rm -f conftest.$ac_objext conftest$ac_exeext
6433 if { (ac_try="$ac_link"
6435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6436 *) ac_try_echo=$ac_try;;
6438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6439 (eval "$ac_link") 2>conftest.er1
6441 grep -v '^ *+' conftest.er1 >conftest.err
6443 cat conftest.err >&5
6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445 (exit $ac_status); } && {
6446 test -z "$ac_c_werror_flag" ||
6447 test ! -s conftest.err
6448 } && test -s conftest$ac_exeext &&
6449 $as_test_x conftest$ac_exeext; then
6450 gt_cv_func_ngettext_libc=yes
6452 echo "$as_me: failed program was:" >&5
6453 sed 's/^/| /' conftest.$ac_ext >&5
6455 gt_cv_func_ngettext_libc=no
6458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6459 conftest$ac_exeext conftest.$ac_ext
6462 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
6463 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
6465 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6466 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
6467 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
6468 if test "${gt_cv_func_dgettext_libc+set}" = set; then
6469 echo $ECHO_N "(cached) $ECHO_C" >&6
6471 cat >conftest.$ac_ext <<_ACEOF
6474 cat confdefs.h >>conftest.$ac_ext
6475 cat >>conftest.$ac_ext <<_ACEOF
6476 /* end confdefs.h. */
6478 #include <libintl.h>
6483 return !dgettext ("","")
6488 rm -f conftest.$ac_objext conftest$ac_exeext
6489 if { (ac_try="$ac_link"
6491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6492 *) ac_try_echo=$ac_try;;
6494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6495 (eval "$ac_link") 2>conftest.er1
6497 grep -v '^ *+' conftest.er1 >conftest.err
6499 cat conftest.err >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } && {
6502 test -z "$ac_c_werror_flag" ||
6503 test ! -s conftest.err
6504 } && test -s conftest$ac_exeext &&
6505 $as_test_x conftest$ac_exeext; then
6506 gt_cv_func_dgettext_libc=yes
6508 echo "$as_me: failed program was:" >&5
6509 sed 's/^/| /' conftest.$ac_ext >&5
6511 gt_cv_func_dgettext_libc=no
6514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6515 conftest$ac_exeext conftest.$ac_ext
6518 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
6519 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
6522 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6524 for ac_func in bind_textdomain_codeset
6526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6527 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6529 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6532 cat >conftest.$ac_ext <<_ACEOF
6535 cat confdefs.h >>conftest.$ac_ext
6536 cat >>conftest.$ac_ext <<_ACEOF
6537 /* end confdefs.h. */
6538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6540 #define $ac_func innocuous_$ac_func
6542 /* System header to define __stub macros and hopefully few prototypes,
6543 which can conflict with char $ac_func (); below.
6544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6545 <limits.h> exists even on freestanding compilers. */
6548 # include <limits.h>
6550 # include <assert.h>
6555 /* Override any GCC internal prototype to avoid an error.
6556 Use char because int might match the return type of a GCC
6557 builtin and then its argument prototype would still apply. */
6562 /* The GNU C library defines this for functions which it implements
6563 to always fail with ENOSYS. Some functions are actually named
6564 something starting with __ and the normal name is an alias. */
6565 #if defined __stub_$ac_func || defined __stub___$ac_func
6577 rm -f conftest.$ac_objext conftest$ac_exeext
6578 if { (ac_try="$ac_link"
6580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6581 *) ac_try_echo=$ac_try;;
6583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6584 (eval "$ac_link") 2>conftest.er1
6586 grep -v '^ *+' conftest.er1 >conftest.err
6588 cat conftest.err >&5
6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); } && {
6591 test -z "$ac_c_werror_flag" ||
6592 test ! -s conftest.err
6593 } && test -s conftest$ac_exeext &&
6594 $as_test_x conftest$ac_exeext; then
6595 eval "$as_ac_var=yes"
6597 echo "$as_me: failed program was:" >&5
6598 sed 's/^/| /' conftest.$ac_ext >&5
6600 eval "$as_ac_var=no"
6603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6604 conftest$ac_exeext conftest.$ac_ext
6606 ac_res=`eval echo '${'$as_ac_var'}'`
6607 { echo "$as_me:$LINENO: result: $ac_res" >&5
6608 echo "${ECHO_T}$ac_res" >&6; }
6609 if test `eval echo '${'$as_ac_var'}'` = yes; then
6610 cat >>confdefs.h <<_ACEOF
6611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6620 # If we don't have everything we want, check in libintl
6622 if test "$gt_cv_func_dgettext_libc" != "yes" \
6623 || test "$gt_cv_func_ngettext_libc" != "yes" \
6624 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6626 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
6627 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
6628 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
6629 echo $ECHO_N "(cached) $ECHO_C" >&6
6631 ac_check_lib_save_LIBS=$LIBS
6633 cat >conftest.$ac_ext <<_ACEOF
6636 cat confdefs.h >>conftest.$ac_ext
6637 cat >>conftest.$ac_ext <<_ACEOF
6638 /* end confdefs.h. */
6640 /* Override any GCC internal prototype to avoid an error.
6641 Use char because int might match the return type of a GCC
6642 builtin and then its argument prototype would still apply. */
6646 char bindtextdomain ();
6650 return bindtextdomain ();
6655 rm -f conftest.$ac_objext conftest$ac_exeext
6656 if { (ac_try="$ac_link"
6658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6659 *) ac_try_echo=$ac_try;;
6661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6662 (eval "$ac_link") 2>conftest.er1
6664 grep -v '^ *+' conftest.er1 >conftest.err
6666 cat conftest.err >&5
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); } && {
6669 test -z "$ac_c_werror_flag" ||
6670 test ! -s conftest.err
6671 } && test -s conftest$ac_exeext &&
6672 $as_test_x conftest$ac_exeext; then
6673 ac_cv_lib_intl_bindtextdomain=yes
6675 echo "$as_me: failed program was:" >&5
6676 sed 's/^/| /' conftest.$ac_ext >&5
6678 ac_cv_lib_intl_bindtextdomain=no
6681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6682 conftest$ac_exeext conftest.$ac_ext
6683 LIBS=$ac_check_lib_save_LIBS
6685 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
6686 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
6687 if test $ac_cv_lib_intl_bindtextdomain = yes; then
6688 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6689 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
6690 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6691 echo $ECHO_N "(cached) $ECHO_C" >&6
6693 ac_check_lib_save_LIBS=$LIBS
6695 cat >conftest.$ac_ext <<_ACEOF
6698 cat confdefs.h >>conftest.$ac_ext
6699 cat >>conftest.$ac_ext <<_ACEOF
6700 /* end confdefs.h. */
6702 /* Override any GCC internal prototype to avoid an error.
6703 Use char because int might match the return type of a GCC
6704 builtin and then its argument prototype would still apply. */
6717 rm -f conftest.$ac_objext conftest$ac_exeext
6718 if { (ac_try="$ac_link"
6720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6721 *) ac_try_echo=$ac_try;;
6723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6724 (eval "$ac_link") 2>conftest.er1
6726 grep -v '^ *+' conftest.er1 >conftest.err
6728 cat conftest.err >&5
6729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6730 (exit $ac_status); } && {
6731 test -z "$ac_c_werror_flag" ||
6732 test ! -s conftest.err
6733 } && test -s conftest$ac_exeext &&
6734 $as_test_x conftest$ac_exeext; then
6735 ac_cv_lib_intl_ngettext=yes
6737 echo "$as_me: failed program was:" >&5
6738 sed 's/^/| /' conftest.$ac_ext >&5
6740 ac_cv_lib_intl_ngettext=no
6743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6744 conftest$ac_exeext conftest.$ac_ext
6745 LIBS=$ac_check_lib_save_LIBS
6747 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6748 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
6749 if test $ac_cv_lib_intl_ngettext = yes; then
6750 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
6751 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
6752 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
6753 echo $ECHO_N "(cached) $ECHO_C" >&6
6755 ac_check_lib_save_LIBS=$LIBS
6757 cat >conftest.$ac_ext <<_ACEOF
6760 cat confdefs.h >>conftest.$ac_ext
6761 cat >>conftest.$ac_ext <<_ACEOF
6762 /* end confdefs.h. */
6764 /* Override any GCC internal prototype to avoid an error.
6765 Use char because int might match the return type of a GCC
6766 builtin and then its argument prototype would still apply. */
6779 rm -f conftest.$ac_objext conftest$ac_exeext
6780 if { (ac_try="$ac_link"
6782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6783 *) ac_try_echo=$ac_try;;
6785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6786 (eval "$ac_link") 2>conftest.er1
6788 grep -v '^ *+' conftest.er1 >conftest.err
6790 cat conftest.err >&5
6791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6792 (exit $ac_status); } && {
6793 test -z "$ac_c_werror_flag" ||
6794 test ! -s conftest.err
6795 } && test -s conftest$ac_exeext &&
6796 $as_test_x conftest$ac_exeext; then
6797 ac_cv_lib_intl_dgettext=yes
6799 echo "$as_me: failed program was:" >&5
6800 sed 's/^/| /' conftest.$ac_ext >&5
6802 ac_cv_lib_intl_dgettext=no
6805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6806 conftest$ac_exeext conftest.$ac_ext
6807 LIBS=$ac_check_lib_save_LIBS
6809 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
6810 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
6811 if test $ac_cv_lib_intl_dgettext = yes; then
6812 gt_cv_func_dgettext_libintl=yes
6820 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6821 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
6822 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
6823 { echo "$as_me:$LINENO: result: " >&5
6824 echo "${ECHO_T}" >&6; }
6825 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6826 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
6827 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6828 echo $ECHO_N "(cached) $ECHO_C" >&6
6830 ac_check_lib_save_LIBS=$LIBS
6831 LIBS="-lintl -liconv $LIBS"
6832 cat >conftest.$ac_ext <<_ACEOF
6835 cat confdefs.h >>conftest.$ac_ext
6836 cat >>conftest.$ac_ext <<_ACEOF
6837 /* end confdefs.h. */
6839 /* Override any GCC internal prototype to avoid an error.
6840 Use char because int might match the return type of a GCC
6841 builtin and then its argument prototype would still apply. */
6854 rm -f conftest.$ac_objext conftest$ac_exeext
6855 if { (ac_try="$ac_link"
6857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6858 *) ac_try_echo=$ac_try;;
6860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6861 (eval "$ac_link") 2>conftest.er1
6863 grep -v '^ *+' conftest.er1 >conftest.err
6865 cat conftest.err >&5
6866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6867 (exit $ac_status); } && {
6868 test -z "$ac_c_werror_flag" ||
6869 test ! -s conftest.err
6870 } && test -s conftest$ac_exeext &&
6871 $as_test_x conftest$ac_exeext; then
6872 ac_cv_lib_intl_ngettext=yes
6874 echo "$as_me: failed program was:" >&5
6875 sed 's/^/| /' conftest.$ac_ext >&5
6877 ac_cv_lib_intl_ngettext=no
6880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6881 conftest$ac_exeext conftest.$ac_ext
6882 LIBS=$ac_check_lib_save_LIBS
6884 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6885 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
6886 if test $ac_cv_lib_intl_ngettext = yes; then
6887 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
6888 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
6889 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
6890 echo $ECHO_N "(cached) $ECHO_C" >&6
6892 ac_check_lib_save_LIBS=$LIBS
6893 LIBS="-lintl -liconv $LIBS"
6894 cat >conftest.$ac_ext <<_ACEOF
6897 cat confdefs.h >>conftest.$ac_ext
6898 cat >>conftest.$ac_ext <<_ACEOF
6899 /* end confdefs.h. */
6901 /* Override any GCC internal prototype to avoid an error.
6902 Use char because int might match the return type of a GCC
6903 builtin and then its argument prototype would still apply. */
6911 return dcgettext ();
6916 rm -f conftest.$ac_objext conftest$ac_exeext
6917 if { (ac_try="$ac_link"
6919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6920 *) ac_try_echo=$ac_try;;
6922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6923 (eval "$ac_link") 2>conftest.er1
6925 grep -v '^ *+' conftest.er1 >conftest.err
6927 cat conftest.err >&5
6928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6929 (exit $ac_status); } && {
6930 test -z "$ac_c_werror_flag" ||
6931 test ! -s conftest.err
6932 } && test -s conftest$ac_exeext &&
6933 $as_test_x conftest$ac_exeext; then
6934 ac_cv_lib_intl_dcgettext=yes
6936 echo "$as_me: failed program was:" >&5
6937 sed 's/^/| /' conftest.$ac_ext >&5
6939 ac_cv_lib_intl_dcgettext=no
6942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6943 conftest$ac_exeext conftest.$ac_ext
6944 LIBS=$ac_check_lib_save_LIBS
6946 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
6947 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
6948 if test $ac_cv_lib_intl_dcgettext = yes; then
6949 gt_cv_func_dgettext_libintl=yes
6950 libintl_extra_libs=-liconv
6962 # If we found libintl, then check in it for bind_textdomain_codeset();
6963 # we'll prefer libc if neither have bind_textdomain_codeset(),
6964 # and both have dgettext and ngettext
6966 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
6967 glib_save_LIBS="$LIBS"
6968 LIBS="$LIBS -lintl $libintl_extra_libs"
6969 unset ac_cv_func_bind_textdomain_codeset
6971 for ac_func in bind_textdomain_codeset
6973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6974 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6976 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6977 echo $ECHO_N "(cached) $ECHO_C" >&6
6979 cat >conftest.$ac_ext <<_ACEOF
6982 cat confdefs.h >>conftest.$ac_ext
6983 cat >>conftest.$ac_ext <<_ACEOF
6984 /* end confdefs.h. */
6985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6987 #define $ac_func innocuous_$ac_func
6989 /* System header to define __stub macros and hopefully few prototypes,
6990 which can conflict with char $ac_func (); below.
6991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6992 <limits.h> exists even on freestanding compilers. */
6995 # include <limits.h>
6997 # include <assert.h>
7002 /* Override any GCC internal prototype to avoid an error.
7003 Use char because int might match the return type of a GCC
7004 builtin and then its argument prototype would still apply. */
7009 /* The GNU C library defines this for functions which it implements
7010 to always fail with ENOSYS. Some functions are actually named
7011 something starting with __ and the normal name is an alias. */
7012 #if defined __stub_$ac_func || defined __stub___$ac_func
7024 rm -f conftest.$ac_objext conftest$ac_exeext
7025 if { (ac_try="$ac_link"
7027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7028 *) ac_try_echo=$ac_try;;
7030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7031 (eval "$ac_link") 2>conftest.er1
7033 grep -v '^ *+' conftest.er1 >conftest.err
7035 cat conftest.err >&5
7036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037 (exit $ac_status); } && {
7038 test -z "$ac_c_werror_flag" ||
7039 test ! -s conftest.err
7040 } && test -s conftest$ac_exeext &&
7041 $as_test_x conftest$ac_exeext; then
7042 eval "$as_ac_var=yes"
7044 echo "$as_me: failed program was:" >&5
7045 sed 's/^/| /' conftest.$ac_ext >&5
7047 eval "$as_ac_var=no"
7050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7051 conftest$ac_exeext conftest.$ac_ext
7053 ac_res=`eval echo '${'$as_ac_var'}'`
7054 { echo "$as_me:$LINENO: result: $ac_res" >&5
7055 echo "${ECHO_T}$ac_res" >&6; }
7056 if test `eval echo '${'$as_ac_var'}'` = yes; then
7057 cat >>confdefs.h <<_ACEOF
7058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7064 LIBS="$glib_save_LIBS"
7066 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
7067 gt_cv_func_dgettext_libc=no
7069 if test "$gt_cv_func_dgettext_libc" = "yes" \
7070 && test "$gt_cv_func_ngettext_libc" = "yes"; then
7071 gt_cv_func_dgettext_libintl=no
7077 if test "$gt_cv_func_dgettext_libc" = "yes" \
7078 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
7079 gt_cv_have_gettext=yes
7082 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
7083 INTLLIBS="-lintl $libintl_extra_libs"
7086 if test "$gt_cv_have_gettext" = "yes"; then
7088 cat >>confdefs.h <<\_ACEOF
7089 #define HAVE_GETTEXT 1
7092 # Extract the first word of "msgfmt", so it can be a program name with args.
7093 set dummy msgfmt; ac_word=$2
7094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7096 if test "${ac_cv_path_MSGFMT+set}" = set; then
7097 echo $ECHO_N "(cached) $ECHO_C" >&6
7101 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7104 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7105 for ac_dir in $PATH; do
7106 test -z "$ac_dir" && ac_dir=.
7107 if test -f $ac_dir/$ac_word; then
7108 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7109 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
7115 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
7119 MSGFMT="$ac_cv_path_MSGFMT"
7120 if test "$MSGFMT" != "no"; then
7121 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7122 echo "${ECHO_T}$MSGFMT" >&6; }
7124 { echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6; }
7127 if test "$MSGFMT" != "no"; then
7128 glib_save_LIBS="$LIBS"
7129 LIBS="$LIBS $INTLLIBS"
7131 for ac_func in dcgettext
7133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7134 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7136 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7137 echo $ECHO_N "(cached) $ECHO_C" >&6
7139 cat >conftest.$ac_ext <<_ACEOF
7142 cat confdefs.h >>conftest.$ac_ext
7143 cat >>conftest.$ac_ext <<_ACEOF
7144 /* end confdefs.h. */
7145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7147 #define $ac_func innocuous_$ac_func
7149 /* System header to define __stub macros and hopefully few prototypes,
7150 which can conflict with char $ac_func (); below.
7151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7152 <limits.h> exists even on freestanding compilers. */
7155 # include <limits.h>
7157 # include <assert.h>
7162 /* Override any GCC internal prototype to avoid an error.
7163 Use char because int might match the return type of a GCC
7164 builtin and then its argument prototype would still apply. */
7169 /* The GNU C library defines this for functions which it implements
7170 to always fail with ENOSYS. Some functions are actually named
7171 something starting with __ and the normal name is an alias. */
7172 #if defined __stub_$ac_func || defined __stub___$ac_func
7184 rm -f conftest.$ac_objext conftest$ac_exeext
7185 if { (ac_try="$ac_link"
7187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7188 *) ac_try_echo=$ac_try;;
7190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7191 (eval "$ac_link") 2>conftest.er1
7193 grep -v '^ *+' conftest.er1 >conftest.err
7195 cat conftest.err >&5
7196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7197 (exit $ac_status); } && {
7198 test -z "$ac_c_werror_flag" ||
7199 test ! -s conftest.err
7200 } && test -s conftest$ac_exeext &&
7201 $as_test_x conftest$ac_exeext; then
7202 eval "$as_ac_var=yes"
7204 echo "$as_me: failed program was:" >&5
7205 sed 's/^/| /' conftest.$ac_ext >&5
7207 eval "$as_ac_var=no"
7210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7211 conftest$ac_exeext conftest.$ac_ext
7213 ac_res=`eval echo '${'$as_ac_var'}'`
7214 { echo "$as_me:$LINENO: result: $ac_res" >&5
7215 echo "${ECHO_T}$ac_res" >&6; }
7216 if test `eval echo '${'$as_ac_var'}'` = yes; then
7217 cat >>confdefs.h <<_ACEOF
7218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7224 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7225 set dummy gmsgfmt; ac_word=$2
7226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7228 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7229 echo $ECHO_N "(cached) $ECHO_C" >&6
7233 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7240 test -z "$as_dir" && as_dir=.
7241 for ac_exec_ext in '' $ac_executable_extensions; do
7242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7243 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7251 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7255 GMSGFMT=$ac_cv_path_GMSGFMT
7256 if test -n "$GMSGFMT"; then
7257 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7258 echo "${ECHO_T}$GMSGFMT" >&6; }
7260 { echo "$as_me:$LINENO: result: no" >&5
7261 echo "${ECHO_T}no" >&6; }
7265 # Extract the first word of "xgettext", so it can be a program name with args.
7266 set dummy xgettext; ac_word=$2
7267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7269 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7270 echo $ECHO_N "(cached) $ECHO_C" >&6
7274 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7277 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7278 for ac_dir in $PATH; do
7279 test -z "$ac_dir" && ac_dir=.
7280 if test -f $ac_dir/$ac_word; then
7281 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7282 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
7288 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7292 XGETTEXT="$ac_cv_path_XGETTEXT"
7293 if test "$XGETTEXT" != ":"; then
7294 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7295 echo "${ECHO_T}$XGETTEXT" >&6; }
7297 { echo "$as_me:$LINENO: result: no" >&5
7298 echo "${ECHO_T}no" >&6; }
7301 cat >conftest.$ac_ext <<_ACEOF
7304 cat confdefs.h >>conftest.$ac_ext
7305 cat >>conftest.$ac_ext <<_ACEOF
7306 /* end confdefs.h. */
7311 extern int _nl_msg_cat_cntr;
7312 return _nl_msg_cat_cntr
7317 rm -f conftest.$ac_objext conftest$ac_exeext
7318 if { (ac_try="$ac_link"
7320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7321 *) ac_try_echo=$ac_try;;
7323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7324 (eval "$ac_link") 2>conftest.er1
7326 grep -v '^ *+' conftest.er1 >conftest.err
7328 cat conftest.err >&5
7329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); } && {
7331 test -z "$ac_c_werror_flag" ||
7332 test ! -s conftest.err
7333 } && test -s conftest$ac_exeext &&
7334 $as_test_x conftest$ac_exeext; then
7338 echo "$as_me: failed program was:" >&5
7339 sed 's/^/| /' conftest.$ac_ext >&5
7343 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7344 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
7345 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7346 echo $ECHO_N "(cached) $ECHO_C" >&6
7348 cat >conftest.$ac_ext <<_ACEOF
7351 cat confdefs.h >>conftest.$ac_ext
7352 cat >>conftest.$ac_ext <<_ACEOF
7353 /* end confdefs.h. */
7354 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7356 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7358 /* System header to define __stub macros and hopefully few prototypes,
7359 which can conflict with char bind_textdomain_codeset (); below.
7360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7361 <limits.h> exists even on freestanding compilers. */
7364 # include <limits.h>
7366 # include <assert.h>
7369 #undef bind_textdomain_codeset
7371 /* Override any GCC internal prototype to avoid an error.
7372 Use char because int might match the return type of a GCC
7373 builtin and then its argument prototype would still apply. */
7377 char bind_textdomain_codeset ();
7378 /* The GNU C library defines this for functions which it implements
7379 to always fail with ENOSYS. Some functions are actually named
7380 something starting with __ and the normal name is an alias. */
7381 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7388 return bind_textdomain_codeset ();
7393 rm -f conftest.$ac_objext conftest$ac_exeext
7394 if { (ac_try="$ac_link"
7396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7397 *) ac_try_echo=$ac_try;;
7399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7400 (eval "$ac_link") 2>conftest.er1
7402 grep -v '^ *+' conftest.er1 >conftest.err
7404 cat conftest.err >&5
7405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406 (exit $ac_status); } && {
7407 test -z "$ac_c_werror_flag" ||
7408 test ! -s conftest.err
7409 } && test -s conftest$ac_exeext &&
7410 $as_test_x conftest$ac_exeext; then
7411 ac_cv_func_bind_textdomain_codeset=yes
7413 echo "$as_me: failed program was:" >&5
7414 sed 's/^/| /' conftest.$ac_ext >&5
7416 ac_cv_func_bind_textdomain_codeset=no
7419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7420 conftest$ac_exeext conftest.$ac_ext
7422 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7423 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
7424 if test $ac_cv_func_bind_textdomain_codeset = yes; then
7440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7441 conftest$ac_exeext conftest.$ac_ext
7442 LIBS="$glib_save_LIBS"
7445 gt_cv_have_gettext=no
7453 if test "$gt_cv_have_gettext" = "yes" ; then
7455 cat >>confdefs.h <<\_ACEOF
7456 #define ENABLE_NLS 1
7461 if test "$XGETTEXT" != ":"; then
7462 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7465 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7466 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
7471 # We need to process the po/ directory.
7474 ac_config_commands="$ac_config_commands default-1"
7477 for lang in $ALL_LINGUAS; do
7478 GMOFILES="$GMOFILES $lang.gmo"
7479 POFILES="$POFILES $lang.po"
7494 if test "$gt_cv_have_gettext" = "yes"; then
7495 if test "x$ALL_LINGUAS" = "x"; then
7498 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7499 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
7501 for presentlang in $ALL_LINGUAS; do
7503 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
7504 desiredlanguages="$LINGUAS"
7506 desiredlanguages="$ALL_LINGUAS"
7508 for desiredlang in $desiredlanguages; do
7509 # Use the presentlang catalog if desiredlang is
7510 # a. equal to presentlang, or
7511 # b. a variant of presentlang (because in this case,
7512 # presentlang can be used as a fallback for messages
7513 # which are not translated in the desiredlang catalog).
7514 case "$desiredlang" in
7515 "$presentlang"*) useit=yes;;
7518 if test $useit = yes; then
7519 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
7522 LINGUAS=$NEW_LINGUAS
7523 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
7524 echo "${ECHO_T}$LINGUAS" >&6; }
7527 if test -n "$LINGUAS"; then
7528 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
7533 if test -n "$ac_aux_dir"; then
7534 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
7536 if test -z "$MKINSTALLDIRS"; then
7537 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
7541 test -d po || mkdir po
7542 if test "x$srcdir" != "x."; then
7543 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
7544 posrcprefix="$srcdir/"
7546 posrcprefix="../$srcdir/"
7552 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7553 < $srcdir/po/POTFILES.in > po/POTFILES
7556 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in test/Makefile"
7558 cat >confcache <<\_ACEOF
7559 # This file is a shell script that caches the results of configure
7560 # tests run on this system so they can be shared between configure
7561 # scripts and configure runs, see configure's option --config-cache.
7562 # It is not useful on other systems. If it contains results you don't
7563 # want to keep, you may remove or edit it.
7565 # config.status only pays attention to the cache file if you give it
7566 # the --recheck option to rerun configure.
7568 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7569 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7574 # The following way of writing the cache mishandles newlines in values,
7575 # but we know of no workaround that is simple, portable, and efficient.
7576 # So, we kill variables containing newlines.
7577 # Ultrix sh set writes to stderr and can't be redirected directly,
7578 # and sets the high bit in the cache file unless we assign to the vars.
7580 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7581 eval ac_val=\$$ac_var
7585 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7586 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7589 _ | IFS | as_nl) ;; #(
7590 *) $as_unset $ac_var ;;
7596 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7597 *${as_nl}ac_space=\ *)
7598 # `set' does not quote correctly, so add quotes (double-quote
7599 # substitution turns \\\\ into \\, and sed turns \\ into \).
7602 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7605 # `set' quotes correctly as required by POSIX, so do not add quotes.
7606 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7615 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7617 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7619 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7620 if test -w "$cache_file"; then
7621 test "x$cache_file" != "x/dev/null" &&
7622 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
7623 echo "$as_me: updating cache $cache_file" >&6;}
7624 cat confcache >$cache_file
7626 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7627 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7632 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7633 # Let make expand exec_prefix.
7634 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7636 DEFS=-DHAVE_CONFIG_H
7640 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7641 # 1. Remove the extension, and $U if already installed.
7642 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7643 ac_i=`echo "$ac_i" | sed "$ac_script"`
7644 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7645 # will be set to the directory where LIBOBJS objects are built.
7646 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7647 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7651 LTLIBOBJS=$ac_ltlibobjs
7654 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7655 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7656 Usually this means the macro was only invoked conditionally." >&5
7657 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7658 Usually this means the macro was only invoked conditionally." >&2;}
7659 { (exit 1); exit 1; }; }
7661 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7662 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7663 Usually this means the macro was only invoked conditionally." >&5
7664 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7665 Usually this means the macro was only invoked conditionally." >&2;}
7666 { (exit 1); exit 1; }; }
7668 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7669 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7670 Usually this means the macro was only invoked conditionally." >&5
7671 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7672 Usually this means the macro was only invoked conditionally." >&2;}
7673 { (exit 1); exit 1; }; }
7675 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7676 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7677 Usually this means the macro was only invoked conditionally." >&5
7678 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7679 Usually this means the macro was only invoked conditionally." >&2;}
7680 { (exit 1); exit 1; }; }
7682 if test -z "${AUDIO_ESOUND_TRUE}" && test -z "${AUDIO_ESOUND_FALSE}"; then
7683 { { echo "$as_me:$LINENO: error: conditional \"AUDIO_ESOUND\" was never defined.
7684 Usually this means the macro was only invoked conditionally." >&5
7685 echo "$as_me: error: conditional \"AUDIO_ESOUND\" was never defined.
7686 Usually this means the macro was only invoked conditionally." >&2;}
7687 { (exit 1); exit 1; }; }
7689 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
7690 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
7691 Usually this means the macro was only invoked conditionally." >&5
7692 echo "$as_me: error: conditional \"BUILD_SH4X86\" was never defined.
7693 Usually this means the macro was only invoked conditionally." >&2;}
7694 { (exit 1); exit 1; }; }
7696 if test -z "${CDROM_LINUX_TRUE}" && test -z "${CDROM_LINUX_FALSE}"; then
7697 { { echo "$as_me:$LINENO: error: conditional \"CDROM_LINUX\" was never defined.
7698 Usually this means the macro was only invoked conditionally." >&5
7699 echo "$as_me: error: conditional \"CDROM_LINUX\" was never defined.
7700 Usually this means the macro was only invoked conditionally." >&2;}
7701 { (exit 1); exit 1; }; }
7703 if test -z "${BUILD_SYSTEST_TRUE}" && test -z "${BUILD_SYSTEST_FALSE}"; then
7704 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYSTEST\" was never defined.
7705 Usually this means the macro was only invoked conditionally." >&5
7706 echo "$as_me: error: conditional \"BUILD_SYSTEST\" was never defined.
7707 Usually this means the macro was only invoked conditionally." >&2;}
7708 { (exit 1); exit 1; }; }
7710 if test -z "${BUILD_ARMTEST_TRUE}" && test -z "${BUILD_ARMTEST_FALSE}"; then
7711 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ARMTEST\" was never defined.
7712 Usually this means the macro was only invoked conditionally." >&5
7713 echo "$as_me: error: conditional \"BUILD_ARMTEST\" was never defined.
7714 Usually this means the macro was only invoked conditionally." >&2;}
7715 { (exit 1); exit 1; }; }
7718 : ${CONFIG_STATUS=./config.status}
7719 ac_clean_files_save=$ac_clean_files
7720 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7721 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7722 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7723 cat >$CONFIG_STATUS <<_ACEOF
7725 # Generated by $as_me.
7726 # Run this file to recreate the current configuration.
7727 # Compiler output produced by configure, useful for debugging
7728 # configure, is in config.log if it exists.
7733 SHELL=\${CONFIG_SHELL-$SHELL}
7736 cat >>$CONFIG_STATUS <<\_ACEOF
7737 ## --------------------- ##
7738 ## M4sh Initialization. ##
7739 ## --------------------- ##
7741 # Be more Bourne compatible
7742 DUALCASE=1; export DUALCASE # for MKS sh
7743 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7746 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7747 # is contrary to our usage. Disable this feature.
7748 alias -g '${1+"$@"}'='"$@"'
7749 setopt NO_GLOB_SUBST
7751 case `(set -o) 2>/dev/null` in
7752 *posix*) set -o posix ;;
7761 # Avoid depending upon Character Ranges.
7762 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7763 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7764 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7765 as_cr_digits='0123456789'
7766 as_cr_alnum=$as_cr_Letters$as_cr_digits
7768 # The user is always right.
7769 if test "${PATH_SEPARATOR+set}" != set; then
7770 echo "#! /bin/sh" >conf$$.sh
7771 echo "exit 0" >>conf$$.sh
7773 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7781 # Support unset when possible.
7782 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7790 # We need space, tab and new line, in precisely that order. Quoting is
7791 # there to prevent editors from complaining about space-tab.
7792 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7793 # splitting by setting IFS to empty value.)
7798 # Find who we are. Look in the path if we contain no directory separator.
7800 *[\\/]* ) as_myself=$0 ;;
7801 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7805 test -z "$as_dir" && as_dir=.
7806 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7812 # We did not find ourselves, most probably we were run as `sh COMMAND'
7813 # in which case we are not to be found in the path.
7814 if test "x$as_myself" = x; then
7817 if test ! -f "$as_myself"; then
7818 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7819 { (exit 1); exit 1; }
7822 # Work around bugs in pre-3.0 UWIN ksh.
7823 for as_var in ENV MAIL MAILPATH
7824 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7832 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7833 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7834 LC_TELEPHONE LC_TIME
7836 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7837 eval $as_var=C; export $as_var
7839 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7843 # Required to use basename.
7844 if expr a : '\(a\)' >/dev/null 2>&1 &&
7845 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7851 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7852 as_basename=basename
7858 # Name of the executable.
7859 as_me=`$as_basename -- "$0" ||
7860 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7861 X"$0" : 'X\(//\)$' \| \
7862 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7864 sed '/^.*\/\([^/][^/]*\)\/*$/{
7885 test "x$as_lineno_1" != "x$as_lineno_2" &&
7886 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7888 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7889 # uniformly replaced by the line number. The first 'sed' inserts a
7890 # line-number line after each line using $LINENO; the second 'sed'
7891 # does the real work. The second script uses 'N' to pair each
7892 # line-number line with the line containing $LINENO, and appends
7893 # trailing '-' during substitution so that $LINENO is not a special
7895 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7896 # scripts with optimization help from Paolo Bonzini. Blame Lee
7897 # E. McMahon (1931-1989) for sed's syntax. :-)
7909 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7913 chmod +x "$as_me.lineno" ||
7914 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7915 { (exit 1); exit 1; }; }
7917 # Don't try to exec as it changes $[0], causing all sort of problems
7918 # (the dirname of $[0] is not the place where we might find the
7919 # original and so on. Autoconf is especially sensitive to this).
7921 # Exit status is that of the last command.
7926 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7932 ECHO_C= ECHO_N= ECHO_T=
7935 case `echo 'x\c'` in
7936 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7943 if expr a : '\(a\)' >/dev/null 2>&1 &&
7944 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7950 rm -f conf$$ conf$$.exe conf$$.file
7951 if test -d conf$$.dir; then
7952 rm -f conf$$.dir/conf$$.file
7958 if ln -s conf$$.file conf$$ 2>/dev/null; then
7960 # ... but there are two gotchas:
7961 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7962 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7963 # In both cases, we have to default to `cp -p'.
7964 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7966 elif ln conf$$.file conf$$ 2>/dev/null; then
7971 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7972 rmdir conf$$.dir 2>/dev/null
7974 if mkdir -p . 2>/dev/null; then
7977 test -d ./-p && rmdir ./-p
7981 if test -x / >/dev/null 2>&1; then
7984 if ls -dL / >/dev/null 2>&1; then
7991 if test -d "$1"; then
7997 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7998 ???[sx]*):;;*)false;;esac;fi
8002 as_executable_p=$as_test_x
8004 # Sed expression to map a string onto a valid CPP name.
8005 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8007 # Sed expression to map a string onto a valid variable name.
8008 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8013 # Save the log message, to keep $[0] and so on meaningful, and to
8014 # report actual input values of CONFIG_FILES etc. instead of their
8015 # values after options handling.
8017 This file was extended by $as_me, which was
8018 generated by GNU Autoconf 2.61. Invocation command line was
8020 CONFIG_FILES = $CONFIG_FILES
8021 CONFIG_HEADERS = $CONFIG_HEADERS
8022 CONFIG_LINKS = $CONFIG_LINKS
8023 CONFIG_COMMANDS = $CONFIG_COMMANDS
8026 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8031 cat >>$CONFIG_STATUS <<_ACEOF
8032 # Files that config.status was made for.
8033 config_files="$ac_config_files"
8034 config_headers="$ac_config_headers"
8035 config_commands="$ac_config_commands"
8039 cat >>$CONFIG_STATUS <<\_ACEOF
8041 \`$as_me' instantiates files from templates according to the
8042 current configuration.
8044 Usage: $0 [OPTIONS] [FILE]...
8046 -h, --help print this help, then exit
8047 -V, --version print version number and configuration settings, then exit
8048 -q, --quiet do not print progress messages
8049 -d, --debug don't remove temporary files
8050 --recheck update $as_me by reconfiguring in the same conditions
8051 --file=FILE[:TEMPLATE]
8052 instantiate the configuration file FILE
8053 --header=FILE[:TEMPLATE]
8054 instantiate the configuration header FILE
8056 Configuration files:
8059 Configuration headers:
8062 Configuration commands:
8065 Report bugs to <bug-autoconf@gnu.org>."
8068 cat >>$CONFIG_STATUS <<_ACEOF
8071 configured by $0, generated by GNU Autoconf 2.61,
8072 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8074 Copyright (C) 2006 Free Software Foundation, Inc.
8075 This config.status script is free software; the Free Software Foundation
8076 gives unlimited permission to copy, distribute and modify it."
8083 cat >>$CONFIG_STATUS <<\_ACEOF
8084 # If no file are specified by the user, then we need to provide default
8085 # value. By we need to know if files were specified by the user.
8091 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8092 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8103 # Handling of the options.
8104 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8106 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8107 echo "$ac_cs_version"; exit ;;
8108 --debug | --debu | --deb | --de | --d | -d )
8110 --file | --fil | --fi | --f )
8112 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8113 ac_need_defaults=false;;
8114 --header | --heade | --head | --hea )
8116 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8117 ac_need_defaults=false;;
8119 # Conflict between --help and --header
8120 { echo "$as_me: error: ambiguous option: $1
8121 Try \`$0 --help' for more information." >&2
8122 { (exit 1); exit 1; }; };;
8123 --help | --hel | -h )
8124 echo "$ac_cs_usage"; exit ;;
8125 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8126 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8130 -*) { echo "$as_me: error: unrecognized option: $1
8131 Try \`$0 --help' for more information." >&2
8132 { (exit 1); exit 1; }; } ;;
8134 *) ac_config_targets="$ac_config_targets $1"
8135 ac_need_defaults=false ;;
8141 ac_configure_extra_args=
8143 if $ac_cs_silent; then
8145 ac_configure_extra_args="$ac_configure_extra_args --silent"
8149 cat >>$CONFIG_STATUS <<_ACEOF
8150 if \$ac_cs_recheck; then
8151 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8154 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8158 cat >>$CONFIG_STATUS <<\_ACEOF
8162 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8163 ## Running $as_me. ##
8169 cat >>$CONFIG_STATUS <<_ACEOF
8173 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8178 cat >>$CONFIG_STATUS <<\_ACEOF
8180 # Handling of arguments.
8181 for ac_config_target in $ac_config_targets
8183 case $ac_config_target in
8184 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8185 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8186 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8187 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8188 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8189 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
8190 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
8192 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8193 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8194 { (exit 1); exit 1; }; };;
8199 # If the user did not use the arguments to specify the items to instantiate,
8200 # then the envvar interface is used. Set only those that are not.
8201 # We use the long form for the default assignment because of an extremely
8202 # bizarre bug on SunOS 4.1.3.
8203 if $ac_need_defaults; then
8204 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8205 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8206 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8209 # Have a temporary directory for convenience. Make it in the build tree
8210 # simply because there is no reason against having it here, and in addition,
8211 # creating and moving files from /tmp can sometimes cause problems.
8212 # Hook for its removal unless debugging.
8213 # Note that there is a small window in which the directory will not be cleaned:
8214 # after its creation but before its name has been assigned to `$tmp'.
8218 trap 'exit_status=$?
8219 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8221 trap '{ (exit 1); exit 1; }' 1 2 13 15
8223 # Create a (secure) tmp directory for tmp files.
8226 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8227 test -n "$tmp" && test -d "$tmp"
8230 tmp=./conf$$-$RANDOM
8231 (umask 077 && mkdir "$tmp")
8234 echo "$me: cannot create a temporary directory in ." >&2
8235 { (exit 1); exit 1; }
8239 # Set up the sed scripts for CONFIG_FILES section.
8242 # No need to generate the scripts if there are no CONFIG_FILES.
8243 # This happens for instance when ./config.status config.h
8244 if test -n "$CONFIG_FILES"; then
8251 for ac_last_try in false false false false false :; do
8252 cat >conf$$subs.sed <<_ACEOF
8253 SHELL!$SHELL$ac_delim
8254 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
8255 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
8256 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
8257 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
8258 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
8259 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
8260 exec_prefix!$exec_prefix$ac_delim
8261 prefix!$prefix$ac_delim
8262 program_transform_name!$program_transform_name$ac_delim
8263 bindir!$bindir$ac_delim
8264 sbindir!$sbindir$ac_delim
8265 libexecdir!$libexecdir$ac_delim
8266 datarootdir!$datarootdir$ac_delim
8267 datadir!$datadir$ac_delim
8268 sysconfdir!$sysconfdir$ac_delim
8269 sharedstatedir!$sharedstatedir$ac_delim
8270 localstatedir!$localstatedir$ac_delim
8271 includedir!$includedir$ac_delim
8272 oldincludedir!$oldincludedir$ac_delim
8273 docdir!$docdir$ac_delim
8274 infodir!$infodir$ac_delim
8275 htmldir!$htmldir$ac_delim
8276 dvidir!$dvidir$ac_delim
8277 pdfdir!$pdfdir$ac_delim
8278 psdir!$psdir$ac_delim
8279 libdir!$libdir$ac_delim
8280 localedir!$localedir$ac_delim
8281 mandir!$mandir$ac_delim
8283 ECHO_C!$ECHO_C$ac_delim
8284 ECHO_N!$ECHO_N$ac_delim
8285 ECHO_T!$ECHO_T$ac_delim
8287 build_alias!$build_alias$ac_delim
8288 host_alias!$host_alias$ac_delim
8289 target_alias!$target_alias$ac_delim
8290 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
8291 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
8292 INSTALL_DATA!$INSTALL_DATA$ac_delim
8293 CYGPATH_W!$CYGPATH_W$ac_delim
8294 PACKAGE!$PACKAGE$ac_delim
8295 VERSION!$VERSION$ac_delim
8296 ACLOCAL!$ACLOCAL$ac_delim
8297 AUTOCONF!$AUTOCONF$ac_delim
8298 AUTOMAKE!$AUTOMAKE$ac_delim
8299 AUTOHEADER!$AUTOHEADER$ac_delim
8300 MAKEINFO!$MAKEINFO$ac_delim
8301 AMTAR!$AMTAR$ac_delim
8302 install_sh!$install_sh$ac_delim
8303 STRIP!$STRIP$ac_delim
8304 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
8306 SET_MAKE!$SET_MAKE$ac_delim
8307 am__leading_dot!$am__leading_dot$ac_delim
8308 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
8309 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
8310 MAINT!$MAINT$ac_delim
8312 CFLAGS!$CFLAGS$ac_delim
8313 LDFLAGS!$LDFLAGS$ac_delim
8314 CPPFLAGS!$CPPFLAGS$ac_delim
8315 ac_ct_CC!$ac_ct_CC$ac_delim
8316 EXEEXT!$EXEEXT$ac_delim
8317 OBJEXT!$OBJEXT$ac_delim
8318 DEPDIR!$DEPDIR$ac_delim
8319 am__include!$am__include$ac_delim
8320 am__quote!$am__quote$ac_delim
8321 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
8322 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
8323 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
8324 CCDEPMODE!$CCDEPMODE$ac_delim
8325 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
8326 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
8329 EGREP!$EGREP$ac_delim
8330 build!$build$ac_delim
8331 build_cpu!$build_cpu$ac_delim
8332 build_vendor!$build_vendor$ac_delim
8333 build_os!$build_os$ac_delim
8335 host_cpu!$host_cpu$ac_delim
8336 host_vendor!$host_vendor$ac_delim
8337 host_os!$host_os$ac_delim
8338 PKG_CONFIG!$PKG_CONFIG$ac_delim
8339 PACKAGE_CFLAGS!$PACKAGE_CFLAGS$ac_delim
8340 PACKAGE_LIBS!$PACKAGE_LIBS$ac_delim
8341 ESOUND_CFLAGS!$ESOUND_CFLAGS$ac_delim
8342 ESOUND_LIBS!$ESOUND_LIBS$ac_delim
8343 AUDIO_ESOUND_TRUE!$AUDIO_ESOUND_TRUE$ac_delim
8344 AUDIO_ESOUND_FALSE!$AUDIO_ESOUND_FALSE$ac_delim
8345 BUILD_SH4X86_TRUE!$BUILD_SH4X86_TRUE$ac_delim
8346 BUILD_SH4X86_FALSE!$BUILD_SH4X86_FALSE$ac_delim
8347 CDROM_LINUX_TRUE!$CDROM_LINUX_TRUE$ac_delim
8348 CDROM_LINUX_FALSE!$CDROM_LINUX_FALSE$ac_delim
8352 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
8354 elif $ac_last_try; then
8355 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8356 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8357 { (exit 1); exit 1; }; }
8359 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8363 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8364 if test -n "$ac_eof"; then
8365 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8366 ac_eof=`expr $ac_eof + 1`
8369 cat >>$CONFIG_STATUS <<_ACEOF
8370 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8371 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8374 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8375 s/^/s,@/; s/!/@,|#_!!_#|/
8378 s/'"$ac_delim"'$/,g/; t
8380 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8381 ' >>$CONFIG_STATUS <conf$$subs.sed
8382 rm -f conf$$subs.sed
8383 cat >>$CONFIG_STATUS <<_ACEOF
8389 for ac_last_try in false false false false false :; do
8390 cat >conf$$subs.sed <<_ACEOF
8392 SHOBJCOPY!$SHOBJCOPY$ac_delim
8393 ARMCC!$ARMCC$ac_delim
8394 ARMLD!$ARMLD$ac_delim
8395 ARMOBJCOPY!$ARMOBJCOPY$ac_delim
8396 BUILD_SYSTEST_TRUE!$BUILD_SYSTEST_TRUE$ac_delim
8397 BUILD_SYSTEST_FALSE!$BUILD_SYSTEST_FALSE$ac_delim
8398 BUILD_ARMTEST_TRUE!$BUILD_ARMTEST_TRUE$ac_delim
8399 BUILD_ARMTEST_FALSE!$BUILD_ARMTEST_FALSE$ac_delim
8400 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
8401 USE_NLS!$USE_NLS$ac_delim
8402 MSGFMT!$MSGFMT$ac_delim
8403 GMSGFMT!$GMSGFMT$ac_delim
8404 XGETTEXT!$XGETTEXT$ac_delim
8405 CATALOGS!$CATALOGS$ac_delim
8406 CATOBJEXT!$CATOBJEXT$ac_delim
8407 DATADIRNAME!$DATADIRNAME$ac_delim
8408 GMOFILES!$GMOFILES$ac_delim
8409 INSTOBJEXT!$INSTOBJEXT$ac_delim
8410 INTLLIBS!$INTLLIBS$ac_delim
8411 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
8412 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
8413 POFILES!$POFILES$ac_delim
8414 POSUB!$POSUB$ac_delim
8415 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
8416 LIBOBJS!$LIBOBJS$ac_delim
8417 LTLIBOBJS!$LTLIBOBJS$ac_delim
8420 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 27; then
8422 elif $ac_last_try; then
8423 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8424 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8425 { (exit 1); exit 1; }; }
8427 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8431 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8432 if test -n "$ac_eof"; then
8433 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8434 ac_eof=`expr $ac_eof + 1`
8437 cat >>$CONFIG_STATUS <<_ACEOF
8438 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
8439 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
8442 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8443 s/^/s,@/; s/!/@,|#_!!_#|/
8446 s/'"$ac_delim"'$/,g/; t
8448 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8449 ' >>$CONFIG_STATUS <conf$$subs.sed
8450 rm -f conf$$subs.sed
8451 cat >>$CONFIG_STATUS <<_ACEOF
8458 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8459 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8460 # trailing colons and then remove the whole line if VPATH becomes empty
8461 # (actually we leave an empty line to preserve line numbers).
8462 if test "x$srcdir" = x.; then
8463 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8467 s/^\([^=]*=[ ]*\):*/\1/
8473 cat >>$CONFIG_STATUS <<\_ACEOF
8474 fi # test -n "$CONFIG_FILES"
8477 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
8480 :[FHLC]) ac_mode=$ac_tag; continue;;
8482 case $ac_mode$ac_tag in
8484 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8485 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8486 { (exit 1); exit 1; }; };;
8487 :[FH]-) ac_tag=-:-;;
8488 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8505 -) ac_f="$tmp/stdin";;
8506 *) # Look for the file first in the build tree, then in the source tree
8507 # (if the path is not absolute). The absolute path cannot be DOS-style,
8508 # because $ac_f cannot contain `:'.
8512 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8514 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8515 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8516 { (exit 1); exit 1; }; };;
8518 ac_file_inputs="$ac_file_inputs $ac_f"
8521 # Let's still pretend it is `configure' which instantiates (i.e., don't
8522 # use $as_me), people would be surprised to read:
8523 # /* config.h. Generated by config.status. */
8524 configure_input="Generated from "`IFS=:
8525 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8526 if test x"$ac_file" != x-; then
8527 configure_input="$ac_file. $configure_input"
8528 { echo "$as_me:$LINENO: creating $ac_file" >&5
8529 echo "$as_me: creating $ac_file" >&6;}
8533 *:-:* | *:-) cat >"$tmp/stdin";;
8538 ac_dir=`$as_dirname -- "$ac_file" ||
8539 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8540 X"$ac_file" : 'X\(//\)[^/]' \| \
8541 X"$ac_file" : 'X\(//\)$' \| \
8542 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8563 -*) as_dir=./$as_dir;;
8565 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8569 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8570 *) as_qdir=$as_dir;;
8572 as_dirs="'$as_qdir' $as_dirs"
8573 as_dir=`$as_dirname -- "$as_dir" ||
8574 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8575 X"$as_dir" : 'X\(//\)[^/]' \| \
8576 X"$as_dir" : 'X\(//\)$' \| \
8577 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8596 test -d "$as_dir" && break
8598 test -z "$as_dirs" || eval "mkdir $as_dirs"
8599 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8600 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8601 { (exit 1); exit 1; }; }; }
8605 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8607 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8608 # A ".." for each directory in $ac_dir_suffix.
8609 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8610 case $ac_top_builddir_sub in
8611 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8612 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8615 ac_abs_top_builddir=$ac_pwd
8616 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8617 # for backward compatibility:
8618 ac_top_builddir=$ac_top_build_prefix
8621 .) # We are building in place.
8623 ac_top_srcdir=$ac_top_builddir_sub
8624 ac_abs_top_srcdir=$ac_pwd ;;
8625 [\\/]* | ?:[\\/]* ) # Absolute name.
8626 ac_srcdir=$srcdir$ac_dir_suffix;
8627 ac_top_srcdir=$srcdir
8628 ac_abs_top_srcdir=$srcdir ;;
8630 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8631 ac_top_srcdir=$ac_top_build_prefix$srcdir
8632 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8634 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8644 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8645 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8649 cat >>$CONFIG_STATUS <<\_ACEOF
8650 # If the template does not know about datarootdir, expand it.
8651 # FIXME: This hack should be removed a few years after 2.60.
8652 ac_datarootdir_hack=; ac_datarootdir_seen=
8654 case `sed -n '/datarootdir/ {
8663 ' $ac_file_inputs` in
8664 *datarootdir*) ac_datarootdir_seen=yes;;
8665 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8666 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8667 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8669 cat >>$CONFIG_STATUS <<_ACEOF
8670 ac_datarootdir_hack='
8671 s&@datadir@&$datadir&g
8672 s&@docdir@&$docdir&g
8673 s&@infodir@&$infodir&g
8674 s&@localedir@&$localedir&g
8675 s&@mandir@&$mandir&g
8676 s&\\\${datarootdir}&$datarootdir&g' ;;
8680 # Neutralize VPATH when `$srcdir' = `.'.
8681 # Shell code in configure.ac might set extrasub.
8682 # FIXME: do we really want to maintain this feature?
8683 cat >>$CONFIG_STATUS <<_ACEOF
8687 cat >>$CONFIG_STATUS <<\_ACEOF
8689 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8690 s&@configure_input@&$configure_input&;t t
8691 s&@top_builddir@&$ac_top_builddir_sub&;t t
8692 s&@srcdir@&$ac_srcdir&;t t
8693 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8694 s&@top_srcdir@&$ac_top_srcdir&;t t
8695 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8696 s&@builddir@&$ac_builddir&;t t
8697 s&@abs_builddir@&$ac_abs_builddir&;t t
8698 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8699 s&@INSTALL@&$ac_INSTALL&;t t
8700 $ac_datarootdir_hack
8701 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
8703 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8704 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8705 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8706 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8707 which seems to be undefined. Please make sure it is defined." >&5
8708 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8709 which seems to be undefined. Please make sure it is defined." >&2;}
8713 -) cat "$tmp/out"; rm -f "$tmp/out";;
8714 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8723 # Transform confdefs.h into a sed script `conftest.defines', that
8724 # substitutes the proper values into config.h.in to produce config.h.
8725 rm -f conftest.defines conftest.tail
8726 # First, append a space to every undef/define line, to ease matching.
8727 echo 's/$/ /' >conftest.defines
8728 # Then, protect against being on the right side of a sed subst, or in
8729 # an unquoted here document, in config.status. If some macros were
8730 # called several times there might be several #defines for the same
8731 # symbol, which is useless. But do not sort them, since the last
8732 # AC_DEFINE must be honored.
8733 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8734 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
8735 # NAME is the cpp macro being defined, VALUE is the value it is being given.
8736 # PARAMS is the parameter list in the macro definition--in most cases, it's
8737 # just an empty string.
8738 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8739 ac_dB='\\)[ (].*,\\1define\\2'
8747 s/^[ ]*#[ ]*define[ ][ ]*//
8752 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8753 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8754 ' >>conftest.defines
8756 # Remove the space that was appended to ease matching.
8757 # Then replace #undef with comments. This is necessary, for
8758 # example, in the case of _POSIX_SOURCE, which is predefined and required
8759 # on some systems where configure will not decide to define it.
8760 # (The regexp can be short, since the line contains either #define or #undef.)
8762 s,^[ #]*u.*,/* & */,' >>conftest.defines
8764 # Break up conftest.defines:
8767 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8768 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8769 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8771 ac_in='$ac_file_inputs'
8772 ac_out='"$tmp/out1"'
8773 ac_nxt='"$tmp/out2"'
8777 # Write a here document:
8778 cat >>$CONFIG_STATUS <<_ACEOF
8779 # First, check the format of the line:
8780 cat >"\$tmp/defines.sed" <<\\CEOF
8781 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8782 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8786 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
8788 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8789 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
8790 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
8791 grep . conftest.tail >/dev/null || break
8792 rm -f conftest.defines
8793 mv conftest.tail conftest.defines
8795 rm -f conftest.defines conftest.tail
8797 echo "ac_result=$ac_in" >>$CONFIG_STATUS
8798 cat >>$CONFIG_STATUS <<\_ACEOF
8799 if test x"$ac_file" != x-; then
8800 echo "/* $configure_input */" >"$tmp/config.h"
8801 cat "$ac_result" >>"$tmp/config.h"
8802 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
8803 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8804 echo "$as_me: $ac_file is unchanged" >&6;}
8807 mv "$tmp/config.h" $ac_file
8810 echo "/* $configure_input */"
8814 # Compute $ac_file's index in $config_headers.
8816 for _am_header in $config_headers :; do
8818 $ac_file | $ac_file:* )
8821 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8824 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
8825 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8826 X$ac_file : 'X\(//\)[^/]' \| \
8827 X$ac_file : 'X\(//\)$' \| \
8828 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
8830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8846 s/.*/./; q'`/stamp-h$_am_stamp_count
8849 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
8850 echo "$as_me: executing $ac_file commands" >&6;}
8855 case $ac_file$ac_mode in
8856 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8857 # Strip MF so we end up with the name of the file.
8858 mf=`echo "$mf" | sed -e 's/:.*$//'`
8859 # Check whether this is an Automake generated Makefile or not.
8860 # We used to match only the files named `Makefile.in', but
8861 # some people rename them; so instead we look at the file content.
8862 # Grep'ing the first line is not enough: some people post-process
8863 # each Makefile.in and add a new line on top of each file to say so.
8864 # So let's grep whole file.
8865 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8866 dirpart=`$as_dirname -- "$mf" ||
8867 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8868 X"$mf" : 'X\(//\)[^/]' \| \
8869 X"$mf" : 'X\(//\)$' \| \
8870 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8892 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
8893 # Extract the definition of DEP_FILES from the Makefile without
8895 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
8896 test -z "$DEPDIR" && continue
8897 # When using ansi2knr, U may be empty or an underscore; expand it
8898 U=`sed -n -e '/^U = / s///p' < "$mf"`
8899 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
8900 # We invoke sed twice because it is the simplest approach to
8901 # changing $(DEPDIR) to its actual value in the expansion.
8902 for file in `sed -n -e '
8903 /^DEP_FILES = .*\\\\$/ {
8912 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
8913 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8914 # Make sure the directory exists.
8915 test -f "$dirpart/$file" && continue
8916 fdir=`$as_dirname -- "$file" ||
8917 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8918 X"$file" : 'X\(//\)[^/]' \| \
8919 X"$file" : 'X\(//\)$' \| \
8920 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8939 { as_dir=$dirpart/$fdir
8941 -*) as_dir=./$as_dir;;
8943 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8947 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8948 *) as_qdir=$as_dir;;
8950 as_dirs="'$as_qdir' $as_dirs"
8951 as_dir=`$as_dirname -- "$as_dir" ||
8952 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8953 X"$as_dir" : 'X\(//\)[^/]' \| \
8954 X"$as_dir" : 'X\(//\)$' \| \
8955 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8974 test -d "$as_dir" && break
8976 test -z "$as_dirs" || eval "mkdir $as_dirs"
8977 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8978 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8979 { (exit 1); exit 1; }; }; }
8980 # echo "creating $dirpart/$file"
8981 echo '# dummy' > "$dirpart/$file"
8985 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
8986 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
8993 { (exit 0); exit 0; }
8995 chmod +x $CONFIG_STATUS
8996 ac_clean_files=$ac_clean_files_save
8999 # configure is writing to config.log, and then calls config.status.
9000 # config.status does its own redirection, appending to config.log.
9001 # Unfortunately, on DOS this fails, as config.log is still kept open
9002 # by configure, so config.status won't be able to write to it; its
9003 # output is simply discarded. So we exec the FD to /dev/null,
9004 # effectively closing config.log, so it can be properly (re)opened and
9005 # appended to by config.status. When coming back to configure, we
9006 # need to make the FD available again.
9007 if test "$no_create" != yes; then
9009 ac_config_status_args=
9010 test "$silent" = yes &&
9011 ac_config_status_args="$ac_config_status_args --quiet"
9013 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9015 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9016 # would make configure fail if this is the last instruction.
9017 $ac_cs_success || { (exit 1); exit 1; }
.