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="Makefile.am"
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
720 ac_precious_vars='build_alias
731 # Initialize some variables set by options.
733 ac_init_version=false
734 # The variables have the same names as the options, with
735 # dashes changed to underlines.
743 program_transform_name=s,x,x,
751 # Installation directory options.
752 # These are left unexpanded so users can "make install exec_prefix=/foo"
753 # and all the variables that are supposed to be based on exec_prefix
754 # by default will actually change.
755 # Use braces instead of parens because sh, perl, etc. also accept them.
756 # (The list follows the same order as the GNU Coding Standards.)
757 bindir='${exec_prefix}/bin'
758 sbindir='${exec_prefix}/sbin'
759 libexecdir='${exec_prefix}/libexec'
760 datarootdir='${prefix}/share'
761 datadir='${datarootdir}'
762 sysconfdir='${prefix}/etc'
763 sharedstatedir='${prefix}/com'
764 localstatedir='${prefix}/var'
765 includedir='${prefix}/include'
766 oldincludedir='/usr/include'
767 docdir='${datarootdir}/doc/${PACKAGE}'
768 infodir='${datarootdir}/info'
773 libdir='${exec_prefix}/lib'
774 localedir='${datarootdir}/locale'
775 mandir='${datarootdir}/man'
781 # If the previous option needs an argument, assign it.
782 if test -n "$ac_prev"; then
783 eval $ac_prev=\$ac_option
789 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
793 # Accept the important Cygnus configure options, so we can diagnose typos.
795 case $ac_dashdash$ac_option in
799 -bindir | --bindir | --bindi | --bind | --bin | --bi)
801 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
804 -build | --build | --buil | --bui | --bu)
805 ac_prev=build_alias ;;
806 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
807 build_alias=$ac_optarg ;;
809 -cache-file | --cache-file | --cache-fil | --cache-fi \
810 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
811 ac_prev=cache_file ;;
812 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
813 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
814 cache_file=$ac_optarg ;;
817 cache_file=config.cache ;;
819 -datadir | --datadir | --datadi | --datad)
821 -datadir=* | --datadir=* | --datadi=* | --datad=*)
822 datadir=$ac_optarg ;;
824 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
825 | --dataroo | --dataro | --datar)
826 ac_prev=datarootdir ;;
827 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
828 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
829 datarootdir=$ac_optarg ;;
831 -disable-* | --disable-*)
832 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
833 # Reject names that are not valid shell variable names.
834 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
835 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
836 { (exit 1); exit 1; }; }
837 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
838 eval enable_$ac_feature=no ;;
840 -docdir | --docdir | --docdi | --doc | --do)
842 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
845 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
847 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
850 -enable-* | --enable-*)
851 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
852 # Reject names that are not valid shell variable names.
853 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
854 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
855 { (exit 1); exit 1; }; }
856 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
857 eval enable_$ac_feature=\$ac_optarg ;;
859 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
860 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
861 | --exec | --exe | --ex)
862 ac_prev=exec_prefix ;;
863 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
864 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
865 | --exec=* | --exe=* | --ex=*)
866 exec_prefix=$ac_optarg ;;
868 -gas | --gas | --ga | --g)
869 # Obsolete; use --with-gas.
872 -help | --help | --hel | --he | -h)
874 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
875 ac_init_help=recursive ;;
876 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
877 ac_init_help=short ;;
879 -host | --host | --hos | --ho)
880 ac_prev=host_alias ;;
881 -host=* | --host=* | --hos=* | --ho=*)
882 host_alias=$ac_optarg ;;
884 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
886 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
888 htmldir=$ac_optarg ;;
890 -includedir | --includedir | --includedi | --included | --include \
891 | --includ | --inclu | --incl | --inc)
892 ac_prev=includedir ;;
893 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
894 | --includ=* | --inclu=* | --incl=* | --inc=*)
895 includedir=$ac_optarg ;;
897 -infodir | --infodir | --infodi | --infod | --info | --inf)
899 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
900 infodir=$ac_optarg ;;
902 -libdir | --libdir | --libdi | --libd)
904 -libdir=* | --libdir=* | --libdi=* | --libd=*)
907 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
908 | --libexe | --libex | --libe)
909 ac_prev=libexecdir ;;
910 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
911 | --libexe=* | --libex=* | --libe=*)
912 libexecdir=$ac_optarg ;;
914 -localedir | --localedir | --localedi | --localed | --locale)
916 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
917 localedir=$ac_optarg ;;
919 -localstatedir | --localstatedir | --localstatedi | --localstated \
920 | --localstate | --localstat | --localsta | --localst | --locals)
921 ac_prev=localstatedir ;;
922 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
923 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
924 localstatedir=$ac_optarg ;;
926 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
928 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
932 # Obsolete; use --without-fp.
935 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
936 | --no-cr | --no-c | -n)
939 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
940 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
943 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
944 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
945 | --oldin | --oldi | --old | --ol | --o)
946 ac_prev=oldincludedir ;;
947 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
948 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
949 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
950 oldincludedir=$ac_optarg ;;
952 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
954 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
957 -program-prefix | --program-prefix | --program-prefi | --program-pref \
958 | --program-pre | --program-pr | --program-p)
959 ac_prev=program_prefix ;;
960 -program-prefix=* | --program-prefix=* | --program-prefi=* \
961 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
962 program_prefix=$ac_optarg ;;
964 -program-suffix | --program-suffix | --program-suffi | --program-suff \
965 | --program-suf | --program-su | --program-s)
966 ac_prev=program_suffix ;;
967 -program-suffix=* | --program-suffix=* | --program-suffi=* \
968 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
969 program_suffix=$ac_optarg ;;
971 -program-transform-name | --program-transform-name \
972 | --program-transform-nam | --program-transform-na \
973 | --program-transform-n | --program-transform- \
974 | --program-transform | --program-transfor \
975 | --program-transfo | --program-transf \
976 | --program-trans | --program-tran \
977 | --progr-tra | --program-tr | --program-t)
978 ac_prev=program_transform_name ;;
979 -program-transform-name=* | --program-transform-name=* \
980 | --program-transform-nam=* | --program-transform-na=* \
981 | --program-transform-n=* | --program-transform-=* \
982 | --program-transform=* | --program-transfor=* \
983 | --program-transfo=* | --program-transf=* \
984 | --program-trans=* | --program-tran=* \
985 | --progr-tra=* | --program-tr=* | --program-t=*)
986 program_transform_name=$ac_optarg ;;
988 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
990 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
993 -psdir | --psdir | --psdi | --psd | --ps)
995 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
998 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
999 | -silent | --silent | --silen | --sile | --sil)
1002 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1004 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1006 sbindir=$ac_optarg ;;
1008 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1009 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1010 | --sharedst | --shareds | --shared | --share | --shar \
1012 ac_prev=sharedstatedir ;;
1013 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1014 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1015 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1017 sharedstatedir=$ac_optarg ;;
1019 -site | --site | --sit)
1021 -site=* | --site=* | --sit=*)
1024 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1026 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1027 srcdir=$ac_optarg ;;
1029 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1030 | --syscon | --sysco | --sysc | --sys | --sy)
1031 ac_prev=sysconfdir ;;
1032 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1033 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1034 sysconfdir=$ac_optarg ;;
1036 -target | --target | --targe | --targ | --tar | --ta | --t)
1037 ac_prev=target_alias ;;
1038 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1039 target_alias=$ac_optarg ;;
1041 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1044 -version | --version | --versio | --versi | --vers | -V)
1045 ac_init_version=: ;;
1048 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1049 # Reject names that are not valid shell variable names.
1050 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1051 { echo "$as_me: error: invalid package name: $ac_package" >&2
1052 { (exit 1); exit 1; }; }
1053 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1054 eval with_$ac_package=\$ac_optarg ;;
1056 -without-* | --without-*)
1057 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1060 { echo "$as_me: error: invalid package name: $ac_package" >&2
1061 { (exit 1); exit 1; }; }
1062 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1063 eval with_$ac_package=no ;;
1066 # Obsolete; use --with-x.
1069 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1070 | --x-incl | --x-inc | --x-in | --x-i)
1071 ac_prev=x_includes ;;
1072 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1073 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1074 x_includes=$ac_optarg ;;
1076 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1077 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1078 ac_prev=x_libraries ;;
1079 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1080 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1081 x_libraries=$ac_optarg ;;
1083 -*) { echo "$as_me: error: unrecognized option: $ac_option
1084 Try \`$0 --help' for more information." >&2
1085 { (exit 1); exit 1; }; }
1089 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1092 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1093 { (exit 1); exit 1; }; }
1094 eval $ac_envvar=\$ac_optarg
1095 export $ac_envvar ;;
1098 # FIXME: should be removed in autoconf 3.0.
1099 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1100 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1101 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1102 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1108 if test -n "$ac_prev"; then
1109 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1110 { echo "$as_me: error: missing argument to $ac_option" >&2
1111 { (exit 1); exit 1; }; }
1114 # Be sure to have absolute directory names.
1115 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1116 datadir sysconfdir sharedstatedir localstatedir includedir \
1117 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1118 libdir localedir mandir
1120 eval ac_val=\$$ac_var
1122 [\\/$]* | ?:[\\/]* ) continue;;
1123 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1125 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1126 { (exit 1); exit 1; }; }
1129 # There might be people who depend on the old broken behavior: `$host'
1130 # used to hold the argument of --host etc.
1131 # FIXME: To remove some day.
1134 target=$target_alias
1136 # FIXME: To remove some day.
1137 if test "x$host_alias" != x; then
1138 if test "x$build_alias" = x; then
1139 cross_compiling=maybe
1140 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1141 If a cross compiler is detected then cross compile mode will be used." >&2
1142 elif test "x$build_alias" != "x$host_alias"; then
1148 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1150 test "$silent" = yes && exec 6>/dev/null
1153 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1154 ac_ls_di=`ls -di .` &&
1155 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1156 { echo "$as_me: error: Working directory cannot be determined" >&2
1157 { (exit 1); exit 1; }; }
1158 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1159 { echo "$as_me: error: pwd does not report name of working directory" >&2
1160 { (exit 1); exit 1; }; }
1163 # Find the source files, if location was not specified.
1164 if test -z "$srcdir"; then
1165 ac_srcdir_defaulted=yes
1166 # Try the directory containing this script, then the parent directory.
1167 ac_confdir=`$as_dirname -- "$0" ||
1168 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1169 X"$0" : 'X\(//\)[^/]' \| \
1170 X"$0" : 'X\(//\)$' \| \
1171 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1191 if test ! -r "$srcdir/$ac_unique_file"; then
1195 ac_srcdir_defaulted=no
1197 if test ! -r "$srcdir/$ac_unique_file"; then
1198 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1199 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1200 { (exit 1); exit 1; }; }
1202 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1204 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1205 { (exit 1); exit 1; }; }
1207 # When building in place, set srcdir=.
1208 if test "$ac_abs_confdir" = "$ac_pwd"; then
1211 # Remove unnecessary trailing slashes from srcdir.
1212 # Double slashes in file names in object file debugging info
1213 # mess up M-x gdb in Emacs.
1215 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1217 for ac_var in $ac_precious_vars; do
1218 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1219 eval ac_env_${ac_var}_value=\$${ac_var}
1220 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1221 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1225 # Report the --help message.
1227 if test "$ac_init_help" = "long"; then
1228 # Omit some internal or obsolete options to make the list less imposing.
1229 # This message is too long to be a string in the A/UX 3.1 sh.
1231 \`configure' configures this package to adapt to many kinds of systems.
1233 Usage: $0 [OPTION]... [VAR=VALUE]...
1235 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1236 VAR=VALUE. See below for descriptions of some of the useful variables.
1238 Defaults for the options are specified in brackets.
1241 -h, --help display this help and exit
1242 --help=short display options specific to this package
1243 --help=recursive display the short help of all the included packages
1244 -V, --version display version information and exit
1245 -q, --quiet, --silent do not print \`checking...' messages
1246 --cache-file=FILE cache test results in FILE [disabled]
1247 -C, --config-cache alias for \`--cache-file=config.cache'
1248 -n, --no-create do not create output files
1249 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1251 Installation directories:
1252 --prefix=PREFIX install architecture-independent files in PREFIX
1253 [$ac_default_prefix]
1254 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1257 By default, \`make install' will install all the files in
1258 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1259 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1260 for instance \`--prefix=\$HOME'.
1262 For better control, use the options below.
1264 Fine tuning of the installation directories:
1265 --bindir=DIR user executables [EPREFIX/bin]
1266 --sbindir=DIR system admin executables [EPREFIX/sbin]
1267 --libexecdir=DIR program executables [EPREFIX/libexec]
1268 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1269 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1270 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1271 --libdir=DIR object code libraries [EPREFIX/lib]
1272 --includedir=DIR C header files [PREFIX/include]
1273 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1274 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1275 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1276 --infodir=DIR info documentation [DATAROOTDIR/info]
1277 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1278 --mandir=DIR man documentation [DATAROOTDIR/man]
1279 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1280 --htmldir=DIR html documentation [DOCDIR]
1281 --dvidir=DIR dvi documentation [DOCDIR]
1282 --pdfdir=DIR pdf documentation [DOCDIR]
1283 --psdir=DIR ps documentation [DOCDIR]
1289 --program-prefix=PREFIX prepend PREFIX to installed program names
1290 --program-suffix=SUFFIX append SUFFIX to installed program names
1291 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1294 --build=BUILD configure for building on BUILD [guessed]
1295 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1299 if test -n "$ac_init_help"; then
1304 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1305 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1306 --disable-dependency-tracking Speeds up one-time builds
1307 --enable-dependency-tracking Do not reject slow dependency extractors
1309 Some influential environment variables:
1310 CC C compiler command
1311 CFLAGS C compiler flags
1312 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1313 nonstandard directory <lib dir>
1314 LIBS libraries to pass to the linker, e.g. -l<library>
1315 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1316 you have headers in a nonstandard directory <include dir>
1319 Use these variables to override the choices made by `configure' or to help
1320 it to find libraries and programs with nonstandard names/locations.
1326 if test "$ac_init_help" = "recursive"; then
1327 # If there are subdirs, report their specific --help.
1328 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1329 test -d "$ac_dir" || continue
1333 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1335 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1336 # A ".." for each directory in $ac_dir_suffix.
1337 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1338 case $ac_top_builddir_sub in
1339 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1343 ac_abs_top_builddir=$ac_pwd
1344 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1345 # for backward compatibility:
1346 ac_top_builddir=$ac_top_build_prefix
1349 .) # We are building in place.
1351 ac_top_srcdir=$ac_top_builddir_sub
1352 ac_abs_top_srcdir=$ac_pwd ;;
1353 [\\/]* | ?:[\\/]* ) # Absolute name.
1354 ac_srcdir=$srcdir$ac_dir_suffix;
1355 ac_top_srcdir=$srcdir
1356 ac_abs_top_srcdir=$srcdir ;;
1358 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1359 ac_top_srcdir=$ac_top_build_prefix$srcdir
1360 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1362 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1364 cd "$ac_dir" || { ac_status=$?; continue; }
1365 # Check for guested configure.
1366 if test -f "$ac_srcdir/configure.gnu"; then
1368 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1369 elif test -f "$ac_srcdir/configure"; then
1371 $SHELL "$ac_srcdir/configure" --help=recursive
1373 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1375 cd "$ac_pwd" || { ac_status=$?; break; }
1379 test -n "$ac_init_help" && exit $ac_status
1380 if $ac_init_version; then
1383 generated by GNU Autoconf 2.61
1385 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1386 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1387 This configure script is free software; the Free Software Foundation
1388 gives unlimited permission to copy, distribute and modify it.
1392 cat >config.log <<_ACEOF
1393 This file contains any messages produced by compilers while
1394 running configure, to aid debugging if configure makes a mistake.
1396 It was created by $as_me, which was
1397 generated by GNU Autoconf 2.61. Invocation command line was
1409 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1410 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1411 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1412 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1413 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1415 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1416 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1418 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1419 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1420 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1421 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1422 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1423 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1424 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1432 test -z "$as_dir" && as_dir=.
1433 echo "PATH: $as_dir"
1449 # Keep a trace of the command line.
1450 # Strip out --no-create and --no-recursion so they do not pile up.
1451 # Strip out --silent because we don't want to record it for future runs.
1452 # Also quote any args containing shell meta-characters.
1453 # Make two passes to allow for proper duplicate-argument suppression.
1457 ac_must_keep_next=false
1463 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1464 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1465 | -silent | --silent | --silen | --sile | --sil)
1468 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1471 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1473 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1474 if test $ac_must_keep_next = true; then
1475 ac_must_keep_next=false # Got value, back to normal.
1478 *=* | --config-cache | -C | -disable-* | --disable-* \
1479 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1480 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1481 | -with-* | --with-* | -without-* | --without-* | --x)
1482 case "$ac_configure_args0 " in
1483 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1486 -* ) ac_must_keep_next=true ;;
1489 ac_configure_args="$ac_configure_args '$ac_arg'"
1494 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1495 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1497 # When interrupted or exit'd, cleanup temporary files, and complete
1498 # config.log. We remove comments because anyway the quotes in there
1499 # would cause problems or look ugly.
1500 # WARNING: Use '\'' to represent an apostrophe within the trap.
1501 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1502 trap 'exit_status=$?
1503 # Save into config.log some information that might help in debugging.
1508 ## ---------------- ##
1509 ## Cache variables. ##
1510 ## ---------------- ##
1513 # The following way of writing the cache mishandles newlines in values,
1515 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1516 eval ac_val=\$$ac_var
1520 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1521 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1524 _ | IFS | as_nl) ;; #(
1525 *) $as_unset $ac_var ;;
1530 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1531 *${as_nl}ac_space=\ *)
1533 "s/'\''/'\''\\\\'\'''\''/g;
1534 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1537 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1545 ## ----------------- ##
1546 ## Output variables. ##
1547 ## ----------------- ##
1550 for ac_var in $ac_subst_vars
1552 eval ac_val=\$$ac_var
1554 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1556 echo "$ac_var='\''$ac_val'\''"
1560 if test -n "$ac_subst_files"; then
1562 ## ------------------- ##
1563 ## File substitutions. ##
1564 ## ------------------- ##
1567 for ac_var in $ac_subst_files
1569 eval ac_val=\$$ac_var
1571 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1573 echo "$ac_var='\''$ac_val'\''"
1578 if test -s confdefs.h; then
1588 test "$ac_signal" != 0 &&
1589 echo "$as_me: caught signal $ac_signal"
1590 echo "$as_me: exit $exit_status"
1592 rm -f core *.core core.conftest.* &&
1593 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1596 for ac_signal in 1 2 13 15; do
1597 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1601 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1602 rm -f -r conftest* confdefs.h
1604 # Predefined preprocessor variables.
1606 cat >>confdefs.h <<_ACEOF
1607 #define PACKAGE_NAME "$PACKAGE_NAME"
1611 cat >>confdefs.h <<_ACEOF
1612 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1616 cat >>confdefs.h <<_ACEOF
1617 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1621 cat >>confdefs.h <<_ACEOF
1622 #define PACKAGE_STRING "$PACKAGE_STRING"
1626 cat >>confdefs.h <<_ACEOF
1627 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1631 # Let the site file select an alternate cache file if it wants to.
1632 # Prefer explicitly selected file to automatically selected ones.
1633 if test -n "$CONFIG_SITE"; then
1634 set x "$CONFIG_SITE"
1635 elif test "x$prefix" != xNONE; then
1636 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1638 set x "$ac_default_prefix/share/config.site" \
1639 "$ac_default_prefix/etc/config.site"
1644 if test -r "$ac_site_file"; then
1645 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1646 echo "$as_me: loading site script $ac_site_file" >&6;}
1647 sed 's/^/| /' "$ac_site_file" >&5
1652 if test -r "$cache_file"; then
1653 # Some versions of bash will fail to source /dev/null (special
1654 # files actually), so we avoid doing that.
1655 if test -f "$cache_file"; then
1656 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1657 echo "$as_me: loading cache $cache_file" >&6;}
1659 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1660 *) . "./$cache_file";;
1664 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1665 echo "$as_me: creating cache $cache_file" >&6;}
1669 # Check that the precious variables saved in the cache have kept the same
1671 ac_cache_corrupted=false
1672 for ac_var in $ac_precious_vars; do
1673 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1674 eval ac_new_set=\$ac_env_${ac_var}_set
1675 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1676 eval ac_new_val=\$ac_env_${ac_var}_value
1677 case $ac_old_set,$ac_new_set in
1679 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1680 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1681 ac_cache_corrupted=: ;;
1683 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1684 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1685 ac_cache_corrupted=: ;;
1688 if test "x$ac_old_val" != "x$ac_new_val"; then
1689 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1690 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1691 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1692 echo "$as_me: former value: $ac_old_val" >&2;}
1693 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1694 echo "$as_me: current value: $ac_new_val" >&2;}
1695 ac_cache_corrupted=:
1698 # Pass precious variables to config.status.
1699 if test "$ac_new_set" = set; then
1701 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1702 *) ac_arg=$ac_var=$ac_new_val ;;
1704 case " $ac_configure_args " in
1705 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1706 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1710 if $ac_cache_corrupted; then
1711 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1712 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1713 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1714 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1715 { (exit 1); exit 1; }; }
1735 ac_cpp='$CPP $CPPFLAGS'
1736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1741 am__api_version="1.7"
1743 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1744 if test -f "$ac_dir/install-sh"; then
1746 ac_install_sh="$ac_aux_dir/install-sh -c"
1748 elif test -f "$ac_dir/install.sh"; then
1750 ac_install_sh="$ac_aux_dir/install.sh -c"
1752 elif test -f "$ac_dir/shtool"; then
1754 ac_install_sh="$ac_aux_dir/shtool install -c"
1758 if test -z "$ac_aux_dir"; then
1759 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1760 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1761 { (exit 1); exit 1; }; }
1764 # These three variables are undocumented and unsupported,
1765 # and are intended to be withdrawn in a future Autoconf release.
1766 # They can cause serious problems if a builder's source tree is in a directory
1767 # whose full name contains unusual characters.
1768 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1769 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1770 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1773 # Find a good install program. We prefer a C program (faster),
1774 # so one script is as good as another. But avoid the broken or
1775 # incompatible versions:
1776 # SysV /etc/install, /usr/sbin/install
1777 # SunOS /usr/etc/install
1778 # IRIX /sbin/install
1780 # AmigaOS /C/install, which installs bootblocks on floppy discs
1781 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1782 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1783 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1784 # OS/2's system install, which has a completely different semantic
1785 # ./install, which can be erroneously created by make from ./install.sh.
1786 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1787 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1788 if test -z "$INSTALL"; then
1789 if test "${ac_cv_path_install+set}" = set; then
1790 echo $ECHO_N "(cached) $ECHO_C" >&6
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1796 test -z "$as_dir" && as_dir=.
1797 # Account for people who put trailing slashes in PATH elements.
1799 ./ | .// | /cC/* | \
1800 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1801 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1804 # OSF1 and SCO ODT 3.0 have their own names for install.
1805 # Don't use installbsd from OSF since it installs stuff as root
1807 for ac_prog in ginstall scoinst install; do
1808 for ac_exec_ext in '' $ac_executable_extensions; do
1809 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1810 if test $ac_prog = install &&
1811 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1812 # AIX install. It has an incompatible calling convention.
1814 elif test $ac_prog = install &&
1815 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1816 # program-specific install script used by HP pwplus--don't use.
1819 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1832 if test "${ac_cv_path_install+set}" = set; then
1833 INSTALL=$ac_cv_path_install
1835 # As a last resort, use the slow shell script. Don't cache a
1836 # value for INSTALL within a source directory, because that will
1837 # break other packages using the cache if that directory is
1838 # removed, or if the value is a relative name.
1839 INSTALL=$ac_install_sh
1842 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1843 echo "${ECHO_T}$INSTALL" >&6; }
1845 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1846 # It thinks the first close brace ends the variable substitution.
1847 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1849 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1851 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1853 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1854 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1857 echo timestamp > conftest.file
1858 # Do `set' in a subshell so we don't clobber the current shell's
1859 # arguments. Must try -L first in case configure is actually a
1860 # symlink; some systems play weird games with the mod time of symlinks
1861 # (eg FreeBSD returns the mod time of the symlink's containing
1864 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1865 if test "$*" = "X"; then
1867 set X `ls -t $srcdir/configure conftest.file`
1870 if test "$*" != "X $srcdir/configure conftest.file" \
1871 && test "$*" != "X conftest.file $srcdir/configure"; then
1873 # If neither matched, then we have a broken ls. This can happen
1874 # if, for instance, CONFIG_SHELL is bash and it inherits a
1875 # broken ls alias from the environment. This has actually
1876 # happened. Such a system could not be considered "sane".
1877 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1878 alias in your environment" >&5
1879 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1880 alias in your environment" >&2;}
1881 { (exit 1); exit 1; }; }
1884 test "$2" = conftest.file
1890 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1891 Check your system clock" >&5
1892 echo "$as_me: error: newly created file is older than distributed files!
1893 Check your system clock" >&2;}
1894 { (exit 1); exit 1; }; }
1896 { echo "$as_me:$LINENO: result: yes" >&5
1897 echo "${ECHO_T}yes" >&6; }
1898 test "$program_prefix" != NONE &&
1899 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1900 # Use a double $ so make ignores it.
1901 test "$program_suffix" != NONE &&
1902 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1903 # Double any \ or $. echo might interpret backslashes.
1904 # By default was `s,x,x', remove it if useless.
1905 cat <<\_ACEOF >conftest.sed
1906 s/[\\$]/&&/g;s/;s,x,x,$//
1908 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1912 # expand $ac_aux_dir to an absolute path
1913 am_aux_dir=`cd $ac_aux_dir && pwd`
1915 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1916 # Use eval to expand $SHELL
1917 if eval "$MISSING --run true"; then
1918 am_missing_run="$MISSING --run "
1921 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1922 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1925 for ac_prog in gawk mawk nawk awk
1927 # Extract the first word of "$ac_prog", so it can be a program name with args.
1928 set dummy $ac_prog; ac_word=$2
1929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1931 if test "${ac_cv_prog_AWK+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 if test -n "$AWK"; then
1935 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1944 ac_cv_prog_AWK="$ac_prog"
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1955 if test -n "$AWK"; then
1956 { echo "$as_me:$LINENO: result: $AWK" >&5
1957 echo "${ECHO_T}$AWK" >&6; }
1959 { echo "$as_me:$LINENO: result: no" >&5
1960 echo "${ECHO_T}no" >&6; }
1964 test -n "$AWK" && break
1967 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1968 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1969 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1970 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 cat >conftest.make <<\_ACEOF
1976 @echo '@@@%%%=$(MAKE)=@@@%%%'
1978 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1979 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1981 eval ac_cv_prog_make_${ac_make}_set=yes;;
1983 eval ac_cv_prog_make_${ac_make}_set=no;;
1987 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1988 { echo "$as_me:$LINENO: result: yes" >&5
1989 echo "${ECHO_T}yes" >&6; }
1992 { echo "$as_me:$LINENO: result: no" >&5
1993 echo "${ECHO_T}no" >&6; }
1994 SET_MAKE="MAKE=${MAKE-make}"
1997 rm -rf .tst 2>/dev/null
1998 mkdir .tst 2>/dev/null
1999 if test -d .tst; then
2004 rmdir .tst 2>/dev/null
2006 # test to see if srcdir already configured
2007 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2008 test -f $srcdir/config.status; then
2009 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2010 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2011 { (exit 1); exit 1; }; }
2014 # test whether we have cygpath
2015 if test -z "$CYGPATH_W"; then
2016 if (cygpath --version) >/dev/null 2>/dev/null; then
2017 CYGPATH_W='cygpath -w'
2024 # Define the identity of the package.
2026 VERSION=`date +%Y%m%d`
2029 cat >>confdefs.h <<_ACEOF
2030 #define PACKAGE "$PACKAGE"
2034 cat >>confdefs.h <<_ACEOF
2035 #define VERSION "$VERSION"
2038 # Some tools Automake needs.
2040 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2043 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2046 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2049 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2052 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2055 AMTAR=${AMTAR-"${am_missing_run}tar"}
2057 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2059 # Installed binaries are usually stripped using `strip' when the user
2060 # run `make install-strip'. However `strip' might not be the right
2061 # tool to use in cross-compilation environments, therefore Automake
2062 # will honor the `STRIP' environment variable to overrule this program.
2063 if test "$cross_compiling" != no; then
2064 if test -n "$ac_tool_prefix"; then
2065 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2066 set dummy ${ac_tool_prefix}strip; ac_word=$2
2067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2069 if test "${ac_cv_prog_STRIP+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2072 if test -n "$STRIP"; then
2073 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2082 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 STRIP=$ac_cv_prog_STRIP
2093 if test -n "$STRIP"; then
2094 { echo "$as_me:$LINENO: result: $STRIP" >&5
2095 echo "${ECHO_T}$STRIP" >&6; }
2097 { echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6; }
2103 if test -z "$ac_cv_prog_STRIP"; then
2105 # Extract the first word of "strip", so it can be a program name with args.
2106 set dummy strip; ac_word=$2
2107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2109 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 if test -n "$ac_ct_STRIP"; then
2113 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2119 test -z "$as_dir" && as_dir=.
2120 for ac_exec_ext in '' $ac_executable_extensions; do
2121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2122 ac_cv_prog_ac_ct_STRIP="strip"
2123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2132 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2133 if test -n "$ac_ct_STRIP"; then
2134 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2135 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2137 { echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6; }
2141 if test "x$ac_ct_STRIP" = x; then
2144 case $cross_compiling:$ac_tool_warned in
2146 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2147 whose name does not start with the host triplet. If you think this
2148 configuration is useful to you, please write to autoconf@gnu.org." >&5
2149 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2150 whose name does not start with the host triplet. If you think this
2151 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2152 ac_tool_warned=yes ;;
2157 STRIP="$ac_cv_prog_STRIP"
2161 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2163 # We need awk for the "check" target. The system "awk" is bad on
2169 # Make sure we can run config.sub.
2170 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2171 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2172 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2173 { (exit 1); exit 1; }; }
2175 { echo "$as_me:$LINENO: checking build system type" >&5
2176 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2177 if test "${ac_cv_build+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 ac_build_alias=$build_alias
2181 test "x$ac_build_alias" = x &&
2182 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2183 test "x$ac_build_alias" = x &&
2184 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2185 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2186 { (exit 1); exit 1; }; }
2187 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2188 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2189 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2190 { (exit 1); exit 1; }; }
2193 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2194 echo "${ECHO_T}$ac_cv_build" >&6; }
2195 case $ac_cv_build in
2197 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2198 echo "$as_me: error: invalid value of canonical build" >&2;}
2199 { (exit 1); exit 1; }; };;
2202 ac_save_IFS=$IFS; IFS='-'
2208 # Remember, the first character of IFS is used to create $*,
2209 # except with old shells:
2212 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2215 { echo "$as_me:$LINENO: checking host system type" >&5
2216 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2217 if test "${ac_cv_host+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 if test "x$host_alias" = x; then
2221 ac_cv_host=$ac_cv_build
2223 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2224 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2225 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2226 { (exit 1); exit 1; }; }
2230 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2231 echo "${ECHO_T}$ac_cv_host" >&6; }
2234 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2235 echo "$as_me: error: invalid value of canonical host" >&2;}
2236 { (exit 1); exit 1; }; };;
2239 ac_save_IFS=$IFS; IFS='-'
2245 # Remember, the first character of IFS is used to create $*,
2246 # except with old shells:
2249 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2255 # Find a good install program. We prefer a C program (faster),
2256 # so one script is as good as another. But avoid the broken or
2257 # incompatible versions:
2258 # SysV /etc/install, /usr/sbin/install
2259 # SunOS /usr/etc/install
2260 # IRIX /sbin/install
2262 # AmigaOS /C/install, which installs bootblocks on floppy discs
2263 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2264 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2265 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2266 # OS/2's system install, which has a completely different semantic
2267 # ./install, which can be erroneously created by make from ./install.sh.
2268 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2269 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2270 if test -z "$INSTALL"; then
2271 if test "${ac_cv_path_install+set}" = set; then
2272 echo $ECHO_N "(cached) $ECHO_C" >&6
2274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278 test -z "$as_dir" && as_dir=.
2279 # Account for people who put trailing slashes in PATH elements.
2281 ./ | .// | /cC/* | \
2282 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2283 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2286 # OSF1 and SCO ODT 3.0 have their own names for install.
2287 # Don't use installbsd from OSF since it installs stuff as root
2289 for ac_prog in ginstall scoinst install; do
2290 for ac_exec_ext in '' $ac_executable_extensions; do
2291 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2292 if test $ac_prog = install &&
2293 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2294 # AIX install. It has an incompatible calling convention.
2296 elif test $ac_prog = install &&
2297 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2298 # program-specific install script used by HP pwplus--don't use.
2301 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2314 if test "${ac_cv_path_install+set}" = set; then
2315 INSTALL=$ac_cv_path_install
2317 # As a last resort, use the slow shell script. Don't cache a
2318 # value for INSTALL within a source directory, because that will
2319 # break other packages using the cache if that directory is
2320 # removed, or if the value is a relative name.
2321 INSTALL=$ac_install_sh
2324 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2325 echo "${ECHO_T}$INSTALL" >&6; }
2327 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2328 # It thinks the first close brace ends the variable substitution.
2329 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2331 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2333 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2337 #AC_PROG_INTLTOOL([0.23])
2341 GETTEXT_PACKAGE=$PACKAGE
2344 cat >>confdefs.h <<_ACEOF
2345 #define GETTEXT_PACKAGE "${GETTEXT_PACKAGE}"
2349 DEPDIR="${am__leading_dot}deps"
2351 ac_config_commands="$ac_config_commands depfiles"
2354 am_make=${MAKE-make}
2355 cat > confinc << 'END'
2360 # If we don't find an include directive, just comment out the code.
2361 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2362 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2366 # First try GNU make style include.
2367 echo "include confinc" > confmf
2368 # We grep out `Entering directory' and `Leaving directory'
2369 # messages which can occur if `w' ends up in MAKEFLAGS.
2370 # In particular we don't look at `^make:' because GNU make might
2371 # be invoked under some other name (usually "gmake"), in which
2372 # case it prints its new name instead of `make'.
2373 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2378 # Now try BSD make style include.
2379 if test "$am__include" = "#"; then
2380 echo '.include "confinc"' > confmf
2381 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2382 am__include=.include
2389 { echo "$as_me:$LINENO: result: $_am_result" >&5
2390 echo "${ECHO_T}$_am_result" >&6; }
2391 rm -f confinc confmf
2393 # Check whether --enable-dependency-tracking was given.
2394 if test "${enable_dependency_tracking+set}" = set; then
2395 enableval=$enable_dependency_tracking;
2398 if test "x$enable_dependency_tracking" != xno; then
2399 am_depcomp="$ac_aux_dir/depcomp"
2404 if test "x$enable_dependency_tracking" != xno; then
2415 ac_cpp='$CPP $CPPFLAGS'
2416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2419 if test -n "$ac_tool_prefix"; then
2420 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2421 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2424 if test "${ac_cv_prog_CC+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 if test -n "$CC"; then
2428 ac_cv_prog_CC="$CC" # Let the user override the test.
2430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir=.
2435 for ac_exec_ext in '' $ac_executable_extensions; do
2436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2437 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2448 if test -n "$CC"; then
2449 { echo "$as_me:$LINENO: result: $CC" >&5
2450 echo "${ECHO_T}$CC" >&6; }
2452 { echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6; }
2458 if test -z "$ac_cv_prog_CC"; then
2460 # Extract the first word of "gcc", so it can be a program name with args.
2461 set dummy gcc; ac_word=$2
2462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2464 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 if test -n "$ac_ct_CC"; then
2468 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir=.
2475 for ac_exec_ext in '' $ac_executable_extensions; do
2476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2477 ac_cv_prog_ac_ct_CC="gcc"
2478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2487 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2488 if test -n "$ac_ct_CC"; then
2489 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2490 echo "${ECHO_T}$ac_ct_CC" >&6; }
2492 { echo "$as_me:$LINENO: result: no" >&5
2493 echo "${ECHO_T}no" >&6; }
2496 if test "x$ac_ct_CC" = x; then
2499 case $cross_compiling:$ac_tool_warned in
2501 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2502 whose name does not start with the host triplet. If you think this
2503 configuration is useful to you, please write to autoconf@gnu.org." >&5
2504 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2505 whose name does not start with the host triplet. If you think this
2506 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2507 ac_tool_warned=yes ;;
2515 if test -z "$CC"; then
2516 if test -n "$ac_tool_prefix"; then
2517 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2518 set dummy ${ac_tool_prefix}cc; ac_word=$2
2519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2521 if test "${ac_cv_prog_CC+set}" = set; then
2522 echo $ECHO_N "(cached) $ECHO_C" >&6
2524 if test -n "$CC"; then
2525 ac_cv_prog_CC="$CC" # Let the user override the test.
2527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531 test -z "$as_dir" && as_dir=.
2532 for ac_exec_ext in '' $ac_executable_extensions; do
2533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2534 ac_cv_prog_CC="${ac_tool_prefix}cc"
2535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2545 if test -n "$CC"; then
2546 { echo "$as_me:$LINENO: result: $CC" >&5
2547 echo "${ECHO_T}$CC" >&6; }
2549 { echo "$as_me:$LINENO: result: no" >&5
2550 echo "${ECHO_T}no" >&6; }
2556 if test -z "$CC"; then
2557 # Extract the first word of "cc", so it can be a program name with args.
2558 set dummy cc; ac_word=$2
2559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2561 if test "${ac_cv_prog_CC+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2564 if test -n "$CC"; then
2565 ac_cv_prog_CC="$CC" # Let the user override the test.
2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2572 test -z "$as_dir" && as_dir=.
2573 for ac_exec_ext in '' $ac_executable_extensions; do
2574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2575 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2576 ac_prog_rejected=yes
2580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 if test $ac_prog_rejected = yes; then
2588 # We found a bogon in the path, so make sure we never use it.
2589 set dummy $ac_cv_prog_CC
2591 if test $# != 0; then
2592 # We chose a different compiler from the bogus one.
2593 # However, it has the same basename, so the bogon will be chosen
2594 # first if we set CC to just the basename; use the full file name.
2596 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2602 if test -n "$CC"; then
2603 { echo "$as_me:$LINENO: result: $CC" >&5
2604 echo "${ECHO_T}$CC" >&6; }
2606 { echo "$as_me:$LINENO: result: no" >&5
2607 echo "${ECHO_T}no" >&6; }
2612 if test -z "$CC"; then
2613 if test -n "$ac_tool_prefix"; then
2614 for ac_prog in cl.exe
2616 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2617 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2620 if test "${ac_cv_prog_CC+set}" = set; then
2621 echo $ECHO_N "(cached) $ECHO_C" >&6
2623 if test -n "$CC"; then
2624 ac_cv_prog_CC="$CC" # Let the user override the test.
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2630 test -z "$as_dir" && as_dir=.
2631 for ac_exec_ext in '' $ac_executable_extensions; do
2632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2633 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2644 if test -n "$CC"; then
2645 { echo "$as_me:$LINENO: result: $CC" >&5
2646 echo "${ECHO_T}$CC" >&6; }
2648 { echo "$as_me:$LINENO: result: no" >&5
2649 echo "${ECHO_T}no" >&6; }
2653 test -n "$CC" && break
2656 if test -z "$CC"; then
2658 for ac_prog in cl.exe
2660 # Extract the first word of "$ac_prog", so it can be a program name with args.
2661 set dummy $ac_prog; ac_word=$2
2662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2664 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2665 echo $ECHO_N "(cached) $ECHO_C" >&6
2667 if test -n "$ac_ct_CC"; then
2668 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674 test -z "$as_dir" && as_dir=.
2675 for ac_exec_ext in '' $ac_executable_extensions; do
2676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2677 ac_cv_prog_ac_ct_CC="$ac_prog"
2678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2688 if test -n "$ac_ct_CC"; then
2689 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2690 echo "${ECHO_T}$ac_ct_CC" >&6; }
2692 { echo "$as_me:$LINENO: result: no" >&5
2693 echo "${ECHO_T}no" >&6; }
2697 test -n "$ac_ct_CC" && break
2700 if test "x$ac_ct_CC" = x; then
2703 case $cross_compiling:$ac_tool_warned in
2705 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2706 whose name does not start with the host triplet. If you think this
2707 configuration is useful to you, please write to autoconf@gnu.org." >&5
2708 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2709 whose name does not start with the host triplet. If you think this
2710 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2711 ac_tool_warned=yes ;;
2720 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2721 See \`config.log' for more details." >&5
2722 echo "$as_me: error: no acceptable C compiler found in \$PATH
2723 See \`config.log' for more details." >&2;}
2724 { (exit 1); exit 1; }; }
2726 # Provide some information about the compiler.
2727 echo "$as_me:$LINENO: checking for C compiler version" >&5
2728 ac_compiler=`set X $ac_compile; echo $2`
2729 { (ac_try="$ac_compiler --version >&5"
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2735 (eval "$ac_compiler --version >&5") 2>&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }
2739 { (ac_try="$ac_compiler -v >&5"
2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2745 (eval "$ac_compiler -v >&5") 2>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }
2749 { (ac_try="$ac_compiler -V >&5"
2751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752 *) ac_try_echo=$ac_try;;
2754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2755 (eval "$ac_compiler -V >&5") 2>&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); }
2760 cat >conftest.$ac_ext <<_ACEOF
2763 cat confdefs.h >>conftest.$ac_ext
2764 cat >>conftest.$ac_ext <<_ACEOF
2765 /* end confdefs.h. */
2775 ac_clean_files_save=$ac_clean_files
2776 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2777 # Try to create an executable without -o first, disregard a.out.
2778 # It will help us diagnose broken compilers, and finding out an intuition
2780 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2781 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2782 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2784 # List of possible output files, starting from the most likely.
2785 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2786 # only as a last resort. b.out is created by i960 compilers.
2787 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2789 # The IRIX 6 linker writes into existing files which may not be
2790 # executable, retaining their permissions. Remove them first so a
2791 # subsequent execution test works.
2793 for ac_file in $ac_files
2796 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2797 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2802 if { (ac_try="$ac_link_default"
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2808 (eval "$ac_link_default") 2>&5
2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 (exit $ac_status); }; then
2812 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2813 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2814 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2815 # so that the user can short-circuit this test for compilers unknown to
2817 for ac_file in $ac_files ''
2819 test -f "$ac_file" || continue
2821 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2824 # We found the default executable, but exeext='' is most
2828 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2830 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2832 # We set ac_cv_exeext here because the later test for it is not
2833 # safe: cross compilers may not add the suffix if given an `-o'
2834 # argument, so we may need to know it at that point already.
2835 # Even if this section looks crufty: it has the advantage of
2842 test "$ac_cv_exeext" = no && ac_cv_exeext=
2848 { echo "$as_me:$LINENO: result: $ac_file" >&5
2849 echo "${ECHO_T}$ac_file" >&6; }
2850 if test -z "$ac_file"; then
2851 echo "$as_me: failed program was:" >&5
2852 sed 's/^/| /' conftest.$ac_ext >&5
2854 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2855 See \`config.log' for more details." >&5
2856 echo "$as_me: error: C compiler cannot create executables
2857 See \`config.log' for more details." >&2;}
2858 { (exit 77); exit 77; }; }
2861 ac_exeext=$ac_cv_exeext
2863 # Check that the compiler produces executables we can run. If not, either
2864 # the compiler is broken, or we cross compile.
2865 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2866 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2867 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2868 # If not cross compiling, check that we can run a simple program.
2869 if test "$cross_compiling" != yes; then
2870 if { ac_try='./$ac_file'
2871 { (case "(($ac_try" in
2872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2876 (eval "$ac_try") 2>&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }; }; then
2882 if test "$cross_compiling" = maybe; then
2885 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2886 If you meant to cross compile, use \`--host'.
2887 See \`config.log' for more details." >&5
2888 echo "$as_me: error: cannot run C compiled programs.
2889 If you meant to cross compile, use \`--host'.
2890 See \`config.log' for more details." >&2;}
2891 { (exit 1); exit 1; }; }
2895 { echo "$as_me:$LINENO: result: yes" >&5
2896 echo "${ECHO_T}yes" >&6; }
2898 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2899 ac_clean_files=$ac_clean_files_save
2900 # Check that the compiler produces executables we can run. If not, either
2901 # the compiler is broken, or we cross compile.
2902 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2903 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2904 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2905 echo "${ECHO_T}$cross_compiling" >&6; }
2907 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2908 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2909 if { (ac_try="$ac_link"
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_link") 2>&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); }; then
2919 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2920 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2921 # work properly (i.e., refer to `conftest.exe'), while it won't with
2923 for ac_file in conftest.exe conftest conftest.*; do
2924 test -f "$ac_file" || continue
2926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2927 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2933 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2934 See \`config.log' for more details." >&5
2935 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2936 See \`config.log' for more details." >&2;}
2937 { (exit 1); exit 1; }; }
2940 rm -f conftest$ac_cv_exeext
2941 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2942 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2944 rm -f conftest.$ac_ext
2945 EXEEXT=$ac_cv_exeext
2947 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2948 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2949 if test "${ac_cv_objext+set}" = set; then
2950 echo $ECHO_N "(cached) $ECHO_C" >&6
2952 cat >conftest.$ac_ext <<_ACEOF
2955 cat confdefs.h >>conftest.$ac_ext
2956 cat >>conftest.$ac_ext <<_ACEOF
2957 /* end confdefs.h. */
2967 rm -f conftest.o conftest.obj
2968 if { (ac_try="$ac_compile"
2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971 *) ac_try_echo=$ac_try;;
2973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2974 (eval "$ac_compile") 2>&5
2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); }; then
2978 for ac_file in conftest.o conftest.obj conftest.*; do
2979 test -f "$ac_file" || continue;
2981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2982 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2987 echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2990 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2991 See \`config.log' for more details." >&5
2992 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2993 See \`config.log' for more details." >&2;}
2994 { (exit 1); exit 1; }; }
2997 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2999 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3000 echo "${ECHO_T}$ac_cv_objext" >&6; }
3001 OBJEXT=$ac_cv_objext
3003 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3004 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3005 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3006 echo $ECHO_N "(cached) $ECHO_C" >&6
3008 cat >conftest.$ac_ext <<_ACEOF
3011 cat confdefs.h >>conftest.$ac_ext
3012 cat >>conftest.$ac_ext <<_ACEOF
3013 /* end confdefs.h. */
3026 rm -f conftest.$ac_objext
3027 if { (ac_try="$ac_compile"
3029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030 *) ac_try_echo=$ac_try;;
3032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3033 (eval "$ac_compile") 2>conftest.er1
3035 grep -v '^ *+' conftest.er1 >conftest.err
3037 cat conftest.err >&5
3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 (exit $ac_status); } && {
3040 test -z "$ac_c_werror_flag" ||
3041 test ! -s conftest.err
3042 } && test -s conftest.$ac_objext; then
3045 echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.$ac_ext >&5
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3052 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3055 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3056 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3057 GCC=`test $ac_compiler_gnu = yes && echo yes`
3058 ac_test_CFLAGS=${CFLAGS+set}
3059 ac_save_CFLAGS=$CFLAGS
3060 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3061 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3062 if test "${ac_cv_prog_cc_g+set}" = set; then
3063 echo $ECHO_N "(cached) $ECHO_C" >&6
3065 ac_save_c_werror_flag=$ac_c_werror_flag
3066 ac_c_werror_flag=yes
3069 cat >conftest.$ac_ext <<_ACEOF
3072 cat confdefs.h >>conftest.$ac_ext
3073 cat >>conftest.$ac_ext <<_ACEOF
3074 /* end confdefs.h. */
3084 rm -f conftest.$ac_objext
3085 if { (ac_try="$ac_compile"
3087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3088 *) ac_try_echo=$ac_try;;
3090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3091 (eval "$ac_compile") 2>conftest.er1
3093 grep -v '^ *+' conftest.er1 >conftest.err
3095 cat conftest.err >&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); } && {
3098 test -z "$ac_c_werror_flag" ||
3099 test ! -s conftest.err
3100 } && test -s conftest.$ac_objext; then
3103 echo "$as_me: failed program was:" >&5
3104 sed 's/^/| /' conftest.$ac_ext >&5
3107 cat >conftest.$ac_ext <<_ACEOF
3110 cat confdefs.h >>conftest.$ac_ext
3111 cat >>conftest.$ac_ext <<_ACEOF
3112 /* end confdefs.h. */
3122 rm -f conftest.$ac_objext
3123 if { (ac_try="$ac_compile"
3125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126 *) ac_try_echo=$ac_try;;
3128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3129 (eval "$ac_compile") 2>conftest.er1
3131 grep -v '^ *+' conftest.er1 >conftest.err
3133 cat conftest.err >&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); } && {
3136 test -z "$ac_c_werror_flag" ||
3137 test ! -s conftest.err
3138 } && test -s conftest.$ac_objext; then
3141 echo "$as_me: failed program was:" >&5
3142 sed 's/^/| /' conftest.$ac_ext >&5
3144 ac_c_werror_flag=$ac_save_c_werror_flag
3146 cat >conftest.$ac_ext <<_ACEOF
3149 cat confdefs.h >>conftest.$ac_ext
3150 cat >>conftest.$ac_ext <<_ACEOF
3151 /* end confdefs.h. */
3161 rm -f conftest.$ac_objext
3162 if { (ac_try="$ac_compile"
3164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3165 *) ac_try_echo=$ac_try;;
3167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3168 (eval "$ac_compile") 2>conftest.er1
3170 grep -v '^ *+' conftest.er1 >conftest.err
3172 cat conftest.err >&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); } && {
3175 test -z "$ac_c_werror_flag" ||
3176 test ! -s conftest.err
3177 } && test -s conftest.$ac_objext; then
3180 echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.$ac_ext >&5
3186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3193 ac_c_werror_flag=$ac_save_c_werror_flag
3195 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3196 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3197 if test "$ac_test_CFLAGS" = set; then
3198 CFLAGS=$ac_save_CFLAGS
3199 elif test $ac_cv_prog_cc_g = yes; then
3200 if test "$GCC" = yes; then
3206 if test "$GCC" = yes; then
3212 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3213 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3214 if test "${ac_cv_prog_cc_c89+set}" = set; then
3215 echo $ECHO_N "(cached) $ECHO_C" >&6
3217 ac_cv_prog_cc_c89=no
3219 cat >conftest.$ac_ext <<_ACEOF
3222 cat confdefs.h >>conftest.$ac_ext
3223 cat >>conftest.$ac_ext <<_ACEOF
3224 /* end confdefs.h. */
3227 #include <sys/types.h>
3228 #include <sys/stat.h>
3229 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3230 struct buf { int x; };
3231 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3232 static char *e (p, i)
3238 static char *f (char * (*g) (char **, int), char **p, ...)
3243 s = g (p, va_arg (v,int));
3248 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3249 function prototypes and stuff, but not '\xHH' hex character constants.
3250 These don't provoke an error unfortunately, instead are silently treated
3251 as 'x'. The following induces an error, until -std is added to get
3252 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3253 array size at least. It's necessary to write '\x00'==0 to get something
3254 that's true only with -std. */
3255 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3257 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3258 inside strings and character constants. */
3260 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3262 int test (int i, double x);
3263 struct s1 {int (*f) (int a);};
3264 struct s2 {int (*f) (double a);};
3265 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3271 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3276 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3277 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3279 CC="$ac_save_CC $ac_arg"
3280 rm -f conftest.$ac_objext
3281 if { (ac_try="$ac_compile"
3283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3284 *) ac_try_echo=$ac_try;;
3286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3287 (eval "$ac_compile") 2>conftest.er1
3289 grep -v '^ *+' conftest.er1 >conftest.err
3291 cat conftest.err >&5
3292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293 (exit $ac_status); } && {
3294 test -z "$ac_c_werror_flag" ||
3295 test ! -s conftest.err
3296 } && test -s conftest.$ac_objext; then
3297 ac_cv_prog_cc_c89=$ac_arg
3299 echo "$as_me: failed program was:" >&5
3300 sed 's/^/| /' conftest.$ac_ext >&5
3305 rm -f core conftest.err conftest.$ac_objext
3306 test "x$ac_cv_prog_cc_c89" != "xno" && break
3308 rm -f conftest.$ac_ext
3313 case "x$ac_cv_prog_cc_c89" in
3315 { echo "$as_me:$LINENO: result: none needed" >&5
3316 echo "${ECHO_T}none needed" >&6; } ;;
3318 { echo "$as_me:$LINENO: result: unsupported" >&5
3319 echo "${ECHO_T}unsupported" >&6; } ;;
3321 CC="$CC $ac_cv_prog_cc_c89"
3322 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3323 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3328 ac_cpp='$CPP $CPPFLAGS'
3329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3333 depcc="$CC" am_compiler_list=
3335 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3336 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3337 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3338 echo $ECHO_N "(cached) $ECHO_C" >&6
3340 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3341 # We make a subdir and do the tests there. Otherwise we can end up
3342 # making bogus files that we don't know about and never remove. For
3343 # instance it was reported that on HP-UX the gcc test will end up
3344 # making a dummy file named `D' -- because `-MD' means `put the output
3347 # Copy depcomp to subdir because otherwise we won't find it if we're
3348 # using a relative directory.
3349 cp "$am_depcomp" conftest.dir
3351 # We will build objects and dependencies in a subdirectory because
3352 # it helps to detect inapplicable dependency modes. For instance
3353 # both Tru64's cc and ICC support -MD to output dependencies as a
3354 # side effect of compilation, but ICC will put the dependencies in
3355 # the current directory while Tru64 will put them in the object
3359 am_cv_CC_dependencies_compiler_type=none
3360 if test "$am_compiler_list" = ""; then
3361 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3363 for depmode in $am_compiler_list; do
3364 # Setup a source with many dependencies, because some compilers
3365 # like to wrap large dependency lists on column 80 (with \), and
3366 # we should not choose a depcomp mode which is confused by this.
3368 # We need to recreate these files for each test, as the compiler may
3369 # overwrite some of them when testing with obscure command lines.
3370 # This happens at least with the AIX C compiler.
3372 for i in 1 2 3 4 5 6; do
3373 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3376 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3380 # after this tag, mechanisms are not by side-effect, so they'll
3381 # only be used when explicitly requested
3382 if test "x$enable_dependency_tracking" = xyes; then
3390 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3391 # mode. It turns out that the SunPro C++ compiler does not properly
3392 # handle `-M -o', and we need to detect this.
3393 if depmode=$depmode \
3394 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3395 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3396 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3397 >/dev/null 2>conftest.err &&
3398 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3399 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3400 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3401 # icc doesn't choke on unknown options, it will just issue warnings
3402 # (even with -Werror). So we grep stderr for any message
3403 # that says an option was ignored.
3404 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3405 am_cv_CC_dependencies_compiler_type=$depmode
3414 am_cv_CC_dependencies_compiler_type=none
3418 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3419 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3420 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3425 test "x$enable_dependency_tracking" != xno \
3426 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3428 am__fastdepCC_FALSE='#'
3430 am__fastdepCC_TRUE='#'
3431 am__fastdepCC_FALSE=
3437 ac_cpp='$CPP $CPPFLAGS'
3438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3441 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3442 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3443 # On Suns, sometimes $CPP names a directory.
3444 if test -n "$CPP" && test -d "$CPP"; then
3447 if test -z "$CPP"; then
3448 if test "${ac_cv_prog_CPP+set}" = set; then
3449 echo $ECHO_N "(cached) $ECHO_C" >&6
3451 # Double quotes because CPP needs to be expanded
3452 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3455 for ac_c_preproc_warn_flag in '' yes
3457 # Use a header file that comes with gcc, so configuring glibc
3458 # with a fresh cross-compiler works.
3459 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3460 # <limits.h> exists even on freestanding compilers.
3461 # On the NeXT, cc -E runs the code through the compiler's parser,
3462 # not just through cpp. "Syntax error" is here to catch this case.
3463 cat >conftest.$ac_ext <<_ACEOF
3466 cat confdefs.h >>conftest.$ac_ext
3467 cat >>conftest.$ac_ext <<_ACEOF
3468 /* end confdefs.h. */
3470 # include <limits.h>
3472 # include <assert.h>
3476 if { (ac_try="$ac_cpp conftest.$ac_ext"
3478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479 *) ac_try_echo=$ac_try;;
3481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3482 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3484 grep -v '^ *+' conftest.er1 >conftest.err
3486 cat conftest.err >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); } >/dev/null && {
3489 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3490 test ! -s conftest.err
3494 echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.$ac_ext >&5
3497 # Broken: fails on valid input.
3501 rm -f conftest.err conftest.$ac_ext
3503 # OK, works on sane cases. Now check whether nonexistent headers
3504 # can be detected and how.
3505 cat >conftest.$ac_ext <<_ACEOF
3508 cat confdefs.h >>conftest.$ac_ext
3509 cat >>conftest.$ac_ext <<_ACEOF
3510 /* end confdefs.h. */
3511 #include <ac_nonexistent.h>
3513 if { (ac_try="$ac_cpp conftest.$ac_ext"
3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3521 grep -v '^ *+' conftest.er1 >conftest.err
3523 cat conftest.err >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); } >/dev/null && {
3526 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3527 test ! -s conftest.err
3529 # Broken: success on invalid input.
3532 echo "$as_me: failed program was:" >&5
3533 sed 's/^/| /' conftest.$ac_ext >&5
3535 # Passes both tests.
3540 rm -f conftest.err conftest.$ac_ext
3543 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3544 rm -f conftest.err conftest.$ac_ext
3545 if $ac_preproc_ok; then
3557 { echo "$as_me:$LINENO: result: $CPP" >&5
3558 echo "${ECHO_T}$CPP" >&6; }
3560 for ac_c_preproc_warn_flag in '' yes
3562 # Use a header file that comes with gcc, so configuring glibc
3563 # with a fresh cross-compiler works.
3564 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3565 # <limits.h> exists even on freestanding compilers.
3566 # On the NeXT, cc -E runs the code through the compiler's parser,
3567 # not just through cpp. "Syntax error" is here to catch this case.
3568 cat >conftest.$ac_ext <<_ACEOF
3571 cat confdefs.h >>conftest.$ac_ext
3572 cat >>conftest.$ac_ext <<_ACEOF
3573 /* end confdefs.h. */
3575 # include <limits.h>
3577 # include <assert.h>
3581 if { (ac_try="$ac_cpp conftest.$ac_ext"
3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584 *) ac_try_echo=$ac_try;;
3586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3589 grep -v '^ *+' conftest.er1 >conftest.err
3591 cat conftest.err >&5
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); } >/dev/null && {
3594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3595 test ! -s conftest.err
3599 echo "$as_me: failed program was:" >&5
3600 sed 's/^/| /' conftest.$ac_ext >&5
3602 # Broken: fails on valid input.
3606 rm -f conftest.err conftest.$ac_ext
3608 # OK, works on sane cases. Now check whether nonexistent headers
3609 # can be detected and how.
3610 cat >conftest.$ac_ext <<_ACEOF
3613 cat confdefs.h >>conftest.$ac_ext
3614 cat >>conftest.$ac_ext <<_ACEOF
3615 /* end confdefs.h. */
3616 #include <ac_nonexistent.h>
3618 if { (ac_try="$ac_cpp conftest.$ac_ext"
3620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3621 *) ac_try_echo=$ac_try;;
3623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3624 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3626 grep -v '^ *+' conftest.er1 >conftest.err
3628 cat conftest.err >&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); } >/dev/null && {
3631 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3632 test ! -s conftest.err
3634 # Broken: success on invalid input.
3637 echo "$as_me: failed program was:" >&5
3638 sed 's/^/| /' conftest.$ac_ext >&5
3640 # Passes both tests.
3645 rm -f conftest.err conftest.$ac_ext
3648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3649 rm -f conftest.err conftest.$ac_ext
3650 if $ac_preproc_ok; then
3653 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3654 See \`config.log' for more details." >&5
3655 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3656 See \`config.log' for more details." >&2;}
3657 { (exit 1); exit 1; }; }
3661 ac_cpp='$CPP $CPPFLAGS'
3662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3667 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3668 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3669 if test "${ac_cv_path_GREP+set}" = set; then
3670 echo $ECHO_N "(cached) $ECHO_C" >&6
3672 # Extract the first word of "grep ggrep" to use in msg output
3673 if test -z "$GREP"; then
3674 set dummy grep ggrep; ac_prog_name=$2
3675 if test "${ac_cv_path_GREP+set}" = set; then
3676 echo $ECHO_N "(cached) $ECHO_C" >&6
3678 ac_path_GREP_found=false
3679 # Loop through the user's path and test for each of PROGNAME-LIST
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3684 test -z "$as_dir" && as_dir=.
3685 for ac_prog in grep ggrep; do
3686 for ac_exec_ext in '' $ac_executable_extensions; do
3687 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3688 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3689 # Check for GNU ac_path_GREP and select it if it is found.
3690 # Check for GNU $ac_path_GREP
3691 case `"$ac_path_GREP" --version 2>&1` in
3693 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3696 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3699 cat "conftest.in" "conftest.in" >"conftest.tmp"
3700 mv "conftest.tmp" "conftest.in"
3701 cp "conftest.in" "conftest.nl"
3702 echo 'GREP' >> "conftest.nl"
3703 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3704 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3705 ac_count=`expr $ac_count + 1`
3706 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3707 # Best one so far, save it but keep looking for a better one
3708 ac_cv_path_GREP="$ac_path_GREP"
3709 ac_path_GREP_max=$ac_count
3711 # 10*(2^10) chars as input seems more than enough
3712 test $ac_count -gt 10 && break
3714 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3718 $ac_path_GREP_found && break 3
3728 GREP="$ac_cv_path_GREP"
3729 if test -z "$GREP"; then
3730 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3731 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3732 { (exit 1); exit 1; }; }
3736 ac_cv_path_GREP=$GREP
3741 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3742 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3743 GREP="$ac_cv_path_GREP"
3746 { echo "$as_me:$LINENO: checking for egrep" >&5
3747 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3748 if test "${ac_cv_path_EGREP+set}" = set; then
3749 echo $ECHO_N "(cached) $ECHO_C" >&6
3751 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3752 then ac_cv_path_EGREP="$GREP -E"
3754 # Extract the first word of "egrep" to use in msg output
3755 if test -z "$EGREP"; then
3756 set dummy egrep; ac_prog_name=$2
3757 if test "${ac_cv_path_EGREP+set}" = set; then
3758 echo $ECHO_N "(cached) $ECHO_C" >&6
3760 ac_path_EGREP_found=false
3761 # Loop through the user's path and test for each of PROGNAME-LIST
3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3763 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3766 test -z "$as_dir" && as_dir=.
3767 for ac_prog in egrep; do
3768 for ac_exec_ext in '' $ac_executable_extensions; do
3769 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3770 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3771 # Check for GNU ac_path_EGREP and select it if it is found.
3772 # Check for GNU $ac_path_EGREP
3773 case `"$ac_path_EGREP" --version 2>&1` in
3775 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3778 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3781 cat "conftest.in" "conftest.in" >"conftest.tmp"
3782 mv "conftest.tmp" "conftest.in"
3783 cp "conftest.in" "conftest.nl"
3784 echo 'EGREP' >> "conftest.nl"
3785 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3786 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3787 ac_count=`expr $ac_count + 1`
3788 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3789 # Best one so far, save it but keep looking for a better one
3790 ac_cv_path_EGREP="$ac_path_EGREP"
3791 ac_path_EGREP_max=$ac_count
3793 # 10*(2^10) chars as input seems more than enough
3794 test $ac_count -gt 10 && break
3796 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3800 $ac_path_EGREP_found && break 3
3810 EGREP="$ac_cv_path_EGREP"
3811 if test -z "$EGREP"; then
3812 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3813 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3814 { (exit 1); exit 1; }; }
3818 ac_cv_path_EGREP=$EGREP
3824 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3825 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3826 EGREP="$ac_cv_path_EGREP"
3829 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3830 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3831 if test "${ac_cv_header_stdc+set}" = set; then
3832 echo $ECHO_N "(cached) $ECHO_C" >&6
3834 cat >conftest.$ac_ext <<_ACEOF
3837 cat confdefs.h >>conftest.$ac_ext
3838 cat >>conftest.$ac_ext <<_ACEOF
3839 /* end confdefs.h. */
3853 rm -f conftest.$ac_objext
3854 if { (ac_try="$ac_compile"
3856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3857 *) ac_try_echo=$ac_try;;
3859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3860 (eval "$ac_compile") 2>conftest.er1
3862 grep -v '^ *+' conftest.er1 >conftest.err
3864 cat conftest.err >&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); } && {
3867 test -z "$ac_c_werror_flag" ||
3868 test ! -s conftest.err
3869 } && test -s conftest.$ac_objext; then
3870 ac_cv_header_stdc=yes
3872 echo "$as_me: failed program was:" >&5
3873 sed 's/^/| /' conftest.$ac_ext >&5
3875 ac_cv_header_stdc=no
3878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3880 if test $ac_cv_header_stdc = yes; then
3881 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3882 cat >conftest.$ac_ext <<_ACEOF
3885 cat confdefs.h >>conftest.$ac_ext
3886 cat >>conftest.$ac_ext <<_ACEOF
3887 /* end confdefs.h. */
3891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3892 $EGREP "memchr" >/dev/null 2>&1; then
3895 ac_cv_header_stdc=no
3901 if test $ac_cv_header_stdc = yes; then
3902 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3903 cat >conftest.$ac_ext <<_ACEOF
3906 cat confdefs.h >>conftest.$ac_ext
3907 cat >>conftest.$ac_ext <<_ACEOF
3908 /* end confdefs.h. */
3912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3913 $EGREP "free" >/dev/null 2>&1; then
3916 ac_cv_header_stdc=no
3922 if test $ac_cv_header_stdc = yes; then
3923 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3924 if test "$cross_compiling" = yes; then
3927 cat >conftest.$ac_ext <<_ACEOF
3930 cat confdefs.h >>conftest.$ac_ext
3931 cat >>conftest.$ac_ext <<_ACEOF
3932 /* end confdefs.h. */
3935 #if ((' ' & 0x0FF) == 0x020)
3936 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3937 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3939 # define ISLOWER(c) \
3940 (('a' <= (c) && (c) <= 'i') \
3941 || ('j' <= (c) && (c) <= 'r') \
3942 || ('s' <= (c) && (c) <= 'z'))
3943 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3946 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3951 for (i = 0; i < 256; i++)
3952 if (XOR (islower (i), ISLOWER (i))
3953 || toupper (i) != TOUPPER (i))
3958 rm -f conftest$ac_exeext
3959 if { (ac_try="$ac_link"
3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
3964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3965 (eval "$ac_link") 2>&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3969 { (case "(($ac_try" in
3970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3971 *) ac_try_echo=$ac_try;;
3973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3974 (eval "$ac_try") 2>&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); }; }; then
3980 echo "$as_me: program exited with status $ac_status" >&5
3981 echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.$ac_ext >&5
3985 ac_cv_header_stdc=no
3987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3993 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3994 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3995 if test $ac_cv_header_stdc = yes; then
3997 cat >>confdefs.h <<\_ACEOF
3998 #define STDC_HEADERS 1
4003 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4013 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4014 inttypes.h stdint.h unistd.h
4016 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4017 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4019 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4020 echo $ECHO_N "(cached) $ECHO_C" >&6
4022 cat >conftest.$ac_ext <<_ACEOF
4025 cat confdefs.h >>conftest.$ac_ext
4026 cat >>conftest.$ac_ext <<_ACEOF
4027 /* end confdefs.h. */
4028 $ac_includes_default
4030 #include <$ac_header>
4032 rm -f conftest.$ac_objext
4033 if { (ac_try="$ac_compile"
4035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4036 *) ac_try_echo=$ac_try;;
4038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4039 (eval "$ac_compile") 2>conftest.er1
4041 grep -v '^ *+' conftest.er1 >conftest.err
4043 cat conftest.err >&5
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); } && {
4046 test -z "$ac_c_werror_flag" ||
4047 test ! -s conftest.err
4048 } && test -s conftest.$ac_objext; then
4049 eval "$as_ac_Header=yes"
4051 echo "$as_me: failed program was:" >&5
4052 sed 's/^/| /' conftest.$ac_ext >&5
4054 eval "$as_ac_Header=no"
4057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4059 ac_res=`eval echo '${'$as_ac_Header'}'`
4060 { echo "$as_me:$LINENO: result: $ac_res" >&5
4061 echo "${ECHO_T}$ac_res" >&6; }
4062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4063 cat >>confdefs.h <<_ACEOF
4064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4074 for ac_header in locale.h
4076 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4077 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4078 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4080 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4081 echo $ECHO_N "(cached) $ECHO_C" >&6
4083 ac_res=`eval echo '${'$as_ac_Header'}'`
4084 { echo "$as_me:$LINENO: result: $ac_res" >&5
4085 echo "${ECHO_T}$ac_res" >&6; }
4087 # Is the header compilable?
4088 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4089 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4090 cat >conftest.$ac_ext <<_ACEOF
4093 cat confdefs.h >>conftest.$ac_ext
4094 cat >>conftest.$ac_ext <<_ACEOF
4095 /* end confdefs.h. */
4096 $ac_includes_default
4097 #include <$ac_header>
4099 rm -f conftest.$ac_objext
4100 if { (ac_try="$ac_compile"
4102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4106 (eval "$ac_compile") 2>conftest.er1
4108 grep -v '^ *+' conftest.er1 >conftest.err
4110 cat conftest.err >&5
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 (exit $ac_status); } && {
4113 test -z "$ac_c_werror_flag" ||
4114 test ! -s conftest.err
4115 } && test -s conftest.$ac_objext; then
4116 ac_header_compiler=yes
4118 echo "$as_me: failed program was:" >&5
4119 sed 's/^/| /' conftest.$ac_ext >&5
4121 ac_header_compiler=no
4124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4125 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4126 echo "${ECHO_T}$ac_header_compiler" >&6; }
4128 # Is the header present?
4129 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4130 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4131 cat >conftest.$ac_ext <<_ACEOF
4134 cat confdefs.h >>conftest.$ac_ext
4135 cat >>conftest.$ac_ext <<_ACEOF
4136 /* end confdefs.h. */
4137 #include <$ac_header>
4139 if { (ac_try="$ac_cpp conftest.$ac_ext"
4141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4142 *) ac_try_echo=$ac_try;;
4144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4145 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4147 grep -v '^ *+' conftest.er1 >conftest.err
4149 cat conftest.err >&5
4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151 (exit $ac_status); } >/dev/null && {
4152 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4153 test ! -s conftest.err
4155 ac_header_preproc=yes
4157 echo "$as_me: failed program was:" >&5
4158 sed 's/^/| /' conftest.$ac_ext >&5
4160 ac_header_preproc=no
4163 rm -f conftest.err conftest.$ac_ext
4164 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4165 echo "${ECHO_T}$ac_header_preproc" >&6; }
4167 # So? What about this header?
4168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4170 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4171 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4173 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4174 ac_header_preproc=yes
4177 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4178 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4179 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4180 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4181 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4182 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4183 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4184 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4186 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4187 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4188 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4192 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4194 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 eval "$as_ac_Header=\$ac_header_preproc"
4199 ac_res=`eval echo '${'$as_ac_Header'}'`
4200 { echo "$as_me:$LINENO: result: $ac_res" >&5
4201 echo "${ECHO_T}$ac_res" >&6; }
4204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4205 cat >>confdefs.h <<_ACEOF
4206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4213 if test $ac_cv_header_locale_h = yes; then
4214 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4215 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
4216 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4219 cat >conftest.$ac_ext <<_ACEOF
4222 cat confdefs.h >>conftest.$ac_ext
4223 cat >>conftest.$ac_ext <<_ACEOF
4224 /* end confdefs.h. */
4234 rm -f conftest.$ac_objext conftest$ac_exeext
4235 if { (ac_try="$ac_link"
4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4238 *) ac_try_echo=$ac_try;;
4240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4241 (eval "$ac_link") 2>conftest.er1
4243 grep -v '^ *+' conftest.er1 >conftest.err
4245 cat conftest.err >&5
4246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247 (exit $ac_status); } && {
4248 test -z "$ac_c_werror_flag" ||
4249 test ! -s conftest.err
4250 } && test -s conftest$ac_exeext &&
4251 $as_test_x conftest$ac_exeext; then
4252 am_cv_val_LC_MESSAGES=yes
4254 echo "$as_me: failed program was:" >&5
4255 sed 's/^/| /' conftest.$ac_ext >&5
4257 am_cv_val_LC_MESSAGES=no
4260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4261 conftest$ac_exeext conftest.$ac_ext
4263 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4264 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
4265 if test $am_cv_val_LC_MESSAGES = yes; then
4267 cat >>confdefs.h <<\_ACEOF
4268 #define HAVE_LC_MESSAGES 1
4276 gt_cv_have_gettext=no
4282 if test "${ac_cv_header_libintl_h+set}" = set; then
4283 { echo "$as_me:$LINENO: checking for libintl.h" >&5
4284 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
4285 if test "${ac_cv_header_libintl_h+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4289 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
4291 # Is the header compilable?
4292 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
4293 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
4294 cat >conftest.$ac_ext <<_ACEOF
4297 cat confdefs.h >>conftest.$ac_ext
4298 cat >>conftest.$ac_ext <<_ACEOF
4299 /* end confdefs.h. */
4300 $ac_includes_default
4301 #include <libintl.h>
4303 rm -f conftest.$ac_objext
4304 if { (ac_try="$ac_compile"
4306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4307 *) ac_try_echo=$ac_try;;
4309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4310 (eval "$ac_compile") 2>conftest.er1
4312 grep -v '^ *+' conftest.er1 >conftest.err
4314 cat conftest.err >&5
4315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316 (exit $ac_status); } && {
4317 test -z "$ac_c_werror_flag" ||
4318 test ! -s conftest.err
4319 } && test -s conftest.$ac_objext; then
4320 ac_header_compiler=yes
4322 echo "$as_me: failed program was:" >&5
4323 sed 's/^/| /' conftest.$ac_ext >&5
4325 ac_header_compiler=no
4328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4329 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4330 echo "${ECHO_T}$ac_header_compiler" >&6; }
4332 # Is the header present?
4333 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
4334 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
4335 cat >conftest.$ac_ext <<_ACEOF
4338 cat confdefs.h >>conftest.$ac_ext
4339 cat >>conftest.$ac_ext <<_ACEOF
4340 /* end confdefs.h. */
4341 #include <libintl.h>
4343 if { (ac_try="$ac_cpp conftest.$ac_ext"
4345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4346 *) ac_try_echo=$ac_try;;
4348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4349 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4351 grep -v '^ *+' conftest.er1 >conftest.err
4353 cat conftest.err >&5
4354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4355 (exit $ac_status); } >/dev/null && {
4356 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4357 test ! -s conftest.err
4359 ac_header_preproc=yes
4361 echo "$as_me: failed program was:" >&5
4362 sed 's/^/| /' conftest.$ac_ext >&5
4364 ac_header_preproc=no
4367 rm -f conftest.err conftest.$ac_ext
4368 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4369 echo "${ECHO_T}$ac_header_preproc" >&6; }
4371 # So? What about this header?
4372 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4374 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4375 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4376 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4377 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4378 ac_header_preproc=yes
4381 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4382 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4383 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4384 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4385 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4386 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4387 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4388 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4389 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4390 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4391 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4392 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4396 { echo "$as_me:$LINENO: checking for libintl.h" >&5
4397 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
4398 if test "${ac_cv_header_libintl_h+set}" = set; then
4399 echo $ECHO_N "(cached) $ECHO_C" >&6
4401 ac_cv_header_libintl_h=$ac_header_preproc
4403 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4404 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
4407 if test $ac_cv_header_libintl_h = yes; then
4408 gt_cv_func_dgettext_libintl="no"
4409 libintl_extra_libs=""
4412 # First check in libc
4414 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
4415 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
4416 if test "${gt_cv_func_ngettext_libc+set}" = set; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
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 <libintl.h>
4431 return !ngettext ("","", 1)
4436 rm -f conftest.$ac_objext conftest$ac_exeext
4437 if { (ac_try="$ac_link"
4439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4440 *) ac_try_echo=$ac_try;;
4442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4443 (eval "$ac_link") 2>conftest.er1
4445 grep -v '^ *+' conftest.er1 >conftest.err
4447 cat conftest.err >&5
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); } && {
4450 test -z "$ac_c_werror_flag" ||
4451 test ! -s conftest.err
4452 } && test -s conftest$ac_exeext &&
4453 $as_test_x conftest$ac_exeext; then
4454 gt_cv_func_ngettext_libc=yes
4456 echo "$as_me: failed program was:" >&5
4457 sed 's/^/| /' conftest.$ac_ext >&5
4459 gt_cv_func_ngettext_libc=no
4462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4463 conftest$ac_exeext conftest.$ac_ext
4466 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
4467 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
4469 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4470 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
4471 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
4472 if test "${gt_cv_func_dgettext_libc+set}" = set; then
4473 echo $ECHO_N "(cached) $ECHO_C" >&6
4475 cat >conftest.$ac_ext <<_ACEOF
4478 cat confdefs.h >>conftest.$ac_ext
4479 cat >>conftest.$ac_ext <<_ACEOF
4480 /* end confdefs.h. */
4482 #include <libintl.h>
4487 return !dgettext ("","")
4492 rm -f conftest.$ac_objext conftest$ac_exeext
4493 if { (ac_try="$ac_link"
4495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4496 *) ac_try_echo=$ac_try;;
4498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4499 (eval "$ac_link") 2>conftest.er1
4501 grep -v '^ *+' conftest.er1 >conftest.err
4503 cat conftest.err >&5
4504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 (exit $ac_status); } && {
4506 test -z "$ac_c_werror_flag" ||
4507 test ! -s conftest.err
4508 } && test -s conftest$ac_exeext &&
4509 $as_test_x conftest$ac_exeext; then
4510 gt_cv_func_dgettext_libc=yes
4512 echo "$as_me: failed program was:" >&5
4513 sed 's/^/| /' conftest.$ac_ext >&5
4515 gt_cv_func_dgettext_libc=no
4518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4519 conftest$ac_exeext conftest.$ac_ext
4522 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
4523 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
4526 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4528 for ac_func in bind_textdomain_codeset
4530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4531 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4533 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4534 echo $ECHO_N "(cached) $ECHO_C" >&6
4536 cat >conftest.$ac_ext <<_ACEOF
4539 cat confdefs.h >>conftest.$ac_ext
4540 cat >>conftest.$ac_ext <<_ACEOF
4541 /* end confdefs.h. */
4542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4544 #define $ac_func innocuous_$ac_func
4546 /* System header to define __stub macros and hopefully few prototypes,
4547 which can conflict with char $ac_func (); below.
4548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4549 <limits.h> exists even on freestanding compilers. */
4552 # include <limits.h>
4554 # include <assert.h>
4559 /* Override any GCC internal prototype to avoid an error.
4560 Use char because int might match the return type of a GCC
4561 builtin and then its argument prototype would still apply. */
4566 /* The GNU C library defines this for functions which it implements
4567 to always fail with ENOSYS. Some functions are actually named
4568 something starting with __ and the normal name is an alias. */
4569 #if defined __stub_$ac_func || defined __stub___$ac_func
4581 rm -f conftest.$ac_objext conftest$ac_exeext
4582 if { (ac_try="$ac_link"
4584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4585 *) ac_try_echo=$ac_try;;
4587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4588 (eval "$ac_link") 2>conftest.er1
4590 grep -v '^ *+' conftest.er1 >conftest.err
4592 cat conftest.err >&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } && {
4595 test -z "$ac_c_werror_flag" ||
4596 test ! -s conftest.err
4597 } && test -s conftest$ac_exeext &&
4598 $as_test_x conftest$ac_exeext; then
4599 eval "$as_ac_var=yes"
4601 echo "$as_me: failed program was:" >&5
4602 sed 's/^/| /' conftest.$ac_ext >&5
4604 eval "$as_ac_var=no"
4607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4608 conftest$ac_exeext conftest.$ac_ext
4610 ac_res=`eval echo '${'$as_ac_var'}'`
4611 { echo "$as_me:$LINENO: result: $ac_res" >&5
4612 echo "${ECHO_T}$ac_res" >&6; }
4613 if test `eval echo '${'$as_ac_var'}'` = yes; then
4614 cat >>confdefs.h <<_ACEOF
4615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4624 # If we don't have everything we want, check in libintl
4626 if test "$gt_cv_func_dgettext_libc" != "yes" \
4627 || test "$gt_cv_func_ngettext_libc" != "yes" \
4628 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
4630 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
4631 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
4632 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
4633 echo $ECHO_N "(cached) $ECHO_C" >&6
4635 ac_check_lib_save_LIBS=$LIBS
4637 cat >conftest.$ac_ext <<_ACEOF
4640 cat confdefs.h >>conftest.$ac_ext
4641 cat >>conftest.$ac_ext <<_ACEOF
4642 /* end confdefs.h. */
4644 /* Override any GCC internal prototype to avoid an error.
4645 Use char because int might match the return type of a GCC
4646 builtin and then its argument prototype would still apply. */
4650 char bindtextdomain ();
4654 return bindtextdomain ();
4659 rm -f conftest.$ac_objext conftest$ac_exeext
4660 if { (ac_try="$ac_link"
4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663 *) ac_try_echo=$ac_try;;
4665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4666 (eval "$ac_link") 2>conftest.er1
4668 grep -v '^ *+' conftest.er1 >conftest.err
4670 cat conftest.err >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); } && {
4673 test -z "$ac_c_werror_flag" ||
4674 test ! -s conftest.err
4675 } && test -s conftest$ac_exeext &&
4676 $as_test_x conftest$ac_exeext; then
4677 ac_cv_lib_intl_bindtextdomain=yes
4679 echo "$as_me: failed program was:" >&5
4680 sed 's/^/| /' conftest.$ac_ext >&5
4682 ac_cv_lib_intl_bindtextdomain=no
4685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4686 conftest$ac_exeext conftest.$ac_ext
4687 LIBS=$ac_check_lib_save_LIBS
4689 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
4690 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
4691 if test $ac_cv_lib_intl_bindtextdomain = yes; then
4692 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
4693 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
4694 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
4695 echo $ECHO_N "(cached) $ECHO_C" >&6
4697 ac_check_lib_save_LIBS=$LIBS
4699 cat >conftest.$ac_ext <<_ACEOF
4702 cat confdefs.h >>conftest.$ac_ext
4703 cat >>conftest.$ac_ext <<_ACEOF
4704 /* end confdefs.h. */
4706 /* Override any GCC internal prototype to avoid an error.
4707 Use char because int might match the return type of a GCC
4708 builtin and then its argument prototype would still apply. */
4721 rm -f conftest.$ac_objext conftest$ac_exeext
4722 if { (ac_try="$ac_link"
4724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4725 *) ac_try_echo=$ac_try;;
4727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4728 (eval "$ac_link") 2>conftest.er1
4730 grep -v '^ *+' conftest.er1 >conftest.err
4732 cat conftest.err >&5
4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); } && {
4735 test -z "$ac_c_werror_flag" ||
4736 test ! -s conftest.err
4737 } && test -s conftest$ac_exeext &&
4738 $as_test_x conftest$ac_exeext; then
4739 ac_cv_lib_intl_ngettext=yes
4741 echo "$as_me: failed program was:" >&5
4742 sed 's/^/| /' conftest.$ac_ext >&5
4744 ac_cv_lib_intl_ngettext=no
4747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4748 conftest$ac_exeext conftest.$ac_ext
4749 LIBS=$ac_check_lib_save_LIBS
4751 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
4752 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
4753 if test $ac_cv_lib_intl_ngettext = yes; then
4754 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
4755 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
4756 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
4757 echo $ECHO_N "(cached) $ECHO_C" >&6
4759 ac_check_lib_save_LIBS=$LIBS
4761 cat >conftest.$ac_ext <<_ACEOF
4764 cat confdefs.h >>conftest.$ac_ext
4765 cat >>conftest.$ac_ext <<_ACEOF
4766 /* end confdefs.h. */
4768 /* Override any GCC internal prototype to avoid an error.
4769 Use char because int might match the return type of a GCC
4770 builtin and then its argument prototype would still apply. */
4783 rm -f conftest.$ac_objext conftest$ac_exeext
4784 if { (ac_try="$ac_link"
4786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4787 *) ac_try_echo=$ac_try;;
4789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4790 (eval "$ac_link") 2>conftest.er1
4792 grep -v '^ *+' conftest.er1 >conftest.err
4794 cat conftest.err >&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); } && {
4797 test -z "$ac_c_werror_flag" ||
4798 test ! -s conftest.err
4799 } && test -s conftest$ac_exeext &&
4800 $as_test_x conftest$ac_exeext; then
4801 ac_cv_lib_intl_dgettext=yes
4803 echo "$as_me: failed program was:" >&5
4804 sed 's/^/| /' conftest.$ac_ext >&5
4806 ac_cv_lib_intl_dgettext=no
4809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4810 conftest$ac_exeext conftest.$ac_ext
4811 LIBS=$ac_check_lib_save_LIBS
4813 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
4814 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
4815 if test $ac_cv_lib_intl_dgettext = yes; then
4816 gt_cv_func_dgettext_libintl=yes
4824 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
4825 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
4826 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
4827 { echo "$as_me:$LINENO: result: " >&5
4828 echo "${ECHO_T}" >&6; }
4829 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
4830 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
4831 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
4832 echo $ECHO_N "(cached) $ECHO_C" >&6
4834 ac_check_lib_save_LIBS=$LIBS
4835 LIBS="-lintl -liconv $LIBS"
4836 cat >conftest.$ac_ext <<_ACEOF
4839 cat confdefs.h >>conftest.$ac_ext
4840 cat >>conftest.$ac_ext <<_ACEOF
4841 /* end confdefs.h. */
4843 /* Override any GCC internal prototype to avoid an error.
4844 Use char because int might match the return type of a GCC
4845 builtin and then its argument prototype would still apply. */
4858 rm -f conftest.$ac_objext conftest$ac_exeext
4859 if { (ac_try="$ac_link"
4861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4862 *) ac_try_echo=$ac_try;;
4864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4865 (eval "$ac_link") 2>conftest.er1
4867 grep -v '^ *+' conftest.er1 >conftest.err
4869 cat conftest.err >&5
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); } && {
4872 test -z "$ac_c_werror_flag" ||
4873 test ! -s conftest.err
4874 } && test -s conftest$ac_exeext &&
4875 $as_test_x conftest$ac_exeext; then
4876 ac_cv_lib_intl_ngettext=yes
4878 echo "$as_me: failed program was:" >&5
4879 sed 's/^/| /' conftest.$ac_ext >&5
4881 ac_cv_lib_intl_ngettext=no
4884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4885 conftest$ac_exeext conftest.$ac_ext
4886 LIBS=$ac_check_lib_save_LIBS
4888 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
4889 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
4890 if test $ac_cv_lib_intl_ngettext = yes; then
4891 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
4892 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
4893 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
4894 echo $ECHO_N "(cached) $ECHO_C" >&6
4896 ac_check_lib_save_LIBS=$LIBS
4897 LIBS="-lintl -liconv $LIBS"
4898 cat >conftest.$ac_ext <<_ACEOF
4901 cat confdefs.h >>conftest.$ac_ext
4902 cat >>conftest.$ac_ext <<_ACEOF
4903 /* end confdefs.h. */
4905 /* Override any GCC internal prototype to avoid an error.
4906 Use char because int might match the return type of a GCC
4907 builtin and then its argument prototype would still apply. */
4915 return dcgettext ();
4920 rm -f conftest.$ac_objext conftest$ac_exeext
4921 if { (ac_try="$ac_link"
4923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924 *) ac_try_echo=$ac_try;;
4926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4927 (eval "$ac_link") 2>conftest.er1
4929 grep -v '^ *+' conftest.er1 >conftest.err
4931 cat conftest.err >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); } && {
4934 test -z "$ac_c_werror_flag" ||
4935 test ! -s conftest.err
4936 } && test -s conftest$ac_exeext &&
4937 $as_test_x conftest$ac_exeext; then
4938 ac_cv_lib_intl_dcgettext=yes
4940 echo "$as_me: failed program was:" >&5
4941 sed 's/^/| /' conftest.$ac_ext >&5
4943 ac_cv_lib_intl_dcgettext=no
4946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4947 conftest$ac_exeext conftest.$ac_ext
4948 LIBS=$ac_check_lib_save_LIBS
4950 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
4951 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
4952 if test $ac_cv_lib_intl_dcgettext = yes; then
4953 gt_cv_func_dgettext_libintl=yes
4954 libintl_extra_libs=-liconv
4966 # If we found libintl, then check in it for bind_textdomain_codeset();
4967 # we'll prefer libc if neither have bind_textdomain_codeset(),
4968 # and both have dgettext and ngettext
4970 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
4971 glib_save_LIBS="$LIBS"
4972 LIBS="$LIBS -lintl $libintl_extra_libs"
4973 unset ac_cv_func_bind_textdomain_codeset
4975 for ac_func in bind_textdomain_codeset
4977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4978 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4980 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4981 echo $ECHO_N "(cached) $ECHO_C" >&6
4983 cat >conftest.$ac_ext <<_ACEOF
4986 cat confdefs.h >>conftest.$ac_ext
4987 cat >>conftest.$ac_ext <<_ACEOF
4988 /* end confdefs.h. */
4989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4991 #define $ac_func innocuous_$ac_func
4993 /* System header to define __stub macros and hopefully few prototypes,
4994 which can conflict with char $ac_func (); below.
4995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4996 <limits.h> exists even on freestanding compilers. */
4999 # include <limits.h>
5001 # include <assert.h>
5006 /* Override any GCC internal prototype to avoid an error.
5007 Use char because int might match the return type of a GCC
5008 builtin and then its argument prototype would still apply. */
5013 /* The GNU C library defines this for functions which it implements
5014 to always fail with ENOSYS. Some functions are actually named
5015 something starting with __ and the normal name is an alias. */
5016 #if defined __stub_$ac_func || defined __stub___$ac_func
5028 rm -f conftest.$ac_objext conftest$ac_exeext
5029 if { (ac_try="$ac_link"
5031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5032 *) ac_try_echo=$ac_try;;
5034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5035 (eval "$ac_link") 2>conftest.er1
5037 grep -v '^ *+' conftest.er1 >conftest.err
5039 cat conftest.err >&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); } && {
5042 test -z "$ac_c_werror_flag" ||
5043 test ! -s conftest.err
5044 } && test -s conftest$ac_exeext &&
5045 $as_test_x conftest$ac_exeext; then
5046 eval "$as_ac_var=yes"
5048 echo "$as_me: failed program was:" >&5
5049 sed 's/^/| /' conftest.$ac_ext >&5
5051 eval "$as_ac_var=no"
5054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5055 conftest$ac_exeext conftest.$ac_ext
5057 ac_res=`eval echo '${'$as_ac_var'}'`
5058 { echo "$as_me:$LINENO: result: $ac_res" >&5
5059 echo "${ECHO_T}$ac_res" >&6; }
5060 if test `eval echo '${'$as_ac_var'}'` = yes; then
5061 cat >>confdefs.h <<_ACEOF
5062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5068 LIBS="$glib_save_LIBS"
5070 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5071 gt_cv_func_dgettext_libc=no
5073 if test "$gt_cv_func_dgettext_libc" = "yes" \
5074 && test "$gt_cv_func_ngettext_libc" = "yes"; then
5075 gt_cv_func_dgettext_libintl=no
5081 if test "$gt_cv_func_dgettext_libc" = "yes" \
5082 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
5083 gt_cv_have_gettext=yes
5086 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5087 INTLLIBS="-lintl $libintl_extra_libs"
5090 if test "$gt_cv_have_gettext" = "yes"; then
5092 cat >>confdefs.h <<\_ACEOF
5093 #define HAVE_GETTEXT 1
5096 # Extract the first word of "msgfmt", so it can be a program name with args.
5097 set dummy msgfmt; ac_word=$2
5098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5100 if test "${ac_cv_path_MSGFMT+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5108 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5109 for ac_dir in $PATH; do
5110 test -z "$ac_dir" && ac_dir=.
5111 if test -f $ac_dir/$ac_word; then
5112 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5113 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5119 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5123 MSGFMT="$ac_cv_path_MSGFMT"
5124 if test "$MSGFMT" != "no"; then
5125 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
5126 echo "${ECHO_T}$MSGFMT" >&6; }
5128 { echo "$as_me:$LINENO: result: no" >&5
5129 echo "${ECHO_T}no" >&6; }
5131 if test "$MSGFMT" != "no"; then
5132 glib_save_LIBS="$LIBS"
5133 LIBS="$LIBS $INTLLIBS"
5135 for ac_func in dcgettext
5137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5138 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5140 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5141 echo $ECHO_N "(cached) $ECHO_C" >&6
5143 cat >conftest.$ac_ext <<_ACEOF
5146 cat confdefs.h >>conftest.$ac_ext
5147 cat >>conftest.$ac_ext <<_ACEOF
5148 /* end confdefs.h. */
5149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5151 #define $ac_func innocuous_$ac_func
5153 /* System header to define __stub macros and hopefully few prototypes,
5154 which can conflict with char $ac_func (); below.
5155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5156 <limits.h> exists even on freestanding compilers. */
5159 # include <limits.h>
5161 # include <assert.h>
5166 /* Override any GCC internal prototype to avoid an error.
5167 Use char because int might match the return type of a GCC
5168 builtin and then its argument prototype would still apply. */
5173 /* The GNU C library defines this for functions which it implements
5174 to always fail with ENOSYS. Some functions are actually named
5175 something starting with __ and the normal name is an alias. */
5176 #if defined __stub_$ac_func || defined __stub___$ac_func
5188 rm -f conftest.$ac_objext conftest$ac_exeext
5189 if { (ac_try="$ac_link"
5191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5192 *) ac_try_echo=$ac_try;;
5194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5195 (eval "$ac_link") 2>conftest.er1
5197 grep -v '^ *+' conftest.er1 >conftest.err
5199 cat conftest.err >&5
5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201 (exit $ac_status); } && {
5202 test -z "$ac_c_werror_flag" ||
5203 test ! -s conftest.err
5204 } && test -s conftest$ac_exeext &&
5205 $as_test_x conftest$ac_exeext; then
5206 eval "$as_ac_var=yes"
5208 echo "$as_me: failed program was:" >&5
5209 sed 's/^/| /' conftest.$ac_ext >&5
5211 eval "$as_ac_var=no"
5214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5215 conftest$ac_exeext conftest.$ac_ext
5217 ac_res=`eval echo '${'$as_ac_var'}'`
5218 { echo "$as_me:$LINENO: result: $ac_res" >&5
5219 echo "${ECHO_T}$ac_res" >&6; }
5220 if test `eval echo '${'$as_ac_var'}'` = yes; then
5221 cat >>confdefs.h <<_ACEOF
5222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5229 { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
5230 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
5231 cat >conftest.foo <<_ACEOF
5235 "Content-Type: text/plain; charset=UTF-8\n"
5236 "Project-Id-Version: test 1.0\n"
5237 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
5238 "Last-Translator: test <foo@bar.xx>\n"
5239 "Language-Team: C <LL@li.org>\n"
5240 "MIME-Version: 1.0\n"
5241 "Content-Transfer-Encoding: 8bit\n"
5244 if { (echo "$as_me:$LINENO: msgfmt -c -o /dev/null conftest.foo") >&5
5245 (msgfmt -c -o /dev/null conftest.foo) 2>&5
5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5248 (exit $ac_status); }; then
5249 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
5250 echo "${ECHO_T}yes" >&6; }
5251 else { echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6; }
5253 echo "$as_me: failed input was:" >&5
5254 sed 's/^/| /' conftest.foo >&5
5257 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5258 set dummy gmsgfmt; ac_word=$2
5259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5261 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5262 echo $ECHO_N "(cached) $ECHO_C" >&6
5266 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 test -z "$as_dir" && as_dir=.
5274 for ac_exec_ext in '' $ac_executable_extensions; do
5275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5276 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5284 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5288 GMSGFMT=$ac_cv_path_GMSGFMT
5289 if test -n "$GMSGFMT"; then
5290 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5291 echo "${ECHO_T}$GMSGFMT" >&6; }
5293 { echo "$as_me:$LINENO: result: no" >&5
5294 echo "${ECHO_T}no" >&6; }
5298 # Extract the first word of "xgettext", so it can be a program name with args.
5299 set dummy xgettext; ac_word=$2
5300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5302 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5310 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5311 for ac_dir in $PATH; do
5312 test -z "$ac_dir" && ac_dir=.
5313 if test -f $ac_dir/$ac_word; then
5314 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5315 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5321 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5325 XGETTEXT="$ac_cv_path_XGETTEXT"
5326 if test "$XGETTEXT" != ":"; then
5327 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5328 echo "${ECHO_T}$XGETTEXT" >&6; }
5330 { echo "$as_me:$LINENO: result: no" >&5
5331 echo "${ECHO_T}no" >&6; }
5334 cat >conftest.$ac_ext <<_ACEOF
5337 cat confdefs.h >>conftest.$ac_ext
5338 cat >>conftest.$ac_ext <<_ACEOF
5339 /* end confdefs.h. */
5344 extern int _nl_msg_cat_cntr;
5345 return _nl_msg_cat_cntr
5350 rm -f conftest.$ac_objext conftest$ac_exeext
5351 if { (ac_try="$ac_link"
5353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5354 *) ac_try_echo=$ac_try;;
5356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5357 (eval "$ac_link") 2>conftest.er1
5359 grep -v '^ *+' conftest.er1 >conftest.err
5361 cat conftest.err >&5
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); } && {
5364 test -z "$ac_c_werror_flag" ||
5365 test ! -s conftest.err
5366 } && test -s conftest$ac_exeext &&
5367 $as_test_x conftest$ac_exeext; then
5371 echo "$as_me: failed program was:" >&5
5372 sed 's/^/| /' conftest.$ac_ext >&5
5376 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
5377 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
5378 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
5379 echo $ECHO_N "(cached) $ECHO_C" >&6
5381 cat >conftest.$ac_ext <<_ACEOF
5384 cat confdefs.h >>conftest.$ac_ext
5385 cat >>conftest.$ac_ext <<_ACEOF
5386 /* end confdefs.h. */
5387 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
5388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5389 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
5391 /* System header to define __stub macros and hopefully few prototypes,
5392 which can conflict with char bind_textdomain_codeset (); below.
5393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5394 <limits.h> exists even on freestanding compilers. */
5397 # include <limits.h>
5399 # include <assert.h>
5402 #undef bind_textdomain_codeset
5404 /* Override any GCC internal prototype to avoid an error.
5405 Use char because int might match the return type of a GCC
5406 builtin and then its argument prototype would still apply. */
5410 char bind_textdomain_codeset ();
5411 /* The GNU C library defines this for functions which it implements
5412 to always fail with ENOSYS. Some functions are actually named
5413 something starting with __ and the normal name is an alias. */
5414 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
5421 return bind_textdomain_codeset ();
5426 rm -f conftest.$ac_objext conftest$ac_exeext
5427 if { (ac_try="$ac_link"
5429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5430 *) ac_try_echo=$ac_try;;
5432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5433 (eval "$ac_link") 2>conftest.er1
5435 grep -v '^ *+' conftest.er1 >conftest.err
5437 cat conftest.err >&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); } && {
5440 test -z "$ac_c_werror_flag" ||
5441 test ! -s conftest.err
5442 } && test -s conftest$ac_exeext &&
5443 $as_test_x conftest$ac_exeext; then
5444 ac_cv_func_bind_textdomain_codeset=yes
5446 echo "$as_me: failed program was:" >&5
5447 sed 's/^/| /' conftest.$ac_ext >&5
5449 ac_cv_func_bind_textdomain_codeset=no
5452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5453 conftest$ac_exeext conftest.$ac_ext
5455 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
5456 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
5457 if test $ac_cv_func_bind_textdomain_codeset = yes; then
5473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5474 conftest$ac_exeext conftest.$ac_ext
5475 LIBS="$glib_save_LIBS"
5478 gt_cv_have_gettext=no
5486 if test "$gt_cv_have_gettext" = "yes" ; then
5488 cat >>confdefs.h <<\_ACEOF
5489 #define ENABLE_NLS 1
5494 if test "$XGETTEXT" != ":"; then
5495 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5498 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5499 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
5504 # We need to process the po/ directory.
5507 ac_config_commands="$ac_config_commands default-1"
5510 for lang in $ALL_LINGUAS; do
5511 GMOFILES="$GMOFILES $lang.gmo"
5512 POFILES="$POFILES $lang.po"
5527 if test "$gt_cv_have_gettext" = "yes"; then
5528 if test "x$ALL_LINGUAS" = "x"; then
5531 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5532 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
5534 for presentlang in $ALL_LINGUAS; do
5536 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
5537 desiredlanguages="$LINGUAS"
5539 desiredlanguages="$ALL_LINGUAS"
5541 for desiredlang in $desiredlanguages; do
5542 # Use the presentlang catalog if desiredlang is
5543 # a. equal to presentlang, or
5544 # b. a variant of presentlang (because in this case,
5545 # presentlang can be used as a fallback for messages
5546 # which are not translated in the desiredlang catalog).
5547 case "$desiredlang" in
5548 "$presentlang"*) useit=yes;;
5551 if test $useit = yes; then
5552 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5555 LINGUAS=$NEW_LINGUAS
5556 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
5557 echo "${ECHO_T}$LINGUAS" >&6; }
5560 if test -n "$LINGUAS"; then
5561 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5566 if test -n "$ac_aux_dir"; then
5567 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5569 if test -z "$MKINSTALLDIRS"; then
5570 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5574 test -d po || mkdir po
5575 if test "x$srcdir" != "x."; then
5576 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5577 posrcprefix="$srcdir/"
5579 posrcprefix="../$srcdir/"
5585 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5586 < $srcdir/po/POTFILES.in > po/POTFILES
5589 # Application locale install directory
5590 localedir=`$PKG_CONFIG osso-af-settings --variable=localedir`
5592 # Application pixmaps install directory
5593 pixmapdir=`$PKG_CONFIG osso-af-settings --variable=hildonpixmapdir`
5595 # Help file install directory
5596 helpfile_engbdir=$datadir/osso-help/en_GB
5598 package_appdir=$datadir/applications/worldtv99
5600 # Define as variables in Makefiles
5606 cat >>confdefs.h <<_ACEOF
5607 #define LOCALEDIR "${localedir}"
5611 cat >>confdefs.h <<_ACEOF
5612 #define PIXMAPDIR "${pixmapdir}"
5616 # Produce output files
5617 ac_config_files="$ac_config_files Makefile data/Makefile"
5619 cat >confcache <<\_ACEOF
5620 # This file is a shell script that caches the results of configure
5621 # tests run on this system so they can be shared between configure
5622 # scripts and configure runs, see configure's option --config-cache.
5623 # It is not useful on other systems. If it contains results you don't
5624 # want to keep, you may remove or edit it.
5626 # config.status only pays attention to the cache file if you give it
5627 # the --recheck option to rerun configure.
5629 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5630 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5635 # The following way of writing the cache mishandles newlines in values,
5636 # but we know of no workaround that is simple, portable, and efficient.
5637 # So, we kill variables containing newlines.
5638 # Ultrix sh set writes to stderr and can't be redirected directly,
5639 # and sets the high bit in the cache file unless we assign to the vars.
5641 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5642 eval ac_val=\$$ac_var
5646 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5647 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5650 _ | IFS | as_nl) ;; #(
5651 *) $as_unset $ac_var ;;
5657 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5658 *${as_nl}ac_space=\ *)
5659 # `set' does not quote correctly, so add quotes (double-quote
5660 # substitution turns \\\\ into \\, and sed turns \\ into \).
5663 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5666 # `set' quotes correctly as required by POSIX, so do not add quotes.
5667 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5676 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5678 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5680 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5681 if test -w "$cache_file"; then
5682 test "x$cache_file" != "x/dev/null" &&
5683 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5684 echo "$as_me: updating cache $cache_file" >&6;}
5685 cat confcache >$cache_file
5687 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5688 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5693 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5694 # Let make expand exec_prefix.
5695 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5697 # Transform confdefs.h into DEFS.
5698 # Protect against shell expansion while executing Makefile rules.
5699 # Protect against Makefile macro expansion.
5701 # If the first sed substitution is executed (which looks for macros that
5702 # take arguments), then branch to the quote section. Otherwise,
5703 # look for a macro that doesn't take arguments.
5707 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5709 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5713 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5726 DEFS=`sed -n "$ac_script" confdefs.h`
5731 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5732 # 1. Remove the extension, and $U if already installed.
5733 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5734 ac_i=`echo "$ac_i" | sed "$ac_script"`
5735 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5736 # will be set to the directory where LIBOBJS objects are built.
5737 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5738 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5742 LTLIBOBJS=$ac_ltlibobjs
5745 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5746 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5747 Usually this means the macro was only invoked conditionally." >&5
5748 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5749 Usually this means the macro was only invoked conditionally." >&2;}
5750 { (exit 1); exit 1; }; }
5752 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5753 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5754 Usually this means the macro was only invoked conditionally." >&5
5755 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5756 Usually this means the macro was only invoked conditionally." >&2;}
5757 { (exit 1); exit 1; }; }
5760 : ${CONFIG_STATUS=./config.status}
5761 ac_clean_files_save=$ac_clean_files
5762 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5763 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5764 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5765 cat >$CONFIG_STATUS <<_ACEOF
5767 # Generated by $as_me.
5768 # Run this file to recreate the current configuration.
5769 # Compiler output produced by configure, useful for debugging
5770 # configure, is in config.log if it exists.
5775 SHELL=\${CONFIG_SHELL-$SHELL}
5778 cat >>$CONFIG_STATUS <<\_ACEOF
5779 ## --------------------- ##
5780 ## M4sh Initialization. ##
5781 ## --------------------- ##
5783 # Be more Bourne compatible
5784 DUALCASE=1; export DUALCASE # for MKS sh
5785 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5788 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5789 # is contrary to our usage. Disable this feature.
5790 alias -g '${1+"$@"}'='"$@"'
5791 setopt NO_GLOB_SUBST
5793 case `(set -o) 2>/dev/null` in
5794 *posix*) set -o posix ;;
5803 # Avoid depending upon Character Ranges.
5804 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5805 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5806 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5807 as_cr_digits='0123456789'
5808 as_cr_alnum=$as_cr_Letters$as_cr_digits
5810 # The user is always right.
5811 if test "${PATH_SEPARATOR+set}" != set; then
5812 echo "#! /bin/sh" >conf$$.sh
5813 echo "exit 0" >>conf$$.sh
5815 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5823 # Support unset when possible.
5824 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5832 # We need space, tab and new line, in precisely that order. Quoting is
5833 # there to prevent editors from complaining about space-tab.
5834 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5835 # splitting by setting IFS to empty value.)
5840 # Find who we are. Look in the path if we contain no directory separator.
5842 *[\\/]* ) as_myself=$0 ;;
5843 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir=.
5848 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5854 # We did not find ourselves, most probably we were run as `sh COMMAND'
5855 # in which case we are not to be found in the path.
5856 if test "x$as_myself" = x; then
5859 if test ! -f "$as_myself"; then
5860 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5861 { (exit 1); exit 1; }
5864 # Work around bugs in pre-3.0 UWIN ksh.
5865 for as_var in ENV MAIL MAILPATH
5866 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5874 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5875 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5876 LC_TELEPHONE LC_TIME
5878 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5879 eval $as_var=C; export $as_var
5881 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5885 # Required to use basename.
5886 if expr a : '\(a\)' >/dev/null 2>&1 &&
5887 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5893 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5894 as_basename=basename
5900 # Name of the executable.
5901 as_me=`$as_basename -- "$0" ||
5902 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5903 X"$0" : 'X\(//\)$' \| \
5904 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5906 sed '/^.*\/\([^/][^/]*\)\/*$/{
5927 test "x$as_lineno_1" != "x$as_lineno_2" &&
5928 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5930 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5931 # uniformly replaced by the line number. The first 'sed' inserts a
5932 # line-number line after each line using $LINENO; the second 'sed'
5933 # does the real work. The second script uses 'N' to pair each
5934 # line-number line with the line containing $LINENO, and appends
5935 # trailing '-' during substitution so that $LINENO is not a special
5937 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5938 # scripts with optimization help from Paolo Bonzini. Blame Lee
5939 # E. McMahon (1931-1989) for sed's syntax. :-)
5951 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5955 chmod +x "$as_me.lineno" ||
5956 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5957 { (exit 1); exit 1; }; }
5959 # Don't try to exec as it changes $[0], causing all sort of problems
5960 # (the dirname of $[0] is not the place where we might find the
5961 # original and so on. Autoconf is especially sensitive to this).
5963 # Exit status is that of the last command.
5968 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5974 ECHO_C= ECHO_N= ECHO_T=
5977 case `echo 'x\c'` in
5978 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5985 if expr a : '\(a\)' >/dev/null 2>&1 &&
5986 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5992 rm -f conf$$ conf$$.exe conf$$.file
5993 if test -d conf$$.dir; then
5994 rm -f conf$$.dir/conf$$.file
6000 if ln -s conf$$.file conf$$ 2>/dev/null; then
6002 # ... but there are two gotchas:
6003 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6004 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6005 # In both cases, we have to default to `cp -p'.
6006 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6008 elif ln conf$$.file conf$$ 2>/dev/null; then
6013 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6014 rmdir conf$$.dir 2>/dev/null
6016 if mkdir -p . 2>/dev/null; then
6019 test -d ./-p && rmdir ./-p
6023 if test -x / >/dev/null 2>&1; then
6026 if ls -dL / >/dev/null 2>&1; then
6033 if test -d "$1"; then
6039 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6040 ???[sx]*):;;*)false;;esac;fi
6044 as_executable_p=$as_test_x
6046 # Sed expression to map a string onto a valid CPP name.
6047 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6049 # Sed expression to map a string onto a valid variable name.
6050 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6055 # Save the log message, to keep $[0] and so on meaningful, and to
6056 # report actual input values of CONFIG_FILES etc. instead of their
6057 # values after options handling.
6059 This file was extended by $as_me, which was
6060 generated by GNU Autoconf 2.61. Invocation command line was
6062 CONFIG_FILES = $CONFIG_FILES
6063 CONFIG_HEADERS = $CONFIG_HEADERS
6064 CONFIG_LINKS = $CONFIG_LINKS
6065 CONFIG_COMMANDS = $CONFIG_COMMANDS
6068 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6073 cat >>$CONFIG_STATUS <<_ACEOF
6074 # Files that config.status was made for.
6075 config_files="$ac_config_files"
6076 config_commands="$ac_config_commands"
6080 cat >>$CONFIG_STATUS <<\_ACEOF
6082 \`$as_me' instantiates files from templates according to the
6083 current configuration.
6085 Usage: $0 [OPTIONS] [FILE]...
6087 -h, --help print this help, then exit
6088 -V, --version print version number and configuration settings, then exit
6089 -q, --quiet do not print progress messages
6090 -d, --debug don't remove temporary files
6091 --recheck update $as_me by reconfiguring in the same conditions
6092 --file=FILE[:TEMPLATE]
6093 instantiate the configuration file FILE
6095 Configuration files:
6098 Configuration commands:
6101 Report bugs to <bug-autoconf@gnu.org>."
6104 cat >>$CONFIG_STATUS <<_ACEOF
6107 configured by $0, generated by GNU Autoconf 2.61,
6108 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6110 Copyright (C) 2006 Free Software Foundation, Inc.
6111 This config.status script is free software; the Free Software Foundation
6112 gives unlimited permission to copy, distribute and modify it."
6119 cat >>$CONFIG_STATUS <<\_ACEOF
6120 # If no file are specified by the user, then we need to provide default
6121 # value. By we need to know if files were specified by the user.
6127 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6128 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6139 # Handling of the options.
6140 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6142 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6143 echo "$ac_cs_version"; exit ;;
6144 --debug | --debu | --deb | --de | --d | -d )
6146 --file | --fil | --fi | --f )
6148 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6149 ac_need_defaults=false;;
6150 --he | --h | --help | --hel | -h )
6151 echo "$ac_cs_usage"; exit ;;
6152 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6153 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6157 -*) { echo "$as_me: error: unrecognized option: $1
6158 Try \`$0 --help' for more information." >&2
6159 { (exit 1); exit 1; }; } ;;
6161 *) ac_config_targets="$ac_config_targets $1"
6162 ac_need_defaults=false ;;
6168 ac_configure_extra_args=
6170 if $ac_cs_silent; then
6172 ac_configure_extra_args="$ac_configure_extra_args --silent"
6176 cat >>$CONFIG_STATUS <<_ACEOF
6177 if \$ac_cs_recheck; then
6178 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6181 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6185 cat >>$CONFIG_STATUS <<\_ACEOF
6189 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6190 ## Running $as_me. ##
6196 cat >>$CONFIG_STATUS <<_ACEOF
6200 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6205 cat >>$CONFIG_STATUS <<\_ACEOF
6207 # Handling of arguments.
6208 for ac_config_target in $ac_config_targets
6210 case $ac_config_target in
6211 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6212 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
6213 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6214 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
6216 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6217 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6218 { (exit 1); exit 1; }; };;
6223 # If the user did not use the arguments to specify the items to instantiate,
6224 # then the envvar interface is used. Set only those that are not.
6225 # We use the long form for the default assignment because of an extremely
6226 # bizarre bug on SunOS 4.1.3.
6227 if $ac_need_defaults; then
6228 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6229 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6232 # Have a temporary directory for convenience. Make it in the build tree
6233 # simply because there is no reason against having it here, and in addition,
6234 # creating and moving files from /tmp can sometimes cause problems.
6235 # Hook for its removal unless debugging.
6236 # Note that there is a small window in which the directory will not be cleaned:
6237 # after its creation but before its name has been assigned to `$tmp'.
6241 trap 'exit_status=$?
6242 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6244 trap '{ (exit 1); exit 1; }' 1 2 13 15
6246 # Create a (secure) tmp directory for tmp files.
6249 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6250 test -n "$tmp" && test -d "$tmp"
6253 tmp=./conf$$-$RANDOM
6254 (umask 077 && mkdir "$tmp")
6257 echo "$me: cannot create a temporary directory in ." >&2
6258 { (exit 1); exit 1; }
6262 # Set up the sed scripts for CONFIG_FILES section.
6265 # No need to generate the scripts if there are no CONFIG_FILES.
6266 # This happens for instance when ./config.status config.h
6267 if test -n "$CONFIG_FILES"; then
6274 for ac_last_try in false false false false false :; do
6275 cat >conf$$subs.sed <<_ACEOF
6276 SHELL!$SHELL$ac_delim
6277 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6278 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6279 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6280 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6281 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6282 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6283 exec_prefix!$exec_prefix$ac_delim
6284 prefix!$prefix$ac_delim
6285 program_transform_name!$program_transform_name$ac_delim
6286 bindir!$bindir$ac_delim
6287 sbindir!$sbindir$ac_delim
6288 libexecdir!$libexecdir$ac_delim
6289 datarootdir!$datarootdir$ac_delim
6290 datadir!$datadir$ac_delim
6291 sysconfdir!$sysconfdir$ac_delim
6292 sharedstatedir!$sharedstatedir$ac_delim
6293 localstatedir!$localstatedir$ac_delim
6294 includedir!$includedir$ac_delim
6295 oldincludedir!$oldincludedir$ac_delim
6296 docdir!$docdir$ac_delim
6297 infodir!$infodir$ac_delim
6298 htmldir!$htmldir$ac_delim
6299 dvidir!$dvidir$ac_delim
6300 pdfdir!$pdfdir$ac_delim
6301 psdir!$psdir$ac_delim
6302 libdir!$libdir$ac_delim
6303 localedir!$localedir$ac_delim
6304 mandir!$mandir$ac_delim
6306 ECHO_C!$ECHO_C$ac_delim
6307 ECHO_N!$ECHO_N$ac_delim
6308 ECHO_T!$ECHO_T$ac_delim
6310 build_alias!$build_alias$ac_delim
6311 host_alias!$host_alias$ac_delim
6312 target_alias!$target_alias$ac_delim
6313 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6314 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6315 INSTALL_DATA!$INSTALL_DATA$ac_delim
6316 CYGPATH_W!$CYGPATH_W$ac_delim
6317 PACKAGE!$PACKAGE$ac_delim
6318 VERSION!$VERSION$ac_delim
6319 ACLOCAL!$ACLOCAL$ac_delim
6320 AUTOCONF!$AUTOCONF$ac_delim
6321 AUTOMAKE!$AUTOMAKE$ac_delim
6322 AUTOHEADER!$AUTOHEADER$ac_delim
6323 MAKEINFO!$MAKEINFO$ac_delim
6324 AMTAR!$AMTAR$ac_delim
6325 install_sh!$install_sh$ac_delim
6326 STRIP!$STRIP$ac_delim
6327 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
6329 SET_MAKE!$SET_MAKE$ac_delim
6330 am__leading_dot!$am__leading_dot$ac_delim
6331 build!$build$ac_delim
6332 build_cpu!$build_cpu$ac_delim
6333 build_vendor!$build_vendor$ac_delim
6334 build_os!$build_os$ac_delim
6336 host_cpu!$host_cpu$ac_delim
6337 host_vendor!$host_vendor$ac_delim
6338 host_os!$host_os$ac_delim
6339 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
6341 CFLAGS!$CFLAGS$ac_delim
6342 LDFLAGS!$LDFLAGS$ac_delim
6343 CPPFLAGS!$CPPFLAGS$ac_delim
6344 ac_ct_CC!$ac_ct_CC$ac_delim
6345 EXEEXT!$EXEEXT$ac_delim
6346 OBJEXT!$OBJEXT$ac_delim
6347 DEPDIR!$DEPDIR$ac_delim
6348 am__include!$am__include$ac_delim
6349 am__quote!$am__quote$ac_delim
6350 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
6351 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
6352 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
6353 CCDEPMODE!$CCDEPMODE$ac_delim
6354 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
6355 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
6358 EGREP!$EGREP$ac_delim
6359 USE_NLS!$USE_NLS$ac_delim
6360 MSGFMT!$MSGFMT$ac_delim
6361 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
6362 GMSGFMT!$GMSGFMT$ac_delim
6363 XGETTEXT!$XGETTEXT$ac_delim
6364 CATALOGS!$CATALOGS$ac_delim
6365 CATOBJEXT!$CATOBJEXT$ac_delim
6366 DATADIRNAME!$DATADIRNAME$ac_delim
6367 GMOFILES!$GMOFILES$ac_delim
6368 INSTOBJEXT!$INSTOBJEXT$ac_delim
6369 INTLLIBS!$INTLLIBS$ac_delim
6370 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
6371 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
6372 POFILES!$POFILES$ac_delim
6375 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
6377 elif $ac_last_try; then
6378 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6379 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6380 { (exit 1); exit 1; }; }
6382 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6386 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6387 if test -n "$ac_eof"; then
6388 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6389 ac_eof=`expr $ac_eof + 1`
6392 cat >>$CONFIG_STATUS <<_ACEOF
6393 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6394 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6397 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6398 s/^/s,@/; s/!/@,|#_!!_#|/
6401 s/'"$ac_delim"'$/,g/; t
6403 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6404 ' >>$CONFIG_STATUS <conf$$subs.sed
6405 rm -f conf$$subs.sed
6406 cat >>$CONFIG_STATUS <<_ACEOF
6412 for ac_last_try in false false false false false :; do
6413 cat >conf$$subs.sed <<_ACEOF
6414 POSUB!$POSUB$ac_delim
6415 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
6416 helpfile_engbdir!$helpfile_engbdir$ac_delim
6417 package_appdir!$package_appdir$ac_delim
6418 LIBOBJS!$LIBOBJS$ac_delim
6419 LTLIBOBJS!$LTLIBOBJS$ac_delim
6422 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
6424 elif $ac_last_try; then
6425 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6426 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6427 { (exit 1); exit 1; }; }
6429 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6433 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6434 if test -n "$ac_eof"; then
6435 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6436 ac_eof=`expr $ac_eof + 1`
6439 cat >>$CONFIG_STATUS <<_ACEOF
6440 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
6441 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6444 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6445 s/^/s,@/; s/!/@,|#_!!_#|/
6448 s/'"$ac_delim"'$/,g/; t
6450 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6451 ' >>$CONFIG_STATUS <conf$$subs.sed
6452 rm -f conf$$subs.sed
6453 cat >>$CONFIG_STATUS <<_ACEOF
6460 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6461 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6462 # trailing colons and then remove the whole line if VPATH becomes empty
6463 # (actually we leave an empty line to preserve line numbers).
6464 if test "x$srcdir" = x.; then
6465 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6469 s/^\([^=]*=[ ]*\):*/\1/
6475 cat >>$CONFIG_STATUS <<\_ACEOF
6476 fi # test -n "$CONFIG_FILES"
6479 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
6482 :[FHLC]) ac_mode=$ac_tag; continue;;
6484 case $ac_mode$ac_tag in
6486 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6487 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6488 { (exit 1); exit 1; }; };;
6489 :[FH]-) ac_tag=-:-;;
6490 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6507 -) ac_f="$tmp/stdin";;
6508 *) # Look for the file first in the build tree, then in the source tree
6509 # (if the path is not absolute). The absolute path cannot be DOS-style,
6510 # because $ac_f cannot contain `:'.
6514 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6516 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6517 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6518 { (exit 1); exit 1; }; };;
6520 ac_file_inputs="$ac_file_inputs $ac_f"
6523 # Let's still pretend it is `configure' which instantiates (i.e., don't
6524 # use $as_me), people would be surprised to read:
6525 # /* config.h. Generated by config.status. */
6526 configure_input="Generated from "`IFS=:
6527 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6528 if test x"$ac_file" != x-; then
6529 configure_input="$ac_file. $configure_input"
6530 { echo "$as_me:$LINENO: creating $ac_file" >&5
6531 echo "$as_me: creating $ac_file" >&6;}
6535 *:-:* | *:-) cat >"$tmp/stdin";;
6540 ac_dir=`$as_dirname -- "$ac_file" ||
6541 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6542 X"$ac_file" : 'X\(//\)[^/]' \| \
6543 X"$ac_file" : 'X\(//\)$' \| \
6544 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6565 -*) as_dir=./$as_dir;;
6567 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6571 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6572 *) as_qdir=$as_dir;;
6574 as_dirs="'$as_qdir' $as_dirs"
6575 as_dir=`$as_dirname -- "$as_dir" ||
6576 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6577 X"$as_dir" : 'X\(//\)[^/]' \| \
6578 X"$as_dir" : 'X\(//\)$' \| \
6579 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6598 test -d "$as_dir" && break
6600 test -z "$as_dirs" || eval "mkdir $as_dirs"
6601 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6602 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6603 { (exit 1); exit 1; }; }; }
6607 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6609 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6610 # A ".." for each directory in $ac_dir_suffix.
6611 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6612 case $ac_top_builddir_sub in
6613 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6614 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6617 ac_abs_top_builddir=$ac_pwd
6618 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6619 # for backward compatibility:
6620 ac_top_builddir=$ac_top_build_prefix
6623 .) # We are building in place.
6625 ac_top_srcdir=$ac_top_builddir_sub
6626 ac_abs_top_srcdir=$ac_pwd ;;
6627 [\\/]* | ?:[\\/]* ) # Absolute name.
6628 ac_srcdir=$srcdir$ac_dir_suffix;
6629 ac_top_srcdir=$srcdir
6630 ac_abs_top_srcdir=$srcdir ;;
6632 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6633 ac_top_srcdir=$ac_top_build_prefix$srcdir
6634 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6636 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6646 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6647 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6651 cat >>$CONFIG_STATUS <<\_ACEOF
6652 # If the template does not know about datarootdir, expand it.
6653 # FIXME: This hack should be removed a few years after 2.60.
6654 ac_datarootdir_hack=; ac_datarootdir_seen=
6656 case `sed -n '/datarootdir/ {
6665 ' $ac_file_inputs` in
6666 *datarootdir*) ac_datarootdir_seen=yes;;
6667 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6668 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6669 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6671 cat >>$CONFIG_STATUS <<_ACEOF
6672 ac_datarootdir_hack='
6673 s&@datadir@&$datadir&g
6674 s&@docdir@&$docdir&g
6675 s&@infodir@&$infodir&g
6676 s&@localedir@&$localedir&g
6677 s&@mandir@&$mandir&g
6678 s&\\\${datarootdir}&$datarootdir&g' ;;
6682 # Neutralize VPATH when `$srcdir' = `.'.
6683 # Shell code in configure.ac might set extrasub.
6684 # FIXME: do we really want to maintain this feature?
6685 cat >>$CONFIG_STATUS <<_ACEOF
6689 cat >>$CONFIG_STATUS <<\_ACEOF
6691 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6692 s&@configure_input@&$configure_input&;t t
6693 s&@top_builddir@&$ac_top_builddir_sub&;t t
6694 s&@srcdir@&$ac_srcdir&;t t
6695 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6696 s&@top_srcdir@&$ac_top_srcdir&;t t
6697 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6698 s&@builddir@&$ac_builddir&;t t
6699 s&@abs_builddir@&$ac_abs_builddir&;t t
6700 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6701 s&@INSTALL@&$ac_INSTALL&;t t
6702 $ac_datarootdir_hack
6703 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
6705 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6706 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6707 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6708 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6709 which seems to be undefined. Please make sure it is defined." >&5
6710 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6711 which seems to be undefined. Please make sure it is defined." >&2;}
6715 -) cat "$tmp/out"; rm -f "$tmp/out";;
6716 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6721 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6722 echo "$as_me: executing $ac_file commands" >&6;}
6727 case $ac_file$ac_mode in
6728 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6729 # Strip MF so we end up with the name of the file.
6730 mf=`echo "$mf" | sed -e 's/:.*$//'`
6731 # Check whether this is an Automake generated Makefile or not.
6732 # We used to match only the files named `Makefile.in', but
6733 # some people rename them; so instead we look at the file content.
6734 # Grep'ing the first line is not enough: some people post-process
6735 # each Makefile.in and add a new line on top of each file to say so.
6736 # So let's grep whole file.
6737 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6738 dirpart=`$as_dirname -- "$mf" ||
6739 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6740 X"$mf" : 'X\(//\)[^/]' \| \
6741 X"$mf" : 'X\(//\)$' \| \
6742 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6764 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6765 # Extract the definition of DEP_FILES from the Makefile without
6767 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6768 test -z "$DEPDIR" && continue
6769 # When using ansi2knr, U may be empty or an underscore; expand it
6770 U=`sed -n -e '/^U = / s///p' < "$mf"`
6771 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6772 # We invoke sed twice because it is the simplest approach to
6773 # changing $(DEPDIR) to its actual value in the expansion.
6774 for file in `sed -n -e '
6775 /^DEP_FILES = .*\\\\$/ {
6784 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6785 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6786 # Make sure the directory exists.
6787 test -f "$dirpart/$file" && continue
6788 fdir=`$as_dirname -- "$file" ||
6789 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6790 X"$file" : 'X\(//\)[^/]' \| \
6791 X"$file" : 'X\(//\)$' \| \
6792 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6811 { as_dir=$dirpart/$fdir
6813 -*) as_dir=./$as_dir;;
6815 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6819 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6820 *) as_qdir=$as_dir;;
6822 as_dirs="'$as_qdir' $as_dirs"
6823 as_dir=`$as_dirname -- "$as_dir" ||
6824 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6825 X"$as_dir" : 'X\(//\)[^/]' \| \
6826 X"$as_dir" : 'X\(//\)$' \| \
6827 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6846 test -d "$as_dir" && break
6848 test -z "$as_dirs" || eval "mkdir $as_dirs"
6849 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6850 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6851 { (exit 1); exit 1; }; }; }
6852 # echo "creating $dirpart/$file"
6853 echo '# dummy' > "$dirpart/$file"
6857 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
6858 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
6865 { (exit 0); exit 0; }
6867 chmod +x $CONFIG_STATUS
6868 ac_clean_files=$ac_clean_files_save
6871 # configure is writing to config.log, and then calls config.status.
6872 # config.status does its own redirection, appending to config.log.
6873 # Unfortunately, on DOS this fails, as config.log is still kept open
6874 # by configure, so config.status won't be able to write to it; its
6875 # output is simply discarded. So we exec the FD to /dev/null,
6876 # effectively closing config.log, so it can be properly (re)opened and
6877 # appended to by config.status. When coming back to configure, we
6878 # need to make the FD available again.
6879 if test "$no_create" != yes; then
6881 ac_config_status_args=
6882 test "$silent" = yes &&
6883 ac_config_status_args="$ac_config_status_args --quiet"
6885 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6887 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6888 # would make configure fail if this is the last instruction.
6889 $ac_cs_success || { (exit 1); exit 1; }