2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60.
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 Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24 BIN_SH=xpg4; export BIN_SH # for Tru64
25 DUALCASE=1; export DUALCASE # for MKS sh
29 # Avoid depending upon Character Ranges.
30 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33 as_cr_digits='0123456789'
34 as_cr_alnum=$as_cr_Letters$as_cr_digits
36 # The user is always right.
37 if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 # Support unset when possible.
50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 # We need space, tab and new line, in precisely that order. Quoting is
59 # there to prevent editors from complaining about space-tab.
60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
61 # splitting by setting IFS to empty value.)
66 # Find who we are. Look in the path if we contain no directory separator.
68 *[\\/]* ) as_myself=$0 ;;
69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73 test -z "$as_dir" && as_dir=.
74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80 # We did not find ourselves, most probably we were run as `sh COMMAND'
81 # in which case we are not to be found in the path.
82 if test "x$as_myself" = x; then
85 if test ! -f "$as_myself"; then
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 # Work around bugs in pre-3.0 UWIN ksh.
91 for as_var in ENV MAIL MAILPATH
92 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105 eval $as_var=C; export $as_var
107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 # Required to use basename.
112 if expr a : '\(a\)' >/dev/null 2>&1 &&
113 test "X`expr 00001 : '.*\(...\)'`" = X001; then
119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 # Name of the executable.
127 as_me=`$as_basename -- "$0" ||
128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129 X"$0" : 'X\(//\)$' \| \
130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
132 sed '/^.*\/\([^/][^/]*\)\/*$/{
150 if test "x$CONFIG_SHELL" = x; then
151 if (eval ":") 2>/dev/null; then
157 if test $as_have_required = yes && (eval ":
167 as_func_ret_success () {
170 as_func_ret_failure () {
175 if as_func_success; then
179 echo as_func_success failed.
182 if as_func_failure; then
184 echo as_func_failure succeeded.
187 if as_func_ret_success; then
191 echo as_func_ret_success failed.
194 if as_func_ret_failure; then
196 echo as_func_ret_failure succeeded.
199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 echo positional parameters were not saved.
206 test \$exitcode = 0) || { (exit 1); exit 1; }
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213 ") 2> /dev/null; then
217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
224 for as_base in sh bash ksh sh5; do
225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 for as_shell in $as_candidate_shells $SHELL; do
233 # Try only shells that exist, to save several forks.
234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235 { ("$as_shell") 2> /dev/null <<\_ASEOF
236 # Be Bourne compatible
237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241 # is contrary to our usage. Disable this feature.
242 alias -g '${1+"$@"}'='"$@"'
245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
247 BIN_SH=xpg4; export BIN_SH # for Tru64
248 DUALCASE=1; export DUALCASE # for MKS sh
253 CONFIG_SHELL=$as_shell
255 if { "$as_shell" 2> /dev/null <<\_ASEOF
256 # Be Bourne compatible
257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261 # is contrary to our usage. Disable this feature.
262 alias -g '${1+"$@"}'='"$@"'
265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
267 BIN_SH=xpg4; export BIN_SH # for Tru64
268 DUALCASE=1; export DUALCASE # for MKS sh
280 as_func_ret_success () {
283 as_func_ret_failure () {
288 if as_func_success; then
292 echo as_func_success failed.
295 if as_func_failure; then
297 echo as_func_failure succeeded.
300 if as_func_ret_success; then
304 echo as_func_ret_success failed.
307 if as_func_ret_failure; then
309 echo as_func_ret_failure succeeded.
312 if ( set x; as_func_ret_success y && test x = "$1" ); then
316 echo positional parameters were not saved.
319 test $exitcode = 0) || { (exit 1); exit 1; }
324 test "x$as_lineno_1" != "x$as_lineno_2" &&
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
336 if test "x$CONFIG_SHELL" != x; then
337 for as_var in BASH_ENV ENV
338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 if test $as_have_required = no; then
346 echo This script requires a shell more modern than all the
347 echo shells that I found on your system. Please install a
348 echo modern shell, or manually run the script under such a
349 echo shell if you do have one.
350 { (exit 1); exit 1; }
360 (eval "as_func_return () {
369 as_func_ret_success () {
372 as_func_ret_failure () {
377 if as_func_success; then
381 echo as_func_success failed.
384 if as_func_failure; then
386 echo as_func_failure succeeded.
389 if as_func_ret_success; then
393 echo as_func_ret_success failed.
396 if as_func_ret_failure; then
398 echo as_func_ret_failure succeeded.
401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 echo positional parameters were not saved.
408 test \$exitcode = 0") || {
409 echo No shell found that supports shell functions.
410 echo Please tell autoconf@gnu.org about your system,
411 echo including any error possibly output before this
419 test "x$as_lineno_1" != "x$as_lineno_2" &&
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423 # uniformly replaced by the line number. The first 'sed' inserts a
424 # line-number line after each line using $LINENO; the second 'sed'
425 # does the real work. The second script uses 'N' to pair each
426 # line-number line with the line containing $LINENO, and appends
427 # trailing '-' during substitution so that $LINENO is not a special
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430 # scripts with optimization help from Paolo Bonzini. Blame Lee
431 # E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x "$as_me.lineno" ||
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449 { (exit 1); exit 1; }; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
455 # Exit status is that of the last command.
460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
466 ECHO_C= ECHO_N= ECHO_T=
470 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 if expr a : '\(a\)' >/dev/null 2>&1 &&
478 test "X`expr 00001 : '.*\(...\)'`" = X001; then
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
511 test -d ./-p && rmdir ./-p
515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
516 # systems may use methods other than mode bits to determine executability.
517 cat >conf$$.file <<_ASEOF
522 if test -x conf$$.file >/dev/null 2>&1; then
523 as_executable_p="test -x"
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 exec 7<&0 </dev/null 6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix=/usr/local
549 ac_config_libobj_dir=.
555 SHELL=${CONFIG_SHELL-/bin/sh}
557 # Identity of this package.
564 ac_unique_file="aplay/aplay.c"
565 ac_default_prefix=/usr
566 # Factoring default headers for most tests.
567 ac_includes_default="\
570 # include <sys/types.h>
573 # include <sys/stat.h>
584 # if !STDC_HEADERS && HAVE_MEMORY_H
590 # include <strings.h>
593 # include <inttypes.h>
611 program_transform_name
652 INSTALL_STRIP_PROGRAM
734 ac_precious_vars='build_alias
744 # Initialize some variables set by options.
746 ac_init_version=false
747 # The variables have the same names as the options, with
748 # dashes changed to underlines.
756 program_transform_name=s,x,x,
764 # Installation directory options.
765 # These are left unexpanded so users can "make install exec_prefix=/foo"
766 # and all the variables that are supposed to be based on exec_prefix
767 # by default will actually change.
768 # Use braces instead of parens because sh, perl, etc. also accept them.
769 # (The list follows the same order as the GNU Coding Standards.)
770 bindir='${exec_prefix}/bin'
771 sbindir='${exec_prefix}/sbin'
772 libexecdir='${exec_prefix}/libexec'
773 datarootdir='${prefix}/share'
774 datadir='${datarootdir}'
775 sysconfdir='${prefix}/etc'
776 sharedstatedir='${prefix}/com'
777 localstatedir='${prefix}/var'
778 includedir='${prefix}/include'
779 oldincludedir='/usr/include'
780 docdir='${datarootdir}/doc/${PACKAGE}'
781 infodir='${datarootdir}/info'
786 libdir='${exec_prefix}/lib'
787 localedir='${datarootdir}/locale'
788 mandir='${datarootdir}/man'
794 # If the previous option needs an argument, assign it.
795 if test -n "$ac_prev"; then
796 eval $ac_prev=\$ac_option
802 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
806 # Accept the important Cygnus configure options, so we can diagnose typos.
808 case $ac_dashdash$ac_option in
812 -bindir | --bindir | --bindi | --bind | --bin | --bi)
814 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
817 -build | --build | --buil | --bui | --bu)
818 ac_prev=build_alias ;;
819 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
820 build_alias=$ac_optarg ;;
822 -cache-file | --cache-file | --cache-fil | --cache-fi \
823 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
824 ac_prev=cache_file ;;
825 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
826 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
827 cache_file=$ac_optarg ;;
830 cache_file=config.cache ;;
832 -datadir | --datadir | --datadi | --datad)
834 -datadir=* | --datadir=* | --datadi=* | --datad=*)
835 datadir=$ac_optarg ;;
837 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
838 | --dataroo | --dataro | --datar)
839 ac_prev=datarootdir ;;
840 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
841 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
842 datarootdir=$ac_optarg ;;
844 -disable-* | --disable-*)
845 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
846 # Reject names that are not valid shell variable names.
847 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
848 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
849 { (exit 1); exit 1; }; }
850 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
851 eval enable_$ac_feature=no ;;
853 -docdir | --docdir | --docdi | --doc | --do)
855 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
858 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
860 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
863 -enable-* | --enable-*)
864 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
865 # Reject names that are not valid shell variable names.
866 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
867 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
868 { (exit 1); exit 1; }; }
869 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
870 eval enable_$ac_feature=\$ac_optarg ;;
872 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
873 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
874 | --exec | --exe | --ex)
875 ac_prev=exec_prefix ;;
876 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
877 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
878 | --exec=* | --exe=* | --ex=*)
879 exec_prefix=$ac_optarg ;;
881 -gas | --gas | --ga | --g)
882 # Obsolete; use --with-gas.
885 -help | --help | --hel | --he | -h)
887 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
888 ac_init_help=recursive ;;
889 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
890 ac_init_help=short ;;
892 -host | --host | --hos | --ho)
893 ac_prev=host_alias ;;
894 -host=* | --host=* | --hos=* | --ho=*)
895 host_alias=$ac_optarg ;;
897 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
899 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
901 htmldir=$ac_optarg ;;
903 -includedir | --includedir | --includedi | --included | --include \
904 | --includ | --inclu | --incl | --inc)
905 ac_prev=includedir ;;
906 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
907 | --includ=* | --inclu=* | --incl=* | --inc=*)
908 includedir=$ac_optarg ;;
910 -infodir | --infodir | --infodi | --infod | --info | --inf)
912 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
913 infodir=$ac_optarg ;;
915 -libdir | --libdir | --libdi | --libd)
917 -libdir=* | --libdir=* | --libdi=* | --libd=*)
920 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
921 | --libexe | --libex | --libe)
922 ac_prev=libexecdir ;;
923 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
924 | --libexe=* | --libex=* | --libe=*)
925 libexecdir=$ac_optarg ;;
927 -localedir | --localedir | --localedi | --localed | --locale)
929 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
930 localedir=$ac_optarg ;;
932 -localstatedir | --localstatedir | --localstatedi | --localstated \
933 | --localstate | --localstat | --localsta | --localst | --locals)
934 ac_prev=localstatedir ;;
935 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
936 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
937 localstatedir=$ac_optarg ;;
939 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
941 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
945 # Obsolete; use --without-fp.
948 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
949 | --no-cr | --no-c | -n)
952 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
953 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
956 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
957 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
958 | --oldin | --oldi | --old | --ol | --o)
959 ac_prev=oldincludedir ;;
960 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
961 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
962 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
963 oldincludedir=$ac_optarg ;;
965 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
967 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
970 -program-prefix | --program-prefix | --program-prefi | --program-pref \
971 | --program-pre | --program-pr | --program-p)
972 ac_prev=program_prefix ;;
973 -program-prefix=* | --program-prefix=* | --program-prefi=* \
974 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
975 program_prefix=$ac_optarg ;;
977 -program-suffix | --program-suffix | --program-suffi | --program-suff \
978 | --program-suf | --program-su | --program-s)
979 ac_prev=program_suffix ;;
980 -program-suffix=* | --program-suffix=* | --program-suffi=* \
981 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
982 program_suffix=$ac_optarg ;;
984 -program-transform-name | --program-transform-name \
985 | --program-transform-nam | --program-transform-na \
986 | --program-transform-n | --program-transform- \
987 | --program-transform | --program-transfor \
988 | --program-transfo | --program-transf \
989 | --program-trans | --program-tran \
990 | --progr-tra | --program-tr | --program-t)
991 ac_prev=program_transform_name ;;
992 -program-transform-name=* | --program-transform-name=* \
993 | --program-transform-nam=* | --program-transform-na=* \
994 | --program-transform-n=* | --program-transform-=* \
995 | --program-transform=* | --program-transfor=* \
996 | --program-transfo=* | --program-transf=* \
997 | --program-trans=* | --program-tran=* \
998 | --progr-tra=* | --program-tr=* | --program-t=*)
999 program_transform_name=$ac_optarg ;;
1001 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1003 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1004 pdfdir=$ac_optarg ;;
1006 -psdir | --psdir | --psdi | --psd | --ps)
1008 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1011 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1012 | -silent | --silent | --silen | --sile | --sil)
1015 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1017 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1019 sbindir=$ac_optarg ;;
1021 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1022 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1023 | --sharedst | --shareds | --shared | --share | --shar \
1025 ac_prev=sharedstatedir ;;
1026 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1027 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1028 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1030 sharedstatedir=$ac_optarg ;;
1032 -site | --site | --sit)
1034 -site=* | --site=* | --sit=*)
1037 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1039 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1040 srcdir=$ac_optarg ;;
1042 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1043 | --syscon | --sysco | --sysc | --sys | --sy)
1044 ac_prev=sysconfdir ;;
1045 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1046 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1047 sysconfdir=$ac_optarg ;;
1049 -target | --target | --targe | --targ | --tar | --ta | --t)
1050 ac_prev=target_alias ;;
1051 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1052 target_alias=$ac_optarg ;;
1054 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1057 -version | --version | --versio | --versi | --vers | -V)
1058 ac_init_version=: ;;
1061 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1062 # Reject names that are not valid shell variable names.
1063 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1064 { echo "$as_me: error: invalid package name: $ac_package" >&2
1065 { (exit 1); exit 1; }; }
1066 ac_package=`echo $ac_package| sed 's/-/_/g'`
1067 eval with_$ac_package=\$ac_optarg ;;
1069 -without-* | --without-*)
1070 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1073 { echo "$as_me: error: invalid package name: $ac_package" >&2
1074 { (exit 1); exit 1; }; }
1075 ac_package=`echo $ac_package | sed 's/-/_/g'`
1076 eval with_$ac_package=no ;;
1079 # Obsolete; use --with-x.
1082 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1083 | --x-incl | --x-inc | --x-in | --x-i)
1084 ac_prev=x_includes ;;
1085 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1086 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1087 x_includes=$ac_optarg ;;
1089 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1090 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1091 ac_prev=x_libraries ;;
1092 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1093 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1094 x_libraries=$ac_optarg ;;
1096 -*) { echo "$as_me: error: unrecognized option: $ac_option
1097 Try \`$0 --help' for more information." >&2
1098 { (exit 1); exit 1; }; }
1102 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1105 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1106 { (exit 1); exit 1; }; }
1107 eval $ac_envvar=\$ac_optarg
1108 export $ac_envvar ;;
1111 # FIXME: should be removed in autoconf 3.0.
1112 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1113 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1114 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1115 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1121 if test -n "$ac_prev"; then
1122 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1123 { echo "$as_me: error: missing argument to $ac_option" >&2
1124 { (exit 1); exit 1; }; }
1127 # Be sure to have absolute directory names.
1128 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1129 datadir sysconfdir sharedstatedir localstatedir includedir \
1130 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1131 libdir localedir mandir
1133 eval ac_val=\$$ac_var
1135 [\\/$]* | ?:[\\/]* ) continue;;
1136 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1138 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1139 { (exit 1); exit 1; }; }
1142 # There might be people who depend on the old broken behavior: `$host'
1143 # used to hold the argument of --host etc.
1144 # FIXME: To remove some day.
1147 target=$target_alias
1149 # FIXME: To remove some day.
1150 if test "x$host_alias" != x; then
1151 if test "x$build_alias" = x; then
1152 cross_compiling=maybe
1153 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1154 If a cross compiler is detected then cross compile mode will be used." >&2
1155 elif test "x$build_alias" != "x$host_alias"; then
1161 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1163 test "$silent" = yes && exec 6>/dev/null
1166 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1167 ac_ls_di=`ls -di .` &&
1168 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1169 { echo "$as_me: error: Working directory cannot be determined" >&2
1170 { (exit 1); exit 1; }; }
1171 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1172 { echo "$as_me: error: pwd does not report name of working directory" >&2
1173 { (exit 1); exit 1; }; }
1176 # Find the source files, if location was not specified.
1177 if test -z "$srcdir"; then
1178 ac_srcdir_defaulted=yes
1179 # Try the directory containing this script, then the parent directory.
1180 ac_confdir=`$as_dirname -- "$0" ||
1181 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1182 X"$0" : 'X\(//\)[^/]' \| \
1183 X"$0" : 'X\(//\)$' \| \
1184 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1204 if test ! -r "$srcdir/$ac_unique_file"; then
1208 ac_srcdir_defaulted=no
1210 if test ! -r "$srcdir/$ac_unique_file"; then
1211 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1212 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1213 { (exit 1); exit 1; }; }
1215 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1217 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1218 { (exit 1); exit 1; }; }
1220 # When building in place, set srcdir=.
1221 if test "$ac_abs_confdir" = "$ac_pwd"; then
1224 # Remove unnecessary trailing slashes from srcdir.
1225 # Double slashes in file names in object file debugging info
1226 # mess up M-x gdb in Emacs.
1228 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1230 for ac_var in $ac_precious_vars; do
1231 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1232 eval ac_env_${ac_var}_value=\$${ac_var}
1233 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1234 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1238 # Report the --help message.
1240 if test "$ac_init_help" = "long"; then
1241 # Omit some internal or obsolete options to make the list less imposing.
1242 # This message is too long to be a string in the A/UX 3.1 sh.
1244 \`configure' configures this package to adapt to many kinds of systems.
1246 Usage: $0 [OPTION]... [VAR=VALUE]...
1248 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1249 VAR=VALUE. See below for descriptions of some of the useful variables.
1251 Defaults for the options are specified in brackets.
1254 -h, --help display this help and exit
1255 --help=short display options specific to this package
1256 --help=recursive display the short help of all the included packages
1257 -V, --version display version information and exit
1258 -q, --quiet, --silent do not print \`checking...' messages
1259 --cache-file=FILE cache test results in FILE [disabled]
1260 -C, --config-cache alias for \`--cache-file=config.cache'
1261 -n, --no-create do not create output files
1262 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1264 Installation directories:
1265 --prefix=PREFIX install architecture-independent files in PREFIX
1266 [$ac_default_prefix]
1267 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1270 By default, \`make install' will install all the files in
1271 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1272 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1273 for instance \`--prefix=\$HOME'.
1275 For better control, use the options below.
1277 Fine tuning of the installation directories:
1278 --bindir=DIR user executables [EPREFIX/bin]
1279 --sbindir=DIR system admin executables [EPREFIX/sbin]
1280 --libexecdir=DIR program executables [EPREFIX/libexec]
1281 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1282 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1283 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1284 --libdir=DIR object code libraries [EPREFIX/lib]
1285 --includedir=DIR C header files [PREFIX/include]
1286 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1287 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1288 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1289 --infodir=DIR info documentation [DATAROOTDIR/info]
1290 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1291 --mandir=DIR man documentation [DATAROOTDIR/man]
1292 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1293 --htmldir=DIR html documentation [DOCDIR]
1294 --dvidir=DIR dvi documentation [DOCDIR]
1295 --pdfdir=DIR pdf documentation [DOCDIR]
1296 --psdir=DIR ps documentation [DOCDIR]
1302 --program-prefix=PREFIX prepend PREFIX to installed program names
1303 --program-suffix=SUFFIX append SUFFIX to installed program names
1304 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1307 --build=BUILD configure for building on BUILD [guessed]
1308 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1312 if test -n "$ac_init_help"; then
1317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1319 --disable-nls do not use Native Language Support
1320 --disable-dependency-tracking speeds up one-time build
1321 --enable-dependency-tracking do not reject slow dependency extractors
1322 --disable-rpath do not hardcode runtime library paths
1323 --disable-alsatest Do not try to compile and run a test Alsa program
1324 --disable-alsamixer Disable alsamixer compilation
1325 --disable-alsaconf Disable alsaconf packaging
1326 --disable-xmlto Disable man page creation via xmlto
1327 --disable-largefile omit support for large files
1330 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1331 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1332 --with-gnu-ld assume the C compiler uses GNU ld default=no
1333 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1334 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1335 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1336 --without-libintl-prefix don't search for libintl in includedir and libdir
1337 --with-alsa-prefix=PFX Prefix where Alsa library is installed(optional)
1338 --with-alsa-inc-prefix=PFX Prefix where include libraries are (optional)
1339 --with-librt Use librt for monotonic clock (default = yes)
1340 --with-curses libname Specify the curses library to use (default=auto)
1341 --with-testsound=file give the path of test sound file for alsaconf
1343 Some influential environment variables:
1344 CC C compiler command
1345 CFLAGS C compiler flags
1346 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1347 nonstandard directory <lib dir>
1348 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1349 you have headers in a nonstandard directory <include dir>
1352 Use these variables to override the choices made by `configure' or to help
1353 it to find libraries and programs with nonstandard names/locations.
1359 if test "$ac_init_help" = "recursive"; then
1360 # If there are subdirs, report their specific --help.
1361 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1362 test -d "$ac_dir" || continue
1366 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1368 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1369 # A ".." for each directory in $ac_dir_suffix.
1370 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1371 case $ac_top_builddir_sub in
1372 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1373 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1376 ac_abs_top_builddir=$ac_pwd
1377 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1378 # for backward compatibility:
1379 ac_top_builddir=$ac_top_build_prefix
1382 .) # We are building in place.
1384 ac_top_srcdir=$ac_top_builddir_sub
1385 ac_abs_top_srcdir=$ac_pwd ;;
1386 [\\/]* | ?:[\\/]* ) # Absolute name.
1387 ac_srcdir=$srcdir$ac_dir_suffix;
1388 ac_top_srcdir=$srcdir
1389 ac_abs_top_srcdir=$srcdir ;;
1391 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1392 ac_top_srcdir=$ac_top_build_prefix$srcdir
1393 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1395 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1397 cd "$ac_dir" || { ac_status=$?; continue; }
1398 # Check for guested configure.
1399 if test -f "$ac_srcdir/configure.gnu"; then
1401 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1402 elif test -f "$ac_srcdir/configure"; then
1404 $SHELL "$ac_srcdir/configure" --help=recursive
1406 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1408 cd "$ac_pwd" || { ac_status=$?; break; }
1412 test -n "$ac_init_help" && exit $ac_status
1413 if $ac_init_version; then
1416 generated by GNU Autoconf 2.60
1418 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1419 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1420 This configure script is free software; the Free Software Foundation
1421 gives unlimited permission to copy, distribute and modify it.
1425 cat >config.log <<_ACEOF
1426 This file contains any messages produced by compilers while
1427 running configure, to aid debugging if configure makes a mistake.
1429 It was created by $as_me, which was
1430 generated by GNU Autoconf 2.60. Invocation command line was
1442 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1443 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1444 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1445 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1446 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1448 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1449 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1451 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1452 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1453 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1454 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1455 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1456 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1457 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1465 test -z "$as_dir" && as_dir=.
1466 echo "PATH: $as_dir"
1482 # Keep a trace of the command line.
1483 # Strip out --no-create and --no-recursion so they do not pile up.
1484 # Strip out --silent because we don't want to record it for future runs.
1485 # Also quote any args containing shell meta-characters.
1486 # Make two passes to allow for proper duplicate-argument suppression.
1490 ac_must_keep_next=false
1496 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1497 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1498 | -silent | --silent | --silen | --sile | --sil)
1501 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1504 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1506 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1507 if test $ac_must_keep_next = true; then
1508 ac_must_keep_next=false # Got value, back to normal.
1511 *=* | --config-cache | -C | -disable-* | --disable-* \
1512 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1513 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1514 | -with-* | --with-* | -without-* | --without-* | --x)
1515 case "$ac_configure_args0 " in
1516 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1519 -* ) ac_must_keep_next=true ;;
1522 ac_configure_args="$ac_configure_args '$ac_arg'"
1527 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1528 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1530 # When interrupted or exit'd, cleanup temporary files, and complete
1531 # config.log. We remove comments because anyway the quotes in there
1532 # would cause problems or look ugly.
1533 # WARNING: Use '\'' to represent an apostrophe within the trap.
1534 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1535 trap 'exit_status=$?
1536 # Save into config.log some information that might help in debugging.
1541 ## ---------------- ##
1542 ## Cache variables. ##
1543 ## ---------------- ##
1546 # The following way of writing the cache mishandles newlines in values,
1548 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1549 eval ac_val=\$$ac_var
1553 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1554 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1557 _ | IFS | as_nl) ;; #(
1558 *) $as_unset $ac_var ;;
1563 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1564 *${as_nl}ac_space=\ *)
1566 "s/'\''/'\''\\\\'\'''\''/g;
1567 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1570 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1578 ## ----------------- ##
1579 ## Output variables. ##
1580 ## ----------------- ##
1583 for ac_var in $ac_subst_vars
1585 eval ac_val=\$$ac_var
1587 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1589 echo "$ac_var='\''$ac_val'\''"
1593 if test -n "$ac_subst_files"; then
1595 ## ------------------- ##
1596 ## File substitutions. ##
1597 ## ------------------- ##
1600 for ac_var in $ac_subst_files
1602 eval ac_val=\$$ac_var
1604 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1606 echo "$ac_var='\''$ac_val'\''"
1611 if test -s confdefs.h; then
1621 test "$ac_signal" != 0 &&
1622 echo "$as_me: caught signal $ac_signal"
1623 echo "$as_me: exit $exit_status"
1625 rm -f core *.core core.conftest.* &&
1626 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1629 for ac_signal in 1 2 13 15; do
1630 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1634 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1635 rm -f -r conftest* confdefs.h
1637 # Predefined preprocessor variables.
1639 cat >>confdefs.h <<_ACEOF
1640 #define PACKAGE_NAME "$PACKAGE_NAME"
1644 cat >>confdefs.h <<_ACEOF
1645 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1649 cat >>confdefs.h <<_ACEOF
1650 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1654 cat >>confdefs.h <<_ACEOF
1655 #define PACKAGE_STRING "$PACKAGE_STRING"
1659 cat >>confdefs.h <<_ACEOF
1660 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1664 # Let the site file select an alternate cache file if it wants to.
1665 # Prefer explicitly selected file to automatically selected ones.
1666 if test -n "$CONFIG_SITE"; then
1667 set x "$CONFIG_SITE"
1668 elif test "x$prefix" != xNONE; then
1669 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1671 set x "$ac_default_prefix/share/config.site" \
1672 "$ac_default_prefix/etc/config.site"
1677 if test -r "$ac_site_file"; then
1678 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1679 echo "$as_me: loading site script $ac_site_file" >&6;}
1680 sed 's/^/| /' "$ac_site_file" >&5
1685 if test -r "$cache_file"; then
1686 # Some versions of bash will fail to source /dev/null (special
1687 # files actually), so we avoid doing that.
1688 if test -f "$cache_file"; then
1689 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1690 echo "$as_me: loading cache $cache_file" >&6;}
1692 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1693 *) . "./$cache_file";;
1697 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1698 echo "$as_me: creating cache $cache_file" >&6;}
1702 # Check that the precious variables saved in the cache have kept the same
1704 ac_cache_corrupted=false
1705 for ac_var in $ac_precious_vars; do
1706 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1707 eval ac_new_set=\$ac_env_${ac_var}_set
1708 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1709 eval ac_new_val=\$ac_env_${ac_var}_value
1710 case $ac_old_set,$ac_new_set in
1712 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1713 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1714 ac_cache_corrupted=: ;;
1716 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1717 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1718 ac_cache_corrupted=: ;;
1721 if test "x$ac_old_val" != "x$ac_new_val"; then
1722 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1723 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1724 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1725 echo "$as_me: former value: $ac_old_val" >&2;}
1726 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1727 echo "$as_me: current value: $ac_new_val" >&2;}
1728 ac_cache_corrupted=:
1731 # Pass precious variables to config.status.
1732 if test "$ac_new_set" = set; then
1734 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1735 *) ac_arg=$ac_var=$ac_new_val ;;
1737 case " $ac_configure_args " in
1738 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1739 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1743 if $ac_cache_corrupted; then
1744 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1745 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1746 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1747 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1748 { (exit 1); exit 1; }; }
1768 ac_cpp='$CPP $CPPFLAGS'
1769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1775 am__api_version="1.9"
1777 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1778 if test -f "$ac_dir/install-sh"; then
1780 ac_install_sh="$ac_aux_dir/install-sh -c"
1782 elif test -f "$ac_dir/install.sh"; then
1784 ac_install_sh="$ac_aux_dir/install.sh -c"
1786 elif test -f "$ac_dir/shtool"; then
1788 ac_install_sh="$ac_aux_dir/shtool install -c"
1792 if test -z "$ac_aux_dir"; then
1793 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1794 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1795 { (exit 1); exit 1; }; }
1798 # These three variables are undocumented and unsupported,
1799 # and are intended to be withdrawn in a future Autoconf release.
1800 # They can cause serious problems if a builder's source tree is in a directory
1801 # whose full name contains unusual characters.
1802 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1803 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1804 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1807 # Find a good install program. We prefer a C program (faster),
1808 # so one script is as good as another. But avoid the broken or
1809 # incompatible versions:
1810 # SysV /etc/install, /usr/sbin/install
1811 # SunOS /usr/etc/install
1812 # IRIX /sbin/install
1814 # AmigaOS /C/install, which installs bootblocks on floppy discs
1815 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1816 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1817 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1818 # OS/2's system install, which has a completely different semantic
1819 # ./install, which can be erroneously created by make from ./install.sh.
1820 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1821 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1822 if test -z "$INSTALL"; then
1823 if test "${ac_cv_path_install+set}" = set; then
1824 echo $ECHO_N "(cached) $ECHO_C" >&6
1826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1830 test -z "$as_dir" && as_dir=.
1831 # Account for people who put trailing slashes in PATH elements.
1833 ./ | .// | /cC/* | \
1834 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1835 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1838 # OSF1 and SCO ODT 3.0 have their own names for install.
1839 # Don't use installbsd from OSF since it installs stuff as root
1841 for ac_prog in ginstall scoinst install; do
1842 for ac_exec_ext in '' $ac_executable_extensions; do
1843 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1844 if test $ac_prog = install &&
1845 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1846 # AIX install. It has an incompatible calling convention.
1848 elif test $ac_prog = install &&
1849 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1850 # program-specific install script used by HP pwplus--don't use.
1853 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1866 if test "${ac_cv_path_install+set}" = set; then
1867 INSTALL=$ac_cv_path_install
1869 # As a last resort, use the slow shell script. Don't cache a
1870 # value for INSTALL within a source directory, because that will
1871 # break other packages using the cache if that directory is
1872 # removed, or if the value is a relative name.
1873 INSTALL=$ac_install_sh
1876 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1877 echo "${ECHO_T}$INSTALL" >&6; }
1879 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1880 # It thinks the first close brace ends the variable substitution.
1881 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1883 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1885 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1887 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1888 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1891 echo timestamp > conftest.file
1892 # Do `set' in a subshell so we don't clobber the current shell's
1893 # arguments. Must try -L first in case configure is actually a
1894 # symlink; some systems play weird games with the mod time of symlinks
1895 # (eg FreeBSD returns the mod time of the symlink's containing
1898 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1899 if test "$*" = "X"; then
1901 set X `ls -t $srcdir/configure conftest.file`
1904 if test "$*" != "X $srcdir/configure conftest.file" \
1905 && test "$*" != "X conftest.file $srcdir/configure"; then
1907 # If neither matched, then we have a broken ls. This can happen
1908 # if, for instance, CONFIG_SHELL is bash and it inherits a
1909 # broken ls alias from the environment. This has actually
1910 # happened. Such a system could not be considered "sane".
1911 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1912 alias in your environment" >&5
1913 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1914 alias in your environment" >&2;}
1915 { (exit 1); exit 1; }; }
1918 test "$2" = conftest.file
1924 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1925 Check your system clock" >&5
1926 echo "$as_me: error: newly created file is older than distributed files!
1927 Check your system clock" >&2;}
1928 { (exit 1); exit 1; }; }
1930 { echo "$as_me:$LINENO: result: yes" >&5
1931 echo "${ECHO_T}yes" >&6; }
1932 test "$program_prefix" != NONE &&
1933 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1934 # Use a double $ so make ignores it.
1935 test "$program_suffix" != NONE &&
1936 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1937 # Double any \ or $. echo might interpret backslashes.
1938 # By default was `s,x,x', remove it if useless.
1939 cat <<\_ACEOF >conftest.sed
1940 s/[\\$]/&&/g;s/;s,x,x,$//
1942 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1945 # expand $ac_aux_dir to an absolute path
1946 am_aux_dir=`cd $ac_aux_dir && pwd`
1948 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1949 # Use eval to expand $SHELL
1950 if eval "$MISSING --run true"; then
1951 am_missing_run="$MISSING --run "
1954 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1955 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1958 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1959 # We used to keeping the `.' as first argument, in order to
1960 # allow $(mkdir_p) to be used without argument. As in
1961 # $(mkdir_p) $(somedir)
1962 # where $(somedir) is conditionally defined. However this is wrong
1964 # 1. if the package is installed by a user who cannot write `.'
1965 # make install will fail,
1966 # 2. the above comment should most certainly read
1967 # $(mkdir_p) $(DESTDIR)$(somedir)
1968 # so it does not work when $(somedir) is undefined and
1969 # $(DESTDIR) is not.
1970 # To support the latter case, we have to write
1971 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1972 # so the `.' trick is pointless.
1973 mkdir_p='mkdir -p --'
1975 # On NextStep and OpenStep, the `mkdir' command does not
1976 # recognize any option. It will interpret all options as
1977 # directories to create, and then abort because `.' already
1979 for d in ./-p ./--version;
1981 test -d $d && rmdir $d
1983 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1984 if test -f "$ac_aux_dir/mkinstalldirs"; then
1985 mkdir_p='$(mkinstalldirs)'
1987 mkdir_p='$(install_sh) -d'
1991 for ac_prog in gawk mawk nawk awk
1993 # Extract the first word of "$ac_prog", so it can be a program name with args.
1994 set dummy $ac_prog; ac_word=$2
1995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1997 if test "${ac_cv_prog_AWK+set}" = set; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 if test -n "$AWK"; then
2001 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007 test -z "$as_dir" && as_dir=.
2008 for ac_exec_ext in '' $ac_executable_extensions; do
2009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2010 ac_cv_prog_AWK="$ac_prog"
2011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2021 if test -n "$AWK"; then
2022 { echo "$as_me:$LINENO: result: $AWK" >&5
2023 echo "${ECHO_T}$AWK" >&6; }
2025 { echo "$as_me:$LINENO: result: no" >&5
2026 echo "${ECHO_T}no" >&6; }
2030 test -n "$AWK" && break
2033 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2034 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2035 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2036 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2037 echo $ECHO_N "(cached) $ECHO_C" >&6
2039 cat >conftest.make <<\_ACEOF
2042 @echo '@@@%%%=$(MAKE)=@@@%%%'
2044 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2045 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2047 eval ac_cv_prog_make_${ac_make}_set=yes;;
2049 eval ac_cv_prog_make_${ac_make}_set=no;;
2053 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2054 { echo "$as_me:$LINENO: result: yes" >&5
2055 echo "${ECHO_T}yes" >&6; }
2058 { echo "$as_me:$LINENO: result: no" >&5
2059 echo "${ECHO_T}no" >&6; }
2060 SET_MAKE="MAKE=${MAKE-make}"
2063 rm -rf .tst 2>/dev/null
2064 mkdir .tst 2>/dev/null
2065 if test -d .tst; then
2070 rmdir .tst 2>/dev/null
2072 # test to see if srcdir already configured
2073 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2074 test -f $srcdir/config.status; then
2075 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2076 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2077 { (exit 1); exit 1; }; }
2080 # test whether we have cygpath
2081 if test -z "$CYGPATH_W"; then
2082 if (cygpath --version) >/dev/null 2>/dev/null; then
2083 CYGPATH_W='cygpath -w'
2090 # Define the identity of the package.
2095 cat >>confdefs.h <<_ACEOF
2096 #define PACKAGE "$PACKAGE"
2100 cat >>confdefs.h <<_ACEOF
2101 #define VERSION "$VERSION"
2104 # Some tools Automake needs.
2106 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2109 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2112 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2115 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2118 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2120 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2122 # Installed binaries are usually stripped using `strip' when the user
2123 # run `make install-strip'. However `strip' might not be the right
2124 # tool to use in cross-compilation environments, therefore Automake
2125 # will honor the `STRIP' environment variable to overrule this program.
2126 if test "$cross_compiling" != no; then
2127 if test -n "$ac_tool_prefix"; then
2128 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2129 set dummy ${ac_tool_prefix}strip; ac_word=$2
2130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2132 if test "${ac_cv_prog_STRIP+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2135 if test -n "$STRIP"; then
2136 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2142 test -z "$as_dir" && as_dir=.
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2145 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2155 STRIP=$ac_cv_prog_STRIP
2156 if test -n "$STRIP"; then
2157 { echo "$as_me:$LINENO: result: $STRIP" >&5
2158 echo "${ECHO_T}$STRIP" >&6; }
2160 { echo "$as_me:$LINENO: result: no" >&5
2161 echo "${ECHO_T}no" >&6; }
2166 if test -z "$ac_cv_prog_STRIP"; then
2168 # Extract the first word of "strip", so it can be a program name with args.
2169 set dummy strip; ac_word=$2
2170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2175 if test -n "$ac_ct_STRIP"; then
2176 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2182 test -z "$as_dir" && as_dir=.
2183 for ac_exec_ext in '' $ac_executable_extensions; do
2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2185 ac_cv_prog_ac_ct_STRIP="strip"
2186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2195 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2196 if test -n "$ac_ct_STRIP"; then
2197 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2198 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2200 { echo "$as_me:$LINENO: result: no" >&5
2201 echo "${ECHO_T}no" >&6; }
2204 if test "x$ac_ct_STRIP" = x; then
2207 case $cross_compiling:$ac_tool_warned in
2209 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2210 whose name does not start with the host triplet. If you think this
2211 configuration is useful to you, please write to autoconf@gnu.org." >&5
2212 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2213 whose name does not start with the host triplet. If you think this
2214 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2215 ac_tool_warned=yes ;;
2220 STRIP="$ac_cv_prog_STRIP"
2224 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2226 # We need awk for the "check" target. The system "awk" is bad on
2228 # Always define AMTAR for backward compatibility.
2230 AMTAR=${AMTAR-"${am_missing_run}tar"}
2232 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2240 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2241 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
2242 # Check whether --enable-nls was given.
2243 if test "${enable_nls+set}" = set; then
2244 enableval=$enable_nls; USE_NLS=$enableval
2249 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
2250 echo "${ECHO_T}$USE_NLS" >&6; }
2257 # Prepare PATH_SEPARATOR.
2258 # The user is always right.
2259 if test "${PATH_SEPARATOR+set}" != set; then
2260 echo "#! /bin/sh" >conf$$.sh
2261 echo "exit 0" >>conf$$.sh
2263 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2271 # Find out how to test for executable files. Don't use a zero-byte file,
2272 # as systems may use methods other than mode bits to determine executability.
2273 cat >conf$$.file <<_ASEOF
2277 chmod +x conf$$.file
2278 if test -x conf$$.file >/dev/null 2>&1; then
2279 ac_executable_p="test -x"
2281 ac_executable_p="test -f"
2285 # Extract the first word of "msgfmt", so it can be a program name with args.
2286 set dummy msgfmt; ac_word=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_path_MSGFMT+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2294 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2297 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2298 for ac_dir in $PATH; do
2300 test -z "$ac_dir" && ac_dir=.
2301 for ac_exec_ext in '' $ac_executable_extensions; do
2302 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2303 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2304 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
2305 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2306 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
2313 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
2317 MSGFMT="$ac_cv_path_MSGFMT"
2318 if test "$MSGFMT" != ":"; then
2319 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
2320 echo "${ECHO_T}$MSGFMT" >&6; }
2322 { echo "$as_me:$LINENO: result: no" >&5
2323 echo "${ECHO_T}no" >&6; }
2326 # Extract the first word of "gmsgfmt", so it can be a program name with args.
2327 set dummy gmsgfmt; ac_word=$2
2328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2330 if test "${ac_cv_path_GMSGFMT+set}" = set; then
2331 echo $ECHO_N "(cached) $ECHO_C" >&6
2335 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342 test -z "$as_dir" && as_dir=.
2343 for ac_exec_ext in '' $ac_executable_extensions; do
2344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2345 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
2346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2353 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2357 GMSGFMT=$ac_cv_path_GMSGFMT
2358 if test -n "$GMSGFMT"; then
2359 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
2360 echo "${ECHO_T}$GMSGFMT" >&6; }
2362 { echo "$as_me:$LINENO: result: no" >&5
2363 echo "${ECHO_T}no" >&6; }
2368 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2369 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
2370 *) MSGFMT_015=$MSGFMT ;;
2373 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2374 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
2375 *) GMSGFMT_015=$GMSGFMT ;;
2380 # Prepare PATH_SEPARATOR.
2381 # The user is always right.
2382 if test "${PATH_SEPARATOR+set}" != set; then
2383 echo "#! /bin/sh" >conf$$.sh
2384 echo "exit 0" >>conf$$.sh
2386 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2394 # Find out how to test for executable files. Don't use a zero-byte file,
2395 # as systems may use methods other than mode bits to determine executability.
2396 cat >conf$$.file <<_ASEOF
2400 chmod +x conf$$.file
2401 if test -x conf$$.file >/dev/null 2>&1; then
2402 ac_executable_p="test -x"
2404 ac_executable_p="test -f"
2408 # Extract the first word of "xgettext", so it can be a program name with args.
2409 set dummy xgettext; ac_word=$2
2410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2412 if test "${ac_cv_path_XGETTEXT+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6
2417 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2420 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2421 for ac_dir in $PATH; do
2423 test -z "$ac_dir" && ac_dir=.
2424 for ac_exec_ext in '' $ac_executable_extensions; do
2425 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2426 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2427 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
2428 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2429 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
2436 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
2440 XGETTEXT="$ac_cv_path_XGETTEXT"
2441 if test "$XGETTEXT" != ":"; then
2442 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
2443 echo "${ECHO_T}$XGETTEXT" >&6; }
2445 { echo "$as_me:$LINENO: result: no" >&5
2446 echo "${ECHO_T}no" >&6; }
2451 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2452 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
2453 *) XGETTEXT_015=$XGETTEXT ;;
2458 # Prepare PATH_SEPARATOR.
2459 # The user is always right.
2460 if test "${PATH_SEPARATOR+set}" != set; then
2461 echo "#! /bin/sh" >conf$$.sh
2462 echo "exit 0" >>conf$$.sh
2464 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2472 # Find out how to test for executable files. Don't use a zero-byte file,
2473 # as systems may use methods other than mode bits to determine executability.
2474 cat >conf$$.file <<_ASEOF
2478 chmod +x conf$$.file
2479 if test -x conf$$.file >/dev/null 2>&1; then
2480 ac_executable_p="test -x"
2482 ac_executable_p="test -f"
2486 # Extract the first word of "msgmerge", so it can be a program name with args.
2487 set dummy msgmerge; ac_word=$2
2488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2490 if test "${ac_cv_path_MSGMERGE+set}" = set; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
2498 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2499 for ac_dir in $PATH; do
2501 test -z "$ac_dir" && ac_dir=.
2502 for ac_exec_ext in '' $ac_executable_extensions; do
2503 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2504 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2505 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
2506 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
2513 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
2517 MSGMERGE="$ac_cv_path_MSGMERGE"
2518 if test "$MSGMERGE" != ":"; then
2519 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
2520 echo "${ECHO_T}$MSGMERGE" >&6; }
2522 { echo "$as_me:$LINENO: result: no" >&5
2523 echo "${ECHO_T}no" >&6; }
2527 test -n "$localedir" || localedir='${datadir}/locale'
2530 ac_config_commands="$ac_config_commands po-directories"
2534 if test "X$prefix" = "XNONE"; then
2535 acl_final_prefix="$ac_default_prefix"
2537 acl_final_prefix="$prefix"
2539 if test "X$exec_prefix" = "XNONE"; then
2540 acl_final_exec_prefix='${prefix}'
2542 acl_final_exec_prefix="$exec_prefix"
2544 acl_save_prefix="$prefix"
2545 prefix="$acl_final_prefix"
2546 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
2547 prefix="$acl_save_prefix"
2549 DEPDIR="${am__leading_dot}deps"
2551 ac_config_commands="$ac_config_commands depfiles"
2554 am_make=${MAKE-make}
2555 cat > confinc << 'END'
2560 # If we don't find an include directive, just comment out the code.
2561 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2562 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2566 # First try GNU make style include.
2567 echo "include confinc" > confmf
2568 # We grep out `Entering directory' and `Leaving directory'
2569 # messages which can occur if `w' ends up in MAKEFLAGS.
2570 # In particular we don't look at `^make:' because GNU make might
2571 # be invoked under some other name (usually "gmake"), in which
2572 # case it prints its new name instead of `make'.
2573 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2578 # Now try BSD make style include.
2579 if test "$am__include" = "#"; then
2580 echo '.include "confinc"' > confmf
2581 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2582 am__include=.include
2589 { echo "$as_me:$LINENO: result: $_am_result" >&5
2590 echo "${ECHO_T}$_am_result" >&6; }
2591 rm -f confinc confmf
2593 # Check whether --enable-dependency-tracking was given.
2594 if test "${enable_dependency_tracking+set}" = set; then
2595 enableval=$enable_dependency_tracking;
2598 if test "x$enable_dependency_tracking" != xno; then
2599 am_depcomp="$ac_aux_dir/depcomp"
2604 if test "x$enable_dependency_tracking" != xno; then
2615 ac_cpp='$CPP $CPPFLAGS'
2616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2619 if test -n "$ac_tool_prefix"; then
2620 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2621 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2624 if test "${ac_cv_prog_CC+set}" = set; then
2625 echo $ECHO_N "(cached) $ECHO_C" >&6
2627 if test -n "$CC"; then
2628 ac_cv_prog_CC="$CC" # Let the user override the test.
2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2634 test -z "$as_dir" && as_dir=.
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2637 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 if test -n "$CC"; then
2649 { echo "$as_me:$LINENO: result: $CC" >&5
2650 echo "${ECHO_T}$CC" >&6; }
2652 { echo "$as_me:$LINENO: result: no" >&5
2653 echo "${ECHO_T}no" >&6; }
2658 if test -z "$ac_cv_prog_CC"; then
2660 # Extract the first word of "gcc", so it can be a program name with args.
2661 set dummy gcc; 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2677 ac_cv_prog_ac_ct_CC="gcc"
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; }
2696 if test "x$ac_ct_CC" = x; then
2699 case $cross_compiling:$ac_tool_warned in
2701 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2702 whose name does not start with the host triplet. If you think this
2703 configuration is useful to you, please write to autoconf@gnu.org." >&5
2704 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2705 whose name does not start with the host triplet. If you think this
2706 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2707 ac_tool_warned=yes ;;
2715 if test -z "$CC"; then
2716 if test -n "$ac_tool_prefix"; then
2717 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2718 set dummy ${ac_tool_prefix}cc; ac_word=$2
2719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2721 if test "${ac_cv_prog_CC+set}" = set; then
2722 echo $ECHO_N "(cached) $ECHO_C" >&6
2724 if test -n "$CC"; then
2725 ac_cv_prog_CC="$CC" # Let the user override the test.
2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731 test -z "$as_dir" && as_dir=.
2732 for ac_exec_ext in '' $ac_executable_extensions; do
2733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2734 ac_cv_prog_CC="${ac_tool_prefix}cc"
2735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 if test -n "$CC"; then
2746 { echo "$as_me:$LINENO: result: $CC" >&5
2747 echo "${ECHO_T}$CC" >&6; }
2749 { echo "$as_me:$LINENO: result: no" >&5
2750 echo "${ECHO_T}no" >&6; }
2756 if test -z "$CC"; then
2757 # Extract the first word of "cc", so it can be a program name with args.
2758 set dummy cc; ac_word=$2
2759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2761 if test "${ac_cv_prog_CC+set}" = set; then
2762 echo $ECHO_N "(cached) $ECHO_C" >&6
2764 if test -n "$CC"; then
2765 ac_cv_prog_CC="$CC" # Let the user override the test.
2768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 test -z "$as_dir" && as_dir=.
2773 for ac_exec_ext in '' $ac_executable_extensions; do
2774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2775 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2776 ac_prog_rejected=yes
2780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 if test $ac_prog_rejected = yes; then
2788 # We found a bogon in the path, so make sure we never use it.
2789 set dummy $ac_cv_prog_CC
2791 if test $# != 0; then
2792 # We chose a different compiler from the bogus one.
2793 # However, it has the same basename, so the bogon will be chosen
2794 # first if we set CC to just the basename; use the full file name.
2796 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2802 if test -n "$CC"; then
2803 { echo "$as_me:$LINENO: result: $CC" >&5
2804 echo "${ECHO_T}$CC" >&6; }
2806 { echo "$as_me:$LINENO: result: no" >&5
2807 echo "${ECHO_T}no" >&6; }
2812 if test -z "$CC"; then
2813 if test -n "$ac_tool_prefix"; then
2814 for ac_prog in cl.exe
2816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2817 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2820 if test "${ac_cv_prog_CC+set}" = set; then
2821 echo $ECHO_N "(cached) $ECHO_C" >&6
2823 if test -n "$CC"; then
2824 ac_cv_prog_CC="$CC" # Let the user override the test.
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir=.
2831 for ac_exec_ext in '' $ac_executable_extensions; do
2832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2833 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 if test -n "$CC"; then
2845 { echo "$as_me:$LINENO: result: $CC" >&5
2846 echo "${ECHO_T}$CC" >&6; }
2848 { echo "$as_me:$LINENO: result: no" >&5
2849 echo "${ECHO_T}no" >&6; }
2853 test -n "$CC" && break
2856 if test -z "$CC"; then
2858 for ac_prog in cl.exe
2860 # Extract the first word of "$ac_prog", so it can be a program name with args.
2861 set dummy $ac_prog; ac_word=$2
2862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2864 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2865 echo $ECHO_N "(cached) $ECHO_C" >&6
2867 if test -n "$ac_ct_CC"; then
2868 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2874 test -z "$as_dir" && as_dir=.
2875 for ac_exec_ext in '' $ac_executable_extensions; do
2876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2877 ac_cv_prog_ac_ct_CC="$ac_prog"
2878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2887 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2888 if test -n "$ac_ct_CC"; then
2889 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2890 echo "${ECHO_T}$ac_ct_CC" >&6; }
2892 { echo "$as_me:$LINENO: result: no" >&5
2893 echo "${ECHO_T}no" >&6; }
2897 test -n "$ac_ct_CC" && break
2900 if test "x$ac_ct_CC" = x; then
2903 case $cross_compiling:$ac_tool_warned in
2905 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2906 whose name does not start with the host triplet. If you think this
2907 configuration is useful to you, please write to autoconf@gnu.org." >&5
2908 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2909 whose name does not start with the host triplet. If you think this
2910 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2911 ac_tool_warned=yes ;;
2920 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2921 See \`config.log' for more details." >&5
2922 echo "$as_me: error: no acceptable C compiler found in \$PATH
2923 See \`config.log' for more details." >&2;}
2924 { (exit 1); exit 1; }; }
2926 # Provide some information about the compiler.
2927 echo "$as_me:$LINENO: checking for C compiler version" >&5
2928 ac_compiler=`set X $ac_compile; echo $2`
2929 { (ac_try="$ac_compiler --version >&5"
2931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2935 (eval "$ac_compiler --version >&5") 2>&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }
2939 { (ac_try="$ac_compiler -v >&5"
2941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942 *) ac_try_echo=$ac_try;;
2944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2945 (eval "$ac_compiler -v >&5") 2>&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); }
2949 { (ac_try="$ac_compiler -V >&5"
2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 *) ac_try_echo=$ac_try;;
2954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2955 (eval "$ac_compiler -V >&5") 2>&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }
2960 cat >conftest.$ac_ext <<_ACEOF
2963 cat confdefs.h >>conftest.$ac_ext
2964 cat >>conftest.$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2975 ac_clean_files_save=$ac_clean_files
2976 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2977 # Try to create an executable without -o first, disregard a.out.
2978 # It will help us diagnose broken compilers, and finding out an intuition
2980 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2981 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2982 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2984 # List of possible output files, starting from the most likely.
2985 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2986 # only as a last resort. b.out is created by i960 compilers.
2987 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2989 # The IRIX 6 linker writes into existing files which may not be
2990 # executable, retaining their permissions. Remove them first so a
2991 # subsequent execution test works.
2993 for ac_file in $ac_files
2996 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2997 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3002 if { (ac_try="$ac_link_default"
3004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005 *) ac_try_echo=$ac_try;;
3007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3008 (eval "$ac_link_default") 2>&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); }; then
3012 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3013 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3014 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3015 # so that the user can short-circuit this test for compilers unknown to
3017 for ac_file in $ac_files
3019 test -f "$ac_file" || continue
3021 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3024 # We found the default executable, but exeext='' is most
3028 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3030 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3032 # We set ac_cv_exeext here because the later test for it is not
3033 # safe: cross compilers may not add the suffix if given an `-o'
3034 # argument, so we may need to know it at that point already.
3035 # Even if this section looks crufty: it has the advantage of
3042 test "$ac_cv_exeext" = no && ac_cv_exeext=
3045 echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.$ac_ext >&5
3048 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3049 See \`config.log' for more details." >&5
3050 echo "$as_me: error: C compiler cannot create executables
3051 See \`config.log' for more details." >&2;}
3052 { (exit 77); exit 77; }; }
3055 ac_exeext=$ac_cv_exeext
3056 { echo "$as_me:$LINENO: result: $ac_file" >&5
3057 echo "${ECHO_T}$ac_file" >&6; }
3059 # Check that the compiler produces executables we can run. If not, either
3060 # the compiler is broken, or we cross compile.
3061 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3062 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3063 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3064 # If not cross compiling, check that we can run a simple program.
3065 if test "$cross_compiling" != yes; then
3066 if { ac_try='./$ac_file'
3067 { (case "(($ac_try" in
3068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3069 *) ac_try_echo=$ac_try;;
3071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3072 (eval "$ac_try") 2>&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); }; }; then
3078 if test "$cross_compiling" = maybe; then
3081 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3082 If you meant to cross compile, use \`--host'.
3083 See \`config.log' for more details." >&5
3084 echo "$as_me: error: cannot run C compiled programs.
3085 If you meant to cross compile, use \`--host'.
3086 See \`config.log' for more details." >&2;}
3087 { (exit 1); exit 1; }; }
3091 { echo "$as_me:$LINENO: result: yes" >&5
3092 echo "${ECHO_T}yes" >&6; }
3094 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3095 ac_clean_files=$ac_clean_files_save
3096 # Check that the compiler produces executables we can run. If not, either
3097 # the compiler is broken, or we cross compile.
3098 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3099 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3100 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3101 echo "${ECHO_T}$cross_compiling" >&6; }
3103 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3104 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3105 if { (ac_try="$ac_link"
3107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3108 *) ac_try_echo=$ac_try;;
3110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3111 (eval "$ac_link") 2>&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); }; then
3115 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3116 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3117 # work properly (i.e., refer to `conftest.exe'), while it won't with
3119 for ac_file in conftest.exe conftest conftest.*; do
3120 test -f "$ac_file" || continue
3122 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3123 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3129 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3130 See \`config.log' for more details." >&5
3131 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3132 See \`config.log' for more details." >&2;}
3133 { (exit 1); exit 1; }; }
3136 rm -f conftest$ac_cv_exeext
3137 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3138 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3140 rm -f conftest.$ac_ext
3141 EXEEXT=$ac_cv_exeext
3143 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3144 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3145 if test "${ac_cv_objext+set}" = set; then
3146 echo $ECHO_N "(cached) $ECHO_C" >&6
3148 cat >conftest.$ac_ext <<_ACEOF
3151 cat confdefs.h >>conftest.$ac_ext
3152 cat >>conftest.$ac_ext <<_ACEOF
3153 /* end confdefs.h. */
3163 rm -f conftest.o conftest.obj
3164 if { (ac_try="$ac_compile"
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3170 (eval "$ac_compile") 2>&5
3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173 (exit $ac_status); }; then
3174 for ac_file in conftest.o conftest.obj conftest.*; do
3175 test -f "$ac_file" || continue;
3177 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3178 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3183 echo "$as_me: failed program was:" >&5
3184 sed 's/^/| /' conftest.$ac_ext >&5
3186 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3187 See \`config.log' for more details." >&5
3188 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3189 See \`config.log' for more details." >&2;}
3190 { (exit 1); exit 1; }; }
3193 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3195 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3196 echo "${ECHO_T}$ac_cv_objext" >&6; }
3197 OBJEXT=$ac_cv_objext
3199 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3200 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3201 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3202 echo $ECHO_N "(cached) $ECHO_C" >&6
3204 cat >conftest.$ac_ext <<_ACEOF
3207 cat confdefs.h >>conftest.$ac_ext
3208 cat >>conftest.$ac_ext <<_ACEOF
3209 /* end confdefs.h. */
3222 rm -f conftest.$ac_objext
3223 if { (ac_try="$ac_compile"
3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3229 (eval "$ac_compile") 2>conftest.er1
3231 grep -v '^ *+' conftest.er1 >conftest.err
3233 cat conftest.err >&5
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); } &&
3236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3237 { (case "(($ac_try" in
3238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239 *) ac_try_echo=$ac_try;;
3241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3242 (eval "$ac_try") 2>&5
3244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245 (exit $ac_status); }; } &&
3246 { ac_try='test -s conftest.$ac_objext'
3247 { (case "(($ac_try" in
3248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3249 *) ac_try_echo=$ac_try;;
3251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3252 (eval "$ac_try") 2>&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); }; }; then
3258 echo "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.$ac_ext >&5
3264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3265 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3268 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3269 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3270 GCC=`test $ac_compiler_gnu = yes && echo yes`
3271 ac_test_CFLAGS=${CFLAGS+set}
3272 ac_save_CFLAGS=$CFLAGS
3273 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3274 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3275 if test "${ac_cv_prog_cc_g+set}" = set; then
3276 echo $ECHO_N "(cached) $ECHO_C" >&6
3278 ac_save_c_werror_flag=$ac_c_werror_flag
3279 ac_c_werror_flag=yes
3282 cat >conftest.$ac_ext <<_ACEOF
3285 cat confdefs.h >>conftest.$ac_ext
3286 cat >>conftest.$ac_ext <<_ACEOF
3287 /* end confdefs.h. */
3297 rm -f conftest.$ac_objext
3298 if { (ac_try="$ac_compile"
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301 *) ac_try_echo=$ac_try;;
3303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3304 (eval "$ac_compile") 2>conftest.er1
3306 grep -v '^ *+' conftest.er1 >conftest.err
3308 cat conftest.err >&5
3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); } &&
3311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3312 { (case "(($ac_try" in
3313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3314 *) ac_try_echo=$ac_try;;
3316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3317 (eval "$ac_try") 2>&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); }; } &&
3321 { ac_try='test -s conftest.$ac_objext'
3322 { (case "(($ac_try" in
3323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3327 (eval "$ac_try") 2>&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); }; }; then
3333 echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.$ac_ext >&5
3337 cat >conftest.$ac_ext <<_ACEOF
3340 cat confdefs.h >>conftest.$ac_ext
3341 cat >>conftest.$ac_ext <<_ACEOF
3342 /* end confdefs.h. */
3352 rm -f conftest.$ac_objext
3353 if { (ac_try="$ac_compile"
3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;;
3358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3359 (eval "$ac_compile") 2>conftest.er1
3361 grep -v '^ *+' conftest.er1 >conftest.err
3363 cat conftest.err >&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); } &&
3366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3367 { (case "(($ac_try" in
3368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3369 *) ac_try_echo=$ac_try;;
3371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3372 (eval "$ac_try") 2>&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); }; } &&
3376 { ac_try='test -s conftest.$ac_objext'
3377 { (case "(($ac_try" in
3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3382 (eval "$ac_try") 2>&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); }; }; then
3388 echo "$as_me: failed program was:" >&5
3389 sed 's/^/| /' conftest.$ac_ext >&5
3391 ac_c_werror_flag=$ac_save_c_werror_flag
3393 cat >conftest.$ac_ext <<_ACEOF
3396 cat confdefs.h >>conftest.$ac_ext
3397 cat >>conftest.$ac_ext <<_ACEOF
3398 /* end confdefs.h. */
3408 rm -f conftest.$ac_objext
3409 if { (ac_try="$ac_compile"
3411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412 *) ac_try_echo=$ac_try;;
3414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3415 (eval "$ac_compile") 2>conftest.er1
3417 grep -v '^ *+' conftest.er1 >conftest.err
3419 cat conftest.err >&5
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 (exit $ac_status); } &&
3422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3423 { (case "(($ac_try" in
3424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3425 *) ac_try_echo=$ac_try;;
3427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3428 (eval "$ac_try") 2>&5
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); }; } &&
3432 { ac_try='test -s conftest.$ac_objext'
3433 { (case "(($ac_try" in
3434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3435 *) ac_try_echo=$ac_try;;
3437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3438 (eval "$ac_try") 2>&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); }; }; then
3444 echo "$as_me: failed program was:" >&5
3445 sed 's/^/| /' conftest.$ac_ext >&5
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3457 ac_c_werror_flag=$ac_save_c_werror_flag
3459 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3460 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3461 if test "$ac_test_CFLAGS" = set; then
3462 CFLAGS=$ac_save_CFLAGS
3463 elif test $ac_cv_prog_cc_g = yes; then
3464 if test "$GCC" = yes; then
3470 if test "$GCC" = yes; then
3476 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3477 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3478 if test "${ac_cv_prog_cc_c89+set}" = set; then
3479 echo $ECHO_N "(cached) $ECHO_C" >&6
3481 ac_cv_prog_cc_c89=no
3483 cat >conftest.$ac_ext <<_ACEOF
3486 cat confdefs.h >>conftest.$ac_ext
3487 cat >>conftest.$ac_ext <<_ACEOF
3488 /* end confdefs.h. */
3491 #include <sys/types.h>
3492 #include <sys/stat.h>
3493 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3494 struct buf { int x; };
3495 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3496 static char *e (p, i)
3502 static char *f (char * (*g) (char **, int), char **p, ...)
3507 s = g (p, va_arg (v,int));
3512 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3513 function prototypes and stuff, but not '\xHH' hex character constants.
3514 These don't provoke an error unfortunately, instead are silently treated
3515 as 'x'. The following induces an error, until -std is added to get
3516 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3517 array size at least. It's necessary to write '\x00'==0 to get something
3518 that's true only with -std. */
3519 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3521 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3522 inside strings and character constants. */
3524 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3526 int test (int i, double x);
3527 struct s1 {int (*f) (int a);};
3528 struct s2 {int (*f) (double a);};
3529 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3535 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3540 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3541 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3543 CC="$ac_save_CC $ac_arg"
3544 rm -f conftest.$ac_objext
3545 if { (ac_try="$ac_compile"
3547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3548 *) ac_try_echo=$ac_try;;
3550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3551 (eval "$ac_compile") 2>conftest.er1
3553 grep -v '^ *+' conftest.er1 >conftest.err
3555 cat conftest.err >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); } &&
3558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3559 { (case "(($ac_try" in
3560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561 *) ac_try_echo=$ac_try;;
3563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3564 (eval "$ac_try") 2>&5
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); }; } &&
3568 { ac_try='test -s conftest.$ac_objext'
3569 { (case "(($ac_try" in
3570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571 *) ac_try_echo=$ac_try;;
3573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3574 (eval "$ac_try") 2>&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); }; }; then
3578 ac_cv_prog_cc_c89=$ac_arg
3580 echo "$as_me: failed program was:" >&5
3581 sed 's/^/| /' conftest.$ac_ext >&5
3586 rm -f core conftest.err conftest.$ac_objext
3587 test "x$ac_cv_prog_cc_c89" != "xno" && break
3589 rm -f conftest.$ac_ext
3594 case "x$ac_cv_prog_cc_c89" in
3596 { echo "$as_me:$LINENO: result: none needed" >&5
3597 echo "${ECHO_T}none needed" >&6; } ;;
3599 { echo "$as_me:$LINENO: result: unsupported" >&5
3600 echo "${ECHO_T}unsupported" >&6; } ;;
3602 CC="$CC $ac_cv_prog_cc_c89"
3603 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3604 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3609 ac_cpp='$CPP $CPPFLAGS'
3610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3614 depcc="$CC" am_compiler_list=
3616 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3617 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3618 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3619 echo $ECHO_N "(cached) $ECHO_C" >&6
3621 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3622 # We make a subdir and do the tests there. Otherwise we can end up
3623 # making bogus files that we don't know about and never remove. For
3624 # instance it was reported that on HP-UX the gcc test will end up
3625 # making a dummy file named `D' -- because `-MD' means `put the output
3628 # Copy depcomp to subdir because otherwise we won't find it if we're
3629 # using a relative directory.
3630 cp "$am_depcomp" conftest.dir
3632 # We will build objects and dependencies in a subdirectory because
3633 # it helps to detect inapplicable dependency modes. For instance
3634 # both Tru64's cc and ICC support -MD to output dependencies as a
3635 # side effect of compilation, but ICC will put the dependencies in
3636 # the current directory while Tru64 will put them in the object
3640 am_cv_CC_dependencies_compiler_type=none
3641 if test "$am_compiler_list" = ""; then
3642 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3644 for depmode in $am_compiler_list; do
3645 # Setup a source with many dependencies, because some compilers
3646 # like to wrap large dependency lists on column 80 (with \), and
3647 # we should not choose a depcomp mode which is confused by this.
3649 # We need to recreate these files for each test, as the compiler may
3650 # overwrite some of them when testing with obscure command lines.
3651 # This happens at least with the AIX C compiler.
3653 for i in 1 2 3 4 5 6; do
3654 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3655 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3656 # Solaris 8's {/usr,}/bin/sh.
3657 touch sub/conftst$i.h
3659 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3663 # after this tag, mechanisms are not by side-effect, so they'll
3664 # only be used when explicitly requested
3665 if test "x$enable_dependency_tracking" = xyes; then
3673 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3674 # mode. It turns out that the SunPro C++ compiler does not properly
3675 # handle `-M -o', and we need to detect this.
3676 if depmode=$depmode \
3677 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3678 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3679 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3680 >/dev/null 2>conftest.err &&
3681 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3682 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3683 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3684 # icc doesn't choke on unknown options, it will just issue warnings
3685 # or remarks (even with -Werror). So we grep stderr for any message
3686 # that says an option was ignored or not supported.
3687 # When given -MP, icc 7.0 and 7.1 complain thusly:
3688 # icc: Command line warning: ignoring option '-M'; no argument required
3689 # The diagnosis changed in icc 8.0:
3690 # icc: Command line remark: option '-MP' not supported
3691 if (grep 'ignoring option' conftest.err ||
3692 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3693 am_cv_CC_dependencies_compiler_type=$depmode
3702 am_cv_CC_dependencies_compiler_type=none
3706 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3707 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3708 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3713 test "x$enable_dependency_tracking" != xno \
3714 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3716 am__fastdepCC_FALSE='#'
3718 am__fastdepCC_TRUE='#'
3719 am__fastdepCC_FALSE=
3723 # Make sure we can run config.sub.
3724 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3725 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3726 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3727 { (exit 1); exit 1; }; }
3729 { echo "$as_me:$LINENO: checking build system type" >&5
3730 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3731 if test "${ac_cv_build+set}" = set; then
3732 echo $ECHO_N "(cached) $ECHO_C" >&6
3734 ac_build_alias=$build_alias
3735 test "x$ac_build_alias" = x &&
3736 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3737 test "x$ac_build_alias" = x &&
3738 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3739 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3740 { (exit 1); exit 1; }; }
3741 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3742 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3743 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3744 { (exit 1); exit 1; }; }
3747 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3748 echo "${ECHO_T}$ac_cv_build" >&6; }
3749 case $ac_cv_build in
3751 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3752 echo "$as_me: error: invalid value of canonical build" >&2;}
3753 { (exit 1); exit 1; }; };;
3756 ac_save_IFS=$IFS; IFS='-'
3762 # Remember, the first character of IFS is used to create $*,
3763 # except with old shells:
3766 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3769 { echo "$as_me:$LINENO: checking host system type" >&5
3770 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3771 if test "${ac_cv_host+set}" = set; then
3772 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 if test "x$host_alias" = x; then
3775 ac_cv_host=$ac_cv_build
3777 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3778 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3779 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3780 { (exit 1); exit 1; }; }
3784 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3785 echo "${ECHO_T}$ac_cv_host" >&6; }
3788 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3789 echo "$as_me: error: invalid value of canonical host" >&2;}
3790 { (exit 1); exit 1; }; };;
3793 ac_save_IFS=$IFS; IFS='-'
3799 # Remember, the first character of IFS is used to create $*,
3800 # except with old shells:
3803 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3807 # Check whether --with-gnu-ld was given.
3808 if test "${with_gnu_ld+set}" = set; then
3809 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3814 # Prepare PATH_SEPARATOR.
3815 # The user is always right.
3816 if test "${PATH_SEPARATOR+set}" != set; then
3817 echo "#! /bin/sh" >conf$$.sh
3818 echo "exit 0" >>conf$$.sh
3820 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3828 if test "$GCC" = yes; then
3829 # Check if gcc -print-prog-name=ld gives a path.
3830 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3831 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
3834 # gcc leaves a trailing carriage return which upsets mingw
3835 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3837 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3840 # Accept absolute paths.
3841 [\\/]* | [A-Za-z]:[\\/]*)
3842 re_direlt='/[^/][^/]*/\.\./'
3843 # Canonicalize the path of ld
3844 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3845 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3846 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3848 test -z "$LD" && LD="$ac_prog"
3851 # If it fails, then pretend we aren't using GCC.
3855 # If it is relative, then search for the first ld in PATH.
3859 elif test "$with_gnu_ld" = yes; then
3860 { echo "$as_me:$LINENO: checking for GNU ld" >&5
3861 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3863 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3864 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3866 if test "${acl_cv_path_LD+set}" = set; then
3867 echo $ECHO_N "(cached) $ECHO_C" >&6
3869 if test -z "$LD"; then
3870 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3871 for ac_dir in $PATH; do
3872 test -z "$ac_dir" && ac_dir=.
3873 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3874 acl_cv_path_LD="$ac_dir/$ac_prog"
3875 # Check to see if the program is GNU ld. I'd rather use --version,
3876 # but apparently some GNU ld's only accept -v.
3877 # Break only if it was the GNU/non-GNU ld that we prefer.
3878 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
3879 *GNU* | *'with BFD'*)
3880 test "$with_gnu_ld" != no && break ;;
3882 test "$with_gnu_ld" != yes && break ;;
3888 acl_cv_path_LD="$LD" # Let the user override the test with a path.
3892 LD="$acl_cv_path_LD"
3893 if test -n "$LD"; then
3894 { echo "$as_me:$LINENO: result: $LD" >&5
3895 echo "${ECHO_T}$LD" >&6; }
3897 { echo "$as_me:$LINENO: result: no" >&5
3898 echo "${ECHO_T}no" >&6; }
3900 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3901 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3902 { (exit 1); exit 1; }; }
3903 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3904 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3905 if test "${acl_cv_prog_gnu_ld+set}" = set; then
3906 echo $ECHO_N "(cached) $ECHO_C" >&6
3908 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3909 case `$LD -v 2>&1 </dev/null` in
3910 *GNU* | *'with BFD'*)
3911 acl_cv_prog_gnu_ld=yes ;;
3913 acl_cv_prog_gnu_ld=no ;;
3916 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
3917 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
3918 with_gnu_ld=$acl_cv_prog_gnu_ld
3923 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
3924 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
3925 if test "${acl_cv_rpath+set}" = set; then
3926 echo $ECHO_N "(cached) $ECHO_C" >&6
3929 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
3930 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
3936 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
3937 echo "${ECHO_T}$acl_cv_rpath" >&6; }
3939 libext="$acl_cv_libext"
3940 shlibext="$acl_cv_shlibext"
3941 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
3942 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
3943 hardcode_direct="$acl_cv_hardcode_direct"
3944 hardcode_minus_L="$acl_cv_hardcode_minus_L"
3945 # Check whether --enable-rpath was given.
3946 if test "${enable_rpath+set}" = set; then
3947 enableval=$enable_rpath; :
3955 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
3956 if test -n "$searchpath"; then
3957 acl_save_IFS="${IFS= }"; IFS=":"
3958 for searchdir in $searchpath; do
3959 if test -d "$searchdir"; then
3960 case "$searchdir" in
3961 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
3962 *) searchdir=`cd "$searchdir" && pwd`
3963 case "$searchdir" in
3964 */lib64 ) acl_libdirstem=lib64 ;;
3981 acl_save_prefix="$prefix"
3982 prefix="$acl_final_prefix"
3983 acl_save_exec_prefix="$exec_prefix"
3984 exec_prefix="$acl_final_exec_prefix"
3986 eval additional_includedir=\"$includedir\"
3987 eval additional_libdir=\"$libdir\"
3989 exec_prefix="$acl_save_exec_prefix"
3990 prefix="$acl_save_prefix"
3993 # Check whether --with-libiconv-prefix was given.
3994 if test "${with_libiconv_prefix+set}" = set; then
3995 withval=$with_libiconv_prefix;
3996 if test "X$withval" = "Xno"; then
3999 if test "X$withval" = "X"; then
4001 acl_save_prefix="$prefix"
4002 prefix="$acl_final_prefix"
4003 acl_save_exec_prefix="$exec_prefix"
4004 exec_prefix="$acl_final_exec_prefix"
4006 eval additional_includedir=\"$includedir\"
4007 eval additional_libdir=\"$libdir\"
4009 exec_prefix="$acl_save_exec_prefix"
4010 prefix="$acl_save_prefix"
4013 additional_includedir="$withval/include"
4014 additional_libdir="$withval/$acl_libdirstem"
4025 names_already_handled=
4026 names_next_round='iconv '
4027 while test -n "$names_next_round"; do
4028 names_this_round="$names_next_round"
4030 for name in $names_this_round; do
4032 for n in $names_already_handled; do
4033 if test "$n" = "$name"; then
4038 if test -z "$already_handled"; then
4039 names_already_handled="$names_already_handled $name"
4040 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4041 eval value=\"\$HAVE_LIB$uppername\"
4042 if test -n "$value"; then
4043 if test "$value" = yes; then
4044 eval value=\"\$LIB$uppername\"
4045 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4046 eval value=\"\$LTLIB$uppername\"
4047 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4056 if test $use_additional = yes; then
4057 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4058 found_dir="$additional_libdir"
4059 found_so="$additional_libdir/lib$name.$shlibext"
4060 if test -f "$additional_libdir/lib$name.la"; then
4061 found_la="$additional_libdir/lib$name.la"
4064 if test -f "$additional_libdir/lib$name.$libext"; then
4065 found_dir="$additional_libdir"
4066 found_a="$additional_libdir/lib$name.$libext"
4067 if test -f "$additional_libdir/lib$name.la"; then
4068 found_la="$additional_libdir/lib$name.la"
4073 if test "X$found_dir" = "X"; then
4074 for x in $LDFLAGS $LTLIBICONV; do
4076 acl_save_prefix="$prefix"
4077 prefix="$acl_final_prefix"
4078 acl_save_exec_prefix="$exec_prefix"
4079 exec_prefix="$acl_final_exec_prefix"
4081 exec_prefix="$acl_save_exec_prefix"
4082 prefix="$acl_save_prefix"
4086 dir=`echo "X$x" | sed -e 's/^X-L//'`
4087 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4089 found_so="$dir/lib$name.$shlibext"
4090 if test -f "$dir/lib$name.la"; then
4091 found_la="$dir/lib$name.la"
4094 if test -f "$dir/lib$name.$libext"; then
4096 found_a="$dir/lib$name.$libext"
4097 if test -f "$dir/lib$name.la"; then
4098 found_la="$dir/lib$name.la"
4104 if test "X$found_dir" != "X"; then
4109 if test "X$found_dir" != "X"; then
4110 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4111 if test "X$found_so" != "X"; then
4112 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
4113 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4116 for x in $ltrpathdirs; do
4117 if test "X$x" = "X$found_dir"; then
4122 if test -z "$haveit"; then
4123 ltrpathdirs="$ltrpathdirs $found_dir"
4125 if test "$hardcode_direct" = yes; then
4126 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4128 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4129 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4131 for x in $rpathdirs; do
4132 if test "X$x" = "X$found_dir"; then
4137 if test -z "$haveit"; then
4138 rpathdirs="$rpathdirs $found_dir"
4142 for x in $LDFLAGS $LIBICONV; do
4144 acl_save_prefix="$prefix"
4145 prefix="$acl_final_prefix"
4146 acl_save_exec_prefix="$exec_prefix"
4147 exec_prefix="$acl_final_exec_prefix"
4149 exec_prefix="$acl_save_exec_prefix"
4150 prefix="$acl_save_prefix"
4152 if test "X$x" = "X-L$found_dir"; then
4157 if test -z "$haveit"; then
4158 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4160 if test "$hardcode_minus_L" != no; then
4161 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4163 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4169 if test "X$found_a" != "X"; then
4170 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4172 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4175 additional_includedir=
4176 case "$found_dir" in
4177 */$acl_libdirstem | */$acl_libdirstem/)
4178 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4179 additional_includedir="$basedir/include"
4182 if test "X$additional_includedir" != "X"; then
4183 if test "X$additional_includedir" != "X/usr/include"; then
4185 if test "X$additional_includedir" = "X/usr/local/include"; then
4186 if test -n "$GCC"; then
4188 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4192 if test -z "$haveit"; then
4193 for x in $CPPFLAGS $INCICONV; do
4195 acl_save_prefix="$prefix"
4196 prefix="$acl_final_prefix"
4197 acl_save_exec_prefix="$exec_prefix"
4198 exec_prefix="$acl_final_exec_prefix"
4200 exec_prefix="$acl_save_exec_prefix"
4201 prefix="$acl_save_prefix"
4203 if test "X$x" = "X-I$additional_includedir"; then
4208 if test -z "$haveit"; then
4209 if test -d "$additional_includedir"; then
4210 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4216 if test -n "$found_la"; then
4217 save_libdir="$libdir"
4219 */* | *\\*) . "$found_la" ;;
4220 *) . "./$found_la" ;;
4222 libdir="$save_libdir"
4223 for dep in $dependency_libs; do
4226 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4227 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
4229 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
4230 if test -n "$GCC"; then
4232 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4236 if test -z "$haveit"; then
4238 for x in $LDFLAGS $LIBICONV; do
4240 acl_save_prefix="$prefix"
4241 prefix="$acl_final_prefix"
4242 acl_save_exec_prefix="$exec_prefix"
4243 exec_prefix="$acl_final_exec_prefix"
4245 exec_prefix="$acl_save_exec_prefix"
4246 prefix="$acl_save_prefix"
4248 if test "X$x" = "X-L$additional_libdir"; then
4253 if test -z "$haveit"; then
4254 if test -d "$additional_libdir"; then
4255 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
4259 for x in $LDFLAGS $LTLIBICONV; do
4261 acl_save_prefix="$prefix"
4262 prefix="$acl_final_prefix"
4263 acl_save_exec_prefix="$exec_prefix"
4264 exec_prefix="$acl_final_exec_prefix"
4266 exec_prefix="$acl_save_exec_prefix"
4267 prefix="$acl_save_prefix"
4269 if test "X$x" = "X-L$additional_libdir"; then
4274 if test -z "$haveit"; then
4275 if test -d "$additional_libdir"; then
4276 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
4283 dir=`echo "X$dep" | sed -e 's/^X-R//'`
4284 if test "$enable_rpath" != no; then
4286 for x in $rpathdirs; do
4287 if test "X$x" = "X$dir"; then
4292 if test -z "$haveit"; then
4293 rpathdirs="$rpathdirs $dir"
4296 for x in $ltrpathdirs; do
4297 if test "X$x" = "X$dir"; then
4302 if test -z "$haveit"; then
4303 ltrpathdirs="$ltrpathdirs $dir"
4308 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4311 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4314 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
4315 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
4321 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4322 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
4328 if test "X$rpathdirs" != "X"; then
4329 if test -n "$hardcode_libdir_separator"; then
4331 for found_dir in $rpathdirs; do
4332 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4334 acl_save_libdir="$libdir"
4336 eval flag=\"$hardcode_libdir_flag_spec\"
4337 libdir="$acl_save_libdir"
4338 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4340 for found_dir in $rpathdirs; do
4341 acl_save_libdir="$libdir"
4343 eval flag=\"$hardcode_libdir_flag_spec\"
4344 libdir="$acl_save_libdir"
4345 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4349 if test "X$ltrpathdirs" != "X"; then
4350 for found_dir in $ltrpathdirs; do
4351 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
4373 { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
4374 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
4375 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
4376 echo $ECHO_N "(cached) $ECHO_C" >&6
4378 gt_save_LIBS="$LIBS"
4379 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
4380 cat >conftest.$ac_ext <<_ACEOF
4383 cat confdefs.h >>conftest.$ac_ext
4384 cat >>conftest.$ac_ext <<_ACEOF
4385 /* end confdefs.h. */
4386 #include <CoreFoundation/CFPreferences.h>
4390 CFPreferencesCopyAppValue(NULL, NULL)
4395 rm -f conftest.$ac_objext conftest$ac_exeext
4396 if { (ac_try="$ac_link"
4398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4399 *) ac_try_echo=$ac_try;;
4401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4402 (eval "$ac_link") 2>conftest.er1
4404 grep -v '^ *+' conftest.er1 >conftest.err
4406 cat conftest.err >&5
4407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4408 (exit $ac_status); } &&
4409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4410 { (case "(($ac_try" in
4411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4412 *) ac_try_echo=$ac_try;;
4414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4415 (eval "$ac_try") 2>&5
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); }; } &&
4419 { ac_try='test -s conftest$ac_exeext'
4420 { (case "(($ac_try" in
4421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4422 *) ac_try_echo=$ac_try;;
4424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4425 (eval "$ac_try") 2>&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); }; }; then
4429 gt_cv_func_CFPreferencesCopyAppValue=yes
4431 echo "$as_me: failed program was:" >&5
4432 sed 's/^/| /' conftest.$ac_ext >&5
4434 gt_cv_func_CFPreferencesCopyAppValue=no
4437 rm -f core conftest.err conftest.$ac_objext \
4438 conftest$ac_exeext conftest.$ac_ext
4439 LIBS="$gt_save_LIBS"
4441 { echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
4442 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
4443 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
4445 cat >>confdefs.h <<\_ACEOF
4446 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
4450 { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
4451 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; }
4452 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
4453 echo $ECHO_N "(cached) $ECHO_C" >&6
4455 gt_save_LIBS="$LIBS"
4456 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
4457 cat >conftest.$ac_ext <<_ACEOF
4460 cat confdefs.h >>conftest.$ac_ext
4461 cat >>conftest.$ac_ext <<_ACEOF
4462 /* end confdefs.h. */
4463 #include <CoreFoundation/CFLocale.h>
4467 CFLocaleCopyCurrent();
4472 rm -f conftest.$ac_objext conftest$ac_exeext
4473 if { (ac_try="$ac_link"
4475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4476 *) ac_try_echo=$ac_try;;
4478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4479 (eval "$ac_link") 2>conftest.er1
4481 grep -v '^ *+' conftest.er1 >conftest.err
4483 cat conftest.err >&5
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); } &&
4486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4487 { (case "(($ac_try" in
4488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4489 *) ac_try_echo=$ac_try;;
4491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4492 (eval "$ac_try") 2>&5
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); }; } &&
4496 { ac_try='test -s conftest$ac_exeext'
4497 { (case "(($ac_try" in
4498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4499 *) ac_try_echo=$ac_try;;
4501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4502 (eval "$ac_try") 2>&5
4504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 (exit $ac_status); }; }; then
4506 gt_cv_func_CFLocaleCopyCurrent=yes
4508 echo "$as_me: failed program was:" >&5
4509 sed 's/^/| /' conftest.$ac_ext >&5
4511 gt_cv_func_CFLocaleCopyCurrent=no
4514 rm -f core conftest.err conftest.$ac_objext \
4515 conftest$ac_exeext conftest.$ac_ext
4516 LIBS="$gt_save_LIBS"
4518 { echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
4519 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; }
4520 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
4522 cat >>confdefs.h <<\_ACEOF
4523 #define HAVE_CFLOCALECOPYCURRENT 1
4528 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
4529 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
4541 if test "$USE_NLS" = "yes"; then
4542 gt_use_preinstalled_gnugettext=no
4549 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
4550 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
4551 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
4552 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 cat >conftest.$ac_ext <<_ACEOF
4557 cat confdefs.h >>conftest.$ac_ext
4558 cat >>conftest.$ac_ext <<_ACEOF
4559 /* end confdefs.h. */
4560 #include <libintl.h>
4561 extern int _nl_msg_cat_cntr;
4562 extern int *_nl_domain_bindings;
4566 bindtextdomain ("", "");
4567 return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
4572 rm -f conftest.$ac_objext conftest$ac_exeext
4573 if { (ac_try="$ac_link"
4575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4576 *) ac_try_echo=$ac_try;;
4578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4579 (eval "$ac_link") 2>conftest.er1
4581 grep -v '^ *+' conftest.er1 >conftest.err
4583 cat conftest.err >&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); } &&
4586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4587 { (case "(($ac_try" in
4588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4589 *) ac_try_echo=$ac_try;;
4591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4592 (eval "$ac_try") 2>&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; } &&
4596 { ac_try='test -s conftest$ac_exeext'
4597 { (case "(($ac_try" in
4598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4602 (eval "$ac_try") 2>&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); }; }; then
4606 gt_cv_func_gnugettext1_libc=yes
4608 echo "$as_me: failed program was:" >&5
4609 sed 's/^/| /' conftest.$ac_ext >&5
4611 gt_cv_func_gnugettext1_libc=no
4614 rm -f core conftest.err conftest.$ac_objext \
4615 conftest$ac_exeext conftest.$ac_ext
4617 { echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
4618 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6; }
4620 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
4626 am_save_CPPFLAGS="$CPPFLAGS"
4628 for element in $INCICONV; do
4630 for x in $CPPFLAGS; do
4632 acl_save_prefix="$prefix"
4633 prefix="$acl_final_prefix"
4634 acl_save_exec_prefix="$exec_prefix"
4635 exec_prefix="$acl_final_exec_prefix"
4637 exec_prefix="$acl_save_exec_prefix"
4638 prefix="$acl_save_prefix"
4640 if test "X$x" = "X$element"; then
4645 if test -z "$haveit"; then
4646 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4651 { echo "$as_me:$LINENO: checking for iconv" >&5
4652 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
4653 if test "${am_cv_func_iconv+set}" = set; then
4654 echo $ECHO_N "(cached) $ECHO_C" >&6
4657 am_cv_func_iconv="no, consider installing GNU libiconv"
4659 cat >conftest.$ac_ext <<_ACEOF
4662 cat confdefs.h >>conftest.$ac_ext
4663 cat >>conftest.$ac_ext <<_ACEOF
4664 /* end confdefs.h. */
4670 iconv_t cd = iconv_open("","");
4671 iconv(cd,NULL,NULL,NULL,NULL);
4677 rm -f conftest.$ac_objext conftest$ac_exeext
4678 if { (ac_try="$ac_link"
4680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4681 *) ac_try_echo=$ac_try;;
4683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4684 (eval "$ac_link") 2>conftest.er1
4686 grep -v '^ *+' conftest.er1 >conftest.err
4688 cat conftest.err >&5
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); } &&
4691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4692 { (case "(($ac_try" in
4693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4694 *) ac_try_echo=$ac_try;;
4696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4697 (eval "$ac_try") 2>&5
4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700 (exit $ac_status); }; } &&
4701 { ac_try='test -s conftest$ac_exeext'
4702 { (case "(($ac_try" in
4703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4704 *) ac_try_echo=$ac_try;;
4706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4707 (eval "$ac_try") 2>&5
4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); }; }; then
4711 am_cv_func_iconv=yes
4713 echo "$as_me: failed program was:" >&5
4714 sed 's/^/| /' conftest.$ac_ext >&5
4719 rm -f core conftest.err conftest.$ac_objext \
4720 conftest$ac_exeext conftest.$ac_ext
4721 if test "$am_cv_func_iconv" != yes; then
4722 am_save_LIBS="$LIBS"
4723 LIBS="$LIBS $LIBICONV"
4724 cat >conftest.$ac_ext <<_ACEOF
4727 cat confdefs.h >>conftest.$ac_ext
4728 cat >>conftest.$ac_ext <<_ACEOF
4729 /* end confdefs.h. */
4735 iconv_t cd = iconv_open("","");
4736 iconv(cd,NULL,NULL,NULL,NULL);
4742 rm -f conftest.$ac_objext conftest$ac_exeext
4743 if { (ac_try="$ac_link"
4745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4746 *) ac_try_echo=$ac_try;;
4748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4749 (eval "$ac_link") 2>conftest.er1
4751 grep -v '^ *+' conftest.er1 >conftest.err
4753 cat conftest.err >&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); } &&
4756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4757 { (case "(($ac_try" in
4758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759 *) ac_try_echo=$ac_try;;
4761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4762 (eval "$ac_try") 2>&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); }; } &&
4766 { ac_try='test -s conftest$ac_exeext'
4767 { (case "(($ac_try" in
4768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4769 *) ac_try_echo=$ac_try;;
4771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4772 (eval "$ac_try") 2>&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); }; }; then
4777 am_cv_func_iconv=yes
4779 echo "$as_me: failed program was:" >&5
4780 sed 's/^/| /' conftest.$ac_ext >&5
4785 rm -f core conftest.err conftest.$ac_objext \
4786 conftest$ac_exeext conftest.$ac_ext
4787 LIBS="$am_save_LIBS"
4791 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4792 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
4793 if test "$am_cv_func_iconv" = yes; then
4795 cat >>confdefs.h <<\_ACEOF
4796 #define HAVE_ICONV 1
4800 if test "$am_cv_lib_iconv" = yes; then
4801 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
4802 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
4803 { echo "$as_me:$LINENO: result: $LIBICONV" >&5
4804 echo "${ECHO_T}$LIBICONV" >&6; }
4806 CPPFLAGS="$am_save_CPPFLAGS"
4819 acl_save_prefix="$prefix"
4820 prefix="$acl_final_prefix"
4821 acl_save_exec_prefix="$exec_prefix"
4822 exec_prefix="$acl_final_exec_prefix"
4824 eval additional_includedir=\"$includedir\"
4825 eval additional_libdir=\"$libdir\"
4827 exec_prefix="$acl_save_exec_prefix"
4828 prefix="$acl_save_prefix"
4831 # Check whether --with-libintl-prefix was given.
4832 if test "${with_libintl_prefix+set}" = set; then
4833 withval=$with_libintl_prefix;
4834 if test "X$withval" = "Xno"; then
4837 if test "X$withval" = "X"; then
4839 acl_save_prefix="$prefix"
4840 prefix="$acl_final_prefix"
4841 acl_save_exec_prefix="$exec_prefix"
4842 exec_prefix="$acl_final_exec_prefix"
4844 eval additional_includedir=\"$includedir\"
4845 eval additional_libdir=\"$libdir\"
4847 exec_prefix="$acl_save_exec_prefix"
4848 prefix="$acl_save_prefix"
4851 additional_includedir="$withval/include"
4852 additional_libdir="$withval/$acl_libdirstem"
4863 names_already_handled=
4864 names_next_round='intl '
4865 while test -n "$names_next_round"; do
4866 names_this_round="$names_next_round"
4868 for name in $names_this_round; do
4870 for n in $names_already_handled; do
4871 if test "$n" = "$name"; then
4876 if test -z "$already_handled"; then
4877 names_already_handled="$names_already_handled $name"
4878 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4879 eval value=\"\$HAVE_LIB$uppername\"
4880 if test -n "$value"; then
4881 if test "$value" = yes; then
4882 eval value=\"\$LIB$uppername\"
4883 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
4884 eval value=\"\$LTLIB$uppername\"
4885 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
4894 if test $use_additional = yes; then
4895 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4896 found_dir="$additional_libdir"
4897 found_so="$additional_libdir/lib$name.$shlibext"
4898 if test -f "$additional_libdir/lib$name.la"; then
4899 found_la="$additional_libdir/lib$name.la"
4902 if test -f "$additional_libdir/lib$name.$libext"; then
4903 found_dir="$additional_libdir"
4904 found_a="$additional_libdir/lib$name.$libext"
4905 if test -f "$additional_libdir/lib$name.la"; then
4906 found_la="$additional_libdir/lib$name.la"
4911 if test "X$found_dir" = "X"; then
4912 for x in $LDFLAGS $LTLIBINTL; do
4914 acl_save_prefix="$prefix"
4915 prefix="$acl_final_prefix"
4916 acl_save_exec_prefix="$exec_prefix"
4917 exec_prefix="$acl_final_exec_prefix"
4919 exec_prefix="$acl_save_exec_prefix"
4920 prefix="$acl_save_prefix"
4924 dir=`echo "X$x" | sed -e 's/^X-L//'`
4925 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4927 found_so="$dir/lib$name.$shlibext"
4928 if test -f "$dir/lib$name.la"; then
4929 found_la="$dir/lib$name.la"
4932 if test -f "$dir/lib$name.$libext"; then
4934 found_a="$dir/lib$name.$libext"
4935 if test -f "$dir/lib$name.la"; then
4936 found_la="$dir/lib$name.la"
4942 if test "X$found_dir" != "X"; then
4947 if test "X$found_dir" != "X"; then
4948 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
4949 if test "X$found_so" != "X"; then
4950 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
4951 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4954 for x in $ltrpathdirs; do
4955 if test "X$x" = "X$found_dir"; then
4960 if test -z "$haveit"; then
4961 ltrpathdirs="$ltrpathdirs $found_dir"
4963 if test "$hardcode_direct" = yes; then
4964 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4966 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4967 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4969 for x in $rpathdirs; do
4970 if test "X$x" = "X$found_dir"; then
4975 if test -z "$haveit"; then
4976 rpathdirs="$rpathdirs $found_dir"
4980 for x in $LDFLAGS $LIBINTL; do
4982 acl_save_prefix="$prefix"
4983 prefix="$acl_final_prefix"
4984 acl_save_exec_prefix="$exec_prefix"
4985 exec_prefix="$acl_final_exec_prefix"
4987 exec_prefix="$acl_save_exec_prefix"
4988 prefix="$acl_save_prefix"
4990 if test "X$x" = "X-L$found_dir"; then
4995 if test -z "$haveit"; then
4996 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
4998 if test "$hardcode_minus_L" != no; then
4999 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5001 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5007 if test "X$found_a" != "X"; then
5008 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5010 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5013 additional_includedir=
5014 case "$found_dir" in
5015 */$acl_libdirstem | */$acl_libdirstem/)
5016 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5017 additional_includedir="$basedir/include"
5020 if test "X$additional_includedir" != "X"; then
5021 if test "X$additional_includedir" != "X/usr/include"; then
5023 if test "X$additional_includedir" = "X/usr/local/include"; then
5024 if test -n "$GCC"; then
5026 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5030 if test -z "$haveit"; then
5031 for x in $CPPFLAGS $INCINTL; do
5033 acl_save_prefix="$prefix"
5034 prefix="$acl_final_prefix"
5035 acl_save_exec_prefix="$exec_prefix"
5036 exec_prefix="$acl_final_exec_prefix"
5038 exec_prefix="$acl_save_exec_prefix"
5039 prefix="$acl_save_prefix"
5041 if test "X$x" = "X-I$additional_includedir"; then
5046 if test -z "$haveit"; then
5047 if test -d "$additional_includedir"; then
5048 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5054 if test -n "$found_la"; then
5055 save_libdir="$libdir"
5057 */* | *\\*) . "$found_la" ;;
5058 *) . "./$found_la" ;;
5060 libdir="$save_libdir"
5061 for dep in $dependency_libs; do
5064 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5065 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
5067 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
5068 if test -n "$GCC"; then
5070 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5074 if test -z "$haveit"; then
5076 for x in $LDFLAGS $LIBINTL; do
5078 acl_save_prefix="$prefix"
5079 prefix="$acl_final_prefix"
5080 acl_save_exec_prefix="$exec_prefix"
5081 exec_prefix="$acl_final_exec_prefix"
5083 exec_prefix="$acl_save_exec_prefix"
5084 prefix="$acl_save_prefix"
5086 if test "X$x" = "X-L$additional_libdir"; then
5091 if test -z "$haveit"; then
5092 if test -d "$additional_libdir"; then
5093 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
5097 for x in $LDFLAGS $LTLIBINTL; do
5099 acl_save_prefix="$prefix"
5100 prefix="$acl_final_prefix"
5101 acl_save_exec_prefix="$exec_prefix"
5102 exec_prefix="$acl_final_exec_prefix"
5104 exec_prefix="$acl_save_exec_prefix"
5105 prefix="$acl_save_prefix"
5107 if test "X$x" = "X-L$additional_libdir"; then
5112 if test -z "$haveit"; then
5113 if test -d "$additional_libdir"; then
5114 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
5121 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5122 if test "$enable_rpath" != no; then
5124 for x in $rpathdirs; do
5125 if test "X$x" = "X$dir"; then
5130 if test -z "$haveit"; then
5131 rpathdirs="$rpathdirs $dir"
5134 for x in $ltrpathdirs; do
5135 if test "X$x" = "X$dir"; then
5140 if test -z "$haveit"; then
5141 ltrpathdirs="$ltrpathdirs $dir"
5146 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5149 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5152 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
5153 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
5159 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5160 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
5166 if test "X$rpathdirs" != "X"; then
5167 if test -n "$hardcode_libdir_separator"; then
5169 for found_dir in $rpathdirs; do
5170 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5172 acl_save_libdir="$libdir"
5174 eval flag=\"$hardcode_libdir_flag_spec\"
5175 libdir="$acl_save_libdir"
5176 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5178 for found_dir in $rpathdirs; do
5179 acl_save_libdir="$libdir"
5181 eval flag=\"$hardcode_libdir_flag_spec\"
5182 libdir="$acl_save_libdir"
5183 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5187 if test "X$ltrpathdirs" != "X"; then
5188 for found_dir in $ltrpathdirs; do
5189 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
5193 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
5194 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
5195 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
5196 echo $ECHO_N "(cached) $ECHO_C" >&6
5198 gt_save_CPPFLAGS="$CPPFLAGS"
5199 CPPFLAGS="$CPPFLAGS $INCINTL"
5200 gt_save_LIBS="$LIBS"
5201 LIBS="$LIBS $LIBINTL"
5202 cat >conftest.$ac_ext <<_ACEOF
5205 cat confdefs.h >>conftest.$ac_ext
5206 cat >>conftest.$ac_ext <<_ACEOF
5207 /* end confdefs.h. */
5208 #include <libintl.h>
5209 extern int _nl_msg_cat_cntr;
5214 const char *_nl_expand_alias (const char *);
5218 bindtextdomain ("", "");
5219 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
5224 rm -f conftest.$ac_objext conftest$ac_exeext
5225 if { (ac_try="$ac_link"
5227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5228 *) ac_try_echo=$ac_try;;
5230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5231 (eval "$ac_link") 2>conftest.er1
5233 grep -v '^ *+' conftest.er1 >conftest.err
5235 cat conftest.err >&5
5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); } &&
5238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5239 { (case "(($ac_try" in
5240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5241 *) ac_try_echo=$ac_try;;
5243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5244 (eval "$ac_try") 2>&5
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); }; } &&
5248 { ac_try='test -s conftest$ac_exeext'
5249 { (case "(($ac_try" in
5250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5251 *) ac_try_echo=$ac_try;;
5253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5254 (eval "$ac_try") 2>&5
5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); }; }; then
5258 gt_cv_func_gnugettext1_libintl=yes
5260 echo "$as_me: failed program was:" >&5
5261 sed 's/^/| /' conftest.$ac_ext >&5
5263 gt_cv_func_gnugettext1_libintl=no
5266 rm -f core conftest.err conftest.$ac_objext \
5267 conftest$ac_exeext conftest.$ac_ext
5268 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
5269 LIBS="$LIBS $LIBICONV"
5270 cat >conftest.$ac_ext <<_ACEOF
5273 cat confdefs.h >>conftest.$ac_ext
5274 cat >>conftest.$ac_ext <<_ACEOF
5275 /* end confdefs.h. */
5276 #include <libintl.h>
5277 extern int _nl_msg_cat_cntr;
5282 const char *_nl_expand_alias (const char *);
5286 bindtextdomain ("", "");
5287 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
5292 rm -f conftest.$ac_objext conftest$ac_exeext
5293 if { (ac_try="$ac_link"
5295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5296 *) ac_try_echo=$ac_try;;
5298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5299 (eval "$ac_link") 2>conftest.er1
5301 grep -v '^ *+' conftest.er1 >conftest.err
5303 cat conftest.err >&5
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); } &&
5306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5307 { (case "(($ac_try" in
5308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5309 *) ac_try_echo=$ac_try;;
5311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5312 (eval "$ac_try") 2>&5
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); }; } &&
5316 { ac_try='test -s conftest$ac_exeext'
5317 { (case "(($ac_try" in
5318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5319 *) ac_try_echo=$ac_try;;
5321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5322 (eval "$ac_try") 2>&5
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); }; }; then
5326 LIBINTL="$LIBINTL $LIBICONV"
5327 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
5328 gt_cv_func_gnugettext1_libintl=yes
5331 echo "$as_me: failed program was:" >&5
5332 sed 's/^/| /' conftest.$ac_ext >&5
5337 rm -f core conftest.err conftest.$ac_objext \
5338 conftest$ac_exeext conftest.$ac_ext
5340 CPPFLAGS="$gt_save_CPPFLAGS"
5341 LIBS="$gt_save_LIBS"
5343 { echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
5344 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6; }
5347 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
5348 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
5349 && test "$PACKAGE" != gettext-runtime \
5350 && test "$PACKAGE" != gettext-tools; }; then
5351 gt_use_preinstalled_gnugettext=yes
5360 if test -n "$INTL_MACOSX_LIBS"; then
5361 if test "$gt_use_preinstalled_gnugettext" = "yes" \
5362 || test "$nls_cv_use_gnu_gettext" = "yes"; then
5363 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
5364 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
5368 if test "$gt_use_preinstalled_gnugettext" = "yes" \
5369 || test "$nls_cv_use_gnu_gettext" = "yes"; then
5371 cat >>confdefs.h <<\_ACEOF
5372 #define ENABLE_NLS 1
5380 { echo "$as_me:$LINENO: checking whether to use NLS" >&5
5381 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
5382 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
5383 echo "${ECHO_T}$USE_NLS" >&6; }
5384 if test "$USE_NLS" = "yes"; then
5385 { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
5386 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
5387 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5388 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
5389 gt_source="external libintl"
5394 gt_source="included intl directory"
5396 { echo "$as_me:$LINENO: result: $gt_source" >&5
5397 echo "${ECHO_T}$gt_source" >&6; }
5400 if test "$USE_NLS" = "yes"; then
5402 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5403 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
5404 { echo "$as_me:$LINENO: checking how to link with libintl" >&5
5405 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
5406 { echo "$as_me:$LINENO: result: $LIBINTL" >&5
5407 echo "${ECHO_T}$LIBINTL" >&6; }
5409 for element in $INCINTL; do
5411 for x in $CPPFLAGS; do
5413 acl_save_prefix="$prefix"
5414 prefix="$acl_final_prefix"
5415 acl_save_exec_prefix="$exec_prefix"
5416 exec_prefix="$acl_final_exec_prefix"
5418 exec_prefix="$acl_save_exec_prefix"
5419 prefix="$acl_save_prefix"
5421 if test "X$x" = "X$element"; then
5426 if test -z "$haveit"; then
5427 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5434 cat >>confdefs.h <<\_ACEOF
5435 #define HAVE_GETTEXT 1
5439 cat >>confdefs.h <<\_ACEOF
5440 #define HAVE_DCGETTEXT 1
5460 if test "x$target" != "x$host" -a -z "`echo $CC | grep -e '-gcc'`";
5462 { echo "$as_me:$LINENO: checking for cross-compiler" >&5
5463 echo $ECHO_N "checking for cross-compiler... $ECHO_C" >&6; }
5465 which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc
5466 which ${target_cpu}-${target_os}-gcc >/dev/null 2>&1 \
5467 && CC=${target_cpu}-${target-os}-gcc
5468 which ${target_cpu}-${target_vendor}-${target_os}-gcc >/dev/null 2>&1 \
5469 && CC=${target_cpu}-${target_vendor}-${target_os}-gcc
5471 { echo "$as_me:$LINENO: result: $CC" >&5
5472 echo "${ECHO_T}$CC" >&6; }
5476 ac_cpp='$CPP $CPPFLAGS'
5477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5480 if test -n "$ac_tool_prefix"; then
5481 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5482 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5485 if test "${ac_cv_prog_CC+set}" = set; then
5486 echo $ECHO_N "(cached) $ECHO_C" >&6
5488 if test -n "$CC"; then
5489 ac_cv_prog_CC="$CC" # Let the user override the test.
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5495 test -z "$as_dir" && as_dir=.
5496 for ac_exec_ext in '' $ac_executable_extensions; do
5497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5498 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5509 if test -n "$CC"; then
5510 { echo "$as_me:$LINENO: result: $CC" >&5
5511 echo "${ECHO_T}$CC" >&6; }
5513 { echo "$as_me:$LINENO: result: no" >&5
5514 echo "${ECHO_T}no" >&6; }
5519 if test -z "$ac_cv_prog_CC"; then
5521 # Extract the first word of "gcc", so it can be a program name with args.
5522 set dummy gcc; ac_word=$2
5523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5525 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5526 echo $ECHO_N "(cached) $ECHO_C" >&6
5528 if test -n "$ac_ct_CC"; then
5529 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5535 test -z "$as_dir" && as_dir=.
5536 for ac_exec_ext in '' $ac_executable_extensions; do
5537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5538 ac_cv_prog_ac_ct_CC="gcc"
5539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5549 if test -n "$ac_ct_CC"; then
5550 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5551 echo "${ECHO_T}$ac_ct_CC" >&6; }
5553 { echo "$as_me:$LINENO: result: no" >&5
5554 echo "${ECHO_T}no" >&6; }
5557 if test "x$ac_ct_CC" = x; then
5560 case $cross_compiling:$ac_tool_warned in
5562 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5563 whose name does not start with the host triplet. If you think this
5564 configuration is useful to you, please write to autoconf@gnu.org." >&5
5565 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5566 whose name does not start with the host triplet. If you think this
5567 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5568 ac_tool_warned=yes ;;
5576 if test -z "$CC"; then
5577 if test -n "$ac_tool_prefix"; then
5578 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5579 set dummy ${ac_tool_prefix}cc; ac_word=$2
5580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5582 if test "${ac_cv_prog_CC+set}" = set; then
5583 echo $ECHO_N "(cached) $ECHO_C" >&6
5585 if test -n "$CC"; then
5586 ac_cv_prog_CC="$CC" # Let the user override the test.
5588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5592 test -z "$as_dir" && as_dir=.
5593 for ac_exec_ext in '' $ac_executable_extensions; do
5594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5595 ac_cv_prog_CC="${ac_tool_prefix}cc"
5596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 if test -n "$CC"; then
5607 { echo "$as_me:$LINENO: result: $CC" >&5
5608 echo "${ECHO_T}$CC" >&6; }
5610 { echo "$as_me:$LINENO: result: no" >&5
5611 echo "${ECHO_T}no" >&6; }
5617 if test -z "$CC"; then
5618 # Extract the first word of "cc", so it can be a program name with args.
5619 set dummy cc; ac_word=$2
5620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5622 if test "${ac_cv_prog_CC+set}" = set; then
5623 echo $ECHO_N "(cached) $ECHO_C" >&6
5625 if test -n "$CC"; then
5626 ac_cv_prog_CC="$CC" # Let the user override the test.
5629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 test -z "$as_dir" && as_dir=.
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5636 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5637 ac_prog_rejected=yes
5641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5648 if test $ac_prog_rejected = yes; then
5649 # We found a bogon in the path, so make sure we never use it.
5650 set dummy $ac_cv_prog_CC
5652 if test $# != 0; then
5653 # We chose a different compiler from the bogus one.
5654 # However, it has the same basename, so the bogon will be chosen
5655 # first if we set CC to just the basename; use the full file name.
5657 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5663 if test -n "$CC"; then
5664 { echo "$as_me:$LINENO: result: $CC" >&5
5665 echo "${ECHO_T}$CC" >&6; }
5667 { echo "$as_me:$LINENO: result: no" >&5
5668 echo "${ECHO_T}no" >&6; }
5673 if test -z "$CC"; then
5674 if test -n "$ac_tool_prefix"; then
5675 for ac_prog in cl.exe
5677 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5678 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5681 if test "${ac_cv_prog_CC+set}" = set; then
5682 echo $ECHO_N "(cached) $ECHO_C" >&6
5684 if test -n "$CC"; then
5685 ac_cv_prog_CC="$CC" # Let the user override the test.
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 test -z "$as_dir" && as_dir=.
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5694 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 if test -n "$CC"; then
5706 { echo "$as_me:$LINENO: result: $CC" >&5
5707 echo "${ECHO_T}$CC" >&6; }
5709 { echo "$as_me:$LINENO: result: no" >&5
5710 echo "${ECHO_T}no" >&6; }
5714 test -n "$CC" && break
5717 if test -z "$CC"; then
5719 for ac_prog in cl.exe
5721 # Extract the first word of "$ac_prog", so it can be a program name with args.
5722 set dummy $ac_prog; ac_word=$2
5723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5725 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5728 if test -n "$ac_ct_CC"; then
5729 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 test -z "$as_dir" && as_dir=.
5736 for ac_exec_ext in '' $ac_executable_extensions; do
5737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5738 ac_cv_prog_ac_ct_CC="$ac_prog"
5739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5749 if test -n "$ac_ct_CC"; then
5750 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5751 echo "${ECHO_T}$ac_ct_CC" >&6; }
5753 { echo "$as_me:$LINENO: result: no" >&5
5754 echo "${ECHO_T}no" >&6; }
5758 test -n "$ac_ct_CC" && break
5761 if test "x$ac_ct_CC" = x; then
5764 case $cross_compiling:$ac_tool_warned in
5766 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5767 whose name does not start with the host triplet. If you think this
5768 configuration is useful to you, please write to autoconf@gnu.org." >&5
5769 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5770 whose name does not start with the host triplet. If you think this
5771 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5772 ac_tool_warned=yes ;;
5781 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5782 See \`config.log' for more details." >&5
5783 echo "$as_me: error: no acceptable C compiler found in \$PATH
5784 See \`config.log' for more details." >&2;}
5785 { (exit 1); exit 1; }; }
5787 # Provide some information about the compiler.
5788 echo "$as_me:$LINENO: checking for C compiler version" >&5
5789 ac_compiler=`set X $ac_compile; echo $2`
5790 { (ac_try="$ac_compiler --version >&5"
5792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5793 *) ac_try_echo=$ac_try;;
5795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5796 (eval "$ac_compiler --version >&5") 2>&5
5798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799 (exit $ac_status); }
5800 { (ac_try="$ac_compiler -v >&5"
5802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5803 *) ac_try_echo=$ac_try;;
5805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5806 (eval "$ac_compiler -v >&5") 2>&5
5808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); }
5810 { (ac_try="$ac_compiler -V >&5"
5812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5813 *) ac_try_echo=$ac_try;;
5815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5816 (eval "$ac_compiler -V >&5") 2>&5
5818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819 (exit $ac_status); }
5821 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5822 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5823 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5824 echo $ECHO_N "(cached) $ECHO_C" >&6
5826 cat >conftest.$ac_ext <<_ACEOF
5829 cat confdefs.h >>conftest.$ac_ext
5830 cat >>conftest.$ac_ext <<_ACEOF
5831 /* end confdefs.h. */
5844 rm -f conftest.$ac_objext
5845 if { (ac_try="$ac_compile"
5847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5848 *) ac_try_echo=$ac_try;;
5850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5851 (eval "$ac_compile") 2>conftest.er1
5853 grep -v '^ *+' conftest.er1 >conftest.err
5855 cat conftest.err >&5
5856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5857 (exit $ac_status); } &&
5858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5859 { (case "(($ac_try" in
5860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5861 *) ac_try_echo=$ac_try;;
5863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5864 (eval "$ac_try") 2>&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); }; } &&
5868 { ac_try='test -s conftest.$ac_objext'
5869 { (case "(($ac_try" in
5870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5871 *) ac_try_echo=$ac_try;;
5873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5874 (eval "$ac_try") 2>&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); }; }; then
5880 echo "$as_me: failed program was:" >&5
5881 sed 's/^/| /' conftest.$ac_ext >&5
5886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5887 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5890 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5891 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5892 GCC=`test $ac_compiler_gnu = yes && echo yes`
5893 ac_test_CFLAGS=${CFLAGS+set}
5894 ac_save_CFLAGS=$CFLAGS
5895 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5896 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5897 if test "${ac_cv_prog_cc_g+set}" = set; then
5898 echo $ECHO_N "(cached) $ECHO_C" >&6
5900 ac_save_c_werror_flag=$ac_c_werror_flag
5901 ac_c_werror_flag=yes
5904 cat >conftest.$ac_ext <<_ACEOF
5907 cat confdefs.h >>conftest.$ac_ext
5908 cat >>conftest.$ac_ext <<_ACEOF
5909 /* end confdefs.h. */
5919 rm -f conftest.$ac_objext
5920 if { (ac_try="$ac_compile"
5922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5923 *) ac_try_echo=$ac_try;;
5925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5926 (eval "$ac_compile") 2>conftest.er1
5928 grep -v '^ *+' conftest.er1 >conftest.err
5930 cat conftest.err >&5
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); } &&
5933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5934 { (case "(($ac_try" in
5935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5936 *) ac_try_echo=$ac_try;;
5938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5939 (eval "$ac_try") 2>&5
5941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942 (exit $ac_status); }; } &&
5943 { ac_try='test -s conftest.$ac_objext'
5944 { (case "(($ac_try" in
5945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5946 *) ac_try_echo=$ac_try;;
5948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5949 (eval "$ac_try") 2>&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); }; }; then
5955 echo "$as_me: failed program was:" >&5
5956 sed 's/^/| /' conftest.$ac_ext >&5
5959 cat >conftest.$ac_ext <<_ACEOF
5962 cat confdefs.h >>conftest.$ac_ext
5963 cat >>conftest.$ac_ext <<_ACEOF
5964 /* end confdefs.h. */
5974 rm -f conftest.$ac_objext
5975 if { (ac_try="$ac_compile"
5977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5978 *) ac_try_echo=$ac_try;;
5980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5981 (eval "$ac_compile") 2>conftest.er1
5983 grep -v '^ *+' conftest.er1 >conftest.err
5985 cat conftest.err >&5
5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 (exit $ac_status); } &&
5988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5989 { (case "(($ac_try" in
5990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5991 *) ac_try_echo=$ac_try;;
5993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5994 (eval "$ac_try") 2>&5
5996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997 (exit $ac_status); }; } &&
5998 { ac_try='test -s conftest.$ac_objext'
5999 { (case "(($ac_try" in
6000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6001 *) ac_try_echo=$ac_try;;
6003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6004 (eval "$ac_try") 2>&5
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); }; }; then
6010 echo "$as_me: failed program was:" >&5
6011 sed 's/^/| /' conftest.$ac_ext >&5
6013 ac_c_werror_flag=$ac_save_c_werror_flag
6015 cat >conftest.$ac_ext <<_ACEOF
6018 cat confdefs.h >>conftest.$ac_ext
6019 cat >>conftest.$ac_ext <<_ACEOF
6020 /* end confdefs.h. */
6030 rm -f conftest.$ac_objext
6031 if { (ac_try="$ac_compile"
6033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6034 *) ac_try_echo=$ac_try;;
6036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6037 (eval "$ac_compile") 2>conftest.er1
6039 grep -v '^ *+' conftest.er1 >conftest.err
6041 cat conftest.err >&5
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); } &&
6044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6045 { (case "(($ac_try" in
6046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6047 *) ac_try_echo=$ac_try;;
6049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6050 (eval "$ac_try") 2>&5
6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); }; } &&
6054 { ac_try='test -s conftest.$ac_objext'
6055 { (case "(($ac_try" in
6056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6057 *) ac_try_echo=$ac_try;;
6059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6060 (eval "$ac_try") 2>&5
6062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6063 (exit $ac_status); }; }; then
6066 echo "$as_me: failed program was:" >&5
6067 sed 's/^/| /' conftest.$ac_ext >&5
6072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6079 ac_c_werror_flag=$ac_save_c_werror_flag
6081 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6082 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
6083 if test "$ac_test_CFLAGS" = set; then
6084 CFLAGS=$ac_save_CFLAGS
6085 elif test $ac_cv_prog_cc_g = yes; then
6086 if test "$GCC" = yes; then
6092 if test "$GCC" = yes; then
6098 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
6099 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
6100 if test "${ac_cv_prog_cc_c89+set}" = set; then
6101 echo $ECHO_N "(cached) $ECHO_C" >&6
6103 ac_cv_prog_cc_c89=no
6105 cat >conftest.$ac_ext <<_ACEOF
6108 cat confdefs.h >>conftest.$ac_ext
6109 cat >>conftest.$ac_ext <<_ACEOF
6110 /* end confdefs.h. */
6113 #include <sys/types.h>
6114 #include <sys/stat.h>
6115 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6116 struct buf { int x; };
6117 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6118 static char *e (p, i)
6124 static char *f (char * (*g) (char **, int), char **p, ...)
6129 s = g (p, va_arg (v,int));
6134 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6135 function prototypes and stuff, but not '\xHH' hex character constants.
6136 These don't provoke an error unfortunately, instead are silently treated
6137 as 'x'. The following induces an error, until -std is added to get
6138 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6139 array size at least. It's necessary to write '\x00'==0 to get something
6140 that's true only with -std. */
6141 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6143 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6144 inside strings and character constants. */
6146 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6148 int test (int i, double x);
6149 struct s1 {int (*f) (int a);};
6150 struct s2 {int (*f) (double a);};
6151 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6157 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6162 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6163 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6165 CC="$ac_save_CC $ac_arg"
6166 rm -f conftest.$ac_objext
6167 if { (ac_try="$ac_compile"
6169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6170 *) ac_try_echo=$ac_try;;
6172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6173 (eval "$ac_compile") 2>conftest.er1
6175 grep -v '^ *+' conftest.er1 >conftest.err
6177 cat conftest.err >&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); } &&
6180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6181 { (case "(($ac_try" in
6182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6183 *) ac_try_echo=$ac_try;;
6185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6186 (eval "$ac_try") 2>&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; } &&
6190 { ac_try='test -s conftest.$ac_objext'
6191 { (case "(($ac_try" in
6192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6193 *) ac_try_echo=$ac_try;;
6195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6196 (eval "$ac_try") 2>&5
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); }; }; then
6200 ac_cv_prog_cc_c89=$ac_arg
6202 echo "$as_me: failed program was:" >&5
6203 sed 's/^/| /' conftest.$ac_ext >&5
6208 rm -f core conftest.err conftest.$ac_objext
6209 test "x$ac_cv_prog_cc_c89" != "xno" && break
6211 rm -f conftest.$ac_ext
6216 case "x$ac_cv_prog_cc_c89" in
6218 { echo "$as_me:$LINENO: result: none needed" >&5
6219 echo "${ECHO_T}none needed" >&6; } ;;
6221 { echo "$as_me:$LINENO: result: unsupported" >&5
6222 echo "${ECHO_T}unsupported" >&6; } ;;
6224 CC="$CC $ac_cv_prog_cc_c89"
6225 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
6226 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
6231 ac_cpp='$CPP $CPPFLAGS'
6232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6236 depcc="$CC" am_compiler_list=
6238 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6239 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6240 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6241 echo $ECHO_N "(cached) $ECHO_C" >&6
6243 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6244 # We make a subdir and do the tests there. Otherwise we can end up
6245 # making bogus files that we don't know about and never remove. For
6246 # instance it was reported that on HP-UX the gcc test will end up
6247 # making a dummy file named `D' -- because `-MD' means `put the output
6250 # Copy depcomp to subdir because otherwise we won't find it if we're
6251 # using a relative directory.
6252 cp "$am_depcomp" conftest.dir
6254 # We will build objects and dependencies in a subdirectory because
6255 # it helps to detect inapplicable dependency modes. For instance
6256 # both Tru64's cc and ICC support -MD to output dependencies as a
6257 # side effect of compilation, but ICC will put the dependencies in
6258 # the current directory while Tru64 will put them in the object
6262 am_cv_CC_dependencies_compiler_type=none
6263 if test "$am_compiler_list" = ""; then
6264 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6266 for depmode in $am_compiler_list; do
6267 # Setup a source with many dependencies, because some compilers
6268 # like to wrap large dependency lists on column 80 (with \), and
6269 # we should not choose a depcomp mode which is confused by this.
6271 # We need to recreate these files for each test, as the compiler may
6272 # overwrite some of them when testing with obscure command lines.
6273 # This happens at least with the AIX C compiler.
6275 for i in 1 2 3 4 5 6; do
6276 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6277 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6278 # Solaris 8's {/usr,}/bin/sh.
6279 touch sub/conftst$i.h
6281 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6285 # after this tag, mechanisms are not by side-effect, so they'll
6286 # only be used when explicitly requested
6287 if test "x$enable_dependency_tracking" = xyes; then
6295 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6296 # mode. It turns out that the SunPro C++ compiler does not properly
6297 # handle `-M -o', and we need to detect this.
6298 if depmode=$depmode \
6299 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6300 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6301 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6302 >/dev/null 2>conftest.err &&
6303 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6304 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6305 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6306 # icc doesn't choke on unknown options, it will just issue warnings
6307 # or remarks (even with -Werror). So we grep stderr for any message
6308 # that says an option was ignored or not supported.
6309 # When given -MP, icc 7.0 and 7.1 complain thusly:
6310 # icc: Command line warning: ignoring option '-M'; no argument required
6311 # The diagnosis changed in icc 8.0:
6312 # icc: Command line remark: option '-MP' not supported
6313 if (grep 'ignoring option' conftest.err ||
6314 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6315 am_cv_CC_dependencies_compiler_type=$depmode
6324 am_cv_CC_dependencies_compiler_type=none
6328 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6329 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
6330 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6335 test "x$enable_dependency_tracking" != xno \
6336 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6338 am__fastdepCC_FALSE='#'
6340 am__fastdepCC_TRUE='#'
6341 am__fastdepCC_FALSE=
6345 # Find a good install program. We prefer a C program (faster),
6346 # so one script is as good as another. But avoid the broken or
6347 # incompatible versions:
6348 # SysV /etc/install, /usr/sbin/install
6349 # SunOS /usr/etc/install
6350 # IRIX /sbin/install
6352 # AmigaOS /C/install, which installs bootblocks on floppy discs
6353 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6354 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6355 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6356 # OS/2's system install, which has a completely different semantic
6357 # ./install, which can be erroneously created by make from ./install.sh.
6358 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6359 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6360 if test -z "$INSTALL"; then
6361 if test "${ac_cv_path_install+set}" = set; then
6362 echo $ECHO_N "(cached) $ECHO_C" >&6
6364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6368 test -z "$as_dir" && as_dir=.
6369 # Account for people who put trailing slashes in PATH elements.
6371 ./ | .// | /cC/* | \
6372 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6373 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6376 # OSF1 and SCO ODT 3.0 have their own names for install.
6377 # Don't use installbsd from OSF since it installs stuff as root
6379 for ac_prog in ginstall scoinst install; do
6380 for ac_exec_ext in '' $ac_executable_extensions; do
6381 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6382 if test $ac_prog = install &&
6383 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6384 # AIX install. It has an incompatible calling convention.
6386 elif test $ac_prog = install &&
6387 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6388 # program-specific install script used by HP pwplus--don't use.
6391 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6404 if test "${ac_cv_path_install+set}" = set; then
6405 INSTALL=$ac_cv_path_install
6407 # As a last resort, use the slow shell script. Don't cache a
6408 # value for INSTALL within a source directory, because that will
6409 # break other packages using the cache if that directory is
6410 # removed, or if the value is a relative name.
6411 INSTALL=$ac_install_sh
6414 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6415 echo "${ECHO_T}$INSTALL" >&6; }
6417 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6418 # It thinks the first close brace ends the variable substitution.
6419 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6421 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6423 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6425 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6426 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6428 if test "$LN_S" = "ln -s"; then
6429 { echo "$as_me:$LINENO: result: yes" >&5
6430 echo "${ECHO_T}yes" >&6; }
6432 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6433 echo "${ECHO_T}no, using $LN_S" >&6; }
6436 alsa_save_CFLAGS="$CFLAGS"
6437 alsa_save_LDFLAGS="$LDFLAGS"
6438 alsa_save_LIBS="$LIBS"
6442 # Check whether --with-alsa-prefix was given.
6443 if test "${with_alsa_prefix+set}" = set; then
6444 withval=$with_alsa_prefix; alsa_prefix="$withval"
6451 # Check whether --with-alsa-inc-prefix was given.
6452 if test "${with_alsa_inc_prefix+set}" = set; then
6453 withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval"
6459 # Check whether --enable-alsatest was given.
6460 if test "${enable_alsatest+set}" = set; then
6461 enableval=$enable_alsatest; enable_alsatest="$enableval"
6467 { echo "$as_me:$LINENO: checking for ALSA CFLAGS" >&5
6468 echo $ECHO_N "checking for ALSA CFLAGS... $ECHO_C" >&6; }
6469 if test "$alsa_inc_prefix" != "" ; then
6470 ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix"
6471 CFLAGS="$CFLAGS -I$alsa_inc_prefix"
6473 { echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5
6474 echo "${ECHO_T}$ALSA_CFLAGS" >&6; }
6476 { echo "$as_me:$LINENO: checking for ALSA LDFLAGS" >&5
6477 echo $ECHO_N "checking for ALSA LDFLAGS... $ECHO_C" >&6; }
6478 if test "$alsa_prefix" != "" ; then
6479 ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix"
6480 LDFLAGS="$LDFLAGS $ALSA_LIBS"
6483 ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
6484 LIBS="$ALSA_LIBS $LIBS"
6485 { echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5
6486 echo "${ECHO_T}$ALSA_LIBS" >&6; }
6488 min_alsa_version=1.0.16
6489 { echo "$as_me:$LINENO: checking for libasound headers version >= $min_alsa_version" >&5
6490 echo $ECHO_N "checking for libasound headers version >= $min_alsa_version... $ECHO_C" >&6; }
6492 alsa_min_major_version=`echo $min_alsa_version | \
6493 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
6494 alsa_min_minor_version=`echo $min_alsa_version | \
6495 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
6496 alsa_min_micro_version=`echo $min_alsa_version | \
6497 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
6501 ac_cpp='$CPP $CPPFLAGS'
6502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6506 cat >conftest.$ac_ext <<_ACEOF
6509 cat confdefs.h >>conftest.$ac_ext
6510 cat >>conftest.$ac_ext <<_ACEOF
6511 /* end confdefs.h. */
6513 #include <alsa/asoundlib.h>
6519 /* ensure backward compatibility */
6520 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
6521 #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR
6523 #if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR)
6524 #define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR
6526 #if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR)
6527 #define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR
6530 # if(SND_LIB_MAJOR > $alsa_min_major_version)
6533 # if(SND_LIB_MAJOR < $alsa_min_major_version)
6537 # if(SND_LIB_MINOR > $alsa_min_minor_version)
6540 # if(SND_LIB_MINOR < $alsa_min_minor_version)
6544 # if(SND_LIB_SUBMINOR < $alsa_min_micro_version)
6555 rm -f conftest.$ac_objext
6556 if { (ac_try="$ac_compile"
6558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6559 *) ac_try_echo=$ac_try;;
6561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6562 (eval "$ac_compile") 2>conftest.er1
6564 grep -v '^ *+' conftest.er1 >conftest.err
6566 cat conftest.err >&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); } &&
6569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6570 { (case "(($ac_try" in
6571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6572 *) ac_try_echo=$ac_try;;
6574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6575 (eval "$ac_try") 2>&5
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578 (exit $ac_status); }; } &&
6579 { ac_try='test -s conftest.$ac_objext'
6580 { (case "(($ac_try" in
6581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6582 *) ac_try_echo=$ac_try;;
6584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6585 (eval "$ac_try") 2>&5
6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588 (exit $ac_status); }; }; then
6589 { echo "$as_me:$LINENO: result: found." >&5
6590 echo "${ECHO_T}found." >&6; }
6592 echo "$as_me: failed program was:" >&5
6593 sed 's/^/| /' conftest.$ac_ext >&5
6595 { echo "$as_me:$LINENO: result: not present." >&5
6596 echo "${ECHO_T}not present." >&6; }
6597 { { echo "$as_me:$LINENO: error: Sufficiently new version of libasound not found." >&5
6598 echo "$as_me: error: Sufficiently new version of libasound not found." >&2;}
6599 { (exit 1); exit 1; }; }
6604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6606 ac_cpp='$CPP $CPPFLAGS'
6607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6612 if test "x$enable_alsatest" = "xyes"; then
6614 { echo "$as_me:$LINENO: checking for snd_ctl_open in -lasound" >&5
6615 echo $ECHO_N "checking for snd_ctl_open in -lasound... $ECHO_C" >&6; }
6616 if test "${ac_cv_lib_asound_snd_ctl_open+set}" = set; then
6617 echo $ECHO_N "(cached) $ECHO_C" >&6
6619 ac_check_lib_save_LIBS=$LIBS
6620 LIBS="-lasound $LIBS"
6621 cat >conftest.$ac_ext <<_ACEOF
6624 cat confdefs.h >>conftest.$ac_ext
6625 cat >>conftest.$ac_ext <<_ACEOF
6626 /* end confdefs.h. */
6628 /* Override any GCC internal prototype to avoid an error.
6629 Use char because int might match the return type of a GCC
6630 builtin and then its argument prototype would still apply. */
6634 char snd_ctl_open ();
6638 return snd_ctl_open ();
6643 rm -f conftest.$ac_objext conftest$ac_exeext
6644 if { (ac_try="$ac_link"
6646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6647 *) ac_try_echo=$ac_try;;
6649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6650 (eval "$ac_link") 2>conftest.er1
6652 grep -v '^ *+' conftest.er1 >conftest.err
6654 cat conftest.err >&5
6655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6656 (exit $ac_status); } &&
6657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6658 { (case "(($ac_try" in
6659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6660 *) ac_try_echo=$ac_try;;
6662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6663 (eval "$ac_try") 2>&5
6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666 (exit $ac_status); }; } &&
6667 { ac_try='test -s conftest$ac_exeext'
6668 { (case "(($ac_try" in
6669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6670 *) ac_try_echo=$ac_try;;
6672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6673 (eval "$ac_try") 2>&5
6675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6676 (exit $ac_status); }; }; then
6677 ac_cv_lib_asound_snd_ctl_open=yes
6679 echo "$as_me: failed program was:" >&5
6680 sed 's/^/| /' conftest.$ac_ext >&5
6682 ac_cv_lib_asound_snd_ctl_open=no
6685 rm -f core conftest.err conftest.$ac_objext \
6686 conftest$ac_exeext conftest.$ac_ext
6687 LIBS=$ac_check_lib_save_LIBS
6689 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_ctl_open" >&5
6690 echo "${ECHO_T}$ac_cv_lib_asound_snd_ctl_open" >&6; }
6691 if test $ac_cv_lib_asound_snd_ctl_open = yes; then
6692 cat >>confdefs.h <<_ACEOF
6693 #define HAVE_LIBASOUND 1
6696 LIBS="-lasound $LIBS"
6699 { { echo "$as_me:$LINENO: error: No linkable libasound was found." >&5
6700 echo "$as_me: error: No linkable libasound was found." >&2;}
6701 { (exit 1); exit 1; }; }
6708 if test "x$alsa_found" = "xyes" ; then
6710 LIBS=`echo $LIBS | sed 's/-lasound//g'`
6711 LIBS=`echo $LIBS | sed 's/ //'`
6712 LIBS="-lasound $LIBS"
6714 if test "x$alsa_found" = "xno" ; then
6716 CFLAGS="$alsa_save_CFLAGS"
6717 LDFLAGS="$alsa_save_LDFLAGS"
6718 LIBS="$alsa_save_LIBS"
6728 for ac_header in alsa/pcm.h
6730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6731 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6734 echo $ECHO_N "(cached) $ECHO_C" >&6
6736 cat >conftest.$ac_ext <<_ACEOF
6739 cat confdefs.h >>conftest.$ac_ext
6740 cat >>conftest.$ac_ext <<_ACEOF
6741 /* end confdefs.h. */
6742 #include <alsa/asoundlib.h>
6744 #include <$ac_header>
6746 rm -f conftest.$ac_objext
6747 if { (ac_try="$ac_compile"
6749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6750 *) ac_try_echo=$ac_try;;
6752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6753 (eval "$ac_compile") 2>conftest.er1
6755 grep -v '^ *+' conftest.er1 >conftest.err
6757 cat conftest.err >&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); } &&
6760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6761 { (case "(($ac_try" in
6762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6763 *) ac_try_echo=$ac_try;;
6765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6766 (eval "$ac_try") 2>&5
6768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769 (exit $ac_status); }; } &&
6770 { ac_try='test -s conftest.$ac_objext'
6771 { (case "(($ac_try" in
6772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6773 *) ac_try_echo=$ac_try;;
6775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6776 (eval "$ac_try") 2>&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); }; }; then
6780 eval "$as_ac_Header=yes"
6782 echo "$as_me: failed program was:" >&5
6783 sed 's/^/| /' conftest.$ac_ext >&5
6785 eval "$as_ac_Header=no"
6788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6790 ac_res=`eval echo '${'$as_ac_Header'}'`
6791 { echo "$as_me:$LINENO: result: $ac_res" >&5
6792 echo "${ECHO_T}$ac_res" >&6; }
6793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6794 cat >>confdefs.h <<_ACEOF
6795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6805 for ac_header in alsa/mixer.h
6807 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6808 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6810 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6811 echo $ECHO_N "(cached) $ECHO_C" >&6
6813 cat >conftest.$ac_ext <<_ACEOF
6816 cat confdefs.h >>conftest.$ac_ext
6817 cat >>conftest.$ac_ext <<_ACEOF
6818 /* end confdefs.h. */
6819 #include <alsa/asoundlib.h>
6821 #include <$ac_header>
6823 rm -f conftest.$ac_objext
6824 if { (ac_try="$ac_compile"
6826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6827 *) ac_try_echo=$ac_try;;
6829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6830 (eval "$ac_compile") 2>conftest.er1
6832 grep -v '^ *+' conftest.er1 >conftest.err
6834 cat conftest.err >&5
6835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); } &&
6837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6838 { (case "(($ac_try" in
6839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6840 *) ac_try_echo=$ac_try;;
6842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6843 (eval "$ac_try") 2>&5
6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 (exit $ac_status); }; } &&
6847 { ac_try='test -s conftest.$ac_objext'
6848 { (case "(($ac_try" in
6849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6850 *) ac_try_echo=$ac_try;;
6852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6853 (eval "$ac_try") 2>&5
6855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6856 (exit $ac_status); }; }; then
6857 eval "$as_ac_Header=yes"
6859 echo "$as_me: failed program was:" >&5
6860 sed 's/^/| /' conftest.$ac_ext >&5
6862 eval "$as_ac_Header=no"
6865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6867 ac_res=`eval echo '${'$as_ac_Header'}'`
6868 { echo "$as_me:$LINENO: result: $ac_res" >&5
6869 echo "${ECHO_T}$ac_res" >&6; }
6870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6871 cat >>confdefs.h <<_ACEOF
6872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6882 for ac_header in alsa/rawmidi.h
6884 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6885 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6888 echo $ECHO_N "(cached) $ECHO_C" >&6
6890 cat >conftest.$ac_ext <<_ACEOF
6893 cat confdefs.h >>conftest.$ac_ext
6894 cat >>conftest.$ac_ext <<_ACEOF
6895 /* end confdefs.h. */
6896 #include <alsa/asoundlib.h>
6898 #include <$ac_header>
6900 rm -f conftest.$ac_objext
6901 if { (ac_try="$ac_compile"
6903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6904 *) ac_try_echo=$ac_try;;
6906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6907 (eval "$ac_compile") 2>conftest.er1
6909 grep -v '^ *+' conftest.er1 >conftest.err
6911 cat conftest.err >&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); } &&
6914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6915 { (case "(($ac_try" in
6916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6917 *) ac_try_echo=$ac_try;;
6919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6920 (eval "$ac_try") 2>&5
6922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); }; } &&
6924 { ac_try='test -s conftest.$ac_objext'
6925 { (case "(($ac_try" in
6926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6927 *) ac_try_echo=$ac_try;;
6929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6930 (eval "$ac_try") 2>&5
6932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933 (exit $ac_status); }; }; then
6934 eval "$as_ac_Header=yes"
6936 echo "$as_me: failed program was:" >&5
6937 sed 's/^/| /' conftest.$ac_ext >&5
6939 eval "$as_ac_Header=no"
6942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6944 ac_res=`eval echo '${'$as_ac_Header'}'`
6945 { echo "$as_me:$LINENO: result: $ac_res" >&5
6946 echo "${ECHO_T}$ac_res" >&6; }
6947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6948 cat >>confdefs.h <<_ACEOF
6949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6959 for ac_header in alsa/seq.h
6961 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6962 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6964 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6967 cat >conftest.$ac_ext <<_ACEOF
6970 cat confdefs.h >>conftest.$ac_ext
6971 cat >>conftest.$ac_ext <<_ACEOF
6972 /* end confdefs.h. */
6973 #include <alsa/asoundlib.h>
6975 #include <$ac_header>
6977 rm -f conftest.$ac_objext
6978 if { (ac_try="$ac_compile"
6980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6981 *) ac_try_echo=$ac_try;;
6983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6984 (eval "$ac_compile") 2>conftest.er1
6986 grep -v '^ *+' conftest.er1 >conftest.err
6988 cat conftest.err >&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); } &&
6991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6992 { (case "(($ac_try" in
6993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6994 *) ac_try_echo=$ac_try;;
6996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6997 (eval "$ac_try") 2>&5
6999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000 (exit $ac_status); }; } &&
7001 { ac_try='test -s conftest.$ac_objext'
7002 { (case "(($ac_try" in
7003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7004 *) ac_try_echo=$ac_try;;
7006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7007 (eval "$ac_try") 2>&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); }; }; then
7011 eval "$as_ac_Header=yes"
7013 echo "$as_me: failed program was:" >&5
7014 sed 's/^/| /' conftest.$ac_ext >&5
7016 eval "$as_ac_Header=no"
7019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7021 ac_res=`eval echo '${'$as_ac_Header'}'`
7022 { echo "$as_me:$LINENO: result: $ac_res" >&5
7023 echo "${ECHO_T}$ac_res" >&6; }
7024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7025 cat >>confdefs.h <<_ACEOF
7026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7038 if test "$have_pcm" = "yes"; then
7048 if test "$have_mixer" = "yes"; then
7050 HAVE_MIXER_FALSE='#'
7058 if test "$have_rawmidi" = "yes"; then
7060 HAVE_RAWMIDI_FALSE='#'
7062 HAVE_RAWMIDI_TRUE='#'
7068 if test "$have_seq" = "yes"; then
7078 { echo "$as_me:$LINENO: checking for librt" >&5
7079 echo $ECHO_N "checking for librt... $ECHO_C" >&6; }
7081 # Check whether --with-librt was given.
7082 if test "${with_librt+set}" = set; then
7083 withval=$with_librt; have_librt="$withval"
7088 if test "$have_librt" = "yes"; then
7089 { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
7090 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
7091 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
7092 echo $ECHO_N "(cached) $ECHO_C" >&6
7094 ac_check_lib_save_LIBS=$LIBS
7096 cat >conftest.$ac_ext <<_ACEOF
7099 cat confdefs.h >>conftest.$ac_ext
7100 cat >>conftest.$ac_ext <<_ACEOF
7101 /* end confdefs.h. */
7103 /* Override any GCC internal prototype to avoid an error.
7104 Use char because int might match the return type of a GCC
7105 builtin and then its argument prototype would still apply. */
7109 char clock_gettime ();
7113 return clock_gettime ();
7118 rm -f conftest.$ac_objext conftest$ac_exeext
7119 if { (ac_try="$ac_link"
7121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7122 *) ac_try_echo=$ac_try;;
7124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7125 (eval "$ac_link") 2>conftest.er1
7127 grep -v '^ *+' conftest.er1 >conftest.err
7129 cat conftest.err >&5
7130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131 (exit $ac_status); } &&
7132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7133 { (case "(($ac_try" in
7134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7135 *) ac_try_echo=$ac_try;;
7137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7138 (eval "$ac_try") 2>&5
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); }; } &&
7142 { ac_try='test -s conftest$ac_exeext'
7143 { (case "(($ac_try" in
7144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7145 *) ac_try_echo=$ac_try;;
7147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7148 (eval "$ac_try") 2>&5
7150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); }; }; then
7152 ac_cv_lib_rt_clock_gettime=yes
7154 echo "$as_me: failed program was:" >&5
7155 sed 's/^/| /' conftest.$ac_ext >&5
7157 ac_cv_lib_rt_clock_gettime=no
7160 rm -f core conftest.err conftest.$ac_objext \
7161 conftest$ac_exeext conftest.$ac_ext
7162 LIBS=$ac_check_lib_save_LIBS
7164 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
7165 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; }
7166 if test $ac_cv_lib_rt_clock_gettime = yes; then
7170 if test "$HAVE_LIBRT" = "yes" ; then
7173 cat >>confdefs.h <<\_ACEOF
7174 #define HAVE_LIBRT 1
7178 cat >>confdefs.h <<\_ACEOF
7179 #define HAVE_CLOCK_GETTIME 1
7184 { echo "$as_me:$LINENO: result: no" >&5
7185 echo "${ECHO_T}no" >&6; }
7192 if test "$have_mixer" = "yes"; then
7193 # Check whether --enable-alsamixer was given.
7194 if test "${enable_alsamixer+set}" = set; then
7195 enableval=$enable_alsamixer; case "${enableval}" in
7196 yes) alsamixer=true ;;
7197 no) alsamixer=false ;;
7198 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-alsamixer" >&5
7199 echo "$as_me: error: bad value ${enableval} for --enable-alsamixer" >&2;}
7200 { (exit 1); exit 1; }; } ;;
7209 if test x$alsamixer = xtrue; then
7218 # Check whether --enable-alsaconf was given.
7219 if test "${enable_alsaconf+set}" = set; then
7220 enableval=$enable_alsaconf; case "${enableval}" in
7221 yes) alsaconf=true ;;
7222 no) alsaconf=false ;;
7223 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-alsaconf" >&5
7224 echo "$as_me: error: bad value ${enableval} for --enable-alsaconf" >&2;}
7225 { (exit 1); exit 1; }; } ;;
7233 if test x$alsaconf = xtrue; then
7243 if test x"$alsaconf" = xtrue; then
7244 # Check whether --enable-xmlto was given.
7245 if test "${enable_xmlto+set}" = set; then
7246 enableval=$enable_xmlto; xmlto="$enableval"
7251 if test "$xmlto" = "yes"; then
7252 # Extract the first word of "xmlto", so it can be a program name with args.
7253 set dummy xmlto; ac_word=$2
7254 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7256 if test "${ac_cv_prog_xmlto+set}" = set; then
7257 echo $ECHO_N "(cached) $ECHO_C" >&6
7259 if test -n "$xmlto"; then
7260 ac_cv_prog_xmlto="$xmlto" # Let the user override the test.
7262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 test -z "$as_dir" && as_dir=.
7267 for ac_exec_ext in '' $ac_executable_extensions; do
7268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7269 ac_cv_prog_xmlto="yes"
7270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7279 xmlto=$ac_cv_prog_xmlto
7280 if test -n "$xmlto"; then
7281 { echo "$as_me:$LINENO: result: $xmlto" >&5
7282 echo "${ECHO_T}$xmlto" >&6; }
7284 { echo "$as_me:$LINENO: result: no" >&5
7285 echo "${ECHO_T}no" >&6; }
7293 if test x"$xmlto" = xyes; then
7303 ac_cpp='$CPP $CPPFLAGS'
7304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7307 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7308 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
7309 # On Suns, sometimes $CPP names a directory.
7310 if test -n "$CPP" && test -d "$CPP"; then
7313 if test -z "$CPP"; then
7314 if test "${ac_cv_prog_CPP+set}" = set; then
7315 echo $ECHO_N "(cached) $ECHO_C" >&6
7317 # Double quotes because CPP needs to be expanded
7318 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7321 for ac_c_preproc_warn_flag in '' yes
7323 # Use a header file that comes with gcc, so configuring glibc
7324 # with a fresh cross-compiler works.
7325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7326 # <limits.h> exists even on freestanding compilers.
7327 # On the NeXT, cc -E runs the code through the compiler's parser,
7328 # not just through cpp. "Syntax error" is here to catch this case.
7329 cat >conftest.$ac_ext <<_ACEOF
7332 cat confdefs.h >>conftest.$ac_ext
7333 cat >>conftest.$ac_ext <<_ACEOF
7334 /* end confdefs.h. */
7336 # include <limits.h>
7338 # include <assert.h>
7342 if { (ac_try="$ac_cpp conftest.$ac_ext"
7344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7345 *) ac_try_echo=$ac_try;;
7347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7348 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7350 grep -v '^ *+' conftest.er1 >conftest.err
7352 cat conftest.err >&5
7353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354 (exit $ac_status); } >/dev/null; then
7355 if test -s conftest.err; then
7356 ac_cpp_err=$ac_c_preproc_warn_flag
7357 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7364 if test -z "$ac_cpp_err"; then
7367 echo "$as_me: failed program was:" >&5
7368 sed 's/^/| /' conftest.$ac_ext >&5
7370 # Broken: fails on valid input.
7374 rm -f conftest.err conftest.$ac_ext
7376 # OK, works on sane cases. Now check whether nonexistent headers
7377 # can be detected and how.
7378 cat >conftest.$ac_ext <<_ACEOF
7381 cat confdefs.h >>conftest.$ac_ext
7382 cat >>conftest.$ac_ext <<_ACEOF
7383 /* end confdefs.h. */
7384 #include <ac_nonexistent.h>
7386 if { (ac_try="$ac_cpp conftest.$ac_ext"
7388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7389 *) ac_try_echo=$ac_try;;
7391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7392 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7394 grep -v '^ *+' conftest.er1 >conftest.err
7396 cat conftest.err >&5
7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398 (exit $ac_status); } >/dev/null; then
7399 if test -s conftest.err; then
7400 ac_cpp_err=$ac_c_preproc_warn_flag
7401 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7408 if test -z "$ac_cpp_err"; then
7409 # Broken: success on invalid input.
7412 echo "$as_me: failed program was:" >&5
7413 sed 's/^/| /' conftest.$ac_ext >&5
7415 # Passes both tests.
7420 rm -f conftest.err conftest.$ac_ext
7423 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7424 rm -f conftest.err conftest.$ac_ext
7425 if $ac_preproc_ok; then
7437 { echo "$as_me:$LINENO: result: $CPP" >&5
7438 echo "${ECHO_T}$CPP" >&6; }
7440 for ac_c_preproc_warn_flag in '' yes
7442 # Use a header file that comes with gcc, so configuring glibc
7443 # with a fresh cross-compiler works.
7444 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7445 # <limits.h> exists even on freestanding compilers.
7446 # On the NeXT, cc -E runs the code through the compiler's parser,
7447 # not just through cpp. "Syntax error" is here to catch this case.
7448 cat >conftest.$ac_ext <<_ACEOF
7451 cat confdefs.h >>conftest.$ac_ext
7452 cat >>conftest.$ac_ext <<_ACEOF
7453 /* end confdefs.h. */
7455 # include <limits.h>
7457 # include <assert.h>
7461 if { (ac_try="$ac_cpp conftest.$ac_ext"
7463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7464 *) ac_try_echo=$ac_try;;
7466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7467 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7469 grep -v '^ *+' conftest.er1 >conftest.err
7471 cat conftest.err >&5
7472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7473 (exit $ac_status); } >/dev/null; then
7474 if test -s conftest.err; then
7475 ac_cpp_err=$ac_c_preproc_warn_flag
7476 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7483 if test -z "$ac_cpp_err"; then
7486 echo "$as_me: failed program was:" >&5
7487 sed 's/^/| /' conftest.$ac_ext >&5
7489 # Broken: fails on valid input.
7493 rm -f conftest.err conftest.$ac_ext
7495 # OK, works on sane cases. Now check whether nonexistent headers
7496 # can be detected and how.
7497 cat >conftest.$ac_ext <<_ACEOF
7500 cat confdefs.h >>conftest.$ac_ext
7501 cat >>conftest.$ac_ext <<_ACEOF
7502 /* end confdefs.h. */
7503 #include <ac_nonexistent.h>
7505 if { (ac_try="$ac_cpp conftest.$ac_ext"
7507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7508 *) ac_try_echo=$ac_try;;
7510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7513 grep -v '^ *+' conftest.er1 >conftest.err
7515 cat conftest.err >&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } >/dev/null; then
7518 if test -s conftest.err; then
7519 ac_cpp_err=$ac_c_preproc_warn_flag
7520 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7527 if test -z "$ac_cpp_err"; then
7528 # Broken: success on invalid input.
7531 echo "$as_me: failed program was:" >&5
7532 sed 's/^/| /' conftest.$ac_ext >&5
7534 # Passes both tests.
7539 rm -f conftest.err conftest.$ac_ext
7542 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7543 rm -f conftest.err conftest.$ac_ext
7544 if $ac_preproc_ok; then
7547 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7548 See \`config.log' for more details." >&5
7549 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7550 See \`config.log' for more details." >&2;}
7551 { (exit 1); exit 1; }; }
7555 ac_cpp='$CPP $CPPFLAGS'
7556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7561 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7562 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
7563 if test "${ac_cv_path_GREP+set}" = set; then
7564 echo $ECHO_N "(cached) $ECHO_C" >&6
7566 # Extract the first word of "grep ggrep" to use in msg output
7567 if test -z "$GREP"; then
7568 set dummy grep ggrep; ac_prog_name=$2
7569 if test "${ac_cv_path_GREP+set}" = set; then
7570 echo $ECHO_N "(cached) $ECHO_C" >&6
7572 ac_path_GREP_found=false
7573 # Loop through the user's path and test for each of PROGNAME-LIST
7574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7575 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7578 test -z "$as_dir" && as_dir=.
7579 for ac_prog in grep ggrep; do
7580 for ac_exec_ext in '' $ac_executable_extensions; do
7581 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7582 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
7583 # Check for GNU ac_path_GREP and select it if it is found.
7584 # Check for GNU $ac_path_GREP
7585 case `"$ac_path_GREP" --version 2>&1` in
7587 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7590 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7593 cat "conftest.in" "conftest.in" >"conftest.tmp"
7594 mv "conftest.tmp" "conftest.in"
7595 cp "conftest.in" "conftest.nl"
7596 echo 'GREP' >> "conftest.nl"
7597 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7598 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7599 ac_count=`expr $ac_count + 1`
7600 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7601 # Best one so far, save it but keep looking for a better one
7602 ac_cv_path_GREP="$ac_path_GREP"
7603 ac_path_GREP_max=$ac_count
7605 # 10*(2^10) chars as input seems more than enough
7606 test $ac_count -gt 10 && break
7608 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7612 $ac_path_GREP_found && break 3
7622 GREP="$ac_cv_path_GREP"
7623 if test -z "$GREP"; then
7624 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7625 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7626 { (exit 1); exit 1; }; }
7630 ac_cv_path_GREP=$GREP
7635 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7636 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7637 GREP="$ac_cv_path_GREP"
7640 { echo "$as_me:$LINENO: checking for egrep" >&5
7641 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
7642 if test "${ac_cv_path_EGREP+set}" = set; then
7643 echo $ECHO_N "(cached) $ECHO_C" >&6
7645 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7646 then ac_cv_path_EGREP="$GREP -E"
7648 # Extract the first word of "egrep" to use in msg output
7649 if test -z "$EGREP"; then
7650 set dummy egrep; ac_prog_name=$2
7651 if test "${ac_cv_path_EGREP+set}" = set; then
7652 echo $ECHO_N "(cached) $ECHO_C" >&6
7654 ac_path_EGREP_found=false
7655 # Loop through the user's path and test for each of PROGNAME-LIST
7656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7657 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7660 test -z "$as_dir" && as_dir=.
7661 for ac_prog in egrep; do
7662 for ac_exec_ext in '' $ac_executable_extensions; do
7663 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7664 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
7665 # Check for GNU ac_path_EGREP and select it if it is found.
7666 # Check for GNU $ac_path_EGREP
7667 case `"$ac_path_EGREP" --version 2>&1` in
7669 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7672 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7675 cat "conftest.in" "conftest.in" >"conftest.tmp"
7676 mv "conftest.tmp" "conftest.in"
7677 cp "conftest.in" "conftest.nl"
7678 echo 'EGREP' >> "conftest.nl"
7679 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7680 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7681 ac_count=`expr $ac_count + 1`
7682 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7683 # Best one so far, save it but keep looking for a better one
7684 ac_cv_path_EGREP="$ac_path_EGREP"
7685 ac_path_EGREP_max=$ac_count
7687 # 10*(2^10) chars as input seems more than enough
7688 test $ac_count -gt 10 && break
7690 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7694 $ac_path_EGREP_found && break 3
7704 EGREP="$ac_cv_path_EGREP"
7705 if test -z "$EGREP"; then
7706 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7707 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7708 { (exit 1); exit 1; }; }
7712 ac_cv_path_EGREP=$EGREP
7718 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7719 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7720 EGREP="$ac_cv_path_EGREP"
7723 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7724 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7725 if test "${ac_cv_header_stdc+set}" = set; then
7726 echo $ECHO_N "(cached) $ECHO_C" >&6
7728 cat >conftest.$ac_ext <<_ACEOF
7731 cat confdefs.h >>conftest.$ac_ext
7732 cat >>conftest.$ac_ext <<_ACEOF
7733 /* end confdefs.h. */
7747 rm -f conftest.$ac_objext
7748 if { (ac_try="$ac_compile"
7750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7751 *) ac_try_echo=$ac_try;;
7753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7754 (eval "$ac_compile") 2>conftest.er1
7756 grep -v '^ *+' conftest.er1 >conftest.err
7758 cat conftest.err >&5
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); } &&
7761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7762 { (case "(($ac_try" in
7763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7764 *) ac_try_echo=$ac_try;;
7766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7767 (eval "$ac_try") 2>&5
7769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7770 (exit $ac_status); }; } &&
7771 { ac_try='test -s conftest.$ac_objext'
7772 { (case "(($ac_try" in
7773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7774 *) ac_try_echo=$ac_try;;
7776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7777 (eval "$ac_try") 2>&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); }; }; then
7781 ac_cv_header_stdc=yes
7783 echo "$as_me: failed program was:" >&5
7784 sed 's/^/| /' conftest.$ac_ext >&5
7786 ac_cv_header_stdc=no
7789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7791 if test $ac_cv_header_stdc = yes; then
7792 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7793 cat >conftest.$ac_ext <<_ACEOF
7796 cat confdefs.h >>conftest.$ac_ext
7797 cat >>conftest.$ac_ext <<_ACEOF
7798 /* end confdefs.h. */
7802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7803 $EGREP "memchr" >/dev/null 2>&1; then
7806 ac_cv_header_stdc=no
7812 if test $ac_cv_header_stdc = yes; then
7813 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7814 cat >conftest.$ac_ext <<_ACEOF
7817 cat confdefs.h >>conftest.$ac_ext
7818 cat >>conftest.$ac_ext <<_ACEOF
7819 /* end confdefs.h. */
7823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7824 $EGREP "free" >/dev/null 2>&1; then
7827 ac_cv_header_stdc=no
7833 if test $ac_cv_header_stdc = yes; then
7834 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7835 if test "$cross_compiling" = yes; then
7838 cat >conftest.$ac_ext <<_ACEOF
7841 cat confdefs.h >>conftest.$ac_ext
7842 cat >>conftest.$ac_ext <<_ACEOF
7843 /* end confdefs.h. */
7846 #if ((' ' & 0x0FF) == 0x020)
7847 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7848 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7850 # define ISLOWER(c) \
7851 (('a' <= (c) && (c) <= 'i') \
7852 || ('j' <= (c) && (c) <= 'r') \
7853 || ('s' <= (c) && (c) <= 'z'))
7854 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7857 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7862 for (i = 0; i < 256; i++)
7863 if (XOR (islower (i), ISLOWER (i))
7864 || toupper (i) != TOUPPER (i))
7869 rm -f conftest$ac_exeext
7870 if { (ac_try="$ac_link"
7872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7873 *) ac_try_echo=$ac_try;;
7875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7876 (eval "$ac_link") 2>&5
7878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7880 { (case "(($ac_try" in
7881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7882 *) ac_try_echo=$ac_try;;
7884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7885 (eval "$ac_try") 2>&5
7887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7888 (exit $ac_status); }; }; then
7891 echo "$as_me: program exited with status $ac_status" >&5
7892 echo "$as_me: failed program was:" >&5
7893 sed 's/^/| /' conftest.$ac_ext >&5
7896 ac_cv_header_stdc=no
7898 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7904 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7905 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7906 if test $ac_cv_header_stdc = yes; then
7908 cat >>confdefs.h <<\_ACEOF
7909 #define STDC_HEADERS 1
7914 if test x$alsamixer = xtrue; then
7916 # Check whether --with-curses was given.
7917 if test "${with_curses+set}" = set; then
7918 withval=$with_curses; curseslib="$withval"
7926 if test "$curseslib" = "ncursesw" -o \( "$curseslib" = "auto" -a "$USE_NLS" = "yes" \); then
7927 # Extract the first word of "ncursesw5-config", so it can be a program name with args.
7928 set dummy ncursesw5-config; ac_word=$2
7929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7931 if test "${ac_cv_prog_ncursesw5_config+set}" = set; then
7932 echo $ECHO_N "(cached) $ECHO_C" >&6
7934 if test -n "$ncursesw5_config"; then
7935 ac_cv_prog_ncursesw5_config="$ncursesw5_config" # Let the user override the test.
7937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7941 test -z "$as_dir" && as_dir=.
7942 for ac_exec_ext in '' $ac_executable_extensions; do
7943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7944 ac_cv_prog_ncursesw5_config="yes"
7945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7954 ncursesw5_config=$ac_cv_prog_ncursesw5_config
7955 if test -n "$ncursesw5_config"; then
7956 { echo "$as_me:$LINENO: result: $ncursesw5_config" >&5
7957 echo "${ECHO_T}$ncursesw5_config" >&6; }
7959 { echo "$as_me:$LINENO: result: no" >&5
7960 echo "${ECHO_T}no" >&6; }
7964 if test "$ncursesw5_config" = "yes"; then
7965 CURSESINC="<ncurses.h>"
7966 CURSESLIB=`ncursesw5-config --libs`
7967 CURSESLIBDIR=`ncursesw5-config --libdir`
7968 CURSES_CFLAGS=`ncursesw5-config --cflags`
7969 curseslib="ncursesw"
7971 { echo "$as_me:$LINENO: checking for initscr in -lncursesw" >&5
7972 echo $ECHO_N "checking for initscr in -lncursesw... $ECHO_C" >&6; }
7973 if test "${ac_cv_lib_ncursesw_initscr+set}" = set; then
7974 echo $ECHO_N "(cached) $ECHO_C" >&6
7976 ac_check_lib_save_LIBS=$LIBS
7977 LIBS="-lncursesw $LIBS"
7978 cat >conftest.$ac_ext <<_ACEOF
7981 cat confdefs.h >>conftest.$ac_ext
7982 cat >>conftest.$ac_ext <<_ACEOF
7983 /* end confdefs.h. */
7985 /* Override any GCC internal prototype to avoid an error.
7986 Use char because int might match the return type of a GCC
7987 builtin and then its argument prototype would still apply. */
8000 rm -f conftest.$ac_objext conftest$ac_exeext
8001 if { (ac_try="$ac_link"
8003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8004 *) ac_try_echo=$ac_try;;
8006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8007 (eval "$ac_link") 2>conftest.er1
8009 grep -v '^ *+' conftest.er1 >conftest.err
8011 cat conftest.err >&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); } &&
8014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8015 { (case "(($ac_try" in
8016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8017 *) ac_try_echo=$ac_try;;
8019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8020 (eval "$ac_try") 2>&5
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); }; } &&
8024 { ac_try='test -s conftest$ac_exeext'
8025 { (case "(($ac_try" in
8026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8027 *) ac_try_echo=$ac_try;;
8029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8030 (eval "$ac_try") 2>&5
8032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033 (exit $ac_status); }; }; then
8034 ac_cv_lib_ncursesw_initscr=yes
8036 echo "$as_me: failed program was:" >&5
8037 sed 's/^/| /' conftest.$ac_ext >&5
8039 ac_cv_lib_ncursesw_initscr=no
8042 rm -f core conftest.err conftest.$ac_objext \
8043 conftest$ac_exeext conftest.$ac_ext
8044 LIBS=$ac_check_lib_save_LIBS
8046 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncursesw_initscr" >&5
8047 echo "${ECHO_T}$ac_cv_lib_ncursesw_initscr" >&6; }
8048 if test $ac_cv_lib_ncursesw_initscr = yes; then
8049 CURSESINC='<ncurses.h>'; CURSESLIB='-lncursesw'; curseslib="ncursesw"
8053 if test -n "$CURSESINC"; then
8054 NCURSESLIBSUFFIX="w"
8058 if test "$curseslib" = "ncurses" -o "$curseslib" = "auto"; then
8059 # Extract the first word of "ncurses5-config", so it can be a program name with args.
8060 set dummy ncurses5-config; ac_word=$2
8061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8063 if test "${ac_cv_prog_ncurses5_config+set}" = set; then
8064 echo $ECHO_N "(cached) $ECHO_C" >&6
8066 if test -n "$ncurses5_config"; then
8067 ac_cv_prog_ncurses5_config="$ncurses5_config" # Let the user override the test.
8069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8073 test -z "$as_dir" && as_dir=.
8074 for ac_exec_ext in '' $ac_executable_extensions; do
8075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8076 ac_cv_prog_ncurses5_config="yes"
8077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8086 ncurses5_config=$ac_cv_prog_ncurses5_config
8087 if test -n "$ncurses5_config"; then
8088 { echo "$as_me:$LINENO: result: $ncurses5_config" >&5
8089 echo "${ECHO_T}$ncurses5_config" >&6; }
8091 { echo "$as_me:$LINENO: result: no" >&5
8092 echo "${ECHO_T}no" >&6; }
8096 if test "$ncurses5_config" = "yes"; then
8097 CURSESINC="<ncurses.h>"
8098 CURSESLIB=`ncurses5-config --libs`
8099 CURSESLIBDIR=`ncurses5-config --libdir`
8100 CURSES_CFLAGS=`ncurses5-config --cflags`
8103 { echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
8104 echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; }
8105 if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
8106 echo $ECHO_N "(cached) $ECHO_C" >&6
8108 ac_check_lib_save_LIBS=$LIBS
8109 LIBS="-lncurses $LIBS"
8110 cat >conftest.$ac_ext <<_ACEOF
8113 cat confdefs.h >>conftest.$ac_ext
8114 cat >>conftest.$ac_ext <<_ACEOF
8115 /* end confdefs.h. */
8117 /* Override any GCC internal prototype to avoid an error.
8118 Use char because int might match the return type of a GCC
8119 builtin and then its argument prototype would still apply. */
8132 rm -f conftest.$ac_objext conftest$ac_exeext
8133 if { (ac_try="$ac_link"
8135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8136 *) ac_try_echo=$ac_try;;
8138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8139 (eval "$ac_link") 2>conftest.er1
8141 grep -v '^ *+' conftest.er1 >conftest.err
8143 cat conftest.err >&5
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); } &&
8146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8147 { (case "(($ac_try" in
8148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8149 *) ac_try_echo=$ac_try;;
8151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8152 (eval "$ac_try") 2>&5
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); }; } &&
8156 { ac_try='test -s conftest$ac_exeext'
8157 { (case "(($ac_try" in
8158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8159 *) ac_try_echo=$ac_try;;
8161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8162 (eval "$ac_try") 2>&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); }; }; then
8166 ac_cv_lib_ncurses_initscr=yes
8168 echo "$as_me: failed program was:" >&5
8169 sed 's/^/| /' conftest.$ac_ext >&5
8171 ac_cv_lib_ncurses_initscr=no
8174 rm -f core conftest.err conftest.$ac_objext \
8175 conftest$ac_exeext conftest.$ac_ext
8176 LIBS=$ac_check_lib_save_LIBS
8178 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
8179 echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; }
8180 if test $ac_cv_lib_ncurses_initscr = yes; then
8181 CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; curseslib="ncurses"
8186 if test "$curseslib" = "curses" -o "$curseslib" = "auto"; then
8187 { echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
8188 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; }
8189 if test "${ac_cv_lib_curses_initscr+set}" = set; then
8190 echo $ECHO_N "(cached) $ECHO_C" >&6
8192 ac_check_lib_save_LIBS=$LIBS
8193 LIBS="-lcurses $LIBS"
8194 cat >conftest.$ac_ext <<_ACEOF
8197 cat confdefs.h >>conftest.$ac_ext
8198 cat >>conftest.$ac_ext <<_ACEOF
8199 /* end confdefs.h. */
8201 /* Override any GCC internal prototype to avoid an error.
8202 Use char because int might match the return type of a GCC
8203 builtin and then its argument prototype would still apply. */
8216 rm -f conftest.$ac_objext conftest$ac_exeext
8217 if { (ac_try="$ac_link"
8219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8220 *) ac_try_echo=$ac_try;;
8222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8223 (eval "$ac_link") 2>conftest.er1
8225 grep -v '^ *+' conftest.er1 >conftest.err
8227 cat conftest.err >&5
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 (exit $ac_status); } &&
8230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8231 { (case "(($ac_try" in
8232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8233 *) ac_try_echo=$ac_try;;
8235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8236 (eval "$ac_try") 2>&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); }; } &&
8240 { ac_try='test -s conftest$ac_exeext'
8241 { (case "(($ac_try" in
8242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8243 *) ac_try_echo=$ac_try;;
8245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8246 (eval "$ac_try") 2>&5
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); }; }; then
8250 ac_cv_lib_curses_initscr=yes
8252 echo "$as_me: failed program was:" >&5
8253 sed 's/^/| /' conftest.$ac_ext >&5
8255 ac_cv_lib_curses_initscr=no
8258 rm -f core conftest.err conftest.$ac_objext \
8259 conftest$ac_exeext conftest.$ac_ext
8260 LIBS=$ac_check_lib_save_LIBS
8262 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
8263 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; }
8264 if test $ac_cv_lib_curses_initscr = yes; then
8265 CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; curseslib="curses"
8269 if test -z "$CURSESINC"; then
8270 { { echo "$as_me:$LINENO: error: this packages requires a curses library" >&5
8271 echo "$as_me: error: this packages requires a curses library" >&2;}
8272 { (exit 1); exit 1; }; }
8275 { echo "$as_me:$LINENO: checking for curses library" >&5
8276 echo $ECHO_N "checking for curses library... $ECHO_C" >&6; }
8277 { echo "$as_me:$LINENO: result: $curseslib" >&5
8278 echo "${ECHO_T}$curseslib" >&6; }
8279 { echo "$as_me:$LINENO: checking for curses header name" >&5
8280 echo $ECHO_N "checking for curses header name... $ECHO_C" >&6; }
8281 { echo "$as_me:$LINENO: result: $CURSESINC" >&5
8282 echo "${ECHO_T}$CURSESINC" >&6; }
8283 { echo "$as_me:$LINENO: checking for curses compiler flags" >&5
8284 echo $ECHO_N "checking for curses compiler flags... $ECHO_C" >&6; }
8285 { echo "$as_me:$LINENO: result: $CURSES_CFLAGS" >&5
8286 echo "${ECHO_T}$CURSES_CFLAGS" >&6; }
8288 if test -n "$CURSESLIBDIR"; then
8289 if test "-L$CURSESLIBDIR " = "$(echo $CURSESLIB | cut -c-$((${#CURSESLIBDIR}+3)) )"; then
8290 CURSESLIB="$(echo $CURSESLIB | cut -c$((${#CURSESLIBDIR}+4))-)"
8294 saved_CFLAGS="$CFLAGS"
8295 saved_LDFLAGS="$LDFLAGS"
8297 CFLAGS="$CFLAGS $CURSES_CFLAGS"
8298 if test -n "$CURSESLIBDIR"; then
8299 LDFLAGS="$LDFLAGS -L$CURSESLIBDIR"
8301 LIBS="$CURSESLIB $LIBS"
8303 cat >conftest.$ac_ext <<_ACEOF
8306 cat confdefs.h >>conftest.$ac_ext
8307 cat >>conftest.$ac_ext <<_ACEOF
8308 /* end confdefs.h. */
8318 rm -f conftest.$ac_objext conftest$ac_exeext
8319 if { (ac_try="$ac_link"
8321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8322 *) ac_try_echo=$ac_try;;
8324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8325 (eval "$ac_link") 2>conftest.er1
8327 grep -v '^ *+' conftest.er1 >conftest.err
8329 cat conftest.err >&5
8330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8331 (exit $ac_status); } &&
8332 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8333 { (case "(($ac_try" in
8334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8335 *) ac_try_echo=$ac_try;;
8337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8338 (eval "$ac_try") 2>&5
8340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8341 (exit $ac_status); }; } &&
8342 { ac_try='test -s conftest$ac_exeext'
8343 { (case "(($ac_try" in
8344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8345 *) ac_try_echo=$ac_try;;
8347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8348 (eval "$ac_try") 2>&5
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 (exit $ac_status); }; }; then
8352 HAVE_CURSES_ESCDELAY="yes"
8354 echo "$as_me: failed program was:" >&5
8355 sed 's/^/| /' conftest.$ac_ext >&5
8360 rm -f core conftest.err conftest.$ac_objext \
8361 conftest$ac_exeext conftest.$ac_ext
8362 if test "$HAVE_CURSES_ESCDELAY" = "yes"; then
8364 cat >>confdefs.h <<\_ACEOF
8365 #define HAVE_CURSES_ESCDELAY 1
8370 if test "$USE_NLS" = "yes"; then
8371 { echo "$as_me:$LINENO: checking for curses NLS support" >&5
8372 echo $ECHO_N "checking for curses NLS support... $ECHO_C" >&6; }
8373 if test "$curseslib" = "curses"; then
8374 cat >conftest.$ac_ext <<_ACEOF
8377 cat confdefs.h >>conftest.$ac_ext
8378 cat >>conftest.$ac_ext <<_ACEOF
8379 /* end confdefs.h. */
8381 #define _XOPEN_SOURCE 1
8382 #define _XOPEN_SOURCE_EXTENDED 1
8390 setcchar(&wc, L"x", A_NORMAL, 0, 0);
8396 rm -f conftest.$ac_objext conftest$ac_exeext
8397 if { (ac_try="$ac_link"
8399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8400 *) ac_try_echo=$ac_try;;
8402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8403 (eval "$ac_link") 2>conftest.er1
8405 grep -v '^ *+' conftest.er1 >conftest.err
8407 cat conftest.err >&5
8408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409 (exit $ac_status); } &&
8410 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8411 { (case "(($ac_try" in
8412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8413 *) ac_try_echo=$ac_try;;
8415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8416 (eval "$ac_try") 2>&5
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); }; } &&
8420 { ac_try='test -s conftest$ac_exeext'
8421 { (case "(($ac_try" in
8422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8423 *) ac_try_echo=$ac_try;;
8425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8426 (eval "$ac_try") 2>&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); }; }; then
8432 echo "$as_me: failed program was:" >&5
8433 sed 's/^/| /' conftest.$ac_ext >&5
8438 rm -f core conftest.err conftest.$ac_objext \
8439 conftest$ac_exeext conftest.$ac_ext
8441 { echo "$as_me:$LINENO: result: $CURSES_NLS" >&5
8442 echo "${ECHO_T}$CURSES_NLS" >&6; }
8443 if test "$CURSES_NLS" = "yes"; then
8445 cat >>confdefs.h <<\_ACEOF
8446 #define ENABLE_NLS_IN_CURSES 1
8452 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8462 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8463 inttypes.h stdint.h unistd.h
8465 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8466 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8469 echo $ECHO_N "(cached) $ECHO_C" >&6
8471 cat >conftest.$ac_ext <<_ACEOF
8474 cat confdefs.h >>conftest.$ac_ext
8475 cat >>conftest.$ac_ext <<_ACEOF
8476 /* end confdefs.h. */
8477 $ac_includes_default
8479 #include <$ac_header>
8481 rm -f conftest.$ac_objext
8482 if { (ac_try="$ac_compile"
8484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8485 *) ac_try_echo=$ac_try;;
8487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8488 (eval "$ac_compile") 2>conftest.er1
8490 grep -v '^ *+' conftest.er1 >conftest.err
8492 cat conftest.err >&5
8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); } &&
8495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8496 { (case "(($ac_try" in
8497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8498 *) ac_try_echo=$ac_try;;
8500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8501 (eval "$ac_try") 2>&5
8503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8504 (exit $ac_status); }; } &&
8505 { ac_try='test -s conftest.$ac_objext'
8506 { (case "(($ac_try" in
8507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8508 *) ac_try_echo=$ac_try;;
8510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8511 (eval "$ac_try") 2>&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 (exit $ac_status); }; }; then
8515 eval "$as_ac_Header=yes"
8517 echo "$as_me: failed program was:" >&5
8518 sed 's/^/| /' conftest.$ac_ext >&5
8520 eval "$as_ac_Header=no"
8523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8525 ac_res=`eval echo '${'$as_ac_Header'}'`
8526 { echo "$as_me:$LINENO: result: $ac_res" >&5
8527 echo "${ECHO_T}$ac_res" >&6; }
8528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8529 cat >>confdefs.h <<_ACEOF
8530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8541 for ac_header in panel.h menu.h form.h
8543 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8545 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8547 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8548 echo $ECHO_N "(cached) $ECHO_C" >&6
8550 ac_res=`eval echo '${'$as_ac_Header'}'`
8551 { echo "$as_me:$LINENO: result: $ac_res" >&5
8552 echo "${ECHO_T}$ac_res" >&6; }
8554 # Is the header compilable?
8555 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8556 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8557 cat >conftest.$ac_ext <<_ACEOF
8560 cat confdefs.h >>conftest.$ac_ext
8561 cat >>conftest.$ac_ext <<_ACEOF
8562 /* end confdefs.h. */
8563 $ac_includes_default
8564 #include <$ac_header>
8566 rm -f conftest.$ac_objext
8567 if { (ac_try="$ac_compile"
8569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8570 *) ac_try_echo=$ac_try;;
8572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8573 (eval "$ac_compile") 2>conftest.er1
8575 grep -v '^ *+' conftest.er1 >conftest.err
8577 cat conftest.err >&5
8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579 (exit $ac_status); } &&
8580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8581 { (case "(($ac_try" in
8582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8583 *) ac_try_echo=$ac_try;;
8585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8586 (eval "$ac_try") 2>&5
8588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8589 (exit $ac_status); }; } &&
8590 { ac_try='test -s conftest.$ac_objext'
8591 { (case "(($ac_try" in
8592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8593 *) ac_try_echo=$ac_try;;
8595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8596 (eval "$ac_try") 2>&5
8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 (exit $ac_status); }; }; then
8600 ac_header_compiler=yes
8602 echo "$as_me: failed program was:" >&5
8603 sed 's/^/| /' conftest.$ac_ext >&5
8605 ac_header_compiler=no
8608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8609 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8610 echo "${ECHO_T}$ac_header_compiler" >&6; }
8612 # Is the header present?
8613 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8615 cat >conftest.$ac_ext <<_ACEOF
8618 cat confdefs.h >>conftest.$ac_ext
8619 cat >>conftest.$ac_ext <<_ACEOF
8620 /* end confdefs.h. */
8621 #include <$ac_header>
8623 if { (ac_try="$ac_cpp conftest.$ac_ext"
8625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8626 *) ac_try_echo=$ac_try;;
8628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8631 grep -v '^ *+' conftest.er1 >conftest.err
8633 cat conftest.err >&5
8634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8635 (exit $ac_status); } >/dev/null; then
8636 if test -s conftest.err; then
8637 ac_cpp_err=$ac_c_preproc_warn_flag
8638 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8645 if test -z "$ac_cpp_err"; then
8646 ac_header_preproc=yes
8648 echo "$as_me: failed program was:" >&5
8649 sed 's/^/| /' conftest.$ac_ext >&5
8651 ac_header_preproc=no
8654 rm -f conftest.err conftest.$ac_ext
8655 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8656 echo "${ECHO_T}$ac_header_preproc" >&6; }
8658 # So? What about this header?
8659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8661 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8662 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8664 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8665 ac_header_preproc=yes
8668 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8669 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8670 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8671 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8672 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8673 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8674 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8675 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8677 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8678 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8679 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8683 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8685 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8686 echo $ECHO_N "(cached) $ECHO_C" >&6
8688 eval "$as_ac_Header=\$ac_header_preproc"
8690 ac_res=`eval echo '${'$as_ac_Header'}'`
8691 { echo "$as_me:$LINENO: result: $ac_res" >&5
8692 echo "${ECHO_T}$ac_res" >&6; }
8695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8696 cat >>confdefs.h <<_ACEOF
8697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8701 { { echo "$as_me:$LINENO: error: required curses helper header not found" >&5
8702 echo "$as_me: error: required curses helper header not found" >&2;}
8703 { (exit 1); exit 1; }; }
8708 as_ac_Lib=`echo "ac_cv_lib_panel$NCURSESLIBSUFFIX''_new_panel" | $as_tr_sh`
8709 { echo "$as_me:$LINENO: checking for new_panel in -lpanel$NCURSESLIBSUFFIX" >&5
8710 echo $ECHO_N "checking for new_panel in -lpanel$NCURSESLIBSUFFIX... $ECHO_C" >&6; }
8711 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
8712 echo $ECHO_N "(cached) $ECHO_C" >&6
8714 ac_check_lib_save_LIBS=$LIBS
8715 LIBS="-lpanel$NCURSESLIBSUFFIX $LIBS"
8716 cat >conftest.$ac_ext <<_ACEOF
8719 cat confdefs.h >>conftest.$ac_ext
8720 cat >>conftest.$ac_ext <<_ACEOF
8721 /* end confdefs.h. */
8723 /* Override any GCC internal prototype to avoid an error.
8724 Use char because int might match the return type of a GCC
8725 builtin and then its argument prototype would still apply. */
8733 return new_panel ();
8738 rm -f conftest.$ac_objext conftest$ac_exeext
8739 if { (ac_try="$ac_link"
8741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8742 *) ac_try_echo=$ac_try;;
8744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8745 (eval "$ac_link") 2>conftest.er1
8747 grep -v '^ *+' conftest.er1 >conftest.err
8749 cat conftest.err >&5
8750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8751 (exit $ac_status); } &&
8752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8753 { (case "(($ac_try" in
8754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8755 *) ac_try_echo=$ac_try;;
8757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8758 (eval "$ac_try") 2>&5
8760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761 (exit $ac_status); }; } &&
8762 { ac_try='test -s conftest$ac_exeext'
8763 { (case "(($ac_try" in
8764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8765 *) ac_try_echo=$ac_try;;
8767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8768 (eval "$ac_try") 2>&5
8770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771 (exit $ac_status); }; }; then
8772 eval "$as_ac_Lib=yes"
8774 echo "$as_me: failed program was:" >&5
8775 sed 's/^/| /' conftest.$ac_ext >&5
8777 eval "$as_ac_Lib=no"
8780 rm -f core conftest.err conftest.$ac_objext \
8781 conftest$ac_exeext conftest.$ac_ext
8782 LIBS=$ac_check_lib_save_LIBS
8784 ac_res=`eval echo '${'$as_ac_Lib'}'`
8785 { echo "$as_me:$LINENO: result: $ac_res" >&5
8786 echo "${ECHO_T}$ac_res" >&6; }
8787 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
8788 CURSESLIB="-lpanel$NCURSESLIBSUFFIX $CURSESLIB"
8790 { { echo "$as_me:$LINENO: error: panel$NCURSESLIBSUFFIX library not found" >&5
8791 echo "$as_me: error: panel$NCURSESLIBSUFFIX library not found" >&2;}
8792 { (exit 1); exit 1; }; }
8795 as_ac_Lib=`echo "ac_cv_lib_menu$NCURSESLIBSUFFIX''_new_menu" | $as_tr_sh`
8796 { echo "$as_me:$LINENO: checking for new_menu in -lmenu$NCURSESLIBSUFFIX" >&5
8797 echo $ECHO_N "checking for new_menu in -lmenu$NCURSESLIBSUFFIX... $ECHO_C" >&6; }
8798 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
8799 echo $ECHO_N "(cached) $ECHO_C" >&6
8801 ac_check_lib_save_LIBS=$LIBS
8802 LIBS="-lmenu$NCURSESLIBSUFFIX $LIBS"
8803 cat >conftest.$ac_ext <<_ACEOF
8806 cat confdefs.h >>conftest.$ac_ext
8807 cat >>conftest.$ac_ext <<_ACEOF
8808 /* end confdefs.h. */
8810 /* Override any GCC internal prototype to avoid an error.
8811 Use char because int might match the return type of a GCC
8812 builtin and then its argument prototype would still apply. */
8825 rm -f conftest.$ac_objext conftest$ac_exeext
8826 if { (ac_try="$ac_link"
8828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8829 *) ac_try_echo=$ac_try;;
8831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8832 (eval "$ac_link") 2>conftest.er1
8834 grep -v '^ *+' conftest.er1 >conftest.err
8836 cat conftest.err >&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 (exit $ac_status); } &&
8839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8840 { (case "(($ac_try" in
8841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8842 *) ac_try_echo=$ac_try;;
8844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8845 (eval "$ac_try") 2>&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); }; } &&
8849 { ac_try='test -s conftest$ac_exeext'
8850 { (case "(($ac_try" in
8851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8852 *) ac_try_echo=$ac_try;;
8854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8855 (eval "$ac_try") 2>&5
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); }; }; then
8859 eval "$as_ac_Lib=yes"
8861 echo "$as_me: failed program was:" >&5
8862 sed 's/^/| /' conftest.$ac_ext >&5
8864 eval "$as_ac_Lib=no"
8867 rm -f core conftest.err conftest.$ac_objext \
8868 conftest$ac_exeext conftest.$ac_ext
8869 LIBS=$ac_check_lib_save_LIBS
8871 ac_res=`eval echo '${'$as_ac_Lib'}'`
8872 { echo "$as_me:$LINENO: result: $ac_res" >&5
8873 echo "${ECHO_T}$ac_res" >&6; }
8874 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
8875 CURSESLIB="-lmenu$NCURSESLIBSUFFIX $CURSESLIB"
8877 { { echo "$as_me:$LINENO: error: menu$NCURSESLIBSUFFIX library not found" >&5
8878 echo "$as_me: error: menu$NCURSESLIBSUFFIX library not found" >&2;}
8879 { (exit 1); exit 1; }; }
8882 as_ac_Lib=`echo "ac_cv_lib_form$NCURSESLIBSUFFIX''_new_form" | $as_tr_sh`
8883 { echo "$as_me:$LINENO: checking for new_form in -lform$NCURSESLIBSUFFIX" >&5
8884 echo $ECHO_N "checking for new_form in -lform$NCURSESLIBSUFFIX... $ECHO_C" >&6; }
8885 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
8886 echo $ECHO_N "(cached) $ECHO_C" >&6
8888 ac_check_lib_save_LIBS=$LIBS
8889 LIBS="-lform$NCURSESLIBSUFFIX $LIBS"
8890 cat >conftest.$ac_ext <<_ACEOF
8893 cat confdefs.h >>conftest.$ac_ext
8894 cat >>conftest.$ac_ext <<_ACEOF
8895 /* end confdefs.h. */
8897 /* Override any GCC internal prototype to avoid an error.
8898 Use char because int might match the return type of a GCC
8899 builtin and then its argument prototype would still apply. */
8912 rm -f conftest.$ac_objext conftest$ac_exeext
8913 if { (ac_try="$ac_link"
8915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8916 *) ac_try_echo=$ac_try;;
8918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8919 (eval "$ac_link") 2>conftest.er1
8921 grep -v '^ *+' conftest.er1 >conftest.err
8923 cat conftest.err >&5
8924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 (exit $ac_status); } &&
8926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8927 { (case "(($ac_try" in
8928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8929 *) ac_try_echo=$ac_try;;
8931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8932 (eval "$ac_try") 2>&5
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 (exit $ac_status); }; } &&
8936 { ac_try='test -s conftest$ac_exeext'
8937 { (case "(($ac_try" in
8938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8939 *) ac_try_echo=$ac_try;;
8941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8942 (eval "$ac_try") 2>&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); }; }; then
8946 eval "$as_ac_Lib=yes"
8948 echo "$as_me: failed program was:" >&5
8949 sed 's/^/| /' conftest.$ac_ext >&5
8951 eval "$as_ac_Lib=no"
8954 rm -f core conftest.err conftest.$ac_objext \
8955 conftest$ac_exeext conftest.$ac_ext
8956 LIBS=$ac_check_lib_save_LIBS
8958 ac_res=`eval echo '${'$as_ac_Lib'}'`
8959 { echo "$as_me:$LINENO: result: $ac_res" >&5
8960 echo "${ECHO_T}$ac_res" >&6; }
8961 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
8962 CURSESLIB="-lform$NCURSESLIBSUFFIX $CURSESLIB"
8964 { { echo "$as_me:$LINENO: error: form$NCURSESLIBSUFFIX library not found" >&5
8965 echo "$as_me: error: form$NCURSESLIBSUFFIX library not found" >&2;}
8966 { (exit 1); exit 1; }; }
8970 CFLAGS="$saved_CFLAGS"
8971 LDFLAGS="$saved_LDFLAGS"
8974 if test -n "$CURSESLIBDIR"; then
8975 CURSESLIB="-L$CURSESLIBDIR $CURSESLIB"
8978 { echo "$as_me:$LINENO: checking for curses linker flags" >&5
8979 echo $ECHO_N "checking for curses linker flags... $ECHO_C" >&6; }
8980 { echo "$as_me:$LINENO: result: $CURSESLIB" >&5
8981 echo "${ECHO_T}$CURSESLIB" >&6; }
8988 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8993 *) dir="$prefix/share"
8996 soundsdir="$dir/sounds/alsa"
8998 cat >>confdefs.h <<_ACEOF
8999 #define SOUNDSDIR "$soundsdir"
9003 mydatadir="$dir/alsa"
9005 cat >>confdefs.h <<_ACEOF
9006 #define DATADIR "$mydatadir"
9011 # Check whether --with-testsound was given.
9012 if test "${with_testsound+set}" = set; then
9013 withval=$with_testsound; TESTSOUND="$withval"
9015 TESTSOUND="$dir/test.wav"
9020 ac_config_headers="$ac_config_headers include/aconfig.h"
9023 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9024 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
9025 if test "${ac_cv_c_const+set}" = set; then
9026 echo $ECHO_N "(cached) $ECHO_C" >&6
9028 cat >conftest.$ac_ext <<_ACEOF
9031 cat confdefs.h >>conftest.$ac_ext
9032 cat >>conftest.$ac_ext <<_ACEOF
9033 /* end confdefs.h. */
9038 /* FIXME: Include the comments suggested by Paul. */
9040 /* Ultrix mips cc rejects this. */
9041 typedef int charset[2];
9043 /* SunOS 4.1.1 cc rejects this. */
9044 char const *const *ccp;
9046 /* NEC SVR4.0.2 mips cc rejects this. */
9047 struct point {int x, y;};
9048 static struct point const zero = {0,0};
9049 /* AIX XL C 1.02.0.0 rejects this.
9050 It does not let you subtract one const X* pointer from another in
9051 an arm of an if-expression whose if-part is not a constant
9053 const char *g = "string";
9054 ccp = &g + (g ? g-g : 0);
9055 /* HPUX 7.0 cc rejects these. */
9058 ccp = (char const *const *) p;
9059 { /* SCO 3.2v4 cc rejects this. */
9061 char const *s = 0 ? (char *) 0 : (char const *) 0;
9066 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9068 const int *foo = &x[0];
9071 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9072 typedef const int *iptr;
9076 { /* AIX XL C 1.02.0.0 rejects this saying
9077 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9078 struct s { int j; const int *ap[3]; };
9079 struct s *b; b->j = 5;
9081 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9085 return !x[0] && !zero.x;
9092 rm -f conftest.$ac_objext
9093 if { (ac_try="$ac_compile"
9095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9096 *) ac_try_echo=$ac_try;;
9098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9099 (eval "$ac_compile") 2>conftest.er1
9101 grep -v '^ *+' conftest.er1 >conftest.err
9103 cat conftest.err >&5
9104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9105 (exit $ac_status); } &&
9106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9107 { (case "(($ac_try" in
9108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9109 *) ac_try_echo=$ac_try;;
9111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9112 (eval "$ac_try") 2>&5
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9115 (exit $ac_status); }; } &&
9116 { ac_try='test -s conftest.$ac_objext'
9117 { (case "(($ac_try" in
9118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9119 *) ac_try_echo=$ac_try;;
9121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9122 (eval "$ac_try") 2>&5
9124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); }; }; then
9128 echo "$as_me: failed program was:" >&5
9129 sed 's/^/| /' conftest.$ac_ext >&5
9134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9136 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9137 echo "${ECHO_T}$ac_cv_c_const" >&6; }
9138 if test $ac_cv_c_const = no; then
9140 cat >>confdefs.h <<\_ACEOF
9146 { echo "$as_me:$LINENO: checking for inline" >&5
9147 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
9148 if test "${ac_cv_c_inline+set}" = set; then
9149 echo $ECHO_N "(cached) $ECHO_C" >&6
9152 for ac_kw in inline __inline__ __inline; do
9153 cat >conftest.$ac_ext <<_ACEOF
9156 cat confdefs.h >>conftest.$ac_ext
9157 cat >>conftest.$ac_ext <<_ACEOF
9158 /* end confdefs.h. */
9161 static $ac_kw foo_t static_foo () {return 0; }
9162 $ac_kw foo_t foo () {return 0; }
9166 rm -f conftest.$ac_objext
9167 if { (ac_try="$ac_compile"
9169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9170 *) ac_try_echo=$ac_try;;
9172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9173 (eval "$ac_compile") 2>conftest.er1
9175 grep -v '^ *+' conftest.er1 >conftest.err
9177 cat conftest.err >&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 (exit $ac_status); } &&
9180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9181 { (case "(($ac_try" in
9182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9183 *) ac_try_echo=$ac_try;;
9185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9186 (eval "$ac_try") 2>&5
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); }; } &&
9190 { ac_try='test -s conftest.$ac_objext'
9191 { (case "(($ac_try" in
9192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9193 *) ac_try_echo=$ac_try;;
9195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9196 (eval "$ac_try") 2>&5
9198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199 (exit $ac_status); }; }; then
9200 ac_cv_c_inline=$ac_kw
9202 echo "$as_me: failed program was:" >&5
9203 sed 's/^/| /' conftest.$ac_ext >&5
9208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9209 test "$ac_cv_c_inline" != no && break
9213 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
9214 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
9217 case $ac_cv_c_inline in
9220 case $ac_cv_c_inline in
9222 *) ac_val=$ac_cv_c_inline;;
9224 cat >>confdefs.h <<_ACEOF
9226 #define inline $ac_val
9232 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9233 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
9234 if test "${ac_cv_header_time+set}" = set; then
9235 echo $ECHO_N "(cached) $ECHO_C" >&6
9237 cat >conftest.$ac_ext <<_ACEOF
9240 cat confdefs.h >>conftest.$ac_ext
9241 cat >>conftest.$ac_ext <<_ACEOF
9242 /* end confdefs.h. */
9243 #include <sys/types.h>
9244 #include <sys/time.h>
9250 if ((struct tm *) 0)
9256 rm -f conftest.$ac_objext
9257 if { (ac_try="$ac_compile"
9259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9260 *) ac_try_echo=$ac_try;;
9262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9263 (eval "$ac_compile") 2>conftest.er1
9265 grep -v '^ *+' conftest.er1 >conftest.err
9267 cat conftest.err >&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 (exit $ac_status); } &&
9270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9271 { (case "(($ac_try" in
9272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9273 *) ac_try_echo=$ac_try;;
9275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9276 (eval "$ac_try") 2>&5
9278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9279 (exit $ac_status); }; } &&
9280 { ac_try='test -s conftest.$ac_objext'
9281 { (case "(($ac_try" in
9282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9283 *) ac_try_echo=$ac_try;;
9285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9286 (eval "$ac_try") 2>&5
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 (exit $ac_status); }; }; then
9290 ac_cv_header_time=yes
9292 echo "$as_me: failed program was:" >&5
9293 sed 's/^/| /' conftest.$ac_ext >&5
9295 ac_cv_header_time=no
9298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9300 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9301 echo "${ECHO_T}$ac_cv_header_time" >&6; }
9302 if test $ac_cv_header_time = yes; then
9304 cat >>confdefs.h <<\_ACEOF
9305 #define TIME_WITH_SYS_TIME 1
9311 if test $ac_cv_c_compiler_gnu = yes; then
9312 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
9313 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
9314 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
9315 echo $ECHO_N "(cached) $ECHO_C" >&6
9317 ac_pattern="Autoconf.*'x'"
9318 cat >conftest.$ac_ext <<_ACEOF
9321 cat confdefs.h >>conftest.$ac_ext
9322 cat >>conftest.$ac_ext <<_ACEOF
9323 /* end confdefs.h. */
9327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9328 $EGREP "$ac_pattern" >/dev/null 2>&1; then
9329 ac_cv_prog_gcc_traditional=yes
9331 ac_cv_prog_gcc_traditional=no
9336 if test $ac_cv_prog_gcc_traditional = no; then
9337 cat >conftest.$ac_ext <<_ACEOF
9340 cat confdefs.h >>conftest.$ac_ext
9341 cat >>conftest.$ac_ext <<_ACEOF
9342 /* end confdefs.h. */
9346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9347 $EGREP "$ac_pattern" >/dev/null 2>&1; then
9348 ac_cv_prog_gcc_traditional=yes
9354 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
9355 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
9356 if test $ac_cv_prog_gcc_traditional = yes; then
9357 CC="$CC -traditional"
9362 # Check whether --enable-largefile was given.
9363 if test "${enable_largefile+set}" = set; then
9364 enableval=$enable_largefile;
9367 if test "$enable_largefile" != no; then
9369 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
9370 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
9371 if test "${ac_cv_sys_largefile_CC+set}" = set; then
9372 echo $ECHO_N "(cached) $ECHO_C" >&6
9374 ac_cv_sys_largefile_CC=no
9375 if test "$GCC" != yes; then
9378 # IRIX 6.2 and later do not support large files by default,
9379 # so use the C compiler's -n32 option if that helps.
9380 cat >conftest.$ac_ext <<_ACEOF
9383 cat confdefs.h >>conftest.$ac_ext
9384 cat >>conftest.$ac_ext <<_ACEOF
9385 /* end confdefs.h. */
9386 #include <sys/types.h>
9387 /* Check that off_t can represent 2**63 - 1 correctly.
9388 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9389 since some C++ compilers masquerading as C compilers
9390 incorrectly reject 9223372036854775807. */
9391 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9392 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9393 && LARGE_OFF_T % 2147483647 == 1)
9403 rm -f conftest.$ac_objext
9404 if { (ac_try="$ac_compile"
9406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9407 *) ac_try_echo=$ac_try;;
9409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9410 (eval "$ac_compile") 2>conftest.er1
9412 grep -v '^ *+' conftest.er1 >conftest.err
9414 cat conftest.err >&5
9415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9416 (exit $ac_status); } &&
9417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9418 { (case "(($ac_try" in
9419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9420 *) ac_try_echo=$ac_try;;
9422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9423 (eval "$ac_try") 2>&5
9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426 (exit $ac_status); }; } &&
9427 { ac_try='test -s conftest.$ac_objext'
9428 { (case "(($ac_try" in
9429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9430 *) ac_try_echo=$ac_try;;
9432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9433 (eval "$ac_try") 2>&5
9435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436 (exit $ac_status); }; }; then
9439 echo "$as_me: failed program was:" >&5
9440 sed 's/^/| /' conftest.$ac_ext >&5
9445 rm -f core conftest.err conftest.$ac_objext
9447 rm -f conftest.$ac_objext
9448 if { (ac_try="$ac_compile"
9450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9451 *) ac_try_echo=$ac_try;;
9453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9454 (eval "$ac_compile") 2>conftest.er1
9456 grep -v '^ *+' conftest.er1 >conftest.err
9458 cat conftest.err >&5
9459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460 (exit $ac_status); } &&
9461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9462 { (case "(($ac_try" in
9463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9464 *) ac_try_echo=$ac_try;;
9466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9467 (eval "$ac_try") 2>&5
9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 (exit $ac_status); }; } &&
9471 { ac_try='test -s conftest.$ac_objext'
9472 { (case "(($ac_try" in
9473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9474 *) ac_try_echo=$ac_try;;
9476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9477 (eval "$ac_try") 2>&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); }; }; then
9481 ac_cv_sys_largefile_CC=' -n32'; break
9483 echo "$as_me: failed program was:" >&5
9484 sed 's/^/| /' conftest.$ac_ext >&5
9489 rm -f core conftest.err conftest.$ac_objext
9493 rm -f conftest.$ac_ext
9496 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
9497 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
9498 if test "$ac_cv_sys_largefile_CC" != no; then
9499 CC=$CC$ac_cv_sys_largefile_CC
9502 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
9503 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
9504 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
9505 echo $ECHO_N "(cached) $ECHO_C" >&6
9508 ac_cv_sys_file_offset_bits=no
9509 cat >conftest.$ac_ext <<_ACEOF
9512 cat confdefs.h >>conftest.$ac_ext
9513 cat >>conftest.$ac_ext <<_ACEOF
9514 /* end confdefs.h. */
9515 #include <sys/types.h>
9516 /* Check that off_t can represent 2**63 - 1 correctly.
9517 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9518 since some C++ compilers masquerading as C compilers
9519 incorrectly reject 9223372036854775807. */
9520 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9521 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9522 && LARGE_OFF_T % 2147483647 == 1)
9532 rm -f conftest.$ac_objext
9533 if { (ac_try="$ac_compile"
9535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9536 *) ac_try_echo=$ac_try;;
9538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9539 (eval "$ac_compile") 2>conftest.er1
9541 grep -v '^ *+' conftest.er1 >conftest.err
9543 cat conftest.err >&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); } &&
9546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9547 { (case "(($ac_try" in
9548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9549 *) ac_try_echo=$ac_try;;
9551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9552 (eval "$ac_try") 2>&5
9554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9555 (exit $ac_status); }; } &&
9556 { ac_try='test -s conftest.$ac_objext'
9557 { (case "(($ac_try" in
9558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9559 *) ac_try_echo=$ac_try;;
9561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9562 (eval "$ac_try") 2>&5
9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565 (exit $ac_status); }; }; then
9568 echo "$as_me: failed program was:" >&5
9569 sed 's/^/| /' conftest.$ac_ext >&5
9574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9575 cat >conftest.$ac_ext <<_ACEOF
9578 cat confdefs.h >>conftest.$ac_ext
9579 cat >>conftest.$ac_ext <<_ACEOF
9580 /* end confdefs.h. */
9581 #define _FILE_OFFSET_BITS 64
9582 #include <sys/types.h>
9583 /* Check that off_t can represent 2**63 - 1 correctly.
9584 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9585 since some C++ compilers masquerading as C compilers
9586 incorrectly reject 9223372036854775807. */
9587 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9588 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9589 && LARGE_OFF_T % 2147483647 == 1)
9599 rm -f conftest.$ac_objext
9600 if { (ac_try="$ac_compile"
9602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9603 *) ac_try_echo=$ac_try;;
9605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9606 (eval "$ac_compile") 2>conftest.er1
9608 grep -v '^ *+' conftest.er1 >conftest.err
9610 cat conftest.err >&5
9611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 (exit $ac_status); } &&
9613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9614 { (case "(($ac_try" in
9615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9616 *) ac_try_echo=$ac_try;;
9618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9619 (eval "$ac_try") 2>&5
9621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622 (exit $ac_status); }; } &&
9623 { ac_try='test -s conftest.$ac_objext'
9624 { (case "(($ac_try" in
9625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9626 *) ac_try_echo=$ac_try;;
9628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9629 (eval "$ac_try") 2>&5
9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632 (exit $ac_status); }; }; then
9633 ac_cv_sys_file_offset_bits=64; break
9635 echo "$as_me: failed program was:" >&5
9636 sed 's/^/| /' conftest.$ac_ext >&5
9641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9645 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
9646 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
9647 if test "$ac_cv_sys_file_offset_bits" != no; then
9649 cat >>confdefs.h <<_ACEOF
9650 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
9655 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
9656 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
9657 if test "${ac_cv_sys_large_files+set}" = set; then
9658 echo $ECHO_N "(cached) $ECHO_C" >&6
9661 ac_cv_sys_large_files=no
9662 cat >conftest.$ac_ext <<_ACEOF
9665 cat confdefs.h >>conftest.$ac_ext
9666 cat >>conftest.$ac_ext <<_ACEOF
9667 /* end confdefs.h. */
9668 #include <sys/types.h>
9669 /* Check that off_t can represent 2**63 - 1 correctly.
9670 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9671 since some C++ compilers masquerading as C compilers
9672 incorrectly reject 9223372036854775807. */
9673 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9674 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9675 && LARGE_OFF_T % 2147483647 == 1)
9685 rm -f conftest.$ac_objext
9686 if { (ac_try="$ac_compile"
9688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9689 *) ac_try_echo=$ac_try;;
9691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9692 (eval "$ac_compile") 2>conftest.er1
9694 grep -v '^ *+' conftest.er1 >conftest.err
9696 cat conftest.err >&5
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); } &&
9699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9700 { (case "(($ac_try" in
9701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9702 *) ac_try_echo=$ac_try;;
9704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9705 (eval "$ac_try") 2>&5
9707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708 (exit $ac_status); }; } &&
9709 { ac_try='test -s conftest.$ac_objext'
9710 { (case "(($ac_try" in
9711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9712 *) ac_try_echo=$ac_try;;
9714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9715 (eval "$ac_try") 2>&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); }; }; then
9721 echo "$as_me: failed program was:" >&5
9722 sed 's/^/| /' conftest.$ac_ext >&5
9727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9728 cat >conftest.$ac_ext <<_ACEOF
9731 cat confdefs.h >>conftest.$ac_ext
9732 cat >>conftest.$ac_ext <<_ACEOF
9733 /* end confdefs.h. */
9734 #define _LARGE_FILES 1
9735 #include <sys/types.h>
9736 /* Check that off_t can represent 2**63 - 1 correctly.
9737 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9738 since some C++ compilers masquerading as C compilers
9739 incorrectly reject 9223372036854775807. */
9740 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9741 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9742 && LARGE_OFF_T % 2147483647 == 1)
9752 rm -f conftest.$ac_objext
9753 if { (ac_try="$ac_compile"
9755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9756 *) ac_try_echo=$ac_try;;
9758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9759 (eval "$ac_compile") 2>conftest.er1
9761 grep -v '^ *+' conftest.er1 >conftest.err
9763 cat conftest.err >&5
9764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9765 (exit $ac_status); } &&
9766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9767 { (case "(($ac_try" in
9768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9769 *) ac_try_echo=$ac_try;;
9771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9772 (eval "$ac_try") 2>&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); }; } &&
9776 { ac_try='test -s conftest.$ac_objext'
9777 { (case "(($ac_try" in
9778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9779 *) ac_try_echo=$ac_try;;
9781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9782 (eval "$ac_try") 2>&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); }; }; then
9786 ac_cv_sys_large_files=1; break
9788 echo "$as_me: failed program was:" >&5
9789 sed 's/^/| /' conftest.$ac_ext >&5
9794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9798 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
9799 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
9800 if test "$ac_cv_sys_large_files" != no; then
9802 cat >>confdefs.h <<_ACEOF
9803 #define _LARGE_FILES $ac_cv_sys_large_files
9812 SND_UTIL_VERSION=$VERSION
9813 echo $VERSION > $srcdir/version
9815 cat >>confdefs.h <<_ACEOF
9816 #define VERSION "$SND_UTIL_VERSION"
9820 SND_UTIL_MAJOR=`echo $VERSION | cut -d . -f 1`
9822 SND_UTIL_MINOR=`echo $VERSION | cut -d . -f 2`
9824 SND_UTIL_SUBMINOR=`echo $VERSION | cut -d . -f 3 | sed -e 's/pre[0-9]*//g'`
9830 ac_config_files="$ac_config_files Makefile alsactl/Makefile alsactl/init/Makefile alsamixer/Makefile amidi/Makefile amixer/Makefile m4/Makefile po/Makefile.in alsaconf/alsaconf alsaconf/Makefile alsaconf/po/Makefile aplay/Makefile include/Makefile iecset/Makefile utils/Makefile utils/alsa-utils.spec seq/Makefile seq/aconnect/Makefile seq/aplaymidi/Makefile seq/aseqdump/Makefile seq/aseqnet/Makefile speaker-test/Makefile speaker-test/samples/Makefile"
9832 cat >confcache <<\_ACEOF
9833 # This file is a shell script that caches the results of configure
9834 # tests run on this system so they can be shared between configure
9835 # scripts and configure runs, see configure's option --config-cache.
9836 # It is not useful on other systems. If it contains results you don't
9837 # want to keep, you may remove or edit it.
9839 # config.status only pays attention to the cache file if you give it
9840 # the --recheck option to rerun configure.
9842 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9843 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9848 # The following way of writing the cache mishandles newlines in values,
9849 # but we know of no workaround that is simple, portable, and efficient.
9850 # So, we kill variables containing newlines.
9851 # Ultrix sh set writes to stderr and can't be redirected directly,
9852 # and sets the high bit in the cache file unless we assign to the vars.
9854 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9855 eval ac_val=\$$ac_var
9859 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9860 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9863 _ | IFS | as_nl) ;; #(
9864 *) $as_unset $ac_var ;;
9870 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9871 *${as_nl}ac_space=\ *)
9872 # `set' does not quote correctly, so add quotes (double-quote
9873 # substitution turns \\\\ into \\, and sed turns \\ into \).
9876 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9879 # `set' quotes correctly as required by POSIX, so do not add quotes.
9880 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9889 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9891 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9893 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9894 if test -w "$cache_file"; then
9895 test "x$cache_file" != "x/dev/null" &&
9896 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9897 echo "$as_me: updating cache $cache_file" >&6;}
9898 cat confcache >$cache_file
9900 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9901 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9906 test "x$prefix" = xNONE && prefix=$ac_default_prefix
9907 # Let make expand exec_prefix.
9908 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9910 DEFS=-DHAVE_CONFIG_H
9914 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9915 # 1. Remove the extension, and $U if already installed.
9916 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9917 ac_i=`echo "$ac_i" | sed "$ac_script"`
9918 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9919 # will be set to the directory where LIBOBJS objects are built.
9920 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9921 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9925 LTLIBOBJS=$ac_ltlibobjs
9928 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9929 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9930 Usually this means the macro was only invoked conditionally." >&5
9931 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9932 Usually this means the macro was only invoked conditionally." >&2;}
9933 { (exit 1); exit 1; }; }
9935 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9936 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9937 Usually this means the macro was only invoked conditionally." >&5
9938 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9939 Usually this means the macro was only invoked conditionally." >&2;}
9940 { (exit 1); exit 1; }; }
9942 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9943 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9944 Usually this means the macro was only invoked conditionally." >&5
9945 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9946 Usually this means the macro was only invoked conditionally." >&2;}
9947 { (exit 1); exit 1; }; }
9949 if test -z "${HAVE_PCM_TRUE}" && test -z "${HAVE_PCM_FALSE}"; then
9950 { { echo "$as_me:$LINENO: error: conditional \"HAVE_PCM\" was never defined.
9951 Usually this means the macro was only invoked conditionally." >&5
9952 echo "$as_me: error: conditional \"HAVE_PCM\" was never defined.
9953 Usually this means the macro was only invoked conditionally." >&2;}
9954 { (exit 1); exit 1; }; }
9956 if test -z "${HAVE_MIXER_TRUE}" && test -z "${HAVE_MIXER_FALSE}"; then
9957 { { echo "$as_me:$LINENO: error: conditional \"HAVE_MIXER\" was never defined.
9958 Usually this means the macro was only invoked conditionally." >&5
9959 echo "$as_me: error: conditional \"HAVE_MIXER\" was never defined.
9960 Usually this means the macro was only invoked conditionally." >&2;}
9961 { (exit 1); exit 1; }; }
9963 if test -z "${HAVE_RAWMIDI_TRUE}" && test -z "${HAVE_RAWMIDI_FALSE}"; then
9964 { { echo "$as_me:$LINENO: error: conditional \"HAVE_RAWMIDI\" was never defined.
9965 Usually this means the macro was only invoked conditionally." >&5
9966 echo "$as_me: error: conditional \"HAVE_RAWMIDI\" was never defined.
9967 Usually this means the macro was only invoked conditionally." >&2;}
9968 { (exit 1); exit 1; }; }
9970 if test -z "${HAVE_SEQ_TRUE}" && test -z "${HAVE_SEQ_FALSE}"; then
9971 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SEQ\" was never defined.
9972 Usually this means the macro was only invoked conditionally." >&5
9973 echo "$as_me: error: conditional \"HAVE_SEQ\" was never defined.
9974 Usually this means the macro was only invoked conditionally." >&2;}
9975 { (exit 1); exit 1; }; }
9977 if test -z "${ALSAMIXER_TRUE}" && test -z "${ALSAMIXER_FALSE}"; then
9978 { { echo "$as_me:$LINENO: error: conditional \"ALSAMIXER\" was never defined.
9979 Usually this means the macro was only invoked conditionally." >&5
9980 echo "$as_me: error: conditional \"ALSAMIXER\" was never defined.
9981 Usually this means the macro was only invoked conditionally." >&2;}
9982 { (exit 1); exit 1; }; }
9984 if test -z "${ALSACONF_TRUE}" && test -z "${ALSACONF_FALSE}"; then
9985 { { echo "$as_me:$LINENO: error: conditional \"ALSACONF\" was never defined.
9986 Usually this means the macro was only invoked conditionally." >&5
9987 echo "$as_me: error: conditional \"ALSACONF\" was never defined.
9988 Usually this means the macro was only invoked conditionally." >&2;}
9989 { (exit 1); exit 1; }; }
9991 if test -z "${USE_XMLTO_TRUE}" && test -z "${USE_XMLTO_FALSE}"; then
9992 { { echo "$as_me:$LINENO: error: conditional \"USE_XMLTO\" was never defined.
9993 Usually this means the macro was only invoked conditionally." >&5
9994 echo "$as_me: error: conditional \"USE_XMLTO\" was never defined.
9995 Usually this means the macro was only invoked conditionally." >&2;}
9996 { (exit 1); exit 1; }; }
9999 : ${CONFIG_STATUS=./config.status}
10000 ac_clean_files_save=$ac_clean_files
10001 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10002 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10003 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10004 cat >$CONFIG_STATUS <<_ACEOF
10006 # Generated by $as_me.
10007 # Run this file to recreate the current configuration.
10008 # Compiler output produced by configure, useful for debugging
10009 # configure, is in config.log if it exists.
10012 ac_cs_recheck=false
10014 SHELL=\${CONFIG_SHELL-$SHELL}
10017 cat >>$CONFIG_STATUS <<\_ACEOF
10018 ## --------------------- ##
10019 ## M4sh Initialization. ##
10020 ## --------------------- ##
10022 # Be Bourne compatible
10023 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10026 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10027 # is contrary to our usage. Disable this feature.
10028 alias -g '${1+"$@"}'='"$@"'
10029 setopt NO_GLOB_SUBST
10031 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
10033 BIN_SH=xpg4; export BIN_SH # for Tru64
10034 DUALCASE=1; export DUALCASE # for MKS sh
10038 # Avoid depending upon Character Ranges.
10039 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10040 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10041 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10042 as_cr_digits='0123456789'
10043 as_cr_alnum=$as_cr_Letters$as_cr_digits
10045 # The user is always right.
10046 if test "${PATH_SEPARATOR+set}" != set; then
10047 echo "#! /bin/sh" >conf$$.sh
10048 echo "exit 0" >>conf$$.sh
10050 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10058 # Support unset when possible.
10059 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10067 # We need space, tab and new line, in precisely that order. Quoting is
10068 # there to prevent editors from complaining about space-tab.
10069 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10070 # splitting by setting IFS to empty value.)
10075 # Find who we are. Look in the path if we contain no directory separator.
10077 *[\\/]* ) as_myself=$0 ;;
10078 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10079 for as_dir in $PATH
10082 test -z "$as_dir" && as_dir=.
10083 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10089 # We did not find ourselves, most probably we were run as `sh COMMAND'
10090 # in which case we are not to be found in the path.
10091 if test "x$as_myself" = x; then
10094 if test ! -f "$as_myself"; then
10095 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10096 { (exit 1); exit 1; }
10099 # Work around bugs in pre-3.0 UWIN ksh.
10100 for as_var in ENV MAIL MAILPATH
10101 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10109 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10110 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10111 LC_TELEPHONE LC_TIME
10113 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10114 eval $as_var=C; export $as_var
10116 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10120 # Required to use basename.
10121 if expr a : '\(a\)' >/dev/null 2>&1 &&
10122 test "X`expr 00001 : '.*\(...\)'`" = X001; then
10128 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10129 as_basename=basename
10135 # Name of the executable.
10136 as_me=`$as_basename -- "$0" ||
10137 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10138 X"$0" : 'X\(//\)$' \| \
10139 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10141 sed '/^.*\/\([^/][^/]*\)\/*$/{
10160 as_lineno_1=$LINENO
10161 as_lineno_2=$LINENO
10162 test "x$as_lineno_1" != "x$as_lineno_2" &&
10163 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10165 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10166 # uniformly replaced by the line number. The first 'sed' inserts a
10167 # line-number line after each line using $LINENO; the second 'sed'
10168 # does the real work. The second script uses 'N' to pair each
10169 # line-number line with the line containing $LINENO, and appends
10170 # trailing '-' during substitution so that $LINENO is not a special
10171 # case at line end.
10172 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10173 # scripts with optimization help from Paolo Bonzini. Blame Lee
10174 # E. McMahon (1931-1989) for sed's syntax. :-)
10186 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10189 ' >$as_me.lineno &&
10190 chmod +x "$as_me.lineno" ||
10191 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10192 { (exit 1); exit 1; }; }
10194 # Don't try to exec as it changes $[0], causing all sort of problems
10195 # (the dirname of $[0] is not the place where we might find the
10196 # original and so on. Autoconf is especially sensitive to this).
10197 . "./$as_me.lineno"
10198 # Exit status is that of the last command.
10203 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10209 ECHO_C= ECHO_N= ECHO_T=
10210 case `echo -n x` in
10212 case `echo 'x\c'` in
10213 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10220 if expr a : '\(a\)' >/dev/null 2>&1 &&
10221 test "X`expr 00001 : '.*\(...\)'`" = X001; then
10227 rm -f conf$$ conf$$.exe conf$$.file
10228 if test -d conf$$.dir; then
10229 rm -f conf$$.dir/conf$$.file
10235 if ln -s conf$$.file conf$$ 2>/dev/null; then
10237 # ... but there are two gotchas:
10238 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10239 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10240 # In both cases, we have to default to `cp -p'.
10241 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10243 elif ln conf$$.file conf$$ 2>/dev/null; then
10248 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10249 rmdir conf$$.dir 2>/dev/null
10251 if mkdir -p . 2>/dev/null; then
10254 test -d ./-p && rmdir ./-p
10258 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
10259 # systems may use methods other than mode bits to determine executability.
10260 cat >conf$$.file <<_ASEOF
10264 chmod +x conf$$.file
10265 if test -x conf$$.file >/dev/null 2>&1; then
10266 as_executable_p="test -x"
10272 # Sed expression to map a string onto a valid CPP name.
10273 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10275 # Sed expression to map a string onto a valid variable name.
10276 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10281 # Save the log message, to keep $[0] and so on meaningful, and to
10282 # report actual input values of CONFIG_FILES etc. instead of their
10283 # values after options handling.
10285 This file was extended by $as_me, which was
10286 generated by GNU Autoconf 2.60. Invocation command line was
10288 CONFIG_FILES = $CONFIG_FILES
10289 CONFIG_HEADERS = $CONFIG_HEADERS
10290 CONFIG_LINKS = $CONFIG_LINKS
10291 CONFIG_COMMANDS = $CONFIG_COMMANDS
10294 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10299 cat >>$CONFIG_STATUS <<_ACEOF
10300 # Files that config.status was made for.
10301 config_files="$ac_config_files"
10302 config_headers="$ac_config_headers"
10303 config_commands="$ac_config_commands"
10307 cat >>$CONFIG_STATUS <<\_ACEOF
10309 \`$as_me' instantiates files from templates according to the
10310 current configuration.
10312 Usage: $0 [OPTIONS] [FILE]...
10314 -h, --help print this help, then exit
10315 -V, --version print version number, then exit
10316 -q, --quiet do not print progress messages
10317 -d, --debug don't remove temporary files
10318 --recheck update $as_me by reconfiguring in the same conditions
10319 --file=FILE[:TEMPLATE]
10320 instantiate the configuration file FILE
10321 --header=FILE[:TEMPLATE]
10322 instantiate the configuration header FILE
10324 Configuration files:
10327 Configuration headers:
10330 Configuration commands:
10333 Report bugs to <bug-autoconf@gnu.org>."
10336 cat >>$CONFIG_STATUS <<_ACEOF
10339 configured by $0, generated by GNU Autoconf 2.60,
10340 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10342 Copyright (C) 2006 Free Software Foundation, Inc.
10343 This config.status script is free software; the Free Software Foundation
10344 gives unlimited permission to copy, distribute and modify it."
10351 cat >>$CONFIG_STATUS <<\_ACEOF
10352 # If no file are specified by the user, then we need to provide default
10353 # value. By we need to know if files were specified by the user.
10359 ac_option=`expr "X$1" : 'X\([^=]*\)='`
10360 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10371 # Handling of the options.
10372 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10374 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10375 echo "$ac_cs_version"; exit ;;
10376 --debug | --debu | --deb | --de | --d | -d )
10378 --file | --fil | --fi | --f )
10380 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10381 ac_need_defaults=false;;
10382 --header | --heade | --head | --hea )
10384 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10385 ac_need_defaults=false;;
10387 # Conflict between --help and --header
10388 { echo "$as_me: error: ambiguous option: $1
10389 Try \`$0 --help' for more information." >&2
10390 { (exit 1); exit 1; }; };;
10391 --help | --hel | -h )
10392 echo "$ac_cs_usage"; exit ;;
10393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10394 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10397 # This is an error.
10398 -*) { echo "$as_me: error: unrecognized option: $1
10399 Try \`$0 --help' for more information." >&2
10400 { (exit 1); exit 1; }; } ;;
10402 *) ac_config_targets="$ac_config_targets $1"
10403 ac_need_defaults=false ;;
10409 ac_configure_extra_args=
10411 if $ac_cs_silent; then
10413 ac_configure_extra_args="$ac_configure_extra_args --silent"
10417 cat >>$CONFIG_STATUS <<_ACEOF
10418 if \$ac_cs_recheck; then
10419 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10420 CONFIG_SHELL=$SHELL
10421 export CONFIG_SHELL
10422 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10426 cat >>$CONFIG_STATUS <<\_ACEOF
10430 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10431 ## Running $as_me. ##
10437 cat >>$CONFIG_STATUS <<_ACEOF
10441 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
10442 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
10443 # from automake < 1.5.
10444 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
10445 # Capture the value of LINGUAS because we need it to compute CATALOGS.
10446 LINGUAS="${LINGUAS-%UNSET%}"
10448 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10452 cat >>$CONFIG_STATUS <<\_ACEOF
10454 # Handling of arguments.
10455 for ac_config_target in $ac_config_targets
10457 case $ac_config_target in
10458 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
10459 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10460 "include/aconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS include/aconfig.h" ;;
10461 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10462 "alsactl/Makefile") CONFIG_FILES="$CONFIG_FILES alsactl/Makefile" ;;
10463 "alsactl/init/Makefile") CONFIG_FILES="$CONFIG_FILES alsactl/init/Makefile" ;;
10464 "alsamixer/Makefile") CONFIG_FILES="$CONFIG_FILES alsamixer/Makefile" ;;
10465 "amidi/Makefile") CONFIG_FILES="$CONFIG_FILES amidi/Makefile" ;;
10466 "amixer/Makefile") CONFIG_FILES="$CONFIG_FILES amixer/Makefile" ;;
10467 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
10468 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
10469 "alsaconf/alsaconf") CONFIG_FILES="$CONFIG_FILES alsaconf/alsaconf" ;;
10470 "alsaconf/Makefile") CONFIG_FILES="$CONFIG_FILES alsaconf/Makefile" ;;
10471 "alsaconf/po/Makefile") CONFIG_FILES="$CONFIG_FILES alsaconf/po/Makefile" ;;
10472 "aplay/Makefile") CONFIG_FILES="$CONFIG_FILES aplay/Makefile" ;;
10473 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
10474 "iecset/Makefile") CONFIG_FILES="$CONFIG_FILES iecset/Makefile" ;;
10475 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
10476 "utils/alsa-utils.spec") CONFIG_FILES="$CONFIG_FILES utils/alsa-utils.spec" ;;
10477 "seq/Makefile") CONFIG_FILES="$CONFIG_FILES seq/Makefile" ;;
10478 "seq/aconnect/Makefile") CONFIG_FILES="$CONFIG_FILES seq/aconnect/Makefile" ;;
10479 "seq/aplaymidi/Makefile") CONFIG_FILES="$CONFIG_FILES seq/aplaymidi/Makefile" ;;
10480 "seq/aseqdump/Makefile") CONFIG_FILES="$CONFIG_FILES seq/aseqdump/Makefile" ;;
10481 "seq/aseqnet/Makefile") CONFIG_FILES="$CONFIG_FILES seq/aseqnet/Makefile" ;;
10482 "speaker-test/Makefile") CONFIG_FILES="$CONFIG_FILES speaker-test/Makefile" ;;
10483 "speaker-test/samples/Makefile") CONFIG_FILES="$CONFIG_FILES speaker-test/samples/Makefile" ;;
10485 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10486 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10487 { (exit 1); exit 1; }; };;
10492 # If the user did not use the arguments to specify the items to instantiate,
10493 # then the envvar interface is used. Set only those that are not.
10494 # We use the long form for the default assignment because of an extremely
10495 # bizarre bug on SunOS 4.1.3.
10496 if $ac_need_defaults; then
10497 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10498 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10499 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10502 # Have a temporary directory for convenience. Make it in the build tree
10503 # simply because there is no reason against having it here, and in addition,
10504 # creating and moving files from /tmp can sometimes cause problems.
10505 # Hook for its removal unless debugging.
10506 # Note that there is a small window in which the directory will not be cleaned:
10507 # after its creation but before its name has been assigned to `$tmp'.
10511 trap 'exit_status=$?
10512 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10514 trap '{ (exit 1); exit 1; }' 1 2 13 15
10516 # Create a (secure) tmp directory for tmp files.
10519 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10520 test -n "$tmp" && test -d "$tmp"
10523 tmp=./conf$$-$RANDOM
10524 (umask 077 && mkdir "$tmp")
10527 echo "$me: cannot create a temporary directory in ." >&2
10528 { (exit 1); exit 1; }
10532 # Set up the sed scripts for CONFIG_FILES section.
10535 # No need to generate the scripts if there are no CONFIG_FILES.
10536 # This happens for instance when ./config.status config.h
10537 if test -n "$CONFIG_FILES"; then
10544 for ac_last_try in false false false false false :; do
10545 cat >conf$$subs.sed <<_ACEOF
10546 SHELL!$SHELL$ac_delim
10547 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10548 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10549 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10550 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10551 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10552 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10553 exec_prefix!$exec_prefix$ac_delim
10554 prefix!$prefix$ac_delim
10555 program_transform_name!$program_transform_name$ac_delim
10556 bindir!$bindir$ac_delim
10557 sbindir!$sbindir$ac_delim
10558 libexecdir!$libexecdir$ac_delim
10559 datarootdir!$datarootdir$ac_delim
10560 datadir!$datadir$ac_delim
10561 sysconfdir!$sysconfdir$ac_delim
10562 sharedstatedir!$sharedstatedir$ac_delim
10563 localstatedir!$localstatedir$ac_delim
10564 includedir!$includedir$ac_delim
10565 oldincludedir!$oldincludedir$ac_delim
10566 docdir!$docdir$ac_delim
10567 infodir!$infodir$ac_delim
10568 htmldir!$htmldir$ac_delim
10569 dvidir!$dvidir$ac_delim
10570 pdfdir!$pdfdir$ac_delim
10571 psdir!$psdir$ac_delim
10572 libdir!$libdir$ac_delim
10573 localedir!$localedir$ac_delim
10574 mandir!$mandir$ac_delim
10575 DEFS!$DEFS$ac_delim
10576 ECHO_C!$ECHO_C$ac_delim
10577 ECHO_N!$ECHO_N$ac_delim
10578 ECHO_T!$ECHO_T$ac_delim
10579 LIBS!$LIBS$ac_delim
10580 build_alias!$build_alias$ac_delim
10581 host_alias!$host_alias$ac_delim
10582 target_alias!$target_alias$ac_delim
10583 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10584 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10585 INSTALL_DATA!$INSTALL_DATA$ac_delim
10586 CYGPATH_W!$CYGPATH_W$ac_delim
10587 PACKAGE!$PACKAGE$ac_delim
10588 VERSION!$VERSION$ac_delim
10589 ACLOCAL!$ACLOCAL$ac_delim
10590 AUTOCONF!$AUTOCONF$ac_delim
10591 AUTOMAKE!$AUTOMAKE$ac_delim
10592 AUTOHEADER!$AUTOHEADER$ac_delim
10593 MAKEINFO!$MAKEINFO$ac_delim
10594 install_sh!$install_sh$ac_delim
10595 STRIP!$STRIP$ac_delim
10596 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
10597 mkdir_p!$mkdir_p$ac_delim
10599 SET_MAKE!$SET_MAKE$ac_delim
10600 am__leading_dot!$am__leading_dot$ac_delim
10601 AMTAR!$AMTAR$ac_delim
10602 am__tar!$am__tar$ac_delim
10603 am__untar!$am__untar$ac_delim
10604 USE_NLS!$USE_NLS$ac_delim
10605 MSGFMT!$MSGFMT$ac_delim
10606 GMSGFMT!$GMSGFMT$ac_delim
10607 MSGFMT_015!$MSGFMT_015$ac_delim
10608 GMSGFMT_015!$GMSGFMT_015$ac_delim
10609 XGETTEXT!$XGETTEXT$ac_delim
10610 XGETTEXT_015!$XGETTEXT_015$ac_delim
10611 MSGMERGE!$MSGMERGE$ac_delim
10613 CFLAGS!$CFLAGS$ac_delim
10614 LDFLAGS!$LDFLAGS$ac_delim
10615 CPPFLAGS!$CPPFLAGS$ac_delim
10616 ac_ct_CC!$ac_ct_CC$ac_delim
10617 EXEEXT!$EXEEXT$ac_delim
10618 OBJEXT!$OBJEXT$ac_delim
10619 DEPDIR!$DEPDIR$ac_delim
10620 am__include!$am__include$ac_delim
10621 am__quote!$am__quote$ac_delim
10622 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
10623 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
10624 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
10625 CCDEPMODE!$CCDEPMODE$ac_delim
10626 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
10627 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
10628 build!$build$ac_delim
10629 build_cpu!$build_cpu$ac_delim
10630 build_vendor!$build_vendor$ac_delim
10631 build_os!$build_os$ac_delim
10632 host!$host$ac_delim
10633 host_cpu!$host_cpu$ac_delim
10634 host_vendor!$host_vendor$ac_delim
10635 host_os!$host_os$ac_delim
10636 INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
10637 LIBICONV!$LIBICONV$ac_delim
10638 LTLIBICONV!$LTLIBICONV$ac_delim
10639 INTLLIBS!$INTLLIBS$ac_delim
10640 LIBINTL!$LIBINTL$ac_delim
10641 LTLIBINTL!$LTLIBINTL$ac_delim
10642 POSUB!$POSUB$ac_delim
10645 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
10647 elif $ac_last_try; then
10648 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10649 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10650 { (exit 1); exit 1; }; }
10652 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10656 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10657 if test -n "$ac_eof"; then
10658 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10659 ac_eof=`expr $ac_eof + 1`
10662 cat >>$CONFIG_STATUS <<_ACEOF
10663 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10664 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10667 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10668 s/^/s,@/; s/!/@,|#_!!_#|/
10671 s/'"$ac_delim"'$/,g/; t
10673 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10674 ' >>$CONFIG_STATUS <conf$$subs.sed
10675 rm -f conf$$subs.sed
10676 cat >>$CONFIG_STATUS <<_ACEOF
10682 for ac_last_try in false false false false false :; do
10683 cat >conf$$subs.sed <<_ACEOF
10684 LN_S!$LN_S$ac_delim
10685 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
10686 ALSA_LIBS!$ALSA_LIBS$ac_delim
10687 HAVE_PCM_TRUE!$HAVE_PCM_TRUE$ac_delim
10688 HAVE_PCM_FALSE!$HAVE_PCM_FALSE$ac_delim
10689 HAVE_MIXER_TRUE!$HAVE_MIXER_TRUE$ac_delim
10690 HAVE_MIXER_FALSE!$HAVE_MIXER_FALSE$ac_delim
10691 HAVE_RAWMIDI_TRUE!$HAVE_RAWMIDI_TRUE$ac_delim
10692 HAVE_RAWMIDI_FALSE!$HAVE_RAWMIDI_FALSE$ac_delim
10693 HAVE_SEQ_TRUE!$HAVE_SEQ_TRUE$ac_delim
10694 HAVE_SEQ_FALSE!$HAVE_SEQ_FALSE$ac_delim
10695 ALSAMIXER_TRUE!$ALSAMIXER_TRUE$ac_delim
10696 ALSAMIXER_FALSE!$ALSAMIXER_FALSE$ac_delim
10697 ALSACONF_TRUE!$ALSACONF_TRUE$ac_delim
10698 ALSACONF_FALSE!$ALSACONF_FALSE$ac_delim
10699 xmlto!$xmlto$ac_delim
10700 USE_XMLTO_TRUE!$USE_XMLTO_TRUE$ac_delim
10701 USE_XMLTO_FALSE!$USE_XMLTO_FALSE$ac_delim
10703 GREP!$GREP$ac_delim
10704 EGREP!$EGREP$ac_delim
10705 ncursesw5_config!$ncursesw5_config$ac_delim
10706 ncurses5_config!$ncurses5_config$ac_delim
10707 CURSESINC!$CURSESINC$ac_delim
10708 CURSESLIB!$CURSESLIB$ac_delim
10709 CURSES_CFLAGS!$CURSES_CFLAGS$ac_delim
10710 TESTSOUND!$TESTSOUND$ac_delim
10711 SND_UTIL_VERSION!$SND_UTIL_VERSION$ac_delim
10712 SND_UTIL_MAJOR!$SND_UTIL_MAJOR$ac_delim
10713 SND_UTIL_MINOR!$SND_UTIL_MINOR$ac_delim
10714 SND_UTIL_SUBMINOR!$SND_UTIL_SUBMINOR$ac_delim
10715 LIBRT!$LIBRT$ac_delim
10716 LIBOBJS!$LIBOBJS$ac_delim
10717 LTLIBOBJS!$LTLIBOBJS$ac_delim
10720 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 34; then
10722 elif $ac_last_try; then
10723 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10724 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10725 { (exit 1); exit 1; }; }
10727 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10731 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10732 if test -n "$ac_eof"; then
10733 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10734 ac_eof=`expr $ac_eof + 1`
10737 cat >>$CONFIG_STATUS <<_ACEOF
10738 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
10739 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10742 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10743 s/^/s,@/; s/!/@,|#_!!_#|/
10746 s/'"$ac_delim"'$/,g/; t
10748 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10749 ' >>$CONFIG_STATUS <conf$$subs.sed
10750 rm -f conf$$subs.sed
10751 cat >>$CONFIG_STATUS <<_ACEOF
10758 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10759 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10760 # trailing colons and then remove the whole line if VPATH becomes empty
10761 # (actually we leave an empty line to preserve line numbers).
10762 if test "x$srcdir" = x.; then
10763 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10764 s/:*\$(srcdir):*/:/
10765 s/:*\${srcdir}:*/:/
10767 s/^\([^=]*=[ ]*\):*/\1/
10773 cat >>$CONFIG_STATUS <<\_ACEOF
10774 fi # test -n "$CONFIG_FILES"
10777 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
10780 :[FHLC]) ac_mode=$ac_tag; continue;;
10782 case $ac_mode$ac_tag in
10784 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10785 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10786 { (exit 1); exit 1; }; };;
10787 :[FH]-) ac_tag=-:-;;
10788 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10805 -) ac_f="$tmp/stdin";;
10806 *) # Look for the file first in the build tree, then in the source tree
10807 # (if the path is not absolute). The absolute path cannot be DOS-style,
10808 # because $ac_f cannot contain `:'.
10812 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10814 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10815 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10816 { (exit 1); exit 1; }; };;
10818 ac_file_inputs="$ac_file_inputs $ac_f"
10821 # Let's still pretend it is `configure' which instantiates (i.e., don't
10822 # use $as_me), people would be surprised to read:
10823 # /* config.h. Generated by config.status. */
10824 configure_input="Generated from "`IFS=:
10825 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10826 if test x"$ac_file" != x-; then
10827 configure_input="$ac_file. $configure_input"
10828 { echo "$as_me:$LINENO: creating $ac_file" >&5
10829 echo "$as_me: creating $ac_file" >&6;}
10833 *:-:* | *:-) cat >"$tmp/stdin";;
10838 ac_dir=`$as_dirname -- "$ac_file" ||
10839 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10840 X"$ac_file" : 'X\(//\)[^/]' \| \
10841 X"$ac_file" : 'X\(//\)$' \| \
10842 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10848 /^X\(\/\/\)[^/].*/{
10863 -*) as_dir=./$as_dir;;
10865 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10869 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10870 *) as_qdir=$as_dir;;
10872 as_dirs="'$as_qdir' $as_dirs"
10873 as_dir=`$as_dirname -- "$as_dir" ||
10874 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10875 X"$as_dir" : 'X\(//\)[^/]' \| \
10876 X"$as_dir" : 'X\(//\)$' \| \
10877 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10883 /^X\(\/\/\)[^/].*/{
10896 test -d "$as_dir" && break
10898 test -z "$as_dirs" || eval "mkdir $as_dirs"
10899 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10900 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10901 { (exit 1); exit 1; }; }; }
10905 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10907 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10908 # A ".." for each directory in $ac_dir_suffix.
10909 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10910 case $ac_top_builddir_sub in
10911 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10912 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10915 ac_abs_top_builddir=$ac_pwd
10916 ac_abs_builddir=$ac_pwd$ac_dir_suffix
10917 # for backward compatibility:
10918 ac_top_builddir=$ac_top_build_prefix
10921 .) # We are building in place.
10923 ac_top_srcdir=$ac_top_builddir_sub
10924 ac_abs_top_srcdir=$ac_pwd ;;
10925 [\\/]* | ?:[\\/]* ) # Absolute name.
10926 ac_srcdir=$srcdir$ac_dir_suffix;
10927 ac_top_srcdir=$srcdir
10928 ac_abs_top_srcdir=$srcdir ;;
10929 *) # Relative name.
10930 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10931 ac_top_srcdir=$ac_top_build_prefix$srcdir
10932 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10934 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10944 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10945 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10949 cat >>$CONFIG_STATUS <<\_ACEOF
10950 # If the template does not know about datarootdir, expand it.
10951 # FIXME: This hack should be removed a few years after 2.60.
10952 ac_datarootdir_hack=; ac_datarootdir_seen=
10954 case `sed -n '/datarootdir/ {
10963 ' $ac_file_inputs` in
10964 *datarootdir*) ac_datarootdir_seen=yes;;
10965 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10966 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10967 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10969 cat >>$CONFIG_STATUS <<_ACEOF
10970 ac_datarootdir_hack='
10971 s&@datadir@&$datadir&g
10972 s&@docdir@&$docdir&g
10973 s&@infodir@&$infodir&g
10974 s&@localedir@&$localedir&g
10975 s&@mandir@&$mandir&g
10976 s&\\\${datarootdir}&$datarootdir&g' ;;
10980 # Neutralize VPATH when `$srcdir' = `.'.
10981 # Shell code in configure.ac might set extrasub.
10982 # FIXME: do we really want to maintain this feature?
10983 cat >>$CONFIG_STATUS <<_ACEOF
10987 cat >>$CONFIG_STATUS <<\_ACEOF
10989 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10990 s&@configure_input@&$configure_input&;t t
10991 s&@top_builddir@&$ac_top_builddir_sub&;t t
10992 s&@srcdir@&$ac_srcdir&;t t
10993 s&@abs_srcdir@&$ac_abs_srcdir&;t t
10994 s&@top_srcdir@&$ac_top_srcdir&;t t
10995 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10996 s&@builddir@&$ac_builddir&;t t
10997 s&@abs_builddir@&$ac_abs_builddir&;t t
10998 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10999 s&@INSTALL@&$ac_INSTALL&;t t
11000 $ac_datarootdir_hack
11001 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
11003 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11004 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
11005 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
11006 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11007 which seems to be undefined. Please make sure it is defined." >&5
11008 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11009 which seems to be undefined. Please make sure it is defined." >&2;}
11013 -) cat "$tmp/out"; rm -f "$tmp/out";;
11014 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11023 # Transform confdefs.h into a sed script `conftest.defines', that
11024 # substitutes the proper values into config.h.in to produce config.h.
11025 rm -f conftest.defines conftest.tail
11026 # First, append a space to every undef/define line, to ease matching.
11027 echo 's/$/ /' >conftest.defines
11028 # Then, protect against being on the right side of a sed subst, or in
11029 # an unquoted here document, in config.status. If some macros were
11030 # called several times there might be several #defines for the same
11031 # symbol, which is useless. But do not sort them, since the last
11032 # AC_DEFINE must be honored.
11033 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11034 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11035 # NAME is the cpp macro being defined, VALUE is the value it is being given.
11036 # PARAMS is the parameter list in the macro definition--in most cases, it's
11037 # just an empty string.
11038 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
11039 ac_dB='\\)[ (].*,\\1define\\2'
11047 s/^[ ]*#[ ]*define[ ][ ]*//
11052 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11053 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11054 ' >>conftest.defines
11056 # Remove the space that was appended to ease matching.
11057 # Then replace #undef with comments. This is necessary, for
11058 # example, in the case of _POSIX_SOURCE, which is predefined and required
11059 # on some systems where configure will not decide to define it.
11060 # (The regexp can be short, since the line contains either #define or #undef.)
11062 s,^[ #]*u.*,/* & */,' >>conftest.defines
11064 # Break up conftest.defines:
11065 ac_max_sed_lines=50
11067 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11068 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11069 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11071 ac_in='$ac_file_inputs'
11072 ac_out='"$tmp/out1"'
11073 ac_nxt='"$tmp/out2"'
11077 # Write a here document:
11078 cat >>$CONFIG_STATUS <<_ACEOF
11079 # First, check the format of the line:
11080 cat >"\$tmp/defines.sed" <<\\CEOF
11081 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11082 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11086 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
11088 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11089 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
11090 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
11091 grep . conftest.tail >/dev/null || break
11092 rm -f conftest.defines
11093 mv conftest.tail conftest.defines
11095 rm -f conftest.defines conftest.tail
11097 echo "ac_result=$ac_in" >>$CONFIG_STATUS
11098 cat >>$CONFIG_STATUS <<\_ACEOF
11099 if test x"$ac_file" != x-; then
11100 echo "/* $configure_input */" >"$tmp/config.h"
11101 cat "$ac_result" >>"$tmp/config.h"
11102 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
11103 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11104 echo "$as_me: $ac_file is unchanged" >&6;}
11107 mv "$tmp/config.h" $ac_file
11110 echo "/* $configure_input */"
11114 # Compute $ac_file's index in $config_headers.
11116 for _am_header in $config_headers :; do
11117 case $_am_header in
11118 $ac_file | $ac_file:* )
11121 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
11124 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
11125 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11126 X$ac_file : 'X\(//\)[^/]' \| \
11127 X$ac_file : 'X\(//\)$' \| \
11128 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
11130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11134 /^X\(\/\/\)[^/].*/{
11146 s/.*/./; q'`/stamp-h$_am_stamp_count
11149 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
11150 echo "$as_me: executing $ac_file commands" >&6;}
11155 case $ac_file$ac_mode in
11156 "po-directories":C)
11157 for ac_file in $CONFIG_FILES; do
11158 # Support "outfile[:infile[:infile...]]"
11160 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
11162 # PO directories have a Makefile.in generated from Makefile.in.in.
11163 case "$ac_file" in */Makefile.in)
11164 # Adjust a relative srcdir.
11165 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
11166 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
11167 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
11168 # In autoconf-2.13 it is called $ac_given_srcdir.
11169 # In autoconf-2.50 it is called $srcdir.
11170 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
11171 case "$ac_given_srcdir" in
11172 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
11173 /*) top_srcdir="$ac_given_srcdir" ;;
11174 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
11176 # Treat a directory as a PO directory if and only if it has a
11177 # POTFILES.in file. This allows packages to have multiple PO
11178 # directories under different names or in different locations.
11179 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
11180 rm -f "$ac_dir/POTFILES"
11181 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
11182 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
11183 POMAKEFILEDEPS="POTFILES.in"
11184 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
11185 # on $ac_dir but don't depend on user-specified configuration
11187 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
11188 # The LINGUAS file contains the set of available languages.
11189 if test -n "$OBSOLETE_ALL_LINGUAS"; then
11190 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
11192 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
11193 # Hide the ALL_LINGUAS assigment from automake < 1.5.
11194 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
11195 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
11197 # The set of available languages was given in configure.in.
11198 # Hide the ALL_LINGUAS assigment from automake < 1.5.
11199 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
11202 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
11203 # Compute UPDATEPOFILES
11204 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
11205 # Compute DUMMYPOFILES
11206 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
11208 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
11209 case "$ac_given_srcdir" in
11211 *) srcdirpre='$(srcdir)/' ;;
11217 for lang in $ALL_LINGUAS; do
11218 POFILES="$POFILES $srcdirpre$lang.po"
11219 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
11220 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
11221 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
11223 # CATALOGS depends on both $ac_dir and the user's LINGUAS
11224 # environment variable.
11226 if test -n "$ALL_LINGUAS"; then
11227 for presentlang in $ALL_LINGUAS; do
11229 if test "%UNSET%" != "$LINGUAS"; then
11230 desiredlanguages="$LINGUAS"
11232 desiredlanguages="$ALL_LINGUAS"
11234 for desiredlang in $desiredlanguages; do
11235 # Use the presentlang catalog if desiredlang is
11236 # a. equal to presentlang, or
11237 # b. a variant of presentlang (because in this case,
11238 # presentlang can be used as a fallback for messages
11239 # which are not translated in the desiredlang catalog).
11240 case "$desiredlang" in
11241 "$presentlang"*) useit=yes;;
11244 if test $useit = yes; then
11245 INST_LINGUAS="$INST_LINGUAS $presentlang"
11250 if test -n "$INST_LINGUAS"; then
11251 for lang in $INST_LINGUAS; do
11252 CATALOGS="$CATALOGS $lang.gmo"
11255 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
11256 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
11257 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
11258 if test -f "$f"; then
11260 *.orig | *.bak | *~) ;;
11261 *) cat "$f" >> "$ac_dir/Makefile" ;;
11269 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
11270 # Strip MF so we end up with the name of the file.
11271 mf=`echo "$mf" | sed -e 's/:.*$//'`
11272 # Check whether this is an Automake generated Makefile or not.
11273 # We used to match only the files named `Makefile.in', but
11274 # some people rename them; so instead we look at the file content.
11275 # Grep'ing the first line is not enough: some people post-process
11276 # each Makefile.in and add a new line on top of each file to say so.
11277 # So let's grep whole file.
11278 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
11279 dirpart=`$as_dirname -- "$mf" ||
11280 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11281 X"$mf" : 'X\(//\)[^/]' \| \
11282 X"$mf" : 'X\(//\)$' \| \
11283 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11289 /^X\(\/\/\)[^/].*/{
11305 # Extract the definition of DEPDIR, am__include, and am__quote
11306 # from the Makefile without running `make'.
11307 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
11308 test -z "$DEPDIR" && continue
11309 am__include=`sed -n 's/^am__include = //p' < "$mf"`
11310 test -z "am__include" && continue
11311 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
11312 # When using ansi2knr, U may be empty or an underscore; expand it
11313 U=`sed -n 's/^U = //p' < "$mf"`
11314 # Find all dependency output files, they are included files with
11315 # $(DEPDIR) in their names. We invoke sed twice because it is the
11316 # simplest approach to changing $(DEPDIR) to its actual value in the
11318 for file in `sed -n "
11319 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11320 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11321 # Make sure the directory exists.
11322 test -f "$dirpart/$file" && continue
11323 fdir=`$as_dirname -- "$file" ||
11324 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11325 X"$file" : 'X\(//\)[^/]' \| \
11326 X"$file" : 'X\(//\)$' \| \
11327 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11329 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11333 /^X\(\/\/\)[^/].*/{
11346 { as_dir=$dirpart/$fdir
11348 -*) as_dir=./$as_dir;;
11350 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11354 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11355 *) as_qdir=$as_dir;;
11357 as_dirs="'$as_qdir' $as_dirs"
11358 as_dir=`$as_dirname -- "$as_dir" ||
11359 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11360 X"$as_dir" : 'X\(//\)[^/]' \| \
11361 X"$as_dir" : 'X\(//\)$' \| \
11362 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11368 /^X\(\/\/\)[^/].*/{
11381 test -d "$as_dir" && break
11383 test -z "$as_dirs" || eval "mkdir $as_dirs"
11384 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11385 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11386 { (exit 1); exit 1; }; }; }
11387 # echo "creating $dirpart/$file"
11388 echo '# dummy' > "$dirpart/$file"
11397 { (exit 0); exit 0; }
11399 chmod +x $CONFIG_STATUS
11400 ac_clean_files=$ac_clean_files_save
11403 # configure is writing to config.log, and then calls config.status.
11404 # config.status does its own redirection, appending to config.log.
11405 # Unfortunately, on DOS this fails, as config.log is still kept open
11406 # by configure, so config.status won't be able to write to it; its
11407 # output is simply discarded. So we exec the FD to /dev/null,
11408 # effectively closing config.log, so it can be properly (re)opened and
11409 # appended to by config.status. When coming back to configure, we
11410 # need to make the FD available again.
11411 if test "$no_create" != yes; then
11413 ac_config_status_args=
11414 test "$silent" = yes &&
11415 ac_config_status_args="$ac_config_status_args --quiet"
11417 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11419 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11420 # would make configure fail if this is the last instruction.
11421 $ac_cs_success || { (exit 1); exit 1; }