2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.22.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself=$0 ;;
71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir=.
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x; then
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C; export $as_var
109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a : '\(a\)' >/dev/null 2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
128 # Name of the executable.
129 as_me=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x; then
153 if (eval ":") 2>/dev/null; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev/null; then
219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
226 for as_base in sh bash ksh sh5; do
227 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
234 for as_shell in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev/null <<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249 BIN_SH=xpg4; export BIN_SH # for Tru64
250 DUALCASE=1; export DUALCASE # for MKS sh
255 CONFIG_SHELL=$as_shell
257 if { "$as_shell" 2> /dev/null <<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 BIN_SH=xpg4; export BIN_SH # for Tru64
270 DUALCASE=1; export DUALCASE # for MKS sh
282 as_func_ret_success () {
285 as_func_ret_failure () {
290 if as_func_success; then
294 echo as_func_success failed.
297 if as_func_failure; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure; then
311 echo as_func_ret_failure succeeded.
314 if ( set x; as_func_ret_success y && test x = "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) || { (exit 1); exit 1; }
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
338 if test "x$CONFIG_SHELL" != x; then
339 for as_var in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no; then
348 echo This script requires a shell more modern than all the
349 echo shells that I found on your system. Please install a
350 echo modern shell, or manually run the script under such a
351 echo shell if you do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
410 test \$exitcode = 0") || {
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system,
413 echo including any error possibly output before this
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x "$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
468 ECHO_C= ECHO_N= ECHO_T=
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 if expr a : '\(a\)' >/dev/null 2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
486 rm -f conf$$ conf$$.exe conf$$.file
487 if test -d conf$$.dir; then
488 rm -f conf$$.dir/conf$$.file
494 if ln -s conf$$.file conf$$ 2>/dev/null; then
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
502 elif ln conf$$.file conf$$ 2>/dev/null; then
507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508 rmdir conf$$.dir 2>/dev/null
510 if mkdir -p . 2>/dev/null; then
513 test -d ./-p && rmdir ./-p
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.file <<_ASEOF
524 if test -x conf$$.file >/dev/null 2>&1; then
525 as_executable_p="test -x"
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev/null 6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix=/usr/local
551 ac_config_libobj_dir=.
557 SHELL=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
561 PACKAGE_TARNAME='wine'
562 PACKAGE_VERSION='0.9.22'
563 PACKAGE_STRING='Wine 0.9.22'
564 PACKAGE_BUGREPORT='wine-devel@winehq.org'
566 ac_unique_file="server/atom.c"
567 # Factoring default headers for most tests.
568 ac_includes_default="\
571 # include <sys/types.h>
574 # include <sys/stat.h>
585 # if !STDC_HEADERS && HAVE_MEMORY_H
591 # include <strings.h>
594 # include <inttypes.h>
612 program_transform_name
763 ac_subst_files='MAKE_RULES
768 ac_precious_vars='build_alias
782 # Initialize some variables set by options.
784 ac_init_version=false
785 # The variables have the same names as the options, with
786 # dashes changed to underlines.
794 program_transform_name=s,x,x,
802 # Installation directory options.
803 # These are left unexpanded so users can "make install exec_prefix=/foo"
804 # and all the variables that are supposed to be based on exec_prefix
805 # by default will actually change.
806 # Use braces instead of parens because sh, perl, etc. also accept them.
807 # (The list follows the same order as the GNU Coding Standards.)
808 bindir='${exec_prefix}/bin'
809 sbindir='${exec_prefix}/sbin'
810 libexecdir='${exec_prefix}/libexec'
811 datarootdir='${prefix}/share'
812 datadir='${datarootdir}'
813 sysconfdir='${prefix}/etc'
814 sharedstatedir='${prefix}/com'
815 localstatedir='${prefix}/var'
816 includedir='${prefix}/include'
817 oldincludedir='/usr/include'
818 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
819 infodir='${datarootdir}/info'
824 libdir='${exec_prefix}/lib'
825 localedir='${datarootdir}/locale'
826 mandir='${datarootdir}/man'
832 # If the previous option needs an argument, assign it.
833 if test -n "$ac_prev"; then
834 eval $ac_prev=\$ac_option
840 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
844 # Accept the important Cygnus configure options, so we can diagnose typos.
846 case $ac_dashdash$ac_option in
850 -bindir | --bindir | --bindi | --bind | --bin | --bi)
852 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
855 -build | --build | --buil | --bui | --bu)
856 ac_prev=build_alias ;;
857 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
858 build_alias=$ac_optarg ;;
860 -cache-file | --cache-file | --cache-fil | --cache-fi \
861 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
862 ac_prev=cache_file ;;
863 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
864 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
865 cache_file=$ac_optarg ;;
868 cache_file=config.cache ;;
870 -datadir | --datadir | --datadi | --datad)
872 -datadir=* | --datadir=* | --datadi=* | --datad=*)
873 datadir=$ac_optarg ;;
875 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
876 | --dataroo | --dataro | --datar)
877 ac_prev=datarootdir ;;
878 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
879 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
880 datarootdir=$ac_optarg ;;
882 -disable-* | --disable-*)
883 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
886 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
887 { (exit 1); exit 1; }; }
888 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
889 eval enable_$ac_feature=no ;;
891 -docdir | --docdir | --docdi | --doc | --do)
893 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
896 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
898 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
901 -enable-* | --enable-*)
902 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
905 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
906 { (exit 1); exit 1; }; }
907 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
908 eval enable_$ac_feature=\$ac_optarg ;;
910 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
911 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
912 | --exec | --exe | --ex)
913 ac_prev=exec_prefix ;;
914 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
915 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
916 | --exec=* | --exe=* | --ex=*)
917 exec_prefix=$ac_optarg ;;
919 -gas | --gas | --ga | --g)
920 # Obsolete; use --with-gas.
923 -help | --help | --hel | --he | -h)
925 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
926 ac_init_help=recursive ;;
927 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
928 ac_init_help=short ;;
930 -host | --host | --hos | --ho)
931 ac_prev=host_alias ;;
932 -host=* | --host=* | --hos=* | --ho=*)
933 host_alias=$ac_optarg ;;
935 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
937 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
939 htmldir=$ac_optarg ;;
941 -includedir | --includedir | --includedi | --included | --include \
942 | --includ | --inclu | --incl | --inc)
943 ac_prev=includedir ;;
944 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
945 | --includ=* | --inclu=* | --incl=* | --inc=*)
946 includedir=$ac_optarg ;;
948 -infodir | --infodir | --infodi | --infod | --info | --inf)
950 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
951 infodir=$ac_optarg ;;
953 -libdir | --libdir | --libdi | --libd)
955 -libdir=* | --libdir=* | --libdi=* | --libd=*)
958 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
959 | --libexe | --libex | --libe)
960 ac_prev=libexecdir ;;
961 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
962 | --libexe=* | --libex=* | --libe=*)
963 libexecdir=$ac_optarg ;;
965 -localedir | --localedir | --localedi | --localed | --locale)
967 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
968 localedir=$ac_optarg ;;
970 -localstatedir | --localstatedir | --localstatedi | --localstated \
971 | --localstate | --localstat | --localsta | --localst | --locals)
972 ac_prev=localstatedir ;;
973 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
974 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
975 localstatedir=$ac_optarg ;;
977 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
979 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
983 # Obsolete; use --without-fp.
986 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
987 | --no-cr | --no-c | -n)
990 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
991 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
994 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
995 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
996 | --oldin | --oldi | --old | --ol | --o)
997 ac_prev=oldincludedir ;;
998 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
999 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1000 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1001 oldincludedir=$ac_optarg ;;
1003 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1005 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1006 prefix=$ac_optarg ;;
1008 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1009 | --program-pre | --program-pr | --program-p)
1010 ac_prev=program_prefix ;;
1011 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1012 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1013 program_prefix=$ac_optarg ;;
1015 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1016 | --program-suf | --program-su | --program-s)
1017 ac_prev=program_suffix ;;
1018 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1019 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1020 program_suffix=$ac_optarg ;;
1022 -program-transform-name | --program-transform-name \
1023 | --program-transform-nam | --program-transform-na \
1024 | --program-transform-n | --program-transform- \
1025 | --program-transform | --program-transfor \
1026 | --program-transfo | --program-transf \
1027 | --program-trans | --program-tran \
1028 | --progr-tra | --program-tr | --program-t)
1029 ac_prev=program_transform_name ;;
1030 -program-transform-name=* | --program-transform-name=* \
1031 | --program-transform-nam=* | --program-transform-na=* \
1032 | --program-transform-n=* | --program-transform-=* \
1033 | --program-transform=* | --program-transfor=* \
1034 | --program-transfo=* | --program-transf=* \
1035 | --program-trans=* | --program-tran=* \
1036 | --progr-tra=* | --program-tr=* | --program-t=*)
1037 program_transform_name=$ac_optarg ;;
1039 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1041 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1042 pdfdir=$ac_optarg ;;
1044 -psdir | --psdir | --psdi | --psd | --ps)
1046 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050 | -silent | --silent | --silen | --sile | --sil)
1053 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1055 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1057 sbindir=$ac_optarg ;;
1059 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1060 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1061 | --sharedst | --shareds | --shared | --share | --shar \
1063 ac_prev=sharedstatedir ;;
1064 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1065 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1066 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1068 sharedstatedir=$ac_optarg ;;
1070 -site | --site | --sit)
1072 -site=* | --site=* | --sit=*)
1075 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1077 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1078 srcdir=$ac_optarg ;;
1080 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1081 | --syscon | --sysco | --sysc | --sys | --sy)
1082 ac_prev=sysconfdir ;;
1083 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1084 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1085 sysconfdir=$ac_optarg ;;
1087 -target | --target | --targe | --targ | --tar | --ta | --t)
1088 ac_prev=target_alias ;;
1089 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1090 target_alias=$ac_optarg ;;
1092 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1095 -version | --version | --versio | --versi | --vers | -V)
1096 ac_init_version=: ;;
1099 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1102 { echo "$as_me: error: invalid package name: $ac_package" >&2
1103 { (exit 1); exit 1; }; }
1104 ac_package=`echo $ac_package| sed 's/-/_/g'`
1105 eval with_$ac_package=\$ac_optarg ;;
1107 -without-* | --without-*)
1108 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1111 { echo "$as_me: error: invalid package name: $ac_package" >&2
1112 { (exit 1); exit 1; }; }
1113 ac_package=`echo $ac_package | sed 's/-/_/g'`
1114 eval with_$ac_package=no ;;
1117 # Obsolete; use --with-x.
1120 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1121 | --x-incl | --x-inc | --x-in | --x-i)
1122 ac_prev=x_includes ;;
1123 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1124 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1125 x_includes=$ac_optarg ;;
1127 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1128 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1129 ac_prev=x_libraries ;;
1130 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1131 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1132 x_libraries=$ac_optarg ;;
1134 -*) { echo "$as_me: error: unrecognized option: $ac_option
1135 Try \`$0 --help' for more information." >&2
1136 { (exit 1); exit 1; }; }
1140 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1143 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1144 { (exit 1); exit 1; }; }
1145 eval $ac_envvar=\$ac_optarg
1146 export $ac_envvar ;;
1149 # FIXME: should be removed in autoconf 3.0.
1150 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1151 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1152 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1153 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1159 if test -n "$ac_prev"; then
1160 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1161 { echo "$as_me: error: missing argument to $ac_option" >&2
1162 { (exit 1); exit 1; }; }
1165 # Be sure to have absolute directory names.
1166 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1167 datadir sysconfdir sharedstatedir localstatedir includedir \
1168 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1169 libdir localedir mandir
1171 eval ac_val=\$$ac_var
1173 [\\/$]* | ?:[\\/]* ) continue;;
1174 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1176 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1177 { (exit 1); exit 1; }; }
1180 # There might be people who depend on the old broken behavior: `$host'
1181 # used to hold the argument of --host etc.
1182 # FIXME: To remove some day.
1185 target=$target_alias
1187 # FIXME: To remove some day.
1188 if test "x$host_alias" != x; then
1189 if test "x$build_alias" = x; then
1190 cross_compiling=maybe
1191 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1192 If a cross compiler is detected then cross compile mode will be used." >&2
1193 elif test "x$build_alias" != "x$host_alias"; then
1199 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1201 test "$silent" = yes && exec 6>/dev/null
1204 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1205 ac_ls_di=`ls -di .` &&
1206 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1207 { echo "$as_me: error: Working directory cannot be determined" >&2
1208 { (exit 1); exit 1; }; }
1209 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1210 { echo "$as_me: error: pwd does not report name of working directory" >&2
1211 { (exit 1); exit 1; }; }
1214 # Find the source files, if location was not specified.
1215 if test -z "$srcdir"; then
1216 ac_srcdir_defaulted=yes
1217 # Try the directory containing this script, then the parent directory.
1218 ac_confdir=`$as_dirname -- "$0" ||
1219 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1220 X"$0" : 'X\(//\)[^/]' \| \
1221 X"$0" : 'X\(//\)$' \| \
1222 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1242 if test ! -r "$srcdir/$ac_unique_file"; then
1246 ac_srcdir_defaulted=no
1248 if test ! -r "$srcdir/$ac_unique_file"; then
1249 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1250 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1251 { (exit 1); exit 1; }; }
1253 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1255 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1256 { (exit 1); exit 1; }; }
1258 # When building in place, set srcdir=.
1259 if test "$ac_abs_confdir" = "$ac_pwd"; then
1262 # Remove unnecessary trailing slashes from srcdir.
1263 # Double slashes in file names in object file debugging info
1264 # mess up M-x gdb in Emacs.
1266 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1268 for ac_var in $ac_precious_vars; do
1269 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1270 eval ac_env_${ac_var}_value=\$${ac_var}
1271 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1272 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1276 # Report the --help message.
1278 if test "$ac_init_help" = "long"; then
1279 # Omit some internal or obsolete options to make the list less imposing.
1280 # This message is too long to be a string in the A/UX 3.1 sh.
1282 \`configure' configures Wine 0.9.22 to adapt to many kinds of systems.
1284 Usage: $0 [OPTION]... [VAR=VALUE]...
1286 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1287 VAR=VALUE. See below for descriptions of some of the useful variables.
1289 Defaults for the options are specified in brackets.
1292 -h, --help display this help and exit
1293 --help=short display options specific to this package
1294 --help=recursive display the short help of all the included packages
1295 -V, --version display version information and exit
1296 -q, --quiet, --silent do not print \`checking...' messages
1297 --cache-file=FILE cache test results in FILE [disabled]
1298 -C, --config-cache alias for \`--cache-file=config.cache'
1299 -n, --no-create do not create output files
1300 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1302 Installation directories:
1303 --prefix=PREFIX install architecture-independent files in PREFIX
1304 [$ac_default_prefix]
1305 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1308 By default, \`make install' will install all the files in
1309 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1310 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1311 for instance \`--prefix=\$HOME'.
1313 For better control, use the options below.
1315 Fine tuning of the installation directories:
1316 --bindir=DIR user executables [EPREFIX/bin]
1317 --sbindir=DIR system admin executables [EPREFIX/sbin]
1318 --libexecdir=DIR program executables [EPREFIX/libexec]
1319 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1320 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1321 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1322 --libdir=DIR object code libraries [EPREFIX/lib]
1323 --includedir=DIR C header files [PREFIX/include]
1324 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1325 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1326 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1327 --infodir=DIR info documentation [DATAROOTDIR/info]
1328 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1329 --mandir=DIR man documentation [DATAROOTDIR/man]
1330 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1331 --htmldir=DIR html documentation [DOCDIR]
1332 --dvidir=DIR dvi documentation [DOCDIR]
1333 --pdfdir=DIR pdf documentation [DOCDIR]
1334 --psdir=DIR ps documentation [DOCDIR]
1340 --x-includes=DIR X include files are in DIR
1341 --x-libraries=DIR X library files are in DIR
1344 --build=BUILD configure for building on BUILD [guessed]
1345 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1349 if test -n "$ac_init_help"; then
1350 case $ac_init_help in
1351 short | recursive ) echo "Configuration of Wine 0.9.22:";;
1356 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1357 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1358 --disable-win16 do not include Win16 support
1359 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1363 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1364 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1365 --without-opengl do not use OpenGL
1366 --without-curses do not use curses
1367 --with-wine-tools=<dir> use Wine tools from directory <dir>
1368 --with-x use the X Window System
1370 Some influential environment variables:
1371 CC C compiler command
1372 CFLAGS C compiler flags
1373 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1374 nonstandard directory <lib dir>
1375 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1376 you have headers in a nonstandard directory <include dir>
1377 CXX C++ compiler command
1378 CXXFLAGS C++ compiler flags
1379 XMKMF Path to xmkmf, Makefile generator for X Window System
1382 Use these variables to override the choices made by `configure' or to help
1383 it to find libraries and programs with nonstandard names/locations.
1385 Report bugs to <wine-devel@winehq.org>.
1390 if test "$ac_init_help" = "recursive"; then
1391 # If there are subdirs, report their specific --help.
1392 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1393 test -d "$ac_dir" || continue
1397 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1399 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1400 # A ".." for each directory in $ac_dir_suffix.
1401 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1402 case $ac_top_builddir_sub in
1403 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1404 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1407 ac_abs_top_builddir=$ac_pwd
1408 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1409 # for backward compatibility:
1410 ac_top_builddir=$ac_top_build_prefix
1413 .) # We are building in place.
1415 ac_top_srcdir=$ac_top_builddir_sub
1416 ac_abs_top_srcdir=$ac_pwd ;;
1417 [\\/]* | ?:[\\/]* ) # Absolute name.
1418 ac_srcdir=$srcdir$ac_dir_suffix;
1419 ac_top_srcdir=$srcdir
1420 ac_abs_top_srcdir=$srcdir ;;
1422 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1423 ac_top_srcdir=$ac_top_build_prefix$srcdir
1424 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1426 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1428 cd "$ac_dir" || { ac_status=$?; continue; }
1429 # Check for guested configure.
1430 if test -f "$ac_srcdir/configure.gnu"; then
1432 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1433 elif test -f "$ac_srcdir/configure"; then
1435 $SHELL "$ac_srcdir/configure" --help=recursive
1437 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1439 cd "$ac_pwd" || { ac_status=$?; break; }
1443 test -n "$ac_init_help" && exit $ac_status
1444 if $ac_init_version; then
1446 Wine configure 0.9.22
1447 generated by GNU Autoconf 2.60a
1449 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1450 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1451 This configure script is free software; the Free Software Foundation
1452 gives unlimited permission to copy, distribute and modify it.
1456 cat >config.log <<_ACEOF
1457 This file contains any messages produced by compilers while
1458 running configure, to aid debugging if configure makes a mistake.
1460 It was created by Wine $as_me 0.9.22, which was
1461 generated by GNU Autoconf 2.60a. Invocation command line was
1473 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1474 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1475 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1476 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1477 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1479 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1480 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1482 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1483 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1484 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1485 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1486 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1487 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1488 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1496 test -z "$as_dir" && as_dir=.
1497 echo "PATH: $as_dir"
1513 # Keep a trace of the command line.
1514 # Strip out --no-create and --no-recursion so they do not pile up.
1515 # Strip out --silent because we don't want to record it for future runs.
1516 # Also quote any args containing shell meta-characters.
1517 # Make two passes to allow for proper duplicate-argument suppression.
1521 ac_must_keep_next=false
1527 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1528 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1529 | -silent | --silent | --silen | --sile | --sil)
1532 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1535 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1537 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1538 if test $ac_must_keep_next = true; then
1539 ac_must_keep_next=false # Got value, back to normal.
1542 *=* | --config-cache | -C | -disable-* | --disable-* \
1543 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1544 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1545 | -with-* | --with-* | -without-* | --without-* | --x)
1546 case "$ac_configure_args0 " in
1547 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1550 -* ) ac_must_keep_next=true ;;
1553 ac_configure_args="$ac_configure_args '$ac_arg'"
1558 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1559 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1561 # When interrupted or exit'd, cleanup temporary files, and complete
1562 # config.log. We remove comments because anyway the quotes in there
1563 # would cause problems or look ugly.
1564 # WARNING: Use '\'' to represent an apostrophe within the trap.
1565 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1566 trap 'exit_status=$?
1567 # Save into config.log some information that might help in debugging.
1572 ## ---------------- ##
1573 ## Cache variables. ##
1574 ## ---------------- ##
1577 # The following way of writing the cache mishandles newlines in values,
1579 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1580 eval ac_val=\$$ac_var
1584 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1585 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1588 _ | IFS | as_nl) ;; #(
1589 *) $as_unset $ac_var ;;
1594 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1595 *${as_nl}ac_space=\ *)
1597 "s/'\''/'\''\\\\'\'''\''/g;
1598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1601 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1609 ## ----------------- ##
1610 ## Output variables. ##
1611 ## ----------------- ##
1614 for ac_var in $ac_subst_vars
1616 eval ac_val=\$$ac_var
1618 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1620 echo "$ac_var='\''$ac_val'\''"
1624 if test -n "$ac_subst_files"; then
1626 ## ------------------- ##
1627 ## File substitutions. ##
1628 ## ------------------- ##
1631 for ac_var in $ac_subst_files
1633 eval ac_val=\$$ac_var
1635 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1637 echo "$ac_var='\''$ac_val'\''"
1642 if test -s confdefs.h; then
1652 test "$ac_signal" != 0 &&
1653 echo "$as_me: caught signal $ac_signal"
1654 echo "$as_me: exit $exit_status"
1656 rm -f core *.core core.conftest.* &&
1657 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1660 for ac_signal in 1 2 13 15; do
1661 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1665 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1666 rm -f -r conftest* confdefs.h
1668 # Predefined preprocessor variables.
1670 cat >>confdefs.h <<_ACEOF
1671 #define PACKAGE_NAME "$PACKAGE_NAME"
1675 cat >>confdefs.h <<_ACEOF
1676 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_STRING "$PACKAGE_STRING"
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1695 # Let the site file select an alternate cache file if it wants to.
1696 # Prefer explicitly selected file to automatically selected ones.
1697 if test -n "$CONFIG_SITE"; then
1698 set x "$CONFIG_SITE"
1699 elif test "x$prefix" != xNONE; then
1700 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1702 set x "$ac_default_prefix/share/config.site" \
1703 "$ac_default_prefix/etc/config.site"
1708 if test -r "$ac_site_file"; then
1709 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1710 echo "$as_me: loading site script $ac_site_file" >&6;}
1711 sed 's/^/| /' "$ac_site_file" >&5
1716 if test -r "$cache_file"; then
1717 # Some versions of bash will fail to source /dev/null (special
1718 # files actually), so we avoid doing that.
1719 if test -f "$cache_file"; then
1720 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1721 echo "$as_me: loading cache $cache_file" >&6;}
1723 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1724 *) . "./$cache_file";;
1728 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1729 echo "$as_me: creating cache $cache_file" >&6;}
1733 # Check that the precious variables saved in the cache have kept the same
1735 ac_cache_corrupted=false
1736 for ac_var in $ac_precious_vars; do
1737 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1738 eval ac_new_set=\$ac_env_${ac_var}_set
1739 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1740 eval ac_new_val=\$ac_env_${ac_var}_value
1741 case $ac_old_set,$ac_new_set in
1743 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1744 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1745 ac_cache_corrupted=: ;;
1747 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1748 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1749 ac_cache_corrupted=: ;;
1752 if test "x$ac_old_val" != "x$ac_new_val"; then
1753 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1754 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1755 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1756 echo "$as_me: former value: $ac_old_val" >&2;}
1757 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1758 echo "$as_me: current value: $ac_new_val" >&2;}
1759 ac_cache_corrupted=:
1762 # Pass precious variables to config.status.
1763 if test "$ac_new_set" = set; then
1765 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1766 *) ac_arg=$ac_var=$ac_new_val ;;
1768 case " $ac_configure_args " in
1769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1770 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1774 if $ac_cache_corrupted; then
1775 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1776 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1777 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1778 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1779 { (exit 1); exit 1; }; }
1807 ac_cpp='$CPP $CPPFLAGS'
1808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1814 ac_config_headers="$ac_config_headers include/config.h"
1817 for ac_dir in tools "$srcdir"/tools; do
1818 if test -f "$ac_dir/install-sh"; then
1820 ac_install_sh="$ac_aux_dir/install-sh -c"
1822 elif test -f "$ac_dir/install.sh"; then
1824 ac_install_sh="$ac_aux_dir/install.sh -c"
1826 elif test -f "$ac_dir/shtool"; then
1828 ac_install_sh="$ac_aux_dir/shtool install -c"
1832 if test -z "$ac_aux_dir"; then
1833 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1834 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1835 { (exit 1); exit 1; }; }
1838 # These three variables are undocumented and unsupported,
1839 # and are intended to be withdrawn in a future Autoconf release.
1840 # They can cause serious problems if a builder's source tree is in a directory
1841 # whose full name contains unusual characters.
1842 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1843 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1844 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1849 # Check whether --enable-win16 was given.
1850 if test "${enable_win16+set}" = set; then
1851 enableval=$enable_win16;
1854 # Check whether --enable-win64 was given.
1855 if test "${enable_win64+set}" = set; then
1856 enableval=$enable_win64;
1861 # Check whether --with-opengl was given.
1862 if test "${with_opengl+set}" = set; then
1863 withval=$with_opengl;
1867 # Check whether --with-curses was given.
1868 if test "${with_curses+set}" = set; then
1869 withval=$with_curses;
1873 # Check whether --with-wine-tools was given.
1874 if test "${with_wine_tools+set}" = set; then
1875 withval=$with_wine_tools;
1879 # Make sure we can run config.sub.
1880 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1881 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1882 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1883 { (exit 1); exit 1; }; }
1885 { echo "$as_me:$LINENO: checking build system type" >&5
1886 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1887 if test "${ac_cv_build+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 ac_build_alias=$build_alias
1891 test "x$ac_build_alias" = x &&
1892 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1893 test "x$ac_build_alias" = x &&
1894 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1895 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1896 { (exit 1); exit 1; }; }
1897 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1898 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1899 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1900 { (exit 1); exit 1; }; }
1903 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1904 echo "${ECHO_T}$ac_cv_build" >&6; }
1905 case $ac_cv_build in
1907 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1908 echo "$as_me: error: invalid value of canonical build" >&2;}
1909 { (exit 1); exit 1; }; };;
1912 ac_save_IFS=$IFS; IFS='-'
1918 # Remember, the first character of IFS is used to create $*,
1919 # except with old shells:
1922 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1925 { echo "$as_me:$LINENO: checking host system type" >&5
1926 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1927 if test "${ac_cv_host+set}" = set; then
1928 echo $ECHO_N "(cached) $ECHO_C" >&6
1930 if test "x$host_alias" = x; then
1931 ac_cv_host=$ac_cv_build
1933 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1934 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1935 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1936 { (exit 1); exit 1; }; }
1940 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1941 echo "${ECHO_T}$ac_cv_host" >&6; }
1944 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1945 echo "$as_me: error: invalid value of canonical host" >&2;}
1946 { (exit 1); exit 1; }; };;
1949 ac_save_IFS=$IFS; IFS='-'
1955 # Remember, the first character of IFS is used to create $*,
1956 # except with old shells:
1959 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1964 if test "x$enable_win64" != "xyes"
1966 test -n "$CC" || CC="gcc -m32"
1967 test -n "$LD" || LD="ld -m elf_i386"
1968 test -n "$AS" || AS="as --32"
1976 if test "x$enable_win16" != "xno"
1983 WIN16_FILES="\$(WIN16_FILES)"
1985 WIN16_INSTALL="\$(WIN16_INSTALL)"
1987 if test "x$enable_win16" != "xyes"
1994 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1995 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1996 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1997 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 cat >conftest.make <<\_ACEOF
2003 @echo '@@@%%%=$(MAKE)=@@@%%%'
2005 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2006 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2008 eval ac_cv_prog_make_${ac_make}_set=yes;;
2010 eval ac_cv_prog_make_${ac_make}_set=no;;
2014 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2015 { echo "$as_me:$LINENO: result: yes" >&5
2016 echo "${ECHO_T}yes" >&6; }
2019 { echo "$as_me:$LINENO: result: no" >&5
2020 echo "${ECHO_T}no" >&6; }
2021 SET_MAKE="MAKE=${MAKE-make}"
2025 ac_cpp='$CPP $CPPFLAGS'
2026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2029 if test -n "$ac_tool_prefix"; then
2030 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2031 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2034 if test "${ac_cv_prog_CC+set}" = set; then
2035 echo $ECHO_N "(cached) $ECHO_C" >&6
2037 if test -n "$CC"; then
2038 ac_cv_prog_CC="$CC" # Let the user override the test.
2040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2044 test -z "$as_dir" && as_dir=.
2045 for ac_exec_ext in '' $ac_executable_extensions; do
2046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2047 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2058 if test -n "$CC"; then
2059 { echo "$as_me:$LINENO: result: $CC" >&5
2060 echo "${ECHO_T}$CC" >&6; }
2062 { echo "$as_me:$LINENO: result: no" >&5
2063 echo "${ECHO_T}no" >&6; }
2068 if test -z "$ac_cv_prog_CC"; then
2070 # Extract the first word of "gcc", so it can be a program name with args.
2071 set dummy gcc; ac_word=$2
2072 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2074 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2075 echo $ECHO_N "(cached) $ECHO_C" >&6
2077 if test -n "$ac_ct_CC"; then
2078 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2084 test -z "$as_dir" && as_dir=.
2085 for ac_exec_ext in '' $ac_executable_extensions; do
2086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2087 ac_cv_prog_ac_ct_CC="gcc"
2088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2098 if test -n "$ac_ct_CC"; then
2099 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2100 echo "${ECHO_T}$ac_ct_CC" >&6; }
2102 { echo "$as_me:$LINENO: result: no" >&5
2103 echo "${ECHO_T}no" >&6; }
2106 if test "x$ac_ct_CC" = x; then
2109 case $cross_compiling:$ac_tool_warned in
2111 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2112 whose name does not start with the host triplet. If you think this
2113 configuration is useful to you, please write to autoconf@gnu.org." >&5
2114 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2115 whose name does not start with the host triplet. If you think this
2116 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2117 ac_tool_warned=yes ;;
2125 if test -z "$CC"; then
2126 if test -n "$ac_tool_prefix"; then
2127 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2128 set dummy ${ac_tool_prefix}cc; ac_word=$2
2129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2131 if test "${ac_cv_prog_CC+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 if test -n "$CC"; then
2135 ac_cv_prog_CC="$CC" # Let the user override the test.
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir=.
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2144 ac_cv_prog_CC="${ac_tool_prefix}cc"
2145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2155 if test -n "$CC"; then
2156 { echo "$as_me:$LINENO: result: $CC" >&5
2157 echo "${ECHO_T}$CC" >&6; }
2159 { echo "$as_me:$LINENO: result: no" >&5
2160 echo "${ECHO_T}no" >&6; }
2166 if test -z "$CC"; then
2167 # Extract the first word of "cc", so it can be a program name with args.
2168 set dummy cc; ac_word=$2
2169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2171 if test "${ac_cv_prog_CC+set}" = set; then
2172 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 if test -n "$CC"; then
2175 ac_cv_prog_CC="$CC" # 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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2186 ac_prog_rejected=yes
2190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2197 if test $ac_prog_rejected = yes; then
2198 # We found a bogon in the path, so make sure we never use it.
2199 set dummy $ac_cv_prog_CC
2201 if test $# != 0; then
2202 # We chose a different compiler from the bogus one.
2203 # However, it has the same basename, so the bogon will be chosen
2204 # first if we set CC to just the basename; use the full file name.
2206 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2212 if test -n "$CC"; then
2213 { echo "$as_me:$LINENO: result: $CC" >&5
2214 echo "${ECHO_T}$CC" >&6; }
2216 { echo "$as_me:$LINENO: result: no" >&5
2217 echo "${ECHO_T}no" >&6; }
2222 if test -z "$CC"; then
2223 if test -n "$ac_tool_prefix"; then
2224 for ac_prog in cl.exe
2226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC="$CC" # Let the user override the test.
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2243 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2254 if test -n "$CC"; then
2255 { echo "$as_me:$LINENO: result: $CC" >&5
2256 echo "${ECHO_T}$CC" >&6; }
2258 { echo "$as_me:$LINENO: result: no" >&5
2259 echo "${ECHO_T}no" >&6; }
2263 test -n "$CC" && break
2266 if test -z "$CC"; then
2268 for ac_prog in cl.exe
2270 # Extract the first word of "$ac_prog", so it can be a program name with args.
2271 set dummy $ac_prog; ac_word=$2
2272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2274 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 if test -n "$ac_ct_CC"; then
2278 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2284 test -z "$as_dir" && as_dir=.
2285 for ac_exec_ext in '' $ac_executable_extensions; do
2286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2287 ac_cv_prog_ac_ct_CC="$ac_prog"
2288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2298 if test -n "$ac_ct_CC"; then
2299 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2300 echo "${ECHO_T}$ac_ct_CC" >&6; }
2302 { echo "$as_me:$LINENO: result: no" >&5
2303 echo "${ECHO_T}no" >&6; }
2307 test -n "$ac_ct_CC" && break
2310 if test "x$ac_ct_CC" = x; then
2313 case $cross_compiling:$ac_tool_warned in
2315 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2316 whose name does not start with the host triplet. If you think this
2317 configuration is useful to you, please write to autoconf@gnu.org." >&5
2318 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2319 whose name does not start with the host triplet. If you think this
2320 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2321 ac_tool_warned=yes ;;
2330 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2331 See \`config.log' for more details." >&5
2332 echo "$as_me: error: no acceptable C compiler found in \$PATH
2333 See \`config.log' for more details." >&2;}
2334 { (exit 1); exit 1; }; }
2336 # Provide some information about the compiler.
2337 echo "$as_me:$LINENO: checking for C compiler version" >&5
2338 ac_compiler=`set X $ac_compile; echo $2`
2339 { (ac_try="$ac_compiler --version >&5"
2341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2342 *) ac_try_echo=$ac_try;;
2344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2345 (eval "$ac_compiler --version >&5") 2>&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }
2349 { (ac_try="$ac_compiler -v >&5"
2351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2352 *) ac_try_echo=$ac_try;;
2354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2355 (eval "$ac_compiler -v >&5") 2>&5
2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358 (exit $ac_status); }
2359 { (ac_try="$ac_compiler -V >&5"
2361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2362 *) ac_try_echo=$ac_try;;
2364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2365 (eval "$ac_compiler -V >&5") 2>&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }
2370 cat >conftest.$ac_ext <<_ACEOF
2373 cat confdefs.h >>conftest.$ac_ext
2374 cat >>conftest.$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2385 ac_clean_files_save=$ac_clean_files
2386 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2387 # Try to create an executable without -o first, disregard a.out.
2388 # It will help us diagnose broken compilers, and finding out an intuition
2390 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2391 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2392 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2394 # List of possible output files, starting from the most likely.
2395 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2396 # only as a last resort. b.out is created by i960 compilers.
2397 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2399 # The IRIX 6 linker writes into existing files which may not be
2400 # executable, retaining their permissions. Remove them first so a
2401 # subsequent execution test works.
2403 for ac_file in $ac_files
2406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2407 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2412 if { (ac_try="$ac_link_default"
2414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2415 *) ac_try_echo=$ac_try;;
2417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2418 (eval "$ac_link_default") 2>&5
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); }; then
2422 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2423 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2424 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2425 # so that the user can short-circuit this test for compilers unknown to
2427 for ac_file in $ac_files ''
2429 test -f "$ac_file" || continue
2431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2434 # We found the default executable, but exeext='' is most
2438 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2440 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2442 # We set ac_cv_exeext here because the later test for it is not
2443 # safe: cross compilers may not add the suffix if given an `-o'
2444 # argument, so we may need to know it at that point already.
2445 # Even if this section looks crufty: it has the advantage of
2452 test "$ac_cv_exeext" = no && ac_cv_exeext=
2458 { echo "$as_me:$LINENO: result: $ac_file" >&5
2459 echo "${ECHO_T}$ac_file" >&6; }
2460 if test -z "$ac_file"; then
2461 echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.$ac_ext >&5
2464 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: C compiler cannot create executables
2467 See \`config.log' for more details." >&2;}
2468 { (exit 77); exit 77; }; }
2471 ac_exeext=$ac_cv_exeext
2473 # Check that the compiler produces executables we can run. If not, either
2474 # the compiler is broken, or we cross compile.
2475 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2476 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2477 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2478 # If not cross compiling, check that we can run a simple program.
2479 if test "$cross_compiling" != yes; then
2480 if { ac_try='./$ac_file'
2481 { (case "(($ac_try" in
2482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2483 *) ac_try_echo=$ac_try;;
2485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2486 (eval "$ac_try") 2>&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }; }; then
2492 if test "$cross_compiling" = maybe; then
2495 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2496 If you meant to cross compile, use \`--host'.
2497 See \`config.log' for more details." >&5
2498 echo "$as_me: error: cannot run C compiled programs.
2499 If you meant to cross compile, use \`--host'.
2500 See \`config.log' for more details." >&2;}
2501 { (exit 1); exit 1; }; }
2505 { echo "$as_me:$LINENO: result: yes" >&5
2506 echo "${ECHO_T}yes" >&6; }
2508 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2509 ac_clean_files=$ac_clean_files_save
2510 # Check that the compiler produces executables we can run. If not, either
2511 # the compiler is broken, or we cross compile.
2512 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2513 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2514 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2515 echo "${ECHO_T}$cross_compiling" >&6; }
2517 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2518 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2519 if { (ac_try="$ac_link"
2521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2522 *) ac_try_echo=$ac_try;;
2524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2525 (eval "$ac_link") 2>&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }; then
2529 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2530 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2531 # work properly (i.e., refer to `conftest.exe'), while it won't with
2533 for ac_file in conftest.exe conftest conftest.*; do
2534 test -f "$ac_file" || continue
2536 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2537 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2543 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2544 See \`config.log' for more details." >&5
2545 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2546 See \`config.log' for more details." >&2;}
2547 { (exit 1); exit 1; }; }
2550 rm -f conftest$ac_cv_exeext
2551 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2552 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2554 rm -f conftest.$ac_ext
2555 EXEEXT=$ac_cv_exeext
2557 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2558 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2559 if test "${ac_cv_objext+set}" = set; then
2560 echo $ECHO_N "(cached) $ECHO_C" >&6
2562 cat >conftest.$ac_ext <<_ACEOF
2565 cat confdefs.h >>conftest.$ac_ext
2566 cat >>conftest.$ac_ext <<_ACEOF
2567 /* end confdefs.h. */
2577 rm -f conftest.o conftest.obj
2578 if { (ac_try="$ac_compile"
2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2584 (eval "$ac_compile") 2>&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; then
2588 for ac_file in conftest.o conftest.obj conftest.*; do
2589 test -f "$ac_file" || continue;
2591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2592 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2597 echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2600 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2601 See \`config.log' for more details." >&5
2602 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2603 See \`config.log' for more details." >&2;}
2604 { (exit 1); exit 1; }; }
2607 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2609 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2610 echo "${ECHO_T}$ac_cv_objext" >&6; }
2611 OBJEXT=$ac_cv_objext
2613 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2614 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2615 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 cat >conftest.$ac_ext <<_ACEOF
2621 cat confdefs.h >>conftest.$ac_ext
2622 cat >>conftest.$ac_ext <<_ACEOF
2623 /* end confdefs.h. */
2636 rm -f conftest.$ac_objext
2637 if { (ac_try="$ac_compile"
2639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2640 *) ac_try_echo=$ac_try;;
2642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2643 (eval "$ac_compile") 2>conftest.er1
2645 grep -v '^ *+' conftest.er1 >conftest.err
2647 cat conftest.err >&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } &&
2650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2651 { (case "(($ac_try" in
2652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2653 *) ac_try_echo=$ac_try;;
2655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2656 (eval "$ac_try") 2>&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); }; } &&
2660 { ac_try='test -s conftest.$ac_objext'
2661 { (case "(($ac_try" in
2662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2663 *) ac_try_echo=$ac_try;;
2665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2666 (eval "$ac_try") 2>&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; }; then
2672 echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2682 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2683 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2684 GCC=`test $ac_compiler_gnu = yes && echo yes`
2685 ac_test_CFLAGS=${CFLAGS+set}
2686 ac_save_CFLAGS=$CFLAGS
2687 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2689 if test "${ac_cv_prog_cc_g+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 ac_save_c_werror_flag=$ac_c_werror_flag
2693 ac_c_werror_flag=yes
2696 cat >conftest.$ac_ext <<_ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2711 rm -f conftest.$ac_objext
2712 if { (ac_try="$ac_compile"
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2718 (eval "$ac_compile") 2>conftest.er1
2720 grep -v '^ *+' conftest.er1 >conftest.err
2722 cat conftest.err >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); } &&
2725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2726 { (case "(($ac_try" in
2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2731 (eval "$ac_try") 2>&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); }; } &&
2735 { ac_try='test -s conftest.$ac_objext'
2736 { (case "(($ac_try" in
2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2741 (eval "$ac_try") 2>&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; }; then
2747 echo "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.$ac_ext >&5
2751 cat >conftest.$ac_ext <<_ACEOF
2754 cat confdefs.h >>conftest.$ac_ext
2755 cat >>conftest.$ac_ext <<_ACEOF
2756 /* end confdefs.h. */
2766 rm -f conftest.$ac_objext
2767 if { (ac_try="$ac_compile"
2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2773 (eval "$ac_compile") 2>conftest.er1
2775 grep -v '^ *+' conftest.er1 >conftest.err
2777 cat conftest.err >&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } &&
2780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2781 { (case "(($ac_try" in
2782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2786 (eval "$ac_try") 2>&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }; } &&
2790 { ac_try='test -s conftest.$ac_objext'
2791 { (case "(($ac_try" in
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2796 (eval "$ac_try") 2>&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); }; }; then
2802 echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2805 ac_c_werror_flag=$ac_save_c_werror_flag
2807 cat >conftest.$ac_ext <<_ACEOF
2810 cat confdefs.h >>conftest.$ac_ext
2811 cat >>conftest.$ac_ext <<_ACEOF
2812 /* end confdefs.h. */
2822 rm -f conftest.$ac_objext
2823 if { (ac_try="$ac_compile"
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2829 (eval "$ac_compile") 2>conftest.er1
2831 grep -v '^ *+' conftest.er1 >conftest.err
2833 cat conftest.err >&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); } &&
2836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2837 { (case "(($ac_try" in
2838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2839 *) ac_try_echo=$ac_try;;
2841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2842 (eval "$ac_try") 2>&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; } &&
2846 { ac_try='test -s conftest.$ac_objext'
2847 { (case "(($ac_try" in
2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;;
2851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2852 (eval "$ac_try") 2>&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); }; }; then
2858 echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 ac_c_werror_flag=$ac_save_c_werror_flag
2873 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2874 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2875 if test "$ac_test_CFLAGS" = set; then
2876 CFLAGS=$ac_save_CFLAGS
2877 elif test $ac_cv_prog_cc_g = yes; then
2878 if test "$GCC" = yes; then
2884 if test "$GCC" = yes; then
2890 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2891 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2892 if test "${ac_cv_prog_cc_c89+set}" = set; then
2893 echo $ECHO_N "(cached) $ECHO_C" >&6
2895 ac_cv_prog_cc_c89=no
2897 cat >conftest.$ac_ext <<_ACEOF
2900 cat confdefs.h >>conftest.$ac_ext
2901 cat >>conftest.$ac_ext <<_ACEOF
2902 /* end confdefs.h. */
2905 #include <sys/types.h>
2906 #include <sys/stat.h>
2907 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2908 struct buf { int x; };
2909 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2910 static char *e (p, i)
2916 static char *f (char * (*g) (char **, int), char **p, ...)
2921 s = g (p, va_arg (v,int));
2926 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2927 function prototypes and stuff, but not '\xHH' hex character constants.
2928 These don't provoke an error unfortunately, instead are silently treated
2929 as 'x'. The following induces an error, until -std is added to get
2930 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2931 array size at least. It's necessary to write '\x00'==0 to get something
2932 that's true only with -std. */
2933 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2935 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2936 inside strings and character constants. */
2938 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2940 int test (int i, double x);
2941 struct s1 {int (*f) (int a);};
2942 struct s2 {int (*f) (double a);};
2943 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2949 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2954 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2955 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2957 CC="$ac_save_CC $ac_arg"
2958 rm -f conftest.$ac_objext
2959 if { (ac_try="$ac_compile"
2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2965 (eval "$ac_compile") 2>conftest.er1
2967 grep -v '^ *+' conftest.er1 >conftest.err
2969 cat conftest.err >&5
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); } &&
2972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2973 { (case "(($ac_try" in
2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2978 (eval "$ac_try") 2>&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); }; } &&
2982 { ac_try='test -s conftest.$ac_objext'
2983 { (case "(($ac_try" in
2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2988 (eval "$ac_try") 2>&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; }; then
2992 ac_cv_prog_cc_c89=$ac_arg
2994 echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
3000 rm -f core conftest.err conftest.$ac_objext
3001 test "x$ac_cv_prog_cc_c89" != "xno" && break
3003 rm -f conftest.$ac_ext
3008 case "x$ac_cv_prog_cc_c89" in
3010 { echo "$as_me:$LINENO: result: none needed" >&5
3011 echo "${ECHO_T}none needed" >&6; } ;;
3013 { echo "$as_me:$LINENO: result: unsupported" >&5
3014 echo "${ECHO_T}unsupported" >&6; } ;;
3016 CC="$CC $ac_cv_prog_cc_c89"
3017 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3018 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3023 ac_cpp='$CPP $CPPFLAGS'
3024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3029 ac_cpp='$CXXCPP $CPPFLAGS'
3030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3033 if test -z "$CXX"; then
3034 if test -n "$CCC"; then
3037 if test -n "$ac_tool_prefix"; then
3038 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3040 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3041 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3044 if test "${ac_cv_prog_CXX+set}" = set; then
3045 echo $ECHO_N "(cached) $ECHO_C" >&6
3047 if test -n "$CXX"; then
3048 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054 test -z "$as_dir" && as_dir=.
3055 for ac_exec_ext in '' $ac_executable_extensions; do
3056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3057 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3068 if test -n "$CXX"; then
3069 { echo "$as_me:$LINENO: result: $CXX" >&5
3070 echo "${ECHO_T}$CXX" >&6; }
3072 { echo "$as_me:$LINENO: result: no" >&5
3073 echo "${ECHO_T}no" >&6; }
3077 test -n "$CXX" && break
3080 if test -z "$CXX"; then
3082 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3084 # Extract the first word of "$ac_prog", so it can be a program name with args.
3085 set dummy $ac_prog; ac_word=$2
3086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3088 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3089 echo $ECHO_N "(cached) $ECHO_C" >&6
3091 if test -n "$ac_ct_CXX"; then
3092 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098 test -z "$as_dir" && as_dir=.
3099 for ac_exec_ext in '' $ac_executable_extensions; do
3100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3101 ac_cv_prog_ac_ct_CXX="$ac_prog"
3102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3111 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3112 if test -n "$ac_ct_CXX"; then
3113 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3114 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3116 { echo "$as_me:$LINENO: result: no" >&5
3117 echo "${ECHO_T}no" >&6; }
3121 test -n "$ac_ct_CXX" && break
3124 if test "x$ac_ct_CXX" = x; then
3127 case $cross_compiling:$ac_tool_warned in
3129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3130 whose name does not start with the host triplet. If you think this
3131 configuration is useful to you, please write to autoconf@gnu.org." >&5
3132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3133 whose name does not start with the host triplet. If you think this
3134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3135 ac_tool_warned=yes ;;
3143 # Provide some information about the compiler.
3144 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3145 ac_compiler=`set X $ac_compile; echo $2`
3146 { (ac_try="$ac_compiler --version >&5"
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3152 (eval "$ac_compiler --version >&5") 2>&5
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); }
3156 { (ac_try="$ac_compiler -v >&5"
3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3159 *) ac_try_echo=$ac_try;;
3161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3162 (eval "$ac_compiler -v >&5") 2>&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); }
3166 { (ac_try="$ac_compiler -V >&5"
3168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3169 *) ac_try_echo=$ac_try;;
3171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3172 (eval "$ac_compiler -V >&5") 2>&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }
3177 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3178 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3179 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3180 echo $ECHO_N "(cached) $ECHO_C" >&6
3182 cat >conftest.$ac_ext <<_ACEOF
3185 cat confdefs.h >>conftest.$ac_ext
3186 cat >>conftest.$ac_ext <<_ACEOF
3187 /* end confdefs.h. */
3200 rm -f conftest.$ac_objext
3201 if { (ac_try="$ac_compile"
3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3207 (eval "$ac_compile") 2>conftest.er1
3209 grep -v '^ *+' conftest.er1 >conftest.err
3211 cat conftest.err >&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); } &&
3214 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3215 { (case "(($ac_try" in
3216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217 *) ac_try_echo=$ac_try;;
3219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3220 (eval "$ac_try") 2>&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }; } &&
3224 { ac_try='test -s conftest.$ac_objext'
3225 { (case "(($ac_try" in
3226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3227 *) ac_try_echo=$ac_try;;
3229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3230 (eval "$ac_try") 2>&5
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; }; then
3236 echo "$as_me: failed program was:" >&5
3237 sed 's/^/| /' conftest.$ac_ext >&5
3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3246 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3247 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3248 GXX=`test $ac_compiler_gnu = yes && echo yes`
3249 ac_test_CXXFLAGS=${CXXFLAGS+set}
3250 ac_save_CXXFLAGS=$CXXFLAGS
3251 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3252 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3253 if test "${ac_cv_prog_cxx_g+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3257 ac_cxx_werror_flag=yes
3260 cat >conftest.$ac_ext <<_ACEOF
3263 cat confdefs.h >>conftest.$ac_ext
3264 cat >>conftest.$ac_ext <<_ACEOF
3265 /* end confdefs.h. */
3275 rm -f conftest.$ac_objext
3276 if { (ac_try="$ac_compile"
3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279 *) ac_try_echo=$ac_try;;
3281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3282 (eval "$ac_compile") 2>conftest.er1
3284 grep -v '^ *+' conftest.er1 >conftest.err
3286 cat conftest.err >&5
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); } &&
3289 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3290 { (case "(($ac_try" in
3291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3292 *) ac_try_echo=$ac_try;;
3294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3295 (eval "$ac_try") 2>&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); }; } &&
3299 { ac_try='test -s conftest.$ac_objext'
3300 { (case "(($ac_try" in
3301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302 *) ac_try_echo=$ac_try;;
3304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3305 (eval "$ac_try") 2>&5
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); }; }; then
3309 ac_cv_prog_cxx_g=yes
3311 echo "$as_me: failed program was:" >&5
3312 sed 's/^/| /' conftest.$ac_ext >&5
3315 cat >conftest.$ac_ext <<_ACEOF
3318 cat confdefs.h >>conftest.$ac_ext
3319 cat >>conftest.$ac_ext <<_ACEOF
3320 /* end confdefs.h. */
3330 rm -f conftest.$ac_objext
3331 if { (ac_try="$ac_compile"
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3337 (eval "$ac_compile") 2>conftest.er1
3339 grep -v '^ *+' conftest.er1 >conftest.err
3341 cat conftest.err >&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); } &&
3344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3345 { (case "(($ac_try" in
3346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347 *) ac_try_echo=$ac_try;;
3349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3350 (eval "$ac_try") 2>&5
3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); }; } &&
3354 { ac_try='test -s conftest.$ac_objext'
3355 { (case "(($ac_try" in
3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3360 (eval "$ac_try") 2>&5
3362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363 (exit $ac_status); }; }; then
3366 echo "$as_me: failed program was:" >&5
3367 sed 's/^/| /' conftest.$ac_ext >&5
3369 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3371 cat >conftest.$ac_ext <<_ACEOF
3374 cat confdefs.h >>conftest.$ac_ext
3375 cat >>conftest.$ac_ext <<_ACEOF
3376 /* end confdefs.h. */
3386 rm -f conftest.$ac_objext
3387 if { (ac_try="$ac_compile"
3389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3390 *) ac_try_echo=$ac_try;;
3392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3393 (eval "$ac_compile") 2>conftest.er1
3395 grep -v '^ *+' conftest.er1 >conftest.err
3397 cat conftest.err >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); } &&
3400 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3401 { (case "(($ac_try" in
3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3403 *) ac_try_echo=$ac_try;;
3405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3406 (eval "$ac_try") 2>&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); }; } &&
3410 { ac_try='test -s conftest.$ac_objext'
3411 { (case "(($ac_try" in
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3416 (eval "$ac_try") 2>&5
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); }; }; then
3420 ac_cv_prog_cxx_g=yes
3422 echo "$as_me: failed program was:" >&5
3423 sed 's/^/| /' conftest.$ac_ext >&5
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3437 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3438 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3439 if test "$ac_test_CXXFLAGS" = set; then
3440 CXXFLAGS=$ac_save_CXXFLAGS
3441 elif test $ac_cv_prog_cxx_g = yes; then
3442 if test "$GXX" = yes; then
3448 if test "$GXX" = yes; then
3455 ac_cpp='$CPP $CPPFLAGS'
3456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3460 if test -n "$ac_tool_prefix"; then
3461 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3462 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3465 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3466 echo $ECHO_N "(cached) $ECHO_C" >&6
3468 if test -n "$CPPBIN"; then
3469 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475 test -z "$as_dir" && as_dir=.
3476 for ac_exec_ext in '' $ac_executable_extensions; do
3477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3478 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3488 CPPBIN=$ac_cv_prog_CPPBIN
3489 if test -n "$CPPBIN"; then
3490 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3491 echo "${ECHO_T}$CPPBIN" >&6; }
3493 { echo "$as_me:$LINENO: result: no" >&5
3494 echo "${ECHO_T}no" >&6; }
3499 if test -z "$ac_cv_prog_CPPBIN"; then
3500 ac_ct_CPPBIN=$CPPBIN
3501 # Extract the first word of "cpp", so it can be a program name with args.
3502 set dummy cpp; ac_word=$2
3503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3505 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3506 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 if test -n "$ac_ct_CPPBIN"; then
3509 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3515 test -z "$as_dir" && as_dir=.
3516 for ac_exec_ext in '' $ac_executable_extensions; do
3517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3518 ac_cv_prog_ac_ct_CPPBIN="cpp"
3519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3528 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3529 if test -n "$ac_ct_CPPBIN"; then
3530 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3531 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3533 { echo "$as_me:$LINENO: result: no" >&5
3534 echo "${ECHO_T}no" >&6; }
3537 if test "x$ac_ct_CPPBIN" = x; then
3540 case $cross_compiling:$ac_tool_warned in
3542 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3543 whose name does not start with the host triplet. If you think this
3544 configuration is useful to you, please write to autoconf@gnu.org." >&5
3545 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3546 whose name does not start with the host triplet. If you think this
3547 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3548 ac_tool_warned=yes ;;
3550 CPPBIN=$ac_ct_CPPBIN
3553 CPPBIN="$ac_cv_prog_CPPBIN"
3557 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3558 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3559 if test "${wine_cv_toolsdir+set}" = set; then
3560 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 if test -z "$with_wine_tools"; then
3563 if test "$cross_compiling" = "yes"; then
3564 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3565 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3566 { (exit 1); exit 1; }; }
3568 wine_cv_toolsdir="\$(TOPOBJDIR)"
3570 elif test -d "$with_wine_tools/tools/winebuild"; then
3571 case $with_wine_tools in
3572 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3573 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3576 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3577 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3578 { (exit 1); exit 1; }; }
3581 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3582 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3583 TOOLSDIR=$wine_cv_toolsdir
3588 ac_cpp='$CPP $CPPFLAGS'
3589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3592 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3593 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3594 # On Suns, sometimes $CPP names a directory.
3595 if test -n "$CPP" && test -d "$CPP"; then
3598 if test -z "$CPP"; then
3599 if test "${ac_cv_prog_CPP+set}" = set; then
3600 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 # Double quotes because CPP needs to be expanded
3603 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3606 for ac_c_preproc_warn_flag in '' yes
3608 # Use a header file that comes with gcc, so configuring glibc
3609 # with a fresh cross-compiler works.
3610 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3611 # <limits.h> exists even on freestanding compilers.
3612 # On the NeXT, cc -E runs the code through the compiler's parser,
3613 # not just through cpp. "Syntax error" is here to catch this case.
3614 cat >conftest.$ac_ext <<_ACEOF
3617 cat confdefs.h >>conftest.$ac_ext
3618 cat >>conftest.$ac_ext <<_ACEOF
3619 /* end confdefs.h. */
3621 # include <limits.h>
3623 # include <assert.h>
3627 if { (ac_try="$ac_cpp conftest.$ac_ext"
3629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3630 *) ac_try_echo=$ac_try;;
3632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3635 grep -v '^ *+' conftest.er1 >conftest.err
3637 cat conftest.err >&5
3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); } >/dev/null; then
3640 if test -s conftest.err; then
3641 ac_cpp_err=$ac_c_preproc_warn_flag
3642 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3649 if test -z "$ac_cpp_err"; then
3652 echo "$as_me: failed program was:" >&5
3653 sed 's/^/| /' conftest.$ac_ext >&5
3655 # Broken: fails on valid input.
3659 rm -f conftest.err conftest.$ac_ext
3661 # OK, works on sane cases. Now check whether nonexistent headers
3662 # can be detected and how.
3663 cat >conftest.$ac_ext <<_ACEOF
3666 cat confdefs.h >>conftest.$ac_ext
3667 cat >>conftest.$ac_ext <<_ACEOF
3668 /* end confdefs.h. */
3669 #include <ac_nonexistent.h>
3671 if { (ac_try="$ac_cpp conftest.$ac_ext"
3673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3674 *) ac_try_echo=$ac_try;;
3676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3679 grep -v '^ *+' conftest.er1 >conftest.err
3681 cat conftest.err >&5
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); } >/dev/null; then
3684 if test -s conftest.err; then
3685 ac_cpp_err=$ac_c_preproc_warn_flag
3686 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3693 if test -z "$ac_cpp_err"; then
3694 # Broken: success on invalid input.
3697 echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.$ac_ext >&5
3700 # Passes both tests.
3705 rm -f conftest.err conftest.$ac_ext
3708 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3709 rm -f conftest.err conftest.$ac_ext
3710 if $ac_preproc_ok; then
3722 { echo "$as_me:$LINENO: result: $CPP" >&5
3723 echo "${ECHO_T}$CPP" >&6; }
3725 for ac_c_preproc_warn_flag in '' yes
3727 # Use a header file that comes with gcc, so configuring glibc
3728 # with a fresh cross-compiler works.
3729 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3730 # <limits.h> exists even on freestanding compilers.
3731 # On the NeXT, cc -E runs the code through the compiler's parser,
3732 # not just through cpp. "Syntax error" is here to catch this case.
3733 cat >conftest.$ac_ext <<_ACEOF
3736 cat confdefs.h >>conftest.$ac_ext
3737 cat >>conftest.$ac_ext <<_ACEOF
3738 /* end confdefs.h. */
3740 # include <limits.h>
3742 # include <assert.h>
3746 if { (ac_try="$ac_cpp conftest.$ac_ext"
3748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3749 *) ac_try_echo=$ac_try;;
3751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3754 grep -v '^ *+' conftest.er1 >conftest.err
3756 cat conftest.err >&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); } >/dev/null; then
3759 if test -s conftest.err; then
3760 ac_cpp_err=$ac_c_preproc_warn_flag
3761 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3768 if test -z "$ac_cpp_err"; then
3771 echo "$as_me: failed program was:" >&5
3772 sed 's/^/| /' conftest.$ac_ext >&5
3774 # Broken: fails on valid input.
3778 rm -f conftest.err conftest.$ac_ext
3780 # OK, works on sane cases. Now check whether nonexistent headers
3781 # can be detected and how.
3782 cat >conftest.$ac_ext <<_ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3788 #include <ac_nonexistent.h>
3790 if { (ac_try="$ac_cpp conftest.$ac_ext"
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3798 grep -v '^ *+' conftest.er1 >conftest.err
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } >/dev/null; then
3803 if test -s conftest.err; then
3804 ac_cpp_err=$ac_c_preproc_warn_flag
3805 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3812 if test -z "$ac_cpp_err"; then
3813 # Broken: success on invalid input.
3816 echo "$as_me: failed program was:" >&5
3817 sed 's/^/| /' conftest.$ac_ext >&5
3819 # Passes both tests.
3824 rm -f conftest.err conftest.$ac_ext
3827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3828 rm -f conftest.err conftest.$ac_ext
3829 if $ac_preproc_ok; then
3832 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3833 See \`config.log' for more details." >&5
3834 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3835 See \`config.log' for more details." >&2;}
3836 { (exit 1); exit 1; }; }
3840 ac_cpp='$CPP $CPPFLAGS'
3841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3846 { echo "$as_me:$LINENO: checking for X" >&5
3847 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3850 # Check whether --with-x was given.
3851 if test "${with_x+set}" = set; then
3855 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3856 if test "x$with_x" = xno; then
3857 # The user explicitly disabled X.
3860 case $x_includes,$x_libraries in #(
3861 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3862 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3863 { (exit 1); exit 1; }; };; #(
3864 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 # One or both of the vars are not set, and there is no cached value.
3868 ac_x_includes=no ac_x_libraries=no
3869 rm -f -r conftest.dir
3870 if mkdir conftest.dir; then
3872 cat >Imakefile <<'_ACEOF'
3874 @echo incroot='${INCROOT}'
3876 @echo usrlibdir='${USRLIBDIR}'
3878 @echo libdir='${LIBDIR}'
3880 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3881 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3882 for ac_var in incroot usrlibdir libdir; do
3883 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3885 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3886 for ac_extension in a so sl; do
3887 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3888 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3889 ac_im_usrlibdir=$ac_im_libdir; break
3892 # Screen out bogus values from the imake configuration. They are
3893 # bogus both because they are the default anyway, and because
3894 # using them would break gcc on systems where it needs fixed includes.
3895 case $ac_im_incroot in
3896 /usr/include) ac_x_includes= ;;
3897 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3899 case $ac_im_usrlibdir in
3901 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3905 rm -f -r conftest.dir
3908 # Standard set of common directories for X headers.
3909 # Check X11 before X11Rn because it is often a symlink to the current release.
3921 /usr/local/X11/include
3922 /usr/local/X11R6/include
3923 /usr/local/X11R5/include
3924 /usr/local/X11R4/include
3926 /usr/local/include/X11
3927 /usr/local/include/X11R6
3928 /usr/local/include/X11R5
3929 /usr/local/include/X11R4
3933 /usr/XFree86/include/X11
3937 /usr/unsupported/include
3939 /usr/local/x11r5/include
3940 /usr/lpp/Xamples/include
3942 /usr/openwin/include
3943 /usr/openwin/share/include'
3945 if test "$ac_x_includes" = no; then
3946 # Guess where to find include files, by looking for Xlib.h.
3947 # First, try using that file with no special directory specified.
3948 cat >conftest.$ac_ext <<_ACEOF
3951 cat confdefs.h >>conftest.$ac_ext
3952 cat >>conftest.$ac_ext <<_ACEOF
3953 /* end confdefs.h. */
3954 #include <X11/Xlib.h>
3956 if { (ac_try="$ac_cpp conftest.$ac_ext"
3958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959 *) ac_try_echo=$ac_try;;
3961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3964 grep -v '^ *+' conftest.er1 >conftest.err
3966 cat conftest.err >&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); } >/dev/null; then
3969 if test -s conftest.err; then
3970 ac_cpp_err=$ac_c_preproc_warn_flag
3971 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3978 if test -z "$ac_cpp_err"; then
3979 # We can compile using X headers with no special include directory.
3982 echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.$ac_ext >&5
3985 for ac_dir in $ac_x_header_dirs; do
3986 if test -r "$ac_dir/X11/Xlib.h"; then
3987 ac_x_includes=$ac_dir
3993 rm -f conftest.err conftest.$ac_ext
3994 fi # $ac_x_includes = no
3996 if test "$ac_x_libraries" = no; then
3997 # Check for the libraries.
3998 # See if we find them without any special options.
3999 # Don't add to $LIBS permanently.
4002 cat >conftest.$ac_ext <<_ACEOF
4005 cat confdefs.h >>conftest.$ac_ext
4006 cat >>conftest.$ac_ext <<_ACEOF
4007 /* end confdefs.h. */
4008 #include <X11/Xlib.h>
4017 rm -f conftest.$ac_objext conftest$ac_exeext
4018 if { (ac_try="$ac_link"
4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4024 (eval "$ac_link") 2>conftest.er1
4026 grep -v '^ *+' conftest.er1 >conftest.err
4028 cat conftest.err >&5
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); } &&
4031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4032 { (case "(($ac_try" in
4033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4034 *) ac_try_echo=$ac_try;;
4036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4037 (eval "$ac_try") 2>&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); }; } &&
4041 { ac_try='test -s conftest$ac_exeext'
4042 { (case "(($ac_try" in
4043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4044 *) ac_try_echo=$ac_try;;
4046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4047 (eval "$ac_try") 2>&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); }; }; then
4052 # We can link X programs with no special library path.
4055 echo "$as_me: failed program was:" >&5
4056 sed 's/^/| /' conftest.$ac_ext >&5
4059 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4061 # Don't even attempt the hair of trying to link an X program!
4062 for ac_extension in a so sl; do
4063 if test -r "$ac_dir/libX11.$ac_extension"; then
4064 ac_x_libraries=$ac_dir
4071 rm -f core conftest.err conftest.$ac_objext \
4072 conftest$ac_exeext conftest.$ac_ext
4073 fi # $ac_x_libraries = no
4075 case $ac_x_includes,$ac_x_libraries in #(
4077 # Didn't find X, or a directory has "'" in its name.
4078 ac_cv_have_x="have_x=no";; #(
4080 # Record where we found X for the cache.
4081 ac_cv_have_x="have_x=yes\
4082 ac_x_includes='$ac_x_includes'\
4083 ac_x_libraries='$ac_x_libraries'"
4089 eval "$ac_cv_have_x"
4092 if test "$have_x" != yes; then
4093 { echo "$as_me:$LINENO: result: $have_x" >&5
4094 echo "${ECHO_T}$have_x" >&6; }
4097 # If each of the values was on the command line, it overrides each guess.
4098 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4099 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4100 # Update the cache value to reflect the command line values.
4101 ac_cv_have_x="have_x=yes\
4102 ac_x_includes='$x_includes'\
4103 ac_x_libraries='$x_libraries'"
4104 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4105 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4108 if test "$no_x" = yes; then
4109 # Not all programs may use this symbol, but it does not hurt to define it.
4111 cat >>confdefs.h <<\_ACEOF
4112 #define X_DISPLAY_MISSING 1
4115 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4117 if test -n "$x_includes"; then
4118 X_CFLAGS="$X_CFLAGS -I$x_includes"
4121 # It would also be nice to do this for all -L options, not just this one.
4122 if test -n "$x_libraries"; then
4123 X_LIBS="$X_LIBS -L$x_libraries"
4124 # For Solaris; some versions of Sun CC require a space after -R and
4125 # others require no space. Words are not sufficient . . . .
4126 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4127 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4128 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4129 ac_xsave_c_werror_flag=$ac_c_werror_flag
4130 ac_c_werror_flag=yes
4131 cat >conftest.$ac_ext <<_ACEOF
4134 cat confdefs.h >>conftest.$ac_ext
4135 cat >>conftest.$ac_ext <<_ACEOF
4136 /* end confdefs.h. */
4146 rm -f conftest.$ac_objext conftest$ac_exeext
4147 if { (ac_try="$ac_link"
4149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4150 *) ac_try_echo=$ac_try;;
4152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4153 (eval "$ac_link") 2>conftest.er1
4155 grep -v '^ *+' conftest.er1 >conftest.err
4157 cat conftest.err >&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); } &&
4160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4161 { (case "(($ac_try" in
4162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4163 *) ac_try_echo=$ac_try;;
4165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4166 (eval "$ac_try") 2>&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); }; } &&
4170 { ac_try='test -s conftest$ac_exeext'
4171 { (case "(($ac_try" in
4172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4173 *) ac_try_echo=$ac_try;;
4175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4176 (eval "$ac_try") 2>&5
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); }; }; then
4180 { echo "$as_me:$LINENO: result: no" >&5
4181 echo "${ECHO_T}no" >&6; }
4182 X_LIBS="$X_LIBS -R$x_libraries"
4184 echo "$as_me: failed program was:" >&5
4185 sed 's/^/| /' conftest.$ac_ext >&5
4187 LIBS="$ac_xsave_LIBS -R $x_libraries"
4188 cat >conftest.$ac_ext <<_ACEOF
4191 cat confdefs.h >>conftest.$ac_ext
4192 cat >>conftest.$ac_ext <<_ACEOF
4193 /* end confdefs.h. */
4203 rm -f conftest.$ac_objext conftest$ac_exeext
4204 if { (ac_try="$ac_link"
4206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4207 *) ac_try_echo=$ac_try;;
4209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4210 (eval "$ac_link") 2>conftest.er1
4212 grep -v '^ *+' conftest.er1 >conftest.err
4214 cat conftest.err >&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } &&
4217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4218 { (case "(($ac_try" in
4219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4220 *) ac_try_echo=$ac_try;;
4222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4223 (eval "$ac_try") 2>&5
4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226 (exit $ac_status); }; } &&
4227 { ac_try='test -s conftest$ac_exeext'
4228 { (case "(($ac_try" in
4229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4230 *) ac_try_echo=$ac_try;;
4232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4233 (eval "$ac_try") 2>&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); }; }; then
4237 { echo "$as_me:$LINENO: result: yes" >&5
4238 echo "${ECHO_T}yes" >&6; }
4239 X_LIBS="$X_LIBS -R $x_libraries"
4241 echo "$as_me: failed program was:" >&5
4242 sed 's/^/| /' conftest.$ac_ext >&5
4244 { echo "$as_me:$LINENO: result: neither works" >&5
4245 echo "${ECHO_T}neither works" >&6; }
4248 rm -f core conftest.err conftest.$ac_objext \
4249 conftest$ac_exeext conftest.$ac_ext
4252 rm -f core conftest.err conftest.$ac_objext \
4253 conftest$ac_exeext conftest.$ac_ext
4254 ac_c_werror_flag=$ac_xsave_c_werror_flag
4258 # Check for system-dependent libraries X programs must link with.
4259 # Do this before checking for the system-independent R6 libraries
4260 # (-lICE), since we may need -lsocket or whatever for X linking.
4262 if test "$ISC" = yes; then
4263 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4265 # Martyn Johnson says this is needed for Ultrix, if the X
4266 # libraries were built with DECnet support. And Karl Berry says
4267 # the Alpha needs dnet_stub (dnet does not exist).
4268 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4269 cat >conftest.$ac_ext <<_ACEOF
4272 cat confdefs.h >>conftest.$ac_ext
4273 cat >>conftest.$ac_ext <<_ACEOF
4274 /* end confdefs.h. */
4276 /* Override any GCC internal prototype to avoid an error.
4277 Use char because int might match the return type of a GCC
4278 builtin and then its argument prototype would still apply. */
4282 char XOpenDisplay ();
4286 return XOpenDisplay ();
4291 rm -f conftest.$ac_objext conftest$ac_exeext
4292 if { (ac_try="$ac_link"
4294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4298 (eval "$ac_link") 2>conftest.er1
4300 grep -v '^ *+' conftest.er1 >conftest.err
4302 cat conftest.err >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } &&
4305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4306 { (case "(($ac_try" in
4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4311 (eval "$ac_try") 2>&5
4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); }; } &&
4315 { ac_try='test -s conftest$ac_exeext'
4316 { (case "(($ac_try" in
4317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4318 *) ac_try_echo=$ac_try;;
4320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4321 (eval "$ac_try") 2>&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); }; }; then
4327 echo "$as_me: failed program was:" >&5
4328 sed 's/^/| /' conftest.$ac_ext >&5
4330 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4331 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4332 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4333 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 ac_check_lib_save_LIBS=$LIBS
4337 cat >conftest.$ac_ext <<_ACEOF
4340 cat confdefs.h >>conftest.$ac_ext
4341 cat >>conftest.$ac_ext <<_ACEOF
4342 /* end confdefs.h. */
4344 /* Override any GCC internal prototype to avoid an error.
4345 Use char because int might match the return type of a GCC
4346 builtin and then its argument prototype would still apply. */
4354 return dnet_ntoa ();
4359 rm -f conftest.$ac_objext conftest$ac_exeext
4360 if { (ac_try="$ac_link"
4362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4363 *) ac_try_echo=$ac_try;;
4365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4366 (eval "$ac_link") 2>conftest.er1
4368 grep -v '^ *+' conftest.er1 >conftest.err
4370 cat conftest.err >&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } &&
4373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4374 { (case "(($ac_try" in
4375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4376 *) ac_try_echo=$ac_try;;
4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4379 (eval "$ac_try") 2>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; } &&
4383 { ac_try='test -s conftest$ac_exeext'
4384 { (case "(($ac_try" in
4385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4386 *) ac_try_echo=$ac_try;;
4388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4389 (eval "$ac_try") 2>&5
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392 (exit $ac_status); }; }; then
4393 ac_cv_lib_dnet_dnet_ntoa=yes
4395 echo "$as_me: failed program was:" >&5
4396 sed 's/^/| /' conftest.$ac_ext >&5
4398 ac_cv_lib_dnet_dnet_ntoa=no
4401 rm -f core conftest.err conftest.$ac_objext \
4402 conftest$ac_exeext conftest.$ac_ext
4403 LIBS=$ac_check_lib_save_LIBS
4405 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4406 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4407 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4408 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4411 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4412 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4413 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4414 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4415 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 ac_check_lib_save_LIBS=$LIBS
4418 LIBS="-ldnet_stub $LIBS"
4419 cat >conftest.$ac_ext <<_ACEOF
4422 cat confdefs.h >>conftest.$ac_ext
4423 cat >>conftest.$ac_ext <<_ACEOF
4424 /* end confdefs.h. */
4426 /* Override any GCC internal prototype to avoid an error.
4427 Use char because int might match the return type of a GCC
4428 builtin and then its argument prototype would still apply. */
4436 return dnet_ntoa ();
4441 rm -f conftest.$ac_objext conftest$ac_exeext
4442 if { (ac_try="$ac_link"
4444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4445 *) ac_try_echo=$ac_try;;
4447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4448 (eval "$ac_link") 2>conftest.er1
4450 grep -v '^ *+' conftest.er1 >conftest.err
4452 cat conftest.err >&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); } &&
4455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4456 { (case "(($ac_try" in
4457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4458 *) ac_try_echo=$ac_try;;
4460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4461 (eval "$ac_try") 2>&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; } &&
4465 { ac_try='test -s conftest$ac_exeext'
4466 { (case "(($ac_try" in
4467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4468 *) ac_try_echo=$ac_try;;
4470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4471 (eval "$ac_try") 2>&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); }; }; then
4475 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4477 echo "$as_me: failed program was:" >&5
4478 sed 's/^/| /' conftest.$ac_ext >&5
4480 ac_cv_lib_dnet_stub_dnet_ntoa=no
4483 rm -f core conftest.err conftest.$ac_objext \
4484 conftest$ac_exeext conftest.$ac_ext
4485 LIBS=$ac_check_lib_save_LIBS
4487 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4488 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4489 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4490 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4496 rm -f core conftest.err conftest.$ac_objext \
4497 conftest$ac_exeext conftest.$ac_ext
4498 LIBS="$ac_xsave_LIBS"
4500 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4501 # to get the SysV transport functions.
4502 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4504 # The nsl library prevents programs from opening the X display
4505 # on Irix 5.2, according to T.E. Dickey.
4506 # The functions gethostbyname, getservbyname, and inet_addr are
4507 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4508 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4509 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4510 if test "${ac_cv_func_gethostbyname+set}" = set; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6
4513 cat >conftest.$ac_ext <<_ACEOF
4516 cat confdefs.h >>conftest.$ac_ext
4517 cat >>conftest.$ac_ext <<_ACEOF
4518 /* end confdefs.h. */
4519 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4521 #define gethostbyname innocuous_gethostbyname
4523 /* System header to define __stub macros and hopefully few prototypes,
4524 which can conflict with char gethostbyname (); below.
4525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4526 <limits.h> exists even on freestanding compilers. */
4529 # include <limits.h>
4531 # include <assert.h>
4534 #undef gethostbyname
4536 /* Override any GCC internal prototype to avoid an error.
4537 Use char because int might match the return type of a GCC
4538 builtin and then its argument prototype would still apply. */
4542 char gethostbyname ();
4543 /* The GNU C library defines this for functions which it implements
4544 to always fail with ENOSYS. Some functions are actually named
4545 something starting with __ and the normal name is an alias. */
4546 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4553 return gethostbyname ();
4558 rm -f conftest.$ac_objext conftest$ac_exeext
4559 if { (ac_try="$ac_link"
4561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4562 *) ac_try_echo=$ac_try;;
4564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4565 (eval "$ac_link") 2>conftest.er1
4567 grep -v '^ *+' conftest.er1 >conftest.err
4569 cat conftest.err >&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); } &&
4572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4573 { (case "(($ac_try" in
4574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4575 *) ac_try_echo=$ac_try;;
4577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4578 (eval "$ac_try") 2>&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; } &&
4582 { ac_try='test -s conftest$ac_exeext'
4583 { (case "(($ac_try" in
4584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4585 *) ac_try_echo=$ac_try;;
4587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4588 (eval "$ac_try") 2>&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; }; then
4592 ac_cv_func_gethostbyname=yes
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4597 ac_cv_func_gethostbyname=no
4600 rm -f core conftest.err conftest.$ac_objext \
4601 conftest$ac_exeext conftest.$ac_ext
4603 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4604 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4606 if test $ac_cv_func_gethostbyname = no; then
4607 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4608 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4609 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 ac_check_lib_save_LIBS=$LIBS
4614 cat >conftest.$ac_ext <<_ACEOF
4617 cat confdefs.h >>conftest.$ac_ext
4618 cat >>conftest.$ac_ext <<_ACEOF
4619 /* end confdefs.h. */
4621 /* Override any GCC internal prototype to avoid an error.
4622 Use char because int might match the return type of a GCC
4623 builtin and then its argument prototype would still apply. */
4627 char gethostbyname ();
4631 return gethostbyname ();
4636 rm -f conftest.$ac_objext conftest$ac_exeext
4637 if { (ac_try="$ac_link"
4639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4640 *) ac_try_echo=$ac_try;;
4642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4643 (eval "$ac_link") 2>conftest.er1
4645 grep -v '^ *+' conftest.er1 >conftest.err
4647 cat conftest.err >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } &&
4650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4651 { (case "(($ac_try" in
4652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4653 *) ac_try_echo=$ac_try;;
4655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4656 (eval "$ac_try") 2>&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }; } &&
4660 { ac_try='test -s conftest$ac_exeext'
4661 { (case "(($ac_try" in
4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663 *) ac_try_echo=$ac_try;;
4665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4666 (eval "$ac_try") 2>&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; }; then
4670 ac_cv_lib_nsl_gethostbyname=yes
4672 echo "$as_me: failed program was:" >&5
4673 sed 's/^/| /' conftest.$ac_ext >&5
4675 ac_cv_lib_nsl_gethostbyname=no
4678 rm -f core conftest.err conftest.$ac_objext \
4679 conftest$ac_exeext conftest.$ac_ext
4680 LIBS=$ac_check_lib_save_LIBS
4682 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4683 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4684 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4685 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4688 if test $ac_cv_lib_nsl_gethostbyname = no; then
4689 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4690 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4691 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 ac_check_lib_save_LIBS=$LIBS
4696 cat >conftest.$ac_ext <<_ACEOF
4699 cat confdefs.h >>conftest.$ac_ext
4700 cat >>conftest.$ac_ext <<_ACEOF
4701 /* end confdefs.h. */
4703 /* Override any GCC internal prototype to avoid an error.
4704 Use char because int might match the return type of a GCC
4705 builtin and then its argument prototype would still apply. */
4709 char gethostbyname ();
4713 return gethostbyname ();
4718 rm -f conftest.$ac_objext conftest$ac_exeext
4719 if { (ac_try="$ac_link"
4721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4722 *) ac_try_echo=$ac_try;;
4724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4725 (eval "$ac_link") 2>conftest.er1
4727 grep -v '^ *+' conftest.er1 >conftest.err
4729 cat conftest.err >&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); } &&
4732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4733 { (case "(($ac_try" in
4734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4735 *) ac_try_echo=$ac_try;;
4737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4738 (eval "$ac_try") 2>&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; } &&
4742 { ac_try='test -s conftest$ac_exeext'
4743 { (case "(($ac_try" in
4744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4745 *) ac_try_echo=$ac_try;;
4747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4748 (eval "$ac_try") 2>&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; }; then
4752 ac_cv_lib_bsd_gethostbyname=yes
4754 echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.$ac_ext >&5
4757 ac_cv_lib_bsd_gethostbyname=no
4760 rm -f core conftest.err conftest.$ac_objext \
4761 conftest$ac_exeext conftest.$ac_ext
4762 LIBS=$ac_check_lib_save_LIBS
4764 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4765 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4766 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4767 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4773 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4774 # socket/setsockopt and other routines are undefined under SCO ODT
4775 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4776 # on later versions), says Simon Leinen: it contains gethostby*
4777 # variants that don't use the name server (or something). -lsocket
4778 # must be given before -lnsl if both are needed. We assume that
4779 # if connect needs -lnsl, so does gethostbyname.
4780 { echo "$as_me:$LINENO: checking for connect" >&5
4781 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4782 if test "${ac_cv_func_connect+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 cat >conftest.$ac_ext <<_ACEOF
4788 cat confdefs.h >>conftest.$ac_ext
4789 cat >>conftest.$ac_ext <<_ACEOF
4790 /* end confdefs.h. */
4791 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4793 #define connect innocuous_connect
4795 /* System header to define __stub macros and hopefully few prototypes,
4796 which can conflict with char connect (); below.
4797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4798 <limits.h> exists even on freestanding compilers. */
4801 # include <limits.h>
4803 # include <assert.h>
4808 /* Override any GCC internal prototype to avoid an error.
4809 Use char because int might match the return type of a GCC
4810 builtin and then its argument prototype would still apply. */
4815 /* The GNU C library defines this for functions which it implements
4816 to always fail with ENOSYS. Some functions are actually named
4817 something starting with __ and the normal name is an alias. */
4818 #if defined __stub_connect || defined __stub___connect
4830 rm -f conftest.$ac_objext conftest$ac_exeext
4831 if { (ac_try="$ac_link"
4833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4834 *) ac_try_echo=$ac_try;;
4836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4837 (eval "$ac_link") 2>conftest.er1
4839 grep -v '^ *+' conftest.er1 >conftest.err
4841 cat conftest.err >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } &&
4844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4845 { (case "(($ac_try" in
4846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4847 *) ac_try_echo=$ac_try;;
4849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4850 (eval "$ac_try") 2>&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); }; } &&
4854 { ac_try='test -s conftest$ac_exeext'
4855 { (case "(($ac_try" in
4856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4857 *) ac_try_echo=$ac_try;;
4859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4860 (eval "$ac_try") 2>&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); }; }; then
4864 ac_cv_func_connect=yes
4866 echo "$as_me: failed program was:" >&5
4867 sed 's/^/| /' conftest.$ac_ext >&5
4869 ac_cv_func_connect=no
4872 rm -f core conftest.err conftest.$ac_objext \
4873 conftest$ac_exeext conftest.$ac_ext
4875 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4876 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4878 if test $ac_cv_func_connect = no; then
4879 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4880 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4881 if test "${ac_cv_lib_socket_connect+set}" = set; then
4882 echo $ECHO_N "(cached) $ECHO_C" >&6
4884 ac_check_lib_save_LIBS=$LIBS
4885 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4886 cat >conftest.$ac_ext <<_ACEOF
4889 cat confdefs.h >>conftest.$ac_ext
4890 cat >>conftest.$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4893 /* Override any GCC internal prototype to avoid an error.
4894 Use char because int might match the return type of a GCC
4895 builtin and then its argument prototype would still apply. */
4908 rm -f conftest.$ac_objext conftest$ac_exeext
4909 if { (ac_try="$ac_link"
4911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4912 *) ac_try_echo=$ac_try;;
4914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4915 (eval "$ac_link") 2>conftest.er1
4917 grep -v '^ *+' conftest.er1 >conftest.err
4919 cat conftest.err >&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } &&
4922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4923 { (case "(($ac_try" in
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4928 (eval "$ac_try") 2>&5
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); }; } &&
4932 { ac_try='test -s conftest$ac_exeext'
4933 { (case "(($ac_try" in
4934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4935 *) ac_try_echo=$ac_try;;
4937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4938 (eval "$ac_try") 2>&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; }; then
4942 ac_cv_lib_socket_connect=yes
4944 echo "$as_me: failed program was:" >&5
4945 sed 's/^/| /' conftest.$ac_ext >&5
4947 ac_cv_lib_socket_connect=no
4950 rm -f core conftest.err conftest.$ac_objext \
4951 conftest$ac_exeext conftest.$ac_ext
4952 LIBS=$ac_check_lib_save_LIBS
4954 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4955 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4956 if test $ac_cv_lib_socket_connect = yes; then
4957 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4962 # Guillermo Gomez says -lposix is necessary on A/UX.
4963 { echo "$as_me:$LINENO: checking for remove" >&5
4964 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4965 if test "${ac_cv_func_remove+set}" = set; then
4966 echo $ECHO_N "(cached) $ECHO_C" >&6
4968 cat >conftest.$ac_ext <<_ACEOF
4971 cat confdefs.h >>conftest.$ac_ext
4972 cat >>conftest.$ac_ext <<_ACEOF
4973 /* end confdefs.h. */
4974 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4976 #define remove innocuous_remove
4978 /* System header to define __stub macros and hopefully few prototypes,
4979 which can conflict with char remove (); below.
4980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4981 <limits.h> exists even on freestanding compilers. */
4984 # include <limits.h>
4986 # include <assert.h>
4991 /* Override any GCC internal prototype to avoid an error.
4992 Use char because int might match the return type of a GCC
4993 builtin and then its argument prototype would still apply. */
4998 /* The GNU C library defines this for functions which it implements
4999 to always fail with ENOSYS. Some functions are actually named
5000 something starting with __ and the normal name is an alias. */
5001 #if defined __stub_remove || defined __stub___remove
5013 rm -f conftest.$ac_objext conftest$ac_exeext
5014 if { (ac_try="$ac_link"
5016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5017 *) ac_try_echo=$ac_try;;
5019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5020 (eval "$ac_link") 2>conftest.er1
5022 grep -v '^ *+' conftest.er1 >conftest.err
5024 cat conftest.err >&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); } &&
5027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5028 { (case "(($ac_try" in
5029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5030 *) ac_try_echo=$ac_try;;
5032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5033 (eval "$ac_try") 2>&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); }; } &&
5037 { ac_try='test -s conftest$ac_exeext'
5038 { (case "(($ac_try" in
5039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5040 *) ac_try_echo=$ac_try;;
5042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5043 (eval "$ac_try") 2>&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; }; then
5047 ac_cv_func_remove=yes
5049 echo "$as_me: failed program was:" >&5
5050 sed 's/^/| /' conftest.$ac_ext >&5
5052 ac_cv_func_remove=no
5055 rm -f core conftest.err conftest.$ac_objext \
5056 conftest$ac_exeext conftest.$ac_ext
5058 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5059 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5061 if test $ac_cv_func_remove = no; then
5062 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5063 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5064 if test "${ac_cv_lib_posix_remove+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 ac_check_lib_save_LIBS=$LIBS
5068 LIBS="-lposix $LIBS"
5069 cat >conftest.$ac_ext <<_ACEOF
5072 cat confdefs.h >>conftest.$ac_ext
5073 cat >>conftest.$ac_ext <<_ACEOF
5074 /* end confdefs.h. */
5076 /* Override any GCC internal prototype to avoid an error.
5077 Use char because int might match the return type of a GCC
5078 builtin and then its argument prototype would still apply. */
5091 rm -f conftest.$ac_objext conftest$ac_exeext
5092 if { (ac_try="$ac_link"
5094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5098 (eval "$ac_link") 2>conftest.er1
5100 grep -v '^ *+' conftest.er1 >conftest.err
5102 cat conftest.err >&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); } &&
5105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5106 { (case "(($ac_try" in
5107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5108 *) ac_try_echo=$ac_try;;
5110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5111 (eval "$ac_try") 2>&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); }; } &&
5115 { ac_try='test -s conftest$ac_exeext'
5116 { (case "(($ac_try" in
5117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5118 *) ac_try_echo=$ac_try;;
5120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5121 (eval "$ac_try") 2>&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); }; }; then
5125 ac_cv_lib_posix_remove=yes
5127 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.$ac_ext >&5
5130 ac_cv_lib_posix_remove=no
5133 rm -f core conftest.err conftest.$ac_objext \
5134 conftest$ac_exeext conftest.$ac_ext
5135 LIBS=$ac_check_lib_save_LIBS
5137 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5138 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5139 if test $ac_cv_lib_posix_remove = yes; then
5140 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5145 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5146 { echo "$as_me:$LINENO: checking for shmat" >&5
5147 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5148 if test "${ac_cv_func_shmat+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 cat >conftest.$ac_ext <<_ACEOF
5154 cat confdefs.h >>conftest.$ac_ext
5155 cat >>conftest.$ac_ext <<_ACEOF
5156 /* end confdefs.h. */
5157 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5159 #define shmat innocuous_shmat
5161 /* System header to define __stub macros and hopefully few prototypes,
5162 which can conflict with char shmat (); below.
5163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5164 <limits.h> exists even on freestanding compilers. */
5167 # include <limits.h>
5169 # include <assert.h>
5174 /* Override any GCC internal prototype to avoid an error.
5175 Use char because int might match the return type of a GCC
5176 builtin and then its argument prototype would still apply. */
5181 /* The GNU C library defines this for functions which it implements
5182 to always fail with ENOSYS. Some functions are actually named
5183 something starting with __ and the normal name is an alias. */
5184 #if defined __stub_shmat || defined __stub___shmat
5196 rm -f conftest.$ac_objext conftest$ac_exeext
5197 if { (ac_try="$ac_link"
5199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5200 *) ac_try_echo=$ac_try;;
5202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5203 (eval "$ac_link") 2>conftest.er1
5205 grep -v '^ *+' conftest.er1 >conftest.err
5207 cat conftest.err >&5
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); } &&
5210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5211 { (case "(($ac_try" in
5212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5213 *) ac_try_echo=$ac_try;;
5215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5216 (eval "$ac_try") 2>&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); }; } &&
5220 { ac_try='test -s conftest$ac_exeext'
5221 { (case "(($ac_try" in
5222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5223 *) ac_try_echo=$ac_try;;
5225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5226 (eval "$ac_try") 2>&5
5228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 (exit $ac_status); }; }; then
5230 ac_cv_func_shmat=yes
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.$ac_ext >&5
5238 rm -f core conftest.err conftest.$ac_objext \
5239 conftest$ac_exeext conftest.$ac_ext
5241 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5242 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5244 if test $ac_cv_func_shmat = no; then
5245 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5246 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5247 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 ac_check_lib_save_LIBS=$LIBS
5252 cat >conftest.$ac_ext <<_ACEOF
5255 cat confdefs.h >>conftest.$ac_ext
5256 cat >>conftest.$ac_ext <<_ACEOF
5257 /* end confdefs.h. */
5259 /* Override any GCC internal prototype to avoid an error.
5260 Use char because int might match the return type of a GCC
5261 builtin and then its argument prototype would still apply. */
5274 rm -f conftest.$ac_objext conftest$ac_exeext
5275 if { (ac_try="$ac_link"
5277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5278 *) ac_try_echo=$ac_try;;
5280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5281 (eval "$ac_link") 2>conftest.er1
5283 grep -v '^ *+' conftest.er1 >conftest.err
5285 cat conftest.err >&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); } &&
5288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5289 { (case "(($ac_try" in
5290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5291 *) ac_try_echo=$ac_try;;
5293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5294 (eval "$ac_try") 2>&5
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); }; } &&
5298 { ac_try='test -s conftest$ac_exeext'
5299 { (case "(($ac_try" in
5300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5301 *) ac_try_echo=$ac_try;;
5303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5304 (eval "$ac_try") 2>&5
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 (exit $ac_status); }; }; then
5308 ac_cv_lib_ipc_shmat=yes
5310 echo "$as_me: failed program was:" >&5
5311 sed 's/^/| /' conftest.$ac_ext >&5
5313 ac_cv_lib_ipc_shmat=no
5316 rm -f core conftest.err conftest.$ac_objext \
5317 conftest$ac_exeext conftest.$ac_ext
5318 LIBS=$ac_check_lib_save_LIBS
5320 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5321 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5322 if test $ac_cv_lib_ipc_shmat = yes; then
5323 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5329 # Check for libraries that X11R6 Xt/Xaw programs need.
5330 ac_save_LDFLAGS=$LDFLAGS
5331 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5332 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5333 # check for ICE first), but we must link in the order -lSM -lICE or
5334 # we get undefined symbols. So assume we have SM if we have ICE.
5335 # These have to be linked with before -lX11, unlike the other
5336 # libraries we check for below, so use a different variable.
5337 # John Interrante, Karl Berry
5338 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5339 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5340 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 ac_check_lib_save_LIBS=$LIBS
5344 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5345 cat >conftest.$ac_ext <<_ACEOF
5348 cat confdefs.h >>conftest.$ac_ext
5349 cat >>conftest.$ac_ext <<_ACEOF
5350 /* end confdefs.h. */
5352 /* Override any GCC internal prototype to avoid an error.
5353 Use char because int might match the return type of a GCC
5354 builtin and then its argument prototype would still apply. */
5358 char IceConnectionNumber ();
5362 return IceConnectionNumber ();
5367 rm -f conftest.$ac_objext conftest$ac_exeext
5368 if { (ac_try="$ac_link"
5370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5371 *) ac_try_echo=$ac_try;;
5373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5374 (eval "$ac_link") 2>conftest.er1
5376 grep -v '^ *+' conftest.er1 >conftest.err
5378 cat conftest.err >&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); } &&
5381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5382 { (case "(($ac_try" in
5383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5384 *) ac_try_echo=$ac_try;;
5386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5387 (eval "$ac_try") 2>&5
5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); }; } &&
5391 { ac_try='test -s conftest$ac_exeext'
5392 { (case "(($ac_try" in
5393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5394 *) ac_try_echo=$ac_try;;
5396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5397 (eval "$ac_try") 2>&5
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); }; }; then
5401 ac_cv_lib_ICE_IceConnectionNumber=yes
5403 echo "$as_me: failed program was:" >&5
5404 sed 's/^/| /' conftest.$ac_ext >&5
5406 ac_cv_lib_ICE_IceConnectionNumber=no
5409 rm -f core conftest.err conftest.$ac_objext \
5410 conftest$ac_exeext conftest.$ac_ext
5411 LIBS=$ac_check_lib_save_LIBS
5413 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5414 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5415 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5416 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5419 LDFLAGS=$ac_save_LDFLAGS
5423 for ac_prog in flex lex
5425 # Extract the first word of "$ac_prog", so it can be a program name with args.
5426 set dummy $ac_prog; ac_word=$2
5427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5429 if test "${ac_cv_prog_LEX+set}" = set; then
5430 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 if test -n "$LEX"; then
5433 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir=.
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5442 ac_cv_prog_LEX="$ac_prog"
5443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 if test -n "$LEX"; then
5454 { echo "$as_me:$LINENO: result: $LEX" >&5
5455 echo "${ECHO_T}$LEX" >&6; }
5457 { echo "$as_me:$LINENO: result: no" >&5
5458 echo "${ECHO_T}no" >&6; }
5462 test -n "$LEX" && break
5464 test -n "$LEX" || LEX=":"
5466 if test -z "$LEXLIB"
5468 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5469 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5470 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 ac_check_lib_save_LIBS=$LIBS
5475 cat >conftest.$ac_ext <<_ACEOF
5478 cat confdefs.h >>conftest.$ac_ext
5479 cat >>conftest.$ac_ext <<_ACEOF
5480 /* end confdefs.h. */
5482 /* Override any GCC internal prototype to avoid an error.
5483 Use char because int might match the return type of a GCC
5484 builtin and then its argument prototype would still apply. */
5497 rm -f conftest.$ac_objext conftest$ac_exeext
5498 if { (ac_try="$ac_link"
5500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5501 *) ac_try_echo=$ac_try;;
5503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5504 (eval "$ac_link") 2>conftest.er1
5506 grep -v '^ *+' conftest.er1 >conftest.err
5508 cat conftest.err >&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); } &&
5511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5512 { (case "(($ac_try" in
5513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5514 *) ac_try_echo=$ac_try;;
5516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5517 (eval "$ac_try") 2>&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); }; } &&
5521 { ac_try='test -s conftest$ac_exeext'
5522 { (case "(($ac_try" in
5523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5524 *) ac_try_echo=$ac_try;;
5526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5527 (eval "$ac_try") 2>&5
5529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); }; }; then
5531 ac_cv_lib_fl_yywrap=yes
5533 echo "$as_me: failed program was:" >&5
5534 sed 's/^/| /' conftest.$ac_ext >&5
5536 ac_cv_lib_fl_yywrap=no
5539 rm -f core conftest.err conftest.$ac_objext \
5540 conftest$ac_exeext conftest.$ac_ext
5541 LIBS=$ac_check_lib_save_LIBS
5543 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5544 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5545 if test $ac_cv_lib_fl_yywrap = yes; then
5548 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5549 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5550 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5553 ac_check_lib_save_LIBS=$LIBS
5555 cat >conftest.$ac_ext <<_ACEOF
5558 cat confdefs.h >>conftest.$ac_ext
5559 cat >>conftest.$ac_ext <<_ACEOF
5560 /* end confdefs.h. */
5562 /* Override any GCC internal prototype to avoid an error.
5563 Use char because int might match the return type of a GCC
5564 builtin and then its argument prototype would still apply. */
5577 rm -f conftest.$ac_objext conftest$ac_exeext
5578 if { (ac_try="$ac_link"
5580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5581 *) ac_try_echo=$ac_try;;
5583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5584 (eval "$ac_link") 2>conftest.er1
5586 grep -v '^ *+' conftest.er1 >conftest.err
5588 cat conftest.err >&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); } &&
5591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5592 { (case "(($ac_try" in
5593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5594 *) ac_try_echo=$ac_try;;
5596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5597 (eval "$ac_try") 2>&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; } &&
5601 { ac_try='test -s conftest$ac_exeext'
5602 { (case "(($ac_try" in
5603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5604 *) ac_try_echo=$ac_try;;
5606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5607 (eval "$ac_try") 2>&5
5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); }; }; then
5611 ac_cv_lib_l_yywrap=yes
5613 echo "$as_me: failed program was:" >&5
5614 sed 's/^/| /' conftest.$ac_ext >&5
5616 ac_cv_lib_l_yywrap=no
5619 rm -f core conftest.err conftest.$ac_objext \
5620 conftest$ac_exeext conftest.$ac_ext
5621 LIBS=$ac_check_lib_save_LIBS
5623 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5624 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5625 if test $ac_cv_lib_l_yywrap = yes; then
5633 if test "x$LEX" != "x:"; then
5634 { echo "$as_me:$LINENO: checking lex output file root" >&5
5635 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5636 if test "${ac_cv_prog_lex_root+set}" = set; then
5637 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 # The minimal lex program is just a single line: %%. But some broken lexes
5640 # (Solaris, I think it was) want two %% lines, so accommodate them.
5641 cat >conftest.l <<_ACEOF
5645 { (ac_try="$LEX conftest.l"
5647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5648 *) ac_try_echo=$ac_try;;
5650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5651 (eval "$LEX conftest.l") 2>&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); }
5655 if test -f lex.yy.c; then
5656 ac_cv_prog_lex_root=lex.yy
5657 elif test -f lexyy.c; then
5658 ac_cv_prog_lex_root=lexyy
5660 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5661 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5662 { (exit 1); exit 1; }; }
5665 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5666 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5668 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5670 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5671 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5672 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5673 echo $ECHO_N "(cached) $ECHO_C" >&6
5675 # POSIX says lex can declare yytext either as a pointer or an array; the
5676 # default is implementation-dependent. Figure out which it is, since
5677 # not all implementations provide the %pointer and %array declarations.
5678 ac_cv_prog_lex_yytext_pointer=no
5679 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5681 LIBS="$LIBS $LEXLIB"
5682 cat >conftest.$ac_ext <<_ACEOF
5683 `cat $LEX_OUTPUT_ROOT.c`
5685 rm -f conftest.$ac_objext conftest$ac_exeext
5686 if { (ac_try="$ac_link"
5688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5689 *) ac_try_echo=$ac_try;;
5691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5692 (eval "$ac_link") 2>conftest.er1
5694 grep -v '^ *+' conftest.er1 >conftest.err
5696 cat conftest.err >&5
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); } &&
5699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5700 { (case "(($ac_try" in
5701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5702 *) ac_try_echo=$ac_try;;
5704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5705 (eval "$ac_try") 2>&5
5707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708 (exit $ac_status); }; } &&
5709 { ac_try='test -s conftest$ac_exeext'
5710 { (case "(($ac_try" in
5711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5712 *) ac_try_echo=$ac_try;;
5714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5715 (eval "$ac_try") 2>&5
5717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718 (exit $ac_status); }; }; then
5719 ac_cv_prog_lex_yytext_pointer=yes
5721 echo "$as_me: failed program was:" >&5
5722 sed 's/^/| /' conftest.$ac_ext >&5
5727 rm -f core conftest.err conftest.$ac_objext \
5728 conftest$ac_exeext conftest.$ac_ext
5730 rm -f "${LEX_OUTPUT_ROOT}.c"
5733 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5734 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5735 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5737 cat >>confdefs.h <<\_ACEOF
5738 #define YYTEXT_POINTER 1
5745 for ac_prog in $LEX flex lex
5747 # Extract the first word of "$ac_prog", so it can be a program name with args.
5748 set dummy $ac_prog; ac_word=$2
5749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5751 if test "${ac_cv_prog_XLEX+set}" = set; then
5752 echo $ECHO_N "(cached) $ECHO_C" >&6
5754 if test -n "$XLEX"; then
5755 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 test -z "$as_dir" && as_dir=.
5762 for ac_exec_ext in '' $ac_executable_extensions; do
5763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5764 ac_cv_prog_XLEX="$ac_prog"
5765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5774 XLEX=$ac_cv_prog_XLEX
5775 if test -n "$XLEX"; then
5776 { echo "$as_me:$LINENO: result: $XLEX" >&5
5777 echo "${ECHO_T}$XLEX" >&6; }
5779 { echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6; }
5784 test -n "$XLEX" && break
5786 test -n "$XLEX" || XLEX="none"
5788 if test "$XLEX" = "none"
5790 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5791 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5792 { (exit 1); exit 1; }; }
5795 for ac_prog in bison
5797 # Extract the first word of "$ac_prog", so it can be a program name with args.
5798 set dummy $ac_prog; ac_word=$2
5799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5801 if test "${ac_cv_prog_BISON+set}" = set; then
5802 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 if test -n "$BISON"; then
5805 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5811 test -z "$as_dir" && as_dir=.
5812 for ac_exec_ext in '' $ac_executable_extensions; do
5813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5814 ac_cv_prog_BISON="$ac_prog"
5815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5824 BISON=$ac_cv_prog_BISON
5825 if test -n "$BISON"; then
5826 { echo "$as_me:$LINENO: result: $BISON" >&5
5827 echo "${ECHO_T}$BISON" >&6; }
5829 { echo "$as_me:$LINENO: result: no" >&5
5830 echo "${ECHO_T}no" >&6; }
5834 test -n "$BISON" && break
5836 test -n "$BISON" || BISON="none"
5838 if test "$BISON" = "none"
5840 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5841 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5842 { (exit 1); exit 1; }; }
5845 if test -n "$ac_tool_prefix"; then
5846 for ac_prog in gas as
5848 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5849 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5852 if test "${ac_cv_prog_AS+set}" = set; then
5853 echo $ECHO_N "(cached) $ECHO_C" >&6
5855 if test -n "$AS"; then
5856 ac_cv_prog_AS="$AS" # Let the user override the test.
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5865 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 if test -n "$AS"; then
5877 { echo "$as_me:$LINENO: result: $AS" >&5
5878 echo "${ECHO_T}$AS" >&6; }
5880 { echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6; }
5885 test -n "$AS" && break
5888 if test -z "$AS"; then
5890 for ac_prog in gas as
5892 # Extract the first word of "$ac_prog", so it can be a program name with args.
5893 set dummy $ac_prog; ac_word=$2
5894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5896 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5897 echo $ECHO_N "(cached) $ECHO_C" >&6
5899 if test -n "$ac_ct_AS"; then
5900 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5909 ac_cv_prog_ac_ct_AS="$ac_prog"
5910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5920 if test -n "$ac_ct_AS"; then
5921 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5922 echo "${ECHO_T}$ac_ct_AS" >&6; }
5924 { echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6; }
5929 test -n "$ac_ct_AS" && break
5932 if test "x$ac_ct_AS" = x; then
5935 case $cross_compiling:$ac_tool_warned in
5937 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5938 whose name does not start with the host triplet. If you think this
5939 configuration is useful to you, please write to autoconf@gnu.org." >&5
5940 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5941 whose name does not start with the host triplet. If you think this
5942 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5943 ac_tool_warned=yes ;;
5949 if test -n "$ac_tool_prefix"; then
5950 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5951 set dummy ${ac_tool_prefix}ld; ac_word=$2
5952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5954 if test "${ac_cv_prog_LD+set}" = set; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 if test -n "$LD"; then
5958 ac_cv_prog_LD="$LD" # Let the user override the test.
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964 test -z "$as_dir" && as_dir=.
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5967 ac_cv_prog_LD="${ac_tool_prefix}ld"
5968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 if test -n "$LD"; then
5979 { echo "$as_me:$LINENO: result: $LD" >&5
5980 echo "${ECHO_T}$LD" >&6; }
5982 { echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6; }
5988 if test -z "$ac_cv_prog_LD"; then
5990 # Extract the first word of "ld", so it can be a program name with args.
5991 set dummy ld; ac_word=$2
5992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5994 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5995 echo $ECHO_N "(cached) $ECHO_C" >&6
5997 if test -n "$ac_ct_LD"; then
5998 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 test -z "$as_dir" && as_dir=.
6005 for ac_exec_ext in '' $ac_executable_extensions; do
6006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6007 ac_cv_prog_ac_ct_LD="ld"
6008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6018 if test -n "$ac_ct_LD"; then
6019 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6020 echo "${ECHO_T}$ac_ct_LD" >&6; }
6022 { echo "$as_me:$LINENO: result: no" >&5
6023 echo "${ECHO_T}no" >&6; }
6026 if test "x$ac_ct_LD" = x; then
6029 case $cross_compiling:$ac_tool_warned in
6031 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6032 whose name does not start with the host triplet. If you think this
6033 configuration is useful to you, please write to autoconf@gnu.org." >&5
6034 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6035 whose name does not start with the host triplet. If you think this
6036 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6037 ac_tool_warned=yes ;;
6045 if test -n "$ac_tool_prefix"; then
6046 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6047 set dummy ${ac_tool_prefix}ar; ac_word=$2
6048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6050 if test "${ac_cv_prog_AR+set}" = set; then
6051 echo $ECHO_N "(cached) $ECHO_C" >&6
6053 if test -n "$AR"; then
6054 ac_cv_prog_AR="$AR" # Let the user override the test.
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_AR="${ac_tool_prefix}ar"
6064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 if test -n "$AR"; then
6075 { echo "$as_me:$LINENO: result: $AR" >&5
6076 echo "${ECHO_T}$AR" >&6; }
6078 { echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6; }
6084 if test -z "$ac_cv_prog_AR"; then
6086 # Extract the first word of "ar", so it can be a program name with args.
6087 set dummy ar; ac_word=$2
6088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6090 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6091 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 if test -n "$ac_ct_AR"; then
6094 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 test -z "$as_dir" && as_dir=.
6101 for ac_exec_ext in '' $ac_executable_extensions; do
6102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6103 ac_cv_prog_ac_ct_AR="ar"
6104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6113 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6114 if test -n "$ac_ct_AR"; then
6115 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6116 echo "${ECHO_T}$ac_ct_AR" >&6; }
6118 { echo "$as_me:$LINENO: result: no" >&5
6119 echo "${ECHO_T}no" >&6; }
6122 if test "x$ac_ct_AR" = x; then
6125 case $cross_compiling:$ac_tool_warned in
6127 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6128 whose name does not start with the host triplet. If you think this
6129 configuration is useful to you, please write to autoconf@gnu.org." >&5
6130 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6131 whose name does not start with the host triplet. If you think this
6132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6133 ac_tool_warned=yes ;;
6141 if test -n "$ac_tool_prefix"; then
6142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6143 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6146 if test "${ac_cv_prog_RANLIB+set}" = set; then
6147 echo $ECHO_N "(cached) $ECHO_C" >&6
6149 if test -n "$RANLIB"; then
6150 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 test -z "$as_dir" && as_dir=.
6157 for ac_exec_ext in '' $ac_executable_extensions; do
6158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6159 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 RANLIB=$ac_cv_prog_RANLIB
6170 if test -n "$RANLIB"; then
6171 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6172 echo "${ECHO_T}$RANLIB" >&6; }
6174 { echo "$as_me:$LINENO: result: no" >&5
6175 echo "${ECHO_T}no" >&6; }
6180 if test -z "$ac_cv_prog_RANLIB"; then
6181 ac_ct_RANLIB=$RANLIB
6182 # Extract the first word of "ranlib", so it can be a program name with args.
6183 set dummy ranlib; ac_word=$2
6184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6186 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6187 echo $ECHO_N "(cached) $ECHO_C" >&6
6189 if test -n "$ac_ct_RANLIB"; then
6190 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6199 ac_cv_prog_ac_ct_RANLIB="ranlib"
6200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6209 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6210 if test -n "$ac_ct_RANLIB"; then
6211 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6212 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6214 { echo "$as_me:$LINENO: result: no" >&5
6215 echo "${ECHO_T}no" >&6; }
6218 if test "x$ac_ct_RANLIB" = x; then
6221 case $cross_compiling:$ac_tool_warned in
6223 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6224 whose name does not start with the host triplet. If you think this
6225 configuration is useful to you, please write to autoconf@gnu.org." >&5
6226 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6227 whose name does not start with the host triplet. If you think this
6228 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6229 ac_tool_warned=yes ;;
6231 RANLIB=$ac_ct_RANLIB
6234 RANLIB="$ac_cv_prog_RANLIB"
6237 if test -n "$ac_tool_prefix"; then
6238 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6239 set dummy ${ac_tool_prefix}strip; ac_word=$2
6240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6242 if test "${ac_cv_prog_STRIP+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6245 if test -n "$STRIP"; then
6246 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6255 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6265 STRIP=$ac_cv_prog_STRIP
6266 if test -n "$STRIP"; then
6267 { echo "$as_me:$LINENO: result: $STRIP" >&5
6268 echo "${ECHO_T}$STRIP" >&6; }
6270 { echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6; }
6276 if test -z "$ac_cv_prog_STRIP"; then
6278 # Extract the first word of "strip", so it can be a program name with args.
6279 set dummy strip; ac_word=$2
6280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6282 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6283 echo $ECHO_N "(cached) $ECHO_C" >&6
6285 if test -n "$ac_ct_STRIP"; then
6286 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6292 test -z "$as_dir" && as_dir=.
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6295 ac_cv_prog_ac_ct_STRIP="strip"
6296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6305 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6306 if test -n "$ac_ct_STRIP"; then
6307 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6308 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6310 { echo "$as_me:$LINENO: result: no" >&5
6311 echo "${ECHO_T}no" >&6; }
6314 if test "x$ac_ct_STRIP" = x; then
6317 case $cross_compiling:$ac_tool_warned in
6319 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6320 whose name does not start with the host triplet. If you think this
6321 configuration is useful to you, please write to autoconf@gnu.org." >&5
6322 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6323 whose name does not start with the host triplet. If you think this
6324 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6325 ac_tool_warned=yes ;;
6330 STRIP="$ac_cv_prog_STRIP"
6333 if test -n "$ac_tool_prefix"; then
6334 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6335 set dummy ${ac_tool_prefix}windres; ac_word=$2
6336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6338 if test "${ac_cv_prog_WINDRES+set}" = set; then
6339 echo $ECHO_N "(cached) $ECHO_C" >&6
6341 if test -n "$WINDRES"; then
6342 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348 test -z "$as_dir" && as_dir=.
6349 for ac_exec_ext in '' $ac_executable_extensions; do
6350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6351 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6361 WINDRES=$ac_cv_prog_WINDRES
6362 if test -n "$WINDRES"; then
6363 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6364 echo "${ECHO_T}$WINDRES" >&6; }
6366 { echo "$as_me:$LINENO: result: no" >&5
6367 echo "${ECHO_T}no" >&6; }
6372 if test -z "$ac_cv_prog_WINDRES"; then
6373 ac_ct_WINDRES=$WINDRES
6374 # Extract the first word of "windres", so it can be a program name with args.
6375 set dummy windres; ac_word=$2
6376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6378 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6381 if test -n "$ac_ct_WINDRES"; then
6382 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6388 test -z "$as_dir" && as_dir=.
6389 for ac_exec_ext in '' $ac_executable_extensions; do
6390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6391 ac_cv_prog_ac_ct_WINDRES="windres"
6392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6401 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6402 if test -n "$ac_ct_WINDRES"; then
6403 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6404 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6406 { echo "$as_me:$LINENO: result: no" >&5
6407 echo "${ECHO_T}no" >&6; }
6410 if test "x$ac_ct_WINDRES" = x; then
6413 case $cross_compiling:$ac_tool_warned in
6415 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6416 whose name does not start with the host triplet. If you think this
6417 configuration is useful to you, please write to autoconf@gnu.org." >&5
6418 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6419 whose name does not start with the host triplet. If you think this
6420 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6421 ac_tool_warned=yes ;;
6423 WINDRES=$ac_ct_WINDRES
6426 WINDRES="$ac_cv_prog_WINDRES"
6429 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6430 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6432 if test "$LN_S" = "ln -s"; then
6433 { echo "$as_me:$LINENO: result: yes" >&5
6434 echo "${ECHO_T}yes" >&6; }
6436 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6437 echo "${ECHO_T}no, using $LN_S" >&6; }
6440 { echo "$as_me:$LINENO: checking whether ln works" >&5
6441 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6442 rm -f conf$$ conf$$.file
6444 if ln conf$$.file conf$$ 2>/dev/null; then
6447 { echo "$as_me:$LINENO: result: yes" >&5
6448 echo "${ECHO_T}yes" >&6; }
6452 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6453 echo "${ECHO_T}no, using $LN" >&6; }
6455 rm -f conf$$ conf$$.file
6456 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6457 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6458 if test "${ac_cv_path_GREP+set}" = set; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6461 # Extract the first word of "grep ggrep" to use in msg output
6462 if test -z "$GREP"; then
6463 set dummy grep ggrep; ac_prog_name=$2
6464 if test "${ac_cv_path_GREP+set}" = set; then
6465 echo $ECHO_N "(cached) $ECHO_C" >&6
6467 ac_path_GREP_found=false
6468 # Loop through the user's path and test for each of PROGNAME-LIST
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6473 test -z "$as_dir" && as_dir=.
6474 for ac_prog in grep ggrep; do
6475 for ac_exec_ext in '' $ac_executable_extensions; do
6476 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6477 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6478 # Check for GNU ac_path_GREP and select it if it is found.
6479 # Check for GNU $ac_path_GREP
6480 case `"$ac_path_GREP" --version 2>&1` in
6482 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6485 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6488 cat "conftest.in" "conftest.in" >"conftest.tmp"
6489 mv "conftest.tmp" "conftest.in"
6490 cp "conftest.in" "conftest.nl"
6491 echo 'GREP' >> "conftest.nl"
6492 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6493 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6494 ac_count=`expr $ac_count + 1`
6495 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6496 # Best one so far, save it but keep looking for a better one
6497 ac_cv_path_GREP="$ac_path_GREP"
6498 ac_path_GREP_max=$ac_count
6500 # 10*(2^10) chars as input seems more than enough
6501 test $ac_count -gt 10 && break
6503 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6507 $ac_path_GREP_found && break 3
6517 GREP="$ac_cv_path_GREP"
6518 if test -z "$GREP"; then
6519 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6520 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6521 { (exit 1); exit 1; }; }
6525 ac_cv_path_GREP=$GREP
6530 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6531 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6532 GREP="$ac_cv_path_GREP"
6535 { echo "$as_me:$LINENO: checking for egrep" >&5
6536 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6537 if test "${ac_cv_path_EGREP+set}" = set; then
6538 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6541 then ac_cv_path_EGREP="$GREP -E"
6543 # Extract the first word of "egrep" to use in msg output
6544 if test -z "$EGREP"; then
6545 set dummy egrep; ac_prog_name=$2
6546 if test "${ac_cv_path_EGREP+set}" = set; then
6547 echo $ECHO_N "(cached) $ECHO_C" >&6
6549 ac_path_EGREP_found=false
6550 # Loop through the user's path and test for each of PROGNAME-LIST
6551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6552 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6555 test -z "$as_dir" && as_dir=.
6556 for ac_prog in egrep; do
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6559 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6560 # Check for GNU ac_path_EGREP and select it if it is found.
6561 # Check for GNU $ac_path_EGREP
6562 case `"$ac_path_EGREP" --version 2>&1` in
6564 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6567 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6570 cat "conftest.in" "conftest.in" >"conftest.tmp"
6571 mv "conftest.tmp" "conftest.in"
6572 cp "conftest.in" "conftest.nl"
6573 echo 'EGREP' >> "conftest.nl"
6574 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6575 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6576 ac_count=`expr $ac_count + 1`
6577 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6578 # Best one so far, save it but keep looking for a better one
6579 ac_cv_path_EGREP="$ac_path_EGREP"
6580 ac_path_EGREP_max=$ac_count
6582 # 10*(2^10) chars as input seems more than enough
6583 test $ac_count -gt 10 && break
6585 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6589 $ac_path_EGREP_found && break 3
6599 EGREP="$ac_cv_path_EGREP"
6600 if test -z "$EGREP"; then
6601 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6602 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6603 { (exit 1); exit 1; }; }
6607 ac_cv_path_EGREP=$EGREP
6613 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6614 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6615 EGREP="$ac_cv_path_EGREP"
6618 # Extract the first word of "ldconfig", so it can be a program name with args.
6619 set dummy ldconfig; ac_word=$2
6620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6622 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6623 echo $ECHO_N "(cached) $ECHO_C" >&6
6627 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6631 for as_dir in /sbin /usr/sbin $PATH
6634 test -z "$as_dir" && as_dir=.
6635 for ac_exec_ext in '' $ac_executable_extensions; do
6636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6637 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6645 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6649 LDCONFIG=$ac_cv_path_LDCONFIG
6650 if test -n "$LDCONFIG"; then
6651 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6652 echo "${ECHO_T}$LDCONFIG" >&6; }
6654 { echo "$as_me:$LINENO: result: no" >&5
6655 echo "${ECHO_T}no" >&6; }
6659 # Find a good install program. We prefer a C program (faster),
6660 # so one script is as good as another. But avoid the broken or
6661 # incompatible versions:
6662 # SysV /etc/install, /usr/sbin/install
6663 # SunOS /usr/etc/install
6664 # IRIX /sbin/install
6666 # AmigaOS /C/install, which installs bootblocks on floppy discs
6667 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6668 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6669 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6670 # OS/2's system install, which has a completely different semantic
6671 # ./install, which can be erroneously created by make from ./install.sh.
6672 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6673 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6674 if test -z "$INSTALL"; then
6675 if test "${ac_cv_path_install+set}" = set; then
6676 echo $ECHO_N "(cached) $ECHO_C" >&6
6678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682 test -z "$as_dir" && as_dir=.
6683 # Account for people who put trailing slashes in PATH elements.
6685 ./ | .// | /cC/* | \
6686 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6687 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6690 # OSF1 and SCO ODT 3.0 have their own names for install.
6691 # Don't use installbsd from OSF since it installs stuff as root
6693 for ac_prog in ginstall scoinst install; do
6694 for ac_exec_ext in '' $ac_executable_extensions; do
6695 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6696 if test $ac_prog = install &&
6697 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6698 # AIX install. It has an incompatible calling convention.
6700 elif test $ac_prog = install &&
6701 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6702 # program-specific install script used by HP pwplus--don't use.
6705 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6718 if test "${ac_cv_path_install+set}" = set; then
6719 INSTALL=$ac_cv_path_install
6721 # As a last resort, use the slow shell script. Don't cache a
6722 # value for INSTALL within a source directory, because that will
6723 # break other packages using the cache if that directory is
6724 # removed, or if the value is a relative name.
6725 INSTALL=$ac_install_sh
6728 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6729 echo "${ECHO_T}$INSTALL" >&6; }
6731 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6732 # It thinks the first close brace ends the variable substitution.
6733 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6735 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6737 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6740 [\\/$]* | ?:[\\/]* ) ;;
6741 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6744 for ac_prog in lclint lint
6746 # Extract the first word of "$ac_prog", so it can be a program name with args.
6747 set dummy $ac_prog; ac_word=$2
6748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6750 if test "${ac_cv_prog_LINT+set}" = set; then
6751 echo $ECHO_N "(cached) $ECHO_C" >&6
6753 if test -n "$LINT"; then
6754 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6760 test -z "$as_dir" && as_dir=.
6761 for ac_exec_ext in '' $ac_executable_extensions; do
6762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6763 ac_cv_prog_LINT="$ac_prog"
6764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6773 LINT=$ac_cv_prog_LINT
6774 if test -n "$LINT"; then
6775 { echo "$as_me:$LINENO: result: $LINT" >&5
6776 echo "${ECHO_T}$LINT" >&6; }
6778 { echo "$as_me:$LINENO: result: no" >&5
6779 echo "${ECHO_T}no" >&6; }
6783 test -n "$LINT" && break
6786 if test "$LINT" = "lint"
6788 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6793 for ac_prog in fontforge
6795 # Extract the first word of "$ac_prog", so it can be a program name with args.
6796 set dummy $ac_prog; ac_word=$2
6797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6799 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6800 echo $ECHO_N "(cached) $ECHO_C" >&6
6802 if test -n "$FONTFORGE"; then
6803 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6809 test -z "$as_dir" && as_dir=.
6810 for ac_exec_ext in '' $ac_executable_extensions; do
6811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6812 ac_cv_prog_FONTFORGE="$ac_prog"
6813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6822 FONTFORGE=$ac_cv_prog_FONTFORGE
6823 if test -n "$FONTFORGE"; then
6824 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6825 echo "${ECHO_T}$FONTFORGE" >&6; }
6827 { echo "$as_me:$LINENO: result: no" >&5
6828 echo "${ECHO_T}no" >&6; }
6832 test -n "$FONTFORGE" && break
6834 test -n "$FONTFORGE" || FONTFORGE="false"
6836 for ac_prog in pkg-config
6838 # Extract the first word of "$ac_prog", so it can be a program name with args.
6839 set dummy $ac_prog; ac_word=$2
6840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6842 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6843 echo $ECHO_N "(cached) $ECHO_C" >&6
6845 if test -n "$PKG_CONFIG"; then
6846 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852 test -z "$as_dir" && as_dir=.
6853 for ac_exec_ext in '' $ac_executable_extensions; do
6854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6855 ac_cv_prog_PKG_CONFIG="$ac_prog"
6856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6865 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6866 if test -n "$PKG_CONFIG"; then
6867 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6868 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6870 { echo "$as_me:$LINENO: result: no" >&5
6871 echo "${ECHO_T}no" >&6; }
6875 test -n "$PKG_CONFIG" && break
6877 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6882 # Extract the first word of "prelink", so it can be a program name with args.
6883 set dummy prelink; ac_word=$2
6884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6886 if test "${ac_cv_path_PRELINK+set}" = set; then
6887 echo $ECHO_N "(cached) $ECHO_C" >&6
6891 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6895 for as_dir in /sbin /usr/sbin $PATH
6898 test -z "$as_dir" && as_dir=.
6899 for ac_exec_ext in '' $ac_executable_extensions; do
6900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6901 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6909 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6913 PRELINK=$ac_cv_path_PRELINK
6914 if test -n "$PRELINK"; then
6915 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6916 echo "${ECHO_T}$PRELINK" >&6; }
6918 { echo "$as_me:$LINENO: result: no" >&5
6919 echo "${ECHO_T}no" >&6; }
6928 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6929 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6930 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6931 echo $ECHO_N "(cached) $ECHO_C" >&6
6933 ac_check_lib_save_LIBS=$LIBS
6935 cat >conftest.$ac_ext <<_ACEOF
6938 cat confdefs.h >>conftest.$ac_ext
6939 cat >>conftest.$ac_ext <<_ACEOF
6940 /* end confdefs.h. */
6942 /* Override any GCC internal prototype to avoid an error.
6943 Use char because int might match the return type of a GCC
6944 builtin and then its argument prototype would still apply. */
6948 char i386_set_ldt ();
6952 return i386_set_ldt ();
6957 rm -f conftest.$ac_objext conftest$ac_exeext
6958 if { (ac_try="$ac_link"
6960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6961 *) ac_try_echo=$ac_try;;
6963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6964 (eval "$ac_link") 2>conftest.er1
6966 grep -v '^ *+' conftest.er1 >conftest.err
6968 cat conftest.err >&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); } &&
6971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6972 { (case "(($ac_try" in
6973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6974 *) ac_try_echo=$ac_try;;
6976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6977 (eval "$ac_try") 2>&5
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; } &&
6981 { ac_try='test -s conftest$ac_exeext'
6982 { (case "(($ac_try" in
6983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6984 *) ac_try_echo=$ac_try;;
6986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6987 (eval "$ac_try") 2>&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); }; }; then
6991 ac_cv_lib_i386_i386_set_ldt=yes
6993 echo "$as_me: failed program was:" >&5
6994 sed 's/^/| /' conftest.$ac_ext >&5
6996 ac_cv_lib_i386_i386_set_ldt=no
6999 rm -f core conftest.err conftest.$ac_objext \
7000 conftest$ac_exeext conftest.$ac_ext
7001 LIBS=$ac_check_lib_save_LIBS
7003 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7004 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
7005 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7006 cat >>confdefs.h <<_ACEOF
7007 #define HAVE_LIBI386 1
7015 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7016 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7017 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7018 echo $ECHO_N "(cached) $ECHO_C" >&6
7020 ac_check_lib_save_LIBS=$LIBS
7021 LIBS="-lossaudio $LIBS"
7022 cat >conftest.$ac_ext <<_ACEOF
7025 cat confdefs.h >>conftest.$ac_ext
7026 cat >>conftest.$ac_ext <<_ACEOF
7027 /* end confdefs.h. */
7029 /* Override any GCC internal prototype to avoid an error.
7030 Use char because int might match the return type of a GCC
7031 builtin and then its argument prototype would still apply. */
7039 return _oss_ioctl ();
7044 rm -f conftest.$ac_objext conftest$ac_exeext
7045 if { (ac_try="$ac_link"
7047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7048 *) ac_try_echo=$ac_try;;
7050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7051 (eval "$ac_link") 2>conftest.er1
7053 grep -v '^ *+' conftest.er1 >conftest.err
7055 cat conftest.err >&5
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); } &&
7058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7059 { (case "(($ac_try" in
7060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7061 *) ac_try_echo=$ac_try;;
7063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7064 (eval "$ac_try") 2>&5
7066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067 (exit $ac_status); }; } &&
7068 { ac_try='test -s conftest$ac_exeext'
7069 { (case "(($ac_try" in
7070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7071 *) ac_try_echo=$ac_try;;
7073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7074 (eval "$ac_try") 2>&5
7076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7077 (exit $ac_status); }; }; then
7078 ac_cv_lib_ossaudio__oss_ioctl=yes
7080 echo "$as_me: failed program was:" >&5
7081 sed 's/^/| /' conftest.$ac_ext >&5
7083 ac_cv_lib_ossaudio__oss_ioctl=no
7086 rm -f core conftest.err conftest.$ac_objext \
7087 conftest$ac_exeext conftest.$ac_ext
7088 LIBS=$ac_check_lib_save_LIBS
7090 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7091 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7092 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7093 cat >>confdefs.h <<_ACEOF
7094 #define HAVE_LIBOSSAUDIO 1
7097 LIBS="-lossaudio $LIBS"
7102 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7103 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7104 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7105 echo $ECHO_N "(cached) $ECHO_C" >&6
7107 ac_check_lib_save_LIBS=$LIBS
7109 cat >conftest.$ac_ext <<_ACEOF
7112 cat confdefs.h >>conftest.$ac_ext
7113 cat >>conftest.$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7116 /* Override any GCC internal prototype to avoid an error.
7117 Use char because int might match the return type of a GCC
7118 builtin and then its argument prototype would still apply. */
7122 char _xpg4_setrunelocale ();
7126 return _xpg4_setrunelocale ();
7131 rm -f conftest.$ac_objext conftest$ac_exeext
7132 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
7140 grep -v '^ *+' conftest.er1 >conftest.err
7142 cat conftest.err >&5
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); } &&
7145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7146 { (case "(($ac_try" in
7147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7148 *) ac_try_echo=$ac_try;;
7150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7151 (eval "$ac_try") 2>&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; } &&
7155 { ac_try='test -s conftest$ac_exeext'
7156 { (case "(($ac_try" in
7157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7158 *) ac_try_echo=$ac_try;;
7160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7161 (eval "$ac_try") 2>&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); }; }; then
7165 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7167 echo "$as_me: failed program was:" >&5
7168 sed 's/^/| /' conftest.$ac_ext >&5
7170 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7173 rm -f core conftest.err conftest.$ac_objext \
7174 conftest$ac_exeext conftest.$ac_ext
7175 LIBS=$ac_check_lib_save_LIBS
7177 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7178 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7179 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7180 cat >>confdefs.h <<_ACEOF
7181 #define HAVE_LIBXPG4 1
7188 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7189 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7190 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7193 ac_check_lib_save_LIBS=$LIBS
7194 LIBS="-lpthread $LIBS"
7195 cat >conftest.$ac_ext <<_ACEOF
7198 cat confdefs.h >>conftest.$ac_ext
7199 cat >>conftest.$ac_ext <<_ACEOF
7200 /* end confdefs.h. */
7202 /* Override any GCC internal prototype to avoid an error.
7203 Use char because int might match the return type of a GCC
7204 builtin and then its argument prototype would still apply. */
7208 char pthread_create ();
7212 return pthread_create ();
7217 rm -f conftest.$ac_objext conftest$ac_exeext
7218 if { (ac_try="$ac_link"
7220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7221 *) ac_try_echo=$ac_try;;
7223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7224 (eval "$ac_link") 2>conftest.er1
7226 grep -v '^ *+' conftest.er1 >conftest.err
7228 cat conftest.err >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); } &&
7231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7232 { (case "(($ac_try" in
7233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7234 *) ac_try_echo=$ac_try;;
7236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7237 (eval "$ac_try") 2>&5
7239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7240 (exit $ac_status); }; } &&
7241 { ac_try='test -s conftest$ac_exeext'
7242 { (case "(($ac_try" in
7243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7244 *) ac_try_echo=$ac_try;;
7246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7247 (eval "$ac_try") 2>&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); }; }; then
7251 ac_cv_lib_pthread_pthread_create=yes
7253 echo "$as_me: failed program was:" >&5
7254 sed 's/^/| /' conftest.$ac_ext >&5
7256 ac_cv_lib_pthread_pthread_create=no
7259 rm -f core conftest.err conftest.$ac_objext \
7260 conftest$ac_exeext conftest.$ac_ext
7261 LIBS=$ac_check_lib_save_LIBS
7263 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7264 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7265 if test $ac_cv_lib_pthread_pthread_create = yes; then
7266 LIBPTHREAD="-lpthread"
7283 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7284 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7285 if test "${ac_cv_header_stdc+set}" = set; then
7286 echo $ECHO_N "(cached) $ECHO_C" >&6
7288 cat >conftest.$ac_ext <<_ACEOF
7291 cat confdefs.h >>conftest.$ac_ext
7292 cat >>conftest.$ac_ext <<_ACEOF
7293 /* end confdefs.h. */
7307 rm -f conftest.$ac_objext
7308 if { (ac_try="$ac_compile"
7310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7311 *) ac_try_echo=$ac_try;;
7313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7314 (eval "$ac_compile") 2>conftest.er1
7316 grep -v '^ *+' conftest.er1 >conftest.err
7318 cat conftest.err >&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); } &&
7321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7322 { (case "(($ac_try" in
7323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7324 *) ac_try_echo=$ac_try;;
7326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7327 (eval "$ac_try") 2>&5
7329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); }; } &&
7331 { ac_try='test -s conftest.$ac_objext'
7332 { (case "(($ac_try" in
7333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7334 *) ac_try_echo=$ac_try;;
7336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7337 (eval "$ac_try") 2>&5
7339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340 (exit $ac_status); }; }; then
7341 ac_cv_header_stdc=yes
7343 echo "$as_me: failed program was:" >&5
7344 sed 's/^/| /' conftest.$ac_ext >&5
7346 ac_cv_header_stdc=no
7349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7351 if test $ac_cv_header_stdc = yes; then
7352 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7353 cat >conftest.$ac_ext <<_ACEOF
7356 cat confdefs.h >>conftest.$ac_ext
7357 cat >>conftest.$ac_ext <<_ACEOF
7358 /* end confdefs.h. */
7362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7363 $EGREP "memchr" >/dev/null 2>&1; then
7366 ac_cv_header_stdc=no
7372 if test $ac_cv_header_stdc = yes; then
7373 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7374 cat >conftest.$ac_ext <<_ACEOF
7377 cat confdefs.h >>conftest.$ac_ext
7378 cat >>conftest.$ac_ext <<_ACEOF
7379 /* end confdefs.h. */
7383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7384 $EGREP "free" >/dev/null 2>&1; then
7387 ac_cv_header_stdc=no
7393 if test $ac_cv_header_stdc = yes; then
7394 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7395 if test "$cross_compiling" = yes; then
7398 cat >conftest.$ac_ext <<_ACEOF
7401 cat confdefs.h >>conftest.$ac_ext
7402 cat >>conftest.$ac_ext <<_ACEOF
7403 /* end confdefs.h. */
7406 #if ((' ' & 0x0FF) == 0x020)
7407 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7408 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7410 # define ISLOWER(c) \
7411 (('a' <= (c) && (c) <= 'i') \
7412 || ('j' <= (c) && (c) <= 'r') \
7413 || ('s' <= (c) && (c) <= 'z'))
7414 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7417 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7422 for (i = 0; i < 256; i++)
7423 if (XOR (islower (i), ISLOWER (i))
7424 || toupper (i) != TOUPPER (i))
7429 rm -f conftest$ac_exeext
7430 if { (ac_try="$ac_link"
7432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7433 *) ac_try_echo=$ac_try;;
7435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7436 (eval "$ac_link") 2>&5
7438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7440 { (case "(($ac_try" in
7441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7442 *) ac_try_echo=$ac_try;;
7444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7445 (eval "$ac_try") 2>&5
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); }; }; then
7451 echo "$as_me: program exited with status $ac_status" >&5
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.$ac_ext >&5
7456 ac_cv_header_stdc=no
7458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7464 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7465 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7466 if test $ac_cv_header_stdc = yes; then
7468 cat >>confdefs.h <<\_ACEOF
7469 #define STDC_HEADERS 1
7474 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7484 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7485 inttypes.h stdint.h unistd.h
7487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7488 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7491 echo $ECHO_N "(cached) $ECHO_C" >&6
7493 cat >conftest.$ac_ext <<_ACEOF
7496 cat confdefs.h >>conftest.$ac_ext
7497 cat >>conftest.$ac_ext <<_ACEOF
7498 /* end confdefs.h. */
7499 $ac_includes_default
7501 #include <$ac_header>
7503 rm -f conftest.$ac_objext
7504 if { (ac_try="$ac_compile"
7506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7507 *) ac_try_echo=$ac_try;;
7509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7510 (eval "$ac_compile") 2>conftest.er1
7512 grep -v '^ *+' conftest.er1 >conftest.err
7514 cat conftest.err >&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); } &&
7517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7518 { (case "(($ac_try" in
7519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7520 *) ac_try_echo=$ac_try;;
7522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7523 (eval "$ac_try") 2>&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); }; } &&
7527 { ac_try='test -s conftest.$ac_objext'
7528 { (case "(($ac_try" in
7529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7530 *) ac_try_echo=$ac_try;;
7532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7533 (eval "$ac_try") 2>&5
7535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536 (exit $ac_status); }; }; then
7537 eval "$as_ac_Header=yes"
7539 echo "$as_me: failed program was:" >&5
7540 sed 's/^/| /' conftest.$ac_ext >&5
7542 eval "$as_ac_Header=no"
7545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7547 ac_res=`eval echo '${'$as_ac_Header'}'`
7548 { echo "$as_me:$LINENO: result: $ac_res" >&5
7549 echo "${ECHO_T}$ac_res" >&6; }
7550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7551 cat >>confdefs.h <<_ACEOF
7552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7667 AudioUnit/AudioUnit.h \
7668 CoreAudio/CoreAudio.h \
7681 fontconfig/fontconfig.h \
7706 machine/soundcard.h \
7711 netinet/in_systm.h \
7775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7777 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7779 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7782 ac_res=`eval echo '${'$as_ac_Header'}'`
7783 { echo "$as_me:$LINENO: result: $ac_res" >&5
7784 echo "${ECHO_T}$ac_res" >&6; }
7786 # Is the header compilable?
7787 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7789 cat >conftest.$ac_ext <<_ACEOF
7792 cat confdefs.h >>conftest.$ac_ext
7793 cat >>conftest.$ac_ext <<_ACEOF
7794 /* end confdefs.h. */
7795 $ac_includes_default
7796 #include <$ac_header>
7798 rm -f conftest.$ac_objext
7799 if { (ac_try="$ac_compile"
7801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7802 *) ac_try_echo=$ac_try;;
7804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7805 (eval "$ac_compile") 2>conftest.er1
7807 grep -v '^ *+' conftest.er1 >conftest.err
7809 cat conftest.err >&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); } &&
7812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7813 { (case "(($ac_try" in
7814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7815 *) ac_try_echo=$ac_try;;
7817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7818 (eval "$ac_try") 2>&5
7820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7821 (exit $ac_status); }; } &&
7822 { ac_try='test -s conftest.$ac_objext'
7823 { (case "(($ac_try" in
7824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7825 *) ac_try_echo=$ac_try;;
7827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7828 (eval "$ac_try") 2>&5
7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); }; }; then
7832 ac_header_compiler=yes
7834 echo "$as_me: failed program was:" >&5
7835 sed 's/^/| /' conftest.$ac_ext >&5
7837 ac_header_compiler=no
7840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7841 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7842 echo "${ECHO_T}$ac_header_compiler" >&6; }
7844 # Is the header present?
7845 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7846 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7847 cat >conftest.$ac_ext <<_ACEOF
7850 cat confdefs.h >>conftest.$ac_ext
7851 cat >>conftest.$ac_ext <<_ACEOF
7852 /* end confdefs.h. */
7853 #include <$ac_header>
7855 if { (ac_try="$ac_cpp conftest.$ac_ext"
7857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7858 *) ac_try_echo=$ac_try;;
7860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7863 grep -v '^ *+' conftest.er1 >conftest.err
7865 cat conftest.err >&5
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 (exit $ac_status); } >/dev/null; then
7868 if test -s conftest.err; then
7869 ac_cpp_err=$ac_c_preproc_warn_flag
7870 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7877 if test -z "$ac_cpp_err"; then
7878 ac_header_preproc=yes
7880 echo "$as_me: failed program was:" >&5
7881 sed 's/^/| /' conftest.$ac_ext >&5
7883 ac_header_preproc=no
7886 rm -f conftest.err conftest.$ac_ext
7887 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7888 echo "${ECHO_T}$ac_header_preproc" >&6; }
7890 # So? What about this header?
7891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7896 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7897 ac_header_preproc=yes
7900 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7901 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7902 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7903 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7904 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7905 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7906 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7907 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7910 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7913 ## ------------------------------------ ##
7914 ## Report this to wine-devel@winehq.org ##
7915 ## ------------------------------------ ##
7917 ) | sed "s/^/$as_me: WARNING: /" >&2
7920 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7922 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6
7925 eval "$as_ac_Header=\$ac_header_preproc"
7927 ac_res=`eval echo '${'$as_ac_Header'}'`
7928 { echo "$as_me:$LINENO: result: $ac_res" >&5
7929 echo "${ECHO_T}$ac_res" >&6; }
7932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7933 cat >>confdefs.h <<_ACEOF
7934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7941 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7942 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7943 if test "${ac_cv_header_stat_broken+set}" = set; then
7944 echo $ECHO_N "(cached) $ECHO_C" >&6
7946 cat >conftest.$ac_ext <<_ACEOF
7949 cat confdefs.h >>conftest.$ac_ext
7950 cat >>conftest.$ac_ext <<_ACEOF
7951 /* end confdefs.h. */
7952 #include <sys/types.h>
7953 #include <sys/stat.h>
7955 #if defined S_ISBLK && defined S_IFDIR
7956 # if S_ISBLK (S_IFDIR)
7961 #if defined S_ISBLK && defined S_IFCHR
7962 # if S_ISBLK (S_IFCHR)
7967 #if defined S_ISLNK && defined S_IFREG
7968 # if S_ISLNK (S_IFREG)
7973 #if defined S_ISSOCK && defined S_IFREG
7974 # if S_ISSOCK (S_IFREG)
7980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7981 $EGREP "You lose" >/dev/null 2>&1; then
7982 ac_cv_header_stat_broken=yes
7984 ac_cv_header_stat_broken=no
7989 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7990 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7991 if test $ac_cv_header_stat_broken = yes; then
7993 cat >>confdefs.h <<\_ACEOF
7994 #define STAT_MACROS_BROKEN 1
8005 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
8007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8013 cat >conftest.$ac_ext <<_ACEOF
8016 cat confdefs.h >>conftest.$ac_ext
8017 cat >>conftest.$ac_ext <<_ACEOF
8018 /* end confdefs.h. */
8019 #include <sys/types.h>
8020 #if HAVE_SYS_PARAM_H
8021 # include <sys/param.h>
8024 #include <$ac_header>
8026 rm -f conftest.$ac_objext
8027 if { (ac_try="$ac_compile"
8029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8030 *) ac_try_echo=$ac_try;;
8032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8033 (eval "$ac_compile") 2>conftest.er1
8035 grep -v '^ *+' conftest.er1 >conftest.err
8037 cat conftest.err >&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); } &&
8040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8041 { (case "(($ac_try" in
8042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8043 *) ac_try_echo=$ac_try;;
8045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8046 (eval "$ac_try") 2>&5
8048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8049 (exit $ac_status); }; } &&
8050 { ac_try='test -s conftest.$ac_objext'
8051 { (case "(($ac_try" in
8052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8053 *) ac_try_echo=$ac_try;;
8055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8056 (eval "$ac_try") 2>&5
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); }; }; then
8060 eval "$as_ac_Header=yes"
8062 echo "$as_me: failed program was:" >&5
8063 sed 's/^/| /' conftest.$ac_ext >&5
8065 eval "$as_ac_Header=no"
8068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8070 ac_res=`eval echo '${'$as_ac_Header'}'`
8071 { echo "$as_me:$LINENO: result: $ac_res" >&5
8072 echo "${ECHO_T}$ac_res" >&6; }
8073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8074 cat >>confdefs.h <<_ACEOF
8075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8089 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
8091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8092 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8094 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8095 echo $ECHO_N "(cached) $ECHO_C" >&6
8097 cat >conftest.$ac_ext <<_ACEOF
8100 cat confdefs.h >>conftest.$ac_ext
8101 cat >>conftest.$ac_ext <<_ACEOF
8102 /* end confdefs.h. */
8103 #include <sys/types.h>
8104 #if HAVE_SYS_SOCKET_H
8105 # include <sys/socket.h>
8108 #include <$ac_header>
8110 rm -f conftest.$ac_objext
8111 if { (ac_try="$ac_compile"
8113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8114 *) ac_try_echo=$ac_try;;
8116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8117 (eval "$ac_compile") 2>conftest.er1
8119 grep -v '^ *+' conftest.er1 >conftest.err
8121 cat conftest.err >&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); } &&
8124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8125 { (case "(($ac_try" in
8126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8127 *) ac_try_echo=$ac_try;;
8129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8130 (eval "$ac_try") 2>&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; } &&
8134 { ac_try='test -s conftest.$ac_objext'
8135 { (case "(($ac_try" in
8136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8137 *) ac_try_echo=$ac_try;;
8139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8140 (eval "$ac_try") 2>&5
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); }; }; then
8144 eval "$as_ac_Header=yes"
8146 echo "$as_me: failed program was:" >&5
8147 sed 's/^/| /' conftest.$ac_ext >&5
8149 eval "$as_ac_Header=no"
8152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8154 ac_res=`eval echo '${'$as_ac_Header'}'`
8155 { echo "$as_me:$LINENO: result: $ac_res" >&5
8156 echo "${ECHO_T}$ac_res" >&6; }
8157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8158 cat >>confdefs.h <<_ACEOF
8159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8168 for ac_header in linux/ipx.h
8170 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8171 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8173 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8174 echo $ECHO_N "(cached) $ECHO_C" >&6
8176 cat >conftest.$ac_ext <<_ACEOF
8179 cat confdefs.h >>conftest.$ac_ext
8180 cat >>conftest.$ac_ext <<_ACEOF
8181 /* end confdefs.h. */
8182 #include <sys/types.h>
8183 #ifdef HAVE_ASM_TYPES_H
8184 # include <asm/types.h>
8186 #if HAVE_SYS_SOCKET_H
8187 # include <sys/socket.h>
8190 #include <$ac_header>
8192 rm -f conftest.$ac_objext
8193 if { (ac_try="$ac_compile"
8195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8196 *) ac_try_echo=$ac_try;;
8198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8199 (eval "$ac_compile") 2>conftest.er1
8201 grep -v '^ *+' conftest.er1 >conftest.err
8203 cat conftest.err >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); } &&
8206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8207 { (case "(($ac_try" in
8208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8209 *) ac_try_echo=$ac_try;;
8211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8212 (eval "$ac_try") 2>&5
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); }; } &&
8216 { ac_try='test -s conftest.$ac_objext'
8217 { (case "(($ac_try" in
8218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8219 *) ac_try_echo=$ac_try;;
8221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8222 (eval "$ac_try") 2>&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); }; }; then
8226 eval "$as_ac_Header=yes"
8228 echo "$as_me: failed program was:" >&5
8229 sed 's/^/| /' conftest.$ac_ext >&5
8231 eval "$as_ac_Header=no"
8234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8236 ac_res=`eval echo '${'$as_ac_Header'}'`
8237 { echo "$as_me:$LINENO: result: $ac_res" >&5
8238 echo "${ECHO_T}$ac_res" >&6; }
8239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8240 cat >>confdefs.h <<_ACEOF
8241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8250 for ac_header in resolv.h
8252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8253 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8256 echo $ECHO_N "(cached) $ECHO_C" >&6
8258 cat >conftest.$ac_ext <<_ACEOF
8261 cat confdefs.h >>conftest.$ac_ext
8262 cat >>conftest.$ac_ext <<_ACEOF
8263 /* end confdefs.h. */
8264 #include <sys/types.h>
8265 #if HAVE_SYS_SOCKET_H
8266 # include <sys/socket.h>
8268 #if HAVE_NETINET_IN_H
8269 # include <netinet/in.h>
8271 #if HAVE_ARPA_NAMESER_H
8272 # include <arpa/nameser.h>
8275 #include <$ac_header>
8277 rm -f conftest.$ac_objext
8278 if { (ac_try="$ac_compile"
8280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8281 *) ac_try_echo=$ac_try;;
8283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8284 (eval "$ac_compile") 2>conftest.er1
8286 grep -v '^ *+' conftest.er1 >conftest.err
8288 cat conftest.err >&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); } &&
8291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8292 { (case "(($ac_try" in
8293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8294 *) ac_try_echo=$ac_try;;
8296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8297 (eval "$ac_try") 2>&5
8299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300 (exit $ac_status); }; } &&
8301 { ac_try='test -s conftest.$ac_objext'
8302 { (case "(($ac_try" in
8303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8304 *) ac_try_echo=$ac_try;;
8306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8307 (eval "$ac_try") 2>&5
8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310 (exit $ac_status); }; }; then
8311 eval "$as_ac_Header=yes"
8313 echo "$as_me: failed program was:" >&5
8314 sed 's/^/| /' conftest.$ac_ext >&5
8316 eval "$as_ac_Header=no"
8319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8321 ac_res=`eval echo '${'$as_ac_Header'}'`
8322 { echo "$as_me:$LINENO: result: $ac_res" >&5
8323 echo "${ECHO_T}$ac_res" >&6; }
8324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8325 cat >>confdefs.h <<_ACEOF
8326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8335 for ac_header in ucontext.h
8337 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8338 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8340 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8341 echo $ECHO_N "(cached) $ECHO_C" >&6
8343 cat >conftest.$ac_ext <<_ACEOF
8346 cat confdefs.h >>conftest.$ac_ext
8347 cat >>conftest.$ac_ext <<_ACEOF
8348 /* end confdefs.h. */
8351 #include <$ac_header>
8353 rm -f conftest.$ac_objext
8354 if { (ac_try="$ac_compile"
8356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8357 *) ac_try_echo=$ac_try;;
8359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8360 (eval "$ac_compile") 2>conftest.er1
8362 grep -v '^ *+' conftest.er1 >conftest.err
8364 cat conftest.err >&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 (exit $ac_status); } &&
8367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8368 { (case "(($ac_try" in
8369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8370 *) ac_try_echo=$ac_try;;
8372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8373 (eval "$ac_try") 2>&5
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 (exit $ac_status); }; } &&
8377 { ac_try='test -s conftest.$ac_objext'
8378 { (case "(($ac_try" in
8379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8380 *) ac_try_echo=$ac_try;;
8382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8383 (eval "$ac_try") 2>&5
8385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 (exit $ac_status); }; }; then
8387 eval "$as_ac_Header=yes"
8389 echo "$as_me: failed program was:" >&5
8390 sed 's/^/| /' conftest.$ac_ext >&5
8392 eval "$as_ac_Header=no"
8395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8397 ac_res=`eval echo '${'$as_ac_Header'}'`
8398 { echo "$as_me:$LINENO: result: $ac_res" >&5
8399 echo "${ECHO_T}$ac_res" >&6; }
8400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8401 cat >>confdefs.h <<_ACEOF
8402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8411 for ac_header in pthread_np.h
8413 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8414 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8416 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8417 echo $ECHO_N "(cached) $ECHO_C" >&6
8419 cat >conftest.$ac_ext <<_ACEOF
8422 cat confdefs.h >>conftest.$ac_ext
8423 cat >>conftest.$ac_ext <<_ACEOF
8424 /* end confdefs.h. */
8425 #ifdef HAVE_PTHREAD_H
8426 #include <pthread.h>
8429 #include <$ac_header>
8431 rm -f conftest.$ac_objext
8432 if { (ac_try="$ac_compile"
8434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8435 *) ac_try_echo=$ac_try;;
8437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8438 (eval "$ac_compile") 2>conftest.er1
8440 grep -v '^ *+' conftest.er1 >conftest.err
8442 cat conftest.err >&5
8443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 (exit $ac_status); } &&
8445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8446 { (case "(($ac_try" in
8447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8448 *) ac_try_echo=$ac_try;;
8450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8451 (eval "$ac_try") 2>&5
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); }; } &&
8455 { ac_try='test -s conftest.$ac_objext'
8456 { (case "(($ac_try" in
8457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8458 *) ac_try_echo=$ac_try;;
8460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8461 (eval "$ac_try") 2>&5
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); }; }; then
8465 eval "$as_ac_Header=yes"
8467 echo "$as_me: failed program was:" >&5
8468 sed 's/^/| /' conftest.$ac_ext >&5
8470 eval "$as_ac_Header=no"
8473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8475 ac_res=`eval echo '${'$as_ac_Header'}'`
8476 { echo "$as_me:$LINENO: result: $ac_res" >&5
8477 echo "${ECHO_T}$ac_res" >&6; }
8478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8479 cat >>confdefs.h <<_ACEOF
8480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8489 for ac_header in linux/videodev.h
8491 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8492 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8495 echo $ECHO_N "(cached) $ECHO_C" >&6
8497 cat >conftest.$ac_ext <<_ACEOF
8500 cat confdefs.h >>conftest.$ac_ext
8501 cat >>conftest.$ac_ext <<_ACEOF
8502 /* end confdefs.h. */
8503 #ifdef HAVE_SYS_TIME_H
8504 #include <sys/time.h>
8506 #include <sys/types.h>
8507 #ifdef HAVE_ASM_TYPES_H
8508 #include <asm/types.h>
8511 #include <$ac_header>
8513 rm -f conftest.$ac_objext
8514 if { (ac_try="$ac_compile"
8516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8517 *) ac_try_echo=$ac_try;;
8519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8520 (eval "$ac_compile") 2>conftest.er1
8522 grep -v '^ *+' conftest.er1 >conftest.err
8524 cat conftest.err >&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); } &&
8527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8528 { (case "(($ac_try" in
8529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8530 *) ac_try_echo=$ac_try;;
8532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8533 (eval "$ac_try") 2>&5
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); }; } &&
8537 { ac_try='test -s conftest.$ac_objext'
8538 { (case "(($ac_try" in
8539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8540 *) ac_try_echo=$ac_try;;
8542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8543 (eval "$ac_try") 2>&5
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); }; }; then
8547 eval "$as_ac_Header=yes"
8549 echo "$as_me: failed program was:" >&5
8550 sed 's/^/| /' conftest.$ac_ext >&5
8552 eval "$as_ac_Header=no"
8555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8557 ac_res=`eval echo '${'$as_ac_Header'}'`
8558 { echo "$as_me:$LINENO: result: $ac_res" >&5
8559 echo "${ECHO_T}$ac_res" >&6; }
8560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8561 cat >>confdefs.h <<_ACEOF
8562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8571 for ac_header in linux/capi.h
8573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8574 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8576 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8577 echo $ECHO_N "(cached) $ECHO_C" >&6
8579 cat >conftest.$ac_ext <<_ACEOF
8582 cat confdefs.h >>conftest.$ac_ext
8583 cat >>conftest.$ac_ext <<_ACEOF
8584 /* end confdefs.h. */
8587 #include <$ac_header>
8589 rm -f conftest.$ac_objext
8590 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
8598 grep -v '^ *+' conftest.er1 >conftest.err
8600 cat conftest.err >&5
8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); } &&
8603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8604 { (case "(($ac_try" in
8605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8606 *) ac_try_echo=$ac_try;;
8608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8609 (eval "$ac_try") 2>&5
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; } &&
8613 { ac_try='test -s conftest.$ac_objext'
8614 { (case "(($ac_try" in
8615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8616 *) ac_try_echo=$ac_try;;
8618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8619 (eval "$ac_try") 2>&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); }; }; then
8623 eval "$as_ac_Header=yes"
8625 echo "$as_me: failed program was:" >&5
8626 sed 's/^/| /' conftest.$ac_ext >&5
8628 eval "$as_ac_Header=no"
8631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8633 ac_res=`eval echo '${'$as_ac_Header'}'`
8634 { echo "$as_me:$LINENO: result: $ac_res" >&5
8635 echo "${ECHO_T}$ac_res" >&6; }
8636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8637 cat >>confdefs.h <<_ACEOF
8638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8647 if test "$have_x" = "yes"
8650 ac_save_CPPFLAGS="$CPPFLAGS"
8651 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8662 for ac_header in X11/Xlib.h \
8665 X11/extensions/shape.h \
8666 X11/extensions/XInput.h \
8667 X11/extensions/XShm.h \
8668 X11/extensions/Xrandr.h \
8669 X11/extensions/Xrender.h \
8670 X11/extensions/xf86vmode.h
8672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8673 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8675 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8676 echo $ECHO_N "(cached) $ECHO_C" >&6
8678 cat >conftest.$ac_ext <<_ACEOF
8681 cat confdefs.h >>conftest.$ac_ext
8682 cat >>conftest.$ac_ext <<_ACEOF
8683 /* end confdefs.h. */
8684 #ifdef HAVE_X11_XLIB_H
8685 # include <X11/Xlib.h>
8687 #ifdef HAVE_X11_XUTIL_H
8688 # include <X11/Xutil.h>
8691 #include <$ac_header>
8693 rm -f conftest.$ac_objext
8694 if { (ac_try="$ac_compile"
8696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8697 *) ac_try_echo=$ac_try;;
8699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8700 (eval "$ac_compile") 2>conftest.er1
8702 grep -v '^ *+' conftest.er1 >conftest.err
8704 cat conftest.err >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); } &&
8707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8708 { (case "(($ac_try" in
8709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8710 *) ac_try_echo=$ac_try;;
8712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8713 (eval "$ac_try") 2>&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); }; } &&
8717 { ac_try='test -s conftest.$ac_objext'
8718 { (case "(($ac_try" in
8719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8720 *) ac_try_echo=$ac_try;;
8722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8723 (eval "$ac_try") 2>&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; }; then
8727 eval "$as_ac_Header=yes"
8729 echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.$ac_ext >&5
8732 eval "$as_ac_Header=no"
8735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8737 ac_res=`eval echo '${'$as_ac_Header'}'`
8738 { echo "$as_me:$LINENO: result: $ac_res" >&5
8739 echo "${ECHO_T}$ac_res" >&6; }
8740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8741 cat >>confdefs.h <<_ACEOF
8742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8750 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8752 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8753 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8754 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8755 echo $ECHO_N "(cached) $ECHO_C" >&6
8757 ac_check_lib_save_LIBS=$LIBS
8758 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8759 cat >conftest.$ac_ext <<_ACEOF
8762 cat confdefs.h >>conftest.$ac_ext
8763 cat >>conftest.$ac_ext <<_ACEOF
8764 /* end confdefs.h. */
8766 /* Override any GCC internal prototype to avoid an error.
8767 Use char because int might match the return type of a GCC
8768 builtin and then its argument prototype would still apply. */
8772 char XkbQueryExtension ();
8776 return XkbQueryExtension ();
8781 rm -f conftest.$ac_objext conftest$ac_exeext
8782 if { (ac_try="$ac_link"
8784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8785 *) ac_try_echo=$ac_try;;
8787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8788 (eval "$ac_link") 2>conftest.er1
8790 grep -v '^ *+' conftest.er1 >conftest.err
8792 cat conftest.err >&5
8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794 (exit $ac_status); } &&
8795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8796 { (case "(($ac_try" in
8797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8798 *) ac_try_echo=$ac_try;;
8800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8801 (eval "$ac_try") 2>&5
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); }; } &&
8805 { ac_try='test -s conftest$ac_exeext'
8806 { (case "(($ac_try" in
8807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8808 *) ac_try_echo=$ac_try;;
8810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8811 (eval "$ac_try") 2>&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); }; }; then
8815 ac_cv_lib_X11_XkbQueryExtension=yes
8817 echo "$as_me: failed program was:" >&5
8818 sed 's/^/| /' conftest.$ac_ext >&5
8820 ac_cv_lib_X11_XkbQueryExtension=no
8823 rm -f core conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8825 LIBS=$ac_check_lib_save_LIBS
8827 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8828 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8829 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8831 cat >>confdefs.h <<\_ACEOF
8839 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8841 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8842 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8843 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8846 ac_check_lib_save_LIBS=$LIBS
8847 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8848 cat >conftest.$ac_ext <<_ACEOF
8851 cat confdefs.h >>conftest.$ac_ext
8852 cat >>conftest.$ac_ext <<_ACEOF
8853 /* end confdefs.h. */
8855 /* Override any GCC internal prototype to avoid an error.
8856 Use char because int might match the return type of a GCC
8857 builtin and then its argument prototype would still apply. */
8861 char XShmQueryExtension ();
8865 return XShmQueryExtension ();
8870 rm -f conftest.$ac_objext conftest$ac_exeext
8871 if { (ac_try="$ac_link"
8873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8874 *) ac_try_echo=$ac_try;;
8876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8877 (eval "$ac_link") 2>conftest.er1
8879 grep -v '^ *+' conftest.er1 >conftest.err
8881 cat conftest.err >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); } &&
8884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8885 { (case "(($ac_try" in
8886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8887 *) ac_try_echo=$ac_try;;
8889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8890 (eval "$ac_try") 2>&5
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 (exit $ac_status); }; } &&
8894 { ac_try='test -s conftest$ac_exeext'
8895 { (case "(($ac_try" in
8896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8897 *) ac_try_echo=$ac_try;;
8899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8900 (eval "$ac_try") 2>&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); }; }; then
8904 ac_cv_lib_Xext_XShmQueryExtension=yes
8906 echo "$as_me: failed program was:" >&5
8907 sed 's/^/| /' conftest.$ac_ext >&5
8909 ac_cv_lib_Xext_XShmQueryExtension=no
8912 rm -f core conftest.err conftest.$ac_objext \
8913 conftest$ac_exeext conftest.$ac_ext
8914 LIBS=$ac_check_lib_save_LIBS
8916 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8917 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8918 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8920 cat >>confdefs.h <<\_ACEOF
8921 #define HAVE_LIBXXSHM 1
8928 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8930 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8931 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8932 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8933 echo $ECHO_N "(cached) $ECHO_C" >&6
8935 ac_check_lib_save_LIBS=$LIBS
8936 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8937 cat >conftest.$ac_ext <<_ACEOF
8940 cat confdefs.h >>conftest.$ac_ext
8941 cat >>conftest.$ac_ext <<_ACEOF
8942 /* end confdefs.h. */
8944 /* Override any GCC internal prototype to avoid an error.
8945 Use char because int might match the return type of a GCC
8946 builtin and then its argument prototype would still apply. */
8950 char XShapeQueryExtension ();
8954 return XShapeQueryExtension ();
8959 rm -f conftest.$ac_objext conftest$ac_exeext
8960 if { (ac_try="$ac_link"
8962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8963 *) ac_try_echo=$ac_try;;
8965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8966 (eval "$ac_link") 2>conftest.er1
8968 grep -v '^ *+' conftest.er1 >conftest.err
8970 cat conftest.err >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); } &&
8973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8974 { (case "(($ac_try" in
8975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8976 *) ac_try_echo=$ac_try;;
8978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8979 (eval "$ac_try") 2>&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); }; } &&
8983 { ac_try='test -s conftest$ac_exeext'
8984 { (case "(($ac_try" in
8985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8986 *) ac_try_echo=$ac_try;;
8988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8989 (eval "$ac_try") 2>&5
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 (exit $ac_status); }; }; then
8993 ac_cv_lib_Xext_XShapeQueryExtension=yes
8995 echo "$as_me: failed program was:" >&5
8996 sed 's/^/| /' conftest.$ac_ext >&5
8998 ac_cv_lib_Xext_XShapeQueryExtension=no
9001 rm -f core conftest.err conftest.$ac_objext \
9002 conftest$ac_exeext conftest.$ac_ext
9003 LIBS=$ac_check_lib_save_LIBS
9005 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9006 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9007 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9009 cat >>confdefs.h <<\_ACEOF
9010 #define HAVE_LIBXSHAPE 1
9017 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9019 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9020 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9021 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9022 echo $ECHO_N "(cached) $ECHO_C" >&6
9024 ac_check_lib_save_LIBS=$LIBS
9025 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9026 cat >conftest.$ac_ext <<_ACEOF
9029 cat confdefs.h >>conftest.$ac_ext
9030 cat >>conftest.$ac_ext <<_ACEOF
9031 /* end confdefs.h. */
9033 /* Override any GCC internal prototype to avoid an error.
9034 Use char because int might match the return type of a GCC
9035 builtin and then its argument prototype would still apply. */
9039 char XF86VidModeQueryExtension ();
9043 return XF86VidModeQueryExtension ();
9048 rm -f conftest.$ac_objext conftest$ac_exeext
9049 if { (ac_try="$ac_link"
9051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9052 *) ac_try_echo=$ac_try;;
9054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9055 (eval "$ac_link") 2>conftest.er1
9057 grep -v '^ *+' conftest.er1 >conftest.err
9059 cat conftest.err >&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); } &&
9062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9063 { (case "(($ac_try" in
9064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9065 *) ac_try_echo=$ac_try;;
9067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9068 (eval "$ac_try") 2>&5
9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); }; } &&
9072 { ac_try='test -s conftest$ac_exeext'
9073 { (case "(($ac_try" in
9074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9075 *) ac_try_echo=$ac_try;;
9077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9078 (eval "$ac_try") 2>&5
9080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9081 (exit $ac_status); }; }; then
9082 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9084 echo "$as_me: failed program was:" >&5
9085 sed 's/^/| /' conftest.$ac_ext >&5
9087 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9090 rm -f core conftest.err conftest.$ac_objext \
9091 conftest$ac_exeext conftest.$ac_ext
9092 LIBS=$ac_check_lib_save_LIBS
9094 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9095 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9096 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9098 cat >>confdefs.h <<\_ACEOF
9099 #define HAVE_LIBXXF86VM 1
9102 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9108 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9110 cat >conftest.$ac_ext <<_ACEOF
9113 cat confdefs.h >>conftest.$ac_ext
9114 cat >>conftest.$ac_ext <<_ACEOF
9115 /* end confdefs.h. */
9116 #include <X11/Xlib.h>
9117 #include <X11/extensions/Xrandr.h>
9121 static typeof(XRRSetScreenConfigAndRate) * func;
9126 rm -f conftest.$ac_objext
9127 if { (ac_try="$ac_compile"
9129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9130 *) ac_try_echo=$ac_try;;
9132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9133 (eval "$ac_compile") 2>conftest.er1
9135 grep -v '^ *+' conftest.er1 >conftest.err
9137 cat conftest.err >&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); } &&
9140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9141 { (case "(($ac_try" in
9142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9143 *) ac_try_echo=$ac_try;;
9145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9146 (eval "$ac_try") 2>&5
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); }; } &&
9150 { ac_try='test -s conftest.$ac_objext'
9151 { (case "(($ac_try" in
9152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9153 *) ac_try_echo=$ac_try;;
9155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9156 (eval "$ac_try") 2>&5
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); }; }; then
9161 cat >>confdefs.h <<\_ACEOF
9162 #define HAVE_LIBXRANDR 1
9166 echo "$as_me: failed program was:" >&5
9167 sed 's/^/| /' conftest.$ac_ext >&5
9172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9175 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9177 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9178 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9179 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9180 echo $ECHO_N "(cached) $ECHO_C" >&6
9182 ac_check_lib_save_LIBS=$LIBS
9183 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9184 cat >conftest.$ac_ext <<_ACEOF
9187 cat confdefs.h >>conftest.$ac_ext
9188 cat >>conftest.$ac_ext <<_ACEOF
9189 /* end confdefs.h. */
9191 /* Override any GCC internal prototype to avoid an error.
9192 Use char because int might match the return type of a GCC
9193 builtin and then its argument prototype would still apply. */
9197 char XRenderSetPictureTransform ();
9201 return XRenderSetPictureTransform ();
9206 rm -f conftest.$ac_objext conftest$ac_exeext
9207 if { (ac_try="$ac_link"
9209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9210 *) ac_try_echo=$ac_try;;
9212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9213 (eval "$ac_link") 2>conftest.er1
9215 grep -v '^ *+' conftest.er1 >conftest.err
9217 cat conftest.err >&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); } &&
9220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9221 { (case "(($ac_try" in
9222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9223 *) ac_try_echo=$ac_try;;
9225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9226 (eval "$ac_try") 2>&5
9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9229 (exit $ac_status); }; } &&
9230 { ac_try='test -s conftest$ac_exeext'
9231 { (case "(($ac_try" in
9232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9233 *) ac_try_echo=$ac_try;;
9235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9236 (eval "$ac_try") 2>&5
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); }; }; then
9240 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9242 echo "$as_me: failed program was:" >&5
9243 sed 's/^/| /' conftest.$ac_ext >&5
9245 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9248 rm -f core conftest.err conftest.$ac_objext \
9249 conftest$ac_exeext conftest.$ac_ext
9250 LIBS=$ac_check_lib_save_LIBS
9252 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9253 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9254 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9256 cat >>confdefs.h <<\_ACEOF
9257 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9264 if test "x$with_opengl" != "xno"
9270 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9272 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9273 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9275 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9276 echo $ECHO_N "(cached) $ECHO_C" >&6
9278 cat >conftest.$ac_ext <<_ACEOF
9281 cat confdefs.h >>conftest.$ac_ext
9282 cat >>conftest.$ac_ext <<_ACEOF
9283 /* end confdefs.h. */
9284 #ifdef HAVE_GL_GLX_H
9285 # include <GL/glx.h>
9288 #include <$ac_header>
9290 rm -f conftest.$ac_objext
9291 if { (ac_try="$ac_compile"
9293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9294 *) ac_try_echo=$ac_try;;
9296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9297 (eval "$ac_compile") 2>conftest.er1
9299 grep -v '^ *+' conftest.er1 >conftest.err
9301 cat conftest.err >&5
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303 (exit $ac_status); } &&
9304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9305 { (case "(($ac_try" in
9306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9307 *) ac_try_echo=$ac_try;;
9309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9310 (eval "$ac_try") 2>&5
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); }; } &&
9314 { ac_try='test -s conftest.$ac_objext'
9315 { (case "(($ac_try" in
9316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9317 *) ac_try_echo=$ac_try;;
9319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9320 (eval "$ac_try") 2>&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); }; }; then
9324 eval "$as_ac_Header=yes"
9326 echo "$as_me: failed program was:" >&5
9327 sed 's/^/| /' conftest.$ac_ext >&5
9329 eval "$as_ac_Header=no"
9332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9334 ac_res=`eval echo '${'$as_ac_Header'}'`
9335 { echo "$as_me:$LINENO: result: $ac_res" >&5
9336 echo "${ECHO_T}$ac_res" >&6; }
9337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9338 cat >>confdefs.h <<_ACEOF
9339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9346 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9348 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9349 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9350 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9351 echo $ECHO_N "(cached) $ECHO_C" >&6
9353 cat >conftest.$ac_ext <<_ACEOF
9356 cat confdefs.h >>conftest.$ac_ext
9357 cat >>conftest.$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9363 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9368 rm -f conftest.$ac_objext
9369 if { (ac_try="$ac_compile"
9371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9372 *) ac_try_echo=$ac_try;;
9374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9375 (eval "$ac_compile") 2>conftest.er1
9377 grep -v '^ *+' conftest.er1 >conftest.err
9379 cat conftest.err >&5
9380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9381 (exit $ac_status); } &&
9382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9383 { (case "(($ac_try" in
9384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9385 *) ac_try_echo=$ac_try;;
9387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9388 (eval "$ac_try") 2>&5
9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 (exit $ac_status); }; } &&
9392 { ac_try='test -s conftest.$ac_objext'
9393 { (case "(($ac_try" in
9394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9395 *) ac_try_echo=$ac_try;;
9397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9398 (eval "$ac_try") 2>&5
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); }; }; then
9402 wine_cv_opengl_header_version_OK="yes"
9404 echo "$as_me: failed program was:" >&5
9405 sed 's/^/| /' conftest.$ac_ext >&5
9407 wine_cv_opengl_header_version_OK="no"
9411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9414 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9415 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9417 if test "$wine_cv_opengl_header_version_OK" = "yes"
9419 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9420 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9421 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9422 echo $ECHO_N "(cached) $ECHO_C" >&6
9424 ac_check_lib_save_LIBS=$LIBS
9425 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9426 cat >conftest.$ac_ext <<_ACEOF
9429 cat confdefs.h >>conftest.$ac_ext
9430 cat >>conftest.$ac_ext <<_ACEOF
9431 /* end confdefs.h. */
9433 /* Override any GCC internal prototype to avoid an error.
9434 Use char because int might match the return type of a GCC
9435 builtin and then its argument prototype would still apply. */
9439 char glXCreateContext ();
9443 return glXCreateContext ();
9448 rm -f conftest.$ac_objext conftest$ac_exeext
9449 if { (ac_try="$ac_link"
9451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9452 *) ac_try_echo=$ac_try;;
9454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9455 (eval "$ac_link") 2>conftest.er1
9457 grep -v '^ *+' conftest.er1 >conftest.err
9459 cat conftest.err >&5
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); } &&
9462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9463 { (case "(($ac_try" in
9464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9465 *) ac_try_echo=$ac_try;;
9467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9468 (eval "$ac_try") 2>&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); }; } &&
9472 { ac_try='test -s conftest$ac_exeext'
9473 { (case "(($ac_try" in
9474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9475 *) ac_try_echo=$ac_try;;
9477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9478 (eval "$ac_try") 2>&5
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 (exit $ac_status); }; }; then
9482 ac_cv_lib_GL_glXCreateContext=yes
9484 echo "$as_me: failed program was:" >&5
9485 sed 's/^/| /' conftest.$ac_ext >&5
9487 ac_cv_lib_GL_glXCreateContext=no
9490 rm -f core conftest.err conftest.$ac_objext \
9491 conftest$ac_exeext conftest.$ac_ext
9492 LIBS=$ac_check_lib_save_LIBS
9494 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9495 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9496 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9498 OPENGLFILES='$(OPENGLFILES)'
9500 cat >>confdefs.h <<\_ACEOF
9501 #define HAVE_OPENGL 1
9508 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9509 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9510 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9511 echo $ECHO_N "(cached) $ECHO_C" >&6
9513 ac_check_lib_save_LIBS=$LIBS
9514 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9516 cat >conftest.$ac_ext <<_ACEOF
9519 cat confdefs.h >>conftest.$ac_ext
9520 cat >>conftest.$ac_ext <<_ACEOF
9521 /* end confdefs.h. */
9523 /* Override any GCC internal prototype to avoid an error.
9524 Use char because int might match the return type of a GCC
9525 builtin and then its argument prototype would still apply. */
9533 return gluLookAt ();
9538 rm -f conftest.$ac_objext conftest$ac_exeext
9539 if { (ac_try="$ac_link"
9541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9542 *) ac_try_echo=$ac_try;;
9544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9545 (eval "$ac_link") 2>conftest.er1
9547 grep -v '^ *+' conftest.er1 >conftest.err
9549 cat conftest.err >&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); } &&
9552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9553 { (case "(($ac_try" in
9554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9555 *) ac_try_echo=$ac_try;;
9557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9558 (eval "$ac_try") 2>&5
9560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9561 (exit $ac_status); }; } &&
9562 { ac_try='test -s conftest$ac_exeext'
9563 { (case "(($ac_try" in
9564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9565 *) ac_try_echo=$ac_try;;
9567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9568 (eval "$ac_try") 2>&5
9570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9571 (exit $ac_status); }; }; then
9572 ac_cv_lib_GLU_gluLookAt=yes
9574 echo "$as_me: failed program was:" >&5
9575 sed 's/^/| /' conftest.$ac_ext >&5
9577 ac_cv_lib_GLU_gluLookAt=no
9580 rm -f core conftest.err conftest.$ac_objext \
9581 conftest$ac_exeext conftest.$ac_ext
9582 LIBS=$ac_check_lib_save_LIBS
9584 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9585 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9586 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9587 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9588 GLU32FILES='$(GLU32FILES)'
9594 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9595 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
9596 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9597 echo $ECHO_N "(cached) $ECHO_C" >&6
9599 ac_check_lib_save_LIBS=$LIBS
9600 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9601 cat >conftest.$ac_ext <<_ACEOF
9604 cat confdefs.h >>conftest.$ac_ext
9605 cat >>conftest.$ac_ext <<_ACEOF
9606 /* end confdefs.h. */
9608 /* Override any GCC internal prototype to avoid an error.
9609 Use char because int might match the return type of a GCC
9610 builtin and then its argument prototype would still apply. */
9614 char glutMainLoop ();
9618 return glutMainLoop ();
9623 rm -f conftest.$ac_objext conftest$ac_exeext
9624 if { (ac_try="$ac_link"
9626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9627 *) ac_try_echo=$ac_try;;
9629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9630 (eval "$ac_link") 2>conftest.er1
9632 grep -v '^ *+' conftest.er1 >conftest.err
9634 cat conftest.err >&5
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); } &&
9637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9638 { (case "(($ac_try" in
9639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9640 *) ac_try_echo=$ac_try;;
9642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9643 (eval "$ac_try") 2>&5
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); }; } &&
9647 { ac_try='test -s conftest$ac_exeext'
9648 { (case "(($ac_try" in
9649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9650 *) ac_try_echo=$ac_try;;
9652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9653 (eval "$ac_try") 2>&5
9655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 (exit $ac_status); }; }; then
9657 ac_cv_lib_glut_glutMainLoop=yes
9659 echo "$as_me: failed program was:" >&5
9660 sed 's/^/| /' conftest.$ac_ext >&5
9662 ac_cv_lib_glut_glutMainLoop=no
9665 rm -f core conftest.err conftest.$ac_objext \
9666 conftest$ac_exeext conftest.$ac_ext
9667 LIBS=$ac_check_lib_save_LIBS
9669 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9670 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
9671 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9672 GLUT_LIBS="-lglut -lXmu -lXi"
9674 GLUT32FILES='$(GLUT32FILES)'
9679 wine_cv_opengl_headers_found="no"
9685 for ac_header in audio/audiolib.h
9687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9689 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9691 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9692 echo $ECHO_N "(cached) $ECHO_C" >&6
9694 ac_res=`eval echo '${'$as_ac_Header'}'`
9695 { echo "$as_me:$LINENO: result: $ac_res" >&5
9696 echo "${ECHO_T}$ac_res" >&6; }
9698 # Is the header compilable?
9699 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9701 cat >conftest.$ac_ext <<_ACEOF
9704 cat confdefs.h >>conftest.$ac_ext
9705 cat >>conftest.$ac_ext <<_ACEOF
9706 /* end confdefs.h. */
9707 $ac_includes_default
9708 #include <$ac_header>
9710 rm -f conftest.$ac_objext
9711 if { (ac_try="$ac_compile"
9713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9714 *) ac_try_echo=$ac_try;;
9716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9717 (eval "$ac_compile") 2>conftest.er1
9719 grep -v '^ *+' conftest.er1 >conftest.err
9721 cat conftest.err >&5
9722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9723 (exit $ac_status); } &&
9724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9725 { (case "(($ac_try" in
9726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9727 *) ac_try_echo=$ac_try;;
9729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9730 (eval "$ac_try") 2>&5
9732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9733 (exit $ac_status); }; } &&
9734 { ac_try='test -s conftest.$ac_objext'
9735 { (case "(($ac_try" in
9736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9737 *) ac_try_echo=$ac_try;;
9739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9740 (eval "$ac_try") 2>&5
9742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9743 (exit $ac_status); }; }; then
9744 ac_header_compiler=yes
9746 echo "$as_me: failed program was:" >&5
9747 sed 's/^/| /' conftest.$ac_ext >&5
9749 ac_header_compiler=no
9752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9753 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9754 echo "${ECHO_T}$ac_header_compiler" >&6; }
9756 # Is the header present?
9757 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9759 cat >conftest.$ac_ext <<_ACEOF
9762 cat confdefs.h >>conftest.$ac_ext
9763 cat >>conftest.$ac_ext <<_ACEOF
9764 /* end confdefs.h. */
9765 #include <$ac_header>
9767 if { (ac_try="$ac_cpp conftest.$ac_ext"
9769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9770 *) ac_try_echo=$ac_try;;
9772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9775 grep -v '^ *+' conftest.er1 >conftest.err
9777 cat conftest.err >&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); } >/dev/null; then
9780 if test -s conftest.err; then
9781 ac_cpp_err=$ac_c_preproc_warn_flag
9782 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9789 if test -z "$ac_cpp_err"; then
9790 ac_header_preproc=yes
9792 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.$ac_ext >&5
9795 ac_header_preproc=no
9798 rm -f conftest.err conftest.$ac_ext
9799 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9800 echo "${ECHO_T}$ac_header_preproc" >&6; }
9802 # So? What about this header?
9803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9809 ac_header_preproc=yes
9812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9819 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9825 ## ------------------------------------ ##
9826 ## Report this to wine-devel@winehq.org ##
9827 ## ------------------------------------ ##
9829 ) | sed "s/^/$as_me: WARNING: /" >&2
9832 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9834 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9835 echo $ECHO_N "(cached) $ECHO_C" >&6
9837 eval "$as_ac_Header=\$ac_header_preproc"
9839 ac_res=`eval echo '${'$as_ac_Header'}'`
9840 { echo "$as_me:$LINENO: result: $ac_res" >&5
9841 echo "${ECHO_T}$ac_res" >&6; }
9844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9845 cat >>confdefs.h <<_ACEOF
9846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9849 for ac_header in audio/soundlib.h
9851 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9852 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9854 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9855 echo $ECHO_N "(cached) $ECHO_C" >&6
9857 cat >conftest.$ac_ext <<_ACEOF
9860 cat confdefs.h >>conftest.$ac_ext
9861 cat >>conftest.$ac_ext <<_ACEOF
9862 /* end confdefs.h. */
9863 #include <audio/audiolib.h>
9865 #include <$ac_header>
9867 rm -f conftest.$ac_objext
9868 if { (ac_try="$ac_compile"
9870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9871 *) ac_try_echo=$ac_try;;
9873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9874 (eval "$ac_compile") 2>conftest.er1
9876 grep -v '^ *+' conftest.er1 >conftest.err
9878 cat conftest.err >&5
9879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 (exit $ac_status); } &&
9881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9882 { (case "(($ac_try" in
9883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9884 *) ac_try_echo=$ac_try;;
9886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9887 (eval "$ac_try") 2>&5
9889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9890 (exit $ac_status); }; } &&
9891 { ac_try='test -s conftest.$ac_objext'
9892 { (case "(($ac_try" in
9893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9894 *) ac_try_echo=$ac_try;;
9896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9897 (eval "$ac_try") 2>&5
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); }; }; then
9901 eval "$as_ac_Header=yes"
9903 echo "$as_me: failed program was:" >&5
9904 sed 's/^/| /' conftest.$ac_ext >&5
9906 eval "$as_ac_Header=no"
9909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9911 ac_res=`eval echo '${'$as_ac_Header'}'`
9912 { echo "$as_me:$LINENO: result: $ac_res" >&5
9913 echo "${ECHO_T}$ac_res" >&6; }
9914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9915 cat >>confdefs.h <<_ACEOF
9916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9923 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9924 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9925 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9926 echo $ECHO_N "(cached) $ECHO_C" >&6
9928 ac_check_lib_save_LIBS=$LIBS
9929 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9930 cat >conftest.$ac_ext <<_ACEOF
9933 cat confdefs.h >>conftest.$ac_ext
9934 cat >>conftest.$ac_ext <<_ACEOF
9935 /* end confdefs.h. */
9937 /* Override any GCC internal prototype to avoid an error.
9938 Use char because int might match the return type of a GCC
9939 builtin and then its argument prototype would still apply. */
9943 char AuCreateFlow ();
9947 return AuCreateFlow ();
9952 rm -f conftest.$ac_objext conftest$ac_exeext
9953 if { (ac_try="$ac_link"
9955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9956 *) ac_try_echo=$ac_try;;
9958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9959 (eval "$ac_link") 2>conftest.er1
9961 grep -v '^ *+' conftest.er1 >conftest.err
9963 cat conftest.err >&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); } &&
9966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9967 { (case "(($ac_try" in
9968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9969 *) ac_try_echo=$ac_try;;
9971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9972 (eval "$ac_try") 2>&5
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); }; } &&
9976 { ac_try='test -s conftest$ac_exeext'
9977 { (case "(($ac_try" in
9978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9979 *) ac_try_echo=$ac_try;;
9981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9982 (eval "$ac_try") 2>&5
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); }; }; then
9986 ac_cv_lib_audio_AuCreateFlow=yes
9988 echo "$as_me: failed program was:" >&5
9989 sed 's/^/| /' conftest.$ac_ext >&5
9991 ac_cv_lib_audio_AuCreateFlow=no
9994 rm -f core conftest.err conftest.$ac_objext \
9995 conftest$ac_exeext conftest.$ac_ext
9996 LIBS=$ac_check_lib_save_LIBS
9998 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9999 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10000 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10002 cat >>confdefs.h <<\_ACEOF
10006 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10014 CPPFLAGS="$ac_save_CPPFLAGS"
10031 if test "$PKG_CONFIG" != "false"
10033 ac_save_CPPFLAGS="$CPPFLAGS"
10034 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10035 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10036 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10038 for ac_header in libxml/parser.h
10040 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10042 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10044 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10045 echo $ECHO_N "(cached) $ECHO_C" >&6
10047 ac_res=`eval echo '${'$as_ac_Header'}'`
10048 { echo "$as_me:$LINENO: result: $ac_res" >&5
10049 echo "${ECHO_T}$ac_res" >&6; }
10051 # Is the header compilable?
10052 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10054 cat >conftest.$ac_ext <<_ACEOF
10057 cat confdefs.h >>conftest.$ac_ext
10058 cat >>conftest.$ac_ext <<_ACEOF
10059 /* end confdefs.h. */
10060 $ac_includes_default
10061 #include <$ac_header>
10063 rm -f conftest.$ac_objext
10064 if { (ac_try="$ac_compile"
10065 case "(($ac_try" in
10066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10067 *) ac_try_echo=$ac_try;;
10069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10070 (eval "$ac_compile") 2>conftest.er1
10072 grep -v '^ *+' conftest.er1 >conftest.err
10074 cat conftest.err >&5
10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 (exit $ac_status); } &&
10077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10078 { (case "(($ac_try" in
10079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10080 *) ac_try_echo=$ac_try;;
10082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10083 (eval "$ac_try") 2>&5
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); }; } &&
10087 { ac_try='test -s conftest.$ac_objext'
10088 { (case "(($ac_try" in
10089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10090 *) ac_try_echo=$ac_try;;
10092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10093 (eval "$ac_try") 2>&5
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); }; }; then
10097 ac_header_compiler=yes
10099 echo "$as_me: failed program was:" >&5
10100 sed 's/^/| /' conftest.$ac_ext >&5
10102 ac_header_compiler=no
10105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10106 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10107 echo "${ECHO_T}$ac_header_compiler" >&6; }
10109 # Is the header present?
10110 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10111 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10112 cat >conftest.$ac_ext <<_ACEOF
10115 cat confdefs.h >>conftest.$ac_ext
10116 cat >>conftest.$ac_ext <<_ACEOF
10117 /* end confdefs.h. */
10118 #include <$ac_header>
10120 if { (ac_try="$ac_cpp conftest.$ac_ext"
10121 case "(($ac_try" in
10122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10123 *) ac_try_echo=$ac_try;;
10125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10126 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10128 grep -v '^ *+' conftest.er1 >conftest.err
10130 cat conftest.err >&5
10131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10132 (exit $ac_status); } >/dev/null; then
10133 if test -s conftest.err; then
10134 ac_cpp_err=$ac_c_preproc_warn_flag
10135 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10142 if test -z "$ac_cpp_err"; then
10143 ac_header_preproc=yes
10145 echo "$as_me: failed program was:" >&5
10146 sed 's/^/| /' conftest.$ac_ext >&5
10148 ac_header_preproc=no
10151 rm -f conftest.err conftest.$ac_ext
10152 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10153 echo "${ECHO_T}$ac_header_preproc" >&6; }
10155 # So? What about this header?
10156 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10158 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10159 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10161 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10162 ac_header_preproc=yes
10165 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10166 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10167 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10168 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10169 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10170 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10171 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10172 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10174 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10175 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10176 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10178 ## ------------------------------------ ##
10179 ## Report this to wine-devel@winehq.org ##
10180 ## ------------------------------------ ##
10182 ) | sed "s/^/$as_me: WARNING: /" >&2
10185 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10188 echo $ECHO_N "(cached) $ECHO_C" >&6
10190 eval "$as_ac_Header=\$ac_header_preproc"
10192 ac_res=`eval echo '${'$as_ac_Header'}'`
10193 { echo "$as_me:$LINENO: result: $ac_res" >&5
10194 echo "${ECHO_T}$ac_res" >&6; }
10197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10198 cat >>confdefs.h <<_ACEOF
10199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10201 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10202 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10203 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10204 echo $ECHO_N "(cached) $ECHO_C" >&6
10206 ac_check_lib_save_LIBS=$LIBS
10207 LIBS="-lxml2 $ac_xml_libs $LIBS"
10208 cat >conftest.$ac_ext <<_ACEOF
10211 cat confdefs.h >>conftest.$ac_ext
10212 cat >>conftest.$ac_ext <<_ACEOF
10213 /* end confdefs.h. */
10215 /* Override any GCC internal prototype to avoid an error.
10216 Use char because int might match the return type of a GCC
10217 builtin and then its argument prototype would still apply. */
10221 char xmlParseMemory ();
10225 return xmlParseMemory ();
10230 rm -f conftest.$ac_objext conftest$ac_exeext
10231 if { (ac_try="$ac_link"
10232 case "(($ac_try" in
10233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10234 *) ac_try_echo=$ac_try;;
10236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10237 (eval "$ac_link") 2>conftest.er1
10239 grep -v '^ *+' conftest.er1 >conftest.err
10241 cat conftest.err >&5
10242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10243 (exit $ac_status); } &&
10244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10245 { (case "(($ac_try" in
10246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10247 *) ac_try_echo=$ac_try;;
10249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10250 (eval "$ac_try") 2>&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); }; } &&
10254 { ac_try='test -s conftest$ac_exeext'
10255 { (case "(($ac_try" in
10256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10257 *) ac_try_echo=$ac_try;;
10259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10260 (eval "$ac_try") 2>&5
10262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263 (exit $ac_status); }; }; then
10264 ac_cv_lib_xml2_xmlParseMemory=yes
10266 echo "$as_me: failed program was:" >&5
10267 sed 's/^/| /' conftest.$ac_ext >&5
10269 ac_cv_lib_xml2_xmlParseMemory=no
10272 rm -f core conftest.err conftest.$ac_objext \
10273 conftest$ac_exeext conftest.$ac_ext
10274 LIBS=$ac_check_lib_save_LIBS
10276 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10277 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10278 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10280 cat >>confdefs.h <<\_ACEOF
10281 #define HAVE_LIBXML2 1
10284 XML2LIBS="$ac_xml_libs"
10285 XML2INCL="$ac_xml_cflags"
10288 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10289 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10290 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10291 echo $ECHO_N "(cached) $ECHO_C" >&6
10293 ac_check_lib_save_LIBS=$LIBS
10294 LIBS="-lxml2 $ac_xml_libs $LIBS"
10295 cat >conftest.$ac_ext <<_ACEOF
10298 cat confdefs.h >>conftest.$ac_ext
10299 cat >>conftest.$ac_ext <<_ACEOF
10300 /* end confdefs.h. */
10302 /* Override any GCC internal prototype to avoid an error.
10303 Use char because int might match the return type of a GCC
10304 builtin and then its argument prototype would still apply. */
10308 char xmlReadMemory ();
10312 return xmlReadMemory ();
10317 rm -f conftest.$ac_objext conftest$ac_exeext
10318 if { (ac_try="$ac_link"
10319 case "(($ac_try" in
10320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10321 *) ac_try_echo=$ac_try;;
10323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10324 (eval "$ac_link") 2>conftest.er1
10326 grep -v '^ *+' conftest.er1 >conftest.err
10328 cat conftest.err >&5
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); } &&
10331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10332 { (case "(($ac_try" in
10333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10334 *) ac_try_echo=$ac_try;;
10336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10337 (eval "$ac_try") 2>&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); }; } &&
10341 { ac_try='test -s conftest$ac_exeext'
10342 { (case "(($ac_try" in
10343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10344 *) ac_try_echo=$ac_try;;
10346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10347 (eval "$ac_try") 2>&5
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); }; }; then
10351 ac_cv_lib_xml2_xmlReadMemory=yes
10353 echo "$as_me: failed program was:" >&5
10354 sed 's/^/| /' conftest.$ac_ext >&5
10356 ac_cv_lib_xml2_xmlReadMemory=no
10359 rm -f core conftest.err conftest.$ac_objext \
10360 conftest$ac_exeext conftest.$ac_ext
10361 LIBS=$ac_check_lib_save_LIBS
10363 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10364 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10365 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10367 cat >>confdefs.h <<\_ACEOF
10368 #define HAVE_XMLREADMEMORY 1
10378 CPPFLAGS="$ac_save_CPPFLAGS"
10379 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10380 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10381 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10384 for ac_header in libxslt/pattern.h libxslt/transform.h
10386 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10387 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10389 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10390 echo $ECHO_N "(cached) $ECHO_C" >&6
10392 cat >conftest.$ac_ext <<_ACEOF
10395 cat confdefs.h >>conftest.$ac_ext
10396 cat >>conftest.$ac_ext <<_ACEOF
10397 /* end confdefs.h. */
10398 #ifdef HAVE_LIBXSLT_PATTERN_H
10399 # include <libxslt/pattern.h>
10402 #include <$ac_header>
10404 rm -f conftest.$ac_objext
10405 if { (ac_try="$ac_compile"
10406 case "(($ac_try" in
10407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10408 *) ac_try_echo=$ac_try;;
10410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10411 (eval "$ac_compile") 2>conftest.er1
10413 grep -v '^ *+' conftest.er1 >conftest.err
10415 cat conftest.err >&5
10416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417 (exit $ac_status); } &&
10418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10419 { (case "(($ac_try" in
10420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10421 *) ac_try_echo=$ac_try;;
10423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10424 (eval "$ac_try") 2>&5
10426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427 (exit $ac_status); }; } &&
10428 { ac_try='test -s conftest.$ac_objext'
10429 { (case "(($ac_try" in
10430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10431 *) ac_try_echo=$ac_try;;
10433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10434 (eval "$ac_try") 2>&5
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); }; }; then
10438 eval "$as_ac_Header=yes"
10440 echo "$as_me: failed program was:" >&5
10441 sed 's/^/| /' conftest.$ac_ext >&5
10443 eval "$as_ac_Header=no"
10446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10448 ac_res=`eval echo '${'$as_ac_Header'}'`
10449 { echo "$as_me:$LINENO: result: $ac_res" >&5
10450 echo "${ECHO_T}$ac_res" >&6; }
10451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10452 cat >>confdefs.h <<_ACEOF
10453 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10455 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10456 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10457 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10458 echo $ECHO_N "(cached) $ECHO_C" >&6
10460 ac_check_lib_save_LIBS=$LIBS
10461 LIBS="-lxslt $ac_xslt_libs $LIBS"
10462 cat >conftest.$ac_ext <<_ACEOF
10465 cat confdefs.h >>conftest.$ac_ext
10466 cat >>conftest.$ac_ext <<_ACEOF
10467 /* end confdefs.h. */
10469 /* Override any GCC internal prototype to avoid an error.
10470 Use char because int might match the return type of a GCC
10471 builtin and then its argument prototype would still apply. */
10475 char xsltCompilePattern ();
10479 return xsltCompilePattern ();
10484 rm -f conftest.$ac_objext conftest$ac_exeext
10485 if { (ac_try="$ac_link"
10486 case "(($ac_try" in
10487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10488 *) ac_try_echo=$ac_try;;
10490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10491 (eval "$ac_link") 2>conftest.er1
10493 grep -v '^ *+' conftest.er1 >conftest.err
10495 cat conftest.err >&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); } &&
10498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10499 { (case "(($ac_try" in
10500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10501 *) ac_try_echo=$ac_try;;
10503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10504 (eval "$ac_try") 2>&5
10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 (exit $ac_status); }; } &&
10508 { ac_try='test -s conftest$ac_exeext'
10509 { (case "(($ac_try" in
10510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10511 *) ac_try_echo=$ac_try;;
10513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10514 (eval "$ac_try") 2>&5
10516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517 (exit $ac_status); }; }; then
10518 ac_cv_lib_xslt_xsltCompilePattern=yes
10520 echo "$as_me: failed program was:" >&5
10521 sed 's/^/| /' conftest.$ac_ext >&5
10523 ac_cv_lib_xslt_xsltCompilePattern=no
10526 rm -f core conftest.err conftest.$ac_objext \
10527 conftest$ac_exeext conftest.$ac_ext
10528 LIBS=$ac_check_lib_save_LIBS
10530 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10531 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10532 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10534 cat >>confdefs.h <<\_ACEOF
10535 #define HAVE_LIBXSLT 1
10538 XSLTLIBS="$ac_xslt_libs"
10539 XSLTINCL="$ac_xslt_cflags"
10547 CPPFLAGS="$ac_save_CPPFLAGS"
10552 if test "$PKG_CONFIG" != "false"
10554 ac_save_CPPFLAGS="$CPPFLAGS"
10555 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
10556 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10557 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10560 for ac_header in dbus/dbus.h hal/libhal.h
10562 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10564 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10566 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10567 echo $ECHO_N "(cached) $ECHO_C" >&6
10569 ac_res=`eval echo '${'$as_ac_Header'}'`
10570 { echo "$as_me:$LINENO: result: $ac_res" >&5
10571 echo "${ECHO_T}$ac_res" >&6; }
10573 # Is the header compilable?
10574 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10575 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10576 cat >conftest.$ac_ext <<_ACEOF
10579 cat confdefs.h >>conftest.$ac_ext
10580 cat >>conftest.$ac_ext <<_ACEOF
10581 /* end confdefs.h. */
10582 $ac_includes_default
10583 #include <$ac_header>
10585 rm -f conftest.$ac_objext
10586 if { (ac_try="$ac_compile"
10587 case "(($ac_try" in
10588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10589 *) ac_try_echo=$ac_try;;
10591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10592 (eval "$ac_compile") 2>conftest.er1
10594 grep -v '^ *+' conftest.er1 >conftest.err
10596 cat conftest.err >&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); } &&
10599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10600 { (case "(($ac_try" in
10601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10602 *) ac_try_echo=$ac_try;;
10604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10605 (eval "$ac_try") 2>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; } &&
10609 { ac_try='test -s conftest.$ac_objext'
10610 { (case "(($ac_try" in
10611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10612 *) ac_try_echo=$ac_try;;
10614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10615 (eval "$ac_try") 2>&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); }; }; then
10619 ac_header_compiler=yes
10621 echo "$as_me: failed program was:" >&5
10622 sed 's/^/| /' conftest.$ac_ext >&5
10624 ac_header_compiler=no
10627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10628 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10629 echo "${ECHO_T}$ac_header_compiler" >&6; }
10631 # Is the header present?
10632 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10634 cat >conftest.$ac_ext <<_ACEOF
10637 cat confdefs.h >>conftest.$ac_ext
10638 cat >>conftest.$ac_ext <<_ACEOF
10639 /* end confdefs.h. */
10640 #include <$ac_header>
10642 if { (ac_try="$ac_cpp conftest.$ac_ext"
10643 case "(($ac_try" in
10644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10645 *) ac_try_echo=$ac_try;;
10647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10648 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10650 grep -v '^ *+' conftest.er1 >conftest.err
10652 cat conftest.err >&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); } >/dev/null; then
10655 if test -s conftest.err; then
10656 ac_cpp_err=$ac_c_preproc_warn_flag
10657 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10664 if test -z "$ac_cpp_err"; then
10665 ac_header_preproc=yes
10667 echo "$as_me: failed program was:" >&5
10668 sed 's/^/| /' conftest.$ac_ext >&5
10670 ac_header_preproc=no
10673 rm -f conftest.err conftest.$ac_ext
10674 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10675 echo "${ECHO_T}$ac_header_preproc" >&6; }
10677 # So? What about this header?
10678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10680 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10681 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10683 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10684 ac_header_preproc=yes
10687 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10688 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10689 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10690 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10691 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10692 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10693 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10694 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10696 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10697 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10698 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10700 ## ------------------------------------ ##
10701 ## Report this to wine-devel@winehq.org ##
10702 ## ------------------------------------ ##
10704 ) | sed "s/^/$as_me: WARNING: /" >&2
10707 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10709 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10710 echo $ECHO_N "(cached) $ECHO_C" >&6
10712 eval "$as_ac_Header=\$ac_header_preproc"
10714 ac_res=`eval echo '${'$as_ac_Header'}'`
10715 { echo "$as_me:$LINENO: result: $ac_res" >&5
10716 echo "${ECHO_T}$ac_res" >&6; }
10719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10720 cat >>confdefs.h <<_ACEOF
10721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10728 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10730 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10731 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10732 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10733 echo $ECHO_N "(cached) $ECHO_C" >&6
10735 ac_check_lib_save_LIBS=$LIBS
10737 cat >conftest.$ac_ext <<_ACEOF
10740 cat confdefs.h >>conftest.$ac_ext
10741 cat >>conftest.$ac_ext <<_ACEOF
10742 /* end confdefs.h. */
10744 /* Override any GCC internal prototype to avoid an error.
10745 Use char because int might match the return type of a GCC
10746 builtin and then its argument prototype would still apply. */
10750 char libhal_ctx_new ();
10754 return libhal_ctx_new ();
10759 rm -f conftest.$ac_objext conftest$ac_exeext
10760 if { (ac_try="$ac_link"
10761 case "(($ac_try" in
10762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10763 *) ac_try_echo=$ac_try;;
10765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10766 (eval "$ac_link") 2>conftest.er1
10768 grep -v '^ *+' conftest.er1 >conftest.err
10770 cat conftest.err >&5
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); } &&
10773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10774 { (case "(($ac_try" in
10775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10776 *) ac_try_echo=$ac_try;;
10778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10779 (eval "$ac_try") 2>&5
10781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782 (exit $ac_status); }; } &&
10783 { ac_try='test -s conftest$ac_exeext'
10784 { (case "(($ac_try" in
10785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10786 *) ac_try_echo=$ac_try;;
10788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10789 (eval "$ac_try") 2>&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); }; }; then
10793 ac_cv_lib_hal_libhal_ctx_new=yes
10795 echo "$as_me: failed program was:" >&5
10796 sed 's/^/| /' conftest.$ac_ext >&5
10798 ac_cv_lib_hal_libhal_ctx_new=no
10801 rm -f core conftest.err conftest.$ac_objext \
10802 conftest$ac_exeext conftest.$ac_ext
10803 LIBS=$ac_check_lib_save_LIBS
10805 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10806 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10807 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10808 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10809 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10810 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10811 echo $ECHO_N "(cached) $ECHO_C" >&6
10813 ac_check_lib_save_LIBS=$LIBS
10814 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10815 cat >conftest.$ac_ext <<_ACEOF
10818 cat confdefs.h >>conftest.$ac_ext
10819 cat >>conftest.$ac_ext <<_ACEOF
10820 /* end confdefs.h. */
10822 /* Override any GCC internal prototype to avoid an error.
10823 Use char because int might match the return type of a GCC
10824 builtin and then its argument prototype would still apply. */
10828 char dbus_connection_close ();
10832 return dbus_connection_close ();
10837 rm -f conftest.$ac_objext conftest$ac_exeext
10838 if { (ac_try="$ac_link"
10839 case "(($ac_try" in
10840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10841 *) ac_try_echo=$ac_try;;
10843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10844 (eval "$ac_link") 2>conftest.er1
10846 grep -v '^ *+' conftest.er1 >conftest.err
10848 cat conftest.err >&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); } &&
10851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10852 { (case "(($ac_try" in
10853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10854 *) ac_try_echo=$ac_try;;
10856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10857 (eval "$ac_try") 2>&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); }; } &&
10861 { ac_try='test -s conftest$ac_exeext'
10862 { (case "(($ac_try" in
10863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10864 *) ac_try_echo=$ac_try;;
10866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10867 (eval "$ac_try") 2>&5
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); }; }; then
10871 ac_cv_lib_dbus_1_dbus_connection_close=yes
10873 echo "$as_me: failed program was:" >&5
10874 sed 's/^/| /' conftest.$ac_ext >&5
10876 ac_cv_lib_dbus_1_dbus_connection_close=no
10879 rm -f core conftest.err conftest.$ac_objext \
10880 conftest$ac_exeext conftest.$ac_ext
10881 LIBS=$ac_check_lib_save_LIBS
10883 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10884 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10885 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10887 cat >>confdefs.h <<\_ACEOF
10888 #define HAVE_LIBHAL 1
10891 HALINCL="$ac_hal_cflags"
10897 CPPFLAGS="$ac_save_CPPFLAGS"
10901 if test "x$with_curses" != "xno"
10903 if test "$ac_cv_header_ncurses_h" = "yes"
10905 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10906 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10907 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10908 echo $ECHO_N "(cached) $ECHO_C" >&6
10910 ac_check_lib_save_LIBS=$LIBS
10911 LIBS="-lncurses $LIBS"
10912 cat >conftest.$ac_ext <<_ACEOF
10915 cat confdefs.h >>conftest.$ac_ext
10916 cat >>conftest.$ac_ext <<_ACEOF
10917 /* end confdefs.h. */
10919 /* Override any GCC internal prototype to avoid an error.
10920 Use char because int might match the return type of a GCC
10921 builtin and then its argument prototype would still apply. */
10934 rm -f conftest.$ac_objext conftest$ac_exeext
10935 if { (ac_try="$ac_link"
10936 case "(($ac_try" in
10937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10938 *) ac_try_echo=$ac_try;;
10940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10941 (eval "$ac_link") 2>conftest.er1
10943 grep -v '^ *+' conftest.er1 >conftest.err
10945 cat conftest.err >&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); } &&
10948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10949 { (case "(($ac_try" in
10950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10951 *) ac_try_echo=$ac_try;;
10953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10954 (eval "$ac_try") 2>&5
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); }; } &&
10958 { ac_try='test -s conftest$ac_exeext'
10959 { (case "(($ac_try" in
10960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10961 *) ac_try_echo=$ac_try;;
10963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10964 (eval "$ac_try") 2>&5
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }; }; then
10968 ac_cv_lib_ncurses_waddch=yes
10970 echo "$as_me: failed program was:" >&5
10971 sed 's/^/| /' conftest.$ac_ext >&5
10973 ac_cv_lib_ncurses_waddch=no
10976 rm -f core conftest.err conftest.$ac_objext \
10977 conftest$ac_exeext conftest.$ac_ext
10978 LIBS=$ac_check_lib_save_LIBS
10980 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
10981 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
10982 if test $ac_cv_lib_ncurses_waddch = yes; then
10984 cat >>confdefs.h <<\_ACEOF
10985 #define HAVE_LIBNCURSES 1
10988 CURSESLIBS="-lncurses"
10991 elif test "$ac_cv_header_curses_h" = "yes"
10993 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
10994 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
10995 if test "${ac_cv_lib_curses_waddch+set}" = set; then
10996 echo $ECHO_N "(cached) $ECHO_C" >&6
10998 ac_check_lib_save_LIBS=$LIBS
10999 LIBS="-lcurses $LIBS"
11000 cat >conftest.$ac_ext <<_ACEOF
11003 cat confdefs.h >>conftest.$ac_ext
11004 cat >>conftest.$ac_ext <<_ACEOF
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11022 rm -f conftest.$ac_objext conftest$ac_exeext
11023 if { (ac_try="$ac_link"
11024 case "(($ac_try" in
11025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11026 *) ac_try_echo=$ac_try;;
11028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11029 (eval "$ac_link") 2>conftest.er1
11031 grep -v '^ *+' conftest.er1 >conftest.err
11033 cat conftest.err >&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); } &&
11036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11037 { (case "(($ac_try" in
11038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11039 *) ac_try_echo=$ac_try;;
11041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11042 (eval "$ac_try") 2>&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; } &&
11046 { ac_try='test -s conftest$ac_exeext'
11047 { (case "(($ac_try" in
11048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11049 *) ac_try_echo=$ac_try;;
11051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11052 (eval "$ac_try") 2>&5
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); }; }; then
11056 ac_cv_lib_curses_waddch=yes
11058 echo "$as_me: failed program was:" >&5
11059 sed 's/^/| /' conftest.$ac_ext >&5
11061 ac_cv_lib_curses_waddch=no
11064 rm -f core conftest.err conftest.$ac_objext \
11065 conftest$ac_exeext conftest.$ac_ext
11066 LIBS=$ac_check_lib_save_LIBS
11068 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11069 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11070 if test $ac_cv_lib_curses_waddch = yes; then
11072 cat >>confdefs.h <<\_ACEOF
11073 #define HAVE_LIBCURSES 1
11076 CURSESLIBS="-lcurses"
11080 ac_save_LIBS="$LIBS"
11081 LIBS="$LIBS $CURSESLIBS"
11083 for ac_func in mousemask
11085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11089 echo $ECHO_N "(cached) $ECHO_C" >&6
11091 cat >conftest.$ac_ext <<_ACEOF
11094 cat confdefs.h >>conftest.$ac_ext
11095 cat >>conftest.$ac_ext <<_ACEOF
11096 /* end confdefs.h. */
11097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11099 #define $ac_func innocuous_$ac_func
11101 /* System header to define __stub macros and hopefully few prototypes,
11102 which can conflict with char $ac_func (); below.
11103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11104 <limits.h> exists even on freestanding compilers. */
11107 # include <limits.h>
11109 # include <assert.h>
11114 /* Override any GCC internal prototype to avoid an error.
11115 Use char because int might match the return type of a GCC
11116 builtin and then its argument prototype would still apply. */
11121 /* The GNU C library defines this for functions which it implements
11122 to always fail with ENOSYS. Some functions are actually named
11123 something starting with __ and the normal name is an alias. */
11124 #if defined __stub_$ac_func || defined __stub___$ac_func
11131 return $ac_func ();
11136 rm -f conftest.$ac_objext conftest$ac_exeext
11137 if { (ac_try="$ac_link"
11138 case "(($ac_try" in
11139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11140 *) ac_try_echo=$ac_try;;
11142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11143 (eval "$ac_link") 2>conftest.er1
11145 grep -v '^ *+' conftest.er1 >conftest.err
11147 cat conftest.err >&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); } &&
11150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11151 { (case "(($ac_try" in
11152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11153 *) ac_try_echo=$ac_try;;
11155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11156 (eval "$ac_try") 2>&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); }; } &&
11160 { ac_try='test -s conftest$ac_exeext'
11161 { (case "(($ac_try" in
11162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11163 *) ac_try_echo=$ac_try;;
11165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11166 (eval "$ac_try") 2>&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); }; }; then
11170 eval "$as_ac_var=yes"
11172 echo "$as_me: failed program was:" >&5
11173 sed 's/^/| /' conftest.$ac_ext >&5
11175 eval "$as_ac_var=no"
11178 rm -f core conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11181 ac_res=`eval echo '${'$as_ac_var'}'`
11182 { echo "$as_me:$LINENO: result: $ac_res" >&5
11183 echo "${ECHO_T}$ac_res" >&6; }
11184 if test `eval echo '${'$as_ac_var'}'` = yes; then
11185 cat >>confdefs.h <<_ACEOF
11186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11192 LIBS="$ac_save_LIBS"
11196 # Extract the first word of "sane-config", so it can be a program name with args.
11197 set dummy sane-config; ac_word=$2
11198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11200 if test "${ac_cv_prog_sane_devel+set}" = set; then
11201 echo $ECHO_N "(cached) $ECHO_C" >&6
11203 if test -n "$sane_devel"; then
11204 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11207 for as_dir in $PATH
11210 test -z "$as_dir" && as_dir=.
11211 for ac_exec_ext in '' $ac_executable_extensions; do
11212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11213 ac_cv_prog_sane_devel="sane-config"
11214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11221 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11224 sane_devel=$ac_cv_prog_sane_devel
11225 if test -n "$sane_devel"; then
11226 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11227 echo "${ECHO_T}$sane_devel" >&6; }
11229 { echo "$as_me:$LINENO: result: no" >&5
11230 echo "${ECHO_T}no" >&6; }
11238 if test "$sane_devel" != "no"
11240 SANELIBS="`$sane_devel --libs`"
11241 SANEINCL="`$sane_devel --cflags`"
11242 ac_save_CPPFLAGS="$CPPFLAGS"
11243 ac_save_LIBS="$LIBS"
11244 CPPFLAGS="$CPPFLAGS $SANEINCL"
11245 LIBS="$LIBS $SANELIBS"
11246 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11247 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11248 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11249 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11250 echo $ECHO_N "(cached) $ECHO_C" >&6
11252 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11253 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11255 # Is the header compilable?
11256 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11257 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11258 cat >conftest.$ac_ext <<_ACEOF
11261 cat confdefs.h >>conftest.$ac_ext
11262 cat >>conftest.$ac_ext <<_ACEOF
11263 /* end confdefs.h. */
11264 $ac_includes_default
11265 #include <sane/sane.h>
11267 rm -f conftest.$ac_objext
11268 if { (ac_try="$ac_compile"
11269 case "(($ac_try" in
11270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11271 *) ac_try_echo=$ac_try;;
11273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11274 (eval "$ac_compile") 2>conftest.er1
11276 grep -v '^ *+' conftest.er1 >conftest.err
11278 cat conftest.err >&5
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 (exit $ac_status); } &&
11281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11282 { (case "(($ac_try" in
11283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11284 *) ac_try_echo=$ac_try;;
11286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11287 (eval "$ac_try") 2>&5
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); }; } &&
11291 { ac_try='test -s conftest.$ac_objext'
11292 { (case "(($ac_try" in
11293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11294 *) ac_try_echo=$ac_try;;
11296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11297 (eval "$ac_try") 2>&5
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); }; }; then
11301 ac_header_compiler=yes
11303 echo "$as_me: failed program was:" >&5
11304 sed 's/^/| /' conftest.$ac_ext >&5
11306 ac_header_compiler=no
11309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11310 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11311 echo "${ECHO_T}$ac_header_compiler" >&6; }
11313 # Is the header present?
11314 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11315 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11316 cat >conftest.$ac_ext <<_ACEOF
11319 cat confdefs.h >>conftest.$ac_ext
11320 cat >>conftest.$ac_ext <<_ACEOF
11321 /* end confdefs.h. */
11322 #include <sane/sane.h>
11324 if { (ac_try="$ac_cpp conftest.$ac_ext"
11325 case "(($ac_try" in
11326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11327 *) ac_try_echo=$ac_try;;
11329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11330 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11332 grep -v '^ *+' conftest.er1 >conftest.err
11334 cat conftest.err >&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); } >/dev/null; then
11337 if test -s conftest.err; then
11338 ac_cpp_err=$ac_c_preproc_warn_flag
11339 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11346 if test -z "$ac_cpp_err"; then
11347 ac_header_preproc=yes
11349 echo "$as_me: failed program was:" >&5
11350 sed 's/^/| /' conftest.$ac_ext >&5
11352 ac_header_preproc=no
11355 rm -f conftest.err conftest.$ac_ext
11356 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11357 echo "${ECHO_T}$ac_header_preproc" >&6; }
11359 # So? What about this header?
11360 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11362 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11363 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11364 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11365 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11366 ac_header_preproc=yes
11369 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11370 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11371 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11372 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11373 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11374 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11375 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11376 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11377 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11378 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11379 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11380 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11382 ## ------------------------------------ ##
11383 ## Report this to wine-devel@winehq.org ##
11384 ## ------------------------------------ ##
11386 ) | sed "s/^/$as_me: WARNING: /" >&2
11389 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11390 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11391 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11392 echo $ECHO_N "(cached) $ECHO_C" >&6
11394 ac_cv_header_sane_sane_h=$ac_header_preproc
11396 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11397 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11400 if test $ac_cv_header_sane_sane_h = yes; then
11401 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11402 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11403 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11404 echo $ECHO_N "(cached) $ECHO_C" >&6
11406 ac_check_lib_save_LIBS=$LIBS
11407 LIBS="-lsane $LIBS"
11408 cat >conftest.$ac_ext <<_ACEOF
11411 cat confdefs.h >>conftest.$ac_ext
11412 cat >>conftest.$ac_ext <<_ACEOF
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11425 return sane_open ();
11430 rm -f conftest.$ac_objext conftest$ac_exeext
11431 if { (ac_try="$ac_link"
11432 case "(($ac_try" in
11433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11434 *) ac_try_echo=$ac_try;;
11436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11437 (eval "$ac_link") 2>conftest.er1
11439 grep -v '^ *+' conftest.er1 >conftest.err
11441 cat conftest.err >&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); } &&
11444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11445 { (case "(($ac_try" in
11446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11447 *) ac_try_echo=$ac_try;;
11449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11450 (eval "$ac_try") 2>&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); }; } &&
11454 { ac_try='test -s conftest$ac_exeext'
11455 { (case "(($ac_try" in
11456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11457 *) ac_try_echo=$ac_try;;
11459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11460 (eval "$ac_try") 2>&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; }; then
11464 ac_cv_lib_sane_sane_open=yes
11466 echo "$as_me: failed program was:" >&5
11467 sed 's/^/| /' conftest.$ac_ext >&5
11469 ac_cv_lib_sane_sane_open=no
11472 rm -f core conftest.err conftest.$ac_objext \
11473 conftest$ac_exeext conftest.$ac_ext
11474 LIBS=$ac_check_lib_save_LIBS
11476 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11477 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11478 if test $ac_cv_lib_sane_sane_open = yes; then
11480 cat >>confdefs.h <<\_ACEOF
11481 #define HAVE_SANE 1
11495 LIBS="$ac_save_LIBS"
11496 CPPFLAGS="$ac_save_CPPFLAGS"
11499 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11500 set dummy gphoto2-config; ac_word=$2
11501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11503 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11504 echo $ECHO_N "(cached) $ECHO_C" >&6
11506 if test -n "$gphoto2_devel"; then
11507 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11510 for as_dir in $PATH
11513 test -z "$as_dir" && as_dir=.
11514 for ac_exec_ext in '' $ac_executable_extensions; do
11515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11516 ac_cv_prog_gphoto2_devel="gphoto2-config"
11517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11524 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11527 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11528 if test -n "$gphoto2_devel"; then
11529 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11530 echo "${ECHO_T}$gphoto2_devel" >&6; }
11532 { echo "$as_me:$LINENO: result: no" >&5
11533 echo "${ECHO_T}no" >&6; }
11537 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11538 set dummy gphoto2-port-config; ac_word=$2
11539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11541 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11542 echo $ECHO_N "(cached) $ECHO_C" >&6
11544 if test -n "$gphoto2port_devel"; then
11545 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11548 for as_dir in $PATH
11551 test -z "$as_dir" && as_dir=.
11552 for ac_exec_ext in '' $ac_executable_extensions; do
11553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11554 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11562 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11565 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11566 if test -n "$gphoto2port_devel"; then
11567 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11568 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11570 { echo "$as_me:$LINENO: result: no" >&5
11571 echo "${ECHO_T}no" >&6; }
11579 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11581 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11583 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11586 -L/usr/lib|-L/usr/lib64) ;;
11587 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11590 ac_save_CPPFLAGS="$CPPFLAGS"
11591 ac_save_LIBS="$LIBS"
11592 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11593 LIBS="$LIBS $GPHOTO2LIBS"
11594 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11595 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11596 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11597 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11600 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11601 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11603 # Is the header compilable?
11604 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11605 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11606 cat >conftest.$ac_ext <<_ACEOF
11609 cat confdefs.h >>conftest.$ac_ext
11610 cat >>conftest.$ac_ext <<_ACEOF
11611 /* end confdefs.h. */
11612 $ac_includes_default
11613 #include <gphoto2-camera.h>
11615 rm -f conftest.$ac_objext
11616 if { (ac_try="$ac_compile"
11617 case "(($ac_try" in
11618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11619 *) ac_try_echo=$ac_try;;
11621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11622 (eval "$ac_compile") 2>conftest.er1
11624 grep -v '^ *+' conftest.er1 >conftest.err
11626 cat conftest.err >&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } &&
11629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11630 { (case "(($ac_try" in
11631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11632 *) ac_try_echo=$ac_try;;
11634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11635 (eval "$ac_try") 2>&5
11637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 (exit $ac_status); }; } &&
11639 { ac_try='test -s conftest.$ac_objext'
11640 { (case "(($ac_try" in
11641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11642 *) ac_try_echo=$ac_try;;
11644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11645 (eval "$ac_try") 2>&5
11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); }; }; then
11649 ac_header_compiler=yes
11651 echo "$as_me: failed program was:" >&5
11652 sed 's/^/| /' conftest.$ac_ext >&5
11654 ac_header_compiler=no
11657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11658 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11659 echo "${ECHO_T}$ac_header_compiler" >&6; }
11661 # Is the header present?
11662 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11663 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11664 cat >conftest.$ac_ext <<_ACEOF
11667 cat confdefs.h >>conftest.$ac_ext
11668 cat >>conftest.$ac_ext <<_ACEOF
11669 /* end confdefs.h. */
11670 #include <gphoto2-camera.h>
11672 if { (ac_try="$ac_cpp conftest.$ac_ext"
11673 case "(($ac_try" in
11674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11675 *) ac_try_echo=$ac_try;;
11677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11680 grep -v '^ *+' conftest.er1 >conftest.err
11682 cat conftest.err >&5
11683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684 (exit $ac_status); } >/dev/null; then
11685 if test -s conftest.err; then
11686 ac_cpp_err=$ac_c_preproc_warn_flag
11687 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11694 if test -z "$ac_cpp_err"; then
11695 ac_header_preproc=yes
11697 echo "$as_me: failed program was:" >&5
11698 sed 's/^/| /' conftest.$ac_ext >&5
11700 ac_header_preproc=no
11703 rm -f conftest.err conftest.$ac_ext
11704 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11705 echo "${ECHO_T}$ac_header_preproc" >&6; }
11707 # So? What about this header?
11708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11710 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11711 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11712 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11713 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11714 ac_header_preproc=yes
11717 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11718 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11719 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11720 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11721 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11722 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11723 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11724 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11725 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11726 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11727 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11728 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11730 ## ------------------------------------ ##
11731 ## Report this to wine-devel@winehq.org ##
11732 ## ------------------------------------ ##
11734 ) | sed "s/^/$as_me: WARNING: /" >&2
11737 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11738 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11739 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11740 echo $ECHO_N "(cached) $ECHO_C" >&6
11742 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11744 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11745 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11748 if test $ac_cv_header_gphoto2_camera_h = yes; then
11749 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11750 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11751 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11752 echo $ECHO_N "(cached) $ECHO_C" >&6
11754 ac_check_lib_save_LIBS=$LIBS
11755 LIBS="-lgphoto2 $LIBS"
11756 cat >conftest.$ac_ext <<_ACEOF
11759 cat confdefs.h >>conftest.$ac_ext
11760 cat >>conftest.$ac_ext <<_ACEOF
11761 /* end confdefs.h. */
11763 /* Override any GCC internal prototype to avoid an error.
11764 Use char because int might match the return type of a GCC
11765 builtin and then its argument prototype would still apply. */
11769 char gp_camera_new ();
11773 return gp_camera_new ();
11778 rm -f conftest.$ac_objext conftest$ac_exeext
11779 if { (ac_try="$ac_link"
11780 case "(($ac_try" in
11781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11782 *) ac_try_echo=$ac_try;;
11784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11785 (eval "$ac_link") 2>conftest.er1
11787 grep -v '^ *+' conftest.er1 >conftest.err
11789 cat conftest.err >&5
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791 (exit $ac_status); } &&
11792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11793 { (case "(($ac_try" in
11794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11795 *) ac_try_echo=$ac_try;;
11797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11798 (eval "$ac_try") 2>&5
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); }; } &&
11802 { ac_try='test -s conftest$ac_exeext'
11803 { (case "(($ac_try" in
11804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11805 *) ac_try_echo=$ac_try;;
11807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11808 (eval "$ac_try") 2>&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); }; }; then
11812 ac_cv_lib_gphoto2_gp_camera_new=yes
11814 echo "$as_me: failed program was:" >&5
11815 sed 's/^/| /' conftest.$ac_ext >&5
11817 ac_cv_lib_gphoto2_gp_camera_new=no
11820 rm -f core conftest.err conftest.$ac_objext \
11821 conftest$ac_exeext conftest.$ac_ext
11822 LIBS=$ac_check_lib_save_LIBS
11824 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11825 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11826 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11828 cat >>confdefs.h <<\_ACEOF
11829 #define HAVE_GPHOTO2 1
11843 LIBS="$ac_save_LIBS"
11844 CPPFLAGS="$ac_save_CPPFLAGS"
11847 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11850 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
11852 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
11853 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
11854 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11855 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11856 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11857 cat >conftest.$ac_ext <<_ACEOF
11860 cat confdefs.h >>conftest.$ac_ext
11861 cat >>conftest.$ac_ext <<_ACEOF
11862 /* end confdefs.h. */
11863 #include <unicode/ubidi.h>
11872 rm -f conftest.$ac_objext conftest$ac_exeext
11873 if { (ac_try="$ac_link"
11874 case "(($ac_try" in
11875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11876 *) ac_try_echo=$ac_try;;
11878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11879 (eval "$ac_link") 2>conftest.er1
11881 grep -v '^ *+' conftest.er1 >conftest.err
11883 cat conftest.err >&5
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); } &&
11886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11887 { (case "(($ac_try" in
11888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11889 *) ac_try_echo=$ac_try;;
11891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11892 (eval "$ac_try") 2>&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); }; } &&
11896 { ac_try='test -s conftest$ac_exeext'
11897 { (case "(($ac_try" in
11898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11899 *) ac_try_echo=$ac_try;;
11901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11902 (eval "$ac_try") 2>&5
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); }; }; then
11907 cat >>confdefs.h <<\_ACEOF
11911 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11913 { echo "$as_me:$LINENO: result: yes" >&5
11914 echo "${ECHO_T}yes" >&6; }
11916 echo "$as_me: failed program was:" >&5
11917 sed 's/^/| /' conftest.$ac_ext >&5
11919 { echo "$as_me:$LINENO: result: no" >&5
11920 echo "${ECHO_T}no" >&6; }
11923 rm -f core conftest.err conftest.$ac_objext \
11924 conftest$ac_exeext conftest.$ac_ext
11931 if test "$ac_cv_header_resolv_h" = "yes"
11933 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11934 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11935 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11936 echo $ECHO_N "(cached) $ECHO_C" >&6
11938 ac_check_lib_save_LIBS=$LIBS
11939 LIBS="-lresolv $LIBS"
11940 cat >conftest.$ac_ext <<_ACEOF
11943 cat confdefs.h >>conftest.$ac_ext
11944 cat >>conftest.$ac_ext <<_ACEOF
11945 /* end confdefs.h. */
11947 /* Override any GCC internal prototype to avoid an error.
11948 Use char because int might match the return type of a GCC
11949 builtin and then its argument prototype would still apply. */
11957 return res_query ();
11962 rm -f conftest.$ac_objext conftest$ac_exeext
11963 if { (ac_try="$ac_link"
11964 case "(($ac_try" in
11965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11966 *) ac_try_echo=$ac_try;;
11968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11969 (eval "$ac_link") 2>conftest.er1
11971 grep -v '^ *+' conftest.er1 >conftest.err
11973 cat conftest.err >&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); } &&
11976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11977 { (case "(($ac_try" in
11978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11979 *) ac_try_echo=$ac_try;;
11981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11982 (eval "$ac_try") 2>&5
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; } &&
11986 { ac_try='test -s conftest$ac_exeext'
11987 { (case "(($ac_try" in
11988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11989 *) ac_try_echo=$ac_try;;
11991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11992 (eval "$ac_try") 2>&5
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); }; }; then
11996 ac_cv_lib_resolv_res_query=yes
11998 echo "$as_me: failed program was:" >&5
11999 sed 's/^/| /' conftest.$ac_ext >&5
12001 ac_cv_lib_resolv_res_query=no
12004 rm -f core conftest.err conftest.$ac_objext \
12005 conftest$ac_exeext conftest.$ac_ext
12006 LIBS=$ac_check_lib_save_LIBS
12008 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12009 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12010 if test $ac_cv_lib_resolv_res_query = yes; then
12012 cat >>confdefs.h <<\_ACEOF
12013 #define HAVE_RESOLV 1
12016 RESOLVLIBS="-lresolv"
12023 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12025 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12026 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12027 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12028 echo $ECHO_N "(cached) $ECHO_C" >&6
12030 ac_check_lib_save_LIBS=$LIBS
12031 LIBS="-llcms $LIBS"
12032 cat >conftest.$ac_ext <<_ACEOF
12035 cat confdefs.h >>conftest.$ac_ext
12036 cat >>conftest.$ac_ext <<_ACEOF
12037 /* end confdefs.h. */
12039 /* Override any GCC internal prototype to avoid an error.
12040 Use char because int might match the return type of a GCC
12041 builtin and then its argument prototype would still apply. */
12045 char cmsOpenProfileFromFile ();
12049 return cmsOpenProfileFromFile ();
12054 rm -f conftest.$ac_objext conftest$ac_exeext
12055 if { (ac_try="$ac_link"
12056 case "(($ac_try" in
12057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12058 *) ac_try_echo=$ac_try;;
12060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12061 (eval "$ac_link") 2>conftest.er1
12063 grep -v '^ *+' conftest.er1 >conftest.err
12065 cat conftest.err >&5
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); } &&
12068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12069 { (case "(($ac_try" in
12070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12071 *) ac_try_echo=$ac_try;;
12073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12074 (eval "$ac_try") 2>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); }; } &&
12078 { ac_try='test -s conftest$ac_exeext'
12079 { (case "(($ac_try" in
12080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12081 *) ac_try_echo=$ac_try;;
12083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12084 (eval "$ac_try") 2>&5
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); }; }; then
12088 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12090 echo "$as_me: failed program was:" >&5
12091 sed 's/^/| /' conftest.$ac_ext >&5
12093 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12096 rm -f core conftest.err conftest.$ac_objext \
12097 conftest$ac_exeext conftest.$ac_ext
12098 LIBS=$ac_check_lib_save_LIBS
12100 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12101 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12102 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12104 cat >>confdefs.h <<\_ACEOF
12105 #define HAVE_LCMS 1
12115 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12117 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12118 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12119 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12120 echo $ECHO_N "(cached) $ECHO_C" >&6
12122 ac_check_lib_save_LIBS=$LIBS
12123 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12124 cat >conftest.$ac_ext <<_ACEOF
12127 cat confdefs.h >>conftest.$ac_ext
12128 cat >>conftest.$ac_ext <<_ACEOF
12129 /* end confdefs.h. */
12131 /* Override any GCC internal prototype to avoid an error.
12132 Use char because int might match the return type of a GCC
12133 builtin and then its argument prototype would still apply. */
12137 char ldap_initialize ();
12141 return ldap_initialize ();
12146 rm -f conftest.$ac_objext conftest$ac_exeext
12147 if { (ac_try="$ac_link"
12148 case "(($ac_try" in
12149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12150 *) ac_try_echo=$ac_try;;
12152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12153 (eval "$ac_link") 2>conftest.er1
12155 grep -v '^ *+' conftest.er1 >conftest.err
12157 cat conftest.err >&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); } &&
12160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12161 { (case "(($ac_try" in
12162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12163 *) ac_try_echo=$ac_try;;
12165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12166 (eval "$ac_try") 2>&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); }; } &&
12170 { ac_try='test -s conftest$ac_exeext'
12171 { (case "(($ac_try" in
12172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12173 *) ac_try_echo=$ac_try;;
12175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12176 (eval "$ac_try") 2>&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); }; }; then
12180 ac_cv_lib_ldap_r_ldap_initialize=yes
12182 echo "$as_me: failed program was:" >&5
12183 sed 's/^/| /' conftest.$ac_ext >&5
12185 ac_cv_lib_ldap_r_ldap_initialize=no
12188 rm -f core conftest.err conftest.$ac_objext \
12189 conftest$ac_exeext conftest.$ac_ext
12190 LIBS=$ac_check_lib_save_LIBS
12192 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12193 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12194 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12195 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12196 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12197 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12198 echo $ECHO_N "(cached) $ECHO_C" >&6
12200 ac_check_lib_save_LIBS=$LIBS
12201 LIBS="-llber $LIBPTHREAD $LIBS"
12202 cat >conftest.$ac_ext <<_ACEOF
12205 cat confdefs.h >>conftest.$ac_ext
12206 cat >>conftest.$ac_ext <<_ACEOF
12207 /* end confdefs.h. */
12209 /* Override any GCC internal prototype to avoid an error.
12210 Use char because int might match the return type of a GCC
12211 builtin and then its argument prototype would still apply. */
12219 return ber_init ();
12224 rm -f conftest.$ac_objext conftest$ac_exeext
12225 if { (ac_try="$ac_link"
12226 case "(($ac_try" in
12227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12228 *) ac_try_echo=$ac_try;;
12230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12231 (eval "$ac_link") 2>conftest.er1
12233 grep -v '^ *+' conftest.er1 >conftest.err
12235 cat conftest.err >&5
12236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); } &&
12238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12239 { (case "(($ac_try" in
12240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12241 *) ac_try_echo=$ac_try;;
12243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12244 (eval "$ac_try") 2>&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); }; } &&
12248 { ac_try='test -s conftest$ac_exeext'
12249 { (case "(($ac_try" in
12250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12251 *) ac_try_echo=$ac_try;;
12253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12254 (eval "$ac_try") 2>&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); }; }; then
12258 ac_cv_lib_lber_ber_init=yes
12260 echo "$as_me: failed program was:" >&5
12261 sed 's/^/| /' conftest.$ac_ext >&5
12263 ac_cv_lib_lber_ber_init=no
12266 rm -f core conftest.err conftest.$ac_objext \
12267 conftest$ac_exeext conftest.$ac_ext
12268 LIBS=$ac_check_lib_save_LIBS
12270 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12271 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12272 if test $ac_cv_lib_lber_ber_init = yes; then
12274 cat >>confdefs.h <<\_ACEOF
12275 #define HAVE_LDAP 1
12278 LDAPLIBS="-lldap_r -llber"
12283 ac_wine_check_funcs_save_LIBS="$LIBS"
12284 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12290 ldap_count_references \
12291 ldap_first_reference \
12292 ldap_next_reference \
12293 ldap_parse_reference
12295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12296 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12298 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12299 echo $ECHO_N "(cached) $ECHO_C" >&6
12301 cat >conftest.$ac_ext <<_ACEOF
12304 cat confdefs.h >>conftest.$ac_ext
12305 cat >>conftest.$ac_ext <<_ACEOF
12306 /* end confdefs.h. */
12307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12309 #define $ac_func innocuous_$ac_func
12311 /* System header to define __stub macros and hopefully few prototypes,
12312 which can conflict with char $ac_func (); below.
12313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12314 <limits.h> exists even on freestanding compilers. */
12317 # include <limits.h>
12319 # include <assert.h>
12324 /* Override any GCC internal prototype to avoid an error.
12325 Use char because int might match the return type of a GCC
12326 builtin and then its argument prototype would still apply. */
12331 /* The GNU C library defines this for functions which it implements
12332 to always fail with ENOSYS. Some functions are actually named
12333 something starting with __ and the normal name is an alias. */
12334 #if defined __stub_$ac_func || defined __stub___$ac_func
12341 return $ac_func ();
12346 rm -f conftest.$ac_objext conftest$ac_exeext
12347 if { (ac_try="$ac_link"
12348 case "(($ac_try" in
12349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12350 *) ac_try_echo=$ac_try;;
12352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12353 (eval "$ac_link") 2>conftest.er1
12355 grep -v '^ *+' conftest.er1 >conftest.err
12357 cat conftest.err >&5
12358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359 (exit $ac_status); } &&
12360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12361 { (case "(($ac_try" in
12362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12363 *) ac_try_echo=$ac_try;;
12365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12366 (eval "$ac_try") 2>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; } &&
12370 { ac_try='test -s conftest$ac_exeext'
12371 { (case "(($ac_try" in
12372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12373 *) ac_try_echo=$ac_try;;
12375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12376 (eval "$ac_try") 2>&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; }; then
12380 eval "$as_ac_var=yes"
12382 echo "$as_me: failed program was:" >&5
12383 sed 's/^/| /' conftest.$ac_ext >&5
12385 eval "$as_ac_var=no"
12388 rm -f core conftest.err conftest.$ac_objext \
12389 conftest$ac_exeext conftest.$ac_ext
12391 ac_res=`eval echo '${'$as_ac_var'}'`
12392 { echo "$as_me:$LINENO: result: $ac_res" >&5
12393 echo "${ECHO_T}$ac_res" >&6; }
12394 if test `eval echo '${'$as_ac_var'}'` = yes; then
12395 cat >>confdefs.h <<_ACEOF
12396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12402 LIBS="$ac_wine_check_funcs_save_LIBS"
12409 # Extract the first word of "freetype-config", so it can be a program name with args.
12410 set dummy freetype-config; ac_word=$2
12411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12413 if test "${ac_cv_prog_ft_devel+set}" = set; then
12414 echo $ECHO_N "(cached) $ECHO_C" >&6
12416 if test -n "$ft_devel"; then
12417 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12420 for as_dir in $PATH
12423 test -z "$as_dir" && as_dir=.
12424 for ac_exec_ext in '' $ac_executable_extensions; do
12425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12426 ac_cv_prog_ft_devel="freetype-config"
12427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12434 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12437 ft_devel=$ac_cv_prog_ft_devel
12438 if test -n "$ft_devel"; then
12439 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12440 echo "${ECHO_T}$ft_devel" >&6; }
12442 { echo "$as_me:$LINENO: result: no" >&5
12443 echo "${ECHO_T}no" >&6; }
12447 if test "$ft_devel" = "no"
12449 # Extract the first word of "freetype2-config", so it can be a program name with args.
12450 set dummy freetype2-config; ac_word=$2
12451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12453 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12454 echo $ECHO_N "(cached) $ECHO_C" >&6
12456 if test -n "$ft_devel2"; then
12457 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12460 for as_dir in $PATH
12463 test -z "$as_dir" && as_dir=.
12464 for ac_exec_ext in '' $ac_executable_extensions; do
12465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12466 ac_cv_prog_ft_devel2="freetype2-config"
12467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12474 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12477 ft_devel2=$ac_cv_prog_ft_devel2
12478 if test -n "$ft_devel2"; then
12479 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12480 echo "${ECHO_T}$ft_devel2" >&6; }
12482 { echo "$as_me:$LINENO: result: no" >&5
12483 echo "${ECHO_T}no" >&6; }
12487 if test "$ft_devel2" = "freetype2-config"
12489 ft_devel=$ft_devel2
12493 if test "$ft_devel" = "no"
12495 wine_cv_msg_freetype=yes
12497 FREETYPELIBS=`$ft_devel --libs`
12498 FREETYPEINCL=`$ft_devel --cflags`
12499 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12500 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12501 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12502 echo $ECHO_N "(cached) $ECHO_C" >&6
12504 ac_check_lib_save_LIBS=$LIBS
12505 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12506 cat >conftest.$ac_ext <<_ACEOF
12509 cat confdefs.h >>conftest.$ac_ext
12510 cat >>conftest.$ac_ext <<_ACEOF
12511 /* end confdefs.h. */
12513 /* Override any GCC internal prototype to avoid an error.
12514 Use char because int might match the return type of a GCC
12515 builtin and then its argument prototype would still apply. */
12519 char FT_Init_FreeType ();
12523 return FT_Init_FreeType ();
12528 rm -f conftest.$ac_objext conftest$ac_exeext
12529 if { (ac_try="$ac_link"
12530 case "(($ac_try" in
12531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12532 *) ac_try_echo=$ac_try;;
12534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12535 (eval "$ac_link") 2>conftest.er1
12537 grep -v '^ *+' conftest.er1 >conftest.err
12539 cat conftest.err >&5
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); } &&
12542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12543 { (case "(($ac_try" in
12544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12545 *) ac_try_echo=$ac_try;;
12547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12548 (eval "$ac_try") 2>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; } &&
12552 { ac_try='test -s conftest$ac_exeext'
12553 { (case "(($ac_try" in
12554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12555 *) ac_try_echo=$ac_try;;
12557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12558 (eval "$ac_try") 2>&5
12560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561 (exit $ac_status); }; }; then
12562 ac_cv_lib_freetype_FT_Init_FreeType=yes
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.$ac_ext >&5
12567 ac_cv_lib_freetype_FT_Init_FreeType=no
12570 rm -f core conftest.err conftest.$ac_objext \
12571 conftest$ac_exeext conftest.$ac_ext
12572 LIBS=$ac_check_lib_save_LIBS
12574 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12575 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12576 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12582 if test "$ft_lib" = "no"
12584 wine_cv_msg_freetype=yes
12588 ac_save_CPPFLAGS="$CPPFLAGS"
12589 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12601 for ac_header in ft2build.h \
12602 freetype/freetype.h \
12603 freetype/ftglyph.h \
12604 freetype/tttables.h \
12605 freetype/ftnames.h \
12606 freetype/ftsnames.h \
12607 freetype/ttnameid.h \
12608 freetype/ftoutln.h \
12609 freetype/ftwinfnt.h \
12610 freetype/ftmodapi.h \
12611 freetype/internal/sfnt.h
12613 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12614 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12616 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12619 cat >conftest.$ac_ext <<_ACEOF
12622 cat confdefs.h >>conftest.$ac_ext
12623 cat >>conftest.$ac_ext <<_ACEOF
12624 /* end confdefs.h. */
12625 #if HAVE_FT2BUILD_H
12626 #include <ft2build.h>
12629 #include <$ac_header>
12631 rm -f conftest.$ac_objext
12632 if { (ac_try="$ac_compile"
12633 case "(($ac_try" in
12634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12635 *) ac_try_echo=$ac_try;;
12637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12638 (eval "$ac_compile") 2>conftest.er1
12640 grep -v '^ *+' conftest.er1 >conftest.err
12642 cat conftest.err >&5
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); } &&
12645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12646 { (case "(($ac_try" in
12647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12648 *) ac_try_echo=$ac_try;;
12650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12651 (eval "$ac_try") 2>&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); }; } &&
12655 { ac_try='test -s conftest.$ac_objext'
12656 { (case "(($ac_try" in
12657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12658 *) ac_try_echo=$ac_try;;
12660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12661 (eval "$ac_try") 2>&5
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); }; }; then
12665 eval "$as_ac_Header=yes"
12667 echo "$as_me: failed program was:" >&5
12668 sed 's/^/| /' conftest.$ac_ext >&5
12670 eval "$as_ac_Header=no"
12673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12675 ac_res=`eval echo '${'$as_ac_Header'}'`
12676 { echo "$as_me:$LINENO: result: $ac_res" >&5
12677 echo "${ECHO_T}$ac_res" >&6; }
12678 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12679 cat >>confdefs.h <<_ACEOF
12680 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12687 cat >conftest.$ac_ext <<_ACEOF
12690 cat confdefs.h >>conftest.$ac_ext
12691 cat >>conftest.$ac_ext <<_ACEOF
12692 /* end confdefs.h. */
12693 #include <ft2build.h>
12694 #include <freetype/fttrigon.h>
12696 if { (ac_try="$ac_cpp conftest.$ac_ext"
12697 case "(($ac_try" in
12698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12699 *) ac_try_echo=$ac_try;;
12701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12702 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12704 grep -v '^ *+' conftest.er1 >conftest.err
12706 cat conftest.err >&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } >/dev/null; then
12709 if test -s conftest.err; then
12710 ac_cpp_err=$ac_c_preproc_warn_flag
12711 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12718 if test -z "$ac_cpp_err"; then
12720 cat >>confdefs.h <<\_ACEOF
12721 #define HAVE_FREETYPE_FTTRIGON_H 1
12724 wine_cv_fttrigon=yes
12726 echo "$as_me: failed program was:" >&5
12727 sed 's/^/| /' conftest.$ac_ext >&5
12729 wine_cv_fttrigon=no
12732 rm -f conftest.err conftest.$ac_ext
12733 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12734 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12735 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12736 echo $ECHO_N "(cached) $ECHO_C" >&6
12738 cat >conftest.$ac_ext <<_ACEOF
12741 cat confdefs.h >>conftest.$ac_ext
12742 cat >>conftest.$ac_ext <<_ACEOF
12743 /* end confdefs.h. */
12744 #include <freetype/ftmodapi.h>
12746 typedef FT_TrueTypeEngineType ac__type_new_;
12750 if ((ac__type_new_ *) 0)
12752 if (sizeof (ac__type_new_))
12758 rm -f conftest.$ac_objext
12759 if { (ac_try="$ac_compile"
12760 case "(($ac_try" in
12761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12762 *) ac_try_echo=$ac_try;;
12764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12765 (eval "$ac_compile") 2>conftest.er1
12767 grep -v '^ *+' conftest.er1 >conftest.err
12769 cat conftest.err >&5
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); } &&
12772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12773 { (case "(($ac_try" in
12774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12775 *) ac_try_echo=$ac_try;;
12777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12778 (eval "$ac_try") 2>&5
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); }; } &&
12782 { ac_try='test -s conftest.$ac_objext'
12783 { (case "(($ac_try" in
12784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12785 *) ac_try_echo=$ac_try;;
12787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12788 (eval "$ac_try") 2>&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; }; then
12792 ac_cv_type_FT_TrueTypeEngineType=yes
12794 echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.$ac_ext >&5
12797 ac_cv_type_FT_TrueTypeEngineType=no
12800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12802 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12803 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12804 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12806 cat >>confdefs.h <<_ACEOF
12807 #define HAVE_FT_TRUETYPEENGINETYPE 1
12813 ac_save_CFLAGS="$CFLAGS"
12814 CFLAGS="$CFLAGS $FREETYPELIBS"
12816 for ac_func in FT_Load_Sfnt_Table
12818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12821 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12822 echo $ECHO_N "(cached) $ECHO_C" >&6
12824 cat >conftest.$ac_ext <<_ACEOF
12827 cat confdefs.h >>conftest.$ac_ext
12828 cat >>conftest.$ac_ext <<_ACEOF
12829 /* end confdefs.h. */
12830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12832 #define $ac_func innocuous_$ac_func
12834 /* System header to define __stub macros and hopefully few prototypes,
12835 which can conflict with char $ac_func (); below.
12836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12837 <limits.h> exists even on freestanding compilers. */
12840 # include <limits.h>
12842 # include <assert.h>
12847 /* Override any GCC internal prototype to avoid an error.
12848 Use char because int might match the return type of a GCC
12849 builtin and then its argument prototype would still apply. */
12854 /* The GNU C library defines this for functions which it implements
12855 to always fail with ENOSYS. Some functions are actually named
12856 something starting with __ and the normal name is an alias. */
12857 #if defined __stub_$ac_func || defined __stub___$ac_func
12864 return $ac_func ();
12869 rm -f conftest.$ac_objext conftest$ac_exeext
12870 if { (ac_try="$ac_link"
12871 case "(($ac_try" in
12872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12873 *) ac_try_echo=$ac_try;;
12875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12876 (eval "$ac_link") 2>conftest.er1
12878 grep -v '^ *+' conftest.er1 >conftest.err
12880 cat conftest.err >&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); } &&
12883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12884 { (case "(($ac_try" in
12885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12886 *) ac_try_echo=$ac_try;;
12888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12889 (eval "$ac_try") 2>&5
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); }; } &&
12893 { ac_try='test -s conftest$ac_exeext'
12894 { (case "(($ac_try" in
12895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12896 *) ac_try_echo=$ac_try;;
12898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12899 (eval "$ac_try") 2>&5
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); }; }; then
12903 eval "$as_ac_var=yes"
12905 echo "$as_me: failed program was:" >&5
12906 sed 's/^/| /' conftest.$ac_ext >&5
12908 eval "$as_ac_var=no"
12911 rm -f core conftest.err conftest.$ac_objext \
12912 conftest$ac_exeext conftest.$ac_ext
12914 ac_res=`eval echo '${'$as_ac_var'}'`
12915 { echo "$as_me:$LINENO: result: $ac_res" >&5
12916 echo "${ECHO_T}$ac_res" >&6; }
12917 if test `eval echo '${'$as_ac_var'}'` = yes; then
12918 cat >>confdefs.h <<_ACEOF
12919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12925 CFLAGS="$ac_save_CFLAGS"
12926 CPPFLAGS="$ac_save_CPPFLAGS"
12927 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12930 cat >>confdefs.h <<\_ACEOF
12931 #define HAVE_FREETYPE 1
12934 wine_cv_msg_freetype=no
12938 wine_cv_msg_freetype=yes
12943 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12945 FONTSSUBDIRS="fonts"
12949 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12950 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12951 if test "${ac_cv_c_ppdev+set}" = set; then
12952 echo $ECHO_N "(cached) $ECHO_C" >&6
12954 cat >conftest.$ac_ext <<_ACEOF
12957 cat confdefs.h >>conftest.$ac_ext
12958 cat >>conftest.$ac_ext <<_ACEOF
12959 /* end confdefs.h. */
12960 #include <linux/ppdev.h>
12964 ioctl (1,PPCLAIM,0)
12969 rm -f conftest.$ac_objext
12970 if { (ac_try="$ac_compile"
12971 case "(($ac_try" in
12972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12973 *) ac_try_echo=$ac_try;;
12975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12976 (eval "$ac_compile") 2>conftest.er1
12978 grep -v '^ *+' conftest.er1 >conftest.err
12980 cat conftest.err >&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); } &&
12983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12984 { (case "(($ac_try" in
12985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12986 *) ac_try_echo=$ac_try;;
12988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12989 (eval "$ac_try") 2>&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); }; } &&
12993 { ac_try='test -s conftest.$ac_objext'
12994 { (case "(($ac_try" in
12995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12996 *) ac_try_echo=$ac_try;;
12998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12999 (eval "$ac_try") 2>&5
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); }; }; then
13003 ac_cv_c_ppdev="yes"
13005 echo "$as_me: failed program was:" >&5
13006 sed 's/^/| /' conftest.$ac_ext >&5
13011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13014 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13015 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13016 if test "$ac_cv_c_ppdev" = "yes"
13019 cat >>confdefs.h <<\_ACEOF
13020 #define HAVE_PPDEV 1
13025 { echo "$as_me:$LINENO: checking for va_copy" >&5
13026 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13027 if test "${ac_cv_c_va_copy+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13030 cat >conftest.$ac_ext <<_ACEOF
13033 cat confdefs.h >>conftest.$ac_ext
13034 cat >>conftest.$ac_ext <<_ACEOF
13035 /* end confdefs.h. */
13036 #include <stdarg.h>
13047 rm -f conftest.$ac_objext conftest$ac_exeext
13048 if { (ac_try="$ac_link"
13049 case "(($ac_try" in
13050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13051 *) ac_try_echo=$ac_try;;
13053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13054 (eval "$ac_link") 2>conftest.er1
13056 grep -v '^ *+' conftest.er1 >conftest.err
13058 cat conftest.err >&5
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); } &&
13061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13062 { (case "(($ac_try" in
13063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13064 *) ac_try_echo=$ac_try;;
13066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13067 (eval "$ac_try") 2>&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; } &&
13071 { ac_try='test -s conftest$ac_exeext'
13072 { (case "(($ac_try" in
13073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13074 *) ac_try_echo=$ac_try;;
13076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13077 (eval "$ac_try") 2>&5
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); }; }; then
13081 ac_cv_c_va_copy="yes"
13083 echo "$as_me: failed program was:" >&5
13084 sed 's/^/| /' conftest.$ac_ext >&5
13086 ac_cv_c_va_copy="no"
13089 rm -f core conftest.err conftest.$ac_objext \
13090 conftest$ac_exeext conftest.$ac_ext
13093 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13094 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13095 if test "$ac_cv_c_va_copy" = "yes"
13098 cat >>confdefs.h <<\_ACEOF
13099 #define HAVE_VA_COPY 1
13103 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13104 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13105 if test "${ac_cv_c___va_copy+set}" = set; then
13106 echo $ECHO_N "(cached) $ECHO_C" >&6
13108 cat >conftest.$ac_ext <<_ACEOF
13111 cat confdefs.h >>conftest.$ac_ext
13112 cat >>conftest.$ac_ext <<_ACEOF
13113 /* end confdefs.h. */
13114 #include <stdarg.h>
13119 __va_copy(ap1,ap2);
13125 rm -f conftest.$ac_objext conftest$ac_exeext
13126 if { (ac_try="$ac_link"
13127 case "(($ac_try" in
13128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13129 *) ac_try_echo=$ac_try;;
13131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13132 (eval "$ac_link") 2>conftest.er1
13134 grep -v '^ *+' conftest.er1 >conftest.err
13136 cat conftest.err >&5
13137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138 (exit $ac_status); } &&
13139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13140 { (case "(($ac_try" in
13141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13142 *) ac_try_echo=$ac_try;;
13144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13145 (eval "$ac_try") 2>&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); }; } &&
13149 { ac_try='test -s conftest$ac_exeext'
13150 { (case "(($ac_try" in
13151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13152 *) ac_try_echo=$ac_try;;
13154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13155 (eval "$ac_try") 2>&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; }; then
13159 ac_cv_c___va_copy="yes"
13161 echo "$as_me: failed program was:" >&5
13162 sed 's/^/| /' conftest.$ac_ext >&5
13164 ac_cv_c___va_copy="no"
13167 rm -f core conftest.err conftest.$ac_objext \
13168 conftest$ac_exeext conftest.$ac_ext
13171 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13172 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13173 if test "$ac_cv_c___va_copy" = "yes"
13176 cat >>confdefs.h <<\_ACEOF
13177 #define HAVE___VA_COPY 1
13182 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13183 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13184 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13185 echo $ECHO_N "(cached) $ECHO_C" >&6
13187 cat >conftest.$ac_ext <<_ACEOF
13190 cat confdefs.h >>conftest.$ac_ext
13191 cat >>conftest.$ac_ext <<_ACEOF
13192 /* end confdefs.h. */
13193 #include <setjmp.h>
13198 sigsetjmp( buf, 1 );
13199 siglongjmp( buf, 1 );
13204 rm -f conftest.$ac_objext conftest$ac_exeext
13205 if { (ac_try="$ac_link"
13206 case "(($ac_try" in
13207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13208 *) ac_try_echo=$ac_try;;
13210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13211 (eval "$ac_link") 2>conftest.er1
13213 grep -v '^ *+' conftest.er1 >conftest.err
13215 cat conftest.err >&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } &&
13218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13219 { (case "(($ac_try" in
13220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13221 *) ac_try_echo=$ac_try;;
13223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13224 (eval "$ac_try") 2>&5
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; } &&
13228 { ac_try='test -s conftest$ac_exeext'
13229 { (case "(($ac_try" in
13230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13231 *) ac_try_echo=$ac_try;;
13233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13234 (eval "$ac_try") 2>&5
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); }; }; then
13238 ac_cv_c_sigsetjmp="yes"
13240 echo "$as_me: failed program was:" >&5
13241 sed 's/^/| /' conftest.$ac_ext >&5
13243 ac_cv_c_sigsetjmp="no"
13246 rm -f core conftest.err conftest.$ac_objext \
13247 conftest$ac_exeext conftest.$ac_ext
13250 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13251 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13252 if test "$ac_cv_c_sigsetjmp" = "yes"
13255 cat >>confdefs.h <<\_ACEOF
13256 #define HAVE_SIGSETJMP 1
13261 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13262 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13263 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13264 echo $ECHO_N "(cached) $ECHO_C" >&6
13266 cat >conftest.$ac_ext <<_ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272 #define _GNU_SOURCE
13273 #include <pthread.h>
13275 typedef pthread_rwlock_t ac__type_new_;
13279 if ((ac__type_new_ *) 0)
13281 if (sizeof (ac__type_new_))
13287 rm -f conftest.$ac_objext
13288 if { (ac_try="$ac_compile"
13289 case "(($ac_try" in
13290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13291 *) ac_try_echo=$ac_try;;
13293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13294 (eval "$ac_compile") 2>conftest.er1
13296 grep -v '^ *+' conftest.er1 >conftest.err
13298 cat conftest.err >&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); } &&
13301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13302 { (case "(($ac_try" in
13303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13304 *) ac_try_echo=$ac_try;;
13306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13307 (eval "$ac_try") 2>&5
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); }; } &&
13311 { ac_try='test -s conftest.$ac_objext'
13312 { (case "(($ac_try" in
13313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13314 *) ac_try_echo=$ac_try;;
13316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13317 (eval "$ac_try") 2>&5
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); }; }; then
13321 ac_cv_type_pthread_rwlock_t=yes
13323 echo "$as_me: failed program was:" >&5
13324 sed 's/^/| /' conftest.$ac_ext >&5
13326 ac_cv_type_pthread_rwlock_t=no
13329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13331 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13332 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13333 if test $ac_cv_type_pthread_rwlock_t = yes; then
13335 cat >>confdefs.h <<_ACEOF
13336 #define HAVE_PTHREAD_RWLOCK_T 1
13341 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13342 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13343 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13344 echo $ECHO_N "(cached) $ECHO_C" >&6
13346 cat >conftest.$ac_ext <<_ACEOF
13349 cat confdefs.h >>conftest.$ac_ext
13350 cat >>conftest.$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13352 #define _GNU_SOURCE
13353 #include <pthread.h>
13355 typedef pthread_rwlockattr_t ac__type_new_;
13359 if ((ac__type_new_ *) 0)
13361 if (sizeof (ac__type_new_))
13367 rm -f conftest.$ac_objext
13368 if { (ac_try="$ac_compile"
13369 case "(($ac_try" in
13370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13371 *) ac_try_echo=$ac_try;;
13373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13374 (eval "$ac_compile") 2>conftest.er1
13376 grep -v '^ *+' conftest.er1 >conftest.err
13378 cat conftest.err >&5
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); } &&
13381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13382 { (case "(($ac_try" in
13383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13384 *) ac_try_echo=$ac_try;;
13386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13387 (eval "$ac_try") 2>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; } &&
13391 { ac_try='test -s conftest.$ac_objext'
13392 { (case "(($ac_try" in
13393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13394 *) ac_try_echo=$ac_try;;
13396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13397 (eval "$ac_try") 2>&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); }; }; then
13401 ac_cv_type_pthread_rwlockattr_t=yes
13403 echo "$as_me: failed program was:" >&5
13404 sed 's/^/| /' conftest.$ac_ext >&5
13406 ac_cv_type_pthread_rwlockattr_t=no
13409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13411 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13412 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13413 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13415 cat >>confdefs.h <<_ACEOF
13416 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13423 ac_wine_check_funcs_save_LIBS="$LIBS"
13424 LIBS="$LIBS $LIBPTHREAD"
13430 pthread_attr_get_np \
13431 pthread_getattr_np \
13432 pthread_get_stackaddr_np \
13433 pthread_get_stacksize_np
13435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13436 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13438 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13439 echo $ECHO_N "(cached) $ECHO_C" >&6
13441 cat >conftest.$ac_ext <<_ACEOF
13444 cat confdefs.h >>conftest.$ac_ext
13445 cat >>conftest.$ac_ext <<_ACEOF
13446 /* end confdefs.h. */
13447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13449 #define $ac_func innocuous_$ac_func
13451 /* System header to define __stub macros and hopefully few prototypes,
13452 which can conflict with char $ac_func (); below.
13453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13454 <limits.h> exists even on freestanding compilers. */
13457 # include <limits.h>
13459 # include <assert.h>
13464 /* Override any GCC internal prototype to avoid an error.
13465 Use char because int might match the return type of a GCC
13466 builtin and then its argument prototype would still apply. */
13471 /* The GNU C library defines this for functions which it implements
13472 to always fail with ENOSYS. Some functions are actually named
13473 something starting with __ and the normal name is an alias. */
13474 #if defined __stub_$ac_func || defined __stub___$ac_func
13481 return $ac_func ();
13486 rm -f conftest.$ac_objext conftest$ac_exeext
13487 if { (ac_try="$ac_link"
13488 case "(($ac_try" in
13489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13490 *) ac_try_echo=$ac_try;;
13492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13493 (eval "$ac_link") 2>conftest.er1
13495 grep -v '^ *+' conftest.er1 >conftest.err
13497 cat conftest.err >&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } &&
13500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13501 { (case "(($ac_try" in
13502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13503 *) ac_try_echo=$ac_try;;
13505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13506 (eval "$ac_try") 2>&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); }; } &&
13510 { ac_try='test -s conftest$ac_exeext'
13511 { (case "(($ac_try" in
13512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13513 *) ac_try_echo=$ac_try;;
13515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13516 (eval "$ac_try") 2>&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; }; then
13520 eval "$as_ac_var=yes"
13522 echo "$as_me: failed program was:" >&5
13523 sed 's/^/| /' conftest.$ac_ext >&5
13525 eval "$as_ac_var=no"
13528 rm -f core conftest.err conftest.$ac_objext \
13529 conftest$ac_exeext conftest.$ac_ext
13531 ac_res=`eval echo '${'$as_ac_var'}'`
13532 { echo "$as_me:$LINENO: result: $ac_res" >&5
13533 echo "${ECHO_T}$ac_res" >&6; }
13534 if test `eval echo '${'$as_ac_var'}'` = yes; then
13535 cat >>confdefs.h <<_ACEOF
13536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13542 LIBS="$ac_wine_check_funcs_save_LIBS"
13544 # Extract the first word of "artsc-config", so it can be a program name with args.
13545 set dummy artsc-config; ac_word=$2
13546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13548 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13551 case $ARTSCCONFIG in
13553 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
13556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13557 for as_dir in $PATH
13560 test -z "$as_dir" && as_dir=.
13561 for ac_exec_ext in '' $ac_executable_extensions; do
13562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13563 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
13564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13574 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
13575 if test -n "$ARTSCCONFIG"; then
13576 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13577 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13579 { echo "$as_me:$LINENO: result: no" >&5
13580 echo "${ECHO_T}no" >&6; }
13584 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
13587 for i in `$ARTSCCONFIG --cflags`
13590 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
13594 for i in `$ARTSCCONFIG --libs`
13597 -L/usr/lib|-L/usr/lib64) ;;
13598 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
13601 save_CFLAGS="$CFLAGS"
13602 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
13603 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13604 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13605 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13606 echo $ECHO_N "(cached) $ECHO_C" >&6
13608 ac_check_lib_save_LIBS=$LIBS
13609 LIBS="-lartsc $ARTSC_LIBS $LIBS"
13610 cat >conftest.$ac_ext <<_ACEOF
13613 cat confdefs.h >>conftest.$ac_ext
13614 cat >>conftest.$ac_ext <<_ACEOF
13615 /* end confdefs.h. */
13617 /* Override any GCC internal prototype to avoid an error.
13618 Use char because int might match the return type of a GCC
13619 builtin and then its argument prototype would still apply. */
13627 return arts_init ();
13632 rm -f conftest.$ac_objext conftest$ac_exeext
13633 if { (ac_try="$ac_link"
13634 case "(($ac_try" in
13635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13636 *) ac_try_echo=$ac_try;;
13638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13639 (eval "$ac_link") 2>conftest.er1
13641 grep -v '^ *+' conftest.er1 >conftest.err
13643 cat conftest.err >&5
13644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13645 (exit $ac_status); } &&
13646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13647 { (case "(($ac_try" in
13648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13649 *) ac_try_echo=$ac_try;;
13651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13652 (eval "$ac_try") 2>&5
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); }; } &&
13656 { ac_try='test -s conftest$ac_exeext'
13657 { (case "(($ac_try" in
13658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13659 *) ac_try_echo=$ac_try;;
13661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13662 (eval "$ac_try") 2>&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); }; }; then
13666 ac_cv_lib_artsc_arts_init=yes
13668 echo "$as_me: failed program was:" >&5
13669 sed 's/^/| /' conftest.$ac_ext >&5
13671 ac_cv_lib_artsc_arts_init=no
13674 rm -f core conftest.err conftest.$ac_objext \
13675 conftest$ac_exeext conftest.$ac_ext
13676 LIBS=$ac_check_lib_save_LIBS
13678 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13679 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13680 if test $ac_cv_lib_artsc_arts_init = yes; then
13681 cat >conftest.$ac_ext <<_ACEOF
13684 cat confdefs.h >>conftest.$ac_ext
13685 cat >>conftest.$ac_ext <<_ACEOF
13686 /* end confdefs.h. */
13691 arts_stream_t stream;
13696 rm -f conftest.$ac_objext
13697 if { (ac_try="$ac_compile"
13698 case "(($ac_try" in
13699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13700 *) ac_try_echo=$ac_try;;
13702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13703 (eval "$ac_compile") 2>conftest.er1
13705 grep -v '^ *+' conftest.er1 >conftest.err
13707 cat conftest.err >&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); } &&
13710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13711 { (case "(($ac_try" in
13712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13713 *) ac_try_echo=$ac_try;;
13715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13716 (eval "$ac_try") 2>&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); }; } &&
13720 { ac_try='test -s conftest.$ac_objext'
13721 { (case "(($ac_try" in
13722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13723 *) ac_try_echo=$ac_try;;
13725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13726 (eval "$ac_try") 2>&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); }; }; then
13730 ARTSLIBS=$ARTSC_LIBS
13732 ARTSINCL=$ARTSC_CFLAGS
13735 cat >>confdefs.h <<\_ACEOF
13736 #define HAVE_ARTS 1
13740 echo "$as_me: failed program was:" >&5
13741 sed 's/^/| /' conftest.$ac_ext >&5
13746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13749 CFLAGS="$save_CFLAGS"
13752 # Extract the first word of "esd-config", so it can be a program name with args.
13753 set dummy esd-config; ac_word=$2
13754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13756 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13757 echo $ECHO_N "(cached) $ECHO_C" >&6
13761 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13765 for as_dir in $PATH
13768 test -z "$as_dir" && as_dir=.
13769 for ac_exec_ext in '' $ac_executable_extensions; do
13770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13771 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13782 ESDCONFIG=$ac_cv_path_ESDCONFIG
13783 if test -n "$ESDCONFIG"; then
13784 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13785 echo "${ECHO_T}$ESDCONFIG" >&6; }
13787 { echo "$as_me:$LINENO: result: no" >&5
13788 echo "${ECHO_T}no" >&6; }
13792 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13795 for i in `$ESDCONFIG --cflags`
13798 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13801 ESD_LIBS=`$ESDCONFIG --libs`
13802 save_CFLAGS="$CFLAGS"
13803 CFLAGS="$CFLAGS $ESD_CFLAGS"
13804 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13805 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13806 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13807 echo $ECHO_N "(cached) $ECHO_C" >&6
13809 ac_check_lib_save_LIBS=$LIBS
13811 cat >conftest.$ac_ext <<_ACEOF
13814 cat confdefs.h >>conftest.$ac_ext
13815 cat >>conftest.$ac_ext <<_ACEOF
13816 /* end confdefs.h. */
13818 /* Override any GCC internal prototype to avoid an error.
13819 Use char because int might match the return type of a GCC
13820 builtin and then its argument prototype would still apply. */
13824 char esd_open_sound ();
13828 return esd_open_sound ();
13833 rm -f conftest.$ac_objext conftest$ac_exeext
13834 if { (ac_try="$ac_link"
13835 case "(($ac_try" in
13836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13837 *) ac_try_echo=$ac_try;;
13839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13840 (eval "$ac_link") 2>conftest.er1
13842 grep -v '^ *+' conftest.er1 >conftest.err
13844 cat conftest.err >&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 (exit $ac_status); } &&
13847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13848 { (case "(($ac_try" in
13849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13850 *) ac_try_echo=$ac_try;;
13852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13853 (eval "$ac_try") 2>&5
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 (exit $ac_status); }; } &&
13857 { ac_try='test -s conftest$ac_exeext'
13858 { (case "(($ac_try" in
13859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13860 *) ac_try_echo=$ac_try;;
13862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13863 (eval "$ac_try") 2>&5
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); }; }; then
13867 ac_cv_lib_esd_esd_open_sound=yes
13869 echo "$as_me: failed program was:" >&5
13870 sed 's/^/| /' conftest.$ac_ext >&5
13872 ac_cv_lib_esd_esd_open_sound=no
13875 rm -f core conftest.err conftest.$ac_objext \
13876 conftest$ac_exeext conftest.$ac_ext
13877 LIBS=$ac_check_lib_save_LIBS
13879 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13880 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13881 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13884 ESDINCL=$ESD_CFLAGS
13887 cat >>confdefs.h <<\_ACEOF
13893 CFLAGS="$save_CFLAGS"
13898 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13900 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13901 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13902 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13905 ac_check_lib_save_LIBS=$LIBS
13906 LIBS="-lasound $LIBS"
13907 cat >conftest.$ac_ext <<_ACEOF
13910 cat confdefs.h >>conftest.$ac_ext
13911 cat >>conftest.$ac_ext <<_ACEOF
13912 /* end confdefs.h. */
13914 /* Override any GCC internal prototype to avoid an error.
13915 Use char because int might match the return type of a GCC
13916 builtin and then its argument prototype would still apply. */
13920 char snd_pcm_hw_params_get_access ();
13924 return snd_pcm_hw_params_get_access ();
13929 rm -f conftest.$ac_objext conftest$ac_exeext
13930 if { (ac_try="$ac_link"
13931 case "(($ac_try" in
13932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13933 *) ac_try_echo=$ac_try;;
13935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13936 (eval "$ac_link") 2>conftest.er1
13938 grep -v '^ *+' conftest.er1 >conftest.err
13940 cat conftest.err >&5
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); } &&
13943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13944 { (case "(($ac_try" in
13945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13946 *) ac_try_echo=$ac_try;;
13948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13949 (eval "$ac_try") 2>&5
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); }; } &&
13953 { ac_try='test -s conftest$ac_exeext'
13954 { (case "(($ac_try" in
13955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13956 *) ac_try_echo=$ac_try;;
13958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13959 (eval "$ac_try") 2>&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); }; }; then
13963 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13965 echo "$as_me: failed program was:" >&5
13966 sed 's/^/| /' conftest.$ac_ext >&5
13968 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13971 rm -f core conftest.err conftest.$ac_objext \
13972 conftest$ac_exeext conftest.$ac_ext
13973 LIBS=$ac_check_lib_save_LIBS
13975 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13976 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13977 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13978 cat >conftest.$ac_ext <<_ACEOF
13981 cat confdefs.h >>conftest.$ac_ext
13982 cat >>conftest.$ac_ext <<_ACEOF
13983 /* end confdefs.h. */
13984 #ifdef HAVE_ALSA_ASOUNDLIB_H
13985 #include <alsa/asoundlib.h>
13986 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13987 #include <sys/asoundlib.h>
13992 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13997 rm -f conftest.$ac_objext
13998 if { (ac_try="$ac_compile"
13999 case "(($ac_try" in
14000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14001 *) ac_try_echo=$ac_try;;
14003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14004 (eval "$ac_compile") 2>conftest.er1
14006 grep -v '^ *+' conftest.er1 >conftest.err
14008 cat conftest.err >&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); } &&
14011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14012 { (case "(($ac_try" in
14013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14014 *) ac_try_echo=$ac_try;;
14016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14017 (eval "$ac_try") 2>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); }; } &&
14021 { ac_try='test -s conftest.$ac_objext'
14022 { (case "(($ac_try" in
14023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14024 *) ac_try_echo=$ac_try;;
14026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14027 (eval "$ac_try") 2>&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; }; then
14032 cat >>confdefs.h <<\_ACEOF
14033 #define HAVE_ALSA 1
14036 ALSALIBS="-lasound"
14038 echo "$as_me: failed program was:" >&5
14039 sed 's/^/| /' conftest.$ac_ext >&5
14044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14052 if test "$ac_cv_header_libaudioio_h" = "yes"
14054 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14055 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14056 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14057 echo $ECHO_N "(cached) $ECHO_C" >&6
14059 ac_check_lib_save_LIBS=$LIBS
14060 LIBS="-laudioio $LIBS"
14061 cat >conftest.$ac_ext <<_ACEOF
14064 cat confdefs.h >>conftest.$ac_ext
14065 cat >>conftest.$ac_ext <<_ACEOF
14066 /* end confdefs.h. */
14068 /* Override any GCC internal prototype to avoid an error.
14069 Use char because int might match the return type of a GCC
14070 builtin and then its argument prototype would still apply. */
14074 char AudioIOGetVersion ();
14078 return AudioIOGetVersion ();
14083 rm -f conftest.$ac_objext conftest$ac_exeext
14084 if { (ac_try="$ac_link"
14085 case "(($ac_try" in
14086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14087 *) ac_try_echo=$ac_try;;
14089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14090 (eval "$ac_link") 2>conftest.er1
14092 grep -v '^ *+' conftest.er1 >conftest.err
14094 cat conftest.err >&5
14095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14096 (exit $ac_status); } &&
14097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14098 { (case "(($ac_try" in
14099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14100 *) ac_try_echo=$ac_try;;
14102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14103 (eval "$ac_try") 2>&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; } &&
14107 { ac_try='test -s conftest$ac_exeext'
14108 { (case "(($ac_try" in
14109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14110 *) ac_try_echo=$ac_try;;
14112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14113 (eval "$ac_try") 2>&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); }; }; then
14117 ac_cv_lib_audioio_AudioIOGetVersion=yes
14119 echo "$as_me: failed program was:" >&5
14120 sed 's/^/| /' conftest.$ac_ext >&5
14122 ac_cv_lib_audioio_AudioIOGetVersion=no
14125 rm -f core conftest.err conftest.$ac_objext \
14126 conftest$ac_exeext conftest.$ac_ext
14127 LIBS=$ac_check_lib_save_LIBS
14129 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14130 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14131 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14132 AUDIOIOLIBS="-laudioio"
14134 cat >>confdefs.h <<\_ACEOF
14135 #define HAVE_LIBAUDIOIO 1
14143 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14145 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14146 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14147 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14148 echo $ECHO_N "(cached) $ECHO_C" >&6
14150 ac_check_lib_save_LIBS=$LIBS
14151 LIBS="-lcapi20 $LIBS"
14152 cat >conftest.$ac_ext <<_ACEOF
14155 cat confdefs.h >>conftest.$ac_ext
14156 cat >>conftest.$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14159 /* Override any GCC internal prototype to avoid an error.
14160 Use char because int might match the return type of a GCC
14161 builtin and then its argument prototype would still apply. */
14165 char capi20_register ();
14169 return capi20_register ();
14174 rm -f conftest.$ac_objext conftest$ac_exeext
14175 if { (ac_try="$ac_link"
14176 case "(($ac_try" in
14177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14178 *) ac_try_echo=$ac_try;;
14180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14181 (eval "$ac_link") 2>conftest.er1
14183 grep -v '^ *+' conftest.er1 >conftest.err
14185 cat conftest.err >&5
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); } &&
14188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14189 { (case "(($ac_try" in
14190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14191 *) ac_try_echo=$ac_try;;
14193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14194 (eval "$ac_try") 2>&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); }; } &&
14198 { ac_try='test -s conftest$ac_exeext'
14199 { (case "(($ac_try" in
14200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14201 *) ac_try_echo=$ac_try;;
14203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14204 (eval "$ac_try") 2>&5
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }; }; then
14208 ac_cv_lib_capi20_capi20_register=yes
14210 echo "$as_me: failed program was:" >&5
14211 sed 's/^/| /' conftest.$ac_ext >&5
14213 ac_cv_lib_capi20_capi20_register=no
14216 rm -f core conftest.err conftest.$ac_objext \
14217 conftest$ac_exeext conftest.$ac_ext
14218 LIBS=$ac_check_lib_save_LIBS
14220 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14221 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14222 if test $ac_cv_lib_capi20_capi20_register = yes; then
14224 cat >>confdefs.h <<\_ACEOF
14225 #define HAVE_CAPI4LINUX 1
14235 if test "x${GCC}" = "xyes"
14237 EXTRACFLAGS="-Wall -pipe"
14239 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14240 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14241 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14242 echo $ECHO_N "(cached) $ECHO_C" >&6
14244 if test "$cross_compiling" = yes; then
14245 ac_cv_c_gcc_strength_bug="yes"
14247 cat >conftest.$ac_ext <<_ACEOF
14250 cat confdefs.h >>conftest.$ac_ext
14251 cat >>conftest.$ac_ext <<_ACEOF
14252 /* end confdefs.h. */
14254 int L[4] = {0,1,2,3};
14256 static int Array[3];
14257 unsigned int B = 3;
14259 for(i=0; i<B; i++) Array[i] = i - 3;
14260 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14263 exit( Array[1] != -2 || L[2] != 3);
14266 rm -f conftest$ac_exeext
14267 if { (ac_try="$ac_link"
14268 case "(($ac_try" in
14269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14270 *) ac_try_echo=$ac_try;;
14272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14273 (eval "$ac_link") 2>&5
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14277 { (case "(($ac_try" in
14278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14279 *) ac_try_echo=$ac_try;;
14281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14282 (eval "$ac_try") 2>&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; }; then
14286 ac_cv_c_gcc_strength_bug="no"
14288 echo "$as_me: program exited with status $ac_status" >&5
14289 echo "$as_me: failed program was:" >&5
14290 sed 's/^/| /' conftest.$ac_ext >&5
14292 ( exit $ac_status )
14293 ac_cv_c_gcc_strength_bug="yes"
14295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14300 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14301 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14302 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14304 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14308 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14309 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14310 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14311 echo $ECHO_N "(cached) $ECHO_C" >&6
14313 ac_wine_try_cflags_saved=$CFLAGS
14314 CFLAGS="$CFLAGS -fshort-wchar"
14315 cat >conftest.$ac_ext <<_ACEOF
14318 cat confdefs.h >>conftest.$ac_ext
14319 cat >>conftest.$ac_ext <<_ACEOF
14320 /* end confdefs.h. */
14330 rm -f conftest.$ac_objext conftest$ac_exeext
14331 if { (ac_try="$ac_link"
14332 case "(($ac_try" in
14333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14334 *) ac_try_echo=$ac_try;;
14336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14337 (eval "$ac_link") 2>conftest.er1
14339 grep -v '^ *+' conftest.er1 >conftest.err
14341 cat conftest.err >&5
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); } &&
14344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14345 { (case "(($ac_try" in
14346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14347 *) ac_try_echo=$ac_try;;
14349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14350 (eval "$ac_try") 2>&5
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; } &&
14354 { ac_try='test -s conftest$ac_exeext'
14355 { (case "(($ac_try" in
14356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14357 *) ac_try_echo=$ac_try;;
14359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14360 (eval "$ac_try") 2>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; }; then
14364 ac_cv_cflags__fshort_wchar=yes
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.$ac_ext >&5
14369 ac_cv_cflags__fshort_wchar=no
14372 rm -f core conftest.err conftest.$ac_objext \
14373 conftest$ac_exeext conftest.$ac_ext
14374 CFLAGS=$ac_wine_try_cflags_saved
14376 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14377 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14378 if test $ac_cv_cflags__fshort_wchar = yes; then
14380 cat >>confdefs.h <<\_ACEOF
14381 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14386 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14387 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14388 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14389 echo $ECHO_N "(cached) $ECHO_C" >&6
14391 ac_wine_try_cflags_saved=$CFLAGS
14392 CFLAGS="$CFLAGS -fno-strict-aliasing"
14393 cat >conftest.$ac_ext <<_ACEOF
14396 cat confdefs.h >>conftest.$ac_ext
14397 cat >>conftest.$ac_ext <<_ACEOF
14398 /* end confdefs.h. */
14408 rm -f conftest.$ac_objext conftest$ac_exeext
14409 if { (ac_try="$ac_link"
14410 case "(($ac_try" in
14411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14412 *) ac_try_echo=$ac_try;;
14414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14415 (eval "$ac_link") 2>conftest.er1
14417 grep -v '^ *+' conftest.er1 >conftest.err
14419 cat conftest.err >&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); } &&
14422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14423 { (case "(($ac_try" in
14424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14425 *) ac_try_echo=$ac_try;;
14427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14428 (eval "$ac_try") 2>&5
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }; } &&
14432 { ac_try='test -s conftest$ac_exeext'
14433 { (case "(($ac_try" in
14434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14435 *) ac_try_echo=$ac_try;;
14437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14438 (eval "$ac_try") 2>&5
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); }; }; then
14442 ac_cv_cflags__fno_strict_aliasing=yes
14444 echo "$as_me: failed program was:" >&5
14445 sed 's/^/| /' conftest.$ac_ext >&5
14447 ac_cv_cflags__fno_strict_aliasing=no
14450 rm -f core conftest.err conftest.$ac_objext \
14451 conftest$ac_exeext conftest.$ac_ext
14452 CFLAGS=$ac_wine_try_cflags_saved
14454 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14455 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14456 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14457 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14460 { echo "$as_me:$LINENO: checking whether the compiler supports -gstabs+" >&5
14461 echo $ECHO_N "checking whether the compiler supports -gstabs+... $ECHO_C" >&6; }
14462 if test "${ac_cv_cflags__gstabsp+set}" = set; then
14463 echo $ECHO_N "(cached) $ECHO_C" >&6
14465 ac_wine_try_cflags_saved=$CFLAGS
14466 CFLAGS="$CFLAGS -gstabs+"
14467 cat >conftest.$ac_ext <<_ACEOF
14470 cat confdefs.h >>conftest.$ac_ext
14471 cat >>conftest.$ac_ext <<_ACEOF
14472 /* end confdefs.h. */
14482 rm -f conftest.$ac_objext conftest$ac_exeext
14483 if { (ac_try="$ac_link"
14484 case "(($ac_try" in
14485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14486 *) ac_try_echo=$ac_try;;
14488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14489 (eval "$ac_link") 2>conftest.er1
14491 grep -v '^ *+' conftest.er1 >conftest.err
14493 cat conftest.err >&5
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); } &&
14496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14497 { (case "(($ac_try" in
14498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14499 *) ac_try_echo=$ac_try;;
14501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14502 (eval "$ac_try") 2>&5
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); }; } &&
14506 { ac_try='test -s conftest$ac_exeext'
14507 { (case "(($ac_try" in
14508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14509 *) ac_try_echo=$ac_try;;
14511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14512 (eval "$ac_try") 2>&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); }; }; then
14516 ac_cv_cflags__gstabsp=yes
14518 echo "$as_me: failed program was:" >&5
14519 sed 's/^/| /' conftest.$ac_ext >&5
14521 ac_cv_cflags__gstabsp=no
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14526 CFLAGS=$ac_wine_try_cflags_saved
14528 { echo "$as_me:$LINENO: result: $ac_cv_cflags__gstabsp" >&5
14529 echo "${ECHO_T}$ac_cv_cflags__gstabsp" >&6; }
14530 if test $ac_cv_cflags__gstabsp = yes; then
14531 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14534 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14535 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14536 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14537 echo $ECHO_N "(cached) $ECHO_C" >&6
14539 ac_wine_try_cflags_saved=$CFLAGS
14540 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14541 cat >conftest.$ac_ext <<_ACEOF
14544 cat confdefs.h >>conftest.$ac_ext
14545 cat >>conftest.$ac_ext <<_ACEOF
14546 /* end confdefs.h. */
14556 rm -f conftest.$ac_objext conftest$ac_exeext
14557 if { (ac_try="$ac_link"
14558 case "(($ac_try" in
14559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14560 *) ac_try_echo=$ac_try;;
14562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14563 (eval "$ac_link") 2>conftest.er1
14565 grep -v '^ *+' conftest.er1 >conftest.err
14567 cat conftest.err >&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); } &&
14570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14571 { (case "(($ac_try" in
14572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14573 *) ac_try_echo=$ac_try;;
14575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14576 (eval "$ac_try") 2>&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; } &&
14580 { ac_try='test -s conftest$ac_exeext'
14581 { (case "(($ac_try" in
14582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14583 *) ac_try_echo=$ac_try;;
14585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14586 (eval "$ac_try") 2>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); }; }; then
14590 ac_cv_cflags__Wdeclaration_after_statement=yes
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14595 ac_cv_cflags__Wdeclaration_after_statement=no
14598 rm -f core conftest.err conftest.$ac_objext \
14599 conftest$ac_exeext conftest.$ac_ext
14600 CFLAGS=$ac_wine_try_cflags_saved
14602 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14603 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14604 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14605 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14608 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14609 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14610 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14611 echo $ECHO_N "(cached) $ECHO_C" >&6
14613 ac_wine_try_cflags_saved=$CFLAGS
14614 CFLAGS="$CFLAGS -Wwrite-strings"
14615 cat >conftest.$ac_ext <<_ACEOF
14618 cat confdefs.h >>conftest.$ac_ext
14619 cat >>conftest.$ac_ext <<_ACEOF
14620 /* end confdefs.h. */
14630 rm -f conftest.$ac_objext conftest$ac_exeext
14631 if { (ac_try="$ac_link"
14632 case "(($ac_try" in
14633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14634 *) ac_try_echo=$ac_try;;
14636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14637 (eval "$ac_link") 2>conftest.er1
14639 grep -v '^ *+' conftest.er1 >conftest.err
14641 cat conftest.err >&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); } &&
14644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14645 { (case "(($ac_try" in
14646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14647 *) ac_try_echo=$ac_try;;
14649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14650 (eval "$ac_try") 2>&5
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); }; } &&
14654 { ac_try='test -s conftest$ac_exeext'
14655 { (case "(($ac_try" in
14656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14657 *) ac_try_echo=$ac_try;;
14659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14660 (eval "$ac_try") 2>&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; }; then
14664 ac_cv_cflags__Wwrite_strings=yes
14666 echo "$as_me: failed program was:" >&5
14667 sed 's/^/| /' conftest.$ac_ext >&5
14669 ac_cv_cflags__Wwrite_strings=no
14672 rm -f core conftest.err conftest.$ac_objext \
14673 conftest$ac_exeext conftest.$ac_ext
14674 CFLAGS=$ac_wine_try_cflags_saved
14676 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14677 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14678 if test $ac_cv_cflags__Wwrite_strings = yes; then
14679 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14683 saved_CFLAGS="$CFLAGS"
14684 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14685 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14686 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14687 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14688 echo $ECHO_N "(cached) $ECHO_C" >&6
14690 cat >conftest.$ac_ext <<_ACEOF
14693 cat confdefs.h >>conftest.$ac_ext
14694 cat >>conftest.$ac_ext <<_ACEOF
14695 /* end confdefs.h. */
14696 #include <string.h>
14705 rm -f conftest.$ac_objext
14706 if { (ac_try="$ac_compile"
14707 case "(($ac_try" in
14708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14709 *) ac_try_echo=$ac_try;;
14711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14712 (eval "$ac_compile") 2>conftest.er1
14714 grep -v '^ *+' conftest.er1 >conftest.err
14716 cat conftest.err >&5
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); } &&
14719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14720 { (case "(($ac_try" in
14721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14722 *) ac_try_echo=$ac_try;;
14724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14725 (eval "$ac_try") 2>&5
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); }; } &&
14729 { ac_try='test -s conftest.$ac_objext'
14730 { (case "(($ac_try" in
14731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14732 *) ac_try_echo=$ac_try;;
14734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14735 (eval "$ac_try") 2>&5
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); }; }; then
14739 ac_cv_c_string_h_warnings=no
14741 echo "$as_me: failed program was:" >&5
14742 sed 's/^/| /' conftest.$ac_ext >&5
14744 ac_cv_c_string_h_warnings=yes
14747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14749 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14750 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14751 CFLAGS="$saved_CFLAGS"
14752 if test "$ac_cv_c_string_h_warnings" = "no"
14754 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14759 saved_CFLAGS="$CFLAGS"
14760 CFLAGS="$CFLAGS -Werror"
14761 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14762 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14763 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14764 echo $ECHO_N "(cached) $ECHO_C" >&6
14766 cat >conftest.$ac_ext <<_ACEOF
14769 cat confdefs.h >>conftest.$ac_ext
14770 cat >>conftest.$ac_ext <<_ACEOF
14771 /* end confdefs.h. */
14776 int iswlower(unsigned short);
14781 rm -f conftest.$ac_objext
14782 if { (ac_try="$ac_compile"
14783 case "(($ac_try" in
14784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14785 *) ac_try_echo=$ac_try;;
14787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14788 (eval "$ac_compile") 2>conftest.er1
14790 grep -v '^ *+' conftest.er1 >conftest.err
14792 cat conftest.err >&5
14793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 (exit $ac_status); } &&
14795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14796 { (case "(($ac_try" in
14797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14798 *) ac_try_echo=$ac_try;;
14800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14801 (eval "$ac_try") 2>&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); }; } &&
14805 { ac_try='test -s conftest.$ac_objext'
14806 { (case "(($ac_try" in
14807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14808 *) ac_try_echo=$ac_try;;
14810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14811 (eval "$ac_try") 2>&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); }; }; then
14815 ac_cv_c_builtin_wchar_ctype=no
14817 echo "$as_me: failed program was:" >&5
14818 sed 's/^/| /' conftest.$ac_ext >&5
14820 ac_cv_c_builtin_wchar_ctype=yes
14823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14825 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14826 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14827 CFLAGS="$saved_CFLAGS"
14828 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14830 BUILTINFLAG="-fno-builtin"
14835 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14836 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14837 if test "${ac_cv_asm_func_def+set}" = set; then
14838 echo $ECHO_N "(cached) $ECHO_C" >&6
14840 cat >conftest.$ac_ext <<_ACEOF
14843 cat confdefs.h >>conftest.$ac_ext
14844 cat >>conftest.$ac_ext <<_ACEOF
14845 /* end confdefs.h. */
14846 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
14856 rm -f conftest.$ac_objext conftest$ac_exeext
14857 if { (ac_try="$ac_link"
14858 case "(($ac_try" in
14859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14860 *) ac_try_echo=$ac_try;;
14862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14863 (eval "$ac_link") 2>conftest.er1
14865 grep -v '^ *+' conftest.er1 >conftest.err
14867 cat conftest.err >&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); } &&
14870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14871 { (case "(($ac_try" in
14872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14873 *) ac_try_echo=$ac_try;;
14875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14876 (eval "$ac_try") 2>&5
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); }; } &&
14880 { ac_try='test -s conftest$ac_exeext'
14881 { (case "(($ac_try" in
14882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14883 *) ac_try_echo=$ac_try;;
14885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14886 (eval "$ac_try") 2>&5
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; }; then
14890 ac_cv_asm_func_def=".def"
14892 echo "$as_me: failed program was:" >&5
14893 sed 's/^/| /' conftest.$ac_ext >&5
14895 cat >conftest.$ac_ext <<_ACEOF
14898 cat confdefs.h >>conftest.$ac_ext
14899 cat >>conftest.$ac_ext <<_ACEOF
14900 /* end confdefs.h. */
14901 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14911 rm -f conftest.$ac_objext conftest$ac_exeext
14912 if { (ac_try="$ac_link"
14913 case "(($ac_try" in
14914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14915 *) ac_try_echo=$ac_try;;
14917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14918 (eval "$ac_link") 2>conftest.er1
14920 grep -v '^ *+' conftest.er1 >conftest.err
14922 cat conftest.err >&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); } &&
14925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14926 { (case "(($ac_try" in
14927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14928 *) ac_try_echo=$ac_try;;
14930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14931 (eval "$ac_try") 2>&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); }; } &&
14935 { ac_try='test -s conftest$ac_exeext'
14936 { (case "(($ac_try" in
14937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14938 *) ac_try_echo=$ac_try;;
14940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14941 (eval "$ac_try") 2>&5
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); }; }; then
14945 ac_cv_asm_func_def=".type @function"
14947 echo "$as_me: failed program was:" >&5
14948 sed 's/^/| /' conftest.$ac_ext >&5
14950 cat >conftest.$ac_ext <<_ACEOF
14953 cat confdefs.h >>conftest.$ac_ext
14954 cat >>conftest.$ac_ext <<_ACEOF
14955 /* end confdefs.h. */
14956 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14966 rm -f conftest.$ac_objext conftest$ac_exeext
14967 if { (ac_try="$ac_link"
14968 case "(($ac_try" in
14969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14970 *) ac_try_echo=$ac_try;;
14972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14973 (eval "$ac_link") 2>conftest.er1
14975 grep -v '^ *+' conftest.er1 >conftest.err
14977 cat conftest.err >&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); } &&
14980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14981 { (case "(($ac_try" in
14982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14983 *) ac_try_echo=$ac_try;;
14985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14986 (eval "$ac_try") 2>&5
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); }; } &&
14990 { ac_try='test -s conftest$ac_exeext'
14991 { (case "(($ac_try" in
14992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14993 *) ac_try_echo=$ac_try;;
14995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14996 (eval "$ac_try") 2>&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); }; }; then
15000 ac_cv_asm_func_def=".type 2"
15002 echo "$as_me: failed program was:" >&5
15003 sed 's/^/| /' conftest.$ac_ext >&5
15005 ac_cv_asm_func_def="unknown"
15008 rm -f core conftest.err conftest.$ac_objext \
15009 conftest$ac_exeext conftest.$ac_ext
15012 rm -f core conftest.err conftest.$ac_objext \
15013 conftest$ac_exeext conftest.$ac_ext
15016 rm -f core conftest.err conftest.$ac_objext \
15017 conftest$ac_exeext conftest.$ac_ext
15019 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15020 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15024 case "$ac_cv_asm_func_def" in
15026 cat >>confdefs.h <<\_ACEOF
15027 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15031 cat >>confdefs.h <<\_ACEOF
15032 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15036 cat >>confdefs.h <<\_ACEOF
15037 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15041 cat >>confdefs.h <<\_ACEOF
15042 #define __ASM_FUNC(name) ""
15048 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15049 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15050 if test "${ac_cv_c_extern_prefix+set}" = set; then
15051 echo $ECHO_N "(cached) $ECHO_C" >&6
15053 cat >conftest.$ac_ext <<_ACEOF
15056 cat confdefs.h >>conftest.$ac_ext
15057 cat >>conftest.$ac_ext <<_ACEOF
15058 /* end confdefs.h. */
15059 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15060 extern int ac_test;
15064 if (ac_test) return 1
15069 rm -f conftest.$ac_objext conftest$ac_exeext
15070 if { (ac_try="$ac_link"
15071 case "(($ac_try" in
15072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15073 *) ac_try_echo=$ac_try;;
15075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15076 (eval "$ac_link") 2>conftest.er1
15078 grep -v '^ *+' conftest.er1 >conftest.err
15080 cat conftest.err >&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); } &&
15083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15084 { (case "(($ac_try" in
15085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15086 *) ac_try_echo=$ac_try;;
15088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15089 (eval "$ac_try") 2>&5
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; } &&
15093 { ac_try='test -s conftest$ac_exeext'
15094 { (case "(($ac_try" in
15095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15096 *) ac_try_echo=$ac_try;;
15098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15099 (eval "$ac_try") 2>&5
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); }; }; then
15103 ac_cv_c_extern_prefix="yes"
15105 echo "$as_me: failed program was:" >&5
15106 sed 's/^/| /' conftest.$ac_ext >&5
15108 ac_cv_c_extern_prefix="no"
15111 rm -f core conftest.err conftest.$ac_objext \
15112 conftest$ac_exeext conftest.$ac_ext
15114 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15115 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15119 if test "$ac_cv_c_extern_prefix" = "yes"
15121 cat >>confdefs.h <<\_ACEOF
15122 #define __ASM_NAME(name) "_" name
15126 cat >>confdefs.h <<\_ACEOF
15127 #define __ASM_NAME(name) name
15135 DLLFLAGS="-D_REENTRANT"
15150 if test -n "$ac_tool_prefix"; then
15151 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15152 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15155 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15156 echo $ECHO_N "(cached) $ECHO_C" >&6
15158 if test -n "$DLLTOOL"; then
15159 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15162 for as_dir in $PATH
15165 test -z "$as_dir" && as_dir=.
15166 for ac_exec_ext in '' $ac_executable_extensions; do
15167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15168 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15178 DLLTOOL=$ac_cv_prog_DLLTOOL
15179 if test -n "$DLLTOOL"; then
15180 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15181 echo "${ECHO_T}$DLLTOOL" >&6; }
15183 { echo "$as_me:$LINENO: result: no" >&5
15184 echo "${ECHO_T}no" >&6; }
15189 if test -z "$ac_cv_prog_DLLTOOL"; then
15190 ac_ct_DLLTOOL=$DLLTOOL
15191 # Extract the first word of "dlltool", so it can be a program name with args.
15192 set dummy dlltool; ac_word=$2
15193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15195 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15196 echo $ECHO_N "(cached) $ECHO_C" >&6
15198 if test -n "$ac_ct_DLLTOOL"; then
15199 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15202 for as_dir in $PATH
15205 test -z "$as_dir" && as_dir=.
15206 for ac_exec_ext in '' $ac_executable_extensions; do
15207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15208 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15218 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15219 if test -n "$ac_ct_DLLTOOL"; then
15220 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15221 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15223 { echo "$as_me:$LINENO: result: no" >&5
15224 echo "${ECHO_T}no" >&6; }
15227 if test "x$ac_ct_DLLTOOL" = x; then
15230 case $cross_compiling:$ac_tool_warned in
15232 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15233 whose name does not start with the host triplet. If you think this
15234 configuration is useful to you, please write to autoconf@gnu.org." >&5
15235 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15236 whose name does not start with the host triplet. If you think this
15237 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15238 ac_tool_warned=yes ;;
15240 DLLTOOL=$ac_ct_DLLTOOL
15243 DLLTOOL="$ac_cv_prog_DLLTOOL"
15246 if test -n "$ac_tool_prefix"; then
15247 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15248 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15251 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15252 echo $ECHO_N "(cached) $ECHO_C" >&6
15254 if test -n "$DLLWRAP"; then
15255 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15258 for as_dir in $PATH
15261 test -z "$as_dir" && as_dir=.
15262 for ac_exec_ext in '' $ac_executable_extensions; do
15263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15264 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15274 DLLWRAP=$ac_cv_prog_DLLWRAP
15275 if test -n "$DLLWRAP"; then
15276 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15277 echo "${ECHO_T}$DLLWRAP" >&6; }
15279 { echo "$as_me:$LINENO: result: no" >&5
15280 echo "${ECHO_T}no" >&6; }
15285 if test -z "$ac_cv_prog_DLLWRAP"; then
15286 ac_ct_DLLWRAP=$DLLWRAP
15287 # Extract the first word of "dllwrap", so it can be a program name with args.
15288 set dummy dllwrap; ac_word=$2
15289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15291 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15292 echo $ECHO_N "(cached) $ECHO_C" >&6
15294 if test -n "$ac_ct_DLLWRAP"; then
15295 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15298 for as_dir in $PATH
15301 test -z "$as_dir" && as_dir=.
15302 for ac_exec_ext in '' $ac_executable_extensions; do
15303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15304 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15314 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15315 if test -n "$ac_ct_DLLWRAP"; then
15316 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15317 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15319 { echo "$as_me:$LINENO: result: no" >&5
15320 echo "${ECHO_T}no" >&6; }
15323 if test "x$ac_ct_DLLWRAP" = x; then
15326 case $cross_compiling:$ac_tool_warned in
15328 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15329 whose name does not start with the host triplet. If you think this
15330 configuration is useful to you, please write to autoconf@gnu.org." >&5
15331 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15332 whose name does not start with the host triplet. If you think this
15333 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15334 ac_tool_warned=yes ;;
15336 DLLWRAP=$ac_ct_DLLWRAP
15339 DLLWRAP="$ac_cv_prog_DLLWRAP"
15342 if test "$DLLWRAP" = "false"; then
15354 DLLFLAGS="$DLLFLAGS -fPIC"
15355 LDDLLFLAGS="-bundle -multiply_defined suppress"
15356 LIBWINE_LDFLAGS="-multiply_defined suppress"
15357 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
15358 STRIP="$STRIP -u -r"
15359 COREFOUNDATIONLIB="-framework CoreFoundation"
15361 IOKITLIB="-framework IOKit -framework CoreFoundation"
15363 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
15365 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15367 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15369 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15374 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
15378 DLLFLAGS="$DLLFLAGS -fPIC"
15380 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15381 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15382 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15383 echo $ECHO_N "(cached) $ECHO_C" >&6
15385 ac_wine_try_cflags_saved=$CFLAGS
15386 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15387 cat >conftest.$ac_ext <<_ACEOF
15390 rm -f conftest.$ac_objext conftest$ac_exeext
15391 if { (ac_try="$ac_link"
15392 case "(($ac_try" in
15393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15394 *) ac_try_echo=$ac_try;;
15396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15397 (eval "$ac_link") 2>conftest.er1
15399 grep -v '^ *+' conftest.er1 >conftest.err
15401 cat conftest.err >&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); } &&
15404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15405 { (case "(($ac_try" in
15406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15407 *) ac_try_echo=$ac_try;;
15409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15410 (eval "$ac_try") 2>&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); }; } &&
15414 { ac_try='test -s conftest$ac_exeext'
15415 { (case "(($ac_try" in
15416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15417 *) ac_try_echo=$ac_try;;
15419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15420 (eval "$ac_try") 2>&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); }; }; then
15424 ac_cv_c_dll_gnuelf="yes"
15426 echo "$as_me: failed program was:" >&5
15427 sed 's/^/| /' conftest.$ac_ext >&5
15429 ac_cv_c_dll_gnuelf="no"
15432 rm -f core conftest.err conftest.$ac_objext \
15433 conftest$ac_exeext conftest.$ac_ext
15434 CFLAGS=$ac_wine_try_cflags_saved
15436 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15437 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15438 if test "$ac_cv_c_dll_gnuelf" = "yes"
15440 LDSHARED="\$(CC) -shared"
15441 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
15442 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
15443 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
15444 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
15445 echo $ECHO_N "(cached) $ECHO_C" >&6
15447 ac_wine_try_cflags_saved=$CFLAGS
15448 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15449 cat >conftest.$ac_ext <<_ACEOF
15452 cat confdefs.h >>conftest.$ac_ext
15453 cat >>conftest.$ac_ext <<_ACEOF
15454 /* end confdefs.h. */
15464 rm -f conftest.$ac_objext conftest$ac_exeext
15465 if { (ac_try="$ac_link"
15466 case "(($ac_try" in
15467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15468 *) ac_try_echo=$ac_try;;
15470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15471 (eval "$ac_link") 2>conftest.er1
15473 grep -v '^ *+' conftest.er1 >conftest.err
15475 cat conftest.err >&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); } &&
15478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15479 { (case "(($ac_try" in
15480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15481 *) ac_try_echo=$ac_try;;
15483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15484 (eval "$ac_try") 2>&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); }; } &&
15488 { ac_try='test -s conftest$ac_exeext'
15489 { (case "(($ac_try" in
15490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15491 *) ac_try_echo=$ac_try;;
15493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15494 (eval "$ac_try") 2>&5
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; }; then
15498 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.$ac_ext >&5
15503 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
15506 rm -f core conftest.err conftest.$ac_objext \
15507 conftest$ac_exeext conftest.$ac_ext
15508 CFLAGS=$ac_wine_try_cflags_saved
15510 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
15511 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
15512 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
15513 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15515 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
15516 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
15517 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
15518 echo $ECHO_N "(cached) $ECHO_C" >&6
15520 ac_wine_try_cflags_saved=$CFLAGS
15521 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
15522 cat >conftest.$ac_ext <<_ACEOF
15525 cat confdefs.h >>conftest.$ac_ext
15526 cat >>conftest.$ac_ext <<_ACEOF
15527 /* end confdefs.h. */
15537 rm -f conftest.$ac_objext conftest$ac_exeext
15538 if { (ac_try="$ac_link"
15539 case "(($ac_try" in
15540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15541 *) ac_try_echo=$ac_try;;
15543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15544 (eval "$ac_link") 2>conftest.er1
15546 grep -v '^ *+' conftest.er1 >conftest.err
15548 cat conftest.err >&5
15549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550 (exit $ac_status); } &&
15551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15552 { (case "(($ac_try" in
15553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15554 *) ac_try_echo=$ac_try;;
15556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15557 (eval "$ac_try") 2>&5
15559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560 (exit $ac_status); }; } &&
15561 { ac_try='test -s conftest$ac_exeext'
15562 { (case "(($ac_try" in
15563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15564 *) ac_try_echo=$ac_try;;
15566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15567 (eval "$ac_try") 2>&5
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); }; }; then
15571 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
15573 echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.$ac_ext >&5
15576 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
15579 rm -f core conftest.err conftest.$ac_objext \
15580 conftest$ac_exeext conftest.$ac_ext
15581 CFLAGS=$ac_wine_try_cflags_saved
15583 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
15584 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
15585 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
15586 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15592 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
15593 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
15594 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
15595 echo $ECHO_N "(cached) $ECHO_C" >&6
15597 ac_wine_try_cflags_saved=$CFLAGS
15598 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
15599 cat >conftest.$ac_ext <<_ACEOF
15602 cat confdefs.h >>conftest.$ac_ext
15603 cat >>conftest.$ac_ext <<_ACEOF
15604 /* end confdefs.h. */
15614 rm -f conftest.$ac_objext conftest$ac_exeext
15615 if { (ac_try="$ac_link"
15616 case "(($ac_try" in
15617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15618 *) ac_try_echo=$ac_try;;
15620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15621 (eval "$ac_link") 2>conftest.er1
15623 grep -v '^ *+' conftest.er1 >conftest.err
15625 cat conftest.err >&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15629 { (case "(($ac_try" in
15630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15631 *) ac_try_echo=$ac_try;;
15633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15634 (eval "$ac_try") 2>&5
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; } &&
15638 { ac_try='test -s conftest$ac_exeext'
15639 { (case "(($ac_try" in
15640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15641 *) ac_try_echo=$ac_try;;
15643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15644 (eval "$ac_try") 2>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; }; then
15648 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
15650 echo "$as_me: failed program was:" >&5
15651 sed 's/^/| /' conftest.$ac_ext >&5
15653 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
15656 rm -f core conftest.err conftest.$ac_objext \
15657 conftest$ac_exeext conftest.$ac_ext
15658 CFLAGS=$ac_wine_try_cflags_saved
15660 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
15661 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
15662 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
15663 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
15667 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
15668 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
15669 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
15670 echo $ECHO_N "(cached) $ECHO_C" >&6
15672 ac_wine_try_cflags_saved=$CFLAGS
15673 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15674 cat >conftest.$ac_ext <<_ACEOF
15677 cat confdefs.h >>conftest.$ac_ext
15678 cat >>conftest.$ac_ext <<_ACEOF
15679 /* end confdefs.h. */
15689 rm -f conftest.$ac_objext conftest$ac_exeext
15690 if { (ac_try="$ac_link"
15691 case "(($ac_try" in
15692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15693 *) ac_try_echo=$ac_try;;
15695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15696 (eval "$ac_link") 2>conftest.er1
15698 grep -v '^ *+' conftest.er1 >conftest.err
15700 cat conftest.err >&5
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); } &&
15703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15704 { (case "(($ac_try" in
15705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15706 *) ac_try_echo=$ac_try;;
15708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15709 (eval "$ac_try") 2>&5
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); }; } &&
15713 { ac_try='test -s conftest$ac_exeext'
15714 { (case "(($ac_try" in
15715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15716 *) ac_try_echo=$ac_try;;
15718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15719 (eval "$ac_try") 2>&5
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); }; }; then
15723 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
15725 echo "$as_me: failed program was:" >&5
15726 sed 's/^/| /' conftest.$ac_ext >&5
15728 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
15731 rm -f core conftest.err conftest.$ac_objext \
15732 conftest$ac_exeext conftest.$ac_ext
15733 CFLAGS=$ac_wine_try_cflags_saved
15735 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
15736 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
15737 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
15738 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15742 echo '{ global: *; };' >conftest.map
15743 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
15744 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
15745 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
15746 echo $ECHO_N "(cached) $ECHO_C" >&6
15748 ac_wine_try_cflags_saved=$CFLAGS
15749 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15750 cat >conftest.$ac_ext <<_ACEOF
15753 cat confdefs.h >>conftest.$ac_ext
15754 cat >>conftest.$ac_ext <<_ACEOF
15755 /* end confdefs.h. */
15765 rm -f conftest.$ac_objext conftest$ac_exeext
15766 if { (ac_try="$ac_link"
15767 case "(($ac_try" in
15768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15769 *) ac_try_echo=$ac_try;;
15771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15772 (eval "$ac_link") 2>conftest.er1
15774 grep -v '^ *+' conftest.er1 >conftest.err
15776 cat conftest.err >&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } &&
15779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15780 { (case "(($ac_try" in
15781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15782 *) ac_try_echo=$ac_try;;
15784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15785 (eval "$ac_try") 2>&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; } &&
15789 { ac_try='test -s conftest$ac_exeext'
15790 { (case "(($ac_try" in
15791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15792 *) ac_try_echo=$ac_try;;
15794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15795 (eval "$ac_try") 2>&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); }; }; then
15799 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
15801 echo "$as_me: failed program was:" >&5
15802 sed 's/^/| /' conftest.$ac_ext >&5
15804 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
15807 rm -f core conftest.err conftest.$ac_objext \
15808 conftest$ac_exeext conftest.$ac_ext
15809 CFLAGS=$ac_wine_try_cflags_saved
15811 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
15812 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
15813 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
15814 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15819 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
15820 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
15821 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
15822 echo $ECHO_N "(cached) $ECHO_C" >&6
15824 ac_wine_try_cflags_saved=$CFLAGS
15825 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
15826 cat >conftest.$ac_ext <<_ACEOF
15829 cat confdefs.h >>conftest.$ac_ext
15830 cat >>conftest.$ac_ext <<_ACEOF
15831 /* end confdefs.h. */
15841 rm -f conftest.$ac_objext conftest$ac_exeext
15842 if { (ac_try="$ac_link"
15843 case "(($ac_try" in
15844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15845 *) ac_try_echo=$ac_try;;
15847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15848 (eval "$ac_link") 2>conftest.er1
15850 grep -v '^ *+' conftest.er1 >conftest.err
15852 cat conftest.err >&5
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); } &&
15855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15856 { (case "(($ac_try" in
15857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15858 *) ac_try_echo=$ac_try;;
15860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15861 (eval "$ac_try") 2>&5
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); }; } &&
15865 { ac_try='test -s conftest$ac_exeext'
15866 { (case "(($ac_try" in
15867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15868 *) ac_try_echo=$ac_try;;
15870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15871 (eval "$ac_try") 2>&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); }; }; then
15875 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
15877 echo "$as_me: failed program was:" >&5
15878 sed 's/^/| /' conftest.$ac_ext >&5
15880 ac_cv_cflags__fPIC__Wl___export_dynamic=no
15883 rm -f core conftest.err conftest.$ac_objext \
15884 conftest$ac_exeext conftest.$ac_ext
15885 CFLAGS=$ac_wine_try_cflags_saved
15887 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
15888 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
15889 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
15890 LDEXECFLAGS="-Wl,--export-dynamic"
15895 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
15896 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
15897 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
15898 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15899 echo $ECHO_N "(cached) $ECHO_C" >&6
15901 ac_wine_try_cflags_saved=$CFLAGS
15902 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15903 cat >conftest.$ac_ext <<_ACEOF
15906 cat confdefs.h >>conftest.$ac_ext
15907 cat >>conftest.$ac_ext <<_ACEOF
15908 /* end confdefs.h. */
15918 rm -f conftest.$ac_objext conftest$ac_exeext
15919 if { (ac_try="$ac_link"
15920 case "(($ac_try" in
15921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15922 *) ac_try_echo=$ac_try;;
15924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15925 (eval "$ac_link") 2>conftest.er1
15927 grep -v '^ *+' conftest.er1 >conftest.err
15929 cat conftest.err >&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); } &&
15932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15933 { (case "(($ac_try" in
15934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15935 *) ac_try_echo=$ac_try;;
15937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15938 (eval "$ac_try") 2>&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); }; } &&
15942 { ac_try='test -s conftest$ac_exeext'
15943 { (case "(($ac_try" in
15944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15945 *) ac_try_echo=$ac_try;;
15947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15948 (eval "$ac_try") 2>&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; }; then
15952 eval "$as_ac_var=yes"
15954 echo "$as_me: failed program was:" >&5
15955 sed 's/^/| /' conftest.$ac_ext >&5
15957 eval "$as_ac_var=no"
15960 rm -f core conftest.err conftest.$ac_objext \
15961 conftest$ac_exeext conftest.$ac_ext
15962 CFLAGS=$ac_wine_try_cflags_saved
15964 ac_res=`eval echo '${'$as_ac_var'}'`
15965 { echo "$as_me:$LINENO: result: $ac_res" >&5
15966 echo "${ECHO_T}$ac_res" >&6; }
15967 if test `eval echo '${'$as_ac_var'}'` = yes; then
15968 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
15973 *i[3456789]86* | x86_64)
15974 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
15975 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
15976 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
15977 echo $ECHO_N "(cached) $ECHO_C" >&6
15979 ac_wine_try_cflags_saved=$CFLAGS
15980 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
15981 cat >conftest.$ac_ext <<_ACEOF
15984 cat confdefs.h >>conftest.$ac_ext
15985 cat >>conftest.$ac_ext <<_ACEOF
15986 /* end confdefs.h. */
15996 rm -f conftest.$ac_objext conftest$ac_exeext
15997 if { (ac_try="$ac_link"
15998 case "(($ac_try" in
15999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16000 *) ac_try_echo=$ac_try;;
16002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16003 (eval "$ac_link") 2>conftest.er1
16005 grep -v '^ *+' conftest.er1 >conftest.err
16007 cat conftest.err >&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); } &&
16010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16011 { (case "(($ac_try" in
16012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16013 *) ac_try_echo=$ac_try;;
16015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16016 (eval "$ac_try") 2>&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; } &&
16020 { ac_try='test -s conftest$ac_exeext'
16021 { (case "(($ac_try" in
16022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16023 *) ac_try_echo=$ac_try;;
16025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16026 (eval "$ac_try") 2>&5
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); }; }; then
16030 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
16032 echo "$as_me: failed program was:" >&5
16033 sed 's/^/| /' conftest.$ac_ext >&5
16035 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
16038 rm -f core conftest.err conftest.$ac_objext \
16039 conftest$ac_exeext conftest.$ac_ext
16040 CFLAGS=$ac_wine_try_cflags_saved
16042 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
16043 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
16044 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
16045 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16052 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16053 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16054 if test "${ac_cv_c_dll_unixware+set}" = set; then
16055 echo $ECHO_N "(cached) $ECHO_C" >&6
16057 ac_wine_try_cflags_saved=$CFLAGS
16058 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16059 cat >conftest.$ac_ext <<_ACEOF
16062 rm -f conftest.$ac_objext conftest$ac_exeext
16063 if { (ac_try="$ac_link"
16064 case "(($ac_try" in
16065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16066 *) ac_try_echo=$ac_try;;
16068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16069 (eval "$ac_link") 2>conftest.er1
16071 grep -v '^ *+' conftest.er1 >conftest.err
16073 cat conftest.err >&5
16074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075 (exit $ac_status); } &&
16076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16077 { (case "(($ac_try" in
16078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16079 *) ac_try_echo=$ac_try;;
16081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16082 (eval "$ac_try") 2>&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }; } &&
16086 { ac_try='test -s conftest$ac_exeext'
16087 { (case "(($ac_try" in
16088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16089 *) ac_try_echo=$ac_try;;
16091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16092 (eval "$ac_try") 2>&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); }; }; then
16096 ac_cv_c_dll_unixware="yes"
16098 echo "$as_me: failed program was:" >&5
16099 sed 's/^/| /' conftest.$ac_ext >&5
16101 ac_cv_c_dll_unixware="no"
16104 rm -f core conftest.err conftest.$ac_objext \
16105 conftest$ac_exeext conftest.$ac_ext
16106 CFLAGS=$ac_wine_try_cflags_saved
16108 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16109 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16110 if test "$ac_cv_c_dll_unixware" = "yes"
16112 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16113 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16116 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16117 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16118 if test "${ac_cv_c_dll_hpux+set}" = set; then
16119 echo $ECHO_N "(cached) $ECHO_C" >&6
16121 ac_wine_try_cflags_saved=$CFLAGS
16122 CFLAGS="$CFLAGS -shared"
16123 cat >conftest.$ac_ext <<_ACEOF
16126 rm -f conftest.$ac_objext conftest$ac_exeext
16127 if { (ac_try="$ac_link"
16128 case "(($ac_try" in
16129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16130 *) ac_try_echo=$ac_try;;
16132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16133 (eval "$ac_link") 2>conftest.er1
16135 grep -v '^ *+' conftest.er1 >conftest.err
16137 cat conftest.err >&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } &&
16140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16141 { (case "(($ac_try" in
16142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16143 *) ac_try_echo=$ac_try;;
16145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16146 (eval "$ac_try") 2>&5
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; } &&
16150 { ac_try='test -s conftest$ac_exeext'
16151 { (case "(($ac_try" in
16152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16153 *) ac_try_echo=$ac_try;;
16155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16156 (eval "$ac_try") 2>&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; }; then
16160 ac_cv_c_dll_hpux="yes"
16162 echo "$as_me: failed program was:" >&5
16163 sed 's/^/| /' conftest.$ac_ext >&5
16165 ac_cv_c_dll_hpux="no"
16168 rm -f core conftest.err conftest.$ac_objext \
16169 conftest$ac_exeext conftest.$ac_ext
16170 CFLAGS=$ac_wine_try_cflags_saved
16172 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16173 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16174 if test "$ac_cv_c_dll_hpux" = "yes"
16178 LDDLLFLAGS="-shared -fPIC"
16179 LDSHARED="\$(CC) -shared"
16186 if test "$cross_compiling" = "no"
16188 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
16190 # Extract the first word of "$ac_prog", so it can be a program name with args.
16191 set dummy $ac_prog; ac_word=$2
16192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16194 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16195 echo $ECHO_N "(cached) $ECHO_C" >&6
16197 if test -n "$CROSSCC"; then
16198 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
16200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16201 for as_dir in $PATH
16204 test -z "$as_dir" && as_dir=.
16205 for ac_exec_ext in '' $ac_executable_extensions; do
16206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16207 ac_cv_prog_CROSSCC="$ac_prog"
16208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16217 CROSSCC=$ac_cv_prog_CROSSCC
16218 if test -n "$CROSSCC"; then
16219 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16220 echo "${ECHO_T}$CROSSCC" >&6; }
16222 { echo "$as_me:$LINENO: result: no" >&5
16223 echo "${ECHO_T}no" >&6; }
16227 test -n "$CROSSCC" && break
16229 test -n "$CROSSCC" || CROSSCC="false"
16231 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
16233 # Extract the first word of "$ac_prog", so it can be a program name with args.
16234 set dummy $ac_prog; ac_word=$2
16235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16237 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16238 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 if test -n "$DLLTOOL"; then
16241 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16244 for as_dir in $PATH
16247 test -z "$as_dir" && as_dir=.
16248 for ac_exec_ext in '' $ac_executable_extensions; do
16249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16250 ac_cv_prog_DLLTOOL="$ac_prog"
16251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16260 DLLTOOL=$ac_cv_prog_DLLTOOL
16261 if test -n "$DLLTOOL"; then
16262 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16263 echo "${ECHO_T}$DLLTOOL" >&6; }
16265 { echo "$as_me:$LINENO: result: no" >&5
16266 echo "${ECHO_T}no" >&6; }
16270 test -n "$DLLTOOL" && break
16272 test -n "$DLLTOOL" || DLLTOOL="false"
16274 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
16276 # Extract the first word of "$ac_prog", so it can be a program name with args.
16277 set dummy $ac_prog; ac_word=$2
16278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16280 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16281 echo $ECHO_N "(cached) $ECHO_C" >&6
16283 if test -n "$CROSSWINDRES"; then
16284 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
16286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16287 for as_dir in $PATH
16290 test -z "$as_dir" && as_dir=.
16291 for ac_exec_ext in '' $ac_executable_extensions; do
16292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16293 ac_cv_prog_CROSSWINDRES="$ac_prog"
16294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16303 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
16304 if test -n "$CROSSWINDRES"; then
16305 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16306 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16308 { echo "$as_me:$LINENO: result: no" >&5
16309 echo "${ECHO_T}no" >&6; }
16313 test -n "$CROSSWINDRES" && break
16315 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
16317 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
16322 if test "$LIBEXT" = "a"; then
16323 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16324 It is currently not possible to build Wine without shared library
16325 (.so) support to allow transparent switch between .so and .dll files.
16326 If you are using Linux, you will need a newer binutils.
16328 echo "$as_me: error: could not find a way to build shared libraries.
16329 It is currently not possible to build Wine without shared library
16330 (.so) support to allow transparent switch between .so and .dll files.
16331 If you are using Linux, you will need a newer binutils.
16333 { (exit 1); exit 1; }; }
16338 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16341 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16344 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16352 SOCKETLIBS="-lws2_32"
16357 MAIN_BINARY="wine-pthread"
16361 linux* | k*bsd*-gnu)
16362 MAIN_BINARY="wine-glibc"
16364 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16371 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16373 # Extract the first word of "ldd", so it can be a program name with args.
16374 set dummy ldd; ac_word=$2
16375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16377 if test "${ac_cv_path_LDD+set}" = set; then
16378 echo $ECHO_N "(cached) $ECHO_C" >&6
16382 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
16385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16386 as_dummy="/sbin:/usr/sbin:$PATH"
16387 for as_dir in $as_dummy
16390 test -z "$as_dir" && as_dir=.
16391 for ac_exec_ext in '' $ac_executable_extensions; do
16392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16393 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
16394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16401 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
16405 LDD=$ac_cv_path_LDD
16406 if test -n "$LDD"; then
16407 { echo "$as_me:$LINENO: result: $LDD" >&5
16408 echo "${ECHO_T}$LDD" >&6; }
16410 { echo "$as_me:$LINENO: result: no" >&5
16411 echo "${ECHO_T}no" >&6; }
16415 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16416 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16417 if test "${ac_cv_lib_soname_X11+set}" = set; then
16418 echo $ECHO_N "(cached) $ECHO_C" >&6
16420 ac_get_soname_save_LIBS=$LIBS
16421 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16422 cat >conftest.$ac_ext <<_ACEOF
16425 cat confdefs.h >>conftest.$ac_ext
16426 cat >>conftest.$ac_ext <<_ACEOF
16427 /* end confdefs.h. */
16429 /* Override any GCC internal prototype to avoid an error.
16430 Use char because int might match the return type of a GCC
16431 builtin and then its argument prototype would still apply. */
16435 char XCreateWindow ();
16439 return XCreateWindow ();
16444 rm -f conftest.$ac_objext conftest$ac_exeext
16445 if { (ac_try="$ac_link"
16446 case "(($ac_try" in
16447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16448 *) ac_try_echo=$ac_try;;
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_link") 2>conftest.er1
16453 grep -v '^ *+' conftest.er1 >conftest.err
16455 cat conftest.err >&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } &&
16458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16459 { (case "(($ac_try" in
16460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16461 *) ac_try_echo=$ac_try;;
16463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16464 (eval "$ac_try") 2>&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); }; } &&
16468 { ac_try='test -s conftest$ac_exeext'
16469 { (case "(($ac_try" in
16470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16471 *) ac_try_echo=$ac_try;;
16473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16474 (eval "$ac_try") 2>&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; }; then
16479 dylib) ac_cv_lib_soname_X11=`otool -L conftest$ac_exeext | grep libX11\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libX11\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16480 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16482 if test "x$ac_cv_lib_soname_X11" = "x"
16484 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16487 echo "$as_me: failed program was:" >&5
16488 sed 's/^/| /' conftest.$ac_ext >&5
16490 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16493 rm -f core conftest.err conftest.$ac_objext \
16494 conftest$ac_exeext conftest.$ac_ext
16495 LIBS=$ac_get_soname_save_LIBS
16497 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16498 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16499 if test "${ac_cv_lib_soname_X11+set}" = set; then
16501 cat >>confdefs.h <<_ACEOF
16502 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16507 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16508 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16509 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16510 echo $ECHO_N "(cached) $ECHO_C" >&6
16512 ac_get_soname_save_LIBS=$LIBS
16513 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16514 cat >conftest.$ac_ext <<_ACEOF
16517 cat confdefs.h >>conftest.$ac_ext
16518 cat >>conftest.$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16521 /* Override any GCC internal prototype to avoid an error.
16522 Use char because int might match the return type of a GCC
16523 builtin and then its argument prototype would still apply. */
16527 char XextCreateExtension ();
16531 return XextCreateExtension ();
16536 rm -f conftest.$ac_objext conftest$ac_exeext
16537 if { (ac_try="$ac_link"
16538 case "(($ac_try" in
16539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16540 *) ac_try_echo=$ac_try;;
16542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16543 (eval "$ac_link") 2>conftest.er1
16545 grep -v '^ *+' conftest.er1 >conftest.err
16547 cat conftest.err >&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); } &&
16550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16551 { (case "(($ac_try" in
16552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16553 *) ac_try_echo=$ac_try;;
16555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16556 (eval "$ac_try") 2>&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); }; } &&
16560 { ac_try='test -s conftest$ac_exeext'
16561 { (case "(($ac_try" in
16562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16563 *) ac_try_echo=$ac_try;;
16565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16566 (eval "$ac_try") 2>&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); }; }; then
16571 dylib) ac_cv_lib_soname_Xext=`otool -L conftest$ac_exeext | grep libXext\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXext\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16572 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16574 if test "x$ac_cv_lib_soname_Xext" = "x"
16576 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16579 echo "$as_me: failed program was:" >&5
16580 sed 's/^/| /' conftest.$ac_ext >&5
16582 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16585 rm -f core conftest.err conftest.$ac_objext \
16586 conftest$ac_exeext conftest.$ac_ext
16587 LIBS=$ac_get_soname_save_LIBS
16589 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16590 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16591 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16593 cat >>confdefs.h <<_ACEOF
16594 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16599 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16600 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16601 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16602 echo $ECHO_N "(cached) $ECHO_C" >&6
16604 ac_get_soname_save_LIBS=$LIBS
16605 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16606 cat >conftest.$ac_ext <<_ACEOF
16609 cat confdefs.h >>conftest.$ac_ext
16610 cat >>conftest.$ac_ext <<_ACEOF
16611 /* end confdefs.h. */
16613 /* Override any GCC internal prototype to avoid an error.
16614 Use char because int might match the return type of a GCC
16615 builtin and then its argument prototype would still apply. */
16619 char XOpenDevice ();
16623 return XOpenDevice ();
16628 rm -f conftest.$ac_objext conftest$ac_exeext
16629 if { (ac_try="$ac_link"
16630 case "(($ac_try" in
16631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16632 *) ac_try_echo=$ac_try;;
16634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16635 (eval "$ac_link") 2>conftest.er1
16637 grep -v '^ *+' conftest.er1 >conftest.err
16639 cat conftest.err >&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); } &&
16642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16643 { (case "(($ac_try" in
16644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16645 *) ac_try_echo=$ac_try;;
16647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16648 (eval "$ac_try") 2>&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); }; } &&
16652 { ac_try='test -s conftest$ac_exeext'
16653 { (case "(($ac_try" in
16654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16655 *) ac_try_echo=$ac_try;;
16657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16658 (eval "$ac_try") 2>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; }; then
16663 dylib) ac_cv_lib_soname_Xi=`otool -L conftest$ac_exeext | grep libXi\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16664 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16666 if test "x$ac_cv_lib_soname_Xi" = "x"
16668 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16671 echo "$as_me: failed program was:" >&5
16672 sed 's/^/| /' conftest.$ac_ext >&5
16674 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16677 rm -f core conftest.err conftest.$ac_objext \
16678 conftest$ac_exeext conftest.$ac_ext
16679 LIBS=$ac_get_soname_save_LIBS
16681 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16682 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16683 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16685 cat >>confdefs.h <<_ACEOF
16686 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16691 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16692 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16693 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16694 echo $ECHO_N "(cached) $ECHO_C" >&6
16696 ac_get_soname_save_LIBS=$LIBS
16697 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16698 cat >conftest.$ac_ext <<_ACEOF
16701 cat confdefs.h >>conftest.$ac_ext
16702 cat >>conftest.$ac_ext <<_ACEOF
16703 /* end confdefs.h. */
16705 /* Override any GCC internal prototype to avoid an error.
16706 Use char because int might match the return type of a GCC
16707 builtin and then its argument prototype would still apply. */
16711 char XRenderQueryExtension ();
16715 return XRenderQueryExtension ();
16720 rm -f conftest.$ac_objext conftest$ac_exeext
16721 if { (ac_try="$ac_link"
16722 case "(($ac_try" in
16723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16724 *) ac_try_echo=$ac_try;;
16726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16727 (eval "$ac_link") 2>conftest.er1
16729 grep -v '^ *+' conftest.er1 >conftest.err
16731 cat conftest.err >&5
16732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16733 (exit $ac_status); } &&
16734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16735 { (case "(($ac_try" in
16736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16737 *) ac_try_echo=$ac_try;;
16739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16740 (eval "$ac_try") 2>&5
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); }; } &&
16744 { ac_try='test -s conftest$ac_exeext'
16745 { (case "(($ac_try" in
16746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16747 *) ac_try_echo=$ac_try;;
16749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16750 (eval "$ac_try") 2>&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); }; }; then
16755 dylib) ac_cv_lib_soname_Xrender=`otool -L conftest$ac_exeext | grep libXrender\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXrender\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16756 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16758 if test "x$ac_cv_lib_soname_Xrender" = "x"
16760 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.$ac_ext >&5
16766 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16769 rm -f core conftest.err conftest.$ac_objext \
16770 conftest$ac_exeext conftest.$ac_ext
16771 LIBS=$ac_get_soname_save_LIBS
16773 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16774 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16775 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16777 cat >>confdefs.h <<_ACEOF
16778 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16783 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16784 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16785 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16788 ac_get_soname_save_LIBS=$LIBS
16789 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16790 cat >conftest.$ac_ext <<_ACEOF
16793 cat confdefs.h >>conftest.$ac_ext
16794 cat >>conftest.$ac_ext <<_ACEOF
16795 /* end confdefs.h. */
16797 /* Override any GCC internal prototype to avoid an error.
16798 Use char because int might match the return type of a GCC
16799 builtin and then its argument prototype would still apply. */
16803 char XRRQueryExtension ();
16807 return XRRQueryExtension ();
16812 rm -f conftest.$ac_objext conftest$ac_exeext
16813 if { (ac_try="$ac_link"
16814 case "(($ac_try" in
16815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16816 *) ac_try_echo=$ac_try;;
16818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16819 (eval "$ac_link") 2>conftest.er1
16821 grep -v '^ *+' conftest.er1 >conftest.err
16823 cat conftest.err >&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); } &&
16826 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16827 { (case "(($ac_try" in
16828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16829 *) ac_try_echo=$ac_try;;
16831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16832 (eval "$ac_try") 2>&5
16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835 (exit $ac_status); }; } &&
16836 { ac_try='test -s conftest$ac_exeext'
16837 { (case "(($ac_try" in
16838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16839 *) ac_try_echo=$ac_try;;
16841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16842 (eval "$ac_try") 2>&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); }; }; then
16847 dylib) ac_cv_lib_soname_Xrandr=`otool -L conftest$ac_exeext | grep libXrandr\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXrandr\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16848 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16850 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16852 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16855 echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.$ac_ext >&5
16858 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16861 rm -f core conftest.err conftest.$ac_objext \
16862 conftest$ac_exeext conftest.$ac_ext
16863 LIBS=$ac_get_soname_save_LIBS
16865 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16866 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16867 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16869 cat >>confdefs.h <<_ACEOF
16870 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
16875 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
16876 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
16877 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16878 echo $ECHO_N "(cached) $ECHO_C" >&6
16880 ac_get_soname_save_LIBS=$LIBS
16881 LIBS="-lfreetype $X_LIBS $LIBS"
16882 cat >conftest.$ac_ext <<_ACEOF
16885 cat confdefs.h >>conftest.$ac_ext
16886 cat >>conftest.$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16889 /* Override any GCC internal prototype to avoid an error.
16890 Use char because int might match the return type of a GCC
16891 builtin and then its argument prototype would still apply. */
16895 char FT_Init_FreeType ();
16899 return FT_Init_FreeType ();
16904 rm -f conftest.$ac_objext conftest$ac_exeext
16905 if { (ac_try="$ac_link"
16906 case "(($ac_try" in
16907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16908 *) ac_try_echo=$ac_try;;
16910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16911 (eval "$ac_link") 2>conftest.er1
16913 grep -v '^ *+' conftest.er1 >conftest.err
16915 cat conftest.err >&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); } &&
16918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16919 { (case "(($ac_try" in
16920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16921 *) ac_try_echo=$ac_try;;
16923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16924 (eval "$ac_try") 2>&5
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; } &&
16928 { ac_try='test -s conftest$ac_exeext'
16929 { (case "(($ac_try" in
16930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16931 *) ac_try_echo=$ac_try;;
16933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16934 (eval "$ac_try") 2>&5
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); }; }; then
16939 dylib) ac_cv_lib_soname_freetype=`otool -L conftest$ac_exeext | grep libfreetype\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libfreetype\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16940 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16942 if test "x$ac_cv_lib_soname_freetype" = "x"
16944 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16947 echo "$as_me: failed program was:" >&5
16948 sed 's/^/| /' conftest.$ac_ext >&5
16950 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16953 rm -f core conftest.err conftest.$ac_objext \
16954 conftest$ac_exeext conftest.$ac_ext
16955 LIBS=$ac_get_soname_save_LIBS
16957 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
16958 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
16959 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16961 cat >>confdefs.h <<_ACEOF
16962 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
16967 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
16968 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
16969 if test "${ac_cv_lib_soname_GL+set}" = set; then
16970 echo $ECHO_N "(cached) $ECHO_C" >&6
16972 ac_get_soname_save_LIBS=$LIBS
16973 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
16974 cat >conftest.$ac_ext <<_ACEOF
16977 cat confdefs.h >>conftest.$ac_ext
16978 cat >>conftest.$ac_ext <<_ACEOF
16979 /* end confdefs.h. */
16981 /* Override any GCC internal prototype to avoid an error.
16982 Use char because int might match the return type of a GCC
16983 builtin and then its argument prototype would still apply. */
16987 char glXQueryExtension ();
16991 return glXQueryExtension ();
16996 rm -f conftest.$ac_objext conftest$ac_exeext
16997 if { (ac_try="$ac_link"
16998 case "(($ac_try" in
16999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17000 *) ac_try_echo=$ac_try;;
17002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17003 (eval "$ac_link") 2>conftest.er1
17005 grep -v '^ *+' conftest.er1 >conftest.err
17007 cat conftest.err >&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); } &&
17010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17011 { (case "(($ac_try" in
17012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17013 *) ac_try_echo=$ac_try;;
17015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17016 (eval "$ac_try") 2>&5
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); }; } &&
17020 { ac_try='test -s conftest$ac_exeext'
17021 { (case "(($ac_try" in
17022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17023 *) ac_try_echo=$ac_try;;
17025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17026 (eval "$ac_try") 2>&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); }; }; then
17031 dylib) ac_cv_lib_soname_GL=`otool -L conftest$ac_exeext | grep libGL\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17032 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17034 if test "x$ac_cv_lib_soname_GL" = "x"
17036 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17039 echo "$as_me: failed program was:" >&5
17040 sed 's/^/| /' conftest.$ac_ext >&5
17042 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17045 rm -f core conftest.err conftest.$ac_objext \
17046 conftest$ac_exeext conftest.$ac_ext
17047 LIBS=$ac_get_soname_save_LIBS
17049 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17050 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17051 if test "${ac_cv_lib_soname_GL+set}" = set; then
17053 cat >>confdefs.h <<_ACEOF
17054 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17059 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
17060 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
17061 if test "${ac_cv_lib_soname_hal+set}" = set; then
17062 echo $ECHO_N "(cached) $ECHO_C" >&6
17064 ac_get_soname_save_LIBS=$LIBS
17066 cat >conftest.$ac_ext <<_ACEOF
17069 cat confdefs.h >>conftest.$ac_ext
17070 cat >>conftest.$ac_ext <<_ACEOF
17071 /* end confdefs.h. */
17073 /* Override any GCC internal prototype to avoid an error.
17074 Use char because int might match the return type of a GCC
17075 builtin and then its argument prototype would still apply. */
17079 char libhal_ctx_new ();
17083 return libhal_ctx_new ();
17088 rm -f conftest.$ac_objext conftest$ac_exeext
17089 if { (ac_try="$ac_link"
17090 case "(($ac_try" in
17091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17092 *) ac_try_echo=$ac_try;;
17094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17095 (eval "$ac_link") 2>conftest.er1
17097 grep -v '^ *+' conftest.er1 >conftest.err
17099 cat conftest.err >&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); } &&
17102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17103 { (case "(($ac_try" in
17104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17105 *) ac_try_echo=$ac_try;;
17107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17108 (eval "$ac_try") 2>&5
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); }; } &&
17112 { ac_try='test -s conftest$ac_exeext'
17113 { (case "(($ac_try" in
17114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17115 *) ac_try_echo=$ac_try;;
17117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17118 (eval "$ac_try") 2>&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); }; }; then
17123 dylib) ac_cv_lib_soname_hal=`otool -L conftest$ac_exeext | grep libhal\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17124 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17126 if test "x$ac_cv_lib_soname_hal" = "x"
17128 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17131 echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.$ac_ext >&5
17134 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17137 rm -f core conftest.err conftest.$ac_objext \
17138 conftest$ac_exeext conftest.$ac_ext
17139 LIBS=$ac_get_soname_save_LIBS
17141 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17142 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17143 if test "${ac_cv_lib_soname_hal+set}" = set; then
17145 cat >>confdefs.h <<_ACEOF
17146 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17151 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17152 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17153 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17154 echo $ECHO_N "(cached) $ECHO_C" >&6
17156 ac_get_soname_save_LIBS=$LIBS
17157 LIBS="-ltxc_dxtn $LIBS"
17158 cat >conftest.$ac_ext <<_ACEOF
17161 cat confdefs.h >>conftest.$ac_ext
17162 cat >>conftest.$ac_ext <<_ACEOF
17163 /* end confdefs.h. */
17165 /* Override any GCC internal prototype to avoid an error.
17166 Use char because int might match the return type of a GCC
17167 builtin and then its argument prototype would still apply. */
17171 char fetch_2d_texel_rgba_dxt1 ();
17175 return fetch_2d_texel_rgba_dxt1 ();
17180 rm -f conftest.$ac_objext conftest$ac_exeext
17181 if { (ac_try="$ac_link"
17182 case "(($ac_try" in
17183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17184 *) ac_try_echo=$ac_try;;
17186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17187 (eval "$ac_link") 2>conftest.er1
17189 grep -v '^ *+' conftest.er1 >conftest.err
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } &&
17194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17195 { (case "(($ac_try" in
17196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17197 *) ac_try_echo=$ac_try;;
17199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17200 (eval "$ac_try") 2>&5
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); }; } &&
17204 { ac_try='test -s conftest$ac_exeext'
17205 { (case "(($ac_try" in
17206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17207 *) ac_try_echo=$ac_try;;
17209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17210 (eval "$ac_try") 2>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); }; }; then
17215 dylib) ac_cv_lib_soname_txc_dxtn=`otool -L conftest$ac_exeext | grep libtxc_dxtn\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libtxc_dxtn\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17216 so) ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.so | sed -e "s/^.*\(libtxc_dxtn\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17218 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17220 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17223 echo "$as_me: failed program was:" >&5
17224 sed 's/^/| /' conftest.$ac_ext >&5
17226 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17229 rm -f core conftest.err conftest.$ac_objext \
17230 conftest$ac_exeext conftest.$ac_ext
17231 LIBS=$ac_get_soname_save_LIBS
17233 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17234 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17235 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17237 cat >>confdefs.h <<_ACEOF
17238 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17243 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17244 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17245 if test "${ac_cv_lib_soname_cups+set}" = set; then
17246 echo $ECHO_N "(cached) $ECHO_C" >&6
17248 ac_get_soname_save_LIBS=$LIBS
17249 LIBS="-lcups $LIBS"
17250 cat >conftest.$ac_ext <<_ACEOF
17253 cat confdefs.h >>conftest.$ac_ext
17254 cat >>conftest.$ac_ext <<_ACEOF
17255 /* end confdefs.h. */
17257 /* Override any GCC internal prototype to avoid an error.
17258 Use char because int might match the return type of a GCC
17259 builtin and then its argument prototype would still apply. */
17263 char cupsGetDefault ();
17267 return cupsGetDefault ();
17272 rm -f conftest.$ac_objext conftest$ac_exeext
17273 if { (ac_try="$ac_link"
17274 case "(($ac_try" in
17275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17276 *) ac_try_echo=$ac_try;;
17278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17279 (eval "$ac_link") 2>conftest.er1
17281 grep -v '^ *+' conftest.er1 >conftest.err
17283 cat conftest.err >&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); } &&
17286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17287 { (case "(($ac_try" in
17288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17289 *) ac_try_echo=$ac_try;;
17291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17292 (eval "$ac_try") 2>&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); }; } &&
17296 { ac_try='test -s conftest$ac_exeext'
17297 { (case "(($ac_try" in
17298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17299 *) ac_try_echo=$ac_try;;
17301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17302 (eval "$ac_try") 2>&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; }; then
17307 dylib) ac_cv_lib_soname_cups=`otool -L conftest$ac_exeext | grep libcups\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libcups\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17308 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17310 if test "x$ac_cv_lib_soname_cups" = "x"
17312 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17315 echo "$as_me: failed program was:" >&5
17316 sed 's/^/| /' conftest.$ac_ext >&5
17318 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17321 rm -f core conftest.err conftest.$ac_objext \
17322 conftest$ac_exeext conftest.$ac_ext
17323 LIBS=$ac_get_soname_save_LIBS
17325 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17326 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17327 if test "${ac_cv_lib_soname_cups+set}" = set; then
17329 cat >>confdefs.h <<_ACEOF
17330 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17335 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17336 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17337 if test "${ac_cv_lib_soname_jack+set}" = set; then
17338 echo $ECHO_N "(cached) $ECHO_C" >&6
17340 ac_get_soname_save_LIBS=$LIBS
17341 LIBS="-ljack $LIBS"
17342 cat >conftest.$ac_ext <<_ACEOF
17345 cat confdefs.h >>conftest.$ac_ext
17346 cat >>conftest.$ac_ext <<_ACEOF
17347 /* end confdefs.h. */
17349 /* Override any GCC internal prototype to avoid an error.
17350 Use char because int might match the return type of a GCC
17351 builtin and then its argument prototype would still apply. */
17355 char jack_client_new ();
17359 return jack_client_new ();
17364 rm -f conftest.$ac_objext conftest$ac_exeext
17365 if { (ac_try="$ac_link"
17366 case "(($ac_try" in
17367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17368 *) ac_try_echo=$ac_try;;
17370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17371 (eval "$ac_link") 2>conftest.er1
17373 grep -v '^ *+' conftest.er1 >conftest.err
17375 cat conftest.err >&5
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); } &&
17378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17379 { (case "(($ac_try" in
17380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17381 *) ac_try_echo=$ac_try;;
17383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17384 (eval "$ac_try") 2>&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); }; } &&
17388 { ac_try='test -s conftest$ac_exeext'
17389 { (case "(($ac_try" in
17390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17391 *) ac_try_echo=$ac_try;;
17393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17394 (eval "$ac_try") 2>&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; }; then
17399 dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep libjack\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libjack\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17400 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17402 if test "x$ac_cv_lib_soname_jack" = "x"
17404 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17407 echo "$as_me: failed program was:" >&5
17408 sed 's/^/| /' conftest.$ac_ext >&5
17410 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17413 rm -f core conftest.err conftest.$ac_objext \
17414 conftest$ac_exeext conftest.$ac_ext
17415 LIBS=$ac_get_soname_save_LIBS
17417 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17418 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17419 if test "${ac_cv_lib_soname_jack+set}" = set; then
17421 cat >>confdefs.h <<_ACEOF
17422 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17427 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17428 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17429 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17430 echo $ECHO_N "(cached) $ECHO_C" >&6
17432 ac_get_soname_save_LIBS=$LIBS
17433 LIBS="-lfontconfig $LIBS"
17434 cat >conftest.$ac_ext <<_ACEOF
17437 cat confdefs.h >>conftest.$ac_ext
17438 cat >>conftest.$ac_ext <<_ACEOF
17439 /* end confdefs.h. */
17441 /* Override any GCC internal prototype to avoid an error.
17442 Use char because int might match the return type of a GCC
17443 builtin and then its argument prototype would still apply. */
17456 rm -f conftest.$ac_objext conftest$ac_exeext
17457 if { (ac_try="$ac_link"
17458 case "(($ac_try" in
17459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17460 *) ac_try_echo=$ac_try;;
17462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17463 (eval "$ac_link") 2>conftest.er1
17465 grep -v '^ *+' conftest.er1 >conftest.err
17467 cat conftest.err >&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } &&
17470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17471 { (case "(($ac_try" in
17472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17473 *) ac_try_echo=$ac_try;;
17475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17476 (eval "$ac_try") 2>&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); }; } &&
17480 { ac_try='test -s conftest$ac_exeext'
17481 { (case "(($ac_try" in
17482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17483 *) ac_try_echo=$ac_try;;
17485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17486 (eval "$ac_try") 2>&5
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); }; }; then
17491 dylib) ac_cv_lib_soname_fontconfig=`otool -L conftest$ac_exeext | grep libfontconfig\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17492 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17494 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17496 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17499 echo "$as_me: failed program was:" >&5
17500 sed 's/^/| /' conftest.$ac_ext >&5
17502 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17505 rm -f core conftest.err conftest.$ac_objext \
17506 conftest$ac_exeext conftest.$ac_ext
17507 LIBS=$ac_get_soname_save_LIBS
17509 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17510 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17511 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17513 cat >>confdefs.h <<_ACEOF
17514 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17519 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17520 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17521 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17522 echo $ECHO_N "(cached) $ECHO_C" >&6
17524 ac_get_soname_save_LIBS=$LIBS
17526 cat >conftest.$ac_ext <<_ACEOF
17529 cat confdefs.h >>conftest.$ac_ext
17530 cat >>conftest.$ac_ext <<_ACEOF
17531 /* end confdefs.h. */
17533 /* Override any GCC internal prototype to avoid an error.
17534 Use char because int might match the return type of a GCC
17535 builtin and then its argument prototype would still apply. */
17539 char SSL_library_init ();
17543 return SSL_library_init ();
17548 rm -f conftest.$ac_objext conftest$ac_exeext
17549 if { (ac_try="$ac_link"
17550 case "(($ac_try" in
17551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17552 *) ac_try_echo=$ac_try;;
17554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17555 (eval "$ac_link") 2>conftest.er1
17557 grep -v '^ *+' conftest.er1 >conftest.err
17559 cat conftest.err >&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); } &&
17562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17563 { (case "(($ac_try" in
17564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17565 *) ac_try_echo=$ac_try;;
17567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17568 (eval "$ac_try") 2>&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; } &&
17572 { ac_try='test -s conftest$ac_exeext'
17573 { (case "(($ac_try" in
17574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17575 *) ac_try_echo=$ac_try;;
17577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17578 (eval "$ac_try") 2>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; }; then
17583 dylib) ac_cv_lib_soname_ssl=`otool -L conftest$ac_exeext | grep libssl\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17584 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17586 if test "x$ac_cv_lib_soname_ssl" = "x"
17588 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17591 echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.$ac_ext >&5
17594 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17597 rm -f core conftest.err conftest.$ac_objext \
17598 conftest$ac_exeext conftest.$ac_ext
17599 LIBS=$ac_get_soname_save_LIBS
17601 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17602 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17603 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17605 cat >>confdefs.h <<_ACEOF
17606 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17611 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17612 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17613 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17614 echo $ECHO_N "(cached) $ECHO_C" >&6
17616 ac_get_soname_save_LIBS=$LIBS
17617 LIBS="-lcrypto $LIBS"
17618 cat >conftest.$ac_ext <<_ACEOF
17621 cat confdefs.h >>conftest.$ac_ext
17622 cat >>conftest.$ac_ext <<_ACEOF
17623 /* end confdefs.h. */
17625 /* Override any GCC internal prototype to avoid an error.
17626 Use char because int might match the return type of a GCC
17627 builtin and then its argument prototype would still apply. */
17631 char BIO_new_socket ();
17635 return BIO_new_socket ();
17640 rm -f conftest.$ac_objext conftest$ac_exeext
17641 if { (ac_try="$ac_link"
17642 case "(($ac_try" in
17643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17644 *) ac_try_echo=$ac_try;;
17646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17647 (eval "$ac_link") 2>conftest.er1
17649 grep -v '^ *+' conftest.er1 >conftest.err
17651 cat conftest.err >&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); } &&
17654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17655 { (case "(($ac_try" in
17656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17657 *) ac_try_echo=$ac_try;;
17659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17660 (eval "$ac_try") 2>&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; } &&
17664 { ac_try='test -s conftest$ac_exeext'
17665 { (case "(($ac_try" in
17666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17667 *) ac_try_echo=$ac_try;;
17669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17670 (eval "$ac_try") 2>&5
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); }; }; then
17675 dylib) ac_cv_lib_soname_crypto=`otool -L conftest$ac_exeext | grep libcrypto\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17676 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17678 if test "x$ac_cv_lib_soname_crypto" = "x"
17680 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17683 echo "$as_me: failed program was:" >&5
17684 sed 's/^/| /' conftest.$ac_ext >&5
17686 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17689 rm -f core conftest.err conftest.$ac_objext \
17690 conftest$ac_exeext conftest.$ac_ext
17691 LIBS=$ac_get_soname_save_LIBS
17693 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17694 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17695 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17697 cat >>confdefs.h <<_ACEOF
17698 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17703 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17704 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17705 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17706 echo $ECHO_N "(cached) $ECHO_C" >&6
17708 ac_get_soname_save_LIBS=$LIBS
17709 LIBS="-lncurses $LIBS"
17710 cat >conftest.$ac_ext <<_ACEOF
17713 cat confdefs.h >>conftest.$ac_ext
17714 cat >>conftest.$ac_ext <<_ACEOF
17715 /* end confdefs.h. */
17717 /* Override any GCC internal prototype to avoid an error.
17718 Use char because int might match the return type of a GCC
17719 builtin and then its argument prototype would still apply. */
17732 rm -f conftest.$ac_objext conftest$ac_exeext
17733 if { (ac_try="$ac_link"
17734 case "(($ac_try" in
17735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17736 *) ac_try_echo=$ac_try;;
17738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17739 (eval "$ac_link") 2>conftest.er1
17741 grep -v '^ *+' conftest.er1 >conftest.err
17743 cat conftest.err >&5
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); } &&
17746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17747 { (case "(($ac_try" in
17748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17749 *) ac_try_echo=$ac_try;;
17751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17752 (eval "$ac_try") 2>&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); }; } &&
17756 { ac_try='test -s conftest$ac_exeext'
17757 { (case "(($ac_try" in
17758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17759 *) ac_try_echo=$ac_try;;
17761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17762 (eval "$ac_try") 2>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; }; then
17767 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep libncurses\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17768 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17770 if test "x$ac_cv_lib_soname_ncurses" = "x"
17772 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.$ac_ext >&5
17778 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17781 rm -f core conftest.err conftest.$ac_objext \
17782 conftest$ac_exeext conftest.$ac_ext
17783 LIBS=$ac_get_soname_save_LIBS
17785 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17786 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17787 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17789 cat >>confdefs.h <<_ACEOF
17790 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17795 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17796 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17797 if test "${ac_cv_lib_soname_curses+set}" = set; then
17798 echo $ECHO_N "(cached) $ECHO_C" >&6
17800 ac_get_soname_save_LIBS=$LIBS
17801 LIBS="-lcurses $LIBS"
17802 cat >conftest.$ac_ext <<_ACEOF
17805 cat confdefs.h >>conftest.$ac_ext
17806 cat >>conftest.$ac_ext <<_ACEOF
17807 /* end confdefs.h. */
17809 /* Override any GCC internal prototype to avoid an error.
17810 Use char because int might match the return type of a GCC
17811 builtin and then its argument prototype would still apply. */
17824 rm -f conftest.$ac_objext conftest$ac_exeext
17825 if { (ac_try="$ac_link"
17826 case "(($ac_try" in
17827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17828 *) ac_try_echo=$ac_try;;
17830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17831 (eval "$ac_link") 2>conftest.er1
17833 grep -v '^ *+' conftest.er1 >conftest.err
17835 cat conftest.err >&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } &&
17838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17839 { (case "(($ac_try" in
17840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17841 *) ac_try_echo=$ac_try;;
17843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17844 (eval "$ac_try") 2>&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); }; } &&
17848 { ac_try='test -s conftest$ac_exeext'
17849 { (case "(($ac_try" in
17850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17851 *) ac_try_echo=$ac_try;;
17853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17854 (eval "$ac_try") 2>&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; }; then
17859 dylib) ac_cv_lib_soname_curses=`otool -L conftest$ac_exeext | grep libcurses\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17860 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17862 if test "x$ac_cv_lib_soname_curses" = "x"
17864 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17867 echo "$as_me: failed program was:" >&5
17868 sed 's/^/| /' conftest.$ac_ext >&5
17870 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17873 rm -f core conftest.err conftest.$ac_objext \
17874 conftest$ac_exeext conftest.$ac_ext
17875 LIBS=$ac_get_soname_save_LIBS
17877 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
17878 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
17879 if test "${ac_cv_lib_soname_curses+set}" = set; then
17881 cat >>confdefs.h <<_ACEOF
17882 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
17887 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
17888 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
17889 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17890 echo $ECHO_N "(cached) $ECHO_C" >&6
17892 ac_get_soname_save_LIBS=$LIBS
17893 LIBS="-ljpeg $LIBS"
17894 cat >conftest.$ac_ext <<_ACEOF
17897 cat confdefs.h >>conftest.$ac_ext
17898 cat >>conftest.$ac_ext <<_ACEOF
17899 /* end confdefs.h. */
17901 /* Override any GCC internal prototype to avoid an error.
17902 Use char because int might match the return type of a GCC
17903 builtin and then its argument prototype would still apply. */
17907 char jpeg_start_decompress ();
17911 return jpeg_start_decompress ();
17916 rm -f conftest.$ac_objext conftest$ac_exeext
17917 if { (ac_try="$ac_link"
17918 case "(($ac_try" in
17919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17920 *) ac_try_echo=$ac_try;;
17922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17923 (eval "$ac_link") 2>conftest.er1
17925 grep -v '^ *+' conftest.er1 >conftest.err
17927 cat conftest.err >&5
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); } &&
17930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17931 { (case "(($ac_try" in
17932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17933 *) ac_try_echo=$ac_try;;
17935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17936 (eval "$ac_try") 2>&5
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; } &&
17940 { ac_try='test -s conftest$ac_exeext'
17941 { (case "(($ac_try" in
17942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17943 *) ac_try_echo=$ac_try;;
17945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17946 (eval "$ac_try") 2>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); }; }; then
17951 dylib) ac_cv_lib_soname_jpeg=`otool -L conftest$ac_exeext | grep libjpeg\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17952 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17954 if test "x$ac_cv_lib_soname_jpeg" = "x"
17956 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.$ac_ext >&5
17962 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
17965 rm -f core conftest.err conftest.$ac_objext \
17966 conftest$ac_exeext conftest.$ac_ext
17967 LIBS=$ac_get_soname_save_LIBS
17969 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
17970 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
17971 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17973 cat >>confdefs.h <<_ACEOF
17974 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
17979 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
17980 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
17981 if test "${ac_cv_lib_soname_capi20+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17984 ac_get_soname_save_LIBS=$LIBS
17985 LIBS="-lcapi20 $LIBS"
17986 cat >conftest.$ac_ext <<_ACEOF
17989 cat confdefs.h >>conftest.$ac_ext
17990 cat >>conftest.$ac_ext <<_ACEOF
17991 /* end confdefs.h. */
17993 /* Override any GCC internal prototype to avoid an error.
17994 Use char because int might match the return type of a GCC
17995 builtin and then its argument prototype would still apply. */
17999 char capi20_isinstalled ();
18003 return capi20_isinstalled ();
18008 rm -f conftest.$ac_objext conftest$ac_exeext
18009 if { (ac_try="$ac_link"
18010 case "(($ac_try" in
18011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18012 *) ac_try_echo=$ac_try;;
18014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18015 (eval "$ac_link") 2>conftest.er1
18017 grep -v '^ *+' conftest.er1 >conftest.err
18019 cat conftest.err >&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); } &&
18022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18023 { (case "(($ac_try" in
18024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18025 *) ac_try_echo=$ac_try;;
18027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18028 (eval "$ac_try") 2>&5
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); }; } &&
18032 { ac_try='test -s conftest$ac_exeext'
18033 { (case "(($ac_try" in
18034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18035 *) ac_try_echo=$ac_try;;
18037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18038 (eval "$ac_try") 2>&5
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); }; }; then
18043 dylib) ac_cv_lib_soname_capi20=`otool -L conftest$ac_exeext | grep libcapi20\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18044 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18046 if test "x$ac_cv_lib_soname_capi20" = "x"
18048 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18051 echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.$ac_ext >&5
18054 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18057 rm -f core conftest.err conftest.$ac_objext \
18058 conftest$ac_exeext conftest.$ac_ext
18059 LIBS=$ac_get_soname_save_LIBS
18061 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
18062 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
18063 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18065 cat >>confdefs.h <<_ACEOF
18066 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18217 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18219 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18220 echo $ECHO_N "(cached) $ECHO_C" >&6
18222 cat >conftest.$ac_ext <<_ACEOF
18225 cat confdefs.h >>conftest.$ac_ext
18226 cat >>conftest.$ac_ext <<_ACEOF
18227 /* end confdefs.h. */
18228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18230 #define $ac_func innocuous_$ac_func
18232 /* System header to define __stub macros and hopefully few prototypes,
18233 which can conflict with char $ac_func (); below.
18234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18235 <limits.h> exists even on freestanding compilers. */
18238 # include <limits.h>
18240 # include <assert.h>
18245 /* Override any GCC internal prototype to avoid an error.
18246 Use char because int might match the return type of a GCC
18247 builtin and then its argument prototype would still apply. */
18252 /* The GNU C library defines this for functions which it implements
18253 to always fail with ENOSYS. Some functions are actually named
18254 something starting with __ and the normal name is an alias. */
18255 #if defined __stub_$ac_func || defined __stub___$ac_func
18262 return $ac_func ();
18267 rm -f conftest.$ac_objext conftest$ac_exeext
18268 if { (ac_try="$ac_link"
18269 case "(($ac_try" in
18270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18271 *) ac_try_echo=$ac_try;;
18273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18274 (eval "$ac_link") 2>conftest.er1
18276 grep -v '^ *+' conftest.er1 >conftest.err
18278 cat conftest.err >&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } &&
18281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18282 { (case "(($ac_try" in
18283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18284 *) ac_try_echo=$ac_try;;
18286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18287 (eval "$ac_try") 2>&5
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); }; } &&
18291 { ac_try='test -s conftest$ac_exeext'
18292 { (case "(($ac_try" in
18293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18294 *) ac_try_echo=$ac_try;;
18296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18297 (eval "$ac_try") 2>&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); }; }; then
18301 eval "$as_ac_var=yes"
18303 echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.$ac_ext >&5
18306 eval "$as_ac_var=no"
18309 rm -f core conftest.err conftest.$ac_objext \
18310 conftest$ac_exeext conftest.$ac_ext
18312 ac_res=`eval echo '${'$as_ac_var'}'`
18313 { echo "$as_me:$LINENO: result: $ac_res" >&5
18314 echo "${ECHO_T}$ac_res" >&6; }
18315 if test `eval echo '${'$as_ac_var'}'` = yes; then
18316 cat >>confdefs.h <<_ACEOF
18317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18324 if test "$ac_cv_func_dlopen" = no
18326 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18327 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18328 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18329 echo $ECHO_N "(cached) $ECHO_C" >&6
18331 ac_check_lib_save_LIBS=$LIBS
18333 cat >conftest.$ac_ext <<_ACEOF
18336 cat confdefs.h >>conftest.$ac_ext
18337 cat >>conftest.$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18340 /* Override any GCC internal prototype to avoid an error.
18341 Use char because int might match the return type of a GCC
18342 builtin and then its argument prototype would still apply. */
18355 rm -f conftest.$ac_objext conftest$ac_exeext
18356 if { (ac_try="$ac_link"
18357 case "(($ac_try" in
18358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18359 *) ac_try_echo=$ac_try;;
18361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18362 (eval "$ac_link") 2>conftest.er1
18364 grep -v '^ *+' conftest.er1 >conftest.err
18366 cat conftest.err >&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); } &&
18369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18370 { (case "(($ac_try" in
18371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18372 *) ac_try_echo=$ac_try;;
18374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18375 (eval "$ac_try") 2>&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); }; } &&
18379 { ac_try='test -s conftest$ac_exeext'
18380 { (case "(($ac_try" in
18381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18382 *) ac_try_echo=$ac_try;;
18384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18385 (eval "$ac_try") 2>&5
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); }; }; then
18389 ac_cv_lib_dl_dlopen=yes
18391 echo "$as_me: failed program was:" >&5
18392 sed 's/^/| /' conftest.$ac_ext >&5
18394 ac_cv_lib_dl_dlopen=no
18397 rm -f core conftest.err conftest.$ac_objext \
18398 conftest$ac_exeext conftest.$ac_ext
18399 LIBS=$ac_check_lib_save_LIBS
18401 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18402 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18403 if test $ac_cv_lib_dl_dlopen = yes; then
18404 cat >>confdefs.h <<\_ACEOF
18405 #define HAVE_DLOPEN 1
18412 ac_wine_check_funcs_save_LIBS="$LIBS"
18413 LIBS="$LIBS $LIBDL"
18415 for ac_func in dladdr
18417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18418 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18420 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18421 echo $ECHO_N "(cached) $ECHO_C" >&6
18423 cat >conftest.$ac_ext <<_ACEOF
18426 cat confdefs.h >>conftest.$ac_ext
18427 cat >>conftest.$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18431 #define $ac_func innocuous_$ac_func
18433 /* System header to define __stub macros and hopefully few prototypes,
18434 which can conflict with char $ac_func (); below.
18435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18436 <limits.h> exists even on freestanding compilers. */
18439 # include <limits.h>
18441 # include <assert.h>
18446 /* Override any GCC internal prototype to avoid an error.
18447 Use char because int might match the return type of a GCC
18448 builtin and then its argument prototype would still apply. */
18453 /* The GNU C library defines this for functions which it implements
18454 to always fail with ENOSYS. Some functions are actually named
18455 something starting with __ and the normal name is an alias. */
18456 #if defined __stub_$ac_func || defined __stub___$ac_func
18463 return $ac_func ();
18468 rm -f conftest.$ac_objext conftest$ac_exeext
18469 if { (ac_try="$ac_link"
18470 case "(($ac_try" in
18471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18472 *) ac_try_echo=$ac_try;;
18474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18475 (eval "$ac_link") 2>conftest.er1
18477 grep -v '^ *+' conftest.er1 >conftest.err
18479 cat conftest.err >&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } &&
18482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18483 { (case "(($ac_try" in
18484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18485 *) ac_try_echo=$ac_try;;
18487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18488 (eval "$ac_try") 2>&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); }; } &&
18492 { ac_try='test -s conftest$ac_exeext'
18493 { (case "(($ac_try" in
18494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18495 *) ac_try_echo=$ac_try;;
18497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18498 (eval "$ac_try") 2>&5
18500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501 (exit $ac_status); }; }; then
18502 eval "$as_ac_var=yes"
18504 echo "$as_me: failed program was:" >&5
18505 sed 's/^/| /' conftest.$ac_ext >&5
18507 eval "$as_ac_var=no"
18510 rm -f core conftest.err conftest.$ac_objext \
18511 conftest$ac_exeext conftest.$ac_ext
18513 ac_res=`eval echo '${'$as_ac_var'}'`
18514 { echo "$as_me:$LINENO: result: $ac_res" >&5
18515 echo "${ECHO_T}$ac_res" >&6; }
18516 if test `eval echo '${'$as_ac_var'}'` = yes; then
18517 cat >>confdefs.h <<_ACEOF
18518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18524 LIBS="$ac_wine_check_funcs_save_LIBS"
18526 if test "$ac_cv_func_poll" = no
18528 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18529 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18530 if test "${ac_cv_lib_poll_poll+set}" = set; then
18531 echo $ECHO_N "(cached) $ECHO_C" >&6
18533 ac_check_lib_save_LIBS=$LIBS
18534 LIBS="-lpoll $LIBS"
18535 cat >conftest.$ac_ext <<_ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18542 /* Override any GCC internal prototype to avoid an error.
18543 Use char because int might match the return type of a GCC
18544 builtin and then its argument prototype would still apply. */
18557 rm -f conftest.$ac_objext conftest$ac_exeext
18558 if { (ac_try="$ac_link"
18559 case "(($ac_try" in
18560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18561 *) ac_try_echo=$ac_try;;
18563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18564 (eval "$ac_link") 2>conftest.er1
18566 grep -v '^ *+' conftest.er1 >conftest.err
18568 cat conftest.err >&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } &&
18571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18572 { (case "(($ac_try" in
18573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_try") 2>&5
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); }; } &&
18581 { ac_try='test -s conftest$ac_exeext'
18582 { (case "(($ac_try" in
18583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18584 *) ac_try_echo=$ac_try;;
18586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18587 (eval "$ac_try") 2>&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; }; then
18591 ac_cv_lib_poll_poll=yes
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18596 ac_cv_lib_poll_poll=no
18599 rm -f core conftest.err conftest.$ac_objext \
18600 conftest$ac_exeext conftest.$ac_ext
18601 LIBS=$ac_check_lib_save_LIBS
18603 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18604 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18605 if test $ac_cv_lib_poll_poll = yes; then
18606 cat >>confdefs.h <<\_ACEOF
18607 #define HAVE_POLL 1
18615 if test "$ac_cv_func_gethostbyname" = no
18618 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18619 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18620 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18621 echo $ECHO_N "(cached) $ECHO_C" >&6
18623 ac_check_lib_save_LIBS=$LIBS
18625 cat >conftest.$ac_ext <<_ACEOF
18628 cat confdefs.h >>conftest.$ac_ext
18629 cat >>conftest.$ac_ext <<_ACEOF
18630 /* end confdefs.h. */
18632 /* Override any GCC internal prototype to avoid an error.
18633 Use char because int might match the return type of a GCC
18634 builtin and then its argument prototype would still apply. */
18638 char gethostbyname ();
18642 return gethostbyname ();
18647 rm -f conftest.$ac_objext conftest$ac_exeext
18648 if { (ac_try="$ac_link"
18649 case "(($ac_try" in
18650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18651 *) ac_try_echo=$ac_try;;
18653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18654 (eval "$ac_link") 2>conftest.er1
18656 grep -v '^ *+' conftest.er1 >conftest.err
18658 cat conftest.err >&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); } &&
18661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18662 { (case "(($ac_try" in
18663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18664 *) ac_try_echo=$ac_try;;
18666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18667 (eval "$ac_try") 2>&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); }; } &&
18671 { ac_try='test -s conftest$ac_exeext'
18672 { (case "(($ac_try" in
18673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18674 *) ac_try_echo=$ac_try;;
18676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18677 (eval "$ac_try") 2>&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); }; }; then
18681 ac_cv_lib_nsl_gethostbyname=yes
18683 echo "$as_me: failed program was:" >&5
18684 sed 's/^/| /' conftest.$ac_ext >&5
18686 ac_cv_lib_nsl_gethostbyname=no
18689 rm -f core conftest.err conftest.$ac_objext \
18690 conftest$ac_exeext conftest.$ac_ext
18691 LIBS=$ac_check_lib_save_LIBS
18693 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18694 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18695 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18696 cat >>confdefs.h <<_ACEOF
18697 #define HAVE_LIBNSL 1
18706 if test "$ac_cv_func_connect" = no
18709 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18710 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18711 if test "${ac_cv_lib_socket_connect+set}" = set; then
18712 echo $ECHO_N "(cached) $ECHO_C" >&6
18714 ac_check_lib_save_LIBS=$LIBS
18715 LIBS="-lsocket $LIBS"
18716 cat >conftest.$ac_ext <<_ACEOF
18719 cat confdefs.h >>conftest.$ac_ext
18720 cat >>conftest.$ac_ext <<_ACEOF
18721 /* end confdefs.h. */
18723 /* Override any GCC internal prototype to avoid an error.
18724 Use char because int might match the return type of a GCC
18725 builtin and then its argument prototype would still apply. */
18738 rm -f conftest.$ac_objext conftest$ac_exeext
18739 if { (ac_try="$ac_link"
18740 case "(($ac_try" in
18741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18742 *) ac_try_echo=$ac_try;;
18744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18745 (eval "$ac_link") 2>conftest.er1
18747 grep -v '^ *+' conftest.er1 >conftest.err
18749 cat conftest.err >&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); } &&
18752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18753 { (case "(($ac_try" in
18754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18755 *) ac_try_echo=$ac_try;;
18757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18758 (eval "$ac_try") 2>&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; } &&
18762 { ac_try='test -s conftest$ac_exeext'
18763 { (case "(($ac_try" in
18764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18765 *) ac_try_echo=$ac_try;;
18767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18768 (eval "$ac_try") 2>&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); }; }; then
18772 ac_cv_lib_socket_connect=yes
18774 echo "$as_me: failed program was:" >&5
18775 sed 's/^/| /' conftest.$ac_ext >&5
18777 ac_cv_lib_socket_connect=no
18780 rm -f core conftest.err conftest.$ac_objext \
18781 conftest$ac_exeext conftest.$ac_ext
18782 LIBS=$ac_check_lib_save_LIBS
18784 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
18785 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
18786 if test $ac_cv_lib_socket_connect = yes; then
18787 cat >>confdefs.h <<_ACEOF
18788 #define HAVE_LIBSOCKET 1
18791 LIBS="-lsocket $LIBS"
18797 if test "$ac_cv_func_inet_aton" = no
18800 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
18801 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
18802 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
18803 echo $ECHO_N "(cached) $ECHO_C" >&6
18805 ac_check_lib_save_LIBS=$LIBS
18806 LIBS="-lresolv $LIBS"
18807 cat >conftest.$ac_ext <<_ACEOF
18810 cat confdefs.h >>conftest.$ac_ext
18811 cat >>conftest.$ac_ext <<_ACEOF
18812 /* end confdefs.h. */
18814 /* Override any GCC internal prototype to avoid an error.
18815 Use char because int might match the return type of a GCC
18816 builtin and then its argument prototype would still apply. */
18824 return inet_aton ();
18829 rm -f conftest.$ac_objext conftest$ac_exeext
18830 if { (ac_try="$ac_link"
18831 case "(($ac_try" in
18832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18833 *) ac_try_echo=$ac_try;;
18835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18836 (eval "$ac_link") 2>conftest.er1
18838 grep -v '^ *+' conftest.er1 >conftest.err
18840 cat conftest.err >&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); } &&
18843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18844 { (case "(($ac_try" in
18845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18846 *) ac_try_echo=$ac_try;;
18848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18849 (eval "$ac_try") 2>&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); }; } &&
18853 { ac_try='test -s conftest$ac_exeext'
18854 { (case "(($ac_try" in
18855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18856 *) ac_try_echo=$ac_try;;
18858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18859 (eval "$ac_try") 2>&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); }; }; then
18863 ac_cv_lib_resolv_inet_aton=yes
18865 echo "$as_me: failed program was:" >&5
18866 sed 's/^/| /' conftest.$ac_ext >&5
18868 ac_cv_lib_resolv_inet_aton=no
18871 rm -f core conftest.err conftest.$ac_objext \
18872 conftest$ac_exeext conftest.$ac_ext
18873 LIBS=$ac_check_lib_save_LIBS
18875 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
18876 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
18877 if test $ac_cv_lib_resolv_inet_aton = yes; then
18878 cat >>confdefs.h <<_ACEOF
18879 #define HAVE_LIBRESOLV 1
18882 LIBS="-lresolv $LIBS"
18889 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18890 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18891 if test "${ac_cv_c_const+set}" = set; then
18892 echo $ECHO_N "(cached) $ECHO_C" >&6
18894 cat >conftest.$ac_ext <<_ACEOF
18897 cat confdefs.h >>conftest.$ac_ext
18898 cat >>conftest.$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18904 /* FIXME: Include the comments suggested by Paul. */
18905 #ifndef __cplusplus
18906 /* Ultrix mips cc rejects this. */
18907 typedef int charset[2];
18909 /* SunOS 4.1.1 cc rejects this. */
18910 char const *const *ccp;
18912 /* NEC SVR4.0.2 mips cc rejects this. */
18913 struct point {int x, y;};
18914 static struct point const zero = {0,0};
18915 /* AIX XL C 1.02.0.0 rejects this.
18916 It does not let you subtract one const X* pointer from another in
18917 an arm of an if-expression whose if-part is not a constant
18919 const char *g = "string";
18920 ccp = &g + (g ? g-g : 0);
18921 /* HPUX 7.0 cc rejects these. */
18924 ccp = (char const *const *) p;
18925 { /* SCO 3.2v4 cc rejects this. */
18927 char const *s = 0 ? (char *) 0 : (char const *) 0;
18932 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18933 int x[] = {25, 17};
18934 const int *foo = &x[0];
18937 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18938 typedef const int *iptr;
18942 { /* AIX XL C 1.02.0.0 rejects this saying
18943 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18944 struct s { int j; const int *ap[3]; };
18945 struct s *b; b->j = 5;
18947 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18948 const int foo = 10;
18949 if (!foo) return 0;
18951 return !x[0] && !zero.x;
18958 rm -f conftest.$ac_objext
18959 if { (ac_try="$ac_compile"
18960 case "(($ac_try" in
18961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18962 *) ac_try_echo=$ac_try;;
18964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18965 (eval "$ac_compile") 2>conftest.er1
18967 grep -v '^ *+' conftest.er1 >conftest.err
18969 cat conftest.err >&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); } &&
18972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18973 { (case "(($ac_try" in
18974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18975 *) ac_try_echo=$ac_try;;
18977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18978 (eval "$ac_try") 2>&5
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); }; } &&
18982 { ac_try='test -s conftest.$ac_objext'
18983 { (case "(($ac_try" in
18984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18985 *) ac_try_echo=$ac_try;;
18987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18988 (eval "$ac_try") 2>&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); }; }; then
18994 echo "$as_me: failed program was:" >&5
18995 sed 's/^/| /' conftest.$ac_ext >&5
19000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19002 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19003 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19004 if test $ac_cv_c_const = no; then
19006 cat >>confdefs.h <<\_ACEOF
19012 { echo "$as_me:$LINENO: checking for inline" >&5
19013 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19014 if test "${ac_cv_c_inline+set}" = set; then
19015 echo $ECHO_N "(cached) $ECHO_C" >&6
19018 for ac_kw in inline __inline__ __inline; do
19019 cat >conftest.$ac_ext <<_ACEOF
19022 cat confdefs.h >>conftest.$ac_ext
19023 cat >>conftest.$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 #ifndef __cplusplus
19027 static $ac_kw foo_t static_foo () {return 0; }
19028 $ac_kw foo_t foo () {return 0; }
19032 rm -f conftest.$ac_objext
19033 if { (ac_try="$ac_compile"
19034 case "(($ac_try" in
19035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19036 *) ac_try_echo=$ac_try;;
19038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19039 (eval "$ac_compile") 2>conftest.er1
19041 grep -v '^ *+' conftest.er1 >conftest.err
19043 cat conftest.err >&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); } &&
19046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19047 { (case "(($ac_try" in
19048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19049 *) ac_try_echo=$ac_try;;
19051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19052 (eval "$ac_try") 2>&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; } &&
19056 { ac_try='test -s conftest.$ac_objext'
19057 { (case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_try") 2>&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); }; }; then
19066 ac_cv_c_inline=$ac_kw
19068 echo "$as_me: failed program was:" >&5
19069 sed 's/^/| /' conftest.$ac_ext >&5
19074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19075 test "$ac_cv_c_inline" != no && break
19079 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19080 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19083 case $ac_cv_c_inline in
19086 case $ac_cv_c_inline in
19088 *) ac_val=$ac_cv_c_inline;;
19090 cat >>confdefs.h <<_ACEOF
19091 #ifndef __cplusplus
19092 #define inline $ac_val
19098 { echo "$as_me:$LINENO: checking for mode_t" >&5
19099 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19100 if test "${ac_cv_type_mode_t+set}" = set; then
19101 echo $ECHO_N "(cached) $ECHO_C" >&6
19103 cat >conftest.$ac_ext <<_ACEOF
19106 cat confdefs.h >>conftest.$ac_ext
19107 cat >>conftest.$ac_ext <<_ACEOF
19108 /* end confdefs.h. */
19109 $ac_includes_default
19110 typedef mode_t ac__type_new_;
19114 if ((ac__type_new_ *) 0)
19116 if (sizeof (ac__type_new_))
19122 rm -f conftest.$ac_objext
19123 if { (ac_try="$ac_compile"
19124 case "(($ac_try" in
19125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19126 *) ac_try_echo=$ac_try;;
19128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19129 (eval "$ac_compile") 2>conftest.er1
19131 grep -v '^ *+' conftest.er1 >conftest.err
19133 cat conftest.err >&5
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); } &&
19136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19137 { (case "(($ac_try" in
19138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19139 *) ac_try_echo=$ac_try;;
19141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19142 (eval "$ac_try") 2>&5
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); }; } &&
19146 { ac_try='test -s conftest.$ac_objext'
19147 { (case "(($ac_try" in
19148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19149 *) ac_try_echo=$ac_try;;
19151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19152 (eval "$ac_try") 2>&5
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); }; }; then
19156 ac_cv_type_mode_t=yes
19158 echo "$as_me: failed program was:" >&5
19159 sed 's/^/| /' conftest.$ac_ext >&5
19161 ac_cv_type_mode_t=no
19164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19166 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19167 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19168 if test $ac_cv_type_mode_t = yes; then
19170 cat >>confdefs.h <<_ACEOF
19171 #define HAVE_MODE_T 1
19176 { echo "$as_me:$LINENO: checking for off_t" >&5
19177 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19178 if test "${ac_cv_type_off_t+set}" = set; then
19179 echo $ECHO_N "(cached) $ECHO_C" >&6
19181 cat >conftest.$ac_ext <<_ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 $ac_includes_default
19188 typedef off_t ac__type_new_;
19192 if ((ac__type_new_ *) 0)
19194 if (sizeof (ac__type_new_))
19200 rm -f conftest.$ac_objext
19201 if { (ac_try="$ac_compile"
19202 case "(($ac_try" in
19203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19204 *) ac_try_echo=$ac_try;;
19206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19207 (eval "$ac_compile") 2>conftest.er1
19209 grep -v '^ *+' conftest.er1 >conftest.err
19211 cat conftest.err >&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } &&
19214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19215 { (case "(($ac_try" in
19216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19217 *) ac_try_echo=$ac_try;;
19219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19220 (eval "$ac_try") 2>&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); }; } &&
19224 { ac_try='test -s conftest.$ac_objext'
19225 { (case "(($ac_try" in
19226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19227 *) ac_try_echo=$ac_try;;
19229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19230 (eval "$ac_try") 2>&5
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); }; }; then
19234 ac_cv_type_off_t=yes
19236 echo "$as_me: failed program was:" >&5
19237 sed 's/^/| /' conftest.$ac_ext >&5
19239 ac_cv_type_off_t=no
19242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19244 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19245 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19246 if test $ac_cv_type_off_t = yes; then
19248 cat >>confdefs.h <<_ACEOF
19249 #define HAVE_OFF_T 1
19254 { echo "$as_me:$LINENO: checking for pid_t" >&5
19255 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19256 if test "${ac_cv_type_pid_t+set}" = set; then
19257 echo $ECHO_N "(cached) $ECHO_C" >&6
19259 cat >conftest.$ac_ext <<_ACEOF
19262 cat confdefs.h >>conftest.$ac_ext
19263 cat >>conftest.$ac_ext <<_ACEOF
19264 /* end confdefs.h. */
19265 $ac_includes_default
19266 typedef pid_t ac__type_new_;
19270 if ((ac__type_new_ *) 0)
19272 if (sizeof (ac__type_new_))
19278 rm -f conftest.$ac_objext
19279 if { (ac_try="$ac_compile"
19280 case "(($ac_try" in
19281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19282 *) ac_try_echo=$ac_try;;
19284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19285 (eval "$ac_compile") 2>conftest.er1
19287 grep -v '^ *+' conftest.er1 >conftest.err
19289 cat conftest.err >&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); } &&
19292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19293 { (case "(($ac_try" in
19294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19295 *) ac_try_echo=$ac_try;;
19297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19298 (eval "$ac_try") 2>&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); }; } &&
19302 { ac_try='test -s conftest.$ac_objext'
19303 { (case "(($ac_try" in
19304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19305 *) ac_try_echo=$ac_try;;
19307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19308 (eval "$ac_try") 2>&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; }; then
19312 ac_cv_type_pid_t=yes
19314 echo "$as_me: failed program was:" >&5
19315 sed 's/^/| /' conftest.$ac_ext >&5
19317 ac_cv_type_pid_t=no
19320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19322 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19323 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19324 if test $ac_cv_type_pid_t = yes; then
19326 cat >>confdefs.h <<_ACEOF
19327 #define HAVE_PID_T 1
19332 { echo "$as_me:$LINENO: checking for size_t" >&5
19333 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19334 if test "${ac_cv_type_size_t+set}" = set; then
19335 echo $ECHO_N "(cached) $ECHO_C" >&6
19337 cat >conftest.$ac_ext <<_ACEOF
19340 cat confdefs.h >>conftest.$ac_ext
19341 cat >>conftest.$ac_ext <<_ACEOF
19342 /* end confdefs.h. */
19343 $ac_includes_default
19344 typedef size_t ac__type_new_;
19348 if ((ac__type_new_ *) 0)
19350 if (sizeof (ac__type_new_))
19356 rm -f conftest.$ac_objext
19357 if { (ac_try="$ac_compile"
19358 case "(($ac_try" in
19359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19360 *) ac_try_echo=$ac_try;;
19362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19363 (eval "$ac_compile") 2>conftest.er1
19365 grep -v '^ *+' conftest.er1 >conftest.err
19367 cat conftest.err >&5
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); } &&
19370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19371 { (case "(($ac_try" in
19372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19373 *) ac_try_echo=$ac_try;;
19375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19376 (eval "$ac_try") 2>&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); }; } &&
19380 { ac_try='test -s conftest.$ac_objext'
19381 { (case "(($ac_try" in
19382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19383 *) ac_try_echo=$ac_try;;
19385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19386 (eval "$ac_try") 2>&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; }; then
19390 ac_cv_type_size_t=yes
19392 echo "$as_me: failed program was:" >&5
19393 sed 's/^/| /' conftest.$ac_ext >&5
19395 ac_cv_type_size_t=no
19398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19400 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19401 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19402 if test $ac_cv_type_size_t = yes; then
19404 cat >>confdefs.h <<_ACEOF
19405 #define HAVE_SIZE_T 1
19410 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19411 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19412 if test "${ac_cv_type_ssize_t+set}" = set; then
19413 echo $ECHO_N "(cached) $ECHO_C" >&6
19415 cat >conftest.$ac_ext <<_ACEOF
19418 cat confdefs.h >>conftest.$ac_ext
19419 cat >>conftest.$ac_ext <<_ACEOF
19420 /* end confdefs.h. */
19421 $ac_includes_default
19422 typedef ssize_t ac__type_new_;
19426 if ((ac__type_new_ *) 0)
19428 if (sizeof (ac__type_new_))
19434 rm -f conftest.$ac_objext
19435 if { (ac_try="$ac_compile"
19436 case "(($ac_try" in
19437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19438 *) ac_try_echo=$ac_try;;
19440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19441 (eval "$ac_compile") 2>conftest.er1
19443 grep -v '^ *+' conftest.er1 >conftest.err
19445 cat conftest.err >&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } &&
19448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19449 { (case "(($ac_try" in
19450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19451 *) ac_try_echo=$ac_try;;
19453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19454 (eval "$ac_try") 2>&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); }; } &&
19458 { ac_try='test -s conftest.$ac_objext'
19459 { (case "(($ac_try" in
19460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19461 *) ac_try_echo=$ac_try;;
19463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19464 (eval "$ac_try") 2>&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); }; }; then
19468 ac_cv_type_ssize_t=yes
19470 echo "$as_me: failed program was:" >&5
19471 sed 's/^/| /' conftest.$ac_ext >&5
19473 ac_cv_type_ssize_t=no
19476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19478 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19479 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19480 if test $ac_cv_type_ssize_t = yes; then
19482 cat >>confdefs.h <<_ACEOF
19483 #define HAVE_SSIZE_T 1
19488 { echo "$as_me:$LINENO: checking for long long" >&5
19489 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19490 if test "${ac_cv_type_long_long+set}" = set; then
19491 echo $ECHO_N "(cached) $ECHO_C" >&6
19493 cat >conftest.$ac_ext <<_ACEOF
19496 cat confdefs.h >>conftest.$ac_ext
19497 cat >>conftest.$ac_ext <<_ACEOF
19498 /* end confdefs.h. */
19499 $ac_includes_default
19500 typedef long long ac__type_new_;
19504 if ((ac__type_new_ *) 0)
19506 if (sizeof (ac__type_new_))
19512 rm -f conftest.$ac_objext
19513 if { (ac_try="$ac_compile"
19514 case "(($ac_try" in
19515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19516 *) ac_try_echo=$ac_try;;
19518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19519 (eval "$ac_compile") 2>conftest.er1
19521 grep -v '^ *+' conftest.er1 >conftest.err
19523 cat conftest.err >&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } &&
19526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19527 { (case "(($ac_try" in
19528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19529 *) ac_try_echo=$ac_try;;
19531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19532 (eval "$ac_try") 2>&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); }; } &&
19536 { ac_try='test -s conftest.$ac_objext'
19537 { (case "(($ac_try" in
19538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19539 *) ac_try_echo=$ac_try;;
19541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19542 (eval "$ac_try") 2>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); }; }; then
19546 ac_cv_type_long_long=yes
19548 echo "$as_me: failed program was:" >&5
19549 sed 's/^/| /' conftest.$ac_ext >&5
19551 ac_cv_type_long_long=no
19554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19556 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19557 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19558 if test $ac_cv_type_long_long = yes; then
19560 cat >>confdefs.h <<_ACEOF
19561 #define HAVE_LONG_LONG 1
19566 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19567 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19568 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19569 echo $ECHO_N "(cached) $ECHO_C" >&6
19571 cat >conftest.$ac_ext <<_ACEOF
19574 cat confdefs.h >>conftest.$ac_ext
19575 cat >>conftest.$ac_ext <<_ACEOF
19576 /* end confdefs.h. */
19577 $ac_includes_default
19578 typedef fsblkcnt_t ac__type_new_;
19582 if ((ac__type_new_ *) 0)
19584 if (sizeof (ac__type_new_))
19590 rm -f conftest.$ac_objext
19591 if { (ac_try="$ac_compile"
19592 case "(($ac_try" in
19593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19594 *) ac_try_echo=$ac_try;;
19596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19597 (eval "$ac_compile") 2>conftest.er1
19599 grep -v '^ *+' conftest.er1 >conftest.err
19601 cat conftest.err >&5
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); } &&
19604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19605 { (case "(($ac_try" in
19606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19607 *) ac_try_echo=$ac_try;;
19609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19610 (eval "$ac_try") 2>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; } &&
19614 { ac_try='test -s conftest.$ac_objext'
19615 { (case "(($ac_try" in
19616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19617 *) ac_try_echo=$ac_try;;
19619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19620 (eval "$ac_try") 2>&5
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); }; }; then
19624 ac_cv_type_fsblkcnt_t=yes
19626 echo "$as_me: failed program was:" >&5
19627 sed 's/^/| /' conftest.$ac_ext >&5
19629 ac_cv_type_fsblkcnt_t=no
19632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19634 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19635 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19636 if test $ac_cv_type_fsblkcnt_t = yes; then
19638 cat >>confdefs.h <<_ACEOF
19639 #define HAVE_FSBLKCNT_T 1
19644 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19645 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19646 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19647 echo $ECHO_N "(cached) $ECHO_C" >&6
19649 cat >conftest.$ac_ext <<_ACEOF
19652 cat confdefs.h >>conftest.$ac_ext
19653 cat >>conftest.$ac_ext <<_ACEOF
19654 /* end confdefs.h. */
19655 $ac_includes_default
19656 typedef fsfilcnt_t ac__type_new_;
19660 if ((ac__type_new_ *) 0)
19662 if (sizeof (ac__type_new_))
19668 rm -f conftest.$ac_objext
19669 if { (ac_try="$ac_compile"
19670 case "(($ac_try" in
19671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19672 *) ac_try_echo=$ac_try;;
19674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19675 (eval "$ac_compile") 2>conftest.er1
19677 grep -v '^ *+' conftest.er1 >conftest.err
19679 cat conftest.err >&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); } &&
19682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19683 { (case "(($ac_try" in
19684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19685 *) ac_try_echo=$ac_try;;
19687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19688 (eval "$ac_try") 2>&5
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); }; } &&
19692 { ac_try='test -s conftest.$ac_objext'
19693 { (case "(($ac_try" in
19694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19695 *) ac_try_echo=$ac_try;;
19697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19698 (eval "$ac_try") 2>&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); }; }; then
19702 ac_cv_type_fsfilcnt_t=yes
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19707 ac_cv_type_fsfilcnt_t=no
19710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19712 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19713 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19714 if test $ac_cv_type_fsfilcnt_t = yes; then
19716 cat >>confdefs.h <<_ACEOF
19717 #define HAVE_FSFILCNT_T 1
19723 { echo "$as_me:$LINENO: checking for sigset_t" >&5
19724 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
19725 if test "${ac_cv_type_sigset_t+set}" = set; then
19726 echo $ECHO_N "(cached) $ECHO_C" >&6
19728 cat >conftest.$ac_ext <<_ACEOF
19731 cat confdefs.h >>conftest.$ac_ext
19732 cat >>conftest.$ac_ext <<_ACEOF
19733 /* end confdefs.h. */
19734 #include <signal.h>
19736 typedef sigset_t ac__type_new_;
19740 if ((ac__type_new_ *) 0)
19742 if (sizeof (ac__type_new_))
19748 rm -f conftest.$ac_objext
19749 if { (ac_try="$ac_compile"
19750 case "(($ac_try" in
19751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19752 *) ac_try_echo=$ac_try;;
19754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19755 (eval "$ac_compile") 2>conftest.er1
19757 grep -v '^ *+' conftest.er1 >conftest.err
19759 cat conftest.err >&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } &&
19762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19763 { (case "(($ac_try" in
19764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19765 *) ac_try_echo=$ac_try;;
19767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19768 (eval "$ac_try") 2>&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); }; } &&
19772 { ac_try='test -s conftest.$ac_objext'
19773 { (case "(($ac_try" in
19774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19775 *) ac_try_echo=$ac_try;;
19777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19778 (eval "$ac_try") 2>&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; }; then
19782 ac_cv_type_sigset_t=yes
19784 echo "$as_me: failed program was:" >&5
19785 sed 's/^/| /' conftest.$ac_ext >&5
19787 ac_cv_type_sigset_t=no
19790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19792 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19793 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
19794 if test $ac_cv_type_sigset_t = yes; then
19796 cat >>confdefs.h <<_ACEOF
19797 #define HAVE_SIGSET_T 1
19803 { echo "$as_me:$LINENO: checking for request_sense" >&5
19804 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
19805 if test "${ac_cv_type_request_sense+set}" = set; then
19806 echo $ECHO_N "(cached) $ECHO_C" >&6
19808 cat >conftest.$ac_ext <<_ACEOF
19811 cat confdefs.h >>conftest.$ac_ext
19812 cat >>conftest.$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 #include <linux/cdrom.h>
19816 typedef request_sense ac__type_new_;
19820 if ((ac__type_new_ *) 0)
19822 if (sizeof (ac__type_new_))
19828 rm -f conftest.$ac_objext
19829 if { (ac_try="$ac_compile"
19830 case "(($ac_try" in
19831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19832 *) ac_try_echo=$ac_try;;
19834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19835 (eval "$ac_compile") 2>conftest.er1
19837 grep -v '^ *+' conftest.er1 >conftest.err
19839 cat conftest.err >&5
19840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841 (exit $ac_status); } &&
19842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19843 { (case "(($ac_try" in
19844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19845 *) ac_try_echo=$ac_try;;
19847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19848 (eval "$ac_try") 2>&5
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); }; } &&
19852 { ac_try='test -s conftest.$ac_objext'
19853 { (case "(($ac_try" in
19854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19855 *) ac_try_echo=$ac_try;;
19857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19858 (eval "$ac_try") 2>&5
19860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861 (exit $ac_status); }; }; then
19862 ac_cv_type_request_sense=yes
19864 echo "$as_me: failed program was:" >&5
19865 sed 's/^/| /' conftest.$ac_ext >&5
19867 ac_cv_type_request_sense=no
19870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19872 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
19873 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
19874 if test $ac_cv_type_request_sense = yes; then
19876 cat >>confdefs.h <<_ACEOF
19877 #define HAVE_REQUEST_SENSE 1
19884 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
19885 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
19886 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
19887 echo $ECHO_N "(cached) $ECHO_C" >&6
19889 cat >conftest.$ac_ext <<_ACEOF
19892 cat confdefs.h >>conftest.$ac_ext
19893 cat >>conftest.$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19895 #ifdef HAVE_LINUX_INPUT_H
19896 #include <linux/input.h>
19902 static struct ff_effect ac_aggr;
19903 if (ac_aggr.direction)
19909 rm -f conftest.$ac_objext
19910 if { (ac_try="$ac_compile"
19911 case "(($ac_try" in
19912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19913 *) ac_try_echo=$ac_try;;
19915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19916 (eval "$ac_compile") 2>conftest.er1
19918 grep -v '^ *+' conftest.er1 >conftest.err
19920 cat conftest.err >&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } &&
19923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19924 { (case "(($ac_try" in
19925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19926 *) ac_try_echo=$ac_try;;
19928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19929 (eval "$ac_try") 2>&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; } &&
19933 { ac_try='test -s conftest.$ac_objext'
19934 { (case "(($ac_try" in
19935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19936 *) ac_try_echo=$ac_try;;
19938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19939 (eval "$ac_try") 2>&5
19941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942 (exit $ac_status); }; }; then
19943 ac_cv_member_struct_ff_effect_direction=yes
19945 echo "$as_me: failed program was:" >&5
19946 sed 's/^/| /' conftest.$ac_ext >&5
19948 cat >conftest.$ac_ext <<_ACEOF
19951 cat confdefs.h >>conftest.$ac_ext
19952 cat >>conftest.$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19954 #ifdef HAVE_LINUX_INPUT_H
19955 #include <linux/input.h>
19961 static struct ff_effect ac_aggr;
19962 if (sizeof ac_aggr.direction)
19968 rm -f conftest.$ac_objext
19969 if { (ac_try="$ac_compile"
19970 case "(($ac_try" in
19971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19972 *) ac_try_echo=$ac_try;;
19974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19975 (eval "$ac_compile") 2>conftest.er1
19977 grep -v '^ *+' conftest.er1 >conftest.err
19979 cat conftest.err >&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); } &&
19982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19983 { (case "(($ac_try" in
19984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19985 *) ac_try_echo=$ac_try;;
19987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19988 (eval "$ac_try") 2>&5
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); }; } &&
19992 { ac_try='test -s conftest.$ac_objext'
19993 { (case "(($ac_try" in
19994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19995 *) ac_try_echo=$ac_try;;
19997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19998 (eval "$ac_try") 2>&5
20000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20001 (exit $ac_status); }; }; then
20002 ac_cv_member_struct_ff_effect_direction=yes
20004 echo "$as_me: failed program was:" >&5
20005 sed 's/^/| /' conftest.$ac_ext >&5
20007 ac_cv_member_struct_ff_effect_direction=no
20010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20015 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20016 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20017 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20019 cat >>confdefs.h <<_ACEOF
20020 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20027 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20028 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20029 if test "${wine_cv_have_sigaddset+set}" = set; then
20030 echo $ECHO_N "(cached) $ECHO_C" >&6
20032 cat >conftest.$ac_ext <<_ACEOF
20035 cat confdefs.h >>conftest.$ac_ext
20036 cat >>conftest.$ac_ext <<_ACEOF
20037 /* end confdefs.h. */
20038 #include <signal.h>
20042 sigset_t set; sigaddset(&set,SIGTERM);
20047 rm -f conftest.$ac_objext conftest$ac_exeext
20048 if { (ac_try="$ac_link"
20049 case "(($ac_try" in
20050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20051 *) ac_try_echo=$ac_try;;
20053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20054 (eval "$ac_link") 2>conftest.er1
20056 grep -v '^ *+' conftest.er1 >conftest.err
20058 cat conftest.err >&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); } &&
20061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20062 { (case "(($ac_try" in
20063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20064 *) ac_try_echo=$ac_try;;
20066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20067 (eval "$ac_try") 2>&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); }; } &&
20071 { ac_try='test -s conftest$ac_exeext'
20072 { (case "(($ac_try" in
20073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20074 *) ac_try_echo=$ac_try;;
20076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20077 (eval "$ac_try") 2>&5
20079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080 (exit $ac_status); }; }; then
20081 wine_cv_have_sigaddset=yes
20083 echo "$as_me: failed program was:" >&5
20084 sed 's/^/| /' conftest.$ac_ext >&5
20086 wine_cv_have_sigaddset=no
20089 rm -f core conftest.err conftest.$ac_objext \
20090 conftest$ac_exeext conftest.$ac_ext
20092 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20093 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20094 if test "$wine_cv_have_sigaddset" = "yes"
20097 cat >>confdefs.h <<\_ACEOF
20098 #define HAVE_SIGADDSET 1
20104 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20105 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20106 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20107 echo $ECHO_N "(cached) $ECHO_C" >&6
20109 cat >conftest.$ac_ext <<_ACEOF
20112 cat confdefs.h >>conftest.$ac_ext
20113 cat >>conftest.$ac_ext <<_ACEOF
20114 /* end confdefs.h. */
20124 struct hostent *result;
20131 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20132 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20138 rm -f conftest.$ac_objext conftest$ac_exeext
20139 if { (ac_try="$ac_link"
20140 case "(($ac_try" in
20141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20142 *) ac_try_echo=$ac_try;;
20144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20145 (eval "$ac_link") 2>conftest.er1
20147 grep -v '^ *+' conftest.er1 >conftest.err
20149 cat conftest.err >&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); } &&
20152 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20153 { (case "(($ac_try" in
20154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20155 *) ac_try_echo=$ac_try;;
20157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20158 (eval "$ac_try") 2>&5
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); }; } &&
20162 { ac_try='test -s conftest$ac_exeext'
20163 { (case "(($ac_try" in
20164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20165 *) ac_try_echo=$ac_try;;
20167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20168 (eval "$ac_try") 2>&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); }; }; then
20172 wine_cv_linux_gethostbyname_r_6=yes
20174 echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.$ac_ext >&5
20177 wine_cv_linux_gethostbyname_r_6=no
20181 rm -f core conftest.err conftest.$ac_objext \
20182 conftest$ac_exeext conftest.$ac_ext
20185 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20186 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20187 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20190 cat >>confdefs.h <<\_ACEOF
20191 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20196 if test "$ac_cv_header_linux_joystick_h" = "yes"
20198 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20199 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20200 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20201 echo $ECHO_N "(cached) $ECHO_C" >&6
20203 cat >conftest.$ac_ext <<_ACEOF
20206 cat confdefs.h >>conftest.$ac_ext
20207 cat >>conftest.$ac_ext <<_ACEOF
20208 /* end confdefs.h. */
20210 #include <sys/ioctl.h>
20211 #include <linux/joystick.h>
20213 struct js_event blub;
20214 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20215 #error "no 2.2 header"
20226 rm -f conftest.$ac_objext
20227 if { (ac_try="$ac_compile"
20228 case "(($ac_try" in
20229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20230 *) ac_try_echo=$ac_try;;
20232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20233 (eval "$ac_compile") 2>conftest.er1
20235 grep -v '^ *+' conftest.er1 >conftest.err
20237 cat conftest.err >&5
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); } &&
20240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20241 { (case "(($ac_try" in
20242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20243 *) ac_try_echo=$ac_try;;
20245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20246 (eval "$ac_try") 2>&5
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); }; } &&
20250 { ac_try='test -s conftest.$ac_objext'
20251 { (case "(($ac_try" in
20252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20253 *) ac_try_echo=$ac_try;;
20255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20256 (eval "$ac_try") 2>&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); }; }; then
20260 wine_cv_linux_joystick_22_api=yes
20262 echo "$as_me: failed program was:" >&5
20263 sed 's/^/| /' conftest.$ac_ext >&5
20265 wine_cv_linux_joystick_22_api=no
20268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20271 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20272 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20273 if test "$wine_cv_linux_joystick_22_api" = "yes"
20276 cat >>confdefs.h <<\_ACEOF
20277 #define HAVE_LINUX_22_JOYSTICK_API 1
20284 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20285 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20286 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20287 echo $ECHO_N "(cached) $ECHO_C" >&6
20289 cat >conftest.$ac_ext <<_ACEOF
20292 cat confdefs.h >>conftest.$ac_ext
20293 cat >>conftest.$ac_ext <<_ACEOF
20294 /* end confdefs.h. */
20295 #include <sys/types.h>
20296 #ifdef HAVE_SYS_PARAM_H
20297 # include <sys/param.h>
20299 #ifdef HAVE_SYS_MOUNT_H
20300 # include <sys/mount.h>
20302 #ifdef HAVE_SYS_VFS_H
20303 # include <sys/vfs.h>
20305 #ifdef HAVE_SYS_STATFS_H
20306 # include <sys/statfs.h>
20312 static struct statfs ac_aggr;
20313 if (ac_aggr.f_bfree)
20319 rm -f conftest.$ac_objext
20320 if { (ac_try="$ac_compile"
20321 case "(($ac_try" in
20322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20323 *) ac_try_echo=$ac_try;;
20325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20326 (eval "$ac_compile") 2>conftest.er1
20328 grep -v '^ *+' conftest.er1 >conftest.err
20330 cat conftest.err >&5
20331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332 (exit $ac_status); } &&
20333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20334 { (case "(($ac_try" in
20335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20336 *) ac_try_echo=$ac_try;;
20338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20339 (eval "$ac_try") 2>&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); }; } &&
20343 { ac_try='test -s conftest.$ac_objext'
20344 { (case "(($ac_try" in
20345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20346 *) ac_try_echo=$ac_try;;
20348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20349 (eval "$ac_try") 2>&5
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); }; }; then
20353 ac_cv_member_struct_statfs_f_bfree=yes
20355 echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.$ac_ext >&5
20358 cat >conftest.$ac_ext <<_ACEOF
20361 cat confdefs.h >>conftest.$ac_ext
20362 cat >>conftest.$ac_ext <<_ACEOF
20363 /* end confdefs.h. */
20364 #include <sys/types.h>
20365 #ifdef HAVE_SYS_PARAM_H
20366 # include <sys/param.h>
20368 #ifdef HAVE_SYS_MOUNT_H
20369 # include <sys/mount.h>
20371 #ifdef HAVE_SYS_VFS_H
20372 # include <sys/vfs.h>
20374 #ifdef HAVE_SYS_STATFS_H
20375 # include <sys/statfs.h>
20381 static struct statfs ac_aggr;
20382 if (sizeof ac_aggr.f_bfree)
20388 rm -f conftest.$ac_objext
20389 if { (ac_try="$ac_compile"
20390 case "(($ac_try" in
20391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20392 *) ac_try_echo=$ac_try;;
20394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20395 (eval "$ac_compile") 2>conftest.er1
20397 grep -v '^ *+' conftest.er1 >conftest.err
20399 cat conftest.err >&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } &&
20402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20403 { (case "(($ac_try" in
20404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20405 *) ac_try_echo=$ac_try;;
20407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20408 (eval "$ac_try") 2>&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; } &&
20412 { ac_try='test -s conftest.$ac_objext'
20413 { (case "(($ac_try" in
20414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20415 *) ac_try_echo=$ac_try;;
20417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20418 (eval "$ac_try") 2>&5
20420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); }; }; then
20422 ac_cv_member_struct_statfs_f_bfree=yes
20424 echo "$as_me: failed program was:" >&5
20425 sed 's/^/| /' conftest.$ac_ext >&5
20427 ac_cv_member_struct_statfs_f_bfree=no
20430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20435 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20436 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20437 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20439 cat >>confdefs.h <<_ACEOF
20440 #define HAVE_STRUCT_STATFS_F_BFREE 1
20445 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20446 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20447 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20448 echo $ECHO_N "(cached) $ECHO_C" >&6
20450 cat >conftest.$ac_ext <<_ACEOF
20453 cat confdefs.h >>conftest.$ac_ext
20454 cat >>conftest.$ac_ext <<_ACEOF
20455 /* end confdefs.h. */
20456 #include <sys/types.h>
20457 #ifdef HAVE_SYS_PARAM_H
20458 # include <sys/param.h>
20460 #ifdef HAVE_SYS_MOUNT_H
20461 # include <sys/mount.h>
20463 #ifdef HAVE_SYS_VFS_H
20464 # include <sys/vfs.h>
20466 #ifdef HAVE_SYS_STATFS_H
20467 # include <sys/statfs.h>
20473 static struct statfs ac_aggr;
20474 if (ac_aggr.f_bavail)
20480 rm -f conftest.$ac_objext
20481 if { (ac_try="$ac_compile"
20482 case "(($ac_try" in
20483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20484 *) ac_try_echo=$ac_try;;
20486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20487 (eval "$ac_compile") 2>conftest.er1
20489 grep -v '^ *+' conftest.er1 >conftest.err
20491 cat conftest.err >&5
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); } &&
20494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20495 { (case "(($ac_try" in
20496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20497 *) ac_try_echo=$ac_try;;
20499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20500 (eval "$ac_try") 2>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; } &&
20504 { ac_try='test -s conftest.$ac_objext'
20505 { (case "(($ac_try" in
20506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20507 *) ac_try_echo=$ac_try;;
20509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20510 (eval "$ac_try") 2>&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); }; }; then
20514 ac_cv_member_struct_statfs_f_bavail=yes
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20519 cat >conftest.$ac_ext <<_ACEOF
20522 cat confdefs.h >>conftest.$ac_ext
20523 cat >>conftest.$ac_ext <<_ACEOF
20524 /* end confdefs.h. */
20525 #include <sys/types.h>
20526 #ifdef HAVE_SYS_PARAM_H
20527 # include <sys/param.h>
20529 #ifdef HAVE_SYS_MOUNT_H
20530 # include <sys/mount.h>
20532 #ifdef HAVE_SYS_VFS_H
20533 # include <sys/vfs.h>
20535 #ifdef HAVE_SYS_STATFS_H
20536 # include <sys/statfs.h>
20542 static struct statfs ac_aggr;
20543 if (sizeof ac_aggr.f_bavail)
20549 rm -f conftest.$ac_objext
20550 if { (ac_try="$ac_compile"
20551 case "(($ac_try" in
20552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20553 *) ac_try_echo=$ac_try;;
20555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20556 (eval "$ac_compile") 2>conftest.er1
20558 grep -v '^ *+' conftest.er1 >conftest.err
20560 cat conftest.err >&5
20561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562 (exit $ac_status); } &&
20563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20564 { (case "(($ac_try" in
20565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20566 *) ac_try_echo=$ac_try;;
20568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20569 (eval "$ac_try") 2>&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); }; } &&
20573 { ac_try='test -s conftest.$ac_objext'
20574 { (case "(($ac_try" in
20575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20576 *) ac_try_echo=$ac_try;;
20578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20579 (eval "$ac_try") 2>&5
20581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582 (exit $ac_status); }; }; then
20583 ac_cv_member_struct_statfs_f_bavail=yes
20585 echo "$as_me: failed program was:" >&5
20586 sed 's/^/| /' conftest.$ac_ext >&5
20588 ac_cv_member_struct_statfs_f_bavail=no
20591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20596 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20597 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20598 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20600 cat >>confdefs.h <<_ACEOF
20601 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20606 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20607 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20608 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20609 echo $ECHO_N "(cached) $ECHO_C" >&6
20611 cat >conftest.$ac_ext <<_ACEOF
20614 cat confdefs.h >>conftest.$ac_ext
20615 cat >>conftest.$ac_ext <<_ACEOF
20616 /* end confdefs.h. */
20617 #include <sys/types.h>
20618 #ifdef HAVE_SYS_PARAM_H
20619 # include <sys/param.h>
20621 #ifdef HAVE_SYS_MOUNT_H
20622 # include <sys/mount.h>
20624 #ifdef HAVE_SYS_VFS_H
20625 # include <sys/vfs.h>
20627 #ifdef HAVE_SYS_STATFS_H
20628 # include <sys/statfs.h>
20634 static struct statfs ac_aggr;
20635 if (ac_aggr.f_frsize)
20641 rm -f conftest.$ac_objext
20642 if { (ac_try="$ac_compile"
20643 case "(($ac_try" in
20644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20645 *) ac_try_echo=$ac_try;;
20647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20648 (eval "$ac_compile") 2>conftest.er1
20650 grep -v '^ *+' conftest.er1 >conftest.err
20652 cat conftest.err >&5
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); } &&
20655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20656 { (case "(($ac_try" in
20657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20658 *) ac_try_echo=$ac_try;;
20660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20661 (eval "$ac_try") 2>&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); }; } &&
20665 { ac_try='test -s conftest.$ac_objext'
20666 { (case "(($ac_try" in
20667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20668 *) ac_try_echo=$ac_try;;
20670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20671 (eval "$ac_try") 2>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; }; then
20675 ac_cv_member_struct_statfs_f_frsize=yes
20677 echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20680 cat >conftest.$ac_ext <<_ACEOF
20683 cat confdefs.h >>conftest.$ac_ext
20684 cat >>conftest.$ac_ext <<_ACEOF
20685 /* end confdefs.h. */
20686 #include <sys/types.h>
20687 #ifdef HAVE_SYS_PARAM_H
20688 # include <sys/param.h>
20690 #ifdef HAVE_SYS_MOUNT_H
20691 # include <sys/mount.h>
20693 #ifdef HAVE_SYS_VFS_H
20694 # include <sys/vfs.h>
20696 #ifdef HAVE_SYS_STATFS_H
20697 # include <sys/statfs.h>
20703 static struct statfs ac_aggr;
20704 if (sizeof ac_aggr.f_frsize)
20710 rm -f conftest.$ac_objext
20711 if { (ac_try="$ac_compile"
20712 case "(($ac_try" in
20713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20714 *) ac_try_echo=$ac_try;;
20716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20717 (eval "$ac_compile") 2>conftest.er1
20719 grep -v '^ *+' conftest.er1 >conftest.err
20721 cat conftest.err >&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); } &&
20724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20725 { (case "(($ac_try" in
20726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20727 *) ac_try_echo=$ac_try;;
20729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20730 (eval "$ac_try") 2>&5
20732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); }; } &&
20734 { ac_try='test -s conftest.$ac_objext'
20735 { (case "(($ac_try" in
20736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20737 *) ac_try_echo=$ac_try;;
20739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20740 (eval "$ac_try") 2>&5
20742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20743 (exit $ac_status); }; }; then
20744 ac_cv_member_struct_statfs_f_frsize=yes
20746 echo "$as_me: failed program was:" >&5
20747 sed 's/^/| /' conftest.$ac_ext >&5
20749 ac_cv_member_struct_statfs_f_frsize=no
20752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20757 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
20758 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
20759 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
20761 cat >>confdefs.h <<_ACEOF
20762 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
20767 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
20768 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
20769 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
20770 echo $ECHO_N "(cached) $ECHO_C" >&6
20772 cat >conftest.$ac_ext <<_ACEOF
20775 cat confdefs.h >>conftest.$ac_ext
20776 cat >>conftest.$ac_ext <<_ACEOF
20777 /* end confdefs.h. */
20778 #include <sys/types.h>
20779 #ifdef HAVE_SYS_PARAM_H
20780 # include <sys/param.h>
20782 #ifdef HAVE_SYS_MOUNT_H
20783 # include <sys/mount.h>
20785 #ifdef HAVE_SYS_VFS_H
20786 # include <sys/vfs.h>
20788 #ifdef HAVE_SYS_STATFS_H
20789 # include <sys/statfs.h>
20795 static struct statfs ac_aggr;
20796 if (ac_aggr.f_ffree)
20802 rm -f conftest.$ac_objext
20803 if { (ac_try="$ac_compile"
20804 case "(($ac_try" in
20805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20806 *) ac_try_echo=$ac_try;;
20808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20809 (eval "$ac_compile") 2>conftest.er1
20811 grep -v '^ *+' conftest.er1 >conftest.err
20813 cat conftest.err >&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } &&
20816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20817 { (case "(($ac_try" in
20818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20819 *) ac_try_echo=$ac_try;;
20821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20822 (eval "$ac_try") 2>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; } &&
20826 { ac_try='test -s conftest.$ac_objext'
20827 { (case "(($ac_try" in
20828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20829 *) ac_try_echo=$ac_try;;
20831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20832 (eval "$ac_try") 2>&5
20834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835 (exit $ac_status); }; }; then
20836 ac_cv_member_struct_statfs_f_ffree=yes
20838 echo "$as_me: failed program was:" >&5
20839 sed 's/^/| /' conftest.$ac_ext >&5
20841 cat >conftest.$ac_ext <<_ACEOF
20844 cat confdefs.h >>conftest.$ac_ext
20845 cat >>conftest.$ac_ext <<_ACEOF
20846 /* end confdefs.h. */
20847 #include <sys/types.h>
20848 #ifdef HAVE_SYS_PARAM_H
20849 # include <sys/param.h>
20851 #ifdef HAVE_SYS_MOUNT_H
20852 # include <sys/mount.h>
20854 #ifdef HAVE_SYS_VFS_H
20855 # include <sys/vfs.h>
20857 #ifdef HAVE_SYS_STATFS_H
20858 # include <sys/statfs.h>
20864 static struct statfs ac_aggr;
20865 if (sizeof ac_aggr.f_ffree)
20871 rm -f conftest.$ac_objext
20872 if { (ac_try="$ac_compile"
20873 case "(($ac_try" in
20874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20875 *) ac_try_echo=$ac_try;;
20877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20878 (eval "$ac_compile") 2>conftest.er1
20880 grep -v '^ *+' conftest.er1 >conftest.err
20882 cat conftest.err >&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); } &&
20885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20886 { (case "(($ac_try" in
20887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20888 *) ac_try_echo=$ac_try;;
20890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20891 (eval "$ac_try") 2>&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); }; } &&
20895 { ac_try='test -s conftest.$ac_objext'
20896 { (case "(($ac_try" in
20897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20898 *) ac_try_echo=$ac_try;;
20900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20901 (eval "$ac_try") 2>&5
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; }; then
20905 ac_cv_member_struct_statfs_f_ffree=yes
20907 echo "$as_me: failed program was:" >&5
20908 sed 's/^/| /' conftest.$ac_ext >&5
20910 ac_cv_member_struct_statfs_f_ffree=no
20913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20918 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
20919 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
20920 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
20922 cat >>confdefs.h <<_ACEOF
20923 #define HAVE_STRUCT_STATFS_F_FFREE 1
20928 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
20929 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
20930 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
20931 echo $ECHO_N "(cached) $ECHO_C" >&6
20933 cat >conftest.$ac_ext <<_ACEOF
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939 #include <sys/types.h>
20940 #ifdef HAVE_SYS_PARAM_H
20941 # include <sys/param.h>
20943 #ifdef HAVE_SYS_MOUNT_H
20944 # include <sys/mount.h>
20946 #ifdef HAVE_SYS_VFS_H
20947 # include <sys/vfs.h>
20949 #ifdef HAVE_SYS_STATFS_H
20950 # include <sys/statfs.h>
20956 static struct statfs ac_aggr;
20957 if (ac_aggr.f_favail)
20963 rm -f conftest.$ac_objext
20964 if { (ac_try="$ac_compile"
20965 case "(($ac_try" in
20966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20967 *) ac_try_echo=$ac_try;;
20969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20970 (eval "$ac_compile") 2>conftest.er1
20972 grep -v '^ *+' conftest.er1 >conftest.err
20974 cat conftest.err >&5
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); } &&
20977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20978 { (case "(($ac_try" in
20979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20980 *) ac_try_echo=$ac_try;;
20982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20983 (eval "$ac_try") 2>&5
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); }; } &&
20987 { ac_try='test -s conftest.$ac_objext'
20988 { (case "(($ac_try" in
20989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20990 *) ac_try_echo=$ac_try;;
20992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20993 (eval "$ac_try") 2>&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); }; }; then
20997 ac_cv_member_struct_statfs_f_favail=yes
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.$ac_ext >&5
21002 cat >conftest.$ac_ext <<_ACEOF
21005 cat confdefs.h >>conftest.$ac_ext
21006 cat >>conftest.$ac_ext <<_ACEOF
21007 /* end confdefs.h. */
21008 #include <sys/types.h>
21009 #ifdef HAVE_SYS_PARAM_H
21010 # include <sys/param.h>
21012 #ifdef HAVE_SYS_MOUNT_H
21013 # include <sys/mount.h>
21015 #ifdef HAVE_SYS_VFS_H
21016 # include <sys/vfs.h>
21018 #ifdef HAVE_SYS_STATFS_H
21019 # include <sys/statfs.h>
21025 static struct statfs ac_aggr;
21026 if (sizeof ac_aggr.f_favail)
21032 rm -f conftest.$ac_objext
21033 if { (ac_try="$ac_compile"
21034 case "(($ac_try" in
21035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21036 *) ac_try_echo=$ac_try;;
21038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21039 (eval "$ac_compile") 2>conftest.er1
21041 grep -v '^ *+' conftest.er1 >conftest.err
21043 cat conftest.err >&5
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); } &&
21046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21047 { (case "(($ac_try" in
21048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21049 *) ac_try_echo=$ac_try;;
21051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21052 (eval "$ac_try") 2>&5
21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055 (exit $ac_status); }; } &&
21056 { ac_try='test -s conftest.$ac_objext'
21057 { (case "(($ac_try" in
21058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21059 *) ac_try_echo=$ac_try;;
21061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21062 (eval "$ac_try") 2>&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); }; }; then
21066 ac_cv_member_struct_statfs_f_favail=yes
21068 echo "$as_me: failed program was:" >&5
21069 sed 's/^/| /' conftest.$ac_ext >&5
21071 ac_cv_member_struct_statfs_f_favail=no
21074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21079 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21080 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21081 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21083 cat >>confdefs.h <<_ACEOF
21084 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21089 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21090 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21091 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21092 echo $ECHO_N "(cached) $ECHO_C" >&6
21094 cat >conftest.$ac_ext <<_ACEOF
21097 cat confdefs.h >>conftest.$ac_ext
21098 cat >>conftest.$ac_ext <<_ACEOF
21099 /* end confdefs.h. */
21100 #include <sys/types.h>
21101 #ifdef HAVE_SYS_PARAM_H
21102 # include <sys/param.h>
21104 #ifdef HAVE_SYS_MOUNT_H
21105 # include <sys/mount.h>
21107 #ifdef HAVE_SYS_VFS_H
21108 # include <sys/vfs.h>
21110 #ifdef HAVE_SYS_STATFS_H
21111 # include <sys/statfs.h>
21117 static struct statfs ac_aggr;
21118 if (ac_aggr.f_namelen)
21124 rm -f conftest.$ac_objext
21125 if { (ac_try="$ac_compile"
21126 case "(($ac_try" in
21127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21128 *) ac_try_echo=$ac_try;;
21130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21131 (eval "$ac_compile") 2>conftest.er1
21133 grep -v '^ *+' conftest.er1 >conftest.err
21135 cat conftest.err >&5
21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137 (exit $ac_status); } &&
21138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21139 { (case "(($ac_try" in
21140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21141 *) ac_try_echo=$ac_try;;
21143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21144 (eval "$ac_try") 2>&5
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); }; } &&
21148 { ac_try='test -s conftest.$ac_objext'
21149 { (case "(($ac_try" in
21150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21151 *) ac_try_echo=$ac_try;;
21153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21154 (eval "$ac_try") 2>&5
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); }; }; then
21158 ac_cv_member_struct_statfs_f_namelen=yes
21160 echo "$as_me: failed program was:" >&5
21161 sed 's/^/| /' conftest.$ac_ext >&5
21163 cat >conftest.$ac_ext <<_ACEOF
21166 cat confdefs.h >>conftest.$ac_ext
21167 cat >>conftest.$ac_ext <<_ACEOF
21168 /* end confdefs.h. */
21169 #include <sys/types.h>
21170 #ifdef HAVE_SYS_PARAM_H
21171 # include <sys/param.h>
21173 #ifdef HAVE_SYS_MOUNT_H
21174 # include <sys/mount.h>
21176 #ifdef HAVE_SYS_VFS_H
21177 # include <sys/vfs.h>
21179 #ifdef HAVE_SYS_STATFS_H
21180 # include <sys/statfs.h>
21186 static struct statfs ac_aggr;
21187 if (sizeof ac_aggr.f_namelen)
21193 rm -f conftest.$ac_objext
21194 if { (ac_try="$ac_compile"
21195 case "(($ac_try" in
21196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21197 *) ac_try_echo=$ac_try;;
21199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21200 (eval "$ac_compile") 2>conftest.er1
21202 grep -v '^ *+' conftest.er1 >conftest.err
21204 cat conftest.err >&5
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); } &&
21207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21208 { (case "(($ac_try" in
21209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21210 *) ac_try_echo=$ac_try;;
21212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21213 (eval "$ac_try") 2>&5
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); }; } &&
21217 { ac_try='test -s conftest.$ac_objext'
21218 { (case "(($ac_try" in
21219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21220 *) ac_try_echo=$ac_try;;
21222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21223 (eval "$ac_try") 2>&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); }; }; then
21227 ac_cv_member_struct_statfs_f_namelen=yes
21229 echo "$as_me: failed program was:" >&5
21230 sed 's/^/| /' conftest.$ac_ext >&5
21232 ac_cv_member_struct_statfs_f_namelen=no
21235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21240 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21241 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21242 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21244 cat >>confdefs.h <<_ACEOF
21245 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21252 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21253 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21254 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21255 echo $ECHO_N "(cached) $ECHO_C" >&6
21257 cat >conftest.$ac_ext <<_ACEOF
21260 cat confdefs.h >>conftest.$ac_ext
21261 cat >>conftest.$ac_ext <<_ACEOF
21262 /* end confdefs.h. */
21263 #ifdef HAVE_SYS_STATVFS_H
21264 #include <sys/statvfs.h>
21270 static struct statvfs ac_aggr;
21271 if (ac_aggr.f_blocks)
21277 rm -f conftest.$ac_objext
21278 if { (ac_try="$ac_compile"
21279 case "(($ac_try" in
21280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21281 *) ac_try_echo=$ac_try;;
21283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21284 (eval "$ac_compile") 2>conftest.er1
21286 grep -v '^ *+' conftest.er1 >conftest.err
21288 cat conftest.err >&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); } &&
21291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21292 { (case "(($ac_try" in
21293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21294 *) ac_try_echo=$ac_try;;
21296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21297 (eval "$ac_try") 2>&5
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); }; } &&
21301 { ac_try='test -s conftest.$ac_objext'
21302 { (case "(($ac_try" in
21303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21304 *) ac_try_echo=$ac_try;;
21306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21307 (eval "$ac_try") 2>&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); }; }; then
21311 ac_cv_member_struct_statvfs_f_blocks=yes
21313 echo "$as_me: failed program was:" >&5
21314 sed 's/^/| /' conftest.$ac_ext >&5
21316 cat >conftest.$ac_ext <<_ACEOF
21319 cat confdefs.h >>conftest.$ac_ext
21320 cat >>conftest.$ac_ext <<_ACEOF
21321 /* end confdefs.h. */
21322 #ifdef HAVE_SYS_STATVFS_H
21323 #include <sys/statvfs.h>
21329 static struct statvfs ac_aggr;
21330 if (sizeof ac_aggr.f_blocks)
21336 rm -f conftest.$ac_objext
21337 if { (ac_try="$ac_compile"
21338 case "(($ac_try" in
21339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21340 *) ac_try_echo=$ac_try;;
21342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21343 (eval "$ac_compile") 2>conftest.er1
21345 grep -v '^ *+' conftest.er1 >conftest.err
21347 cat conftest.err >&5
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); } &&
21350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21351 { (case "(($ac_try" in
21352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21353 *) ac_try_echo=$ac_try;;
21355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21356 (eval "$ac_try") 2>&5
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); }; } &&
21360 { ac_try='test -s conftest.$ac_objext'
21361 { (case "(($ac_try" in
21362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21363 *) ac_try_echo=$ac_try;;
21365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21366 (eval "$ac_try") 2>&5
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; }; then
21370 ac_cv_member_struct_statvfs_f_blocks=yes
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.$ac_ext >&5
21375 ac_cv_member_struct_statvfs_f_blocks=no
21378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21383 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21384 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21385 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21387 cat >>confdefs.h <<_ACEOF
21388 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21395 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21396 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21397 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21398 echo $ECHO_N "(cached) $ECHO_C" >&6
21400 cat >conftest.$ac_ext <<_ACEOF
21403 cat confdefs.h >>conftest.$ac_ext
21404 cat >>conftest.$ac_ext <<_ACEOF
21405 /* end confdefs.h. */
21406 #include <sys/types.h>
21407 #ifdef HAVE_SYS_SOCKET_H
21408 # include <sys/socket.h>
21410 #ifdef HAVE_SYS_UN_H
21411 # include <sys/un.h>
21417 static struct msghdr ac_aggr;
21418 if (ac_aggr.msg_accrights)
21424 rm -f conftest.$ac_objext
21425 if { (ac_try="$ac_compile"
21426 case "(($ac_try" in
21427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21428 *) ac_try_echo=$ac_try;;
21430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21431 (eval "$ac_compile") 2>conftest.er1
21433 grep -v '^ *+' conftest.er1 >conftest.err
21435 cat conftest.err >&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } &&
21438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21439 { (case "(($ac_try" in
21440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21441 *) ac_try_echo=$ac_try;;
21443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21444 (eval "$ac_try") 2>&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); }; } &&
21448 { ac_try='test -s conftest.$ac_objext'
21449 { (case "(($ac_try" in
21450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21451 *) ac_try_echo=$ac_try;;
21453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21454 (eval "$ac_try") 2>&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); }; }; then
21458 ac_cv_member_struct_msghdr_msg_accrights=yes
21460 echo "$as_me: failed program was:" >&5
21461 sed 's/^/| /' conftest.$ac_ext >&5
21463 cat >conftest.$ac_ext <<_ACEOF
21466 cat confdefs.h >>conftest.$ac_ext
21467 cat >>conftest.$ac_ext <<_ACEOF
21468 /* end confdefs.h. */
21469 #include <sys/types.h>
21470 #ifdef HAVE_SYS_SOCKET_H
21471 # include <sys/socket.h>
21473 #ifdef HAVE_SYS_UN_H
21474 # include <sys/un.h>
21480 static struct msghdr ac_aggr;
21481 if (sizeof ac_aggr.msg_accrights)
21487 rm -f conftest.$ac_objext
21488 if { (ac_try="$ac_compile"
21489 case "(($ac_try" in
21490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21491 *) ac_try_echo=$ac_try;;
21493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21494 (eval "$ac_compile") 2>conftest.er1
21496 grep -v '^ *+' conftest.er1 >conftest.err
21498 cat conftest.err >&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); } &&
21501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21502 { (case "(($ac_try" in
21503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21504 *) ac_try_echo=$ac_try;;
21506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21507 (eval "$ac_try") 2>&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; } &&
21511 { ac_try='test -s conftest.$ac_objext'
21512 { (case "(($ac_try" in
21513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21514 *) ac_try_echo=$ac_try;;
21516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21517 (eval "$ac_try") 2>&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); }; }; then
21521 ac_cv_member_struct_msghdr_msg_accrights=yes
21523 echo "$as_me: failed program was:" >&5
21524 sed 's/^/| /' conftest.$ac_ext >&5
21526 ac_cv_member_struct_msghdr_msg_accrights=no
21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21534 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21535 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21536 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21538 cat >>confdefs.h <<_ACEOF
21539 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21544 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21545 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21546 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21547 echo $ECHO_N "(cached) $ECHO_C" >&6
21549 cat >conftest.$ac_ext <<_ACEOF
21552 cat confdefs.h >>conftest.$ac_ext
21553 cat >>conftest.$ac_ext <<_ACEOF
21554 /* end confdefs.h. */
21555 #include <sys/types.h>
21556 #ifdef HAVE_SYS_SOCKET_H
21557 # include <sys/socket.h>
21559 #ifdef HAVE_SYS_UN_H
21560 # include <sys/un.h>
21566 static struct sockaddr ac_aggr;
21567 if (ac_aggr.sa_len)
21573 rm -f conftest.$ac_objext
21574 if { (ac_try="$ac_compile"
21575 case "(($ac_try" in
21576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21577 *) ac_try_echo=$ac_try;;
21579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21580 (eval "$ac_compile") 2>conftest.er1
21582 grep -v '^ *+' conftest.er1 >conftest.err
21584 cat conftest.err >&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); } &&
21587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21588 { (case "(($ac_try" in
21589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21590 *) ac_try_echo=$ac_try;;
21592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21593 (eval "$ac_try") 2>&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); }; } &&
21597 { ac_try='test -s conftest.$ac_objext'
21598 { (case "(($ac_try" in
21599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21600 *) ac_try_echo=$ac_try;;
21602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21603 (eval "$ac_try") 2>&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); }; }; then
21607 ac_cv_member_struct_sockaddr_sa_len=yes
21609 echo "$as_me: failed program was:" >&5
21610 sed 's/^/| /' conftest.$ac_ext >&5
21612 cat >conftest.$ac_ext <<_ACEOF
21615 cat confdefs.h >>conftest.$ac_ext
21616 cat >>conftest.$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21618 #include <sys/types.h>
21619 #ifdef HAVE_SYS_SOCKET_H
21620 # include <sys/socket.h>
21622 #ifdef HAVE_SYS_UN_H
21623 # include <sys/un.h>
21629 static struct sockaddr ac_aggr;
21630 if (sizeof ac_aggr.sa_len)
21636 rm -f conftest.$ac_objext
21637 if { (ac_try="$ac_compile"
21638 case "(($ac_try" in
21639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21640 *) ac_try_echo=$ac_try;;
21642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21643 (eval "$ac_compile") 2>conftest.er1
21645 grep -v '^ *+' conftest.er1 >conftest.err
21647 cat conftest.err >&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); } &&
21650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21651 { (case "(($ac_try" in
21652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21653 *) ac_try_echo=$ac_try;;
21655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21656 (eval "$ac_try") 2>&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; } &&
21660 { ac_try='test -s conftest.$ac_objext'
21661 { (case "(($ac_try" in
21662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21663 *) ac_try_echo=$ac_try;;
21665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21666 (eval "$ac_try") 2>&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); }; }; then
21670 ac_cv_member_struct_sockaddr_sa_len=yes
21672 echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.$ac_ext >&5
21675 ac_cv_member_struct_sockaddr_sa_len=no
21678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21683 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21684 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21685 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21687 cat >>confdefs.h <<_ACEOF
21688 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21693 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21694 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21695 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21696 echo $ECHO_N "(cached) $ECHO_C" >&6
21698 cat >conftest.$ac_ext <<_ACEOF
21701 cat confdefs.h >>conftest.$ac_ext
21702 cat >>conftest.$ac_ext <<_ACEOF
21703 /* end confdefs.h. */
21704 #include <sys/types.h>
21705 #ifdef HAVE_SYS_SOCKET_H
21706 # include <sys/socket.h>
21708 #ifdef HAVE_SYS_UN_H
21709 # include <sys/un.h>
21715 static struct sockaddr_un ac_aggr;
21716 if (ac_aggr.sun_len)
21722 rm -f conftest.$ac_objext
21723 if { (ac_try="$ac_compile"
21724 case "(($ac_try" in
21725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21726 *) ac_try_echo=$ac_try;;
21728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21729 (eval "$ac_compile") 2>conftest.er1
21731 grep -v '^ *+' conftest.er1 >conftest.err
21733 cat conftest.err >&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } &&
21736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21737 { (case "(($ac_try" in
21738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21739 *) ac_try_echo=$ac_try;;
21741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21742 (eval "$ac_try") 2>&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); }; } &&
21746 { ac_try='test -s conftest.$ac_objext'
21747 { (case "(($ac_try" in
21748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21749 *) ac_try_echo=$ac_try;;
21751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21752 (eval "$ac_try") 2>&5
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); }; }; then
21756 ac_cv_member_struct_sockaddr_un_sun_len=yes
21758 echo "$as_me: failed program was:" >&5
21759 sed 's/^/| /' conftest.$ac_ext >&5
21761 cat >conftest.$ac_ext <<_ACEOF
21764 cat confdefs.h >>conftest.$ac_ext
21765 cat >>conftest.$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 #include <sys/types.h>
21768 #ifdef HAVE_SYS_SOCKET_H
21769 # include <sys/socket.h>
21771 #ifdef HAVE_SYS_UN_H
21772 # include <sys/un.h>
21778 static struct sockaddr_un ac_aggr;
21779 if (sizeof ac_aggr.sun_len)
21785 rm -f conftest.$ac_objext
21786 if { (ac_try="$ac_compile"
21787 case "(($ac_try" in
21788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21789 *) ac_try_echo=$ac_try;;
21791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21792 (eval "$ac_compile") 2>conftest.er1
21794 grep -v '^ *+' conftest.er1 >conftest.err
21796 cat conftest.err >&5
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); } &&
21799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21800 { (case "(($ac_try" in
21801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21802 *) ac_try_echo=$ac_try;;
21804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21805 (eval "$ac_try") 2>&5
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); }; } &&
21809 { ac_try='test -s conftest.$ac_objext'
21810 { (case "(($ac_try" in
21811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21812 *) ac_try_echo=$ac_try;;
21814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21815 (eval "$ac_try") 2>&5
21817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818 (exit $ac_status); }; }; then
21819 ac_cv_member_struct_sockaddr_un_sun_len=yes
21821 echo "$as_me: failed program was:" >&5
21822 sed 's/^/| /' conftest.$ac_ext >&5
21824 ac_cv_member_struct_sockaddr_un_sun_len=no
21827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21832 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
21833 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
21834 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
21836 cat >>confdefs.h <<_ACEOF
21837 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
21844 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
21845 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
21846 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
21847 echo $ECHO_N "(cached) $ECHO_C" >&6
21849 cat >conftest.$ac_ext <<_ACEOF
21852 cat confdefs.h >>conftest.$ac_ext
21853 cat >>conftest.$ac_ext <<_ACEOF
21854 /* end confdefs.h. */
21855 #include <sys/types.h>
21856 #ifdef HAVE_SCSI_SG_H
21857 #include <scsi/sg.h>
21863 static scsireq_t ac_aggr;
21870 rm -f conftest.$ac_objext
21871 if { (ac_try="$ac_compile"
21872 case "(($ac_try" in
21873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21874 *) ac_try_echo=$ac_try;;
21876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21877 (eval "$ac_compile") 2>conftest.er1
21879 grep -v '^ *+' conftest.er1 >conftest.err
21881 cat conftest.err >&5
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); } &&
21884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21885 { (case "(($ac_try" in
21886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21887 *) ac_try_echo=$ac_try;;
21889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21890 (eval "$ac_try") 2>&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); }; } &&
21894 { ac_try='test -s conftest.$ac_objext'
21895 { (case "(($ac_try" in
21896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21897 *) ac_try_echo=$ac_try;;
21899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21900 (eval "$ac_try") 2>&5
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); }; }; then
21904 ac_cv_member_scsireq_t_cmd=yes
21906 echo "$as_me: failed program was:" >&5
21907 sed 's/^/| /' conftest.$ac_ext >&5
21909 cat >conftest.$ac_ext <<_ACEOF
21912 cat confdefs.h >>conftest.$ac_ext
21913 cat >>conftest.$ac_ext <<_ACEOF
21914 /* end confdefs.h. */
21915 #include <sys/types.h>
21916 #ifdef HAVE_SCSI_SG_H
21917 #include <scsi/sg.h>
21923 static scsireq_t ac_aggr;
21924 if (sizeof ac_aggr.cmd)
21930 rm -f conftest.$ac_objext
21931 if { (ac_try="$ac_compile"
21932 case "(($ac_try" in
21933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21934 *) ac_try_echo=$ac_try;;
21936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21937 (eval "$ac_compile") 2>conftest.er1
21939 grep -v '^ *+' conftest.er1 >conftest.err
21941 cat conftest.err >&5
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); } &&
21944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21945 { (case "(($ac_try" in
21946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21947 *) ac_try_echo=$ac_try;;
21949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21950 (eval "$ac_try") 2>&5
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); }; } &&
21954 { ac_try='test -s conftest.$ac_objext'
21955 { (case "(($ac_try" in
21956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21957 *) ac_try_echo=$ac_try;;
21959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21960 (eval "$ac_try") 2>&5
21962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21963 (exit $ac_status); }; }; then
21964 ac_cv_member_scsireq_t_cmd=yes
21966 echo "$as_me: failed program was:" >&5
21967 sed 's/^/| /' conftest.$ac_ext >&5
21969 ac_cv_member_scsireq_t_cmd=no
21972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21977 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
21978 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
21979 if test $ac_cv_member_scsireq_t_cmd = yes; then
21981 cat >>confdefs.h <<_ACEOF
21982 #define HAVE_SCSIREQ_T_CMD 1
21987 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
21988 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
21989 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
21990 echo $ECHO_N "(cached) $ECHO_C" >&6
21992 cat >conftest.$ac_ext <<_ACEOF
21995 cat confdefs.h >>conftest.$ac_ext
21996 cat >>conftest.$ac_ext <<_ACEOF
21997 /* end confdefs.h. */
21998 #include <sys/types.h>
21999 #ifdef HAVE_SCSI_SG_H
22000 #include <scsi/sg.h>
22006 static sg_io_hdr_t ac_aggr;
22007 if (ac_aggr.interface_id)
22013 rm -f conftest.$ac_objext
22014 if { (ac_try="$ac_compile"
22015 case "(($ac_try" in
22016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22017 *) ac_try_echo=$ac_try;;
22019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22020 (eval "$ac_compile") 2>conftest.er1
22022 grep -v '^ *+' conftest.er1 >conftest.err
22024 cat conftest.err >&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); } &&
22027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22028 { (case "(($ac_try" in
22029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22030 *) ac_try_echo=$ac_try;;
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_try") 2>&5
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); }; } &&
22037 { ac_try='test -s conftest.$ac_objext'
22038 { (case "(($ac_try" in
22039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22040 *) ac_try_echo=$ac_try;;
22042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22043 (eval "$ac_try") 2>&5
22045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22046 (exit $ac_status); }; }; then
22047 ac_cv_member_sg_io_hdr_t_interface_id=yes
22049 echo "$as_me: failed program was:" >&5
22050 sed 's/^/| /' conftest.$ac_ext >&5
22052 cat >conftest.$ac_ext <<_ACEOF
22055 cat confdefs.h >>conftest.$ac_ext
22056 cat >>conftest.$ac_ext <<_ACEOF
22057 /* end confdefs.h. */
22058 #include <sys/types.h>
22059 #ifdef HAVE_SCSI_SG_H
22060 #include <scsi/sg.h>
22066 static sg_io_hdr_t ac_aggr;
22067 if (sizeof ac_aggr.interface_id)
22073 rm -f conftest.$ac_objext
22074 if { (ac_try="$ac_compile"
22075 case "(($ac_try" in
22076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22077 *) ac_try_echo=$ac_try;;
22079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22080 (eval "$ac_compile") 2>conftest.er1
22082 grep -v '^ *+' conftest.er1 >conftest.err
22084 cat conftest.err >&5
22085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22086 (exit $ac_status); } &&
22087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22088 { (case "(($ac_try" in
22089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22090 *) ac_try_echo=$ac_try;;
22092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22093 (eval "$ac_try") 2>&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); }; } &&
22097 { ac_try='test -s conftest.$ac_objext'
22098 { (case "(($ac_try" in
22099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22100 *) ac_try_echo=$ac_try;;
22102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22103 (eval "$ac_try") 2>&5
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); }; }; then
22107 ac_cv_member_sg_io_hdr_t_interface_id=yes
22109 echo "$as_me: failed program was:" >&5
22110 sed 's/^/| /' conftest.$ac_ext >&5
22112 ac_cv_member_sg_io_hdr_t_interface_id=no
22115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22120 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22121 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22122 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22124 cat >>confdefs.h <<_ACEOF
22125 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22132 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22133 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22134 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22135 echo $ECHO_N "(cached) $ECHO_C" >&6
22137 cat >conftest.$ac_ext <<_ACEOF
22140 cat confdefs.h >>conftest.$ac_ext
22141 cat >>conftest.$ac_ext <<_ACEOF
22142 /* end confdefs.h. */
22143 #include <signal.h>
22148 static siginfo_t ac_aggr;
22155 rm -f conftest.$ac_objext
22156 if { (ac_try="$ac_compile"
22157 case "(($ac_try" in
22158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22159 *) ac_try_echo=$ac_try;;
22161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22162 (eval "$ac_compile") 2>conftest.er1
22164 grep -v '^ *+' conftest.er1 >conftest.err
22166 cat conftest.err >&5
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); } &&
22169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22170 { (case "(($ac_try" in
22171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22172 *) ac_try_echo=$ac_try;;
22174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22175 (eval "$ac_try") 2>&5
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); }; } &&
22179 { ac_try='test -s conftest.$ac_objext'
22180 { (case "(($ac_try" in
22181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22182 *) ac_try_echo=$ac_try;;
22184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22185 (eval "$ac_try") 2>&5
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); }; }; then
22189 ac_cv_member_siginfo_t_si_fd=yes
22191 echo "$as_me: failed program was:" >&5
22192 sed 's/^/| /' conftest.$ac_ext >&5
22194 cat >conftest.$ac_ext <<_ACEOF
22197 cat confdefs.h >>conftest.$ac_ext
22198 cat >>conftest.$ac_ext <<_ACEOF
22199 /* end confdefs.h. */
22200 #include <signal.h>
22205 static siginfo_t ac_aggr;
22206 if (sizeof ac_aggr.si_fd)
22212 rm -f conftest.$ac_objext
22213 if { (ac_try="$ac_compile"
22214 case "(($ac_try" in
22215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22216 *) ac_try_echo=$ac_try;;
22218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22219 (eval "$ac_compile") 2>conftest.er1
22221 grep -v '^ *+' conftest.er1 >conftest.err
22223 cat conftest.err >&5
22224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225 (exit $ac_status); } &&
22226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22227 { (case "(($ac_try" in
22228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22229 *) ac_try_echo=$ac_try;;
22231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22232 (eval "$ac_try") 2>&5
22234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22235 (exit $ac_status); }; } &&
22236 { ac_try='test -s conftest.$ac_objext'
22237 { (case "(($ac_try" in
22238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22239 *) ac_try_echo=$ac_try;;
22241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22242 (eval "$ac_try") 2>&5
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; }; then
22246 ac_cv_member_siginfo_t_si_fd=yes
22248 echo "$as_me: failed program was:" >&5
22249 sed 's/^/| /' conftest.$ac_ext >&5
22251 ac_cv_member_siginfo_t_si_fd=no
22254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22259 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22260 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22261 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22263 cat >>confdefs.h <<_ACEOF
22264 #define HAVE_SIGINFO_T_SI_FD 1
22271 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22272 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22273 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22274 echo $ECHO_N "(cached) $ECHO_C" >&6
22276 cat >conftest.$ac_ext <<_ACEOF
22279 cat confdefs.h >>conftest.$ac_ext
22280 cat >>conftest.$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22282 #include <sys/types.h>
22283 #ifdef HAVE_SYS_MTIO_H
22284 #include <sys/mtio.h>
22290 static struct mtget ac_aggr;
22291 if (ac_aggr.mt_blksiz)
22297 rm -f conftest.$ac_objext
22298 if { (ac_try="$ac_compile"
22299 case "(($ac_try" in
22300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22301 *) ac_try_echo=$ac_try;;
22303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22304 (eval "$ac_compile") 2>conftest.er1
22306 grep -v '^ *+' conftest.er1 >conftest.err
22308 cat conftest.err >&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); } &&
22311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22312 { (case "(($ac_try" in
22313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22314 *) ac_try_echo=$ac_try;;
22316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22317 (eval "$ac_try") 2>&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); }; } &&
22321 { ac_try='test -s conftest.$ac_objext'
22322 { (case "(($ac_try" in
22323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22324 *) ac_try_echo=$ac_try;;
22326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22327 (eval "$ac_try") 2>&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); }; }; then
22331 ac_cv_member_struct_mtget_mt_blksiz=yes
22333 echo "$as_me: failed program was:" >&5
22334 sed 's/^/| /' conftest.$ac_ext >&5
22336 cat >conftest.$ac_ext <<_ACEOF
22339 cat confdefs.h >>conftest.$ac_ext
22340 cat >>conftest.$ac_ext <<_ACEOF
22341 /* end confdefs.h. */
22342 #include <sys/types.h>
22343 #ifdef HAVE_SYS_MTIO_H
22344 #include <sys/mtio.h>
22350 static struct mtget ac_aggr;
22351 if (sizeof ac_aggr.mt_blksiz)
22357 rm -f conftest.$ac_objext
22358 if { (ac_try="$ac_compile"
22359 case "(($ac_try" in
22360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22361 *) ac_try_echo=$ac_try;;
22363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22364 (eval "$ac_compile") 2>conftest.er1
22366 grep -v '^ *+' conftest.er1 >conftest.err
22368 cat conftest.err >&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); } &&
22371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22372 { (case "(($ac_try" in
22373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22374 *) ac_try_echo=$ac_try;;
22376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22377 (eval "$ac_try") 2>&5
22379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22380 (exit $ac_status); }; } &&
22381 { ac_try='test -s conftest.$ac_objext'
22382 { (case "(($ac_try" in
22383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22384 *) ac_try_echo=$ac_try;;
22386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22387 (eval "$ac_try") 2>&5
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); }; }; then
22391 ac_cv_member_struct_mtget_mt_blksiz=yes
22393 echo "$as_me: failed program was:" >&5
22394 sed 's/^/| /' conftest.$ac_ext >&5
22396 ac_cv_member_struct_mtget_mt_blksiz=no
22399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22404 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22405 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22406 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22408 cat >>confdefs.h <<_ACEOF
22409 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22414 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22415 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22416 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22417 echo $ECHO_N "(cached) $ECHO_C" >&6
22419 cat >conftest.$ac_ext <<_ACEOF
22422 cat confdefs.h >>conftest.$ac_ext
22423 cat >>conftest.$ac_ext <<_ACEOF
22424 /* end confdefs.h. */
22425 #include <sys/types.h>
22426 #ifdef HAVE_SYS_MTIO_H
22427 #include <sys/mtio.h>
22433 static struct mtget ac_aggr;
22434 if (ac_aggr.mt_gstat)
22440 rm -f conftest.$ac_objext
22441 if { (ac_try="$ac_compile"
22442 case "(($ac_try" in
22443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22444 *) ac_try_echo=$ac_try;;
22446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_compile") 2>conftest.er1
22449 grep -v '^ *+' conftest.er1 >conftest.err
22451 cat conftest.err >&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } &&
22454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22455 { (case "(($ac_try" in
22456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22457 *) ac_try_echo=$ac_try;;
22459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22460 (eval "$ac_try") 2>&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); }; } &&
22464 { ac_try='test -s conftest.$ac_objext'
22465 { (case "(($ac_try" in
22466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22467 *) ac_try_echo=$ac_try;;
22469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22470 (eval "$ac_try") 2>&5
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; }; then
22474 ac_cv_member_struct_mtget_mt_gstat=yes
22476 echo "$as_me: failed program was:" >&5
22477 sed 's/^/| /' conftest.$ac_ext >&5
22479 cat >conftest.$ac_ext <<_ACEOF
22482 cat confdefs.h >>conftest.$ac_ext
22483 cat >>conftest.$ac_ext <<_ACEOF
22484 /* end confdefs.h. */
22485 #include <sys/types.h>
22486 #ifdef HAVE_SYS_MTIO_H
22487 #include <sys/mtio.h>
22493 static struct mtget ac_aggr;
22494 if (sizeof ac_aggr.mt_gstat)
22500 rm -f conftest.$ac_objext
22501 if { (ac_try="$ac_compile"
22502 case "(($ac_try" in
22503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22504 *) ac_try_echo=$ac_try;;
22506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22507 (eval "$ac_compile") 2>conftest.er1
22509 grep -v '^ *+' conftest.er1 >conftest.err
22511 cat conftest.err >&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); } &&
22514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22515 { (case "(($ac_try" in
22516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22517 *) ac_try_echo=$ac_try;;
22519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22520 (eval "$ac_try") 2>&5
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); }; } &&
22524 { ac_try='test -s conftest.$ac_objext'
22525 { (case "(($ac_try" in
22526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22527 *) ac_try_echo=$ac_try;;
22529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22530 (eval "$ac_try") 2>&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); }; }; then
22534 ac_cv_member_struct_mtget_mt_gstat=yes
22536 echo "$as_me: failed program was:" >&5
22537 sed 's/^/| /' conftest.$ac_ext >&5
22539 ac_cv_member_struct_mtget_mt_gstat=no
22542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22547 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22548 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22549 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22551 cat >>confdefs.h <<_ACEOF
22552 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22557 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22558 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22559 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22560 echo $ECHO_N "(cached) $ECHO_C" >&6
22562 cat >conftest.$ac_ext <<_ACEOF
22565 cat confdefs.h >>conftest.$ac_ext
22566 cat >>conftest.$ac_ext <<_ACEOF
22567 /* end confdefs.h. */
22568 #include <sys/types.h>
22569 #ifdef HAVE_SYS_MTIO_H
22570 #include <sys/mtio.h>
22576 static struct mtget ac_aggr;
22577 if (ac_aggr.mt_blkno)
22583 rm -f conftest.$ac_objext
22584 if { (ac_try="$ac_compile"
22585 case "(($ac_try" in
22586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22587 *) ac_try_echo=$ac_try;;
22589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22590 (eval "$ac_compile") 2>conftest.er1
22592 grep -v '^ *+' conftest.er1 >conftest.err
22594 cat conftest.err >&5
22595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596 (exit $ac_status); } &&
22597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22598 { (case "(($ac_try" in
22599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22600 *) ac_try_echo=$ac_try;;
22602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22603 (eval "$ac_try") 2>&5
22605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606 (exit $ac_status); }; } &&
22607 { ac_try='test -s conftest.$ac_objext'
22608 { (case "(($ac_try" in
22609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22610 *) ac_try_echo=$ac_try;;
22612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22613 (eval "$ac_try") 2>&5
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); }; }; then
22617 ac_cv_member_struct_mtget_mt_blkno=yes
22619 echo "$as_me: failed program was:" >&5
22620 sed 's/^/| /' conftest.$ac_ext >&5
22622 cat >conftest.$ac_ext <<_ACEOF
22625 cat confdefs.h >>conftest.$ac_ext
22626 cat >>conftest.$ac_ext <<_ACEOF
22627 /* end confdefs.h. */
22628 #include <sys/types.h>
22629 #ifdef HAVE_SYS_MTIO_H
22630 #include <sys/mtio.h>
22636 static struct mtget ac_aggr;
22637 if (sizeof ac_aggr.mt_blkno)
22643 rm -f conftest.$ac_objext
22644 if { (ac_try="$ac_compile"
22645 case "(($ac_try" in
22646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22647 *) ac_try_echo=$ac_try;;
22649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22650 (eval "$ac_compile") 2>conftest.er1
22652 grep -v '^ *+' conftest.er1 >conftest.err
22654 cat conftest.err >&5
22655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656 (exit $ac_status); } &&
22657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22658 { (case "(($ac_try" in
22659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22660 *) ac_try_echo=$ac_try;;
22662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22663 (eval "$ac_try") 2>&5
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); }; } &&
22667 { ac_try='test -s conftest.$ac_objext'
22668 { (case "(($ac_try" in
22669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22670 *) ac_try_echo=$ac_try;;
22672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22673 (eval "$ac_try") 2>&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); }; }; then
22677 ac_cv_member_struct_mtget_mt_blkno=yes
22679 echo "$as_me: failed program was:" >&5
22680 sed 's/^/| /' conftest.$ac_ext >&5
22682 ac_cv_member_struct_mtget_mt_blkno=no
22685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22690 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22691 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22692 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22694 cat >>confdefs.h <<_ACEOF
22695 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22702 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22703 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22704 if test "${ac_cv_member_struct_option_name+set}" = set; then
22705 echo $ECHO_N "(cached) $ECHO_C" >&6
22707 cat >conftest.$ac_ext <<_ACEOF
22710 cat confdefs.h >>conftest.$ac_ext
22711 cat >>conftest.$ac_ext <<_ACEOF
22712 /* end confdefs.h. */
22713 #ifdef HAVE_GETOPT_H
22714 #include <getopt.h>
22720 static struct option ac_aggr;
22727 rm -f conftest.$ac_objext
22728 if { (ac_try="$ac_compile"
22729 case "(($ac_try" in
22730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22731 *) ac_try_echo=$ac_try;;
22733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22734 (eval "$ac_compile") 2>conftest.er1
22736 grep -v '^ *+' conftest.er1 >conftest.err
22738 cat conftest.err >&5
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); } &&
22741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22742 { (case "(($ac_try" in
22743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22744 *) ac_try_echo=$ac_try;;
22746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22747 (eval "$ac_try") 2>&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); }; } &&
22751 { ac_try='test -s conftest.$ac_objext'
22752 { (case "(($ac_try" in
22753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22754 *) ac_try_echo=$ac_try;;
22756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22757 (eval "$ac_try") 2>&5
22759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22760 (exit $ac_status); }; }; then
22761 ac_cv_member_struct_option_name=yes
22763 echo "$as_me: failed program was:" >&5
22764 sed 's/^/| /' conftest.$ac_ext >&5
22766 cat >conftest.$ac_ext <<_ACEOF
22769 cat confdefs.h >>conftest.$ac_ext
22770 cat >>conftest.$ac_ext <<_ACEOF
22771 /* end confdefs.h. */
22772 #ifdef HAVE_GETOPT_H
22773 #include <getopt.h>
22779 static struct option ac_aggr;
22780 if (sizeof ac_aggr.name)
22786 rm -f conftest.$ac_objext
22787 if { (ac_try="$ac_compile"
22788 case "(($ac_try" in
22789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22790 *) ac_try_echo=$ac_try;;
22792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22793 (eval "$ac_compile") 2>conftest.er1
22795 grep -v '^ *+' conftest.er1 >conftest.err
22797 cat conftest.err >&5
22798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799 (exit $ac_status); } &&
22800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22801 { (case "(($ac_try" in
22802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22803 *) ac_try_echo=$ac_try;;
22805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22806 (eval "$ac_try") 2>&5
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); }; } &&
22810 { ac_try='test -s conftest.$ac_objext'
22811 { (case "(($ac_try" in
22812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22813 *) ac_try_echo=$ac_try;;
22815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22816 (eval "$ac_try") 2>&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); }; }; then
22820 ac_cv_member_struct_option_name=yes
22822 echo "$as_me: failed program was:" >&5
22823 sed 's/^/| /' conftest.$ac_ext >&5
22825 ac_cv_member_struct_option_name=no
22828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22833 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
22834 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
22835 if test $ac_cv_member_struct_option_name = yes; then
22837 cat >>confdefs.h <<_ACEOF
22838 #define HAVE_STRUCT_OPTION_NAME 1
22845 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
22846 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
22847 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
22848 echo $ECHO_N "(cached) $ECHO_C" >&6
22850 cat >conftest.$ac_ext <<_ACEOF
22853 cat confdefs.h >>conftest.$ac_ext
22854 cat >>conftest.$ac_ext <<_ACEOF
22855 /* end confdefs.h. */
22856 $ac_includes_default
22860 static struct stat ac_aggr;
22861 if (ac_aggr.st_blocks)
22867 rm -f conftest.$ac_objext
22868 if { (ac_try="$ac_compile"
22869 case "(($ac_try" in
22870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22871 *) ac_try_echo=$ac_try;;
22873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22874 (eval "$ac_compile") 2>conftest.er1
22876 grep -v '^ *+' conftest.er1 >conftest.err
22878 cat conftest.err >&5
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); } &&
22881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22882 { (case "(($ac_try" in
22883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22884 *) ac_try_echo=$ac_try;;
22886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22887 (eval "$ac_try") 2>&5
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); }; } &&
22891 { ac_try='test -s conftest.$ac_objext'
22892 { (case "(($ac_try" in
22893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22894 *) ac_try_echo=$ac_try;;
22896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22897 (eval "$ac_try") 2>&5
22899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22900 (exit $ac_status); }; }; then
22901 ac_cv_member_struct_stat_st_blocks=yes
22903 echo "$as_me: failed program was:" >&5
22904 sed 's/^/| /' conftest.$ac_ext >&5
22906 cat >conftest.$ac_ext <<_ACEOF
22909 cat confdefs.h >>conftest.$ac_ext
22910 cat >>conftest.$ac_ext <<_ACEOF
22911 /* end confdefs.h. */
22912 $ac_includes_default
22916 static struct stat ac_aggr;
22917 if (sizeof ac_aggr.st_blocks)
22923 rm -f conftest.$ac_objext
22924 if { (ac_try="$ac_compile"
22925 case "(($ac_try" in
22926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22927 *) ac_try_echo=$ac_try;;
22929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22930 (eval "$ac_compile") 2>conftest.er1
22932 grep -v '^ *+' conftest.er1 >conftest.err
22934 cat conftest.err >&5
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); } &&
22937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22938 { (case "(($ac_try" in
22939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22940 *) ac_try_echo=$ac_try;;
22942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22943 (eval "$ac_try") 2>&5
22945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22946 (exit $ac_status); }; } &&
22947 { ac_try='test -s conftest.$ac_objext'
22948 { (case "(($ac_try" in
22949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22950 *) ac_try_echo=$ac_try;;
22952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22953 (eval "$ac_try") 2>&5
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956 (exit $ac_status); }; }; then
22957 ac_cv_member_struct_stat_st_blocks=yes
22959 echo "$as_me: failed program was:" >&5
22960 sed 's/^/| /' conftest.$ac_ext >&5
22962 ac_cv_member_struct_stat_st_blocks=no
22965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22970 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
22971 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
22972 if test $ac_cv_member_struct_stat_st_blocks = yes; then
22974 cat >>confdefs.h <<_ACEOF
22975 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
22982 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
22983 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
22984 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
22985 echo $ECHO_N "(cached) $ECHO_C" >&6
22987 cat >conftest.$ac_ext <<_ACEOF
22990 cat confdefs.h >>conftest.$ac_ext
22991 cat >>conftest.$ac_ext <<_ACEOF
22992 /* end confdefs.h. */
22993 #ifdef HAVE_SYS_TYPES_H
22994 #include <sys/types.h>
22996 #ifdef HAVE_NETINET_IN_H
22997 #include <netinet/in.h>
23003 static struct sockaddr_in6 ac_aggr;
23004 if (ac_aggr.sin6_scope_id)
23010 rm -f conftest.$ac_objext
23011 if { (ac_try="$ac_compile"
23012 case "(($ac_try" in
23013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23014 *) ac_try_echo=$ac_try;;
23016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23017 (eval "$ac_compile") 2>conftest.er1
23019 grep -v '^ *+' conftest.er1 >conftest.err
23021 cat conftest.err >&5
23022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23023 (exit $ac_status); } &&
23024 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23025 { (case "(($ac_try" in
23026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23027 *) ac_try_echo=$ac_try;;
23029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23030 (eval "$ac_try") 2>&5
23032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033 (exit $ac_status); }; } &&
23034 { ac_try='test -s conftest.$ac_objext'
23035 { (case "(($ac_try" in
23036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23037 *) ac_try_echo=$ac_try;;
23039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23040 (eval "$ac_try") 2>&5
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); }; }; then
23044 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23046 echo "$as_me: failed program was:" >&5
23047 sed 's/^/| /' conftest.$ac_ext >&5
23049 cat >conftest.$ac_ext <<_ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23055 #ifdef HAVE_SYS_TYPES_H
23056 #include <sys/types.h>
23058 #ifdef HAVE_NETINET_IN_H
23059 #include <netinet/in.h>
23065 static struct sockaddr_in6 ac_aggr;
23066 if (sizeof ac_aggr.sin6_scope_id)
23072 rm -f conftest.$ac_objext
23073 if { (ac_try="$ac_compile"
23074 case "(($ac_try" in
23075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23076 *) ac_try_echo=$ac_try;;
23078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23079 (eval "$ac_compile") 2>conftest.er1
23081 grep -v '^ *+' conftest.er1 >conftest.err
23083 cat conftest.err >&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); } &&
23086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23087 { (case "(($ac_try" in
23088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23089 *) ac_try_echo=$ac_try;;
23091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23092 (eval "$ac_try") 2>&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); }; } &&
23096 { ac_try='test -s conftest.$ac_objext'
23097 { (case "(($ac_try" in
23098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23099 *) ac_try_echo=$ac_try;;
23101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23102 (eval "$ac_try") 2>&5
23104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23105 (exit $ac_status); }; }; then
23106 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23108 echo "$as_me: failed program was:" >&5
23109 sed 's/^/| /' conftest.$ac_ext >&5
23111 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23119 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23120 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23121 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23123 cat >>confdefs.h <<_ACEOF
23124 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23131 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23132 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23133 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23134 echo $ECHO_N "(cached) $ECHO_C" >&6
23136 cat >conftest.$ac_ext <<_ACEOF
23139 cat confdefs.h >>conftest.$ac_ext
23140 cat >>conftest.$ac_ext <<_ACEOF
23141 /* end confdefs.h. */
23142 #ifdef HAVE_SYS_TYPES_H
23143 #include <sys/types.h>
23145 #ifdef HAVE_NETINET_IN_H
23146 # include <netinet/in.h>
23148 #ifdef HAVE_ARPA_NAMESER_H
23149 # include <arpa/nameser.h>
23155 static ns_msg ac_aggr;
23156 if (ac_aggr._msg_ptr)
23162 rm -f conftest.$ac_objext
23163 if { (ac_try="$ac_compile"
23164 case "(($ac_try" in
23165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23166 *) ac_try_echo=$ac_try;;
23168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23169 (eval "$ac_compile") 2>conftest.er1
23171 grep -v '^ *+' conftest.er1 >conftest.err
23173 cat conftest.err >&5
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); } &&
23176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23177 { (case "(($ac_try" in
23178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23179 *) ac_try_echo=$ac_try;;
23181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23182 (eval "$ac_try") 2>&5
23184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185 (exit $ac_status); }; } &&
23186 { ac_try='test -s conftest.$ac_objext'
23187 { (case "(($ac_try" in
23188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23189 *) ac_try_echo=$ac_try;;
23191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23192 (eval "$ac_try") 2>&5
23194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195 (exit $ac_status); }; }; then
23196 ac_cv_member_ns_msg__msg_ptr=yes
23198 echo "$as_me: failed program was:" >&5
23199 sed 's/^/| /' conftest.$ac_ext >&5
23201 cat >conftest.$ac_ext <<_ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23207 #ifdef HAVE_SYS_TYPES_H
23208 #include <sys/types.h>
23210 #ifdef HAVE_NETINET_IN_H
23211 # include <netinet/in.h>
23213 #ifdef HAVE_ARPA_NAMESER_H
23214 # include <arpa/nameser.h>
23220 static ns_msg ac_aggr;
23221 if (sizeof ac_aggr._msg_ptr)
23227 rm -f conftest.$ac_objext
23228 if { (ac_try="$ac_compile"
23229 case "(($ac_try" in
23230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23231 *) ac_try_echo=$ac_try;;
23233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23234 (eval "$ac_compile") 2>conftest.er1
23236 grep -v '^ *+' conftest.er1 >conftest.err
23238 cat conftest.err >&5
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); } &&
23241 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23242 { (case "(($ac_try" in
23243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23244 *) ac_try_echo=$ac_try;;
23246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23247 (eval "$ac_try") 2>&5
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); }; } &&
23251 { ac_try='test -s conftest.$ac_objext'
23252 { (case "(($ac_try" in
23253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23254 *) ac_try_echo=$ac_try;;
23256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23257 (eval "$ac_try") 2>&5
23259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260 (exit $ac_status); }; }; then
23261 ac_cv_member_ns_msg__msg_ptr=yes
23263 echo "$as_me: failed program was:" >&5
23264 sed 's/^/| /' conftest.$ac_ext >&5
23266 ac_cv_member_ns_msg__msg_ptr=no
23269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23274 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23275 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23276 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23278 cat >>confdefs.h <<_ACEOF
23279 #define HAVE_NS_MSG__MSG_PTR 1
23286 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23287 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23288 if test "${ac_cv_have_timezone+set}" = set; then
23289 echo $ECHO_N "(cached) $ECHO_C" >&6
23291 cat >conftest.$ac_ext <<_ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23306 rm -f conftest.$ac_objext conftest$ac_exeext
23307 if { (ac_try="$ac_link"
23308 case "(($ac_try" in
23309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23310 *) ac_try_echo=$ac_try;;
23312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23313 (eval "$ac_link") 2>conftest.er1
23315 grep -v '^ *+' conftest.er1 >conftest.err
23317 cat conftest.err >&5
23318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23319 (exit $ac_status); } &&
23320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23321 { (case "(($ac_try" in
23322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23323 *) ac_try_echo=$ac_try;;
23325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23326 (eval "$ac_try") 2>&5
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); }; } &&
23330 { ac_try='test -s conftest$ac_exeext'
23331 { (case "(($ac_try" in
23332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23333 *) ac_try_echo=$ac_try;;
23335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23336 (eval "$ac_try") 2>&5
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); }; }; then
23340 ac_cv_have_timezone="yes"
23342 echo "$as_me: failed program was:" >&5
23343 sed 's/^/| /' conftest.$ac_ext >&5
23345 ac_cv_have_timezone="no"
23348 rm -f core conftest.err conftest.$ac_objext \
23349 conftest$ac_exeext conftest.$ac_ext
23351 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23352 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23353 if test "$ac_cv_have_timezone" = "yes"
23356 cat >>confdefs.h <<\_ACEOF
23357 #define HAVE_TIMEZONE 1
23361 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23362 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23363 if test "${ac_cv_have_daylight+set}" = set; then
23364 echo $ECHO_N "(cached) $ECHO_C" >&6
23366 cat >conftest.$ac_ext <<_ACEOF
23369 cat confdefs.h >>conftest.$ac_ext
23370 cat >>conftest.$ac_ext <<_ACEOF
23371 /* end confdefs.h. */
23381 rm -f conftest.$ac_objext conftest$ac_exeext
23382 if { (ac_try="$ac_link"
23383 case "(($ac_try" in
23384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23385 *) ac_try_echo=$ac_try;;
23387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23388 (eval "$ac_link") 2>conftest.er1
23390 grep -v '^ *+' conftest.er1 >conftest.err
23392 cat conftest.err >&5
23393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23394 (exit $ac_status); } &&
23395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23396 { (case "(($ac_try" in
23397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23398 *) ac_try_echo=$ac_try;;
23400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23401 (eval "$ac_try") 2>&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); }; } &&
23405 { ac_try='test -s conftest$ac_exeext'
23406 { (case "(($ac_try" in
23407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23408 *) ac_try_echo=$ac_try;;
23410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23411 (eval "$ac_try") 2>&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); }; }; then
23415 ac_cv_have_daylight="yes"
23417 echo "$as_me: failed program was:" >&5
23418 sed 's/^/| /' conftest.$ac_ext >&5
23420 ac_cv_have_daylight="no"
23423 rm -f core conftest.err conftest.$ac_objext \
23424 conftest$ac_exeext conftest.$ac_ext
23426 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23427 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23428 if test "$ac_cv_have_daylight" = "yes"
23431 cat >>confdefs.h <<\_ACEOF
23432 #define HAVE_DAYLIGHT 1
23439 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23440 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23441 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23442 echo $ECHO_N "(cached) $ECHO_C" >&6
23444 cat >conftest.$ac_ext <<_ACEOF
23447 cat confdefs.h >>conftest.$ac_ext
23448 cat >>conftest.$ac_ext <<_ACEOF
23449 /* end confdefs.h. */
23454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23455 $EGREP "yes" >/dev/null 2>&1; then
23456 ac_cv_cpp_def___i386__=yes
23458 ac_cv_cpp_def___i386__=no
23463 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23464 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23465 if test $ac_cv_cpp_def___i386__ = yes; then
23466 CFLAGS="$CFLAGS -D__i386__"
23467 LINTFLAGS="$LINTFLAGS -D__i386__"
23470 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23471 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23472 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23473 echo $ECHO_N "(cached) $ECHO_C" >&6
23475 cat >conftest.$ac_ext <<_ACEOF
23478 cat confdefs.h >>conftest.$ac_ext
23479 cat >>conftest.$ac_ext <<_ACEOF
23480 /* end confdefs.h. */
23485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23486 $EGREP "yes" >/dev/null 2>&1; then
23487 ac_cv_cpp_def___x86_64__=yes
23489 ac_cv_cpp_def___x86_64__=no
23494 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23495 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23496 if test $ac_cv_cpp_def___x86_64__ = yes; then
23497 CFLAGS="$CFLAGS -D__x86_64__"
23498 LINTFLAGS="$LINTFLAGS -D__x86_64__"
23501 { echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
23502 echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
23503 if test "${ac_cv_cpp_def__WIN64+set}" = set; then
23504 echo $ECHO_N "(cached) $ECHO_C" >&6
23506 cat >conftest.$ac_ext <<_ACEOF
23509 cat confdefs.h >>conftest.$ac_ext
23510 cat >>conftest.$ac_ext <<_ACEOF
23511 /* end confdefs.h. */
23516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23517 $EGREP "yes" >/dev/null 2>&1; then
23518 ac_cv_cpp_def__WIN64=yes
23520 ac_cv_cpp_def__WIN64=no
23525 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
23526 echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
23527 if test $ac_cv_cpp_def__WIN64 = yes; then
23528 CFLAGS="$CFLAGS -D_WIN64"
23529 LINTFLAGS="$LINTFLAGS -D_WIN64"
23532 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23533 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23534 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23535 echo $ECHO_N "(cached) $ECHO_C" >&6
23537 cat >conftest.$ac_ext <<_ACEOF
23540 cat confdefs.h >>conftest.$ac_ext
23541 cat >>conftest.$ac_ext <<_ACEOF
23542 /* end confdefs.h. */
23547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23548 $EGREP "yes" >/dev/null 2>&1; then
23549 ac_cv_cpp_def___ALPHA__=yes
23551 ac_cv_cpp_def___ALPHA__=no
23556 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23557 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23558 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23559 CFLAGS="$CFLAGS -D__ALPHA__"
23560 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
23563 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23564 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23565 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23566 echo $ECHO_N "(cached) $ECHO_C" >&6
23568 cat >conftest.$ac_ext <<_ACEOF
23571 cat confdefs.h >>conftest.$ac_ext
23572 cat >>conftest.$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23579 $EGREP "yes" >/dev/null 2>&1; then
23580 ac_cv_cpp_def___sparc__=yes
23582 ac_cv_cpp_def___sparc__=no
23587 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23588 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23589 if test $ac_cv_cpp_def___sparc__ = yes; then
23590 CFLAGS="$CFLAGS -D__sparc__"
23591 LINTFLAGS="$LINTFLAGS -D__sparc__"
23594 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23595 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23596 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23597 echo $ECHO_N "(cached) $ECHO_C" >&6
23599 cat >conftest.$ac_ext <<_ACEOF
23602 cat confdefs.h >>conftest.$ac_ext
23603 cat >>conftest.$ac_ext <<_ACEOF
23604 /* end confdefs.h. */
23605 #ifndef __powerpc__
23609 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23610 $EGREP "yes" >/dev/null 2>&1; then
23611 ac_cv_cpp_def___powerpc__=yes
23613 ac_cv_cpp_def___powerpc__=no
23618 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23619 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23620 if test $ac_cv_cpp_def___powerpc__ = yes; then
23621 CFLAGS="$CFLAGS -D__powerpc__"
23622 LINTFLAGS="$LINTFLAGS -D__powerpc__"
23627 case $host_vendor in
23628 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23629 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23630 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23631 echo $ECHO_N "(cached) $ECHO_C" >&6
23633 cat >conftest.$ac_ext <<_ACEOF
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23644 $EGREP "yes" >/dev/null 2>&1; then
23645 ac_cv_cpp_def___sun__=yes
23647 ac_cv_cpp_def___sun__=no
23652 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23653 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23654 if test $ac_cv_cpp_def___sun__ = yes; then
23655 CFLAGS="$CFLAGS -D__sun__"
23656 LINTFLAGS="$LINTFLAGS -D__sun__"
23662 DEPENDENCIES="### Dependencies:
23667 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
23669 \$(ALL_OBJS): \$(IDL_SRCS:.idl=.h)
23670 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
23671 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
23677 ac_config_commands="$ac_config_commands include/stamp-h"
23680 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
23682 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
23684 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
23686 ac_config_commands="$ac_config_commands dlls/user/resources"
23688 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
23690 ac_config_commands="$ac_config_commands include/wine"
23693 MAKE_RULES=Make.rules
23696 MAKE_DLL_RULES=dlls/Makedll.rules
23699 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
23702 MAKE_TEST_RULES=dlls/Maketest.rules
23705 MAKE_PROG_RULES=programs/Makeprog.rules
23708 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/clusapi/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hid/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/infosoft/tests/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel32/Makefile dlls/kernel32/tests/Makefile dlls/localspl/Makefile dlls/localspl/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/nddeapi/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/pstorec/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/resutils/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/svrapi/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wintrust/tests/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmd/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
23711 cat >confcache <<\_ACEOF
23712 # This file is a shell script that caches the results of configure
23713 # tests run on this system so they can be shared between configure
23714 # scripts and configure runs, see configure's option --config-cache.
23715 # It is not useful on other systems. If it contains results you don't
23716 # want to keep, you may remove or edit it.
23718 # config.status only pays attention to the cache file if you give it
23719 # the --recheck option to rerun configure.
23721 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23722 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23723 # following values.
23727 # The following way of writing the cache mishandles newlines in values,
23728 # but we know of no workaround that is simple, portable, and efficient.
23729 # So, we kill variables containing newlines.
23730 # Ultrix sh set writes to stderr and can't be redirected directly,
23731 # and sets the high bit in the cache file unless we assign to the vars.
23733 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23734 eval ac_val=\$$ac_var
23738 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23739 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23742 _ | IFS | as_nl) ;; #(
23743 *) $as_unset $ac_var ;;
23749 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23750 *${as_nl}ac_space=\ *)
23751 # `set' does not quote correctly, so add quotes (double-quote
23752 # substitution turns \\\\ into \\, and sed turns \\ into \).
23755 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23758 # `set' quotes correctly as required by POSIX, so do not add quotes.
23759 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23768 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23770 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23772 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23773 if test -w "$cache_file"; then
23774 test "x$cache_file" != "x/dev/null" &&
23775 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23776 echo "$as_me: updating cache $cache_file" >&6;}
23777 cat confcache >$cache_file
23779 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23780 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23785 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23786 # Let make expand exec_prefix.
23787 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23789 DEFS=-DHAVE_CONFIG_H
23793 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23794 # 1. Remove the extension, and $U if already installed.
23795 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23796 ac_i=`echo "$ac_i" | sed "$ac_script"`
23797 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23798 # will be set to the directory where LIBOBJS objects are built.
23799 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23800 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23802 LIBOBJS=$ac_libobjs
23804 LTLIBOBJS=$ac_ltlibobjs
23808 : ${CONFIG_STATUS=./config.status}
23809 ac_clean_files_save=$ac_clean_files
23810 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23811 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23812 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23813 cat >$CONFIG_STATUS <<_ACEOF
23815 # Generated by $as_me.
23816 # Run this file to recreate the current configuration.
23817 # Compiler output produced by configure, useful for debugging
23818 # configure, is in config.log if it exists.
23821 ac_cs_recheck=false
23823 SHELL=\${CONFIG_SHELL-$SHELL}
23826 cat >>$CONFIG_STATUS <<\_ACEOF
23827 ## --------------------- ##
23828 ## M4sh Initialization. ##
23829 ## --------------------- ##
23831 # Be Bourne compatible
23832 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23835 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23836 # is contrary to our usage. Disable this feature.
23837 alias -g '${1+"$@"}'='"$@"'
23838 setopt NO_GLOB_SUBST
23840 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23842 BIN_SH=xpg4; export BIN_SH # for Tru64
23843 DUALCASE=1; export DUALCASE # for MKS sh
23847 # Avoid depending upon Character Ranges.
23848 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23849 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23850 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23851 as_cr_digits='0123456789'
23852 as_cr_alnum=$as_cr_Letters$as_cr_digits
23854 # The user is always right.
23855 if test "${PATH_SEPARATOR+set}" != set; then
23856 echo "#! /bin/sh" >conf$$.sh
23857 echo "exit 0" >>conf$$.sh
23859 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23867 # Support unset when possible.
23868 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23876 # We need space, tab and new line, in precisely that order. Quoting is
23877 # there to prevent editors from complaining about space-tab.
23878 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23879 # splitting by setting IFS to empty value.)
23884 # Find who we are. Look in the path if we contain no directory separator.
23886 *[\\/]* ) as_myself=$0 ;;
23887 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23888 for as_dir in $PATH
23891 test -z "$as_dir" && as_dir=.
23892 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23898 # We did not find ourselves, most probably we were run as `sh COMMAND'
23899 # in which case we are not to be found in the path.
23900 if test "x$as_myself" = x; then
23903 if test ! -f "$as_myself"; then
23904 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23905 { (exit 1); exit 1; }
23908 # Work around bugs in pre-3.0 UWIN ksh.
23909 for as_var in ENV MAIL MAILPATH
23910 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23918 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23919 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23920 LC_TELEPHONE LC_TIME
23922 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23923 eval $as_var=C; export $as_var
23925 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23929 # Required to use basename.
23930 if expr a : '\(a\)' >/dev/null 2>&1 &&
23931 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23937 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23938 as_basename=basename
23944 # Name of the executable.
23945 as_me=`$as_basename -- "$0" ||
23946 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23947 X"$0" : 'X\(//\)$' \| \
23948 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23950 sed '/^.*\/\([^/][^/]*\)\/*$/{
23969 as_lineno_1=$LINENO
23970 as_lineno_2=$LINENO
23971 test "x$as_lineno_1" != "x$as_lineno_2" &&
23972 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23974 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23975 # uniformly replaced by the line number. The first 'sed' inserts a
23976 # line-number line after each line using $LINENO; the second 'sed'
23977 # does the real work. The second script uses 'N' to pair each
23978 # line-number line with the line containing $LINENO, and appends
23979 # trailing '-' during substitution so that $LINENO is not a special
23980 # case at line end.
23981 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23982 # scripts with optimization help from Paolo Bonzini. Blame Lee
23983 # E. McMahon (1931-1989) for sed's syntax. :-)
23995 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23998 ' >$as_me.lineno &&
23999 chmod +x "$as_me.lineno" ||
24000 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24001 { (exit 1); exit 1; }; }
24003 # Don't try to exec as it changes $[0], causing all sort of problems
24004 # (the dirname of $[0] is not the place where we might find the
24005 # original and so on. Autoconf is especially sensitive to this).
24006 . "./$as_me.lineno"
24007 # Exit status is that of the last command.
24012 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24018 ECHO_C= ECHO_N= ECHO_T=
24019 case `echo -n x` in
24021 case `echo 'x\c'` in
24022 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24029 if expr a : '\(a\)' >/dev/null 2>&1 &&
24030 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24036 rm -f conf$$ conf$$.exe conf$$.file
24037 if test -d conf$$.dir; then
24038 rm -f conf$$.dir/conf$$.file
24044 if ln -s conf$$.file conf$$ 2>/dev/null; then
24046 # ... but there are two gotchas:
24047 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24048 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24049 # In both cases, we have to default to `cp -p'.
24050 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24052 elif ln conf$$.file conf$$ 2>/dev/null; then
24057 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24058 rmdir conf$$.dir 2>/dev/null
24060 if mkdir -p . 2>/dev/null; then
24063 test -d ./-p && rmdir ./-p
24067 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24068 # systems may use methods other than mode bits to determine executability.
24069 cat >conf$$.file <<_ASEOF
24073 chmod +x conf$$.file
24074 if test -x conf$$.file >/dev/null 2>&1; then
24075 as_executable_p="test -x"
24081 # Sed expression to map a string onto a valid CPP name.
24082 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24084 # Sed expression to map a string onto a valid variable name.
24085 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24090 # Save the log message, to keep $[0] and so on meaningful, and to
24091 # report actual input values of CONFIG_FILES etc. instead of their
24092 # values after options handling.
24094 This file was extended by Wine $as_me 0.9.22, which was
24095 generated by GNU Autoconf 2.60a. Invocation command line was
24097 CONFIG_FILES = $CONFIG_FILES
24098 CONFIG_HEADERS = $CONFIG_HEADERS
24099 CONFIG_LINKS = $CONFIG_LINKS
24100 CONFIG_COMMANDS = $CONFIG_COMMANDS
24103 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24108 cat >>$CONFIG_STATUS <<_ACEOF
24109 # Files that config.status was made for.
24110 config_files="$ac_config_files"
24111 config_headers="$ac_config_headers"
24112 config_commands="$ac_config_commands"
24116 cat >>$CONFIG_STATUS <<\_ACEOF
24118 \`$as_me' instantiates files from templates according to the
24119 current configuration.
24121 Usage: $0 [OPTIONS] [FILE]...
24123 -h, --help print this help, then exit
24124 -V, --version print version number and configuration settings, then exit
24125 -q, --quiet do not print progress messages
24126 -d, --debug don't remove temporary files
24127 --recheck update $as_me by reconfiguring in the same conditions
24128 --file=FILE[:TEMPLATE]
24129 instantiate the configuration file FILE
24130 --header=FILE[:TEMPLATE]
24131 instantiate the configuration header FILE
24133 Configuration files:
24136 Configuration headers:
24139 Configuration commands:
24142 Report bugs to <bug-autoconf@gnu.org>."
24145 cat >>$CONFIG_STATUS <<_ACEOF
24147 Wine config.status 0.9.22
24148 configured by $0, generated by GNU Autoconf 2.60a,
24149 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24151 Copyright (C) 2006 Free Software Foundation, Inc.
24152 This config.status script is free software; the Free Software Foundation
24153 gives unlimited permission to copy, distribute and modify it."
24160 cat >>$CONFIG_STATUS <<\_ACEOF
24161 # If no file are specified by the user, then we need to provide default
24162 # value. By we need to know if files were specified by the user.
24168 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24169 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24180 # Handling of the options.
24181 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24183 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24184 echo "$ac_cs_version"; exit ;;
24185 --debug | --debu | --deb | --de | --d | -d )
24187 --file | --fil | --fi | --f )
24189 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24190 ac_need_defaults=false;;
24191 --header | --heade | --head | --hea )
24193 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24194 ac_need_defaults=false;;
24196 # Conflict between --help and --header
24197 { echo "$as_me: error: ambiguous option: $1
24198 Try \`$0 --help' for more information." >&2
24199 { (exit 1); exit 1; }; };;
24200 --help | --hel | -h )
24201 echo "$ac_cs_usage"; exit ;;
24202 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24203 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24206 # This is an error.
24207 -*) { echo "$as_me: error: unrecognized option: $1
24208 Try \`$0 --help' for more information." >&2
24209 { (exit 1); exit 1; }; } ;;
24211 *) ac_config_targets="$ac_config_targets $1"
24212 ac_need_defaults=false ;;
24218 ac_configure_extra_args=
24220 if $ac_cs_silent; then
24222 ac_configure_extra_args="$ac_configure_extra_args --silent"
24226 cat >>$CONFIG_STATUS <<_ACEOF
24227 if \$ac_cs_recheck; then
24228 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24229 CONFIG_SHELL=$SHELL
24230 export CONFIG_SHELL
24231 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24235 cat >>$CONFIG_STATUS <<\_ACEOF
24239 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24240 ## Running $as_me. ##
24246 cat >>$CONFIG_STATUS <<_ACEOF
24249 cat >>$CONFIG_STATUS <<\_ACEOF
24251 # Handling of arguments.
24252 for ac_config_target in $ac_config_targets
24254 case $ac_config_target in
24255 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24256 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
24257 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24258 "dlls/gdi/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24259 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
24260 "dlls/user/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
24261 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24262 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24263 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24264 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24265 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24266 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24267 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24268 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24269 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24270 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24271 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24272 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24273 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24274 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24275 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24276 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24277 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24278 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24279 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24280 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24281 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24282 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24283 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24284 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
24285 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24286 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24287 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24288 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24289 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24290 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24291 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24292 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24293 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24294 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24295 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24296 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24297 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24298 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24299 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24300 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24301 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24302 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24303 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24304 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24305 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24306 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24307 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24308 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24309 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24310 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24311 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24312 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24313 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24314 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24315 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24316 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24317 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24318 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24319 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24320 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24321 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24322 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24323 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24324 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24325 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
24326 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24327 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24328 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24329 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
24330 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24331 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
24332 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24333 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24334 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24335 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24336 "dlls/gdi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
24337 "dlls/gdi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
24338 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
24339 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
24340 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24341 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24342 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
24343 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
24344 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24345 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24346 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
24347 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24348 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24349 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24350 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
24351 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24352 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24353 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
24354 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24355 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24356 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
24357 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
24358 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
24359 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
24360 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
24361 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
24362 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24363 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24364 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24365 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24366 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24367 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24368 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24369 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
24370 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
24371 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24372 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24373 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24374 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
24375 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24376 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24377 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24378 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24379 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24380 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
24381 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24382 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24383 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24384 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24385 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24386 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24387 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
24388 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24389 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24390 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24391 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24392 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24393 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24394 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24395 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24396 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24397 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24398 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24399 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24400 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24401 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24402 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24403 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24404 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
24405 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24406 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24407 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
24408 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24409 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24410 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24411 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
24412 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24413 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24414 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
24415 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24416 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24417 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24418 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24419 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24420 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24421 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24422 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24423 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24424 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24425 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
24426 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24427 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24428 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
24429 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
24430 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24431 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
24432 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24433 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
24434 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
24435 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24436 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
24437 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24438 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24439 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24440 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24441 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24442 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24443 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24444 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
24445 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24446 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
24447 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24448 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
24449 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24450 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24451 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
24452 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24453 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24454 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
24455 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24456 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24457 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24458 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24459 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24460 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24461 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24462 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24463 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
24464 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24465 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
24466 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24467 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24468 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
24469 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
24470 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24471 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24472 "dlls/user/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
24473 "dlls/user/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24474 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
24475 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
24476 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24477 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
24478 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24479 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24480 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24481 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24482 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
24483 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24484 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24485 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24486 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24487 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24488 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24489 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24490 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24491 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24492 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
24493 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24494 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24495 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24496 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
24497 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24498 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
24499 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24500 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24501 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24502 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24503 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24504 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24505 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24506 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24507 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24508 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24509 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24510 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24511 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24512 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24513 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24514 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
24515 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24516 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24517 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
24518 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24519 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24520 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24521 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24522 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
24523 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
24524 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
24525 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
24526 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
24527 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
24528 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
24529 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
24530 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
24531 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
24532 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
24533 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24534 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
24535 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
24536 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
24537 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
24538 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
24539 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
24540 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
24541 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
24542 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
24543 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
24544 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
24545 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
24546 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24547 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
24548 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
24549 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
24550 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24551 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24552 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
24553 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
24554 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24555 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
24556 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24557 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
24558 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
24559 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24560 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
24561 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
24562 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
24563 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
24564 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
24565 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
24566 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
24567 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
24568 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
24569 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
24570 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
24571 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
24572 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
24573 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
24574 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
24576 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24577 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24578 { (exit 1); exit 1; }; };;
24583 # If the user did not use the arguments to specify the items to instantiate,
24584 # then the envvar interface is used. Set only those that are not.
24585 # We use the long form for the default assignment because of an extremely
24586 # bizarre bug on SunOS 4.1.3.
24587 if $ac_need_defaults; then
24588 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24589 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24590 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24593 # Have a temporary directory for convenience. Make it in the build tree
24594 # simply because there is no reason against having it here, and in addition,
24595 # creating and moving files from /tmp can sometimes cause problems.
24596 # Hook for its removal unless debugging.
24597 # Note that there is a small window in which the directory will not be cleaned:
24598 # after its creation but before its name has been assigned to `$tmp'.
24602 trap 'exit_status=$?
24603 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24605 trap '{ (exit 1); exit 1; }' 1 2 13 15
24607 # Create a (secure) tmp directory for tmp files.
24610 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24611 test -n "$tmp" && test -d "$tmp"
24614 tmp=./conf$$-$RANDOM
24615 (umask 077 && mkdir "$tmp")
24618 echo "$me: cannot create a temporary directory in ." >&2
24619 { (exit 1); exit 1; }
24623 # Set up the sed scripts for CONFIG_FILES section.
24626 # No need to generate the scripts if there are no CONFIG_FILES.
24627 # This happens for instance when ./config.status config.h
24628 if test -n "$CONFIG_FILES"; then
24632 # Create sed commands to just substitute file output variables.
24634 # Remaining file output variables are in a fragment that also has non-file
24640 for ac_last_try in false false false false false :; do
24641 cat >conf$$subs.sed <<_ACEOF
24642 SHELL!$SHELL$ac_delim
24643 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24644 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24645 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24646 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24647 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24648 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24649 exec_prefix!$exec_prefix$ac_delim
24650 prefix!$prefix$ac_delim
24651 program_transform_name!$program_transform_name$ac_delim
24652 bindir!$bindir$ac_delim
24653 sbindir!$sbindir$ac_delim
24654 libexecdir!$libexecdir$ac_delim
24655 datarootdir!$datarootdir$ac_delim
24656 datadir!$datadir$ac_delim
24657 sysconfdir!$sysconfdir$ac_delim
24658 sharedstatedir!$sharedstatedir$ac_delim
24659 localstatedir!$localstatedir$ac_delim
24660 includedir!$includedir$ac_delim
24661 oldincludedir!$oldincludedir$ac_delim
24662 docdir!$docdir$ac_delim
24663 infodir!$infodir$ac_delim
24664 htmldir!$htmldir$ac_delim
24665 dvidir!$dvidir$ac_delim
24666 pdfdir!$pdfdir$ac_delim
24667 psdir!$psdir$ac_delim
24668 libdir!$libdir$ac_delim
24669 localedir!$localedir$ac_delim
24670 mandir!$mandir$ac_delim
24671 DEFS!$DEFS$ac_delim
24672 ECHO_C!$ECHO_C$ac_delim
24673 ECHO_N!$ECHO_N$ac_delim
24674 ECHO_T!$ECHO_T$ac_delim
24675 LIBS!$LIBS$ac_delim
24676 build_alias!$build_alias$ac_delim
24677 host_alias!$host_alias$ac_delim
24678 target_alias!$target_alias$ac_delim
24679 build!$build$ac_delim
24680 build_cpu!$build_cpu$ac_delim
24681 build_vendor!$build_vendor$ac_delim
24682 build_os!$build_os$ac_delim
24683 host!$host$ac_delim
24684 host_cpu!$host_cpu$ac_delim
24685 host_vendor!$host_vendor$ac_delim
24686 host_os!$host_os$ac_delim
24687 WIN16_FILES!$WIN16_FILES$ac_delim
24688 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24689 SET_MAKE!$SET_MAKE$ac_delim
24691 CFLAGS!$CFLAGS$ac_delim
24692 LDFLAGS!$LDFLAGS$ac_delim
24693 CPPFLAGS!$CPPFLAGS$ac_delim
24694 ac_ct_CC!$ac_ct_CC$ac_delim
24695 EXEEXT!$EXEEXT$ac_delim
24696 OBJEXT!$OBJEXT$ac_delim
24698 CXXFLAGS!$CXXFLAGS$ac_delim
24699 ac_ct_CXX!$ac_ct_CXX$ac_delim
24700 CPPBIN!$CPPBIN$ac_delim
24701 TOOLSDIR!$TOOLSDIR$ac_delim
24702 XMKMF!$XMKMF$ac_delim
24704 X_CFLAGS!$X_CFLAGS$ac_delim
24705 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24706 X_LIBS!$X_LIBS$ac_delim
24707 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24709 LEXLIB!$LEXLIB$ac_delim
24710 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24711 XLEX!$XLEX$ac_delim
24712 BISON!$BISON$ac_delim
24714 ac_ct_AS!$ac_ct_AS$ac_delim
24717 RANLIB!$RANLIB$ac_delim
24718 STRIP!$STRIP$ac_delim
24719 WINDRES!$WINDRES$ac_delim
24720 LN_S!$LN_S$ac_delim
24722 GREP!$GREP$ac_delim
24723 EGREP!$EGREP$ac_delim
24726 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24728 elif $ac_last_try; then
24729 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24730 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24731 { (exit 1); exit 1; }; }
24733 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24737 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24738 if test -n "$ac_eof"; then
24739 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24740 ac_eof=`expr $ac_eof + 1`
24743 cat >>$CONFIG_STATUS <<_ACEOF
24744 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24745 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24746 /^[ ]*@MAKE_RULES@[ ]*$/{
24750 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
24754 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
24755 r $MAKE_IMPLIB_RULES
24758 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
24762 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
24768 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24769 s/^/s,@/; s/!/@,|#_!!_#|/
24772 s/'"$ac_delim"'$/,g/; t
24774 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24775 ' >>$CONFIG_STATUS <conf$$subs.sed
24776 rm -f conf$$subs.sed
24777 cat >>$CONFIG_STATUS <<_ACEOF
24783 for ac_last_try in false false false false false :; do
24784 cat >conf$$subs.sed <<_ACEOF
24785 LDCONFIG!$LDCONFIG$ac_delim
24786 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24787 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24788 INSTALL_DATA!$INSTALL_DATA$ac_delim
24789 LINT!$LINT$ac_delim
24790 LINTFLAGS!$LINTFLAGS$ac_delim
24791 FONTFORGE!$FONTFORGE$ac_delim
24792 PKG_CONFIG!$PKG_CONFIG$ac_delim
24793 PRELINK!$PRELINK$ac_delim
24794 LIBPTHREAD!$LIBPTHREAD$ac_delim
24795 XLIB!$XLIB$ac_delim
24796 XFILES!$XFILES$ac_delim
24797 OPENGLFILES!$OPENGLFILES$ac_delim
24798 GLU32FILES!$GLU32FILES$ac_delim
24799 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
24800 GLUT_LIBS!$GLUT_LIBS$ac_delim
24801 GLUT32FILES!$GLUT32FILES$ac_delim
24802 NASLIBS!$NASLIBS$ac_delim
24803 XML2LIBS!$XML2LIBS$ac_delim
24804 XML2INCL!$XML2INCL$ac_delim
24805 XSLTLIBS!$XSLTLIBS$ac_delim
24806 XSLTINCL!$XSLTINCL$ac_delim
24807 HALINCL!$HALINCL$ac_delim
24808 CURSESLIBS!$CURSESLIBS$ac_delim
24809 sane_devel!$sane_devel$ac_delim
24810 SANELIBS!$SANELIBS$ac_delim
24811 SANEINCL!$SANEINCL$ac_delim
24812 gphoto2_devel!$gphoto2_devel$ac_delim
24813 gphoto2port_devel!$gphoto2port_devel$ac_delim
24814 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24815 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24816 ICULIBS!$ICULIBS$ac_delim
24817 RESOLVLIBS!$RESOLVLIBS$ac_delim
24818 LCMSLIBS!$LCMSLIBS$ac_delim
24819 LDAPLIBS!$LDAPLIBS$ac_delim
24820 FREETYPELIBS!$FREETYPELIBS$ac_delim
24821 FREETYPEINCL!$FREETYPEINCL$ac_delim
24822 ft_devel!$ft_devel$ac_delim
24823 ft_devel2!$ft_devel2$ac_delim
24824 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24825 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
24826 ARTSLIBS!$ARTSLIBS$ac_delim
24827 ARTSINCL!$ARTSINCL$ac_delim
24828 ESDCONFIG!$ESDCONFIG$ac_delim
24829 ESDLIBS!$ESDLIBS$ac_delim
24830 ESDINCL!$ESDINCL$ac_delim
24831 ALSALIBS!$ALSALIBS$ac_delim
24832 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24833 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24834 BUILTINFLAG!$BUILTINFLAG$ac_delim
24835 DLLEXT!$DLLEXT$ac_delim
24836 DLLFLAGS!$DLLFLAGS$ac_delim
24837 LDSHARED!$LDSHARED$ac_delim
24838 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
24839 LIBEXT!$LIBEXT$ac_delim
24840 IMPLIBEXT!$IMPLIBEXT$ac_delim
24841 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
24842 DLLTOOL!$DLLTOOL$ac_delim
24843 DLLWRAP!$DLLWRAP$ac_delim
24844 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
24845 IOKITLIB!$IOKITLIB$ac_delim
24846 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
24847 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
24848 COREAUDIO!$COREAUDIO$ac_delim
24849 CROSSTEST!$CROSSTEST$ac_delim
24850 CROSSCC!$CROSSCC$ac_delim
24851 CROSSWINDRES!$CROSSWINDRES$ac_delim
24852 LDPATH!$LDPATH$ac_delim
24853 CRTLIBS!$CRTLIBS$ac_delim
24854 SOCKETLIBS!$SOCKETLIBS$ac_delim
24855 MAIN_BINARY!$MAIN_BINARY$ac_delim
24856 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24858 LIBDL!$LIBDL$ac_delim
24859 LIBPOLL!$LIBPOLL$ac_delim
24860 DEPENDENCIES!$DEPENDENCIES$ac_delim
24861 LIBOBJS!$LIBOBJS$ac_delim
24862 LTLIBOBJS!$LTLIBOBJS$ac_delim
24865 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
24867 elif $ac_last_try; then
24868 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24869 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24870 { (exit 1); exit 1; }; }
24872 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24876 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24877 if test -n "$ac_eof"; then
24878 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24879 ac_eof=`expr $ac_eof + 1`
24882 cat >>$CONFIG_STATUS <<_ACEOF
24883 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24884 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24887 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24888 s/^/s,@/; s/!/@,|#_!!_#|/
24891 s/'"$ac_delim"'$/,g/; t
24893 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24894 ' >>$CONFIG_STATUS <conf$$subs.sed
24895 rm -f conf$$subs.sed
24896 cat >>$CONFIG_STATUS <<_ACEOF
24903 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24904 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24905 # trailing colons and then remove the whole line if VPATH becomes empty
24906 # (actually we leave an empty line to preserve line numbers).
24907 if test "x$srcdir" = x.; then
24908 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24909 s/:*\$(srcdir):*/:/
24910 s/:*\${srcdir}:*/:/
24912 s/^\([^=]*=[ ]*\):*/\1/
24918 cat >>$CONFIG_STATUS <<\_ACEOF
24919 fi # test -n "$CONFIG_FILES"
24922 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24925 :[FHLC]) ac_mode=$ac_tag; continue;;
24927 case $ac_mode$ac_tag in
24929 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24930 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24931 { (exit 1); exit 1; }; };;
24932 :[FH]-) ac_tag=-:-;;
24933 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24950 -) ac_f="$tmp/stdin";;
24951 *) # Look for the file first in the build tree, then in the source tree
24952 # (if the path is not absolute). The absolute path cannot be DOS-style,
24953 # because $ac_f cannot contain `:'.
24957 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24959 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24960 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24961 { (exit 1); exit 1; }; };;
24963 ac_file_inputs="$ac_file_inputs $ac_f"
24966 # Let's still pretend it is `configure' which instantiates (i.e., don't
24967 # use $as_me), people would be surprised to read:
24968 # /* config.h. Generated by config.status. */
24969 configure_input="Generated from "`IFS=:
24970 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24971 if test x"$ac_file" != x-; then
24972 configure_input="$ac_file. $configure_input"
24973 { echo "$as_me:$LINENO: creating $ac_file" >&5
24974 echo "$as_me: creating $ac_file" >&6;}
24978 *:-:* | *:-) cat >"$tmp/stdin";;
24983 ac_dir=`$as_dirname -- "$ac_file" ||
24984 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24985 X"$ac_file" : 'X\(//\)[^/]' \| \
24986 X"$ac_file" : 'X\(//\)$' \| \
24987 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24993 /^X\(\/\/\)[^/].*/{
25008 -*) as_dir=./$as_dir;;
25010 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25014 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25015 *) as_qdir=$as_dir;;
25017 as_dirs="'$as_qdir' $as_dirs"
25018 as_dir=`$as_dirname -- "$as_dir" ||
25019 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25020 X"$as_dir" : 'X\(//\)[^/]' \| \
25021 X"$as_dir" : 'X\(//\)$' \| \
25022 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25028 /^X\(\/\/\)[^/].*/{
25041 test -d "$as_dir" && break
25043 test -z "$as_dirs" || eval "mkdir $as_dirs"
25044 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25045 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25046 { (exit 1); exit 1; }; }; }
25050 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25052 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25053 # A ".." for each directory in $ac_dir_suffix.
25054 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25055 case $ac_top_builddir_sub in
25056 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25057 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25060 ac_abs_top_builddir=$ac_pwd
25061 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25062 # for backward compatibility:
25063 ac_top_builddir=$ac_top_build_prefix
25066 .) # We are building in place.
25068 ac_top_srcdir=$ac_top_builddir_sub
25069 ac_abs_top_srcdir=$ac_pwd ;;
25070 [\\/]* | ?:[\\/]* ) # Absolute name.
25071 ac_srcdir=$srcdir$ac_dir_suffix;
25072 ac_top_srcdir=$srcdir
25073 ac_abs_top_srcdir=$srcdir ;;
25074 *) # Relative name.
25075 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25076 ac_top_srcdir=$ac_top_build_prefix$srcdir
25077 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25079 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25089 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25090 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25094 cat >>$CONFIG_STATUS <<\_ACEOF
25095 # If the template does not know about datarootdir, expand it.
25096 # FIXME: This hack should be removed a few years after 2.60.
25097 ac_datarootdir_hack=; ac_datarootdir_seen=
25099 case `sed -n '/datarootdir/ {
25108 ' $ac_file_inputs` in
25109 *datarootdir*) ac_datarootdir_seen=yes;;
25110 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25111 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25112 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25114 cat >>$CONFIG_STATUS <<_ACEOF
25115 ac_datarootdir_hack='
25116 s&@datadir@&$datadir&g
25117 s&@docdir@&$docdir&g
25118 s&@infodir@&$infodir&g
25119 s&@localedir@&$localedir&g
25120 s&@mandir@&$mandir&g
25121 s&\\\${datarootdir}&$datarootdir&g' ;;
25125 # Neutralize VPATH when `$srcdir' = `.'.
25126 # Shell code in configure.ac might set extrasub.
25127 # FIXME: do we really want to maintain this feature?
25128 cat >>$CONFIG_STATUS <<_ACEOF
25132 cat >>$CONFIG_STATUS <<\_ACEOF
25134 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25135 s&@configure_input@&$configure_input&;t t
25136 s&@top_builddir@&$ac_top_builddir_sub&;t t
25137 s&@srcdir@&$ac_srcdir&;t t
25138 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25139 s&@top_srcdir@&$ac_top_srcdir&;t t
25140 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25141 s&@builddir@&$ac_builddir&;t t
25142 s&@abs_builddir@&$ac_abs_builddir&;t t
25143 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25144 s&@INSTALL@&$ac_INSTALL&;t t
25145 $ac_datarootdir_hack
25146 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25148 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25149 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25150 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25151 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25152 which seems to be undefined. Please make sure it is defined." >&5
25153 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25154 which seems to be undefined. Please make sure it is defined." >&2;}
25158 -) cat "$tmp/out"; rm -f "$tmp/out";;
25159 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25168 # Transform confdefs.h into a sed script `conftest.defines', that
25169 # substitutes the proper values into config.h.in to produce config.h.
25170 rm -f conftest.defines conftest.tail
25171 # First, append a space to every undef/define line, to ease matching.
25172 echo 's/$/ /' >conftest.defines
25173 # Then, protect against being on the right side of a sed subst, or in
25174 # an unquoted here document, in config.status. If some macros were
25175 # called several times there might be several #defines for the same
25176 # symbol, which is useless. But do not sort them, since the last
25177 # AC_DEFINE must be honored.
25178 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25179 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25180 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25181 # PARAMS is the parameter list in the macro definition--in most cases, it's
25182 # just an empty string.
25183 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25184 ac_dB='\\)[ (].*,\\1define\\2'
25192 s/^[ ]*#[ ]*define[ ][ ]*//
25197 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25198 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25199 ' >>conftest.defines
25201 # Remove the space that was appended to ease matching.
25202 # Then replace #undef with comments. This is necessary, for
25203 # example, in the case of _POSIX_SOURCE, which is predefined and required
25204 # on some systems where configure will not decide to define it.
25205 # (The regexp can be short, since the line contains either #define or #undef.)
25207 s,^[ #]*u.*,/* & */,' >>conftest.defines
25209 # Break up conftest.defines:
25210 ac_max_sed_lines=50
25212 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25213 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25214 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25216 ac_in='$ac_file_inputs'
25217 ac_out='"$tmp/out1"'
25218 ac_nxt='"$tmp/out2"'
25222 # Write a here document:
25223 cat >>$CONFIG_STATUS <<_ACEOF
25224 # First, check the format of the line:
25225 cat >"\$tmp/defines.sed" <<\\CEOF
25226 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25227 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25231 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25233 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25234 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25235 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25236 grep . conftest.tail >/dev/null || break
25237 rm -f conftest.defines
25238 mv conftest.tail conftest.defines
25240 rm -f conftest.defines conftest.tail
25242 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25243 cat >>$CONFIG_STATUS <<\_ACEOF
25244 if test x"$ac_file" != x-; then
25245 echo "/* $configure_input */" >"$tmp/config.h"
25246 cat "$ac_result" >>"$tmp/config.h"
25247 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25248 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25249 echo "$as_me: $ac_file is unchanged" >&6;}
25252 mv "$tmp/config.h" $ac_file
25255 echo "/* $configure_input */"
25261 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25262 echo "$as_me: executing $ac_file commands" >&6;}
25267 case $ac_file$ac_mode in
25268 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
25269 "dlls/gdi/enhmfdrv":C) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25270 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
25271 "dlls/gdi/mfdrv":C) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25272 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
25273 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
25274 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
25275 "dlls/user/resources":C) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25276 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
25277 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25278 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25279 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25280 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25286 { (exit 0); exit 0; }
25288 chmod +x $CONFIG_STATUS
25289 ac_clean_files=$ac_clean_files_save
25292 # configure is writing to config.log, and then calls config.status.
25293 # config.status does its own redirection, appending to config.log.
25294 # Unfortunately, on DOS this fails, as config.log is still kept open
25295 # by configure, so config.status won't be able to write to it; its
25296 # output is simply discarded. So we exec the FD to /dev/null,
25297 # effectively closing config.log, so it can be properly (re)opened and
25298 # appended to by config.status. When coming back to configure, we
25299 # need to make the FD available again.
25300 if test "$no_create" != yes; then
25302 ac_config_status_args=
25303 test "$silent" = yes &&
25304 ac_config_status_args="$ac_config_status_args --quiet"
25306 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25308 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25309 # would make configure fail if this is the last instruction.
25310 $ac_cs_success || { (exit 1); exit 1; }
25315 if test "$no_create" = "yes"
25320 if test "$verbose" = "yes"
25322 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
25325 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
25326 echo "$as_me: libcapi20 development files not found." >&6;}
25327 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
25328 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
25331 if test "$ac_cv_header_cups_cups_h" != "yes"
25334 { echo "$as_me:$LINENO: libcups development files not found." >&5
25335 echo "$as_me: libcups development files not found." >&6;}
25336 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
25337 echo "$as_me: Wine will be built without CUPS support." >&6;}
25341 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
25344 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
25345 echo "$as_me: libgphoto2 development files not found." >&6;}
25346 if test "$ac_cv_header_sane_sane_h" = "yes"
25348 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
25349 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
25351 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
25352 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
25356 if test "$ac_cv_header_hal_libhal_h" != "yes"
25359 { echo "$as_me:$LINENO: libhal development files not found." >&5
25360 echo "$as_me: libhal development files not found." >&6;}
25361 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
25362 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
25365 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
25368 { echo "$as_me:$LINENO: libicu development files not found." >&5
25369 echo "$as_me: libicu development files not found." >&6;}
25370 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
25371 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
25374 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
25377 { echo "$as_me:$LINENO: liblcms development files not found." >&5
25378 echo "$as_me: liblcms development files not found." >&6;}
25379 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
25380 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
25383 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
25386 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
25387 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
25388 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
25389 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
25392 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
25395 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
25396 echo "$as_me: lib(n)curses development files not found." >&6;}
25397 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
25398 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
25401 if test "$ac_cv_header_sane_sane_h" != "yes"
25404 { echo "$as_me:$LINENO: libsane development files not found." >&5
25405 echo "$as_me: libsane development files not found." >&6;}
25406 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
25407 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
25410 if test "$have_x" = "yes"
25412 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
25415 { echo "$as_me:$LINENO: libxext development files not found." >&5
25416 echo "$as_me: libxext development files not found." >&6;}
25417 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
25418 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
25421 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
25424 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
25425 echo "$as_me: libXrandr development files not found." >&6;}
25426 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
25427 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
25430 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
25433 { echo "$as_me:$LINENO: libXrender development files not found." >&5
25434 echo "$as_me: libXrender development files not found." >&6;}
25435 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
25436 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
25439 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
25442 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
25443 echo "$as_me: libXxf86vm development files not found." >&6;}
25444 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
25445 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
25449 if test "$ac_cv_header_libxml_parser_h" != "yes"
25452 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
25453 echo "$as_me: libxml2 development files not found." >&6;}
25454 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
25455 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
25458 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
25461 { echo "$as_me:$LINENO: libxslt development files not found." >&5
25462 echo "$as_me: libxslt development files not found." >&6;}
25463 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
25464 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
25469 if test "$have_x" = "no"
25472 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25473 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25474 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25475 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25476 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25477 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25478 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25479 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25482 if test -z "$OPENGLFILES"
25485 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
25486 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
25487 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
25488 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
25489 if test "$wine_cv_opengl_headers_found" = "no"
25491 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
25492 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
25494 if test "$wine_cv_opengl_header_version_OK" = "no"
25496 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25497 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25498 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
25500 if test -f /usr/X11R6/lib/libGL.a
25502 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25503 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
25504 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25505 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
25507 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
25508 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
25513 if test "$wine_cv_msg_freetype" = "yes"
25516 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25517 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25518 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25519 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25520 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25521 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25522 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25523 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25526 if test -z "$FONTSSUBDIRS"
25529 if test "$FONTFORGE" = "false"
25531 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25532 echo "$as_me: WARNING: FontForge is missing." >&2;}
25534 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25535 echo "$as_me: WARNING: FreeType is missing." >&2;}
25537 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25538 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25541 if test -z "$ALSALIBS" -a \
25542 -z "$ARTSC_LIBS" -a \
25543 -z "$AUDIOIOLIBS" -a \
25545 -z "$ESD_LIBS" -a \
25546 -z "$ac_cv_lib_soname_jack" -a \
25547 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25548 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25549 "$ac_cv_header_soundcard_h" != "yes"
25552 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25553 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25554 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25555 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25556 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25557 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25561 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."