2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.57.
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 more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.57'
578 PACKAGE_STRING='Wine 0.9.57'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
776 ac_subst_files='MAKE_RULES
781 ac_precious_vars='build_alias
796 # Initialize some variables set by options.
798 ac_init_version=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
808 program_transform_name=s,x,x,
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 includedir='${prefix}/include'
831 oldincludedir='/usr/include'
832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir='${datarootdir}/info'
838 libdir='${exec_prefix}/lib'
839 localedir='${datarootdir}/locale'
840 mandir='${datarootdir}/man'
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\$ac_option
854 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
864 -bindir | --bindir | --bindi | --bind | --bin | --bi)
866 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
869 -build | --build | --buil | --bui | --bu)
870 ac_prev=build_alias ;;
871 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872 build_alias=$ac_optarg ;;
874 -cache-file | --cache-file | --cache-fil | --cache-fi \
875 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876 ac_prev=cache_file ;;
877 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879 cache_file=$ac_optarg ;;
882 cache_file=config.cache ;;
884 -datadir | --datadir | --datadi | --datad)
886 -datadir=* | --datadir=* | --datadi=* | --datad=*)
887 datadir=$ac_optarg ;;
889 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890 | --dataroo | --dataro | --datar)
891 ac_prev=datarootdir ;;
892 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894 datarootdir=$ac_optarg ;;
896 -disable-* | --disable-*)
897 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
900 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901 { (exit 1); exit 1; }; }
902 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
903 eval enable_$ac_feature=no ;;
905 -docdir | --docdir | --docdi | --doc | --do)
907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
915 -enable-* | --enable-*)
916 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
919 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920 { (exit 1); exit 1; }; }
921 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
922 eval enable_$ac_feature=\$ac_optarg ;;
924 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926 | --exec | --exe | --ex)
927 ac_prev=exec_prefix ;;
928 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930 | --exec=* | --exe=* | --ex=*)
931 exec_prefix=$ac_optarg ;;
933 -gas | --gas | --ga | --g)
934 # Obsolete; use --with-gas.
937 -help | --help | --hel | --he | -h)
939 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940 ac_init_help=recursive ;;
941 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942 ac_init_help=short ;;
944 -host | --host | --hos | --ho)
945 ac_prev=host_alias ;;
946 -host=* | --host=* | --hos=* | --ho=*)
947 host_alias=$ac_optarg ;;
949 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
951 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
953 htmldir=$ac_optarg ;;
955 -includedir | --includedir | --includedi | --included | --include \
956 | --includ | --inclu | --incl | --inc)
957 ac_prev=includedir ;;
958 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959 | --includ=* | --inclu=* | --incl=* | --inc=*)
960 includedir=$ac_optarg ;;
962 -infodir | --infodir | --infodi | --infod | --info | --inf)
964 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965 infodir=$ac_optarg ;;
967 -libdir | --libdir | --libdi | --libd)
969 -libdir=* | --libdir=* | --libdi=* | --libd=*)
972 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973 | --libexe | --libex | --libe)
974 ac_prev=libexecdir ;;
975 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976 | --libexe=* | --libex=* | --libe=*)
977 libexecdir=$ac_optarg ;;
979 -localedir | --localedir | --localedi | --localed | --locale)
981 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982 localedir=$ac_optarg ;;
984 -localstatedir | --localstatedir | --localstatedi | --localstated \
985 | --localstate | --localstat | --localsta | --localst | --locals)
986 ac_prev=localstatedir ;;
987 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989 localstatedir=$ac_optarg ;;
991 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
993 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
997 # Obsolete; use --without-fp.
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c | -n)
1004 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010 | --oldin | --oldi | --old | --ol | --o)
1011 ac_prev=oldincludedir ;;
1012 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015 oldincludedir=$ac_optarg ;;
1017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020 prefix=$ac_optarg ;;
1022 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023 | --program-pre | --program-pr | --program-p)
1024 ac_prev=program_prefix ;;
1025 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027 program_prefix=$ac_optarg ;;
1029 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030 | --program-suf | --program-su | --program-s)
1031 ac_prev=program_suffix ;;
1032 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034 program_suffix=$ac_optarg ;;
1036 -program-transform-name | --program-transform-name \
1037 | --program-transform-nam | --program-transform-na \
1038 | --program-transform-n | --program-transform- \
1039 | --program-transform | --program-transfor \
1040 | --program-transfo | --program-transf \
1041 | --program-trans | --program-tran \
1042 | --progr-tra | --program-tr | --program-t)
1043 ac_prev=program_transform_name ;;
1044 -program-transform-name=* | --program-transform-name=* \
1045 | --program-transform-nam=* | --program-transform-na=* \
1046 | --program-transform-n=* | --program-transform-=* \
1047 | --program-transform=* | --program-transfor=* \
1048 | --program-transfo=* | --program-transf=* \
1049 | --program-trans=* | --program-tran=* \
1050 | --progr-tra=* | --program-tr=* | --program-t=*)
1051 program_transform_name=$ac_optarg ;;
1053 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1055 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056 pdfdir=$ac_optarg ;;
1058 -psdir | --psdir | --psdi | --psd | --ps)
1060 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1067 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1069 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1071 sbindir=$ac_optarg ;;
1073 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075 | --sharedst | --shareds | --shared | --share | --shar \
1077 ac_prev=sharedstatedir ;;
1078 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1082 sharedstatedir=$ac_optarg ;;
1084 -site | --site | --sit)
1086 -site=* | --site=* | --sit=*)
1089 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1091 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092 srcdir=$ac_optarg ;;
1094 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095 | --syscon | --sysco | --sysc | --sys | --sy)
1096 ac_prev=sysconfdir ;;
1097 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099 sysconfdir=$ac_optarg ;;
1101 -target | --target | --targe | --targ | --tar | --ta | --t)
1102 ac_prev=target_alias ;;
1103 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104 target_alias=$ac_optarg ;;
1106 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 -version | --version | --versio | --versi | --vers | -V)
1110 ac_init_version=: ;;
1113 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_$ac_package=\$ac_optarg ;;
1121 -without-* | --without-*)
1122 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1128 eval with_$ac_package=no ;;
1131 # Obsolete; use --with-x.
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150 { (exit 1); exit 1; }; }
1154 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158 { (exit 1); exit 1; }; }
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 { echo "$as_me: error: missing argument to $ac_option" >&2
1176 { (exit 1); exit 1; }; }
1179 # Be sure to have absolute directory names.
1180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val=\$$ac_var
1187 [\\/$]* | ?:[\\/]* ) continue;;
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1190 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 { echo "$as_me: error: Working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$0" : 'X\(//\)[^/]' \| \
1235 X"$0" : 'X\(//\)$' \| \
1236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1260 ac_srcdir_defaulted=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1296 \`configure' configures Wine 0.9.57 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1354 --x-includes=DIR X include files are in DIR
1355 --x-libraries=DIR X library files are in DIR
1358 --build=BUILD configure for building on BUILD [guessed]
1359 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive ) echo "Configuration of Wine 0.9.57:";;
1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1372 --disable-win16 do not include Win16 support
1373 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1375 --enable-maintainer-mode
1376 enable maintainer-specific build rules
1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381 --without-alsa do not use the Alsa sound support
1382 --without-audioio do not use the AudioIO sound support
1383 --without-capi do not use CAPI (ISDN support)
1384 --without-cms do not use CMS (color management support)
1385 --without-coreaudio do not use the CoreAudio sound support
1386 --without-cups do not use CUPS
1387 --without-curses do not use (n)curses
1388 --without-esd do not use the EsounD sound support
1389 --without-fontconfig do not use fontconfig
1390 --without-gphoto do not use gphoto (Digital Camera support)
1391 --without-hal do not use HAL (dynamic device support)
1392 --without-jack do not use the Jack sound support
1393 --without-jpeg do not use JPEG
1394 --without-ldap do not use LDAP
1395 --without-nas do not use the NAS sound support
1396 --without-opengl do not use OpenGL
1397 --without-openssl do not use OpenSSL
1398 --without-oss do not use the OSS sound support
1399 --without-png do not use PNG
1400 --without-sane do not use SANE (scanner support)
1401 --without-xcomposite do not use the Xcomposite extension
1402 --without-xcursor do not use the Xcursor extension
1403 --without-xinerama do not use Xinerama (multi-monitor support)
1404 --without-xinput do not use the Xinput extension
1405 --without-xml do not use XML
1406 --without-xrandr do not use Xrandr (resolution changes)
1407 --without-xrender do not use the Xrender extension
1408 --without-xshape do not use the Xshape extension
1409 --without-xshm do not use XShm (shared memory extension)
1410 --without-xslt do not use XSLT
1411 --without-xvidmode do not use XFree video mode extension
1412 --with-wine-tools=DIR use Wine tools from directory DIR
1413 --with-x use the X Window System
1415 Some influential environment variables:
1416 CC C compiler command
1417 CFLAGS C compiler flags
1418 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1419 nonstandard directory <lib dir>
1420 LIBS libraries to pass to the linker, e.g. -l<library>
1421 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1422 you have headers in a nonstandard directory <include dir>
1423 CXX C++ compiler command
1424 CXXFLAGS C++ compiler flags
1425 XMKMF Path to xmkmf, Makefile generator for X Window System
1428 Use these variables to override the choices made by `configure' or to help
1429 it to find libraries and programs with nonstandard names/locations.
1431 Report bugs to <wine-devel@winehq.org>.
1436 if test "$ac_init_help" = "recursive"; then
1437 # If there are subdirs, report their specific --help.
1438 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1439 test -d "$ac_dir" || continue
1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1446 # A ".." for each directory in $ac_dir_suffix.
1447 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1448 case $ac_top_builddir_sub in
1449 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1453 ac_abs_top_builddir=$ac_pwd
1454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1455 # for backward compatibility:
1456 ac_top_builddir=$ac_top_build_prefix
1459 .) # We are building in place.
1461 ac_top_srcdir=$ac_top_builddir_sub
1462 ac_abs_top_srcdir=$ac_pwd ;;
1463 [\\/]* | ?:[\\/]* ) # Absolute name.
1464 ac_srcdir=$srcdir$ac_dir_suffix;
1465 ac_top_srcdir=$srcdir
1466 ac_abs_top_srcdir=$srcdir ;;
1468 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1469 ac_top_srcdir=$ac_top_build_prefix$srcdir
1470 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1474 cd "$ac_dir" || { ac_status=$?; continue; }
1475 # Check for guested configure.
1476 if test -f "$ac_srcdir/configure.gnu"; then
1478 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1479 elif test -f "$ac_srcdir/configure"; then
1481 $SHELL "$ac_srcdir/configure" --help=recursive
1483 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1485 cd "$ac_pwd" || { ac_status=$?; break; }
1489 test -n "$ac_init_help" && exit $ac_status
1490 if $ac_init_version; then
1492 Wine configure 0.9.57
1493 generated by GNU Autoconf 2.61
1495 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1496 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1497 This configure script is free software; the Free Software Foundation
1498 gives unlimited permission to copy, distribute and modify it.
1502 cat >config.log <<_ACEOF
1503 This file contains any messages produced by compilers while
1504 running configure, to aid debugging if configure makes a mistake.
1506 It was created by Wine $as_me 0.9.57, which was
1507 generated by GNU Autoconf 2.61. Invocation command line was
1519 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1520 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1521 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1522 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1523 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1525 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1526 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1528 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1529 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1530 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1531 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1532 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1533 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1534 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1542 test -z "$as_dir" && as_dir=.
1543 echo "PATH: $as_dir"
1559 # Keep a trace of the command line.
1560 # Strip out --no-create and --no-recursion so they do not pile up.
1561 # Strip out --silent because we don't want to record it for future runs.
1562 # Also quote any args containing shell meta-characters.
1563 # Make two passes to allow for proper duplicate-argument suppression.
1567 ac_must_keep_next=false
1573 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1574 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1575 | -silent | --silent | --silen | --sile | --sil)
1578 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1581 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1583 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1584 if test $ac_must_keep_next = true; then
1585 ac_must_keep_next=false # Got value, back to normal.
1588 *=* | --config-cache | -C | -disable-* | --disable-* \
1589 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1590 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1591 | -with-* | --with-* | -without-* | --without-* | --x)
1592 case "$ac_configure_args0 " in
1593 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1596 -* ) ac_must_keep_next=true ;;
1599 ac_configure_args="$ac_configure_args '$ac_arg'"
1604 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1605 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1607 # When interrupted or exit'd, cleanup temporary files, and complete
1608 # config.log. We remove comments because anyway the quotes in there
1609 # would cause problems or look ugly.
1610 # WARNING: Use '\'' to represent an apostrophe within the trap.
1611 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1612 trap 'exit_status=$?
1613 # Save into config.log some information that might help in debugging.
1618 ## ---------------- ##
1619 ## Cache variables. ##
1620 ## ---------------- ##
1623 # The following way of writing the cache mishandles newlines in values,
1625 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1626 eval ac_val=\$$ac_var
1630 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1631 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1634 _ | IFS | as_nl) ;; #(
1635 *) $as_unset $ac_var ;;
1640 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1641 *${as_nl}ac_space=\ *)
1643 "s/'\''/'\''\\\\'\'''\''/g;
1644 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1647 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1655 ## ----------------- ##
1656 ## Output variables. ##
1657 ## ----------------- ##
1660 for ac_var in $ac_subst_vars
1662 eval ac_val=\$$ac_var
1664 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1666 echo "$ac_var='\''$ac_val'\''"
1670 if test -n "$ac_subst_files"; then
1672 ## ------------------- ##
1673 ## File substitutions. ##
1674 ## ------------------- ##
1677 for ac_var in $ac_subst_files
1679 eval ac_val=\$$ac_var
1681 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1683 echo "$ac_var='\''$ac_val'\''"
1688 if test -s confdefs.h; then
1698 test "$ac_signal" != 0 &&
1699 echo "$as_me: caught signal $ac_signal"
1700 echo "$as_me: exit $exit_status"
1702 rm -f core *.core core.conftest.* &&
1703 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1706 for ac_signal in 1 2 13 15; do
1707 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1711 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1712 rm -f -r conftest* confdefs.h
1714 # Predefined preprocessor variables.
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_NAME "$PACKAGE_NAME"
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_STRING "$PACKAGE_STRING"
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1741 # Let the site file select an alternate cache file if it wants to.
1742 # Prefer explicitly selected file to automatically selected ones.
1743 if test -n "$CONFIG_SITE"; then
1744 set x "$CONFIG_SITE"
1745 elif test "x$prefix" != xNONE; then
1746 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1748 set x "$ac_default_prefix/share/config.site" \
1749 "$ac_default_prefix/etc/config.site"
1754 if test -r "$ac_site_file"; then
1755 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1756 echo "$as_me: loading site script $ac_site_file" >&6;}
1757 sed 's/^/| /' "$ac_site_file" >&5
1762 if test -r "$cache_file"; then
1763 # Some versions of bash will fail to source /dev/null (special
1764 # files actually), so we avoid doing that.
1765 if test -f "$cache_file"; then
1766 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1767 echo "$as_me: loading cache $cache_file" >&6;}
1769 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1770 *) . "./$cache_file";;
1774 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1775 echo "$as_me: creating cache $cache_file" >&6;}
1779 # Check that the precious variables saved in the cache have kept the same
1781 ac_cache_corrupted=false
1782 for ac_var in $ac_precious_vars; do
1783 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1784 eval ac_new_set=\$ac_env_${ac_var}_set
1785 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1786 eval ac_new_val=\$ac_env_${ac_var}_value
1787 case $ac_old_set,$ac_new_set in
1789 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1790 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1791 ac_cache_corrupted=: ;;
1793 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1794 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1795 ac_cache_corrupted=: ;;
1798 if test "x$ac_old_val" != "x$ac_new_val"; then
1799 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1800 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1801 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1802 echo "$as_me: former value: $ac_old_val" >&2;}
1803 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1804 echo "$as_me: current value: $ac_new_val" >&2;}
1805 ac_cache_corrupted=:
1808 # Pass precious variables to config.status.
1809 if test "$ac_new_set" = set; then
1811 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1812 *) ac_arg=$ac_var=$ac_new_val ;;
1814 case " $ac_configure_args " in
1815 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1816 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1820 if $ac_cache_corrupted; then
1821 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1822 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1823 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1824 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1825 { (exit 1); exit 1; }; }
1853 ac_cpp='$CPP $CPPFLAGS'
1854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1860 ac_config_headers="$ac_config_headers include/config.h"
1863 for ac_dir in tools "$srcdir"/tools; do
1864 if test -f "$ac_dir/install-sh"; then
1866 ac_install_sh="$ac_aux_dir/install-sh -c"
1868 elif test -f "$ac_dir/install.sh"; then
1870 ac_install_sh="$ac_aux_dir/install.sh -c"
1872 elif test -f "$ac_dir/shtool"; then
1874 ac_install_sh="$ac_aux_dir/shtool install -c"
1878 if test -z "$ac_aux_dir"; then
1879 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1880 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1881 { (exit 1); exit 1; }; }
1884 # These three variables are undocumented and unsupported,
1885 # and are intended to be withdrawn in a future Autoconf release.
1886 # They can cause serious problems if a builder's source tree is in a directory
1887 # whose full name contains unusual characters.
1888 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1889 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1890 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1895 # Check whether --enable-win16 was given.
1896 if test "${enable_win16+set}" = set; then
1897 enableval=$enable_win16;
1900 # Check whether --enable-win64 was given.
1901 if test "${enable_win64+set}" = set; then
1902 enableval=$enable_win64;
1905 # Check whether --enable-maintainer-mode was given.
1906 if test "${enable_maintainer_mode+set}" = set; then
1907 enableval=$enable_maintainer_mode;
1915 # Check whether --with-alsa was given.
1916 if test "${with_alsa+set}" = set; then
1917 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1921 # Check whether --with-audioio was given.
1922 if test "${with_audioio+set}" = set; then
1923 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1927 # Check whether --with-capi was given.
1928 if test "${with_capi+set}" = set; then
1929 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1933 # Check whether --with-cms was given.
1934 if test "${with_cms+set}" = set; then
1935 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1939 # Check whether --with-coreaudio was given.
1940 if test "${with_coreaudio+set}" = set; then
1941 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1945 # Check whether --with-cups was given.
1946 if test "${with_cups+set}" = set; then
1947 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1951 # Check whether --with-curses was given.
1952 if test "${with_curses+set}" = set; then
1953 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1957 # Check whether --with-esd was given.
1958 if test "${with_esd+set}" = set; then
1963 # Check whether --with-fontconfig was given.
1964 if test "${with_fontconfig+set}" = set; then
1965 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1969 # Check whether --with-gphoto was given.
1970 if test "${with_gphoto+set}" = set; then
1971 withval=$with_gphoto;
1975 # Check whether --with-hal was given.
1976 if test "${with_hal+set}" = set; then
1981 # Check whether --with-jack was given.
1982 if test "${with_jack+set}" = set; then
1983 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1987 # Check whether --with-jpeg was given.
1988 if test "${with_jpeg+set}" = set; then
1989 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
1993 # Check whether --with-ldap was given.
1994 if test "${with_ldap+set}" = set; then
1995 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
1999 # Check whether --with-nas was given.
2000 if test "${with_nas+set}" = set; then
2001 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2005 # Check whether --with-opengl was given.
2006 if test "${with_opengl+set}" = set; then
2007 withval=$with_opengl;
2011 # Check whether --with-openssl was given.
2012 if test "${with_openssl+set}" = set; then
2013 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2017 # Check whether --with-oss was given.
2018 if test "${with_oss+set}" = set; then
2019 withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi
2023 # Check whether --with-png was given.
2024 if test "${with_png+set}" = set; then
2025 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2029 # Check whether --with-sane was given.
2030 if test "${with_sane+set}" = set; then
2035 # Check whether --with-xcomposite was given.
2036 if test "${with_xcomposite+set}" = set; then
2037 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2041 # Check whether --with-xcursor was given.
2042 if test "${with_xcursor+set}" = set; then
2043 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2047 # Check whether --with-xinerama was given.
2048 if test "${with_xinerama+set}" = set; then
2049 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2053 # Check whether --with-xinput was given.
2054 if test "${with_xinput+set}" = set; then
2055 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2059 # Check whether --with-xml was given.
2060 if test "${with_xml+set}" = set; then
2065 # Check whether --with-xrandr was given.
2066 if test "${with_xrandr+set}" = set; then
2067 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2071 # Check whether --with-xrender was given.
2072 if test "${with_xrender+set}" = set; then
2073 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2077 # Check whether --with-xshape was given.
2078 if test "${with_xshape+set}" = set; then
2079 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2083 # Check whether --with-xshm was given.
2084 if test "${with_xshm+set}" = set; then
2085 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2089 # Check whether --with-xslt was given.
2090 if test "${with_xslt+set}" = set; then
2095 # Check whether --with-xvidmode was given.
2096 if test "${with_xvidmode+set}" = set; then
2097 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2102 # Check whether --with-wine-tools was given.
2103 if test "${with_wine_tools+set}" = set; then
2104 withval=$with_wine_tools;
2108 # Make sure we can run config.sub.
2109 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2110 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2111 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2112 { (exit 1); exit 1; }; }
2114 { echo "$as_me:$LINENO: checking build system type" >&5
2115 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2116 if test "${ac_cv_build+set}" = set; then
2117 echo $ECHO_N "(cached) $ECHO_C" >&6
2119 ac_build_alias=$build_alias
2120 test "x$ac_build_alias" = x &&
2121 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2122 test "x$ac_build_alias" = x &&
2123 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2124 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2125 { (exit 1); exit 1; }; }
2126 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2127 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2128 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2129 { (exit 1); exit 1; }; }
2132 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2133 echo "${ECHO_T}$ac_cv_build" >&6; }
2134 case $ac_cv_build in
2136 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2137 echo "$as_me: error: invalid value of canonical build" >&2;}
2138 { (exit 1); exit 1; }; };;
2141 ac_save_IFS=$IFS; IFS='-'
2147 # Remember, the first character of IFS is used to create $*,
2148 # except with old shells:
2151 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2154 { echo "$as_me:$LINENO: checking host system type" >&5
2155 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2156 if test "${ac_cv_host+set}" = set; then
2157 echo $ECHO_N "(cached) $ECHO_C" >&6
2159 if test "x$host_alias" = x; then
2160 ac_cv_host=$ac_cv_build
2162 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2163 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2164 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2165 { (exit 1); exit 1; }; }
2169 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2170 echo "${ECHO_T}$ac_cv_host" >&6; }
2173 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2174 echo "$as_me: error: invalid value of canonical host" >&2;}
2175 { (exit 1); exit 1; }; };;
2178 ac_save_IFS=$IFS; IFS='-'
2184 # Remember, the first character of IFS is used to create $*,
2185 # except with old shells:
2188 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2193 if test "x$enable_win64" != "xyes"
2195 test -n "$CC" || CC="gcc -m32"
2196 test -n "$CXX"|| CXX="g++ -m32"
2197 test -n "$LD" || LD="ld -m elf_i386"
2198 test -n "$AS" || AS="as --32"
2206 if test "x$enable_win16" != "xno"
2213 WIN16_FILES="\$(WIN16_FILES)"
2215 WIN16_INSTALL="\$(WIN16_INSTALL)"
2217 if test "x$enable_win16" != "xyes"
2225 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2226 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2227 You need to run 'make distclean' in the source tree first." >&5
2228 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2229 You need to run 'make distclean' in the source tree first." >&2;}
2230 { (exit 1); exit 1; }; }
2235 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2236 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2237 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2238 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2241 cat >conftest.make <<\_ACEOF
2244 @echo '@@@%%%=$(MAKE)=@@@%%%'
2246 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2247 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2249 eval ac_cv_prog_make_${ac_make}_set=yes;;
2251 eval ac_cv_prog_make_${ac_make}_set=no;;
2255 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2256 { echo "$as_me:$LINENO: result: yes" >&5
2257 echo "${ECHO_T}yes" >&6; }
2260 { echo "$as_me:$LINENO: result: no" >&5
2261 echo "${ECHO_T}no" >&6; }
2262 SET_MAKE="MAKE=${MAKE-make}"
2266 ac_cpp='$CPP $CPPFLAGS'
2267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2270 if test -n "$ac_tool_prefix"; then
2271 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2272 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2275 if test "${ac_cv_prog_CC+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2278 if test -n "$CC"; then
2279 ac_cv_prog_CC="$CC" # Let the user override the test.
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285 test -z "$as_dir" && as_dir=.
2286 for ac_exec_ext in '' $ac_executable_extensions; do
2287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2288 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2299 if test -n "$CC"; then
2300 { echo "$as_me:$LINENO: result: $CC" >&5
2301 echo "${ECHO_T}$CC" >&6; }
2303 { echo "$as_me:$LINENO: result: no" >&5
2304 echo "${ECHO_T}no" >&6; }
2309 if test -z "$ac_cv_prog_CC"; then
2311 # Extract the first word of "gcc", so it can be a program name with args.
2312 set dummy gcc; ac_word=$2
2313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2315 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2316 echo $ECHO_N "(cached) $ECHO_C" >&6
2318 if test -n "$ac_ct_CC"; then
2319 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2325 test -z "$as_dir" && as_dir=.
2326 for ac_exec_ext in '' $ac_executable_extensions; do
2327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328 ac_cv_prog_ac_ct_CC="gcc"
2329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2339 if test -n "$ac_ct_CC"; then
2340 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2341 echo "${ECHO_T}$ac_ct_CC" >&6; }
2343 { echo "$as_me:$LINENO: result: no" >&5
2344 echo "${ECHO_T}no" >&6; }
2347 if test "x$ac_ct_CC" = x; then
2350 case $cross_compiling:$ac_tool_warned in
2352 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2353 whose name does not start with the host triplet. If you think this
2354 configuration is useful to you, please write to autoconf@gnu.org." >&5
2355 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2356 whose name does not start with the host triplet. If you think this
2357 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2358 ac_tool_warned=yes ;;
2366 if test -z "$CC"; then
2367 if test -n "$ac_tool_prefix"; then
2368 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2369 set dummy ${ac_tool_prefix}cc; ac_word=$2
2370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2372 if test "${ac_cv_prog_CC+set}" = set; then
2373 echo $ECHO_N "(cached) $ECHO_C" >&6
2375 if test -n "$CC"; then
2376 ac_cv_prog_CC="$CC" # Let the user override the test.
2378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2382 test -z "$as_dir" && as_dir=.
2383 for ac_exec_ext in '' $ac_executable_extensions; do
2384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2385 ac_cv_prog_CC="${ac_tool_prefix}cc"
2386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2396 if test -n "$CC"; then
2397 { echo "$as_me:$LINENO: result: $CC" >&5
2398 echo "${ECHO_T}$CC" >&6; }
2400 { echo "$as_me:$LINENO: result: no" >&5
2401 echo "${ECHO_T}no" >&6; }
2407 if test -z "$CC"; then
2408 # Extract the first word of "cc", so it can be a program name with args.
2409 set dummy cc; ac_word=$2
2410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2412 if test "${ac_cv_prog_CC+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6
2415 if test -n "$CC"; then
2416 ac_cv_prog_CC="$CC" # Let the user override the test.
2419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2423 test -z "$as_dir" && as_dir=.
2424 for ac_exec_ext in '' $ac_executable_extensions; do
2425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2426 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2427 ac_prog_rejected=yes
2431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2438 if test $ac_prog_rejected = yes; then
2439 # We found a bogon in the path, so make sure we never use it.
2440 set dummy $ac_cv_prog_CC
2442 if test $# != 0; then
2443 # We chose a different compiler from the bogus one.
2444 # However, it has the same basename, so the bogon will be chosen
2445 # first if we set CC to just the basename; use the full file name.
2447 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2453 if test -n "$CC"; then
2454 { echo "$as_me:$LINENO: result: $CC" >&5
2455 echo "${ECHO_T}$CC" >&6; }
2457 { echo "$as_me:$LINENO: result: no" >&5
2458 echo "${ECHO_T}no" >&6; }
2463 if test -z "$CC"; then
2464 if test -n "$ac_tool_prefix"; then
2465 for ac_prog in cl.exe
2467 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2468 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2471 if test "${ac_cv_prog_CC+set}" = set; then
2472 echo $ECHO_N "(cached) $ECHO_C" >&6
2474 if test -n "$CC"; then
2475 ac_cv_prog_CC="$CC" # Let the user override the test.
2477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2481 test -z "$as_dir" && as_dir=.
2482 for ac_exec_ext in '' $ac_executable_extensions; do
2483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2484 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2495 if test -n "$CC"; then
2496 { echo "$as_me:$LINENO: result: $CC" >&5
2497 echo "${ECHO_T}$CC" >&6; }
2499 { echo "$as_me:$LINENO: result: no" >&5
2500 echo "${ECHO_T}no" >&6; }
2504 test -n "$CC" && break
2507 if test -z "$CC"; then
2509 for ac_prog in cl.exe
2511 # Extract the first word of "$ac_prog", so it can be a program name with args.
2512 set dummy $ac_prog; ac_word=$2
2513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2515 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2518 if test -n "$ac_ct_CC"; then
2519 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 test -z "$as_dir" && as_dir=.
2526 for ac_exec_ext in '' $ac_executable_extensions; do
2527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2528 ac_cv_prog_ac_ct_CC="$ac_prog"
2529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2538 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2539 if test -n "$ac_ct_CC"; then
2540 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2541 echo "${ECHO_T}$ac_ct_CC" >&6; }
2543 { echo "$as_me:$LINENO: result: no" >&5
2544 echo "${ECHO_T}no" >&6; }
2548 test -n "$ac_ct_CC" && break
2551 if test "x$ac_ct_CC" = x; then
2554 case $cross_compiling:$ac_tool_warned in
2556 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2557 whose name does not start with the host triplet. If you think this
2558 configuration is useful to you, please write to autoconf@gnu.org." >&5
2559 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2560 whose name does not start with the host triplet. If you think this
2561 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2562 ac_tool_warned=yes ;;
2571 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2572 See \`config.log' for more details." >&5
2573 echo "$as_me: error: no acceptable C compiler found in \$PATH
2574 See \`config.log' for more details." >&2;}
2575 { (exit 1); exit 1; }; }
2577 # Provide some information about the compiler.
2578 echo "$as_me:$LINENO: checking for C compiler version" >&5
2579 ac_compiler=`set X $ac_compile; echo $2`
2580 { (ac_try="$ac_compiler --version >&5"
2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2586 (eval "$ac_compiler --version >&5") 2>&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); }
2590 { (ac_try="$ac_compiler -v >&5"
2592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2593 *) ac_try_echo=$ac_try;;
2595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2596 (eval "$ac_compiler -v >&5") 2>&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }
2600 { (ac_try="$ac_compiler -V >&5"
2602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2603 *) ac_try_echo=$ac_try;;
2605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2606 (eval "$ac_compiler -V >&5") 2>&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); }
2611 cat >conftest.$ac_ext <<_ACEOF
2614 cat confdefs.h >>conftest.$ac_ext
2615 cat >>conftest.$ac_ext <<_ACEOF
2616 /* end confdefs.h. */
2626 ac_clean_files_save=$ac_clean_files
2627 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2628 # Try to create an executable without -o first, disregard a.out.
2629 # It will help us diagnose broken compilers, and finding out an intuition
2631 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2632 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2633 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2635 # List of possible output files, starting from the most likely.
2636 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2637 # only as a last resort. b.out is created by i960 compilers.
2638 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2640 # The IRIX 6 linker writes into existing files which may not be
2641 # executable, retaining their permissions. Remove them first so a
2642 # subsequent execution test works.
2644 for ac_file in $ac_files
2647 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2648 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2653 if { (ac_try="$ac_link_default"
2655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2659 (eval "$ac_link_default") 2>&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; then
2663 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2664 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2665 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2666 # so that the user can short-circuit this test for compilers unknown to
2668 for ac_file in $ac_files ''
2670 test -f "$ac_file" || continue
2672 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2675 # We found the default executable, but exeext='' is most
2679 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2681 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2683 # We set ac_cv_exeext here because the later test for it is not
2684 # safe: cross compilers may not add the suffix if given an `-o'
2685 # argument, so we may need to know it at that point already.
2686 # Even if this section looks crufty: it has the advantage of
2693 test "$ac_cv_exeext" = no && ac_cv_exeext=
2699 { echo "$as_me:$LINENO: result: $ac_file" >&5
2700 echo "${ECHO_T}$ac_file" >&6; }
2701 if test -z "$ac_file"; then
2702 echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.$ac_ext >&5
2705 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2706 See \`config.log' for more details." >&5
2707 echo "$as_me: error: C compiler cannot create executables
2708 See \`config.log' for more details." >&2;}
2709 { (exit 77); exit 77; }; }
2712 ac_exeext=$ac_cv_exeext
2714 # Check that the compiler produces executables we can run. If not, either
2715 # the compiler is broken, or we cross compile.
2716 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2717 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2718 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2719 # If not cross compiling, check that we can run a simple program.
2720 if test "$cross_compiling" != yes; then
2721 if { ac_try='./$ac_file'
2722 { (case "(($ac_try" in
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2727 (eval "$ac_try") 2>&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); }; }; then
2733 if test "$cross_compiling" = maybe; then
2736 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2737 If you meant to cross compile, use \`--host'.
2738 See \`config.log' for more details." >&5
2739 echo "$as_me: error: cannot run C compiled programs.
2740 If you meant to cross compile, use \`--host'.
2741 See \`config.log' for more details." >&2;}
2742 { (exit 1); exit 1; }; }
2746 { echo "$as_me:$LINENO: result: yes" >&5
2747 echo "${ECHO_T}yes" >&6; }
2749 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2750 ac_clean_files=$ac_clean_files_save
2751 # Check that the compiler produces executables we can run. If not, either
2752 # the compiler is broken, or we cross compile.
2753 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2754 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2755 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2756 echo "${ECHO_T}$cross_compiling" >&6; }
2758 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2759 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2760 if { (ac_try="$ac_link"
2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2766 (eval "$ac_link") 2>&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; then
2770 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2771 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2772 # work properly (i.e., refer to `conftest.exe'), while it won't with
2774 for ac_file in conftest.exe conftest conftest.*; do
2775 test -f "$ac_file" || continue
2777 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2778 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2784 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2785 See \`config.log' for more details." >&5
2786 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2787 See \`config.log' for more details." >&2;}
2788 { (exit 1); exit 1; }; }
2791 rm -f conftest$ac_cv_exeext
2792 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2793 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2795 rm -f conftest.$ac_ext
2796 EXEEXT=$ac_cv_exeext
2798 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2799 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2800 if test "${ac_cv_objext+set}" = set; then
2801 echo $ECHO_N "(cached) $ECHO_C" >&6
2803 cat >conftest.$ac_ext <<_ACEOF
2806 cat confdefs.h >>conftest.$ac_ext
2807 cat >>conftest.$ac_ext <<_ACEOF
2808 /* end confdefs.h. */
2818 rm -f conftest.o conftest.obj
2819 if { (ac_try="$ac_compile"
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2825 (eval "$ac_compile") 2>&5
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); }; then
2829 for ac_file in conftest.o conftest.obj conftest.*; do
2830 test -f "$ac_file" || continue;
2832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2833 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2838 echo "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.$ac_ext >&5
2841 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2842 See \`config.log' for more details." >&5
2843 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2844 See \`config.log' for more details." >&2;}
2845 { (exit 1); exit 1; }; }
2848 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2850 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2851 echo "${ECHO_T}$ac_cv_objext" >&6; }
2852 OBJEXT=$ac_cv_objext
2854 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2855 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2856 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2857 echo $ECHO_N "(cached) $ECHO_C" >&6
2859 cat >conftest.$ac_ext <<_ACEOF
2862 cat confdefs.h >>conftest.$ac_ext
2863 cat >>conftest.$ac_ext <<_ACEOF
2864 /* end confdefs.h. */
2877 rm -f conftest.$ac_objext
2878 if { (ac_try="$ac_compile"
2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2884 (eval "$ac_compile") 2>conftest.er1
2886 grep -v '^ *+' conftest.er1 >conftest.err
2888 cat conftest.err >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); } && {
2891 test -z "$ac_c_werror_flag" ||
2892 test ! -s conftest.err
2893 } && test -s conftest.$ac_objext; then
2896 echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2903 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2906 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2907 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2908 GCC=`test $ac_compiler_gnu = yes && echo yes`
2909 ac_test_CFLAGS=${CFLAGS+set}
2910 ac_save_CFLAGS=$CFLAGS
2911 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2912 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2913 if test "${ac_cv_prog_cc_g+set}" = set; then
2914 echo $ECHO_N "(cached) $ECHO_C" >&6
2916 ac_save_c_werror_flag=$ac_c_werror_flag
2917 ac_c_werror_flag=yes
2920 cat >conftest.$ac_ext <<_ACEOF
2923 cat confdefs.h >>conftest.$ac_ext
2924 cat >>conftest.$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2935 rm -f conftest.$ac_objext
2936 if { (ac_try="$ac_compile"
2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939 *) ac_try_echo=$ac_try;;
2941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2942 (eval "$ac_compile") 2>conftest.er1
2944 grep -v '^ *+' conftest.er1 >conftest.err
2946 cat conftest.err >&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); } && {
2949 test -z "$ac_c_werror_flag" ||
2950 test ! -s conftest.err
2951 } && test -s conftest.$ac_objext; then
2954 echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2958 cat >conftest.$ac_ext <<_ACEOF
2961 cat confdefs.h >>conftest.$ac_ext
2962 cat >>conftest.$ac_ext <<_ACEOF
2963 /* end confdefs.h. */
2973 rm -f conftest.$ac_objext
2974 if { (ac_try="$ac_compile"
2976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2980 (eval "$ac_compile") 2>conftest.er1
2982 grep -v '^ *+' conftest.er1 >conftest.err
2984 cat conftest.err >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); } && {
2987 test -z "$ac_c_werror_flag" ||
2988 test ! -s conftest.err
2989 } && test -s conftest.$ac_objext; then
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2995 ac_c_werror_flag=$ac_save_c_werror_flag
2997 cat >conftest.$ac_ext <<_ACEOF
3000 cat confdefs.h >>conftest.$ac_ext
3001 cat >>conftest.$ac_ext <<_ACEOF
3002 /* end confdefs.h. */
3012 rm -f conftest.$ac_objext
3013 if { (ac_try="$ac_compile"
3015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3019 (eval "$ac_compile") 2>conftest.er1
3021 grep -v '^ *+' conftest.er1 >conftest.err
3023 cat conftest.err >&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); } && {
3026 test -z "$ac_c_werror_flag" ||
3027 test ! -s conftest.err
3028 } && test -s conftest.$ac_objext; then
3031 echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.$ac_ext >&5
3037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3044 ac_c_werror_flag=$ac_save_c_werror_flag
3046 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3047 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3048 if test "$ac_test_CFLAGS" = set; then
3049 CFLAGS=$ac_save_CFLAGS
3050 elif test $ac_cv_prog_cc_g = yes; then
3051 if test "$GCC" = yes; then
3057 if test "$GCC" = yes; then
3063 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3064 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3065 if test "${ac_cv_prog_cc_c89+set}" = set; then
3066 echo $ECHO_N "(cached) $ECHO_C" >&6
3068 ac_cv_prog_cc_c89=no
3070 cat >conftest.$ac_ext <<_ACEOF
3073 cat confdefs.h >>conftest.$ac_ext
3074 cat >>conftest.$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3078 #include <sys/types.h>
3079 #include <sys/stat.h>
3080 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3081 struct buf { int x; };
3082 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3083 static char *e (p, i)
3089 static char *f (char * (*g) (char **, int), char **p, ...)
3094 s = g (p, va_arg (v,int));
3099 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3100 function prototypes and stuff, but not '\xHH' hex character constants.
3101 These don't provoke an error unfortunately, instead are silently treated
3102 as 'x'. The following induces an error, until -std is added to get
3103 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3104 array size at least. It's necessary to write '\x00'==0 to get something
3105 that's true only with -std. */
3106 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3108 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3109 inside strings and character constants. */
3111 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3113 int test (int i, double x);
3114 struct s1 {int (*f) (int a);};
3115 struct s2 {int (*f) (double a);};
3116 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3122 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3127 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3128 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3130 CC="$ac_save_CC $ac_arg"
3131 rm -f conftest.$ac_objext
3132 if { (ac_try="$ac_compile"
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3138 (eval "$ac_compile") 2>conftest.er1
3140 grep -v '^ *+' conftest.er1 >conftest.err
3142 cat conftest.err >&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } && {
3145 test -z "$ac_c_werror_flag" ||
3146 test ! -s conftest.err
3147 } && test -s conftest.$ac_objext; then
3148 ac_cv_prog_cc_c89=$ac_arg
3150 echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3156 rm -f core conftest.err conftest.$ac_objext
3157 test "x$ac_cv_prog_cc_c89" != "xno" && break
3159 rm -f conftest.$ac_ext
3164 case "x$ac_cv_prog_cc_c89" in
3166 { echo "$as_me:$LINENO: result: none needed" >&5
3167 echo "${ECHO_T}none needed" >&6; } ;;
3169 { echo "$as_me:$LINENO: result: unsupported" >&5
3170 echo "${ECHO_T}unsupported" >&6; } ;;
3172 CC="$CC $ac_cv_prog_cc_c89"
3173 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3174 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3179 ac_cpp='$CPP $CPPFLAGS'
3180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3185 ac_cpp='$CXXCPP $CPPFLAGS'
3186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3189 if test -z "$CXX"; then
3190 if test -n "$CCC"; then
3193 if test -n "$ac_tool_prefix"; then
3194 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3196 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3200 if test "${ac_cv_prog_CXX+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 if test -n "$CXX"; then
3204 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir=.
3211 for ac_exec_ext in '' $ac_executable_extensions; do
3212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3213 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 if test -n "$CXX"; then
3225 { echo "$as_me:$LINENO: result: $CXX" >&5
3226 echo "${ECHO_T}$CXX" >&6; }
3228 { echo "$as_me:$LINENO: result: no" >&5
3229 echo "${ECHO_T}no" >&6; }
3233 test -n "$CXX" && break
3236 if test -z "$CXX"; then
3238 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3240 # Extract the first word of "$ac_prog", so it can be a program name with args.
3241 set dummy $ac_prog; ac_word=$2
3242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3244 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 if test -n "$ac_ct_CXX"; then
3248 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3254 test -z "$as_dir" && as_dir=.
3255 for ac_exec_ext in '' $ac_executable_extensions; do
3256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3257 ac_cv_prog_ac_ct_CXX="$ac_prog"
3258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3267 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3268 if test -n "$ac_ct_CXX"; then
3269 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3270 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3272 { echo "$as_me:$LINENO: result: no" >&5
3273 echo "${ECHO_T}no" >&6; }
3277 test -n "$ac_ct_CXX" && break
3280 if test "x$ac_ct_CXX" = x; then
3283 case $cross_compiling:$ac_tool_warned in
3285 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3286 whose name does not start with the host triplet. If you think this
3287 configuration is useful to you, please write to autoconf@gnu.org." >&5
3288 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3289 whose name does not start with the host triplet. If you think this
3290 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3291 ac_tool_warned=yes ;;
3299 # Provide some information about the compiler.
3300 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3301 ac_compiler=`set X $ac_compile; echo $2`
3302 { (ac_try="$ac_compiler --version >&5"
3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305 *) ac_try_echo=$ac_try;;
3307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3308 (eval "$ac_compiler --version >&5") 2>&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }
3312 { (ac_try="$ac_compiler -v >&5"
3314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3315 *) ac_try_echo=$ac_try;;
3317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3318 (eval "$ac_compiler -v >&5") 2>&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }
3322 { (ac_try="$ac_compiler -V >&5"
3324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3325 *) ac_try_echo=$ac_try;;
3327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3328 (eval "$ac_compiler -V >&5") 2>&5
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); }
3333 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3334 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3335 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3336 echo $ECHO_N "(cached) $ECHO_C" >&6
3338 cat >conftest.$ac_ext <<_ACEOF
3341 cat confdefs.h >>conftest.$ac_ext
3342 cat >>conftest.$ac_ext <<_ACEOF
3343 /* end confdefs.h. */
3356 rm -f conftest.$ac_objext
3357 if { (ac_try="$ac_compile"
3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360 *) ac_try_echo=$ac_try;;
3362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3363 (eval "$ac_compile") 2>conftest.er1
3365 grep -v '^ *+' conftest.er1 >conftest.err
3367 cat conftest.err >&5
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); } && {
3370 test -z "$ac_cxx_werror_flag" ||
3371 test ! -s conftest.err
3372 } && test -s conftest.$ac_objext; then
3375 echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.$ac_ext >&5
3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3385 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3386 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3387 GXX=`test $ac_compiler_gnu = yes && echo yes`
3388 ac_test_CXXFLAGS=${CXXFLAGS+set}
3389 ac_save_CXXFLAGS=$CXXFLAGS
3390 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3391 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3392 if test "${ac_cv_prog_cxx_g+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3395 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3396 ac_cxx_werror_flag=yes
3399 cat >conftest.$ac_ext <<_ACEOF
3402 cat confdefs.h >>conftest.$ac_ext
3403 cat >>conftest.$ac_ext <<_ACEOF
3404 /* end confdefs.h. */
3414 rm -f conftest.$ac_objext
3415 if { (ac_try="$ac_compile"
3417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3418 *) ac_try_echo=$ac_try;;
3420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3421 (eval "$ac_compile") 2>conftest.er1
3423 grep -v '^ *+' conftest.er1 >conftest.err
3425 cat conftest.err >&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); } && {
3428 test -z "$ac_cxx_werror_flag" ||
3429 test ! -s conftest.err
3430 } && test -s conftest.$ac_objext; then
3431 ac_cv_prog_cxx_g=yes
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.$ac_ext >&5
3437 cat >conftest.$ac_ext <<_ACEOF
3440 cat confdefs.h >>conftest.$ac_ext
3441 cat >>conftest.$ac_ext <<_ACEOF
3442 /* end confdefs.h. */
3452 rm -f conftest.$ac_objext
3453 if { (ac_try="$ac_compile"
3455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456 *) ac_try_echo=$ac_try;;
3458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3459 (eval "$ac_compile") 2>conftest.er1
3461 grep -v '^ *+' conftest.er1 >conftest.err
3463 cat conftest.err >&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); } && {
3466 test -z "$ac_cxx_werror_flag" ||
3467 test ! -s conftest.err
3468 } && test -s conftest.$ac_objext; then
3471 echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.$ac_ext >&5
3474 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3476 cat >conftest.$ac_ext <<_ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3491 rm -f conftest.$ac_objext
3492 if { (ac_try="$ac_compile"
3494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495 *) ac_try_echo=$ac_try;;
3497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3498 (eval "$ac_compile") 2>conftest.er1
3500 grep -v '^ *+' conftest.er1 >conftest.err
3502 cat conftest.err >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); } && {
3505 test -z "$ac_cxx_werror_flag" ||
3506 test ! -s conftest.err
3507 } && test -s conftest.$ac_objext; then
3508 ac_cv_prog_cxx_g=yes
3510 echo "$as_me: failed program was:" >&5
3511 sed 's/^/| /' conftest.$ac_ext >&5
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3525 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3526 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3527 if test "$ac_test_CXXFLAGS" = set; then
3528 CXXFLAGS=$ac_save_CXXFLAGS
3529 elif test $ac_cv_prog_cxx_g = yes; then
3530 if test "$GXX" = yes; then
3536 if test "$GXX" = yes; then
3543 ac_cpp='$CPP $CPPFLAGS'
3544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3548 if test -n "$ac_tool_prefix"; then
3549 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3550 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3553 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3556 if test -n "$CPPBIN"; then
3557 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3563 test -z "$as_dir" && as_dir=.
3564 for ac_exec_ext in '' $ac_executable_extensions; do
3565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3566 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 CPPBIN=$ac_cv_prog_CPPBIN
3577 if test -n "$CPPBIN"; then
3578 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3579 echo "${ECHO_T}$CPPBIN" >&6; }
3581 { echo "$as_me:$LINENO: result: no" >&5
3582 echo "${ECHO_T}no" >&6; }
3587 if test -z "$ac_cv_prog_CPPBIN"; then
3588 ac_ct_CPPBIN=$CPPBIN
3589 # Extract the first word of "cpp", so it can be a program name with args.
3590 set dummy cpp; ac_word=$2
3591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3593 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3596 if test -n "$ac_ct_CPPBIN"; then
3597 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3603 test -z "$as_dir" && as_dir=.
3604 for ac_exec_ext in '' $ac_executable_extensions; do
3605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3606 ac_cv_prog_ac_ct_CPPBIN="cpp"
3607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3617 if test -n "$ac_ct_CPPBIN"; then
3618 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3619 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3621 { echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6; }
3625 if test "x$ac_ct_CPPBIN" = x; then
3628 case $cross_compiling:$ac_tool_warned in
3630 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3631 whose name does not start with the host triplet. If you think this
3632 configuration is useful to you, please write to autoconf@gnu.org." >&5
3633 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3634 whose name does not start with the host triplet. If you think this
3635 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3636 ac_tool_warned=yes ;;
3638 CPPBIN=$ac_ct_CPPBIN
3641 CPPBIN="$ac_cv_prog_CPPBIN"
3645 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3646 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3647 if test "${wine_cv_toolsdir+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3650 if test -z "$with_wine_tools"; then
3651 if test "$cross_compiling" = "yes"; then
3652 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3653 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3654 { (exit 1); exit 1; }; }
3656 wine_cv_toolsdir="\$(TOPOBJDIR)"
3658 elif test -d "$with_wine_tools/tools/winebuild"; then
3659 case $with_wine_tools in
3660 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3661 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3664 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3665 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3666 { (exit 1); exit 1; }; }
3669 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3670 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3671 TOOLSDIR=$wine_cv_toolsdir
3676 ac_cpp='$CPP $CPPFLAGS'
3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3681 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3682 # On Suns, sometimes $CPP names a directory.
3683 if test -n "$CPP" && test -d "$CPP"; then
3686 if test -z "$CPP"; then
3687 if test "${ac_cv_prog_CPP+set}" = set; then
3688 echo $ECHO_N "(cached) $ECHO_C" >&6
3690 # Double quotes because CPP needs to be expanded
3691 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3694 for ac_c_preproc_warn_flag in '' yes
3696 # Use a header file that comes with gcc, so configuring glibc
3697 # with a fresh cross-compiler works.
3698 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3699 # <limits.h> exists even on freestanding compilers.
3700 # On the NeXT, cc -E runs the code through the compiler's parser,
3701 # not just through cpp. "Syntax error" is here to catch this case.
3702 cat >conftest.$ac_ext <<_ACEOF
3705 cat confdefs.h >>conftest.$ac_ext
3706 cat >>conftest.$ac_ext <<_ACEOF
3707 /* end confdefs.h. */
3709 # include <limits.h>
3711 # include <assert.h>
3715 if { (ac_try="$ac_cpp conftest.$ac_ext"
3717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3718 *) ac_try_echo=$ac_try;;
3720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3723 grep -v '^ *+' conftest.er1 >conftest.err
3725 cat conftest.err >&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); } >/dev/null && {
3728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3729 test ! -s conftest.err
3733 echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3736 # Broken: fails on valid input.
3740 rm -f conftest.err conftest.$ac_ext
3742 # OK, works on sane cases. Now check whether nonexistent headers
3743 # can be detected and how.
3744 cat >conftest.$ac_ext <<_ACEOF
3747 cat confdefs.h >>conftest.$ac_ext
3748 cat >>conftest.$ac_ext <<_ACEOF
3749 /* end confdefs.h. */
3750 #include <ac_nonexistent.h>
3752 if { (ac_try="$ac_cpp conftest.$ac_ext"
3754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3755 *) ac_try_echo=$ac_try;;
3757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3760 grep -v '^ *+' conftest.er1 >conftest.err
3762 cat conftest.err >&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); } >/dev/null && {
3765 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3766 test ! -s conftest.err
3768 # Broken: success on invalid input.
3771 echo "$as_me: failed program was:" >&5
3772 sed 's/^/| /' conftest.$ac_ext >&5
3774 # Passes both tests.
3779 rm -f conftest.err conftest.$ac_ext
3782 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3783 rm -f conftest.err conftest.$ac_ext
3784 if $ac_preproc_ok; then
3796 { echo "$as_me:$LINENO: result: $CPP" >&5
3797 echo "${ECHO_T}$CPP" >&6; }
3799 for ac_c_preproc_warn_flag in '' yes
3801 # Use a header file that comes with gcc, so configuring glibc
3802 # with a fresh cross-compiler works.
3803 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3804 # <limits.h> exists even on freestanding compilers.
3805 # On the NeXT, cc -E runs the code through the compiler's parser,
3806 # not just through cpp. "Syntax error" is here to catch this case.
3807 cat >conftest.$ac_ext <<_ACEOF
3810 cat confdefs.h >>conftest.$ac_ext
3811 cat >>conftest.$ac_ext <<_ACEOF
3812 /* end confdefs.h. */
3814 # include <limits.h>
3816 # include <assert.h>
3820 if { (ac_try="$ac_cpp conftest.$ac_ext"
3822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3823 *) ac_try_echo=$ac_try;;
3825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3828 grep -v '^ *+' conftest.er1 >conftest.err
3830 cat conftest.err >&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); } >/dev/null && {
3833 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3834 test ! -s conftest.err
3838 echo "$as_me: failed program was:" >&5
3839 sed 's/^/| /' conftest.$ac_ext >&5
3841 # Broken: fails on valid input.
3845 rm -f conftest.err conftest.$ac_ext
3847 # OK, works on sane cases. Now check whether nonexistent headers
3848 # can be detected and how.
3849 cat >conftest.$ac_ext <<_ACEOF
3852 cat confdefs.h >>conftest.$ac_ext
3853 cat >>conftest.$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3855 #include <ac_nonexistent.h>
3857 if { (ac_try="$ac_cpp conftest.$ac_ext"
3859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3865 grep -v '^ *+' conftest.er1 >conftest.err
3867 cat conftest.err >&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); } >/dev/null && {
3870 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3871 test ! -s conftest.err
3873 # Broken: success on invalid input.
3876 echo "$as_me: failed program was:" >&5
3877 sed 's/^/| /' conftest.$ac_ext >&5
3879 # Passes both tests.
3884 rm -f conftest.err conftest.$ac_ext
3887 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3888 rm -f conftest.err conftest.$ac_ext
3889 if $ac_preproc_ok; then
3892 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3893 See \`config.log' for more details." >&5
3894 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3895 See \`config.log' for more details." >&2;}
3896 { (exit 1); exit 1; }; }
3900 ac_cpp='$CPP $CPPFLAGS'
3901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3906 { echo "$as_me:$LINENO: checking for X" >&5
3907 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3910 # Check whether --with-x was given.
3911 if test "${with_x+set}" = set; then
3915 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3916 if test "x$with_x" = xno; then
3917 # The user explicitly disabled X.
3920 case $x_includes,$x_libraries in #(
3921 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3922 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3923 { (exit 1); exit 1; }; };; #(
3924 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 # One or both of the vars are not set, and there is no cached value.
3928 ac_x_includes=no ac_x_libraries=no
3929 rm -f -r conftest.dir
3930 if mkdir conftest.dir; then
3932 cat >Imakefile <<'_ACEOF'
3934 @echo incroot='${INCROOT}'
3936 @echo usrlibdir='${USRLIBDIR}'
3938 @echo libdir='${LIBDIR}'
3940 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3941 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3942 for ac_var in incroot usrlibdir libdir; do
3943 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3945 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3946 for ac_extension in a so sl; do
3947 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3948 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3949 ac_im_usrlibdir=$ac_im_libdir; break
3952 # Screen out bogus values from the imake configuration. They are
3953 # bogus both because they are the default anyway, and because
3954 # using them would break gcc on systems where it needs fixed includes.
3955 case $ac_im_incroot in
3956 /usr/include) ac_x_includes= ;;
3957 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3959 case $ac_im_usrlibdir in
3961 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3965 rm -f -r conftest.dir
3968 # Standard set of common directories for X headers.
3969 # Check X11 before X11Rn because it is often a symlink to the current release.
3981 /usr/local/X11/include
3982 /usr/local/X11R6/include
3983 /usr/local/X11R5/include
3984 /usr/local/X11R4/include
3986 /usr/local/include/X11
3987 /usr/local/include/X11R6
3988 /usr/local/include/X11R5
3989 /usr/local/include/X11R4
3993 /usr/XFree86/include/X11
3997 /usr/unsupported/include
3999 /usr/local/x11r5/include
4000 /usr/lpp/Xamples/include
4002 /usr/openwin/include
4003 /usr/openwin/share/include'
4005 if test "$ac_x_includes" = no; then
4006 # Guess where to find include files, by looking for Xlib.h.
4007 # First, try using that file with no special directory specified.
4008 cat >conftest.$ac_ext <<_ACEOF
4011 cat confdefs.h >>conftest.$ac_ext
4012 cat >>conftest.$ac_ext <<_ACEOF
4013 /* end confdefs.h. */
4014 #include <X11/Xlib.h>
4016 if { (ac_try="$ac_cpp conftest.$ac_ext"
4018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019 *) ac_try_echo=$ac_try;;
4021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4022 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4024 grep -v '^ *+' conftest.er1 >conftest.err
4026 cat conftest.err >&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } >/dev/null && {
4029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4030 test ! -s conftest.err
4032 # We can compile using X headers with no special include directory.
4035 echo "$as_me: failed program was:" >&5
4036 sed 's/^/| /' conftest.$ac_ext >&5
4038 for ac_dir in $ac_x_header_dirs; do
4039 if test -r "$ac_dir/X11/Xlib.h"; then
4040 ac_x_includes=$ac_dir
4046 rm -f conftest.err conftest.$ac_ext
4047 fi # $ac_x_includes = no
4049 if test "$ac_x_libraries" = no; then
4050 # Check for the libraries.
4051 # See if we find them without any special options.
4052 # Don't add to $LIBS permanently.
4055 cat >conftest.$ac_ext <<_ACEOF
4058 cat confdefs.h >>conftest.$ac_ext
4059 cat >>conftest.$ac_ext <<_ACEOF
4060 /* end confdefs.h. */
4061 #include <X11/Xlib.h>
4070 rm -f conftest.$ac_objext conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077 (eval "$ac_link") 2>conftest.er1
4079 grep -v '^ *+' conftest.er1 >conftest.err
4081 cat conftest.err >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } && {
4084 test -z "$ac_c_werror_flag" ||
4085 test ! -s conftest.err
4086 } && test -s conftest$ac_exeext &&
4087 $as_test_x conftest$ac_exeext; then
4089 # We can link X programs with no special library path.
4092 echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.$ac_ext >&5
4096 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4098 # Don't even attempt the hair of trying to link an X program!
4099 for ac_extension in a so sl; do
4100 if test -r "$ac_dir/libX11.$ac_extension"; then
4101 ac_x_libraries=$ac_dir
4108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4109 conftest$ac_exeext conftest.$ac_ext
4110 fi # $ac_x_libraries = no
4112 case $ac_x_includes,$ac_x_libraries in #(
4114 # Didn't find X, or a directory has "'" in its name.
4115 ac_cv_have_x="have_x=no";; #(
4117 # Record where we found X for the cache.
4118 ac_cv_have_x="have_x=yes\
4119 ac_x_includes='$ac_x_includes'\
4120 ac_x_libraries='$ac_x_libraries'"
4126 eval "$ac_cv_have_x"
4129 if test "$have_x" != yes; then
4130 { echo "$as_me:$LINENO: result: $have_x" >&5
4131 echo "${ECHO_T}$have_x" >&6; }
4134 # If each of the values was on the command line, it overrides each guess.
4135 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4136 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4137 # Update the cache value to reflect the command line values.
4138 ac_cv_have_x="have_x=yes\
4139 ac_x_includes='$x_includes'\
4140 ac_x_libraries='$x_libraries'"
4141 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4142 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4145 if test "$no_x" = yes; then
4146 # Not all programs may use this symbol, but it does not hurt to define it.
4148 cat >>confdefs.h <<\_ACEOF
4149 #define X_DISPLAY_MISSING 1
4152 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4154 if test -n "$x_includes"; then
4155 X_CFLAGS="$X_CFLAGS -I$x_includes"
4158 # It would also be nice to do this for all -L options, not just this one.
4159 if test -n "$x_libraries"; then
4160 X_LIBS="$X_LIBS -L$x_libraries"
4161 # For Solaris; some versions of Sun CC require a space after -R and
4162 # others require no space. Words are not sufficient . . . .
4163 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4164 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4165 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4166 ac_xsave_c_werror_flag=$ac_c_werror_flag
4167 ac_c_werror_flag=yes
4168 cat >conftest.$ac_ext <<_ACEOF
4171 cat confdefs.h >>conftest.$ac_ext
4172 cat >>conftest.$ac_ext <<_ACEOF
4173 /* end confdefs.h. */
4183 rm -f conftest.$ac_objext conftest$ac_exeext
4184 if { (ac_try="$ac_link"
4186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4187 *) ac_try_echo=$ac_try;;
4189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4190 (eval "$ac_link") 2>conftest.er1
4192 grep -v '^ *+' conftest.er1 >conftest.err
4194 cat conftest.err >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } && {
4197 test -z "$ac_c_werror_flag" ||
4198 test ! -s conftest.err
4199 } && test -s conftest$ac_exeext &&
4200 $as_test_x conftest$ac_exeext; then
4201 { echo "$as_me:$LINENO: result: no" >&5
4202 echo "${ECHO_T}no" >&6; }
4203 X_LIBS="$X_LIBS -R$x_libraries"
4205 echo "$as_me: failed program was:" >&5
4206 sed 's/^/| /' conftest.$ac_ext >&5
4208 LIBS="$ac_xsave_LIBS -R $x_libraries"
4209 cat >conftest.$ac_ext <<_ACEOF
4212 cat confdefs.h >>conftest.$ac_ext
4213 cat >>conftest.$ac_ext <<_ACEOF
4214 /* end confdefs.h. */
4224 rm -f conftest.$ac_objext conftest$ac_exeext
4225 if { (ac_try="$ac_link"
4227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4228 *) ac_try_echo=$ac_try;;
4230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4231 (eval "$ac_link") 2>conftest.er1
4233 grep -v '^ *+' conftest.er1 >conftest.err
4235 cat conftest.err >&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); } && {
4238 test -z "$ac_c_werror_flag" ||
4239 test ! -s conftest.err
4240 } && test -s conftest$ac_exeext &&
4241 $as_test_x conftest$ac_exeext; then
4242 { echo "$as_me:$LINENO: result: yes" >&5
4243 echo "${ECHO_T}yes" >&6; }
4244 X_LIBS="$X_LIBS -R $x_libraries"
4246 echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.$ac_ext >&5
4249 { echo "$as_me:$LINENO: result: neither works" >&5
4250 echo "${ECHO_T}neither works" >&6; }
4253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4254 conftest$ac_exeext conftest.$ac_ext
4257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4258 conftest$ac_exeext conftest.$ac_ext
4259 ac_c_werror_flag=$ac_xsave_c_werror_flag
4263 # Check for system-dependent libraries X programs must link with.
4264 # Do this before checking for the system-independent R6 libraries
4265 # (-lICE), since we may need -lsocket or whatever for X linking.
4267 if test "$ISC" = yes; then
4268 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4270 # Martyn Johnson says this is needed for Ultrix, if the X
4271 # libraries were built with DECnet support. And Karl Berry says
4272 # the Alpha needs dnet_stub (dnet does not exist).
4273 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4274 cat >conftest.$ac_ext <<_ACEOF
4277 cat confdefs.h >>conftest.$ac_ext
4278 cat >>conftest.$ac_ext <<_ACEOF
4279 /* end confdefs.h. */
4281 /* Override any GCC internal prototype to avoid an error.
4282 Use char because int might match the return type of a GCC
4283 builtin and then its argument prototype would still apply. */
4287 char XOpenDisplay ();
4291 return XOpenDisplay ();
4296 rm -f conftest.$ac_objext conftest$ac_exeext
4297 if { (ac_try="$ac_link"
4299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4300 *) ac_try_echo=$ac_try;;
4302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4303 (eval "$ac_link") 2>conftest.er1
4305 grep -v '^ *+' conftest.er1 >conftest.err
4307 cat conftest.err >&5
4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309 (exit $ac_status); } && {
4310 test -z "$ac_c_werror_flag" ||
4311 test ! -s conftest.err
4312 } && test -s conftest$ac_exeext &&
4313 $as_test_x conftest$ac_exeext; then
4316 echo "$as_me: failed program was:" >&5
4317 sed 's/^/| /' conftest.$ac_ext >&5
4319 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4320 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4321 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4322 echo $ECHO_N "(cached) $ECHO_C" >&6
4324 ac_check_lib_save_LIBS=$LIBS
4326 cat >conftest.$ac_ext <<_ACEOF
4329 cat confdefs.h >>conftest.$ac_ext
4330 cat >>conftest.$ac_ext <<_ACEOF
4331 /* end confdefs.h. */
4333 /* Override any GCC internal prototype to avoid an error.
4334 Use char because int might match the return type of a GCC
4335 builtin and then its argument prototype would still apply. */
4343 return dnet_ntoa ();
4348 rm -f conftest.$ac_objext conftest$ac_exeext
4349 if { (ac_try="$ac_link"
4351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4355 (eval "$ac_link") 2>conftest.er1
4357 grep -v '^ *+' conftest.er1 >conftest.err
4359 cat conftest.err >&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } && {
4362 test -z "$ac_c_werror_flag" ||
4363 test ! -s conftest.err
4364 } && test -s conftest$ac_exeext &&
4365 $as_test_x conftest$ac_exeext; then
4366 ac_cv_lib_dnet_dnet_ntoa=yes
4368 echo "$as_me: failed program was:" >&5
4369 sed 's/^/| /' conftest.$ac_ext >&5
4371 ac_cv_lib_dnet_dnet_ntoa=no
4374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4375 conftest$ac_exeext conftest.$ac_ext
4376 LIBS=$ac_check_lib_save_LIBS
4378 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4379 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4380 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4381 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4384 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4385 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4386 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4387 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 ac_check_lib_save_LIBS=$LIBS
4391 LIBS="-ldnet_stub $LIBS"
4392 cat >conftest.$ac_ext <<_ACEOF
4395 cat confdefs.h >>conftest.$ac_ext
4396 cat >>conftest.$ac_ext <<_ACEOF
4397 /* end confdefs.h. */
4399 /* Override any GCC internal prototype to avoid an error.
4400 Use char because int might match the return type of a GCC
4401 builtin and then its argument prototype would still apply. */
4409 return dnet_ntoa ();
4414 rm -f conftest.$ac_objext conftest$ac_exeext
4415 if { (ac_try="$ac_link"
4417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4418 *) ac_try_echo=$ac_try;;
4420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4421 (eval "$ac_link") 2>conftest.er1
4423 grep -v '^ *+' conftest.er1 >conftest.err
4425 cat conftest.err >&5
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); } && {
4428 test -z "$ac_c_werror_flag" ||
4429 test ! -s conftest.err
4430 } && test -s conftest$ac_exeext &&
4431 $as_test_x conftest$ac_exeext; then
4432 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4434 echo "$as_me: failed program was:" >&5
4435 sed 's/^/| /' conftest.$ac_ext >&5
4437 ac_cv_lib_dnet_stub_dnet_ntoa=no
4440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4441 conftest$ac_exeext conftest.$ac_ext
4442 LIBS=$ac_check_lib_save_LIBS
4444 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4445 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4446 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4447 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4454 conftest$ac_exeext conftest.$ac_ext
4455 LIBS="$ac_xsave_LIBS"
4457 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4458 # to get the SysV transport functions.
4459 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4461 # The nsl library prevents programs from opening the X display
4462 # on Irix 5.2, according to T.E. Dickey.
4463 # The functions gethostbyname, getservbyname, and inet_addr are
4464 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4465 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4466 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4467 if test "${ac_cv_func_gethostbyname+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4470 cat >conftest.$ac_ext <<_ACEOF
4473 cat confdefs.h >>conftest.$ac_ext
4474 cat >>conftest.$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4476 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4478 #define gethostbyname innocuous_gethostbyname
4480 /* System header to define __stub macros and hopefully few prototypes,
4481 which can conflict with char gethostbyname (); below.
4482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4483 <limits.h> exists even on freestanding compilers. */
4486 # include <limits.h>
4488 # include <assert.h>
4491 #undef gethostbyname
4493 /* Override any GCC internal prototype to avoid an error.
4494 Use char because int might match the return type of a GCC
4495 builtin and then its argument prototype would still apply. */
4499 char gethostbyname ();
4500 /* The GNU C library defines this for functions which it implements
4501 to always fail with ENOSYS. Some functions are actually named
4502 something starting with __ and the normal name is an alias. */
4503 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4510 return gethostbyname ();
4515 rm -f conftest.$ac_objext conftest$ac_exeext
4516 if { (ac_try="$ac_link"
4518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4519 *) ac_try_echo=$ac_try;;
4521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4522 (eval "$ac_link") 2>conftest.er1
4524 grep -v '^ *+' conftest.er1 >conftest.err
4526 cat conftest.err >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); } && {
4529 test -z "$ac_c_werror_flag" ||
4530 test ! -s conftest.err
4531 } && test -s conftest$ac_exeext &&
4532 $as_test_x conftest$ac_exeext; then
4533 ac_cv_func_gethostbyname=yes
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.$ac_ext >&5
4538 ac_cv_func_gethostbyname=no
4541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4542 conftest$ac_exeext conftest.$ac_ext
4544 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4545 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4547 if test $ac_cv_func_gethostbyname = no; then
4548 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4549 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4550 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 ac_check_lib_save_LIBS=$LIBS
4555 cat >conftest.$ac_ext <<_ACEOF
4558 cat confdefs.h >>conftest.$ac_ext
4559 cat >>conftest.$ac_ext <<_ACEOF
4560 /* end confdefs.h. */
4562 /* Override any GCC internal prototype to avoid an error.
4563 Use char because int might match the return type of a GCC
4564 builtin and then its argument prototype would still apply. */
4568 char gethostbyname ();
4572 return gethostbyname ();
4577 rm -f conftest.$ac_objext conftest$ac_exeext
4578 if { (ac_try="$ac_link"
4580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4581 *) ac_try_echo=$ac_try;;
4583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4584 (eval "$ac_link") 2>conftest.er1
4586 grep -v '^ *+' conftest.er1 >conftest.err
4588 cat conftest.err >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } && {
4591 test -z "$ac_c_werror_flag" ||
4592 test ! -s conftest.err
4593 } && test -s conftest$ac_exeext &&
4594 $as_test_x conftest$ac_exeext; then
4595 ac_cv_lib_nsl_gethostbyname=yes
4597 echo "$as_me: failed program was:" >&5
4598 sed 's/^/| /' conftest.$ac_ext >&5
4600 ac_cv_lib_nsl_gethostbyname=no
4603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4604 conftest$ac_exeext conftest.$ac_ext
4605 LIBS=$ac_check_lib_save_LIBS
4607 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4608 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4609 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4610 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4613 if test $ac_cv_lib_nsl_gethostbyname = no; then
4614 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4615 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4616 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 ac_check_lib_save_LIBS=$LIBS
4621 cat >conftest.$ac_ext <<_ACEOF
4624 cat confdefs.h >>conftest.$ac_ext
4625 cat >>conftest.$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4628 /* Override any GCC internal prototype to avoid an error.
4629 Use char because int might match the return type of a GCC
4630 builtin and then its argument prototype would still apply. */
4634 char gethostbyname ();
4638 return gethostbyname ();
4643 rm -f conftest.$ac_objext conftest$ac_exeext
4644 if { (ac_try="$ac_link"
4646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4647 *) ac_try_echo=$ac_try;;
4649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4650 (eval "$ac_link") 2>conftest.er1
4652 grep -v '^ *+' conftest.er1 >conftest.err
4654 cat conftest.err >&5
4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656 (exit $ac_status); } && {
4657 test -z "$ac_c_werror_flag" ||
4658 test ! -s conftest.err
4659 } && test -s conftest$ac_exeext &&
4660 $as_test_x conftest$ac_exeext; then
4661 ac_cv_lib_bsd_gethostbyname=yes
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.$ac_ext >&5
4666 ac_cv_lib_bsd_gethostbyname=no
4669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4670 conftest$ac_exeext conftest.$ac_ext
4671 LIBS=$ac_check_lib_save_LIBS
4673 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4674 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4675 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4676 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4682 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4683 # socket/setsockopt and other routines are undefined under SCO ODT
4684 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4685 # on later versions), says Simon Leinen: it contains gethostby*
4686 # variants that don't use the name server (or something). -lsocket
4687 # must be given before -lnsl if both are needed. We assume that
4688 # if connect needs -lnsl, so does gethostbyname.
4689 { echo "$as_me:$LINENO: checking for connect" >&5
4690 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4691 if test "${ac_cv_func_connect+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 cat >conftest.$ac_ext <<_ACEOF
4697 cat confdefs.h >>conftest.$ac_ext
4698 cat >>conftest.$ac_ext <<_ACEOF
4699 /* end confdefs.h. */
4700 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4702 #define connect innocuous_connect
4704 /* System header to define __stub macros and hopefully few prototypes,
4705 which can conflict with char connect (); below.
4706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4707 <limits.h> exists even on freestanding compilers. */
4710 # include <limits.h>
4712 # include <assert.h>
4717 /* Override any GCC internal prototype to avoid an error.
4718 Use char because int might match the return type of a GCC
4719 builtin and then its argument prototype would still apply. */
4724 /* The GNU C library defines this for functions which it implements
4725 to always fail with ENOSYS. Some functions are actually named
4726 something starting with __ and the normal name is an alias. */
4727 #if defined __stub_connect || defined __stub___connect
4739 rm -f conftest.$ac_objext conftest$ac_exeext
4740 if { (ac_try="$ac_link"
4742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4743 *) ac_try_echo=$ac_try;;
4745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4746 (eval "$ac_link") 2>conftest.er1
4748 grep -v '^ *+' conftest.er1 >conftest.err
4750 cat conftest.err >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); } && {
4753 test -z "$ac_c_werror_flag" ||
4754 test ! -s conftest.err
4755 } && test -s conftest$ac_exeext &&
4756 $as_test_x conftest$ac_exeext; then
4757 ac_cv_func_connect=yes
4759 echo "$as_me: failed program was:" >&5
4760 sed 's/^/| /' conftest.$ac_ext >&5
4762 ac_cv_func_connect=no
4765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4766 conftest$ac_exeext conftest.$ac_ext
4768 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4769 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4771 if test $ac_cv_func_connect = no; then
4772 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4773 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4774 if test "${ac_cv_lib_socket_connect+set}" = set; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4777 ac_check_lib_save_LIBS=$LIBS
4778 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4779 cat >conftest.$ac_ext <<_ACEOF
4782 cat confdefs.h >>conftest.$ac_ext
4783 cat >>conftest.$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4786 /* Override any GCC internal prototype to avoid an error.
4787 Use char because int might match the return type of a GCC
4788 builtin and then its argument prototype would still apply. */
4801 rm -f conftest.$ac_objext conftest$ac_exeext
4802 if { (ac_try="$ac_link"
4804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4805 *) ac_try_echo=$ac_try;;
4807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4808 (eval "$ac_link") 2>conftest.er1
4810 grep -v '^ *+' conftest.er1 >conftest.err
4812 cat conftest.err >&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); } && {
4815 test -z "$ac_c_werror_flag" ||
4816 test ! -s conftest.err
4817 } && test -s conftest$ac_exeext &&
4818 $as_test_x conftest$ac_exeext; then
4819 ac_cv_lib_socket_connect=yes
4821 echo "$as_me: failed program was:" >&5
4822 sed 's/^/| /' conftest.$ac_ext >&5
4824 ac_cv_lib_socket_connect=no
4827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4828 conftest$ac_exeext conftest.$ac_ext
4829 LIBS=$ac_check_lib_save_LIBS
4831 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4832 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4833 if test $ac_cv_lib_socket_connect = yes; then
4834 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4839 # Guillermo Gomez says -lposix is necessary on A/UX.
4840 { echo "$as_me:$LINENO: checking for remove" >&5
4841 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4842 if test "${ac_cv_func_remove+set}" = set; then
4843 echo $ECHO_N "(cached) $ECHO_C" >&6
4845 cat >conftest.$ac_ext <<_ACEOF
4848 cat confdefs.h >>conftest.$ac_ext
4849 cat >>conftest.$ac_ext <<_ACEOF
4850 /* end confdefs.h. */
4851 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4853 #define remove innocuous_remove
4855 /* System header to define __stub macros and hopefully few prototypes,
4856 which can conflict with char remove (); below.
4857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4858 <limits.h> exists even on freestanding compilers. */
4861 # include <limits.h>
4863 # include <assert.h>
4868 /* Override any GCC internal prototype to avoid an error.
4869 Use char because int might match the return type of a GCC
4870 builtin and then its argument prototype would still apply. */
4875 /* The GNU C library defines this for functions which it implements
4876 to always fail with ENOSYS. Some functions are actually named
4877 something starting with __ and the normal name is an alias. */
4878 #if defined __stub_remove || defined __stub___remove
4890 rm -f conftest.$ac_objext conftest$ac_exeext
4891 if { (ac_try="$ac_link"
4893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4894 *) ac_try_echo=$ac_try;;
4896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4897 (eval "$ac_link") 2>conftest.er1
4899 grep -v '^ *+' conftest.er1 >conftest.err
4901 cat conftest.err >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); } && {
4904 test -z "$ac_c_werror_flag" ||
4905 test ! -s conftest.err
4906 } && test -s conftest$ac_exeext &&
4907 $as_test_x conftest$ac_exeext; then
4908 ac_cv_func_remove=yes
4910 echo "$as_me: failed program was:" >&5
4911 sed 's/^/| /' conftest.$ac_ext >&5
4913 ac_cv_func_remove=no
4916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4917 conftest$ac_exeext conftest.$ac_ext
4919 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4920 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4922 if test $ac_cv_func_remove = no; then
4923 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4924 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4925 if test "${ac_cv_lib_posix_remove+set}" = set; then
4926 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 ac_check_lib_save_LIBS=$LIBS
4929 LIBS="-lposix $LIBS"
4930 cat >conftest.$ac_ext <<_ACEOF
4933 cat confdefs.h >>conftest.$ac_ext
4934 cat >>conftest.$ac_ext <<_ACEOF
4935 /* end confdefs.h. */
4937 /* Override any GCC internal prototype to avoid an error.
4938 Use char because int might match the return type of a GCC
4939 builtin and then its argument prototype would still apply. */
4952 rm -f conftest.$ac_objext conftest$ac_exeext
4953 if { (ac_try="$ac_link"
4955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4956 *) ac_try_echo=$ac_try;;
4958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4959 (eval "$ac_link") 2>conftest.er1
4961 grep -v '^ *+' conftest.er1 >conftest.err
4963 cat conftest.err >&5
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); } && {
4966 test -z "$ac_c_werror_flag" ||
4967 test ! -s conftest.err
4968 } && test -s conftest$ac_exeext &&
4969 $as_test_x conftest$ac_exeext; then
4970 ac_cv_lib_posix_remove=yes
4972 echo "$as_me: failed program was:" >&5
4973 sed 's/^/| /' conftest.$ac_ext >&5
4975 ac_cv_lib_posix_remove=no
4978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4979 conftest$ac_exeext conftest.$ac_ext
4980 LIBS=$ac_check_lib_save_LIBS
4982 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4983 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4984 if test $ac_cv_lib_posix_remove = yes; then
4985 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4990 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4991 { echo "$as_me:$LINENO: checking for shmat" >&5
4992 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4993 if test "${ac_cv_func_shmat+set}" = set; then
4994 echo $ECHO_N "(cached) $ECHO_C" >&6
4996 cat >conftest.$ac_ext <<_ACEOF
4999 cat confdefs.h >>conftest.$ac_ext
5000 cat >>conftest.$ac_ext <<_ACEOF
5001 /* end confdefs.h. */
5002 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5004 #define shmat innocuous_shmat
5006 /* System header to define __stub macros and hopefully few prototypes,
5007 which can conflict with char shmat (); below.
5008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5009 <limits.h> exists even on freestanding compilers. */
5012 # include <limits.h>
5014 # include <assert.h>
5019 /* Override any GCC internal prototype to avoid an error.
5020 Use char because int might match the return type of a GCC
5021 builtin and then its argument prototype would still apply. */
5026 /* The GNU C library defines this for functions which it implements
5027 to always fail with ENOSYS. Some functions are actually named
5028 something starting with __ and the normal name is an alias. */
5029 #if defined __stub_shmat || defined __stub___shmat
5041 rm -f conftest.$ac_objext conftest$ac_exeext
5042 if { (ac_try="$ac_link"
5044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5045 *) ac_try_echo=$ac_try;;
5047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5048 (eval "$ac_link") 2>conftest.er1
5050 grep -v '^ *+' conftest.er1 >conftest.err
5052 cat conftest.err >&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } && {
5055 test -z "$ac_c_werror_flag" ||
5056 test ! -s conftest.err
5057 } && test -s conftest$ac_exeext &&
5058 $as_test_x conftest$ac_exeext; then
5059 ac_cv_func_shmat=yes
5061 echo "$as_me: failed program was:" >&5
5062 sed 's/^/| /' conftest.$ac_ext >&5
5067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5068 conftest$ac_exeext conftest.$ac_ext
5070 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5071 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5073 if test $ac_cv_func_shmat = no; then
5074 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5075 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5076 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5079 ac_check_lib_save_LIBS=$LIBS
5081 cat >conftest.$ac_ext <<_ACEOF
5084 cat confdefs.h >>conftest.$ac_ext
5085 cat >>conftest.$ac_ext <<_ACEOF
5086 /* end confdefs.h. */
5088 /* Override any GCC internal prototype to avoid an error.
5089 Use char because int might match the return type of a GCC
5090 builtin and then its argument prototype would still apply. */
5103 rm -f conftest.$ac_objext conftest$ac_exeext
5104 if { (ac_try="$ac_link"
5106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5107 *) ac_try_echo=$ac_try;;
5109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5110 (eval "$ac_link") 2>conftest.er1
5112 grep -v '^ *+' conftest.er1 >conftest.err
5114 cat conftest.err >&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); } && {
5117 test -z "$ac_c_werror_flag" ||
5118 test ! -s conftest.err
5119 } && test -s conftest$ac_exeext &&
5120 $as_test_x conftest$ac_exeext; then
5121 ac_cv_lib_ipc_shmat=yes
5123 echo "$as_me: failed program was:" >&5
5124 sed 's/^/| /' conftest.$ac_ext >&5
5126 ac_cv_lib_ipc_shmat=no
5129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5130 conftest$ac_exeext conftest.$ac_ext
5131 LIBS=$ac_check_lib_save_LIBS
5133 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5134 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5135 if test $ac_cv_lib_ipc_shmat = yes; then
5136 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5142 # Check for libraries that X11R6 Xt/Xaw programs need.
5143 ac_save_LDFLAGS=$LDFLAGS
5144 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5145 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5146 # check for ICE first), but we must link in the order -lSM -lICE or
5147 # we get undefined symbols. So assume we have SM if we have ICE.
5148 # These have to be linked with before -lX11, unlike the other
5149 # libraries we check for below, so use a different variable.
5150 # John Interrante, Karl Berry
5151 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5152 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5153 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 ac_check_lib_save_LIBS=$LIBS
5157 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5158 cat >conftest.$ac_ext <<_ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5165 /* Override any GCC internal prototype to avoid an error.
5166 Use char because int might match the return type of a GCC
5167 builtin and then its argument prototype would still apply. */
5171 char IceConnectionNumber ();
5175 return IceConnectionNumber ();
5180 rm -f conftest.$ac_objext conftest$ac_exeext
5181 if { (ac_try="$ac_link"
5183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5184 *) ac_try_echo=$ac_try;;
5186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5187 (eval "$ac_link") 2>conftest.er1
5189 grep -v '^ *+' conftest.er1 >conftest.err
5191 cat conftest.err >&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); } && {
5194 test -z "$ac_c_werror_flag" ||
5195 test ! -s conftest.err
5196 } && test -s conftest$ac_exeext &&
5197 $as_test_x conftest$ac_exeext; then
5198 ac_cv_lib_ICE_IceConnectionNumber=yes
5200 echo "$as_me: failed program was:" >&5
5201 sed 's/^/| /' conftest.$ac_ext >&5
5203 ac_cv_lib_ICE_IceConnectionNumber=no
5206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5207 conftest$ac_exeext conftest.$ac_ext
5208 LIBS=$ac_check_lib_save_LIBS
5210 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5211 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5212 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5213 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5216 LDFLAGS=$ac_save_LDFLAGS
5223 # Extract the first word of "$ac_prog", so it can be a program name with args.
5224 set dummy $ac_prog; ac_word=$2
5225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5227 if test "${ac_cv_prog_FLEX+set}" = set; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5230 if test -n "$FLEX"; then
5231 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237 test -z "$as_dir" && as_dir=.
5238 for ac_exec_ext in '' $ac_executable_extensions; do
5239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5240 ac_cv_prog_FLEX="$ac_prog"
5241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 FLEX=$ac_cv_prog_FLEX
5251 if test -n "$FLEX"; then
5252 { echo "$as_me:$LINENO: result: $FLEX" >&5
5253 echo "${ECHO_T}$FLEX" >&6; }
5255 { echo "$as_me:$LINENO: result: no" >&5
5256 echo "${ECHO_T}no" >&6; }
5260 test -n "$FLEX" && break
5262 test -n "$FLEX" || FLEX="none"
5264 if test "$FLEX" = "none"
5266 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5267 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5268 { (exit 1); exit 1; }; }
5271 for ac_prog in bison
5273 # Extract the first word of "$ac_prog", so it can be a program name with args.
5274 set dummy $ac_prog; ac_word=$2
5275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5277 if test "${ac_cv_prog_BISON+set}" = set; then
5278 echo $ECHO_N "(cached) $ECHO_C" >&6
5280 if test -n "$BISON"; then
5281 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 test -z "$as_dir" && as_dir=.
5288 for ac_exec_ext in '' $ac_executable_extensions; do
5289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5290 ac_cv_prog_BISON="$ac_prog"
5291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5300 BISON=$ac_cv_prog_BISON
5301 if test -n "$BISON"; then
5302 { echo "$as_me:$LINENO: result: $BISON" >&5
5303 echo "${ECHO_T}$BISON" >&6; }
5305 { echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6; }
5310 test -n "$BISON" && break
5312 test -n "$BISON" || BISON="none"
5314 if test "$BISON" = "none"
5316 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5317 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5318 { (exit 1); exit 1; }; }
5321 if test -n "$ac_tool_prefix"; then
5322 for ac_prog in gas as
5324 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5325 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5328 if test "${ac_cv_prog_AS+set}" = set; then
5329 echo $ECHO_N "(cached) $ECHO_C" >&6
5331 if test -n "$AS"; then
5332 ac_cv_prog_AS="$AS" # Let the user override the test.
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5338 test -z "$as_dir" && as_dir=.
5339 for ac_exec_ext in '' $ac_executable_extensions; do
5340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5341 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5352 if test -n "$AS"; then
5353 { echo "$as_me:$LINENO: result: $AS" >&5
5354 echo "${ECHO_T}$AS" >&6; }
5356 { echo "$as_me:$LINENO: result: no" >&5
5357 echo "${ECHO_T}no" >&6; }
5361 test -n "$AS" && break
5364 if test -z "$AS"; then
5366 for ac_prog in gas as
5368 # Extract the first word of "$ac_prog", so it can be a program name with args.
5369 set dummy $ac_prog; ac_word=$2
5370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5372 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5373 echo $ECHO_N "(cached) $ECHO_C" >&6
5375 if test -n "$ac_ct_AS"; then
5376 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382 test -z "$as_dir" && as_dir=.
5383 for ac_exec_ext in '' $ac_executable_extensions; do
5384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5385 ac_cv_prog_ac_ct_AS="$ac_prog"
5386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5396 if test -n "$ac_ct_AS"; then
5397 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5398 echo "${ECHO_T}$ac_ct_AS" >&6; }
5400 { echo "$as_me:$LINENO: result: no" >&5
5401 echo "${ECHO_T}no" >&6; }
5405 test -n "$ac_ct_AS" && break
5408 if test "x$ac_ct_AS" = x; then
5411 case $cross_compiling:$ac_tool_warned in
5413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5414 whose name does not start with the host triplet. If you think this
5415 configuration is useful to you, please write to autoconf@gnu.org." >&5
5416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5417 whose name does not start with the host triplet. If you think this
5418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5419 ac_tool_warned=yes ;;
5425 if test -n "$ac_tool_prefix"; then
5426 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5427 set dummy ${ac_tool_prefix}ld; ac_word=$2
5428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5430 if test "${ac_cv_prog_LD+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5433 if test -n "$LD"; then
5434 ac_cv_prog_LD="$LD" # Let the user override the test.
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 ac_cv_prog_LD="${ac_tool_prefix}ld"
5444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5454 if test -n "$LD"; then
5455 { echo "$as_me:$LINENO: result: $LD" >&5
5456 echo "${ECHO_T}$LD" >&6; }
5458 { echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6; }
5464 if test -z "$ac_cv_prog_LD"; then
5466 # Extract the first word of "ld", so it can be a program name with args.
5467 set dummy ld; ac_word=$2
5468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5470 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 if test -n "$ac_ct_LD"; then
5474 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5483 ac_cv_prog_ac_ct_LD="ld"
5484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5494 if test -n "$ac_ct_LD"; then
5495 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5496 echo "${ECHO_T}$ac_ct_LD" >&6; }
5498 { echo "$as_me:$LINENO: result: no" >&5
5499 echo "${ECHO_T}no" >&6; }
5502 if test "x$ac_ct_LD" = x; then
5505 case $cross_compiling:$ac_tool_warned in
5507 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5508 whose name does not start with the host triplet. If you think this
5509 configuration is useful to you, please write to autoconf@gnu.org." >&5
5510 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5511 whose name does not start with the host triplet. If you think this
5512 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5513 ac_tool_warned=yes ;;
5521 if test -n "$ac_tool_prefix"; then
5522 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5523 set dummy ${ac_tool_prefix}ar; ac_word=$2
5524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5526 if test "${ac_cv_prog_AR+set}" = set; then
5527 echo $ECHO_N "(cached) $ECHO_C" >&6
5529 if test -n "$AR"; then
5530 ac_cv_prog_AR="$AR" # Let the user override the test.
5532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5536 test -z "$as_dir" && as_dir=.
5537 for ac_exec_ext in '' $ac_executable_extensions; do
5538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5539 ac_cv_prog_AR="${ac_tool_prefix}ar"
5540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5550 if test -n "$AR"; then
5551 { echo "$as_me:$LINENO: result: $AR" >&5
5552 echo "${ECHO_T}$AR" >&6; }
5554 { echo "$as_me:$LINENO: result: no" >&5
5555 echo "${ECHO_T}no" >&6; }
5560 if test -z "$ac_cv_prog_AR"; then
5562 # Extract the first word of "ar", so it can be a program name with args.
5563 set dummy ar; ac_word=$2
5564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5566 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5567 echo $ECHO_N "(cached) $ECHO_C" >&6
5569 if test -n "$ac_ct_AR"; then
5570 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576 test -z "$as_dir" && as_dir=.
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5579 ac_cv_prog_ac_ct_AR="ar"
5580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5589 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5590 if test -n "$ac_ct_AR"; then
5591 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5592 echo "${ECHO_T}$ac_ct_AR" >&6; }
5594 { echo "$as_me:$LINENO: result: no" >&5
5595 echo "${ECHO_T}no" >&6; }
5598 if test "x$ac_ct_AR" = x; then
5601 case $cross_compiling:$ac_tool_warned in
5603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5604 whose name does not start with the host triplet. If you think this
5605 configuration is useful to you, please write to autoconf@gnu.org." >&5
5606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5607 whose name does not start with the host triplet. If you think this
5608 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5609 ac_tool_warned=yes ;;
5619 if test -n "$ac_tool_prefix"; then
5620 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5621 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5624 if test "${ac_cv_prog_RANLIB+set}" = set; then
5625 echo $ECHO_N "(cached) $ECHO_C" >&6
5627 if test -n "$RANLIB"; then
5628 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 test -z "$as_dir" && as_dir=.
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5637 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5647 RANLIB=$ac_cv_prog_RANLIB
5648 if test -n "$RANLIB"; then
5649 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5650 echo "${ECHO_T}$RANLIB" >&6; }
5652 { echo "$as_me:$LINENO: result: no" >&5
5653 echo "${ECHO_T}no" >&6; }
5658 if test -z "$ac_cv_prog_RANLIB"; then
5659 ac_ct_RANLIB=$RANLIB
5660 # Extract the first word of "ranlib", so it can be a program name with args.
5661 set dummy ranlib; ac_word=$2
5662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5664 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5665 echo $ECHO_N "(cached) $ECHO_C" >&6
5667 if test -n "$ac_ct_RANLIB"; then
5668 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 test -z "$as_dir" && as_dir=.
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5677 ac_cv_prog_ac_ct_RANLIB="ranlib"
5678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5687 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5688 if test -n "$ac_ct_RANLIB"; then
5689 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5690 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5692 { echo "$as_me:$LINENO: result: no" >&5
5693 echo "${ECHO_T}no" >&6; }
5696 if test "x$ac_ct_RANLIB" = x; then
5699 case $cross_compiling:$ac_tool_warned in
5701 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5702 whose name does not start with the host triplet. If you think this
5703 configuration is useful to you, please write to autoconf@gnu.org." >&5
5704 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5705 whose name does not start with the host triplet. If you think this
5706 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5707 ac_tool_warned=yes ;;
5709 RANLIB=$ac_ct_RANLIB
5712 RANLIB="$ac_cv_prog_RANLIB"
5715 if test -n "$ac_tool_prefix"; then
5716 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5717 set dummy ${ac_tool_prefix}strip; ac_word=$2
5718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5720 if test "${ac_cv_prog_STRIP+set}" = set; then
5721 echo $ECHO_N "(cached) $ECHO_C" >&6
5723 if test -n "$STRIP"; then
5724 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730 test -z "$as_dir" && as_dir=.
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5733 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 STRIP=$ac_cv_prog_STRIP
5744 if test -n "$STRIP"; then
5745 { echo "$as_me:$LINENO: result: $STRIP" >&5
5746 echo "${ECHO_T}$STRIP" >&6; }
5748 { echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6; }
5754 if test -z "$ac_cv_prog_STRIP"; then
5756 # Extract the first word of "strip", so it can be a program name with args.
5757 set dummy strip; ac_word=$2
5758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5760 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5761 echo $ECHO_N "(cached) $ECHO_C" >&6
5763 if test -n "$ac_ct_STRIP"; then
5764 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 test -z "$as_dir" && as_dir=.
5771 for ac_exec_ext in '' $ac_executable_extensions; do
5772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5773 ac_cv_prog_ac_ct_STRIP="strip"
5774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5783 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5784 if test -n "$ac_ct_STRIP"; then
5785 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5786 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5788 { echo "$as_me:$LINENO: result: no" >&5
5789 echo "${ECHO_T}no" >&6; }
5792 if test "x$ac_ct_STRIP" = x; then
5795 case $cross_compiling:$ac_tool_warned in
5797 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5798 whose name does not start with the host triplet. If you think this
5799 configuration is useful to you, please write to autoconf@gnu.org." >&5
5800 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5801 whose name does not start with the host triplet. If you think this
5802 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5803 ac_tool_warned=yes ;;
5808 STRIP="$ac_cv_prog_STRIP"
5811 if test -n "$ac_tool_prefix"; then
5812 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5813 set dummy ${ac_tool_prefix}windres; ac_word=$2
5814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5816 if test "${ac_cv_prog_WINDRES+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 if test -n "$WINDRES"; then
5820 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5829 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 WINDRES=$ac_cv_prog_WINDRES
5840 if test -n "$WINDRES"; then
5841 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5842 echo "${ECHO_T}$WINDRES" >&6; }
5844 { echo "$as_me:$LINENO: result: no" >&5
5845 echo "${ECHO_T}no" >&6; }
5850 if test -z "$ac_cv_prog_WINDRES"; then
5851 ac_ct_WINDRES=$WINDRES
5852 # Extract the first word of "windres", so it can be a program name with args.
5853 set dummy windres; ac_word=$2
5854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5856 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5857 echo $ECHO_N "(cached) $ECHO_C" >&6
5859 if test -n "$ac_ct_WINDRES"; then
5860 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 test -z "$as_dir" && as_dir=.
5867 for ac_exec_ext in '' $ac_executable_extensions; do
5868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5869 ac_cv_prog_ac_ct_WINDRES="windres"
5870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5879 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5880 if test -n "$ac_ct_WINDRES"; then
5881 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5882 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5884 { echo "$as_me:$LINENO: result: no" >&5
5885 echo "${ECHO_T}no" >&6; }
5888 if test "x$ac_ct_WINDRES" = x; then
5891 case $cross_compiling:$ac_tool_warned in
5893 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5894 whose name does not start with the host triplet. If you think this
5895 configuration is useful to you, please write to autoconf@gnu.org." >&5
5896 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5897 whose name does not start with the host triplet. If you think this
5898 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5899 ac_tool_warned=yes ;;
5901 WINDRES=$ac_ct_WINDRES
5904 WINDRES="$ac_cv_prog_WINDRES"
5907 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5908 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5910 if test "$LN_S" = "ln -s"; then
5911 { echo "$as_me:$LINENO: result: yes" >&5
5912 echo "${ECHO_T}yes" >&6; }
5914 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5915 echo "${ECHO_T}no, using $LN_S" >&6; }
5918 { echo "$as_me:$LINENO: checking whether ln works" >&5
5919 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5920 rm -f conf$$ conf$$.file
5922 if ln conf$$.file conf$$ 2>/dev/null; then
5925 { echo "$as_me:$LINENO: result: yes" >&5
5926 echo "${ECHO_T}yes" >&6; }
5930 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5931 echo "${ECHO_T}no, using $LN" >&6; }
5933 rm -f conf$$ conf$$.file
5934 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5935 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5936 if test "${ac_cv_path_GREP+set}" = set; then
5937 echo $ECHO_N "(cached) $ECHO_C" >&6
5939 # Extract the first word of "grep ggrep" to use in msg output
5940 if test -z "$GREP"; then
5941 set dummy grep ggrep; ac_prog_name=$2
5942 if test "${ac_cv_path_GREP+set}" = set; then
5943 echo $ECHO_N "(cached) $ECHO_C" >&6
5945 ac_path_GREP_found=false
5946 # Loop through the user's path and test for each of PROGNAME-LIST
5947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5951 test -z "$as_dir" && as_dir=.
5952 for ac_prog in grep ggrep; do
5953 for ac_exec_ext in '' $ac_executable_extensions; do
5954 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5955 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5956 # Check for GNU ac_path_GREP and select it if it is found.
5957 # Check for GNU $ac_path_GREP
5958 case `"$ac_path_GREP" --version 2>&1` in
5960 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5963 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5966 cat "conftest.in" "conftest.in" >"conftest.tmp"
5967 mv "conftest.tmp" "conftest.in"
5968 cp "conftest.in" "conftest.nl"
5969 echo 'GREP' >> "conftest.nl"
5970 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5971 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5972 ac_count=`expr $ac_count + 1`
5973 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5974 # Best one so far, save it but keep looking for a better one
5975 ac_cv_path_GREP="$ac_path_GREP"
5976 ac_path_GREP_max=$ac_count
5978 # 10*(2^10) chars as input seems more than enough
5979 test $ac_count -gt 10 && break
5981 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5985 $ac_path_GREP_found && break 3
5995 GREP="$ac_cv_path_GREP"
5996 if test -z "$GREP"; then
5997 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5998 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5999 { (exit 1); exit 1; }; }
6003 ac_cv_path_GREP=$GREP
6008 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6009 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6010 GREP="$ac_cv_path_GREP"
6013 { echo "$as_me:$LINENO: checking for egrep" >&5
6014 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6015 if test "${ac_cv_path_EGREP+set}" = set; then
6016 echo $ECHO_N "(cached) $ECHO_C" >&6
6018 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6019 then ac_cv_path_EGREP="$GREP -E"
6021 # Extract the first word of "egrep" to use in msg output
6022 if test -z "$EGREP"; then
6023 set dummy egrep; ac_prog_name=$2
6024 if test "${ac_cv_path_EGREP+set}" = set; then
6025 echo $ECHO_N "(cached) $ECHO_C" >&6
6027 ac_path_EGREP_found=false
6028 # Loop through the user's path and test for each of PROGNAME-LIST
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6033 test -z "$as_dir" && as_dir=.
6034 for ac_prog in egrep; do
6035 for ac_exec_ext in '' $ac_executable_extensions; do
6036 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6037 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6038 # Check for GNU ac_path_EGREP and select it if it is found.
6039 # Check for GNU $ac_path_EGREP
6040 case `"$ac_path_EGREP" --version 2>&1` in
6042 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6045 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6048 cat "conftest.in" "conftest.in" >"conftest.tmp"
6049 mv "conftest.tmp" "conftest.in"
6050 cp "conftest.in" "conftest.nl"
6051 echo 'EGREP' >> "conftest.nl"
6052 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6053 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6054 ac_count=`expr $ac_count + 1`
6055 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6056 # Best one so far, save it but keep looking for a better one
6057 ac_cv_path_EGREP="$ac_path_EGREP"
6058 ac_path_EGREP_max=$ac_count
6060 # 10*(2^10) chars as input seems more than enough
6061 test $ac_count -gt 10 && break
6063 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6067 $ac_path_EGREP_found && break 3
6077 EGREP="$ac_cv_path_EGREP"
6078 if test -z "$EGREP"; then
6079 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6080 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6081 { (exit 1); exit 1; }; }
6085 ac_cv_path_EGREP=$EGREP
6091 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6092 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6093 EGREP="$ac_cv_path_EGREP"
6096 # Extract the first word of "ldconfig", so it can be a program name with args.
6097 set dummy ldconfig; ac_word=$2
6098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6100 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6101 echo $ECHO_N "(cached) $ECHO_C" >&6
6105 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in /sbin /usr/sbin $PATH
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6115 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6123 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6127 LDCONFIG=$ac_cv_path_LDCONFIG
6128 if test -n "$LDCONFIG"; then
6129 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6130 echo "${ECHO_T}$LDCONFIG" >&6; }
6132 { echo "$as_me:$LINENO: result: no" >&5
6133 echo "${ECHO_T}no" >&6; }
6137 # Find a good install program. We prefer a C program (faster),
6138 # so one script is as good as another. But avoid the broken or
6139 # incompatible versions:
6140 # SysV /etc/install, /usr/sbin/install
6141 # SunOS /usr/etc/install
6142 # IRIX /sbin/install
6144 # AmigaOS /C/install, which installs bootblocks on floppy discs
6145 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6146 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6147 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6148 # OS/2's system install, which has a completely different semantic
6149 # ./install, which can be erroneously created by make from ./install.sh.
6150 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6151 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6152 if test -z "$INSTALL"; then
6153 if test "${ac_cv_path_install+set}" = set; then
6154 echo $ECHO_N "(cached) $ECHO_C" >&6
6156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6160 test -z "$as_dir" && as_dir=.
6161 # Account for people who put trailing slashes in PATH elements.
6163 ./ | .// | /cC/* | \
6164 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6165 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6168 # OSF1 and SCO ODT 3.0 have their own names for install.
6169 # Don't use installbsd from OSF since it installs stuff as root
6171 for ac_prog in ginstall scoinst install; do
6172 for ac_exec_ext in '' $ac_executable_extensions; do
6173 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6174 if test $ac_prog = install &&
6175 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6176 # AIX install. It has an incompatible calling convention.
6178 elif test $ac_prog = install &&
6179 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6180 # program-specific install script used by HP pwplus--don't use.
6183 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6196 if test "${ac_cv_path_install+set}" = set; then
6197 INSTALL=$ac_cv_path_install
6199 # As a last resort, use the slow shell script. Don't cache a
6200 # value for INSTALL within a source directory, because that will
6201 # break other packages using the cache if that directory is
6202 # removed, or if the value is a relative name.
6203 INSTALL=$ac_install_sh
6206 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6207 echo "${ECHO_T}$INSTALL" >&6; }
6209 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6210 # It thinks the first close brace ends the variable substitution.
6211 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6213 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6215 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6218 [\\/$]* | ?:[\\/]* ) ;;
6219 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6222 for ac_prog in lclint lint
6224 # Extract the first word of "$ac_prog", so it can be a program name with args.
6225 set dummy $ac_prog; ac_word=$2
6226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6228 if test "${ac_cv_prog_LINT+set}" = set; then
6229 echo $ECHO_N "(cached) $ECHO_C" >&6
6231 if test -n "$LINT"; then
6232 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6238 test -z "$as_dir" && as_dir=.
6239 for ac_exec_ext in '' $ac_executable_extensions; do
6240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6241 ac_cv_prog_LINT="$ac_prog"
6242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6251 LINT=$ac_cv_prog_LINT
6252 if test -n "$LINT"; then
6253 { echo "$as_me:$LINENO: result: $LINT" >&5
6254 echo "${ECHO_T}$LINT" >&6; }
6256 { echo "$as_me:$LINENO: result: no" >&5
6257 echo "${ECHO_T}no" >&6; }
6261 test -n "$LINT" && break
6264 if test "$LINT" = "lint"
6266 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6271 for ac_prog in fontforge
6273 # Extract the first word of "$ac_prog", so it can be a program name with args.
6274 set dummy $ac_prog; ac_word=$2
6275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6277 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6278 echo $ECHO_N "(cached) $ECHO_C" >&6
6280 if test -n "$FONTFORGE"; then
6281 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6287 test -z "$as_dir" && as_dir=.
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6290 ac_cv_prog_FONTFORGE="$ac_prog"
6291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 FONTFORGE=$ac_cv_prog_FONTFORGE
6301 if test -n "$FONTFORGE"; then
6302 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6303 echo "${ECHO_T}$FONTFORGE" >&6; }
6305 { echo "$as_me:$LINENO: result: no" >&5
6306 echo "${ECHO_T}no" >&6; }
6310 test -n "$FONTFORGE" && break
6312 test -n "$FONTFORGE" || FONTFORGE="false"
6314 for ac_prog in pkg-config
6316 # Extract the first word of "$ac_prog", so it can be a program name with args.
6317 set dummy $ac_prog; ac_word=$2
6318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6320 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6321 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 if test -n "$PKG_CONFIG"; then
6324 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6330 test -z "$as_dir" && as_dir=.
6331 for ac_exec_ext in '' $ac_executable_extensions; do
6332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6333 ac_cv_prog_PKG_CONFIG="$ac_prog"
6334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6343 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6344 if test -n "$PKG_CONFIG"; then
6345 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6346 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6348 { echo "$as_me:$LINENO: result: no" >&5
6349 echo "${ECHO_T}no" >&6; }
6353 test -n "$PKG_CONFIG" && break
6355 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6359 # Extract the first word of "$ac_prog", so it can be a program name with args.
6360 set dummy $ac_prog; ac_word=$2
6361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6363 if test "${ac_cv_prog_RSVG+set}" = set; then
6364 echo $ECHO_N "(cached) $ECHO_C" >&6
6366 if test -n "$RSVG"; then
6367 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373 test -z "$as_dir" && as_dir=.
6374 for ac_exec_ext in '' $ac_executable_extensions; do
6375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6376 ac_cv_prog_RSVG="$ac_prog"
6377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6386 RSVG=$ac_cv_prog_RSVG
6387 if test -n "$RSVG"; then
6388 { echo "$as_me:$LINENO: result: $RSVG" >&5
6389 echo "${ECHO_T}$RSVG" >&6; }
6391 { echo "$as_me:$LINENO: result: no" >&5
6392 echo "${ECHO_T}no" >&6; }
6396 test -n "$RSVG" && break
6398 test -n "$RSVG" || RSVG="false"
6400 for ac_prog in icotool
6402 # Extract the first word of "$ac_prog", so it can be a program name with args.
6403 set dummy $ac_prog; ac_word=$2
6404 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6406 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6407 echo $ECHO_N "(cached) $ECHO_C" >&6
6409 if test -n "$ICOTOOL"; then
6410 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6416 test -z "$as_dir" && as_dir=.
6417 for ac_exec_ext in '' $ac_executable_extensions; do
6418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6419 ac_cv_prog_ICOTOOL="$ac_prog"
6420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6429 ICOTOOL=$ac_cv_prog_ICOTOOL
6430 if test -n "$ICOTOOL"; then
6431 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6432 echo "${ECHO_T}$ICOTOOL" >&6; }
6434 { echo "$as_me:$LINENO: result: no" >&5
6435 echo "${ECHO_T}no" >&6; }
6439 test -n "$ICOTOOL" && break
6441 test -n "$ICOTOOL" || ICOTOOL="false"
6444 if test "${enable_maintainer_mode+set}" = set
6446 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6447 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6452 # Extract the first word of "prelink", so it can be a program name with args.
6453 set dummy prelink; ac_word=$2
6454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6456 if test "${ac_cv_path_PRELINK+set}" = set; then
6457 echo $ECHO_N "(cached) $ECHO_C" >&6
6461 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6465 for as_dir in /sbin /usr/sbin $PATH
6468 test -z "$as_dir" && as_dir=.
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6471 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6479 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6483 PRELINK=$ac_cv_path_PRELINK
6484 if test -n "$PRELINK"; then
6485 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6486 echo "${ECHO_T}$PRELINK" >&6; }
6488 { echo "$as_me:$LINENO: result: no" >&5
6489 echo "${ECHO_T}no" >&6; }
6498 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6499 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6500 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6501 echo $ECHO_N "(cached) $ECHO_C" >&6
6503 ac_check_lib_save_LIBS=$LIBS
6505 cat >conftest.$ac_ext <<_ACEOF
6508 cat confdefs.h >>conftest.$ac_ext
6509 cat >>conftest.$ac_ext <<_ACEOF
6510 /* end confdefs.h. */
6512 /* Override any GCC internal prototype to avoid an error.
6513 Use char because int might match the return type of a GCC
6514 builtin and then its argument prototype would still apply. */
6518 char i386_set_ldt ();
6522 return i386_set_ldt ();
6527 rm -f conftest.$ac_objext conftest$ac_exeext
6528 if { (ac_try="$ac_link"
6530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6531 *) ac_try_echo=$ac_try;;
6533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6534 (eval "$ac_link") 2>conftest.er1
6536 grep -v '^ *+' conftest.er1 >conftest.err
6538 cat conftest.err >&5
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); } && {
6541 test -z "$ac_c_werror_flag" ||
6542 test ! -s conftest.err
6543 } && test -s conftest$ac_exeext &&
6544 $as_test_x conftest$ac_exeext; then
6545 ac_cv_lib_i386_i386_set_ldt=yes
6547 echo "$as_me: failed program was:" >&5
6548 sed 's/^/| /' conftest.$ac_ext >&5
6550 ac_cv_lib_i386_i386_set_ldt=no
6553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6554 conftest$ac_exeext conftest.$ac_ext
6555 LIBS=$ac_check_lib_save_LIBS
6557 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6558 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6559 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6560 cat >>confdefs.h <<_ACEOF
6561 #define HAVE_LIBI386 1
6569 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6570 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6571 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6572 echo $ECHO_N "(cached) $ECHO_C" >&6
6574 ac_check_lib_save_LIBS=$LIBS
6575 LIBS="-lossaudio $LIBS"
6576 cat >conftest.$ac_ext <<_ACEOF
6579 cat confdefs.h >>conftest.$ac_ext
6580 cat >>conftest.$ac_ext <<_ACEOF
6581 /* end confdefs.h. */
6583 /* Override any GCC internal prototype to avoid an error.
6584 Use char because int might match the return type of a GCC
6585 builtin and then its argument prototype would still apply. */
6593 return _oss_ioctl ();
6598 rm -f conftest.$ac_objext conftest$ac_exeext
6599 if { (ac_try="$ac_link"
6601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6602 *) ac_try_echo=$ac_try;;
6604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6605 (eval "$ac_link") 2>conftest.er1
6607 grep -v '^ *+' conftest.er1 >conftest.err
6609 cat conftest.err >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); } && {
6612 test -z "$ac_c_werror_flag" ||
6613 test ! -s conftest.err
6614 } && test -s conftest$ac_exeext &&
6615 $as_test_x conftest$ac_exeext; then
6616 ac_cv_lib_ossaudio__oss_ioctl=yes
6618 echo "$as_me: failed program was:" >&5
6619 sed 's/^/| /' conftest.$ac_ext >&5
6621 ac_cv_lib_ossaudio__oss_ioctl=no
6624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6625 conftest$ac_exeext conftest.$ac_ext
6626 LIBS=$ac_check_lib_save_LIBS
6628 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6629 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6630 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6631 cat >>confdefs.h <<_ACEOF
6632 #define HAVE_LIBOSSAUDIO 1
6635 LIBS="-lossaudio $LIBS"
6639 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6640 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6641 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6642 echo $ECHO_N "(cached) $ECHO_C" >&6
6644 ac_check_lib_save_LIBS=$LIBS
6645 LIBS="-lpthread $LIBS"
6646 cat >conftest.$ac_ext <<_ACEOF
6649 cat confdefs.h >>conftest.$ac_ext
6650 cat >>conftest.$ac_ext <<_ACEOF
6651 /* end confdefs.h. */
6653 /* Override any GCC internal prototype to avoid an error.
6654 Use char because int might match the return type of a GCC
6655 builtin and then its argument prototype would still apply. */
6659 char pthread_create ();
6663 return pthread_create ();
6668 rm -f conftest.$ac_objext conftest$ac_exeext
6669 if { (ac_try="$ac_link"
6671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6672 *) ac_try_echo=$ac_try;;
6674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6675 (eval "$ac_link") 2>conftest.er1
6677 grep -v '^ *+' conftest.er1 >conftest.err
6679 cat conftest.err >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); } && {
6682 test -z "$ac_c_werror_flag" ||
6683 test ! -s conftest.err
6684 } && test -s conftest$ac_exeext &&
6685 $as_test_x conftest$ac_exeext; then
6686 ac_cv_lib_pthread_pthread_create=yes
6688 echo "$as_me: failed program was:" >&5
6689 sed 's/^/| /' conftest.$ac_ext >&5
6691 ac_cv_lib_pthread_pthread_create=no
6694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6695 conftest$ac_exeext conftest.$ac_ext
6696 LIBS=$ac_check_lib_save_LIBS
6698 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6699 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6700 if test $ac_cv_lib_pthread_pthread_create = yes; then
6701 LIBPTHREAD="-lpthread"
6720 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6721 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6722 if test "${ac_cv_header_stdc+set}" = set; then
6723 echo $ECHO_N "(cached) $ECHO_C" >&6
6725 cat >conftest.$ac_ext <<_ACEOF
6728 cat confdefs.h >>conftest.$ac_ext
6729 cat >>conftest.$ac_ext <<_ACEOF
6730 /* end confdefs.h. */
6744 rm -f conftest.$ac_objext
6745 if { (ac_try="$ac_compile"
6747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6748 *) ac_try_echo=$ac_try;;
6750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6751 (eval "$ac_compile") 2>conftest.er1
6753 grep -v '^ *+' conftest.er1 >conftest.err
6755 cat conftest.err >&5
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); } && {
6758 test -z "$ac_c_werror_flag" ||
6759 test ! -s conftest.err
6760 } && test -s conftest.$ac_objext; then
6761 ac_cv_header_stdc=yes
6763 echo "$as_me: failed program was:" >&5
6764 sed 's/^/| /' conftest.$ac_ext >&5
6766 ac_cv_header_stdc=no
6769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6771 if test $ac_cv_header_stdc = yes; then
6772 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6773 cat >conftest.$ac_ext <<_ACEOF
6776 cat confdefs.h >>conftest.$ac_ext
6777 cat >>conftest.$ac_ext <<_ACEOF
6778 /* end confdefs.h. */
6782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6783 $EGREP "memchr" >/dev/null 2>&1; then
6786 ac_cv_header_stdc=no
6792 if test $ac_cv_header_stdc = yes; then
6793 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6794 cat >conftest.$ac_ext <<_ACEOF
6797 cat confdefs.h >>conftest.$ac_ext
6798 cat >>conftest.$ac_ext <<_ACEOF
6799 /* end confdefs.h. */
6803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6804 $EGREP "free" >/dev/null 2>&1; then
6807 ac_cv_header_stdc=no
6813 if test $ac_cv_header_stdc = yes; then
6814 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6815 if test "$cross_compiling" = yes; then
6818 cat >conftest.$ac_ext <<_ACEOF
6821 cat confdefs.h >>conftest.$ac_ext
6822 cat >>conftest.$ac_ext <<_ACEOF
6823 /* end confdefs.h. */
6826 #if ((' ' & 0x0FF) == 0x020)
6827 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6828 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6830 # define ISLOWER(c) \
6831 (('a' <= (c) && (c) <= 'i') \
6832 || ('j' <= (c) && (c) <= 'r') \
6833 || ('s' <= (c) && (c) <= 'z'))
6834 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6837 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6842 for (i = 0; i < 256; i++)
6843 if (XOR (islower (i), ISLOWER (i))
6844 || toupper (i) != TOUPPER (i))
6849 rm -f conftest$ac_exeext
6850 if { (ac_try="$ac_link"
6852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6853 *) ac_try_echo=$ac_try;;
6855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6856 (eval "$ac_link") 2>&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6860 { (case "(($ac_try" in
6861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6862 *) ac_try_echo=$ac_try;;
6864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6865 (eval "$ac_try") 2>&5
6867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6868 (exit $ac_status); }; }; then
6871 echo "$as_me: program exited with status $ac_status" >&5
6872 echo "$as_me: failed program was:" >&5
6873 sed 's/^/| /' conftest.$ac_ext >&5
6876 ac_cv_header_stdc=no
6878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6884 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6885 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6886 if test $ac_cv_header_stdc = yes; then
6888 cat >>confdefs.h <<\_ACEOF
6889 #define STDC_HEADERS 1
6894 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6904 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6905 inttypes.h stdint.h unistd.h
6907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6908 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6910 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6911 echo $ECHO_N "(cached) $ECHO_C" >&6
6913 cat >conftest.$ac_ext <<_ACEOF
6916 cat confdefs.h >>conftest.$ac_ext
6917 cat >>conftest.$ac_ext <<_ACEOF
6918 /* end confdefs.h. */
6919 $ac_includes_default
6921 #include <$ac_header>
6923 rm -f conftest.$ac_objext
6924 if { (ac_try="$ac_compile"
6926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6927 *) ac_try_echo=$ac_try;;
6929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6930 (eval "$ac_compile") 2>conftest.er1
6932 grep -v '^ *+' conftest.er1 >conftest.err
6934 cat conftest.err >&5
6935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6936 (exit $ac_status); } && {
6937 test -z "$ac_c_werror_flag" ||
6938 test ! -s conftest.err
6939 } && test -s conftest.$ac_objext; then
6940 eval "$as_ac_Header=yes"
6942 echo "$as_me: failed program was:" >&5
6943 sed 's/^/| /' conftest.$ac_ext >&5
6945 eval "$as_ac_Header=no"
6948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6950 ac_res=`eval echo '${'$as_ac_Header'}'`
6951 { echo "$as_me:$LINENO: result: $ac_res" >&5
6952 echo "${ECHO_T}$ac_res" >&6; }
6953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6954 cat >>confdefs.h <<_ACEOF
6955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7074 AudioUnit/AudioUnit.h \
7076 CoreAudio/CoreAudio.h \
7077 DiskArbitration/DiskArbitration.h \
7090 fontconfig/fontconfig.h \
7116 machine/soundcard.h \
7121 netinet/in_systm.h \
7186 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7188 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7193 ac_res=`eval echo '${'$as_ac_Header'}'`
7194 { echo "$as_me:$LINENO: result: $ac_res" >&5
7195 echo "${ECHO_T}$ac_res" >&6; }
7197 # Is the header compilable?
7198 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7199 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7200 cat >conftest.$ac_ext <<_ACEOF
7203 cat confdefs.h >>conftest.$ac_ext
7204 cat >>conftest.$ac_ext <<_ACEOF
7205 /* end confdefs.h. */
7206 $ac_includes_default
7207 #include <$ac_header>
7209 rm -f conftest.$ac_objext
7210 if { (ac_try="$ac_compile"
7212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7213 *) ac_try_echo=$ac_try;;
7215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7216 (eval "$ac_compile") 2>conftest.er1
7218 grep -v '^ *+' conftest.er1 >conftest.err
7220 cat conftest.err >&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); } && {
7223 test -z "$ac_c_werror_flag" ||
7224 test ! -s conftest.err
7225 } && test -s conftest.$ac_objext; then
7226 ac_header_compiler=yes
7228 echo "$as_me: failed program was:" >&5
7229 sed 's/^/| /' conftest.$ac_ext >&5
7231 ac_header_compiler=no
7234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7235 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7236 echo "${ECHO_T}$ac_header_compiler" >&6; }
7238 # Is the header present?
7239 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7240 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7241 cat >conftest.$ac_ext <<_ACEOF
7244 cat confdefs.h >>conftest.$ac_ext
7245 cat >>conftest.$ac_ext <<_ACEOF
7246 /* end confdefs.h. */
7247 #include <$ac_header>
7249 if { (ac_try="$ac_cpp conftest.$ac_ext"
7251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7252 *) ac_try_echo=$ac_try;;
7254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7255 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7257 grep -v '^ *+' conftest.er1 >conftest.err
7259 cat conftest.err >&5
7260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261 (exit $ac_status); } >/dev/null && {
7262 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7263 test ! -s conftest.err
7265 ac_header_preproc=yes
7267 echo "$as_me: failed program was:" >&5
7268 sed 's/^/| /' conftest.$ac_ext >&5
7270 ac_header_preproc=no
7273 rm -f conftest.err conftest.$ac_ext
7274 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7275 echo "${ECHO_T}$ac_header_preproc" >&6; }
7277 # So? What about this header?
7278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7280 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7281 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7283 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7284 ac_header_preproc=yes
7287 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7288 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7289 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7290 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7291 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7292 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7293 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7294 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7296 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7297 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7298 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7300 ## ------------------------------------ ##
7301 ## Report this to wine-devel@winehq.org ##
7302 ## ------------------------------------ ##
7304 ) | sed "s/^/$as_me: WARNING: /" >&2
7307 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7309 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7310 echo $ECHO_N "(cached) $ECHO_C" >&6
7312 eval "$as_ac_Header=\$ac_header_preproc"
7314 ac_res=`eval echo '${'$as_ac_Header'}'`
7315 { echo "$as_me:$LINENO: result: $ac_res" >&5
7316 echo "${ECHO_T}$ac_res" >&6; }
7319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7320 cat >>confdefs.h <<_ACEOF
7321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7328 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7329 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7330 if test "${ac_cv_header_stat_broken+set}" = set; then
7331 echo $ECHO_N "(cached) $ECHO_C" >&6
7333 cat >conftest.$ac_ext <<_ACEOF
7336 cat confdefs.h >>conftest.$ac_ext
7337 cat >>conftest.$ac_ext <<_ACEOF
7338 /* end confdefs.h. */
7339 #include <sys/types.h>
7340 #include <sys/stat.h>
7342 #if defined S_ISBLK && defined S_IFDIR
7343 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7346 #if defined S_ISBLK && defined S_IFCHR
7347 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7350 #if defined S_ISLNK && defined S_IFREG
7351 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7354 #if defined S_ISSOCK && defined S_IFREG
7355 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7359 rm -f conftest.$ac_objext
7360 if { (ac_try="$ac_compile"
7362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7363 *) ac_try_echo=$ac_try;;
7365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7366 (eval "$ac_compile") 2>conftest.er1
7368 grep -v '^ *+' conftest.er1 >conftest.err
7370 cat conftest.err >&5
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); } && {
7373 test -z "$ac_c_werror_flag" ||
7374 test ! -s conftest.err
7375 } && test -s conftest.$ac_objext; then
7376 ac_cv_header_stat_broken=no
7378 echo "$as_me: failed program was:" >&5
7379 sed 's/^/| /' conftest.$ac_ext >&5
7381 ac_cv_header_stat_broken=yes
7384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7386 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7387 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7388 if test $ac_cv_header_stat_broken = yes; then
7390 cat >>confdefs.h <<\_ACEOF
7391 #define STAT_MACROS_BROKEN 1
7402 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7404 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7405 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7407 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7408 echo $ECHO_N "(cached) $ECHO_C" >&6
7410 cat >conftest.$ac_ext <<_ACEOF
7413 cat confdefs.h >>conftest.$ac_ext
7414 cat >>conftest.$ac_ext <<_ACEOF
7415 /* end confdefs.h. */
7416 #include <sys/types.h>
7417 #ifdef HAVE_SYS_PARAM_H
7418 # include <sys/param.h>
7421 #include <$ac_header>
7423 rm -f conftest.$ac_objext
7424 if { (ac_try="$ac_compile"
7426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7427 *) ac_try_echo=$ac_try;;
7429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7430 (eval "$ac_compile") 2>conftest.er1
7432 grep -v '^ *+' conftest.er1 >conftest.err
7434 cat conftest.err >&5
7435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436 (exit $ac_status); } && {
7437 test -z "$ac_c_werror_flag" ||
7438 test ! -s conftest.err
7439 } && test -s conftest.$ac_objext; then
7440 eval "$as_ac_Header=yes"
7442 echo "$as_me: failed program was:" >&5
7443 sed 's/^/| /' conftest.$ac_ext >&5
7445 eval "$as_ac_Header=no"
7448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7450 ac_res=`eval echo '${'$as_ac_Header'}'`
7451 { echo "$as_me:$LINENO: result: $ac_res" >&5
7452 echo "${ECHO_T}$ac_res" >&6; }
7453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7454 cat >>confdefs.h <<_ACEOF
7455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7471 for ac_header in netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7473 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7474 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7477 echo $ECHO_N "(cached) $ECHO_C" >&6
7479 cat >conftest.$ac_ext <<_ACEOF
7482 cat confdefs.h >>conftest.$ac_ext
7483 cat >>conftest.$ac_ext <<_ACEOF
7484 /* end confdefs.h. */
7485 #include <sys/types.h>
7486 #ifdef HAVE_SYS_SOCKET_H
7487 # include <sys/socket.h>
7489 #ifdef HAVE_SYS_SOCKETVAR_H
7490 # include <sys/socketvar.h>
7492 #ifdef HAVE_NETINET_IN_H
7493 # include <netinet/in.h>
7496 #include <$ac_header>
7498 rm -f conftest.$ac_objext
7499 if { (ac_try="$ac_compile"
7501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7502 *) ac_try_echo=$ac_try;;
7504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7505 (eval "$ac_compile") 2>conftest.er1
7507 grep -v '^ *+' conftest.er1 >conftest.err
7509 cat conftest.err >&5
7510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511 (exit $ac_status); } && {
7512 test -z "$ac_c_werror_flag" ||
7513 test ! -s conftest.err
7514 } && test -s conftest.$ac_objext; then
7515 eval "$as_ac_Header=yes"
7517 echo "$as_me: failed program was:" >&5
7518 sed 's/^/| /' conftest.$ac_ext >&5
7520 eval "$as_ac_Header=no"
7523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7525 ac_res=`eval echo '${'$as_ac_Header'}'`
7526 { echo "$as_me:$LINENO: result: $ac_res" >&5
7527 echo "${ECHO_T}$ac_res" >&6; }
7528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7529 cat >>confdefs.h <<_ACEOF
7530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7539 for ac_header in netinet/tcp_var.h
7541 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7542 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7545 echo $ECHO_N "(cached) $ECHO_C" >&6
7547 cat >conftest.$ac_ext <<_ACEOF
7550 cat confdefs.h >>conftest.$ac_ext
7551 cat >>conftest.$ac_ext <<_ACEOF
7552 /* end confdefs.h. */
7553 #include <sys/types.h>
7554 #ifdef HAVE_SYS_SOCKET_H
7555 # include <sys/socket.h>
7557 #ifdef HAVE_SYS_SOCKETVAR_H
7558 # include <sys/socketvar.h>
7560 #ifdef HAVE_NETINET_IN_H
7561 # include <netinet/in.h>
7563 #ifdef HAVE_NETINET_TCP_H
7564 # include <netinet/tcp.h>
7567 #include <$ac_header>
7569 rm -f conftest.$ac_objext
7570 if { (ac_try="$ac_compile"
7572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7573 *) ac_try_echo=$ac_try;;
7575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7576 (eval "$ac_compile") 2>conftest.er1
7578 grep -v '^ *+' conftest.er1 >conftest.err
7580 cat conftest.err >&5
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); } && {
7583 test -z "$ac_c_werror_flag" ||
7584 test ! -s conftest.err
7585 } && test -s conftest.$ac_objext; then
7586 eval "$as_ac_Header=yes"
7588 echo "$as_me: failed program was:" >&5
7589 sed 's/^/| /' conftest.$ac_ext >&5
7591 eval "$as_ac_Header=no"
7594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7596 ac_res=`eval echo '${'$as_ac_Header'}'`
7597 { echo "$as_me:$LINENO: result: $ac_res" >&5
7598 echo "${ECHO_T}$ac_res" >&6; }
7599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7600 cat >>confdefs.h <<_ACEOF
7601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7610 for ac_header in linux/ipx.h
7612 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7613 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7616 echo $ECHO_N "(cached) $ECHO_C" >&6
7618 cat >conftest.$ac_ext <<_ACEOF
7621 cat confdefs.h >>conftest.$ac_ext
7622 cat >>conftest.$ac_ext <<_ACEOF
7623 /* end confdefs.h. */
7624 #include <sys/types.h>
7625 #ifdef HAVE_ASM_TYPES_H
7626 # include <asm/types.h>
7628 #ifdef HAVE_SYS_SOCKET_H
7629 # include <sys/socket.h>
7632 #include <$ac_header>
7634 rm -f conftest.$ac_objext
7635 if { (ac_try="$ac_compile"
7637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7638 *) ac_try_echo=$ac_try;;
7640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7641 (eval "$ac_compile") 2>conftest.er1
7643 grep -v '^ *+' conftest.er1 >conftest.err
7645 cat conftest.err >&5
7646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647 (exit $ac_status); } && {
7648 test -z "$ac_c_werror_flag" ||
7649 test ! -s conftest.err
7650 } && test -s conftest.$ac_objext; then
7651 eval "$as_ac_Header=yes"
7653 echo "$as_me: failed program was:" >&5
7654 sed 's/^/| /' conftest.$ac_ext >&5
7656 eval "$as_ac_Header=no"
7659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7661 ac_res=`eval echo '${'$as_ac_Header'}'`
7662 { echo "$as_me:$LINENO: result: $ac_res" >&5
7663 echo "${ECHO_T}$ac_res" >&6; }
7664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7665 cat >>confdefs.h <<_ACEOF
7666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7675 for ac_header in resolv.h
7677 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7678 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7681 echo $ECHO_N "(cached) $ECHO_C" >&6
7683 cat >conftest.$ac_ext <<_ACEOF
7686 cat confdefs.h >>conftest.$ac_ext
7687 cat >>conftest.$ac_ext <<_ACEOF
7688 /* end confdefs.h. */
7689 #include <sys/types.h>
7690 #ifdef HAVE_SYS_SOCKET_H
7691 # include <sys/socket.h>
7693 #ifdef HAVE_NETINET_IN_H
7694 # include <netinet/in.h>
7696 #ifdef HAVE_ARPA_NAMESER_H
7697 # include <arpa/nameser.h>
7700 #include <$ac_header>
7702 rm -f conftest.$ac_objext
7703 if { (ac_try="$ac_compile"
7705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7706 *) ac_try_echo=$ac_try;;
7708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7709 (eval "$ac_compile") 2>conftest.er1
7711 grep -v '^ *+' conftest.er1 >conftest.err
7713 cat conftest.err >&5
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715 (exit $ac_status); } && {
7716 test -z "$ac_c_werror_flag" ||
7717 test ! -s conftest.err
7718 } && test -s conftest.$ac_objext; then
7719 eval "$as_ac_Header=yes"
7721 echo "$as_me: failed program was:" >&5
7722 sed 's/^/| /' conftest.$ac_ext >&5
7724 eval "$as_ac_Header=no"
7727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7729 ac_res=`eval echo '${'$as_ac_Header'}'`
7730 { echo "$as_me:$LINENO: result: $ac_res" >&5
7731 echo "${ECHO_T}$ac_res" >&6; }
7732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7733 cat >>confdefs.h <<_ACEOF
7734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7743 for ac_header in ucontext.h
7745 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7746 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7748 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7749 echo $ECHO_N "(cached) $ECHO_C" >&6
7751 cat >conftest.$ac_ext <<_ACEOF
7754 cat confdefs.h >>conftest.$ac_ext
7755 cat >>conftest.$ac_ext <<_ACEOF
7756 /* end confdefs.h. */
7759 #include <$ac_header>
7761 rm -f conftest.$ac_objext
7762 if { (ac_try="$ac_compile"
7764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7765 *) ac_try_echo=$ac_try;;
7767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7768 (eval "$ac_compile") 2>conftest.er1
7770 grep -v '^ *+' conftest.er1 >conftest.err
7772 cat conftest.err >&5
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); } && {
7775 test -z "$ac_c_werror_flag" ||
7776 test ! -s conftest.err
7777 } && test -s conftest.$ac_objext; then
7778 eval "$as_ac_Header=yes"
7780 echo "$as_me: failed program was:" >&5
7781 sed 's/^/| /' conftest.$ac_ext >&5
7783 eval "$as_ac_Header=no"
7786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7788 ac_res=`eval echo '${'$as_ac_Header'}'`
7789 { echo "$as_me:$LINENO: result: $ac_res" >&5
7790 echo "${ECHO_T}$ac_res" >&6; }
7791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7792 cat >>confdefs.h <<_ACEOF
7793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7802 for ac_header in sys/thr.h
7804 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7805 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7808 echo $ECHO_N "(cached) $ECHO_C" >&6
7810 cat >conftest.$ac_ext <<_ACEOF
7813 cat confdefs.h >>conftest.$ac_ext
7814 cat >>conftest.$ac_ext <<_ACEOF
7815 /* end confdefs.h. */
7816 #include <sys/types.h>
7817 #ifdef HAVE_UCONTEXT_H
7818 #include <ucontext.h>
7821 #include <$ac_header>
7823 rm -f conftest.$ac_objext
7824 if { (ac_try="$ac_compile"
7826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7827 *) ac_try_echo=$ac_try;;
7829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7830 (eval "$ac_compile") 2>conftest.er1
7832 grep -v '^ *+' conftest.er1 >conftest.err
7834 cat conftest.err >&5
7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); } && {
7837 test -z "$ac_c_werror_flag" ||
7838 test ! -s conftest.err
7839 } && test -s conftest.$ac_objext; then
7840 eval "$as_ac_Header=yes"
7842 echo "$as_me: failed program was:" >&5
7843 sed 's/^/| /' conftest.$ac_ext >&5
7845 eval "$as_ac_Header=no"
7848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7850 ac_res=`eval echo '${'$as_ac_Header'}'`
7851 { echo "$as_me:$LINENO: result: $ac_res" >&5
7852 echo "${ECHO_T}$ac_res" >&6; }
7853 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7854 cat >>confdefs.h <<_ACEOF
7855 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7864 for ac_header in pthread_np.h
7866 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7867 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7869 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7870 echo $ECHO_N "(cached) $ECHO_C" >&6
7872 cat >conftest.$ac_ext <<_ACEOF
7875 cat confdefs.h >>conftest.$ac_ext
7876 cat >>conftest.$ac_ext <<_ACEOF
7877 /* end confdefs.h. */
7878 #ifdef HAVE_PTHREAD_H
7879 #include <pthread.h>
7882 #include <$ac_header>
7884 rm -f conftest.$ac_objext
7885 if { (ac_try="$ac_compile"
7887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7888 *) ac_try_echo=$ac_try;;
7890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7891 (eval "$ac_compile") 2>conftest.er1
7893 grep -v '^ *+' conftest.er1 >conftest.err
7895 cat conftest.err >&5
7896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); } && {
7898 test -z "$ac_c_werror_flag" ||
7899 test ! -s conftest.err
7900 } && test -s conftest.$ac_objext; then
7901 eval "$as_ac_Header=yes"
7903 echo "$as_me: failed program was:" >&5
7904 sed 's/^/| /' conftest.$ac_ext >&5
7906 eval "$as_ac_Header=no"
7909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7911 ac_res=`eval echo '${'$as_ac_Header'}'`
7912 { echo "$as_me:$LINENO: result: $ac_res" >&5
7913 echo "${ECHO_T}$ac_res" >&6; }
7914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7915 cat >>confdefs.h <<_ACEOF
7916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7925 for ac_header in linux/videodev.h
7927 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7928 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7930 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7931 echo $ECHO_N "(cached) $ECHO_C" >&6
7933 cat >conftest.$ac_ext <<_ACEOF
7936 cat confdefs.h >>conftest.$ac_ext
7937 cat >>conftest.$ac_ext <<_ACEOF
7938 /* end confdefs.h. */
7939 #ifdef HAVE_SYS_TIME_H
7940 #include <sys/time.h>
7942 #include <sys/types.h>
7943 #ifdef HAVE_ASM_TYPES_H
7944 #include <asm/types.h>
7947 #include <$ac_header>
7949 rm -f conftest.$ac_objext
7950 if { (ac_try="$ac_compile"
7952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7953 *) ac_try_echo=$ac_try;;
7955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7956 (eval "$ac_compile") 2>conftest.er1
7958 grep -v '^ *+' conftest.er1 >conftest.err
7960 cat conftest.err >&5
7961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7962 (exit $ac_status); } && {
7963 test -z "$ac_c_werror_flag" ||
7964 test ! -s conftest.err
7965 } && test -s conftest.$ac_objext; then
7966 eval "$as_ac_Header=yes"
7968 echo "$as_me: failed program was:" >&5
7969 sed 's/^/| /' conftest.$ac_ext >&5
7971 eval "$as_ac_Header=no"
7974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7976 ac_res=`eval echo '${'$as_ac_Header'}'`
7977 { echo "$as_me:$LINENO: result: $ac_res" >&5
7978 echo "${ECHO_T}$ac_res" >&6; }
7979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7980 cat >>confdefs.h <<_ACEOF
7981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7990 for ac_header in linux/capi.h
7992 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7993 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7996 echo $ECHO_N "(cached) $ECHO_C" >&6
7998 cat >conftest.$ac_ext <<_ACEOF
8001 cat confdefs.h >>conftest.$ac_ext
8002 cat >>conftest.$ac_ext <<_ACEOF
8003 /* end confdefs.h. */
8006 #include <$ac_header>
8008 rm -f conftest.$ac_objext
8009 if { (ac_try="$ac_compile"
8011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8012 *) ac_try_echo=$ac_try;;
8014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8015 (eval "$ac_compile") 2>conftest.er1
8017 grep -v '^ *+' conftest.er1 >conftest.err
8019 cat conftest.err >&5
8020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021 (exit $ac_status); } && {
8022 test -z "$ac_c_werror_flag" ||
8023 test ! -s conftest.err
8024 } && test -s conftest.$ac_objext; then
8025 eval "$as_ac_Header=yes"
8027 echo "$as_me: failed program was:" >&5
8028 sed 's/^/| /' conftest.$ac_ext >&5
8030 eval "$as_ac_Header=no"
8033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8035 ac_res=`eval echo '${'$as_ac_Header'}'`
8036 { echo "$as_me:$LINENO: result: $ac_res" >&5
8037 echo "${ECHO_T}$ac_res" >&6; }
8038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8039 cat >>confdefs.h <<_ACEOF
8040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8051 DLLFLAGS="-D_REENTRANT"
8065 # Extract the first word of "ldd", so it can be a program name with args.
8066 set dummy ldd; ac_word=$2
8067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8069 if test "${ac_cv_path_LDD+set}" = set; then
8070 echo $ECHO_N "(cached) $ECHO_C" >&6
8074 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8078 as_dummy="/sbin:/usr/sbin:$PATH"
8079 for as_dir in $as_dummy
8082 test -z "$as_dir" && as_dir=.
8083 for ac_exec_ext in '' $ac_executable_extensions; do
8084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8085 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8093 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8098 if test -n "$LDD"; then
8099 { echo "$as_me:$LINENO: result: $LDD" >&5
8100 echo "${ECHO_T}$LDD" >&6; }
8102 { echo "$as_me:$LINENO: result: no" >&5
8103 echo "${ECHO_T}no" >&6; }
8110 if test -n "$ac_tool_prefix"; then
8111 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8112 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8113 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8115 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8116 echo $ECHO_N "(cached) $ECHO_C" >&6
8118 if test -n "$DLLTOOL"; then
8119 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8125 test -z "$as_dir" && as_dir=.
8126 for ac_exec_ext in '' $ac_executable_extensions; do
8127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8128 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8138 DLLTOOL=$ac_cv_prog_DLLTOOL
8139 if test -n "$DLLTOOL"; then
8140 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8141 echo "${ECHO_T}$DLLTOOL" >&6; }
8143 { echo "$as_me:$LINENO: result: no" >&5
8144 echo "${ECHO_T}no" >&6; }
8149 if test -z "$ac_cv_prog_DLLTOOL"; then
8150 ac_ct_DLLTOOL=$DLLTOOL
8151 # Extract the first word of "dlltool", so it can be a program name with args.
8152 set dummy dlltool; ac_word=$2
8153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8155 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8156 echo $ECHO_N "(cached) $ECHO_C" >&6
8158 if test -n "$ac_ct_DLLTOOL"; then
8159 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8165 test -z "$as_dir" && as_dir=.
8166 for ac_exec_ext in '' $ac_executable_extensions; do
8167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8168 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8178 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8179 if test -n "$ac_ct_DLLTOOL"; then
8180 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8181 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8183 { echo "$as_me:$LINENO: result: no" >&5
8184 echo "${ECHO_T}no" >&6; }
8187 if test "x$ac_ct_DLLTOOL" = x; then
8190 case $cross_compiling:$ac_tool_warned in
8192 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8193 whose name does not start with the host triplet. If you think this
8194 configuration is useful to you, please write to autoconf@gnu.org." >&5
8195 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8196 whose name does not start with the host triplet. If you think this
8197 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8198 ac_tool_warned=yes ;;
8200 DLLTOOL=$ac_ct_DLLTOOL
8203 DLLTOOL="$ac_cv_prog_DLLTOOL"
8206 if test -n "$ac_tool_prefix"; then
8207 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8208 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8211 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8212 echo $ECHO_N "(cached) $ECHO_C" >&6
8214 if test -n "$DLLWRAP"; then
8215 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8221 test -z "$as_dir" && as_dir=.
8222 for ac_exec_ext in '' $ac_executable_extensions; do
8223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8224 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8234 DLLWRAP=$ac_cv_prog_DLLWRAP
8235 if test -n "$DLLWRAP"; then
8236 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8237 echo "${ECHO_T}$DLLWRAP" >&6; }
8239 { echo "$as_me:$LINENO: result: no" >&5
8240 echo "${ECHO_T}no" >&6; }
8245 if test -z "$ac_cv_prog_DLLWRAP"; then
8246 ac_ct_DLLWRAP=$DLLWRAP
8247 # Extract the first word of "dllwrap", so it can be a program name with args.
8248 set dummy dllwrap; ac_word=$2
8249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8251 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8252 echo $ECHO_N "(cached) $ECHO_C" >&6
8254 if test -n "$ac_ct_DLLWRAP"; then
8255 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8261 test -z "$as_dir" && as_dir=.
8262 for ac_exec_ext in '' $ac_executable_extensions; do
8263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8264 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8274 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8275 if test -n "$ac_ct_DLLWRAP"; then
8276 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8277 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8279 { echo "$as_me:$LINENO: result: no" >&5
8280 echo "${ECHO_T}no" >&6; }
8283 if test "x$ac_ct_DLLWRAP" = x; then
8286 case $cross_compiling:$ac_tool_warned in
8288 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8289 whose name does not start with the host triplet. If you think this
8290 configuration is useful to you, please write to autoconf@gnu.org." >&5
8291 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8292 whose name does not start with the host triplet. If you think this
8293 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8294 ac_tool_warned=yes ;;
8296 DLLWRAP=$ac_ct_DLLWRAP
8299 DLLWRAP="$ac_cv_prog_DLLWRAP"
8302 if test -n "$ac_tool_prefix"; then
8303 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8304 set dummy ${ac_tool_prefix}ar; ac_word=$2
8305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8307 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8310 if test -n "$MINGWAR"; then
8311 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8317 test -z "$as_dir" && as_dir=.
8318 for ac_exec_ext in '' $ac_executable_extensions; do
8319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8320 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8330 MINGWAR=$ac_cv_prog_MINGWAR
8331 if test -n "$MINGWAR"; then
8332 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8333 echo "${ECHO_T}$MINGWAR" >&6; }
8335 { echo "$as_me:$LINENO: result: no" >&5
8336 echo "${ECHO_T}no" >&6; }
8341 if test -z "$ac_cv_prog_MINGWAR"; then
8342 ac_ct_MINGWAR=$MINGWAR
8343 # Extract the first word of "ar", so it can be a program name with args.
8344 set dummy ar; ac_word=$2
8345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8347 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8348 echo $ECHO_N "(cached) $ECHO_C" >&6
8350 if test -n "$ac_ct_MINGWAR"; then
8351 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8357 test -z "$as_dir" && as_dir=.
8358 for ac_exec_ext in '' $ac_executable_extensions; do
8359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8360 ac_cv_prog_ac_ct_MINGWAR="ar"
8361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8370 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8371 if test -n "$ac_ct_MINGWAR"; then
8372 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8373 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8375 { echo "$as_me:$LINENO: result: no" >&5
8376 echo "${ECHO_T}no" >&6; }
8379 if test "x$ac_ct_MINGWAR" = x; then
8382 case $cross_compiling:$ac_tool_warned in
8384 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8385 whose name does not start with the host triplet. If you think this
8386 configuration is useful to you, please write to autoconf@gnu.org." >&5
8387 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8388 whose name does not start with the host triplet. If you think this
8389 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8390 ac_tool_warned=yes ;;
8392 MINGWAR=$ac_ct_MINGWAR
8395 MINGWAR="$ac_cv_prog_MINGWAR"
8398 if test "$DLLWRAP" = "false"; then
8410 DLLFLAGS="$DLLFLAGS -fPIC"
8411 LDDLLFLAGS="-bundle -multiply_defined suppress"
8412 LIBWINE_LDFLAGS="-multiply_defined suppress"
8413 LDSHARED="\$(CC) -dynamiclib"
8415 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8416 SECURITYLIB="-framework Security -framework CoreFoundation"
8418 COREFOUNDATIONLIB="-framework CoreFoundation"
8420 IOKITLIB="-framework IOKit -framework CoreFoundation"
8422 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8424 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8426 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8429 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8431 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8436 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8438 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8440 CARBONLIB="-framework Carbon"
8442 QUARTZFILES='$(QUARTZFILES)'
8446 DLLFLAGS="$DLLFLAGS -fPIC"
8448 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8449 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8450 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8451 echo $ECHO_N "(cached) $ECHO_C" >&6
8453 ac_wine_try_cflags_saved=$CFLAGS
8454 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8455 cat >conftest.$ac_ext <<_ACEOF
8458 rm -f conftest.$ac_objext conftest$ac_exeext
8459 if { (ac_try="$ac_link"
8461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8462 *) ac_try_echo=$ac_try;;
8464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8465 (eval "$ac_link") 2>conftest.er1
8467 grep -v '^ *+' conftest.er1 >conftest.err
8469 cat conftest.err >&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); } && {
8472 test -z "$ac_c_werror_flag" ||
8473 test ! -s conftest.err
8474 } && test -s conftest$ac_exeext &&
8475 $as_test_x conftest$ac_exeext; then
8476 ac_cv_c_dll_gnuelf="yes"
8478 echo "$as_me: failed program was:" >&5
8479 sed 's/^/| /' conftest.$ac_ext >&5
8481 ac_cv_c_dll_gnuelf="no"
8484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8485 conftest$ac_exeext conftest.$ac_ext
8486 CFLAGS=$ac_wine_try_cflags_saved
8488 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8489 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8490 if test "$ac_cv_c_dll_gnuelf" = "yes"
8492 LDSHARED="\$(CC) -shared"
8493 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8494 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8495 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8496 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8497 echo $ECHO_N "(cached) $ECHO_C" >&6
8499 ac_wine_try_cflags_saved=$CFLAGS
8500 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8501 cat >conftest.$ac_ext <<_ACEOF
8504 cat confdefs.h >>conftest.$ac_ext
8505 cat >>conftest.$ac_ext <<_ACEOF
8506 /* end confdefs.h. */
8516 rm -f conftest.$ac_objext conftest$ac_exeext
8517 if { (ac_try="$ac_link"
8519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8520 *) ac_try_echo=$ac_try;;
8522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8523 (eval "$ac_link") 2>conftest.er1
8525 grep -v '^ *+' conftest.er1 >conftest.err
8527 cat conftest.err >&5
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); } && {
8530 test -z "$ac_c_werror_flag" ||
8531 test ! -s conftest.err
8532 } && test -s conftest$ac_exeext &&
8533 $as_test_x conftest$ac_exeext; then
8534 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8536 echo "$as_me: failed program was:" >&5
8537 sed 's/^/| /' conftest.$ac_ext >&5
8539 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8543 conftest$ac_exeext conftest.$ac_ext
8544 CFLAGS=$ac_wine_try_cflags_saved
8546 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8547 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8548 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8549 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8551 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8552 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8553 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8554 echo $ECHO_N "(cached) $ECHO_C" >&6
8556 ac_wine_try_cflags_saved=$CFLAGS
8557 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8558 cat >conftest.$ac_ext <<_ACEOF
8561 cat confdefs.h >>conftest.$ac_ext
8562 cat >>conftest.$ac_ext <<_ACEOF
8563 /* end confdefs.h. */
8573 rm -f conftest.$ac_objext conftest$ac_exeext
8574 if { (ac_try="$ac_link"
8576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8577 *) ac_try_echo=$ac_try;;
8579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8580 (eval "$ac_link") 2>conftest.er1
8582 grep -v '^ *+' conftest.er1 >conftest.err
8584 cat conftest.err >&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); } && {
8587 test -z "$ac_c_werror_flag" ||
8588 test ! -s conftest.err
8589 } && test -s conftest$ac_exeext &&
8590 $as_test_x conftest$ac_exeext; then
8591 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8593 echo "$as_me: failed program was:" >&5
8594 sed 's/^/| /' conftest.$ac_ext >&5
8596 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8600 conftest$ac_exeext conftest.$ac_ext
8601 CFLAGS=$ac_wine_try_cflags_saved
8603 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8604 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8605 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8606 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8612 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8613 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8614 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8615 echo $ECHO_N "(cached) $ECHO_C" >&6
8617 ac_wine_try_cflags_saved=$CFLAGS
8618 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8619 cat >conftest.$ac_ext <<_ACEOF
8622 cat confdefs.h >>conftest.$ac_ext
8623 cat >>conftest.$ac_ext <<_ACEOF
8624 /* end confdefs.h. */
8634 rm -f conftest.$ac_objext conftest$ac_exeext
8635 if { (ac_try="$ac_link"
8637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8638 *) ac_try_echo=$ac_try;;
8640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8641 (eval "$ac_link") 2>conftest.er1
8643 grep -v '^ *+' conftest.er1 >conftest.err
8645 cat conftest.err >&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); } && {
8648 test -z "$ac_c_werror_flag" ||
8649 test ! -s conftest.err
8650 } && test -s conftest$ac_exeext &&
8651 $as_test_x conftest$ac_exeext; then
8652 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8654 echo "$as_me: failed program was:" >&5
8655 sed 's/^/| /' conftest.$ac_ext >&5
8657 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8661 conftest$ac_exeext conftest.$ac_ext
8662 CFLAGS=$ac_wine_try_cflags_saved
8664 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8665 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8666 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8667 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8671 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8672 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8673 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8674 echo $ECHO_N "(cached) $ECHO_C" >&6
8676 ac_wine_try_cflags_saved=$CFLAGS
8677 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8678 cat >conftest.$ac_ext <<_ACEOF
8681 cat confdefs.h >>conftest.$ac_ext
8682 cat >>conftest.$ac_ext <<_ACEOF
8683 /* end confdefs.h. */
8693 rm -f conftest.$ac_objext conftest$ac_exeext
8694 if { (ac_try="$ac_link"
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_link") 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 test -z "$ac_c_werror_flag" ||
8708 test ! -s conftest.err
8709 } && test -s conftest$ac_exeext &&
8710 $as_test_x conftest$ac_exeext; then
8711 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8713 echo "$as_me: failed program was:" >&5
8714 sed 's/^/| /' conftest.$ac_ext >&5
8716 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8720 conftest$ac_exeext conftest.$ac_ext
8721 CFLAGS=$ac_wine_try_cflags_saved
8723 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8724 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8725 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8726 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8730 echo '{ global: *; };' >conftest.map
8731 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8732 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8733 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8734 echo $ECHO_N "(cached) $ECHO_C" >&6
8736 ac_wine_try_cflags_saved=$CFLAGS
8737 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8738 cat >conftest.$ac_ext <<_ACEOF
8741 cat confdefs.h >>conftest.$ac_ext
8742 cat >>conftest.$ac_ext <<_ACEOF
8743 /* end confdefs.h. */
8753 rm -f conftest.$ac_objext conftest$ac_exeext
8754 if { (ac_try="$ac_link"
8756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8757 *) ac_try_echo=$ac_try;;
8759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8760 (eval "$ac_link") 2>conftest.er1
8762 grep -v '^ *+' conftest.er1 >conftest.err
8764 cat conftest.err >&5
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); } && {
8767 test -z "$ac_c_werror_flag" ||
8768 test ! -s conftest.err
8769 } && test -s conftest$ac_exeext &&
8770 $as_test_x conftest$ac_exeext; then
8771 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8773 echo "$as_me: failed program was:" >&5
8774 sed 's/^/| /' conftest.$ac_ext >&5
8776 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8780 conftest$ac_exeext conftest.$ac_ext
8781 CFLAGS=$ac_wine_try_cflags_saved
8783 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8784 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8785 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8786 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8791 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8792 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8793 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8794 echo $ECHO_N "(cached) $ECHO_C" >&6
8796 ac_wine_try_cflags_saved=$CFLAGS
8797 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8798 cat >conftest.$ac_ext <<_ACEOF
8801 cat confdefs.h >>conftest.$ac_ext
8802 cat >>conftest.$ac_ext <<_ACEOF
8803 /* end confdefs.h. */
8813 rm -f conftest.$ac_objext conftest$ac_exeext
8814 if { (ac_try="$ac_link"
8816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8817 *) ac_try_echo=$ac_try;;
8819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8820 (eval "$ac_link") 2>conftest.er1
8822 grep -v '^ *+' conftest.er1 >conftest.err
8824 cat conftest.err >&5
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); } && {
8827 test -z "$ac_c_werror_flag" ||
8828 test ! -s conftest.err
8829 } && test -s conftest$ac_exeext &&
8830 $as_test_x conftest$ac_exeext; then
8831 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8833 echo "$as_me: failed program was:" >&5
8834 sed 's/^/| /' conftest.$ac_ext >&5
8836 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8840 conftest$ac_exeext conftest.$ac_ext
8841 CFLAGS=$ac_wine_try_cflags_saved
8843 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8844 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8845 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8846 LDEXECFLAGS="-Wl,--export-dynamic"
8851 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8852 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8853 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8854 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8855 echo $ECHO_N "(cached) $ECHO_C" >&6
8857 ac_wine_try_cflags_saved=$CFLAGS
8858 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8859 cat >conftest.$ac_ext <<_ACEOF
8862 cat confdefs.h >>conftest.$ac_ext
8863 cat >>conftest.$ac_ext <<_ACEOF
8864 /* end confdefs.h. */
8874 rm -f conftest.$ac_objext conftest$ac_exeext
8875 if { (ac_try="$ac_link"
8877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8878 *) ac_try_echo=$ac_try;;
8880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8881 (eval "$ac_link") 2>conftest.er1
8883 grep -v '^ *+' conftest.er1 >conftest.err
8885 cat conftest.err >&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 (exit $ac_status); } && {
8888 test -z "$ac_c_werror_flag" ||
8889 test ! -s conftest.err
8890 } && test -s conftest$ac_exeext &&
8891 $as_test_x conftest$ac_exeext; then
8892 eval "$as_ac_var=yes"
8894 echo "$as_me: failed program was:" >&5
8895 sed 's/^/| /' conftest.$ac_ext >&5
8897 eval "$as_ac_var=no"
8900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8901 conftest$ac_exeext conftest.$ac_ext
8902 CFLAGS=$ac_wine_try_cflags_saved
8904 ac_res=`eval echo '${'$as_ac_var'}'`
8905 { echo "$as_me:$LINENO: result: $ac_res" >&5
8906 echo "${ECHO_T}$ac_res" >&6; }
8907 if test `eval echo '${'$as_ac_var'}'` = yes; then
8908 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8909 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8911 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8912 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8913 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8914 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8915 echo $ECHO_N "(cached) $ECHO_C" >&6
8917 ac_wine_try_cflags_saved=$CFLAGS
8918 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8919 cat >conftest.$ac_ext <<_ACEOF
8922 cat confdefs.h >>conftest.$ac_ext
8923 cat >>conftest.$ac_ext <<_ACEOF
8924 /* end confdefs.h. */
8934 rm -f conftest.$ac_objext conftest$ac_exeext
8935 if { (ac_try="$ac_link"
8937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8938 *) ac_try_echo=$ac_try;;
8940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8941 (eval "$ac_link") 2>conftest.er1
8943 grep -v '^ *+' conftest.er1 >conftest.err
8945 cat conftest.err >&5
8946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8947 (exit $ac_status); } && {
8948 test -z "$ac_c_werror_flag" ||
8949 test ! -s conftest.err
8950 } && test -s conftest$ac_exeext &&
8951 $as_test_x conftest$ac_exeext; then
8952 eval "$as_ac_var=yes"
8954 echo "$as_me: failed program was:" >&5
8955 sed 's/^/| /' conftest.$ac_ext >&5
8957 eval "$as_ac_var=no"
8960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8961 conftest$ac_exeext conftest.$ac_ext
8962 CFLAGS=$ac_wine_try_cflags_saved
8964 ac_res=`eval echo '${'$as_ac_var'}'`
8965 { echo "$as_me:$LINENO: result: $ac_res" >&5
8966 echo "${ECHO_T}$ac_res" >&6; }
8967 if test `eval echo '${'$as_ac_var'}'` = yes; then
8968 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8969 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8975 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8976 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8977 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8978 echo $ECHO_N "(cached) $ECHO_C" >&6
8980 ac_wine_try_cflags_saved=$CFLAGS
8981 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8982 cat >conftest.$ac_ext <<_ACEOF
8985 cat confdefs.h >>conftest.$ac_ext
8986 cat >>conftest.$ac_ext <<_ACEOF
8987 /* end confdefs.h. */
8997 rm -f conftest.$ac_objext conftest$ac_exeext
8998 if { (ac_try="$ac_link"
9000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9001 *) ac_try_echo=$ac_try;;
9003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9004 (eval "$ac_link") 2>conftest.er1
9006 grep -v '^ *+' conftest.er1 >conftest.err
9008 cat conftest.err >&5
9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010 (exit $ac_status); } && {
9011 test -z "$ac_c_werror_flag" ||
9012 test ! -s conftest.err
9013 } && test -s conftest$ac_exeext &&
9014 $as_test_x conftest$ac_exeext; then
9015 ac_cv_cflags__Wl___enable_new_dtags=yes
9017 echo "$as_me: failed program was:" >&5
9018 sed 's/^/| /' conftest.$ac_ext >&5
9020 ac_cv_cflags__Wl___enable_new_dtags=no
9023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9024 conftest$ac_exeext conftest.$ac_ext
9025 CFLAGS=$ac_wine_try_cflags_saved
9027 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9028 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9029 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9030 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9035 *i[3456789]86* | x86_64)
9036 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9037 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9038 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9039 echo $ECHO_N "(cached) $ECHO_C" >&6
9041 ac_wine_try_cflags_saved=$CFLAGS
9042 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9043 cat >conftest.$ac_ext <<_ACEOF
9046 cat confdefs.h >>conftest.$ac_ext
9047 cat >>conftest.$ac_ext <<_ACEOF
9048 /* end confdefs.h. */
9058 rm -f conftest.$ac_objext conftest$ac_exeext
9059 if { (ac_try="$ac_link"
9061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9062 *) ac_try_echo=$ac_try;;
9064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9065 (eval "$ac_link") 2>conftest.er1
9067 grep -v '^ *+' conftest.er1 >conftest.err
9069 cat conftest.err >&5
9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); } && {
9072 test -z "$ac_c_werror_flag" ||
9073 test ! -s conftest.err
9074 } && test -s conftest$ac_exeext &&
9075 $as_test_x conftest$ac_exeext; then
9076 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9078 echo "$as_me: failed program was:" >&5
9079 sed 's/^/| /' conftest.$ac_ext >&5
9081 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9085 conftest$ac_exeext conftest.$ac_ext
9086 CFLAGS=$ac_wine_try_cflags_saved
9088 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9089 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9090 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9091 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9098 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9099 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9100 if test "${ac_cv_c_dll_unixware+set}" = set; then
9101 echo $ECHO_N "(cached) $ECHO_C" >&6
9103 ac_wine_try_cflags_saved=$CFLAGS
9104 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9105 cat >conftest.$ac_ext <<_ACEOF
9108 rm -f conftest.$ac_objext conftest$ac_exeext
9109 if { (ac_try="$ac_link"
9111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9112 *) ac_try_echo=$ac_try;;
9114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9115 (eval "$ac_link") 2>conftest.er1
9117 grep -v '^ *+' conftest.er1 >conftest.err
9119 cat conftest.err >&5
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); } && {
9122 test -z "$ac_c_werror_flag" ||
9123 test ! -s conftest.err
9124 } && test -s conftest$ac_exeext &&
9125 $as_test_x conftest$ac_exeext; then
9126 ac_cv_c_dll_unixware="yes"
9128 echo "$as_me: failed program was:" >&5
9129 sed 's/^/| /' conftest.$ac_ext >&5
9131 ac_cv_c_dll_unixware="no"
9134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9135 conftest$ac_exeext conftest.$ac_ext
9136 CFLAGS=$ac_wine_try_cflags_saved
9138 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9139 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9140 if test "$ac_cv_c_dll_unixware" = "yes"
9142 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9143 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9146 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9147 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9148 if test "${ac_cv_c_dll_hpux+set}" = set; then
9149 echo $ECHO_N "(cached) $ECHO_C" >&6
9151 ac_wine_try_cflags_saved=$CFLAGS
9152 CFLAGS="$CFLAGS -shared"
9153 cat >conftest.$ac_ext <<_ACEOF
9156 rm -f conftest.$ac_objext conftest$ac_exeext
9157 if { (ac_try="$ac_link"
9159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9160 *) ac_try_echo=$ac_try;;
9162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9163 (eval "$ac_link") 2>conftest.er1
9165 grep -v '^ *+' conftest.er1 >conftest.err
9167 cat conftest.err >&5
9168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); } && {
9170 test -z "$ac_c_werror_flag" ||
9171 test ! -s conftest.err
9172 } && test -s conftest$ac_exeext &&
9173 $as_test_x conftest$ac_exeext; then
9174 ac_cv_c_dll_hpux="yes"
9176 echo "$as_me: failed program was:" >&5
9177 sed 's/^/| /' conftest.$ac_ext >&5
9179 ac_cv_c_dll_hpux="no"
9182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9183 conftest$ac_exeext conftest.$ac_ext
9184 CFLAGS=$ac_wine_try_cflags_saved
9186 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9187 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9188 if test "$ac_cv_c_dll_hpux" = "yes"
9192 LDDLLFLAGS="-shared -fPIC"
9193 LDSHARED="\$(CC) -shared"
9200 if test "$cross_compiling" = "no"
9202 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9204 # Extract the first word of "$ac_prog", so it can be a program name with args.
9205 set dummy $ac_prog; ac_word=$2
9206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9208 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9209 echo $ECHO_N "(cached) $ECHO_C" >&6
9211 if test -n "$CROSSCC"; then
9212 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9218 test -z "$as_dir" && as_dir=.
9219 for ac_exec_ext in '' $ac_executable_extensions; do
9220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9221 ac_cv_prog_CROSSCC="$ac_prog"
9222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9231 CROSSCC=$ac_cv_prog_CROSSCC
9232 if test -n "$CROSSCC"; then
9233 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9234 echo "${ECHO_T}$CROSSCC" >&6; }
9236 { echo "$as_me:$LINENO: result: no" >&5
9237 echo "${ECHO_T}no" >&6; }
9241 test -n "$CROSSCC" && break
9243 test -n "$CROSSCC" || CROSSCC="false"
9245 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9247 # Extract the first word of "$ac_prog", so it can be a program name with args.
9248 set dummy $ac_prog; ac_word=$2
9249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9251 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9252 echo $ECHO_N "(cached) $ECHO_C" >&6
9254 if test -n "$DLLTOOL"; then
9255 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9261 test -z "$as_dir" && as_dir=.
9262 for ac_exec_ext in '' $ac_executable_extensions; do
9263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9264 ac_cv_prog_DLLTOOL="$ac_prog"
9265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9274 DLLTOOL=$ac_cv_prog_DLLTOOL
9275 if test -n "$DLLTOOL"; then
9276 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9277 echo "${ECHO_T}$DLLTOOL" >&6; }
9279 { echo "$as_me:$LINENO: result: no" >&5
9280 echo "${ECHO_T}no" >&6; }
9284 test -n "$DLLTOOL" && break
9286 test -n "$DLLTOOL" || DLLTOOL="false"
9288 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9290 # Extract the first word of "$ac_prog", so it can be a program name with args.
9291 set dummy $ac_prog; ac_word=$2
9292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9294 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9295 echo $ECHO_N "(cached) $ECHO_C" >&6
9297 if test -n "$CROSSWINDRES"; then
9298 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9304 test -z "$as_dir" && as_dir=.
9305 for ac_exec_ext in '' $ac_executable_extensions; do
9306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9307 ac_cv_prog_CROSSWINDRES="$ac_prog"
9308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9317 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9318 if test -n "$CROSSWINDRES"; then
9319 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9320 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9322 { echo "$as_me:$LINENO: result: no" >&5
9323 echo "${ECHO_T}no" >&6; }
9327 test -n "$CROSSWINDRES" && break
9329 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9331 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9333 # Extract the first word of "$ac_prog", so it can be a program name with args.
9334 set dummy $ac_prog; ac_word=$2
9335 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9337 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9338 echo $ECHO_N "(cached) $ECHO_C" >&6
9340 if test -n "$MINGWAR"; then
9341 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9347 test -z "$as_dir" && as_dir=.
9348 for ac_exec_ext in '' $ac_executable_extensions; do
9349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9350 ac_cv_prog_MINGWAR="$ac_prog"
9351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9360 MINGWAR=$ac_cv_prog_MINGWAR
9361 if test -n "$MINGWAR"; then
9362 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9363 echo "${ECHO_T}$MINGWAR" >&6; }
9365 { echo "$as_me:$LINENO: result: no" >&5
9366 echo "${ECHO_T}no" >&6; }
9370 test -n "$MINGWAR" && break
9372 test -n "$MINGWAR" || MINGWAR="false"
9374 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9379 if test "$LIBEXT" = "a"; then
9380 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9381 It is currently not possible to build Wine without shared library
9382 (.so) support to allow transparent switch between .so and .dll files.
9383 If you are using Linux, you will need a newer binutils.
9385 echo "$as_me: error: could not find a way to build shared libraries.
9386 It is currently not possible to build Wine without shared library
9387 (.so) support to allow transparent switch between .so and .dll files.
9388 If you are using Linux, you will need a newer binutils.
9390 { (exit 1); exit 1; }; }
9394 if test "$have_x" = "yes"
9397 ac_save_CPPFLAGS="$CPPFLAGS"
9398 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9400 { echo "$as_me:$LINENO: checking for -lX11" >&5
9401 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9402 if test "${ac_cv_lib_soname_X11+set}" = set; then
9403 echo $ECHO_N "(cached) $ECHO_C" >&6
9405 ac_check_soname_save_LIBS=$LIBS
9406 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9407 cat >conftest.$ac_ext <<_ACEOF
9410 cat confdefs.h >>conftest.$ac_ext
9411 cat >>conftest.$ac_ext <<_ACEOF
9412 /* end confdefs.h. */
9414 /* Override any GCC internal prototype to avoid an error.
9415 Use char because int might match the return type of a GCC
9416 builtin and then its argument prototype would still apply. */
9420 char XCreateWindow ();
9424 return XCreateWindow ();
9429 rm -f conftest.$ac_objext conftest$ac_exeext
9430 if { (ac_try="$ac_link"
9432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9433 *) ac_try_echo=$ac_try;;
9435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9436 (eval "$ac_link") 2>conftest.er1
9438 grep -v '^ *+' conftest.er1 >conftest.err
9440 cat conftest.err >&5
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); } && {
9443 test -z "$ac_c_werror_flag" ||
9444 test ! -s conftest.err
9445 } && test -s conftest$ac_exeext &&
9446 $as_test_x conftest$ac_exeext; then
9449 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'` ;;
9450 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9453 echo "$as_me: failed program was:" >&5
9454 sed 's/^/| /' conftest.$ac_ext >&5
9459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9460 conftest$ac_exeext conftest.$ac_ext
9461 LIBS=$ac_check_soname_save_LIBS
9463 if test "x$ac_cv_lib_soname_X11" = "x"; then
9464 { echo "$as_me:$LINENO: result: not found" >&5
9465 echo "${ECHO_T}not found" >&6; }
9468 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9469 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9471 cat >>confdefs.h <<_ACEOF
9472 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9478 { echo "$as_me:$LINENO: checking for -lXext" >&5
9479 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9480 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9481 echo $ECHO_N "(cached) $ECHO_C" >&6
9483 ac_check_soname_save_LIBS=$LIBS
9484 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9485 cat >conftest.$ac_ext <<_ACEOF
9488 cat confdefs.h >>conftest.$ac_ext
9489 cat >>conftest.$ac_ext <<_ACEOF
9490 /* end confdefs.h. */
9492 /* Override any GCC internal prototype to avoid an error.
9493 Use char because int might match the return type of a GCC
9494 builtin and then its argument prototype would still apply. */
9498 char XextCreateExtension ();
9502 return XextCreateExtension ();
9507 rm -f conftest.$ac_objext conftest$ac_exeext
9508 if { (ac_try="$ac_link"
9510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9511 *) ac_try_echo=$ac_try;;
9513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9514 (eval "$ac_link") 2>conftest.er1
9516 grep -v '^ *+' conftest.er1 >conftest.err
9518 cat conftest.err >&5
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); } && {
9521 test -z "$ac_c_werror_flag" ||
9522 test ! -s conftest.err
9523 } && test -s conftest$ac_exeext &&
9524 $as_test_x conftest$ac_exeext; then
9527 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'` ;;
9528 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9531 echo "$as_me: failed program was:" >&5
9532 sed 's/^/| /' conftest.$ac_ext >&5
9537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9538 conftest$ac_exeext conftest.$ac_ext
9539 LIBS=$ac_check_soname_save_LIBS
9541 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9542 { echo "$as_me:$LINENO: result: not found" >&5
9543 echo "${ECHO_T}not found" >&6; }
9546 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9547 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9549 cat >>confdefs.h <<_ACEOF
9550 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9569 for ac_header in X11/Xlib.h \
9572 X11/Xcursor/Xcursor.h \
9573 X11/extensions/shape.h \
9574 X11/extensions/XInput.h \
9575 X11/extensions/XShm.h \
9576 X11/extensions/Xcomposite.h \
9577 X11/extensions/Xinerama.h \
9578 X11/extensions/Xrandr.h \
9579 X11/extensions/Xrender.h \
9580 X11/extensions/xf86vmode.h
9582 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9583 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9585 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9586 echo $ECHO_N "(cached) $ECHO_C" >&6
9588 cat >conftest.$ac_ext <<_ACEOF
9591 cat confdefs.h >>conftest.$ac_ext
9592 cat >>conftest.$ac_ext <<_ACEOF
9593 /* end confdefs.h. */
9594 #ifdef HAVE_X11_XLIB_H
9595 # include <X11/Xlib.h>
9597 #ifdef HAVE_X11_XUTIL_H
9598 # include <X11/Xutil.h>
9601 #include <$ac_header>
9603 rm -f conftest.$ac_objext
9604 if { (ac_try="$ac_compile"
9606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9607 *) ac_try_echo=$ac_try;;
9609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9610 (eval "$ac_compile") 2>conftest.er1
9612 grep -v '^ *+' conftest.er1 >conftest.err
9614 cat conftest.err >&5
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); } && {
9617 test -z "$ac_c_werror_flag" ||
9618 test ! -s conftest.err
9619 } && test -s conftest.$ac_objext; then
9620 eval "$as_ac_Header=yes"
9622 echo "$as_me: failed program was:" >&5
9623 sed 's/^/| /' conftest.$ac_ext >&5
9625 eval "$as_ac_Header=no"
9628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9630 ac_res=`eval echo '${'$as_ac_Header'}'`
9631 { echo "$as_me:$LINENO: result: $ac_res" >&5
9632 echo "${ECHO_T}$ac_res" >&6; }
9633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9634 cat >>confdefs.h <<_ACEOF
9635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9643 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9645 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9646 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9647 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9648 echo $ECHO_N "(cached) $ECHO_C" >&6
9650 ac_check_lib_save_LIBS=$LIBS
9651 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9652 cat >conftest.$ac_ext <<_ACEOF
9655 cat confdefs.h >>conftest.$ac_ext
9656 cat >>conftest.$ac_ext <<_ACEOF
9657 /* end confdefs.h. */
9659 /* Override any GCC internal prototype to avoid an error.
9660 Use char because int might match the return type of a GCC
9661 builtin and then its argument prototype would still apply. */
9665 char XkbQueryExtension ();
9669 return XkbQueryExtension ();
9674 rm -f conftest.$ac_objext conftest$ac_exeext
9675 if { (ac_try="$ac_link"
9677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9678 *) ac_try_echo=$ac_try;;
9680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9681 (eval "$ac_link") 2>conftest.er1
9683 grep -v '^ *+' conftest.er1 >conftest.err
9685 cat conftest.err >&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); } && {
9688 test -z "$ac_c_werror_flag" ||
9689 test ! -s conftest.err
9690 } && test -s conftest$ac_exeext &&
9691 $as_test_x conftest$ac_exeext; then
9692 ac_cv_lib_X11_XkbQueryExtension=yes
9694 echo "$as_me: failed program was:" >&5
9695 sed 's/^/| /' conftest.$ac_ext >&5
9697 ac_cv_lib_X11_XkbQueryExtension=no
9700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9701 conftest$ac_exeext conftest.$ac_ext
9702 LIBS=$ac_check_lib_save_LIBS
9704 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9705 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9706 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9708 cat >>confdefs.h <<\_ACEOF
9716 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9718 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9719 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9720 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9721 echo $ECHO_N "(cached) $ECHO_C" >&6
9723 ac_check_soname_save_LIBS=$LIBS
9724 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9725 cat >conftest.$ac_ext <<_ACEOF
9728 cat confdefs.h >>conftest.$ac_ext
9729 cat >>conftest.$ac_ext <<_ACEOF
9730 /* end confdefs.h. */
9732 /* Override any GCC internal prototype to avoid an error.
9733 Use char because int might match the return type of a GCC
9734 builtin and then its argument prototype would still apply. */
9738 char XcursorImageLoadCursor ();
9742 return XcursorImageLoadCursor ();
9747 rm -f conftest.$ac_objext conftest$ac_exeext
9748 if { (ac_try="$ac_link"
9750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9751 *) ac_try_echo=$ac_try;;
9753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9754 (eval "$ac_link") 2>conftest.er1
9756 grep -v '^ *+' conftest.er1 >conftest.err
9758 cat conftest.err >&5
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); } && {
9761 test -z "$ac_c_werror_flag" ||
9762 test ! -s conftest.err
9763 } && test -s conftest$ac_exeext &&
9764 $as_test_x conftest$ac_exeext; then
9767 dylib) ac_cv_lib_soname_Xcursor=`otool -L conftest$ac_exeext | grep "libXcursor\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9768 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.$ac_ext >&5
9777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9778 conftest$ac_exeext conftest.$ac_ext
9779 LIBS=$ac_check_soname_save_LIBS
9781 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9782 { echo "$as_me:$LINENO: result: not found" >&5
9783 echo "${ECHO_T}not found" >&6; }
9786 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9787 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9789 cat >>confdefs.h <<_ACEOF
9790 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9797 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9798 case "x$with_xcursor" in
9799 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9801 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9802 This is an error since --with-xcursor was requested." >&5
9803 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9804 This is an error since --with-xcursor was requested." >&2;}
9805 { (exit 1); exit 1; }; } ;;
9810 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9812 { echo "$as_me:$LINENO: checking for -lXi" >&5
9813 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9814 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9817 ac_check_soname_save_LIBS=$LIBS
9818 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9819 cat >conftest.$ac_ext <<_ACEOF
9822 cat confdefs.h >>conftest.$ac_ext
9823 cat >>conftest.$ac_ext <<_ACEOF
9824 /* end confdefs.h. */
9826 /* Override any GCC internal prototype to avoid an error.
9827 Use char because int might match the return type of a GCC
9828 builtin and then its argument prototype would still apply. */
9832 char XOpenDevice ();
9836 return XOpenDevice ();
9841 rm -f conftest.$ac_objext conftest$ac_exeext
9842 if { (ac_try="$ac_link"
9844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9845 *) ac_try_echo=$ac_try;;
9847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9848 (eval "$ac_link") 2>conftest.er1
9850 grep -v '^ *+' conftest.er1 >conftest.err
9852 cat conftest.err >&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); } && {
9855 test -z "$ac_c_werror_flag" ||
9856 test ! -s conftest.err
9857 } && test -s conftest$ac_exeext &&
9858 $as_test_x conftest$ac_exeext; then
9861 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'` ;;
9862 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9865 echo "$as_me: failed program was:" >&5
9866 sed 's/^/| /' conftest.$ac_ext >&5
9871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9872 conftest$ac_exeext conftest.$ac_ext
9873 LIBS=$ac_check_soname_save_LIBS
9875 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9876 { echo "$as_me:$LINENO: result: not found" >&5
9877 echo "${ECHO_T}not found" >&6; }
9880 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9881 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9883 cat >>confdefs.h <<_ACEOF
9884 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9891 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9892 case "x$with_xinput" in
9893 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9895 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9896 This is an error since --with-xinput was requested." >&5
9897 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9898 This is an error since --with-xinput was requested." >&2;}
9899 { (exit 1); exit 1; }; } ;;
9904 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9906 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9907 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9908 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9911 ac_check_lib_save_LIBS=$LIBS
9912 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9913 cat >conftest.$ac_ext <<_ACEOF
9916 cat confdefs.h >>conftest.$ac_ext
9917 cat >>conftest.$ac_ext <<_ACEOF
9918 /* end confdefs.h. */
9920 /* Override any GCC internal prototype to avoid an error.
9921 Use char because int might match the return type of a GCC
9922 builtin and then its argument prototype would still apply. */
9926 char XShmQueryExtension ();
9930 return XShmQueryExtension ();
9935 rm -f conftest.$ac_objext conftest$ac_exeext
9936 if { (ac_try="$ac_link"
9938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9939 *) ac_try_echo=$ac_try;;
9941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9942 (eval "$ac_link") 2>conftest.er1
9944 grep -v '^ *+' conftest.er1 >conftest.err
9946 cat conftest.err >&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); } && {
9949 test -z "$ac_c_werror_flag" ||
9950 test ! -s conftest.err
9951 } && test -s conftest$ac_exeext &&
9952 $as_test_x conftest$ac_exeext; then
9953 ac_cv_lib_Xext_XShmQueryExtension=yes
9955 echo "$as_me: failed program was:" >&5
9956 sed 's/^/| /' conftest.$ac_ext >&5
9958 ac_cv_lib_Xext_XShmQueryExtension=no
9961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9962 conftest$ac_exeext conftest.$ac_ext
9963 LIBS=$ac_check_lib_save_LIBS
9965 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9966 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9967 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9969 cat >>confdefs.h <<\_ACEOF
9970 #define HAVE_LIBXXSHM 1
9976 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9977 case "x$with_xshm" in
9978 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9980 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9981 This is an error since --with-xshm was requested." >&5
9982 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9983 This is an error since --with-xshm was requested." >&2;}
9984 { (exit 1); exit 1; }; } ;;
9989 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9991 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9992 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9993 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9994 echo $ECHO_N "(cached) $ECHO_C" >&6
9996 ac_check_lib_save_LIBS=$LIBS
9997 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9998 cat >conftest.$ac_ext <<_ACEOF
10001 cat confdefs.h >>conftest.$ac_ext
10002 cat >>conftest.$ac_ext <<_ACEOF
10003 /* end confdefs.h. */
10005 /* Override any GCC internal prototype to avoid an error.
10006 Use char because int might match the return type of a GCC
10007 builtin and then its argument prototype would still apply. */
10011 char XShapeQueryExtension ();
10015 return XShapeQueryExtension ();
10020 rm -f conftest.$ac_objext conftest$ac_exeext
10021 if { (ac_try="$ac_link"
10022 case "(($ac_try" in
10023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10024 *) ac_try_echo=$ac_try;;
10026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10027 (eval "$ac_link") 2>conftest.er1
10029 grep -v '^ *+' conftest.er1 >conftest.err
10031 cat conftest.err >&5
10032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10033 (exit $ac_status); } && {
10034 test -z "$ac_c_werror_flag" ||
10035 test ! -s conftest.err
10036 } && test -s conftest$ac_exeext &&
10037 $as_test_x conftest$ac_exeext; then
10038 ac_cv_lib_Xext_XShapeQueryExtension=yes
10040 echo "$as_me: failed program was:" >&5
10041 sed 's/^/| /' conftest.$ac_ext >&5
10043 ac_cv_lib_Xext_XShapeQueryExtension=no
10046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10047 conftest$ac_exeext conftest.$ac_ext
10048 LIBS=$ac_check_lib_save_LIBS
10050 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10051 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10052 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10054 cat >>confdefs.h <<\_ACEOF
10055 #define HAVE_LIBXSHAPE 1
10061 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10062 case "x$with_xshape" in
10063 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10065 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10066 This is an error since --with-xshape was requested." >&5
10067 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10068 This is an error since --with-xshape was requested." >&2;}
10069 { (exit 1); exit 1; }; } ;;
10074 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10076 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10077 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10078 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10079 echo $ECHO_N "(cached) $ECHO_C" >&6
10081 ac_check_lib_save_LIBS=$LIBS
10082 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10083 cat >conftest.$ac_ext <<_ACEOF
10086 cat confdefs.h >>conftest.$ac_ext
10087 cat >>conftest.$ac_ext <<_ACEOF
10088 /* end confdefs.h. */
10090 /* Override any GCC internal prototype to avoid an error.
10091 Use char because int might match the return type of a GCC
10092 builtin and then its argument prototype would still apply. */
10096 char XF86VidModeQueryExtension ();
10100 return XF86VidModeQueryExtension ();
10105 rm -f conftest.$ac_objext conftest$ac_exeext
10106 if { (ac_try="$ac_link"
10107 case "(($ac_try" in
10108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10109 *) ac_try_echo=$ac_try;;
10111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10112 (eval "$ac_link") 2>conftest.er1
10114 grep -v '^ *+' conftest.er1 >conftest.err
10116 cat conftest.err >&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); } && {
10119 test -z "$ac_c_werror_flag" ||
10120 test ! -s conftest.err
10121 } && test -s conftest$ac_exeext &&
10122 $as_test_x conftest$ac_exeext; then
10123 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10125 echo "$as_me: failed program was:" >&5
10126 sed 's/^/| /' conftest.$ac_ext >&5
10128 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10132 conftest$ac_exeext conftest.$ac_ext
10133 LIBS=$ac_check_lib_save_LIBS
10135 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10136 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10137 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10139 cat >>confdefs.h <<\_ACEOF
10140 #define HAVE_LIBXXF86VM 1
10143 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10148 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10149 case "x$with_xvidmode" in
10150 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10152 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10153 This is an error since --with-xvidmode was requested." >&5
10154 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10155 This is an error since --with-xvidmode was requested." >&2;}
10156 { (exit 1); exit 1; }; } ;;
10161 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
10163 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10164 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10165 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10166 echo $ECHO_N "(cached) $ECHO_C" >&6
10168 ac_check_soname_save_LIBS=$LIBS
10169 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10170 cat >conftest.$ac_ext <<_ACEOF
10173 cat confdefs.h >>conftest.$ac_ext
10174 cat >>conftest.$ac_ext <<_ACEOF
10175 /* end confdefs.h. */
10177 /* Override any GCC internal prototype to avoid an error.
10178 Use char because int might match the return type of a GCC
10179 builtin and then its argument prototype would still apply. */
10183 char XRenderQueryExtension ();
10187 return XRenderQueryExtension ();
10192 rm -f conftest.$ac_objext conftest$ac_exeext
10193 if { (ac_try="$ac_link"
10194 case "(($ac_try" in
10195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10196 *) ac_try_echo=$ac_try;;
10198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10199 (eval "$ac_link") 2>conftest.er1
10201 grep -v '^ *+' conftest.er1 >conftest.err
10203 cat conftest.err >&5
10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205 (exit $ac_status); } && {
10206 test -z "$ac_c_werror_flag" ||
10207 test ! -s conftest.err
10208 } && test -s conftest$ac_exeext &&
10209 $as_test_x conftest$ac_exeext; then
10212 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'` ;;
10213 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10216 echo "$as_me: failed program was:" >&5
10217 sed 's/^/| /' conftest.$ac_ext >&5
10222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10223 conftest$ac_exeext conftest.$ac_ext
10224 LIBS=$ac_check_soname_save_LIBS
10226 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10227 { echo "$as_me:$LINENO: result: not found" >&5
10228 echo "${ECHO_T}not found" >&6; }
10231 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10232 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10234 cat >>confdefs.h <<_ACEOF
10235 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10238 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10239 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10240 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10241 echo $ECHO_N "(cached) $ECHO_C" >&6
10243 ac_check_lib_save_LIBS=$LIBS
10244 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10245 cat >conftest.$ac_ext <<_ACEOF
10248 cat confdefs.h >>conftest.$ac_ext
10249 cat >>conftest.$ac_ext <<_ACEOF
10250 /* end confdefs.h. */
10252 /* Override any GCC internal prototype to avoid an error.
10253 Use char because int might match the return type of a GCC
10254 builtin and then its argument prototype would still apply. */
10258 char XRenderSetPictureTransform ();
10262 return XRenderSetPictureTransform ();
10267 rm -f conftest.$ac_objext conftest$ac_exeext
10268 if { (ac_try="$ac_link"
10269 case "(($ac_try" in
10270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10271 *) ac_try_echo=$ac_try;;
10273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10274 (eval "$ac_link") 2>conftest.er1
10276 grep -v '^ *+' conftest.er1 >conftest.err
10278 cat conftest.err >&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); } && {
10281 test -z "$ac_c_werror_flag" ||
10282 test ! -s conftest.err
10283 } && test -s conftest$ac_exeext &&
10284 $as_test_x conftest$ac_exeext; then
10285 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10287 echo "$as_me: failed program was:" >&5
10288 sed 's/^/| /' conftest.$ac_ext >&5
10290 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10294 conftest$ac_exeext conftest.$ac_ext
10295 LIBS=$ac_check_lib_save_LIBS
10297 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10298 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10299 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10301 cat >>confdefs.h <<\_ACEOF
10302 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10311 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10312 case "x$with_xrender" in
10313 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10315 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10316 This is an error since --with-xrender was requested." >&5
10317 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10318 This is an error since --with-xrender was requested." >&2;}
10319 { (exit 1); exit 1; }; } ;;
10324 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10326 cat >conftest.$ac_ext <<_ACEOF
10329 cat confdefs.h >>conftest.$ac_ext
10330 cat >>conftest.$ac_ext <<_ACEOF
10331 /* end confdefs.h. */
10332 #include <X11/Xlib.h>
10333 #include <X11/extensions/Xrandr.h>
10337 static typeof(XRRSetScreenConfigAndRate) * func;
10342 rm -f conftest.$ac_objext
10343 if { (ac_try="$ac_compile"
10344 case "(($ac_try" in
10345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10346 *) ac_try_echo=$ac_try;;
10348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10349 (eval "$ac_compile") 2>conftest.er1
10351 grep -v '^ *+' conftest.er1 >conftest.err
10353 cat conftest.err >&5
10354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10355 (exit $ac_status); } && {
10356 test -z "$ac_c_werror_flag" ||
10357 test ! -s conftest.err
10358 } && test -s conftest.$ac_objext; then
10359 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10360 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10361 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10362 echo $ECHO_N "(cached) $ECHO_C" >&6
10364 ac_check_soname_save_LIBS=$LIBS
10365 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10366 cat >conftest.$ac_ext <<_ACEOF
10369 cat confdefs.h >>conftest.$ac_ext
10370 cat >>conftest.$ac_ext <<_ACEOF
10371 /* end confdefs.h. */
10373 /* Override any GCC internal prototype to avoid an error.
10374 Use char because int might match the return type of a GCC
10375 builtin and then its argument prototype would still apply. */
10379 char XRRQueryExtension ();
10383 return XRRQueryExtension ();
10388 rm -f conftest.$ac_objext conftest$ac_exeext
10389 if { (ac_try="$ac_link"
10390 case "(($ac_try" in
10391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10392 *) ac_try_echo=$ac_try;;
10394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10395 (eval "$ac_link") 2>conftest.er1
10397 grep -v '^ *+' conftest.er1 >conftest.err
10399 cat conftest.err >&5
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); } && {
10402 test -z "$ac_c_werror_flag" ||
10403 test ! -s conftest.err
10404 } && test -s conftest$ac_exeext &&
10405 $as_test_x conftest$ac_exeext; then
10408 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'` ;;
10409 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10412 echo "$as_me: failed program was:" >&5
10413 sed 's/^/| /' conftest.$ac_ext >&5
10418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10419 conftest$ac_exeext conftest.$ac_ext
10420 LIBS=$ac_check_soname_save_LIBS
10422 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10423 { echo "$as_me:$LINENO: result: not found" >&5
10424 echo "${ECHO_T}not found" >&6; }
10427 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10428 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10430 cat >>confdefs.h <<_ACEOF
10431 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10438 echo "$as_me: failed program was:" >&5
10439 sed 's/^/| /' conftest.$ac_ext >&5
10444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10446 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10447 case "x$with_xrandr" in
10448 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10450 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10451 This is an error since --with-xrandr was requested." >&5
10452 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10453 This is an error since --with-xrandr was requested." >&2;}
10454 { (exit 1); exit 1; }; } ;;
10459 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10461 cat >conftest.$ac_ext <<_ACEOF
10464 cat confdefs.h >>conftest.$ac_ext
10465 cat >>conftest.$ac_ext <<_ACEOF
10466 /* end confdefs.h. */
10467 #include <X11/Xlib.h>
10468 #include <X11/extensions/Xinerama.h>
10472 static typeof(XineramaQueryScreens) * func;
10477 rm -f conftest.$ac_objext
10478 if { (ac_try="$ac_compile"
10479 case "(($ac_try" in
10480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10481 *) ac_try_echo=$ac_try;;
10483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10484 (eval "$ac_compile") 2>conftest.er1
10486 grep -v '^ *+' conftest.er1 >conftest.err
10488 cat conftest.err >&5
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); } && {
10491 test -z "$ac_c_werror_flag" ||
10492 test ! -s conftest.err
10493 } && test -s conftest.$ac_objext; then
10494 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10495 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10496 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10497 echo $ECHO_N "(cached) $ECHO_C" >&6
10499 ac_check_soname_save_LIBS=$LIBS
10500 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10501 cat >conftest.$ac_ext <<_ACEOF
10504 cat confdefs.h >>conftest.$ac_ext
10505 cat >>conftest.$ac_ext <<_ACEOF
10506 /* end confdefs.h. */
10508 /* Override any GCC internal prototype to avoid an error.
10509 Use char because int might match the return type of a GCC
10510 builtin and then its argument prototype would still apply. */
10514 char XineramaQueryScreens ();
10518 return XineramaQueryScreens ();
10523 rm -f conftest.$ac_objext conftest$ac_exeext
10524 if { (ac_try="$ac_link"
10525 case "(($ac_try" in
10526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10527 *) ac_try_echo=$ac_try;;
10529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10530 (eval "$ac_link") 2>conftest.er1
10532 grep -v '^ *+' conftest.er1 >conftest.err
10534 cat conftest.err >&5
10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); } && {
10537 test -z "$ac_c_werror_flag" ||
10538 test ! -s conftest.err
10539 } && test -s conftest$ac_exeext &&
10540 $as_test_x conftest$ac_exeext; then
10543 dylib) ac_cv_lib_soname_Xinerama=`otool -L conftest$ac_exeext | grep "libXinerama\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10544 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10547 echo "$as_me: failed program was:" >&5
10548 sed 's/^/| /' conftest.$ac_ext >&5
10553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10554 conftest$ac_exeext conftest.$ac_ext
10555 LIBS=$ac_check_soname_save_LIBS
10557 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10558 { echo "$as_me:$LINENO: result: not found" >&5
10559 echo "${ECHO_T}not found" >&6; }
10562 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10563 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10565 cat >>confdefs.h <<_ACEOF
10566 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10573 echo "$as_me: failed program was:" >&5
10574 sed 's/^/| /' conftest.$ac_ext >&5
10579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10581 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10582 case "x$with_xinerama" in
10583 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10585 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10586 This is an error since --with-xinerama was requested." >&5
10587 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10588 This is an error since --with-xinerama was requested." >&2;}
10589 { (exit 1); exit 1; }; } ;;
10594 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10596 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10597 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10598 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10599 echo $ECHO_N "(cached) $ECHO_C" >&6
10601 ac_check_soname_save_LIBS=$LIBS
10602 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10603 cat >conftest.$ac_ext <<_ACEOF
10606 cat confdefs.h >>conftest.$ac_ext
10607 cat >>conftest.$ac_ext <<_ACEOF
10608 /* end confdefs.h. */
10610 /* Override any GCC internal prototype to avoid an error.
10611 Use char because int might match the return type of a GCC
10612 builtin and then its argument prototype would still apply. */
10616 char XCompositeRedirectWindow ();
10620 return XCompositeRedirectWindow ();
10625 rm -f conftest.$ac_objext conftest$ac_exeext
10626 if { (ac_try="$ac_link"
10627 case "(($ac_try" in
10628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10629 *) ac_try_echo=$ac_try;;
10631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10632 (eval "$ac_link") 2>conftest.er1
10634 grep -v '^ *+' conftest.er1 >conftest.err
10636 cat conftest.err >&5
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); } && {
10639 test -z "$ac_c_werror_flag" ||
10640 test ! -s conftest.err
10641 } && test -s conftest$ac_exeext &&
10642 $as_test_x conftest$ac_exeext; then
10645 dylib) ac_cv_lib_soname_Xcomposite=`otool -L conftest$ac_exeext | grep "libXcomposite\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10646 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10649 echo "$as_me: failed program was:" >&5
10650 sed 's/^/| /' conftest.$ac_ext >&5
10655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10656 conftest$ac_exeext conftest.$ac_ext
10657 LIBS=$ac_check_soname_save_LIBS
10659 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10660 { echo "$as_me:$LINENO: result: not found" >&5
10661 echo "${ECHO_T}not found" >&6; }
10664 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10665 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10667 cat >>confdefs.h <<_ACEOF
10668 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10675 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10676 case "x$with_xcomposite" in
10677 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10679 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10680 This is an error since --with-xcomposite was requested." >&5
10681 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10682 This is an error since --with-xcomposite was requested." >&2;}
10683 { (exit 1); exit 1; }; } ;;
10690 if test "x$with_opengl" != "xno"
10696 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10698 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10699 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10701 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10702 echo $ECHO_N "(cached) $ECHO_C" >&6
10704 cat >conftest.$ac_ext <<_ACEOF
10707 cat confdefs.h >>conftest.$ac_ext
10708 cat >>conftest.$ac_ext <<_ACEOF
10709 /* end confdefs.h. */
10710 #ifdef HAVE_GL_GLX_H
10711 # include <GL/glx.h>
10714 #include <$ac_header>
10716 rm -f conftest.$ac_objext
10717 if { (ac_try="$ac_compile"
10718 case "(($ac_try" in
10719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10720 *) ac_try_echo=$ac_try;;
10722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10723 (eval "$ac_compile") 2>conftest.er1
10725 grep -v '^ *+' conftest.er1 >conftest.err
10727 cat conftest.err >&5
10728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10729 (exit $ac_status); } && {
10730 test -z "$ac_c_werror_flag" ||
10731 test ! -s conftest.err
10732 } && test -s conftest.$ac_objext; then
10733 eval "$as_ac_Header=yes"
10735 echo "$as_me: failed program was:" >&5
10736 sed 's/^/| /' conftest.$ac_ext >&5
10738 eval "$as_ac_Header=no"
10741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10743 ac_res=`eval echo '${'$as_ac_Header'}'`
10744 { echo "$as_me:$LINENO: result: $ac_res" >&5
10745 echo "${ECHO_T}$ac_res" >&6; }
10746 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10747 cat >>confdefs.h <<_ACEOF
10748 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10755 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10757 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10758 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10759 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10760 echo $ECHO_N "(cached) $ECHO_C" >&6
10762 cat >conftest.$ac_ext <<_ACEOF
10765 cat confdefs.h >>conftest.$ac_ext
10766 cat >>conftest.$ac_ext <<_ACEOF
10767 /* end confdefs.h. */
10772 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10777 rm -f conftest.$ac_objext
10778 if { (ac_try="$ac_compile"
10779 case "(($ac_try" in
10780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10781 *) ac_try_echo=$ac_try;;
10783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10784 (eval "$ac_compile") 2>conftest.er1
10786 grep -v '^ *+' conftest.er1 >conftest.err
10788 cat conftest.err >&5
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); } && {
10791 test -z "$ac_c_werror_flag" ||
10792 test ! -s conftest.err
10793 } && test -s conftest.$ac_objext; then
10794 wine_cv_opengl_header_version_OK="yes"
10796 echo "$as_me: failed program was:" >&5
10797 sed 's/^/| /' conftest.$ac_ext >&5
10799 wine_cv_opengl_header_version_OK="no"
10802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10804 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10805 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10807 if test "$wine_cv_opengl_header_version_OK" = "yes"
10809 { echo "$as_me:$LINENO: checking for -lGL" >&5
10810 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10811 if test "${ac_cv_lib_soname_GL+set}" = set; then
10812 echo $ECHO_N "(cached) $ECHO_C" >&6
10814 ac_check_soname_save_LIBS=$LIBS
10815 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10816 cat >conftest.$ac_ext <<_ACEOF
10819 cat confdefs.h >>conftest.$ac_ext
10820 cat >>conftest.$ac_ext <<_ACEOF
10821 /* end confdefs.h. */
10823 /* Override any GCC internal prototype to avoid an error.
10824 Use char because int might match the return type of a GCC
10825 builtin and then its argument prototype would still apply. */
10829 char glXCreateContext ();
10833 return glXCreateContext ();
10838 rm -f conftest.$ac_objext conftest$ac_exeext
10839 if { (ac_try="$ac_link"
10840 case "(($ac_try" in
10841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10842 *) ac_try_echo=$ac_try;;
10844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10845 (eval "$ac_link") 2>conftest.er1
10847 grep -v '^ *+' conftest.er1 >conftest.err
10849 cat conftest.err >&5
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); } && {
10852 test -z "$ac_c_werror_flag" ||
10853 test ! -s conftest.err
10854 } && test -s conftest$ac_exeext &&
10855 $as_test_x conftest$ac_exeext; then
10858 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'` ;;
10859 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10862 echo "$as_me: failed program was:" >&5
10863 sed 's/^/| /' conftest.$ac_ext >&5
10868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10869 conftest$ac_exeext conftest.$ac_ext
10870 LIBS=$ac_check_soname_save_LIBS
10872 if test "x$ac_cv_lib_soname_GL" = "x"; then
10873 { echo "$as_me:$LINENO: result: not found" >&5
10874 echo "${ECHO_T}not found" >&6; }
10875 { echo "$as_me:$LINENO: checking for -lGL" >&5
10876 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10877 if test "${ac_cv_lib_soname_GL+set}" = set; then
10878 echo $ECHO_N "(cached) $ECHO_C" >&6
10880 ac_check_soname_save_LIBS=$LIBS
10881 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10882 cat >conftest.$ac_ext <<_ACEOF
10885 cat confdefs.h >>conftest.$ac_ext
10886 cat >>conftest.$ac_ext <<_ACEOF
10887 /* end confdefs.h. */
10889 /* Override any GCC internal prototype to avoid an error.
10890 Use char because int might match the return type of a GCC
10891 builtin and then its argument prototype would still apply. */
10895 char glXCreateContext ();
10899 return glXCreateContext ();
10904 rm -f conftest.$ac_objext conftest$ac_exeext
10905 if { (ac_try="$ac_link"
10906 case "(($ac_try" in
10907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10908 *) ac_try_echo=$ac_try;;
10910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10911 (eval "$ac_link") 2>conftest.er1
10913 grep -v '^ *+' conftest.er1 >conftest.err
10915 cat conftest.err >&5
10916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917 (exit $ac_status); } && {
10918 test -z "$ac_c_werror_flag" ||
10919 test ! -s conftest.err
10920 } && test -s conftest$ac_exeext &&
10921 $as_test_x conftest$ac_exeext; then
10924 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'` ;;
10925 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10928 echo "$as_me: failed program was:" >&5
10929 sed 's/^/| /' conftest.$ac_ext >&5
10934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10935 conftest$ac_exeext conftest.$ac_ext
10936 LIBS=$ac_check_soname_save_LIBS
10938 if test "x$ac_cv_lib_soname_GL" = "x"; then
10939 { echo "$as_me:$LINENO: result: not found" >&5
10940 echo "${ECHO_T}not found" >&6; }
10941 if test -f /usr/X11R6/lib/libGL.a
10943 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10944 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10946 opengl_msg="No OpenGL library found on this system."
10949 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10950 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10952 cat >>confdefs.h <<_ACEOF
10953 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10956 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
10957 OPENGLFILES='$(OPENGLFILES)'
10959 cat >>confdefs.h <<\_ACEOF
10960 #define HAVE_OPENGL 1
10966 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10967 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10969 cat >>confdefs.h <<_ACEOF
10970 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10974 OPENGLFILES='$(OPENGLFILES)'
10976 cat >>confdefs.h <<\_ACEOF
10977 #define HAVE_OPENGL 1
10983 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10984 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10985 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10986 echo $ECHO_N "(cached) $ECHO_C" >&6
10988 ac_check_lib_save_LIBS=$LIBS
10989 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10990 cat >conftest.$ac_ext <<_ACEOF
10993 cat confdefs.h >>conftest.$ac_ext
10994 cat >>conftest.$ac_ext <<_ACEOF
10995 /* end confdefs.h. */
10997 /* Override any GCC internal prototype to avoid an error.
10998 Use char because int might match the return type of a GCC
10999 builtin and then its argument prototype would still apply. */
11007 return gluLookAt ();
11012 rm -f conftest.$ac_objext conftest$ac_exeext
11013 if { (ac_try="$ac_link"
11014 case "(($ac_try" in
11015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11016 *) ac_try_echo=$ac_try;;
11018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11019 (eval "$ac_link") 2>conftest.er1
11021 grep -v '^ *+' conftest.er1 >conftest.err
11023 cat conftest.err >&5
11024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 (exit $ac_status); } && {
11026 test -z "$ac_c_werror_flag" ||
11027 test ! -s conftest.err
11028 } && test -s conftest$ac_exeext &&
11029 $as_test_x conftest$ac_exeext; then
11030 ac_cv_lib_GLU_gluLookAt=yes
11032 echo "$as_me: failed program was:" >&5
11033 sed 's/^/| /' conftest.$ac_ext >&5
11035 ac_cv_lib_GLU_gluLookAt=no
11038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11039 conftest$ac_exeext conftest.$ac_ext
11040 LIBS=$ac_check_lib_save_LIBS
11042 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
11043 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
11044 if test $ac_cv_lib_GLU_gluLookAt = yes; then
11045 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
11046 GLU32FILES='$(GLU32FILES)'
11051 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11054 opengl_msg="OpenGL development headers not found."
11057 if test -n "$opengl_msg"; then
11058 case "x$with_opengl" in
11059 x) wine_warnings="$wine_warnings|$opengl_msg
11060 OpenGL and Direct3D won't be supported." ;;
11062 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11063 OpenGL and Direct3D won't be supported.
11064 This is an error since --with-opengl was requested." >&5
11065 echo "$as_me: error: $opengl_msg
11066 OpenGL and Direct3D won't be supported.
11067 This is an error since --with-opengl was requested." >&2;}
11068 { (exit 1); exit 1; }; } ;;
11076 for ac_header in audio/audiolib.h
11078 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11079 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11080 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11083 echo $ECHO_N "(cached) $ECHO_C" >&6
11085 ac_res=`eval echo '${'$as_ac_Header'}'`
11086 { echo "$as_me:$LINENO: result: $ac_res" >&5
11087 echo "${ECHO_T}$ac_res" >&6; }
11089 # Is the header compilable?
11090 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11092 cat >conftest.$ac_ext <<_ACEOF
11095 cat confdefs.h >>conftest.$ac_ext
11096 cat >>conftest.$ac_ext <<_ACEOF
11097 /* end confdefs.h. */
11098 $ac_includes_default
11099 #include <$ac_header>
11101 rm -f conftest.$ac_objext
11102 if { (ac_try="$ac_compile"
11103 case "(($ac_try" in
11104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11105 *) ac_try_echo=$ac_try;;
11107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11108 (eval "$ac_compile") 2>conftest.er1
11110 grep -v '^ *+' conftest.er1 >conftest.err
11112 cat conftest.err >&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); } && {
11115 test -z "$ac_c_werror_flag" ||
11116 test ! -s conftest.err
11117 } && test -s conftest.$ac_objext; then
11118 ac_header_compiler=yes
11120 echo "$as_me: failed program was:" >&5
11121 sed 's/^/| /' conftest.$ac_ext >&5
11123 ac_header_compiler=no
11126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11127 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11128 echo "${ECHO_T}$ac_header_compiler" >&6; }
11130 # Is the header present?
11131 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11133 cat >conftest.$ac_ext <<_ACEOF
11136 cat confdefs.h >>conftest.$ac_ext
11137 cat >>conftest.$ac_ext <<_ACEOF
11138 /* end confdefs.h. */
11139 #include <$ac_header>
11141 if { (ac_try="$ac_cpp conftest.$ac_ext"
11142 case "(($ac_try" in
11143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11144 *) ac_try_echo=$ac_try;;
11146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11149 grep -v '^ *+' conftest.er1 >conftest.err
11151 cat conftest.err >&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } >/dev/null && {
11154 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11155 test ! -s conftest.err
11157 ac_header_preproc=yes
11159 echo "$as_me: failed program was:" >&5
11160 sed 's/^/| /' conftest.$ac_ext >&5
11162 ac_header_preproc=no
11165 rm -f conftest.err conftest.$ac_ext
11166 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11167 echo "${ECHO_T}$ac_header_preproc" >&6; }
11169 # So? What about this header?
11170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11176 ac_header_preproc=yes
11179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11192 ## ------------------------------------ ##
11193 ## Report this to wine-devel@winehq.org ##
11194 ## ------------------------------------ ##
11196 ) | sed "s/^/$as_me: WARNING: /" >&2
11199 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11202 echo $ECHO_N "(cached) $ECHO_C" >&6
11204 eval "$as_ac_Header=\$ac_header_preproc"
11206 ac_res=`eval echo '${'$as_ac_Header'}'`
11207 { echo "$as_me:$LINENO: result: $ac_res" >&5
11208 echo "${ECHO_T}$ac_res" >&6; }
11211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11212 cat >>confdefs.h <<_ACEOF
11213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11216 for ac_header in audio/soundlib.h
11218 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11219 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11221 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11222 echo $ECHO_N "(cached) $ECHO_C" >&6
11224 cat >conftest.$ac_ext <<_ACEOF
11227 cat confdefs.h >>conftest.$ac_ext
11228 cat >>conftest.$ac_ext <<_ACEOF
11229 /* end confdefs.h. */
11230 #include <audio/audiolib.h>
11232 #include <$ac_header>
11234 rm -f conftest.$ac_objext
11235 if { (ac_try="$ac_compile"
11236 case "(($ac_try" in
11237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11238 *) ac_try_echo=$ac_try;;
11240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11241 (eval "$ac_compile") 2>conftest.er1
11243 grep -v '^ *+' conftest.er1 >conftest.err
11245 cat conftest.err >&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); } && {
11248 test -z "$ac_c_werror_flag" ||
11249 test ! -s conftest.err
11250 } && test -s conftest.$ac_objext; then
11251 eval "$as_ac_Header=yes"
11253 echo "$as_me: failed program was:" >&5
11254 sed 's/^/| /' conftest.$ac_ext >&5
11256 eval "$as_ac_Header=no"
11259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11261 ac_res=`eval echo '${'$as_ac_Header'}'`
11262 { echo "$as_me:$LINENO: result: $ac_res" >&5
11263 echo "${ECHO_T}$ac_res" >&6; }
11264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11265 cat >>confdefs.h <<_ACEOF
11266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11273 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11274 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11275 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11276 echo $ECHO_N "(cached) $ECHO_C" >&6
11278 ac_check_lib_save_LIBS=$LIBS
11279 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11280 cat >conftest.$ac_ext <<_ACEOF
11283 cat confdefs.h >>conftest.$ac_ext
11284 cat >>conftest.$ac_ext <<_ACEOF
11285 /* end confdefs.h. */
11287 /* Override any GCC internal prototype to avoid an error.
11288 Use char because int might match the return type of a GCC
11289 builtin and then its argument prototype would still apply. */
11293 char AuCreateFlow ();
11297 return AuCreateFlow ();
11302 rm -f conftest.$ac_objext conftest$ac_exeext
11303 if { (ac_try="$ac_link"
11304 case "(($ac_try" in
11305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11306 *) ac_try_echo=$ac_try;;
11308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11309 (eval "$ac_link") 2>conftest.er1
11311 grep -v '^ *+' conftest.er1 >conftest.err
11313 cat conftest.err >&5
11314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11315 (exit $ac_status); } && {
11316 test -z "$ac_c_werror_flag" ||
11317 test ! -s conftest.err
11318 } && test -s conftest$ac_exeext &&
11319 $as_test_x conftest$ac_exeext; then
11320 ac_cv_lib_audio_AuCreateFlow=yes
11322 echo "$as_me: failed program was:" >&5
11323 sed 's/^/| /' conftest.$ac_ext >&5
11325 ac_cv_lib_audio_AuCreateFlow=no
11328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11329 conftest$ac_exeext conftest.$ac_ext
11330 LIBS=$ac_check_lib_save_LIBS
11332 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11333 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11334 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11336 cat >>confdefs.h <<\_ACEOF
11340 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11341 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11342 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11343 echo $ECHO_N "(cached) $ECHO_C" >&6
11345 ac_check_lib_save_LIBS=$LIBS
11346 LIBS="-lXau $X_LIBS $LIBS"
11347 cat >conftest.$ac_ext <<_ACEOF
11350 cat confdefs.h >>conftest.$ac_ext
11351 cat >>conftest.$ac_ext <<_ACEOF
11352 /* end confdefs.h. */
11354 /* Override any GCC internal prototype to avoid an error.
11355 Use char because int might match the return type of a GCC
11356 builtin and then its argument prototype would still apply. */
11360 char XauGetBestAuthByAddr ();
11364 return XauGetBestAuthByAddr ();
11369 rm -f conftest.$ac_objext conftest$ac_exeext
11370 if { (ac_try="$ac_link"
11371 case "(($ac_try" in
11372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11373 *) ac_try_echo=$ac_try;;
11375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11376 (eval "$ac_link") 2>conftest.er1
11378 grep -v '^ *+' conftest.er1 >conftest.err
11380 cat conftest.err >&5
11381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382 (exit $ac_status); } && {
11383 test -z "$ac_c_werror_flag" ||
11384 test ! -s conftest.err
11385 } && test -s conftest$ac_exeext &&
11386 $as_test_x conftest$ac_exeext; then
11387 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11389 echo "$as_me: failed program was:" >&5
11390 sed 's/^/| /' conftest.$ac_ext >&5
11392 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11396 conftest$ac_exeext conftest.$ac_ext
11397 LIBS=$ac_check_lib_save_LIBS
11399 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11400 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11401 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11402 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11404 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11415 CPPFLAGS="$ac_save_CPPFLAGS"
11422 if test "x$XLIB" = "x"; then
11424 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11425 without X support, which probably isn't what you want. You will need to install
11426 development packages of Xlib/Xfree86 at the very least." ;;
11428 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11429 without X support, which probably isn't what you want. You will need to install
11430 development packages of Xlib/Xfree86 at the very least.
11431 This is an error since --with-x was requested." >&5
11432 echo "$as_me: error: X development files not found. Wine will be built
11433 without X support, which probably isn't what you want. You will need to install
11434 development packages of Xlib/Xfree86 at the very least.
11435 This is an error since --with-x was requested." >&2;}
11436 { (exit 1); exit 1; }; } ;;
11450 if test "x$with_xml" != "xno"
11452 ac_save_CPPFLAGS="$CPPFLAGS"
11453 if test "$PKG_CONFIG" != "false"
11455 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11456 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11458 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11459 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11461 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11463 for ac_header in libxml/parser.h
11465 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11467 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11470 echo $ECHO_N "(cached) $ECHO_C" >&6
11472 ac_res=`eval echo '${'$as_ac_Header'}'`
11473 { echo "$as_me:$LINENO: result: $ac_res" >&5
11474 echo "${ECHO_T}$ac_res" >&6; }
11476 # Is the header compilable?
11477 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11478 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11479 cat >conftest.$ac_ext <<_ACEOF
11482 cat confdefs.h >>conftest.$ac_ext
11483 cat >>conftest.$ac_ext <<_ACEOF
11484 /* end confdefs.h. */
11485 $ac_includes_default
11486 #include <$ac_header>
11488 rm -f conftest.$ac_objext
11489 if { (ac_try="$ac_compile"
11490 case "(($ac_try" in
11491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11492 *) ac_try_echo=$ac_try;;
11494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11495 (eval "$ac_compile") 2>conftest.er1
11497 grep -v '^ *+' conftest.er1 >conftest.err
11499 cat conftest.err >&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); } && {
11502 test -z "$ac_c_werror_flag" ||
11503 test ! -s conftest.err
11504 } && test -s conftest.$ac_objext; then
11505 ac_header_compiler=yes
11507 echo "$as_me: failed program was:" >&5
11508 sed 's/^/| /' conftest.$ac_ext >&5
11510 ac_header_compiler=no
11513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11514 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11515 echo "${ECHO_T}$ac_header_compiler" >&6; }
11517 # Is the header present?
11518 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11519 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11520 cat >conftest.$ac_ext <<_ACEOF
11523 cat confdefs.h >>conftest.$ac_ext
11524 cat >>conftest.$ac_ext <<_ACEOF
11525 /* end confdefs.h. */
11526 #include <$ac_header>
11528 if { (ac_try="$ac_cpp conftest.$ac_ext"
11529 case "(($ac_try" in
11530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11531 *) ac_try_echo=$ac_try;;
11533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11536 grep -v '^ *+' conftest.er1 >conftest.err
11538 cat conftest.err >&5
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); } >/dev/null && {
11541 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11542 test ! -s conftest.err
11544 ac_header_preproc=yes
11546 echo "$as_me: failed program was:" >&5
11547 sed 's/^/| /' conftest.$ac_ext >&5
11549 ac_header_preproc=no
11552 rm -f conftest.err conftest.$ac_ext
11553 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11554 echo "${ECHO_T}$ac_header_preproc" >&6; }
11556 # So? What about this header?
11557 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11559 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11560 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11562 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11563 ac_header_preproc=yes
11566 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11567 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11568 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11569 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11570 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11571 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11572 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11573 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11575 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11576 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11577 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11579 ## ------------------------------------ ##
11580 ## Report this to wine-devel@winehq.org ##
11581 ## ------------------------------------ ##
11583 ) | sed "s/^/$as_me: WARNING: /" >&2
11586 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11588 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11589 echo $ECHO_N "(cached) $ECHO_C" >&6
11591 eval "$as_ac_Header=\$ac_header_preproc"
11593 ac_res=`eval echo '${'$as_ac_Header'}'`
11594 { echo "$as_me:$LINENO: result: $ac_res" >&5
11595 echo "${ECHO_T}$ac_res" >&6; }
11598 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11599 cat >>confdefs.h <<_ACEOF
11600 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11602 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11603 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11604 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11605 echo $ECHO_N "(cached) $ECHO_C" >&6
11607 ac_check_lib_save_LIBS=$LIBS
11608 LIBS="-lxml2 $ac_xml_libs $LIBS"
11609 cat >conftest.$ac_ext <<_ACEOF
11612 cat confdefs.h >>conftest.$ac_ext
11613 cat >>conftest.$ac_ext <<_ACEOF
11614 /* end confdefs.h. */
11616 /* Override any GCC internal prototype to avoid an error.
11617 Use char because int might match the return type of a GCC
11618 builtin and then its argument prototype would still apply. */
11622 char xmlParseMemory ();
11626 return xmlParseMemory ();
11631 rm -f conftest.$ac_objext conftest$ac_exeext
11632 if { (ac_try="$ac_link"
11633 case "(($ac_try" in
11634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11635 *) ac_try_echo=$ac_try;;
11637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11638 (eval "$ac_link") 2>conftest.er1
11640 grep -v '^ *+' conftest.er1 >conftest.err
11642 cat conftest.err >&5
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); } && {
11645 test -z "$ac_c_werror_flag" ||
11646 test ! -s conftest.err
11647 } && test -s conftest$ac_exeext &&
11648 $as_test_x conftest$ac_exeext; then
11649 ac_cv_lib_xml2_xmlParseMemory=yes
11651 echo "$as_me: failed program was:" >&5
11652 sed 's/^/| /' conftest.$ac_ext >&5
11654 ac_cv_lib_xml2_xmlParseMemory=no
11657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11658 conftest$ac_exeext conftest.$ac_ext
11659 LIBS=$ac_check_lib_save_LIBS
11661 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11662 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11663 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11665 cat >>confdefs.h <<\_ACEOF
11666 #define HAVE_LIBXML2 1
11669 XML2LIBS="$ac_xml_libs"
11670 XML2INCL="$ac_xml_cflags"
11673 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11674 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11675 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11676 echo $ECHO_N "(cached) $ECHO_C" >&6
11678 ac_check_lib_save_LIBS=$LIBS
11679 LIBS="-lxml2 $ac_xml_libs $LIBS"
11680 cat >conftest.$ac_ext <<_ACEOF
11683 cat confdefs.h >>conftest.$ac_ext
11684 cat >>conftest.$ac_ext <<_ACEOF
11685 /* end confdefs.h. */
11687 /* Override any GCC internal prototype to avoid an error.
11688 Use char because int might match the return type of a GCC
11689 builtin and then its argument prototype would still apply. */
11693 char xmlReadMemory ();
11697 return xmlReadMemory ();
11702 rm -f conftest.$ac_objext conftest$ac_exeext
11703 if { (ac_try="$ac_link"
11704 case "(($ac_try" in
11705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11706 *) ac_try_echo=$ac_try;;
11708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11709 (eval "$ac_link") 2>conftest.er1
11711 grep -v '^ *+' conftest.er1 >conftest.err
11713 cat conftest.err >&5
11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); } && {
11716 test -z "$ac_c_werror_flag" ||
11717 test ! -s conftest.err
11718 } && test -s conftest$ac_exeext &&
11719 $as_test_x conftest$ac_exeext; then
11720 ac_cv_lib_xml2_xmlReadMemory=yes
11722 echo "$as_me: failed program was:" >&5
11723 sed 's/^/| /' conftest.$ac_ext >&5
11725 ac_cv_lib_xml2_xmlReadMemory=no
11728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11729 conftest$ac_exeext conftest.$ac_ext
11730 LIBS=$ac_check_lib_save_LIBS
11732 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11733 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11734 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11736 cat >>confdefs.h <<\_ACEOF
11737 #define HAVE_XMLREADMEMORY 1
11742 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11743 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11744 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11745 echo $ECHO_N "(cached) $ECHO_C" >&6
11747 ac_check_lib_save_LIBS=$LIBS
11748 LIBS="-lxml2 $ac_xml_libs $LIBS"
11749 cat >conftest.$ac_ext <<_ACEOF
11752 cat confdefs.h >>conftest.$ac_ext
11753 cat >>conftest.$ac_ext <<_ACEOF
11754 /* end confdefs.h. */
11756 /* Override any GCC internal prototype to avoid an error.
11757 Use char because int might match the return type of a GCC
11758 builtin and then its argument prototype would still apply. */
11762 char xmlNewDocPI ();
11766 return xmlNewDocPI ();
11771 rm -f conftest.$ac_objext conftest$ac_exeext
11772 if { (ac_try="$ac_link"
11773 case "(($ac_try" in
11774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11775 *) ac_try_echo=$ac_try;;
11777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11778 (eval "$ac_link") 2>conftest.er1
11780 grep -v '^ *+' conftest.er1 >conftest.err
11782 cat conftest.err >&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); } && {
11785 test -z "$ac_c_werror_flag" ||
11786 test ! -s conftest.err
11787 } && test -s conftest$ac_exeext &&
11788 $as_test_x conftest$ac_exeext; then
11789 ac_cv_lib_xml2_xmlNewDocPI=yes
11791 echo "$as_me: failed program was:" >&5
11792 sed 's/^/| /' conftest.$ac_ext >&5
11794 ac_cv_lib_xml2_xmlNewDocPI=no
11797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11798 conftest$ac_exeext conftest.$ac_ext
11799 LIBS=$ac_check_lib_save_LIBS
11801 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11802 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11803 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11805 cat >>confdefs.h <<\_ACEOF
11806 #define HAVE_XMLNEWDOCPI 1
11816 CPPFLAGS="$ac_save_CPPFLAGS"
11818 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11819 case "x$with_xml" in
11820 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11822 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11823 This is an error since --with-xml was requested." >&5
11824 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11825 This is an error since --with-xml was requested." >&2;}
11826 { (exit 1); exit 1; }; } ;;
11831 if test "x$with_xslt" != "xno"
11833 if test "$PKG_CONFIG" != "false"
11835 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11836 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11838 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11839 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11841 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11844 for ac_header in libxslt/pattern.h libxslt/transform.h
11846 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11847 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11849 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11850 echo $ECHO_N "(cached) $ECHO_C" >&6
11852 cat >conftest.$ac_ext <<_ACEOF
11855 cat confdefs.h >>conftest.$ac_ext
11856 cat >>conftest.$ac_ext <<_ACEOF
11857 /* end confdefs.h. */
11858 #ifdef HAVE_LIBXSLT_PATTERN_H
11859 # include <libxslt/pattern.h>
11862 #include <$ac_header>
11864 rm -f conftest.$ac_objext
11865 if { (ac_try="$ac_compile"
11866 case "(($ac_try" in
11867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11868 *) ac_try_echo=$ac_try;;
11870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11871 (eval "$ac_compile") 2>conftest.er1
11873 grep -v '^ *+' conftest.er1 >conftest.err
11875 cat conftest.err >&5
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); } && {
11878 test -z "$ac_c_werror_flag" ||
11879 test ! -s conftest.err
11880 } && test -s conftest.$ac_objext; then
11881 eval "$as_ac_Header=yes"
11883 echo "$as_me: failed program was:" >&5
11884 sed 's/^/| /' conftest.$ac_ext >&5
11886 eval "$as_ac_Header=no"
11889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11891 ac_res=`eval echo '${'$as_ac_Header'}'`
11892 { echo "$as_me:$LINENO: result: $ac_res" >&5
11893 echo "${ECHO_T}$ac_res" >&6; }
11894 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11895 cat >>confdefs.h <<_ACEOF
11896 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11898 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11899 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11900 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11903 ac_check_lib_save_LIBS=$LIBS
11904 LIBS="-lxslt $ac_xslt_libs $LIBS"
11905 cat >conftest.$ac_ext <<_ACEOF
11908 cat confdefs.h >>conftest.$ac_ext
11909 cat >>conftest.$ac_ext <<_ACEOF
11910 /* end confdefs.h. */
11912 /* Override any GCC internal prototype to avoid an error.
11913 Use char because int might match the return type of a GCC
11914 builtin and then its argument prototype would still apply. */
11918 char xsltCompilePattern ();
11922 return xsltCompilePattern ();
11927 rm -f conftest.$ac_objext conftest$ac_exeext
11928 if { (ac_try="$ac_link"
11929 case "(($ac_try" in
11930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11931 *) ac_try_echo=$ac_try;;
11933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11934 (eval "$ac_link") 2>conftest.er1
11936 grep -v '^ *+' conftest.er1 >conftest.err
11938 cat conftest.err >&5
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); } && {
11941 test -z "$ac_c_werror_flag" ||
11942 test ! -s conftest.err
11943 } && test -s conftest$ac_exeext &&
11944 $as_test_x conftest$ac_exeext; then
11945 ac_cv_lib_xslt_xsltCompilePattern=yes
11947 echo "$as_me: failed program was:" >&5
11948 sed 's/^/| /' conftest.$ac_ext >&5
11950 ac_cv_lib_xslt_xsltCompilePattern=no
11953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11954 conftest$ac_exeext conftest.$ac_ext
11955 LIBS=$ac_check_lib_save_LIBS
11957 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11958 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11959 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11961 cat >>confdefs.h <<\_ACEOF
11962 #define HAVE_LIBXSLT 1
11965 XSLTLIBS="$ac_xslt_libs"
11966 XSLTINCL="$ac_xslt_cflags"
11974 CPPFLAGS="$ac_save_CPPFLAGS"
11976 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11977 case "x$with_xslt" in
11978 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
11980 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
11981 This is an error since --with-xslt was requested." >&5
11982 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
11983 This is an error since --with-xslt was requested." >&2;}
11984 { (exit 1); exit 1; }; } ;;
11991 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
11993 ac_save_CPPFLAGS="$CPPFLAGS"
11994 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11995 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11996 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11999 for ac_header in dbus/dbus.h hal/libhal.h
12001 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12002 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12003 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12005 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12006 echo $ECHO_N "(cached) $ECHO_C" >&6
12008 ac_res=`eval echo '${'$as_ac_Header'}'`
12009 { echo "$as_me:$LINENO: result: $ac_res" >&5
12010 echo "${ECHO_T}$ac_res" >&6; }
12012 # Is the header compilable?
12013 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12014 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12015 cat >conftest.$ac_ext <<_ACEOF
12018 cat confdefs.h >>conftest.$ac_ext
12019 cat >>conftest.$ac_ext <<_ACEOF
12020 /* end confdefs.h. */
12021 $ac_includes_default
12022 #include <$ac_header>
12024 rm -f conftest.$ac_objext
12025 if { (ac_try="$ac_compile"
12026 case "(($ac_try" in
12027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12028 *) ac_try_echo=$ac_try;;
12030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12031 (eval "$ac_compile") 2>conftest.er1
12033 grep -v '^ *+' conftest.er1 >conftest.err
12035 cat conftest.err >&5
12036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12037 (exit $ac_status); } && {
12038 test -z "$ac_c_werror_flag" ||
12039 test ! -s conftest.err
12040 } && test -s conftest.$ac_objext; then
12041 ac_header_compiler=yes
12043 echo "$as_me: failed program was:" >&5
12044 sed 's/^/| /' conftest.$ac_ext >&5
12046 ac_header_compiler=no
12049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12050 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12051 echo "${ECHO_T}$ac_header_compiler" >&6; }
12053 # Is the header present?
12054 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12055 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12056 cat >conftest.$ac_ext <<_ACEOF
12059 cat confdefs.h >>conftest.$ac_ext
12060 cat >>conftest.$ac_ext <<_ACEOF
12061 /* end confdefs.h. */
12062 #include <$ac_header>
12064 if { (ac_try="$ac_cpp conftest.$ac_ext"
12065 case "(($ac_try" in
12066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12067 *) ac_try_echo=$ac_try;;
12069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12070 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12072 grep -v '^ *+' conftest.er1 >conftest.err
12074 cat conftest.err >&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); } >/dev/null && {
12077 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12078 test ! -s conftest.err
12080 ac_header_preproc=yes
12082 echo "$as_me: failed program was:" >&5
12083 sed 's/^/| /' conftest.$ac_ext >&5
12085 ac_header_preproc=no
12088 rm -f conftest.err conftest.$ac_ext
12089 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12090 echo "${ECHO_T}$ac_header_preproc" >&6; }
12092 # So? What about this header?
12093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12095 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12096 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12098 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12099 ac_header_preproc=yes
12102 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12103 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12104 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12105 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12106 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12107 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12108 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12109 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12112 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12113 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12115 ## ------------------------------------ ##
12116 ## Report this to wine-devel@winehq.org ##
12117 ## ------------------------------------ ##
12119 ) | sed "s/^/$as_me: WARNING: /" >&2
12122 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12125 echo $ECHO_N "(cached) $ECHO_C" >&6
12127 eval "$as_ac_Header=\$ac_header_preproc"
12129 ac_res=`eval echo '${'$as_ac_Header'}'`
12130 { echo "$as_me:$LINENO: result: $ac_res" >&5
12131 echo "${ECHO_T}$ac_res" >&6; }
12134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12135 cat >>confdefs.h <<_ACEOF
12136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12143 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12145 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12146 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12147 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12150 ac_check_lib_save_LIBS=$LIBS
12151 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12152 cat >conftest.$ac_ext <<_ACEOF
12155 cat confdefs.h >>conftest.$ac_ext
12156 cat >>conftest.$ac_ext <<_ACEOF
12157 /* end confdefs.h. */
12159 /* Override any GCC internal prototype to avoid an error.
12160 Use char because int might match the return type of a GCC
12161 builtin and then its argument prototype would still apply. */
12165 char dbus_connection_close ();
12169 return dbus_connection_close ();
12174 rm -f conftest.$ac_objext conftest$ac_exeext
12175 if { (ac_try="$ac_link"
12176 case "(($ac_try" in
12177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12178 *) ac_try_echo=$ac_try;;
12180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12181 (eval "$ac_link") 2>conftest.er1
12183 grep -v '^ *+' conftest.er1 >conftest.err
12185 cat conftest.err >&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); } && {
12188 test -z "$ac_c_werror_flag" ||
12189 test ! -s conftest.err
12190 } && test -s conftest$ac_exeext &&
12191 $as_test_x conftest$ac_exeext; then
12192 ac_cv_lib_dbus_1_dbus_connection_close=yes
12194 echo "$as_me: failed program was:" >&5
12195 sed 's/^/| /' conftest.$ac_ext >&5
12197 ac_cv_lib_dbus_1_dbus_connection_close=no
12200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12201 conftest$ac_exeext conftest.$ac_ext
12202 LIBS=$ac_check_lib_save_LIBS
12204 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12205 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12206 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12207 { echo "$as_me:$LINENO: checking for -lhal" >&5
12208 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12209 if test "${ac_cv_lib_soname_hal+set}" = set; then
12210 echo $ECHO_N "(cached) $ECHO_C" >&6
12212 ac_check_soname_save_LIBS=$LIBS
12213 LIBS="-lhal $ac_hal_libs $LIBS"
12214 cat >conftest.$ac_ext <<_ACEOF
12217 cat confdefs.h >>conftest.$ac_ext
12218 cat >>conftest.$ac_ext <<_ACEOF
12219 /* end confdefs.h. */
12221 /* Override any GCC internal prototype to avoid an error.
12222 Use char because int might match the return type of a GCC
12223 builtin and then its argument prototype would still apply. */
12227 char libhal_ctx_new ();
12231 return libhal_ctx_new ();
12236 rm -f conftest.$ac_objext conftest$ac_exeext
12237 if { (ac_try="$ac_link"
12238 case "(($ac_try" in
12239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12240 *) ac_try_echo=$ac_try;;
12242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12243 (eval "$ac_link") 2>conftest.er1
12245 grep -v '^ *+' conftest.er1 >conftest.err
12247 cat conftest.err >&5
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); } && {
12250 test -z "$ac_c_werror_flag" ||
12251 test ! -s conftest.err
12252 } && test -s conftest$ac_exeext &&
12253 $as_test_x conftest$ac_exeext; then
12256 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'` ;;
12257 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12260 echo "$as_me: failed program was:" >&5
12261 sed 's/^/| /' conftest.$ac_ext >&5
12266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12267 conftest$ac_exeext conftest.$ac_ext
12268 LIBS=$ac_check_soname_save_LIBS
12270 if test "x$ac_cv_lib_soname_hal" = "x"; then
12271 { echo "$as_me:$LINENO: result: not found" >&5
12272 echo "${ECHO_T}not found" >&6; }
12275 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12276 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12278 cat >>confdefs.h <<_ACEOF
12279 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12282 HALINCL="$ac_hal_cflags"
12288 CPPFLAGS="$ac_save_CPPFLAGS"
12290 if test "x$ac_cv_lib_soname_hal" = "x"; then
12291 case "x$with_hal" in
12292 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12294 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12295 This is an error since --with-hal was requested." >&5
12296 echo "$as_me: error: libhal development files not found, no dynamic device support.
12297 This is an error since --with-hal was requested." >&2;}
12298 { (exit 1); exit 1; }; } ;;
12304 if test "$ac_cv_header_ncurses_h" = "yes"
12306 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12307 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12308 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12309 echo $ECHO_N "(cached) $ECHO_C" >&6
12311 ac_check_soname_save_LIBS=$LIBS
12312 LIBS="-lncurses $LIBS"
12313 cat >conftest.$ac_ext <<_ACEOF
12316 cat confdefs.h >>conftest.$ac_ext
12317 cat >>conftest.$ac_ext <<_ACEOF
12318 /* end confdefs.h. */
12320 /* Override any GCC internal prototype to avoid an error.
12321 Use char because int might match the return type of a GCC
12322 builtin and then its argument prototype would still apply. */
12335 rm -f conftest.$ac_objext conftest$ac_exeext
12336 if { (ac_try="$ac_link"
12337 case "(($ac_try" in
12338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12339 *) ac_try_echo=$ac_try;;
12341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12342 (eval "$ac_link") 2>conftest.er1
12344 grep -v '^ *+' conftest.er1 >conftest.err
12346 cat conftest.err >&5
12347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348 (exit $ac_status); } && {
12349 test -z "$ac_c_werror_flag" ||
12350 test ! -s conftest.err
12351 } && test -s conftest$ac_exeext &&
12352 $as_test_x conftest$ac_exeext; then
12355 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'` ;;
12356 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12359 echo "$as_me: failed program was:" >&5
12360 sed 's/^/| /' conftest.$ac_ext >&5
12365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12366 conftest$ac_exeext conftest.$ac_ext
12367 LIBS=$ac_check_soname_save_LIBS
12369 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12370 { echo "$as_me:$LINENO: result: not found" >&5
12371 echo "${ECHO_T}not found" >&6; }
12374 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12375 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12377 cat >>confdefs.h <<_ACEOF
12378 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12381 CURSESLIBS="-lncurses"
12384 elif test "$ac_cv_header_curses_h" = "yes"
12386 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12387 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12388 if test "${ac_cv_lib_soname_curses+set}" = set; then
12389 echo $ECHO_N "(cached) $ECHO_C" >&6
12391 ac_check_soname_save_LIBS=$LIBS
12392 LIBS="-lcurses $LIBS"
12393 cat >conftest.$ac_ext <<_ACEOF
12396 cat confdefs.h >>conftest.$ac_ext
12397 cat >>conftest.$ac_ext <<_ACEOF
12398 /* end confdefs.h. */
12400 /* Override any GCC internal prototype to avoid an error.
12401 Use char because int might match the return type of a GCC
12402 builtin and then its argument prototype would still apply. */
12415 rm -f conftest.$ac_objext conftest$ac_exeext
12416 if { (ac_try="$ac_link"
12417 case "(($ac_try" in
12418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12419 *) ac_try_echo=$ac_try;;
12421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12422 (eval "$ac_link") 2>conftest.er1
12424 grep -v '^ *+' conftest.er1 >conftest.err
12426 cat conftest.err >&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); } && {
12429 test -z "$ac_c_werror_flag" ||
12430 test ! -s conftest.err
12431 } && test -s conftest$ac_exeext &&
12432 $as_test_x conftest$ac_exeext; then
12435 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'` ;;
12436 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12439 echo "$as_me: failed program was:" >&5
12440 sed 's/^/| /' conftest.$ac_ext >&5
12445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12446 conftest$ac_exeext conftest.$ac_ext
12447 LIBS=$ac_check_soname_save_LIBS
12449 if test "x$ac_cv_lib_soname_curses" = "x"; then
12450 { echo "$as_me:$LINENO: result: not found" >&5
12451 echo "${ECHO_T}not found" >&6; }
12454 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12455 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12457 cat >>confdefs.h <<_ACEOF
12458 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12461 CURSESLIBS="-lcurses"
12465 ac_save_LIBS="$LIBS"
12466 LIBS="$LIBS $CURSESLIBS"
12468 for ac_func in mousemask
12470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12471 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12473 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12474 echo $ECHO_N "(cached) $ECHO_C" >&6
12476 cat >conftest.$ac_ext <<_ACEOF
12479 cat confdefs.h >>conftest.$ac_ext
12480 cat >>conftest.$ac_ext <<_ACEOF
12481 /* end confdefs.h. */
12482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12484 #define $ac_func innocuous_$ac_func
12486 /* System header to define __stub macros and hopefully few prototypes,
12487 which can conflict with char $ac_func (); below.
12488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12489 <limits.h> exists even on freestanding compilers. */
12492 # include <limits.h>
12494 # include <assert.h>
12499 /* Override any GCC internal prototype to avoid an error.
12500 Use char because int might match the return type of a GCC
12501 builtin and then its argument prototype would still apply. */
12506 /* The GNU C library defines this for functions which it implements
12507 to always fail with ENOSYS. Some functions are actually named
12508 something starting with __ and the normal name is an alias. */
12509 #if defined __stub_$ac_func || defined __stub___$ac_func
12516 return $ac_func ();
12521 rm -f conftest.$ac_objext conftest$ac_exeext
12522 if { (ac_try="$ac_link"
12523 case "(($ac_try" in
12524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12525 *) ac_try_echo=$ac_try;;
12527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12528 (eval "$ac_link") 2>conftest.er1
12530 grep -v '^ *+' conftest.er1 >conftest.err
12532 cat conftest.err >&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); } && {
12535 test -z "$ac_c_werror_flag" ||
12536 test ! -s conftest.err
12537 } && test -s conftest$ac_exeext &&
12538 $as_test_x conftest$ac_exeext; then
12539 eval "$as_ac_var=yes"
12541 echo "$as_me: failed program was:" >&5
12542 sed 's/^/| /' conftest.$ac_ext >&5
12544 eval "$as_ac_var=no"
12547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12548 conftest$ac_exeext conftest.$ac_ext
12550 ac_res=`eval echo '${'$as_ac_var'}'`
12551 { echo "$as_me:$LINENO: result: $ac_res" >&5
12552 echo "${ECHO_T}$ac_res" >&6; }
12553 if test `eval echo '${'$as_ac_var'}'` = yes; then
12554 cat >>confdefs.h <<_ACEOF
12555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12561 LIBS="$ac_save_LIBS"
12562 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12563 case "x$with_curses" in
12564 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12566 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12567 This is an error since --with-curses was requested." >&5
12568 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12569 This is an error since --with-curses was requested." >&2;}
12570 { (exit 1); exit 1; }; } ;;
12575 # Extract the first word of "sane-config", so it can be a program name with args.
12576 set dummy sane-config; ac_word=$2
12577 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12579 if test "${ac_cv_prog_sane_devel+set}" = set; then
12580 echo $ECHO_N "(cached) $ECHO_C" >&6
12582 if test -n "$sane_devel"; then
12583 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12586 for as_dir in $PATH
12589 test -z "$as_dir" && as_dir=.
12590 for ac_exec_ext in '' $ac_executable_extensions; do
12591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12592 ac_cv_prog_sane_devel="sane-config"
12593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12600 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12603 sane_devel=$ac_cv_prog_sane_devel
12604 if test -n "$sane_devel"; then
12605 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12606 echo "${ECHO_T}$sane_devel" >&6; }
12608 { echo "$as_me:$LINENO: result: no" >&5
12609 echo "${ECHO_T}no" >&6; }
12613 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12615 ac_sane_incl="`$sane_devel --cflags`"
12616 ac_save_CPPFLAGS="$CPPFLAGS"
12617 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12618 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12619 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12620 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12621 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12622 echo $ECHO_N "(cached) $ECHO_C" >&6
12624 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12625 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12627 # Is the header compilable?
12628 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12629 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12630 cat >conftest.$ac_ext <<_ACEOF
12633 cat confdefs.h >>conftest.$ac_ext
12634 cat >>conftest.$ac_ext <<_ACEOF
12635 /* end confdefs.h. */
12636 $ac_includes_default
12637 #include <sane/sane.h>
12639 rm -f conftest.$ac_objext
12640 if { (ac_try="$ac_compile"
12641 case "(($ac_try" in
12642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12643 *) ac_try_echo=$ac_try;;
12645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12646 (eval "$ac_compile") 2>conftest.er1
12648 grep -v '^ *+' conftest.er1 >conftest.err
12650 cat conftest.err >&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); } && {
12653 test -z "$ac_c_werror_flag" ||
12654 test ! -s conftest.err
12655 } && test -s conftest.$ac_objext; then
12656 ac_header_compiler=yes
12658 echo "$as_me: failed program was:" >&5
12659 sed 's/^/| /' conftest.$ac_ext >&5
12661 ac_header_compiler=no
12664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12665 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12666 echo "${ECHO_T}$ac_header_compiler" >&6; }
12668 # Is the header present?
12669 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12670 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12671 cat >conftest.$ac_ext <<_ACEOF
12674 cat confdefs.h >>conftest.$ac_ext
12675 cat >>conftest.$ac_ext <<_ACEOF
12676 /* end confdefs.h. */
12677 #include <sane/sane.h>
12679 if { (ac_try="$ac_cpp conftest.$ac_ext"
12680 case "(($ac_try" in
12681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12682 *) ac_try_echo=$ac_try;;
12684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12687 grep -v '^ *+' conftest.er1 >conftest.err
12689 cat conftest.err >&5
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); } >/dev/null && {
12692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12693 test ! -s conftest.err
12695 ac_header_preproc=yes
12697 echo "$as_me: failed program was:" >&5
12698 sed 's/^/| /' conftest.$ac_ext >&5
12700 ac_header_preproc=no
12703 rm -f conftest.err conftest.$ac_ext
12704 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12705 echo "${ECHO_T}$ac_header_preproc" >&6; }
12707 # So? What about this header?
12708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12710 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12711 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12712 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12713 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12714 ac_header_preproc=yes
12717 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12718 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12719 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12720 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12721 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12722 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12723 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12724 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12725 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12726 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12727 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12728 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12730 ## ------------------------------------ ##
12731 ## Report this to wine-devel@winehq.org ##
12732 ## ------------------------------------ ##
12734 ) | sed "s/^/$as_me: WARNING: /" >&2
12737 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12738 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12739 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12740 echo $ECHO_N "(cached) $ECHO_C" >&6
12742 ac_cv_header_sane_sane_h=$ac_header_preproc
12744 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12745 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12748 if test $ac_cv_header_sane_sane_h = yes; then
12749 { echo "$as_me:$LINENO: checking for -lsane" >&5
12750 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12751 if test "${ac_cv_lib_soname_sane+set}" = set; then
12752 echo $ECHO_N "(cached) $ECHO_C" >&6
12754 ac_check_soname_save_LIBS=$LIBS
12755 LIBS="-lsane $LIBS"
12756 cat >conftest.$ac_ext <<_ACEOF
12759 cat confdefs.h >>conftest.$ac_ext
12760 cat >>conftest.$ac_ext <<_ACEOF
12761 /* end confdefs.h. */
12763 /* Override any GCC internal prototype to avoid an error.
12764 Use char because int might match the return type of a GCC
12765 builtin and then its argument prototype would still apply. */
12773 return sane_init ();
12778 rm -f conftest.$ac_objext conftest$ac_exeext
12779 if { (ac_try="$ac_link"
12780 case "(($ac_try" in
12781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12782 *) ac_try_echo=$ac_try;;
12784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12785 (eval "$ac_link") 2>conftest.er1
12787 grep -v '^ *+' conftest.er1 >conftest.err
12789 cat conftest.err >&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); } && {
12792 test -z "$ac_c_werror_flag" ||
12793 test ! -s conftest.err
12794 } && test -s conftest$ac_exeext &&
12795 $as_test_x conftest$ac_exeext; then
12798 dylib) ac_cv_lib_soname_sane=`otool -L conftest$ac_exeext | grep "libsane\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12799 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12802 echo "$as_me: failed program was:" >&5
12803 sed 's/^/| /' conftest.$ac_ext >&5
12808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12809 conftest$ac_exeext conftest.$ac_ext
12810 LIBS=$ac_check_soname_save_LIBS
12812 if test "x$ac_cv_lib_soname_sane" = "x"; then
12813 { echo "$as_me:$LINENO: result: not found" >&5
12814 echo "${ECHO_T}not found" >&6; }
12817 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12818 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12820 cat >>confdefs.h <<_ACEOF
12821 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12824 SANEINCL="$ac_sane_incl"
12831 CPPFLAGS="$ac_save_CPPFLAGS"
12833 if test "x$ac_cv_lib_soname_sane" = "x"; then
12834 case "x$with_sane" in
12835 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12837 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12838 This is an error since --with-sane was requested." >&5
12839 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12840 This is an error since --with-sane was requested." >&2;}
12841 { (exit 1); exit 1; }; } ;;
12846 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12847 set dummy gphoto2-config; ac_word=$2
12848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12850 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12851 echo $ECHO_N "(cached) $ECHO_C" >&6
12853 if test -n "$gphoto2_devel"; then
12854 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12857 for as_dir in $PATH
12860 test -z "$as_dir" && as_dir=.
12861 for ac_exec_ext in '' $ac_executable_extensions; do
12862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12863 ac_cv_prog_gphoto2_devel="gphoto2-config"
12864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12871 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12874 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12875 if test -n "$gphoto2_devel"; then
12876 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12877 echo "${ECHO_T}$gphoto2_devel" >&6; }
12879 { echo "$as_me:$LINENO: result: no" >&5
12880 echo "${ECHO_T}no" >&6; }
12884 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12885 set dummy gphoto2-port-config; ac_word=$2
12886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12888 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12889 echo $ECHO_N "(cached) $ECHO_C" >&6
12891 if test -n "$gphoto2port_devel"; then
12892 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12895 for as_dir in $PATH
12898 test -z "$as_dir" && as_dir=.
12899 for ac_exec_ext in '' $ac_executable_extensions; do
12900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12901 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12909 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12912 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12913 if test -n "$gphoto2port_devel"; then
12914 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12915 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12917 { echo "$as_me:$LINENO: result: no" >&5
12918 echo "${ECHO_T}no" >&6; }
12922 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12924 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12926 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12929 -L/usr/lib|-L/usr/lib64) ;;
12930 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12933 ac_save_CPPFLAGS="$CPPFLAGS"
12934 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12935 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12936 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12937 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12938 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12939 echo $ECHO_N "(cached) $ECHO_C" >&6
12941 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12942 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12944 # Is the header compilable?
12945 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12946 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12947 cat >conftest.$ac_ext <<_ACEOF
12950 cat confdefs.h >>conftest.$ac_ext
12951 cat >>conftest.$ac_ext <<_ACEOF
12952 /* end confdefs.h. */
12953 $ac_includes_default
12954 #include <gphoto2-camera.h>
12956 rm -f conftest.$ac_objext
12957 if { (ac_try="$ac_compile"
12958 case "(($ac_try" in
12959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12960 *) ac_try_echo=$ac_try;;
12962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12963 (eval "$ac_compile") 2>conftest.er1
12965 grep -v '^ *+' conftest.er1 >conftest.err
12967 cat conftest.err >&5
12968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12969 (exit $ac_status); } && {
12970 test -z "$ac_c_werror_flag" ||
12971 test ! -s conftest.err
12972 } && test -s conftest.$ac_objext; then
12973 ac_header_compiler=yes
12975 echo "$as_me: failed program was:" >&5
12976 sed 's/^/| /' conftest.$ac_ext >&5
12978 ac_header_compiler=no
12981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12982 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12983 echo "${ECHO_T}$ac_header_compiler" >&6; }
12985 # Is the header present?
12986 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12987 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12988 cat >conftest.$ac_ext <<_ACEOF
12991 cat confdefs.h >>conftest.$ac_ext
12992 cat >>conftest.$ac_ext <<_ACEOF
12993 /* end confdefs.h. */
12994 #include <gphoto2-camera.h>
12996 if { (ac_try="$ac_cpp conftest.$ac_ext"
12997 case "(($ac_try" in
12998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12999 *) ac_try_echo=$ac_try;;
13001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13002 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13004 grep -v '^ *+' conftest.er1 >conftest.err
13006 cat conftest.err >&5
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); } >/dev/null && {
13009 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13010 test ! -s conftest.err
13012 ac_header_preproc=yes
13014 echo "$as_me: failed program was:" >&5
13015 sed 's/^/| /' conftest.$ac_ext >&5
13017 ac_header_preproc=no
13020 rm -f conftest.err conftest.$ac_ext
13021 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13022 echo "${ECHO_T}$ac_header_preproc" >&6; }
13024 # So? What about this header?
13025 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13027 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13028 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13029 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13030 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13031 ac_header_preproc=yes
13034 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13035 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13036 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13037 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13038 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13039 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13040 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13041 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13042 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13043 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13044 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13045 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13047 ## ------------------------------------ ##
13048 ## Report this to wine-devel@winehq.org ##
13049 ## ------------------------------------ ##
13051 ) | sed "s/^/$as_me: WARNING: /" >&2
13054 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13055 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13056 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13057 echo $ECHO_N "(cached) $ECHO_C" >&6
13059 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13061 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13062 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13065 if test $ac_cv_header_gphoto2_camera_h = yes; then
13066 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13067 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13068 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13069 echo $ECHO_N "(cached) $ECHO_C" >&6
13071 ac_check_lib_save_LIBS=$LIBS
13072 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13073 cat >conftest.$ac_ext <<_ACEOF
13076 cat confdefs.h >>conftest.$ac_ext
13077 cat >>conftest.$ac_ext <<_ACEOF
13078 /* end confdefs.h. */
13080 /* Override any GCC internal prototype to avoid an error.
13081 Use char because int might match the return type of a GCC
13082 builtin and then its argument prototype would still apply. */
13086 char gp_camera_new ();
13090 return gp_camera_new ();
13095 rm -f conftest.$ac_objext conftest$ac_exeext
13096 if { (ac_try="$ac_link"
13097 case "(($ac_try" in
13098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13099 *) ac_try_echo=$ac_try;;
13101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13102 (eval "$ac_link") 2>conftest.er1
13104 grep -v '^ *+' conftest.er1 >conftest.err
13106 cat conftest.err >&5
13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108 (exit $ac_status); } && {
13109 test -z "$ac_c_werror_flag" ||
13110 test ! -s conftest.err
13111 } && test -s conftest$ac_exeext &&
13112 $as_test_x conftest$ac_exeext; then
13113 ac_cv_lib_gphoto2_gp_camera_new=yes
13115 echo "$as_me: failed program was:" >&5
13116 sed 's/^/| /' conftest.$ac_ext >&5
13118 ac_cv_lib_gphoto2_gp_camera_new=no
13121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13122 conftest$ac_exeext conftest.$ac_ext
13123 LIBS=$ac_check_lib_save_LIBS
13125 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13126 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13127 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13129 cat >>confdefs.h <<\_ACEOF
13130 #define HAVE_GPHOTO2 1
13133 GPHOTO2LIBS="$ac_gphoto2_libs"
13135 GPHOTO2INCL="$ac_gphoto2_incl"
13142 CPPFLAGS="$ac_save_CPPFLAGS"
13144 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13145 case "x$with_gphoto" in
13146 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13148 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13149 This is an error since --with-gphoto was requested." >&5
13150 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13151 This is an error since --with-gphoto was requested." >&2;}
13152 { (exit 1); exit 1; }; } ;;
13160 if test "$ac_cv_header_resolv_h" = "yes"
13162 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13163 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13164 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13165 echo $ECHO_N "(cached) $ECHO_C" >&6
13167 ac_check_lib_save_LIBS=$LIBS
13168 LIBS="-lresolv $LIBS"
13169 cat >conftest.$ac_ext <<_ACEOF
13172 cat confdefs.h >>conftest.$ac_ext
13173 cat >>conftest.$ac_ext <<_ACEOF
13174 /* end confdefs.h. */
13176 /* Override any GCC internal prototype to avoid an error.
13177 Use char because int might match the return type of a GCC
13178 builtin and then its argument prototype would still apply. */
13186 return res_query ();
13191 rm -f conftest.$ac_objext conftest$ac_exeext
13192 if { (ac_try="$ac_link"
13193 case "(($ac_try" in
13194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13195 *) ac_try_echo=$ac_try;;
13197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13198 (eval "$ac_link") 2>conftest.er1
13200 grep -v '^ *+' conftest.er1 >conftest.err
13202 cat conftest.err >&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } && {
13205 test -z "$ac_c_werror_flag" ||
13206 test ! -s conftest.err
13207 } && test -s conftest$ac_exeext &&
13208 $as_test_x conftest$ac_exeext; then
13209 ac_cv_lib_resolv_res_query=yes
13211 echo "$as_me: failed program was:" >&5
13212 sed 's/^/| /' conftest.$ac_ext >&5
13214 ac_cv_lib_resolv_res_query=no
13217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13218 conftest$ac_exeext conftest.$ac_ext
13219 LIBS=$ac_check_lib_save_LIBS
13221 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13222 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13223 if test $ac_cv_lib_resolv_res_query = yes; then
13225 cat >>confdefs.h <<\_ACEOF
13226 #define HAVE_RESOLV 1
13229 RESOLVLIBS="-lresolv"
13236 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13238 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13239 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13240 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13241 echo $ECHO_N "(cached) $ECHO_C" >&6
13243 ac_check_lib_save_LIBS=$LIBS
13244 LIBS="-llcms $LIBS"
13245 cat >conftest.$ac_ext <<_ACEOF
13248 cat confdefs.h >>conftest.$ac_ext
13249 cat >>conftest.$ac_ext <<_ACEOF
13250 /* end confdefs.h. */
13252 /* Override any GCC internal prototype to avoid an error.
13253 Use char because int might match the return type of a GCC
13254 builtin and then its argument prototype would still apply. */
13258 char cmsOpenProfileFromFile ();
13262 return cmsOpenProfileFromFile ();
13267 rm -f conftest.$ac_objext conftest$ac_exeext
13268 if { (ac_try="$ac_link"
13269 case "(($ac_try" in
13270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13271 *) ac_try_echo=$ac_try;;
13273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13274 (eval "$ac_link") 2>conftest.er1
13276 grep -v '^ *+' conftest.er1 >conftest.err
13278 cat conftest.err >&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); } && {
13281 test -z "$ac_c_werror_flag" ||
13282 test ! -s conftest.err
13283 } && test -s conftest$ac_exeext &&
13284 $as_test_x conftest$ac_exeext; then
13285 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13287 echo "$as_me: failed program was:" >&5
13288 sed 's/^/| /' conftest.$ac_ext >&5
13290 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13294 conftest$ac_exeext conftest.$ac_ext
13295 LIBS=$ac_check_lib_save_LIBS
13297 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13298 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13299 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13301 cat >>confdefs.h <<\_ACEOF
13302 #define HAVE_LCMS 1
13309 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13310 case "x$with_cms" in
13311 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13313 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13314 This is an error since --with-cms was requested." >&5
13315 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13316 This is an error since --with-cms was requested." >&2;}
13317 { (exit 1); exit 1; }; } ;;
13324 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13326 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13327 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13328 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13329 echo $ECHO_N "(cached) $ECHO_C" >&6
13331 ac_check_lib_save_LIBS=$LIBS
13332 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13333 cat >conftest.$ac_ext <<_ACEOF
13336 cat confdefs.h >>conftest.$ac_ext
13337 cat >>conftest.$ac_ext <<_ACEOF
13338 /* end confdefs.h. */
13340 /* Override any GCC internal prototype to avoid an error.
13341 Use char because int might match the return type of a GCC
13342 builtin and then its argument prototype would still apply. */
13346 char ldap_initialize ();
13350 return ldap_initialize ();
13355 rm -f conftest.$ac_objext conftest$ac_exeext
13356 if { (ac_try="$ac_link"
13357 case "(($ac_try" in
13358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13359 *) ac_try_echo=$ac_try;;
13361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13362 (eval "$ac_link") 2>conftest.er1
13364 grep -v '^ *+' conftest.er1 >conftest.err
13366 cat conftest.err >&5
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); } && {
13369 test -z "$ac_c_werror_flag" ||
13370 test ! -s conftest.err
13371 } && test -s conftest$ac_exeext &&
13372 $as_test_x conftest$ac_exeext; then
13373 ac_cv_lib_ldap_r_ldap_initialize=yes
13375 echo "$as_me: failed program was:" >&5
13376 sed 's/^/| /' conftest.$ac_ext >&5
13378 ac_cv_lib_ldap_r_ldap_initialize=no
13381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13382 conftest$ac_exeext conftest.$ac_ext
13383 LIBS=$ac_check_lib_save_LIBS
13385 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13386 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13387 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13388 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13389 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13390 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13391 echo $ECHO_N "(cached) $ECHO_C" >&6
13393 ac_check_lib_save_LIBS=$LIBS
13394 LIBS="-llber $LIBPTHREAD $LIBS"
13395 cat >conftest.$ac_ext <<_ACEOF
13398 cat confdefs.h >>conftest.$ac_ext
13399 cat >>conftest.$ac_ext <<_ACEOF
13400 /* end confdefs.h. */
13402 /* Override any GCC internal prototype to avoid an error.
13403 Use char because int might match the return type of a GCC
13404 builtin and then its argument prototype would still apply. */
13412 return ber_init ();
13417 rm -f conftest.$ac_objext conftest$ac_exeext
13418 if { (ac_try="$ac_link"
13419 case "(($ac_try" in
13420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13421 *) ac_try_echo=$ac_try;;
13423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13424 (eval "$ac_link") 2>conftest.er1
13426 grep -v '^ *+' conftest.er1 >conftest.err
13428 cat conftest.err >&5
13429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430 (exit $ac_status); } && {
13431 test -z "$ac_c_werror_flag" ||
13432 test ! -s conftest.err
13433 } && test -s conftest$ac_exeext &&
13434 $as_test_x conftest$ac_exeext; then
13435 ac_cv_lib_lber_ber_init=yes
13437 echo "$as_me: failed program was:" >&5
13438 sed 's/^/| /' conftest.$ac_ext >&5
13440 ac_cv_lib_lber_ber_init=no
13443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13444 conftest$ac_exeext conftest.$ac_ext
13445 LIBS=$ac_check_lib_save_LIBS
13447 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13448 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13449 if test $ac_cv_lib_lber_ber_init = yes; then
13451 cat >>confdefs.h <<\_ACEOF
13452 #define HAVE_LDAP 1
13455 LDAPLIBS="-lldap_r -llber"
13460 ac_wine_check_funcs_save_LIBS="$LIBS"
13461 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13471 ldap_count_references \
13472 ldap_first_reference \
13473 ldap_next_reference \
13474 ldap_parse_reference \
13475 ldap_parse_sort_control \
13476 ldap_parse_sortresponse_control \
13477 ldap_parse_vlv_control \
13478 ldap_parse_vlvresponse_control
13480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13481 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13483 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 cat >conftest.$ac_ext <<_ACEOF
13489 cat confdefs.h >>conftest.$ac_ext
13490 cat >>conftest.$ac_ext <<_ACEOF
13491 /* end confdefs.h. */
13492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13494 #define $ac_func innocuous_$ac_func
13496 /* System header to define __stub macros and hopefully few prototypes,
13497 which can conflict with char $ac_func (); below.
13498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13499 <limits.h> exists even on freestanding compilers. */
13502 # include <limits.h>
13504 # include <assert.h>
13509 /* Override any GCC internal prototype to avoid an error.
13510 Use char because int might match the return type of a GCC
13511 builtin and then its argument prototype would still apply. */
13516 /* The GNU C library defines this for functions which it implements
13517 to always fail with ENOSYS. Some functions are actually named
13518 something starting with __ and the normal name is an alias. */
13519 #if defined __stub_$ac_func || defined __stub___$ac_func
13526 return $ac_func ();
13531 rm -f conftest.$ac_objext conftest$ac_exeext
13532 if { (ac_try="$ac_link"
13533 case "(($ac_try" in
13534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13535 *) ac_try_echo=$ac_try;;
13537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13538 (eval "$ac_link") 2>conftest.er1
13540 grep -v '^ *+' conftest.er1 >conftest.err
13542 cat conftest.err >&5
13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 (exit $ac_status); } && {
13545 test -z "$ac_c_werror_flag" ||
13546 test ! -s conftest.err
13547 } && test -s conftest$ac_exeext &&
13548 $as_test_x conftest$ac_exeext; then
13549 eval "$as_ac_var=yes"
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.$ac_ext >&5
13554 eval "$as_ac_var=no"
13557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13558 conftest$ac_exeext conftest.$ac_ext
13560 ac_res=`eval echo '${'$as_ac_var'}'`
13561 { echo "$as_me:$LINENO: result: $ac_res" >&5
13562 echo "${ECHO_T}$ac_res" >&6; }
13563 if test `eval echo '${'$as_ac_var'}'` = yes; then
13564 cat >>confdefs.h <<_ACEOF
13565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13571 LIBS="$ac_wine_check_funcs_save_LIBS"
13573 if test "x$LDAPLIBS" = "x"; then
13574 case "x$with_ldap" in
13575 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13577 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13578 This is an error since --with-ldap was requested." >&5
13579 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13580 This is an error since --with-ldap was requested." >&2;}
13581 { (exit 1); exit 1; }; } ;;
13586 for ac_prog in freetype-config freetype2-config
13588 # Extract the first word of "$ac_prog", so it can be a program name with args.
13589 set dummy $ac_prog; ac_word=$2
13590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13592 if test "${ac_cv_prog_ft_devel+set}" = set; then
13593 echo $ECHO_N "(cached) $ECHO_C" >&6
13595 if test -n "$ft_devel"; then
13596 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13599 for as_dir in $PATH
13602 test -z "$as_dir" && as_dir=.
13603 for ac_exec_ext in '' $ac_executable_extensions; do
13604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13605 ac_cv_prog_ft_devel="$ac_prog"
13606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13615 ft_devel=$ac_cv_prog_ft_devel
13616 if test -n "$ft_devel"; then
13617 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13618 echo "${ECHO_T}$ft_devel" >&6; }
13620 { echo "$as_me:$LINENO: result: no" >&5
13621 echo "${ECHO_T}no" >&6; }
13625 test -n "$ft_devel" && break
13627 test -n "$ft_devel" || ft_devel="false"
13629 if test "$ft_devel" != "false"
13631 ac_freetype_libs=`$ft_devel --libs`
13632 ac_freetype_incl=`$ft_devel --cflags`
13633 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13634 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13635 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13636 echo $ECHO_N "(cached) $ECHO_C" >&6
13638 ac_check_soname_save_LIBS=$LIBS
13639 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13640 cat >conftest.$ac_ext <<_ACEOF
13643 cat confdefs.h >>conftest.$ac_ext
13644 cat >>conftest.$ac_ext <<_ACEOF
13645 /* end confdefs.h. */
13647 /* Override any GCC internal prototype to avoid an error.
13648 Use char because int might match the return type of a GCC
13649 builtin and then its argument prototype would still apply. */
13653 char FT_Init_FreeType ();
13657 return FT_Init_FreeType ();
13662 rm -f conftest.$ac_objext conftest$ac_exeext
13663 if { (ac_try="$ac_link"
13664 case "(($ac_try" in
13665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13666 *) ac_try_echo=$ac_try;;
13668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13669 (eval "$ac_link") 2>conftest.er1
13671 grep -v '^ *+' conftest.er1 >conftest.err
13673 cat conftest.err >&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); } && {
13676 test -z "$ac_c_werror_flag" ||
13677 test ! -s conftest.err
13678 } && test -s conftest$ac_exeext &&
13679 $as_test_x conftest$ac_exeext; then
13682 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'` ;;
13683 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.$ac_ext >&5
13692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13693 conftest$ac_exeext conftest.$ac_ext
13694 LIBS=$ac_check_soname_save_LIBS
13696 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13697 { echo "$as_me:$LINENO: result: not found" >&5
13698 echo "${ECHO_T}not found" >&6; }
13701 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13702 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13704 cat >>confdefs.h <<_ACEOF
13705 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13711 if test "$ft_lib" = "yes"
13713 ac_save_CPPFLAGS="$CPPFLAGS"
13714 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13727 for ac_header in ft2build.h \
13728 freetype/freetype.h \
13729 freetype/ftglyph.h \
13730 freetype/fttypes.h \
13731 freetype/tttables.h \
13732 freetype/ftnames.h \
13733 freetype/ftsnames.h \
13734 freetype/ttnameid.h \
13735 freetype/ftoutln.h \
13736 freetype/ftwinfnt.h \
13737 freetype/ftmodapi.h \
13738 freetype/internal/sfnt.h
13740 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13741 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13743 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13744 echo $ECHO_N "(cached) $ECHO_C" >&6
13746 cat >conftest.$ac_ext <<_ACEOF
13749 cat confdefs.h >>conftest.$ac_ext
13750 cat >>conftest.$ac_ext <<_ACEOF
13751 /* end confdefs.h. */
13752 #ifdef HAVE_FT2BUILD_H
13753 # include <ft2build.h>
13756 #include <$ac_header>
13758 rm -f conftest.$ac_objext
13759 if { (ac_try="$ac_compile"
13760 case "(($ac_try" in
13761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13762 *) ac_try_echo=$ac_try;;
13764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13765 (eval "$ac_compile") 2>conftest.er1
13767 grep -v '^ *+' conftest.er1 >conftest.err
13769 cat conftest.err >&5
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); } && {
13772 test -z "$ac_c_werror_flag" ||
13773 test ! -s conftest.err
13774 } && test -s conftest.$ac_objext; then
13775 eval "$as_ac_Header=yes"
13777 echo "$as_me: failed program was:" >&5
13778 sed 's/^/| /' conftest.$ac_ext >&5
13780 eval "$as_ac_Header=no"
13783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13785 ac_res=`eval echo '${'$as_ac_Header'}'`
13786 { echo "$as_me:$LINENO: result: $ac_res" >&5
13787 echo "${ECHO_T}$ac_res" >&6; }
13788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13789 cat >>confdefs.h <<_ACEOF
13790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13797 cat >conftest.$ac_ext <<_ACEOF
13800 cat confdefs.h >>conftest.$ac_ext
13801 cat >>conftest.$ac_ext <<_ACEOF
13802 /* end confdefs.h. */
13803 #include <ft2build.h>
13804 #include <freetype/fttrigon.h>
13806 if { (ac_try="$ac_cpp conftest.$ac_ext"
13807 case "(($ac_try" in
13808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13809 *) ac_try_echo=$ac_try;;
13811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13812 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13814 grep -v '^ *+' conftest.er1 >conftest.err
13816 cat conftest.err >&5
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); } >/dev/null && {
13819 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13820 test ! -s conftest.err
13823 cat >>confdefs.h <<\_ACEOF
13824 #define HAVE_FREETYPE_FTTRIGON_H 1
13827 wine_cv_fttrigon=yes
13829 echo "$as_me: failed program was:" >&5
13830 sed 's/^/| /' conftest.$ac_ext >&5
13832 wine_cv_fttrigon=no
13835 rm -f conftest.err conftest.$ac_ext
13836 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13837 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13838 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13839 echo $ECHO_N "(cached) $ECHO_C" >&6
13841 cat >conftest.$ac_ext <<_ACEOF
13844 cat confdefs.h >>conftest.$ac_ext
13845 cat >>conftest.$ac_ext <<_ACEOF
13846 /* end confdefs.h. */
13847 #include <freetype/ftmodapi.h>
13849 typedef FT_TrueTypeEngineType ac__type_new_;
13853 if ((ac__type_new_ *) 0)
13855 if (sizeof (ac__type_new_))
13861 rm -f conftest.$ac_objext
13862 if { (ac_try="$ac_compile"
13863 case "(($ac_try" in
13864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13865 *) ac_try_echo=$ac_try;;
13867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13868 (eval "$ac_compile") 2>conftest.er1
13870 grep -v '^ *+' conftest.er1 >conftest.err
13872 cat conftest.err >&5
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); } && {
13875 test -z "$ac_c_werror_flag" ||
13876 test ! -s conftest.err
13877 } && test -s conftest.$ac_objext; then
13878 ac_cv_type_FT_TrueTypeEngineType=yes
13880 echo "$as_me: failed program was:" >&5
13881 sed 's/^/| /' conftest.$ac_ext >&5
13883 ac_cv_type_FT_TrueTypeEngineType=no
13886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13888 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13889 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13890 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13892 cat >>confdefs.h <<_ACEOF
13893 #define HAVE_FT_TRUETYPEENGINETYPE 1
13899 ac_save_CFLAGS="$CFLAGS"
13900 CFLAGS="$CFLAGS $ac_freetype_libs"
13902 for ac_func in FT_Load_Sfnt_Table
13904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13905 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13907 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 cat >conftest.$ac_ext <<_ACEOF
13913 cat confdefs.h >>conftest.$ac_ext
13914 cat >>conftest.$ac_ext <<_ACEOF
13915 /* end confdefs.h. */
13916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13918 #define $ac_func innocuous_$ac_func
13920 /* System header to define __stub macros and hopefully few prototypes,
13921 which can conflict with char $ac_func (); below.
13922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13923 <limits.h> exists even on freestanding compilers. */
13926 # include <limits.h>
13928 # include <assert.h>
13933 /* Override any GCC internal prototype to avoid an error.
13934 Use char because int might match the return type of a GCC
13935 builtin and then its argument prototype would still apply. */
13940 /* The GNU C library defines this for functions which it implements
13941 to always fail with ENOSYS. Some functions are actually named
13942 something starting with __ and the normal name is an alias. */
13943 #if defined __stub_$ac_func || defined __stub___$ac_func
13950 return $ac_func ();
13955 rm -f conftest.$ac_objext conftest$ac_exeext
13956 if { (ac_try="$ac_link"
13957 case "(($ac_try" in
13958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13959 *) ac_try_echo=$ac_try;;
13961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13962 (eval "$ac_link") 2>conftest.er1
13964 grep -v '^ *+' conftest.er1 >conftest.err
13966 cat conftest.err >&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); } && {
13969 test -z "$ac_c_werror_flag" ||
13970 test ! -s conftest.err
13971 } && test -s conftest$ac_exeext &&
13972 $as_test_x conftest$ac_exeext; then
13973 eval "$as_ac_var=yes"
13975 echo "$as_me: failed program was:" >&5
13976 sed 's/^/| /' conftest.$ac_ext >&5
13978 eval "$as_ac_var=no"
13981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13982 conftest$ac_exeext conftest.$ac_ext
13984 ac_res=`eval echo '${'$as_ac_var'}'`
13985 { echo "$as_me:$LINENO: result: $ac_res" >&5
13986 echo "${ECHO_T}$ac_res" >&6; }
13987 if test `eval echo '${'$as_ac_var'}'` = yes; then
13988 cat >>confdefs.h <<_ACEOF
13989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13995 CFLAGS="$ac_save_CFLAGS"
13996 CPPFLAGS="$ac_save_CPPFLAGS"
13997 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14000 cat >>confdefs.h <<\_ACEOF
14001 #define HAVE_FREETYPE 1
14004 FREETYPELIBS="$ac_freetype_libs"
14006 FREETYPEINCL="$ac_freetype_incl"
14012 if test "$FONTFORGE" = "false"
14014 wine_warnings="$wine_warnings|FontForge is missing.
14015 Fonts will not be built. Dialog text may be invisible or unaligned."
14016 elif test "x$FREETYPELIBS" = "x"
14018 wine_warnings="$wine_warnings|FreeType development files not found.
14019 Fonts will not be built. Dialog text may be invisible or unaligned."
14021 FONTSSUBDIRS="fonts"
14025 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14026 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14027 if test "${ac_cv_c_ppdev+set}" = set; then
14028 echo $ECHO_N "(cached) $ECHO_C" >&6
14030 cat >conftest.$ac_ext <<_ACEOF
14033 cat confdefs.h >>conftest.$ac_ext
14034 cat >>conftest.$ac_ext <<_ACEOF
14035 /* end confdefs.h. */
14036 #include <linux/ppdev.h>
14040 ioctl (1,PPCLAIM,0)
14045 rm -f conftest.$ac_objext
14046 if { (ac_try="$ac_compile"
14047 case "(($ac_try" in
14048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14049 *) ac_try_echo=$ac_try;;
14051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14052 (eval "$ac_compile") 2>conftest.er1
14054 grep -v '^ *+' conftest.er1 >conftest.err
14056 cat conftest.err >&5
14057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 (exit $ac_status); } && {
14059 test -z "$ac_c_werror_flag" ||
14060 test ! -s conftest.err
14061 } && test -s conftest.$ac_objext; then
14062 ac_cv_c_ppdev="yes"
14064 echo "$as_me: failed program was:" >&5
14065 sed 's/^/| /' conftest.$ac_ext >&5
14070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14072 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14073 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14074 if test "$ac_cv_c_ppdev" = "yes"
14077 cat >>confdefs.h <<\_ACEOF
14078 #define HAVE_PPDEV 1
14083 { echo "$as_me:$LINENO: checking for va_copy" >&5
14084 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14085 if test "${ac_cv_c_va_copy+set}" = set; then
14086 echo $ECHO_N "(cached) $ECHO_C" >&6
14088 cat >conftest.$ac_ext <<_ACEOF
14091 cat confdefs.h >>conftest.$ac_ext
14092 cat >>conftest.$ac_ext <<_ACEOF
14093 /* end confdefs.h. */
14094 #include <stdarg.h>
14098 va_list ap1, ap2; va_copy(ap1,ap2);
14103 rm -f conftest.$ac_objext conftest$ac_exeext
14104 if { (ac_try="$ac_link"
14105 case "(($ac_try" in
14106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14107 *) ac_try_echo=$ac_try;;
14109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14110 (eval "$ac_link") 2>conftest.er1
14112 grep -v '^ *+' conftest.er1 >conftest.err
14114 cat conftest.err >&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); } && {
14117 test -z "$ac_c_werror_flag" ||
14118 test ! -s conftest.err
14119 } && test -s conftest$ac_exeext &&
14120 $as_test_x conftest$ac_exeext; then
14121 ac_cv_c_va_copy="yes"
14123 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.$ac_ext >&5
14126 ac_cv_c_va_copy="no"
14129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14130 conftest$ac_exeext conftest.$ac_ext
14133 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14134 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14135 if test "$ac_cv_c_va_copy" = "yes"
14138 cat >>confdefs.h <<\_ACEOF
14139 #define HAVE_VA_COPY 1
14143 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14144 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14145 if test "${ac_cv_c___va_copy+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14148 cat >conftest.$ac_ext <<_ACEOF
14151 cat confdefs.h >>conftest.$ac_ext
14152 cat >>conftest.$ac_ext <<_ACEOF
14153 /* end confdefs.h. */
14154 #include <stdarg.h>
14158 va_list ap1, ap2; __va_copy(ap1,ap2);
14163 rm -f conftest.$ac_objext conftest$ac_exeext
14164 if { (ac_try="$ac_link"
14165 case "(($ac_try" in
14166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14167 *) ac_try_echo=$ac_try;;
14169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14170 (eval "$ac_link") 2>conftest.er1
14172 grep -v '^ *+' conftest.er1 >conftest.err
14174 cat conftest.err >&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); } && {
14177 test -z "$ac_c_werror_flag" ||
14178 test ! -s conftest.err
14179 } && test -s conftest$ac_exeext &&
14180 $as_test_x conftest$ac_exeext; then
14181 ac_cv_c___va_copy="yes"
14183 echo "$as_me: failed program was:" >&5
14184 sed 's/^/| /' conftest.$ac_ext >&5
14186 ac_cv_c___va_copy="no"
14189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14190 conftest$ac_exeext conftest.$ac_ext
14193 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14194 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14195 if test "$ac_cv_c___va_copy" = "yes"
14198 cat >>confdefs.h <<\_ACEOF
14199 #define HAVE___VA_COPY 1
14204 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14205 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14206 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14207 echo $ECHO_N "(cached) $ECHO_C" >&6
14209 cat >conftest.$ac_ext <<_ACEOF
14212 cat confdefs.h >>conftest.$ac_ext
14213 cat >>conftest.$ac_ext <<_ACEOF
14214 /* end confdefs.h. */
14215 #include <setjmp.h>
14220 sigsetjmp( buf, 1 );
14221 siglongjmp( buf, 1 );
14226 rm -f conftest.$ac_objext conftest$ac_exeext
14227 if { (ac_try="$ac_link"
14228 case "(($ac_try" in
14229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14230 *) ac_try_echo=$ac_try;;
14232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14233 (eval "$ac_link") 2>conftest.er1
14235 grep -v '^ *+' conftest.er1 >conftest.err
14237 cat conftest.err >&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); } && {
14240 test -z "$ac_c_werror_flag" ||
14241 test ! -s conftest.err
14242 } && test -s conftest$ac_exeext &&
14243 $as_test_x conftest$ac_exeext; then
14244 ac_cv_c_sigsetjmp="yes"
14246 echo "$as_me: failed program was:" >&5
14247 sed 's/^/| /' conftest.$ac_ext >&5
14249 ac_cv_c_sigsetjmp="no"
14252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14253 conftest$ac_exeext conftest.$ac_ext
14256 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14257 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14258 if test "$ac_cv_c_sigsetjmp" = "yes"
14261 cat >>confdefs.h <<\_ACEOF
14262 #define HAVE_SIGSETJMP 1
14267 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14268 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14269 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14270 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 cat >conftest.$ac_ext <<_ACEOF
14275 cat confdefs.h >>conftest.$ac_ext
14276 cat >>conftest.$ac_ext <<_ACEOF
14277 /* end confdefs.h. */
14278 #define _GNU_SOURCE
14279 #include <pthread.h>
14281 typedef pthread_rwlock_t ac__type_new_;
14285 if ((ac__type_new_ *) 0)
14287 if (sizeof (ac__type_new_))
14293 rm -f conftest.$ac_objext
14294 if { (ac_try="$ac_compile"
14295 case "(($ac_try" in
14296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14297 *) ac_try_echo=$ac_try;;
14299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14300 (eval "$ac_compile") 2>conftest.er1
14302 grep -v '^ *+' conftest.er1 >conftest.err
14304 cat conftest.err >&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); } && {
14307 test -z "$ac_c_werror_flag" ||
14308 test ! -s conftest.err
14309 } && test -s conftest.$ac_objext; then
14310 ac_cv_type_pthread_rwlock_t=yes
14312 echo "$as_me: failed program was:" >&5
14313 sed 's/^/| /' conftest.$ac_ext >&5
14315 ac_cv_type_pthread_rwlock_t=no
14318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14320 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14321 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14322 if test $ac_cv_type_pthread_rwlock_t = yes; then
14324 cat >>confdefs.h <<_ACEOF
14325 #define HAVE_PTHREAD_RWLOCK_T 1
14330 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14331 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14332 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14333 echo $ECHO_N "(cached) $ECHO_C" >&6
14335 cat >conftest.$ac_ext <<_ACEOF
14338 cat confdefs.h >>conftest.$ac_ext
14339 cat >>conftest.$ac_ext <<_ACEOF
14340 /* end confdefs.h. */
14341 #define _GNU_SOURCE
14342 #include <pthread.h>
14344 typedef pthread_rwlockattr_t ac__type_new_;
14348 if ((ac__type_new_ *) 0)
14350 if (sizeof (ac__type_new_))
14356 rm -f conftest.$ac_objext
14357 if { (ac_try="$ac_compile"
14358 case "(($ac_try" in
14359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14360 *) ac_try_echo=$ac_try;;
14362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14363 (eval "$ac_compile") 2>conftest.er1
14365 grep -v '^ *+' conftest.er1 >conftest.err
14367 cat conftest.err >&5
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); } && {
14370 test -z "$ac_c_werror_flag" ||
14371 test ! -s conftest.err
14372 } && test -s conftest.$ac_objext; then
14373 ac_cv_type_pthread_rwlockattr_t=yes
14375 echo "$as_me: failed program was:" >&5
14376 sed 's/^/| /' conftest.$ac_ext >&5
14378 ac_cv_type_pthread_rwlockattr_t=no
14381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14383 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14384 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14385 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14387 cat >>confdefs.h <<_ACEOF
14388 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14395 ac_wine_check_funcs_save_LIBS="$LIBS"
14396 LIBS="$LIBS $LIBPTHREAD"
14402 pthread_attr_get_np \
14403 pthread_getattr_np \
14404 pthread_get_stackaddr_np \
14405 pthread_get_stacksize_np
14407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14408 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14410 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14411 echo $ECHO_N "(cached) $ECHO_C" >&6
14413 cat >conftest.$ac_ext <<_ACEOF
14416 cat confdefs.h >>conftest.$ac_ext
14417 cat >>conftest.$ac_ext <<_ACEOF
14418 /* end confdefs.h. */
14419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14421 #define $ac_func innocuous_$ac_func
14423 /* System header to define __stub macros and hopefully few prototypes,
14424 which can conflict with char $ac_func (); below.
14425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14426 <limits.h> exists even on freestanding compilers. */
14429 # include <limits.h>
14431 # include <assert.h>
14436 /* Override any GCC internal prototype to avoid an error.
14437 Use char because int might match the return type of a GCC
14438 builtin and then its argument prototype would still apply. */
14443 /* The GNU C library defines this for functions which it implements
14444 to always fail with ENOSYS. Some functions are actually named
14445 something starting with __ and the normal name is an alias. */
14446 #if defined __stub_$ac_func || defined __stub___$ac_func
14453 return $ac_func ();
14458 rm -f conftest.$ac_objext conftest$ac_exeext
14459 if { (ac_try="$ac_link"
14460 case "(($ac_try" in
14461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14462 *) ac_try_echo=$ac_try;;
14464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14465 (eval "$ac_link") 2>conftest.er1
14467 grep -v '^ *+' conftest.er1 >conftest.err
14469 cat conftest.err >&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); } && {
14472 test -z "$ac_c_werror_flag" ||
14473 test ! -s conftest.err
14474 } && test -s conftest$ac_exeext &&
14475 $as_test_x conftest$ac_exeext; then
14476 eval "$as_ac_var=yes"
14478 echo "$as_me: failed program was:" >&5
14479 sed 's/^/| /' conftest.$ac_ext >&5
14481 eval "$as_ac_var=no"
14484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14485 conftest$ac_exeext conftest.$ac_ext
14487 ac_res=`eval echo '${'$as_ac_var'}'`
14488 { echo "$as_me:$LINENO: result: $ac_res" >&5
14489 echo "${ECHO_T}$ac_res" >&6; }
14490 if test `eval echo '${'$as_ac_var'}'` = yes; then
14491 cat >>confdefs.h <<_ACEOF
14492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14498 LIBS="$ac_wine_check_funcs_save_LIBS"
14500 # Extract the first word of "esd-config", so it can be a program name with args.
14501 set dummy esd-config; ac_word=$2
14502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14504 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14505 echo $ECHO_N "(cached) $ECHO_C" >&6
14509 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14513 for as_dir in $PATH
14516 test -z "$as_dir" && as_dir=.
14517 for ac_exec_ext in '' $ac_executable_extensions; do
14518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14519 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14530 ESDCONFIG=$ac_cv_path_ESDCONFIG
14531 if test -n "$ESDCONFIG"; then
14532 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14533 echo "${ECHO_T}$ESDCONFIG" >&6; }
14535 { echo "$as_me:$LINENO: result: no" >&5
14536 echo "${ECHO_T}no" >&6; }
14540 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14543 for i in `$ESDCONFIG --cflags`
14546 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14549 ESD_LIBS=`$ESDCONFIG --libs`
14550 save_CFLAGS="$CFLAGS"
14551 CFLAGS="$CFLAGS $ESD_CFLAGS"
14552 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14553 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14554 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14555 echo $ECHO_N "(cached) $ECHO_C" >&6
14557 ac_check_lib_save_LIBS=$LIBS
14559 cat >conftest.$ac_ext <<_ACEOF
14562 cat confdefs.h >>conftest.$ac_ext
14563 cat >>conftest.$ac_ext <<_ACEOF
14564 /* end confdefs.h. */
14566 /* Override any GCC internal prototype to avoid an error.
14567 Use char because int might match the return type of a GCC
14568 builtin and then its argument prototype would still apply. */
14572 char esd_open_sound ();
14576 return esd_open_sound ();
14581 rm -f conftest.$ac_objext conftest$ac_exeext
14582 if { (ac_try="$ac_link"
14583 case "(($ac_try" in
14584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14585 *) ac_try_echo=$ac_try;;
14587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14588 (eval "$ac_link") 2>conftest.er1
14590 grep -v '^ *+' conftest.er1 >conftest.err
14592 cat conftest.err >&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); } && {
14595 test -z "$ac_c_werror_flag" ||
14596 test ! -s conftest.err
14597 } && test -s conftest$ac_exeext &&
14598 $as_test_x conftest$ac_exeext; then
14599 ac_cv_lib_esd_esd_open_sound=yes
14601 echo "$as_me: failed program was:" >&5
14602 sed 's/^/| /' conftest.$ac_ext >&5
14604 ac_cv_lib_esd_esd_open_sound=no
14607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14608 conftest$ac_exeext conftest.$ac_ext
14609 LIBS=$ac_check_lib_save_LIBS
14611 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14612 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14613 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14616 ESDINCL=$ESD_CFLAGS
14619 cat >>confdefs.h <<\_ACEOF
14625 CFLAGS="$save_CFLAGS"
14630 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14632 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14633 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14634 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14635 echo $ECHO_N "(cached) $ECHO_C" >&6
14637 ac_check_lib_save_LIBS=$LIBS
14638 LIBS="-lasound $LIBS"
14639 cat >conftest.$ac_ext <<_ACEOF
14642 cat confdefs.h >>conftest.$ac_ext
14643 cat >>conftest.$ac_ext <<_ACEOF
14644 /* end confdefs.h. */
14646 /* Override any GCC internal prototype to avoid an error.
14647 Use char because int might match the return type of a GCC
14648 builtin and then its argument prototype would still apply. */
14652 char snd_pcm_hw_params_get_access ();
14656 return snd_pcm_hw_params_get_access ();
14661 rm -f conftest.$ac_objext conftest$ac_exeext
14662 if { (ac_try="$ac_link"
14663 case "(($ac_try" in
14664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14665 *) ac_try_echo=$ac_try;;
14667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14668 (eval "$ac_link") 2>conftest.er1
14670 grep -v '^ *+' conftest.er1 >conftest.err
14672 cat conftest.err >&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); } && {
14675 test -z "$ac_c_werror_flag" ||
14676 test ! -s conftest.err
14677 } && test -s conftest$ac_exeext &&
14678 $as_test_x conftest$ac_exeext; then
14679 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14681 echo "$as_me: failed program was:" >&5
14682 sed 's/^/| /' conftest.$ac_ext >&5
14684 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14688 conftest$ac_exeext conftest.$ac_ext
14689 LIBS=$ac_check_lib_save_LIBS
14691 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14692 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14693 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14694 cat >conftest.$ac_ext <<_ACEOF
14697 cat confdefs.h >>conftest.$ac_ext
14698 cat >>conftest.$ac_ext <<_ACEOF
14699 /* end confdefs.h. */
14700 #ifdef HAVE_ALSA_ASOUNDLIB_H
14701 #include <alsa/asoundlib.h>
14702 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14703 #include <sys/asoundlib.h>
14708 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14713 rm -f conftest.$ac_objext
14714 if { (ac_try="$ac_compile"
14715 case "(($ac_try" in
14716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14717 *) ac_try_echo=$ac_try;;
14719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14720 (eval "$ac_compile") 2>conftest.er1
14722 grep -v '^ *+' conftest.er1 >conftest.err
14724 cat conftest.err >&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); } && {
14727 test -z "$ac_c_werror_flag" ||
14728 test ! -s conftest.err
14729 } && test -s conftest.$ac_objext; then
14731 cat >>confdefs.h <<\_ACEOF
14732 #define HAVE_ALSA 1
14735 ALSALIBS="-lasound"
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.$ac_ext >&5
14743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14750 if test "$ac_cv_header_libaudioio_h" = "yes"
14752 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14753 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14754 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14755 echo $ECHO_N "(cached) $ECHO_C" >&6
14757 ac_check_lib_save_LIBS=$LIBS
14758 LIBS="-laudioio $LIBS"
14759 cat >conftest.$ac_ext <<_ACEOF
14762 cat confdefs.h >>conftest.$ac_ext
14763 cat >>conftest.$ac_ext <<_ACEOF
14764 /* end confdefs.h. */
14766 /* Override any GCC internal prototype to avoid an error.
14767 Use char because int might match the return type of a GCC
14768 builtin and then its argument prototype would still apply. */
14772 char AudioIOGetVersion ();
14776 return AudioIOGetVersion ();
14781 rm -f conftest.$ac_objext conftest$ac_exeext
14782 if { (ac_try="$ac_link"
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_link") 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 test -z "$ac_c_werror_flag" ||
14796 test ! -s conftest.err
14797 } && test -s conftest$ac_exeext &&
14798 $as_test_x conftest$ac_exeext; then
14799 ac_cv_lib_audioio_AudioIOGetVersion=yes
14801 echo "$as_me: failed program was:" >&5
14802 sed 's/^/| /' conftest.$ac_ext >&5
14804 ac_cv_lib_audioio_AudioIOGetVersion=no
14807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14808 conftest$ac_exeext conftest.$ac_ext
14809 LIBS=$ac_check_lib_save_LIBS
14811 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14812 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14813 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14814 AUDIOIOLIBS="-laudioio"
14816 cat >>confdefs.h <<\_ACEOF
14817 #define HAVE_LIBAUDIOIO 1
14825 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14827 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14828 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14829 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14830 echo $ECHO_N "(cached) $ECHO_C" >&6
14832 ac_check_soname_save_LIBS=$LIBS
14833 LIBS="-lcapi20 $LIBS"
14834 cat >conftest.$ac_ext <<_ACEOF
14837 cat confdefs.h >>conftest.$ac_ext
14838 cat >>conftest.$ac_ext <<_ACEOF
14839 /* end confdefs.h. */
14841 /* Override any GCC internal prototype to avoid an error.
14842 Use char because int might match the return type of a GCC
14843 builtin and then its argument prototype would still apply. */
14847 char capi20_register ();
14851 return capi20_register ();
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 test -z "$ac_c_werror_flag" ||
14871 test ! -s conftest.err
14872 } && test -s conftest$ac_exeext &&
14873 $as_test_x conftest$ac_exeext; then
14876 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'` ;;
14877 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14880 echo "$as_me: failed program was:" >&5
14881 sed 's/^/| /' conftest.$ac_ext >&5
14886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14887 conftest$ac_exeext conftest.$ac_ext
14888 LIBS=$ac_check_soname_save_LIBS
14890 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14891 { echo "$as_me:$LINENO: result: not found" >&5
14892 echo "${ECHO_T}not found" >&6; }
14895 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14896 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14898 cat >>confdefs.h <<_ACEOF
14899 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14906 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14907 case "x$with_capi" in
14908 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14910 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14911 This is an error since --with-capi was requested." >&5
14912 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14913 This is an error since --with-capi was requested." >&2;}
14914 { (exit 1); exit 1; }; } ;;
14919 if test "$ac_cv_header_cups_cups_h" = "yes"
14921 { echo "$as_me:$LINENO: checking for -lcups" >&5
14922 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14923 if test "${ac_cv_lib_soname_cups+set}" = set; then
14924 echo $ECHO_N "(cached) $ECHO_C" >&6
14926 ac_check_soname_save_LIBS=$LIBS
14927 LIBS="-lcups $LIBS"
14928 cat >conftest.$ac_ext <<_ACEOF
14931 cat confdefs.h >>conftest.$ac_ext
14932 cat >>conftest.$ac_ext <<_ACEOF
14933 /* end confdefs.h. */
14935 /* Override any GCC internal prototype to avoid an error.
14936 Use char because int might match the return type of a GCC
14937 builtin and then its argument prototype would still apply. */
14941 char cupsGetDefault ();
14945 return cupsGetDefault ();
14950 rm -f conftest.$ac_objext conftest$ac_exeext
14951 if { (ac_try="$ac_link"
14952 case "(($ac_try" in
14953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14954 *) ac_try_echo=$ac_try;;
14956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14957 (eval "$ac_link") 2>conftest.er1
14959 grep -v '^ *+' conftest.er1 >conftest.err
14961 cat conftest.err >&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } && {
14964 test -z "$ac_c_werror_flag" ||
14965 test ! -s conftest.err
14966 } && test -s conftest$ac_exeext &&
14967 $as_test_x conftest$ac_exeext; then
14970 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'` ;;
14971 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.$ac_ext >&5
14980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14981 conftest$ac_exeext conftest.$ac_ext
14982 LIBS=$ac_check_soname_save_LIBS
14984 if test "x$ac_cv_lib_soname_cups" = "x"; then
14985 { echo "$as_me:$LINENO: result: not found" >&5
14986 echo "${ECHO_T}not found" >&6; }
14989 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14990 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14992 cat >>confdefs.h <<_ACEOF
14993 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15000 if test "x$ac_cv_lib_soname_cups" = "x"; then
15001 case "x$with_cups" in
15002 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15004 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15005 This is an error since --with-cups was requested." >&5
15006 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15007 This is an error since --with-cups was requested." >&2;}
15008 { (exit 1); exit 1; }; } ;;
15013 if test "$ac_cv_header_jack_jack_h" = "yes"
15015 { echo "$as_me:$LINENO: checking for -ljack" >&5
15016 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15017 if test "${ac_cv_lib_soname_jack+set}" = set; then
15018 echo $ECHO_N "(cached) $ECHO_C" >&6
15020 ac_check_soname_save_LIBS=$LIBS
15021 LIBS="-ljack $LIBS"
15022 cat >conftest.$ac_ext <<_ACEOF
15025 cat confdefs.h >>conftest.$ac_ext
15026 cat >>conftest.$ac_ext <<_ACEOF
15027 /* end confdefs.h. */
15029 /* Override any GCC internal prototype to avoid an error.
15030 Use char because int might match the return type of a GCC
15031 builtin and then its argument prototype would still apply. */
15035 char jack_client_new ();
15039 return jack_client_new ();
15044 rm -f conftest.$ac_objext conftest$ac_exeext
15045 if { (ac_try="$ac_link"
15046 case "(($ac_try" in
15047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15048 *) ac_try_echo=$ac_try;;
15050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15051 (eval "$ac_link") 2>conftest.er1
15053 grep -v '^ *+' conftest.er1 >conftest.err
15055 cat conftest.err >&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } && {
15058 test -z "$ac_c_werror_flag" ||
15059 test ! -s conftest.err
15060 } && test -s conftest$ac_exeext &&
15061 $as_test_x conftest$ac_exeext; then
15064 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'` ;;
15065 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15068 echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.$ac_ext >&5
15074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15075 conftest$ac_exeext conftest.$ac_ext
15076 LIBS=$ac_check_soname_save_LIBS
15078 if test "x$ac_cv_lib_soname_jack" = "x"; then
15079 { echo "$as_me:$LINENO: result: not found" >&5
15080 echo "${ECHO_T}not found" >&6; }
15083 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15084 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15086 cat >>confdefs.h <<_ACEOF
15087 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15095 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15097 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15098 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15099 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15100 echo $ECHO_N "(cached) $ECHO_C" >&6
15102 ac_check_soname_save_LIBS=$LIBS
15103 LIBS="-lfontconfig $LIBS"
15104 cat >conftest.$ac_ext <<_ACEOF
15107 cat confdefs.h >>conftest.$ac_ext
15108 cat >>conftest.$ac_ext <<_ACEOF
15109 /* end confdefs.h. */
15111 /* Override any GCC internal prototype to avoid an error.
15112 Use char because int might match the return type of a GCC
15113 builtin and then its argument prototype would still apply. */
15126 rm -f conftest.$ac_objext conftest$ac_exeext
15127 if { (ac_try="$ac_link"
15128 case "(($ac_try" in
15129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15130 *) ac_try_echo=$ac_try;;
15132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15133 (eval "$ac_link") 2>conftest.er1
15135 grep -v '^ *+' conftest.er1 >conftest.err
15137 cat conftest.err >&5
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); } && {
15140 test -z "$ac_c_werror_flag" ||
15141 test ! -s conftest.err
15142 } && test -s conftest$ac_exeext &&
15143 $as_test_x conftest$ac_exeext; then
15146 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'` ;;
15147 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15150 echo "$as_me: failed program was:" >&5
15151 sed 's/^/| /' conftest.$ac_ext >&5
15156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15157 conftest$ac_exeext conftest.$ac_ext
15158 LIBS=$ac_check_soname_save_LIBS
15160 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15161 { echo "$as_me:$LINENO: result: not found" >&5
15162 echo "${ECHO_T}not found" >&6; }
15165 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15166 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15168 cat >>confdefs.h <<_ACEOF
15169 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15175 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15177 ac_save_CPPFLAGS="$CPPFLAGS"
15178 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15179 $as_unset ac_cv_header_fontconfig_fontconfig_h
15181 for ac_header in fontconfig/fontconfig.h
15183 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15184 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15185 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15188 echo $ECHO_N "(cached) $ECHO_C" >&6
15190 ac_res=`eval echo '${'$as_ac_Header'}'`
15191 { echo "$as_me:$LINENO: result: $ac_res" >&5
15192 echo "${ECHO_T}$ac_res" >&6; }
15194 # Is the header compilable?
15195 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15196 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15197 cat >conftest.$ac_ext <<_ACEOF
15200 cat confdefs.h >>conftest.$ac_ext
15201 cat >>conftest.$ac_ext <<_ACEOF
15202 /* end confdefs.h. */
15203 $ac_includes_default
15204 #include <$ac_header>
15206 rm -f conftest.$ac_objext
15207 if { (ac_try="$ac_compile"
15208 case "(($ac_try" in
15209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15210 *) ac_try_echo=$ac_try;;
15212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15213 (eval "$ac_compile") 2>conftest.er1
15215 grep -v '^ *+' conftest.er1 >conftest.err
15217 cat conftest.err >&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } && {
15220 test -z "$ac_c_werror_flag" ||
15221 test ! -s conftest.err
15222 } && test -s conftest.$ac_objext; then
15223 ac_header_compiler=yes
15225 echo "$as_me: failed program was:" >&5
15226 sed 's/^/| /' conftest.$ac_ext >&5
15228 ac_header_compiler=no
15231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15232 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15233 echo "${ECHO_T}$ac_header_compiler" >&6; }
15235 # Is the header present?
15236 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15237 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15238 cat >conftest.$ac_ext <<_ACEOF
15241 cat confdefs.h >>conftest.$ac_ext
15242 cat >>conftest.$ac_ext <<_ACEOF
15243 /* end confdefs.h. */
15244 #include <$ac_header>
15246 if { (ac_try="$ac_cpp conftest.$ac_ext"
15247 case "(($ac_try" in
15248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15249 *) ac_try_echo=$ac_try;;
15251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15252 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15254 grep -v '^ *+' conftest.er1 >conftest.err
15256 cat conftest.err >&5
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); } >/dev/null && {
15259 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15260 test ! -s conftest.err
15262 ac_header_preproc=yes
15264 echo "$as_me: failed program was:" >&5
15265 sed 's/^/| /' conftest.$ac_ext >&5
15267 ac_header_preproc=no
15270 rm -f conftest.err conftest.$ac_ext
15271 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15272 echo "${ECHO_T}$ac_header_preproc" >&6; }
15274 # So? What about this header?
15275 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15277 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15278 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15280 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15281 ac_header_preproc=yes
15284 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15285 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15286 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15287 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15288 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15289 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15290 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15291 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15293 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15294 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15295 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15297 ## ------------------------------------ ##
15298 ## Report this to wine-devel@winehq.org ##
15299 ## ------------------------------------ ##
15301 ) | sed "s/^/$as_me: WARNING: /" >&2
15304 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15306 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15307 echo $ECHO_N "(cached) $ECHO_C" >&6
15309 eval "$as_ac_Header=\$ac_header_preproc"
15311 ac_res=`eval echo '${'$as_ac_Header'}'`
15312 { echo "$as_me:$LINENO: result: $ac_res" >&5
15313 echo "${ECHO_T}$ac_res" >&6; }
15316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15317 cat >>confdefs.h <<_ACEOF
15318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15325 CPPFLAGS="$ac_save_CPPFLAGS"
15326 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15328 FONTCONFIGINCL="$X_CFLAGS"
15330 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15331 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15332 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 ac_check_soname_save_LIBS=$LIBS
15336 LIBS="-lfontconfig $X_LIBS $LIBS"
15337 cat >conftest.$ac_ext <<_ACEOF
15340 cat confdefs.h >>conftest.$ac_ext
15341 cat >>conftest.$ac_ext <<_ACEOF
15342 /* end confdefs.h. */
15344 /* Override any GCC internal prototype to avoid an error.
15345 Use char because int might match the return type of a GCC
15346 builtin and then its argument prototype would still apply. */
15359 rm -f conftest.$ac_objext conftest$ac_exeext
15360 if { (ac_try="$ac_link"
15361 case "(($ac_try" in
15362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15363 *) ac_try_echo=$ac_try;;
15365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15366 (eval "$ac_link") 2>conftest.er1
15368 grep -v '^ *+' conftest.er1 >conftest.err
15370 cat conftest.err >&5
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); } && {
15373 test -z "$ac_c_werror_flag" ||
15374 test ! -s conftest.err
15375 } && test -s conftest$ac_exeext &&
15376 $as_test_x conftest$ac_exeext; then
15379 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'` ;;
15380 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15383 echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.$ac_ext >&5
15389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15390 conftest$ac_exeext conftest.$ac_ext
15391 LIBS=$ac_check_soname_save_LIBS
15393 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15394 { echo "$as_me:$LINENO: result: not found" >&5
15395 echo "${ECHO_T}not found" >&6; }
15398 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15399 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15401 cat >>confdefs.h <<_ACEOF
15402 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15410 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15411 case "x$with_fontconfig" in
15412 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15414 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15415 This is an error since --with-fontconfig was requested." >&5
15416 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15417 This is an error since --with-fontconfig was requested." >&2;}
15418 { (exit 1); exit 1; }; } ;;
15423 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15425 { echo "$as_me:$LINENO: checking for -lssl" >&5
15426 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15427 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15428 echo $ECHO_N "(cached) $ECHO_C" >&6
15430 ac_check_soname_save_LIBS=$LIBS
15432 cat >conftest.$ac_ext <<_ACEOF
15435 cat confdefs.h >>conftest.$ac_ext
15436 cat >>conftest.$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15439 /* Override any GCC internal prototype to avoid an error.
15440 Use char because int might match the return type of a GCC
15441 builtin and then its argument prototype would still apply. */
15445 char SSL_library_init ();
15449 return SSL_library_init ();
15454 rm -f conftest.$ac_objext conftest$ac_exeext
15455 if { (ac_try="$ac_link"
15456 case "(($ac_try" in
15457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15458 *) ac_try_echo=$ac_try;;
15460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15461 (eval "$ac_link") 2>conftest.er1
15463 grep -v '^ *+' conftest.er1 >conftest.err
15465 cat conftest.err >&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } && {
15468 test -z "$ac_c_werror_flag" ||
15469 test ! -s conftest.err
15470 } && test -s conftest$ac_exeext &&
15471 $as_test_x conftest$ac_exeext; then
15474 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'` ;;
15475 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15478 echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.$ac_ext >&5
15484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15485 conftest$ac_exeext conftest.$ac_ext
15486 LIBS=$ac_check_soname_save_LIBS
15488 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15489 { echo "$as_me:$LINENO: result: not found" >&5
15490 echo "${ECHO_T}not found" >&6; }
15493 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15494 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15496 cat >>confdefs.h <<_ACEOF
15497 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15503 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15504 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15505 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15506 echo $ECHO_N "(cached) $ECHO_C" >&6
15508 ac_check_soname_save_LIBS=$LIBS
15509 LIBS="-lcrypto $LIBS"
15510 cat >conftest.$ac_ext <<_ACEOF
15513 cat confdefs.h >>conftest.$ac_ext
15514 cat >>conftest.$ac_ext <<_ACEOF
15515 /* end confdefs.h. */
15517 /* Override any GCC internal prototype to avoid an error.
15518 Use char because int might match the return type of a GCC
15519 builtin and then its argument prototype would still apply. */
15523 char BIO_new_socket ();
15527 return BIO_new_socket ();
15532 rm -f conftest.$ac_objext conftest$ac_exeext
15533 if { (ac_try="$ac_link"
15534 case "(($ac_try" in
15535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15536 *) ac_try_echo=$ac_try;;
15538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15539 (eval "$ac_link") 2>conftest.er1
15541 grep -v '^ *+' conftest.er1 >conftest.err
15543 cat conftest.err >&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); } && {
15546 test -z "$ac_c_werror_flag" ||
15547 test ! -s conftest.err
15548 } && test -s conftest$ac_exeext &&
15549 $as_test_x conftest$ac_exeext; then
15552 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'` ;;
15553 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15556 echo "$as_me: failed program was:" >&5
15557 sed 's/^/| /' conftest.$ac_ext >&5
15562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15563 conftest$ac_exeext conftest.$ac_ext
15564 LIBS=$ac_check_soname_save_LIBS
15566 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15567 { echo "$as_me:$LINENO: result: not found" >&5
15568 echo "${ECHO_T}not found" >&6; }
15571 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15572 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15574 cat >>confdefs.h <<_ACEOF
15575 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15582 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15583 case "x$with_openssl" in
15584 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15586 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15587 This is an error since --with-openssl was requested." >&5
15588 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15589 This is an error since --with-openssl was requested." >&2;}
15590 { (exit 1); exit 1; }; } ;;
15595 if test "$ac_cv_header_jpeglib_h" = "yes"
15597 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15598 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15599 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15600 echo $ECHO_N "(cached) $ECHO_C" >&6
15602 ac_check_soname_save_LIBS=$LIBS
15603 LIBS="-ljpeg $LIBS"
15604 cat >conftest.$ac_ext <<_ACEOF
15607 cat confdefs.h >>conftest.$ac_ext
15608 cat >>conftest.$ac_ext <<_ACEOF
15609 /* end confdefs.h. */
15611 /* Override any GCC internal prototype to avoid an error.
15612 Use char because int might match the return type of a GCC
15613 builtin and then its argument prototype would still apply. */
15617 char jpeg_start_decompress ();
15621 return jpeg_start_decompress ();
15626 rm -f conftest.$ac_objext conftest$ac_exeext
15627 if { (ac_try="$ac_link"
15628 case "(($ac_try" in
15629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15630 *) ac_try_echo=$ac_try;;
15632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15633 (eval "$ac_link") 2>conftest.er1
15635 grep -v '^ *+' conftest.er1 >conftest.err
15637 cat conftest.err >&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); } && {
15640 test -z "$ac_c_werror_flag" ||
15641 test ! -s conftest.err
15642 } && test -s conftest$ac_exeext &&
15643 $as_test_x conftest$ac_exeext; then
15646 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'` ;;
15647 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15650 echo "$as_me: failed program was:" >&5
15651 sed 's/^/| /' conftest.$ac_ext >&5
15656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15657 conftest$ac_exeext conftest.$ac_ext
15658 LIBS=$ac_check_soname_save_LIBS
15660 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15661 { echo "$as_me:$LINENO: result: not found" >&5
15662 echo "${ECHO_T}not found" >&6; }
15665 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15666 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15668 cat >>confdefs.h <<_ACEOF
15669 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15676 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15677 case "x$with_jpeg" in
15678 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15680 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15681 This is an error since --with-jpeg was requested." >&5
15682 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15683 This is an error since --with-jpeg was requested." >&2;}
15684 { (exit 1); exit 1; }; } ;;
15689 if test "$ac_cv_header_png_h" = "yes"
15691 { echo "$as_me:$LINENO: checking for -lpng" >&5
15692 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15693 if test "${ac_cv_lib_soname_png+set}" = set; then
15694 echo $ECHO_N "(cached) $ECHO_C" >&6
15696 ac_check_soname_save_LIBS=$LIBS
15698 cat >conftest.$ac_ext <<_ACEOF
15701 cat confdefs.h >>conftest.$ac_ext
15702 cat >>conftest.$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15705 /* Override any GCC internal prototype to avoid an error.
15706 Use char because int might match the return type of a GCC
15707 builtin and then its argument prototype would still apply. */
15711 char png_create_read_struct ();
15715 return png_create_read_struct ();
15720 rm -f conftest.$ac_objext conftest$ac_exeext
15721 if { (ac_try="$ac_link"
15722 case "(($ac_try" in
15723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15724 *) ac_try_echo=$ac_try;;
15726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15727 (eval "$ac_link") 2>conftest.er1
15729 grep -v '^ *+' conftest.er1 >conftest.err
15731 cat conftest.err >&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); } && {
15734 test -z "$ac_c_werror_flag" ||
15735 test ! -s conftest.err
15736 } && test -s conftest$ac_exeext &&
15737 $as_test_x conftest$ac_exeext; then
15740 dylib) ac_cv_lib_soname_png=`otool -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15741 *) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15744 echo "$as_me: failed program was:" >&5
15745 sed 's/^/| /' conftest.$ac_ext >&5
15750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15751 conftest$ac_exeext conftest.$ac_ext
15752 LIBS=$ac_check_soname_save_LIBS
15754 if test "x$ac_cv_lib_soname_png" = "x"; then
15755 { echo "$as_me:$LINENO: result: not found" >&5
15756 echo "${ECHO_T}not found" >&6; }
15759 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15760 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15762 cat >>confdefs.h <<_ACEOF
15763 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15770 if test "x$ac_cv_lib_soname_png" = "x"; then
15771 case "x$with_png" in
15772 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15774 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15775 This is an error since --with-png was requested." >&5
15776 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15777 This is an error since --with-png was requested." >&2;}
15778 { (exit 1); exit 1; }; } ;;
15783 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15784 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15785 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15786 echo $ECHO_N "(cached) $ECHO_C" >&6
15788 ac_check_soname_save_LIBS=$LIBS
15789 LIBS="-lodbc $LIBS"
15790 cat >conftest.$ac_ext <<_ACEOF
15793 cat confdefs.h >>conftest.$ac_ext
15794 cat >>conftest.$ac_ext <<_ACEOF
15795 /* end confdefs.h. */
15797 /* Override any GCC internal prototype to avoid an error.
15798 Use char because int might match the return type of a GCC
15799 builtin and then its argument prototype would still apply. */
15803 char SQLConnect ();
15807 return SQLConnect ();
15812 rm -f conftest.$ac_objext conftest$ac_exeext
15813 if { (ac_try="$ac_link"
15814 case "(($ac_try" in
15815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15816 *) ac_try_echo=$ac_try;;
15818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15819 (eval "$ac_link") 2>conftest.er1
15821 grep -v '^ *+' conftest.er1 >conftest.err
15823 cat conftest.err >&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } && {
15826 test -z "$ac_c_werror_flag" ||
15827 test ! -s conftest.err
15828 } && test -s conftest$ac_exeext &&
15829 $as_test_x conftest$ac_exeext; then
15832 dylib) ac_cv_lib_soname_odbc=`otool -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15833 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.$ac_ext >&5
15842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15843 conftest$ac_exeext conftest.$ac_ext
15844 LIBS=$ac_check_soname_save_LIBS
15846 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15847 { echo "$as_me:$LINENO: result: not found" >&5
15848 echo "${ECHO_T}not found" >&6; }
15849 cat >>confdefs.h <<_ACEOF
15850 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15854 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15855 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15857 cat >>confdefs.h <<_ACEOF
15858 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15865 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15866 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15867 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15868 "$ac_cv_header_soundcard_h" != "yes" -a \
15869 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15871 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15877 if test "x${GCC}" = "xyes"
15879 EXTRACFLAGS="-Wall -pipe"
15881 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15882 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15883 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15884 echo $ECHO_N "(cached) $ECHO_C" >&6
15886 if test "$cross_compiling" = yes; then
15887 ac_cv_c_gcc_strength_bug="yes"
15889 cat >conftest.$ac_ext <<_ACEOF
15892 cat confdefs.h >>conftest.$ac_ext
15893 cat >>conftest.$ac_ext <<_ACEOF
15894 /* end confdefs.h. */
15895 int L[4] = {0,1,2,3};
15899 static int Array[3];
15900 unsigned int B = 3;
15902 for(i=0; i<B; i++) Array[i] = i - 3;
15903 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15905 exit( Array[1] != -2 || L[2] != 3)
15910 rm -f conftest$ac_exeext
15911 if { (ac_try="$ac_link"
15912 case "(($ac_try" in
15913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15914 *) ac_try_echo=$ac_try;;
15916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15917 (eval "$ac_link") 2>&5
15919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15921 { (case "(($ac_try" in
15922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15923 *) ac_try_echo=$ac_try;;
15925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15926 (eval "$ac_try") 2>&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); }; }; then
15930 ac_cv_c_gcc_strength_bug="no"
15932 echo "$as_me: program exited with status $ac_status" >&5
15933 echo "$as_me: failed program was:" >&5
15934 sed 's/^/| /' conftest.$ac_ext >&5
15936 ( exit $ac_status )
15937 ac_cv_c_gcc_strength_bug="yes"
15939 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15944 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15945 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15946 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15948 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15952 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15953 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15954 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15955 echo $ECHO_N "(cached) $ECHO_C" >&6
15957 ac_wine_try_cflags_saved=$CFLAGS
15958 CFLAGS="$CFLAGS -fshort-wchar"
15959 cat >conftest.$ac_ext <<_ACEOF
15962 cat confdefs.h >>conftest.$ac_ext
15963 cat >>conftest.$ac_ext <<_ACEOF
15964 /* end confdefs.h. */
15974 rm -f conftest.$ac_objext conftest$ac_exeext
15975 if { (ac_try="$ac_link"
15976 case "(($ac_try" in
15977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15978 *) ac_try_echo=$ac_try;;
15980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15981 (eval "$ac_link") 2>conftest.er1
15983 grep -v '^ *+' conftest.er1 >conftest.err
15985 cat conftest.err >&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); } && {
15988 test -z "$ac_c_werror_flag" ||
15989 test ! -s conftest.err
15990 } && test -s conftest$ac_exeext &&
15991 $as_test_x conftest$ac_exeext; then
15992 ac_cv_cflags__fshort_wchar=yes
15994 echo "$as_me: failed program was:" >&5
15995 sed 's/^/| /' conftest.$ac_ext >&5
15997 ac_cv_cflags__fshort_wchar=no
16000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16001 conftest$ac_exeext conftest.$ac_ext
16002 CFLAGS=$ac_wine_try_cflags_saved
16004 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16005 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16006 if test $ac_cv_cflags__fshort_wchar = yes; then
16008 cat >>confdefs.h <<\_ACEOF
16009 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16014 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16015 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16016 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16017 echo $ECHO_N "(cached) $ECHO_C" >&6
16019 ac_wine_try_cflags_saved=$CFLAGS
16020 CFLAGS="$CFLAGS -fno-strict-aliasing"
16021 cat >conftest.$ac_ext <<_ACEOF
16024 cat confdefs.h >>conftest.$ac_ext
16025 cat >>conftest.$ac_ext <<_ACEOF
16026 /* end confdefs.h. */
16036 rm -f conftest.$ac_objext conftest$ac_exeext
16037 if { (ac_try="$ac_link"
16038 case "(($ac_try" in
16039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16040 *) ac_try_echo=$ac_try;;
16042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16043 (eval "$ac_link") 2>conftest.er1
16045 grep -v '^ *+' conftest.er1 >conftest.err
16047 cat conftest.err >&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); } && {
16050 test -z "$ac_c_werror_flag" ||
16051 test ! -s conftest.err
16052 } && test -s conftest$ac_exeext &&
16053 $as_test_x conftest$ac_exeext; then
16054 ac_cv_cflags__fno_strict_aliasing=yes
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.$ac_ext >&5
16059 ac_cv_cflags__fno_strict_aliasing=no
16062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16063 conftest$ac_exeext conftest.$ac_ext
16064 CFLAGS=$ac_wine_try_cflags_saved
16066 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16067 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16068 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16069 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16072 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16073 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16074 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16075 echo $ECHO_N "(cached) $ECHO_C" >&6
16077 ac_wine_try_cflags_saved=$CFLAGS
16078 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16079 cat >conftest.$ac_ext <<_ACEOF
16082 cat confdefs.h >>conftest.$ac_ext
16083 cat >>conftest.$ac_ext <<_ACEOF
16084 /* end confdefs.h. */
16094 rm -f conftest.$ac_objext conftest$ac_exeext
16095 if { (ac_try="$ac_link"
16096 case "(($ac_try" in
16097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16098 *) ac_try_echo=$ac_try;;
16100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16101 (eval "$ac_link") 2>conftest.er1
16103 grep -v '^ *+' conftest.er1 >conftest.err
16105 cat conftest.err >&5
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); } && {
16108 test -z "$ac_c_werror_flag" ||
16109 test ! -s conftest.err
16110 } && test -s conftest$ac_exeext &&
16111 $as_test_x conftest$ac_exeext; then
16112 ac_cv_cflags__Wdeclaration_after_statement=yes
16114 echo "$as_me: failed program was:" >&5
16115 sed 's/^/| /' conftest.$ac_ext >&5
16117 ac_cv_cflags__Wdeclaration_after_statement=no
16120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16121 conftest$ac_exeext conftest.$ac_ext
16122 CFLAGS=$ac_wine_try_cflags_saved
16124 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16125 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16126 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16127 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16130 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16131 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16132 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16133 echo $ECHO_N "(cached) $ECHO_C" >&6
16135 ac_wine_try_cflags_saved=$CFLAGS
16136 CFLAGS="$CFLAGS -Wwrite-strings"
16137 cat >conftest.$ac_ext <<_ACEOF
16140 cat confdefs.h >>conftest.$ac_ext
16141 cat >>conftest.$ac_ext <<_ACEOF
16142 /* end confdefs.h. */
16152 rm -f conftest.$ac_objext conftest$ac_exeext
16153 if { (ac_try="$ac_link"
16154 case "(($ac_try" in
16155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16156 *) ac_try_echo=$ac_try;;
16158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16159 (eval "$ac_link") 2>conftest.er1
16161 grep -v '^ *+' conftest.er1 >conftest.err
16163 cat conftest.err >&5
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); } && {
16166 test -z "$ac_c_werror_flag" ||
16167 test ! -s conftest.err
16168 } && test -s conftest$ac_exeext &&
16169 $as_test_x conftest$ac_exeext; then
16170 ac_cv_cflags__Wwrite_strings=yes
16172 echo "$as_me: failed program was:" >&5
16173 sed 's/^/| /' conftest.$ac_ext >&5
16175 ac_cv_cflags__Wwrite_strings=no
16178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16179 conftest$ac_exeext conftest.$ac_ext
16180 CFLAGS=$ac_wine_try_cflags_saved
16182 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16183 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16184 if test $ac_cv_cflags__Wwrite_strings = yes; then
16185 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16188 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16189 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16190 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16193 ac_wine_try_cflags_saved=$CFLAGS
16194 CFLAGS="$CFLAGS -Wtype-limits"
16195 cat >conftest.$ac_ext <<_ACEOF
16198 cat confdefs.h >>conftest.$ac_ext
16199 cat >>conftest.$ac_ext <<_ACEOF
16200 /* end confdefs.h. */
16210 rm -f conftest.$ac_objext conftest$ac_exeext
16211 if { (ac_try="$ac_link"
16212 case "(($ac_try" in
16213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16214 *) ac_try_echo=$ac_try;;
16216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16217 (eval "$ac_link") 2>conftest.er1
16219 grep -v '^ *+' conftest.er1 >conftest.err
16221 cat conftest.err >&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); } && {
16224 test -z "$ac_c_werror_flag" ||
16225 test ! -s conftest.err
16226 } && test -s conftest$ac_exeext &&
16227 $as_test_x conftest$ac_exeext; then
16228 ac_cv_cflags__Wtype_limits=yes
16230 echo "$as_me: failed program was:" >&5
16231 sed 's/^/| /' conftest.$ac_ext >&5
16233 ac_cv_cflags__Wtype_limits=no
16236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16237 conftest$ac_exeext conftest.$ac_ext
16238 CFLAGS=$ac_wine_try_cflags_saved
16240 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16241 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16242 if test $ac_cv_cflags__Wtype_limits = yes; then
16243 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16247 saved_CFLAGS="$CFLAGS"
16248 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16249 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16250 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16251 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16252 echo $ECHO_N "(cached) $ECHO_C" >&6
16254 cat >conftest.$ac_ext <<_ACEOF
16257 cat confdefs.h >>conftest.$ac_ext
16258 cat >>conftest.$ac_ext <<_ACEOF
16259 /* end confdefs.h. */
16260 #include <string.h>
16269 rm -f conftest.$ac_objext
16270 if { (ac_try="$ac_compile"
16271 case "(($ac_try" in
16272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16273 *) ac_try_echo=$ac_try;;
16275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16276 (eval "$ac_compile") 2>conftest.er1
16278 grep -v '^ *+' conftest.er1 >conftest.err
16280 cat conftest.err >&5
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); } && {
16283 test -z "$ac_c_werror_flag" ||
16284 test ! -s conftest.err
16285 } && test -s conftest.$ac_objext; then
16286 ac_cv_c_string_h_warnings=no
16288 echo "$as_me: failed program was:" >&5
16289 sed 's/^/| /' conftest.$ac_ext >&5
16291 ac_cv_c_string_h_warnings=yes
16294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16296 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16297 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16298 CFLAGS="$saved_CFLAGS"
16299 if test "$ac_cv_c_string_h_warnings" = "no"
16301 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16306 saved_CFLAGS="$CFLAGS"
16307 CFLAGS="$CFLAGS -Werror"
16308 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16309 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16310 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16311 echo $ECHO_N "(cached) $ECHO_C" >&6
16313 cat >conftest.$ac_ext <<_ACEOF
16316 cat confdefs.h >>conftest.$ac_ext
16317 cat >>conftest.$ac_ext <<_ACEOF
16318 /* end confdefs.h. */
16323 int iswlower(unsigned short);
16328 rm -f conftest.$ac_objext
16329 if { (ac_try="$ac_compile"
16330 case "(($ac_try" in
16331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16332 *) ac_try_echo=$ac_try;;
16334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16335 (eval "$ac_compile") 2>conftest.er1
16337 grep -v '^ *+' conftest.er1 >conftest.err
16339 cat conftest.err >&5
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); } && {
16342 test -z "$ac_c_werror_flag" ||
16343 test ! -s conftest.err
16344 } && test -s conftest.$ac_objext; then
16345 ac_cv_c_builtin_wchar_ctype=no
16347 echo "$as_me: failed program was:" >&5
16348 sed 's/^/| /' conftest.$ac_ext >&5
16350 ac_cv_c_builtin_wchar_ctype=yes
16353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16355 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16356 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16357 CFLAGS="$saved_CFLAGS"
16358 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16360 BUILTINFLAG="-fno-builtin"
16365 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16366 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16367 if test "${ac_cv_asm_func_def+set}" = set; then
16368 echo $ECHO_N "(cached) $ECHO_C" >&6
16370 cat >conftest.$ac_ext <<_ACEOF
16373 cat confdefs.h >>conftest.$ac_ext
16374 cat >>conftest.$ac_ext <<_ACEOF
16375 /* end confdefs.h. */
16380 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16385 rm -f conftest.$ac_objext conftest$ac_exeext
16386 if { (ac_try="$ac_link"
16387 case "(($ac_try" in
16388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16389 *) ac_try_echo=$ac_try;;
16391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16392 (eval "$ac_link") 2>conftest.er1
16394 grep -v '^ *+' conftest.er1 >conftest.err
16396 cat conftest.err >&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); } && {
16399 test -z "$ac_c_werror_flag" ||
16400 test ! -s conftest.err
16401 } && test -s conftest$ac_exeext &&
16402 $as_test_x conftest$ac_exeext; then
16403 ac_cv_asm_func_def=".def"
16405 echo "$as_me: failed program was:" >&5
16406 sed 's/^/| /' conftest.$ac_ext >&5
16408 cat >conftest.$ac_ext <<_ACEOF
16411 cat confdefs.h >>conftest.$ac_ext
16412 cat >>conftest.$ac_ext <<_ACEOF
16413 /* end confdefs.h. */
16418 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16423 rm -f conftest.$ac_objext conftest$ac_exeext
16424 if { (ac_try="$ac_link"
16425 case "(($ac_try" in
16426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16427 *) ac_try_echo=$ac_try;;
16429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16430 (eval "$ac_link") 2>conftest.er1
16432 grep -v '^ *+' conftest.er1 >conftest.err
16434 cat conftest.err >&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); } && {
16437 test -z "$ac_c_werror_flag" ||
16438 test ! -s conftest.err
16439 } && test -s conftest$ac_exeext &&
16440 $as_test_x conftest$ac_exeext; then
16441 ac_cv_asm_func_def=".type @function"
16443 echo "$as_me: failed program was:" >&5
16444 sed 's/^/| /' conftest.$ac_ext >&5
16446 cat >conftest.$ac_ext <<_ACEOF
16449 cat confdefs.h >>conftest.$ac_ext
16450 cat >>conftest.$ac_ext <<_ACEOF
16451 /* end confdefs.h. */
16456 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16461 rm -f conftest.$ac_objext conftest$ac_exeext
16462 if { (ac_try="$ac_link"
16463 case "(($ac_try" in
16464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16465 *) ac_try_echo=$ac_try;;
16467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16468 (eval "$ac_link") 2>conftest.er1
16470 grep -v '^ *+' conftest.er1 >conftest.err
16472 cat conftest.err >&5
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); } && {
16475 test -z "$ac_c_werror_flag" ||
16476 test ! -s conftest.err
16477 } && test -s conftest$ac_exeext &&
16478 $as_test_x conftest$ac_exeext; then
16479 ac_cv_asm_func_def=".type 2"
16481 echo "$as_me: failed program was:" >&5
16482 sed 's/^/| /' conftest.$ac_ext >&5
16484 ac_cv_asm_func_def="unknown"
16487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16488 conftest$ac_exeext conftest.$ac_ext
16491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16492 conftest$ac_exeext conftest.$ac_ext
16495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16496 conftest$ac_exeext conftest.$ac_ext
16498 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16499 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16503 case "$ac_cv_asm_func_def" in
16505 cat >>confdefs.h <<\_ACEOF
16506 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16510 cat >>confdefs.h <<\_ACEOF
16511 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16515 cat >>confdefs.h <<\_ACEOF
16516 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16520 cat >>confdefs.h <<\_ACEOF
16521 #define __ASM_FUNC(name) ""
16527 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16528 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16529 if test "${ac_cv_c_extern_prefix+set}" = set; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16532 cat >conftest.$ac_ext <<_ACEOF
16535 cat confdefs.h >>conftest.$ac_ext
16536 cat >>conftest.$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16538 extern int ac_test;
16542 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16547 rm -f conftest.$ac_objext conftest$ac_exeext
16548 if { (ac_try="$ac_link"
16549 case "(($ac_try" in
16550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16551 *) ac_try_echo=$ac_try;;
16553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16554 (eval "$ac_link") 2>conftest.er1
16556 grep -v '^ *+' conftest.er1 >conftest.err
16558 cat conftest.err >&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } && {
16561 test -z "$ac_c_werror_flag" ||
16562 test ! -s conftest.err
16563 } && test -s conftest$ac_exeext &&
16564 $as_test_x conftest$ac_exeext; then
16565 ac_cv_c_extern_prefix="yes"
16567 echo "$as_me: failed program was:" >&5
16568 sed 's/^/| /' conftest.$ac_ext >&5
16570 ac_cv_c_extern_prefix="no"
16573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16574 conftest$ac_exeext conftest.$ac_ext
16576 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16577 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16581 if test "$ac_cv_c_extern_prefix" = "yes"
16583 cat >>confdefs.h <<\_ACEOF
16584 #define __ASM_NAME(name) "_" name
16588 cat >>confdefs.h <<\_ACEOF
16589 #define __ASM_NAME(name) name
16599 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16603 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16605 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16609 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16617 SOCKETLIBS="-lws2_32"
16622 MAIN_BINARY="wine-pthread"
16626 linux* | k*bsd*-gnu)
16627 MAIN_BINARY="wine-glibc"
16629 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16632 MAIN_BINARY="wine-freebsd"
16634 EXTRA_BINARIES="wine-pthread"
16782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16783 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16785 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16788 cat >conftest.$ac_ext <<_ACEOF
16791 cat confdefs.h >>conftest.$ac_ext
16792 cat >>conftest.$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16796 #define $ac_func innocuous_$ac_func
16798 /* System header to define __stub macros and hopefully few prototypes,
16799 which can conflict with char $ac_func (); below.
16800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16801 <limits.h> exists even on freestanding compilers. */
16804 # include <limits.h>
16806 # include <assert.h>
16811 /* Override any GCC internal prototype to avoid an error.
16812 Use char because int might match the return type of a GCC
16813 builtin and then its argument prototype would still apply. */
16818 /* The GNU C library defines this for functions which it implements
16819 to always fail with ENOSYS. Some functions are actually named
16820 something starting with __ and the normal name is an alias. */
16821 #if defined __stub_$ac_func || defined __stub___$ac_func
16828 return $ac_func ();
16833 rm -f conftest.$ac_objext conftest$ac_exeext
16834 if { (ac_try="$ac_link"
16835 case "(($ac_try" in
16836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16837 *) ac_try_echo=$ac_try;;
16839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16840 (eval "$ac_link") 2>conftest.er1
16842 grep -v '^ *+' conftest.er1 >conftest.err
16844 cat conftest.err >&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); } && {
16847 test -z "$ac_c_werror_flag" ||
16848 test ! -s conftest.err
16849 } && test -s conftest$ac_exeext &&
16850 $as_test_x conftest$ac_exeext; then
16851 eval "$as_ac_var=yes"
16853 echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.$ac_ext >&5
16856 eval "$as_ac_var=no"
16859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16860 conftest$ac_exeext conftest.$ac_ext
16862 ac_res=`eval echo '${'$as_ac_var'}'`
16863 { echo "$as_me:$LINENO: result: $ac_res" >&5
16864 echo "${ECHO_T}$ac_res" >&6; }
16865 if test `eval echo '${'$as_ac_var'}'` = yes; then
16866 cat >>confdefs.h <<_ACEOF
16867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16874 if test "$ac_cv_func_dlopen" = no
16876 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16877 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16878 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16879 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 ac_check_lib_save_LIBS=$LIBS
16883 cat >conftest.$ac_ext <<_ACEOF
16886 cat confdefs.h >>conftest.$ac_ext
16887 cat >>conftest.$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16890 /* Override any GCC internal prototype to avoid an error.
16891 Use char because int might match the return type of a GCC
16892 builtin and then its argument prototype would still apply. */
16905 rm -f conftest.$ac_objext conftest$ac_exeext
16906 if { (ac_try="$ac_link"
16907 case "(($ac_try" in
16908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16909 *) ac_try_echo=$ac_try;;
16911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16912 (eval "$ac_link") 2>conftest.er1
16914 grep -v '^ *+' conftest.er1 >conftest.err
16916 cat conftest.err >&5
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); } && {
16919 test -z "$ac_c_werror_flag" ||
16920 test ! -s conftest.err
16921 } && test -s conftest$ac_exeext &&
16922 $as_test_x conftest$ac_exeext; then
16923 ac_cv_lib_dl_dlopen=yes
16925 echo "$as_me: failed program was:" >&5
16926 sed 's/^/| /' conftest.$ac_ext >&5
16928 ac_cv_lib_dl_dlopen=no
16931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16932 conftest$ac_exeext conftest.$ac_ext
16933 LIBS=$ac_check_lib_save_LIBS
16935 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16936 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16937 if test $ac_cv_lib_dl_dlopen = yes; then
16938 cat >>confdefs.h <<\_ACEOF
16939 #define HAVE_DLOPEN 1
16946 ac_wine_check_funcs_save_LIBS="$LIBS"
16947 LIBS="$LIBS $LIBDL"
16949 for ac_func in dladdr
16951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16952 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16954 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16955 echo $ECHO_N "(cached) $ECHO_C" >&6
16957 cat >conftest.$ac_ext <<_ACEOF
16960 cat confdefs.h >>conftest.$ac_ext
16961 cat >>conftest.$ac_ext <<_ACEOF
16962 /* end confdefs.h. */
16963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16965 #define $ac_func innocuous_$ac_func
16967 /* System header to define __stub macros and hopefully few prototypes,
16968 which can conflict with char $ac_func (); below.
16969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16970 <limits.h> exists even on freestanding compilers. */
16973 # include <limits.h>
16975 # include <assert.h>
16980 /* Override any GCC internal prototype to avoid an error.
16981 Use char because int might match the return type of a GCC
16982 builtin and then its argument prototype would still apply. */
16987 /* The GNU C library defines this for functions which it implements
16988 to always fail with ENOSYS. Some functions are actually named
16989 something starting with __ and the normal name is an alias. */
16990 #if defined __stub_$ac_func || defined __stub___$ac_func
16997 return $ac_func ();
17002 rm -f conftest.$ac_objext conftest$ac_exeext
17003 if { (ac_try="$ac_link"
17004 case "(($ac_try" in
17005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17006 *) ac_try_echo=$ac_try;;
17008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17009 (eval "$ac_link") 2>conftest.er1
17011 grep -v '^ *+' conftest.er1 >conftest.err
17013 cat conftest.err >&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); } && {
17016 test -z "$ac_c_werror_flag" ||
17017 test ! -s conftest.err
17018 } && test -s conftest$ac_exeext &&
17019 $as_test_x conftest$ac_exeext; then
17020 eval "$as_ac_var=yes"
17022 echo "$as_me: failed program was:" >&5
17023 sed 's/^/| /' conftest.$ac_ext >&5
17025 eval "$as_ac_var=no"
17028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17029 conftest$ac_exeext conftest.$ac_ext
17031 ac_res=`eval echo '${'$as_ac_var'}'`
17032 { echo "$as_me:$LINENO: result: $ac_res" >&5
17033 echo "${ECHO_T}$ac_res" >&6; }
17034 if test `eval echo '${'$as_ac_var'}'` = yes; then
17035 cat >>confdefs.h <<_ACEOF
17036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17042 LIBS="$ac_wine_check_funcs_save_LIBS"
17044 if test "$ac_cv_func_poll" = no
17046 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17047 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17048 if test "${ac_cv_lib_poll_poll+set}" = set; then
17049 echo $ECHO_N "(cached) $ECHO_C" >&6
17051 ac_check_lib_save_LIBS=$LIBS
17052 LIBS="-lpoll $LIBS"
17053 cat >conftest.$ac_ext <<_ACEOF
17056 cat confdefs.h >>conftest.$ac_ext
17057 cat >>conftest.$ac_ext <<_ACEOF
17058 /* end confdefs.h. */
17060 /* Override any GCC internal prototype to avoid an error.
17061 Use char because int might match the return type of a GCC
17062 builtin and then its argument prototype would still apply. */
17075 rm -f conftest.$ac_objext conftest$ac_exeext
17076 if { (ac_try="$ac_link"
17077 case "(($ac_try" in
17078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17079 *) ac_try_echo=$ac_try;;
17081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17082 (eval "$ac_link") 2>conftest.er1
17084 grep -v '^ *+' conftest.er1 >conftest.err
17086 cat conftest.err >&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); } && {
17089 test -z "$ac_c_werror_flag" ||
17090 test ! -s conftest.err
17091 } && test -s conftest$ac_exeext &&
17092 $as_test_x conftest$ac_exeext; then
17093 ac_cv_lib_poll_poll=yes
17095 echo "$as_me: failed program was:" >&5
17096 sed 's/^/| /' conftest.$ac_ext >&5
17098 ac_cv_lib_poll_poll=no
17101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17102 conftest$ac_exeext conftest.$ac_ext
17103 LIBS=$ac_check_lib_save_LIBS
17105 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17106 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17107 if test $ac_cv_lib_poll_poll = yes; then
17108 cat >>confdefs.h <<\_ACEOF
17109 #define HAVE_POLL 1
17117 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17118 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17119 if test "${ac_cv_search_gethostbyname+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17122 ac_func_search_save_LIBS=$LIBS
17123 cat >conftest.$ac_ext <<_ACEOF
17126 cat confdefs.h >>conftest.$ac_ext
17127 cat >>conftest.$ac_ext <<_ACEOF
17128 /* end confdefs.h. */
17130 /* Override any GCC internal prototype to avoid an error.
17131 Use char because int might match the return type of a GCC
17132 builtin and then its argument prototype would still apply. */
17136 char gethostbyname ();
17140 return gethostbyname ();
17145 for ac_lib in '' nsl; do
17146 if test -z "$ac_lib"; then
17147 ac_res="none required"
17150 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17152 rm -f conftest.$ac_objext conftest$ac_exeext
17153 if { (ac_try="$ac_link"
17154 case "(($ac_try" in
17155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17156 *) ac_try_echo=$ac_try;;
17158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17159 (eval "$ac_link") 2>conftest.er1
17161 grep -v '^ *+' conftest.er1 >conftest.err
17163 cat conftest.err >&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } && {
17166 test -z "$ac_c_werror_flag" ||
17167 test ! -s conftest.err
17168 } && test -s conftest$ac_exeext &&
17169 $as_test_x conftest$ac_exeext; then
17170 ac_cv_search_gethostbyname=$ac_res
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.$ac_ext >&5
17178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17180 if test "${ac_cv_search_gethostbyname+set}" = set; then
17184 if test "${ac_cv_search_gethostbyname+set}" = set; then
17187 ac_cv_search_gethostbyname=no
17189 rm conftest.$ac_ext
17190 LIBS=$ac_func_search_save_LIBS
17192 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17193 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17194 ac_res=$ac_cv_search_gethostbyname
17195 if test "$ac_res" != no; then
17196 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17201 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17202 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17203 if test "${ac_cv_search_connect+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 ac_func_search_save_LIBS=$LIBS
17207 cat >conftest.$ac_ext <<_ACEOF
17210 cat confdefs.h >>conftest.$ac_ext
17211 cat >>conftest.$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17214 /* Override any GCC internal prototype to avoid an error.
17215 Use char because int might match the return type of a GCC
17216 builtin and then its argument prototype would still apply. */
17229 for ac_lib in '' socket; do
17230 if test -z "$ac_lib"; then
17231 ac_res="none required"
17234 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17236 rm -f conftest.$ac_objext conftest$ac_exeext
17237 if { (ac_try="$ac_link"
17238 case "(($ac_try" in
17239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17240 *) ac_try_echo=$ac_try;;
17242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17243 (eval "$ac_link") 2>conftest.er1
17245 grep -v '^ *+' conftest.er1 >conftest.err
17247 cat conftest.err >&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } && {
17250 test -z "$ac_c_werror_flag" ||
17251 test ! -s conftest.err
17252 } && test -s conftest$ac_exeext &&
17253 $as_test_x conftest$ac_exeext; then
17254 ac_cv_search_connect=$ac_res
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.$ac_ext >&5
17262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17264 if test "${ac_cv_search_connect+set}" = set; then
17268 if test "${ac_cv_search_connect+set}" = set; then
17271 ac_cv_search_connect=no
17273 rm conftest.$ac_ext
17274 LIBS=$ac_func_search_save_LIBS
17276 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17277 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17278 ac_res=$ac_cv_search_connect
17279 if test "$ac_res" != no; then
17280 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17285 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17286 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17287 if test "${ac_cv_search_inet_aton+set}" = set; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17290 ac_func_search_save_LIBS=$LIBS
17291 cat >conftest.$ac_ext <<_ACEOF
17294 cat confdefs.h >>conftest.$ac_ext
17295 cat >>conftest.$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17298 /* Override any GCC internal prototype to avoid an error.
17299 Use char because int might match the return type of a GCC
17300 builtin and then its argument prototype would still apply. */
17308 return inet_aton ();
17313 for ac_lib in '' resolv; do
17314 if test -z "$ac_lib"; then
17315 ac_res="none required"
17318 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17320 rm -f conftest.$ac_objext conftest$ac_exeext
17321 if { (ac_try="$ac_link"
17322 case "(($ac_try" in
17323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17324 *) ac_try_echo=$ac_try;;
17326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17327 (eval "$ac_link") 2>conftest.er1
17329 grep -v '^ *+' conftest.er1 >conftest.err
17331 cat conftest.err >&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); } && {
17334 test -z "$ac_c_werror_flag" ||
17335 test ! -s conftest.err
17336 } && test -s conftest$ac_exeext &&
17337 $as_test_x conftest$ac_exeext; then
17338 ac_cv_search_inet_aton=$ac_res
17340 echo "$as_me: failed program was:" >&5
17341 sed 's/^/| /' conftest.$ac_ext >&5
17346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17348 if test "${ac_cv_search_inet_aton+set}" = set; then
17352 if test "${ac_cv_search_inet_aton+set}" = set; then
17355 ac_cv_search_inet_aton=no
17357 rm conftest.$ac_ext
17358 LIBS=$ac_func_search_save_LIBS
17360 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17361 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17362 ac_res=$ac_cv_search_inet_aton
17363 if test "$ac_res" != no; then
17364 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17389 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17391 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17392 echo $ECHO_N "(cached) $ECHO_C" >&6
17394 cat >conftest.$ac_ext <<_ACEOF
17397 cat confdefs.h >>conftest.$ac_ext
17398 cat >>conftest.$ac_ext <<_ACEOF
17399 /* end confdefs.h. */
17400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17402 #define $ac_func innocuous_$ac_func
17404 /* System header to define __stub macros and hopefully few prototypes,
17405 which can conflict with char $ac_func (); below.
17406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17407 <limits.h> exists even on freestanding compilers. */
17410 # include <limits.h>
17412 # include <assert.h>
17417 /* Override any GCC internal prototype to avoid an error.
17418 Use char because int might match the return type of a GCC
17419 builtin and then its argument prototype would still apply. */
17424 /* The GNU C library defines this for functions which it implements
17425 to always fail with ENOSYS. Some functions are actually named
17426 something starting with __ and the normal name is an alias. */
17427 #if defined __stub_$ac_func || defined __stub___$ac_func
17434 return $ac_func ();
17439 rm -f conftest.$ac_objext conftest$ac_exeext
17440 if { (ac_try="$ac_link"
17441 case "(($ac_try" in
17442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17443 *) ac_try_echo=$ac_try;;
17445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17446 (eval "$ac_link") 2>conftest.er1
17448 grep -v '^ *+' conftest.er1 >conftest.err
17450 cat conftest.err >&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); } && {
17453 test -z "$ac_c_werror_flag" ||
17454 test ! -s conftest.err
17455 } && test -s conftest$ac_exeext &&
17456 $as_test_x conftest$ac_exeext; then
17457 eval "$as_ac_var=yes"
17459 echo "$as_me: failed program was:" >&5
17460 sed 's/^/| /' conftest.$ac_ext >&5
17462 eval "$as_ac_var=no"
17465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17466 conftest$ac_exeext conftest.$ac_ext
17468 ac_res=`eval echo '${'$as_ac_var'}'`
17469 { echo "$as_me:$LINENO: result: $ac_res" >&5
17470 echo "${ECHO_T}$ac_res" >&6; }
17471 if test `eval echo '${'$as_ac_var'}'` = yes; then
17472 cat >>confdefs.h <<_ACEOF
17473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17481 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17482 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17483 if test "${ac_cv_c_const+set}" = set; then
17484 echo $ECHO_N "(cached) $ECHO_C" >&6
17486 cat >conftest.$ac_ext <<_ACEOF
17489 cat confdefs.h >>conftest.$ac_ext
17490 cat >>conftest.$ac_ext <<_ACEOF
17491 /* end confdefs.h. */
17496 /* FIXME: Include the comments suggested by Paul. */
17497 #ifndef __cplusplus
17498 /* Ultrix mips cc rejects this. */
17499 typedef int charset[2];
17501 /* SunOS 4.1.1 cc rejects this. */
17502 char const *const *pcpcc;
17504 /* NEC SVR4.0.2 mips cc rejects this. */
17505 struct point {int x, y;};
17506 static struct point const zero = {0,0};
17507 /* AIX XL C 1.02.0.0 rejects this.
17508 It does not let you subtract one const X* pointer from another in
17509 an arm of an if-expression whose if-part is not a constant
17511 const char *g = "string";
17512 pcpcc = &g + (g ? g-g : 0);
17513 /* HPUX 7.0 cc rejects these. */
17515 ppc = (char**) pcpcc;
17516 pcpcc = (char const *const *) ppc;
17517 { /* SCO 3.2v4 cc rejects this. */
17519 char const *s = 0 ? (char *) 0 : (char const *) 0;
17524 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17525 int x[] = {25, 17};
17526 const int *foo = &x[0];
17529 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17530 typedef const int *iptr;
17534 { /* AIX XL C 1.02.0.0 rejects this saying
17535 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17536 struct s { int j; const int *ap[3]; };
17537 struct s *b; b->j = 5;
17539 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17540 const int foo = 10;
17541 if (!foo) return 0;
17543 return !cs[0] && !zero.x;
17550 rm -f conftest.$ac_objext
17551 if { (ac_try="$ac_compile"
17552 case "(($ac_try" in
17553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17554 *) ac_try_echo=$ac_try;;
17556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17557 (eval "$ac_compile") 2>conftest.er1
17559 grep -v '^ *+' conftest.er1 >conftest.err
17561 cat conftest.err >&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } && {
17564 test -z "$ac_c_werror_flag" ||
17565 test ! -s conftest.err
17566 } && test -s conftest.$ac_objext; then
17569 echo "$as_me: failed program was:" >&5
17570 sed 's/^/| /' conftest.$ac_ext >&5
17575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17577 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17578 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17579 if test $ac_cv_c_const = no; then
17581 cat >>confdefs.h <<\_ACEOF
17587 { echo "$as_me:$LINENO: checking for inline" >&5
17588 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17589 if test "${ac_cv_c_inline+set}" = set; then
17590 echo $ECHO_N "(cached) $ECHO_C" >&6
17593 for ac_kw in inline __inline__ __inline; do
17594 cat >conftest.$ac_ext <<_ACEOF
17597 cat confdefs.h >>conftest.$ac_ext
17598 cat >>conftest.$ac_ext <<_ACEOF
17599 /* end confdefs.h. */
17600 #ifndef __cplusplus
17602 static $ac_kw foo_t static_foo () {return 0; }
17603 $ac_kw foo_t foo () {return 0; }
17607 rm -f conftest.$ac_objext
17608 if { (ac_try="$ac_compile"
17609 case "(($ac_try" in
17610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17611 *) ac_try_echo=$ac_try;;
17613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17614 (eval "$ac_compile") 2>conftest.er1
17616 grep -v '^ *+' conftest.er1 >conftest.err
17618 cat conftest.err >&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } && {
17621 test -z "$ac_c_werror_flag" ||
17622 test ! -s conftest.err
17623 } && test -s conftest.$ac_objext; then
17624 ac_cv_c_inline=$ac_kw
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.$ac_ext >&5
17632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17633 test "$ac_cv_c_inline" != no && break
17637 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17638 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17641 case $ac_cv_c_inline in
17644 case $ac_cv_c_inline in
17646 *) ac_val=$ac_cv_c_inline;;
17648 cat >>confdefs.h <<_ACEOF
17649 #ifndef __cplusplus
17650 #define inline $ac_val
17656 { echo "$as_me:$LINENO: checking for mode_t" >&5
17657 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17658 if test "${ac_cv_type_mode_t+set}" = set; then
17659 echo $ECHO_N "(cached) $ECHO_C" >&6
17661 cat >conftest.$ac_ext <<_ACEOF
17664 cat confdefs.h >>conftest.$ac_ext
17665 cat >>conftest.$ac_ext <<_ACEOF
17666 /* end confdefs.h. */
17667 $ac_includes_default
17668 typedef mode_t ac__type_new_;
17672 if ((ac__type_new_ *) 0)
17674 if (sizeof (ac__type_new_))
17680 rm -f conftest.$ac_objext
17681 if { (ac_try="$ac_compile"
17682 case "(($ac_try" in
17683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17684 *) ac_try_echo=$ac_try;;
17686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17687 (eval "$ac_compile") 2>conftest.er1
17689 grep -v '^ *+' conftest.er1 >conftest.err
17691 cat conftest.err >&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); } && {
17694 test -z "$ac_c_werror_flag" ||
17695 test ! -s conftest.err
17696 } && test -s conftest.$ac_objext; then
17697 ac_cv_type_mode_t=yes
17699 echo "$as_me: failed program was:" >&5
17700 sed 's/^/| /' conftest.$ac_ext >&5
17702 ac_cv_type_mode_t=no
17705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17707 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17708 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17709 if test $ac_cv_type_mode_t = yes; then
17711 cat >>confdefs.h <<_ACEOF
17712 #define HAVE_MODE_T 1
17717 { echo "$as_me:$LINENO: checking for off_t" >&5
17718 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17719 if test "${ac_cv_type_off_t+set}" = set; then
17720 echo $ECHO_N "(cached) $ECHO_C" >&6
17722 cat >conftest.$ac_ext <<_ACEOF
17725 cat confdefs.h >>conftest.$ac_ext
17726 cat >>conftest.$ac_ext <<_ACEOF
17727 /* end confdefs.h. */
17728 $ac_includes_default
17729 typedef off_t ac__type_new_;
17733 if ((ac__type_new_ *) 0)
17735 if (sizeof (ac__type_new_))
17741 rm -f conftest.$ac_objext
17742 if { (ac_try="$ac_compile"
17743 case "(($ac_try" in
17744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17745 *) ac_try_echo=$ac_try;;
17747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17748 (eval "$ac_compile") 2>conftest.er1
17750 grep -v '^ *+' conftest.er1 >conftest.err
17752 cat conftest.err >&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); } && {
17755 test -z "$ac_c_werror_flag" ||
17756 test ! -s conftest.err
17757 } && test -s conftest.$ac_objext; then
17758 ac_cv_type_off_t=yes
17760 echo "$as_me: failed program was:" >&5
17761 sed 's/^/| /' conftest.$ac_ext >&5
17763 ac_cv_type_off_t=no
17766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17769 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17770 if test $ac_cv_type_off_t = yes; then
17772 cat >>confdefs.h <<_ACEOF
17773 #define HAVE_OFF_T 1
17778 { echo "$as_me:$LINENO: checking for pid_t" >&5
17779 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17780 if test "${ac_cv_type_pid_t+set}" = set; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17783 cat >conftest.$ac_ext <<_ACEOF
17786 cat confdefs.h >>conftest.$ac_ext
17787 cat >>conftest.$ac_ext <<_ACEOF
17788 /* end confdefs.h. */
17789 $ac_includes_default
17790 typedef pid_t ac__type_new_;
17794 if ((ac__type_new_ *) 0)
17796 if (sizeof (ac__type_new_))
17802 rm -f conftest.$ac_objext
17803 if { (ac_try="$ac_compile"
17804 case "(($ac_try" in
17805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17806 *) ac_try_echo=$ac_try;;
17808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17809 (eval "$ac_compile") 2>conftest.er1
17811 grep -v '^ *+' conftest.er1 >conftest.err
17813 cat conftest.err >&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } && {
17816 test -z "$ac_c_werror_flag" ||
17817 test ! -s conftest.err
17818 } && test -s conftest.$ac_objext; then
17819 ac_cv_type_pid_t=yes
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.$ac_ext >&5
17824 ac_cv_type_pid_t=no
17827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17829 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17830 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17831 if test $ac_cv_type_pid_t = yes; then
17833 cat >>confdefs.h <<_ACEOF
17834 #define HAVE_PID_T 1
17839 { echo "$as_me:$LINENO: checking for size_t" >&5
17840 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17841 if test "${ac_cv_type_size_t+set}" = set; then
17842 echo $ECHO_N "(cached) $ECHO_C" >&6
17844 cat >conftest.$ac_ext <<_ACEOF
17847 cat confdefs.h >>conftest.$ac_ext
17848 cat >>conftest.$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17850 $ac_includes_default
17851 typedef size_t ac__type_new_;
17855 if ((ac__type_new_ *) 0)
17857 if (sizeof (ac__type_new_))
17863 rm -f conftest.$ac_objext
17864 if { (ac_try="$ac_compile"
17865 case "(($ac_try" in
17866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17867 *) ac_try_echo=$ac_try;;
17869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17870 (eval "$ac_compile") 2>conftest.er1
17872 grep -v '^ *+' conftest.er1 >conftest.err
17874 cat conftest.err >&5
17875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876 (exit $ac_status); } && {
17877 test -z "$ac_c_werror_flag" ||
17878 test ! -s conftest.err
17879 } && test -s conftest.$ac_objext; then
17880 ac_cv_type_size_t=yes
17882 echo "$as_me: failed program was:" >&5
17883 sed 's/^/| /' conftest.$ac_ext >&5
17885 ac_cv_type_size_t=no
17888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17890 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17891 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17892 if test $ac_cv_type_size_t = yes; then
17894 cat >>confdefs.h <<_ACEOF
17895 #define HAVE_SIZE_T 1
17900 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17901 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17902 if test "${ac_cv_type_ssize_t+set}" = set; then
17903 echo $ECHO_N "(cached) $ECHO_C" >&6
17905 cat >conftest.$ac_ext <<_ACEOF
17908 cat confdefs.h >>conftest.$ac_ext
17909 cat >>conftest.$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 $ac_includes_default
17912 typedef ssize_t ac__type_new_;
17916 if ((ac__type_new_ *) 0)
17918 if (sizeof (ac__type_new_))
17924 rm -f conftest.$ac_objext
17925 if { (ac_try="$ac_compile"
17926 case "(($ac_try" in
17927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17928 *) ac_try_echo=$ac_try;;
17930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17931 (eval "$ac_compile") 2>conftest.er1
17933 grep -v '^ *+' conftest.er1 >conftest.err
17935 cat conftest.err >&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); } && {
17938 test -z "$ac_c_werror_flag" ||
17939 test ! -s conftest.err
17940 } && test -s conftest.$ac_objext; then
17941 ac_cv_type_ssize_t=yes
17943 echo "$as_me: failed program was:" >&5
17944 sed 's/^/| /' conftest.$ac_ext >&5
17946 ac_cv_type_ssize_t=no
17949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17951 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17952 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17953 if test $ac_cv_type_ssize_t = yes; then
17955 cat >>confdefs.h <<_ACEOF
17956 #define HAVE_SSIZE_T 1
17961 { echo "$as_me:$LINENO: checking for long long" >&5
17962 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17963 if test "${ac_cv_type_long_long+set}" = set; then
17964 echo $ECHO_N "(cached) $ECHO_C" >&6
17966 cat >conftest.$ac_ext <<_ACEOF
17969 cat confdefs.h >>conftest.$ac_ext
17970 cat >>conftest.$ac_ext <<_ACEOF
17971 /* end confdefs.h. */
17972 $ac_includes_default
17973 typedef long long ac__type_new_;
17977 if ((ac__type_new_ *) 0)
17979 if (sizeof (ac__type_new_))
17985 rm -f conftest.$ac_objext
17986 if { (ac_try="$ac_compile"
17987 case "(($ac_try" in
17988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17989 *) ac_try_echo=$ac_try;;
17991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17992 (eval "$ac_compile") 2>conftest.er1
17994 grep -v '^ *+' conftest.er1 >conftest.err
17996 cat conftest.err >&5
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); } && {
17999 test -z "$ac_c_werror_flag" ||
18000 test ! -s conftest.err
18001 } && test -s conftest.$ac_objext; then
18002 ac_cv_type_long_long=yes
18004 echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.$ac_ext >&5
18007 ac_cv_type_long_long=no
18010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18012 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18013 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18014 if test $ac_cv_type_long_long = yes; then
18016 cat >>confdefs.h <<_ACEOF
18017 #define HAVE_LONG_LONG 1
18022 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18023 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18024 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18025 echo $ECHO_N "(cached) $ECHO_C" >&6
18027 cat >conftest.$ac_ext <<_ACEOF
18030 cat confdefs.h >>conftest.$ac_ext
18031 cat >>conftest.$ac_ext <<_ACEOF
18032 /* end confdefs.h. */
18033 $ac_includes_default
18034 typedef fsblkcnt_t ac__type_new_;
18038 if ((ac__type_new_ *) 0)
18040 if (sizeof (ac__type_new_))
18046 rm -f conftest.$ac_objext
18047 if { (ac_try="$ac_compile"
18048 case "(($ac_try" in
18049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18050 *) ac_try_echo=$ac_try;;
18052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18053 (eval "$ac_compile") 2>conftest.er1
18055 grep -v '^ *+' conftest.er1 >conftest.err
18057 cat conftest.err >&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); } && {
18060 test -z "$ac_c_werror_flag" ||
18061 test ! -s conftest.err
18062 } && test -s conftest.$ac_objext; then
18063 ac_cv_type_fsblkcnt_t=yes
18065 echo "$as_me: failed program was:" >&5
18066 sed 's/^/| /' conftest.$ac_ext >&5
18068 ac_cv_type_fsblkcnt_t=no
18071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18073 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18074 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18075 if test $ac_cv_type_fsblkcnt_t = yes; then
18077 cat >>confdefs.h <<_ACEOF
18078 #define HAVE_FSBLKCNT_T 1
18083 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18084 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18085 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18086 echo $ECHO_N "(cached) $ECHO_C" >&6
18088 cat >conftest.$ac_ext <<_ACEOF
18091 cat confdefs.h >>conftest.$ac_ext
18092 cat >>conftest.$ac_ext <<_ACEOF
18093 /* end confdefs.h. */
18094 $ac_includes_default
18095 typedef fsfilcnt_t ac__type_new_;
18099 if ((ac__type_new_ *) 0)
18101 if (sizeof (ac__type_new_))
18107 rm -f conftest.$ac_objext
18108 if { (ac_try="$ac_compile"
18109 case "(($ac_try" in
18110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18111 *) ac_try_echo=$ac_try;;
18113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18114 (eval "$ac_compile") 2>conftest.er1
18116 grep -v '^ *+' conftest.er1 >conftest.err
18118 cat conftest.err >&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); } && {
18121 test -z "$ac_c_werror_flag" ||
18122 test ! -s conftest.err
18123 } && test -s conftest.$ac_objext; then
18124 ac_cv_type_fsfilcnt_t=yes
18126 echo "$as_me: failed program was:" >&5
18127 sed 's/^/| /' conftest.$ac_ext >&5
18129 ac_cv_type_fsfilcnt_t=no
18132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18134 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18135 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18136 if test $ac_cv_type_fsfilcnt_t = yes; then
18138 cat >>confdefs.h <<_ACEOF
18139 #define HAVE_FSFILCNT_T 1
18145 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18146 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18147 if test "${ac_cv_type_sigset_t+set}" = set; then
18148 echo $ECHO_N "(cached) $ECHO_C" >&6
18150 cat >conftest.$ac_ext <<_ACEOF
18153 cat confdefs.h >>conftest.$ac_ext
18154 cat >>conftest.$ac_ext <<_ACEOF
18155 /* end confdefs.h. */
18156 #include <signal.h>
18158 typedef sigset_t ac__type_new_;
18162 if ((ac__type_new_ *) 0)
18164 if (sizeof (ac__type_new_))
18170 rm -f conftest.$ac_objext
18171 if { (ac_try="$ac_compile"
18172 case "(($ac_try" in
18173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18174 *) ac_try_echo=$ac_try;;
18176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18177 (eval "$ac_compile") 2>conftest.er1
18179 grep -v '^ *+' conftest.er1 >conftest.err
18181 cat conftest.err >&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); } && {
18184 test -z "$ac_c_werror_flag" ||
18185 test ! -s conftest.err
18186 } && test -s conftest.$ac_objext; then
18187 ac_cv_type_sigset_t=yes
18189 echo "$as_me: failed program was:" >&5
18190 sed 's/^/| /' conftest.$ac_ext >&5
18192 ac_cv_type_sigset_t=no
18195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18197 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18198 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18199 if test $ac_cv_type_sigset_t = yes; then
18201 cat >>confdefs.h <<_ACEOF
18202 #define HAVE_SIGSET_T 1
18208 { echo "$as_me:$LINENO: checking for request_sense" >&5
18209 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18210 if test "${ac_cv_type_request_sense+set}" = set; then
18211 echo $ECHO_N "(cached) $ECHO_C" >&6
18213 cat >conftest.$ac_ext <<_ACEOF
18216 cat confdefs.h >>conftest.$ac_ext
18217 cat >>conftest.$ac_ext <<_ACEOF
18218 /* end confdefs.h. */
18219 #include <linux/cdrom.h>
18221 typedef request_sense ac__type_new_;
18225 if ((ac__type_new_ *) 0)
18227 if (sizeof (ac__type_new_))
18233 rm -f conftest.$ac_objext
18234 if { (ac_try="$ac_compile"
18235 case "(($ac_try" in
18236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18237 *) ac_try_echo=$ac_try;;
18239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18240 (eval "$ac_compile") 2>conftest.er1
18242 grep -v '^ *+' conftest.er1 >conftest.err
18244 cat conftest.err >&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } && {
18247 test -z "$ac_c_werror_flag" ||
18248 test ! -s conftest.err
18249 } && test -s conftest.$ac_objext; then
18250 ac_cv_type_request_sense=yes
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.$ac_ext >&5
18255 ac_cv_type_request_sense=no
18258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18260 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18261 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18262 if test $ac_cv_type_request_sense = yes; then
18264 cat >>confdefs.h <<_ACEOF
18265 #define HAVE_REQUEST_SENSE 1
18272 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18273 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18274 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18275 echo $ECHO_N "(cached) $ECHO_C" >&6
18277 cat >conftest.$ac_ext <<_ACEOF
18280 cat confdefs.h >>conftest.$ac_ext
18281 cat >>conftest.$ac_ext <<_ACEOF
18282 /* end confdefs.h. */
18283 #ifdef HAVE_LINUX_INPUT_H
18284 #include <linux/input.h>
18290 static struct ff_effect ac_aggr;
18291 if (ac_aggr.direction)
18297 rm -f conftest.$ac_objext
18298 if { (ac_try="$ac_compile"
18299 case "(($ac_try" in
18300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18301 *) ac_try_echo=$ac_try;;
18303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18304 (eval "$ac_compile") 2>conftest.er1
18306 grep -v '^ *+' conftest.er1 >conftest.err
18308 cat conftest.err >&5
18309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18310 (exit $ac_status); } && {
18311 test -z "$ac_c_werror_flag" ||
18312 test ! -s conftest.err
18313 } && test -s conftest.$ac_objext; then
18314 ac_cv_member_struct_ff_effect_direction=yes
18316 echo "$as_me: failed program was:" >&5
18317 sed 's/^/| /' conftest.$ac_ext >&5
18319 cat >conftest.$ac_ext <<_ACEOF
18322 cat confdefs.h >>conftest.$ac_ext
18323 cat >>conftest.$ac_ext <<_ACEOF
18324 /* end confdefs.h. */
18325 #ifdef HAVE_LINUX_INPUT_H
18326 #include <linux/input.h>
18332 static struct ff_effect ac_aggr;
18333 if (sizeof ac_aggr.direction)
18339 rm -f conftest.$ac_objext
18340 if { (ac_try="$ac_compile"
18341 case "(($ac_try" in
18342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18343 *) ac_try_echo=$ac_try;;
18345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18346 (eval "$ac_compile") 2>conftest.er1
18348 grep -v '^ *+' conftest.er1 >conftest.err
18350 cat conftest.err >&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); } && {
18353 test -z "$ac_c_werror_flag" ||
18354 test ! -s conftest.err
18355 } && test -s conftest.$ac_objext; then
18356 ac_cv_member_struct_ff_effect_direction=yes
18358 echo "$as_me: failed program was:" >&5
18359 sed 's/^/| /' conftest.$ac_ext >&5
18361 ac_cv_member_struct_ff_effect_direction=no
18364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18369 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18370 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18371 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18373 cat >>confdefs.h <<_ACEOF
18374 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18381 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18382 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18383 if test "${wine_cv_have_sigaddset+set}" = set; then
18384 echo $ECHO_N "(cached) $ECHO_C" >&6
18386 cat >conftest.$ac_ext <<_ACEOF
18389 cat confdefs.h >>conftest.$ac_ext
18390 cat >>conftest.$ac_ext <<_ACEOF
18391 /* end confdefs.h. */
18392 #include <signal.h>
18396 sigset_t set; sigaddset(&set,SIGTERM);
18401 rm -f conftest.$ac_objext conftest$ac_exeext
18402 if { (ac_try="$ac_link"
18403 case "(($ac_try" in
18404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18405 *) ac_try_echo=$ac_try;;
18407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18408 (eval "$ac_link") 2>conftest.er1
18410 grep -v '^ *+' conftest.er1 >conftest.err
18412 cat conftest.err >&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); } && {
18415 test -z "$ac_c_werror_flag" ||
18416 test ! -s conftest.err
18417 } && test -s conftest$ac_exeext &&
18418 $as_test_x conftest$ac_exeext; then
18419 wine_cv_have_sigaddset=yes
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.$ac_ext >&5
18424 wine_cv_have_sigaddset=no
18427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18428 conftest$ac_exeext conftest.$ac_ext
18430 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18431 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18432 if test "$wine_cv_have_sigaddset" = "yes"
18435 cat >>confdefs.h <<\_ACEOF
18436 #define HAVE_SIGADDSET 1
18442 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18443 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18444 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18445 echo $ECHO_N "(cached) $ECHO_C" >&6
18447 cat >conftest.$ac_ext <<_ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18460 struct hostent *result;
18467 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18468 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18474 rm -f conftest.$ac_objext conftest$ac_exeext
18475 if { (ac_try="$ac_link"
18476 case "(($ac_try" in
18477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18478 *) ac_try_echo=$ac_try;;
18480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18481 (eval "$ac_link") 2>conftest.er1
18483 grep -v '^ *+' conftest.er1 >conftest.err
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } && {
18488 test -z "$ac_c_werror_flag" ||
18489 test ! -s conftest.err
18490 } && test -s conftest$ac_exeext &&
18491 $as_test_x conftest$ac_exeext; then
18492 wine_cv_linux_gethostbyname_r_6=yes
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18497 wine_cv_linux_gethostbyname_r_6=no
18501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18502 conftest$ac_exeext conftest.$ac_ext
18505 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18506 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18507 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18510 cat >>confdefs.h <<\_ACEOF
18511 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18516 if test "$ac_cv_header_linux_joystick_h" = "yes"
18518 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18519 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18520 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18521 echo $ECHO_N "(cached) $ECHO_C" >&6
18523 cat >conftest.$ac_ext <<_ACEOF
18526 cat confdefs.h >>conftest.$ac_ext
18527 cat >>conftest.$ac_ext <<_ACEOF
18528 /* end confdefs.h. */
18530 #include <sys/ioctl.h>
18531 #include <sys/types.h>
18532 #include <linux/joystick.h>
18534 struct js_event blub;
18535 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18536 #error "no 2.2 header"
18547 rm -f conftest.$ac_objext
18548 if { (ac_try="$ac_compile"
18549 case "(($ac_try" in
18550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18551 *) ac_try_echo=$ac_try;;
18553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18554 (eval "$ac_compile") 2>conftest.er1
18556 grep -v '^ *+' conftest.er1 >conftest.err
18558 cat conftest.err >&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } && {
18561 test -z "$ac_c_werror_flag" ||
18562 test ! -s conftest.err
18563 } && test -s conftest.$ac_objext; then
18564 wine_cv_linux_joystick_22_api=yes
18566 echo "$as_me: failed program was:" >&5
18567 sed 's/^/| /' conftest.$ac_ext >&5
18569 wine_cv_linux_joystick_22_api=no
18572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18575 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18576 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18577 if test "$wine_cv_linux_joystick_22_api" = "yes"
18580 cat >>confdefs.h <<\_ACEOF
18581 #define HAVE_LINUX_22_JOYSTICK_API 1
18588 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18589 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18590 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18591 echo $ECHO_N "(cached) $ECHO_C" >&6
18593 cat >conftest.$ac_ext <<_ACEOF
18596 cat confdefs.h >>conftest.$ac_ext
18597 cat >>conftest.$ac_ext <<_ACEOF
18598 /* end confdefs.h. */
18599 #include <sys/types.h>
18600 #ifdef HAVE_SYS_PARAM_H
18601 # include <sys/param.h>
18603 #ifdef HAVE_SYS_MOUNT_H
18604 # include <sys/mount.h>
18606 #ifdef HAVE_SYS_VFS_H
18607 # include <sys/vfs.h>
18609 #ifdef HAVE_SYS_STATFS_H
18610 # include <sys/statfs.h>
18616 static struct statfs ac_aggr;
18617 if (ac_aggr.f_bfree)
18623 rm -f conftest.$ac_objext
18624 if { (ac_try="$ac_compile"
18625 case "(($ac_try" in
18626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18627 *) ac_try_echo=$ac_try;;
18629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18630 (eval "$ac_compile") 2>conftest.er1
18632 grep -v '^ *+' conftest.er1 >conftest.err
18634 cat conftest.err >&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } && {
18637 test -z "$ac_c_werror_flag" ||
18638 test ! -s conftest.err
18639 } && test -s conftest.$ac_objext; then
18640 ac_cv_member_struct_statfs_f_bfree=yes
18642 echo "$as_me: failed program was:" >&5
18643 sed 's/^/| /' conftest.$ac_ext >&5
18645 cat >conftest.$ac_ext <<_ACEOF
18648 cat confdefs.h >>conftest.$ac_ext
18649 cat >>conftest.$ac_ext <<_ACEOF
18650 /* end confdefs.h. */
18651 #include <sys/types.h>
18652 #ifdef HAVE_SYS_PARAM_H
18653 # include <sys/param.h>
18655 #ifdef HAVE_SYS_MOUNT_H
18656 # include <sys/mount.h>
18658 #ifdef HAVE_SYS_VFS_H
18659 # include <sys/vfs.h>
18661 #ifdef HAVE_SYS_STATFS_H
18662 # include <sys/statfs.h>
18668 static struct statfs ac_aggr;
18669 if (sizeof ac_aggr.f_bfree)
18675 rm -f conftest.$ac_objext
18676 if { (ac_try="$ac_compile"
18677 case "(($ac_try" in
18678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18679 *) ac_try_echo=$ac_try;;
18681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18682 (eval "$ac_compile") 2>conftest.er1
18684 grep -v '^ *+' conftest.er1 >conftest.err
18686 cat conftest.err >&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); } && {
18689 test -z "$ac_c_werror_flag" ||
18690 test ! -s conftest.err
18691 } && test -s conftest.$ac_objext; then
18692 ac_cv_member_struct_statfs_f_bfree=yes
18694 echo "$as_me: failed program was:" >&5
18695 sed 's/^/| /' conftest.$ac_ext >&5
18697 ac_cv_member_struct_statfs_f_bfree=no
18700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18705 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18706 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18707 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18709 cat >>confdefs.h <<_ACEOF
18710 #define HAVE_STRUCT_STATFS_F_BFREE 1
18715 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18716 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18717 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18720 cat >conftest.$ac_ext <<_ACEOF
18723 cat confdefs.h >>conftest.$ac_ext
18724 cat >>conftest.$ac_ext <<_ACEOF
18725 /* end confdefs.h. */
18726 #include <sys/types.h>
18727 #ifdef HAVE_SYS_PARAM_H
18728 # include <sys/param.h>
18730 #ifdef HAVE_SYS_MOUNT_H
18731 # include <sys/mount.h>
18733 #ifdef HAVE_SYS_VFS_H
18734 # include <sys/vfs.h>
18736 #ifdef HAVE_SYS_STATFS_H
18737 # include <sys/statfs.h>
18743 static struct statfs ac_aggr;
18744 if (ac_aggr.f_bavail)
18750 rm -f conftest.$ac_objext
18751 if { (ac_try="$ac_compile"
18752 case "(($ac_try" in
18753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18754 *) ac_try_echo=$ac_try;;
18756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18757 (eval "$ac_compile") 2>conftest.er1
18759 grep -v '^ *+' conftest.er1 >conftest.err
18761 cat conftest.err >&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } && {
18764 test -z "$ac_c_werror_flag" ||
18765 test ! -s conftest.err
18766 } && test -s conftest.$ac_objext; then
18767 ac_cv_member_struct_statfs_f_bavail=yes
18769 echo "$as_me: failed program was:" >&5
18770 sed 's/^/| /' conftest.$ac_ext >&5
18772 cat >conftest.$ac_ext <<_ACEOF
18775 cat confdefs.h >>conftest.$ac_ext
18776 cat >>conftest.$ac_ext <<_ACEOF
18777 /* end confdefs.h. */
18778 #include <sys/types.h>
18779 #ifdef HAVE_SYS_PARAM_H
18780 # include <sys/param.h>
18782 #ifdef HAVE_SYS_MOUNT_H
18783 # include <sys/mount.h>
18785 #ifdef HAVE_SYS_VFS_H
18786 # include <sys/vfs.h>
18788 #ifdef HAVE_SYS_STATFS_H
18789 # include <sys/statfs.h>
18795 static struct statfs ac_aggr;
18796 if (sizeof ac_aggr.f_bavail)
18802 rm -f conftest.$ac_objext
18803 if { (ac_try="$ac_compile"
18804 case "(($ac_try" in
18805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18806 *) ac_try_echo=$ac_try;;
18808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18809 (eval "$ac_compile") 2>conftest.er1
18811 grep -v '^ *+' conftest.er1 >conftest.err
18813 cat conftest.err >&5
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); } && {
18816 test -z "$ac_c_werror_flag" ||
18817 test ! -s conftest.err
18818 } && test -s conftest.$ac_objext; then
18819 ac_cv_member_struct_statfs_f_bavail=yes
18821 echo "$as_me: failed program was:" >&5
18822 sed 's/^/| /' conftest.$ac_ext >&5
18824 ac_cv_member_struct_statfs_f_bavail=no
18827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18832 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18833 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18834 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18836 cat >>confdefs.h <<_ACEOF
18837 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18842 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18843 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18844 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18845 echo $ECHO_N "(cached) $ECHO_C" >&6
18847 cat >conftest.$ac_ext <<_ACEOF
18850 cat confdefs.h >>conftest.$ac_ext
18851 cat >>conftest.$ac_ext <<_ACEOF
18852 /* end confdefs.h. */
18853 #include <sys/types.h>
18854 #ifdef HAVE_SYS_PARAM_H
18855 # include <sys/param.h>
18857 #ifdef HAVE_SYS_MOUNT_H
18858 # include <sys/mount.h>
18860 #ifdef HAVE_SYS_VFS_H
18861 # include <sys/vfs.h>
18863 #ifdef HAVE_SYS_STATFS_H
18864 # include <sys/statfs.h>
18870 static struct statfs ac_aggr;
18871 if (ac_aggr.f_frsize)
18877 rm -f conftest.$ac_objext
18878 if { (ac_try="$ac_compile"
18879 case "(($ac_try" in
18880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18881 *) ac_try_echo=$ac_try;;
18883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18884 (eval "$ac_compile") 2>conftest.er1
18886 grep -v '^ *+' conftest.er1 >conftest.err
18888 cat conftest.err >&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); } && {
18891 test -z "$ac_c_werror_flag" ||
18892 test ! -s conftest.err
18893 } && test -s conftest.$ac_objext; then
18894 ac_cv_member_struct_statfs_f_frsize=yes
18896 echo "$as_me: failed program was:" >&5
18897 sed 's/^/| /' conftest.$ac_ext >&5
18899 cat >conftest.$ac_ext <<_ACEOF
18902 cat confdefs.h >>conftest.$ac_ext
18903 cat >>conftest.$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18905 #include <sys/types.h>
18906 #ifdef HAVE_SYS_PARAM_H
18907 # include <sys/param.h>
18909 #ifdef HAVE_SYS_MOUNT_H
18910 # include <sys/mount.h>
18912 #ifdef HAVE_SYS_VFS_H
18913 # include <sys/vfs.h>
18915 #ifdef HAVE_SYS_STATFS_H
18916 # include <sys/statfs.h>
18922 static struct statfs ac_aggr;
18923 if (sizeof ac_aggr.f_frsize)
18929 rm -f conftest.$ac_objext
18930 if { (ac_try="$ac_compile"
18931 case "(($ac_try" in
18932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18933 *) ac_try_echo=$ac_try;;
18935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18936 (eval "$ac_compile") 2>conftest.er1
18938 grep -v '^ *+' conftest.er1 >conftest.err
18940 cat conftest.err >&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); } && {
18943 test -z "$ac_c_werror_flag" ||
18944 test ! -s conftest.err
18945 } && test -s conftest.$ac_objext; then
18946 ac_cv_member_struct_statfs_f_frsize=yes
18948 echo "$as_me: failed program was:" >&5
18949 sed 's/^/| /' conftest.$ac_ext >&5
18951 ac_cv_member_struct_statfs_f_frsize=no
18954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18959 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18960 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18961 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18963 cat >>confdefs.h <<_ACEOF
18964 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18969 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18970 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18971 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18972 echo $ECHO_N "(cached) $ECHO_C" >&6
18974 cat >conftest.$ac_ext <<_ACEOF
18977 cat confdefs.h >>conftest.$ac_ext
18978 cat >>conftest.$ac_ext <<_ACEOF
18979 /* end confdefs.h. */
18980 #include <sys/types.h>
18981 #ifdef HAVE_SYS_PARAM_H
18982 # include <sys/param.h>
18984 #ifdef HAVE_SYS_MOUNT_H
18985 # include <sys/mount.h>
18987 #ifdef HAVE_SYS_VFS_H
18988 # include <sys/vfs.h>
18990 #ifdef HAVE_SYS_STATFS_H
18991 # include <sys/statfs.h>
18997 static struct statfs ac_aggr;
18998 if (ac_aggr.f_ffree)
19004 rm -f conftest.$ac_objext
19005 if { (ac_try="$ac_compile"
19006 case "(($ac_try" in
19007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19008 *) ac_try_echo=$ac_try;;
19010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19011 (eval "$ac_compile") 2>conftest.er1
19013 grep -v '^ *+' conftest.er1 >conftest.err
19015 cat conftest.err >&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); } && {
19018 test -z "$ac_c_werror_flag" ||
19019 test ! -s conftest.err
19020 } && test -s conftest.$ac_objext; then
19021 ac_cv_member_struct_statfs_f_ffree=yes
19023 echo "$as_me: failed program was:" >&5
19024 sed 's/^/| /' conftest.$ac_ext >&5
19026 cat >conftest.$ac_ext <<_ACEOF
19029 cat confdefs.h >>conftest.$ac_ext
19030 cat >>conftest.$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 #include <sys/types.h>
19033 #ifdef HAVE_SYS_PARAM_H
19034 # include <sys/param.h>
19036 #ifdef HAVE_SYS_MOUNT_H
19037 # include <sys/mount.h>
19039 #ifdef HAVE_SYS_VFS_H
19040 # include <sys/vfs.h>
19042 #ifdef HAVE_SYS_STATFS_H
19043 # include <sys/statfs.h>
19049 static struct statfs ac_aggr;
19050 if (sizeof ac_aggr.f_ffree)
19056 rm -f conftest.$ac_objext
19057 if { (ac_try="$ac_compile"
19058 case "(($ac_try" in
19059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19060 *) ac_try_echo=$ac_try;;
19062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19063 (eval "$ac_compile") 2>conftest.er1
19065 grep -v '^ *+' conftest.er1 >conftest.err
19067 cat conftest.err >&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } && {
19070 test -z "$ac_c_werror_flag" ||
19071 test ! -s conftest.err
19072 } && test -s conftest.$ac_objext; then
19073 ac_cv_member_struct_statfs_f_ffree=yes
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19078 ac_cv_member_struct_statfs_f_ffree=no
19081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19086 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19087 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19088 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19090 cat >>confdefs.h <<_ACEOF
19091 #define HAVE_STRUCT_STATFS_F_FFREE 1
19096 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19097 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19098 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19099 echo $ECHO_N "(cached) $ECHO_C" >&6
19101 cat >conftest.$ac_ext <<_ACEOF
19104 cat confdefs.h >>conftest.$ac_ext
19105 cat >>conftest.$ac_ext <<_ACEOF
19106 /* end confdefs.h. */
19107 #include <sys/types.h>
19108 #ifdef HAVE_SYS_PARAM_H
19109 # include <sys/param.h>
19111 #ifdef HAVE_SYS_MOUNT_H
19112 # include <sys/mount.h>
19114 #ifdef HAVE_SYS_VFS_H
19115 # include <sys/vfs.h>
19117 #ifdef HAVE_SYS_STATFS_H
19118 # include <sys/statfs.h>
19124 static struct statfs ac_aggr;
19125 if (ac_aggr.f_favail)
19131 rm -f conftest.$ac_objext
19132 if { (ac_try="$ac_compile"
19133 case "(($ac_try" in
19134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19135 *) ac_try_echo=$ac_try;;
19137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19138 (eval "$ac_compile") 2>conftest.er1
19140 grep -v '^ *+' conftest.er1 >conftest.err
19142 cat conftest.err >&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } && {
19145 test -z "$ac_c_werror_flag" ||
19146 test ! -s conftest.err
19147 } && test -s conftest.$ac_objext; then
19148 ac_cv_member_struct_statfs_f_favail=yes
19150 echo "$as_me: failed program was:" >&5
19151 sed 's/^/| /' conftest.$ac_ext >&5
19153 cat >conftest.$ac_ext <<_ACEOF
19156 cat confdefs.h >>conftest.$ac_ext
19157 cat >>conftest.$ac_ext <<_ACEOF
19158 /* end confdefs.h. */
19159 #include <sys/types.h>
19160 #ifdef HAVE_SYS_PARAM_H
19161 # include <sys/param.h>
19163 #ifdef HAVE_SYS_MOUNT_H
19164 # include <sys/mount.h>
19166 #ifdef HAVE_SYS_VFS_H
19167 # include <sys/vfs.h>
19169 #ifdef HAVE_SYS_STATFS_H
19170 # include <sys/statfs.h>
19176 static struct statfs ac_aggr;
19177 if (sizeof ac_aggr.f_favail)
19183 rm -f conftest.$ac_objext
19184 if { (ac_try="$ac_compile"
19185 case "(($ac_try" in
19186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19187 *) ac_try_echo=$ac_try;;
19189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19190 (eval "$ac_compile") 2>conftest.er1
19192 grep -v '^ *+' conftest.er1 >conftest.err
19194 cat conftest.err >&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } && {
19197 test -z "$ac_c_werror_flag" ||
19198 test ! -s conftest.err
19199 } && test -s conftest.$ac_objext; then
19200 ac_cv_member_struct_statfs_f_favail=yes
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.$ac_ext >&5
19205 ac_cv_member_struct_statfs_f_favail=no
19208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19213 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19214 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19215 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19217 cat >>confdefs.h <<_ACEOF
19218 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19223 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19224 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19225 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19226 echo $ECHO_N "(cached) $ECHO_C" >&6
19228 cat >conftest.$ac_ext <<_ACEOF
19231 cat confdefs.h >>conftest.$ac_ext
19232 cat >>conftest.$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19234 #include <sys/types.h>
19235 #ifdef HAVE_SYS_PARAM_H
19236 # include <sys/param.h>
19238 #ifdef HAVE_SYS_MOUNT_H
19239 # include <sys/mount.h>
19241 #ifdef HAVE_SYS_VFS_H
19242 # include <sys/vfs.h>
19244 #ifdef HAVE_SYS_STATFS_H
19245 # include <sys/statfs.h>
19251 static struct statfs ac_aggr;
19252 if (ac_aggr.f_namelen)
19258 rm -f conftest.$ac_objext
19259 if { (ac_try="$ac_compile"
19260 case "(($ac_try" in
19261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19262 *) ac_try_echo=$ac_try;;
19264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19265 (eval "$ac_compile") 2>conftest.er1
19267 grep -v '^ *+' conftest.er1 >conftest.err
19269 cat conftest.err >&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } && {
19272 test -z "$ac_c_werror_flag" ||
19273 test ! -s conftest.err
19274 } && test -s conftest.$ac_objext; then
19275 ac_cv_member_struct_statfs_f_namelen=yes
19277 echo "$as_me: failed program was:" >&5
19278 sed 's/^/| /' conftest.$ac_ext >&5
19280 cat >conftest.$ac_ext <<_ACEOF
19283 cat confdefs.h >>conftest.$ac_ext
19284 cat >>conftest.$ac_ext <<_ACEOF
19285 /* end confdefs.h. */
19286 #include <sys/types.h>
19287 #ifdef HAVE_SYS_PARAM_H
19288 # include <sys/param.h>
19290 #ifdef HAVE_SYS_MOUNT_H
19291 # include <sys/mount.h>
19293 #ifdef HAVE_SYS_VFS_H
19294 # include <sys/vfs.h>
19296 #ifdef HAVE_SYS_STATFS_H
19297 # include <sys/statfs.h>
19303 static struct statfs ac_aggr;
19304 if (sizeof ac_aggr.f_namelen)
19310 rm -f conftest.$ac_objext
19311 if { (ac_try="$ac_compile"
19312 case "(($ac_try" in
19313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19314 *) ac_try_echo=$ac_try;;
19316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19317 (eval "$ac_compile") 2>conftest.er1
19319 grep -v '^ *+' conftest.er1 >conftest.err
19321 cat conftest.err >&5
19322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19323 (exit $ac_status); } && {
19324 test -z "$ac_c_werror_flag" ||
19325 test ! -s conftest.err
19326 } && test -s conftest.$ac_objext; then
19327 ac_cv_member_struct_statfs_f_namelen=yes
19329 echo "$as_me: failed program was:" >&5
19330 sed 's/^/| /' conftest.$ac_ext >&5
19332 ac_cv_member_struct_statfs_f_namelen=no
19335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19340 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19341 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19342 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19344 cat >>confdefs.h <<_ACEOF
19345 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19352 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19353 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19354 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19355 echo $ECHO_N "(cached) $ECHO_C" >&6
19357 cat >conftest.$ac_ext <<_ACEOF
19360 cat confdefs.h >>conftest.$ac_ext
19361 cat >>conftest.$ac_ext <<_ACEOF
19362 /* end confdefs.h. */
19363 #ifdef HAVE_SYS_STATVFS_H
19364 #include <sys/statvfs.h>
19370 static struct statvfs ac_aggr;
19371 if (ac_aggr.f_blocks)
19377 rm -f conftest.$ac_objext
19378 if { (ac_try="$ac_compile"
19379 case "(($ac_try" in
19380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19381 *) ac_try_echo=$ac_try;;
19383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19384 (eval "$ac_compile") 2>conftest.er1
19386 grep -v '^ *+' conftest.er1 >conftest.err
19388 cat conftest.err >&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); } && {
19391 test -z "$ac_c_werror_flag" ||
19392 test ! -s conftest.err
19393 } && test -s conftest.$ac_objext; then
19394 ac_cv_member_struct_statvfs_f_blocks=yes
19396 echo "$as_me: failed program was:" >&5
19397 sed 's/^/| /' conftest.$ac_ext >&5
19399 cat >conftest.$ac_ext <<_ACEOF
19402 cat confdefs.h >>conftest.$ac_ext
19403 cat >>conftest.$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19405 #ifdef HAVE_SYS_STATVFS_H
19406 #include <sys/statvfs.h>
19412 static struct statvfs ac_aggr;
19413 if (sizeof ac_aggr.f_blocks)
19419 rm -f conftest.$ac_objext
19420 if { (ac_try="$ac_compile"
19421 case "(($ac_try" in
19422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19423 *) ac_try_echo=$ac_try;;
19425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19426 (eval "$ac_compile") 2>conftest.er1
19428 grep -v '^ *+' conftest.er1 >conftest.err
19430 cat conftest.err >&5
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); } && {
19433 test -z "$ac_c_werror_flag" ||
19434 test ! -s conftest.err
19435 } && test -s conftest.$ac_objext; then
19436 ac_cv_member_struct_statvfs_f_blocks=yes
19438 echo "$as_me: failed program was:" >&5
19439 sed 's/^/| /' conftest.$ac_ext >&5
19441 ac_cv_member_struct_statvfs_f_blocks=no
19444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19449 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19450 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19451 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19453 cat >>confdefs.h <<_ACEOF
19454 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19461 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19462 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19463 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19464 echo $ECHO_N "(cached) $ECHO_C" >&6
19466 cat >conftest.$ac_ext <<_ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472 #include <sys/types.h>
19473 #ifdef HAVE_SYS_SOCKET_H
19474 # include <sys/socket.h>
19476 #ifdef HAVE_SYS_UN_H
19477 # include <sys/un.h>
19483 static struct msghdr ac_aggr;
19484 if (ac_aggr.msg_accrights)
19490 rm -f conftest.$ac_objext
19491 if { (ac_try="$ac_compile"
19492 case "(($ac_try" in
19493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19494 *) ac_try_echo=$ac_try;;
19496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19497 (eval "$ac_compile") 2>conftest.er1
19499 grep -v '^ *+' conftest.er1 >conftest.err
19501 cat conftest.err >&5
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); } && {
19504 test -z "$ac_c_werror_flag" ||
19505 test ! -s conftest.err
19506 } && test -s conftest.$ac_objext; then
19507 ac_cv_member_struct_msghdr_msg_accrights=yes
19509 echo "$as_me: failed program was:" >&5
19510 sed 's/^/| /' conftest.$ac_ext >&5
19512 cat >conftest.$ac_ext <<_ACEOF
19515 cat confdefs.h >>conftest.$ac_ext
19516 cat >>conftest.$ac_ext <<_ACEOF
19517 /* end confdefs.h. */
19518 #include <sys/types.h>
19519 #ifdef HAVE_SYS_SOCKET_H
19520 # include <sys/socket.h>
19522 #ifdef HAVE_SYS_UN_H
19523 # include <sys/un.h>
19529 static struct msghdr ac_aggr;
19530 if (sizeof ac_aggr.msg_accrights)
19536 rm -f conftest.$ac_objext
19537 if { (ac_try="$ac_compile"
19538 case "(($ac_try" in
19539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19540 *) ac_try_echo=$ac_try;;
19542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19543 (eval "$ac_compile") 2>conftest.er1
19545 grep -v '^ *+' conftest.er1 >conftest.err
19547 cat conftest.err >&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); } && {
19550 test -z "$ac_c_werror_flag" ||
19551 test ! -s conftest.err
19552 } && test -s conftest.$ac_objext; then
19553 ac_cv_member_struct_msghdr_msg_accrights=yes
19555 echo "$as_me: failed program was:" >&5
19556 sed 's/^/| /' conftest.$ac_ext >&5
19558 ac_cv_member_struct_msghdr_msg_accrights=no
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19566 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19567 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19568 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19570 cat >>confdefs.h <<_ACEOF
19571 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19576 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19577 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19578 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19579 echo $ECHO_N "(cached) $ECHO_C" >&6
19581 cat >conftest.$ac_ext <<_ACEOF
19584 cat confdefs.h >>conftest.$ac_ext
19585 cat >>conftest.$ac_ext <<_ACEOF
19586 /* end confdefs.h. */
19587 #include <sys/types.h>
19588 #ifdef HAVE_SYS_SOCKET_H
19589 # include <sys/socket.h>
19591 #ifdef HAVE_SYS_UN_H
19592 # include <sys/un.h>
19598 static struct sockaddr ac_aggr;
19599 if (ac_aggr.sa_len)
19605 rm -f conftest.$ac_objext
19606 if { (ac_try="$ac_compile"
19607 case "(($ac_try" in
19608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19609 *) ac_try_echo=$ac_try;;
19611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19612 (eval "$ac_compile") 2>conftest.er1
19614 grep -v '^ *+' conftest.er1 >conftest.err
19616 cat conftest.err >&5
19617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19618 (exit $ac_status); } && {
19619 test -z "$ac_c_werror_flag" ||
19620 test ! -s conftest.err
19621 } && test -s conftest.$ac_objext; then
19622 ac_cv_member_struct_sockaddr_sa_len=yes
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19627 cat >conftest.$ac_ext <<_ACEOF
19630 cat confdefs.h >>conftest.$ac_ext
19631 cat >>conftest.$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19633 #include <sys/types.h>
19634 #ifdef HAVE_SYS_SOCKET_H
19635 # include <sys/socket.h>
19637 #ifdef HAVE_SYS_UN_H
19638 # include <sys/un.h>
19644 static struct sockaddr ac_aggr;
19645 if (sizeof ac_aggr.sa_len)
19651 rm -f conftest.$ac_objext
19652 if { (ac_try="$ac_compile"
19653 case "(($ac_try" in
19654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19655 *) ac_try_echo=$ac_try;;
19657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19658 (eval "$ac_compile") 2>conftest.er1
19660 grep -v '^ *+' conftest.er1 >conftest.err
19662 cat conftest.err >&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); } && {
19665 test -z "$ac_c_werror_flag" ||
19666 test ! -s conftest.err
19667 } && test -s conftest.$ac_objext; then
19668 ac_cv_member_struct_sockaddr_sa_len=yes
19670 echo "$as_me: failed program was:" >&5
19671 sed 's/^/| /' conftest.$ac_ext >&5
19673 ac_cv_member_struct_sockaddr_sa_len=no
19676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19681 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19682 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19683 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19685 cat >>confdefs.h <<_ACEOF
19686 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19691 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19692 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19693 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19694 echo $ECHO_N "(cached) $ECHO_C" >&6
19696 cat >conftest.$ac_ext <<_ACEOF
19699 cat confdefs.h >>conftest.$ac_ext
19700 cat >>conftest.$ac_ext <<_ACEOF
19701 /* end confdefs.h. */
19702 #include <sys/types.h>
19703 #ifdef HAVE_SYS_SOCKET_H
19704 # include <sys/socket.h>
19706 #ifdef HAVE_SYS_UN_H
19707 # include <sys/un.h>
19713 static struct sockaddr_un ac_aggr;
19714 if (ac_aggr.sun_len)
19720 rm -f conftest.$ac_objext
19721 if { (ac_try="$ac_compile"
19722 case "(($ac_try" in
19723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19724 *) ac_try_echo=$ac_try;;
19726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19727 (eval "$ac_compile") 2>conftest.er1
19729 grep -v '^ *+' conftest.er1 >conftest.err
19731 cat conftest.err >&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } && {
19734 test -z "$ac_c_werror_flag" ||
19735 test ! -s conftest.err
19736 } && test -s conftest.$ac_objext; then
19737 ac_cv_member_struct_sockaddr_un_sun_len=yes
19739 echo "$as_me: failed program was:" >&5
19740 sed 's/^/| /' conftest.$ac_ext >&5
19742 cat >conftest.$ac_ext <<_ACEOF
19745 cat confdefs.h >>conftest.$ac_ext
19746 cat >>conftest.$ac_ext <<_ACEOF
19747 /* end confdefs.h. */
19748 #include <sys/types.h>
19749 #ifdef HAVE_SYS_SOCKET_H
19750 # include <sys/socket.h>
19752 #ifdef HAVE_SYS_UN_H
19753 # include <sys/un.h>
19759 static struct sockaddr_un ac_aggr;
19760 if (sizeof ac_aggr.sun_len)
19766 rm -f conftest.$ac_objext
19767 if { (ac_try="$ac_compile"
19768 case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_compile") 2>conftest.er1
19775 grep -v '^ *+' conftest.er1 >conftest.err
19777 cat conftest.err >&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } && {
19780 test -z "$ac_c_werror_flag" ||
19781 test ! -s conftest.err
19782 } && test -s conftest.$ac_objext; then
19783 ac_cv_member_struct_sockaddr_un_sun_len=yes
19785 echo "$as_me: failed program was:" >&5
19786 sed 's/^/| /' conftest.$ac_ext >&5
19788 ac_cv_member_struct_sockaddr_un_sun_len=no
19791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19796 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19797 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19798 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19800 cat >>confdefs.h <<_ACEOF
19801 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19808 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19809 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19810 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19811 echo $ECHO_N "(cached) $ECHO_C" >&6
19813 cat >conftest.$ac_ext <<_ACEOF
19816 cat confdefs.h >>conftest.$ac_ext
19817 cat >>conftest.$ac_ext <<_ACEOF
19818 /* end confdefs.h. */
19819 #include <sys/types.h>
19820 #ifdef HAVE_SCSI_SG_H
19821 #include <scsi/sg.h>
19827 static scsireq_t ac_aggr;
19834 rm -f conftest.$ac_objext
19835 if { (ac_try="$ac_compile"
19836 case "(($ac_try" in
19837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19838 *) ac_try_echo=$ac_try;;
19840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19841 (eval "$ac_compile") 2>conftest.er1
19843 grep -v '^ *+' conftest.er1 >conftest.err
19845 cat conftest.err >&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } && {
19848 test -z "$ac_c_werror_flag" ||
19849 test ! -s conftest.err
19850 } && test -s conftest.$ac_objext; then
19851 ac_cv_member_scsireq_t_cmd=yes
19853 echo "$as_me: failed program was:" >&5
19854 sed 's/^/| /' conftest.$ac_ext >&5
19856 cat >conftest.$ac_ext <<_ACEOF
19859 cat confdefs.h >>conftest.$ac_ext
19860 cat >>conftest.$ac_ext <<_ACEOF
19861 /* end confdefs.h. */
19862 #include <sys/types.h>
19863 #ifdef HAVE_SCSI_SG_H
19864 #include <scsi/sg.h>
19870 static scsireq_t ac_aggr;
19871 if (sizeof ac_aggr.cmd)
19877 rm -f conftest.$ac_objext
19878 if { (ac_try="$ac_compile"
19879 case "(($ac_try" in
19880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19881 *) ac_try_echo=$ac_try;;
19883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19884 (eval "$ac_compile") 2>conftest.er1
19886 grep -v '^ *+' conftest.er1 >conftest.err
19888 cat conftest.err >&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); } && {
19891 test -z "$ac_c_werror_flag" ||
19892 test ! -s conftest.err
19893 } && test -s conftest.$ac_objext; then
19894 ac_cv_member_scsireq_t_cmd=yes
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.$ac_ext >&5
19899 ac_cv_member_scsireq_t_cmd=no
19902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19907 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19908 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19909 if test $ac_cv_member_scsireq_t_cmd = yes; then
19911 cat >>confdefs.h <<_ACEOF
19912 #define HAVE_SCSIREQ_T_CMD 1
19917 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19918 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19919 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19920 echo $ECHO_N "(cached) $ECHO_C" >&6
19922 cat >conftest.$ac_ext <<_ACEOF
19925 cat confdefs.h >>conftest.$ac_ext
19926 cat >>conftest.$ac_ext <<_ACEOF
19927 /* end confdefs.h. */
19928 #include <sys/types.h>
19929 #ifdef HAVE_SCSI_SG_H
19930 #include <scsi/sg.h>
19936 static sg_io_hdr_t ac_aggr;
19937 if (ac_aggr.interface_id)
19943 rm -f conftest.$ac_objext
19944 if { (ac_try="$ac_compile"
19945 case "(($ac_try" in
19946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19947 *) ac_try_echo=$ac_try;;
19949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19950 (eval "$ac_compile") 2>conftest.er1
19952 grep -v '^ *+' conftest.er1 >conftest.err
19954 cat conftest.err >&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } && {
19957 test -z "$ac_c_werror_flag" ||
19958 test ! -s conftest.err
19959 } && test -s conftest.$ac_objext; then
19960 ac_cv_member_sg_io_hdr_t_interface_id=yes
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.$ac_ext >&5
19965 cat >conftest.$ac_ext <<_ACEOF
19968 cat confdefs.h >>conftest.$ac_ext
19969 cat >>conftest.$ac_ext <<_ACEOF
19970 /* end confdefs.h. */
19971 #include <sys/types.h>
19972 #ifdef HAVE_SCSI_SG_H
19973 #include <scsi/sg.h>
19979 static sg_io_hdr_t ac_aggr;
19980 if (sizeof ac_aggr.interface_id)
19986 rm -f conftest.$ac_objext
19987 if { (ac_try="$ac_compile"
19988 case "(($ac_try" in
19989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19990 *) ac_try_echo=$ac_try;;
19992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19993 (eval "$ac_compile") 2>conftest.er1
19995 grep -v '^ *+' conftest.er1 >conftest.err
19997 cat conftest.err >&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); } && {
20000 test -z "$ac_c_werror_flag" ||
20001 test ! -s conftest.err
20002 } && test -s conftest.$ac_objext; then
20003 ac_cv_member_sg_io_hdr_t_interface_id=yes
20005 echo "$as_me: failed program was:" >&5
20006 sed 's/^/| /' conftest.$ac_ext >&5
20008 ac_cv_member_sg_io_hdr_t_interface_id=no
20011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20016 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20017 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20018 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20020 cat >>confdefs.h <<_ACEOF
20021 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20028 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20029 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20030 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20031 echo $ECHO_N "(cached) $ECHO_C" >&6
20033 cat >conftest.$ac_ext <<_ACEOF
20036 cat confdefs.h >>conftest.$ac_ext
20037 cat >>conftest.$ac_ext <<_ACEOF
20038 /* end confdefs.h. */
20039 #include <signal.h>
20044 static siginfo_t ac_aggr;
20051 rm -f conftest.$ac_objext
20052 if { (ac_try="$ac_compile"
20053 case "(($ac_try" in
20054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20055 *) ac_try_echo=$ac_try;;
20057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20058 (eval "$ac_compile") 2>conftest.er1
20060 grep -v '^ *+' conftest.er1 >conftest.err
20062 cat conftest.err >&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); } && {
20065 test -z "$ac_c_werror_flag" ||
20066 test ! -s conftest.err
20067 } && test -s conftest.$ac_objext; then
20068 ac_cv_member_siginfo_t_si_fd=yes
20070 echo "$as_me: failed program was:" >&5
20071 sed 's/^/| /' conftest.$ac_ext >&5
20073 cat >conftest.$ac_ext <<_ACEOF
20076 cat confdefs.h >>conftest.$ac_ext
20077 cat >>conftest.$ac_ext <<_ACEOF
20078 /* end confdefs.h. */
20079 #include <signal.h>
20084 static siginfo_t ac_aggr;
20085 if (sizeof ac_aggr.si_fd)
20091 rm -f conftest.$ac_objext
20092 if { (ac_try="$ac_compile"
20093 case "(($ac_try" in
20094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20095 *) ac_try_echo=$ac_try;;
20097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20098 (eval "$ac_compile") 2>conftest.er1
20100 grep -v '^ *+' conftest.er1 >conftest.err
20102 cat conftest.err >&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } && {
20105 test -z "$ac_c_werror_flag" ||
20106 test ! -s conftest.err
20107 } && test -s conftest.$ac_objext; then
20108 ac_cv_member_siginfo_t_si_fd=yes
20110 echo "$as_me: failed program was:" >&5
20111 sed 's/^/| /' conftest.$ac_ext >&5
20113 ac_cv_member_siginfo_t_si_fd=no
20116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20121 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20122 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20123 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20125 cat >>confdefs.h <<_ACEOF
20126 #define HAVE_SIGINFO_T_SI_FD 1
20133 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20134 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20135 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20136 echo $ECHO_N "(cached) $ECHO_C" >&6
20138 cat >conftest.$ac_ext <<_ACEOF
20141 cat confdefs.h >>conftest.$ac_ext
20142 cat >>conftest.$ac_ext <<_ACEOF
20143 /* end confdefs.h. */
20144 #include <sys/types.h>
20145 #ifdef HAVE_SYS_MTIO_H
20146 #include <sys/mtio.h>
20152 static struct mtget ac_aggr;
20153 if (ac_aggr.mt_blksiz)
20159 rm -f conftest.$ac_objext
20160 if { (ac_try="$ac_compile"
20161 case "(($ac_try" in
20162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20163 *) ac_try_echo=$ac_try;;
20165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20166 (eval "$ac_compile") 2>conftest.er1
20168 grep -v '^ *+' conftest.er1 >conftest.err
20170 cat conftest.err >&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); } && {
20173 test -z "$ac_c_werror_flag" ||
20174 test ! -s conftest.err
20175 } && test -s conftest.$ac_objext; then
20176 ac_cv_member_struct_mtget_mt_blksiz=yes
20178 echo "$as_me: failed program was:" >&5
20179 sed 's/^/| /' conftest.$ac_ext >&5
20181 cat >conftest.$ac_ext <<_ACEOF
20184 cat confdefs.h >>conftest.$ac_ext
20185 cat >>conftest.$ac_ext <<_ACEOF
20186 /* end confdefs.h. */
20187 #include <sys/types.h>
20188 #ifdef HAVE_SYS_MTIO_H
20189 #include <sys/mtio.h>
20195 static struct mtget ac_aggr;
20196 if (sizeof ac_aggr.mt_blksiz)
20202 rm -f conftest.$ac_objext
20203 if { (ac_try="$ac_compile"
20204 case "(($ac_try" in
20205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20206 *) ac_try_echo=$ac_try;;
20208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20209 (eval "$ac_compile") 2>conftest.er1
20211 grep -v '^ *+' conftest.er1 >conftest.err
20213 cat conftest.err >&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); } && {
20216 test -z "$ac_c_werror_flag" ||
20217 test ! -s conftest.err
20218 } && test -s conftest.$ac_objext; then
20219 ac_cv_member_struct_mtget_mt_blksiz=yes
20221 echo "$as_me: failed program was:" >&5
20222 sed 's/^/| /' conftest.$ac_ext >&5
20224 ac_cv_member_struct_mtget_mt_blksiz=no
20227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20232 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20233 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20234 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20236 cat >>confdefs.h <<_ACEOF
20237 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20242 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20243 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20244 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20245 echo $ECHO_N "(cached) $ECHO_C" >&6
20247 cat >conftest.$ac_ext <<_ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 #include <sys/types.h>
20254 #ifdef HAVE_SYS_MTIO_H
20255 #include <sys/mtio.h>
20261 static struct mtget ac_aggr;
20262 if (ac_aggr.mt_gstat)
20268 rm -f conftest.$ac_objext
20269 if { (ac_try="$ac_compile"
20270 case "(($ac_try" in
20271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20272 *) ac_try_echo=$ac_try;;
20274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20275 (eval "$ac_compile") 2>conftest.er1
20277 grep -v '^ *+' conftest.er1 >conftest.err
20279 cat conftest.err >&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); } && {
20282 test -z "$ac_c_werror_flag" ||
20283 test ! -s conftest.err
20284 } && test -s conftest.$ac_objext; then
20285 ac_cv_member_struct_mtget_mt_gstat=yes
20287 echo "$as_me: failed program was:" >&5
20288 sed 's/^/| /' conftest.$ac_ext >&5
20290 cat >conftest.$ac_ext <<_ACEOF
20293 cat confdefs.h >>conftest.$ac_ext
20294 cat >>conftest.$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20296 #include <sys/types.h>
20297 #ifdef HAVE_SYS_MTIO_H
20298 #include <sys/mtio.h>
20304 static struct mtget ac_aggr;
20305 if (sizeof ac_aggr.mt_gstat)
20311 rm -f conftest.$ac_objext
20312 if { (ac_try="$ac_compile"
20313 case "(($ac_try" in
20314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20315 *) ac_try_echo=$ac_try;;
20317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20318 (eval "$ac_compile") 2>conftest.er1
20320 grep -v '^ *+' conftest.er1 >conftest.err
20322 cat conftest.err >&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); } && {
20325 test -z "$ac_c_werror_flag" ||
20326 test ! -s conftest.err
20327 } && test -s conftest.$ac_objext; then
20328 ac_cv_member_struct_mtget_mt_gstat=yes
20330 echo "$as_me: failed program was:" >&5
20331 sed 's/^/| /' conftest.$ac_ext >&5
20333 ac_cv_member_struct_mtget_mt_gstat=no
20336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20341 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20342 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20343 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20345 cat >>confdefs.h <<_ACEOF
20346 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20351 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20352 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20353 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20354 echo $ECHO_N "(cached) $ECHO_C" >&6
20356 cat >conftest.$ac_ext <<_ACEOF
20359 cat confdefs.h >>conftest.$ac_ext
20360 cat >>conftest.$ac_ext <<_ACEOF
20361 /* end confdefs.h. */
20362 #include <sys/types.h>
20363 #ifdef HAVE_SYS_MTIO_H
20364 #include <sys/mtio.h>
20370 static struct mtget ac_aggr;
20371 if (ac_aggr.mt_blkno)
20377 rm -f conftest.$ac_objext
20378 if { (ac_try="$ac_compile"
20379 case "(($ac_try" in
20380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20381 *) ac_try_echo=$ac_try;;
20383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20384 (eval "$ac_compile") 2>conftest.er1
20386 grep -v '^ *+' conftest.er1 >conftest.err
20388 cat conftest.err >&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); } && {
20391 test -z "$ac_c_werror_flag" ||
20392 test ! -s conftest.err
20393 } && test -s conftest.$ac_objext; then
20394 ac_cv_member_struct_mtget_mt_blkno=yes
20396 echo "$as_me: failed program was:" >&5
20397 sed 's/^/| /' conftest.$ac_ext >&5
20399 cat >conftest.$ac_ext <<_ACEOF
20402 cat confdefs.h >>conftest.$ac_ext
20403 cat >>conftest.$ac_ext <<_ACEOF
20404 /* end confdefs.h. */
20405 #include <sys/types.h>
20406 #ifdef HAVE_SYS_MTIO_H
20407 #include <sys/mtio.h>
20413 static struct mtget ac_aggr;
20414 if (sizeof ac_aggr.mt_blkno)
20420 rm -f conftest.$ac_objext
20421 if { (ac_try="$ac_compile"
20422 case "(($ac_try" in
20423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20424 *) ac_try_echo=$ac_try;;
20426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20427 (eval "$ac_compile") 2>conftest.er1
20429 grep -v '^ *+' conftest.er1 >conftest.err
20431 cat conftest.err >&5
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); } && {
20434 test -z "$ac_c_werror_flag" ||
20435 test ! -s conftest.err
20436 } && test -s conftest.$ac_objext; then
20437 ac_cv_member_struct_mtget_mt_blkno=yes
20439 echo "$as_me: failed program was:" >&5
20440 sed 's/^/| /' conftest.$ac_ext >&5
20442 ac_cv_member_struct_mtget_mt_blkno=no
20445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20450 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20451 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20452 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20454 cat >>confdefs.h <<_ACEOF
20455 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20462 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20463 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20464 if test "${ac_cv_member_struct_option_name+set}" = set; then
20465 echo $ECHO_N "(cached) $ECHO_C" >&6
20467 cat >conftest.$ac_ext <<_ACEOF
20470 cat confdefs.h >>conftest.$ac_ext
20471 cat >>conftest.$ac_ext <<_ACEOF
20472 /* end confdefs.h. */
20473 #ifdef HAVE_GETOPT_H
20474 #include <getopt.h>
20480 static struct option ac_aggr;
20487 rm -f conftest.$ac_objext
20488 if { (ac_try="$ac_compile"
20489 case "(($ac_try" in
20490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20491 *) ac_try_echo=$ac_try;;
20493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20494 (eval "$ac_compile") 2>conftest.er1
20496 grep -v '^ *+' conftest.er1 >conftest.err
20498 cat conftest.err >&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); } && {
20501 test -z "$ac_c_werror_flag" ||
20502 test ! -s conftest.err
20503 } && test -s conftest.$ac_objext; then
20504 ac_cv_member_struct_option_name=yes
20506 echo "$as_me: failed program was:" >&5
20507 sed 's/^/| /' conftest.$ac_ext >&5
20509 cat >conftest.$ac_ext <<_ACEOF
20512 cat confdefs.h >>conftest.$ac_ext
20513 cat >>conftest.$ac_ext <<_ACEOF
20514 /* end confdefs.h. */
20515 #ifdef HAVE_GETOPT_H
20516 #include <getopt.h>
20522 static struct option ac_aggr;
20523 if (sizeof ac_aggr.name)
20529 rm -f conftest.$ac_objext
20530 if { (ac_try="$ac_compile"
20531 case "(($ac_try" in
20532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20533 *) ac_try_echo=$ac_try;;
20535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20536 (eval "$ac_compile") 2>conftest.er1
20538 grep -v '^ *+' conftest.er1 >conftest.err
20540 cat conftest.err >&5
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); } && {
20543 test -z "$ac_c_werror_flag" ||
20544 test ! -s conftest.err
20545 } && test -s conftest.$ac_objext; then
20546 ac_cv_member_struct_option_name=yes
20548 echo "$as_me: failed program was:" >&5
20549 sed 's/^/| /' conftest.$ac_ext >&5
20551 ac_cv_member_struct_option_name=no
20554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20559 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20560 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20561 if test $ac_cv_member_struct_option_name = yes; then
20563 cat >>confdefs.h <<_ACEOF
20564 #define HAVE_STRUCT_OPTION_NAME 1
20571 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20572 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20573 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20574 echo $ECHO_N "(cached) $ECHO_C" >&6
20576 cat >conftest.$ac_ext <<_ACEOF
20579 cat confdefs.h >>conftest.$ac_ext
20580 cat >>conftest.$ac_ext <<_ACEOF
20581 /* end confdefs.h. */
20582 $ac_includes_default
20586 static struct stat ac_aggr;
20587 if (ac_aggr.st_blocks)
20593 rm -f conftest.$ac_objext
20594 if { (ac_try="$ac_compile"
20595 case "(($ac_try" in
20596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20597 *) ac_try_echo=$ac_try;;
20599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20600 (eval "$ac_compile") 2>conftest.er1
20602 grep -v '^ *+' conftest.er1 >conftest.err
20604 cat conftest.err >&5
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); } && {
20607 test -z "$ac_c_werror_flag" ||
20608 test ! -s conftest.err
20609 } && test -s conftest.$ac_objext; then
20610 ac_cv_member_struct_stat_st_blocks=yes
20612 echo "$as_me: failed program was:" >&5
20613 sed 's/^/| /' conftest.$ac_ext >&5
20615 cat >conftest.$ac_ext <<_ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h. */
20621 $ac_includes_default
20625 static struct stat ac_aggr;
20626 if (sizeof ac_aggr.st_blocks)
20632 rm -f conftest.$ac_objext
20633 if { (ac_try="$ac_compile"
20634 case "(($ac_try" in
20635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20636 *) ac_try_echo=$ac_try;;
20638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20639 (eval "$ac_compile") 2>conftest.er1
20641 grep -v '^ *+' conftest.er1 >conftest.err
20643 cat conftest.err >&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); } && {
20646 test -z "$ac_c_werror_flag" ||
20647 test ! -s conftest.err
20648 } && test -s conftest.$ac_objext; then
20649 ac_cv_member_struct_stat_st_blocks=yes
20651 echo "$as_me: failed program was:" >&5
20652 sed 's/^/| /' conftest.$ac_ext >&5
20654 ac_cv_member_struct_stat_st_blocks=no
20657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20662 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20663 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20664 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20666 cat >>confdefs.h <<_ACEOF
20667 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20674 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20675 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20676 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20677 echo $ECHO_N "(cached) $ECHO_C" >&6
20679 cat >conftest.$ac_ext <<_ACEOF
20682 cat confdefs.h >>conftest.$ac_ext
20683 cat >>conftest.$ac_ext <<_ACEOF
20684 /* end confdefs.h. */
20685 #ifdef HAVE_SYS_TYPES_H
20686 #include <sys/types.h>
20688 #ifdef HAVE_NETINET_IN_H
20689 #include <netinet/in.h>
20695 static struct sockaddr_in6 ac_aggr;
20696 if (ac_aggr.sin6_scope_id)
20702 rm -f conftest.$ac_objext
20703 if { (ac_try="$ac_compile"
20704 case "(($ac_try" in
20705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20706 *) ac_try_echo=$ac_try;;
20708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20709 (eval "$ac_compile") 2>conftest.er1
20711 grep -v '^ *+' conftest.er1 >conftest.err
20713 cat conftest.err >&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); } && {
20716 test -z "$ac_c_werror_flag" ||
20717 test ! -s conftest.err
20718 } && test -s conftest.$ac_objext; then
20719 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20724 cat >conftest.$ac_ext <<_ACEOF
20727 cat confdefs.h >>conftest.$ac_ext
20728 cat >>conftest.$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 #ifdef HAVE_SYS_TYPES_H
20731 #include <sys/types.h>
20733 #ifdef HAVE_NETINET_IN_H
20734 #include <netinet/in.h>
20740 static struct sockaddr_in6 ac_aggr;
20741 if (sizeof ac_aggr.sin6_scope_id)
20747 rm -f conftest.$ac_objext
20748 if { (ac_try="$ac_compile"
20749 case "(($ac_try" in
20750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20751 *) ac_try_echo=$ac_try;;
20753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20754 (eval "$ac_compile") 2>conftest.er1
20756 grep -v '^ *+' conftest.er1 >conftest.err
20758 cat conftest.err >&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); } && {
20761 test -z "$ac_c_werror_flag" ||
20762 test ! -s conftest.err
20763 } && test -s conftest.$ac_objext; then
20764 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.$ac_ext >&5
20769 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20777 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20778 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20779 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20781 cat >>confdefs.h <<_ACEOF
20782 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20789 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20790 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20791 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20792 echo $ECHO_N "(cached) $ECHO_C" >&6
20794 cat >conftest.$ac_ext <<_ACEOF
20797 cat confdefs.h >>conftest.$ac_ext
20798 cat >>conftest.$ac_ext <<_ACEOF
20799 /* end confdefs.h. */
20800 #ifdef HAVE_SYS_TYPES_H
20801 #include <sys/types.h>
20803 #ifdef HAVE_NETINET_IN_H
20804 # include <netinet/in.h>
20806 #ifdef HAVE_ARPA_NAMESER_H
20807 # include <arpa/nameser.h>
20813 static ns_msg ac_aggr;
20814 if (ac_aggr._msg_ptr)
20820 rm -f conftest.$ac_objext
20821 if { (ac_try="$ac_compile"
20822 case "(($ac_try" in
20823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20824 *) ac_try_echo=$ac_try;;
20826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20827 (eval "$ac_compile") 2>conftest.er1
20829 grep -v '^ *+' conftest.er1 >conftest.err
20831 cat conftest.err >&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); } && {
20834 test -z "$ac_c_werror_flag" ||
20835 test ! -s conftest.err
20836 } && test -s conftest.$ac_objext; then
20837 ac_cv_member_ns_msg__msg_ptr=yes
20839 echo "$as_me: failed program was:" >&5
20840 sed 's/^/| /' conftest.$ac_ext >&5
20842 cat >conftest.$ac_ext <<_ACEOF
20845 cat confdefs.h >>conftest.$ac_ext
20846 cat >>conftest.$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20848 #ifdef HAVE_SYS_TYPES_H
20849 #include <sys/types.h>
20851 #ifdef HAVE_NETINET_IN_H
20852 # include <netinet/in.h>
20854 #ifdef HAVE_ARPA_NAMESER_H
20855 # include <arpa/nameser.h>
20861 static ns_msg ac_aggr;
20862 if (sizeof ac_aggr._msg_ptr)
20868 rm -f conftest.$ac_objext
20869 if { (ac_try="$ac_compile"
20870 case "(($ac_try" in
20871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20872 *) ac_try_echo=$ac_try;;
20874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20875 (eval "$ac_compile") 2>conftest.er1
20877 grep -v '^ *+' conftest.er1 >conftest.err
20879 cat conftest.err >&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); } && {
20882 test -z "$ac_c_werror_flag" ||
20883 test ! -s conftest.err
20884 } && test -s conftest.$ac_objext; then
20885 ac_cv_member_ns_msg__msg_ptr=yes
20887 echo "$as_me: failed program was:" >&5
20888 sed 's/^/| /' conftest.$ac_ext >&5
20890 ac_cv_member_ns_msg__msg_ptr=no
20893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20898 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20899 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20900 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20902 cat >>confdefs.h <<_ACEOF
20903 #define HAVE_NS_MSG__MSG_PTR 1
20910 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20911 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20912 if test "${ac_cv_have_timezone+set}" = set; then
20913 echo $ECHO_N "(cached) $ECHO_C" >&6
20915 cat >conftest.$ac_ext <<_ACEOF
20918 cat confdefs.h >>conftest.$ac_ext
20919 cat >>conftest.$ac_ext <<_ACEOF
20920 /* end confdefs.h. */
20930 rm -f conftest.$ac_objext conftest$ac_exeext
20931 if { (ac_try="$ac_link"
20932 case "(($ac_try" in
20933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20934 *) ac_try_echo=$ac_try;;
20936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20937 (eval "$ac_link") 2>conftest.er1
20939 grep -v '^ *+' conftest.er1 >conftest.err
20941 cat conftest.err >&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); } && {
20944 test -z "$ac_c_werror_flag" ||
20945 test ! -s conftest.err
20946 } && test -s conftest$ac_exeext &&
20947 $as_test_x conftest$ac_exeext; then
20948 ac_cv_have_timezone="yes"
20950 echo "$as_me: failed program was:" >&5
20951 sed 's/^/| /' conftest.$ac_ext >&5
20953 ac_cv_have_timezone="no"
20956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20957 conftest$ac_exeext conftest.$ac_ext
20959 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20960 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20961 if test "$ac_cv_have_timezone" = "yes"
20964 cat >>confdefs.h <<\_ACEOF
20965 #define HAVE_TIMEZONE 1
20969 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20970 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20971 if test "${ac_cv_have_daylight+set}" = set; then
20972 echo $ECHO_N "(cached) $ECHO_C" >&6
20974 cat >conftest.$ac_ext <<_ACEOF
20977 cat confdefs.h >>conftest.$ac_ext
20978 cat >>conftest.$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20989 rm -f conftest.$ac_objext conftest$ac_exeext
20990 if { (ac_try="$ac_link"
20991 case "(($ac_try" in
20992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20993 *) ac_try_echo=$ac_try;;
20995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20996 (eval "$ac_link") 2>conftest.er1
20998 grep -v '^ *+' conftest.er1 >conftest.err
21000 cat conftest.err >&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); } && {
21003 test -z "$ac_c_werror_flag" ||
21004 test ! -s conftest.err
21005 } && test -s conftest$ac_exeext &&
21006 $as_test_x conftest$ac_exeext; then
21007 ac_cv_have_daylight="yes"
21009 echo "$as_me: failed program was:" >&5
21010 sed 's/^/| /' conftest.$ac_ext >&5
21012 ac_cv_have_daylight="no"
21015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21016 conftest$ac_exeext conftest.$ac_ext
21018 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21019 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21020 if test "$ac_cv_have_daylight" = "yes"
21023 cat >>confdefs.h <<\_ACEOF
21024 #define HAVE_DAYLIGHT 1
21031 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21032 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21033 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21034 echo $ECHO_N "(cached) $ECHO_C" >&6
21036 cat >conftest.$ac_ext <<_ACEOF
21039 cat confdefs.h >>conftest.$ac_ext
21040 cat >>conftest.$ac_ext <<_ACEOF
21041 /* end confdefs.h. */
21046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21047 $EGREP "yes" >/dev/null 2>&1; then
21048 ac_cv_cpp_def___i386__=yes
21050 ac_cv_cpp_def___i386__=no
21055 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21056 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21057 if test $ac_cv_cpp_def___i386__ = yes; then
21058 CFLAGS="$CFLAGS -D__i386__"
21059 LINTFLAGS="$LINTFLAGS -D__i386__"
21062 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21063 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21064 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21065 echo $ECHO_N "(cached) $ECHO_C" >&6
21067 cat >conftest.$ac_ext <<_ACEOF
21070 cat confdefs.h >>conftest.$ac_ext
21071 cat >>conftest.$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21078 $EGREP "yes" >/dev/null 2>&1; then
21079 ac_cv_cpp_def___x86_64__=yes
21081 ac_cv_cpp_def___x86_64__=no
21086 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21087 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21088 if test $ac_cv_cpp_def___x86_64__ = yes; then
21089 CFLAGS="$CFLAGS -D__x86_64__"
21090 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21093 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21094 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21095 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21096 echo $ECHO_N "(cached) $ECHO_C" >&6
21098 cat >conftest.$ac_ext <<_ACEOF
21101 cat confdefs.h >>conftest.$ac_ext
21102 cat >>conftest.$ac_ext <<_ACEOF
21103 /* end confdefs.h. */
21108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21109 $EGREP "yes" >/dev/null 2>&1; then
21110 ac_cv_cpp_def___ALPHA__=yes
21112 ac_cv_cpp_def___ALPHA__=no
21117 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21118 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21119 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21120 CFLAGS="$CFLAGS -D__ALPHA__"
21121 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21124 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21125 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21126 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21127 echo $ECHO_N "(cached) $ECHO_C" >&6
21129 cat >conftest.$ac_ext <<_ACEOF
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21140 $EGREP "yes" >/dev/null 2>&1; then
21141 ac_cv_cpp_def___sparc__=yes
21143 ac_cv_cpp_def___sparc__=no
21148 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21149 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21150 if test $ac_cv_cpp_def___sparc__ = yes; then
21151 CFLAGS="$CFLAGS -D__sparc__"
21152 LINTFLAGS="$LINTFLAGS -D__sparc__"
21155 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21156 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21157 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21158 echo $ECHO_N "(cached) $ECHO_C" >&6
21160 cat >conftest.$ac_ext <<_ACEOF
21163 cat confdefs.h >>conftest.$ac_ext
21164 cat >>conftest.$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21166 #ifndef __powerpc__
21170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21171 $EGREP "yes" >/dev/null 2>&1; then
21172 ac_cv_cpp_def___powerpc__=yes
21174 ac_cv_cpp_def___powerpc__=no
21179 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21180 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21181 if test $ac_cv_cpp_def___powerpc__ = yes; then
21182 CFLAGS="$CFLAGS -D__powerpc__"
21183 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21188 case $host_vendor in
21189 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21190 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21191 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21192 echo $ECHO_N "(cached) $ECHO_C" >&6
21194 cat >conftest.$ac_ext <<_ACEOF
21197 cat confdefs.h >>conftest.$ac_ext
21198 cat >>conftest.$ac_ext <<_ACEOF
21199 /* end confdefs.h. */
21204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21205 $EGREP "yes" >/dev/null 2>&1; then
21206 ac_cv_cpp_def___sun__=yes
21208 ac_cv_cpp_def___sun__=no
21213 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21214 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21215 if test $ac_cv_cpp_def___sun__ = yes; then
21216 CFLAGS="$CFLAGS -D__sun__"
21217 LINTFLAGS="$LINTFLAGS -D__sun__"
21223 DEPENDENCIES="### Dependencies:
21228 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21230 \$(OBJS): \$(IDL_GEN_HEADERS)
21231 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21232 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21233 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21239 ac_config_commands="$ac_config_commands include/stamp-h"
21242 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21244 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21246 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21248 ac_config_commands="$ac_config_commands dlls/user32/resources"
21250 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21252 ac_config_commands="$ac_config_commands include/wine"
21255 MAKE_RULES=Make.rules
21258 MAKE_DLL_RULES=dlls/Makedll.rules
21261 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21264 MAKE_TEST_RULES=dlls/Maketest.rules
21267 MAKE_PROG_RULES=programs/Makeprog.rules
21270 ac_config_files="$ac_config_files Make.rules"
21272 ac_config_files="$ac_config_files dlls/Makedll.rules"
21274 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21276 ac_config_files="$ac_config_files dlls/Maketest.rules"
21278 ac_config_files="$ac_config_files programs/Makeprog.rules"
21280 ac_config_files="$ac_config_files Makefile"
21282 ac_config_files="$ac_config_files dlls/Makefile"
21284 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21286 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21288 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21290 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21292 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21294 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21296 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21298 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21300 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21302 ac_config_files="$ac_config_files dlls/atl/Makefile"
21304 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21306 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21308 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21310 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21312 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21314 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21316 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21318 ac_config_files="$ac_config_files dlls/cards/Makefile"
21320 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21322 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21324 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21326 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21328 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21330 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21332 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21334 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21336 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21338 ac_config_files="$ac_config_files dlls/credui/Makefile"
21340 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21342 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21344 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21346 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21348 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21350 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21352 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21354 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21356 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21358 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21360 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21362 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21364 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21366 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21368 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21370 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21372 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21374 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21376 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21378 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21380 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21382 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21384 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21386 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21388 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21390 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21392 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21394 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21396 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21398 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21400 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21402 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21404 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21406 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21408 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21410 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21412 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21414 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21416 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21418 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21420 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21422 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21424 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21426 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21428 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21430 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21432 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21434 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21436 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21438 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21440 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21442 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21444 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21446 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21448 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21450 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21452 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21454 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21456 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21458 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21460 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21462 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21464 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21466 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21468 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21470 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21472 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21474 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21476 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21478 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21480 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21482 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21484 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21486 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21488 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21490 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21492 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21494 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21496 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21498 ac_config_files="$ac_config_files dlls/hal/Makefile"
21500 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21502 ac_config_files="$ac_config_files dlls/hid/Makefile"
21504 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21506 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21508 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21510 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21512 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21514 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21516 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21518 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21520 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21522 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21524 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21526 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21528 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21530 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21532 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21534 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21536 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21538 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21540 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21542 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21544 ac_config_files="$ac_config_files dlls/itss/Makefile"
21546 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21548 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21550 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21552 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21554 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21556 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21558 ac_config_files="$ac_config_files dlls/localui/Makefile"
21560 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21562 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21564 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21566 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21568 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21570 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21572 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21574 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21576 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21578 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21580 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21582 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21584 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21586 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21588 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21590 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21592 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21594 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21596 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21598 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21600 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21602 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21604 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21606 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21608 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21610 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21612 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21614 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21616 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21618 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21620 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21622 ac_config_files="$ac_config_files dlls/msi/Makefile"
21624 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21626 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21628 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21630 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21632 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21634 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21636 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21638 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21640 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21642 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21644 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21646 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21648 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21650 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21652 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21654 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21656 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21658 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21660 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21662 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21664 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21666 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21668 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21670 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21672 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21674 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21676 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21678 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21680 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21682 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21684 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21686 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21688 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21690 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21692 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21694 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21696 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21698 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21700 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21702 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21704 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21706 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21708 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21710 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21712 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21714 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21716 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21718 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21720 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21722 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21724 ac_config_files="$ac_config_files dlls/printui/Makefile"
21726 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21728 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21730 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21732 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21734 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21736 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21738 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21740 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21742 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
21744 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21746 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21748 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21750 ac_config_files="$ac_config_files dlls/query/Makefile"
21752 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21754 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21756 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21758 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21760 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21762 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21764 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21766 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21768 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21770 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
21772 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21774 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21776 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21778 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
21780 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21782 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
21784 ac_config_files="$ac_config_files dlls/secur32/Makefile"
21786 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
21788 ac_config_files="$ac_config_files dlls/security/Makefile"
21790 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
21792 ac_config_files="$ac_config_files dlls/serialui/Makefile"
21794 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
21796 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
21798 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21800 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21802 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21804 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21806 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21808 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21810 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21812 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21814 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21816 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21818 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21820 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
21822 ac_config_files="$ac_config_files dlls/slc/Makefile"
21824 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21826 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21828 ac_config_files="$ac_config_files dlls/softpub/Makefile"
21830 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21832 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21834 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21836 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21838 ac_config_files="$ac_config_files dlls/sti/Makefile"
21840 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21842 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21844 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21846 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21848 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21850 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21852 ac_config_files="$ac_config_files dlls/url/Makefile"
21854 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21856 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21858 ac_config_files="$ac_config_files dlls/user32/Makefile"
21860 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21862 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21864 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21866 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21868 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21870 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21872 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21874 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21876 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21878 ac_config_files="$ac_config_files dlls/version/Makefile"
21880 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21882 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21884 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21886 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21888 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21890 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21892 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21894 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21896 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21898 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21900 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21902 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21904 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21906 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21908 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21910 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21912 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21914 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21916 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21918 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21920 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21922 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21924 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21926 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21928 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21930 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21932 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21934 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21936 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21938 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21940 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21942 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21944 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21946 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21948 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21950 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21952 ac_config_files="$ac_config_files dlls/wmi/Makefile"
21954 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21956 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21958 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21960 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21962 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21964 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21966 ac_config_files="$ac_config_files documentation/Makefile"
21968 ac_config_files="$ac_config_files fonts/Makefile"
21970 ac_config_files="$ac_config_files include/Makefile"
21972 ac_config_files="$ac_config_files libs/Makefile"
21974 ac_config_files="$ac_config_files libs/port/Makefile"
21976 ac_config_files="$ac_config_files libs/wine/Makefile"
21978 ac_config_files="$ac_config_files libs/wpp/Makefile"
21980 ac_config_files="$ac_config_files loader/Makefile"
21982 ac_config_files="$ac_config_files programs/Makefile"
21984 ac_config_files="$ac_config_files programs/clock/Makefile"
21986 ac_config_files="$ac_config_files programs/cmd/Makefile"
21988 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21990 ac_config_files="$ac_config_files programs/control/Makefile"
21992 ac_config_files="$ac_config_files programs/eject/Makefile"
21994 ac_config_files="$ac_config_files programs/expand/Makefile"
21996 ac_config_files="$ac_config_files programs/explorer/Makefile"
21998 ac_config_files="$ac_config_files programs/hh/Makefile"
22000 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22002 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22004 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22006 ac_config_files="$ac_config_files programs/net/Makefile"
22008 ac_config_files="$ac_config_files programs/notepad/Makefile"
22010 ac_config_files="$ac_config_files programs/oleview/Makefile"
22012 ac_config_files="$ac_config_files programs/progman/Makefile"
22014 ac_config_files="$ac_config_files programs/reg/Makefile"
22016 ac_config_files="$ac_config_files programs/regedit/Makefile"
22018 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22020 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22022 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22024 ac_config_files="$ac_config_files programs/secedit/Makefile"
22026 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22028 ac_config_files="$ac_config_files programs/start/Makefile"
22030 ac_config_files="$ac_config_files programs/svchost/Makefile"
22032 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22034 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22036 ac_config_files="$ac_config_files programs/view/Makefile"
22038 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22040 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22042 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22044 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22046 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22048 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22050 ac_config_files="$ac_config_files programs/winefile/Makefile"
22052 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22054 ac_config_files="$ac_config_files programs/winemine/Makefile"
22056 ac_config_files="$ac_config_files programs/winepath/Makefile"
22058 ac_config_files="$ac_config_files programs/winetest/Makefile"
22060 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22062 ac_config_files="$ac_config_files programs/winhelp/Makefile"
22064 ac_config_files="$ac_config_files programs/winver/Makefile"
22066 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22068 ac_config_files="$ac_config_files programs/write/Makefile"
22070 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22072 ac_config_files="$ac_config_files server/Makefile"
22074 ac_config_files="$ac_config_files tools/Makefile"
22076 ac_config_files="$ac_config_files tools/widl/Makefile"
22078 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22080 ac_config_files="$ac_config_files tools/winedump/Makefile"
22082 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22084 ac_config_files="$ac_config_files tools/wmc/Makefile"
22086 ac_config_files="$ac_config_files tools/wrc/Makefile"
22089 cat >confcache <<\_ACEOF
22090 # This file is a shell script that caches the results of configure
22091 # tests run on this system so they can be shared between configure
22092 # scripts and configure runs, see configure's option --config-cache.
22093 # It is not useful on other systems. If it contains results you don't
22094 # want to keep, you may remove or edit it.
22096 # config.status only pays attention to the cache file if you give it
22097 # the --recheck option to rerun configure.
22099 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22100 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22101 # following values.
22105 # The following way of writing the cache mishandles newlines in values,
22106 # but we know of no workaround that is simple, portable, and efficient.
22107 # So, we kill variables containing newlines.
22108 # Ultrix sh set writes to stderr and can't be redirected directly,
22109 # and sets the high bit in the cache file unless we assign to the vars.
22111 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22112 eval ac_val=\$$ac_var
22116 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22117 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22120 _ | IFS | as_nl) ;; #(
22121 *) $as_unset $ac_var ;;
22127 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22128 *${as_nl}ac_space=\ *)
22129 # `set' does not quote correctly, so add quotes (double-quote
22130 # substitution turns \\\\ into \\, and sed turns \\ into \).
22133 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22136 # `set' quotes correctly as required by POSIX, so do not add quotes.
22137 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22146 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22148 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22150 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22151 if test -w "$cache_file"; then
22152 test "x$cache_file" != "x/dev/null" &&
22153 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22154 echo "$as_me: updating cache $cache_file" >&6;}
22155 cat confcache >$cache_file
22157 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22158 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22163 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22164 # Let make expand exec_prefix.
22165 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22167 DEFS=-DHAVE_CONFIG_H
22171 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22172 # 1. Remove the extension, and $U if already installed.
22173 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22174 ac_i=`echo "$ac_i" | sed "$ac_script"`
22175 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22176 # will be set to the directory where LIBOBJS objects are built.
22177 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22178 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22180 LIBOBJS=$ac_libobjs
22182 LTLIBOBJS=$ac_ltlibobjs
22186 : ${CONFIG_STATUS=./config.status}
22187 ac_clean_files_save=$ac_clean_files
22188 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22189 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22190 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22191 cat >$CONFIG_STATUS <<_ACEOF
22193 # Generated by $as_me.
22194 # Run this file to recreate the current configuration.
22195 # Compiler output produced by configure, useful for debugging
22196 # configure, is in config.log if it exists.
22199 ac_cs_recheck=false
22201 SHELL=\${CONFIG_SHELL-$SHELL}
22204 cat >>$CONFIG_STATUS <<\_ACEOF
22205 ## --------------------- ##
22206 ## M4sh Initialization. ##
22207 ## --------------------- ##
22209 # Be more Bourne compatible
22210 DUALCASE=1; export DUALCASE # for MKS sh
22211 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22214 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22215 # is contrary to our usage. Disable this feature.
22216 alias -g '${1+"$@"}'='"$@"'
22217 setopt NO_GLOB_SUBST
22219 case `(set -o) 2>/dev/null` in
22220 *posix*) set -o posix ;;
22229 # Avoid depending upon Character Ranges.
22230 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22231 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22232 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22233 as_cr_digits='0123456789'
22234 as_cr_alnum=$as_cr_Letters$as_cr_digits
22236 # The user is always right.
22237 if test "${PATH_SEPARATOR+set}" != set; then
22238 echo "#! /bin/sh" >conf$$.sh
22239 echo "exit 0" >>conf$$.sh
22241 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22249 # Support unset when possible.
22250 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22258 # We need space, tab and new line, in precisely that order. Quoting is
22259 # there to prevent editors from complaining about space-tab.
22260 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22261 # splitting by setting IFS to empty value.)
22266 # Find who we are. Look in the path if we contain no directory separator.
22268 *[\\/]* ) as_myself=$0 ;;
22269 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22270 for as_dir in $PATH
22273 test -z "$as_dir" && as_dir=.
22274 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22280 # We did not find ourselves, most probably we were run as `sh COMMAND'
22281 # in which case we are not to be found in the path.
22282 if test "x$as_myself" = x; then
22285 if test ! -f "$as_myself"; then
22286 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22287 { (exit 1); exit 1; }
22290 # Work around bugs in pre-3.0 UWIN ksh.
22291 for as_var in ENV MAIL MAILPATH
22292 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22300 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22301 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22302 LC_TELEPHONE LC_TIME
22304 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22305 eval $as_var=C; export $as_var
22307 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22311 # Required to use basename.
22312 if expr a : '\(a\)' >/dev/null 2>&1 &&
22313 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22319 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22320 as_basename=basename
22326 # Name of the executable.
22327 as_me=`$as_basename -- "$0" ||
22328 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22329 X"$0" : 'X\(//\)$' \| \
22330 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22332 sed '/^.*\/\([^/][^/]*\)\/*$/{
22351 as_lineno_1=$LINENO
22352 as_lineno_2=$LINENO
22353 test "x$as_lineno_1" != "x$as_lineno_2" &&
22354 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22356 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22357 # uniformly replaced by the line number. The first 'sed' inserts a
22358 # line-number line after each line using $LINENO; the second 'sed'
22359 # does the real work. The second script uses 'N' to pair each
22360 # line-number line with the line containing $LINENO, and appends
22361 # trailing '-' during substitution so that $LINENO is not a special
22362 # case at line end.
22363 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22364 # scripts with optimization help from Paolo Bonzini. Blame Lee
22365 # E. McMahon (1931-1989) for sed's syntax. :-)
22377 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22380 ' >$as_me.lineno &&
22381 chmod +x "$as_me.lineno" ||
22382 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22383 { (exit 1); exit 1; }; }
22385 # Don't try to exec as it changes $[0], causing all sort of problems
22386 # (the dirname of $[0] is not the place where we might find the
22387 # original and so on. Autoconf is especially sensitive to this).
22388 . "./$as_me.lineno"
22389 # Exit status is that of the last command.
22394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22400 ECHO_C= ECHO_N= ECHO_T=
22401 case `echo -n x` in
22403 case `echo 'x\c'` in
22404 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22411 if expr a : '\(a\)' >/dev/null 2>&1 &&
22412 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22418 rm -f conf$$ conf$$.exe conf$$.file
22419 if test -d conf$$.dir; then
22420 rm -f conf$$.dir/conf$$.file
22426 if ln -s conf$$.file conf$$ 2>/dev/null; then
22428 # ... but there are two gotchas:
22429 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22430 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22431 # In both cases, we have to default to `cp -p'.
22432 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22434 elif ln conf$$.file conf$$ 2>/dev/null; then
22439 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22440 rmdir conf$$.dir 2>/dev/null
22442 if mkdir -p . 2>/dev/null; then
22445 test -d ./-p && rmdir ./-p
22449 if test -x / >/dev/null 2>&1; then
22450 as_test_x='test -x'
22452 if ls -dL / >/dev/null 2>&1; then
22459 if test -d "$1"; then
22465 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22466 ???[sx]*):;;*)false;;esac;fi
22470 as_executable_p=$as_test_x
22472 # Sed expression to map a string onto a valid CPP name.
22473 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22475 # Sed expression to map a string onto a valid variable name.
22476 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22481 # Save the log message, to keep $[0] and so on meaningful, and to
22482 # report actual input values of CONFIG_FILES etc. instead of their
22483 # values after options handling.
22485 This file was extended by Wine $as_me 0.9.57, which was
22486 generated by GNU Autoconf 2.61. Invocation command line was
22488 CONFIG_FILES = $CONFIG_FILES
22489 CONFIG_HEADERS = $CONFIG_HEADERS
22490 CONFIG_LINKS = $CONFIG_LINKS
22491 CONFIG_COMMANDS = $CONFIG_COMMANDS
22494 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22499 cat >>$CONFIG_STATUS <<_ACEOF
22500 # Files that config.status was made for.
22501 config_files="$ac_config_files"
22502 config_headers="$ac_config_headers"
22503 config_commands="$ac_config_commands"
22507 cat >>$CONFIG_STATUS <<\_ACEOF
22509 \`$as_me' instantiates files from templates according to the
22510 current configuration.
22512 Usage: $0 [OPTIONS] [FILE]...
22514 -h, --help print this help, then exit
22515 -V, --version print version number and configuration settings, then exit
22516 -q, --quiet do not print progress messages
22517 -d, --debug don't remove temporary files
22518 --recheck update $as_me by reconfiguring in the same conditions
22519 --file=FILE[:TEMPLATE]
22520 instantiate the configuration file FILE
22521 --header=FILE[:TEMPLATE]
22522 instantiate the configuration header FILE
22524 Configuration files:
22527 Configuration headers:
22530 Configuration commands:
22533 Report bugs to <bug-autoconf@gnu.org>."
22536 cat >>$CONFIG_STATUS <<_ACEOF
22538 Wine config.status 0.9.57
22539 configured by $0, generated by GNU Autoconf 2.61,
22540 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22542 Copyright (C) 2006 Free Software Foundation, Inc.
22543 This config.status script is free software; the Free Software Foundation
22544 gives unlimited permission to copy, distribute and modify it."
22551 cat >>$CONFIG_STATUS <<\_ACEOF
22552 # If no file are specified by the user, then we need to provide default
22553 # value. By we need to know if files were specified by the user.
22559 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22560 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22571 # Handling of the options.
22572 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22574 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22575 echo "$ac_cs_version"; exit ;;
22576 --debug | --debu | --deb | --de | --d | -d )
22578 --file | --fil | --fi | --f )
22580 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22581 ac_need_defaults=false;;
22582 --header | --heade | --head | --hea )
22584 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22585 ac_need_defaults=false;;
22587 # Conflict between --help and --header
22588 { echo "$as_me: error: ambiguous option: $1
22589 Try \`$0 --help' for more information." >&2
22590 { (exit 1); exit 1; }; };;
22591 --help | --hel | -h )
22592 echo "$ac_cs_usage"; exit ;;
22593 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22594 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22597 # This is an error.
22598 -*) { echo "$as_me: error: unrecognized option: $1
22599 Try \`$0 --help' for more information." >&2
22600 { (exit 1); exit 1; }; } ;;
22602 *) ac_config_targets="$ac_config_targets $1"
22603 ac_need_defaults=false ;;
22609 ac_configure_extra_args=
22611 if $ac_cs_silent; then
22613 ac_configure_extra_args="$ac_configure_extra_args --silent"
22617 cat >>$CONFIG_STATUS <<_ACEOF
22618 if \$ac_cs_recheck; then
22619 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22620 CONFIG_SHELL=$SHELL
22621 export CONFIG_SHELL
22622 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22626 cat >>$CONFIG_STATUS <<\_ACEOF
22630 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22631 ## Running $as_me. ##
22637 cat >>$CONFIG_STATUS <<_ACEOF
22640 cat >>$CONFIG_STATUS <<\_ACEOF
22642 # Handling of arguments.
22643 for ac_config_target in $ac_config_targets
22645 case $ac_config_target in
22646 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22647 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22648 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22649 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22650 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22651 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22652 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22653 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22654 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22655 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22656 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22657 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22658 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22659 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22660 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22661 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22662 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22663 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22664 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22665 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22666 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22667 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22668 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22669 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22670 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22671 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22672 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22673 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22674 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22675 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22676 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22677 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22678 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22679 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22680 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22681 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22682 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22683 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22684 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22685 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22686 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22687 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22688 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22689 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22690 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22691 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22692 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22693 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22694 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22695 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22696 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22697 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22698 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22699 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22700 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22701 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22702 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22703 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22704 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22705 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22706 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22707 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22708 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22709 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22710 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22711 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22712 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22713 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22714 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22715 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22716 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22717 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22718 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22719 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22720 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22721 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22722 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22723 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22724 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22725 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22726 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22727 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22728 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22729 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22730 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22731 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22732 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22733 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22734 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22735 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22736 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22737 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22738 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22739 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22740 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22741 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22742 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22743 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
22744 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22745 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22746 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22747 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22748 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22749 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22750 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
22751 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22752 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22753 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
22754 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22755 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22756 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22757 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22758 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22759 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22760 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
22761 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22762 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22763 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22764 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22765 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
22766 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22767 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22768 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
22769 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22770 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
22771 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
22772 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22773 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22774 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22775 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
22776 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22777 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22778 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22779 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
22780 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22781 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22782 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22783 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22784 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22785 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
22786 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22787 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
22788 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22789 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22790 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
22791 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
22792 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22793 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
22794 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22795 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22796 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
22797 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22798 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
22799 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22800 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
22801 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22802 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22803 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22804 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22805 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22806 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22807 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22808 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
22809 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
22810 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22811 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22812 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22813 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22814 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
22815 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22816 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22817 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22818 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22819 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22820 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22821 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
22822 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22823 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22824 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22825 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22826 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22827 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22828 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22829 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22830 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
22831 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22832 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22833 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22834 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22835 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22836 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22837 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22838 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22839 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22840 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22841 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22842 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22843 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22844 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22845 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22846 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22847 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22848 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22849 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22850 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22851 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22852 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22853 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22854 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22855 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22856 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22857 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22858 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22859 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22860 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22861 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22862 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22863 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22864 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22865 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22866 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22867 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22868 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22869 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22870 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22871 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22872 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22873 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22874 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22875 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22876 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22877 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22878 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22879 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22880 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22881 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22882 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
22883 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22884 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22885 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22886 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22887 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
22888 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22889 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22890 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22891 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22892 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22893 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22894 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22895 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22896 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22897 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22898 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22899 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22900 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22901 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22902 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22903 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22904 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22905 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22906 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22907 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22908 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22909 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22910 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22911 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22912 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22913 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22914 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22915 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22916 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22917 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22918 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22919 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22920 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22921 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22922 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22923 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22924 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22925 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22926 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22927 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22928 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22929 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22930 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
22931 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22932 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22933 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
22934 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22935 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22936 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22937 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22938 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22939 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22940 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22941 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22942 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22943 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22944 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22945 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22946 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22947 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22948 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22949 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22950 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22951 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22952 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22953 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22954 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22955 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22956 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22957 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22958 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22959 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22960 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22961 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22962 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22963 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22964 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22965 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22966 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22967 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22968 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22969 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22970 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22971 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22972 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22973 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22974 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22975 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22976 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22977 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22978 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22979 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22980 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22981 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22982 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22983 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22984 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22985 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22986 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22987 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22988 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22989 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22990 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22991 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22992 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22993 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22994 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22995 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
22996 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22997 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22998 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22999 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23000 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23001 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23002 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23003 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23004 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23005 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23006 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23007 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23008 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23009 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23010 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23011 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23012 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23013 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23014 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23015 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23016 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23017 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23018 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23019 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23020 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23021 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23022 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23023 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23024 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23025 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23026 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23027 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23028 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23029 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23030 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23031 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23032 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23033 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23034 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23035 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23036 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23037 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23038 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23039 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23040 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23041 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23042 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23043 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23044 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23045 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23046 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23047 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23048 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23049 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23050 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
23051 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23052 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23053 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23054 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23055 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23056 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23057 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23058 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23059 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23060 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23061 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23062 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23064 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23065 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23066 { (exit 1); exit 1; }; };;
23071 # If the user did not use the arguments to specify the items to instantiate,
23072 # then the envvar interface is used. Set only those that are not.
23073 # We use the long form for the default assignment because of an extremely
23074 # bizarre bug on SunOS 4.1.3.
23075 if $ac_need_defaults; then
23076 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23077 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23078 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23081 # Have a temporary directory for convenience. Make it in the build tree
23082 # simply because there is no reason against having it here, and in addition,
23083 # creating and moving files from /tmp can sometimes cause problems.
23084 # Hook for its removal unless debugging.
23085 # Note that there is a small window in which the directory will not be cleaned:
23086 # after its creation but before its name has been assigned to `$tmp'.
23090 trap 'exit_status=$?
23091 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23093 trap '{ (exit 1); exit 1; }' 1 2 13 15
23095 # Create a (secure) tmp directory for tmp files.
23098 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23099 test -n "$tmp" && test -d "$tmp"
23102 tmp=./conf$$-$RANDOM
23103 (umask 077 && mkdir "$tmp")
23106 echo "$me: cannot create a temporary directory in ." >&2
23107 { (exit 1); exit 1; }
23111 # Set up the sed scripts for CONFIG_FILES section.
23114 # No need to generate the scripts if there are no CONFIG_FILES.
23115 # This happens for instance when ./config.status config.h
23116 if test -n "$CONFIG_FILES"; then
23120 # Create sed commands to just substitute file output variables.
23122 # Remaining file output variables are in a fragment that also has non-file
23128 for ac_last_try in false false false false false :; do
23129 cat >conf$$subs.sed <<_ACEOF
23130 SHELL!$SHELL$ac_delim
23131 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23132 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23133 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23134 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23135 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23136 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23137 exec_prefix!$exec_prefix$ac_delim
23138 prefix!$prefix$ac_delim
23139 program_transform_name!$program_transform_name$ac_delim
23140 bindir!$bindir$ac_delim
23141 sbindir!$sbindir$ac_delim
23142 libexecdir!$libexecdir$ac_delim
23143 datarootdir!$datarootdir$ac_delim
23144 datadir!$datadir$ac_delim
23145 sysconfdir!$sysconfdir$ac_delim
23146 sharedstatedir!$sharedstatedir$ac_delim
23147 localstatedir!$localstatedir$ac_delim
23148 includedir!$includedir$ac_delim
23149 oldincludedir!$oldincludedir$ac_delim
23150 docdir!$docdir$ac_delim
23151 infodir!$infodir$ac_delim
23152 htmldir!$htmldir$ac_delim
23153 dvidir!$dvidir$ac_delim
23154 pdfdir!$pdfdir$ac_delim
23155 psdir!$psdir$ac_delim
23156 libdir!$libdir$ac_delim
23157 localedir!$localedir$ac_delim
23158 mandir!$mandir$ac_delim
23159 DEFS!$DEFS$ac_delim
23160 ECHO_C!$ECHO_C$ac_delim
23161 ECHO_N!$ECHO_N$ac_delim
23162 ECHO_T!$ECHO_T$ac_delim
23163 LIBS!$LIBS$ac_delim
23164 build_alias!$build_alias$ac_delim
23165 host_alias!$host_alias$ac_delim
23166 target_alias!$target_alias$ac_delim
23167 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23168 build!$build$ac_delim
23169 build_cpu!$build_cpu$ac_delim
23170 build_vendor!$build_vendor$ac_delim
23171 build_os!$build_os$ac_delim
23172 host!$host$ac_delim
23173 host_cpu!$host_cpu$ac_delim
23174 host_vendor!$host_vendor$ac_delim
23175 host_os!$host_os$ac_delim
23176 WIN16_FILES!$WIN16_FILES$ac_delim
23177 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23178 SET_MAKE!$SET_MAKE$ac_delim
23180 CFLAGS!$CFLAGS$ac_delim
23181 LDFLAGS!$LDFLAGS$ac_delim
23182 CPPFLAGS!$CPPFLAGS$ac_delim
23183 ac_ct_CC!$ac_ct_CC$ac_delim
23184 EXEEXT!$EXEEXT$ac_delim
23185 OBJEXT!$OBJEXT$ac_delim
23187 CXXFLAGS!$CXXFLAGS$ac_delim
23188 ac_ct_CXX!$ac_ct_CXX$ac_delim
23189 CPPBIN!$CPPBIN$ac_delim
23190 TOOLSDIR!$TOOLSDIR$ac_delim
23191 XMKMF!$XMKMF$ac_delim
23193 X_CFLAGS!$X_CFLAGS$ac_delim
23194 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23195 X_LIBS!$X_LIBS$ac_delim
23196 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23197 FLEX!$FLEX$ac_delim
23198 BISON!$BISON$ac_delim
23200 ac_ct_AS!$ac_ct_AS$ac_delim
23203 ARFLAGS!$ARFLAGS$ac_delim
23204 RANLIB!$RANLIB$ac_delim
23205 STRIP!$STRIP$ac_delim
23206 WINDRES!$WINDRES$ac_delim
23207 LN_S!$LN_S$ac_delim
23209 GREP!$GREP$ac_delim
23210 EGREP!$EGREP$ac_delim
23211 LDCONFIG!$LDCONFIG$ac_delim
23214 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23216 elif $ac_last_try; then
23217 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23218 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23219 { (exit 1); exit 1; }; }
23221 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23225 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23226 if test -n "$ac_eof"; then
23227 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23228 ac_eof=`expr $ac_eof + 1`
23231 cat >>$CONFIG_STATUS <<_ACEOF
23232 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23233 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23234 /^[ ]*@MAKE_RULES@[ ]*$/{
23238 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23242 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23243 r $MAKE_IMPLIB_RULES
23246 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23250 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23256 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23257 s/^/s,@/; s/!/@,|#_!!_#|/
23260 s/'"$ac_delim"'$/,g/; t
23262 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23263 ' >>$CONFIG_STATUS <conf$$subs.sed
23264 rm -f conf$$subs.sed
23265 cat >>$CONFIG_STATUS <<_ACEOF
23271 for ac_last_try in false false false false false :; do
23272 cat >conf$$subs.sed <<_ACEOF
23273 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23274 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23275 INSTALL_DATA!$INSTALL_DATA$ac_delim
23276 LINT!$LINT$ac_delim
23277 LINTFLAGS!$LINTFLAGS$ac_delim
23278 FONTFORGE!$FONTFORGE$ac_delim
23279 PKG_CONFIG!$PKG_CONFIG$ac_delim
23280 RSVG!$RSVG$ac_delim
23281 ICOTOOL!$ICOTOOL$ac_delim
23282 PRELINK!$PRELINK$ac_delim
23283 LIBPTHREAD!$LIBPTHREAD$ac_delim
23284 XLIB!$XLIB$ac_delim
23285 XFILES!$XFILES$ac_delim
23286 OPENGLFILES!$OPENGLFILES$ac_delim
23287 GLU32FILES!$GLU32FILES$ac_delim
23288 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23289 QUARTZFILES!$QUARTZFILES$ac_delim
23290 DLLEXT!$DLLEXT$ac_delim
23291 DLLFLAGS!$DLLFLAGS$ac_delim
23292 LDSHARED!$LDSHARED$ac_delim
23293 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23294 LIBEXT!$LIBEXT$ac_delim
23295 IMPLIBEXT!$IMPLIBEXT$ac_delim
23296 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23297 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23299 DLLTOOL!$DLLTOOL$ac_delim
23300 DLLWRAP!$DLLWRAP$ac_delim
23301 MINGWAR!$MINGWAR$ac_delim
23302 SECURITYLIB!$SECURITYLIB$ac_delim
23303 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23304 IOKITLIB!$IOKITLIB$ac_delim
23305 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23306 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23307 COREAUDIO!$COREAUDIO$ac_delim
23308 CARBONLIB!$CARBONLIB$ac_delim
23309 CROSSTEST!$CROSSTEST$ac_delim
23310 CROSSCC!$CROSSCC$ac_delim
23311 CROSSWINDRES!$CROSSWINDRES$ac_delim
23312 NASLIBS!$NASLIBS$ac_delim
23313 XML2LIBS!$XML2LIBS$ac_delim
23314 XML2INCL!$XML2INCL$ac_delim
23315 XSLTLIBS!$XSLTLIBS$ac_delim
23316 XSLTINCL!$XSLTINCL$ac_delim
23317 HALINCL!$HALINCL$ac_delim
23318 sane_devel!$sane_devel$ac_delim
23319 SANEINCL!$SANEINCL$ac_delim
23320 gphoto2_devel!$gphoto2_devel$ac_delim
23321 gphoto2port_devel!$gphoto2port_devel$ac_delim
23322 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23323 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23324 RESOLVLIBS!$RESOLVLIBS$ac_delim
23325 LCMSLIBS!$LCMSLIBS$ac_delim
23326 LDAPLIBS!$LDAPLIBS$ac_delim
23327 ft_devel!$ft_devel$ac_delim
23328 FREETYPELIBS!$FREETYPELIBS$ac_delim
23329 FREETYPEINCL!$FREETYPEINCL$ac_delim
23330 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23331 ESDCONFIG!$ESDCONFIG$ac_delim
23332 ESDLIBS!$ESDLIBS$ac_delim
23333 ESDINCL!$ESDINCL$ac_delim
23334 ALSALIBS!$ALSALIBS$ac_delim
23335 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23336 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23337 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23338 BUILTINFLAG!$BUILTINFLAG$ac_delim
23339 LDPATH!$LDPATH$ac_delim
23340 CRTLIBS!$CRTLIBS$ac_delim
23341 SOCKETLIBS!$SOCKETLIBS$ac_delim
23342 MAIN_BINARY!$MAIN_BINARY$ac_delim
23343 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23344 LIBDL!$LIBDL$ac_delim
23345 LIBPOLL!$LIBPOLL$ac_delim
23346 DEPENDENCIES!$DEPENDENCIES$ac_delim
23347 LIBOBJS!$LIBOBJS$ac_delim
23348 LTLIBOBJS!$LTLIBOBJS$ac_delim
23351 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23353 elif $ac_last_try; then
23354 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23355 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23356 { (exit 1); exit 1; }; }
23358 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23362 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23363 if test -n "$ac_eof"; then
23364 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23365 ac_eof=`expr $ac_eof + 1`
23368 cat >>$CONFIG_STATUS <<_ACEOF
23369 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23370 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23373 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23374 s/^/s,@/; s/!/@,|#_!!_#|/
23377 s/'"$ac_delim"'$/,g/; t
23379 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23380 ' >>$CONFIG_STATUS <conf$$subs.sed
23381 rm -f conf$$subs.sed
23382 cat >>$CONFIG_STATUS <<_ACEOF
23389 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23390 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23391 # trailing colons and then remove the whole line if VPATH becomes empty
23392 # (actually we leave an empty line to preserve line numbers).
23393 if test "x$srcdir" = x.; then
23394 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23395 s/:*\$(srcdir):*/:/
23396 s/:*\${srcdir}:*/:/
23398 s/^\([^=]*=[ ]*\):*/\1/
23404 cat >>$CONFIG_STATUS <<\_ACEOF
23405 fi # test -n "$CONFIG_FILES"
23408 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23411 :[FHLC]) ac_mode=$ac_tag; continue;;
23413 case $ac_mode$ac_tag in
23415 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23416 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23417 { (exit 1); exit 1; }; };;
23418 :[FH]-) ac_tag=-:-;;
23419 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23436 -) ac_f="$tmp/stdin";;
23437 *) # Look for the file first in the build tree, then in the source tree
23438 # (if the path is not absolute). The absolute path cannot be DOS-style,
23439 # because $ac_f cannot contain `:'.
23443 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23445 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23446 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23447 { (exit 1); exit 1; }; };;
23449 ac_file_inputs="$ac_file_inputs $ac_f"
23452 # Let's still pretend it is `configure' which instantiates (i.e., don't
23453 # use $as_me), people would be surprised to read:
23454 # /* config.h. Generated by config.status. */
23455 configure_input="Generated from "`IFS=:
23456 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23457 if test x"$ac_file" != x-; then
23458 configure_input="$ac_file. $configure_input"
23459 { echo "$as_me:$LINENO: creating $ac_file" >&5
23460 echo "$as_me: creating $ac_file" >&6;}
23464 *:-:* | *:-) cat >"$tmp/stdin";;
23469 ac_dir=`$as_dirname -- "$ac_file" ||
23470 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23471 X"$ac_file" : 'X\(//\)[^/]' \| \
23472 X"$ac_file" : 'X\(//\)$' \| \
23473 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23479 /^X\(\/\/\)[^/].*/{
23494 -*) as_dir=./$as_dir;;
23496 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23500 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23501 *) as_qdir=$as_dir;;
23503 as_dirs="'$as_qdir' $as_dirs"
23504 as_dir=`$as_dirname -- "$as_dir" ||
23505 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23506 X"$as_dir" : 'X\(//\)[^/]' \| \
23507 X"$as_dir" : 'X\(//\)$' \| \
23508 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23514 /^X\(\/\/\)[^/].*/{
23527 test -d "$as_dir" && break
23529 test -z "$as_dirs" || eval "mkdir $as_dirs"
23530 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23531 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23532 { (exit 1); exit 1; }; }; }
23536 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23538 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23539 # A ".." for each directory in $ac_dir_suffix.
23540 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23541 case $ac_top_builddir_sub in
23542 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23543 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23546 ac_abs_top_builddir=$ac_pwd
23547 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23548 # for backward compatibility:
23549 ac_top_builddir=$ac_top_build_prefix
23552 .) # We are building in place.
23554 ac_top_srcdir=$ac_top_builddir_sub
23555 ac_abs_top_srcdir=$ac_pwd ;;
23556 [\\/]* | ?:[\\/]* ) # Absolute name.
23557 ac_srcdir=$srcdir$ac_dir_suffix;
23558 ac_top_srcdir=$srcdir
23559 ac_abs_top_srcdir=$srcdir ;;
23560 *) # Relative name.
23561 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23562 ac_top_srcdir=$ac_top_build_prefix$srcdir
23563 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23565 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23575 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23576 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23580 cat >>$CONFIG_STATUS <<\_ACEOF
23581 # If the template does not know about datarootdir, expand it.
23582 # FIXME: This hack should be removed a few years after 2.60.
23583 ac_datarootdir_hack=; ac_datarootdir_seen=
23585 case `sed -n '/datarootdir/ {
23594 ' $ac_file_inputs` in
23595 *datarootdir*) ac_datarootdir_seen=yes;;
23596 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23597 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23598 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23600 cat >>$CONFIG_STATUS <<_ACEOF
23601 ac_datarootdir_hack='
23602 s&@datadir@&$datadir&g
23603 s&@docdir@&$docdir&g
23604 s&@infodir@&$infodir&g
23605 s&@localedir@&$localedir&g
23606 s&@mandir@&$mandir&g
23607 s&\\\${datarootdir}&$datarootdir&g' ;;
23611 # Neutralize VPATH when `$srcdir' = `.'.
23612 # Shell code in configure.ac might set extrasub.
23613 # FIXME: do we really want to maintain this feature?
23614 cat >>$CONFIG_STATUS <<_ACEOF
23618 cat >>$CONFIG_STATUS <<\_ACEOF
23620 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23621 s&@configure_input@&$configure_input&;t t
23622 s&@top_builddir@&$ac_top_builddir_sub&;t t
23623 s&@srcdir@&$ac_srcdir&;t t
23624 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23625 s&@top_srcdir@&$ac_top_srcdir&;t t
23626 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23627 s&@builddir@&$ac_builddir&;t t
23628 s&@abs_builddir@&$ac_abs_builddir&;t t
23629 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23630 s&@INSTALL@&$ac_INSTALL&;t t
23631 $ac_datarootdir_hack
23632 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23634 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23635 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23636 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23637 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23638 which seems to be undefined. Please make sure it is defined." >&5
23639 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23640 which seems to be undefined. Please make sure it is defined." >&2;}
23644 -) cat "$tmp/out"; rm -f "$tmp/out";;
23645 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23654 # Transform confdefs.h into a sed script `conftest.defines', that
23655 # substitutes the proper values into config.h.in to produce config.h.
23656 rm -f conftest.defines conftest.tail
23657 # First, append a space to every undef/define line, to ease matching.
23658 echo 's/$/ /' >conftest.defines
23659 # Then, protect against being on the right side of a sed subst, or in
23660 # an unquoted here document, in config.status. If some macros were
23661 # called several times there might be several #defines for the same
23662 # symbol, which is useless. But do not sort them, since the last
23663 # AC_DEFINE must be honored.
23664 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23665 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23666 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23667 # PARAMS is the parameter list in the macro definition--in most cases, it's
23668 # just an empty string.
23669 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23670 ac_dB='\\)[ (].*,\\1define\\2'
23678 s/^[ ]*#[ ]*define[ ][ ]*//
23683 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23684 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23685 ' >>conftest.defines
23687 # Remove the space that was appended to ease matching.
23688 # Then replace #undef with comments. This is necessary, for
23689 # example, in the case of _POSIX_SOURCE, which is predefined and required
23690 # on some systems where configure will not decide to define it.
23691 # (The regexp can be short, since the line contains either #define or #undef.)
23693 s,^[ #]*u.*,/* & */,' >>conftest.defines
23695 # Break up conftest.defines:
23696 ac_max_sed_lines=50
23698 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23699 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23700 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23702 ac_in='$ac_file_inputs'
23703 ac_out='"$tmp/out1"'
23704 ac_nxt='"$tmp/out2"'
23708 # Write a here document:
23709 cat >>$CONFIG_STATUS <<_ACEOF
23710 # First, check the format of the line:
23711 cat >"\$tmp/defines.sed" <<\\CEOF
23712 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23713 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23717 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23719 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23720 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23721 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23722 grep . conftest.tail >/dev/null || break
23723 rm -f conftest.defines
23724 mv conftest.tail conftest.defines
23726 rm -f conftest.defines conftest.tail
23728 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23729 cat >>$CONFIG_STATUS <<\_ACEOF
23730 if test x"$ac_file" != x-; then
23731 echo "/* $configure_input */" >"$tmp/config.h"
23732 cat "$ac_result" >>"$tmp/config.h"
23733 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23734 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23735 echo "$as_me: $ac_file is unchanged" >&6;}
23738 mv "$tmp/config.h" $ac_file
23741 echo "/* $configure_input */"
23747 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23748 echo "$as_me: executing $ac_file commands" >&6;}
23753 case $ac_file$ac_mode in
23754 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23755 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23756 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
23757 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23758 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
23759 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23760 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
23761 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23762 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
23763 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23764 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
23765 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
23766 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
23772 { (exit 0); exit 0; }
23774 chmod +x $CONFIG_STATUS
23775 ac_clean_files=$ac_clean_files_save
23778 # configure is writing to config.log, and then calls config.status.
23779 # config.status does its own redirection, appending to config.log.
23780 # Unfortunately, on DOS this fails, as config.log is still kept open
23781 # by configure, so config.status won't be able to write to it; its
23782 # output is simply discarded. So we exec the FD to /dev/null,
23783 # effectively closing config.log, so it can be properly (re)opened and
23784 # appended to by config.status. When coming back to configure, we
23785 # need to make the FD available again.
23786 if test "$no_create" != yes; then
23788 ac_config_status_args=
23789 test "$silent" = yes &&
23790 ac_config_status_args="$ac_config_status_args --quiet"
23792 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23794 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23795 # would make configure fail if this is the last instruction.
23796 $ac_cs_success || { (exit 1); exit 1; }
23800 if test "$no_create" = "yes"
23807 if test "x$wine_notices != "x; then
23809 for msg in $wine_notices; do
23810 if test -n "$msg"; then
23811 { echo "$as_me:$LINENO: $msg" >&5
23812 echo "$as_me: $msg" >&6;}
23816 for msg in $wine_warnings; do
23817 if test -n "$msg"; then
23819 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23820 echo "$as_me: WARNING: $msg" >&2;}
23826 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.