2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.1.1.
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='1.1.1'
578 PACKAGE_STRING='Wine 1.1.1'
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
781 ac_subst_files='MAKE_RULES
786 ac_precious_vars='build_alias
801 # Initialize some variables set by options.
803 ac_init_version=false
804 # The variables have the same names as the options, with
805 # dashes changed to underlines.
813 program_transform_name=s,x,x,
821 # Installation directory options.
822 # These are left unexpanded so users can "make install exec_prefix=/foo"
823 # and all the variables that are supposed to be based on exec_prefix
824 # by default will actually change.
825 # Use braces instead of parens because sh, perl, etc. also accept them.
826 # (The list follows the same order as the GNU Coding Standards.)
827 bindir='${exec_prefix}/bin'
828 sbindir='${exec_prefix}/sbin'
829 libexecdir='${exec_prefix}/libexec'
830 datarootdir='${prefix}/share'
831 datadir='${datarootdir}'
832 sysconfdir='${prefix}/etc'
833 sharedstatedir='${prefix}/com'
834 localstatedir='${prefix}/var'
835 includedir='${prefix}/include'
836 oldincludedir='/usr/include'
837 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
838 infodir='${datarootdir}/info'
843 libdir='${exec_prefix}/lib'
844 localedir='${datarootdir}/locale'
845 mandir='${datarootdir}/man'
851 # If the previous option needs an argument, assign it.
852 if test -n "$ac_prev"; then
853 eval $ac_prev=\$ac_option
859 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
863 # Accept the important Cygnus configure options, so we can diagnose typos.
865 case $ac_dashdash$ac_option in
869 -bindir | --bindir | --bindi | --bind | --bin | --bi)
871 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
874 -build | --build | --buil | --bui | --bu)
875 ac_prev=build_alias ;;
876 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
877 build_alias=$ac_optarg ;;
879 -cache-file | --cache-file | --cache-fil | --cache-fi \
880 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
881 ac_prev=cache_file ;;
882 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
883 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
884 cache_file=$ac_optarg ;;
887 cache_file=config.cache ;;
889 -datadir | --datadir | --datadi | --datad)
891 -datadir=* | --datadir=* | --datadi=* | --datad=*)
892 datadir=$ac_optarg ;;
894 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
895 | --dataroo | --dataro | --datar)
896 ac_prev=datarootdir ;;
897 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
898 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
899 datarootdir=$ac_optarg ;;
901 -disable-* | --disable-*)
902 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
905 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
906 { (exit 1); exit 1; }; }
907 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
908 eval enable_$ac_feature=no ;;
910 -docdir | --docdir | --docdi | --doc | --do)
912 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
915 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
917 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
920 -enable-* | --enable-*)
921 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
922 # Reject names that are not valid shell variable names.
923 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
924 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
925 { (exit 1); exit 1; }; }
926 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
927 eval enable_$ac_feature=\$ac_optarg ;;
929 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
930 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
931 | --exec | --exe | --ex)
932 ac_prev=exec_prefix ;;
933 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
934 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
935 | --exec=* | --exe=* | --ex=*)
936 exec_prefix=$ac_optarg ;;
938 -gas | --gas | --ga | --g)
939 # Obsolete; use --with-gas.
942 -help | --help | --hel | --he | -h)
944 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
945 ac_init_help=recursive ;;
946 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
947 ac_init_help=short ;;
949 -host | --host | --hos | --ho)
950 ac_prev=host_alias ;;
951 -host=* | --host=* | --hos=* | --ho=*)
952 host_alias=$ac_optarg ;;
954 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
956 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
958 htmldir=$ac_optarg ;;
960 -includedir | --includedir | --includedi | --included | --include \
961 | --includ | --inclu | --incl | --inc)
962 ac_prev=includedir ;;
963 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
964 | --includ=* | --inclu=* | --incl=* | --inc=*)
965 includedir=$ac_optarg ;;
967 -infodir | --infodir | --infodi | --infod | --info | --inf)
969 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
970 infodir=$ac_optarg ;;
972 -libdir | --libdir | --libdi | --libd)
974 -libdir=* | --libdir=* | --libdi=* | --libd=*)
977 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
978 | --libexe | --libex | --libe)
979 ac_prev=libexecdir ;;
980 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
981 | --libexe=* | --libex=* | --libe=*)
982 libexecdir=$ac_optarg ;;
984 -localedir | --localedir | --localedi | --localed | --locale)
986 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
987 localedir=$ac_optarg ;;
989 -localstatedir | --localstatedir | --localstatedi | --localstated \
990 | --localstate | --localstat | --localsta | --localst | --locals)
991 ac_prev=localstatedir ;;
992 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
993 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
994 localstatedir=$ac_optarg ;;
996 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
998 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1001 -nfp | --nfp | --nf)
1002 # Obsolete; use --without-fp.
1005 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1006 | --no-cr | --no-c | -n)
1009 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1010 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1013 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1014 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1015 | --oldin | --oldi | --old | --ol | --o)
1016 ac_prev=oldincludedir ;;
1017 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1018 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1019 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1020 oldincludedir=$ac_optarg ;;
1022 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1024 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1025 prefix=$ac_optarg ;;
1027 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1028 | --program-pre | --program-pr | --program-p)
1029 ac_prev=program_prefix ;;
1030 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1031 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1032 program_prefix=$ac_optarg ;;
1034 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1035 | --program-suf | --program-su | --program-s)
1036 ac_prev=program_suffix ;;
1037 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1038 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1039 program_suffix=$ac_optarg ;;
1041 -program-transform-name | --program-transform-name \
1042 | --program-transform-nam | --program-transform-na \
1043 | --program-transform-n | --program-transform- \
1044 | --program-transform | --program-transfor \
1045 | --program-transfo | --program-transf \
1046 | --program-trans | --program-tran \
1047 | --progr-tra | --program-tr | --program-t)
1048 ac_prev=program_transform_name ;;
1049 -program-transform-name=* | --program-transform-name=* \
1050 | --program-transform-nam=* | --program-transform-na=* \
1051 | --program-transform-n=* | --program-transform-=* \
1052 | --program-transform=* | --program-transfor=* \
1053 | --program-transfo=* | --program-transf=* \
1054 | --program-trans=* | --program-tran=* \
1055 | --progr-tra=* | --program-tr=* | --program-t=*)
1056 program_transform_name=$ac_optarg ;;
1058 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1060 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1061 pdfdir=$ac_optarg ;;
1063 -psdir | --psdir | --psdi | --psd | --ps)
1065 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1072 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1074 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1076 sbindir=$ac_optarg ;;
1078 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1079 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1080 | --sharedst | --shareds | --shared | --share | --shar \
1082 ac_prev=sharedstatedir ;;
1083 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1084 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1085 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1087 sharedstatedir=$ac_optarg ;;
1089 -site | --site | --sit)
1091 -site=* | --site=* | --sit=*)
1094 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1096 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1097 srcdir=$ac_optarg ;;
1099 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1100 | --syscon | --sysco | --sysc | --sys | --sy)
1101 ac_prev=sysconfdir ;;
1102 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1103 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1104 sysconfdir=$ac_optarg ;;
1106 -target | --target | --targe | --targ | --tar | --ta | --t)
1107 ac_prev=target_alias ;;
1108 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1109 target_alias=$ac_optarg ;;
1111 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1114 -version | --version | --versio | --versi | --vers | -V)
1115 ac_init_version=: ;;
1118 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_$ac_package=\$ac_optarg ;;
1126 -without-* | --without-*)
1127 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1130 { echo "$as_me: error: invalid package name: $ac_package" >&2
1131 { (exit 1); exit 1; }; }
1132 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1133 eval with_$ac_package=no ;;
1136 # Obsolete; use --with-x.
1139 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1140 | --x-incl | --x-inc | --x-in | --x-i)
1141 ac_prev=x_includes ;;
1142 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1143 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1144 x_includes=$ac_optarg ;;
1146 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1147 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1148 ac_prev=x_libraries ;;
1149 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1150 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1151 x_libraries=$ac_optarg ;;
1153 -*) { echo "$as_me: error: unrecognized option: $ac_option
1154 Try \`$0 --help' for more information." >&2
1155 { (exit 1); exit 1; }; }
1159 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1162 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1163 { (exit 1); exit 1; }; }
1164 eval $ac_envvar=\$ac_optarg
1165 export $ac_envvar ;;
1168 # FIXME: should be removed in autoconf 3.0.
1169 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1170 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1171 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1172 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1178 if test -n "$ac_prev"; then
1179 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1180 { echo "$as_me: error: missing argument to $ac_option" >&2
1181 { (exit 1); exit 1; }; }
1184 # Be sure to have absolute directory names.
1185 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1186 datadir sysconfdir sharedstatedir localstatedir includedir \
1187 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1188 libdir localedir mandir
1190 eval ac_val=\$$ac_var
1192 [\\/$]* | ?:[\\/]* ) continue;;
1193 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1196 { (exit 1); exit 1; }; }
1199 # There might be people who depend on the old broken behavior: `$host'
1200 # used to hold the argument of --host etc.
1201 # FIXME: To remove some day.
1204 target=$target_alias
1206 # FIXME: To remove some day.
1207 if test "x$host_alias" != x; then
1208 if test "x$build_alias" = x; then
1209 cross_compiling=maybe
1210 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1211 If a cross compiler is detected then cross compile mode will be used." >&2
1212 elif test "x$build_alias" != "x$host_alias"; then
1218 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1220 test "$silent" = yes && exec 6>/dev/null
1223 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1224 ac_ls_di=`ls -di .` &&
1225 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1226 { echo "$as_me: error: Working directory cannot be determined" >&2
1227 { (exit 1); exit 1; }; }
1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1229 { echo "$as_me: error: pwd does not report name of working directory" >&2
1230 { (exit 1); exit 1; }; }
1233 # Find the source files, if location was not specified.
1234 if test -z "$srcdir"; then
1235 ac_srcdir_defaulted=yes
1236 # Try the directory containing this script, then the parent directory.
1237 ac_confdir=`$as_dirname -- "$0" ||
1238 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1239 X"$0" : 'X\(//\)[^/]' \| \
1240 X"$0" : 'X\(//\)$' \| \
1241 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1265 ac_srcdir_defaulted=no
1267 if test ! -r "$srcdir/$ac_unique_file"; then
1268 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1269 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1270 { (exit 1); exit 1; }; }
1272 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1274 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1275 { (exit 1); exit 1; }; }
1277 # When building in place, set srcdir=.
1278 if test "$ac_abs_confdir" = "$ac_pwd"; then
1281 # Remove unnecessary trailing slashes from srcdir.
1282 # Double slashes in file names in object file debugging info
1283 # mess up M-x gdb in Emacs.
1285 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287 for ac_var in $ac_precious_vars; do
1288 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1289 eval ac_env_${ac_var}_value=\$${ac_var}
1290 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1291 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1295 # Report the --help message.
1297 if test "$ac_init_help" = "long"; then
1298 # Omit some internal or obsolete options to make the list less imposing.
1299 # This message is too long to be a string in the A/UX 3.1 sh.
1301 \`configure' configures Wine 1.1.1 to adapt to many kinds of systems.
1303 Usage: $0 [OPTION]... [VAR=VALUE]...
1305 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1306 VAR=VALUE. See below for descriptions of some of the useful variables.
1308 Defaults for the options are specified in brackets.
1311 -h, --help display this help and exit
1312 --help=short display options specific to this package
1313 --help=recursive display the short help of all the included packages
1314 -V, --version display version information and exit
1315 -q, --quiet, --silent do not print \`checking...' messages
1316 --cache-file=FILE cache test results in FILE [disabled]
1317 -C, --config-cache alias for \`--cache-file=config.cache'
1318 -n, --no-create do not create output files
1319 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1321 Installation directories:
1322 --prefix=PREFIX install architecture-independent files in PREFIX
1323 [$ac_default_prefix]
1324 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1327 By default, \`make install' will install all the files in
1328 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1329 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1330 for instance \`--prefix=\$HOME'.
1332 For better control, use the options below.
1334 Fine tuning of the installation directories:
1335 --bindir=DIR user executables [EPREFIX/bin]
1336 --sbindir=DIR system admin executables [EPREFIX/sbin]
1337 --libexecdir=DIR program executables [EPREFIX/libexec]
1338 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1339 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1340 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1341 --libdir=DIR object code libraries [EPREFIX/lib]
1342 --includedir=DIR C header files [PREFIX/include]
1343 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1344 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1345 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1346 --infodir=DIR info documentation [DATAROOTDIR/info]
1347 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1348 --mandir=DIR man documentation [DATAROOTDIR/man]
1349 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1350 --htmldir=DIR html documentation [DOCDIR]
1351 --dvidir=DIR dvi documentation [DOCDIR]
1352 --pdfdir=DIR pdf documentation [DOCDIR]
1353 --psdir=DIR ps documentation [DOCDIR]
1359 --x-includes=DIR X include files are in DIR
1360 --x-libraries=DIR X library files are in DIR
1363 --build=BUILD configure for building on BUILD [guessed]
1364 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1368 if test -n "$ac_init_help"; then
1369 case $ac_init_help in
1370 short | recursive ) echo "Configuration of Wine 1.1.1:";;
1375 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1376 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1377 --disable-win16 do not include Win16 support
1378 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1380 --enable-maintainer-mode
1381 enable maintainer-specific build rules
1384 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1385 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1386 --without-alsa do not use the Alsa sound support
1387 --without-audioio do not use the AudioIO sound support
1388 --without-capi do not use CAPI (ISDN support)
1389 --without-cms do not use CMS (color management support)
1390 --without-coreaudio do not use the CoreAudio sound support
1391 --without-cups do not use CUPS
1392 --without-curses do not use (n)curses
1393 --without-esd do not use the EsounD sound support
1394 --without-fontconfig do not use fontconfig
1395 --without-freetype do not use the FreeType library
1396 --without-gphoto do not use gphoto (Digital Camera support)
1397 --without-glu do not use the GLU library
1398 --without-hal do not use HAL (dynamic device support)
1399 --without-jack do not use the Jack sound support
1400 --without-jpeg do not use JPEG
1401 --without-ldap do not use LDAP
1402 --without-nas do not use the NAS sound support
1403 --without-opengl do not use OpenGL
1404 --without-openssl do not use OpenSSL
1405 --without-oss do not use the OSS sound support
1406 --without-png do not use PNG
1407 --without-sane do not use SANE (scanner support)
1408 --without-xcomposite do not use the Xcomposite extension
1409 --without-xcursor do not use the Xcursor extension
1410 --without-xinerama do not use Xinerama (multi-monitor support)
1411 --without-xinput do not use the Xinput extension
1412 --without-xml do not use XML
1413 --without-xrandr do not use Xrandr (resolution changes)
1414 --without-xrender do not use the Xrender extension
1415 --without-xshape do not use the Xshape extension
1416 --without-xshm do not use XShm (shared memory extension)
1417 --without-xslt do not use XSLT
1418 --without-xxf86vm do not use XFree video mode extension
1419 --with-wine-tools=DIR use Wine tools from directory DIR
1420 --with-x use the X Window System
1422 Some influential environment variables:
1423 CC C compiler command
1424 CFLAGS C compiler flags
1425 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1426 nonstandard directory <lib dir>
1427 LIBS libraries to pass to the linker, e.g. -l<library>
1428 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1429 you have headers in a nonstandard directory <include dir>
1430 CXX C++ compiler command
1431 CXXFLAGS C++ compiler flags
1432 XMKMF Path to xmkmf, Makefile generator for X Window System
1435 Use these variables to override the choices made by `configure' or to help
1436 it to find libraries and programs with nonstandard names/locations.
1438 Report bugs to <wine-devel@winehq.org>.
1443 if test "$ac_init_help" = "recursive"; then
1444 # If there are subdirs, report their specific --help.
1445 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1446 test -d "$ac_dir" || continue
1450 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1453 # A ".." for each directory in $ac_dir_suffix.
1454 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1455 case $ac_top_builddir_sub in
1456 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1457 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1460 ac_abs_top_builddir=$ac_pwd
1461 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1462 # for backward compatibility:
1463 ac_top_builddir=$ac_top_build_prefix
1466 .) # We are building in place.
1468 ac_top_srcdir=$ac_top_builddir_sub
1469 ac_abs_top_srcdir=$ac_pwd ;;
1470 [\\/]* | ?:[\\/]* ) # Absolute name.
1471 ac_srcdir=$srcdir$ac_dir_suffix;
1472 ac_top_srcdir=$srcdir
1473 ac_abs_top_srcdir=$srcdir ;;
1475 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1476 ac_top_srcdir=$ac_top_build_prefix$srcdir
1477 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1479 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1481 cd "$ac_dir" || { ac_status=$?; continue; }
1482 # Check for guested configure.
1483 if test -f "$ac_srcdir/configure.gnu"; then
1485 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1486 elif test -f "$ac_srcdir/configure"; then
1488 $SHELL "$ac_srcdir/configure" --help=recursive
1490 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1492 cd "$ac_pwd" || { ac_status=$?; break; }
1496 test -n "$ac_init_help" && exit $ac_status
1497 if $ac_init_version; then
1499 Wine configure 1.1.1
1500 generated by GNU Autoconf 2.61
1502 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1503 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1504 This configure script is free software; the Free Software Foundation
1505 gives unlimited permission to copy, distribute and modify it.
1509 cat >config.log <<_ACEOF
1510 This file contains any messages produced by compilers while
1511 running configure, to aid debugging if configure makes a mistake.
1513 It was created by Wine $as_me 1.1.1, which was
1514 generated by GNU Autoconf 2.61. Invocation command line was
1526 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1527 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1528 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1529 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1530 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1532 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1533 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1535 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1536 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1537 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1538 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1539 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1540 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1541 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1549 test -z "$as_dir" && as_dir=.
1550 echo "PATH: $as_dir"
1566 # Keep a trace of the command line.
1567 # Strip out --no-create and --no-recursion so they do not pile up.
1568 # Strip out --silent because we don't want to record it for future runs.
1569 # Also quote any args containing shell meta-characters.
1570 # Make two passes to allow for proper duplicate-argument suppression.
1574 ac_must_keep_next=false
1580 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1581 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1582 | -silent | --silent | --silen | --sile | --sil)
1585 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1588 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1590 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1591 if test $ac_must_keep_next = true; then
1592 ac_must_keep_next=false # Got value, back to normal.
1595 *=* | --config-cache | -C | -disable-* | --disable-* \
1596 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1597 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1598 | -with-* | --with-* | -without-* | --without-* | --x)
1599 case "$ac_configure_args0 " in
1600 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1603 -* ) ac_must_keep_next=true ;;
1606 ac_configure_args="$ac_configure_args '$ac_arg'"
1611 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1612 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1614 # When interrupted or exit'd, cleanup temporary files, and complete
1615 # config.log. We remove comments because anyway the quotes in there
1616 # would cause problems or look ugly.
1617 # WARNING: Use '\'' to represent an apostrophe within the trap.
1618 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1619 trap 'exit_status=$?
1620 # Save into config.log some information that might help in debugging.
1625 ## ---------------- ##
1626 ## Cache variables. ##
1627 ## ---------------- ##
1630 # The following way of writing the cache mishandles newlines in values,
1632 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1633 eval ac_val=\$$ac_var
1637 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1638 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1641 _ | IFS | as_nl) ;; #(
1642 *) $as_unset $ac_var ;;
1647 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1648 *${as_nl}ac_space=\ *)
1650 "s/'\''/'\''\\\\'\'''\''/g;
1651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1654 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1662 ## ----------------- ##
1663 ## Output variables. ##
1664 ## ----------------- ##
1667 for ac_var in $ac_subst_vars
1669 eval ac_val=\$$ac_var
1671 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1673 echo "$ac_var='\''$ac_val'\''"
1677 if test -n "$ac_subst_files"; then
1679 ## ------------------- ##
1680 ## File substitutions. ##
1681 ## ------------------- ##
1684 for ac_var in $ac_subst_files
1686 eval ac_val=\$$ac_var
1688 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1690 echo "$ac_var='\''$ac_val'\''"
1695 if test -s confdefs.h; then
1705 test "$ac_signal" != 0 &&
1706 echo "$as_me: caught signal $ac_signal"
1707 echo "$as_me: exit $exit_status"
1709 rm -f core *.core core.conftest.* &&
1710 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1713 for ac_signal in 1 2 13 15; do
1714 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1718 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1719 rm -f -r conftest* confdefs.h
1721 # Predefined preprocessor variables.
1723 cat >>confdefs.h <<_ACEOF
1724 #define PACKAGE_NAME "$PACKAGE_NAME"
1728 cat >>confdefs.h <<_ACEOF
1729 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1733 cat >>confdefs.h <<_ACEOF
1734 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1738 cat >>confdefs.h <<_ACEOF
1739 #define PACKAGE_STRING "$PACKAGE_STRING"
1743 cat >>confdefs.h <<_ACEOF
1744 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1748 # Let the site file select an alternate cache file if it wants to.
1749 # Prefer explicitly selected file to automatically selected ones.
1750 if test -n "$CONFIG_SITE"; then
1751 set x "$CONFIG_SITE"
1752 elif test "x$prefix" != xNONE; then
1753 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1755 set x "$ac_default_prefix/share/config.site" \
1756 "$ac_default_prefix/etc/config.site"
1761 if test -r "$ac_site_file"; then
1762 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1763 echo "$as_me: loading site script $ac_site_file" >&6;}
1764 sed 's/^/| /' "$ac_site_file" >&5
1769 if test -r "$cache_file"; then
1770 # Some versions of bash will fail to source /dev/null (special
1771 # files actually), so we avoid doing that.
1772 if test -f "$cache_file"; then
1773 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1774 echo "$as_me: loading cache $cache_file" >&6;}
1776 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1777 *) . "./$cache_file";;
1781 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1782 echo "$as_me: creating cache $cache_file" >&6;}
1786 # Check that the precious variables saved in the cache have kept the same
1788 ac_cache_corrupted=false
1789 for ac_var in $ac_precious_vars; do
1790 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1791 eval ac_new_set=\$ac_env_${ac_var}_set
1792 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1793 eval ac_new_val=\$ac_env_${ac_var}_value
1794 case $ac_old_set,$ac_new_set in
1796 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1797 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1798 ac_cache_corrupted=: ;;
1800 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1801 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1802 ac_cache_corrupted=: ;;
1805 if test "x$ac_old_val" != "x$ac_new_val"; then
1806 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1807 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1808 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1809 echo "$as_me: former value: $ac_old_val" >&2;}
1810 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1811 echo "$as_me: current value: $ac_new_val" >&2;}
1812 ac_cache_corrupted=:
1815 # Pass precious variables to config.status.
1816 if test "$ac_new_set" = set; then
1818 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1819 *) ac_arg=$ac_var=$ac_new_val ;;
1821 case " $ac_configure_args " in
1822 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1823 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1827 if $ac_cache_corrupted; then
1828 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1829 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1830 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1831 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1832 { (exit 1); exit 1; }; }
1860 ac_cpp='$CPP $CPPFLAGS'
1861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1867 ac_config_headers="$ac_config_headers include/config.h"
1870 for ac_dir in tools "$srcdir"/tools; do
1871 if test -f "$ac_dir/install-sh"; then
1873 ac_install_sh="$ac_aux_dir/install-sh -c"
1875 elif test -f "$ac_dir/install.sh"; then
1877 ac_install_sh="$ac_aux_dir/install.sh -c"
1879 elif test -f "$ac_dir/shtool"; then
1881 ac_install_sh="$ac_aux_dir/shtool install -c"
1885 if test -z "$ac_aux_dir"; then
1886 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1887 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1888 { (exit 1); exit 1; }; }
1891 # These three variables are undocumented and unsupported,
1892 # and are intended to be withdrawn in a future Autoconf release.
1893 # They can cause serious problems if a builder's source tree is in a directory
1894 # whose full name contains unusual characters.
1895 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1896 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1897 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1902 # Check whether --enable-win16 was given.
1903 if test "${enable_win16+set}" = set; then
1904 enableval=$enable_win16;
1907 # Check whether --enable-win64 was given.
1908 if test "${enable_win64+set}" = set; then
1909 enableval=$enable_win64;
1912 # Check whether --enable-maintainer-mode was given.
1913 if test "${enable_maintainer_mode+set}" = set; then
1914 enableval=$enable_maintainer_mode;
1922 # Check whether --with-alsa was given.
1923 if test "${with_alsa+set}" = set; then
1924 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1928 # Check whether --with-audioio was given.
1929 if test "${with_audioio+set}" = set; then
1930 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1934 # Check whether --with-capi was given.
1935 if test "${with_capi+set}" = set; then
1936 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1940 # Check whether --with-cms was given.
1941 if test "${with_cms+set}" = set; then
1942 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1946 # Check whether --with-coreaudio was given.
1947 if test "${with_coreaudio+set}" = set; then
1948 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1952 # Check whether --with-cups was given.
1953 if test "${with_cups+set}" = set; then
1958 # Check whether --with-curses was given.
1959 if test "${with_curses+set}" = set; then
1960 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1964 # Check whether --with-esd was given.
1965 if test "${with_esd+set}" = set; then
1970 # Check whether --with-fontconfig was given.
1971 if test "${with_fontconfig+set}" = set; then
1972 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1976 # Check whether --with-freetype was given.
1977 if test "${with_freetype+set}" = set; then
1978 withval=$with_freetype;
1982 # Check whether --with-gphoto was given.
1983 if test "${with_gphoto+set}" = set; then
1984 withval=$with_gphoto;
1988 # Check whether --with-glu was given.
1989 if test "${with_glu+set}" = set; then
1990 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
1994 # Check whether --with-hal was given.
1995 if test "${with_hal+set}" = set; then
2000 # Check whether --with-jack was given.
2001 if test "${with_jack+set}" = set; then
2002 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2006 # Check whether --with-jpeg was given.
2007 if test "${with_jpeg+set}" = set; then
2008 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2012 # Check whether --with-ldap was given.
2013 if test "${with_ldap+set}" = set; then
2014 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2018 # Check whether --with-nas was given.
2019 if test "${with_nas+set}" = set; then
2020 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2024 # Check whether --with-opengl was given.
2025 if test "${with_opengl+set}" = set; then
2026 withval=$with_opengl;
2030 # Check whether --with-openssl was given.
2031 if test "${with_openssl+set}" = set; then
2032 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2036 # Check whether --with-oss was given.
2037 if test "${with_oss+set}" = set; then
2038 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
2042 # Check whether --with-png was given.
2043 if test "${with_png+set}" = set; then
2044 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2048 # Check whether --with-sane was given.
2049 if test "${with_sane+set}" = set; then
2054 # Check whether --with-xcomposite was given.
2055 if test "${with_xcomposite+set}" = set; then
2056 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2060 # Check whether --with-xcursor was given.
2061 if test "${with_xcursor+set}" = set; then
2062 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2066 # Check whether --with-xinerama was given.
2067 if test "${with_xinerama+set}" = set; then
2068 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2072 # Check whether --with-xinput was given.
2073 if test "${with_xinput+set}" = set; then
2074 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2078 # Check whether --with-xml was given.
2079 if test "${with_xml+set}" = set; then
2084 # Check whether --with-xrandr was given.
2085 if test "${with_xrandr+set}" = set; then
2086 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2090 # Check whether --with-xrender was given.
2091 if test "${with_xrender+set}" = set; then
2092 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2096 # Check whether --with-xshape was given.
2097 if test "${with_xshape+set}" = set; then
2098 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2102 # Check whether --with-xshm was given.
2103 if test "${with_xshm+set}" = set; then
2104 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2108 # Check whether --with-xslt was given.
2109 if test "${with_xslt+set}" = set; then
2114 # Check whether --with-xxf86vm was given.
2115 if test "${with_xxf86vm+set}" = set; then
2116 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2121 # Check whether --with-wine-tools was given.
2122 if test "${with_wine_tools+set}" = set; then
2123 withval=$with_wine_tools;
2127 # Make sure we can run config.sub.
2128 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2129 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2130 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2131 { (exit 1); exit 1; }; }
2133 { echo "$as_me:$LINENO: checking build system type" >&5
2134 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2135 if test "${ac_cv_build+set}" = set; then
2136 echo $ECHO_N "(cached) $ECHO_C" >&6
2138 ac_build_alias=$build_alias
2139 test "x$ac_build_alias" = x &&
2140 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2141 test "x$ac_build_alias" = x &&
2142 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2143 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2144 { (exit 1); exit 1; }; }
2145 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2146 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2147 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2148 { (exit 1); exit 1; }; }
2151 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2152 echo "${ECHO_T}$ac_cv_build" >&6; }
2153 case $ac_cv_build in
2155 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2156 echo "$as_me: error: invalid value of canonical build" >&2;}
2157 { (exit 1); exit 1; }; };;
2160 ac_save_IFS=$IFS; IFS='-'
2166 # Remember, the first character of IFS is used to create $*,
2167 # except with old shells:
2170 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2173 { echo "$as_me:$LINENO: checking host system type" >&5
2174 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2175 if test "${ac_cv_host+set}" = set; then
2176 echo $ECHO_N "(cached) $ECHO_C" >&6
2178 if test "x$host_alias" = x; then
2179 ac_cv_host=$ac_cv_build
2181 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2182 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2183 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2184 { (exit 1); exit 1; }; }
2188 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2189 echo "${ECHO_T}$ac_cv_host" >&6; }
2192 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2193 echo "$as_me: error: invalid value of canonical host" >&2;}
2194 { (exit 1); exit 1; }; };;
2197 ac_save_IFS=$IFS; IFS='-'
2203 # Remember, the first character of IFS is used to create $*,
2204 # except with old shells:
2207 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2212 if test "x$enable_win64" != "xyes"
2214 test -n "$CC" || CC="gcc -m32"
2215 test -n "$CXX"|| CXX="g++ -m32"
2216 test -n "$LD" || LD="ld -m elf_i386"
2217 test -n "$AS" || AS="as --32"
2225 if test "x$enable_win16" != "xno"
2232 WIN16_FILES="\$(WIN16_FILES)"
2234 WIN16_INSTALL="\$(WIN16_INSTALL)"
2236 if test "x$enable_win16" != "xyes"
2244 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2245 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2246 You need to run 'make distclean' in the source tree first." >&5
2247 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2248 You need to run 'make distclean' in the source tree first." >&2;}
2249 { (exit 1); exit 1; }; }
2254 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2255 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2256 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2257 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 cat >conftest.make <<\_ACEOF
2263 @echo '@@@%%%=$(MAKE)=@@@%%%'
2265 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2266 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2268 eval ac_cv_prog_make_${ac_make}_set=yes;;
2270 eval ac_cv_prog_make_${ac_make}_set=no;;
2274 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2275 { echo "$as_me:$LINENO: result: yes" >&5
2276 echo "${ECHO_T}yes" >&6; }
2279 { echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6; }
2281 SET_MAKE="MAKE=${MAKE-make}"
2285 ac_cpp='$CPP $CPPFLAGS'
2286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2289 if test -n "$ac_tool_prefix"; then
2290 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2291 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2294 if test "${ac_cv_prog_CC+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 if test -n "$CC"; then
2298 ac_cv_prog_CC="$CC" # Let the user override the test.
2300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir=.
2305 for ac_exec_ext in '' $ac_executable_extensions; do
2306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2307 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 if test -n "$CC"; then
2319 { echo "$as_me:$LINENO: result: $CC" >&5
2320 echo "${ECHO_T}$CC" >&6; }
2322 { echo "$as_me:$LINENO: result: no" >&5
2323 echo "${ECHO_T}no" >&6; }
2328 if test -z "$ac_cv_prog_CC"; then
2330 # Extract the first word of "gcc", so it can be a program name with args.
2331 set dummy gcc; ac_word=$2
2332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2334 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2335 echo $ECHO_N "(cached) $ECHO_C" >&6
2337 if test -n "$ac_ct_CC"; then
2338 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344 test -z "$as_dir" && as_dir=.
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2347 ac_cv_prog_ac_ct_CC="gcc"
2348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2357 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2358 if test -n "$ac_ct_CC"; then
2359 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2360 echo "${ECHO_T}$ac_ct_CC" >&6; }
2362 { echo "$as_me:$LINENO: result: no" >&5
2363 echo "${ECHO_T}no" >&6; }
2366 if test "x$ac_ct_CC" = x; then
2369 case $cross_compiling:$ac_tool_warned in
2371 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2372 whose name does not start with the host triplet. If you think this
2373 configuration is useful to you, please write to autoconf@gnu.org." >&5
2374 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2375 whose name does not start with the host triplet. If you think this
2376 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2377 ac_tool_warned=yes ;;
2385 if test -z "$CC"; then
2386 if test -n "$ac_tool_prefix"; then
2387 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2388 set dummy ${ac_tool_prefix}cc; ac_word=$2
2389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2391 if test "${ac_cv_prog_CC+set}" = set; then
2392 echo $ECHO_N "(cached) $ECHO_C" >&6
2394 if test -n "$CC"; then
2395 ac_cv_prog_CC="$CC" # Let the user override the test.
2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401 test -z "$as_dir" && as_dir=.
2402 for ac_exec_ext in '' $ac_executable_extensions; do
2403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2404 ac_cv_prog_CC="${ac_tool_prefix}cc"
2405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2415 if test -n "$CC"; then
2416 { echo "$as_me:$LINENO: result: $CC" >&5
2417 echo "${ECHO_T}$CC" >&6; }
2419 { echo "$as_me:$LINENO: result: no" >&5
2420 echo "${ECHO_T}no" >&6; }
2426 if test -z "$CC"; then
2427 # Extract the first word of "cc", so it can be a program name with args.
2428 set dummy cc; ac_word=$2
2429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2431 if test "${ac_cv_prog_CC+set}" = set; then
2432 echo $ECHO_N "(cached) $ECHO_C" >&6
2434 if test -n "$CC"; then
2435 ac_cv_prog_CC="$CC" # Let the user override the test.
2438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2442 test -z "$as_dir" && as_dir=.
2443 for ac_exec_ext in '' $ac_executable_extensions; do
2444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2445 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2446 ac_prog_rejected=yes
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2457 if test $ac_prog_rejected = yes; then
2458 # We found a bogon in the path, so make sure we never use it.
2459 set dummy $ac_cv_prog_CC
2461 if test $# != 0; then
2462 # We chose a different compiler from the bogus one.
2463 # However, it has the same basename, so the bogon will be chosen
2464 # first if we set CC to just the basename; use the full file name.
2466 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2472 if test -n "$CC"; then
2473 { echo "$as_me:$LINENO: result: $CC" >&5
2474 echo "${ECHO_T}$CC" >&6; }
2476 { echo "$as_me:$LINENO: result: no" >&5
2477 echo "${ECHO_T}no" >&6; }
2482 if test -z "$CC"; then
2483 if test -n "$ac_tool_prefix"; then
2484 for ac_prog in cl.exe
2486 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2487 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2490 if test "${ac_cv_prog_CC+set}" = set; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 if test -n "$CC"; then
2494 ac_cv_prog_CC="$CC" # Let the user override the test.
2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2500 test -z "$as_dir" && as_dir=.
2501 for ac_exec_ext in '' $ac_executable_extensions; do
2502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2503 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2514 if test -n "$CC"; then
2515 { echo "$as_me:$LINENO: result: $CC" >&5
2516 echo "${ECHO_T}$CC" >&6; }
2518 { echo "$as_me:$LINENO: result: no" >&5
2519 echo "${ECHO_T}no" >&6; }
2523 test -n "$CC" && break
2526 if test -z "$CC"; then
2528 for ac_prog in cl.exe
2530 # Extract the first word of "$ac_prog", so it can be a program name with args.
2531 set dummy $ac_prog; ac_word=$2
2532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2534 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2537 if test -n "$ac_ct_CC"; then
2538 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2544 test -z "$as_dir" && as_dir=.
2545 for ac_exec_ext in '' $ac_executable_extensions; do
2546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547 ac_cv_prog_ac_ct_CC="$ac_prog"
2548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2557 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2558 if test -n "$ac_ct_CC"; then
2559 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2560 echo "${ECHO_T}$ac_ct_CC" >&6; }
2562 { echo "$as_me:$LINENO: result: no" >&5
2563 echo "${ECHO_T}no" >&6; }
2567 test -n "$ac_ct_CC" && break
2570 if test "x$ac_ct_CC" = x; then
2573 case $cross_compiling:$ac_tool_warned in
2575 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2576 whose name does not start with the host triplet. If you think this
2577 configuration is useful to you, please write to autoconf@gnu.org." >&5
2578 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2579 whose name does not start with the host triplet. If you think this
2580 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2581 ac_tool_warned=yes ;;
2590 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2591 See \`config.log' for more details." >&5
2592 echo "$as_me: error: no acceptable C compiler found in \$PATH
2593 See \`config.log' for more details." >&2;}
2594 { (exit 1); exit 1; }; }
2596 # Provide some information about the compiler.
2597 echo "$as_me:$LINENO: checking for C compiler version" >&5
2598 ac_compiler=`set X $ac_compile; echo $2`
2599 { (ac_try="$ac_compiler --version >&5"
2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2605 (eval "$ac_compiler --version >&5") 2>&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }
2609 { (ac_try="$ac_compiler -v >&5"
2611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2612 *) ac_try_echo=$ac_try;;
2614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2615 (eval "$ac_compiler -v >&5") 2>&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); }
2619 { (ac_try="$ac_compiler -V >&5"
2621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2625 (eval "$ac_compiler -V >&5") 2>&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }
2630 cat >conftest.$ac_ext <<_ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2645 ac_clean_files_save=$ac_clean_files
2646 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2647 # Try to create an executable without -o first, disregard a.out.
2648 # It will help us diagnose broken compilers, and finding out an intuition
2650 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2651 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2652 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2654 # List of possible output files, starting from the most likely.
2655 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2656 # only as a last resort. b.out is created by i960 compilers.
2657 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2659 # The IRIX 6 linker writes into existing files which may not be
2660 # executable, retaining their permissions. Remove them first so a
2661 # subsequent execution test works.
2663 for ac_file in $ac_files
2666 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2667 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2672 if { (ac_try="$ac_link_default"
2674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2678 (eval "$ac_link_default") 2>&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }; then
2682 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2683 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2684 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2685 # so that the user can short-circuit this test for compilers unknown to
2687 for ac_file in $ac_files ''
2689 test -f "$ac_file" || continue
2691 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2694 # We found the default executable, but exeext='' is most
2698 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2700 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2702 # We set ac_cv_exeext here because the later test for it is not
2703 # safe: cross compilers may not add the suffix if given an `-o'
2704 # argument, so we may need to know it at that point already.
2705 # Even if this section looks crufty: it has the advantage of
2712 test "$ac_cv_exeext" = no && ac_cv_exeext=
2718 { echo "$as_me:$LINENO: result: $ac_file" >&5
2719 echo "${ECHO_T}$ac_file" >&6; }
2720 if test -z "$ac_file"; then
2721 echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.$ac_ext >&5
2724 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2725 See \`config.log' for more details." >&5
2726 echo "$as_me: error: C compiler cannot create executables
2727 See \`config.log' for more details." >&2;}
2728 { (exit 77); exit 77; }; }
2731 ac_exeext=$ac_cv_exeext
2733 # Check that the compiler produces executables we can run. If not, either
2734 # the compiler is broken, or we cross compile.
2735 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2736 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2737 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2738 # If not cross compiling, check that we can run a simple program.
2739 if test "$cross_compiling" != yes; then
2740 if { ac_try='./$ac_file'
2741 { (case "(($ac_try" in
2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2743 *) ac_try_echo=$ac_try;;
2745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2746 (eval "$ac_try") 2>&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; }; then
2752 if test "$cross_compiling" = maybe; then
2755 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2756 If you meant to cross compile, use \`--host'.
2757 See \`config.log' for more details." >&5
2758 echo "$as_me: error: cannot run C compiled programs.
2759 If you meant to cross compile, use \`--host'.
2760 See \`config.log' for more details." >&2;}
2761 { (exit 1); exit 1; }; }
2765 { echo "$as_me:$LINENO: result: yes" >&5
2766 echo "${ECHO_T}yes" >&6; }
2768 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2769 ac_clean_files=$ac_clean_files_save
2770 # Check that the compiler produces executables we can run. If not, either
2771 # the compiler is broken, or we cross compile.
2772 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2773 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2774 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2775 echo "${ECHO_T}$cross_compiling" >&6; }
2777 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2778 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2779 if { (ac_try="$ac_link"
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2785 (eval "$ac_link") 2>&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; then
2789 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2790 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2791 # work properly (i.e., refer to `conftest.exe'), while it won't with
2793 for ac_file in conftest.exe conftest conftest.*; do
2794 test -f "$ac_file" || continue
2796 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2797 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2803 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2804 See \`config.log' for more details." >&5
2805 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2806 See \`config.log' for more details." >&2;}
2807 { (exit 1); exit 1; }; }
2810 rm -f conftest$ac_cv_exeext
2811 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2812 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2814 rm -f conftest.$ac_ext
2815 EXEEXT=$ac_cv_exeext
2817 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2818 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2819 if test "${ac_cv_objext+set}" = set; then
2820 echo $ECHO_N "(cached) $ECHO_C" >&6
2822 cat >conftest.$ac_ext <<_ACEOF
2825 cat confdefs.h >>conftest.$ac_ext
2826 cat >>conftest.$ac_ext <<_ACEOF
2827 /* end confdefs.h. */
2837 rm -f conftest.o conftest.obj
2838 if { (ac_try="$ac_compile"
2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2841 *) ac_try_echo=$ac_try;;
2843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2844 (eval "$ac_compile") 2>&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; then
2848 for ac_file in conftest.o conftest.obj conftest.*; do
2849 test -f "$ac_file" || continue;
2851 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2852 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2857 echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2860 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2861 See \`config.log' for more details." >&5
2862 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2863 See \`config.log' for more details." >&2;}
2864 { (exit 1); exit 1; }; }
2867 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2869 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2870 echo "${ECHO_T}$ac_cv_objext" >&6; }
2871 OBJEXT=$ac_cv_objext
2873 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2874 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2875 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 cat >conftest.$ac_ext <<_ACEOF
2881 cat confdefs.h >>conftest.$ac_ext
2882 cat >>conftest.$ac_ext <<_ACEOF
2883 /* end confdefs.h. */
2896 rm -f conftest.$ac_objext
2897 if { (ac_try="$ac_compile"
2899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900 *) ac_try_echo=$ac_try;;
2902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2903 (eval "$ac_compile") 2>conftest.er1
2905 grep -v '^ *+' conftest.er1 >conftest.err
2907 cat conftest.err >&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); } && {
2910 test -z "$ac_c_werror_flag" ||
2911 test ! -s conftest.err
2912 } && test -s conftest.$ac_objext; then
2915 echo "$as_me: failed program was:" >&5
2916 sed 's/^/| /' conftest.$ac_ext >&5
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2925 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2926 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2927 GCC=`test $ac_compiler_gnu = yes && echo yes`
2928 ac_test_CFLAGS=${CFLAGS+set}
2929 ac_save_CFLAGS=$CFLAGS
2930 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2931 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2932 if test "${ac_cv_prog_cc_g+set}" = set; then
2933 echo $ECHO_N "(cached) $ECHO_C" >&6
2935 ac_save_c_werror_flag=$ac_c_werror_flag
2936 ac_c_werror_flag=yes
2939 cat >conftest.$ac_ext <<_ACEOF
2942 cat confdefs.h >>conftest.$ac_ext
2943 cat >>conftest.$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2954 rm -f conftest.$ac_objext
2955 if { (ac_try="$ac_compile"
2957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2958 *) ac_try_echo=$ac_try;;
2960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2961 (eval "$ac_compile") 2>conftest.er1
2963 grep -v '^ *+' conftest.er1 >conftest.err
2965 cat conftest.err >&5
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 (exit $ac_status); } && {
2968 test -z "$ac_c_werror_flag" ||
2969 test ! -s conftest.err
2970 } && test -s conftest.$ac_objext; then
2973 echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.$ac_ext >&5
2977 cat >conftest.$ac_ext <<_ACEOF
2980 cat confdefs.h >>conftest.$ac_ext
2981 cat >>conftest.$ac_ext <<_ACEOF
2982 /* end confdefs.h. */
2992 rm -f conftest.$ac_objext
2993 if { (ac_try="$ac_compile"
2995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2996 *) ac_try_echo=$ac_try;;
2998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2999 (eval "$ac_compile") 2>conftest.er1
3001 grep -v '^ *+' conftest.er1 >conftest.err
3003 cat conftest.err >&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); } && {
3006 test -z "$ac_c_werror_flag" ||
3007 test ! -s conftest.err
3008 } && test -s conftest.$ac_objext; then
3011 echo "$as_me: failed program was:" >&5
3012 sed 's/^/| /' conftest.$ac_ext >&5
3014 ac_c_werror_flag=$ac_save_c_werror_flag
3016 cat >conftest.$ac_ext <<_ACEOF
3019 cat confdefs.h >>conftest.$ac_ext
3020 cat >>conftest.$ac_ext <<_ACEOF
3021 /* end confdefs.h. */
3031 rm -f conftest.$ac_objext
3032 if { (ac_try="$ac_compile"
3034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3035 *) ac_try_echo=$ac_try;;
3037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3038 (eval "$ac_compile") 2>conftest.er1
3040 grep -v '^ *+' conftest.er1 >conftest.err
3042 cat conftest.err >&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); } && {
3045 test -z "$ac_c_werror_flag" ||
3046 test ! -s conftest.err
3047 } && test -s conftest.$ac_objext; then
3050 echo "$as_me: failed program was:" >&5
3051 sed 's/^/| /' conftest.$ac_ext >&5
3056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3063 ac_c_werror_flag=$ac_save_c_werror_flag
3065 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3066 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3067 if test "$ac_test_CFLAGS" = set; then
3068 CFLAGS=$ac_save_CFLAGS
3069 elif test $ac_cv_prog_cc_g = yes; then
3070 if test "$GCC" = yes; then
3076 if test "$GCC" = yes; then
3082 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3083 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3084 if test "${ac_cv_prog_cc_c89+set}" = set; then
3085 echo $ECHO_N "(cached) $ECHO_C" >&6
3087 ac_cv_prog_cc_c89=no
3089 cat >conftest.$ac_ext <<_ACEOF
3092 cat confdefs.h >>conftest.$ac_ext
3093 cat >>conftest.$ac_ext <<_ACEOF
3094 /* end confdefs.h. */
3097 #include <sys/types.h>
3098 #include <sys/stat.h>
3099 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3100 struct buf { int x; };
3101 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3102 static char *e (p, i)
3108 static char *f (char * (*g) (char **, int), char **p, ...)
3113 s = g (p, va_arg (v,int));
3118 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3119 function prototypes and stuff, but not '\xHH' hex character constants.
3120 These don't provoke an error unfortunately, instead are silently treated
3121 as 'x'. The following induces an error, until -std is added to get
3122 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3123 array size at least. It's necessary to write '\x00'==0 to get something
3124 that's true only with -std. */
3125 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3127 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3128 inside strings and character constants. */
3130 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3132 int test (int i, double x);
3133 struct s1 {int (*f) (int a);};
3134 struct s2 {int (*f) (double a);};
3135 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3141 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3146 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3147 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3149 CC="$ac_save_CC $ac_arg"
3150 rm -f conftest.$ac_objext
3151 if { (ac_try="$ac_compile"
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3157 (eval "$ac_compile") 2>conftest.er1
3159 grep -v '^ *+' conftest.er1 >conftest.err
3161 cat conftest.err >&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } && {
3164 test -z "$ac_c_werror_flag" ||
3165 test ! -s conftest.err
3166 } && test -s conftest.$ac_objext; then
3167 ac_cv_prog_cc_c89=$ac_arg
3169 echo "$as_me: failed program was:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3175 rm -f core conftest.err conftest.$ac_objext
3176 test "x$ac_cv_prog_cc_c89" != "xno" && break
3178 rm -f conftest.$ac_ext
3183 case "x$ac_cv_prog_cc_c89" in
3185 { echo "$as_me:$LINENO: result: none needed" >&5
3186 echo "${ECHO_T}none needed" >&6; } ;;
3188 { echo "$as_me:$LINENO: result: unsupported" >&5
3189 echo "${ECHO_T}unsupported" >&6; } ;;
3191 CC="$CC $ac_cv_prog_cc_c89"
3192 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3193 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3198 ac_cpp='$CPP $CPPFLAGS'
3199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3204 ac_cpp='$CXXCPP $CPPFLAGS'
3205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3208 if test -z "$CXX"; then
3209 if test -n "$CCC"; then
3212 if test -n "$ac_tool_prefix"; then
3213 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3215 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3216 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3219 if test "${ac_cv_prog_CXX+set}" = set; then
3220 echo $ECHO_N "(cached) $ECHO_C" >&6
3222 if test -n "$CXX"; then
3223 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3229 test -z "$as_dir" && as_dir=.
3230 for ac_exec_ext in '' $ac_executable_extensions; do
3231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3232 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3243 if test -n "$CXX"; then
3244 { echo "$as_me:$LINENO: result: $CXX" >&5
3245 echo "${ECHO_T}$CXX" >&6; }
3247 { echo "$as_me:$LINENO: result: no" >&5
3248 echo "${ECHO_T}no" >&6; }
3252 test -n "$CXX" && break
3255 if test -z "$CXX"; then
3257 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3259 # Extract the first word of "$ac_prog", so it can be a program name with args.
3260 set dummy $ac_prog; ac_word=$2
3261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3263 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3264 echo $ECHO_N "(cached) $ECHO_C" >&6
3266 if test -n "$ac_ct_CXX"; then
3267 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276 ac_cv_prog_ac_ct_CXX="$ac_prog"
3277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3286 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3287 if test -n "$ac_ct_CXX"; then
3288 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3289 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3291 { echo "$as_me:$LINENO: result: no" >&5
3292 echo "${ECHO_T}no" >&6; }
3296 test -n "$ac_ct_CXX" && break
3299 if test "x$ac_ct_CXX" = x; then
3302 case $cross_compiling:$ac_tool_warned in
3304 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3305 whose name does not start with the host triplet. If you think this
3306 configuration is useful to you, please write to autoconf@gnu.org." >&5
3307 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3308 whose name does not start with the host triplet. If you think this
3309 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3310 ac_tool_warned=yes ;;
3318 # Provide some information about the compiler.
3319 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3320 ac_compiler=`set X $ac_compile; echo $2`
3321 { (ac_try="$ac_compiler --version >&5"
3323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3327 (eval "$ac_compiler --version >&5") 2>&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); }
3331 { (ac_try="$ac_compiler -v >&5"
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3337 (eval "$ac_compiler -v >&5") 2>&5
3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340 (exit $ac_status); }
3341 { (ac_try="$ac_compiler -V >&5"
3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344 *) ac_try_echo=$ac_try;;
3346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3347 (eval "$ac_compiler -V >&5") 2>&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }
3352 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3353 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3354 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3355 echo $ECHO_N "(cached) $ECHO_C" >&6
3357 cat >conftest.$ac_ext <<_ACEOF
3360 cat confdefs.h >>conftest.$ac_ext
3361 cat >>conftest.$ac_ext <<_ACEOF
3362 /* end confdefs.h. */
3375 rm -f conftest.$ac_objext
3376 if { (ac_try="$ac_compile"
3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3382 (eval "$ac_compile") 2>conftest.er1
3384 grep -v '^ *+' conftest.er1 >conftest.err
3386 cat conftest.err >&5
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); } && {
3389 test -z "$ac_cxx_werror_flag" ||
3390 test ! -s conftest.err
3391 } && test -s conftest.$ac_objext; then
3394 echo "$as_me: failed program was:" >&5
3395 sed 's/^/| /' conftest.$ac_ext >&5
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3404 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3405 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3406 GXX=`test $ac_compiler_gnu = yes && echo yes`
3407 ac_test_CXXFLAGS=${CXXFLAGS+set}
3408 ac_save_CXXFLAGS=$CXXFLAGS
3409 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3410 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3411 if test "${ac_cv_prog_cxx_g+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3414 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3415 ac_cxx_werror_flag=yes
3418 cat >conftest.$ac_ext <<_ACEOF
3421 cat confdefs.h >>conftest.$ac_ext
3422 cat >>conftest.$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3433 rm -f conftest.$ac_objext
3434 if { (ac_try="$ac_compile"
3436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3437 *) ac_try_echo=$ac_try;;
3439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3440 (eval "$ac_compile") 2>conftest.er1
3442 grep -v '^ *+' conftest.er1 >conftest.err
3444 cat conftest.err >&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); } && {
3447 test -z "$ac_cxx_werror_flag" ||
3448 test ! -s conftest.err
3449 } && test -s conftest.$ac_objext; then
3450 ac_cv_prog_cxx_g=yes
3452 echo "$as_me: failed program was:" >&5
3453 sed 's/^/| /' conftest.$ac_ext >&5
3456 cat >conftest.$ac_ext <<_ACEOF
3459 cat confdefs.h >>conftest.$ac_ext
3460 cat >>conftest.$ac_ext <<_ACEOF
3461 /* end confdefs.h. */
3471 rm -f conftest.$ac_objext
3472 if { (ac_try="$ac_compile"
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3478 (eval "$ac_compile") 2>conftest.er1
3480 grep -v '^ *+' conftest.er1 >conftest.err
3482 cat conftest.err >&5
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); } && {
3485 test -z "$ac_cxx_werror_flag" ||
3486 test ! -s conftest.err
3487 } && test -s conftest.$ac_objext; then
3490 echo "$as_me: failed program was:" >&5
3491 sed 's/^/| /' conftest.$ac_ext >&5
3493 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3495 cat >conftest.$ac_ext <<_ACEOF
3498 cat confdefs.h >>conftest.$ac_ext
3499 cat >>conftest.$ac_ext <<_ACEOF
3500 /* end confdefs.h. */
3510 rm -f conftest.$ac_objext
3511 if { (ac_try="$ac_compile"
3513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3514 *) ac_try_echo=$ac_try;;
3516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3517 (eval "$ac_compile") 2>conftest.er1
3519 grep -v '^ *+' conftest.er1 >conftest.err
3521 cat conftest.err >&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); } && {
3524 test -z "$ac_cxx_werror_flag" ||
3525 test ! -s conftest.err
3526 } && test -s conftest.$ac_objext; then
3527 ac_cv_prog_cxx_g=yes
3529 echo "$as_me: failed program was:" >&5
3530 sed 's/^/| /' conftest.$ac_ext >&5
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3542 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3544 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3545 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3546 if test "$ac_test_CXXFLAGS" = set; then
3547 CXXFLAGS=$ac_save_CXXFLAGS
3548 elif test $ac_cv_prog_cxx_g = yes; then
3549 if test "$GXX" = yes; then
3555 if test "$GXX" = yes; then
3562 ac_cpp='$CPP $CPPFLAGS'
3563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3567 if test -n "$ac_tool_prefix"; then
3568 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3569 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3572 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3573 echo $ECHO_N "(cached) $ECHO_C" >&6
3575 if test -n "$CPPBIN"; then
3576 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3582 test -z "$as_dir" && as_dir=.
3583 for ac_exec_ext in '' $ac_executable_extensions; do
3584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3585 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3595 CPPBIN=$ac_cv_prog_CPPBIN
3596 if test -n "$CPPBIN"; then
3597 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3598 echo "${ECHO_T}$CPPBIN" >&6; }
3600 { echo "$as_me:$LINENO: result: no" >&5
3601 echo "${ECHO_T}no" >&6; }
3606 if test -z "$ac_cv_prog_CPPBIN"; then
3607 ac_ct_CPPBIN=$CPPBIN
3608 # Extract the first word of "cpp", so it can be a program name with args.
3609 set dummy cpp; ac_word=$2
3610 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3612 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3613 echo $ECHO_N "(cached) $ECHO_C" >&6
3615 if test -n "$ac_ct_CPPBIN"; then
3616 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3622 test -z "$as_dir" && as_dir=.
3623 for ac_exec_ext in '' $ac_executable_extensions; do
3624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625 ac_cv_prog_ac_ct_CPPBIN="cpp"
3626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3635 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3636 if test -n "$ac_ct_CPPBIN"; then
3637 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3638 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3640 { echo "$as_me:$LINENO: result: no" >&5
3641 echo "${ECHO_T}no" >&6; }
3644 if test "x$ac_ct_CPPBIN" = x; then
3647 case $cross_compiling:$ac_tool_warned in
3649 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3650 whose name does not start with the host triplet. If you think this
3651 configuration is useful to you, please write to autoconf@gnu.org." >&5
3652 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3653 whose name does not start with the host triplet. If you think this
3654 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3655 ac_tool_warned=yes ;;
3657 CPPBIN=$ac_ct_CPPBIN
3660 CPPBIN="$ac_cv_prog_CPPBIN"
3664 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3665 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3666 if test "${wine_cv_toolsdir+set}" = set; then
3667 echo $ECHO_N "(cached) $ECHO_C" >&6
3669 if test -z "$with_wine_tools"; then
3670 if test "$cross_compiling" = "yes"; then
3671 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3672 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3673 { (exit 1); exit 1; }; }
3675 wine_cv_toolsdir="\$(TOPOBJDIR)"
3677 elif test -d "$with_wine_tools/tools/winebuild"; then
3678 case $with_wine_tools in
3679 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3680 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3683 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3684 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3685 { (exit 1); exit 1; }; }
3688 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3689 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3690 TOOLSDIR=$wine_cv_toolsdir
3695 ac_cpp='$CPP $CPPFLAGS'
3696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3699 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3700 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3701 # On Suns, sometimes $CPP names a directory.
3702 if test -n "$CPP" && test -d "$CPP"; then
3705 if test -z "$CPP"; then
3706 if test "${ac_cv_prog_CPP+set}" = set; then
3707 echo $ECHO_N "(cached) $ECHO_C" >&6
3709 # Double quotes because CPP needs to be expanded
3710 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3713 for ac_c_preproc_warn_flag in '' yes
3715 # Use a header file that comes with gcc, so configuring glibc
3716 # with a fresh cross-compiler works.
3717 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3718 # <limits.h> exists even on freestanding compilers.
3719 # On the NeXT, cc -E runs the code through the compiler's parser,
3720 # not just through cpp. "Syntax error" is here to catch this case.
3721 cat >conftest.$ac_ext <<_ACEOF
3724 cat confdefs.h >>conftest.$ac_ext
3725 cat >>conftest.$ac_ext <<_ACEOF
3726 /* end confdefs.h. */
3728 # include <limits.h>
3730 # include <assert.h>
3734 if { (ac_try="$ac_cpp conftest.$ac_ext"
3736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3737 *) ac_try_echo=$ac_try;;
3739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3742 grep -v '^ *+' conftest.er1 >conftest.err
3744 cat conftest.err >&5
3745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 (exit $ac_status); } >/dev/null && {
3747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3748 test ! -s conftest.err
3752 echo "$as_me: failed program was:" >&5
3753 sed 's/^/| /' conftest.$ac_ext >&5
3755 # Broken: fails on valid input.
3759 rm -f conftest.err conftest.$ac_ext
3761 # OK, works on sane cases. Now check whether nonexistent headers
3762 # can be detected and how.
3763 cat >conftest.$ac_ext <<_ACEOF
3766 cat confdefs.h >>conftest.$ac_ext
3767 cat >>conftest.$ac_ext <<_ACEOF
3768 /* end confdefs.h. */
3769 #include <ac_nonexistent.h>
3771 if { (ac_try="$ac_cpp conftest.$ac_ext"
3773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774 *) ac_try_echo=$ac_try;;
3776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3777 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3779 grep -v '^ *+' conftest.er1 >conftest.err
3781 cat conftest.err >&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); } >/dev/null && {
3784 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3785 test ! -s conftest.err
3787 # Broken: success on invalid input.
3790 echo "$as_me: failed program was:" >&5
3791 sed 's/^/| /' conftest.$ac_ext >&5
3793 # Passes both tests.
3798 rm -f conftest.err conftest.$ac_ext
3801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3802 rm -f conftest.err conftest.$ac_ext
3803 if $ac_preproc_ok; then
3815 { echo "$as_me:$LINENO: result: $CPP" >&5
3816 echo "${ECHO_T}$CPP" >&6; }
3818 for ac_c_preproc_warn_flag in '' yes
3820 # Use a header file that comes with gcc, so configuring glibc
3821 # with a fresh cross-compiler works.
3822 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3823 # <limits.h> exists even on freestanding compilers.
3824 # On the NeXT, cc -E runs the code through the compiler's parser,
3825 # not just through cpp. "Syntax error" is here to catch this case.
3826 cat >conftest.$ac_ext <<_ACEOF
3829 cat confdefs.h >>conftest.$ac_ext
3830 cat >>conftest.$ac_ext <<_ACEOF
3831 /* end confdefs.h. */
3833 # include <limits.h>
3835 # include <assert.h>
3839 if { (ac_try="$ac_cpp conftest.$ac_ext"
3841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3845 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3847 grep -v '^ *+' conftest.er1 >conftest.err
3849 cat conftest.err >&5
3850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851 (exit $ac_status); } >/dev/null && {
3852 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3853 test ! -s conftest.err
3857 echo "$as_me: failed program was:" >&5
3858 sed 's/^/| /' conftest.$ac_ext >&5
3860 # Broken: fails on valid input.
3864 rm -f conftest.err conftest.$ac_ext
3866 # OK, works on sane cases. Now check whether nonexistent headers
3867 # can be detected and how.
3868 cat >conftest.$ac_ext <<_ACEOF
3871 cat confdefs.h >>conftest.$ac_ext
3872 cat >>conftest.$ac_ext <<_ACEOF
3873 /* end confdefs.h. */
3874 #include <ac_nonexistent.h>
3876 if { (ac_try="$ac_cpp conftest.$ac_ext"
3878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3879 *) ac_try_echo=$ac_try;;
3881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3884 grep -v '^ *+' conftest.er1 >conftest.err
3886 cat conftest.err >&5
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); } >/dev/null && {
3889 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3890 test ! -s conftest.err
3892 # Broken: success on invalid input.
3895 echo "$as_me: failed program was:" >&5
3896 sed 's/^/| /' conftest.$ac_ext >&5
3898 # Passes both tests.
3903 rm -f conftest.err conftest.$ac_ext
3906 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3907 rm -f conftest.err conftest.$ac_ext
3908 if $ac_preproc_ok; then
3911 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3912 See \`config.log' for more details." >&5
3913 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3914 See \`config.log' for more details." >&2;}
3915 { (exit 1); exit 1; }; }
3919 ac_cpp='$CPP $CPPFLAGS'
3920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3925 { echo "$as_me:$LINENO: checking for X" >&5
3926 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3929 # Check whether --with-x was given.
3930 if test "${with_x+set}" = set; then
3934 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3935 if test "x$with_x" = xno; then
3936 # The user explicitly disabled X.
3939 case $x_includes,$x_libraries in #(
3940 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3941 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3942 { (exit 1); exit 1; }; };; #(
3943 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3946 # One or both of the vars are not set, and there is no cached value.
3947 ac_x_includes=no ac_x_libraries=no
3948 rm -f -r conftest.dir
3949 if mkdir conftest.dir; then
3951 cat >Imakefile <<'_ACEOF'
3953 @echo incroot='${INCROOT}'
3955 @echo usrlibdir='${USRLIBDIR}'
3957 @echo libdir='${LIBDIR}'
3959 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3960 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3961 for ac_var in incroot usrlibdir libdir; do
3962 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3964 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3965 for ac_extension in a so sl; do
3966 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3967 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3968 ac_im_usrlibdir=$ac_im_libdir; break
3971 # Screen out bogus values from the imake configuration. They are
3972 # bogus both because they are the default anyway, and because
3973 # using them would break gcc on systems where it needs fixed includes.
3974 case $ac_im_incroot in
3975 /usr/include) ac_x_includes= ;;
3976 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3978 case $ac_im_usrlibdir in
3980 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3984 rm -f -r conftest.dir
3987 # Standard set of common directories for X headers.
3988 # Check X11 before X11Rn because it is often a symlink to the current release.
4000 /usr/local/X11/include
4001 /usr/local/X11R6/include
4002 /usr/local/X11R5/include
4003 /usr/local/X11R4/include
4005 /usr/local/include/X11
4006 /usr/local/include/X11R6
4007 /usr/local/include/X11R5
4008 /usr/local/include/X11R4
4012 /usr/XFree86/include/X11
4016 /usr/unsupported/include
4018 /usr/local/x11r5/include
4019 /usr/lpp/Xamples/include
4021 /usr/openwin/include
4022 /usr/openwin/share/include'
4024 if test "$ac_x_includes" = no; then
4025 # Guess where to find include files, by looking for Xlib.h.
4026 # First, try using that file with no special directory specified.
4027 cat >conftest.$ac_ext <<_ACEOF
4030 cat confdefs.h >>conftest.$ac_ext
4031 cat >>conftest.$ac_ext <<_ACEOF
4032 /* end confdefs.h. */
4033 #include <X11/Xlib.h>
4035 if { (ac_try="$ac_cpp conftest.$ac_ext"
4037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4043 grep -v '^ *+' conftest.er1 >conftest.err
4045 cat conftest.err >&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); } >/dev/null && {
4048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4049 test ! -s conftest.err
4051 # We can compile using X headers with no special include directory.
4054 echo "$as_me: failed program was:" >&5
4055 sed 's/^/| /' conftest.$ac_ext >&5
4057 for ac_dir in $ac_x_header_dirs; do
4058 if test -r "$ac_dir/X11/Xlib.h"; then
4059 ac_x_includes=$ac_dir
4065 rm -f conftest.err conftest.$ac_ext
4066 fi # $ac_x_includes = no
4068 if test "$ac_x_libraries" = no; then
4069 # Check for the libraries.
4070 # See if we find them without any special options.
4071 # Don't add to $LIBS permanently.
4074 cat >conftest.$ac_ext <<_ACEOF
4077 cat confdefs.h >>conftest.$ac_ext
4078 cat >>conftest.$ac_ext <<_ACEOF
4079 /* end confdefs.h. */
4080 #include <X11/Xlib.h>
4089 rm -f conftest.$ac_objext conftest$ac_exeext
4090 if { (ac_try="$ac_link"
4092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4096 (eval "$ac_link") 2>conftest.er1
4098 grep -v '^ *+' conftest.er1 >conftest.err
4100 cat conftest.err >&5
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); } && {
4103 test -z "$ac_c_werror_flag" ||
4104 test ! -s conftest.err
4105 } && test -s conftest$ac_exeext &&
4106 $as_test_x conftest$ac_exeext; then
4108 # We can link X programs with no special library path.
4111 echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.$ac_ext >&5
4115 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4117 # Don't even attempt the hair of trying to link an X program!
4118 for ac_extension in a so sl; do
4119 if test -r "$ac_dir/libX11.$ac_extension"; then
4120 ac_x_libraries=$ac_dir
4127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4128 conftest$ac_exeext conftest.$ac_ext
4129 fi # $ac_x_libraries = no
4131 case $ac_x_includes,$ac_x_libraries in #(
4133 # Didn't find X, or a directory has "'" in its name.
4134 ac_cv_have_x="have_x=no";; #(
4136 # Record where we found X for the cache.
4137 ac_cv_have_x="have_x=yes\
4138 ac_x_includes='$ac_x_includes'\
4139 ac_x_libraries='$ac_x_libraries'"
4145 eval "$ac_cv_have_x"
4148 if test "$have_x" != yes; then
4149 { echo "$as_me:$LINENO: result: $have_x" >&5
4150 echo "${ECHO_T}$have_x" >&6; }
4153 # If each of the values was on the command line, it overrides each guess.
4154 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4155 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4156 # Update the cache value to reflect the command line values.
4157 ac_cv_have_x="have_x=yes\
4158 ac_x_includes='$x_includes'\
4159 ac_x_libraries='$x_libraries'"
4160 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4161 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4164 if test "$no_x" = yes; then
4165 # Not all programs may use this symbol, but it does not hurt to define it.
4167 cat >>confdefs.h <<\_ACEOF
4168 #define X_DISPLAY_MISSING 1
4171 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4173 if test -n "$x_includes"; then
4174 X_CFLAGS="$X_CFLAGS -I$x_includes"
4177 # It would also be nice to do this for all -L options, not just this one.
4178 if test -n "$x_libraries"; then
4179 X_LIBS="$X_LIBS -L$x_libraries"
4180 # For Solaris; some versions of Sun CC require a space after -R and
4181 # others require no space. Words are not sufficient . . . .
4182 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4183 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4184 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4185 ac_xsave_c_werror_flag=$ac_c_werror_flag
4186 ac_c_werror_flag=yes
4187 cat >conftest.$ac_ext <<_ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4202 rm -f conftest.$ac_objext conftest$ac_exeext
4203 if { (ac_try="$ac_link"
4205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4209 (eval "$ac_link") 2>conftest.er1
4211 grep -v '^ *+' conftest.er1 >conftest.err
4213 cat conftest.err >&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); } && {
4216 test -z "$ac_c_werror_flag" ||
4217 test ! -s conftest.err
4218 } && test -s conftest$ac_exeext &&
4219 $as_test_x conftest$ac_exeext; then
4220 { echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6; }
4222 X_LIBS="$X_LIBS -R$x_libraries"
4224 echo "$as_me: failed program was:" >&5
4225 sed 's/^/| /' conftest.$ac_ext >&5
4227 LIBS="$ac_xsave_LIBS -R $x_libraries"
4228 cat >conftest.$ac_ext <<_ACEOF
4231 cat confdefs.h >>conftest.$ac_ext
4232 cat >>conftest.$ac_ext <<_ACEOF
4233 /* end confdefs.h. */
4243 rm -f conftest.$ac_objext conftest$ac_exeext
4244 if { (ac_try="$ac_link"
4246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4247 *) ac_try_echo=$ac_try;;
4249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4250 (eval "$ac_link") 2>conftest.er1
4252 grep -v '^ *+' conftest.er1 >conftest.err
4254 cat conftest.err >&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); } && {
4257 test -z "$ac_c_werror_flag" ||
4258 test ! -s conftest.err
4259 } && test -s conftest$ac_exeext &&
4260 $as_test_x conftest$ac_exeext; then
4261 { echo "$as_me:$LINENO: result: yes" >&5
4262 echo "${ECHO_T}yes" >&6; }
4263 X_LIBS="$X_LIBS -R $x_libraries"
4265 echo "$as_me: failed program was:" >&5
4266 sed 's/^/| /' conftest.$ac_ext >&5
4268 { echo "$as_me:$LINENO: result: neither works" >&5
4269 echo "${ECHO_T}neither works" >&6; }
4272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4273 conftest$ac_exeext conftest.$ac_ext
4276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4277 conftest$ac_exeext conftest.$ac_ext
4278 ac_c_werror_flag=$ac_xsave_c_werror_flag
4282 # Check for system-dependent libraries X programs must link with.
4283 # Do this before checking for the system-independent R6 libraries
4284 # (-lICE), since we may need -lsocket or whatever for X linking.
4286 if test "$ISC" = yes; then
4287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4289 # Martyn Johnson says this is needed for Ultrix, if the X
4290 # libraries were built with DECnet support. And Karl Berry says
4291 # the Alpha needs dnet_stub (dnet does not exist).
4292 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4293 cat >conftest.$ac_ext <<_ACEOF
4296 cat confdefs.h >>conftest.$ac_ext
4297 cat >>conftest.$ac_ext <<_ACEOF
4298 /* end confdefs.h. */
4300 /* Override any GCC internal prototype to avoid an error.
4301 Use char because int might match the return type of a GCC
4302 builtin and then its argument prototype would still apply. */
4306 char XOpenDisplay ();
4310 return XOpenDisplay ();
4315 rm -f conftest.$ac_objext conftest$ac_exeext
4316 if { (ac_try="$ac_link"
4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4322 (eval "$ac_link") 2>conftest.er1
4324 grep -v '^ *+' conftest.er1 >conftest.err
4326 cat conftest.err >&5
4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); } && {
4329 test -z "$ac_c_werror_flag" ||
4330 test ! -s conftest.err
4331 } && test -s conftest$ac_exeext &&
4332 $as_test_x conftest$ac_exeext; then
4335 echo "$as_me: failed program was:" >&5
4336 sed 's/^/| /' conftest.$ac_ext >&5
4338 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4339 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4340 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4341 echo $ECHO_N "(cached) $ECHO_C" >&6
4343 ac_check_lib_save_LIBS=$LIBS
4345 cat >conftest.$ac_ext <<_ACEOF
4348 cat confdefs.h >>conftest.$ac_ext
4349 cat >>conftest.$ac_ext <<_ACEOF
4350 /* end confdefs.h. */
4352 /* Override any GCC internal prototype to avoid an error.
4353 Use char because int might match the return type of a GCC
4354 builtin and then its argument prototype would still apply. */
4362 return dnet_ntoa ();
4367 rm -f conftest.$ac_objext conftest$ac_exeext
4368 if { (ac_try="$ac_link"
4370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4371 *) ac_try_echo=$ac_try;;
4373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4374 (eval "$ac_link") 2>conftest.er1
4376 grep -v '^ *+' conftest.er1 >conftest.err
4378 cat conftest.err >&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); } && {
4381 test -z "$ac_c_werror_flag" ||
4382 test ! -s conftest.err
4383 } && test -s conftest$ac_exeext &&
4384 $as_test_x conftest$ac_exeext; then
4385 ac_cv_lib_dnet_dnet_ntoa=yes
4387 echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.$ac_ext >&5
4390 ac_cv_lib_dnet_dnet_ntoa=no
4393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4394 conftest$ac_exeext conftest.$ac_ext
4395 LIBS=$ac_check_lib_save_LIBS
4397 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4398 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4399 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4400 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4403 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4404 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4405 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4406 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4407 echo $ECHO_N "(cached) $ECHO_C" >&6
4409 ac_check_lib_save_LIBS=$LIBS
4410 LIBS="-ldnet_stub $LIBS"
4411 cat >conftest.$ac_ext <<_ACEOF
4414 cat confdefs.h >>conftest.$ac_ext
4415 cat >>conftest.$ac_ext <<_ACEOF
4416 /* end confdefs.h. */
4418 /* Override any GCC internal prototype to avoid an error.
4419 Use char because int might match the return type of a GCC
4420 builtin and then its argument prototype would still apply. */
4428 return dnet_ntoa ();
4433 rm -f conftest.$ac_objext conftest$ac_exeext
4434 if { (ac_try="$ac_link"
4436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4437 *) ac_try_echo=$ac_try;;
4439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4440 (eval "$ac_link") 2>conftest.er1
4442 grep -v '^ *+' conftest.er1 >conftest.err
4444 cat conftest.err >&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); } && {
4447 test -z "$ac_c_werror_flag" ||
4448 test ! -s conftest.err
4449 } && test -s conftest$ac_exeext &&
4450 $as_test_x conftest$ac_exeext; then
4451 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4453 echo "$as_me: failed program was:" >&5
4454 sed 's/^/| /' conftest.$ac_ext >&5
4456 ac_cv_lib_dnet_stub_dnet_ntoa=no
4459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4460 conftest$ac_exeext conftest.$ac_ext
4461 LIBS=$ac_check_lib_save_LIBS
4463 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4464 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4465 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4466 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4473 conftest$ac_exeext conftest.$ac_ext
4474 LIBS="$ac_xsave_LIBS"
4476 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4477 # to get the SysV transport functions.
4478 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4480 # The nsl library prevents programs from opening the X display
4481 # on Irix 5.2, according to T.E. Dickey.
4482 # The functions gethostbyname, getservbyname, and inet_addr are
4483 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4484 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4485 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4486 if test "${ac_cv_func_gethostbyname+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 cat >conftest.$ac_ext <<_ACEOF
4492 cat confdefs.h >>conftest.$ac_ext
4493 cat >>conftest.$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4495 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4497 #define gethostbyname innocuous_gethostbyname
4499 /* System header to define __stub macros and hopefully few prototypes,
4500 which can conflict with char gethostbyname (); below.
4501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4502 <limits.h> exists even on freestanding compilers. */
4505 # include <limits.h>
4507 # include <assert.h>
4510 #undef gethostbyname
4512 /* Override any GCC internal prototype to avoid an error.
4513 Use char because int might match the return type of a GCC
4514 builtin and then its argument prototype would still apply. */
4518 char gethostbyname ();
4519 /* The GNU C library defines this for functions which it implements
4520 to always fail with ENOSYS. Some functions are actually named
4521 something starting with __ and the normal name is an alias. */
4522 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4529 return gethostbyname ();
4534 rm -f conftest.$ac_objext conftest$ac_exeext
4535 if { (ac_try="$ac_link"
4537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538 *) ac_try_echo=$ac_try;;
4540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4541 (eval "$ac_link") 2>conftest.er1
4543 grep -v '^ *+' conftest.er1 >conftest.err
4545 cat conftest.err >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } && {
4548 test -z "$ac_c_werror_flag" ||
4549 test ! -s conftest.err
4550 } && test -s conftest$ac_exeext &&
4551 $as_test_x conftest$ac_exeext; then
4552 ac_cv_func_gethostbyname=yes
4554 echo "$as_me: failed program was:" >&5
4555 sed 's/^/| /' conftest.$ac_ext >&5
4557 ac_cv_func_gethostbyname=no
4560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4561 conftest$ac_exeext conftest.$ac_ext
4563 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4564 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4566 if test $ac_cv_func_gethostbyname = no; then
4567 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4568 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4569 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 ac_check_lib_save_LIBS=$LIBS
4574 cat >conftest.$ac_ext <<_ACEOF
4577 cat confdefs.h >>conftest.$ac_ext
4578 cat >>conftest.$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 /* Override any GCC internal prototype to avoid an error.
4582 Use char because int might match the return type of a GCC
4583 builtin and then its argument prototype would still apply. */
4587 char gethostbyname ();
4591 return gethostbyname ();
4596 rm -f conftest.$ac_objext conftest$ac_exeext
4597 if { (ac_try="$ac_link"
4599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4600 *) ac_try_echo=$ac_try;;
4602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4603 (eval "$ac_link") 2>conftest.er1
4605 grep -v '^ *+' conftest.er1 >conftest.err
4607 cat conftest.err >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } && {
4610 test -z "$ac_c_werror_flag" ||
4611 test ! -s conftest.err
4612 } && test -s conftest$ac_exeext &&
4613 $as_test_x conftest$ac_exeext; then
4614 ac_cv_lib_nsl_gethostbyname=yes
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.$ac_ext >&5
4619 ac_cv_lib_nsl_gethostbyname=no
4622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4623 conftest$ac_exeext conftest.$ac_ext
4624 LIBS=$ac_check_lib_save_LIBS
4626 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4627 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4628 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4629 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4632 if test $ac_cv_lib_nsl_gethostbyname = no; then
4633 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4634 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4635 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 ac_check_lib_save_LIBS=$LIBS
4640 cat >conftest.$ac_ext <<_ACEOF
4643 cat confdefs.h >>conftest.$ac_ext
4644 cat >>conftest.$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4647 /* Override any GCC internal prototype to avoid an error.
4648 Use char because int might match the return type of a GCC
4649 builtin and then its argument prototype would still apply. */
4653 char gethostbyname ();
4657 return gethostbyname ();
4662 rm -f conftest.$ac_objext conftest$ac_exeext
4663 if { (ac_try="$ac_link"
4665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4666 *) ac_try_echo=$ac_try;;
4668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4669 (eval "$ac_link") 2>conftest.er1
4671 grep -v '^ *+' conftest.er1 >conftest.err
4673 cat conftest.err >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); } && {
4676 test -z "$ac_c_werror_flag" ||
4677 test ! -s conftest.err
4678 } && test -s conftest$ac_exeext &&
4679 $as_test_x conftest$ac_exeext; then
4680 ac_cv_lib_bsd_gethostbyname=yes
4682 echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.$ac_ext >&5
4685 ac_cv_lib_bsd_gethostbyname=no
4688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4689 conftest$ac_exeext conftest.$ac_ext
4690 LIBS=$ac_check_lib_save_LIBS
4692 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4693 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4694 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4695 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4701 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4702 # socket/setsockopt and other routines are undefined under SCO ODT
4703 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4704 # on later versions), says Simon Leinen: it contains gethostby*
4705 # variants that don't use the name server (or something). -lsocket
4706 # must be given before -lnsl if both are needed. We assume that
4707 # if connect needs -lnsl, so does gethostbyname.
4708 { echo "$as_me:$LINENO: checking for connect" >&5
4709 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4710 if test "${ac_cv_func_connect+set}" = set; then
4711 echo $ECHO_N "(cached) $ECHO_C" >&6
4713 cat >conftest.$ac_ext <<_ACEOF
4716 cat confdefs.h >>conftest.$ac_ext
4717 cat >>conftest.$ac_ext <<_ACEOF
4718 /* end confdefs.h. */
4719 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4721 #define connect innocuous_connect
4723 /* System header to define __stub macros and hopefully few prototypes,
4724 which can conflict with char connect (); below.
4725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4726 <limits.h> exists even on freestanding compilers. */
4729 # include <limits.h>
4731 # include <assert.h>
4736 /* Override any GCC internal prototype to avoid an error.
4737 Use char because int might match the return type of a GCC
4738 builtin and then its argument prototype would still apply. */
4743 /* The GNU C library defines this for functions which it implements
4744 to always fail with ENOSYS. Some functions are actually named
4745 something starting with __ and the normal name is an alias. */
4746 #if defined __stub_connect || defined __stub___connect
4758 rm -f conftest.$ac_objext conftest$ac_exeext
4759 if { (ac_try="$ac_link"
4761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4762 *) ac_try_echo=$ac_try;;
4764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4765 (eval "$ac_link") 2>conftest.er1
4767 grep -v '^ *+' conftest.er1 >conftest.err
4769 cat conftest.err >&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); } && {
4772 test -z "$ac_c_werror_flag" ||
4773 test ! -s conftest.err
4774 } && test -s conftest$ac_exeext &&
4775 $as_test_x conftest$ac_exeext; then
4776 ac_cv_func_connect=yes
4778 echo "$as_me: failed program was:" >&5
4779 sed 's/^/| /' conftest.$ac_ext >&5
4781 ac_cv_func_connect=no
4784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4785 conftest$ac_exeext conftest.$ac_ext
4787 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4788 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4790 if test $ac_cv_func_connect = no; then
4791 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4792 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4793 if test "${ac_cv_lib_socket_connect+set}" = set; then
4794 echo $ECHO_N "(cached) $ECHO_C" >&6
4796 ac_check_lib_save_LIBS=$LIBS
4797 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4798 cat >conftest.$ac_ext <<_ACEOF
4801 cat confdefs.h >>conftest.$ac_ext
4802 cat >>conftest.$ac_ext <<_ACEOF
4803 /* end confdefs.h. */
4805 /* Override any GCC internal prototype to avoid an error.
4806 Use char because int might match the return type of a GCC
4807 builtin and then its argument prototype would still apply. */
4820 rm -f conftest.$ac_objext conftest$ac_exeext
4821 if { (ac_try="$ac_link"
4823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4824 *) ac_try_echo=$ac_try;;
4826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4827 (eval "$ac_link") 2>conftest.er1
4829 grep -v '^ *+' conftest.er1 >conftest.err
4831 cat conftest.err >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); } && {
4834 test -z "$ac_c_werror_flag" ||
4835 test ! -s conftest.err
4836 } && test -s conftest$ac_exeext &&
4837 $as_test_x conftest$ac_exeext; then
4838 ac_cv_lib_socket_connect=yes
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.$ac_ext >&5
4843 ac_cv_lib_socket_connect=no
4846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4847 conftest$ac_exeext conftest.$ac_ext
4848 LIBS=$ac_check_lib_save_LIBS
4850 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4851 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4852 if test $ac_cv_lib_socket_connect = yes; then
4853 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4858 # Guillermo Gomez says -lposix is necessary on A/UX.
4859 { echo "$as_me:$LINENO: checking for remove" >&5
4860 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4861 if test "${ac_cv_func_remove+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 cat >conftest.$ac_ext <<_ACEOF
4867 cat confdefs.h >>conftest.$ac_ext
4868 cat >>conftest.$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4870 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4872 #define remove innocuous_remove
4874 /* System header to define __stub macros and hopefully few prototypes,
4875 which can conflict with char remove (); below.
4876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4877 <limits.h> exists even on freestanding compilers. */
4880 # include <limits.h>
4882 # include <assert.h>
4887 /* Override any GCC internal prototype to avoid an error.
4888 Use char because int might match the return type of a GCC
4889 builtin and then its argument prototype would still apply. */
4894 /* The GNU C library defines this for functions which it implements
4895 to always fail with ENOSYS. Some functions are actually named
4896 something starting with __ and the normal name is an alias. */
4897 #if defined __stub_remove || defined __stub___remove
4909 rm -f conftest.$ac_objext conftest$ac_exeext
4910 if { (ac_try="$ac_link"
4912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4913 *) ac_try_echo=$ac_try;;
4915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4916 (eval "$ac_link") 2>conftest.er1
4918 grep -v '^ *+' conftest.er1 >conftest.err
4920 cat conftest.err >&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); } && {
4923 test -z "$ac_c_werror_flag" ||
4924 test ! -s conftest.err
4925 } && test -s conftest$ac_exeext &&
4926 $as_test_x conftest$ac_exeext; then
4927 ac_cv_func_remove=yes
4929 echo "$as_me: failed program was:" >&5
4930 sed 's/^/| /' conftest.$ac_ext >&5
4932 ac_cv_func_remove=no
4935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4936 conftest$ac_exeext conftest.$ac_ext
4938 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4939 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4941 if test $ac_cv_func_remove = no; then
4942 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4943 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4944 if test "${ac_cv_lib_posix_remove+set}" = set; then
4945 echo $ECHO_N "(cached) $ECHO_C" >&6
4947 ac_check_lib_save_LIBS=$LIBS
4948 LIBS="-lposix $LIBS"
4949 cat >conftest.$ac_ext <<_ACEOF
4952 cat confdefs.h >>conftest.$ac_ext
4953 cat >>conftest.$ac_ext <<_ACEOF
4954 /* end confdefs.h. */
4956 /* Override any GCC internal prototype to avoid an error.
4957 Use char because int might match the return type of a GCC
4958 builtin and then its argument prototype would still apply. */
4971 rm -f conftest.$ac_objext conftest$ac_exeext
4972 if { (ac_try="$ac_link"
4974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4975 *) ac_try_echo=$ac_try;;
4977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4978 (eval "$ac_link") 2>conftest.er1
4980 grep -v '^ *+' conftest.er1 >conftest.err
4982 cat conftest.err >&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); } && {
4985 test -z "$ac_c_werror_flag" ||
4986 test ! -s conftest.err
4987 } && test -s conftest$ac_exeext &&
4988 $as_test_x conftest$ac_exeext; then
4989 ac_cv_lib_posix_remove=yes
4991 echo "$as_me: failed program was:" >&5
4992 sed 's/^/| /' conftest.$ac_ext >&5
4994 ac_cv_lib_posix_remove=no
4997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4998 conftest$ac_exeext conftest.$ac_ext
4999 LIBS=$ac_check_lib_save_LIBS
5001 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5002 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5003 if test $ac_cv_lib_posix_remove = yes; then
5004 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5009 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5010 { echo "$as_me:$LINENO: checking for shmat" >&5
5011 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5012 if test "${ac_cv_func_shmat+set}" = set; then
5013 echo $ECHO_N "(cached) $ECHO_C" >&6
5015 cat >conftest.$ac_ext <<_ACEOF
5018 cat confdefs.h >>conftest.$ac_ext
5019 cat >>conftest.$ac_ext <<_ACEOF
5020 /* end confdefs.h. */
5021 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5023 #define shmat innocuous_shmat
5025 /* System header to define __stub macros and hopefully few prototypes,
5026 which can conflict with char shmat (); below.
5027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5028 <limits.h> exists even on freestanding compilers. */
5031 # include <limits.h>
5033 # include <assert.h>
5038 /* Override any GCC internal prototype to avoid an error.
5039 Use char because int might match the return type of a GCC
5040 builtin and then its argument prototype would still apply. */
5045 /* The GNU C library defines this for functions which it implements
5046 to always fail with ENOSYS. Some functions are actually named
5047 something starting with __ and the normal name is an alias. */
5048 #if defined __stub_shmat || defined __stub___shmat
5060 rm -f conftest.$ac_objext conftest$ac_exeext
5061 if { (ac_try="$ac_link"
5063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5064 *) ac_try_echo=$ac_try;;
5066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5067 (eval "$ac_link") 2>conftest.er1
5069 grep -v '^ *+' conftest.er1 >conftest.err
5071 cat conftest.err >&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } && {
5074 test -z "$ac_c_werror_flag" ||
5075 test ! -s conftest.err
5076 } && test -s conftest$ac_exeext &&
5077 $as_test_x conftest$ac_exeext; then
5078 ac_cv_func_shmat=yes
5080 echo "$as_me: failed program was:" >&5
5081 sed 's/^/| /' conftest.$ac_ext >&5
5086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5087 conftest$ac_exeext conftest.$ac_ext
5089 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5090 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5092 if test $ac_cv_func_shmat = no; then
5093 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5094 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5095 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5096 echo $ECHO_N "(cached) $ECHO_C" >&6
5098 ac_check_lib_save_LIBS=$LIBS
5100 cat >conftest.$ac_ext <<_ACEOF
5103 cat confdefs.h >>conftest.$ac_ext
5104 cat >>conftest.$ac_ext <<_ACEOF
5105 /* end confdefs.h. */
5107 /* Override any GCC internal prototype to avoid an error.
5108 Use char because int might match the return type of a GCC
5109 builtin and then its argument prototype would still apply. */
5122 rm -f conftest.$ac_objext conftest$ac_exeext
5123 if { (ac_try="$ac_link"
5125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5126 *) ac_try_echo=$ac_try;;
5128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5129 (eval "$ac_link") 2>conftest.er1
5131 grep -v '^ *+' conftest.er1 >conftest.err
5133 cat conftest.err >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } && {
5136 test -z "$ac_c_werror_flag" ||
5137 test ! -s conftest.err
5138 } && test -s conftest$ac_exeext &&
5139 $as_test_x conftest$ac_exeext; then
5140 ac_cv_lib_ipc_shmat=yes
5142 echo "$as_me: failed program was:" >&5
5143 sed 's/^/| /' conftest.$ac_ext >&5
5145 ac_cv_lib_ipc_shmat=no
5148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5149 conftest$ac_exeext conftest.$ac_ext
5150 LIBS=$ac_check_lib_save_LIBS
5152 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5153 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5154 if test $ac_cv_lib_ipc_shmat = yes; then
5155 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5161 # Check for libraries that X11R6 Xt/Xaw programs need.
5162 ac_save_LDFLAGS=$LDFLAGS
5163 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5164 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5165 # check for ICE first), but we must link in the order -lSM -lICE or
5166 # we get undefined symbols. So assume we have SM if we have ICE.
5167 # These have to be linked with before -lX11, unlike the other
5168 # libraries we check for below, so use a different variable.
5169 # John Interrante, Karl Berry
5170 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5171 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5172 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5173 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 ac_check_lib_save_LIBS=$LIBS
5176 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5177 cat >conftest.$ac_ext <<_ACEOF
5180 cat confdefs.h >>conftest.$ac_ext
5181 cat >>conftest.$ac_ext <<_ACEOF
5182 /* end confdefs.h. */
5184 /* Override any GCC internal prototype to avoid an error.
5185 Use char because int might match the return type of a GCC
5186 builtin and then its argument prototype would still apply. */
5190 char IceConnectionNumber ();
5194 return IceConnectionNumber ();
5199 rm -f conftest.$ac_objext conftest$ac_exeext
5200 if { (ac_try="$ac_link"
5202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5203 *) ac_try_echo=$ac_try;;
5205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5206 (eval "$ac_link") 2>conftest.er1
5208 grep -v '^ *+' conftest.er1 >conftest.err
5210 cat conftest.err >&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); } && {
5213 test -z "$ac_c_werror_flag" ||
5214 test ! -s conftest.err
5215 } && test -s conftest$ac_exeext &&
5216 $as_test_x conftest$ac_exeext; then
5217 ac_cv_lib_ICE_IceConnectionNumber=yes
5219 echo "$as_me: failed program was:" >&5
5220 sed 's/^/| /' conftest.$ac_ext >&5
5222 ac_cv_lib_ICE_IceConnectionNumber=no
5225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5226 conftest$ac_exeext conftest.$ac_ext
5227 LIBS=$ac_check_lib_save_LIBS
5229 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5230 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5231 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5232 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5235 LDFLAGS=$ac_save_LDFLAGS
5242 # Extract the first word of "$ac_prog", so it can be a program name with args.
5243 set dummy $ac_prog; ac_word=$2
5244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5246 if test "${ac_cv_prog_FLEX+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 if test -n "$FLEX"; then
5250 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259 ac_cv_prog_FLEX="$ac_prog"
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 FLEX=$ac_cv_prog_FLEX
5270 if test -n "$FLEX"; then
5271 { echo "$as_me:$LINENO: result: $FLEX" >&5
5272 echo "${ECHO_T}$FLEX" >&6; }
5274 { echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6; }
5279 test -n "$FLEX" && break
5281 test -n "$FLEX" || FLEX="none"
5283 if test "$FLEX" = "none"
5285 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5286 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5287 { (exit 1); exit 1; }; }
5290 for ac_prog in bison
5292 # Extract the first word of "$ac_prog", so it can be a program name with args.
5293 set dummy $ac_prog; ac_word=$2
5294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5296 if test "${ac_cv_prog_BISON+set}" = set; then
5297 echo $ECHO_N "(cached) $ECHO_C" >&6
5299 if test -n "$BISON"; then
5300 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 test -z "$as_dir" && as_dir=.
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5309 ac_cv_prog_BISON="$ac_prog"
5310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5319 BISON=$ac_cv_prog_BISON
5320 if test -n "$BISON"; then
5321 { echo "$as_me:$LINENO: result: $BISON" >&5
5322 echo "${ECHO_T}$BISON" >&6; }
5324 { echo "$as_me:$LINENO: result: no" >&5
5325 echo "${ECHO_T}no" >&6; }
5329 test -n "$BISON" && break
5331 test -n "$BISON" || BISON="none"
5333 if test "$BISON" = "none"
5335 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5336 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5337 { (exit 1); exit 1; }; }
5340 if test -n "$ac_tool_prefix"; then
5341 for ac_prog in gas as
5343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5344 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5347 if test "${ac_cv_prog_AS+set}" = set; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5350 if test -n "$AS"; then
5351 ac_cv_prog_AS="$AS" # Let the user override the test.
5353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357 test -z "$as_dir" && as_dir=.
5358 for ac_exec_ext in '' $ac_executable_extensions; do
5359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5360 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5371 if test -n "$AS"; then
5372 { echo "$as_me:$LINENO: result: $AS" >&5
5373 echo "${ECHO_T}$AS" >&6; }
5375 { echo "$as_me:$LINENO: result: no" >&5
5376 echo "${ECHO_T}no" >&6; }
5380 test -n "$AS" && break
5383 if test -z "$AS"; then
5385 for ac_prog in gas as
5387 # Extract the first word of "$ac_prog", so it can be a program name with args.
5388 set dummy $ac_prog; ac_word=$2
5389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5391 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5392 echo $ECHO_N "(cached) $ECHO_C" >&6
5394 if test -n "$ac_ct_AS"; then
5395 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 test -z "$as_dir" && as_dir=.
5402 for ac_exec_ext in '' $ac_executable_extensions; do
5403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5404 ac_cv_prog_ac_ct_AS="$ac_prog"
5405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5415 if test -n "$ac_ct_AS"; then
5416 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5417 echo "${ECHO_T}$ac_ct_AS" >&6; }
5419 { echo "$as_me:$LINENO: result: no" >&5
5420 echo "${ECHO_T}no" >&6; }
5424 test -n "$ac_ct_AS" && break
5427 if test "x$ac_ct_AS" = x; then
5430 case $cross_compiling:$ac_tool_warned in
5432 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5433 whose name does not start with the host triplet. If you think this
5434 configuration is useful to you, please write to autoconf@gnu.org." >&5
5435 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5436 whose name does not start with the host triplet. If you think this
5437 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5438 ac_tool_warned=yes ;;
5444 if test -n "$ac_tool_prefix"; then
5445 for ac_prog in ld gld
5447 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5448 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5451 if test "${ac_cv_prog_LD+set}" = set; then
5452 echo $ECHO_N "(cached) $ECHO_C" >&6
5454 if test -n "$LD"; then
5455 ac_cv_prog_LD="$LD" # Let the user override the test.
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 test -z "$as_dir" && as_dir=.
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5464 ac_cv_prog_LD="$ac_tool_prefix$ac_prog"
5465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5475 if test -n "$LD"; then
5476 { echo "$as_me:$LINENO: result: $LD" >&5
5477 echo "${ECHO_T}$LD" >&6; }
5479 { echo "$as_me:$LINENO: result: no" >&5
5480 echo "${ECHO_T}no" >&6; }
5484 test -n "$LD" && break
5487 if test -z "$LD"; then
5489 for ac_prog in ld gld
5491 # Extract the first word of "$ac_prog", so it can be a program name with args.
5492 set dummy $ac_prog; ac_word=$2
5493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5495 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5498 if test -n "$ac_ct_LD"; then
5499 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 test -z "$as_dir" && as_dir=.
5506 for ac_exec_ext in '' $ac_executable_extensions; do
5507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5508 ac_cv_prog_ac_ct_LD="$ac_prog"
5509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5519 if test -n "$ac_ct_LD"; then
5520 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5521 echo "${ECHO_T}$ac_ct_LD" >&6; }
5523 { echo "$as_me:$LINENO: result: no" >&5
5524 echo "${ECHO_T}no" >&6; }
5528 test -n "$ac_ct_LD" && break
5531 if test "x$ac_ct_LD" = x; then
5534 case $cross_compiling:$ac_tool_warned in
5536 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5537 whose name does not start with the host triplet. If you think this
5538 configuration is useful to you, please write to autoconf@gnu.org." >&5
5539 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5540 whose name does not start with the host triplet. If you think this
5541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5542 ac_tool_warned=yes ;;
5548 if test -n "$ac_tool_prefix"; then
5549 for ac_prog in nm gnm
5551 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5552 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5555 if test "${ac_cv_prog_NM+set}" = set; then
5556 echo $ECHO_N "(cached) $ECHO_C" >&6
5558 if test -n "$NM"; then
5559 ac_cv_prog_NM="$NM" # Let the user override the test.
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5565 test -z "$as_dir" && as_dir=.
5566 for ac_exec_ext in '' $ac_executable_extensions; do
5567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5568 ac_cv_prog_NM="$ac_tool_prefix$ac_prog"
5569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5579 if test -n "$NM"; then
5580 { echo "$as_me:$LINENO: result: $NM" >&5
5581 echo "${ECHO_T}$NM" >&6; }
5583 { echo "$as_me:$LINENO: result: no" >&5
5584 echo "${ECHO_T}no" >&6; }
5588 test -n "$NM" && break
5591 if test -z "$NM"; then
5593 for ac_prog in nm gnm
5595 # Extract the first word of "$ac_prog", so it can be a program name with args.
5596 set dummy $ac_prog; ac_word=$2
5597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5599 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6
5602 if test -n "$ac_ct_NM"; then
5603 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
5605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5609 test -z "$as_dir" && as_dir=.
5610 for ac_exec_ext in '' $ac_executable_extensions; do
5611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5612 ac_cv_prog_ac_ct_NM="$ac_prog"
5613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 ac_ct_NM=$ac_cv_prog_ac_ct_NM
5623 if test -n "$ac_ct_NM"; then
5624 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
5625 echo "${ECHO_T}$ac_ct_NM" >&6; }
5627 { echo "$as_me:$LINENO: result: no" >&5
5628 echo "${ECHO_T}no" >&6; }
5632 test -n "$ac_ct_NM" && break
5635 if test "x$ac_ct_NM" = x; then
5638 case $cross_compiling:$ac_tool_warned in
5640 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5641 whose name does not start with the host triplet. If you think this
5642 configuration is useful to you, please write to autoconf@gnu.org." >&5
5643 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5644 whose name does not start with the host triplet. If you think this
5645 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5646 ac_tool_warned=yes ;;
5652 if test -n "$ac_tool_prefix"; then
5653 for ac_prog in ar gar
5655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5659 if test "${ac_cv_prog_AR+set}" = set; then
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5662 if test -n "$AR"; then
5663 ac_cv_prog_AR="$AR" # Let the user override the test.
5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669 test -z "$as_dir" && as_dir=.
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5672 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5683 if test -n "$AR"; then
5684 { echo "$as_me:$LINENO: result: $AR" >&5
5685 echo "${ECHO_T}$AR" >&6; }
5687 { echo "$as_me:$LINENO: result: no" >&5
5688 echo "${ECHO_T}no" >&6; }
5692 test -n "$AR" && break
5695 if test -z "$AR"; then
5697 for ac_prog in ar gar
5699 # Extract the first word of "$ac_prog", so it can be a program name with args.
5700 set dummy $ac_prog; ac_word=$2
5701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5703 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5704 echo $ECHO_N "(cached) $ECHO_C" >&6
5706 if test -n "$ac_ct_AR"; then
5707 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 test -z "$as_dir" && as_dir=.
5714 for ac_exec_ext in '' $ac_executable_extensions; do
5715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5716 ac_cv_prog_ac_ct_AR="$ac_prog"
5717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5726 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5727 if test -n "$ac_ct_AR"; then
5728 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5729 echo "${ECHO_T}$ac_ct_AR" >&6; }
5731 { echo "$as_me:$LINENO: result: no" >&5
5732 echo "${ECHO_T}no" >&6; }
5736 test -n "$ac_ct_AR" && break
5739 if test "x$ac_ct_AR" = x; then
5742 case $cross_compiling:$ac_tool_warned in
5744 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5745 whose name does not start with the host triplet. If you think this
5746 configuration is useful to you, please write to autoconf@gnu.org." >&5
5747 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5748 whose name does not start with the host triplet. If you think this
5749 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5750 ac_tool_warned=yes ;;
5758 if test -n "$ac_tool_prefix"; then
5759 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5760 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5763 if test "${ac_cv_prog_RANLIB+set}" = set; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 if test -n "$RANLIB"; then
5767 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5776 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 RANLIB=$ac_cv_prog_RANLIB
5787 if test -n "$RANLIB"; then
5788 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5789 echo "${ECHO_T}$RANLIB" >&6; }
5791 { echo "$as_me:$LINENO: result: no" >&5
5792 echo "${ECHO_T}no" >&6; }
5797 if test -z "$ac_cv_prog_RANLIB"; then
5798 ac_ct_RANLIB=$RANLIB
5799 # Extract the first word of "ranlib", so it can be a program name with args.
5800 set dummy ranlib; ac_word=$2
5801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5803 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5806 if test -n "$ac_ct_RANLIB"; then
5807 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5813 test -z "$as_dir" && as_dir=.
5814 for ac_exec_ext in '' $ac_executable_extensions; do
5815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5816 ac_cv_prog_ac_ct_RANLIB="ranlib"
5817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5827 if test -n "$ac_ct_RANLIB"; then
5828 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5829 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5831 { echo "$as_me:$LINENO: result: no" >&5
5832 echo "${ECHO_T}no" >&6; }
5835 if test "x$ac_ct_RANLIB" = x; then
5838 case $cross_compiling:$ac_tool_warned in
5840 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5841 whose name does not start with the host triplet. If you think this
5842 configuration is useful to you, please write to autoconf@gnu.org." >&5
5843 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5844 whose name does not start with the host triplet. If you think this
5845 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5846 ac_tool_warned=yes ;;
5848 RANLIB=$ac_ct_RANLIB
5851 RANLIB="$ac_cv_prog_RANLIB"
5854 if test -n "$ac_tool_prefix"; then
5855 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5856 set dummy ${ac_tool_prefix}strip; ac_word=$2
5857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5859 if test "${ac_cv_prog_STRIP+set}" = set; then
5860 echo $ECHO_N "(cached) $ECHO_C" >&6
5862 if test -n "$STRIP"; then
5863 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 STRIP=$ac_cv_prog_STRIP
5883 if test -n "$STRIP"; then
5884 { echo "$as_me:$LINENO: result: $STRIP" >&5
5885 echo "${ECHO_T}$STRIP" >&6; }
5887 { echo "$as_me:$LINENO: result: no" >&5
5888 echo "${ECHO_T}no" >&6; }
5893 if test -z "$ac_cv_prog_STRIP"; then
5895 # Extract the first word of "strip", so it can be a program name with args.
5896 set dummy strip; ac_word=$2
5897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5899 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5900 echo $ECHO_N "(cached) $ECHO_C" >&6
5902 if test -n "$ac_ct_STRIP"; then
5903 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 test -z "$as_dir" && as_dir=.
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5912 ac_cv_prog_ac_ct_STRIP="strip"
5913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5922 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5923 if test -n "$ac_ct_STRIP"; then
5924 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5925 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5927 { echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6; }
5931 if test "x$ac_ct_STRIP" = x; then
5934 case $cross_compiling:$ac_tool_warned in
5936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5937 whose name does not start with the host triplet. If you think this
5938 configuration is useful to you, please write to autoconf@gnu.org." >&5
5939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5940 whose name does not start with the host triplet. If you think this
5941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5942 ac_tool_warned=yes ;;
5947 STRIP="$ac_cv_prog_STRIP"
5950 if test -n "$ac_tool_prefix"; then
5951 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5952 set dummy ${ac_tool_prefix}windres; ac_word=$2
5953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5955 if test "${ac_cv_prog_WINDRES+set}" = set; then
5956 echo $ECHO_N "(cached) $ECHO_C" >&6
5958 if test -n "$WINDRES"; then
5959 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5965 test -z "$as_dir" && as_dir=.
5966 for ac_exec_ext in '' $ac_executable_extensions; do
5967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5968 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 WINDRES=$ac_cv_prog_WINDRES
5979 if test -n "$WINDRES"; then
5980 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5981 echo "${ECHO_T}$WINDRES" >&6; }
5983 { echo "$as_me:$LINENO: result: no" >&5
5984 echo "${ECHO_T}no" >&6; }
5989 if test -z "$ac_cv_prog_WINDRES"; then
5990 ac_ct_WINDRES=$WINDRES
5991 # Extract the first word of "windres", so it can be a program name with args.
5992 set dummy windres; ac_word=$2
5993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5995 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
5998 if test -n "$ac_ct_WINDRES"; then
5999 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 test -z "$as_dir" && as_dir=.
6006 for ac_exec_ext in '' $ac_executable_extensions; do
6007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6008 ac_cv_prog_ac_ct_WINDRES="windres"
6009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6019 if test -n "$ac_ct_WINDRES"; then
6020 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6021 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6023 { echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6; }
6027 if test "x$ac_ct_WINDRES" = x; then
6030 case $cross_compiling:$ac_tool_warned in
6032 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6033 whose name does not start with the host triplet. If you think this
6034 configuration is useful to you, please write to autoconf@gnu.org." >&5
6035 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6036 whose name does not start with the host triplet. If you think this
6037 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6038 ac_tool_warned=yes ;;
6040 WINDRES=$ac_ct_WINDRES
6043 WINDRES="$ac_cv_prog_WINDRES"
6046 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6047 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6049 if test "$LN_S" = "ln -s"; then
6050 { echo "$as_me:$LINENO: result: yes" >&5
6051 echo "${ECHO_T}yes" >&6; }
6053 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6054 echo "${ECHO_T}no, using $LN_S" >&6; }
6057 { echo "$as_me:$LINENO: checking whether ln works" >&5
6058 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6059 rm -f conf$$ conf$$.file
6061 if ln conf$$.file conf$$ 2>/dev/null; then
6064 { echo "$as_me:$LINENO: result: yes" >&5
6065 echo "${ECHO_T}yes" >&6; }
6069 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6070 echo "${ECHO_T}no, using $LN" >&6; }
6072 rm -f conf$$ conf$$.file
6073 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6074 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6075 if test "${ac_cv_path_GREP+set}" = set; then
6076 echo $ECHO_N "(cached) $ECHO_C" >&6
6078 # Extract the first word of "grep ggrep" to use in msg output
6079 if test -z "$GREP"; then
6080 set dummy grep ggrep; ac_prog_name=$2
6081 if test "${ac_cv_path_GREP+set}" = set; then
6082 echo $ECHO_N "(cached) $ECHO_C" >&6
6084 ac_path_GREP_found=false
6085 # Loop through the user's path and test for each of PROGNAME-LIST
6086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6087 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6090 test -z "$as_dir" && as_dir=.
6091 for ac_prog in grep ggrep; do
6092 for ac_exec_ext in '' $ac_executable_extensions; do
6093 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6094 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6095 # Check for GNU ac_path_GREP and select it if it is found.
6096 # Check for GNU $ac_path_GREP
6097 case `"$ac_path_GREP" --version 2>&1` in
6099 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6102 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6105 cat "conftest.in" "conftest.in" >"conftest.tmp"
6106 mv "conftest.tmp" "conftest.in"
6107 cp "conftest.in" "conftest.nl"
6108 echo 'GREP' >> "conftest.nl"
6109 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6110 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6111 ac_count=`expr $ac_count + 1`
6112 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6113 # Best one so far, save it but keep looking for a better one
6114 ac_cv_path_GREP="$ac_path_GREP"
6115 ac_path_GREP_max=$ac_count
6117 # 10*(2^10) chars as input seems more than enough
6118 test $ac_count -gt 10 && break
6120 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6124 $ac_path_GREP_found && break 3
6134 GREP="$ac_cv_path_GREP"
6135 if test -z "$GREP"; then
6136 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6137 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6138 { (exit 1); exit 1; }; }
6142 ac_cv_path_GREP=$GREP
6147 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6148 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6149 GREP="$ac_cv_path_GREP"
6152 { echo "$as_me:$LINENO: checking for egrep" >&5
6153 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6154 if test "${ac_cv_path_EGREP+set}" = set; then
6155 echo $ECHO_N "(cached) $ECHO_C" >&6
6157 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6158 then ac_cv_path_EGREP="$GREP -E"
6160 # Extract the first word of "egrep" to use in msg output
6161 if test -z "$EGREP"; then
6162 set dummy egrep; ac_prog_name=$2
6163 if test "${ac_cv_path_EGREP+set}" = set; then
6164 echo $ECHO_N "(cached) $ECHO_C" >&6
6166 ac_path_EGREP_found=false
6167 # Loop through the user's path and test for each of PROGNAME-LIST
6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6172 test -z "$as_dir" && as_dir=.
6173 for ac_prog in egrep; do
6174 for ac_exec_ext in '' $ac_executable_extensions; do
6175 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6176 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6177 # Check for GNU ac_path_EGREP and select it if it is found.
6178 # Check for GNU $ac_path_EGREP
6179 case `"$ac_path_EGREP" --version 2>&1` in
6181 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6184 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6187 cat "conftest.in" "conftest.in" >"conftest.tmp"
6188 mv "conftest.tmp" "conftest.in"
6189 cp "conftest.in" "conftest.nl"
6190 echo 'EGREP' >> "conftest.nl"
6191 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6192 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6193 ac_count=`expr $ac_count + 1`
6194 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6195 # Best one so far, save it but keep looking for a better one
6196 ac_cv_path_EGREP="$ac_path_EGREP"
6197 ac_path_EGREP_max=$ac_count
6199 # 10*(2^10) chars as input seems more than enough
6200 test $ac_count -gt 10 && break
6202 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6206 $ac_path_EGREP_found && break 3
6216 EGREP="$ac_cv_path_EGREP"
6217 if test -z "$EGREP"; then
6218 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6219 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6220 { (exit 1); exit 1; }; }
6224 ac_cv_path_EGREP=$EGREP
6230 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6231 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6232 EGREP="$ac_cv_path_EGREP"
6235 # Extract the first word of "ldconfig", so it can be a program name with args.
6236 set dummy ldconfig; ac_word=$2
6237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6239 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6240 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248 for as_dir in /sbin /usr/sbin $PATH
6251 test -z "$as_dir" && as_dir=.
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6254 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6262 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6266 LDCONFIG=$ac_cv_path_LDCONFIG
6267 if test -n "$LDCONFIG"; then
6268 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6269 echo "${ECHO_T}$LDCONFIG" >&6; }
6271 { echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6; }
6276 # Find a good install program. We prefer a C program (faster),
6277 # so one script is as good as another. But avoid the broken or
6278 # incompatible versions:
6279 # SysV /etc/install, /usr/sbin/install
6280 # SunOS /usr/etc/install
6281 # IRIX /sbin/install
6283 # AmigaOS /C/install, which installs bootblocks on floppy discs
6284 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6285 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6286 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6287 # OS/2's system install, which has a completely different semantic
6288 # ./install, which can be erroneously created by make from ./install.sh.
6289 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6290 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6291 if test -z "$INSTALL"; then
6292 if test "${ac_cv_path_install+set}" = set; then
6293 echo $ECHO_N "(cached) $ECHO_C" >&6
6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299 test -z "$as_dir" && as_dir=.
6300 # Account for people who put trailing slashes in PATH elements.
6302 ./ | .// | /cC/* | \
6303 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6304 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6307 # OSF1 and SCO ODT 3.0 have their own names for install.
6308 # Don't use installbsd from OSF since it installs stuff as root
6310 for ac_prog in ginstall scoinst install; do
6311 for ac_exec_ext in '' $ac_executable_extensions; do
6312 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6313 if test $ac_prog = install &&
6314 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6315 # AIX install. It has an incompatible calling convention.
6317 elif test $ac_prog = install &&
6318 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6319 # program-specific install script used by HP pwplus--don't use.
6322 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6335 if test "${ac_cv_path_install+set}" = set; then
6336 INSTALL=$ac_cv_path_install
6338 # As a last resort, use the slow shell script. Don't cache a
6339 # value for INSTALL within a source directory, because that will
6340 # break other packages using the cache if that directory is
6341 # removed, or if the value is a relative name.
6342 INSTALL=$ac_install_sh
6345 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6346 echo "${ECHO_T}$INSTALL" >&6; }
6348 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6349 # It thinks the first close brace ends the variable substitution.
6350 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6352 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6354 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6357 [\\/$]* | ?:[\\/]* ) ;;
6358 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6361 for ac_prog in lclint lint
6363 # Extract the first word of "$ac_prog", so it can be a program name with args.
6364 set dummy $ac_prog; ac_word=$2
6365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6367 if test "${ac_cv_prog_LINT+set}" = set; then
6368 echo $ECHO_N "(cached) $ECHO_C" >&6
6370 if test -n "$LINT"; then
6371 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6377 test -z "$as_dir" && as_dir=.
6378 for ac_exec_ext in '' $ac_executable_extensions; do
6379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6380 ac_cv_prog_LINT="$ac_prog"
6381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6390 LINT=$ac_cv_prog_LINT
6391 if test -n "$LINT"; then
6392 { echo "$as_me:$LINENO: result: $LINT" >&5
6393 echo "${ECHO_T}$LINT" >&6; }
6395 { echo "$as_me:$LINENO: result: no" >&5
6396 echo "${ECHO_T}no" >&6; }
6400 test -n "$LINT" && break
6403 if test "$LINT" = "lint"
6405 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6410 for ac_prog in fontforge
6412 # Extract the first word of "$ac_prog", so it can be a program name with args.
6413 set dummy $ac_prog; ac_word=$2
6414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6416 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6417 echo $ECHO_N "(cached) $ECHO_C" >&6
6419 if test -n "$FONTFORGE"; then
6420 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 test -z "$as_dir" && as_dir=.
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429 ac_cv_prog_FONTFORGE="$ac_prog"
6430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 FONTFORGE=$ac_cv_prog_FONTFORGE
6440 if test -n "$FONTFORGE"; then
6441 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6442 echo "${ECHO_T}$FONTFORGE" >&6; }
6444 { echo "$as_me:$LINENO: result: no" >&5
6445 echo "${ECHO_T}no" >&6; }
6449 test -n "$FONTFORGE" && break
6451 test -n "$FONTFORGE" || FONTFORGE="false"
6453 for ac_prog in pkg-config
6455 # Extract the first word of "$ac_prog", so it can be a program name with args.
6456 set dummy $ac_prog; ac_word=$2
6457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6459 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6460 echo $ECHO_N "(cached) $ECHO_C" >&6
6462 if test -n "$PKG_CONFIG"; then
6463 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6469 test -z "$as_dir" && as_dir=.
6470 for ac_exec_ext in '' $ac_executable_extensions; do
6471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6472 ac_cv_prog_PKG_CONFIG="$ac_prog"
6473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6482 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6483 if test -n "$PKG_CONFIG"; then
6484 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6485 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6487 { echo "$as_me:$LINENO: result: no" >&5
6488 echo "${ECHO_T}no" >&6; }
6492 test -n "$PKG_CONFIG" && break
6494 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6498 # Extract the first word of "$ac_prog", so it can be a program name with args.
6499 set dummy $ac_prog; ac_word=$2
6500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6502 if test "${ac_cv_prog_RSVG+set}" = set; then
6503 echo $ECHO_N "(cached) $ECHO_C" >&6
6505 if test -n "$RSVG"; then
6506 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6512 test -z "$as_dir" && as_dir=.
6513 for ac_exec_ext in '' $ac_executable_extensions; do
6514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6515 ac_cv_prog_RSVG="$ac_prog"
6516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6525 RSVG=$ac_cv_prog_RSVG
6526 if test -n "$RSVG"; then
6527 { echo "$as_me:$LINENO: result: $RSVG" >&5
6528 echo "${ECHO_T}$RSVG" >&6; }
6530 { echo "$as_me:$LINENO: result: no" >&5
6531 echo "${ECHO_T}no" >&6; }
6535 test -n "$RSVG" && break
6537 test -n "$RSVG" || RSVG="false"
6539 for ac_prog in icotool
6541 # Extract the first word of "$ac_prog", so it can be a program name with args.
6542 set dummy $ac_prog; ac_word=$2
6543 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6545 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6546 echo $ECHO_N "(cached) $ECHO_C" >&6
6548 if test -n "$ICOTOOL"; then
6549 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6555 test -z "$as_dir" && as_dir=.
6556 for ac_exec_ext in '' $ac_executable_extensions; do
6557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6558 ac_cv_prog_ICOTOOL="$ac_prog"
6559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6568 ICOTOOL=$ac_cv_prog_ICOTOOL
6569 if test -n "$ICOTOOL"; then
6570 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6571 echo "${ECHO_T}$ICOTOOL" >&6; }
6573 { echo "$as_me:$LINENO: result: no" >&5
6574 echo "${ECHO_T}no" >&6; }
6578 test -n "$ICOTOOL" && break
6580 test -n "$ICOTOOL" || ICOTOOL="false"
6583 if test "${enable_maintainer_mode+set}" = set
6585 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6586 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6587 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6592 # Extract the first word of "prelink", so it can be a program name with args.
6593 set dummy prelink; ac_word=$2
6594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6596 if test "${ac_cv_path_PRELINK+set}" = set; then
6597 echo $ECHO_N "(cached) $ECHO_C" >&6
6601 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6605 for as_dir in /sbin /usr/sbin $PATH
6608 test -z "$as_dir" && as_dir=.
6609 for ac_exec_ext in '' $ac_executable_extensions; do
6610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6611 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6619 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6623 PRELINK=$ac_cv_path_PRELINK
6624 if test -n "$PRELINK"; then
6625 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6626 echo "${ECHO_T}$PRELINK" >&6; }
6628 { echo "$as_me:$LINENO: result: no" >&5
6629 echo "${ECHO_T}no" >&6; }
6638 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6639 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6640 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6641 echo $ECHO_N "(cached) $ECHO_C" >&6
6643 ac_check_lib_save_LIBS=$LIBS
6645 cat >conftest.$ac_ext <<_ACEOF
6648 cat confdefs.h >>conftest.$ac_ext
6649 cat >>conftest.$ac_ext <<_ACEOF
6650 /* end confdefs.h. */
6652 /* Override any GCC internal prototype to avoid an error.
6653 Use char because int might match the return type of a GCC
6654 builtin and then its argument prototype would still apply. */
6658 char i386_set_ldt ();
6662 return i386_set_ldt ();
6667 rm -f conftest.$ac_objext conftest$ac_exeext
6668 if { (ac_try="$ac_link"
6670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6671 *) ac_try_echo=$ac_try;;
6673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6674 (eval "$ac_link") 2>conftest.er1
6676 grep -v '^ *+' conftest.er1 >conftest.err
6678 cat conftest.err >&5
6679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); } && {
6681 test -z "$ac_c_werror_flag" ||
6682 test ! -s conftest.err
6683 } && test -s conftest$ac_exeext &&
6684 $as_test_x conftest$ac_exeext; then
6685 ac_cv_lib_i386_i386_set_ldt=yes
6687 echo "$as_me: failed program was:" >&5
6688 sed 's/^/| /' conftest.$ac_ext >&5
6690 ac_cv_lib_i386_i386_set_ldt=no
6693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6694 conftest$ac_exeext conftest.$ac_ext
6695 LIBS=$ac_check_lib_save_LIBS
6697 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6698 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6699 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6700 cat >>confdefs.h <<_ACEOF
6701 #define HAVE_LIBI386 1
6709 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6710 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6711 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6712 echo $ECHO_N "(cached) $ECHO_C" >&6
6714 ac_check_lib_save_LIBS=$LIBS
6715 LIBS="-lossaudio $LIBS"
6716 cat >conftest.$ac_ext <<_ACEOF
6719 cat confdefs.h >>conftest.$ac_ext
6720 cat >>conftest.$ac_ext <<_ACEOF
6721 /* end confdefs.h. */
6723 /* Override any GCC internal prototype to avoid an error.
6724 Use char because int might match the return type of a GCC
6725 builtin and then its argument prototype would still apply. */
6733 return _oss_ioctl ();
6738 rm -f conftest.$ac_objext conftest$ac_exeext
6739 if { (ac_try="$ac_link"
6741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6742 *) ac_try_echo=$ac_try;;
6744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6745 (eval "$ac_link") 2>conftest.er1
6747 grep -v '^ *+' conftest.er1 >conftest.err
6749 cat conftest.err >&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); } && {
6752 test -z "$ac_c_werror_flag" ||
6753 test ! -s conftest.err
6754 } && test -s conftest$ac_exeext &&
6755 $as_test_x conftest$ac_exeext; then
6756 ac_cv_lib_ossaudio__oss_ioctl=yes
6758 echo "$as_me: failed program was:" >&5
6759 sed 's/^/| /' conftest.$ac_ext >&5
6761 ac_cv_lib_ossaudio__oss_ioctl=no
6764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6765 conftest$ac_exeext conftest.$ac_ext
6766 LIBS=$ac_check_lib_save_LIBS
6768 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6769 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6770 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6771 cat >>confdefs.h <<_ACEOF
6772 #define HAVE_LIBOSSAUDIO 1
6775 LIBS="-lossaudio $LIBS"
6779 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6780 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6781 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6782 echo $ECHO_N "(cached) $ECHO_C" >&6
6784 ac_check_lib_save_LIBS=$LIBS
6785 LIBS="-lpthread $LIBS"
6786 cat >conftest.$ac_ext <<_ACEOF
6789 cat confdefs.h >>conftest.$ac_ext
6790 cat >>conftest.$ac_ext <<_ACEOF
6791 /* end confdefs.h. */
6793 /* Override any GCC internal prototype to avoid an error.
6794 Use char because int might match the return type of a GCC
6795 builtin and then its argument prototype would still apply. */
6799 char pthread_create ();
6803 return pthread_create ();
6808 rm -f conftest.$ac_objext conftest$ac_exeext
6809 if { (ac_try="$ac_link"
6811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6812 *) ac_try_echo=$ac_try;;
6814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6815 (eval "$ac_link") 2>conftest.er1
6817 grep -v '^ *+' conftest.er1 >conftest.err
6819 cat conftest.err >&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); } && {
6822 test -z "$ac_c_werror_flag" ||
6823 test ! -s conftest.err
6824 } && test -s conftest$ac_exeext &&
6825 $as_test_x conftest$ac_exeext; then
6826 ac_cv_lib_pthread_pthread_create=yes
6828 echo "$as_me: failed program was:" >&5
6829 sed 's/^/| /' conftest.$ac_ext >&5
6831 ac_cv_lib_pthread_pthread_create=no
6834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6835 conftest$ac_exeext conftest.$ac_ext
6836 LIBS=$ac_check_lib_save_LIBS
6838 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6839 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6840 if test $ac_cv_lib_pthread_pthread_create = yes; then
6841 LIBPTHREAD="-lpthread"
6860 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6861 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6862 if test "${ac_cv_header_stdc+set}" = set; then
6863 echo $ECHO_N "(cached) $ECHO_C" >&6
6865 cat >conftest.$ac_ext <<_ACEOF
6868 cat confdefs.h >>conftest.$ac_ext
6869 cat >>conftest.$ac_ext <<_ACEOF
6870 /* end confdefs.h. */
6884 rm -f conftest.$ac_objext
6885 if { (ac_try="$ac_compile"
6887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6888 *) ac_try_echo=$ac_try;;
6890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6891 (eval "$ac_compile") 2>conftest.er1
6893 grep -v '^ *+' conftest.er1 >conftest.err
6895 cat conftest.err >&5
6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897 (exit $ac_status); } && {
6898 test -z "$ac_c_werror_flag" ||
6899 test ! -s conftest.err
6900 } && test -s conftest.$ac_objext; then
6901 ac_cv_header_stdc=yes
6903 echo "$as_me: failed program was:" >&5
6904 sed 's/^/| /' conftest.$ac_ext >&5
6906 ac_cv_header_stdc=no
6909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6911 if test $ac_cv_header_stdc = yes; then
6912 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6913 cat >conftest.$ac_ext <<_ACEOF
6916 cat confdefs.h >>conftest.$ac_ext
6917 cat >>conftest.$ac_ext <<_ACEOF
6918 /* end confdefs.h. */
6922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6923 $EGREP "memchr" >/dev/null 2>&1; then
6926 ac_cv_header_stdc=no
6932 if test $ac_cv_header_stdc = yes; then
6933 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6934 cat >conftest.$ac_ext <<_ACEOF
6937 cat confdefs.h >>conftest.$ac_ext
6938 cat >>conftest.$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6944 $EGREP "free" >/dev/null 2>&1; then
6947 ac_cv_header_stdc=no
6953 if test $ac_cv_header_stdc = yes; then
6954 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6955 if test "$cross_compiling" = yes; then
6958 cat >conftest.$ac_ext <<_ACEOF
6961 cat confdefs.h >>conftest.$ac_ext
6962 cat >>conftest.$ac_ext <<_ACEOF
6963 /* end confdefs.h. */
6966 #if ((' ' & 0x0FF) == 0x020)
6967 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6968 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6970 # define ISLOWER(c) \
6971 (('a' <= (c) && (c) <= 'i') \
6972 || ('j' <= (c) && (c) <= 'r') \
6973 || ('s' <= (c) && (c) <= 'z'))
6974 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6977 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6982 for (i = 0; i < 256; i++)
6983 if (XOR (islower (i), ISLOWER (i))
6984 || toupper (i) != TOUPPER (i))
6989 rm -f conftest$ac_exeext
6990 if { (ac_try="$ac_link"
6992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6993 *) ac_try_echo=$ac_try;;
6995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6996 (eval "$ac_link") 2>&5
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7000 { (case "(($ac_try" in
7001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7002 *) ac_try_echo=$ac_try;;
7004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7005 (eval "$ac_try") 2>&5
7007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008 (exit $ac_status); }; }; then
7011 echo "$as_me: program exited with status $ac_status" >&5
7012 echo "$as_me: failed program was:" >&5
7013 sed 's/^/| /' conftest.$ac_ext >&5
7016 ac_cv_header_stdc=no
7018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7024 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7025 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7026 if test $ac_cv_header_stdc = yes; then
7028 cat >>confdefs.h <<\_ACEOF
7029 #define STDC_HEADERS 1
7034 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7044 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7045 inttypes.h stdint.h unistd.h
7047 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7048 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7051 echo $ECHO_N "(cached) $ECHO_C" >&6
7053 cat >conftest.$ac_ext <<_ACEOF
7056 cat confdefs.h >>conftest.$ac_ext
7057 cat >>conftest.$ac_ext <<_ACEOF
7058 /* end confdefs.h. */
7059 $ac_includes_default
7061 #include <$ac_header>
7063 rm -f conftest.$ac_objext
7064 if { (ac_try="$ac_compile"
7066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7067 *) ac_try_echo=$ac_try;;
7069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7070 (eval "$ac_compile") 2>conftest.er1
7072 grep -v '^ *+' conftest.er1 >conftest.err
7074 cat conftest.err >&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); } && {
7077 test -z "$ac_c_werror_flag" ||
7078 test ! -s conftest.err
7079 } && test -s conftest.$ac_objext; then
7080 eval "$as_ac_Header=yes"
7082 echo "$as_me: failed program was:" >&5
7083 sed 's/^/| /' conftest.$ac_ext >&5
7085 eval "$as_ac_Header=no"
7088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7090 ac_res=`eval echo '${'$as_ac_Header'}'`
7091 { echo "$as_me:$LINENO: result: $ac_res" >&5
7092 echo "${ECHO_T}$ac_res" >&6; }
7093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7094 cat >>confdefs.h <<_ACEOF
7095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7215 AudioUnit/AudioUnit.h \
7217 CoreAudio/CoreAudio.h \
7218 DiskArbitration/DiskArbitration.h \
7231 fontconfig/fontconfig.h \
7257 machine/soundcard.h \
7262 netinet/in_systm.h \
7324 valgrind/memcheck.h \
7328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7329 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7330 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7332 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7333 echo $ECHO_N "(cached) $ECHO_C" >&6
7335 ac_res=`eval echo '${'$as_ac_Header'}'`
7336 { echo "$as_me:$LINENO: result: $ac_res" >&5
7337 echo "${ECHO_T}$ac_res" >&6; }
7339 # Is the header compilable?
7340 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7341 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7342 cat >conftest.$ac_ext <<_ACEOF
7345 cat confdefs.h >>conftest.$ac_ext
7346 cat >>conftest.$ac_ext <<_ACEOF
7347 /* end confdefs.h. */
7348 $ac_includes_default
7349 #include <$ac_header>
7351 rm -f conftest.$ac_objext
7352 if { (ac_try="$ac_compile"
7354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7355 *) ac_try_echo=$ac_try;;
7357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7358 (eval "$ac_compile") 2>conftest.er1
7360 grep -v '^ *+' conftest.er1 >conftest.err
7362 cat conftest.err >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } && {
7365 test -z "$ac_c_werror_flag" ||
7366 test ! -s conftest.err
7367 } && test -s conftest.$ac_objext; then
7368 ac_header_compiler=yes
7370 echo "$as_me: failed program was:" >&5
7371 sed 's/^/| /' conftest.$ac_ext >&5
7373 ac_header_compiler=no
7376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7377 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7378 echo "${ECHO_T}$ac_header_compiler" >&6; }
7380 # Is the header present?
7381 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7383 cat >conftest.$ac_ext <<_ACEOF
7386 cat confdefs.h >>conftest.$ac_ext
7387 cat >>conftest.$ac_ext <<_ACEOF
7388 /* end confdefs.h. */
7389 #include <$ac_header>
7391 if { (ac_try="$ac_cpp conftest.$ac_ext"
7393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7394 *) ac_try_echo=$ac_try;;
7396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7397 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7399 grep -v '^ *+' conftest.er1 >conftest.err
7401 cat conftest.err >&5
7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 (exit $ac_status); } >/dev/null && {
7404 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7405 test ! -s conftest.err
7407 ac_header_preproc=yes
7409 echo "$as_me: failed program was:" >&5
7410 sed 's/^/| /' conftest.$ac_ext >&5
7412 ac_header_preproc=no
7415 rm -f conftest.err conftest.$ac_ext
7416 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7417 echo "${ECHO_T}$ac_header_preproc" >&6; }
7419 # So? What about this header?
7420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7422 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7423 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7425 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7426 ac_header_preproc=yes
7429 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7430 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7431 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7432 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7433 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7434 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7435 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7436 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7438 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7439 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7440 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7442 ## ------------------------------------ ##
7443 ## Report this to wine-devel@winehq.org ##
7444 ## ------------------------------------ ##
7446 ) | sed "s/^/$as_me: WARNING: /" >&2
7449 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7452 echo $ECHO_N "(cached) $ECHO_C" >&6
7454 eval "$as_ac_Header=\$ac_header_preproc"
7456 ac_res=`eval echo '${'$as_ac_Header'}'`
7457 { echo "$as_me:$LINENO: result: $ac_res" >&5
7458 echo "${ECHO_T}$ac_res" >&6; }
7461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7462 cat >>confdefs.h <<_ACEOF
7463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7470 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7471 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7472 if test "${ac_cv_header_stat_broken+set}" = set; then
7473 echo $ECHO_N "(cached) $ECHO_C" >&6
7475 cat >conftest.$ac_ext <<_ACEOF
7478 cat confdefs.h >>conftest.$ac_ext
7479 cat >>conftest.$ac_ext <<_ACEOF
7480 /* end confdefs.h. */
7481 #include <sys/types.h>
7482 #include <sys/stat.h>
7484 #if defined S_ISBLK && defined S_IFDIR
7485 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7488 #if defined S_ISBLK && defined S_IFCHR
7489 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7492 #if defined S_ISLNK && defined S_IFREG
7493 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7496 #if defined S_ISSOCK && defined S_IFREG
7497 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7501 rm -f conftest.$ac_objext
7502 if { (ac_try="$ac_compile"
7504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7505 *) ac_try_echo=$ac_try;;
7507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7508 (eval "$ac_compile") 2>conftest.er1
7510 grep -v '^ *+' conftest.er1 >conftest.err
7512 cat conftest.err >&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); } && {
7515 test -z "$ac_c_werror_flag" ||
7516 test ! -s conftest.err
7517 } && test -s conftest.$ac_objext; then
7518 ac_cv_header_stat_broken=no
7520 echo "$as_me: failed program was:" >&5
7521 sed 's/^/| /' conftest.$ac_ext >&5
7523 ac_cv_header_stat_broken=yes
7526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7528 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7529 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7530 if test $ac_cv_header_stat_broken = yes; then
7532 cat >>confdefs.h <<\_ACEOF
7533 #define STAT_MACROS_BROKEN 1
7544 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7546 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7547 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7549 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7550 echo $ECHO_N "(cached) $ECHO_C" >&6
7552 cat >conftest.$ac_ext <<_ACEOF
7555 cat confdefs.h >>conftest.$ac_ext
7556 cat >>conftest.$ac_ext <<_ACEOF
7557 /* end confdefs.h. */
7558 #include <sys/types.h>
7559 #ifdef HAVE_SYS_PARAM_H
7560 # include <sys/param.h>
7563 #include <$ac_header>
7565 rm -f conftest.$ac_objext
7566 if { (ac_try="$ac_compile"
7568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7569 *) ac_try_echo=$ac_try;;
7571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7572 (eval "$ac_compile") 2>conftest.er1
7574 grep -v '^ *+' conftest.er1 >conftest.err
7576 cat conftest.err >&5
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); } && {
7579 test -z "$ac_c_werror_flag" ||
7580 test ! -s conftest.err
7581 } && test -s conftest.$ac_objext; then
7582 eval "$as_ac_Header=yes"
7584 echo "$as_me: failed program was:" >&5
7585 sed 's/^/| /' conftest.$ac_ext >&5
7587 eval "$as_ac_Header=no"
7590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7592 ac_res=`eval echo '${'$as_ac_Header'}'`
7593 { echo "$as_me:$LINENO: result: $ac_res" >&5
7594 echo "${ECHO_T}$ac_res" >&6; }
7595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7596 cat >>confdefs.h <<_ACEOF
7597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7624 netinet/if_ether.h \
7632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7633 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7636 echo $ECHO_N "(cached) $ECHO_C" >&6
7638 cat >conftest.$ac_ext <<_ACEOF
7641 cat confdefs.h >>conftest.$ac_ext
7642 cat >>conftest.$ac_ext <<_ACEOF
7643 /* end confdefs.h. */
7644 #include <sys/types.h>
7645 #ifdef HAVE_SYS_SOCKET_H
7646 # include <sys/socket.h>
7648 #ifdef HAVE_SYS_SOCKETVAR_H
7649 # include <sys/socketvar.h>
7651 #ifdef HAVE_NETINET_IN_H
7652 # include <netinet/in.h>
7654 #ifdef HAVE_NETINET_IP_H
7655 # include <netinet/ip.h>
7658 #include <$ac_header>
7660 rm -f conftest.$ac_objext
7661 if { (ac_try="$ac_compile"
7663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7664 *) ac_try_echo=$ac_try;;
7666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7667 (eval "$ac_compile") 2>conftest.er1
7669 grep -v '^ *+' conftest.er1 >conftest.err
7671 cat conftest.err >&5
7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); } && {
7674 test -z "$ac_c_werror_flag" ||
7675 test ! -s conftest.err
7676 } && test -s conftest.$ac_objext; then
7677 eval "$as_ac_Header=yes"
7679 echo "$as_me: failed program was:" >&5
7680 sed 's/^/| /' conftest.$ac_ext >&5
7682 eval "$as_ac_Header=no"
7685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7687 ac_res=`eval echo '${'$as_ac_Header'}'`
7688 { echo "$as_me:$LINENO: result: $ac_res" >&5
7689 echo "${ECHO_T}$ac_res" >&6; }
7690 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7691 cat >>confdefs.h <<_ACEOF
7692 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7704 for ac_header in netinet/tcp_var.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_timer.h
7706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7707 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7709 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7710 echo $ECHO_N "(cached) $ECHO_C" >&6
7712 cat >conftest.$ac_ext <<_ACEOF
7715 cat confdefs.h >>conftest.$ac_ext
7716 cat >>conftest.$ac_ext <<_ACEOF
7717 /* end confdefs.h. */
7718 #include <sys/types.h>
7722 #ifdef HAVE_SYS_SOCKET_H
7723 # include <sys/socket.h>
7725 #ifdef HAVE_SYS_SOCKETVAR_H
7726 # include <sys/socketvar.h>
7728 #ifdef HAVE_NETINET_IN_H
7729 # include <netinet/in.h>
7731 #ifdef HAVE_NETINET_IP_H
7732 # include <netinet/ip.h>
7734 #ifdef HAVE_NETINET_IP_VAR_H
7735 # include <netinet/ip_var.h>
7737 #ifdef HAVE_NETINET_IP_ICMP_H
7738 # include <netinet/ip_icmp.h>
7740 #ifdef HAVE_NETINET_UDP_H
7741 # include <netinet/udp.h>
7743 #ifdef HAVE_NETINET_TCP_H
7744 # include <netinet/tcp.h>
7747 #include <$ac_header>
7749 rm -f conftest.$ac_objext
7750 if { (ac_try="$ac_compile"
7752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7753 *) ac_try_echo=$ac_try;;
7755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7756 (eval "$ac_compile") 2>conftest.er1
7758 grep -v '^ *+' conftest.er1 >conftest.err
7760 cat conftest.err >&5
7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762 (exit $ac_status); } && {
7763 test -z "$ac_c_werror_flag" ||
7764 test ! -s conftest.err
7765 } && test -s conftest.$ac_objext; then
7766 eval "$as_ac_Header=yes"
7768 echo "$as_me: failed program was:" >&5
7769 sed 's/^/| /' conftest.$ac_ext >&5
7771 eval "$as_ac_Header=no"
7774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7776 ac_res=`eval echo '${'$as_ac_Header'}'`
7777 { echo "$as_me:$LINENO: result: $ac_res" >&5
7778 echo "${ECHO_T}$ac_res" >&6; }
7779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7780 cat >>confdefs.h <<_ACEOF
7781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7790 for ac_header in linux/ipx.h
7792 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7793 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7795 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7796 echo $ECHO_N "(cached) $ECHO_C" >&6
7798 cat >conftest.$ac_ext <<_ACEOF
7801 cat confdefs.h >>conftest.$ac_ext
7802 cat >>conftest.$ac_ext <<_ACEOF
7803 /* end confdefs.h. */
7804 #include <sys/types.h>
7805 #ifdef HAVE_ASM_TYPES_H
7806 # include <asm/types.h>
7808 #ifdef HAVE_SYS_SOCKET_H
7809 # include <sys/socket.h>
7812 #include <$ac_header>
7814 rm -f conftest.$ac_objext
7815 if { (ac_try="$ac_compile"
7817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7818 *) ac_try_echo=$ac_try;;
7820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7821 (eval "$ac_compile") 2>conftest.er1
7823 grep -v '^ *+' conftest.er1 >conftest.err
7825 cat conftest.err >&5
7826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7827 (exit $ac_status); } && {
7828 test -z "$ac_c_werror_flag" ||
7829 test ! -s conftest.err
7830 } && test -s conftest.$ac_objext; then
7831 eval "$as_ac_Header=yes"
7833 echo "$as_me: failed program was:" >&5
7834 sed 's/^/| /' conftest.$ac_ext >&5
7836 eval "$as_ac_Header=no"
7839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7841 ac_res=`eval echo '${'$as_ac_Header'}'`
7842 { echo "$as_me:$LINENO: result: $ac_res" >&5
7843 echo "${ECHO_T}$ac_res" >&6; }
7844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7845 cat >>confdefs.h <<_ACEOF
7846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7855 for ac_header in resolv.h
7857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7858 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7860 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7861 echo $ECHO_N "(cached) $ECHO_C" >&6
7863 cat >conftest.$ac_ext <<_ACEOF
7866 cat confdefs.h >>conftest.$ac_ext
7867 cat >>conftest.$ac_ext <<_ACEOF
7868 /* end confdefs.h. */
7869 #include <sys/types.h>
7870 #ifdef HAVE_SYS_SOCKET_H
7871 # include <sys/socket.h>
7873 #ifdef HAVE_NETINET_IN_H
7874 # include <netinet/in.h>
7876 #ifdef HAVE_ARPA_NAMESER_H
7877 # include <arpa/nameser.h>
7880 #include <$ac_header>
7882 rm -f conftest.$ac_objext
7883 if { (ac_try="$ac_compile"
7885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7886 *) ac_try_echo=$ac_try;;
7888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7889 (eval "$ac_compile") 2>conftest.er1
7891 grep -v '^ *+' conftest.er1 >conftest.err
7893 cat conftest.err >&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); } && {
7896 test -z "$ac_c_werror_flag" ||
7897 test ! -s conftest.err
7898 } && test -s conftest.$ac_objext; then
7899 eval "$as_ac_Header=yes"
7901 echo "$as_me: failed program was:" >&5
7902 sed 's/^/| /' conftest.$ac_ext >&5
7904 eval "$as_ac_Header=no"
7907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7909 ac_res=`eval echo '${'$as_ac_Header'}'`
7910 { echo "$as_me:$LINENO: result: $ac_res" >&5
7911 echo "${ECHO_T}$ac_res" >&6; }
7912 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7913 cat >>confdefs.h <<_ACEOF
7914 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7923 for ac_header in ucontext.h
7925 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7926 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7928 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7929 echo $ECHO_N "(cached) $ECHO_C" >&6
7931 cat >conftest.$ac_ext <<_ACEOF
7934 cat confdefs.h >>conftest.$ac_ext
7935 cat >>conftest.$ac_ext <<_ACEOF
7936 /* end confdefs.h. */
7939 #include <$ac_header>
7941 rm -f conftest.$ac_objext
7942 if { (ac_try="$ac_compile"
7944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7945 *) ac_try_echo=$ac_try;;
7947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7948 (eval "$ac_compile") 2>conftest.er1
7950 grep -v '^ *+' conftest.er1 >conftest.err
7952 cat conftest.err >&5
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7954 (exit $ac_status); } && {
7955 test -z "$ac_c_werror_flag" ||
7956 test ! -s conftest.err
7957 } && test -s conftest.$ac_objext; then
7958 eval "$as_ac_Header=yes"
7960 echo "$as_me: failed program was:" >&5
7961 sed 's/^/| /' conftest.$ac_ext >&5
7963 eval "$as_ac_Header=no"
7966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7968 ac_res=`eval echo '${'$as_ac_Header'}'`
7969 { echo "$as_me:$LINENO: result: $ac_res" >&5
7970 echo "${ECHO_T}$ac_res" >&6; }
7971 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7972 cat >>confdefs.h <<_ACEOF
7973 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7982 for ac_header in sys/thr.h
7984 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7985 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7987 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7988 echo $ECHO_N "(cached) $ECHO_C" >&6
7990 cat >conftest.$ac_ext <<_ACEOF
7993 cat confdefs.h >>conftest.$ac_ext
7994 cat >>conftest.$ac_ext <<_ACEOF
7995 /* end confdefs.h. */
7996 #include <sys/types.h>
7997 #ifdef HAVE_UCONTEXT_H
7998 #include <ucontext.h>
8001 #include <$ac_header>
8003 rm -f conftest.$ac_objext
8004 if { (ac_try="$ac_compile"
8006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8007 *) ac_try_echo=$ac_try;;
8009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8010 (eval "$ac_compile") 2>conftest.er1
8012 grep -v '^ *+' conftest.er1 >conftest.err
8014 cat conftest.err >&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); } && {
8017 test -z "$ac_c_werror_flag" ||
8018 test ! -s conftest.err
8019 } && test -s conftest.$ac_objext; then
8020 eval "$as_ac_Header=yes"
8022 echo "$as_me: failed program was:" >&5
8023 sed 's/^/| /' conftest.$ac_ext >&5
8025 eval "$as_ac_Header=no"
8028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8030 ac_res=`eval echo '${'$as_ac_Header'}'`
8031 { echo "$as_me:$LINENO: result: $ac_res" >&5
8032 echo "${ECHO_T}$ac_res" >&6; }
8033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8034 cat >>confdefs.h <<_ACEOF
8035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8044 for ac_header in pthread_np.h
8046 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8047 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8049 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8050 echo $ECHO_N "(cached) $ECHO_C" >&6
8052 cat >conftest.$ac_ext <<_ACEOF
8055 cat confdefs.h >>conftest.$ac_ext
8056 cat >>conftest.$ac_ext <<_ACEOF
8057 /* end confdefs.h. */
8058 #ifdef HAVE_PTHREAD_H
8059 #include <pthread.h>
8062 #include <$ac_header>
8064 rm -f conftest.$ac_objext
8065 if { (ac_try="$ac_compile"
8067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8068 *) ac_try_echo=$ac_try;;
8070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8071 (eval "$ac_compile") 2>conftest.er1
8073 grep -v '^ *+' conftest.er1 >conftest.err
8075 cat conftest.err >&5
8076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 (exit $ac_status); } && {
8078 test -z "$ac_c_werror_flag" ||
8079 test ! -s conftest.err
8080 } && test -s conftest.$ac_objext; then
8081 eval "$as_ac_Header=yes"
8083 echo "$as_me: failed program was:" >&5
8084 sed 's/^/| /' conftest.$ac_ext >&5
8086 eval "$as_ac_Header=no"
8089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8091 ac_res=`eval echo '${'$as_ac_Header'}'`
8092 { echo "$as_me:$LINENO: result: $ac_res" >&5
8093 echo "${ECHO_T}$ac_res" >&6; }
8094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8095 cat >>confdefs.h <<_ACEOF
8096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8105 for ac_header in linux/videodev.h
8107 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8108 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8110 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8111 echo $ECHO_N "(cached) $ECHO_C" >&6
8113 cat >conftest.$ac_ext <<_ACEOF
8116 cat confdefs.h >>conftest.$ac_ext
8117 cat >>conftest.$ac_ext <<_ACEOF
8118 /* end confdefs.h. */
8119 #ifdef HAVE_SYS_TIME_H
8120 #include <sys/time.h>
8122 #include <sys/types.h>
8123 #ifdef HAVE_ASM_TYPES_H
8124 #include <asm/types.h>
8127 #include <$ac_header>
8129 rm -f conftest.$ac_objext
8130 if { (ac_try="$ac_compile"
8132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8133 *) ac_try_echo=$ac_try;;
8135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8136 (eval "$ac_compile") 2>conftest.er1
8138 grep -v '^ *+' conftest.er1 >conftest.err
8140 cat conftest.err >&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); } && {
8143 test -z "$ac_c_werror_flag" ||
8144 test ! -s conftest.err
8145 } && test -s conftest.$ac_objext; then
8146 eval "$as_ac_Header=yes"
8148 echo "$as_me: failed program was:" >&5
8149 sed 's/^/| /' conftest.$ac_ext >&5
8151 eval "$as_ac_Header=no"
8154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8156 ac_res=`eval echo '${'$as_ac_Header'}'`
8157 { echo "$as_me:$LINENO: result: $ac_res" >&5
8158 echo "${ECHO_T}$ac_res" >&6; }
8159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8160 cat >>confdefs.h <<_ACEOF
8161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8170 for ac_header in linux/capi.h
8172 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8173 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8176 echo $ECHO_N "(cached) $ECHO_C" >&6
8178 cat >conftest.$ac_ext <<_ACEOF
8181 cat confdefs.h >>conftest.$ac_ext
8182 cat >>conftest.$ac_ext <<_ACEOF
8183 /* end confdefs.h. */
8186 #include <$ac_header>
8188 rm -f conftest.$ac_objext
8189 if { (ac_try="$ac_compile"
8191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8192 *) ac_try_echo=$ac_try;;
8194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8195 (eval "$ac_compile") 2>conftest.er1
8197 grep -v '^ *+' conftest.er1 >conftest.err
8199 cat conftest.err >&5
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); } && {
8202 test -z "$ac_c_werror_flag" ||
8203 test ! -s conftest.err
8204 } && test -s conftest.$ac_objext; then
8205 eval "$as_ac_Header=yes"
8207 echo "$as_me: failed program was:" >&5
8208 sed 's/^/| /' conftest.$ac_ext >&5
8210 eval "$as_ac_Header=no"
8213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8215 ac_res=`eval echo '${'$as_ac_Header'}'`
8216 { echo "$as_me:$LINENO: result: $ac_res" >&5
8217 echo "${ECHO_T}$ac_res" >&6; }
8218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8219 cat >>confdefs.h <<_ACEOF
8220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8231 DLLFLAGS="-D_REENTRANT"
8245 # Extract the first word of "ldd", so it can be a program name with args.
8246 set dummy ldd; ac_word=$2
8247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8249 if test "${ac_cv_path_LDD+set}" = set; then
8250 echo $ECHO_N "(cached) $ECHO_C" >&6
8254 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8258 as_dummy="/sbin:/usr/sbin:$PATH"
8259 for as_dir in $as_dummy
8262 test -z "$as_dir" && as_dir=.
8263 for ac_exec_ext in '' $ac_executable_extensions; do
8264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8265 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8273 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8278 if test -n "$LDD"; then
8279 { echo "$as_me:$LINENO: result: $LDD" >&5
8280 echo "${ECHO_T}$LDD" >&6; }
8282 { echo "$as_me:$LINENO: result: no" >&5
8283 echo "${ECHO_T}no" >&6; }
8290 if test -n "$ac_tool_prefix"; then
8291 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8292 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8295 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8296 echo $ECHO_N "(cached) $ECHO_C" >&6
8298 if test -n "$DLLTOOL"; then
8299 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8305 test -z "$as_dir" && as_dir=.
8306 for ac_exec_ext in '' $ac_executable_extensions; do
8307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8308 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8318 DLLTOOL=$ac_cv_prog_DLLTOOL
8319 if test -n "$DLLTOOL"; then
8320 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8321 echo "${ECHO_T}$DLLTOOL" >&6; }
8323 { echo "$as_me:$LINENO: result: no" >&5
8324 echo "${ECHO_T}no" >&6; }
8329 if test -z "$ac_cv_prog_DLLTOOL"; then
8330 ac_ct_DLLTOOL=$DLLTOOL
8331 # Extract the first word of "dlltool", so it can be a program name with args.
8332 set dummy dlltool; ac_word=$2
8333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8335 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8336 echo $ECHO_N "(cached) $ECHO_C" >&6
8338 if test -n "$ac_ct_DLLTOOL"; then
8339 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8345 test -z "$as_dir" && as_dir=.
8346 for ac_exec_ext in '' $ac_executable_extensions; do
8347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8348 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8358 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8359 if test -n "$ac_ct_DLLTOOL"; then
8360 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8361 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8363 { echo "$as_me:$LINENO: result: no" >&5
8364 echo "${ECHO_T}no" >&6; }
8367 if test "x$ac_ct_DLLTOOL" = x; then
8370 case $cross_compiling:$ac_tool_warned in
8372 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8373 whose name does not start with the host triplet. If you think this
8374 configuration is useful to you, please write to autoconf@gnu.org." >&5
8375 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8376 whose name does not start with the host triplet. If you think this
8377 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8378 ac_tool_warned=yes ;;
8380 DLLTOOL=$ac_ct_DLLTOOL
8383 DLLTOOL="$ac_cv_prog_DLLTOOL"
8386 if test -n "$ac_tool_prefix"; then
8387 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8388 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8391 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8392 echo $ECHO_N "(cached) $ECHO_C" >&6
8394 if test -n "$DLLWRAP"; then
8395 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8401 test -z "$as_dir" && as_dir=.
8402 for ac_exec_ext in '' $ac_executable_extensions; do
8403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8404 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8414 DLLWRAP=$ac_cv_prog_DLLWRAP
8415 if test -n "$DLLWRAP"; then
8416 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8417 echo "${ECHO_T}$DLLWRAP" >&6; }
8419 { echo "$as_me:$LINENO: result: no" >&5
8420 echo "${ECHO_T}no" >&6; }
8425 if test -z "$ac_cv_prog_DLLWRAP"; then
8426 ac_ct_DLLWRAP=$DLLWRAP
8427 # Extract the first word of "dllwrap", so it can be a program name with args.
8428 set dummy dllwrap; ac_word=$2
8429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8431 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8432 echo $ECHO_N "(cached) $ECHO_C" >&6
8434 if test -n "$ac_ct_DLLWRAP"; then
8435 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8441 test -z "$as_dir" && as_dir=.
8442 for ac_exec_ext in '' $ac_executable_extensions; do
8443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8444 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8454 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8455 if test -n "$ac_ct_DLLWRAP"; then
8456 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8457 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8459 { echo "$as_me:$LINENO: result: no" >&5
8460 echo "${ECHO_T}no" >&6; }
8463 if test "x$ac_ct_DLLWRAP" = x; then
8466 case $cross_compiling:$ac_tool_warned in
8468 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8469 whose name does not start with the host triplet. If you think this
8470 configuration is useful to you, please write to autoconf@gnu.org." >&5
8471 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8472 whose name does not start with the host triplet. If you think this
8473 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8474 ac_tool_warned=yes ;;
8476 DLLWRAP=$ac_ct_DLLWRAP
8479 DLLWRAP="$ac_cv_prog_DLLWRAP"
8482 if test -n "$ac_tool_prefix"; then
8483 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8484 set dummy ${ac_tool_prefix}ar; ac_word=$2
8485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8487 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8488 echo $ECHO_N "(cached) $ECHO_C" >&6
8490 if test -n "$MINGWAR"; then
8491 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8497 test -z "$as_dir" && as_dir=.
8498 for ac_exec_ext in '' $ac_executable_extensions; do
8499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8500 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8510 MINGWAR=$ac_cv_prog_MINGWAR
8511 if test -n "$MINGWAR"; then
8512 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8513 echo "${ECHO_T}$MINGWAR" >&6; }
8515 { echo "$as_me:$LINENO: result: no" >&5
8516 echo "${ECHO_T}no" >&6; }
8521 if test -z "$ac_cv_prog_MINGWAR"; then
8522 ac_ct_MINGWAR=$MINGWAR
8523 # Extract the first word of "ar", so it can be a program name with args.
8524 set dummy ar; ac_word=$2
8525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8527 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8528 echo $ECHO_N "(cached) $ECHO_C" >&6
8530 if test -n "$ac_ct_MINGWAR"; then
8531 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8537 test -z "$as_dir" && as_dir=.
8538 for ac_exec_ext in '' $ac_executable_extensions; do
8539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8540 ac_cv_prog_ac_ct_MINGWAR="ar"
8541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8550 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8551 if test -n "$ac_ct_MINGWAR"; then
8552 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8553 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8555 { echo "$as_me:$LINENO: result: no" >&5
8556 echo "${ECHO_T}no" >&6; }
8559 if test "x$ac_ct_MINGWAR" = x; then
8562 case $cross_compiling:$ac_tool_warned in
8564 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8565 whose name does not start with the host triplet. If you think this
8566 configuration is useful to you, please write to autoconf@gnu.org." >&5
8567 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8568 whose name does not start with the host triplet. If you think this
8569 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8570 ac_tool_warned=yes ;;
8572 MINGWAR=$ac_ct_MINGWAR
8575 MINGWAR="$ac_cv_prog_MINGWAR"
8578 if test "$DLLWRAP" = "false"; then
8590 DLLFLAGS="$DLLFLAGS -fPIC"
8591 LDDLLFLAGS="-bundle -multiply_defined suppress"
8592 LIBWINE_LDFLAGS="-multiply_defined suppress"
8593 LDSHARED="\$(CC) -dynamiclib"
8595 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8596 SECURITYLIB="-framework Security -framework CoreFoundation"
8598 COREFOUNDATIONLIB="-framework CoreFoundation"
8600 IOKITLIB="-framework IOKit -framework CoreFoundation"
8602 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8604 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8606 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8609 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8611 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8616 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8618 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8620 CARBONLIB="-framework Carbon"
8622 QUARTZFILES='$(QUARTZFILES)'
8626 DLLFLAGS="$DLLFLAGS -fPIC"
8628 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8629 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8630 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8631 echo $ECHO_N "(cached) $ECHO_C" >&6
8633 ac_wine_try_cflags_saved=$CFLAGS
8634 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8635 cat >conftest.$ac_ext <<_ACEOF
8638 rm -f conftest.$ac_objext conftest$ac_exeext
8639 if { (ac_try="$ac_link"
8641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8642 *) ac_try_echo=$ac_try;;
8644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8645 (eval "$ac_link") 2>conftest.er1
8647 grep -v '^ *+' conftest.er1 >conftest.err
8649 cat conftest.err >&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); } && {
8652 test -z "$ac_c_werror_flag" ||
8653 test ! -s conftest.err
8654 } && test -s conftest$ac_exeext &&
8655 $as_test_x conftest$ac_exeext; then
8656 ac_cv_c_dll_gnuelf="yes"
8658 echo "$as_me: failed program was:" >&5
8659 sed 's/^/| /' conftest.$ac_ext >&5
8661 ac_cv_c_dll_gnuelf="no"
8664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8665 conftest$ac_exeext conftest.$ac_ext
8666 CFLAGS=$ac_wine_try_cflags_saved
8668 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8669 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8670 if test "$ac_cv_c_dll_gnuelf" = "yes"
8672 LDSHARED="\$(CC) -shared"
8673 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8674 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8675 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8676 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8677 echo $ECHO_N "(cached) $ECHO_C" >&6
8679 ac_wine_try_cflags_saved=$CFLAGS
8680 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8681 cat >conftest.$ac_ext <<_ACEOF
8684 cat confdefs.h >>conftest.$ac_ext
8685 cat >>conftest.$ac_ext <<_ACEOF
8686 /* end confdefs.h. */
8696 rm -f conftest.$ac_objext conftest$ac_exeext
8697 if { (ac_try="$ac_link"
8699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8700 *) ac_try_echo=$ac_try;;
8702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8703 (eval "$ac_link") 2>conftest.er1
8705 grep -v '^ *+' conftest.er1 >conftest.err
8707 cat conftest.err >&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); } && {
8710 test -z "$ac_c_werror_flag" ||
8711 test ! -s conftest.err
8712 } && test -s conftest$ac_exeext &&
8713 $as_test_x conftest$ac_exeext; then
8714 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8716 echo "$as_me: failed program was:" >&5
8717 sed 's/^/| /' conftest.$ac_ext >&5
8719 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8723 conftest$ac_exeext conftest.$ac_ext
8724 CFLAGS=$ac_wine_try_cflags_saved
8726 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8727 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8728 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8729 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8731 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8732 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8733 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8734 echo $ECHO_N "(cached) $ECHO_C" >&6
8736 ac_wine_try_cflags_saved=$CFLAGS
8737 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
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__h_confest_so_1=yes
8773 echo "$as_me: failed program was:" >&5
8774 sed 's/^/| /' conftest.$ac_ext >&5
8776 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=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__h_confest_so_1" >&5
8784 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8785 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8786 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8792 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8793 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8794 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8795 echo $ECHO_N "(cached) $ECHO_C" >&6
8797 ac_wine_try_cflags_saved=$CFLAGS
8798 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8799 cat >conftest.$ac_ext <<_ACEOF
8802 cat confdefs.h >>conftest.$ac_ext
8803 cat >>conftest.$ac_ext <<_ACEOF
8804 /* end confdefs.h. */
8814 rm -f conftest.$ac_objext conftest$ac_exeext
8815 if { (ac_try="$ac_link"
8817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8818 *) ac_try_echo=$ac_try;;
8820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8821 (eval "$ac_link") 2>conftest.er1
8823 grep -v '^ *+' conftest.er1 >conftest.err
8825 cat conftest.err >&5
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 (exit $ac_status); } && {
8828 test -z "$ac_c_werror_flag" ||
8829 test ! -s conftest.err
8830 } && test -s conftest$ac_exeext &&
8831 $as_test_x conftest$ac_exeext; then
8832 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8834 echo "$as_me: failed program was:" >&5
8835 sed 's/^/| /' conftest.$ac_ext >&5
8837 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8841 conftest$ac_exeext conftest.$ac_ext
8842 CFLAGS=$ac_wine_try_cflags_saved
8844 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8845 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8846 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8847 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8851 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8852 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8853 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8854 echo $ECHO_N "(cached) $ECHO_C" >&6
8856 ac_wine_try_cflags_saved=$CFLAGS
8857 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8858 cat >conftest.$ac_ext <<_ACEOF
8861 cat confdefs.h >>conftest.$ac_ext
8862 cat >>conftest.$ac_ext <<_ACEOF
8863 /* end confdefs.h. */
8873 rm -f conftest.$ac_objext conftest$ac_exeext
8874 if { (ac_try="$ac_link"
8876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8877 *) ac_try_echo=$ac_try;;
8879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8880 (eval "$ac_link") 2>conftest.er1
8882 grep -v '^ *+' conftest.er1 >conftest.err
8884 cat conftest.err >&5
8885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 (exit $ac_status); } && {
8887 test -z "$ac_c_werror_flag" ||
8888 test ! -s conftest.err
8889 } && test -s conftest$ac_exeext &&
8890 $as_test_x conftest$ac_exeext; then
8891 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8893 echo "$as_me: failed program was:" >&5
8894 sed 's/^/| /' conftest.$ac_ext >&5
8896 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8900 conftest$ac_exeext conftest.$ac_ext
8901 CFLAGS=$ac_wine_try_cflags_saved
8903 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8904 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8905 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8906 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8910 echo '{ global: *; };' >conftest.map
8911 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8912 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8913 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8914 echo $ECHO_N "(cached) $ECHO_C" >&6
8916 ac_wine_try_cflags_saved=$CFLAGS
8917 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8918 cat >conftest.$ac_ext <<_ACEOF
8921 cat confdefs.h >>conftest.$ac_ext
8922 cat >>conftest.$ac_ext <<_ACEOF
8923 /* end confdefs.h. */
8933 rm -f conftest.$ac_objext conftest$ac_exeext
8934 if { (ac_try="$ac_link"
8936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8937 *) ac_try_echo=$ac_try;;
8939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8940 (eval "$ac_link") 2>conftest.er1
8942 grep -v '^ *+' conftest.er1 >conftest.err
8944 cat conftest.err >&5
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); } && {
8947 test -z "$ac_c_werror_flag" ||
8948 test ! -s conftest.err
8949 } && test -s conftest$ac_exeext &&
8950 $as_test_x conftest$ac_exeext; then
8951 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8953 echo "$as_me: failed program was:" >&5
8954 sed 's/^/| /' conftest.$ac_ext >&5
8956 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8960 conftest$ac_exeext conftest.$ac_ext
8961 CFLAGS=$ac_wine_try_cflags_saved
8963 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8964 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8965 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8966 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8971 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8972 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8973 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8974 echo $ECHO_N "(cached) $ECHO_C" >&6
8976 ac_wine_try_cflags_saved=$CFLAGS
8977 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8978 cat >conftest.$ac_ext <<_ACEOF
8981 cat confdefs.h >>conftest.$ac_ext
8982 cat >>conftest.$ac_ext <<_ACEOF
8983 /* end confdefs.h. */
8993 rm -f conftest.$ac_objext conftest$ac_exeext
8994 if { (ac_try="$ac_link"
8996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8997 *) ac_try_echo=$ac_try;;
8999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9000 (eval "$ac_link") 2>conftest.er1
9002 grep -v '^ *+' conftest.er1 >conftest.err
9004 cat conftest.err >&5
9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 (exit $ac_status); } && {
9007 test -z "$ac_c_werror_flag" ||
9008 test ! -s conftest.err
9009 } && test -s conftest$ac_exeext &&
9010 $as_test_x conftest$ac_exeext; then
9011 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9013 echo "$as_me: failed program was:" >&5
9014 sed 's/^/| /' conftest.$ac_ext >&5
9016 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9020 conftest$ac_exeext conftest.$ac_ext
9021 CFLAGS=$ac_wine_try_cflags_saved
9023 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9024 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9025 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
9026 LDEXECFLAGS="-Wl,--export-dynamic"
9031 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
9032 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9033 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
9034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9035 echo $ECHO_N "(cached) $ECHO_C" >&6
9037 ac_wine_try_cflags_saved=$CFLAGS
9038 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9039 cat >conftest.$ac_ext <<_ACEOF
9042 cat confdefs.h >>conftest.$ac_ext
9043 cat >>conftest.$ac_ext <<_ACEOF
9044 /* end confdefs.h. */
9054 rm -f conftest.$ac_objext conftest$ac_exeext
9055 if { (ac_try="$ac_link"
9057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9058 *) ac_try_echo=$ac_try;;
9060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9061 (eval "$ac_link") 2>conftest.er1
9063 grep -v '^ *+' conftest.er1 >conftest.err
9065 cat conftest.err >&5
9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067 (exit $ac_status); } && {
9068 test -z "$ac_c_werror_flag" ||
9069 test ! -s conftest.err
9070 } && test -s conftest$ac_exeext &&
9071 $as_test_x conftest$ac_exeext; then
9072 eval "$as_ac_var=yes"
9074 echo "$as_me: failed program was:" >&5
9075 sed 's/^/| /' conftest.$ac_ext >&5
9077 eval "$as_ac_var=no"
9080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9081 conftest$ac_exeext conftest.$ac_ext
9082 CFLAGS=$ac_wine_try_cflags_saved
9084 ac_res=`eval echo '${'$as_ac_var'}'`
9085 { echo "$as_me:$LINENO: result: $ac_res" >&5
9086 echo "${ECHO_T}$ac_res" >&6; }
9087 if test `eval echo '${'$as_ac_var'}'` = yes; then
9088 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9089 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9091 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
9092 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9093 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
9094 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9095 echo $ECHO_N "(cached) $ECHO_C" >&6
9097 ac_wine_try_cflags_saved=$CFLAGS
9098 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9099 cat >conftest.$ac_ext <<_ACEOF
9102 cat confdefs.h >>conftest.$ac_ext
9103 cat >>conftest.$ac_ext <<_ACEOF
9104 /* end confdefs.h. */
9114 rm -f conftest.$ac_objext conftest$ac_exeext
9115 if { (ac_try="$ac_link"
9117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9118 *) ac_try_echo=$ac_try;;
9120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9121 (eval "$ac_link") 2>conftest.er1
9123 grep -v '^ *+' conftest.er1 >conftest.err
9125 cat conftest.err >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); } && {
9128 test -z "$ac_c_werror_flag" ||
9129 test ! -s conftest.err
9130 } && test -s conftest$ac_exeext &&
9131 $as_test_x conftest$ac_exeext; then
9132 eval "$as_ac_var=yes"
9134 echo "$as_me: failed program was:" >&5
9135 sed 's/^/| /' conftest.$ac_ext >&5
9137 eval "$as_ac_var=no"
9140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9141 conftest$ac_exeext conftest.$ac_ext
9142 CFLAGS=$ac_wine_try_cflags_saved
9144 ac_res=`eval echo '${'$as_ac_var'}'`
9145 { echo "$as_me:$LINENO: result: $ac_res" >&5
9146 echo "${ECHO_T}$ac_res" >&6; }
9147 if test `eval echo '${'$as_ac_var'}'` = yes; then
9148 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9149 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9155 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9156 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9157 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9158 echo $ECHO_N "(cached) $ECHO_C" >&6
9160 ac_wine_try_cflags_saved=$CFLAGS
9161 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9162 cat >conftest.$ac_ext <<_ACEOF
9165 cat confdefs.h >>conftest.$ac_ext
9166 cat >>conftest.$ac_ext <<_ACEOF
9167 /* end confdefs.h. */
9177 rm -f conftest.$ac_objext conftest$ac_exeext
9178 if { (ac_try="$ac_link"
9180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9181 *) ac_try_echo=$ac_try;;
9183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9184 (eval "$ac_link") 2>conftest.er1
9186 grep -v '^ *+' conftest.er1 >conftest.err
9188 cat conftest.err >&5
9189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190 (exit $ac_status); } && {
9191 test -z "$ac_c_werror_flag" ||
9192 test ! -s conftest.err
9193 } && test -s conftest$ac_exeext &&
9194 $as_test_x conftest$ac_exeext; then
9195 ac_cv_cflags__Wl___enable_new_dtags=yes
9197 echo "$as_me: failed program was:" >&5
9198 sed 's/^/| /' conftest.$ac_ext >&5
9200 ac_cv_cflags__Wl___enable_new_dtags=no
9203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9204 conftest$ac_exeext conftest.$ac_ext
9205 CFLAGS=$ac_wine_try_cflags_saved
9207 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9208 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9209 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9210 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9215 *i[3456789]86* | x86_64)
9216 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9217 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9218 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9219 echo $ECHO_N "(cached) $ECHO_C" >&6
9221 ac_wine_try_cflags_saved=$CFLAGS
9222 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9223 cat >conftest.$ac_ext <<_ACEOF
9226 cat confdefs.h >>conftest.$ac_ext
9227 cat >>conftest.$ac_ext <<_ACEOF
9228 /* end confdefs.h. */
9238 rm -f conftest.$ac_objext conftest$ac_exeext
9239 if { (ac_try="$ac_link"
9241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9242 *) ac_try_echo=$ac_try;;
9244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9245 (eval "$ac_link") 2>conftest.er1
9247 grep -v '^ *+' conftest.er1 >conftest.err
9249 cat conftest.err >&5
9250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251 (exit $ac_status); } && {
9252 test -z "$ac_c_werror_flag" ||
9253 test ! -s conftest.err
9254 } && test -s conftest$ac_exeext &&
9255 $as_test_x conftest$ac_exeext; then
9256 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9258 echo "$as_me: failed program was:" >&5
9259 sed 's/^/| /' conftest.$ac_ext >&5
9261 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9265 conftest$ac_exeext conftest.$ac_ext
9266 CFLAGS=$ac_wine_try_cflags_saved
9268 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9269 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9270 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9271 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9278 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9279 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9280 if test "${ac_cv_c_dll_unixware+set}" = set; then
9281 echo $ECHO_N "(cached) $ECHO_C" >&6
9283 ac_wine_try_cflags_saved=$CFLAGS
9284 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9285 cat >conftest.$ac_ext <<_ACEOF
9288 rm -f conftest.$ac_objext conftest$ac_exeext
9289 if { (ac_try="$ac_link"
9291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9292 *) ac_try_echo=$ac_try;;
9294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9295 (eval "$ac_link") 2>conftest.er1
9297 grep -v '^ *+' conftest.er1 >conftest.err
9299 cat conftest.err >&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); } && {
9302 test -z "$ac_c_werror_flag" ||
9303 test ! -s conftest.err
9304 } && test -s conftest$ac_exeext &&
9305 $as_test_x conftest$ac_exeext; then
9306 ac_cv_c_dll_unixware="yes"
9308 echo "$as_me: failed program was:" >&5
9309 sed 's/^/| /' conftest.$ac_ext >&5
9311 ac_cv_c_dll_unixware="no"
9314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9315 conftest$ac_exeext conftest.$ac_ext
9316 CFLAGS=$ac_wine_try_cflags_saved
9318 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9319 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9320 if test "$ac_cv_c_dll_unixware" = "yes"
9322 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9323 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9326 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9327 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9328 if test "${ac_cv_c_dll_hpux+set}" = set; then
9329 echo $ECHO_N "(cached) $ECHO_C" >&6
9331 ac_wine_try_cflags_saved=$CFLAGS
9332 CFLAGS="$CFLAGS -shared"
9333 cat >conftest.$ac_ext <<_ACEOF
9336 rm -f conftest.$ac_objext conftest$ac_exeext
9337 if { (ac_try="$ac_link"
9339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9340 *) ac_try_echo=$ac_try;;
9342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9343 (eval "$ac_link") 2>conftest.er1
9345 grep -v '^ *+' conftest.er1 >conftest.err
9347 cat conftest.err >&5
9348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9349 (exit $ac_status); } && {
9350 test -z "$ac_c_werror_flag" ||
9351 test ! -s conftest.err
9352 } && test -s conftest$ac_exeext &&
9353 $as_test_x conftest$ac_exeext; then
9354 ac_cv_c_dll_hpux="yes"
9356 echo "$as_me: failed program was:" >&5
9357 sed 's/^/| /' conftest.$ac_ext >&5
9359 ac_cv_c_dll_hpux="no"
9362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9363 conftest$ac_exeext conftest.$ac_ext
9364 CFLAGS=$ac_wine_try_cflags_saved
9366 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9367 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9368 if test "$ac_cv_c_dll_hpux" = "yes"
9372 LDDLLFLAGS="-shared -fPIC"
9373 LDSHARED="\$(CC) -shared"
9380 if test "$cross_compiling" = "no"
9382 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9384 # Extract the first word of "$ac_prog", so it can be a program name with args.
9385 set dummy $ac_prog; ac_word=$2
9386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9388 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9389 echo $ECHO_N "(cached) $ECHO_C" >&6
9391 if test -n "$CROSSCC"; then
9392 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9398 test -z "$as_dir" && as_dir=.
9399 for ac_exec_ext in '' $ac_executable_extensions; do
9400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9401 ac_cv_prog_CROSSCC="$ac_prog"
9402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9411 CROSSCC=$ac_cv_prog_CROSSCC
9412 if test -n "$CROSSCC"; then
9413 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9414 echo "${ECHO_T}$CROSSCC" >&6; }
9416 { echo "$as_me:$LINENO: result: no" >&5
9417 echo "${ECHO_T}no" >&6; }
9421 test -n "$CROSSCC" && break
9423 test -n "$CROSSCC" || CROSSCC="false"
9425 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9427 # Extract the first word of "$ac_prog", so it can be a program name with args.
9428 set dummy $ac_prog; ac_word=$2
9429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9431 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9432 echo $ECHO_N "(cached) $ECHO_C" >&6
9434 if test -n "$DLLTOOL"; then
9435 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9441 test -z "$as_dir" && as_dir=.
9442 for ac_exec_ext in '' $ac_executable_extensions; do
9443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9444 ac_cv_prog_DLLTOOL="$ac_prog"
9445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9454 DLLTOOL=$ac_cv_prog_DLLTOOL
9455 if test -n "$DLLTOOL"; then
9456 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9457 echo "${ECHO_T}$DLLTOOL" >&6; }
9459 { echo "$as_me:$LINENO: result: no" >&5
9460 echo "${ECHO_T}no" >&6; }
9464 test -n "$DLLTOOL" && break
9466 test -n "$DLLTOOL" || DLLTOOL="false"
9468 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9470 # Extract the first word of "$ac_prog", so it can be a program name with args.
9471 set dummy $ac_prog; ac_word=$2
9472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9474 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9475 echo $ECHO_N "(cached) $ECHO_C" >&6
9477 if test -n "$CROSSWINDRES"; then
9478 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9484 test -z "$as_dir" && as_dir=.
9485 for ac_exec_ext in '' $ac_executable_extensions; do
9486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9487 ac_cv_prog_CROSSWINDRES="$ac_prog"
9488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9497 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9498 if test -n "$CROSSWINDRES"; then
9499 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9500 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9502 { echo "$as_me:$LINENO: result: no" >&5
9503 echo "${ECHO_T}no" >&6; }
9507 test -n "$CROSSWINDRES" && break
9509 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9511 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9513 # Extract the first word of "$ac_prog", so it can be a program name with args.
9514 set dummy $ac_prog; ac_word=$2
9515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9517 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9518 echo $ECHO_N "(cached) $ECHO_C" >&6
9520 if test -n "$MINGWAR"; then
9521 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9527 test -z "$as_dir" && as_dir=.
9528 for ac_exec_ext in '' $ac_executable_extensions; do
9529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9530 ac_cv_prog_MINGWAR="$ac_prog"
9531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9540 MINGWAR=$ac_cv_prog_MINGWAR
9541 if test -n "$MINGWAR"; then
9542 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9543 echo "${ECHO_T}$MINGWAR" >&6; }
9545 { echo "$as_me:$LINENO: result: no" >&5
9546 echo "${ECHO_T}no" >&6; }
9550 test -n "$MINGWAR" && break
9552 test -n "$MINGWAR" || MINGWAR="false"
9554 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9559 if test "$LIBEXT" = "a"; then
9560 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9561 It is currently not possible to build Wine without shared library
9562 (.so) support to allow transparent switch between .so and .dll files.
9563 If you are using Linux, you will need a newer binutils.
9565 echo "$as_me: error: could not find a way to build shared libraries.
9566 It is currently not possible to build Wine without shared library
9567 (.so) support to allow transparent switch between .so and .dll files.
9568 If you are using Linux, you will need a newer binutils.
9570 { (exit 1); exit 1; }; }
9574 if test "$have_x" = "yes"
9577 ac_save_CPPFLAGS="$CPPFLAGS"
9578 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9580 { echo "$as_me:$LINENO: checking for -lX11" >&5
9581 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9582 if test "${ac_cv_lib_soname_X11+set}" = set; then
9583 echo $ECHO_N "(cached) $ECHO_C" >&6
9585 ac_check_soname_save_LIBS=$LIBS
9586 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9587 cat >conftest.$ac_ext <<_ACEOF
9590 cat confdefs.h >>conftest.$ac_ext
9591 cat >>conftest.$ac_ext <<_ACEOF
9592 /* end confdefs.h. */
9594 /* Override any GCC internal prototype to avoid an error.
9595 Use char because int might match the return type of a GCC
9596 builtin and then its argument prototype would still apply. */
9600 char XCreateWindow ();
9604 return XCreateWindow ();
9609 rm -f conftest.$ac_objext conftest$ac_exeext
9610 if { (ac_try="$ac_link"
9612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9613 *) ac_try_echo=$ac_try;;
9615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9616 (eval "$ac_link") 2>conftest.er1
9618 grep -v '^ *+' conftest.er1 >conftest.err
9620 cat conftest.err >&5
9621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622 (exit $ac_status); } && {
9623 test -z "$ac_c_werror_flag" ||
9624 test ! -s conftest.err
9625 } && test -s conftest$ac_exeext &&
9626 $as_test_x conftest$ac_exeext; then
9629 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'` ;;
9630 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9633 echo "$as_me: failed program was:" >&5
9634 sed 's/^/| /' conftest.$ac_ext >&5
9639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9640 conftest$ac_exeext conftest.$ac_ext
9641 LIBS=$ac_check_soname_save_LIBS
9643 if test "x$ac_cv_lib_soname_X11" = "x"; then
9644 { echo "$as_me:$LINENO: result: not found" >&5
9645 echo "${ECHO_T}not found" >&6; }
9648 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9649 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9651 cat >>confdefs.h <<_ACEOF
9652 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9658 { echo "$as_me:$LINENO: checking for -lXext" >&5
9659 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9660 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9661 echo $ECHO_N "(cached) $ECHO_C" >&6
9663 ac_check_soname_save_LIBS=$LIBS
9664 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9665 cat >conftest.$ac_ext <<_ACEOF
9668 cat confdefs.h >>conftest.$ac_ext
9669 cat >>conftest.$ac_ext <<_ACEOF
9670 /* end confdefs.h. */
9672 /* Override any GCC internal prototype to avoid an error.
9673 Use char because int might match the return type of a GCC
9674 builtin and then its argument prototype would still apply. */
9678 char XextCreateExtension ();
9682 return XextCreateExtension ();
9687 rm -f conftest.$ac_objext conftest$ac_exeext
9688 if { (ac_try="$ac_link"
9690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9691 *) ac_try_echo=$ac_try;;
9693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9694 (eval "$ac_link") 2>conftest.er1
9696 grep -v '^ *+' conftest.er1 >conftest.err
9698 cat conftest.err >&5
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); } && {
9701 test -z "$ac_c_werror_flag" ||
9702 test ! -s conftest.err
9703 } && test -s conftest$ac_exeext &&
9704 $as_test_x conftest$ac_exeext; then
9707 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'` ;;
9708 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9711 echo "$as_me: failed program was:" >&5
9712 sed 's/^/| /' conftest.$ac_ext >&5
9717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9718 conftest$ac_exeext conftest.$ac_ext
9719 LIBS=$ac_check_soname_save_LIBS
9721 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9722 { echo "$as_me:$LINENO: result: not found" >&5
9723 echo "${ECHO_T}not found" >&6; }
9726 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9727 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9729 cat >>confdefs.h <<_ACEOF
9730 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9749 for ac_header in X11/Xlib.h \
9752 X11/Xcursor/Xcursor.h \
9753 X11/extensions/shape.h \
9754 X11/extensions/XInput.h \
9755 X11/extensions/XShm.h \
9756 X11/extensions/Xcomposite.h \
9757 X11/extensions/Xinerama.h \
9758 X11/extensions/Xrandr.h \
9759 X11/extensions/Xrender.h \
9760 X11/extensions/xf86vmode.h
9762 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9763 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9766 echo $ECHO_N "(cached) $ECHO_C" >&6
9768 cat >conftest.$ac_ext <<_ACEOF
9771 cat confdefs.h >>conftest.$ac_ext
9772 cat >>conftest.$ac_ext <<_ACEOF
9773 /* end confdefs.h. */
9774 #ifdef HAVE_X11_XLIB_H
9775 # include <X11/Xlib.h>
9777 #ifdef HAVE_X11_XUTIL_H
9778 # include <X11/Xutil.h>
9781 #include <$ac_header>
9783 rm -f conftest.$ac_objext
9784 if { (ac_try="$ac_compile"
9786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9787 *) ac_try_echo=$ac_try;;
9789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9790 (eval "$ac_compile") 2>conftest.er1
9792 grep -v '^ *+' conftest.er1 >conftest.err
9794 cat conftest.err >&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); } && {
9797 test -z "$ac_c_werror_flag" ||
9798 test ! -s conftest.err
9799 } && test -s conftest.$ac_objext; then
9800 eval "$as_ac_Header=yes"
9802 echo "$as_me: failed program was:" >&5
9803 sed 's/^/| /' conftest.$ac_ext >&5
9805 eval "$as_ac_Header=no"
9808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9810 ac_res=`eval echo '${'$as_ac_Header'}'`
9811 { echo "$as_me:$LINENO: result: $ac_res" >&5
9812 echo "${ECHO_T}$ac_res" >&6; }
9813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9814 cat >>confdefs.h <<_ACEOF
9815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9823 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9825 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9826 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9827 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9828 echo $ECHO_N "(cached) $ECHO_C" >&6
9830 ac_check_lib_save_LIBS=$LIBS
9831 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9832 cat >conftest.$ac_ext <<_ACEOF
9835 cat confdefs.h >>conftest.$ac_ext
9836 cat >>conftest.$ac_ext <<_ACEOF
9837 /* end confdefs.h. */
9839 /* Override any GCC internal prototype to avoid an error.
9840 Use char because int might match the return type of a GCC
9841 builtin and then its argument prototype would still apply. */
9845 char XkbQueryExtension ();
9849 return XkbQueryExtension ();
9854 rm -f conftest.$ac_objext conftest$ac_exeext
9855 if { (ac_try="$ac_link"
9857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9858 *) ac_try_echo=$ac_try;;
9860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9861 (eval "$ac_link") 2>conftest.er1
9863 grep -v '^ *+' conftest.er1 >conftest.err
9865 cat conftest.err >&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); } && {
9868 test -z "$ac_c_werror_flag" ||
9869 test ! -s conftest.err
9870 } && test -s conftest$ac_exeext &&
9871 $as_test_x conftest$ac_exeext; then
9872 ac_cv_lib_X11_XkbQueryExtension=yes
9874 echo "$as_me: failed program was:" >&5
9875 sed 's/^/| /' conftest.$ac_ext >&5
9877 ac_cv_lib_X11_XkbQueryExtension=no
9880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9881 conftest$ac_exeext conftest.$ac_ext
9882 LIBS=$ac_check_lib_save_LIBS
9884 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9885 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9886 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9888 cat >>confdefs.h <<\_ACEOF
9896 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9898 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9899 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9900 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9901 echo $ECHO_N "(cached) $ECHO_C" >&6
9903 ac_check_soname_save_LIBS=$LIBS
9904 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9905 cat >conftest.$ac_ext <<_ACEOF
9908 cat confdefs.h >>conftest.$ac_ext
9909 cat >>conftest.$ac_ext <<_ACEOF
9910 /* end confdefs.h. */
9912 /* Override any GCC internal prototype to avoid an error.
9913 Use char because int might match the return type of a GCC
9914 builtin and then its argument prototype would still apply. */
9918 char XcursorImageLoadCursor ();
9922 return XcursorImageLoadCursor ();
9927 rm -f conftest.$ac_objext conftest$ac_exeext
9928 if { (ac_try="$ac_link"
9930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9931 *) ac_try_echo=$ac_try;;
9933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9934 (eval "$ac_link") 2>conftest.er1
9936 grep -v '^ *+' conftest.er1 >conftest.err
9938 cat conftest.err >&5
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); } && {
9941 test -z "$ac_c_werror_flag" ||
9942 test ! -s conftest.err
9943 } && test -s conftest$ac_exeext &&
9944 $as_test_x conftest$ac_exeext; then
9947 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'` ;;
9948 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9951 echo "$as_me: failed program was:" >&5
9952 sed 's/^/| /' conftest.$ac_ext >&5
9957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9958 conftest$ac_exeext conftest.$ac_ext
9959 LIBS=$ac_check_soname_save_LIBS
9961 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9962 { echo "$as_me:$LINENO: result: not found" >&5
9963 echo "${ECHO_T}not found" >&6; }
9966 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9967 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9969 cat >>confdefs.h <<_ACEOF
9970 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9977 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9978 case "x$with_xcursor" in
9979 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9981 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9982 This is an error since --with-xcursor was requested." >&5
9983 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9984 This is an error since --with-xcursor was requested." >&2;}
9985 { (exit 1); exit 1; }; } ;;
9990 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9992 { echo "$as_me:$LINENO: checking for -lXi" >&5
9993 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9994 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9995 echo $ECHO_N "(cached) $ECHO_C" >&6
9997 ac_check_soname_save_LIBS=$LIBS
9998 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9999 cat >conftest.$ac_ext <<_ACEOF
10002 cat confdefs.h >>conftest.$ac_ext
10003 cat >>conftest.$ac_ext <<_ACEOF
10004 /* end confdefs.h. */
10006 /* Override any GCC internal prototype to avoid an error.
10007 Use char because int might match the return type of a GCC
10008 builtin and then its argument prototype would still apply. */
10012 char XOpenDevice ();
10016 return XOpenDevice ();
10021 rm -f conftest.$ac_objext conftest$ac_exeext
10022 if { (ac_try="$ac_link"
10023 case "(($ac_try" in
10024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10025 *) ac_try_echo=$ac_try;;
10027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10028 (eval "$ac_link") 2>conftest.er1
10030 grep -v '^ *+' conftest.er1 >conftest.err
10032 cat conftest.err >&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); } && {
10035 test -z "$ac_c_werror_flag" ||
10036 test ! -s conftest.err
10037 } && test -s conftest$ac_exeext &&
10038 $as_test_x conftest$ac_exeext; then
10041 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'` ;;
10042 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10045 echo "$as_me: failed program was:" >&5
10046 sed 's/^/| /' conftest.$ac_ext >&5
10051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10052 conftest$ac_exeext conftest.$ac_ext
10053 LIBS=$ac_check_soname_save_LIBS
10055 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10056 { echo "$as_me:$LINENO: result: not found" >&5
10057 echo "${ECHO_T}not found" >&6; }
10060 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
10061 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
10063 cat >>confdefs.h <<_ACEOF
10064 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10071 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10072 case "x$with_xinput" in
10073 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
10075 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
10076 This is an error since --with-xinput was requested." >&5
10077 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
10078 This is an error since --with-xinput was requested." >&2;}
10079 { (exit 1); exit 1; }; } ;;
10084 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10086 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
10087 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
10088 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
10089 echo $ECHO_N "(cached) $ECHO_C" >&6
10091 ac_check_lib_save_LIBS=$LIBS
10092 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10093 cat >conftest.$ac_ext <<_ACEOF
10096 cat confdefs.h >>conftest.$ac_ext
10097 cat >>conftest.$ac_ext <<_ACEOF
10098 /* end confdefs.h. */
10100 /* Override any GCC internal prototype to avoid an error.
10101 Use char because int might match the return type of a GCC
10102 builtin and then its argument prototype would still apply. */
10106 char XShmQueryExtension ();
10110 return XShmQueryExtension ();
10115 rm -f conftest.$ac_objext conftest$ac_exeext
10116 if { (ac_try="$ac_link"
10117 case "(($ac_try" in
10118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10119 *) ac_try_echo=$ac_try;;
10121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10122 (eval "$ac_link") 2>conftest.er1
10124 grep -v '^ *+' conftest.er1 >conftest.err
10126 cat conftest.err >&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); } && {
10129 test -z "$ac_c_werror_flag" ||
10130 test ! -s conftest.err
10131 } && test -s conftest$ac_exeext &&
10132 $as_test_x conftest$ac_exeext; then
10133 ac_cv_lib_Xext_XShmQueryExtension=yes
10135 echo "$as_me: failed program was:" >&5
10136 sed 's/^/| /' conftest.$ac_ext >&5
10138 ac_cv_lib_Xext_XShmQueryExtension=no
10141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10142 conftest$ac_exeext conftest.$ac_ext
10143 LIBS=$ac_check_lib_save_LIBS
10145 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10146 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10147 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10149 cat >>confdefs.h <<\_ACEOF
10150 #define HAVE_LIBXXSHM 1
10156 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
10157 case "x$with_xshm" in
10158 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10160 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10161 This is an error since --with-xshm was requested." >&5
10162 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10163 This is an error since --with-xshm was requested." >&2;}
10164 { (exit 1); exit 1; }; } ;;
10169 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10171 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10172 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10173 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10174 echo $ECHO_N "(cached) $ECHO_C" >&6
10176 ac_check_lib_save_LIBS=$LIBS
10177 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10178 cat >conftest.$ac_ext <<_ACEOF
10181 cat confdefs.h >>conftest.$ac_ext
10182 cat >>conftest.$ac_ext <<_ACEOF
10183 /* end confdefs.h. */
10185 /* Override any GCC internal prototype to avoid an error.
10186 Use char because int might match the return type of a GCC
10187 builtin and then its argument prototype would still apply. */
10191 char XShapeQueryExtension ();
10195 return XShapeQueryExtension ();
10200 rm -f conftest.$ac_objext conftest$ac_exeext
10201 if { (ac_try="$ac_link"
10202 case "(($ac_try" in
10203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10204 *) ac_try_echo=$ac_try;;
10206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10207 (eval "$ac_link") 2>conftest.er1
10209 grep -v '^ *+' conftest.er1 >conftest.err
10211 cat conftest.err >&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); } && {
10214 test -z "$ac_c_werror_flag" ||
10215 test ! -s conftest.err
10216 } && test -s conftest$ac_exeext &&
10217 $as_test_x conftest$ac_exeext; then
10218 ac_cv_lib_Xext_XShapeQueryExtension=yes
10220 echo "$as_me: failed program was:" >&5
10221 sed 's/^/| /' conftest.$ac_ext >&5
10223 ac_cv_lib_Xext_XShapeQueryExtension=no
10226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10227 conftest$ac_exeext conftest.$ac_ext
10228 LIBS=$ac_check_lib_save_LIBS
10230 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10231 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10232 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10234 cat >>confdefs.h <<\_ACEOF
10235 #define HAVE_LIBXSHAPE 1
10241 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10242 case "x$with_xshape" in
10243 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10245 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10246 This is an error since --with-xshape was requested." >&5
10247 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10248 This is an error since --with-xshape was requested." >&2;}
10249 { (exit 1); exit 1; }; } ;;
10254 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10256 { echo "$as_me:$LINENO: checking for -lXxf86vm" >&5
10257 echo $ECHO_N "checking for -lXxf86vm... $ECHO_C" >&6; }
10258 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then
10259 echo $ECHO_N "(cached) $ECHO_C" >&6
10261 ac_check_soname_save_LIBS=$LIBS
10262 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10263 cat >conftest.$ac_ext <<_ACEOF
10266 cat confdefs.h >>conftest.$ac_ext
10267 cat >>conftest.$ac_ext <<_ACEOF
10268 /* end confdefs.h. */
10270 /* Override any GCC internal prototype to avoid an error.
10271 Use char because int might match the return type of a GCC
10272 builtin and then its argument prototype would still apply. */
10276 char XF86VidModeQueryExtension ();
10280 return XF86VidModeQueryExtension ();
10285 rm -f conftest.$ac_objext conftest$ac_exeext
10286 if { (ac_try="$ac_link"
10287 case "(($ac_try" in
10288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10289 *) ac_try_echo=$ac_try;;
10291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10292 (eval "$ac_link") 2>conftest.er1
10294 grep -v '^ *+' conftest.er1 >conftest.err
10296 cat conftest.err >&5
10297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298 (exit $ac_status); } && {
10299 test -z "$ac_c_werror_flag" ||
10300 test ! -s conftest.err
10301 } && test -s conftest$ac_exeext &&
10302 $as_test_x conftest$ac_exeext; then
10305 dylib) ac_cv_lib_soname_Xxf86vm=`otool -L conftest$ac_exeext | grep "libXxf86vm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXxf86vm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10306 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10309 echo "$as_me: failed program was:" >&5
10310 sed 's/^/| /' conftest.$ac_ext >&5
10315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10316 conftest$ac_exeext conftest.$ac_ext
10317 LIBS=$ac_check_soname_save_LIBS
10319 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10320 { echo "$as_me:$LINENO: result: not found" >&5
10321 echo "${ECHO_T}not found" >&6; }
10324 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xxf86vm" >&5
10325 echo "${ECHO_T}$ac_cv_lib_soname_Xxf86vm" >&6; }
10327 cat >>confdefs.h <<_ACEOF
10328 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10335 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10336 case "x$with_xxf86vm" in
10337 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10339 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10340 This is an error since --with-xxf86vm was requested." >&5
10341 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10342 This is an error since --with-xxf86vm was requested." >&2;}
10343 { (exit 1); exit 1; }; } ;;
10348 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"
10350 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10351 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10352 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10353 echo $ECHO_N "(cached) $ECHO_C" >&6
10355 ac_check_soname_save_LIBS=$LIBS
10356 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10357 cat >conftest.$ac_ext <<_ACEOF
10360 cat confdefs.h >>conftest.$ac_ext
10361 cat >>conftest.$ac_ext <<_ACEOF
10362 /* end confdefs.h. */
10364 /* Override any GCC internal prototype to avoid an error.
10365 Use char because int might match the return type of a GCC
10366 builtin and then its argument prototype would still apply. */
10370 char XRenderQueryExtension ();
10374 return XRenderQueryExtension ();
10379 rm -f conftest.$ac_objext conftest$ac_exeext
10380 if { (ac_try="$ac_link"
10381 case "(($ac_try" in
10382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10383 *) ac_try_echo=$ac_try;;
10385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10386 (eval "$ac_link") 2>conftest.er1
10388 grep -v '^ *+' conftest.er1 >conftest.err
10390 cat conftest.err >&5
10391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 (exit $ac_status); } && {
10393 test -z "$ac_c_werror_flag" ||
10394 test ! -s conftest.err
10395 } && test -s conftest$ac_exeext &&
10396 $as_test_x conftest$ac_exeext; then
10399 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'` ;;
10400 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10403 echo "$as_me: failed program was:" >&5
10404 sed 's/^/| /' conftest.$ac_ext >&5
10409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10410 conftest$ac_exeext conftest.$ac_ext
10411 LIBS=$ac_check_soname_save_LIBS
10413 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10414 { echo "$as_me:$LINENO: result: not found" >&5
10415 echo "${ECHO_T}not found" >&6; }
10418 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10419 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10421 cat >>confdefs.h <<_ACEOF
10422 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10425 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10426 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10427 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10428 echo $ECHO_N "(cached) $ECHO_C" >&6
10430 ac_check_lib_save_LIBS=$LIBS
10431 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10432 cat >conftest.$ac_ext <<_ACEOF
10435 cat confdefs.h >>conftest.$ac_ext
10436 cat >>conftest.$ac_ext <<_ACEOF
10437 /* end confdefs.h. */
10439 /* Override any GCC internal prototype to avoid an error.
10440 Use char because int might match the return type of a GCC
10441 builtin and then its argument prototype would still apply. */
10445 char XRenderSetPictureTransform ();
10449 return XRenderSetPictureTransform ();
10454 rm -f conftest.$ac_objext conftest$ac_exeext
10455 if { (ac_try="$ac_link"
10456 case "(($ac_try" in
10457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10458 *) ac_try_echo=$ac_try;;
10460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10461 (eval "$ac_link") 2>conftest.er1
10463 grep -v '^ *+' conftest.er1 >conftest.err
10465 cat conftest.err >&5
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); } && {
10468 test -z "$ac_c_werror_flag" ||
10469 test ! -s conftest.err
10470 } && test -s conftest$ac_exeext &&
10471 $as_test_x conftest$ac_exeext; then
10472 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.$ac_ext >&5
10477 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10481 conftest$ac_exeext conftest.$ac_ext
10482 LIBS=$ac_check_lib_save_LIBS
10484 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10485 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10486 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10488 cat >>confdefs.h <<\_ACEOF
10489 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10498 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10499 case "x$with_xrender" in
10500 x) wine_warnings="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10502 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10503 This is an error since --with-xrender was requested." >&5
10504 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10505 This is an error since --with-xrender was requested." >&2;}
10506 { (exit 1); exit 1; }; } ;;
10511 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10513 cat >conftest.$ac_ext <<_ACEOF
10516 cat confdefs.h >>conftest.$ac_ext
10517 cat >>conftest.$ac_ext <<_ACEOF
10518 /* end confdefs.h. */
10519 #include <X11/Xlib.h>
10520 #include <X11/extensions/Xrandr.h>
10524 static typeof(XRRSetScreenConfigAndRate) * func;
10529 rm -f conftest.$ac_objext
10530 if { (ac_try="$ac_compile"
10531 case "(($ac_try" in
10532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10533 *) ac_try_echo=$ac_try;;
10535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10536 (eval "$ac_compile") 2>conftest.er1
10538 grep -v '^ *+' conftest.er1 >conftest.err
10540 cat conftest.err >&5
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); } && {
10543 test -z "$ac_c_werror_flag" ||
10544 test ! -s conftest.err
10545 } && test -s conftest.$ac_objext; then
10546 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10547 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10548 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10549 echo $ECHO_N "(cached) $ECHO_C" >&6
10551 ac_check_soname_save_LIBS=$LIBS
10552 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10553 cat >conftest.$ac_ext <<_ACEOF
10556 cat confdefs.h >>conftest.$ac_ext
10557 cat >>conftest.$ac_ext <<_ACEOF
10558 /* end confdefs.h. */
10560 /* Override any GCC internal prototype to avoid an error.
10561 Use char because int might match the return type of a GCC
10562 builtin and then its argument prototype would still apply. */
10566 char XRRQueryExtension ();
10570 return XRRQueryExtension ();
10575 rm -f conftest.$ac_objext conftest$ac_exeext
10576 if { (ac_try="$ac_link"
10577 case "(($ac_try" in
10578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10579 *) ac_try_echo=$ac_try;;
10581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10582 (eval "$ac_link") 2>conftest.er1
10584 grep -v '^ *+' conftest.er1 >conftest.err
10586 cat conftest.err >&5
10587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10588 (exit $ac_status); } && {
10589 test -z "$ac_c_werror_flag" ||
10590 test ! -s conftest.err
10591 } && test -s conftest$ac_exeext &&
10592 $as_test_x conftest$ac_exeext; then
10595 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'` ;;
10596 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10599 echo "$as_me: failed program was:" >&5
10600 sed 's/^/| /' conftest.$ac_ext >&5
10605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10606 conftest$ac_exeext conftest.$ac_ext
10607 LIBS=$ac_check_soname_save_LIBS
10609 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10610 { echo "$as_me:$LINENO: result: not found" >&5
10611 echo "${ECHO_T}not found" >&6; }
10614 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10615 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10617 cat >>confdefs.h <<_ACEOF
10618 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10625 echo "$as_me: failed program was:" >&5
10626 sed 's/^/| /' conftest.$ac_ext >&5
10631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10633 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10634 case "x$with_xrandr" in
10635 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10637 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10638 This is an error since --with-xrandr was requested." >&5
10639 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10640 This is an error since --with-xrandr was requested." >&2;}
10641 { (exit 1); exit 1; }; } ;;
10646 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10648 cat >conftest.$ac_ext <<_ACEOF
10651 cat confdefs.h >>conftest.$ac_ext
10652 cat >>conftest.$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10654 #include <X11/Xlib.h>
10655 #include <X11/extensions/Xinerama.h>
10659 static typeof(XineramaQueryScreens) * func;
10664 rm -f conftest.$ac_objext
10665 if { (ac_try="$ac_compile"
10666 case "(($ac_try" in
10667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10668 *) ac_try_echo=$ac_try;;
10670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10671 (eval "$ac_compile") 2>conftest.er1
10673 grep -v '^ *+' conftest.er1 >conftest.err
10675 cat conftest.err >&5
10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 (exit $ac_status); } && {
10678 test -z "$ac_c_werror_flag" ||
10679 test ! -s conftest.err
10680 } && test -s conftest.$ac_objext; then
10681 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10682 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10683 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10684 echo $ECHO_N "(cached) $ECHO_C" >&6
10686 ac_check_soname_save_LIBS=$LIBS
10687 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10688 cat >conftest.$ac_ext <<_ACEOF
10691 cat confdefs.h >>conftest.$ac_ext
10692 cat >>conftest.$ac_ext <<_ACEOF
10693 /* end confdefs.h. */
10695 /* Override any GCC internal prototype to avoid an error.
10696 Use char because int might match the return type of a GCC
10697 builtin and then its argument prototype would still apply. */
10701 char XineramaQueryScreens ();
10705 return XineramaQueryScreens ();
10710 rm -f conftest.$ac_objext conftest$ac_exeext
10711 if { (ac_try="$ac_link"
10712 case "(($ac_try" in
10713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10714 *) ac_try_echo=$ac_try;;
10716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10717 (eval "$ac_link") 2>conftest.er1
10719 grep -v '^ *+' conftest.er1 >conftest.err
10721 cat conftest.err >&5
10722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10723 (exit $ac_status); } && {
10724 test -z "$ac_c_werror_flag" ||
10725 test ! -s conftest.err
10726 } && test -s conftest$ac_exeext &&
10727 $as_test_x conftest$ac_exeext; then
10730 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'` ;;
10731 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10734 echo "$as_me: failed program was:" >&5
10735 sed 's/^/| /' conftest.$ac_ext >&5
10740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10741 conftest$ac_exeext conftest.$ac_ext
10742 LIBS=$ac_check_soname_save_LIBS
10744 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10745 { echo "$as_me:$LINENO: result: not found" >&5
10746 echo "${ECHO_T}not found" >&6; }
10749 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10750 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10752 cat >>confdefs.h <<_ACEOF
10753 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10760 echo "$as_me: failed program was:" >&5
10761 sed 's/^/| /' conftest.$ac_ext >&5
10766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10768 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10769 case "x$with_xinerama" in
10770 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10772 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10773 This is an error since --with-xinerama was requested." >&5
10774 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10775 This is an error since --with-xinerama was requested." >&2;}
10776 { (exit 1); exit 1; }; } ;;
10781 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10783 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10784 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10785 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10786 echo $ECHO_N "(cached) $ECHO_C" >&6
10788 ac_check_soname_save_LIBS=$LIBS
10789 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10790 cat >conftest.$ac_ext <<_ACEOF
10793 cat confdefs.h >>conftest.$ac_ext
10794 cat >>conftest.$ac_ext <<_ACEOF
10795 /* end confdefs.h. */
10797 /* Override any GCC internal prototype to avoid an error.
10798 Use char because int might match the return type of a GCC
10799 builtin and then its argument prototype would still apply. */
10803 char XCompositeRedirectWindow ();
10807 return XCompositeRedirectWindow ();
10812 rm -f conftest.$ac_objext conftest$ac_exeext
10813 if { (ac_try="$ac_link"
10814 case "(($ac_try" in
10815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10816 *) ac_try_echo=$ac_try;;
10818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10819 (eval "$ac_link") 2>conftest.er1
10821 grep -v '^ *+' conftest.er1 >conftest.err
10823 cat conftest.err >&5
10824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10825 (exit $ac_status); } && {
10826 test -z "$ac_c_werror_flag" ||
10827 test ! -s conftest.err
10828 } && test -s conftest$ac_exeext &&
10829 $as_test_x conftest$ac_exeext; then
10832 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'` ;;
10833 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10836 echo "$as_me: failed program was:" >&5
10837 sed 's/^/| /' conftest.$ac_ext >&5
10842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10843 conftest$ac_exeext conftest.$ac_ext
10844 LIBS=$ac_check_soname_save_LIBS
10846 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10847 { echo "$as_me:$LINENO: result: not found" >&5
10848 echo "${ECHO_T}not found" >&6; }
10851 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10852 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10854 cat >>confdefs.h <<_ACEOF
10855 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10862 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10863 case "x$with_xcomposite" in
10864 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10866 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10867 This is an error since --with-xcomposite was requested." >&5
10868 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10869 This is an error since --with-xcomposite was requested." >&2;}
10870 { (exit 1); exit 1; }; } ;;
10875 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10876 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10877 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10878 echo $ECHO_N "(cached) $ECHO_C" >&6
10880 cat >conftest.$ac_ext <<_ACEOF
10883 cat confdefs.h >>conftest.$ac_ext
10884 cat >>conftest.$ac_ext <<_ACEOF
10885 /* end confdefs.h. */
10886 #ifdef HAVE_X11_XLIB_H
10887 #include <X11/Xlib.h>
10893 static XICCallback ac_aggr;
10894 if (ac_aggr.callback)
10900 rm -f conftest.$ac_objext
10901 if { (ac_try="$ac_compile"
10902 case "(($ac_try" in
10903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10904 *) ac_try_echo=$ac_try;;
10906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10907 (eval "$ac_compile") 2>conftest.er1
10909 grep -v '^ *+' conftest.er1 >conftest.err
10911 cat conftest.err >&5
10912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10913 (exit $ac_status); } && {
10914 test -z "$ac_c_werror_flag" ||
10915 test ! -s conftest.err
10916 } && test -s conftest.$ac_objext; then
10917 ac_cv_member_XICCallback_callback=yes
10919 echo "$as_me: failed program was:" >&5
10920 sed 's/^/| /' conftest.$ac_ext >&5
10922 cat >conftest.$ac_ext <<_ACEOF
10925 cat confdefs.h >>conftest.$ac_ext
10926 cat >>conftest.$ac_ext <<_ACEOF
10927 /* end confdefs.h. */
10928 #ifdef HAVE_X11_XLIB_H
10929 #include <X11/Xlib.h>
10935 static XICCallback ac_aggr;
10936 if (sizeof ac_aggr.callback)
10942 rm -f conftest.$ac_objext
10943 if { (ac_try="$ac_compile"
10944 case "(($ac_try" in
10945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10946 *) ac_try_echo=$ac_try;;
10948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10949 (eval "$ac_compile") 2>conftest.er1
10951 grep -v '^ *+' conftest.er1 >conftest.err
10953 cat conftest.err >&5
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); } && {
10956 test -z "$ac_c_werror_flag" ||
10957 test ! -s conftest.err
10958 } && test -s conftest.$ac_objext; then
10959 ac_cv_member_XICCallback_callback=yes
10961 echo "$as_me: failed program was:" >&5
10962 sed 's/^/| /' conftest.$ac_ext >&5
10964 ac_cv_member_XICCallback_callback=no
10967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10972 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10973 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10974 if test $ac_cv_member_XICCallback_callback = yes; then
10976 cat >>confdefs.h <<_ACEOF
10977 #define HAVE_XICCALLBACK_CALLBACK 1
10986 if test "x$with_opengl" != "xno"
10992 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10995 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10997 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10998 echo $ECHO_N "(cached) $ECHO_C" >&6
11000 cat >conftest.$ac_ext <<_ACEOF
11003 cat confdefs.h >>conftest.$ac_ext
11004 cat >>conftest.$ac_ext <<_ACEOF
11005 /* end confdefs.h. */
11006 #ifdef HAVE_GL_GLX_H
11007 # include <GL/glx.h>
11010 #include <$ac_header>
11012 rm -f conftest.$ac_objext
11013 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
11029 eval "$as_ac_Header=yes"
11031 echo "$as_me: failed program was:" >&5
11032 sed 's/^/| /' conftest.$ac_ext >&5
11034 eval "$as_ac_Header=no"
11037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11039 ac_res=`eval echo '${'$as_ac_Header'}'`
11040 { echo "$as_me:$LINENO: result: $ac_res" >&5
11041 echo "${ECHO_T}$ac_res" >&6; }
11042 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11043 cat >>confdefs.h <<_ACEOF
11044 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11051 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
11053 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
11054 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
11055 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
11056 echo $ECHO_N "(cached) $ECHO_C" >&6
11058 cat >conftest.$ac_ext <<_ACEOF
11061 cat confdefs.h >>conftest.$ac_ext
11062 cat >>conftest.$ac_ext <<_ACEOF
11063 /* end confdefs.h. */
11068 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
11073 rm -f conftest.$ac_objext
11074 if { (ac_try="$ac_compile"
11075 case "(($ac_try" in
11076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11077 *) ac_try_echo=$ac_try;;
11079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11080 (eval "$ac_compile") 2>conftest.er1
11082 grep -v '^ *+' conftest.er1 >conftest.err
11084 cat conftest.err >&5
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); } && {
11087 test -z "$ac_c_werror_flag" ||
11088 test ! -s conftest.err
11089 } && test -s conftest.$ac_objext; then
11090 wine_cv_opengl_header_version_OK="yes"
11092 echo "$as_me: failed program was:" >&5
11093 sed 's/^/| /' conftest.$ac_ext >&5
11095 wine_cv_opengl_header_version_OK="no"
11098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11100 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
11101 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
11103 if test "$wine_cv_opengl_header_version_OK" = "yes"
11105 { echo "$as_me:$LINENO: checking for -lGL" >&5
11106 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11107 if test "${ac_cv_lib_soname_GL+set}" = set; then
11108 echo $ECHO_N "(cached) $ECHO_C" >&6
11110 ac_check_soname_save_LIBS=$LIBS
11111 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11112 cat >conftest.$ac_ext <<_ACEOF
11115 cat confdefs.h >>conftest.$ac_ext
11116 cat >>conftest.$ac_ext <<_ACEOF
11117 /* end confdefs.h. */
11119 /* Override any GCC internal prototype to avoid an error.
11120 Use char because int might match the return type of a GCC
11121 builtin and then its argument prototype would still apply. */
11125 char glXCreateContext ();
11129 return glXCreateContext ();
11134 rm -f conftest.$ac_objext conftest$ac_exeext
11135 if { (ac_try="$ac_link"
11136 case "(($ac_try" in
11137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11138 *) ac_try_echo=$ac_try;;
11140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11141 (eval "$ac_link") 2>conftest.er1
11143 grep -v '^ *+' conftest.er1 >conftest.err
11145 cat conftest.err >&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); } && {
11148 test -z "$ac_c_werror_flag" ||
11149 test ! -s conftest.err
11150 } && test -s conftest$ac_exeext &&
11151 $as_test_x conftest$ac_exeext; then
11154 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'` ;;
11155 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11158 echo "$as_me: failed program was:" >&5
11159 sed 's/^/| /' conftest.$ac_ext >&5
11164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11165 conftest$ac_exeext conftest.$ac_ext
11166 LIBS=$ac_check_soname_save_LIBS
11168 if test "x$ac_cv_lib_soname_GL" = "x"; then
11169 { echo "$as_me:$LINENO: result: not found" >&5
11170 echo "${ECHO_T}not found" >&6; }
11171 { echo "$as_me:$LINENO: checking for -lGL" >&5
11172 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11173 if test "${ac_cv_lib_soname_GL+set}" = set; then
11174 echo $ECHO_N "(cached) $ECHO_C" >&6
11176 ac_check_soname_save_LIBS=$LIBS
11177 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"
11178 cat >conftest.$ac_ext <<_ACEOF
11181 cat confdefs.h >>conftest.$ac_ext
11182 cat >>conftest.$ac_ext <<_ACEOF
11183 /* end confdefs.h. */
11185 /* Override any GCC internal prototype to avoid an error.
11186 Use char because int might match the return type of a GCC
11187 builtin and then its argument prototype would still apply. */
11191 char glXCreateContext ();
11195 return glXCreateContext ();
11200 rm -f conftest.$ac_objext conftest$ac_exeext
11201 if { (ac_try="$ac_link"
11202 case "(($ac_try" in
11203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11204 *) ac_try_echo=$ac_try;;
11206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11207 (eval "$ac_link") 2>conftest.er1
11209 grep -v '^ *+' conftest.er1 >conftest.err
11211 cat conftest.err >&5
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); } && {
11214 test -z "$ac_c_werror_flag" ||
11215 test ! -s conftest.err
11216 } && test -s conftest$ac_exeext &&
11217 $as_test_x conftest$ac_exeext; then
11220 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'` ;;
11221 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11224 echo "$as_me: failed program was:" >&5
11225 sed 's/^/| /' conftest.$ac_ext >&5
11230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11231 conftest$ac_exeext conftest.$ac_ext
11232 LIBS=$ac_check_soname_save_LIBS
11234 if test "x$ac_cv_lib_soname_GL" = "x"; then
11235 { echo "$as_me:$LINENO: result: not found" >&5
11236 echo "${ECHO_T}not found" >&6; }
11237 if test -f /usr/X11R6/lib/libGL.a
11239 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11240 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11242 opengl_msg="No OpenGL library found on this system."
11245 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11246 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11248 cat >>confdefs.h <<_ACEOF
11249 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11252 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"
11253 OPENGLFILES='$(OPENGLFILES)'
11255 cat >>confdefs.h <<\_ACEOF
11256 #define HAVE_OPENGL 1
11262 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11263 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11265 cat >>confdefs.h <<_ACEOF
11266 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11270 OPENGLFILES='$(OPENGLFILES)'
11272 cat >>confdefs.h <<\_ACEOF
11273 #define HAVE_OPENGL 1
11278 if test "$ac_cv_header_GL_glu_h" = "yes"
11280 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11281 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11282 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11283 echo $ECHO_N "(cached) $ECHO_C" >&6
11285 ac_check_soname_save_LIBS=$LIBS
11286 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11287 cat >conftest.$ac_ext <<_ACEOF
11290 cat confdefs.h >>conftest.$ac_ext
11291 cat >>conftest.$ac_ext <<_ACEOF
11292 /* end confdefs.h. */
11294 /* Override any GCC internal prototype to avoid an error.
11295 Use char because int might match the return type of a GCC
11296 builtin and then its argument prototype would still apply. */
11304 return gluLookAt ();
11309 rm -f conftest.$ac_objext conftest$ac_exeext
11310 if { (ac_try="$ac_link"
11311 case "(($ac_try" in
11312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11313 *) ac_try_echo=$ac_try;;
11315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11316 (eval "$ac_link") 2>conftest.er1
11318 grep -v '^ *+' conftest.er1 >conftest.err
11320 cat conftest.err >&5
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); } && {
11323 test -z "$ac_c_werror_flag" ||
11324 test ! -s conftest.err
11325 } && test -s conftest$ac_exeext &&
11326 $as_test_x conftest$ac_exeext; then
11329 dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11330 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11333 echo "$as_me: failed program was:" >&5
11334 sed 's/^/| /' conftest.$ac_ext >&5
11339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11340 conftest$ac_exeext conftest.$ac_ext
11341 LIBS=$ac_check_soname_save_LIBS
11343 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11344 { echo "$as_me:$LINENO: result: not found" >&5
11345 echo "${ECHO_T}not found" >&6; }
11348 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11349 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11351 cat >>confdefs.h <<_ACEOF
11352 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11355 GLU32FILES='$(GLU32FILES)'
11359 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11360 case "x$with_glu" in
11361 x) wine_notices="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11363 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11364 This is an error since --with-glu was requested." >&5
11365 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11366 This is an error since --with-glu was requested." >&2;}
11367 { (exit 1); exit 1; }; } ;;
11372 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11375 opengl_msg="OpenGL development headers not found."
11378 if test -n "$opengl_msg"; then
11379 case "x$with_opengl" in
11380 x) wine_warnings="$wine_warnings|$opengl_msg
11381 OpenGL and Direct3D won't be supported." ;;
11383 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11384 OpenGL and Direct3D won't be supported.
11385 This is an error since --with-opengl was requested." >&5
11386 echo "$as_me: error: $opengl_msg
11387 OpenGL and Direct3D won't be supported.
11388 This is an error since --with-opengl was requested." >&2;}
11389 { (exit 1); exit 1; }; } ;;
11397 for ac_header in audio/audiolib.h
11399 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11400 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11401 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11403 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11404 echo $ECHO_N "(cached) $ECHO_C" >&6
11406 ac_res=`eval echo '${'$as_ac_Header'}'`
11407 { echo "$as_me:$LINENO: result: $ac_res" >&5
11408 echo "${ECHO_T}$ac_res" >&6; }
11410 # Is the header compilable?
11411 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11412 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11413 cat >conftest.$ac_ext <<_ACEOF
11416 cat confdefs.h >>conftest.$ac_ext
11417 cat >>conftest.$ac_ext <<_ACEOF
11418 /* end confdefs.h. */
11419 $ac_includes_default
11420 #include <$ac_header>
11422 rm -f conftest.$ac_objext
11423 if { (ac_try="$ac_compile"
11424 case "(($ac_try" in
11425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11426 *) ac_try_echo=$ac_try;;
11428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11429 (eval "$ac_compile") 2>conftest.er1
11431 grep -v '^ *+' conftest.er1 >conftest.err
11433 cat conftest.err >&5
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); } && {
11436 test -z "$ac_c_werror_flag" ||
11437 test ! -s conftest.err
11438 } && test -s conftest.$ac_objext; then
11439 ac_header_compiler=yes
11441 echo "$as_me: failed program was:" >&5
11442 sed 's/^/| /' conftest.$ac_ext >&5
11444 ac_header_compiler=no
11447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11448 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11449 echo "${ECHO_T}$ac_header_compiler" >&6; }
11451 # Is the header present?
11452 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11453 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11454 cat >conftest.$ac_ext <<_ACEOF
11457 cat confdefs.h >>conftest.$ac_ext
11458 cat >>conftest.$ac_ext <<_ACEOF
11459 /* end confdefs.h. */
11460 #include <$ac_header>
11462 if { (ac_try="$ac_cpp conftest.$ac_ext"
11463 case "(($ac_try" in
11464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11465 *) ac_try_echo=$ac_try;;
11467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11468 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11470 grep -v '^ *+' conftest.er1 >conftest.err
11472 cat conftest.err >&5
11473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11474 (exit $ac_status); } >/dev/null && {
11475 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11476 test ! -s conftest.err
11478 ac_header_preproc=yes
11480 echo "$as_me: failed program was:" >&5
11481 sed 's/^/| /' conftest.$ac_ext >&5
11483 ac_header_preproc=no
11486 rm -f conftest.err conftest.$ac_ext
11487 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11488 echo "${ECHO_T}$ac_header_preproc" >&6; }
11490 # So? What about this header?
11491 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11493 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11494 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11496 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11497 ac_header_preproc=yes
11500 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11501 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11502 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11503 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11504 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11505 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11506 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11507 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11509 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11510 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11511 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11513 ## ------------------------------------ ##
11514 ## Report this to wine-devel@winehq.org ##
11515 ## ------------------------------------ ##
11517 ) | sed "s/^/$as_me: WARNING: /" >&2
11520 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11522 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11523 echo $ECHO_N "(cached) $ECHO_C" >&6
11525 eval "$as_ac_Header=\$ac_header_preproc"
11527 ac_res=`eval echo '${'$as_ac_Header'}'`
11528 { echo "$as_me:$LINENO: result: $ac_res" >&5
11529 echo "${ECHO_T}$ac_res" >&6; }
11532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11533 cat >>confdefs.h <<_ACEOF
11534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11537 for ac_header in audio/soundlib.h
11539 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11540 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11542 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11543 echo $ECHO_N "(cached) $ECHO_C" >&6
11545 cat >conftest.$ac_ext <<_ACEOF
11548 cat confdefs.h >>conftest.$ac_ext
11549 cat >>conftest.$ac_ext <<_ACEOF
11550 /* end confdefs.h. */
11551 #include <audio/audiolib.h>
11553 #include <$ac_header>
11555 rm -f conftest.$ac_objext
11556 if { (ac_try="$ac_compile"
11557 case "(($ac_try" in
11558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11559 *) ac_try_echo=$ac_try;;
11561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11562 (eval "$ac_compile") 2>conftest.er1
11564 grep -v '^ *+' conftest.er1 >conftest.err
11566 cat conftest.err >&5
11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 (exit $ac_status); } && {
11569 test -z "$ac_c_werror_flag" ||
11570 test ! -s conftest.err
11571 } && test -s conftest.$ac_objext; then
11572 eval "$as_ac_Header=yes"
11574 echo "$as_me: failed program was:" >&5
11575 sed 's/^/| /' conftest.$ac_ext >&5
11577 eval "$as_ac_Header=no"
11580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11582 ac_res=`eval echo '${'$as_ac_Header'}'`
11583 { echo "$as_me:$LINENO: result: $ac_res" >&5
11584 echo "${ECHO_T}$ac_res" >&6; }
11585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11586 cat >>confdefs.h <<_ACEOF
11587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11594 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11595 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11596 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11597 echo $ECHO_N "(cached) $ECHO_C" >&6
11599 ac_check_lib_save_LIBS=$LIBS
11600 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11601 cat >conftest.$ac_ext <<_ACEOF
11604 cat confdefs.h >>conftest.$ac_ext
11605 cat >>conftest.$ac_ext <<_ACEOF
11606 /* end confdefs.h. */
11608 /* Override any GCC internal prototype to avoid an error.
11609 Use char because int might match the return type of a GCC
11610 builtin and then its argument prototype would still apply. */
11614 char AuCreateFlow ();
11618 return AuCreateFlow ();
11623 rm -f conftest.$ac_objext conftest$ac_exeext
11624 if { (ac_try="$ac_link"
11625 case "(($ac_try" in
11626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11627 *) ac_try_echo=$ac_try;;
11629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11630 (eval "$ac_link") 2>conftest.er1
11632 grep -v '^ *+' conftest.er1 >conftest.err
11634 cat conftest.err >&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); } && {
11637 test -z "$ac_c_werror_flag" ||
11638 test ! -s conftest.err
11639 } && test -s conftest$ac_exeext &&
11640 $as_test_x conftest$ac_exeext; then
11641 ac_cv_lib_audio_AuCreateFlow=yes
11643 echo "$as_me: failed program was:" >&5
11644 sed 's/^/| /' conftest.$ac_ext >&5
11646 ac_cv_lib_audio_AuCreateFlow=no
11649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11650 conftest$ac_exeext conftest.$ac_ext
11651 LIBS=$ac_check_lib_save_LIBS
11653 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11654 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11655 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11657 cat >>confdefs.h <<\_ACEOF
11661 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11662 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11663 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11664 echo $ECHO_N "(cached) $ECHO_C" >&6
11666 ac_check_lib_save_LIBS=$LIBS
11667 LIBS="-lXau $X_LIBS $LIBS"
11668 cat >conftest.$ac_ext <<_ACEOF
11671 cat confdefs.h >>conftest.$ac_ext
11672 cat >>conftest.$ac_ext <<_ACEOF
11673 /* end confdefs.h. */
11675 /* Override any GCC internal prototype to avoid an error.
11676 Use char because int might match the return type of a GCC
11677 builtin and then its argument prototype would still apply. */
11681 char XauGetBestAuthByAddr ();
11685 return XauGetBestAuthByAddr ();
11690 rm -f conftest.$ac_objext conftest$ac_exeext
11691 if { (ac_try="$ac_link"
11692 case "(($ac_try" in
11693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11694 *) ac_try_echo=$ac_try;;
11696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11697 (eval "$ac_link") 2>conftest.er1
11699 grep -v '^ *+' conftest.er1 >conftest.err
11701 cat conftest.err >&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); } && {
11704 test -z "$ac_c_werror_flag" ||
11705 test ! -s conftest.err
11706 } && test -s conftest$ac_exeext &&
11707 $as_test_x conftest$ac_exeext; then
11708 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11710 echo "$as_me: failed program was:" >&5
11711 sed 's/^/| /' conftest.$ac_ext >&5
11713 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11717 conftest$ac_exeext conftest.$ac_ext
11718 LIBS=$ac_check_lib_save_LIBS
11720 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11721 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11722 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11723 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11725 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11736 CPPFLAGS="$ac_save_CPPFLAGS"
11743 if test "x$XLIB" = "x"; then
11746 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11747 without X support, which probably isn't what you want. You will need to install
11748 development packages of Xlib/Xfree86 at the very least.
11749 Use the --without-x option if you really want this." >&5
11750 echo "$as_me: error: X development files not found. Wine will be built
11751 without X support, which probably isn't what you want. You will need to install
11752 development packages of Xlib/Xfree86 at the very least.
11753 Use the --without-x option if you really want this." >&2;}
11754 { (exit 1); exit 1; }; } ;;
11768 if test "x$with_xml" != "xno"
11770 ac_save_CPPFLAGS="$CPPFLAGS"
11771 if test "$PKG_CONFIG" != "false"
11773 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11774 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11776 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11777 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11779 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11781 for ac_header in libxml/parser.h
11783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11785 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11787 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11788 echo $ECHO_N "(cached) $ECHO_C" >&6
11790 ac_res=`eval echo '${'$as_ac_Header'}'`
11791 { echo "$as_me:$LINENO: result: $ac_res" >&5
11792 echo "${ECHO_T}$ac_res" >&6; }
11794 # Is the header compilable?
11795 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11797 cat >conftest.$ac_ext <<_ACEOF
11800 cat confdefs.h >>conftest.$ac_ext
11801 cat >>conftest.$ac_ext <<_ACEOF
11802 /* end confdefs.h. */
11803 $ac_includes_default
11804 #include <$ac_header>
11806 rm -f conftest.$ac_objext
11807 if { (ac_try="$ac_compile"
11808 case "(($ac_try" in
11809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11810 *) ac_try_echo=$ac_try;;
11812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11813 (eval "$ac_compile") 2>conftest.er1
11815 grep -v '^ *+' conftest.er1 >conftest.err
11817 cat conftest.err >&5
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); } && {
11820 test -z "$ac_c_werror_flag" ||
11821 test ! -s conftest.err
11822 } && test -s conftest.$ac_objext; then
11823 ac_header_compiler=yes
11825 echo "$as_me: failed program was:" >&5
11826 sed 's/^/| /' conftest.$ac_ext >&5
11828 ac_header_compiler=no
11831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11832 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11833 echo "${ECHO_T}$ac_header_compiler" >&6; }
11835 # Is the header present?
11836 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11838 cat >conftest.$ac_ext <<_ACEOF
11841 cat confdefs.h >>conftest.$ac_ext
11842 cat >>conftest.$ac_ext <<_ACEOF
11843 /* end confdefs.h. */
11844 #include <$ac_header>
11846 if { (ac_try="$ac_cpp conftest.$ac_ext"
11847 case "(($ac_try" in
11848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11849 *) ac_try_echo=$ac_try;;
11851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11854 grep -v '^ *+' conftest.er1 >conftest.err
11856 cat conftest.err >&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); } >/dev/null && {
11859 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11860 test ! -s conftest.err
11862 ac_header_preproc=yes
11864 echo "$as_me: failed program was:" >&5
11865 sed 's/^/| /' conftest.$ac_ext >&5
11867 ac_header_preproc=no
11870 rm -f conftest.err conftest.$ac_ext
11871 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11872 echo "${ECHO_T}$ac_header_preproc" >&6; }
11874 # So? What about this header?
11875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11880 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11881 ac_header_preproc=yes
11884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11888 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11889 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11890 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11891 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11894 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11895 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11897 ## ------------------------------------ ##
11898 ## Report this to wine-devel@winehq.org ##
11899 ## ------------------------------------ ##
11901 ) | sed "s/^/$as_me: WARNING: /" >&2
11904 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11906 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11907 echo $ECHO_N "(cached) $ECHO_C" >&6
11909 eval "$as_ac_Header=\$ac_header_preproc"
11911 ac_res=`eval echo '${'$as_ac_Header'}'`
11912 { echo "$as_me:$LINENO: result: $ac_res" >&5
11913 echo "${ECHO_T}$ac_res" >&6; }
11916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11917 cat >>confdefs.h <<_ACEOF
11918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11920 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11921 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11922 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11923 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 ac_check_lib_save_LIBS=$LIBS
11926 LIBS="-lxml2 $ac_xml_libs $LIBS"
11927 cat >conftest.$ac_ext <<_ACEOF
11930 cat confdefs.h >>conftest.$ac_ext
11931 cat >>conftest.$ac_ext <<_ACEOF
11932 /* end confdefs.h. */
11934 /* Override any GCC internal prototype to avoid an error.
11935 Use char because int might match the return type of a GCC
11936 builtin and then its argument prototype would still apply. */
11940 char xmlParseMemory ();
11944 return xmlParseMemory ();
11949 rm -f conftest.$ac_objext conftest$ac_exeext
11950 if { (ac_try="$ac_link"
11951 case "(($ac_try" in
11952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11953 *) ac_try_echo=$ac_try;;
11955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11956 (eval "$ac_link") 2>conftest.er1
11958 grep -v '^ *+' conftest.er1 >conftest.err
11960 cat conftest.err >&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); } && {
11963 test -z "$ac_c_werror_flag" ||
11964 test ! -s conftest.err
11965 } && test -s conftest$ac_exeext &&
11966 $as_test_x conftest$ac_exeext; then
11967 ac_cv_lib_xml2_xmlParseMemory=yes
11969 echo "$as_me: failed program was:" >&5
11970 sed 's/^/| /' conftest.$ac_ext >&5
11972 ac_cv_lib_xml2_xmlParseMemory=no
11975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11976 conftest$ac_exeext conftest.$ac_ext
11977 LIBS=$ac_check_lib_save_LIBS
11979 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11980 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11981 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11983 cat >>confdefs.h <<\_ACEOF
11984 #define HAVE_LIBXML2 1
11987 XML2LIBS="$ac_xml_libs"
11988 XML2INCL="$ac_xml_cflags"
11991 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11992 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11993 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11994 echo $ECHO_N "(cached) $ECHO_C" >&6
11996 ac_check_lib_save_LIBS=$LIBS
11997 LIBS="-lxml2 $ac_xml_libs $LIBS"
11998 cat >conftest.$ac_ext <<_ACEOF
12001 cat confdefs.h >>conftest.$ac_ext
12002 cat >>conftest.$ac_ext <<_ACEOF
12003 /* end confdefs.h. */
12005 /* Override any GCC internal prototype to avoid an error.
12006 Use char because int might match the return type of a GCC
12007 builtin and then its argument prototype would still apply. */
12011 char xmlReadMemory ();
12015 return xmlReadMemory ();
12020 rm -f conftest.$ac_objext conftest$ac_exeext
12021 if { (ac_try="$ac_link"
12022 case "(($ac_try" in
12023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12024 *) ac_try_echo=$ac_try;;
12026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12027 (eval "$ac_link") 2>conftest.er1
12029 grep -v '^ *+' conftest.er1 >conftest.err
12031 cat conftest.err >&5
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); } && {
12034 test -z "$ac_c_werror_flag" ||
12035 test ! -s conftest.err
12036 } && test -s conftest$ac_exeext &&
12037 $as_test_x conftest$ac_exeext; then
12038 ac_cv_lib_xml2_xmlReadMemory=yes
12040 echo "$as_me: failed program was:" >&5
12041 sed 's/^/| /' conftest.$ac_ext >&5
12043 ac_cv_lib_xml2_xmlReadMemory=no
12046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12047 conftest$ac_exeext conftest.$ac_ext
12048 LIBS=$ac_check_lib_save_LIBS
12050 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12051 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12052 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
12054 cat >>confdefs.h <<\_ACEOF
12055 #define HAVE_XMLREADMEMORY 1
12060 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
12061 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
12062 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
12063 echo $ECHO_N "(cached) $ECHO_C" >&6
12065 ac_check_lib_save_LIBS=$LIBS
12066 LIBS="-lxml2 $ac_xml_libs $LIBS"
12067 cat >conftest.$ac_ext <<_ACEOF
12070 cat confdefs.h >>conftest.$ac_ext
12071 cat >>conftest.$ac_ext <<_ACEOF
12072 /* end confdefs.h. */
12074 /* Override any GCC internal prototype to avoid an error.
12075 Use char because int might match the return type of a GCC
12076 builtin and then its argument prototype would still apply. */
12080 char xmlNewDocPI ();
12084 return xmlNewDocPI ();
12089 rm -f conftest.$ac_objext conftest$ac_exeext
12090 if { (ac_try="$ac_link"
12091 case "(($ac_try" in
12092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12093 *) ac_try_echo=$ac_try;;
12095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12096 (eval "$ac_link") 2>conftest.er1
12098 grep -v '^ *+' conftest.er1 >conftest.err
12100 cat conftest.err >&5
12101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102 (exit $ac_status); } && {
12103 test -z "$ac_c_werror_flag" ||
12104 test ! -s conftest.err
12105 } && test -s conftest$ac_exeext &&
12106 $as_test_x conftest$ac_exeext; then
12107 ac_cv_lib_xml2_xmlNewDocPI=yes
12109 echo "$as_me: failed program was:" >&5
12110 sed 's/^/| /' conftest.$ac_ext >&5
12112 ac_cv_lib_xml2_xmlNewDocPI=no
12115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12116 conftest$ac_exeext conftest.$ac_ext
12117 LIBS=$ac_check_lib_save_LIBS
12119 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12120 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12121 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
12123 cat >>confdefs.h <<\_ACEOF
12124 #define HAVE_XMLNEWDOCPI 1
12134 CPPFLAGS="$ac_save_CPPFLAGS"
12136 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
12137 case "x$with_xml" in
12138 x) wine_warnings="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
12140 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
12141 This is an error since --with-xml was requested." >&5
12142 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
12143 This is an error since --with-xml was requested." >&2;}
12144 { (exit 1); exit 1; }; } ;;
12149 if test "x$with_xslt" != "xno"
12151 if test "$PKG_CONFIG" != "false"
12153 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
12154 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12156 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
12157 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
12159 ac_save_CPPFLAGS="$CPPFLAGS"
12160 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
12163 for ac_header in libxslt/pattern.h libxslt/transform.h
12165 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12166 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12168 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12169 echo $ECHO_N "(cached) $ECHO_C" >&6
12171 cat >conftest.$ac_ext <<_ACEOF
12174 cat confdefs.h >>conftest.$ac_ext
12175 cat >>conftest.$ac_ext <<_ACEOF
12176 /* end confdefs.h. */
12177 #ifdef HAVE_LIBXSLT_PATTERN_H
12178 # include <libxslt/pattern.h>
12181 #include <$ac_header>
12183 rm -f conftest.$ac_objext
12184 if { (ac_try="$ac_compile"
12185 case "(($ac_try" in
12186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12187 *) ac_try_echo=$ac_try;;
12189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12190 (eval "$ac_compile") 2>conftest.er1
12192 grep -v '^ *+' conftest.er1 >conftest.err
12194 cat conftest.err >&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); } && {
12197 test -z "$ac_c_werror_flag" ||
12198 test ! -s conftest.err
12199 } && test -s conftest.$ac_objext; then
12200 eval "$as_ac_Header=yes"
12202 echo "$as_me: failed program was:" >&5
12203 sed 's/^/| /' conftest.$ac_ext >&5
12205 eval "$as_ac_Header=no"
12208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12210 ac_res=`eval echo '${'$as_ac_Header'}'`
12211 { echo "$as_me:$LINENO: result: $ac_res" >&5
12212 echo "${ECHO_T}$ac_res" >&6; }
12213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12214 cat >>confdefs.h <<_ACEOF
12215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12222 CPPFLAGS="$ac_save_CPPFLAGS"
12223 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12225 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12226 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12227 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12228 echo $ECHO_N "(cached) $ECHO_C" >&6
12230 ac_check_lib_save_LIBS=$LIBS
12231 LIBS="-lxslt $ac_xslt_libs $LIBS"
12232 cat >conftest.$ac_ext <<_ACEOF
12235 cat confdefs.h >>conftest.$ac_ext
12236 cat >>conftest.$ac_ext <<_ACEOF
12237 /* end confdefs.h. */
12239 /* Override any GCC internal prototype to avoid an error.
12240 Use char because int might match the return type of a GCC
12241 builtin and then its argument prototype would still apply. */
12245 char xsltCompilePattern ();
12249 return xsltCompilePattern ();
12254 rm -f conftest.$ac_objext conftest$ac_exeext
12255 if { (ac_try="$ac_link"
12256 case "(($ac_try" in
12257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12258 *) ac_try_echo=$ac_try;;
12260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12261 (eval "$ac_link") 2>conftest.er1
12263 grep -v '^ *+' conftest.er1 >conftest.err
12265 cat conftest.err >&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); } && {
12268 test -z "$ac_c_werror_flag" ||
12269 test ! -s conftest.err
12270 } && test -s conftest$ac_exeext &&
12271 $as_test_x conftest$ac_exeext; then
12272 ac_cv_lib_xslt_xsltCompilePattern=yes
12274 echo "$as_me: failed program was:" >&5
12275 sed 's/^/| /' conftest.$ac_ext >&5
12277 ac_cv_lib_xslt_xsltCompilePattern=no
12280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12281 conftest$ac_exeext conftest.$ac_ext
12282 LIBS=$ac_check_lib_save_LIBS
12284 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12285 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12286 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12288 cat >>confdefs.h <<\_ACEOF
12289 #define HAVE_LIBXSLT 1
12292 XSLTLIBS="$ac_xslt_libs"
12293 XSLTINCL="$ac_xslt_cflags"
12294 ac_save_LIBS="$LIBS"
12295 LIBS="$LIBS $ac_xslt_libs"
12297 for ac_func in xsltInit
12299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12300 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12302 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12303 echo $ECHO_N "(cached) $ECHO_C" >&6
12305 cat >conftest.$ac_ext <<_ACEOF
12308 cat confdefs.h >>conftest.$ac_ext
12309 cat >>conftest.$ac_ext <<_ACEOF
12310 /* end confdefs.h. */
12311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12313 #define $ac_func innocuous_$ac_func
12315 /* System header to define __stub macros and hopefully few prototypes,
12316 which can conflict with char $ac_func (); below.
12317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12318 <limits.h> exists even on freestanding compilers. */
12321 # include <limits.h>
12323 # include <assert.h>
12328 /* Override any GCC internal prototype to avoid an error.
12329 Use char because int might match the return type of a GCC
12330 builtin and then its argument prototype would still apply. */
12335 /* The GNU C library defines this for functions which it implements
12336 to always fail with ENOSYS. Some functions are actually named
12337 something starting with __ and the normal name is an alias. */
12338 #if defined __stub_$ac_func || defined __stub___$ac_func
12345 return $ac_func ();
12350 rm -f conftest.$ac_objext conftest$ac_exeext
12351 if { (ac_try="$ac_link"
12352 case "(($ac_try" in
12353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12354 *) ac_try_echo=$ac_try;;
12356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12357 (eval "$ac_link") 2>conftest.er1
12359 grep -v '^ *+' conftest.er1 >conftest.err
12361 cat conftest.err >&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); } && {
12364 test -z "$ac_c_werror_flag" ||
12365 test ! -s conftest.err
12366 } && test -s conftest$ac_exeext &&
12367 $as_test_x conftest$ac_exeext; then
12368 eval "$as_ac_var=yes"
12370 echo "$as_me: failed program was:" >&5
12371 sed 's/^/| /' conftest.$ac_ext >&5
12373 eval "$as_ac_var=no"
12376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12377 conftest$ac_exeext conftest.$ac_ext
12379 ac_res=`eval echo '${'$as_ac_var'}'`
12380 { echo "$as_me:$LINENO: result: $ac_res" >&5
12381 echo "${ECHO_T}$ac_res" >&6; }
12382 if test `eval echo '${'$as_ac_var'}'` = yes; then
12383 cat >>confdefs.h <<_ACEOF
12384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12390 LIBS="$ac_save_LIBS"
12395 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12396 case "x$with_xslt" in
12397 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12399 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12400 This is an error since --with-xslt was requested." >&5
12401 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12402 This is an error since --with-xslt was requested." >&2;}
12403 { (exit 1); exit 1; }; } ;;
12410 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12412 ac_save_CPPFLAGS="$CPPFLAGS"
12413 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12414 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12415 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12418 for ac_header in dbus/dbus.h hal/libhal.h
12420 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12421 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12422 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12424 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12425 echo $ECHO_N "(cached) $ECHO_C" >&6
12427 ac_res=`eval echo '${'$as_ac_Header'}'`
12428 { echo "$as_me:$LINENO: result: $ac_res" >&5
12429 echo "${ECHO_T}$ac_res" >&6; }
12431 # Is the header compilable?
12432 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12433 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12434 cat >conftest.$ac_ext <<_ACEOF
12437 cat confdefs.h >>conftest.$ac_ext
12438 cat >>conftest.$ac_ext <<_ACEOF
12439 /* end confdefs.h. */
12440 $ac_includes_default
12441 #include <$ac_header>
12443 rm -f conftest.$ac_objext
12444 if { (ac_try="$ac_compile"
12445 case "(($ac_try" in
12446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12447 *) ac_try_echo=$ac_try;;
12449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12450 (eval "$ac_compile") 2>conftest.er1
12452 grep -v '^ *+' conftest.er1 >conftest.err
12454 cat conftest.err >&5
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); } && {
12457 test -z "$ac_c_werror_flag" ||
12458 test ! -s conftest.err
12459 } && test -s conftest.$ac_objext; then
12460 ac_header_compiler=yes
12462 echo "$as_me: failed program was:" >&5
12463 sed 's/^/| /' conftest.$ac_ext >&5
12465 ac_header_compiler=no
12468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12469 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12470 echo "${ECHO_T}$ac_header_compiler" >&6; }
12472 # Is the header present?
12473 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12474 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12475 cat >conftest.$ac_ext <<_ACEOF
12478 cat confdefs.h >>conftest.$ac_ext
12479 cat >>conftest.$ac_ext <<_ACEOF
12480 /* end confdefs.h. */
12481 #include <$ac_header>
12483 if { (ac_try="$ac_cpp conftest.$ac_ext"
12484 case "(($ac_try" in
12485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12486 *) ac_try_echo=$ac_try;;
12488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12491 grep -v '^ *+' conftest.er1 >conftest.err
12493 cat conftest.err >&5
12494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12495 (exit $ac_status); } >/dev/null && {
12496 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12497 test ! -s conftest.err
12499 ac_header_preproc=yes
12501 echo "$as_me: failed program was:" >&5
12502 sed 's/^/| /' conftest.$ac_ext >&5
12504 ac_header_preproc=no
12507 rm -f conftest.err conftest.$ac_ext
12508 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12509 echo "${ECHO_T}$ac_header_preproc" >&6; }
12511 # So? What about this header?
12512 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12514 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12515 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12516 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12517 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12518 ac_header_preproc=yes
12521 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12522 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12523 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12524 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12525 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12526 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12527 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12528 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12530 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12531 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12532 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12534 ## ------------------------------------ ##
12535 ## Report this to wine-devel@winehq.org ##
12536 ## ------------------------------------ ##
12538 ) | sed "s/^/$as_me: WARNING: /" >&2
12541 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12543 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12544 echo $ECHO_N "(cached) $ECHO_C" >&6
12546 eval "$as_ac_Header=\$ac_header_preproc"
12548 ac_res=`eval echo '${'$as_ac_Header'}'`
12549 { echo "$as_me:$LINENO: result: $ac_res" >&5
12550 echo "${ECHO_T}$ac_res" >&6; }
12553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12554 cat >>confdefs.h <<_ACEOF
12555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12562 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12564 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12565 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12566 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12567 echo $ECHO_N "(cached) $ECHO_C" >&6
12569 ac_check_lib_save_LIBS=$LIBS
12570 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12571 cat >conftest.$ac_ext <<_ACEOF
12574 cat confdefs.h >>conftest.$ac_ext
12575 cat >>conftest.$ac_ext <<_ACEOF
12576 /* end confdefs.h. */
12578 /* Override any GCC internal prototype to avoid an error.
12579 Use char because int might match the return type of a GCC
12580 builtin and then its argument prototype would still apply. */
12584 char dbus_connection_close ();
12588 return dbus_connection_close ();
12593 rm -f conftest.$ac_objext conftest$ac_exeext
12594 if { (ac_try="$ac_link"
12595 case "(($ac_try" in
12596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12597 *) ac_try_echo=$ac_try;;
12599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12600 (eval "$ac_link") 2>conftest.er1
12602 grep -v '^ *+' conftest.er1 >conftest.err
12604 cat conftest.err >&5
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); } && {
12607 test -z "$ac_c_werror_flag" ||
12608 test ! -s conftest.err
12609 } && test -s conftest$ac_exeext &&
12610 $as_test_x conftest$ac_exeext; then
12611 ac_cv_lib_dbus_1_dbus_connection_close=yes
12613 echo "$as_me: failed program was:" >&5
12614 sed 's/^/| /' conftest.$ac_ext >&5
12616 ac_cv_lib_dbus_1_dbus_connection_close=no
12619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12620 conftest$ac_exeext conftest.$ac_ext
12621 LIBS=$ac_check_lib_save_LIBS
12623 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12624 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12625 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12626 { echo "$as_me:$LINENO: checking for -lhal" >&5
12627 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12628 if test "${ac_cv_lib_soname_hal+set}" = set; then
12629 echo $ECHO_N "(cached) $ECHO_C" >&6
12631 ac_check_soname_save_LIBS=$LIBS
12632 LIBS="-lhal $ac_hal_libs $LIBS"
12633 cat >conftest.$ac_ext <<_ACEOF
12636 cat confdefs.h >>conftest.$ac_ext
12637 cat >>conftest.$ac_ext <<_ACEOF
12638 /* end confdefs.h. */
12640 /* Override any GCC internal prototype to avoid an error.
12641 Use char because int might match the return type of a GCC
12642 builtin and then its argument prototype would still apply. */
12646 char libhal_ctx_new ();
12650 return libhal_ctx_new ();
12655 rm -f conftest.$ac_objext conftest$ac_exeext
12656 if { (ac_try="$ac_link"
12657 case "(($ac_try" in
12658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12659 *) ac_try_echo=$ac_try;;
12661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12662 (eval "$ac_link") 2>conftest.er1
12664 grep -v '^ *+' conftest.er1 >conftest.err
12666 cat conftest.err >&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); } && {
12669 test -z "$ac_c_werror_flag" ||
12670 test ! -s conftest.err
12671 } && test -s conftest$ac_exeext &&
12672 $as_test_x conftest$ac_exeext; then
12675 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'` ;;
12676 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12679 echo "$as_me: failed program was:" >&5
12680 sed 's/^/| /' conftest.$ac_ext >&5
12685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12686 conftest$ac_exeext conftest.$ac_ext
12687 LIBS=$ac_check_soname_save_LIBS
12689 if test "x$ac_cv_lib_soname_hal" = "x"; then
12690 { echo "$as_me:$LINENO: result: not found" >&5
12691 echo "${ECHO_T}not found" >&6; }
12694 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12695 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12697 cat >>confdefs.h <<_ACEOF
12698 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12701 HALINCL="$ac_hal_cflags"
12707 CPPFLAGS="$ac_save_CPPFLAGS"
12709 if test "x$ac_cv_lib_soname_hal" = "x"; then
12710 case "x$with_hal" in
12711 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12713 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12714 This is an error since --with-hal was requested." >&5
12715 echo "$as_me: error: libhal development files not found, no dynamic device support.
12716 This is an error since --with-hal was requested." >&2;}
12717 { (exit 1); exit 1; }; } ;;
12723 if test "$ac_cv_header_ncurses_h" = "yes"
12725 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12726 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12727 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12728 echo $ECHO_N "(cached) $ECHO_C" >&6
12730 ac_check_soname_save_LIBS=$LIBS
12731 LIBS="-lncurses $LIBS"
12732 cat >conftest.$ac_ext <<_ACEOF
12735 cat confdefs.h >>conftest.$ac_ext
12736 cat >>conftest.$ac_ext <<_ACEOF
12737 /* end confdefs.h. */
12739 /* Override any GCC internal prototype to avoid an error.
12740 Use char because int might match the return type of a GCC
12741 builtin and then its argument prototype would still apply. */
12754 rm -f conftest.$ac_objext conftest$ac_exeext
12755 if { (ac_try="$ac_link"
12756 case "(($ac_try" in
12757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12758 *) ac_try_echo=$ac_try;;
12760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12761 (eval "$ac_link") 2>conftest.er1
12763 grep -v '^ *+' conftest.er1 >conftest.err
12765 cat conftest.err >&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); } && {
12768 test -z "$ac_c_werror_flag" ||
12769 test ! -s conftest.err
12770 } && test -s conftest$ac_exeext &&
12771 $as_test_x conftest$ac_exeext; then
12774 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'` ;;
12775 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12778 echo "$as_me: failed program was:" >&5
12779 sed 's/^/| /' conftest.$ac_ext >&5
12784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12785 conftest$ac_exeext conftest.$ac_ext
12786 LIBS=$ac_check_soname_save_LIBS
12788 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12789 { echo "$as_me:$LINENO: result: not found" >&5
12790 echo "${ECHO_T}not found" >&6; }
12793 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12794 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12796 cat >>confdefs.h <<_ACEOF
12797 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12800 CURSESLIBS="-lncurses"
12803 elif test "$ac_cv_header_curses_h" = "yes"
12805 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12806 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12807 if test "${ac_cv_lib_soname_curses+set}" = set; then
12808 echo $ECHO_N "(cached) $ECHO_C" >&6
12810 ac_check_soname_save_LIBS=$LIBS
12811 LIBS="-lcurses $LIBS"
12812 cat >conftest.$ac_ext <<_ACEOF
12815 cat confdefs.h >>conftest.$ac_ext
12816 cat >>conftest.$ac_ext <<_ACEOF
12817 /* end confdefs.h. */
12819 /* Override any GCC internal prototype to avoid an error.
12820 Use char because int might match the return type of a GCC
12821 builtin and then its argument prototype would still apply. */
12834 rm -f conftest.$ac_objext conftest$ac_exeext
12835 if { (ac_try="$ac_link"
12836 case "(($ac_try" in
12837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12838 *) ac_try_echo=$ac_try;;
12840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12841 (eval "$ac_link") 2>conftest.er1
12843 grep -v '^ *+' conftest.er1 >conftest.err
12845 cat conftest.err >&5
12846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12847 (exit $ac_status); } && {
12848 test -z "$ac_c_werror_flag" ||
12849 test ! -s conftest.err
12850 } && test -s conftest$ac_exeext &&
12851 $as_test_x conftest$ac_exeext; then
12854 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'` ;;
12855 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12858 echo "$as_me: failed program was:" >&5
12859 sed 's/^/| /' conftest.$ac_ext >&5
12864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12865 conftest$ac_exeext conftest.$ac_ext
12866 LIBS=$ac_check_soname_save_LIBS
12868 if test "x$ac_cv_lib_soname_curses" = "x"; then
12869 { echo "$as_me:$LINENO: result: not found" >&5
12870 echo "${ECHO_T}not found" >&6; }
12873 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12874 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12876 cat >>confdefs.h <<_ACEOF
12877 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12880 CURSESLIBS="-lcurses"
12884 ac_save_LIBS="$LIBS"
12885 LIBS="$LIBS $CURSESLIBS"
12887 for ac_func in mousemask
12889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12890 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12892 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12893 echo $ECHO_N "(cached) $ECHO_C" >&6
12895 cat >conftest.$ac_ext <<_ACEOF
12898 cat confdefs.h >>conftest.$ac_ext
12899 cat >>conftest.$ac_ext <<_ACEOF
12900 /* end confdefs.h. */
12901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12903 #define $ac_func innocuous_$ac_func
12905 /* System header to define __stub macros and hopefully few prototypes,
12906 which can conflict with char $ac_func (); below.
12907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12908 <limits.h> exists even on freestanding compilers. */
12911 # include <limits.h>
12913 # include <assert.h>
12918 /* Override any GCC internal prototype to avoid an error.
12919 Use char because int might match the return type of a GCC
12920 builtin and then its argument prototype would still apply. */
12925 /* The GNU C library defines this for functions which it implements
12926 to always fail with ENOSYS. Some functions are actually named
12927 something starting with __ and the normal name is an alias. */
12928 #if defined __stub_$ac_func || defined __stub___$ac_func
12935 return $ac_func ();
12940 rm -f conftest.$ac_objext conftest$ac_exeext
12941 if { (ac_try="$ac_link"
12942 case "(($ac_try" in
12943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12944 *) ac_try_echo=$ac_try;;
12946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12947 (eval "$ac_link") 2>conftest.er1
12949 grep -v '^ *+' conftest.er1 >conftest.err
12951 cat conftest.err >&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); } && {
12954 test -z "$ac_c_werror_flag" ||
12955 test ! -s conftest.err
12956 } && test -s conftest$ac_exeext &&
12957 $as_test_x conftest$ac_exeext; then
12958 eval "$as_ac_var=yes"
12960 echo "$as_me: failed program was:" >&5
12961 sed 's/^/| /' conftest.$ac_ext >&5
12963 eval "$as_ac_var=no"
12966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12967 conftest$ac_exeext conftest.$ac_ext
12969 ac_res=`eval echo '${'$as_ac_var'}'`
12970 { echo "$as_me:$LINENO: result: $ac_res" >&5
12971 echo "${ECHO_T}$ac_res" >&6; }
12972 if test `eval echo '${'$as_ac_var'}'` = yes; then
12973 cat >>confdefs.h <<_ACEOF
12974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12980 LIBS="$ac_save_LIBS"
12981 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12982 case "x$with_curses" in
12983 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12985 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12986 This is an error since --with-curses was requested." >&5
12987 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12988 This is an error since --with-curses was requested." >&2;}
12989 { (exit 1); exit 1; }; } ;;
12994 # Extract the first word of "sane-config", so it can be a program name with args.
12995 set dummy sane-config; ac_word=$2
12996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12998 if test "${ac_cv_prog_sane_devel+set}" = set; then
12999 echo $ECHO_N "(cached) $ECHO_C" >&6
13001 if test -n "$sane_devel"; then
13002 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
13004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13005 for as_dir in $PATH
13008 test -z "$as_dir" && as_dir=.
13009 for ac_exec_ext in '' $ac_executable_extensions; do
13010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13011 ac_cv_prog_sane_devel="sane-config"
13012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13019 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
13022 sane_devel=$ac_cv_prog_sane_devel
13023 if test -n "$sane_devel"; then
13024 { echo "$as_me:$LINENO: result: $sane_devel" >&5
13025 echo "${ECHO_T}$sane_devel" >&6; }
13027 { echo "$as_me:$LINENO: result: no" >&5
13028 echo "${ECHO_T}no" >&6; }
13032 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
13034 ac_sane_incl="`$sane_devel --cflags`"
13035 ac_sane_libs="`$sane_devel --ldflags`"
13036 ac_save_CPPFLAGS="$CPPFLAGS"
13037 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
13038 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13039 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13040 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13041 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13042 echo $ECHO_N "(cached) $ECHO_C" >&6
13044 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13045 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13047 # Is the header compilable?
13048 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
13049 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
13050 cat >conftest.$ac_ext <<_ACEOF
13053 cat confdefs.h >>conftest.$ac_ext
13054 cat >>conftest.$ac_ext <<_ACEOF
13055 /* end confdefs.h. */
13056 $ac_includes_default
13057 #include <sane/sane.h>
13059 rm -f conftest.$ac_objext
13060 if { (ac_try="$ac_compile"
13061 case "(($ac_try" in
13062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13063 *) ac_try_echo=$ac_try;;
13065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13066 (eval "$ac_compile") 2>conftest.er1
13068 grep -v '^ *+' conftest.er1 >conftest.err
13070 cat conftest.err >&5
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); } && {
13073 test -z "$ac_c_werror_flag" ||
13074 test ! -s conftest.err
13075 } && test -s conftest.$ac_objext; then
13076 ac_header_compiler=yes
13078 echo "$as_me: failed program was:" >&5
13079 sed 's/^/| /' conftest.$ac_ext >&5
13081 ac_header_compiler=no
13084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13085 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13086 echo "${ECHO_T}$ac_header_compiler" >&6; }
13088 # Is the header present?
13089 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
13090 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
13091 cat >conftest.$ac_ext <<_ACEOF
13094 cat confdefs.h >>conftest.$ac_ext
13095 cat >>conftest.$ac_ext <<_ACEOF
13096 /* end confdefs.h. */
13097 #include <sane/sane.h>
13099 if { (ac_try="$ac_cpp conftest.$ac_ext"
13100 case "(($ac_try" in
13101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13102 *) ac_try_echo=$ac_try;;
13104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13105 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13107 grep -v '^ *+' conftest.er1 >conftest.err
13109 cat conftest.err >&5
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); } >/dev/null && {
13112 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13113 test ! -s conftest.err
13115 ac_header_preproc=yes
13117 echo "$as_me: failed program was:" >&5
13118 sed 's/^/| /' conftest.$ac_ext >&5
13120 ac_header_preproc=no
13123 rm -f conftest.err conftest.$ac_ext
13124 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13125 echo "${ECHO_T}$ac_header_preproc" >&6; }
13127 # So? What about this header?
13128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13130 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
13131 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13132 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
13133 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
13134 ac_header_preproc=yes
13137 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
13138 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
13139 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
13140 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
13141 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
13142 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
13143 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
13144 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
13145 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
13146 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
13147 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
13148 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
13150 ## ------------------------------------ ##
13151 ## Report this to wine-devel@winehq.org ##
13152 ## ------------------------------------ ##
13154 ) | sed "s/^/$as_me: WARNING: /" >&2
13157 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13158 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13159 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13160 echo $ECHO_N "(cached) $ECHO_C" >&6
13162 ac_cv_header_sane_sane_h=$ac_header_preproc
13164 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13165 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13168 if test $ac_cv_header_sane_sane_h = yes; then
13169 { echo "$as_me:$LINENO: checking for -lsane" >&5
13170 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13171 if test "${ac_cv_lib_soname_sane+set}" = set; then
13172 echo $ECHO_N "(cached) $ECHO_C" >&6
13174 ac_check_soname_save_LIBS=$LIBS
13175 LIBS="-lsane $ac_sane_libs $LIBS"
13176 cat >conftest.$ac_ext <<_ACEOF
13179 cat confdefs.h >>conftest.$ac_ext
13180 cat >>conftest.$ac_ext <<_ACEOF
13181 /* end confdefs.h. */
13183 /* Override any GCC internal prototype to avoid an error.
13184 Use char because int might match the return type of a GCC
13185 builtin and then its argument prototype would still apply. */
13193 return sane_init ();
13198 rm -f conftest.$ac_objext conftest$ac_exeext
13199 if { (ac_try="$ac_link"
13200 case "(($ac_try" in
13201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13202 *) ac_try_echo=$ac_try;;
13204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13205 (eval "$ac_link") 2>conftest.er1
13207 grep -v '^ *+' conftest.er1 >conftest.err
13209 cat conftest.err >&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); } && {
13212 test -z "$ac_c_werror_flag" ||
13213 test ! -s conftest.err
13214 } && test -s conftest$ac_exeext &&
13215 $as_test_x conftest$ac_exeext; then
13218 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'` ;;
13219 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13222 echo "$as_me: failed program was:" >&5
13223 sed 's/^/| /' conftest.$ac_ext >&5
13228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13229 conftest$ac_exeext conftest.$ac_ext
13230 LIBS=$ac_check_soname_save_LIBS
13232 if test "x$ac_cv_lib_soname_sane" = "x"; then
13233 { echo "$as_me:$LINENO: result: not found" >&5
13234 echo "${ECHO_T}not found" >&6; }
13237 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13238 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13240 cat >>confdefs.h <<_ACEOF
13241 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13244 SANEINCL="$ac_sane_incl"
13251 CPPFLAGS="$ac_save_CPPFLAGS"
13253 if test "x$ac_cv_lib_soname_sane" = "x"; then
13254 case "x$with_sane" in
13255 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13257 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13258 This is an error since --with-sane was requested." >&5
13259 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13260 This is an error since --with-sane was requested." >&2;}
13261 { (exit 1); exit 1; }; } ;;
13266 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13267 set dummy gphoto2-config; ac_word=$2
13268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13270 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13271 echo $ECHO_N "(cached) $ECHO_C" >&6
13273 if test -n "$gphoto2_devel"; then
13274 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13277 for as_dir in $PATH
13280 test -z "$as_dir" && as_dir=.
13281 for ac_exec_ext in '' $ac_executable_extensions; do
13282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13283 ac_cv_prog_gphoto2_devel="gphoto2-config"
13284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13291 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13294 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13295 if test -n "$gphoto2_devel"; then
13296 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13297 echo "${ECHO_T}$gphoto2_devel" >&6; }
13299 { echo "$as_me:$LINENO: result: no" >&5
13300 echo "${ECHO_T}no" >&6; }
13304 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13305 set dummy gphoto2-port-config; ac_word=$2
13306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13308 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13309 echo $ECHO_N "(cached) $ECHO_C" >&6
13311 if test -n "$gphoto2port_devel"; then
13312 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13315 for as_dir in $PATH
13318 test -z "$as_dir" && as_dir=.
13319 for ac_exec_ext in '' $ac_executable_extensions; do
13320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13321 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13329 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13332 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13333 if test -n "$gphoto2port_devel"; then
13334 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13335 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13337 { echo "$as_me:$LINENO: result: no" >&5
13338 echo "${ECHO_T}no" >&6; }
13342 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13344 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13346 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13349 -L/usr/lib|-L/usr/lib64) ;;
13350 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13353 ac_save_CPPFLAGS="$CPPFLAGS"
13354 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13355 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13356 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13357 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13358 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13359 echo $ECHO_N "(cached) $ECHO_C" >&6
13361 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13362 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13364 # Is the header compilable?
13365 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13366 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13367 cat >conftest.$ac_ext <<_ACEOF
13370 cat confdefs.h >>conftest.$ac_ext
13371 cat >>conftest.$ac_ext <<_ACEOF
13372 /* end confdefs.h. */
13373 $ac_includes_default
13374 #include <gphoto2-camera.h>
13376 rm -f conftest.$ac_objext
13377 if { (ac_try="$ac_compile"
13378 case "(($ac_try" in
13379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13380 *) ac_try_echo=$ac_try;;
13382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13383 (eval "$ac_compile") 2>conftest.er1
13385 grep -v '^ *+' conftest.er1 >conftest.err
13387 cat conftest.err >&5
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } && {
13390 test -z "$ac_c_werror_flag" ||
13391 test ! -s conftest.err
13392 } && test -s conftest.$ac_objext; then
13393 ac_header_compiler=yes
13395 echo "$as_me: failed program was:" >&5
13396 sed 's/^/| /' conftest.$ac_ext >&5
13398 ac_header_compiler=no
13401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13402 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13403 echo "${ECHO_T}$ac_header_compiler" >&6; }
13405 # Is the header present?
13406 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13407 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13408 cat >conftest.$ac_ext <<_ACEOF
13411 cat confdefs.h >>conftest.$ac_ext
13412 cat >>conftest.$ac_ext <<_ACEOF
13413 /* end confdefs.h. */
13414 #include <gphoto2-camera.h>
13416 if { (ac_try="$ac_cpp conftest.$ac_ext"
13417 case "(($ac_try" in
13418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13419 *) ac_try_echo=$ac_try;;
13421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13422 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13424 grep -v '^ *+' conftest.er1 >conftest.err
13426 cat conftest.err >&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); } >/dev/null && {
13429 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13430 test ! -s conftest.err
13432 ac_header_preproc=yes
13434 echo "$as_me: failed program was:" >&5
13435 sed 's/^/| /' conftest.$ac_ext >&5
13437 ac_header_preproc=no
13440 rm -f conftest.err conftest.$ac_ext
13441 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13442 echo "${ECHO_T}$ac_header_preproc" >&6; }
13444 # So? What about this header?
13445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13447 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13448 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13449 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13450 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13451 ac_header_preproc=yes
13454 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13455 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13456 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13457 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13458 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13459 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13460 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13461 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13462 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13463 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13464 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13465 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13467 ## ------------------------------------ ##
13468 ## Report this to wine-devel@winehq.org ##
13469 ## ------------------------------------ ##
13471 ) | sed "s/^/$as_me: WARNING: /" >&2
13474 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13475 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13476 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13477 echo $ECHO_N "(cached) $ECHO_C" >&6
13479 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13481 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13482 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13485 if test $ac_cv_header_gphoto2_camera_h = yes; then
13486 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13487 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13488 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13489 echo $ECHO_N "(cached) $ECHO_C" >&6
13491 ac_check_lib_save_LIBS=$LIBS
13492 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
13493 cat >conftest.$ac_ext <<_ACEOF
13496 cat confdefs.h >>conftest.$ac_ext
13497 cat >>conftest.$ac_ext <<_ACEOF
13498 /* end confdefs.h. */
13500 /* Override any GCC internal prototype to avoid an error.
13501 Use char because int might match the return type of a GCC
13502 builtin and then its argument prototype would still apply. */
13506 char gp_camera_new ();
13510 return gp_camera_new ();
13515 rm -f conftest.$ac_objext conftest$ac_exeext
13516 if { (ac_try="$ac_link"
13517 case "(($ac_try" in
13518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13519 *) ac_try_echo=$ac_try;;
13521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13522 (eval "$ac_link") 2>conftest.er1
13524 grep -v '^ *+' conftest.er1 >conftest.err
13526 cat conftest.err >&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); } && {
13529 test -z "$ac_c_werror_flag" ||
13530 test ! -s conftest.err
13531 } && test -s conftest$ac_exeext &&
13532 $as_test_x conftest$ac_exeext; then
13533 ac_cv_lib_gphoto2_gp_camera_new=yes
13535 echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.$ac_ext >&5
13538 ac_cv_lib_gphoto2_gp_camera_new=no
13541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13542 conftest$ac_exeext conftest.$ac_ext
13543 LIBS=$ac_check_lib_save_LIBS
13545 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13546 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13547 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13549 cat >>confdefs.h <<\_ACEOF
13550 #define HAVE_GPHOTO2 1
13553 GPHOTO2LIBS="$ac_gphoto2_libs"
13555 GPHOTO2INCL="$ac_gphoto2_incl"
13562 CPPFLAGS="$ac_save_CPPFLAGS"
13564 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13565 case "x$with_gphoto" in
13566 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13568 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13569 This is an error since --with-gphoto was requested." >&5
13570 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13571 This is an error since --with-gphoto was requested." >&2;}
13572 { (exit 1); exit 1; }; } ;;
13580 if test "$ac_cv_header_resolv_h" = "yes"
13582 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13583 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13584 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13585 echo $ECHO_N "(cached) $ECHO_C" >&6
13587 ac_check_lib_save_LIBS=$LIBS
13588 LIBS="-lresolv $LIBS"
13589 cat >conftest.$ac_ext <<_ACEOF
13592 cat confdefs.h >>conftest.$ac_ext
13593 cat >>conftest.$ac_ext <<_ACEOF
13594 /* end confdefs.h. */
13596 /* Override any GCC internal prototype to avoid an error.
13597 Use char because int might match the return type of a GCC
13598 builtin and then its argument prototype would still apply. */
13606 return res_query ();
13611 rm -f conftest.$ac_objext conftest$ac_exeext
13612 if { (ac_try="$ac_link"
13613 case "(($ac_try" in
13614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13615 *) ac_try_echo=$ac_try;;
13617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13618 (eval "$ac_link") 2>conftest.er1
13620 grep -v '^ *+' conftest.er1 >conftest.err
13622 cat conftest.err >&5
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); } && {
13625 test -z "$ac_c_werror_flag" ||
13626 test ! -s conftest.err
13627 } && test -s conftest$ac_exeext &&
13628 $as_test_x conftest$ac_exeext; then
13629 ac_cv_lib_resolv_res_query=yes
13631 echo "$as_me: failed program was:" >&5
13632 sed 's/^/| /' conftest.$ac_ext >&5
13634 ac_cv_lib_resolv_res_query=no
13637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13638 conftest$ac_exeext conftest.$ac_ext
13639 LIBS=$ac_check_lib_save_LIBS
13641 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13642 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13643 if test $ac_cv_lib_resolv_res_query = yes; then
13645 cat >>confdefs.h <<\_ACEOF
13646 #define HAVE_RESOLV 1
13649 RESOLVLIBS="-lresolv"
13656 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13658 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13659 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13660 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13661 echo $ECHO_N "(cached) $ECHO_C" >&6
13663 ac_check_lib_save_LIBS=$LIBS
13664 LIBS="-llcms $LIBS"
13665 cat >conftest.$ac_ext <<_ACEOF
13668 cat confdefs.h >>conftest.$ac_ext
13669 cat >>conftest.$ac_ext <<_ACEOF
13670 /* end confdefs.h. */
13672 /* Override any GCC internal prototype to avoid an error.
13673 Use char because int might match the return type of a GCC
13674 builtin and then its argument prototype would still apply. */
13678 char cmsOpenProfileFromFile ();
13682 return cmsOpenProfileFromFile ();
13687 rm -f conftest.$ac_objext conftest$ac_exeext
13688 if { (ac_try="$ac_link"
13689 case "(($ac_try" in
13690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13691 *) ac_try_echo=$ac_try;;
13693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13694 (eval "$ac_link") 2>conftest.er1
13696 grep -v '^ *+' conftest.er1 >conftest.err
13698 cat conftest.err >&5
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 (exit $ac_status); } && {
13701 test -z "$ac_c_werror_flag" ||
13702 test ! -s conftest.err
13703 } && test -s conftest$ac_exeext &&
13704 $as_test_x conftest$ac_exeext; then
13705 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13707 echo "$as_me: failed program was:" >&5
13708 sed 's/^/| /' conftest.$ac_ext >&5
13710 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13714 conftest$ac_exeext conftest.$ac_ext
13715 LIBS=$ac_check_lib_save_LIBS
13717 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13718 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13719 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13721 cat >>confdefs.h <<\_ACEOF
13722 #define HAVE_LCMS 1
13729 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13730 case "x$with_cms" in
13731 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13733 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13734 This is an error since --with-cms was requested." >&5
13735 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13736 This is an error since --with-cms was requested." >&2;}
13737 { (exit 1); exit 1; }; } ;;
13742 for ac_prog in freetype-config freetype2-config
13744 # Extract the first word of "$ac_prog", so it can be a program name with args.
13745 set dummy $ac_prog; ac_word=$2
13746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13748 if test "${ac_cv_prog_ft_devel+set}" = set; then
13749 echo $ECHO_N "(cached) $ECHO_C" >&6
13751 if test -n "$ft_devel"; then
13752 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13755 for as_dir in $PATH
13758 test -z "$as_dir" && as_dir=.
13759 for ac_exec_ext in '' $ac_executable_extensions; do
13760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13761 ac_cv_prog_ft_devel="$ac_prog"
13762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13771 ft_devel=$ac_cv_prog_ft_devel
13772 if test -n "$ft_devel"; then
13773 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13774 echo "${ECHO_T}$ft_devel" >&6; }
13776 { echo "$as_me:$LINENO: result: no" >&5
13777 echo "${ECHO_T}no" >&6; }
13781 test -n "$ft_devel" && break
13783 test -n "$ft_devel" || ft_devel="false"
13785 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
13787 ac_freetype_libs=`$ft_devel --libs`
13788 ac_freetype_incl=`$ft_devel --cflags`
13789 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13790 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13791 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13792 echo $ECHO_N "(cached) $ECHO_C" >&6
13794 ac_check_soname_save_LIBS=$LIBS
13795 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13796 cat >conftest.$ac_ext <<_ACEOF
13799 cat confdefs.h >>conftest.$ac_ext
13800 cat >>conftest.$ac_ext <<_ACEOF
13801 /* end confdefs.h. */
13803 /* Override any GCC internal prototype to avoid an error.
13804 Use char because int might match the return type of a GCC
13805 builtin and then its argument prototype would still apply. */
13809 char FT_Init_FreeType ();
13813 return FT_Init_FreeType ();
13818 rm -f conftest.$ac_objext conftest$ac_exeext
13819 if { (ac_try="$ac_link"
13820 case "(($ac_try" in
13821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13822 *) ac_try_echo=$ac_try;;
13824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13825 (eval "$ac_link") 2>conftest.er1
13827 grep -v '^ *+' conftest.er1 >conftest.err
13829 cat conftest.err >&5
13830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831 (exit $ac_status); } && {
13832 test -z "$ac_c_werror_flag" ||
13833 test ! -s conftest.err
13834 } && test -s conftest$ac_exeext &&
13835 $as_test_x conftest$ac_exeext; then
13838 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'` ;;
13839 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13842 echo "$as_me: failed program was:" >&5
13843 sed 's/^/| /' conftest.$ac_ext >&5
13848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13849 conftest$ac_exeext conftest.$ac_ext
13850 LIBS=$ac_check_soname_save_LIBS
13852 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13853 { echo "$as_me:$LINENO: result: not found" >&5
13854 echo "${ECHO_T}not found" >&6; }
13857 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13858 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13860 cat >>confdefs.h <<_ACEOF
13861 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13867 if test "$ft_lib" = "yes"
13869 ac_save_CPPFLAGS="$CPPFLAGS"
13870 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13883 for ac_header in ft2build.h \
13884 freetype/freetype.h \
13885 freetype/ftglyph.h \
13886 freetype/fttypes.h \
13887 freetype/tttables.h \
13888 freetype/ftnames.h \
13889 freetype/ftsnames.h \
13890 freetype/ttnameid.h \
13891 freetype/ftoutln.h \
13892 freetype/ftwinfnt.h \
13893 freetype/ftmodapi.h \
13894 freetype/internal/sfnt.h
13896 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13897 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13900 echo $ECHO_N "(cached) $ECHO_C" >&6
13902 cat >conftest.$ac_ext <<_ACEOF
13905 cat confdefs.h >>conftest.$ac_ext
13906 cat >>conftest.$ac_ext <<_ACEOF
13907 /* end confdefs.h. */
13908 #ifdef HAVE_FT2BUILD_H
13909 # include <ft2build.h>
13912 #include <$ac_header>
13914 rm -f conftest.$ac_objext
13915 if { (ac_try="$ac_compile"
13916 case "(($ac_try" in
13917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13918 *) ac_try_echo=$ac_try;;
13920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13921 (eval "$ac_compile") 2>conftest.er1
13923 grep -v '^ *+' conftest.er1 >conftest.err
13925 cat conftest.err >&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); } && {
13928 test -z "$ac_c_werror_flag" ||
13929 test ! -s conftest.err
13930 } && test -s conftest.$ac_objext; then
13931 eval "$as_ac_Header=yes"
13933 echo "$as_me: failed program was:" >&5
13934 sed 's/^/| /' conftest.$ac_ext >&5
13936 eval "$as_ac_Header=no"
13939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13941 ac_res=`eval echo '${'$as_ac_Header'}'`
13942 { echo "$as_me:$LINENO: result: $ac_res" >&5
13943 echo "${ECHO_T}$ac_res" >&6; }
13944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13945 cat >>confdefs.h <<_ACEOF
13946 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13953 cat >conftest.$ac_ext <<_ACEOF
13956 cat confdefs.h >>conftest.$ac_ext
13957 cat >>conftest.$ac_ext <<_ACEOF
13958 /* end confdefs.h. */
13959 #include <ft2build.h>
13960 #include <freetype/fttrigon.h>
13962 if { (ac_try="$ac_cpp conftest.$ac_ext"
13963 case "(($ac_try" in
13964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13965 *) ac_try_echo=$ac_try;;
13967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13970 grep -v '^ *+' conftest.er1 >conftest.err
13972 cat conftest.err >&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); } >/dev/null && {
13975 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13976 test ! -s conftest.err
13979 cat >>confdefs.h <<\_ACEOF
13980 #define HAVE_FREETYPE_FTTRIGON_H 1
13983 wine_cv_fttrigon=yes
13985 echo "$as_me: failed program was:" >&5
13986 sed 's/^/| /' conftest.$ac_ext >&5
13988 wine_cv_fttrigon=no
13991 rm -f conftest.err conftest.$ac_ext
13992 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13993 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13994 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13995 echo $ECHO_N "(cached) $ECHO_C" >&6
13997 cat >conftest.$ac_ext <<_ACEOF
14000 cat confdefs.h >>conftest.$ac_ext
14001 cat >>conftest.$ac_ext <<_ACEOF
14002 /* end confdefs.h. */
14003 #include <freetype/ftmodapi.h>
14005 typedef FT_TrueTypeEngineType ac__type_new_;
14009 if ((ac__type_new_ *) 0)
14011 if (sizeof (ac__type_new_))
14017 rm -f conftest.$ac_objext
14018 if { (ac_try="$ac_compile"
14019 case "(($ac_try" in
14020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14021 *) ac_try_echo=$ac_try;;
14023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14024 (eval "$ac_compile") 2>conftest.er1
14026 grep -v '^ *+' conftest.er1 >conftest.err
14028 cat conftest.err >&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); } && {
14031 test -z "$ac_c_werror_flag" ||
14032 test ! -s conftest.err
14033 } && test -s conftest.$ac_objext; then
14034 ac_cv_type_FT_TrueTypeEngineType=yes
14036 echo "$as_me: failed program was:" >&5
14037 sed 's/^/| /' conftest.$ac_ext >&5
14039 ac_cv_type_FT_TrueTypeEngineType=no
14042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14044 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14045 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14046 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14048 cat >>confdefs.h <<_ACEOF
14049 #define HAVE_FT_TRUETYPEENGINETYPE 1
14055 ac_save_CFLAGS="$CFLAGS"
14056 CFLAGS="$CFLAGS $ac_freetype_libs"
14058 for ac_func in FT_Load_Sfnt_Table
14060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14061 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14063 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14064 echo $ECHO_N "(cached) $ECHO_C" >&6
14066 cat >conftest.$ac_ext <<_ACEOF
14069 cat confdefs.h >>conftest.$ac_ext
14070 cat >>conftest.$ac_ext <<_ACEOF
14071 /* end confdefs.h. */
14072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14074 #define $ac_func innocuous_$ac_func
14076 /* System header to define __stub macros and hopefully few prototypes,
14077 which can conflict with char $ac_func (); below.
14078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14079 <limits.h> exists even on freestanding compilers. */
14082 # include <limits.h>
14084 # include <assert.h>
14089 /* Override any GCC internal prototype to avoid an error.
14090 Use char because int might match the return type of a GCC
14091 builtin and then its argument prototype would still apply. */
14096 /* The GNU C library defines this for functions which it implements
14097 to always fail with ENOSYS. Some functions are actually named
14098 something starting with __ and the normal name is an alias. */
14099 #if defined __stub_$ac_func || defined __stub___$ac_func
14106 return $ac_func ();
14111 rm -f conftest.$ac_objext conftest$ac_exeext
14112 if { (ac_try="$ac_link"
14113 case "(($ac_try" in
14114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14115 *) ac_try_echo=$ac_try;;
14117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14118 (eval "$ac_link") 2>conftest.er1
14120 grep -v '^ *+' conftest.er1 >conftest.err
14122 cat conftest.err >&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); } && {
14125 test -z "$ac_c_werror_flag" ||
14126 test ! -s conftest.err
14127 } && test -s conftest$ac_exeext &&
14128 $as_test_x conftest$ac_exeext; then
14129 eval "$as_ac_var=yes"
14131 echo "$as_me: failed program was:" >&5
14132 sed 's/^/| /' conftest.$ac_ext >&5
14134 eval "$as_ac_var=no"
14137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14138 conftest$ac_exeext conftest.$ac_ext
14140 ac_res=`eval echo '${'$as_ac_var'}'`
14141 { echo "$as_me:$LINENO: result: $ac_res" >&5
14142 echo "${ECHO_T}$ac_res" >&6; }
14143 if test `eval echo '${'$as_ac_var'}'` = yes; then
14144 cat >>confdefs.h <<_ACEOF
14145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14151 CFLAGS="$ac_save_CFLAGS"
14152 CPPFLAGS="$ac_save_CPPFLAGS"
14153 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14156 cat >>confdefs.h <<\_ACEOF
14157 #define HAVE_FREETYPE 1
14160 FREETYPELIBS="$ac_freetype_libs"
14162 FREETYPEINCL="$ac_freetype_incl"
14164 FONTSSUBDIRS="fonts"
14169 if test "x$FREETYPELIBS" = "x"; then
14170 case "x$with_freetype" in
14172 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14173 Fonts will not be built. Dialog text may be invisible or unaligned.
14174 Use the --without-freetype option if you really want this." >&5
14175 echo "$as_me: error: FreeType development files not found.
14176 Fonts will not be built. Dialog text may be invisible or unaligned.
14177 Use the --without-freetype option if you really want this." >&2;}
14178 { (exit 1); exit 1; }; } ;;
14183 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14184 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14185 if test "${ac_cv_c_ppdev+set}" = set; then
14186 echo $ECHO_N "(cached) $ECHO_C" >&6
14188 cat >conftest.$ac_ext <<_ACEOF
14191 cat confdefs.h >>conftest.$ac_ext
14192 cat >>conftest.$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14194 #include <linux/ppdev.h>
14198 ioctl (1,PPCLAIM,0)
14203 rm -f conftest.$ac_objext
14204 if { (ac_try="$ac_compile"
14205 case "(($ac_try" in
14206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14207 *) ac_try_echo=$ac_try;;
14209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14210 (eval "$ac_compile") 2>conftest.er1
14212 grep -v '^ *+' conftest.er1 >conftest.err
14214 cat conftest.err >&5
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); } && {
14217 test -z "$ac_c_werror_flag" ||
14218 test ! -s conftest.err
14219 } && test -s conftest.$ac_objext; then
14220 ac_cv_c_ppdev="yes"
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.$ac_ext >&5
14228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14230 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14231 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14232 if test "$ac_cv_c_ppdev" = "yes"
14235 cat >>confdefs.h <<\_ACEOF
14236 #define HAVE_PPDEV 1
14241 { echo "$as_me:$LINENO: checking for va_copy" >&5
14242 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14243 if test "${ac_cv_c_va_copy+set}" = set; then
14244 echo $ECHO_N "(cached) $ECHO_C" >&6
14246 cat >conftest.$ac_ext <<_ACEOF
14249 cat confdefs.h >>conftest.$ac_ext
14250 cat >>conftest.$ac_ext <<_ACEOF
14251 /* end confdefs.h. */
14252 #include <stdarg.h>
14256 va_list ap1, ap2; va_copy(ap1,ap2);
14261 rm -f conftest.$ac_objext conftest$ac_exeext
14262 if { (ac_try="$ac_link"
14263 case "(($ac_try" in
14264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14265 *) ac_try_echo=$ac_try;;
14267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14268 (eval "$ac_link") 2>conftest.er1
14270 grep -v '^ *+' conftest.er1 >conftest.err
14272 cat conftest.err >&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); } && {
14275 test -z "$ac_c_werror_flag" ||
14276 test ! -s conftest.err
14277 } && test -s conftest$ac_exeext &&
14278 $as_test_x conftest$ac_exeext; then
14279 ac_cv_c_va_copy="yes"
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.$ac_ext >&5
14284 ac_cv_c_va_copy="no"
14287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14288 conftest$ac_exeext conftest.$ac_ext
14291 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14292 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14293 if test "$ac_cv_c_va_copy" = "yes"
14296 cat >>confdefs.h <<\_ACEOF
14297 #define HAVE_VA_COPY 1
14301 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14302 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14303 if test "${ac_cv_c___va_copy+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14306 cat >conftest.$ac_ext <<_ACEOF
14309 cat confdefs.h >>conftest.$ac_ext
14310 cat >>conftest.$ac_ext <<_ACEOF
14311 /* end confdefs.h. */
14312 #include <stdarg.h>
14316 va_list ap1, ap2; __va_copy(ap1,ap2);
14321 rm -f conftest.$ac_objext conftest$ac_exeext
14322 if { (ac_try="$ac_link"
14323 case "(($ac_try" in
14324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14325 *) ac_try_echo=$ac_try;;
14327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14328 (eval "$ac_link") 2>conftest.er1
14330 grep -v '^ *+' conftest.er1 >conftest.err
14332 cat conftest.err >&5
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); } && {
14335 test -z "$ac_c_werror_flag" ||
14336 test ! -s conftest.err
14337 } && test -s conftest$ac_exeext &&
14338 $as_test_x conftest$ac_exeext; then
14339 ac_cv_c___va_copy="yes"
14341 echo "$as_me: failed program was:" >&5
14342 sed 's/^/| /' conftest.$ac_ext >&5
14344 ac_cv_c___va_copy="no"
14347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14348 conftest$ac_exeext conftest.$ac_ext
14351 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14352 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14353 if test "$ac_cv_c___va_copy" = "yes"
14356 cat >>confdefs.h <<\_ACEOF
14357 #define HAVE___VA_COPY 1
14362 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14363 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14364 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14365 echo $ECHO_N "(cached) $ECHO_C" >&6
14367 cat >conftest.$ac_ext <<_ACEOF
14370 cat confdefs.h >>conftest.$ac_ext
14371 cat >>conftest.$ac_ext <<_ACEOF
14372 /* end confdefs.h. */
14373 #define _GNU_SOURCE
14374 #include <pthread.h>
14376 typedef pthread_rwlock_t ac__type_new_;
14380 if ((ac__type_new_ *) 0)
14382 if (sizeof (ac__type_new_))
14388 rm -f conftest.$ac_objext
14389 if { (ac_try="$ac_compile"
14390 case "(($ac_try" in
14391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14392 *) ac_try_echo=$ac_try;;
14394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14395 (eval "$ac_compile") 2>conftest.er1
14397 grep -v '^ *+' conftest.er1 >conftest.err
14399 cat conftest.err >&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); } && {
14402 test -z "$ac_c_werror_flag" ||
14403 test ! -s conftest.err
14404 } && test -s conftest.$ac_objext; then
14405 ac_cv_type_pthread_rwlock_t=yes
14407 echo "$as_me: failed program was:" >&5
14408 sed 's/^/| /' conftest.$ac_ext >&5
14410 ac_cv_type_pthread_rwlock_t=no
14413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14415 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14416 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14417 if test $ac_cv_type_pthread_rwlock_t = yes; then
14419 cat >>confdefs.h <<_ACEOF
14420 #define HAVE_PTHREAD_RWLOCK_T 1
14425 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14426 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14427 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14428 echo $ECHO_N "(cached) $ECHO_C" >&6
14430 cat >conftest.$ac_ext <<_ACEOF
14433 cat confdefs.h >>conftest.$ac_ext
14434 cat >>conftest.$ac_ext <<_ACEOF
14435 /* end confdefs.h. */
14436 #define _GNU_SOURCE
14437 #include <pthread.h>
14439 typedef pthread_rwlockattr_t ac__type_new_;
14443 if ((ac__type_new_ *) 0)
14445 if (sizeof (ac__type_new_))
14451 rm -f conftest.$ac_objext
14452 if { (ac_try="$ac_compile"
14453 case "(($ac_try" in
14454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14455 *) ac_try_echo=$ac_try;;
14457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14458 (eval "$ac_compile") 2>conftest.er1
14460 grep -v '^ *+' conftest.er1 >conftest.err
14462 cat conftest.err >&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); } && {
14465 test -z "$ac_c_werror_flag" ||
14466 test ! -s conftest.err
14467 } && test -s conftest.$ac_objext; then
14468 ac_cv_type_pthread_rwlockattr_t=yes
14470 echo "$as_me: failed program was:" >&5
14471 sed 's/^/| /' conftest.$ac_ext >&5
14473 ac_cv_type_pthread_rwlockattr_t=no
14476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14478 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14479 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14480 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14482 cat >>confdefs.h <<_ACEOF
14483 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14490 ac_wine_check_funcs_save_LIBS="$LIBS"
14491 LIBS="$LIBS $LIBPTHREAD"
14497 pthread_attr_get_np \
14498 pthread_getattr_np \
14499 pthread_get_stackaddr_np \
14500 pthread_get_stacksize_np
14502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14503 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14505 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14506 echo $ECHO_N "(cached) $ECHO_C" >&6
14508 cat >conftest.$ac_ext <<_ACEOF
14511 cat confdefs.h >>conftest.$ac_ext
14512 cat >>conftest.$ac_ext <<_ACEOF
14513 /* end confdefs.h. */
14514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14516 #define $ac_func innocuous_$ac_func
14518 /* System header to define __stub macros and hopefully few prototypes,
14519 which can conflict with char $ac_func (); below.
14520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14521 <limits.h> exists even on freestanding compilers. */
14524 # include <limits.h>
14526 # include <assert.h>
14531 /* Override any GCC internal prototype to avoid an error.
14532 Use char because int might match the return type of a GCC
14533 builtin and then its argument prototype would still apply. */
14538 /* The GNU C library defines this for functions which it implements
14539 to always fail with ENOSYS. Some functions are actually named
14540 something starting with __ and the normal name is an alias. */
14541 #if defined __stub_$ac_func || defined __stub___$ac_func
14548 return $ac_func ();
14553 rm -f conftest.$ac_objext conftest$ac_exeext
14554 if { (ac_try="$ac_link"
14555 case "(($ac_try" in
14556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14557 *) ac_try_echo=$ac_try;;
14559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14560 (eval "$ac_link") 2>conftest.er1
14562 grep -v '^ *+' conftest.er1 >conftest.err
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } && {
14567 test -z "$ac_c_werror_flag" ||
14568 test ! -s conftest.err
14569 } && test -s conftest$ac_exeext &&
14570 $as_test_x conftest$ac_exeext; then
14571 eval "$as_ac_var=yes"
14573 echo "$as_me: failed program was:" >&5
14574 sed 's/^/| /' conftest.$ac_ext >&5
14576 eval "$as_ac_var=no"
14579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14580 conftest$ac_exeext conftest.$ac_ext
14582 ac_res=`eval echo '${'$as_ac_var'}'`
14583 { echo "$as_me:$LINENO: result: $ac_res" >&5
14584 echo "${ECHO_T}$ac_res" >&6; }
14585 if test `eval echo '${'$as_ac_var'}'` = yes; then
14586 cat >>confdefs.h <<_ACEOF
14587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14593 LIBS="$ac_wine_check_funcs_save_LIBS"
14595 # Extract the first word of "esd-config", so it can be a program name with args.
14596 set dummy esd-config; ac_word=$2
14597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14599 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14600 echo $ECHO_N "(cached) $ECHO_C" >&6
14604 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14608 for as_dir in $PATH
14611 test -z "$as_dir" && as_dir=.
14612 for ac_exec_ext in '' $ac_executable_extensions; do
14613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14614 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14625 ESDCONFIG=$ac_cv_path_ESDCONFIG
14626 if test -n "$ESDCONFIG"; then
14627 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14628 echo "${ECHO_T}$ESDCONFIG" >&6; }
14630 { echo "$as_me:$LINENO: result: no" >&5
14631 echo "${ECHO_T}no" >&6; }
14635 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14638 for i in `$ESDCONFIG --cflags`
14641 -I*) ac_esd_incl="$ac_esd_incl $i";;
14644 ac_esd_libs=`$ESDCONFIG --libs`
14645 save_CFLAGS="$CFLAGS"
14646 CFLAGS="$CFLAGS $ac_esd_incl"
14647 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14648 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14649 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14650 echo $ECHO_N "(cached) $ECHO_C" >&6
14652 ac_check_lib_save_LIBS=$LIBS
14653 LIBS="-lesd $ac_esd_libs $LIBS"
14654 cat >conftest.$ac_ext <<_ACEOF
14657 cat confdefs.h >>conftest.$ac_ext
14658 cat >>conftest.$ac_ext <<_ACEOF
14659 /* end confdefs.h. */
14661 /* Override any GCC internal prototype to avoid an error.
14662 Use char because int might match the return type of a GCC
14663 builtin and then its argument prototype would still apply. */
14667 char esd_open_sound ();
14671 return esd_open_sound ();
14676 rm -f conftest.$ac_objext conftest$ac_exeext
14677 if { (ac_try="$ac_link"
14678 case "(($ac_try" in
14679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14680 *) ac_try_echo=$ac_try;;
14682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14683 (eval "$ac_link") 2>conftest.er1
14685 grep -v '^ *+' conftest.er1 >conftest.err
14687 cat conftest.err >&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); } && {
14690 test -z "$ac_c_werror_flag" ||
14691 test ! -s conftest.err
14692 } && test -s conftest$ac_exeext &&
14693 $as_test_x conftest$ac_exeext; then
14694 ac_cv_lib_esd_esd_open_sound=yes
14696 echo "$as_me: failed program was:" >&5
14697 sed 's/^/| /' conftest.$ac_ext >&5
14699 ac_cv_lib_esd_esd_open_sound=no
14702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14703 conftest$ac_exeext conftest.$ac_ext
14704 LIBS=$ac_check_lib_save_LIBS
14706 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14707 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14708 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14709 ESDINCL="$ac_esd_incl"
14711 ESDLIBS="$ac_esd_libs"
14714 cat >>confdefs.h <<\_ACEOF
14720 CFLAGS="$save_CFLAGS"
14725 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14727 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14728 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14729 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14730 echo $ECHO_N "(cached) $ECHO_C" >&6
14732 ac_check_lib_save_LIBS=$LIBS
14733 LIBS="-lasound $LIBS"
14734 cat >conftest.$ac_ext <<_ACEOF
14737 cat confdefs.h >>conftest.$ac_ext
14738 cat >>conftest.$ac_ext <<_ACEOF
14739 /* end confdefs.h. */
14741 /* Override any GCC internal prototype to avoid an error.
14742 Use char because int might match the return type of a GCC
14743 builtin and then its argument prototype would still apply. */
14747 char snd_pcm_hw_params_get_access ();
14751 return snd_pcm_hw_params_get_access ();
14756 rm -f conftest.$ac_objext conftest$ac_exeext
14757 if { (ac_try="$ac_link"
14758 case "(($ac_try" in
14759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14760 *) ac_try_echo=$ac_try;;
14762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14763 (eval "$ac_link") 2>conftest.er1
14765 grep -v '^ *+' conftest.er1 >conftest.err
14767 cat conftest.err >&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); } && {
14770 test -z "$ac_c_werror_flag" ||
14771 test ! -s conftest.err
14772 } && test -s conftest$ac_exeext &&
14773 $as_test_x conftest$ac_exeext; then
14774 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14776 echo "$as_me: failed program was:" >&5
14777 sed 's/^/| /' conftest.$ac_ext >&5
14779 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14783 conftest$ac_exeext conftest.$ac_ext
14784 LIBS=$ac_check_lib_save_LIBS
14786 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14787 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14788 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14789 cat >conftest.$ac_ext <<_ACEOF
14792 cat confdefs.h >>conftest.$ac_ext
14793 cat >>conftest.$ac_ext <<_ACEOF
14794 /* end confdefs.h. */
14795 #ifdef HAVE_ALSA_ASOUNDLIB_H
14796 #include <alsa/asoundlib.h>
14797 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14798 #include <sys/asoundlib.h>
14803 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14808 rm -f conftest.$ac_objext
14809 if { (ac_try="$ac_compile"
14810 case "(($ac_try" in
14811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14812 *) ac_try_echo=$ac_try;;
14814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14815 (eval "$ac_compile") 2>conftest.er1
14817 grep -v '^ *+' conftest.er1 >conftest.err
14819 cat conftest.err >&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); } && {
14822 test -z "$ac_c_werror_flag" ||
14823 test ! -s conftest.err
14824 } && test -s conftest.$ac_objext; then
14826 cat >>confdefs.h <<\_ACEOF
14827 #define HAVE_ALSA 1
14830 ALSALIBS="-lasound"
14832 echo "$as_me: failed program was:" >&5
14833 sed 's/^/| /' conftest.$ac_ext >&5
14838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14845 if test "$ac_cv_header_libaudioio_h" = "yes"
14847 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14848 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14849 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14850 echo $ECHO_N "(cached) $ECHO_C" >&6
14852 ac_check_lib_save_LIBS=$LIBS
14853 LIBS="-laudioio $LIBS"
14854 cat >conftest.$ac_ext <<_ACEOF
14857 cat confdefs.h >>conftest.$ac_ext
14858 cat >>conftest.$ac_ext <<_ACEOF
14859 /* end confdefs.h. */
14861 /* Override any GCC internal prototype to avoid an error.
14862 Use char because int might match the return type of a GCC
14863 builtin and then its argument prototype would still apply. */
14867 char AudioIOGetVersion ();
14871 return AudioIOGetVersion ();
14876 rm -f conftest.$ac_objext conftest$ac_exeext
14877 if { (ac_try="$ac_link"
14878 case "(($ac_try" in
14879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14880 *) ac_try_echo=$ac_try;;
14882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14883 (eval "$ac_link") 2>conftest.er1
14885 grep -v '^ *+' conftest.er1 >conftest.err
14887 cat conftest.err >&5
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); } && {
14890 test -z "$ac_c_werror_flag" ||
14891 test ! -s conftest.err
14892 } && test -s conftest$ac_exeext &&
14893 $as_test_x conftest$ac_exeext; then
14894 ac_cv_lib_audioio_AudioIOGetVersion=yes
14896 echo "$as_me: failed program was:" >&5
14897 sed 's/^/| /' conftest.$ac_ext >&5
14899 ac_cv_lib_audioio_AudioIOGetVersion=no
14902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14903 conftest$ac_exeext conftest.$ac_ext
14904 LIBS=$ac_check_lib_save_LIBS
14906 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14907 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14908 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14909 AUDIOIOLIBS="-laudioio"
14911 cat >>confdefs.h <<\_ACEOF
14912 #define HAVE_LIBAUDIOIO 1
14920 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14922 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14923 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14924 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14925 echo $ECHO_N "(cached) $ECHO_C" >&6
14927 ac_check_soname_save_LIBS=$LIBS
14928 LIBS="-lcapi20 $LIBS"
14929 cat >conftest.$ac_ext <<_ACEOF
14932 cat confdefs.h >>conftest.$ac_ext
14933 cat >>conftest.$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14936 /* Override any GCC internal prototype to avoid an error.
14937 Use char because int might match the return type of a GCC
14938 builtin and then its argument prototype would still apply. */
14942 char capi20_register ();
14946 return capi20_register ();
14951 rm -f conftest.$ac_objext conftest$ac_exeext
14952 if { (ac_try="$ac_link"
14953 case "(($ac_try" in
14954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14955 *) ac_try_echo=$ac_try;;
14957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14958 (eval "$ac_link") 2>conftest.er1
14960 grep -v '^ *+' conftest.er1 >conftest.err
14962 cat conftest.err >&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); } && {
14965 test -z "$ac_c_werror_flag" ||
14966 test ! -s conftest.err
14967 } && test -s conftest$ac_exeext &&
14968 $as_test_x conftest$ac_exeext; then
14971 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'` ;;
14972 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.$ac_ext >&5
14981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14982 conftest$ac_exeext conftest.$ac_ext
14983 LIBS=$ac_check_soname_save_LIBS
14985 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14986 { echo "$as_me:$LINENO: result: not found" >&5
14987 echo "${ECHO_T}not found" >&6; }
14990 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14991 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14993 cat >>confdefs.h <<_ACEOF
14994 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15001 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15002 case "x$with_capi" in
15003 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15005 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15006 This is an error since --with-capi was requested." >&5
15007 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15008 This is an error since --with-capi was requested." >&2;}
15009 { (exit 1); exit 1; }; } ;;
15016 if test "x$with_cups" != "xno"
15018 ac_save_CPPFLAGS="$CPPFLAGS"
15019 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
15020 ac_cups_libs="`cups-config --ldflags 2>/dev/null` `cups-config --libs 2>/dev/null`"
15021 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
15023 for ac_header in cups/cups.h
15025 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15026 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15027 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15030 echo $ECHO_N "(cached) $ECHO_C" >&6
15032 ac_res=`eval echo '${'$as_ac_Header'}'`
15033 { echo "$as_me:$LINENO: result: $ac_res" >&5
15034 echo "${ECHO_T}$ac_res" >&6; }
15036 # Is the header compilable?
15037 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15038 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15039 cat >conftest.$ac_ext <<_ACEOF
15042 cat confdefs.h >>conftest.$ac_ext
15043 cat >>conftest.$ac_ext <<_ACEOF
15044 /* end confdefs.h. */
15045 $ac_includes_default
15046 #include <$ac_header>
15048 rm -f conftest.$ac_objext
15049 if { (ac_try="$ac_compile"
15050 case "(($ac_try" in
15051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15052 *) ac_try_echo=$ac_try;;
15054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15055 (eval "$ac_compile") 2>conftest.er1
15057 grep -v '^ *+' conftest.er1 >conftest.err
15059 cat conftest.err >&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); } && {
15062 test -z "$ac_c_werror_flag" ||
15063 test ! -s conftest.err
15064 } && test -s conftest.$ac_objext; then
15065 ac_header_compiler=yes
15067 echo "$as_me: failed program was:" >&5
15068 sed 's/^/| /' conftest.$ac_ext >&5
15070 ac_header_compiler=no
15073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15074 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15075 echo "${ECHO_T}$ac_header_compiler" >&6; }
15077 # Is the header present?
15078 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15079 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15080 cat >conftest.$ac_ext <<_ACEOF
15083 cat confdefs.h >>conftest.$ac_ext
15084 cat >>conftest.$ac_ext <<_ACEOF
15085 /* end confdefs.h. */
15086 #include <$ac_header>
15088 if { (ac_try="$ac_cpp conftest.$ac_ext"
15089 case "(($ac_try" in
15090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15091 *) ac_try_echo=$ac_try;;
15093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15094 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15096 grep -v '^ *+' conftest.er1 >conftest.err
15098 cat conftest.err >&5
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); } >/dev/null && {
15101 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15102 test ! -s conftest.err
15104 ac_header_preproc=yes
15106 echo "$as_me: failed program was:" >&5
15107 sed 's/^/| /' conftest.$ac_ext >&5
15109 ac_header_preproc=no
15112 rm -f conftest.err conftest.$ac_ext
15113 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15114 echo "${ECHO_T}$ac_header_preproc" >&6; }
15116 # So? What about this header?
15117 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15119 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15120 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15122 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15123 ac_header_preproc=yes
15126 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15127 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15128 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15129 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15130 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15131 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15132 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15133 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15136 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15137 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15139 ## ------------------------------------ ##
15140 ## Report this to wine-devel@winehq.org ##
15141 ## ------------------------------------ ##
15143 ) | sed "s/^/$as_me: WARNING: /" >&2
15146 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15148 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15149 echo $ECHO_N "(cached) $ECHO_C" >&6
15151 eval "$as_ac_Header=\$ac_header_preproc"
15153 ac_res=`eval echo '${'$as_ac_Header'}'`
15154 { echo "$as_me:$LINENO: result: $ac_res" >&5
15155 echo "${ECHO_T}$ac_res" >&6; }
15158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15159 cat >>confdefs.h <<_ACEOF
15160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15162 { echo "$as_me:$LINENO: checking for -lcups" >&5
15163 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15164 if test "${ac_cv_lib_soname_cups+set}" = set; then
15165 echo $ECHO_N "(cached) $ECHO_C" >&6
15167 ac_check_soname_save_LIBS=$LIBS
15168 LIBS="-lcups $ac_cups_libs $LIBS"
15169 cat >conftest.$ac_ext <<_ACEOF
15172 cat confdefs.h >>conftest.$ac_ext
15173 cat >>conftest.$ac_ext <<_ACEOF
15174 /* end confdefs.h. */
15176 /* Override any GCC internal prototype to avoid an error.
15177 Use char because int might match the return type of a GCC
15178 builtin and then its argument prototype would still apply. */
15182 char cupsGetDefault ();
15186 return cupsGetDefault ();
15191 rm -f conftest.$ac_objext conftest$ac_exeext
15192 if { (ac_try="$ac_link"
15193 case "(($ac_try" in
15194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15195 *) ac_try_echo=$ac_try;;
15197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15198 (eval "$ac_link") 2>conftest.er1
15200 grep -v '^ *+' conftest.er1 >conftest.err
15202 cat conftest.err >&5
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); } && {
15205 test -z "$ac_c_werror_flag" ||
15206 test ! -s conftest.err
15207 } && test -s conftest$ac_exeext &&
15208 $as_test_x conftest$ac_exeext; then
15211 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'` ;;
15212 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15215 echo "$as_me: failed program was:" >&5
15216 sed 's/^/| /' conftest.$ac_ext >&5
15221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15222 conftest$ac_exeext conftest.$ac_ext
15223 LIBS=$ac_check_soname_save_LIBS
15225 if test "x$ac_cv_lib_soname_cups" = "x"; then
15226 { echo "$as_me:$LINENO: result: not found" >&5
15227 echo "${ECHO_T}not found" >&6; }
15230 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15231 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15233 cat >>confdefs.h <<_ACEOF
15234 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15237 CUPSINCL="$ac_cups_cflags"
15244 CPPFLAGS="$ac_save_CPPFLAGS"
15246 if test "x$ac_cv_lib_soname_cups" = "x"; then
15247 case "x$with_cups" in
15248 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15250 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15251 This is an error since --with-cups was requested." >&5
15252 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15253 This is an error since --with-cups was requested." >&2;}
15254 { (exit 1); exit 1; }; } ;;
15259 if test "$ac_cv_header_jack_jack_h" = "yes"
15261 { echo "$as_me:$LINENO: checking for -ljack" >&5
15262 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15263 if test "${ac_cv_lib_soname_jack+set}" = set; then
15264 echo $ECHO_N "(cached) $ECHO_C" >&6
15266 ac_check_soname_save_LIBS=$LIBS
15267 LIBS="-ljack $LIBS"
15268 cat >conftest.$ac_ext <<_ACEOF
15271 cat confdefs.h >>conftest.$ac_ext
15272 cat >>conftest.$ac_ext <<_ACEOF
15273 /* end confdefs.h. */
15275 /* Override any GCC internal prototype to avoid an error.
15276 Use char because int might match the return type of a GCC
15277 builtin and then its argument prototype would still apply. */
15281 char jack_client_new ();
15285 return jack_client_new ();
15290 rm -f conftest.$ac_objext conftest$ac_exeext
15291 if { (ac_try="$ac_link"
15292 case "(($ac_try" in
15293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15294 *) ac_try_echo=$ac_try;;
15296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15297 (eval "$ac_link") 2>conftest.er1
15299 grep -v '^ *+' conftest.er1 >conftest.err
15301 cat conftest.err >&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); } && {
15304 test -z "$ac_c_werror_flag" ||
15305 test ! -s conftest.err
15306 } && test -s conftest$ac_exeext &&
15307 $as_test_x conftest$ac_exeext; then
15310 dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep "libjack-*[0-9.]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack-*[0-9.]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15311 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack-*[0-9.]*\\.$LIBEXT" | sed -e "s/^.*\(libjack-*[0-9.]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15314 echo "$as_me: failed program was:" >&5
15315 sed 's/^/| /' conftest.$ac_ext >&5
15320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15321 conftest$ac_exeext conftest.$ac_ext
15322 LIBS=$ac_check_soname_save_LIBS
15324 if test "x$ac_cv_lib_soname_jack" = "x"; then
15325 { echo "$as_me:$LINENO: result: not found" >&5
15326 echo "${ECHO_T}not found" >&6; }
15329 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15330 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15332 cat >>confdefs.h <<_ACEOF
15333 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15341 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15343 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15344 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15345 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15348 ac_check_soname_save_LIBS=$LIBS
15349 LIBS="-lfontconfig $LIBS"
15350 cat >conftest.$ac_ext <<_ACEOF
15353 cat confdefs.h >>conftest.$ac_ext
15354 cat >>conftest.$ac_ext <<_ACEOF
15355 /* end confdefs.h. */
15357 /* Override any GCC internal prototype to avoid an error.
15358 Use char because int might match the return type of a GCC
15359 builtin and then its argument prototype would still apply. */
15372 rm -f conftest.$ac_objext conftest$ac_exeext
15373 if { (ac_try="$ac_link"
15374 case "(($ac_try" in
15375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15376 *) ac_try_echo=$ac_try;;
15378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15379 (eval "$ac_link") 2>conftest.er1
15381 grep -v '^ *+' conftest.er1 >conftest.err
15383 cat conftest.err >&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); } && {
15386 test -z "$ac_c_werror_flag" ||
15387 test ! -s conftest.err
15388 } && test -s conftest$ac_exeext &&
15389 $as_test_x conftest$ac_exeext; then
15392 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'` ;;
15393 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15396 echo "$as_me: failed program was:" >&5
15397 sed 's/^/| /' conftest.$ac_ext >&5
15402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15403 conftest$ac_exeext conftest.$ac_ext
15404 LIBS=$ac_check_soname_save_LIBS
15406 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15407 { echo "$as_me:$LINENO: result: not found" >&5
15408 echo "${ECHO_T}not found" >&6; }
15411 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15412 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15414 cat >>confdefs.h <<_ACEOF
15415 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15421 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15423 ac_save_CPPFLAGS="$CPPFLAGS"
15424 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15425 $as_unset ac_cv_header_fontconfig_fontconfig_h
15427 for ac_header in fontconfig/fontconfig.h
15429 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15431 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15433 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15434 echo $ECHO_N "(cached) $ECHO_C" >&6
15436 ac_res=`eval echo '${'$as_ac_Header'}'`
15437 { echo "$as_me:$LINENO: result: $ac_res" >&5
15438 echo "${ECHO_T}$ac_res" >&6; }
15440 # Is the header compilable?
15441 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15442 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15443 cat >conftest.$ac_ext <<_ACEOF
15446 cat confdefs.h >>conftest.$ac_ext
15447 cat >>conftest.$ac_ext <<_ACEOF
15448 /* end confdefs.h. */
15449 $ac_includes_default
15450 #include <$ac_header>
15452 rm -f conftest.$ac_objext
15453 if { (ac_try="$ac_compile"
15454 case "(($ac_try" in
15455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15456 *) ac_try_echo=$ac_try;;
15458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15459 (eval "$ac_compile") 2>conftest.er1
15461 grep -v '^ *+' conftest.er1 >conftest.err
15463 cat conftest.err >&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); } && {
15466 test -z "$ac_c_werror_flag" ||
15467 test ! -s conftest.err
15468 } && test -s conftest.$ac_objext; then
15469 ac_header_compiler=yes
15471 echo "$as_me: failed program was:" >&5
15472 sed 's/^/| /' conftest.$ac_ext >&5
15474 ac_header_compiler=no
15477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15478 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15479 echo "${ECHO_T}$ac_header_compiler" >&6; }
15481 # Is the header present?
15482 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15484 cat >conftest.$ac_ext <<_ACEOF
15487 cat confdefs.h >>conftest.$ac_ext
15488 cat >>conftest.$ac_ext <<_ACEOF
15489 /* end confdefs.h. */
15490 #include <$ac_header>
15492 if { (ac_try="$ac_cpp conftest.$ac_ext"
15493 case "(($ac_try" in
15494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15495 *) ac_try_echo=$ac_try;;
15497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15498 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15500 grep -v '^ *+' conftest.er1 >conftest.err
15502 cat conftest.err >&5
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); } >/dev/null && {
15505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15506 test ! -s conftest.err
15508 ac_header_preproc=yes
15510 echo "$as_me: failed program was:" >&5
15511 sed 's/^/| /' conftest.$ac_ext >&5
15513 ac_header_preproc=no
15516 rm -f conftest.err conftest.$ac_ext
15517 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15518 echo "${ECHO_T}$ac_header_preproc" >&6; }
15520 # So? What about this header?
15521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15523 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15526 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15527 ac_header_preproc=yes
15530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15533 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15534 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15535 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15536 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15537 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15539 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15540 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15541 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15543 ## ------------------------------------ ##
15544 ## Report this to wine-devel@winehq.org ##
15545 ## ------------------------------------ ##
15547 ) | sed "s/^/$as_me: WARNING: /" >&2
15550 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15553 echo $ECHO_N "(cached) $ECHO_C" >&6
15555 eval "$as_ac_Header=\$ac_header_preproc"
15557 ac_res=`eval echo '${'$as_ac_Header'}'`
15558 { echo "$as_me:$LINENO: result: $ac_res" >&5
15559 echo "${ECHO_T}$ac_res" >&6; }
15562 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15563 cat >>confdefs.h <<_ACEOF
15564 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15571 CPPFLAGS="$ac_save_CPPFLAGS"
15572 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15574 FONTCONFIGINCL="$X_CFLAGS"
15576 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15577 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15578 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15579 echo $ECHO_N "(cached) $ECHO_C" >&6
15581 ac_check_soname_save_LIBS=$LIBS
15582 LIBS="-lfontconfig $X_LIBS $LIBS"
15583 cat >conftest.$ac_ext <<_ACEOF
15586 cat confdefs.h >>conftest.$ac_ext
15587 cat >>conftest.$ac_ext <<_ACEOF
15588 /* end confdefs.h. */
15590 /* Override any GCC internal prototype to avoid an error.
15591 Use char because int might match the return type of a GCC
15592 builtin and then its argument prototype would still apply. */
15605 rm -f conftest.$ac_objext conftest$ac_exeext
15606 if { (ac_try="$ac_link"
15607 case "(($ac_try" in
15608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15609 *) ac_try_echo=$ac_try;;
15611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15612 (eval "$ac_link") 2>conftest.er1
15614 grep -v '^ *+' conftest.er1 >conftest.err
15616 cat conftest.err >&5
15617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618 (exit $ac_status); } && {
15619 test -z "$ac_c_werror_flag" ||
15620 test ! -s conftest.err
15621 } && test -s conftest$ac_exeext &&
15622 $as_test_x conftest$ac_exeext; then
15625 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'` ;;
15626 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15629 echo "$as_me: failed program was:" >&5
15630 sed 's/^/| /' conftest.$ac_ext >&5
15635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15636 conftest$ac_exeext conftest.$ac_ext
15637 LIBS=$ac_check_soname_save_LIBS
15639 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15640 { echo "$as_me:$LINENO: result: not found" >&5
15641 echo "${ECHO_T}not found" >&6; }
15644 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15645 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15647 cat >>confdefs.h <<_ACEOF
15648 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15656 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15657 case "x$with_fontconfig" in
15658 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15660 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15661 This is an error since --with-fontconfig was requested." >&5
15662 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15663 This is an error since --with-fontconfig was requested." >&2;}
15664 { (exit 1); exit 1; }; } ;;
15669 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15671 { echo "$as_me:$LINENO: checking for -lssl" >&5
15672 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15673 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15674 echo $ECHO_N "(cached) $ECHO_C" >&6
15676 ac_check_soname_save_LIBS=$LIBS
15678 cat >conftest.$ac_ext <<_ACEOF
15681 cat confdefs.h >>conftest.$ac_ext
15682 cat >>conftest.$ac_ext <<_ACEOF
15683 /* end confdefs.h. */
15685 /* Override any GCC internal prototype to avoid an error.
15686 Use char because int might match the return type of a GCC
15687 builtin and then its argument prototype would still apply. */
15691 char SSL_library_init ();
15695 return SSL_library_init ();
15700 rm -f conftest.$ac_objext conftest$ac_exeext
15701 if { (ac_try="$ac_link"
15702 case "(($ac_try" in
15703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15704 *) ac_try_echo=$ac_try;;
15706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15707 (eval "$ac_link") 2>conftest.er1
15709 grep -v '^ *+' conftest.er1 >conftest.err
15711 cat conftest.err >&5
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); } && {
15714 test -z "$ac_c_werror_flag" ||
15715 test ! -s conftest.err
15716 } && test -s conftest$ac_exeext &&
15717 $as_test_x conftest$ac_exeext; then
15720 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'` ;;
15721 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15724 echo "$as_me: failed program was:" >&5
15725 sed 's/^/| /' conftest.$ac_ext >&5
15730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15731 conftest$ac_exeext conftest.$ac_ext
15732 LIBS=$ac_check_soname_save_LIBS
15734 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15735 { echo "$as_me:$LINENO: result: not found" >&5
15736 echo "${ECHO_T}not found" >&6; }
15739 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15740 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15742 cat >>confdefs.h <<_ACEOF
15743 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15749 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15750 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15751 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15752 echo $ECHO_N "(cached) $ECHO_C" >&6
15754 ac_check_soname_save_LIBS=$LIBS
15755 LIBS="-lcrypto $LIBS"
15756 cat >conftest.$ac_ext <<_ACEOF
15759 cat confdefs.h >>conftest.$ac_ext
15760 cat >>conftest.$ac_ext <<_ACEOF
15761 /* end confdefs.h. */
15763 /* Override any GCC internal prototype to avoid an error.
15764 Use char because int might match the return type of a GCC
15765 builtin and then its argument prototype would still apply. */
15769 char BIO_new_socket ();
15773 return BIO_new_socket ();
15778 rm -f conftest.$ac_objext conftest$ac_exeext
15779 if { (ac_try="$ac_link"
15780 case "(($ac_try" in
15781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15782 *) ac_try_echo=$ac_try;;
15784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15785 (eval "$ac_link") 2>conftest.er1
15787 grep -v '^ *+' conftest.er1 >conftest.err
15789 cat conftest.err >&5
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); } && {
15792 test -z "$ac_c_werror_flag" ||
15793 test ! -s conftest.err
15794 } && test -s conftest$ac_exeext &&
15795 $as_test_x conftest$ac_exeext; then
15798 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'` ;;
15799 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15802 echo "$as_me: failed program was:" >&5
15803 sed 's/^/| /' conftest.$ac_ext >&5
15808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15809 conftest$ac_exeext conftest.$ac_ext
15810 LIBS=$ac_check_soname_save_LIBS
15812 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15813 { echo "$as_me:$LINENO: result: not found" >&5
15814 echo "${ECHO_T}not found" >&6; }
15817 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15818 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15820 cat >>confdefs.h <<_ACEOF
15821 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15828 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15829 case "x$with_openssl" in
15830 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15832 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15833 This is an error since --with-openssl was requested." >&5
15834 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15835 This is an error since --with-openssl was requested." >&2;}
15836 { (exit 1); exit 1; }; } ;;
15841 if test "$ac_cv_header_jpeglib_h" = "yes"
15843 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15844 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15845 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15846 echo $ECHO_N "(cached) $ECHO_C" >&6
15848 ac_check_soname_save_LIBS=$LIBS
15849 LIBS="-ljpeg $LIBS"
15850 cat >conftest.$ac_ext <<_ACEOF
15853 cat confdefs.h >>conftest.$ac_ext
15854 cat >>conftest.$ac_ext <<_ACEOF
15855 /* end confdefs.h. */
15857 /* Override any GCC internal prototype to avoid an error.
15858 Use char because int might match the return type of a GCC
15859 builtin and then its argument prototype would still apply. */
15863 char jpeg_start_decompress ();
15867 return jpeg_start_decompress ();
15872 rm -f conftest.$ac_objext conftest$ac_exeext
15873 if { (ac_try="$ac_link"
15874 case "(($ac_try" in
15875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15876 *) ac_try_echo=$ac_try;;
15878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15879 (eval "$ac_link") 2>conftest.er1
15881 grep -v '^ *+' conftest.er1 >conftest.err
15883 cat conftest.err >&5
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); } && {
15886 test -z "$ac_c_werror_flag" ||
15887 test ! -s conftest.err
15888 } && test -s conftest$ac_exeext &&
15889 $as_test_x conftest$ac_exeext; then
15892 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'` ;;
15893 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15896 echo "$as_me: failed program was:" >&5
15897 sed 's/^/| /' conftest.$ac_ext >&5
15902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15903 conftest$ac_exeext conftest.$ac_ext
15904 LIBS=$ac_check_soname_save_LIBS
15906 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15907 { echo "$as_me:$LINENO: result: not found" >&5
15908 echo "${ECHO_T}not found" >&6; }
15911 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15912 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15914 cat >>confdefs.h <<_ACEOF
15915 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15922 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15923 case "x$with_jpeg" in
15924 x) wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
15926 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15927 This is an error since --with-jpeg was requested." >&5
15928 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15929 This is an error since --with-jpeg was requested." >&2;}
15930 { (exit 1); exit 1; }; } ;;
15935 if test "$ac_cv_header_png_h" = "yes"
15937 { echo "$as_me:$LINENO: checking for -lpng" >&5
15938 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15939 if test "${ac_cv_lib_soname_png+set}" = set; then
15940 echo $ECHO_N "(cached) $ECHO_C" >&6
15942 ac_check_soname_save_LIBS=$LIBS
15943 LIBS="-lpng -lm $LIBS"
15944 cat >conftest.$ac_ext <<_ACEOF
15947 cat confdefs.h >>conftest.$ac_ext
15948 cat >>conftest.$ac_ext <<_ACEOF
15949 /* end confdefs.h. */
15951 /* Override any GCC internal prototype to avoid an error.
15952 Use char because int might match the return type of a GCC
15953 builtin and then its argument prototype would still apply. */
15957 char png_create_read_struct ();
15961 return png_create_read_struct ();
15966 rm -f conftest.$ac_objext conftest$ac_exeext
15967 if { (ac_try="$ac_link"
15968 case "(($ac_try" in
15969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15970 *) ac_try_echo=$ac_try;;
15972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15973 (eval "$ac_link") 2>conftest.er1
15975 grep -v '^ *+' conftest.er1 >conftest.err
15977 cat conftest.err >&5
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); } && {
15980 test -z "$ac_c_werror_flag" ||
15981 test ! -s conftest.err
15982 } && test -s conftest$ac_exeext &&
15983 $as_test_x conftest$ac_exeext; then
15986 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'` ;;
15987 *) 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'` ;;
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15997 conftest$ac_exeext conftest.$ac_ext
15998 LIBS=$ac_check_soname_save_LIBS
16000 if test "x$ac_cv_lib_soname_png" = "x"; then
16001 { echo "$as_me:$LINENO: result: not found" >&5
16002 echo "${ECHO_T}not found" >&6; }
16005 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
16006 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16008 cat >>confdefs.h <<_ACEOF
16009 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16016 if test "x$ac_cv_lib_soname_png" = "x"; then
16017 case "x$with_png" in
16018 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
16020 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16021 This is an error since --with-png was requested." >&5
16022 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16023 This is an error since --with-png was requested." >&2;}
16024 { (exit 1); exit 1; }; } ;;
16029 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16030 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16031 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16032 echo $ECHO_N "(cached) $ECHO_C" >&6
16034 ac_check_soname_save_LIBS=$LIBS
16035 LIBS="-lodbc $LIBS"
16036 cat >conftest.$ac_ext <<_ACEOF
16039 cat confdefs.h >>conftest.$ac_ext
16040 cat >>conftest.$ac_ext <<_ACEOF
16041 /* end confdefs.h. */
16043 /* Override any GCC internal prototype to avoid an error.
16044 Use char because int might match the return type of a GCC
16045 builtin and then its argument prototype would still apply. */
16049 char SQLConnect ();
16053 return SQLConnect ();
16058 rm -f conftest.$ac_objext conftest$ac_exeext
16059 if { (ac_try="$ac_link"
16060 case "(($ac_try" in
16061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16062 *) ac_try_echo=$ac_try;;
16064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16065 (eval "$ac_link") 2>conftest.er1
16067 grep -v '^ *+' conftest.er1 >conftest.err
16069 cat conftest.err >&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } && {
16072 test -z "$ac_c_werror_flag" ||
16073 test ! -s conftest.err
16074 } && test -s conftest$ac_exeext &&
16075 $as_test_x conftest$ac_exeext; then
16078 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'` ;;
16079 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16082 echo "$as_me: failed program was:" >&5
16083 sed 's/^/| /' conftest.$ac_ext >&5
16088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16089 conftest$ac_exeext conftest.$ac_ext
16090 LIBS=$ac_check_soname_save_LIBS
16092 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16093 { echo "$as_me:$LINENO: result: not found" >&5
16094 echo "${ECHO_T}not found" >&6; }
16095 cat >>confdefs.h <<_ACEOF
16096 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16100 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16101 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16103 cat >>confdefs.h <<_ACEOF
16104 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16111 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16112 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16113 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16114 "$ac_cv_header_soundcard_h" != "yes" -a \
16115 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16117 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16123 if test "x${GCC}" = "xyes"
16125 EXTRACFLAGS="-Wall -pipe"
16127 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16128 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16129 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16130 echo $ECHO_N "(cached) $ECHO_C" >&6
16132 if test "$cross_compiling" = yes; then
16133 ac_cv_c_gcc_strength_bug="yes"
16135 cat >conftest.$ac_ext <<_ACEOF
16138 cat confdefs.h >>conftest.$ac_ext
16139 cat >>conftest.$ac_ext <<_ACEOF
16140 /* end confdefs.h. */
16141 int L[4] = {0,1,2,3};
16145 static int Array[3];
16146 unsigned int B = 3;
16148 for(i=0; i<B; i++) Array[i] = i - 3;
16149 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16151 exit( Array[1] != -2 || L[2] != 3)
16156 rm -f conftest$ac_exeext
16157 if { (ac_try="$ac_link"
16158 case "(($ac_try" in
16159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16160 *) ac_try_echo=$ac_try;;
16162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16163 (eval "$ac_link") 2>&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16167 { (case "(($ac_try" in
16168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16169 *) ac_try_echo=$ac_try;;
16171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16172 (eval "$ac_try") 2>&5
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); }; }; then
16176 ac_cv_c_gcc_strength_bug="no"
16178 echo "$as_me: program exited with status $ac_status" >&5
16179 echo "$as_me: failed program was:" >&5
16180 sed 's/^/| /' conftest.$ac_ext >&5
16182 ( exit $ac_status )
16183 ac_cv_c_gcc_strength_bug="yes"
16185 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16190 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16191 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16192 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16194 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16198 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16199 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16200 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16201 echo $ECHO_N "(cached) $ECHO_C" >&6
16203 ac_wine_try_cflags_saved=$CFLAGS
16204 CFLAGS="$CFLAGS -fshort-wchar"
16205 cat >conftest.$ac_ext <<_ACEOF
16208 cat confdefs.h >>conftest.$ac_ext
16209 cat >>conftest.$ac_ext <<_ACEOF
16210 /* end confdefs.h. */
16220 rm -f conftest.$ac_objext conftest$ac_exeext
16221 if { (ac_try="$ac_link"
16222 case "(($ac_try" in
16223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16224 *) ac_try_echo=$ac_try;;
16226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16227 (eval "$ac_link") 2>conftest.er1
16229 grep -v '^ *+' conftest.er1 >conftest.err
16231 cat conftest.err >&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); } && {
16234 test -z "$ac_c_werror_flag" ||
16235 test ! -s conftest.err
16236 } && test -s conftest$ac_exeext &&
16237 $as_test_x conftest$ac_exeext; then
16238 ac_cv_cflags__fshort_wchar=yes
16240 echo "$as_me: failed program was:" >&5
16241 sed 's/^/| /' conftest.$ac_ext >&5
16243 ac_cv_cflags__fshort_wchar=no
16246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16247 conftest$ac_exeext conftest.$ac_ext
16248 CFLAGS=$ac_wine_try_cflags_saved
16250 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16251 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16252 if test $ac_cv_cflags__fshort_wchar = yes; then
16254 cat >>confdefs.h <<\_ACEOF
16255 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16260 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16261 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16262 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16263 echo $ECHO_N "(cached) $ECHO_C" >&6
16265 ac_wine_try_cflags_saved=$CFLAGS
16266 CFLAGS="$CFLAGS -fno-strict-aliasing"
16267 cat >conftest.$ac_ext <<_ACEOF
16270 cat confdefs.h >>conftest.$ac_ext
16271 cat >>conftest.$ac_ext <<_ACEOF
16272 /* end confdefs.h. */
16282 rm -f conftest.$ac_objext conftest$ac_exeext
16283 if { (ac_try="$ac_link"
16284 case "(($ac_try" in
16285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16286 *) ac_try_echo=$ac_try;;
16288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16289 (eval "$ac_link") 2>conftest.er1
16291 grep -v '^ *+' conftest.er1 >conftest.err
16293 cat conftest.err >&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); } && {
16296 test -z "$ac_c_werror_flag" ||
16297 test ! -s conftest.err
16298 } && test -s conftest$ac_exeext &&
16299 $as_test_x conftest$ac_exeext; then
16300 ac_cv_cflags__fno_strict_aliasing=yes
16302 echo "$as_me: failed program was:" >&5
16303 sed 's/^/| /' conftest.$ac_ext >&5
16305 ac_cv_cflags__fno_strict_aliasing=no
16308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16309 conftest$ac_exeext conftest.$ac_ext
16310 CFLAGS=$ac_wine_try_cflags_saved
16312 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16313 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16314 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16315 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16318 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16319 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16320 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16321 echo $ECHO_N "(cached) $ECHO_C" >&6
16323 ac_wine_try_cflags_saved=$CFLAGS
16324 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16325 cat >conftest.$ac_ext <<_ACEOF
16328 cat confdefs.h >>conftest.$ac_ext
16329 cat >>conftest.$ac_ext <<_ACEOF
16330 /* end confdefs.h. */
16340 rm -f conftest.$ac_objext conftest$ac_exeext
16341 if { (ac_try="$ac_link"
16342 case "(($ac_try" in
16343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16344 *) ac_try_echo=$ac_try;;
16346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16347 (eval "$ac_link") 2>conftest.er1
16349 grep -v '^ *+' conftest.er1 >conftest.err
16351 cat conftest.err >&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); } && {
16354 test -z "$ac_c_werror_flag" ||
16355 test ! -s conftest.err
16356 } && test -s conftest$ac_exeext &&
16357 $as_test_x conftest$ac_exeext; then
16358 ac_cv_cflags__Wdeclaration_after_statement=yes
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.$ac_ext >&5
16363 ac_cv_cflags__Wdeclaration_after_statement=no
16366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16367 conftest$ac_exeext conftest.$ac_ext
16368 CFLAGS=$ac_wine_try_cflags_saved
16370 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16371 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16372 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16373 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16376 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16377 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16378 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16379 echo $ECHO_N "(cached) $ECHO_C" >&6
16381 ac_wine_try_cflags_saved=$CFLAGS
16382 CFLAGS="$CFLAGS -Wwrite-strings"
16383 cat >conftest.$ac_ext <<_ACEOF
16386 cat confdefs.h >>conftest.$ac_ext
16387 cat >>conftest.$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16398 rm -f conftest.$ac_objext conftest$ac_exeext
16399 if { (ac_try="$ac_link"
16400 case "(($ac_try" in
16401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16402 *) ac_try_echo=$ac_try;;
16404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16405 (eval "$ac_link") 2>conftest.er1
16407 grep -v '^ *+' conftest.er1 >conftest.err
16409 cat conftest.err >&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } && {
16412 test -z "$ac_c_werror_flag" ||
16413 test ! -s conftest.err
16414 } && test -s conftest$ac_exeext &&
16415 $as_test_x conftest$ac_exeext; then
16416 ac_cv_cflags__Wwrite_strings=yes
16418 echo "$as_me: failed program was:" >&5
16419 sed 's/^/| /' conftest.$ac_ext >&5
16421 ac_cv_cflags__Wwrite_strings=no
16424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16425 conftest$ac_exeext conftest.$ac_ext
16426 CFLAGS=$ac_wine_try_cflags_saved
16428 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16429 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16430 if test $ac_cv_cflags__Wwrite_strings = yes; then
16431 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16434 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16435 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16436 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16437 echo $ECHO_N "(cached) $ECHO_C" >&6
16439 ac_wine_try_cflags_saved=$CFLAGS
16440 CFLAGS="$CFLAGS -Wtype-limits"
16441 cat >conftest.$ac_ext <<_ACEOF
16444 cat confdefs.h >>conftest.$ac_ext
16445 cat >>conftest.$ac_ext <<_ACEOF
16446 /* end confdefs.h. */
16456 rm -f conftest.$ac_objext conftest$ac_exeext
16457 if { (ac_try="$ac_link"
16458 case "(($ac_try" in
16459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16460 *) ac_try_echo=$ac_try;;
16462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16463 (eval "$ac_link") 2>conftest.er1
16465 grep -v '^ *+' conftest.er1 >conftest.err
16467 cat conftest.err >&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); } && {
16470 test -z "$ac_c_werror_flag" ||
16471 test ! -s conftest.err
16472 } && test -s conftest$ac_exeext &&
16473 $as_test_x conftest$ac_exeext; then
16474 ac_cv_cflags__Wtype_limits=yes
16476 echo "$as_me: failed program was:" >&5
16477 sed 's/^/| /' conftest.$ac_ext >&5
16479 ac_cv_cflags__Wtype_limits=no
16482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16483 conftest$ac_exeext conftest.$ac_ext
16484 CFLAGS=$ac_wine_try_cflags_saved
16486 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16487 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16488 if test $ac_cv_cflags__Wtype_limits = yes; then
16489 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16493 saved_CFLAGS="$CFLAGS"
16494 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16495 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16496 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16497 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16498 echo $ECHO_N "(cached) $ECHO_C" >&6
16500 cat >conftest.$ac_ext <<_ACEOF
16503 cat confdefs.h >>conftest.$ac_ext
16504 cat >>conftest.$ac_ext <<_ACEOF
16505 /* end confdefs.h. */
16506 #include <string.h>
16515 rm -f conftest.$ac_objext
16516 if { (ac_try="$ac_compile"
16517 case "(($ac_try" in
16518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16519 *) ac_try_echo=$ac_try;;
16521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16522 (eval "$ac_compile") 2>conftest.er1
16524 grep -v '^ *+' conftest.er1 >conftest.err
16526 cat conftest.err >&5
16527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528 (exit $ac_status); } && {
16529 test -z "$ac_c_werror_flag" ||
16530 test ! -s conftest.err
16531 } && test -s conftest.$ac_objext; then
16532 ac_cv_c_string_h_warnings=no
16534 echo "$as_me: failed program was:" >&5
16535 sed 's/^/| /' conftest.$ac_ext >&5
16537 ac_cv_c_string_h_warnings=yes
16540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16542 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16543 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16544 CFLAGS="$saved_CFLAGS"
16545 if test "$ac_cv_c_string_h_warnings" = "no"
16547 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16552 saved_CFLAGS="$CFLAGS"
16553 CFLAGS="$CFLAGS -Werror"
16554 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16555 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16556 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16557 echo $ECHO_N "(cached) $ECHO_C" >&6
16559 cat >conftest.$ac_ext <<_ACEOF
16562 cat confdefs.h >>conftest.$ac_ext
16563 cat >>conftest.$ac_ext <<_ACEOF
16564 /* end confdefs.h. */
16569 int iswlower(unsigned short);
16574 rm -f conftest.$ac_objext
16575 if { (ac_try="$ac_compile"
16576 case "(($ac_try" in
16577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16578 *) ac_try_echo=$ac_try;;
16580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16581 (eval "$ac_compile") 2>conftest.er1
16583 grep -v '^ *+' conftest.er1 >conftest.err
16585 cat conftest.err >&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); } && {
16588 test -z "$ac_c_werror_flag" ||
16589 test ! -s conftest.err
16590 } && test -s conftest.$ac_objext; then
16591 ac_cv_c_builtin_wchar_ctype=no
16593 echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.$ac_ext >&5
16596 ac_cv_c_builtin_wchar_ctype=yes
16599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16601 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16602 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16603 CFLAGS="$saved_CFLAGS"
16604 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16606 BUILTINFLAG="-fno-builtin"
16611 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16612 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16613 if test "${ac_cv_asm_func_def+set}" = set; then
16614 echo $ECHO_N "(cached) $ECHO_C" >&6
16616 cat >conftest.$ac_ext <<_ACEOF
16619 cat confdefs.h >>conftest.$ac_ext
16620 cat >>conftest.$ac_ext <<_ACEOF
16621 /* end confdefs.h. */
16626 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16631 rm -f conftest.$ac_objext conftest$ac_exeext
16632 if { (ac_try="$ac_link"
16633 case "(($ac_try" in
16634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16635 *) ac_try_echo=$ac_try;;
16637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16638 (eval "$ac_link") 2>conftest.er1
16640 grep -v '^ *+' conftest.er1 >conftest.err
16642 cat conftest.err >&5
16643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16644 (exit $ac_status); } && {
16645 test -z "$ac_c_werror_flag" ||
16646 test ! -s conftest.err
16647 } && test -s conftest$ac_exeext &&
16648 $as_test_x conftest$ac_exeext; then
16649 ac_cv_asm_func_def=".def"
16651 echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.$ac_ext >&5
16654 cat >conftest.$ac_ext <<_ACEOF
16657 cat confdefs.h >>conftest.$ac_ext
16658 cat >>conftest.$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16664 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16669 rm -f conftest.$ac_objext conftest$ac_exeext
16670 if { (ac_try="$ac_link"
16671 case "(($ac_try" in
16672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16673 *) ac_try_echo=$ac_try;;
16675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16676 (eval "$ac_link") 2>conftest.er1
16678 grep -v '^ *+' conftest.er1 >conftest.err
16680 cat conftest.err >&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); } && {
16683 test -z "$ac_c_werror_flag" ||
16684 test ! -s conftest.err
16685 } && test -s conftest$ac_exeext &&
16686 $as_test_x conftest$ac_exeext; then
16687 ac_cv_asm_func_def=".type @function"
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.$ac_ext >&5
16692 cat >conftest.$ac_ext <<_ACEOF
16695 cat confdefs.h >>conftest.$ac_ext
16696 cat >>conftest.$ac_ext <<_ACEOF
16697 /* end confdefs.h. */
16702 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16707 rm -f conftest.$ac_objext conftest$ac_exeext
16708 if { (ac_try="$ac_link"
16709 case "(($ac_try" in
16710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16711 *) ac_try_echo=$ac_try;;
16713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16714 (eval "$ac_link") 2>conftest.er1
16716 grep -v '^ *+' conftest.er1 >conftest.err
16718 cat conftest.err >&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } && {
16721 test -z "$ac_c_werror_flag" ||
16722 test ! -s conftest.err
16723 } && test -s conftest$ac_exeext &&
16724 $as_test_x conftest$ac_exeext; then
16725 ac_cv_asm_func_def=".type 2"
16727 echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.$ac_ext >&5
16730 ac_cv_asm_func_def="unknown"
16733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16734 conftest$ac_exeext conftest.$ac_ext
16737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16738 conftest$ac_exeext conftest.$ac_ext
16741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16742 conftest$ac_exeext conftest.$ac_ext
16744 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16745 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16749 case "$ac_cv_asm_func_def" in
16751 cat >>confdefs.h <<\_ACEOF
16752 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16756 cat >>confdefs.h <<\_ACEOF
16757 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16761 cat >>confdefs.h <<\_ACEOF
16762 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16766 cat >>confdefs.h <<\_ACEOF
16767 #define __ASM_FUNC(name) ""
16773 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16774 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16775 if test "${ac_cv_c_extern_prefix+set}" = set; then
16776 echo $ECHO_N "(cached) $ECHO_C" >&6
16778 cat >conftest.$ac_ext <<_ACEOF
16781 cat confdefs.h >>conftest.$ac_ext
16782 cat >>conftest.$ac_ext <<_ACEOF
16783 /* end confdefs.h. */
16784 extern int ac_test;
16788 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16793 rm -f conftest.$ac_objext conftest$ac_exeext
16794 if { (ac_try="$ac_link"
16795 case "(($ac_try" in
16796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16797 *) ac_try_echo=$ac_try;;
16799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16800 (eval "$ac_link") 2>conftest.er1
16802 grep -v '^ *+' conftest.er1 >conftest.err
16804 cat conftest.err >&5
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); } && {
16807 test -z "$ac_c_werror_flag" ||
16808 test ! -s conftest.err
16809 } && test -s conftest$ac_exeext &&
16810 $as_test_x conftest$ac_exeext; then
16811 ac_cv_c_extern_prefix="yes"
16813 echo "$as_me: failed program was:" >&5
16814 sed 's/^/| /' conftest.$ac_ext >&5
16816 ac_cv_c_extern_prefix="no"
16819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16820 conftest$ac_exeext conftest.$ac_ext
16822 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16823 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16827 if test "$ac_cv_c_extern_prefix" = "yes"
16829 cat >>confdefs.h <<\_ACEOF
16830 #define __ASM_NAME(name) "_" name
16834 cat >>confdefs.h <<\_ACEOF
16835 #define __ASM_NAME(name) name
16845 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16849 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16851 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16855 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16863 SOCKETLIBS="-lws2_32"
16868 MAIN_BINARY="wine-pthread"
16872 linux* | k*bsd*-gnu)
16873 MAIN_BINARY="wine-glibc"
16875 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16878 MAIN_BINARY="wine-freebsd"
16880 EXTRA_BINARIES="wine-pthread"
17028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17029 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17031 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17032 echo $ECHO_N "(cached) $ECHO_C" >&6
17034 cat >conftest.$ac_ext <<_ACEOF
17037 cat confdefs.h >>conftest.$ac_ext
17038 cat >>conftest.$ac_ext <<_ACEOF
17039 /* end confdefs.h. */
17040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17042 #define $ac_func innocuous_$ac_func
17044 /* System header to define __stub macros and hopefully few prototypes,
17045 which can conflict with char $ac_func (); below.
17046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17047 <limits.h> exists even on freestanding compilers. */
17050 # include <limits.h>
17052 # include <assert.h>
17057 /* Override any GCC internal prototype to avoid an error.
17058 Use char because int might match the return type of a GCC
17059 builtin and then its argument prototype would still apply. */
17064 /* The GNU C library defines this for functions which it implements
17065 to always fail with ENOSYS. Some functions are actually named
17066 something starting with __ and the normal name is an alias. */
17067 #if defined __stub_$ac_func || defined __stub___$ac_func
17074 return $ac_func ();
17079 rm -f conftest.$ac_objext conftest$ac_exeext
17080 if { (ac_try="$ac_link"
17081 case "(($ac_try" in
17082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17083 *) ac_try_echo=$ac_try;;
17085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17086 (eval "$ac_link") 2>conftest.er1
17088 grep -v '^ *+' conftest.er1 >conftest.err
17090 cat conftest.err >&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); } && {
17093 test -z "$ac_c_werror_flag" ||
17094 test ! -s conftest.err
17095 } && test -s conftest$ac_exeext &&
17096 $as_test_x conftest$ac_exeext; then
17097 eval "$as_ac_var=yes"
17099 echo "$as_me: failed program was:" >&5
17100 sed 's/^/| /' conftest.$ac_ext >&5
17102 eval "$as_ac_var=no"
17105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17106 conftest$ac_exeext conftest.$ac_ext
17108 ac_res=`eval echo '${'$as_ac_var'}'`
17109 { echo "$as_me:$LINENO: result: $ac_res" >&5
17110 echo "${ECHO_T}$ac_res" >&6; }
17111 if test `eval echo '${'$as_ac_var'}'` = yes; then
17112 cat >>confdefs.h <<_ACEOF
17113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17120 if test "$ac_cv_func_dlopen" = no
17122 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17123 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17124 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17127 ac_check_lib_save_LIBS=$LIBS
17129 cat >conftest.$ac_ext <<_ACEOF
17132 cat confdefs.h >>conftest.$ac_ext
17133 cat >>conftest.$ac_ext <<_ACEOF
17134 /* end confdefs.h. */
17136 /* Override any GCC internal prototype to avoid an error.
17137 Use char because int might match the return type of a GCC
17138 builtin and then its argument prototype would still apply. */
17151 rm -f conftest.$ac_objext conftest$ac_exeext
17152 if { (ac_try="$ac_link"
17153 case "(($ac_try" in
17154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17155 *) ac_try_echo=$ac_try;;
17157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17158 (eval "$ac_link") 2>conftest.er1
17160 grep -v '^ *+' conftest.er1 >conftest.err
17162 cat conftest.err >&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); } && {
17165 test -z "$ac_c_werror_flag" ||
17166 test ! -s conftest.err
17167 } && test -s conftest$ac_exeext &&
17168 $as_test_x conftest$ac_exeext; then
17169 ac_cv_lib_dl_dlopen=yes
17171 echo "$as_me: failed program was:" >&5
17172 sed 's/^/| /' conftest.$ac_ext >&5
17174 ac_cv_lib_dl_dlopen=no
17177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17178 conftest$ac_exeext conftest.$ac_ext
17179 LIBS=$ac_check_lib_save_LIBS
17181 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17182 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17183 if test $ac_cv_lib_dl_dlopen = yes; then
17184 cat >>confdefs.h <<\_ACEOF
17185 #define HAVE_DLOPEN 1
17192 ac_wine_check_funcs_save_LIBS="$LIBS"
17193 LIBS="$LIBS $LIBDL"
17195 for ac_func in dladdr
17197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17198 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17200 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17201 echo $ECHO_N "(cached) $ECHO_C" >&6
17203 cat >conftest.$ac_ext <<_ACEOF
17206 cat confdefs.h >>conftest.$ac_ext
17207 cat >>conftest.$ac_ext <<_ACEOF
17208 /* end confdefs.h. */
17209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17211 #define $ac_func innocuous_$ac_func
17213 /* System header to define __stub macros and hopefully few prototypes,
17214 which can conflict with char $ac_func (); below.
17215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17216 <limits.h> exists even on freestanding compilers. */
17219 # include <limits.h>
17221 # include <assert.h>
17226 /* Override any GCC internal prototype to avoid an error.
17227 Use char because int might match the return type of a GCC
17228 builtin and then its argument prototype would still apply. */
17233 /* The GNU C library defines this for functions which it implements
17234 to always fail with ENOSYS. Some functions are actually named
17235 something starting with __ and the normal name is an alias. */
17236 #if defined __stub_$ac_func || defined __stub___$ac_func
17243 return $ac_func ();
17248 rm -f conftest.$ac_objext conftest$ac_exeext
17249 if { (ac_try="$ac_link"
17250 case "(($ac_try" in
17251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17252 *) ac_try_echo=$ac_try;;
17254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17255 (eval "$ac_link") 2>conftest.er1
17257 grep -v '^ *+' conftest.er1 >conftest.err
17259 cat conftest.err >&5
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); } && {
17262 test -z "$ac_c_werror_flag" ||
17263 test ! -s conftest.err
17264 } && test -s conftest$ac_exeext &&
17265 $as_test_x conftest$ac_exeext; then
17266 eval "$as_ac_var=yes"
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.$ac_ext >&5
17271 eval "$as_ac_var=no"
17274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17275 conftest$ac_exeext conftest.$ac_ext
17277 ac_res=`eval echo '${'$as_ac_var'}'`
17278 { echo "$as_me:$LINENO: result: $ac_res" >&5
17279 echo "${ECHO_T}$ac_res" >&6; }
17280 if test `eval echo '${'$as_ac_var'}'` = yes; then
17281 cat >>confdefs.h <<_ACEOF
17282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17288 LIBS="$ac_wine_check_funcs_save_LIBS"
17290 if test "$ac_cv_func_poll" = no
17292 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17293 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17294 if test "${ac_cv_lib_poll_poll+set}" = set; then
17295 echo $ECHO_N "(cached) $ECHO_C" >&6
17297 ac_check_lib_save_LIBS=$LIBS
17298 LIBS="-lpoll $LIBS"
17299 cat >conftest.$ac_ext <<_ACEOF
17302 cat confdefs.h >>conftest.$ac_ext
17303 cat >>conftest.$ac_ext <<_ACEOF
17304 /* end confdefs.h. */
17306 /* Override any GCC internal prototype to avoid an error.
17307 Use char because int might match the return type of a GCC
17308 builtin and then its argument prototype would still apply. */
17321 rm -f conftest.$ac_objext conftest$ac_exeext
17322 if { (ac_try="$ac_link"
17323 case "(($ac_try" in
17324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17325 *) ac_try_echo=$ac_try;;
17327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17328 (eval "$ac_link") 2>conftest.er1
17330 grep -v '^ *+' conftest.er1 >conftest.err
17332 cat conftest.err >&5
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); } && {
17335 test -z "$ac_c_werror_flag" ||
17336 test ! -s conftest.err
17337 } && test -s conftest$ac_exeext &&
17338 $as_test_x conftest$ac_exeext; then
17339 ac_cv_lib_poll_poll=yes
17341 echo "$as_me: failed program was:" >&5
17342 sed 's/^/| /' conftest.$ac_ext >&5
17344 ac_cv_lib_poll_poll=no
17347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17348 conftest$ac_exeext conftest.$ac_ext
17349 LIBS=$ac_check_lib_save_LIBS
17351 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17352 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17353 if test $ac_cv_lib_poll_poll = yes; then
17354 cat >>confdefs.h <<\_ACEOF
17355 #define HAVE_POLL 1
17363 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17364 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17365 if test "${ac_cv_search_gethostbyname+set}" = set; then
17366 echo $ECHO_N "(cached) $ECHO_C" >&6
17368 ac_func_search_save_LIBS=$LIBS
17369 cat >conftest.$ac_ext <<_ACEOF
17372 cat confdefs.h >>conftest.$ac_ext
17373 cat >>conftest.$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17376 /* Override any GCC internal prototype to avoid an error.
17377 Use char because int might match the return type of a GCC
17378 builtin and then its argument prototype would still apply. */
17382 char gethostbyname ();
17386 return gethostbyname ();
17391 for ac_lib in '' nsl; do
17392 if test -z "$ac_lib"; then
17393 ac_res="none required"
17396 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17398 rm -f conftest.$ac_objext conftest$ac_exeext
17399 if { (ac_try="$ac_link"
17400 case "(($ac_try" in
17401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17402 *) ac_try_echo=$ac_try;;
17404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17405 (eval "$ac_link") 2>conftest.er1
17407 grep -v '^ *+' conftest.er1 >conftest.err
17409 cat conftest.err >&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); } && {
17412 test -z "$ac_c_werror_flag" ||
17413 test ! -s conftest.err
17414 } && test -s conftest$ac_exeext &&
17415 $as_test_x conftest$ac_exeext; then
17416 ac_cv_search_gethostbyname=$ac_res
17418 echo "$as_me: failed program was:" >&5
17419 sed 's/^/| /' conftest.$ac_ext >&5
17424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17426 if test "${ac_cv_search_gethostbyname+set}" = set; then
17430 if test "${ac_cv_search_gethostbyname+set}" = set; then
17433 ac_cv_search_gethostbyname=no
17435 rm conftest.$ac_ext
17436 LIBS=$ac_func_search_save_LIBS
17438 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17439 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17440 ac_res=$ac_cv_search_gethostbyname
17441 if test "$ac_res" != no; then
17442 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17447 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17448 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17449 if test "${ac_cv_search_connect+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17452 ac_func_search_save_LIBS=$LIBS
17453 cat >conftest.$ac_ext <<_ACEOF
17456 cat confdefs.h >>conftest.$ac_ext
17457 cat >>conftest.$ac_ext <<_ACEOF
17458 /* end confdefs.h. */
17460 /* Override any GCC internal prototype to avoid an error.
17461 Use char because int might match the return type of a GCC
17462 builtin and then its argument prototype would still apply. */
17475 for ac_lib in '' socket; do
17476 if test -z "$ac_lib"; then
17477 ac_res="none required"
17480 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17482 rm -f conftest.$ac_objext conftest$ac_exeext
17483 if { (ac_try="$ac_link"
17484 case "(($ac_try" in
17485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17486 *) ac_try_echo=$ac_try;;
17488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17489 (eval "$ac_link") 2>conftest.er1
17491 grep -v '^ *+' conftest.er1 >conftest.err
17493 cat conftest.err >&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); } && {
17496 test -z "$ac_c_werror_flag" ||
17497 test ! -s conftest.err
17498 } && test -s conftest$ac_exeext &&
17499 $as_test_x conftest$ac_exeext; then
17500 ac_cv_search_connect=$ac_res
17502 echo "$as_me: failed program was:" >&5
17503 sed 's/^/| /' conftest.$ac_ext >&5
17508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17510 if test "${ac_cv_search_connect+set}" = set; then
17514 if test "${ac_cv_search_connect+set}" = set; then
17517 ac_cv_search_connect=no
17519 rm conftest.$ac_ext
17520 LIBS=$ac_func_search_save_LIBS
17522 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17523 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17524 ac_res=$ac_cv_search_connect
17525 if test "$ac_res" != no; then
17526 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17531 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17532 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17533 if test "${ac_cv_search_inet_aton+set}" = set; then
17534 echo $ECHO_N "(cached) $ECHO_C" >&6
17536 ac_func_search_save_LIBS=$LIBS
17537 cat >conftest.$ac_ext <<_ACEOF
17540 cat confdefs.h >>conftest.$ac_ext
17541 cat >>conftest.$ac_ext <<_ACEOF
17542 /* end confdefs.h. */
17544 /* Override any GCC internal prototype to avoid an error.
17545 Use char because int might match the return type of a GCC
17546 builtin and then its argument prototype would still apply. */
17554 return inet_aton ();
17559 for ac_lib in '' resolv; do
17560 if test -z "$ac_lib"; then
17561 ac_res="none required"
17564 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17566 rm -f conftest.$ac_objext conftest$ac_exeext
17567 if { (ac_try="$ac_link"
17568 case "(($ac_try" in
17569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17570 *) ac_try_echo=$ac_try;;
17572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17573 (eval "$ac_link") 2>conftest.er1
17575 grep -v '^ *+' conftest.er1 >conftest.err
17577 cat conftest.err >&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); } && {
17580 test -z "$ac_c_werror_flag" ||
17581 test ! -s conftest.err
17582 } && test -s conftest$ac_exeext &&
17583 $as_test_x conftest$ac_exeext; then
17584 ac_cv_search_inet_aton=$ac_res
17586 echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.$ac_ext >&5
17592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17594 if test "${ac_cv_search_inet_aton+set}" = set; then
17598 if test "${ac_cv_search_inet_aton+set}" = set; then
17601 ac_cv_search_inet_aton=no
17603 rm conftest.$ac_ext
17604 LIBS=$ac_func_search_save_LIBS
17606 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17607 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17608 ac_res=$ac_cv_search_inet_aton
17609 if test "$ac_res" != no; then
17610 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17635 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17637 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17638 echo $ECHO_N "(cached) $ECHO_C" >&6
17640 cat >conftest.$ac_ext <<_ACEOF
17643 cat confdefs.h >>conftest.$ac_ext
17644 cat >>conftest.$ac_ext <<_ACEOF
17645 /* end confdefs.h. */
17646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17648 #define $ac_func innocuous_$ac_func
17650 /* System header to define __stub macros and hopefully few prototypes,
17651 which can conflict with char $ac_func (); below.
17652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17653 <limits.h> exists even on freestanding compilers. */
17656 # include <limits.h>
17658 # include <assert.h>
17663 /* Override any GCC internal prototype to avoid an error.
17664 Use char because int might match the return type of a GCC
17665 builtin and then its argument prototype would still apply. */
17670 /* The GNU C library defines this for functions which it implements
17671 to always fail with ENOSYS. Some functions are actually named
17672 something starting with __ and the normal name is an alias. */
17673 #if defined __stub_$ac_func || defined __stub___$ac_func
17680 return $ac_func ();
17685 rm -f conftest.$ac_objext conftest$ac_exeext
17686 if { (ac_try="$ac_link"
17687 case "(($ac_try" in
17688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17689 *) ac_try_echo=$ac_try;;
17691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17692 (eval "$ac_link") 2>conftest.er1
17694 grep -v '^ *+' conftest.er1 >conftest.err
17696 cat conftest.err >&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); } && {
17699 test -z "$ac_c_werror_flag" ||
17700 test ! -s conftest.err
17701 } && test -s conftest$ac_exeext &&
17702 $as_test_x conftest$ac_exeext; then
17703 eval "$as_ac_var=yes"
17705 echo "$as_me: failed program was:" >&5
17706 sed 's/^/| /' conftest.$ac_ext >&5
17708 eval "$as_ac_var=no"
17711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17712 conftest$ac_exeext conftest.$ac_ext
17714 ac_res=`eval echo '${'$as_ac_var'}'`
17715 { echo "$as_me:$LINENO: result: $ac_res" >&5
17716 echo "${ECHO_T}$ac_res" >&6; }
17717 if test `eval echo '${'$as_ac_var'}'` = yes; then
17718 cat >>confdefs.h <<_ACEOF
17719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17728 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17730 { echo "$as_me:$LINENO: checking for LDAPSortKey" >&5
17731 echo $ECHO_N "checking for LDAPSortKey... $ECHO_C" >&6; }
17732 if test "${ac_cv_type_LDAPSortKey+set}" = set; then
17733 echo $ECHO_N "(cached) $ECHO_C" >&6
17735 cat >conftest.$ac_ext <<_ACEOF
17738 cat confdefs.h >>conftest.$ac_ext
17739 cat >>conftest.$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17743 typedef LDAPSortKey ac__type_new_;
17747 if ((ac__type_new_ *) 0)
17749 if (sizeof (ac__type_new_))
17755 rm -f conftest.$ac_objext
17756 if { (ac_try="$ac_compile"
17757 case "(($ac_try" in
17758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17759 *) ac_try_echo=$ac_try;;
17761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17762 (eval "$ac_compile") 2>conftest.er1
17764 grep -v '^ *+' conftest.er1 >conftest.err
17766 cat conftest.err >&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); } && {
17769 test -z "$ac_c_werror_flag" ||
17770 test ! -s conftest.err
17771 } && test -s conftest.$ac_objext; then
17772 ac_cv_type_LDAPSortKey=yes
17774 echo "$as_me: failed program was:" >&5
17775 sed 's/^/| /' conftest.$ac_ext >&5
17777 ac_cv_type_LDAPSortKey=no
17780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17782 { echo "$as_me:$LINENO: result: $ac_cv_type_LDAPSortKey" >&5
17783 echo "${ECHO_T}$ac_cv_type_LDAPSortKey" >&6; }
17784 if test $ac_cv_type_LDAPSortKey = yes; then
17785 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
17786 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
17787 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
17788 echo $ECHO_N "(cached) $ECHO_C" >&6
17790 ac_check_lib_save_LIBS=$LIBS
17791 LIBS="-lldap_r $LIBPTHREAD $LIBS"
17792 cat >conftest.$ac_ext <<_ACEOF
17795 cat confdefs.h >>conftest.$ac_ext
17796 cat >>conftest.$ac_ext <<_ACEOF
17797 /* end confdefs.h. */
17799 /* Override any GCC internal prototype to avoid an error.
17800 Use char because int might match the return type of a GCC
17801 builtin and then its argument prototype would still apply. */
17805 char ldap_initialize ();
17809 return ldap_initialize ();
17814 rm -f conftest.$ac_objext conftest$ac_exeext
17815 if { (ac_try="$ac_link"
17816 case "(($ac_try" in
17817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17818 *) ac_try_echo=$ac_try;;
17820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17821 (eval "$ac_link") 2>conftest.er1
17823 grep -v '^ *+' conftest.er1 >conftest.err
17825 cat conftest.err >&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); } && {
17828 test -z "$ac_c_werror_flag" ||
17829 test ! -s conftest.err
17830 } && test -s conftest$ac_exeext &&
17831 $as_test_x conftest$ac_exeext; then
17832 ac_cv_lib_ldap_r_ldap_initialize=yes
17834 echo "$as_me: failed program was:" >&5
17835 sed 's/^/| /' conftest.$ac_ext >&5
17837 ac_cv_lib_ldap_r_ldap_initialize=no
17840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17841 conftest$ac_exeext conftest.$ac_ext
17842 LIBS=$ac_check_lib_save_LIBS
17844 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17845 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17846 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
17847 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
17848 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
17849 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
17850 echo $ECHO_N "(cached) $ECHO_C" >&6
17852 ac_check_lib_save_LIBS=$LIBS
17853 LIBS="-llber $LIBPTHREAD $LIBS"
17854 cat >conftest.$ac_ext <<_ACEOF
17857 cat confdefs.h >>conftest.$ac_ext
17858 cat >>conftest.$ac_ext <<_ACEOF
17859 /* end confdefs.h. */
17861 /* Override any GCC internal prototype to avoid an error.
17862 Use char because int might match the return type of a GCC
17863 builtin and then its argument prototype would still apply. */
17871 return ber_init ();
17876 rm -f conftest.$ac_objext conftest$ac_exeext
17877 if { (ac_try="$ac_link"
17878 case "(($ac_try" in
17879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17880 *) ac_try_echo=$ac_try;;
17882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17883 (eval "$ac_link") 2>conftest.er1
17885 grep -v '^ *+' conftest.er1 >conftest.err
17887 cat conftest.err >&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); } && {
17890 test -z "$ac_c_werror_flag" ||
17891 test ! -s conftest.err
17892 } && test -s conftest$ac_exeext &&
17893 $as_test_x conftest$ac_exeext; then
17894 ac_cv_lib_lber_ber_init=yes
17896 echo "$as_me: failed program was:" >&5
17897 sed 's/^/| /' conftest.$ac_ext >&5
17899 ac_cv_lib_lber_ber_init=no
17902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17903 conftest$ac_exeext conftest.$ac_ext
17904 LIBS=$ac_check_lib_save_LIBS
17906 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
17907 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
17908 if test $ac_cv_lib_lber_ber_init = yes; then
17910 cat >>confdefs.h <<\_ACEOF
17911 #define HAVE_LDAP 1
17914 LDAPLIBS="-lldap_r -llber"
17921 ac_wine_check_funcs_save_LIBS="$LIBS"
17922 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
17932 ldap_count_references \
17933 ldap_first_reference \
17934 ldap_next_reference \
17935 ldap_parse_reference \
17936 ldap_parse_sort_control \
17937 ldap_parse_sortresponse_control \
17938 ldap_parse_vlv_control \
17939 ldap_parse_vlvresponse_control
17941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17942 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17944 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17945 echo $ECHO_N "(cached) $ECHO_C" >&6
17947 cat >conftest.$ac_ext <<_ACEOF
17950 cat confdefs.h >>conftest.$ac_ext
17951 cat >>conftest.$ac_ext <<_ACEOF
17952 /* end confdefs.h. */
17953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17955 #define $ac_func innocuous_$ac_func
17957 /* System header to define __stub macros and hopefully few prototypes,
17958 which can conflict with char $ac_func (); below.
17959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17960 <limits.h> exists even on freestanding compilers. */
17963 # include <limits.h>
17965 # include <assert.h>
17970 /* Override any GCC internal prototype to avoid an error.
17971 Use char because int might match the return type of a GCC
17972 builtin and then its argument prototype would still apply. */
17977 /* The GNU C library defines this for functions which it implements
17978 to always fail with ENOSYS. Some functions are actually named
17979 something starting with __ and the normal name is an alias. */
17980 #if defined __stub_$ac_func || defined __stub___$ac_func
17987 return $ac_func ();
17992 rm -f conftest.$ac_objext conftest$ac_exeext
17993 if { (ac_try="$ac_link"
17994 case "(($ac_try" in
17995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17996 *) ac_try_echo=$ac_try;;
17998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17999 (eval "$ac_link") 2>conftest.er1
18001 grep -v '^ *+' conftest.er1 >conftest.err
18003 cat conftest.err >&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } && {
18006 test -z "$ac_c_werror_flag" ||
18007 test ! -s conftest.err
18008 } && test -s conftest$ac_exeext &&
18009 $as_test_x conftest$ac_exeext; then
18010 eval "$as_ac_var=yes"
18012 echo "$as_me: failed program was:" >&5
18013 sed 's/^/| /' conftest.$ac_ext >&5
18015 eval "$as_ac_var=no"
18018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18019 conftest$ac_exeext conftest.$ac_ext
18021 ac_res=`eval echo '${'$as_ac_var'}'`
18022 { echo "$as_me:$LINENO: result: $ac_res" >&5
18023 echo "${ECHO_T}$ac_res" >&6; }
18024 if test `eval echo '${'$as_ac_var'}'` = yes; then
18025 cat >>confdefs.h <<_ACEOF
18026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18032 LIBS="$ac_wine_check_funcs_save_LIBS"
18034 if test "x$LDAPLIBS" = "x"; then
18035 case "x$with_ldap" in
18036 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
18038 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
18039 This is an error since --with-ldap was requested." >&5
18040 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
18041 This is an error since --with-ldap was requested." >&2;}
18042 { (exit 1); exit 1; }; } ;;
18048 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18049 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18050 if test "${ac_cv_c_const+set}" = set; then
18051 echo $ECHO_N "(cached) $ECHO_C" >&6
18053 cat >conftest.$ac_ext <<_ACEOF
18056 cat confdefs.h >>conftest.$ac_ext
18057 cat >>conftest.$ac_ext <<_ACEOF
18058 /* end confdefs.h. */
18063 /* FIXME: Include the comments suggested by Paul. */
18064 #ifndef __cplusplus
18065 /* Ultrix mips cc rejects this. */
18066 typedef int charset[2];
18068 /* SunOS 4.1.1 cc rejects this. */
18069 char const *const *pcpcc;
18071 /* NEC SVR4.0.2 mips cc rejects this. */
18072 struct point {int x, y;};
18073 static struct point const zero = {0,0};
18074 /* AIX XL C 1.02.0.0 rejects this.
18075 It does not let you subtract one const X* pointer from another in
18076 an arm of an if-expression whose if-part is not a constant
18078 const char *g = "string";
18079 pcpcc = &g + (g ? g-g : 0);
18080 /* HPUX 7.0 cc rejects these. */
18082 ppc = (char**) pcpcc;
18083 pcpcc = (char const *const *) ppc;
18084 { /* SCO 3.2v4 cc rejects this. */
18086 char const *s = 0 ? (char *) 0 : (char const *) 0;
18091 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18092 int x[] = {25, 17};
18093 const int *foo = &x[0];
18096 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18097 typedef const int *iptr;
18101 { /* AIX XL C 1.02.0.0 rejects this saying
18102 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18103 struct s { int j; const int *ap[3]; };
18104 struct s *b; b->j = 5;
18106 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18107 const int foo = 10;
18108 if (!foo) return 0;
18110 return !cs[0] && !zero.x;
18117 rm -f conftest.$ac_objext
18118 if { (ac_try="$ac_compile"
18119 case "(($ac_try" in
18120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18121 *) ac_try_echo=$ac_try;;
18123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18124 (eval "$ac_compile") 2>conftest.er1
18126 grep -v '^ *+' conftest.er1 >conftest.err
18128 cat conftest.err >&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); } && {
18131 test -z "$ac_c_werror_flag" ||
18132 test ! -s conftest.err
18133 } && test -s conftest.$ac_objext; then
18136 echo "$as_me: failed program was:" >&5
18137 sed 's/^/| /' conftest.$ac_ext >&5
18142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18144 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18145 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18146 if test $ac_cv_c_const = no; then
18148 cat >>confdefs.h <<\_ACEOF
18154 { echo "$as_me:$LINENO: checking for inline" >&5
18155 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18156 if test "${ac_cv_c_inline+set}" = set; then
18157 echo $ECHO_N "(cached) $ECHO_C" >&6
18160 for ac_kw in inline __inline__ __inline; do
18161 cat >conftest.$ac_ext <<_ACEOF
18164 cat confdefs.h >>conftest.$ac_ext
18165 cat >>conftest.$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18167 #ifndef __cplusplus
18169 static $ac_kw foo_t static_foo () {return 0; }
18170 $ac_kw foo_t foo () {return 0; }
18174 rm -f conftest.$ac_objext
18175 if { (ac_try="$ac_compile"
18176 case "(($ac_try" in
18177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18178 *) ac_try_echo=$ac_try;;
18180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18181 (eval "$ac_compile") 2>conftest.er1
18183 grep -v '^ *+' conftest.er1 >conftest.err
18185 cat conftest.err >&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); } && {
18188 test -z "$ac_c_werror_flag" ||
18189 test ! -s conftest.err
18190 } && test -s conftest.$ac_objext; then
18191 ac_cv_c_inline=$ac_kw
18193 echo "$as_me: failed program was:" >&5
18194 sed 's/^/| /' conftest.$ac_ext >&5
18199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18200 test "$ac_cv_c_inline" != no && break
18204 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18205 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18208 case $ac_cv_c_inline in
18211 case $ac_cv_c_inline in
18213 *) ac_val=$ac_cv_c_inline;;
18215 cat >>confdefs.h <<_ACEOF
18216 #ifndef __cplusplus
18217 #define inline $ac_val
18223 { echo "$as_me:$LINENO: checking for mode_t" >&5
18224 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
18225 if test "${ac_cv_type_mode_t+set}" = set; then
18226 echo $ECHO_N "(cached) $ECHO_C" >&6
18228 cat >conftest.$ac_ext <<_ACEOF
18231 cat confdefs.h >>conftest.$ac_ext
18232 cat >>conftest.$ac_ext <<_ACEOF
18233 /* end confdefs.h. */
18234 $ac_includes_default
18235 typedef mode_t ac__type_new_;
18239 if ((ac__type_new_ *) 0)
18241 if (sizeof (ac__type_new_))
18247 rm -f conftest.$ac_objext
18248 if { (ac_try="$ac_compile"
18249 case "(($ac_try" in
18250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18251 *) ac_try_echo=$ac_try;;
18253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18254 (eval "$ac_compile") 2>conftest.er1
18256 grep -v '^ *+' conftest.er1 >conftest.err
18258 cat conftest.err >&5
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); } && {
18261 test -z "$ac_c_werror_flag" ||
18262 test ! -s conftest.err
18263 } && test -s conftest.$ac_objext; then
18264 ac_cv_type_mode_t=yes
18266 echo "$as_me: failed program was:" >&5
18267 sed 's/^/| /' conftest.$ac_ext >&5
18269 ac_cv_type_mode_t=no
18272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18274 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
18275 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
18276 if test $ac_cv_type_mode_t = yes; then
18278 cat >>confdefs.h <<_ACEOF
18279 #define HAVE_MODE_T 1
18284 { echo "$as_me:$LINENO: checking for off_t" >&5
18285 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
18286 if test "${ac_cv_type_off_t+set}" = set; then
18287 echo $ECHO_N "(cached) $ECHO_C" >&6
18289 cat >conftest.$ac_ext <<_ACEOF
18292 cat confdefs.h >>conftest.$ac_ext
18293 cat >>conftest.$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18295 $ac_includes_default
18296 typedef off_t ac__type_new_;
18300 if ((ac__type_new_ *) 0)
18302 if (sizeof (ac__type_new_))
18308 rm -f conftest.$ac_objext
18309 if { (ac_try="$ac_compile"
18310 case "(($ac_try" in
18311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18312 *) ac_try_echo=$ac_try;;
18314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18315 (eval "$ac_compile") 2>conftest.er1
18317 grep -v '^ *+' conftest.er1 >conftest.err
18319 cat conftest.err >&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } && {
18322 test -z "$ac_c_werror_flag" ||
18323 test ! -s conftest.err
18324 } && test -s conftest.$ac_objext; then
18325 ac_cv_type_off_t=yes
18327 echo "$as_me: failed program was:" >&5
18328 sed 's/^/| /' conftest.$ac_ext >&5
18330 ac_cv_type_off_t=no
18333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18335 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18336 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
18337 if test $ac_cv_type_off_t = yes; then
18339 cat >>confdefs.h <<_ACEOF
18340 #define HAVE_OFF_T 1
18345 { echo "$as_me:$LINENO: checking for pid_t" >&5
18346 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18347 if test "${ac_cv_type_pid_t+set}" = set; then
18348 echo $ECHO_N "(cached) $ECHO_C" >&6
18350 cat >conftest.$ac_ext <<_ACEOF
18353 cat confdefs.h >>conftest.$ac_ext
18354 cat >>conftest.$ac_ext <<_ACEOF
18355 /* end confdefs.h. */
18356 $ac_includes_default
18357 typedef pid_t ac__type_new_;
18361 if ((ac__type_new_ *) 0)
18363 if (sizeof (ac__type_new_))
18369 rm -f conftest.$ac_objext
18370 if { (ac_try="$ac_compile"
18371 case "(($ac_try" in
18372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18373 *) ac_try_echo=$ac_try;;
18375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18376 (eval "$ac_compile") 2>conftest.er1
18378 grep -v '^ *+' conftest.er1 >conftest.err
18380 cat conftest.err >&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); } && {
18383 test -z "$ac_c_werror_flag" ||
18384 test ! -s conftest.err
18385 } && test -s conftest.$ac_objext; then
18386 ac_cv_type_pid_t=yes
18388 echo "$as_me: failed program was:" >&5
18389 sed 's/^/| /' conftest.$ac_ext >&5
18391 ac_cv_type_pid_t=no
18394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18396 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18397 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18398 if test $ac_cv_type_pid_t = yes; then
18400 cat >>confdefs.h <<_ACEOF
18401 #define HAVE_PID_T 1
18406 { echo "$as_me:$LINENO: checking for size_t" >&5
18407 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18408 if test "${ac_cv_type_size_t+set}" = set; then
18409 echo $ECHO_N "(cached) $ECHO_C" >&6
18411 cat >conftest.$ac_ext <<_ACEOF
18414 cat confdefs.h >>conftest.$ac_ext
18415 cat >>conftest.$ac_ext <<_ACEOF
18416 /* end confdefs.h. */
18417 $ac_includes_default
18418 typedef size_t ac__type_new_;
18422 if ((ac__type_new_ *) 0)
18424 if (sizeof (ac__type_new_))
18430 rm -f conftest.$ac_objext
18431 if { (ac_try="$ac_compile"
18432 case "(($ac_try" in
18433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18434 *) ac_try_echo=$ac_try;;
18436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18437 (eval "$ac_compile") 2>conftest.er1
18439 grep -v '^ *+' conftest.er1 >conftest.err
18441 cat conftest.err >&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); } && {
18444 test -z "$ac_c_werror_flag" ||
18445 test ! -s conftest.err
18446 } && test -s conftest.$ac_objext; then
18447 ac_cv_type_size_t=yes
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18452 ac_cv_type_size_t=no
18455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18457 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18458 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18459 if test $ac_cv_type_size_t = yes; then
18461 cat >>confdefs.h <<_ACEOF
18462 #define HAVE_SIZE_T 1
18467 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18468 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18469 if test "${ac_cv_type_ssize_t+set}" = set; then
18470 echo $ECHO_N "(cached) $ECHO_C" >&6
18472 cat >conftest.$ac_ext <<_ACEOF
18475 cat confdefs.h >>conftest.$ac_ext
18476 cat >>conftest.$ac_ext <<_ACEOF
18477 /* end confdefs.h. */
18478 $ac_includes_default
18479 typedef ssize_t ac__type_new_;
18483 if ((ac__type_new_ *) 0)
18485 if (sizeof (ac__type_new_))
18491 rm -f conftest.$ac_objext
18492 if { (ac_try="$ac_compile"
18493 case "(($ac_try" in
18494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18495 *) ac_try_echo=$ac_try;;
18497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18498 (eval "$ac_compile") 2>conftest.er1
18500 grep -v '^ *+' conftest.er1 >conftest.err
18502 cat conftest.err >&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); } && {
18505 test -z "$ac_c_werror_flag" ||
18506 test ! -s conftest.err
18507 } && test -s conftest.$ac_objext; then
18508 ac_cv_type_ssize_t=yes
18510 echo "$as_me: failed program was:" >&5
18511 sed 's/^/| /' conftest.$ac_ext >&5
18513 ac_cv_type_ssize_t=no
18516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18518 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18519 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18520 if test $ac_cv_type_ssize_t = yes; then
18522 cat >>confdefs.h <<_ACEOF
18523 #define HAVE_SSIZE_T 1
18528 { echo "$as_me:$LINENO: checking for long long" >&5
18529 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18530 if test "${ac_cv_type_long_long+set}" = set; then
18531 echo $ECHO_N "(cached) $ECHO_C" >&6
18533 cat >conftest.$ac_ext <<_ACEOF
18536 cat confdefs.h >>conftest.$ac_ext
18537 cat >>conftest.$ac_ext <<_ACEOF
18538 /* end confdefs.h. */
18539 $ac_includes_default
18540 typedef long long ac__type_new_;
18544 if ((ac__type_new_ *) 0)
18546 if (sizeof (ac__type_new_))
18552 rm -f conftest.$ac_objext
18553 if { (ac_try="$ac_compile"
18554 case "(($ac_try" in
18555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18556 *) ac_try_echo=$ac_try;;
18558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18559 (eval "$ac_compile") 2>conftest.er1
18561 grep -v '^ *+' conftest.er1 >conftest.err
18563 cat conftest.err >&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } && {
18566 test -z "$ac_c_werror_flag" ||
18567 test ! -s conftest.err
18568 } && test -s conftest.$ac_objext; then
18569 ac_cv_type_long_long=yes
18571 echo "$as_me: failed program was:" >&5
18572 sed 's/^/| /' conftest.$ac_ext >&5
18574 ac_cv_type_long_long=no
18577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18579 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18580 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18581 if test $ac_cv_type_long_long = yes; then
18583 cat >>confdefs.h <<_ACEOF
18584 #define HAVE_LONG_LONG 1
18589 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18590 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18591 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18592 echo $ECHO_N "(cached) $ECHO_C" >&6
18594 cat >conftest.$ac_ext <<_ACEOF
18597 cat confdefs.h >>conftest.$ac_ext
18598 cat >>conftest.$ac_ext <<_ACEOF
18599 /* end confdefs.h. */
18600 $ac_includes_default
18601 typedef fsblkcnt_t ac__type_new_;
18605 if ((ac__type_new_ *) 0)
18607 if (sizeof (ac__type_new_))
18613 rm -f conftest.$ac_objext
18614 if { (ac_try="$ac_compile"
18615 case "(($ac_try" in
18616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18617 *) ac_try_echo=$ac_try;;
18619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18620 (eval "$ac_compile") 2>conftest.er1
18622 grep -v '^ *+' conftest.er1 >conftest.err
18624 cat conftest.err >&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); } && {
18627 test -z "$ac_c_werror_flag" ||
18628 test ! -s conftest.err
18629 } && test -s conftest.$ac_objext; then
18630 ac_cv_type_fsblkcnt_t=yes
18632 echo "$as_me: failed program was:" >&5
18633 sed 's/^/| /' conftest.$ac_ext >&5
18635 ac_cv_type_fsblkcnt_t=no
18638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18640 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18641 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18642 if test $ac_cv_type_fsblkcnt_t = yes; then
18644 cat >>confdefs.h <<_ACEOF
18645 #define HAVE_FSBLKCNT_T 1
18650 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18651 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18652 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18653 echo $ECHO_N "(cached) $ECHO_C" >&6
18655 cat >conftest.$ac_ext <<_ACEOF
18658 cat confdefs.h >>conftest.$ac_ext
18659 cat >>conftest.$ac_ext <<_ACEOF
18660 /* end confdefs.h. */
18661 $ac_includes_default
18662 typedef fsfilcnt_t ac__type_new_;
18666 if ((ac__type_new_ *) 0)
18668 if (sizeof (ac__type_new_))
18674 rm -f conftest.$ac_objext
18675 if { (ac_try="$ac_compile"
18676 case "(($ac_try" in
18677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18678 *) ac_try_echo=$ac_try;;
18680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18681 (eval "$ac_compile") 2>conftest.er1
18683 grep -v '^ *+' conftest.er1 >conftest.err
18685 cat conftest.err >&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); } && {
18688 test -z "$ac_c_werror_flag" ||
18689 test ! -s conftest.err
18690 } && test -s conftest.$ac_objext; then
18691 ac_cv_type_fsfilcnt_t=yes
18693 echo "$as_me: failed program was:" >&5
18694 sed 's/^/| /' conftest.$ac_ext >&5
18696 ac_cv_type_fsfilcnt_t=no
18699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18701 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18702 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18703 if test $ac_cv_type_fsfilcnt_t = yes; then
18705 cat >>confdefs.h <<_ACEOF
18706 #define HAVE_FSFILCNT_T 1
18712 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18713 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18714 if test "${ac_cv_type_sigset_t+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18717 cat >conftest.$ac_ext <<_ACEOF
18720 cat confdefs.h >>conftest.$ac_ext
18721 cat >>conftest.$ac_ext <<_ACEOF
18722 /* end confdefs.h. */
18723 #include <signal.h>
18725 typedef sigset_t ac__type_new_;
18729 if ((ac__type_new_ *) 0)
18731 if (sizeof (ac__type_new_))
18737 rm -f conftest.$ac_objext
18738 if { (ac_try="$ac_compile"
18739 case "(($ac_try" in
18740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18741 *) ac_try_echo=$ac_try;;
18743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18744 (eval "$ac_compile") 2>conftest.er1
18746 grep -v '^ *+' conftest.er1 >conftest.err
18748 cat conftest.err >&5
18749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18750 (exit $ac_status); } && {
18751 test -z "$ac_c_werror_flag" ||
18752 test ! -s conftest.err
18753 } && test -s conftest.$ac_objext; then
18754 ac_cv_type_sigset_t=yes
18756 echo "$as_me: failed program was:" >&5
18757 sed 's/^/| /' conftest.$ac_ext >&5
18759 ac_cv_type_sigset_t=no
18762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18764 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18765 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18766 if test $ac_cv_type_sigset_t = yes; then
18768 cat >>confdefs.h <<_ACEOF
18769 #define HAVE_SIGSET_T 1
18775 { echo "$as_me:$LINENO: checking for request_sense" >&5
18776 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18777 if test "${ac_cv_type_request_sense+set}" = set; then
18778 echo $ECHO_N "(cached) $ECHO_C" >&6
18780 cat >conftest.$ac_ext <<_ACEOF
18783 cat confdefs.h >>conftest.$ac_ext
18784 cat >>conftest.$ac_ext <<_ACEOF
18785 /* end confdefs.h. */
18786 #include <linux/cdrom.h>
18788 typedef request_sense ac__type_new_;
18792 if ((ac__type_new_ *) 0)
18794 if (sizeof (ac__type_new_))
18800 rm -f conftest.$ac_objext
18801 if { (ac_try="$ac_compile"
18802 case "(($ac_try" in
18803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18804 *) ac_try_echo=$ac_try;;
18806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18807 (eval "$ac_compile") 2>conftest.er1
18809 grep -v '^ *+' conftest.er1 >conftest.err
18811 cat conftest.err >&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); } && {
18814 test -z "$ac_c_werror_flag" ||
18815 test ! -s conftest.err
18816 } && test -s conftest.$ac_objext; then
18817 ac_cv_type_request_sense=yes
18819 echo "$as_me: failed program was:" >&5
18820 sed 's/^/| /' conftest.$ac_ext >&5
18822 ac_cv_type_request_sense=no
18825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18827 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18828 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18829 if test $ac_cv_type_request_sense = yes; then
18831 cat >>confdefs.h <<_ACEOF
18832 #define HAVE_REQUEST_SENSE 1
18839 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18840 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18841 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18842 echo $ECHO_N "(cached) $ECHO_C" >&6
18844 cat >conftest.$ac_ext <<_ACEOF
18847 cat confdefs.h >>conftest.$ac_ext
18848 cat >>conftest.$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18850 #ifdef HAVE_LINUX_INPUT_H
18851 #include <linux/input.h>
18857 static struct ff_effect ac_aggr;
18858 if (ac_aggr.direction)
18864 rm -f conftest.$ac_objext
18865 if { (ac_try="$ac_compile"
18866 case "(($ac_try" in
18867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18868 *) ac_try_echo=$ac_try;;
18870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18871 (eval "$ac_compile") 2>conftest.er1
18873 grep -v '^ *+' conftest.er1 >conftest.err
18875 cat conftest.err >&5
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); } && {
18878 test -z "$ac_c_werror_flag" ||
18879 test ! -s conftest.err
18880 } && test -s conftest.$ac_objext; then
18881 ac_cv_member_struct_ff_effect_direction=yes
18883 echo "$as_me: failed program was:" >&5
18884 sed 's/^/| /' conftest.$ac_ext >&5
18886 cat >conftest.$ac_ext <<_ACEOF
18889 cat confdefs.h >>conftest.$ac_ext
18890 cat >>conftest.$ac_ext <<_ACEOF
18891 /* end confdefs.h. */
18892 #ifdef HAVE_LINUX_INPUT_H
18893 #include <linux/input.h>
18899 static struct ff_effect ac_aggr;
18900 if (sizeof ac_aggr.direction)
18906 rm -f conftest.$ac_objext
18907 if { (ac_try="$ac_compile"
18908 case "(($ac_try" in
18909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18910 *) ac_try_echo=$ac_try;;
18912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18913 (eval "$ac_compile") 2>conftest.er1
18915 grep -v '^ *+' conftest.er1 >conftest.err
18917 cat conftest.err >&5
18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919 (exit $ac_status); } && {
18920 test -z "$ac_c_werror_flag" ||
18921 test ! -s conftest.err
18922 } && test -s conftest.$ac_objext; then
18923 ac_cv_member_struct_ff_effect_direction=yes
18925 echo "$as_me: failed program was:" >&5
18926 sed 's/^/| /' conftest.$ac_ext >&5
18928 ac_cv_member_struct_ff_effect_direction=no
18931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18936 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18937 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18938 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18940 cat >>confdefs.h <<_ACEOF
18941 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18948 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18949 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18950 if test "${wine_cv_have_sigaddset+set}" = set; then
18951 echo $ECHO_N "(cached) $ECHO_C" >&6
18953 cat >conftest.$ac_ext <<_ACEOF
18956 cat confdefs.h >>conftest.$ac_ext
18957 cat >>conftest.$ac_ext <<_ACEOF
18958 /* end confdefs.h. */
18959 #include <signal.h>
18963 sigset_t set; sigaddset(&set,SIGTERM);
18968 rm -f conftest.$ac_objext conftest$ac_exeext
18969 if { (ac_try="$ac_link"
18970 case "(($ac_try" in
18971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18972 *) ac_try_echo=$ac_try;;
18974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18975 (eval "$ac_link") 2>conftest.er1
18977 grep -v '^ *+' conftest.er1 >conftest.err
18979 cat conftest.err >&5
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); } && {
18982 test -z "$ac_c_werror_flag" ||
18983 test ! -s conftest.err
18984 } && test -s conftest$ac_exeext &&
18985 $as_test_x conftest$ac_exeext; then
18986 wine_cv_have_sigaddset=yes
18988 echo "$as_me: failed program was:" >&5
18989 sed 's/^/| /' conftest.$ac_ext >&5
18991 wine_cv_have_sigaddset=no
18994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18995 conftest$ac_exeext conftest.$ac_ext
18997 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18998 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18999 if test "$wine_cv_have_sigaddset" = "yes"
19002 cat >>confdefs.h <<\_ACEOF
19003 #define HAVE_SIGADDSET 1
19009 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
19010 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
19011 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
19012 echo $ECHO_N "(cached) $ECHO_C" >&6
19014 cat >conftest.$ac_ext <<_ACEOF
19017 cat confdefs.h >>conftest.$ac_ext
19018 cat >>conftest.$ac_ext <<_ACEOF
19019 /* end confdefs.h. */
19027 struct hostent *result;
19034 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
19035 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
19041 rm -f conftest.$ac_objext conftest$ac_exeext
19042 if { (ac_try="$ac_link"
19043 case "(($ac_try" in
19044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19045 *) ac_try_echo=$ac_try;;
19047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19048 (eval "$ac_link") 2>conftest.er1
19050 grep -v '^ *+' conftest.er1 >conftest.err
19052 cat conftest.err >&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); } && {
19055 test -z "$ac_c_werror_flag" ||
19056 test ! -s conftest.err
19057 } && test -s conftest$ac_exeext &&
19058 $as_test_x conftest$ac_exeext; then
19059 wine_cv_linux_gethostbyname_r_6=yes
19061 echo "$as_me: failed program was:" >&5
19062 sed 's/^/| /' conftest.$ac_ext >&5
19064 wine_cv_linux_gethostbyname_r_6=no
19068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19069 conftest$ac_exeext conftest.$ac_ext
19072 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
19073 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
19074 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
19077 cat >>confdefs.h <<\_ACEOF
19078 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
19083 if test "$ac_cv_header_linux_joystick_h" = "yes"
19085 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
19086 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
19087 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
19088 echo $ECHO_N "(cached) $ECHO_C" >&6
19090 cat >conftest.$ac_ext <<_ACEOF
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19097 #include <sys/ioctl.h>
19098 #include <sys/types.h>
19099 #include <linux/joystick.h>
19101 struct js_event blub;
19102 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
19103 #error "no 2.2 header"
19114 rm -f conftest.$ac_objext
19115 if { (ac_try="$ac_compile"
19116 case "(($ac_try" in
19117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19118 *) ac_try_echo=$ac_try;;
19120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19121 (eval "$ac_compile") 2>conftest.er1
19123 grep -v '^ *+' conftest.er1 >conftest.err
19125 cat conftest.err >&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } && {
19128 test -z "$ac_c_werror_flag" ||
19129 test ! -s conftest.err
19130 } && test -s conftest.$ac_objext; then
19131 wine_cv_linux_joystick_22_api=yes
19133 echo "$as_me: failed program was:" >&5
19134 sed 's/^/| /' conftest.$ac_ext >&5
19136 wine_cv_linux_joystick_22_api=no
19139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19142 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
19143 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
19144 if test "$wine_cv_linux_joystick_22_api" = "yes"
19147 cat >>confdefs.h <<\_ACEOF
19148 #define HAVE_LINUX_22_JOYSTICK_API 1
19155 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
19156 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
19157 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
19158 echo $ECHO_N "(cached) $ECHO_C" >&6
19160 cat >conftest.$ac_ext <<_ACEOF
19163 cat confdefs.h >>conftest.$ac_ext
19164 cat >>conftest.$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19166 #include <sys/types.h>
19167 #ifdef HAVE_SYS_PARAM_H
19168 # include <sys/param.h>
19170 #ifdef HAVE_SYS_MOUNT_H
19171 # include <sys/mount.h>
19173 #ifdef HAVE_SYS_VFS_H
19174 # include <sys/vfs.h>
19176 #ifdef HAVE_SYS_STATFS_H
19177 # include <sys/statfs.h>
19183 static struct statfs ac_aggr;
19184 if (ac_aggr.f_bfree)
19190 rm -f conftest.$ac_objext
19191 if { (ac_try="$ac_compile"
19192 case "(($ac_try" in
19193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19194 *) ac_try_echo=$ac_try;;
19196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19197 (eval "$ac_compile") 2>conftest.er1
19199 grep -v '^ *+' conftest.er1 >conftest.err
19201 cat conftest.err >&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); } && {
19204 test -z "$ac_c_werror_flag" ||
19205 test ! -s conftest.err
19206 } && test -s conftest.$ac_objext; then
19207 ac_cv_member_struct_statfs_f_bfree=yes
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19212 cat >conftest.$ac_ext <<_ACEOF
19215 cat confdefs.h >>conftest.$ac_ext
19216 cat >>conftest.$ac_ext <<_ACEOF
19217 /* end confdefs.h. */
19218 #include <sys/types.h>
19219 #ifdef HAVE_SYS_PARAM_H
19220 # include <sys/param.h>
19222 #ifdef HAVE_SYS_MOUNT_H
19223 # include <sys/mount.h>
19225 #ifdef HAVE_SYS_VFS_H
19226 # include <sys/vfs.h>
19228 #ifdef HAVE_SYS_STATFS_H
19229 # include <sys/statfs.h>
19235 static struct statfs ac_aggr;
19236 if (sizeof ac_aggr.f_bfree)
19242 rm -f conftest.$ac_objext
19243 if { (ac_try="$ac_compile"
19244 case "(($ac_try" in
19245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19246 *) ac_try_echo=$ac_try;;
19248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19249 (eval "$ac_compile") 2>conftest.er1
19251 grep -v '^ *+' conftest.er1 >conftest.err
19253 cat conftest.err >&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } && {
19256 test -z "$ac_c_werror_flag" ||
19257 test ! -s conftest.err
19258 } && test -s conftest.$ac_objext; then
19259 ac_cv_member_struct_statfs_f_bfree=yes
19261 echo "$as_me: failed program was:" >&5
19262 sed 's/^/| /' conftest.$ac_ext >&5
19264 ac_cv_member_struct_statfs_f_bfree=no
19267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19272 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
19273 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
19274 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
19276 cat >>confdefs.h <<_ACEOF
19277 #define HAVE_STRUCT_STATFS_F_BFREE 1
19282 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
19283 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
19284 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
19285 echo $ECHO_N "(cached) $ECHO_C" >&6
19287 cat >conftest.$ac_ext <<_ACEOF
19290 cat confdefs.h >>conftest.$ac_ext
19291 cat >>conftest.$ac_ext <<_ACEOF
19292 /* end confdefs.h. */
19293 #include <sys/types.h>
19294 #ifdef HAVE_SYS_PARAM_H
19295 # include <sys/param.h>
19297 #ifdef HAVE_SYS_MOUNT_H
19298 # include <sys/mount.h>
19300 #ifdef HAVE_SYS_VFS_H
19301 # include <sys/vfs.h>
19303 #ifdef HAVE_SYS_STATFS_H
19304 # include <sys/statfs.h>
19310 static struct statfs ac_aggr;
19311 if (ac_aggr.f_bavail)
19317 rm -f conftest.$ac_objext
19318 if { (ac_try="$ac_compile"
19319 case "(($ac_try" in
19320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19321 *) ac_try_echo=$ac_try;;
19323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19324 (eval "$ac_compile") 2>conftest.er1
19326 grep -v '^ *+' conftest.er1 >conftest.err
19328 cat conftest.err >&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); } && {
19331 test -z "$ac_c_werror_flag" ||
19332 test ! -s conftest.err
19333 } && test -s conftest.$ac_objext; then
19334 ac_cv_member_struct_statfs_f_bavail=yes
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.$ac_ext >&5
19339 cat >conftest.$ac_ext <<_ACEOF
19342 cat confdefs.h >>conftest.$ac_ext
19343 cat >>conftest.$ac_ext <<_ACEOF
19344 /* end confdefs.h. */
19345 #include <sys/types.h>
19346 #ifdef HAVE_SYS_PARAM_H
19347 # include <sys/param.h>
19349 #ifdef HAVE_SYS_MOUNT_H
19350 # include <sys/mount.h>
19352 #ifdef HAVE_SYS_VFS_H
19353 # include <sys/vfs.h>
19355 #ifdef HAVE_SYS_STATFS_H
19356 # include <sys/statfs.h>
19362 static struct statfs ac_aggr;
19363 if (sizeof ac_aggr.f_bavail)
19369 rm -f conftest.$ac_objext
19370 if { (ac_try="$ac_compile"
19371 case "(($ac_try" in
19372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19373 *) ac_try_echo=$ac_try;;
19375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19376 (eval "$ac_compile") 2>conftest.er1
19378 grep -v '^ *+' conftest.er1 >conftest.err
19380 cat conftest.err >&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); } && {
19383 test -z "$ac_c_werror_flag" ||
19384 test ! -s conftest.err
19385 } && test -s conftest.$ac_objext; then
19386 ac_cv_member_struct_statfs_f_bavail=yes
19388 echo "$as_me: failed program was:" >&5
19389 sed 's/^/| /' conftest.$ac_ext >&5
19391 ac_cv_member_struct_statfs_f_bavail=no
19394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19399 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19400 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19401 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19403 cat >>confdefs.h <<_ACEOF
19404 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19409 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19410 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19411 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19412 echo $ECHO_N "(cached) $ECHO_C" >&6
19414 cat >conftest.$ac_ext <<_ACEOF
19417 cat confdefs.h >>conftest.$ac_ext
19418 cat >>conftest.$ac_ext <<_ACEOF
19419 /* end confdefs.h. */
19420 #include <sys/types.h>
19421 #ifdef HAVE_SYS_PARAM_H
19422 # include <sys/param.h>
19424 #ifdef HAVE_SYS_MOUNT_H
19425 # include <sys/mount.h>
19427 #ifdef HAVE_SYS_VFS_H
19428 # include <sys/vfs.h>
19430 #ifdef HAVE_SYS_STATFS_H
19431 # include <sys/statfs.h>
19437 static struct statfs ac_aggr;
19438 if (ac_aggr.f_frsize)
19444 rm -f conftest.$ac_objext
19445 if { (ac_try="$ac_compile"
19446 case "(($ac_try" in
19447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19448 *) ac_try_echo=$ac_try;;
19450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19451 (eval "$ac_compile") 2>conftest.er1
19453 grep -v '^ *+' conftest.er1 >conftest.err
19455 cat conftest.err >&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } && {
19458 test -z "$ac_c_werror_flag" ||
19459 test ! -s conftest.err
19460 } && test -s conftest.$ac_objext; then
19461 ac_cv_member_struct_statfs_f_frsize=yes
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.$ac_ext >&5
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_PARAM_H
19474 # include <sys/param.h>
19476 #ifdef HAVE_SYS_MOUNT_H
19477 # include <sys/mount.h>
19479 #ifdef HAVE_SYS_VFS_H
19480 # include <sys/vfs.h>
19482 #ifdef HAVE_SYS_STATFS_H
19483 # include <sys/statfs.h>
19489 static struct statfs ac_aggr;
19490 if (sizeof ac_aggr.f_frsize)
19496 rm -f conftest.$ac_objext
19497 if { (ac_try="$ac_compile"
19498 case "(($ac_try" in
19499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19500 *) ac_try_echo=$ac_try;;
19502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19503 (eval "$ac_compile") 2>conftest.er1
19505 grep -v '^ *+' conftest.er1 >conftest.err
19507 cat conftest.err >&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } && {
19510 test -z "$ac_c_werror_flag" ||
19511 test ! -s conftest.err
19512 } && test -s conftest.$ac_objext; then
19513 ac_cv_member_struct_statfs_f_frsize=yes
19515 echo "$as_me: failed program was:" >&5
19516 sed 's/^/| /' conftest.$ac_ext >&5
19518 ac_cv_member_struct_statfs_f_frsize=no
19521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19526 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19527 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19528 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19530 cat >>confdefs.h <<_ACEOF
19531 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19536 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19537 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19538 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19539 echo $ECHO_N "(cached) $ECHO_C" >&6
19541 cat >conftest.$ac_ext <<_ACEOF
19544 cat confdefs.h >>conftest.$ac_ext
19545 cat >>conftest.$ac_ext <<_ACEOF
19546 /* end confdefs.h. */
19547 #include <sys/types.h>
19548 #ifdef HAVE_SYS_PARAM_H
19549 # include <sys/param.h>
19551 #ifdef HAVE_SYS_MOUNT_H
19552 # include <sys/mount.h>
19554 #ifdef HAVE_SYS_VFS_H
19555 # include <sys/vfs.h>
19557 #ifdef HAVE_SYS_STATFS_H
19558 # include <sys/statfs.h>
19564 static struct statfs ac_aggr;
19565 if (ac_aggr.f_ffree)
19571 rm -f conftest.$ac_objext
19572 if { (ac_try="$ac_compile"
19573 case "(($ac_try" in
19574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19575 *) ac_try_echo=$ac_try;;
19577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19578 (eval "$ac_compile") 2>conftest.er1
19580 grep -v '^ *+' conftest.er1 >conftest.err
19582 cat conftest.err >&5
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); } && {
19585 test -z "$ac_c_werror_flag" ||
19586 test ! -s conftest.err
19587 } && test -s conftest.$ac_objext; then
19588 ac_cv_member_struct_statfs_f_ffree=yes
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.$ac_ext >&5
19593 cat >conftest.$ac_ext <<_ACEOF
19596 cat confdefs.h >>conftest.$ac_ext
19597 cat >>conftest.$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19599 #include <sys/types.h>
19600 #ifdef HAVE_SYS_PARAM_H
19601 # include <sys/param.h>
19603 #ifdef HAVE_SYS_MOUNT_H
19604 # include <sys/mount.h>
19606 #ifdef HAVE_SYS_VFS_H
19607 # include <sys/vfs.h>
19609 #ifdef HAVE_SYS_STATFS_H
19610 # include <sys/statfs.h>
19616 static struct statfs ac_aggr;
19617 if (sizeof ac_aggr.f_ffree)
19623 rm -f conftest.$ac_objext
19624 if { (ac_try="$ac_compile"
19625 case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_compile") 2>conftest.er1
19632 grep -v '^ *+' conftest.er1 >conftest.err
19634 cat conftest.err >&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } && {
19637 test -z "$ac_c_werror_flag" ||
19638 test ! -s conftest.err
19639 } && test -s conftest.$ac_objext; then
19640 ac_cv_member_struct_statfs_f_ffree=yes
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19645 ac_cv_member_struct_statfs_f_ffree=no
19648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19653 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19654 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19655 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19657 cat >>confdefs.h <<_ACEOF
19658 #define HAVE_STRUCT_STATFS_F_FFREE 1
19663 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19664 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19665 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19666 echo $ECHO_N "(cached) $ECHO_C" >&6
19668 cat >conftest.$ac_ext <<_ACEOF
19671 cat confdefs.h >>conftest.$ac_ext
19672 cat >>conftest.$ac_ext <<_ACEOF
19673 /* end confdefs.h. */
19674 #include <sys/types.h>
19675 #ifdef HAVE_SYS_PARAM_H
19676 # include <sys/param.h>
19678 #ifdef HAVE_SYS_MOUNT_H
19679 # include <sys/mount.h>
19681 #ifdef HAVE_SYS_VFS_H
19682 # include <sys/vfs.h>
19684 #ifdef HAVE_SYS_STATFS_H
19685 # include <sys/statfs.h>
19691 static struct statfs ac_aggr;
19692 if (ac_aggr.f_favail)
19698 rm -f conftest.$ac_objext
19699 if { (ac_try="$ac_compile"
19700 case "(($ac_try" in
19701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19702 *) ac_try_echo=$ac_try;;
19704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19705 (eval "$ac_compile") 2>conftest.er1
19707 grep -v '^ *+' conftest.er1 >conftest.err
19709 cat conftest.err >&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); } && {
19712 test -z "$ac_c_werror_flag" ||
19713 test ! -s conftest.err
19714 } && test -s conftest.$ac_objext; then
19715 ac_cv_member_struct_statfs_f_favail=yes
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19720 cat >conftest.$ac_ext <<_ACEOF
19723 cat confdefs.h >>conftest.$ac_ext
19724 cat >>conftest.$ac_ext <<_ACEOF
19725 /* end confdefs.h. */
19726 #include <sys/types.h>
19727 #ifdef HAVE_SYS_PARAM_H
19728 # include <sys/param.h>
19730 #ifdef HAVE_SYS_MOUNT_H
19731 # include <sys/mount.h>
19733 #ifdef HAVE_SYS_VFS_H
19734 # include <sys/vfs.h>
19736 #ifdef HAVE_SYS_STATFS_H
19737 # include <sys/statfs.h>
19743 static struct statfs ac_aggr;
19744 if (sizeof ac_aggr.f_favail)
19750 rm -f conftest.$ac_objext
19751 if { (ac_try="$ac_compile"
19752 case "(($ac_try" in
19753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19754 *) ac_try_echo=$ac_try;;
19756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19757 (eval "$ac_compile") 2>conftest.er1
19759 grep -v '^ *+' conftest.er1 >conftest.err
19761 cat conftest.err >&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); } && {
19764 test -z "$ac_c_werror_flag" ||
19765 test ! -s conftest.err
19766 } && test -s conftest.$ac_objext; then
19767 ac_cv_member_struct_statfs_f_favail=yes
19769 echo "$as_me: failed program was:" >&5
19770 sed 's/^/| /' conftest.$ac_ext >&5
19772 ac_cv_member_struct_statfs_f_favail=no
19775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19780 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19781 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19782 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19784 cat >>confdefs.h <<_ACEOF
19785 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19790 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19791 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19792 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19795 cat >conftest.$ac_ext <<_ACEOF
19798 cat confdefs.h >>conftest.$ac_ext
19799 cat >>conftest.$ac_ext <<_ACEOF
19800 /* end confdefs.h. */
19801 #include <sys/types.h>
19802 #ifdef HAVE_SYS_PARAM_H
19803 # include <sys/param.h>
19805 #ifdef HAVE_SYS_MOUNT_H
19806 # include <sys/mount.h>
19808 #ifdef HAVE_SYS_VFS_H
19809 # include <sys/vfs.h>
19811 #ifdef HAVE_SYS_STATFS_H
19812 # include <sys/statfs.h>
19818 static struct statfs ac_aggr;
19819 if (ac_aggr.f_namelen)
19825 rm -f conftest.$ac_objext
19826 if { (ac_try="$ac_compile"
19827 case "(($ac_try" in
19828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19829 *) ac_try_echo=$ac_try;;
19831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19832 (eval "$ac_compile") 2>conftest.er1
19834 grep -v '^ *+' conftest.er1 >conftest.err
19836 cat conftest.err >&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); } && {
19839 test -z "$ac_c_werror_flag" ||
19840 test ! -s conftest.err
19841 } && test -s conftest.$ac_objext; then
19842 ac_cv_member_struct_statfs_f_namelen=yes
19844 echo "$as_me: failed program was:" >&5
19845 sed 's/^/| /' conftest.$ac_ext >&5
19847 cat >conftest.$ac_ext <<_ACEOF
19850 cat confdefs.h >>conftest.$ac_ext
19851 cat >>conftest.$ac_ext <<_ACEOF
19852 /* end confdefs.h. */
19853 #include <sys/types.h>
19854 #ifdef HAVE_SYS_PARAM_H
19855 # include <sys/param.h>
19857 #ifdef HAVE_SYS_MOUNT_H
19858 # include <sys/mount.h>
19860 #ifdef HAVE_SYS_VFS_H
19861 # include <sys/vfs.h>
19863 #ifdef HAVE_SYS_STATFS_H
19864 # include <sys/statfs.h>
19870 static struct statfs ac_aggr;
19871 if (sizeof ac_aggr.f_namelen)
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_struct_statfs_f_namelen=yes
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.$ac_ext >&5
19899 ac_cv_member_struct_statfs_f_namelen=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_struct_statfs_f_namelen" >&5
19908 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19909 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19911 cat >>confdefs.h <<_ACEOF
19912 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19919 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19920 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19921 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19924 cat >conftest.$ac_ext <<_ACEOF
19927 cat confdefs.h >>conftest.$ac_ext
19928 cat >>conftest.$ac_ext <<_ACEOF
19929 /* end confdefs.h. */
19930 #ifdef HAVE_SYS_STATVFS_H
19931 #include <sys/statvfs.h>
19937 static struct statvfs ac_aggr;
19938 if (ac_aggr.f_blocks)
19944 rm -f conftest.$ac_objext
19945 if { (ac_try="$ac_compile"
19946 case "(($ac_try" in
19947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19948 *) ac_try_echo=$ac_try;;
19950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19951 (eval "$ac_compile") 2>conftest.er1
19953 grep -v '^ *+' conftest.er1 >conftest.err
19955 cat conftest.err >&5
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); } && {
19958 test -z "$ac_c_werror_flag" ||
19959 test ! -s conftest.err
19960 } && test -s conftest.$ac_objext; then
19961 ac_cv_member_struct_statvfs_f_blocks=yes
19963 echo "$as_me: failed program was:" >&5
19964 sed 's/^/| /' conftest.$ac_ext >&5
19966 cat >conftest.$ac_ext <<_ACEOF
19969 cat confdefs.h >>conftest.$ac_ext
19970 cat >>conftest.$ac_ext <<_ACEOF
19971 /* end confdefs.h. */
19972 #ifdef HAVE_SYS_STATVFS_H
19973 #include <sys/statvfs.h>
19979 static struct statvfs ac_aggr;
19980 if (sizeof ac_aggr.f_blocks)
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_struct_statvfs_f_blocks=yes
20005 echo "$as_me: failed program was:" >&5
20006 sed 's/^/| /' conftest.$ac_ext >&5
20008 ac_cv_member_struct_statvfs_f_blocks=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_struct_statvfs_f_blocks" >&5
20017 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
20018 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
20020 cat >>confdefs.h <<_ACEOF
20021 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
20028 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
20029 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
20030 if test "${ac_cv_member_struct_msghdr_msg_accrights+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 <sys/types.h>
20040 #ifdef HAVE_SYS_SOCKET_H
20041 # include <sys/socket.h>
20043 #ifdef HAVE_SYS_UN_H
20044 # include <sys/un.h>
20050 static struct msghdr ac_aggr;
20051 if (ac_aggr.msg_accrights)
20057 rm -f conftest.$ac_objext
20058 if { (ac_try="$ac_compile"
20059 case "(($ac_try" in
20060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20061 *) ac_try_echo=$ac_try;;
20063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20064 (eval "$ac_compile") 2>conftest.er1
20066 grep -v '^ *+' conftest.er1 >conftest.err
20068 cat conftest.err >&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } && {
20071 test -z "$ac_c_werror_flag" ||
20072 test ! -s conftest.err
20073 } && test -s conftest.$ac_objext; then
20074 ac_cv_member_struct_msghdr_msg_accrights=yes
20076 echo "$as_me: failed program was:" >&5
20077 sed 's/^/| /' conftest.$ac_ext >&5
20079 cat >conftest.$ac_ext <<_ACEOF
20082 cat confdefs.h >>conftest.$ac_ext
20083 cat >>conftest.$ac_ext <<_ACEOF
20084 /* end confdefs.h. */
20085 #include <sys/types.h>
20086 #ifdef HAVE_SYS_SOCKET_H
20087 # include <sys/socket.h>
20089 #ifdef HAVE_SYS_UN_H
20090 # include <sys/un.h>
20096 static struct msghdr ac_aggr;
20097 if (sizeof ac_aggr.msg_accrights)
20103 rm -f conftest.$ac_objext
20104 if { (ac_try="$ac_compile"
20105 case "(($ac_try" in
20106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20107 *) ac_try_echo=$ac_try;;
20109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20110 (eval "$ac_compile") 2>conftest.er1
20112 grep -v '^ *+' conftest.er1 >conftest.err
20114 cat conftest.err >&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); } && {
20117 test -z "$ac_c_werror_flag" ||
20118 test ! -s conftest.err
20119 } && test -s conftest.$ac_objext; then
20120 ac_cv_member_struct_msghdr_msg_accrights=yes
20122 echo "$as_me: failed program was:" >&5
20123 sed 's/^/| /' conftest.$ac_ext >&5
20125 ac_cv_member_struct_msghdr_msg_accrights=no
20128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20133 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
20134 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
20135 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
20137 cat >>confdefs.h <<_ACEOF
20138 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
20143 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
20144 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
20145 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
20146 echo $ECHO_N "(cached) $ECHO_C" >&6
20148 cat >conftest.$ac_ext <<_ACEOF
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20154 #include <sys/types.h>
20155 #ifdef HAVE_SYS_SOCKET_H
20156 # include <sys/socket.h>
20158 #ifdef HAVE_SYS_UN_H
20159 # include <sys/un.h>
20165 static struct sockaddr ac_aggr;
20166 if (ac_aggr.sa_len)
20172 rm -f conftest.$ac_objext
20173 if { (ac_try="$ac_compile"
20174 case "(($ac_try" in
20175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20176 *) ac_try_echo=$ac_try;;
20178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20179 (eval "$ac_compile") 2>conftest.er1
20181 grep -v '^ *+' conftest.er1 >conftest.err
20183 cat conftest.err >&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); } && {
20186 test -z "$ac_c_werror_flag" ||
20187 test ! -s conftest.err
20188 } && test -s conftest.$ac_objext; then
20189 ac_cv_member_struct_sockaddr_sa_len=yes
20191 echo "$as_me: failed program was:" >&5
20192 sed 's/^/| /' conftest.$ac_ext >&5
20194 cat >conftest.$ac_ext <<_ACEOF
20197 cat confdefs.h >>conftest.$ac_ext
20198 cat >>conftest.$ac_ext <<_ACEOF
20199 /* end confdefs.h. */
20200 #include <sys/types.h>
20201 #ifdef HAVE_SYS_SOCKET_H
20202 # include <sys/socket.h>
20204 #ifdef HAVE_SYS_UN_H
20205 # include <sys/un.h>
20211 static struct sockaddr ac_aggr;
20212 if (sizeof ac_aggr.sa_len)
20218 rm -f conftest.$ac_objext
20219 if { (ac_try="$ac_compile"
20220 case "(($ac_try" in
20221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20222 *) ac_try_echo=$ac_try;;
20224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20225 (eval "$ac_compile") 2>conftest.er1
20227 grep -v '^ *+' conftest.er1 >conftest.err
20229 cat conftest.err >&5
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); } && {
20232 test -z "$ac_c_werror_flag" ||
20233 test ! -s conftest.err
20234 } && test -s conftest.$ac_objext; then
20235 ac_cv_member_struct_sockaddr_sa_len=yes
20237 echo "$as_me: failed program was:" >&5
20238 sed 's/^/| /' conftest.$ac_ext >&5
20240 ac_cv_member_struct_sockaddr_sa_len=no
20243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20248 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
20249 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
20250 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
20252 cat >>confdefs.h <<_ACEOF
20253 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
20258 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
20259 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
20260 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
20261 echo $ECHO_N "(cached) $ECHO_C" >&6
20263 cat >conftest.$ac_ext <<_ACEOF
20266 cat confdefs.h >>conftest.$ac_ext
20267 cat >>conftest.$ac_ext <<_ACEOF
20268 /* end confdefs.h. */
20269 #include <sys/types.h>
20270 #ifdef HAVE_SYS_SOCKET_H
20271 # include <sys/socket.h>
20273 #ifdef HAVE_SYS_UN_H
20274 # include <sys/un.h>
20280 static struct sockaddr_un ac_aggr;
20281 if (ac_aggr.sun_len)
20287 rm -f conftest.$ac_objext
20288 if { (ac_try="$ac_compile"
20289 case "(($ac_try" in
20290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20291 *) ac_try_echo=$ac_try;;
20293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20294 (eval "$ac_compile") 2>conftest.er1
20296 grep -v '^ *+' conftest.er1 >conftest.err
20298 cat conftest.err >&5
20299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300 (exit $ac_status); } && {
20301 test -z "$ac_c_werror_flag" ||
20302 test ! -s conftest.err
20303 } && test -s conftest.$ac_objext; then
20304 ac_cv_member_struct_sockaddr_un_sun_len=yes
20306 echo "$as_me: failed program was:" >&5
20307 sed 's/^/| /' conftest.$ac_ext >&5
20309 cat >conftest.$ac_ext <<_ACEOF
20312 cat confdefs.h >>conftest.$ac_ext
20313 cat >>conftest.$ac_ext <<_ACEOF
20314 /* end confdefs.h. */
20315 #include <sys/types.h>
20316 #ifdef HAVE_SYS_SOCKET_H
20317 # include <sys/socket.h>
20319 #ifdef HAVE_SYS_UN_H
20320 # include <sys/un.h>
20326 static struct sockaddr_un ac_aggr;
20327 if (sizeof ac_aggr.sun_len)
20333 rm -f conftest.$ac_objext
20334 if { (ac_try="$ac_compile"
20335 case "(($ac_try" in
20336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20337 *) ac_try_echo=$ac_try;;
20339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20340 (eval "$ac_compile") 2>conftest.er1
20342 grep -v '^ *+' conftest.er1 >conftest.err
20344 cat conftest.err >&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); } && {
20347 test -z "$ac_c_werror_flag" ||
20348 test ! -s conftest.err
20349 } && test -s conftest.$ac_objext; then
20350 ac_cv_member_struct_sockaddr_un_sun_len=yes
20352 echo "$as_me: failed program was:" >&5
20353 sed 's/^/| /' conftest.$ac_ext >&5
20355 ac_cv_member_struct_sockaddr_un_sun_len=no
20358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20363 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20364 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20365 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20367 cat >>confdefs.h <<_ACEOF
20368 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20375 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20376 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20377 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20378 echo $ECHO_N "(cached) $ECHO_C" >&6
20380 cat >conftest.$ac_ext <<_ACEOF
20383 cat confdefs.h >>conftest.$ac_ext
20384 cat >>conftest.$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20386 #include <sys/types.h>
20387 #ifdef HAVE_SCSI_SG_H
20388 #include <scsi/sg.h>
20394 static scsireq_t ac_aggr;
20401 rm -f conftest.$ac_objext
20402 if { (ac_try="$ac_compile"
20403 case "(($ac_try" in
20404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20405 *) ac_try_echo=$ac_try;;
20407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20408 (eval "$ac_compile") 2>conftest.er1
20410 grep -v '^ *+' conftest.er1 >conftest.err
20412 cat conftest.err >&5
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); } && {
20415 test -z "$ac_c_werror_flag" ||
20416 test ! -s conftest.err
20417 } && test -s conftest.$ac_objext; then
20418 ac_cv_member_scsireq_t_cmd=yes
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.$ac_ext >&5
20423 cat >conftest.$ac_ext <<_ACEOF
20426 cat confdefs.h >>conftest.$ac_ext
20427 cat >>conftest.$ac_ext <<_ACEOF
20428 /* end confdefs.h. */
20429 #include <sys/types.h>
20430 #ifdef HAVE_SCSI_SG_H
20431 #include <scsi/sg.h>
20437 static scsireq_t ac_aggr;
20438 if (sizeof ac_aggr.cmd)
20444 rm -f conftest.$ac_objext
20445 if { (ac_try="$ac_compile"
20446 case "(($ac_try" in
20447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20448 *) ac_try_echo=$ac_try;;
20450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20451 (eval "$ac_compile") 2>conftest.er1
20453 grep -v '^ *+' conftest.er1 >conftest.err
20455 cat conftest.err >&5
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); } && {
20458 test -z "$ac_c_werror_flag" ||
20459 test ! -s conftest.err
20460 } && test -s conftest.$ac_objext; then
20461 ac_cv_member_scsireq_t_cmd=yes
20463 echo "$as_me: failed program was:" >&5
20464 sed 's/^/| /' conftest.$ac_ext >&5
20466 ac_cv_member_scsireq_t_cmd=no
20469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20474 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20475 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20476 if test $ac_cv_member_scsireq_t_cmd = yes; then
20478 cat >>confdefs.h <<_ACEOF
20479 #define HAVE_SCSIREQ_T_CMD 1
20484 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20485 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20486 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20487 echo $ECHO_N "(cached) $ECHO_C" >&6
20489 cat >conftest.$ac_ext <<_ACEOF
20492 cat confdefs.h >>conftest.$ac_ext
20493 cat >>conftest.$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20495 #include <sys/types.h>
20496 #ifdef HAVE_SCSI_SG_H
20497 #include <scsi/sg.h>
20503 static sg_io_hdr_t ac_aggr;
20504 if (ac_aggr.interface_id)
20510 rm -f conftest.$ac_objext
20511 if { (ac_try="$ac_compile"
20512 case "(($ac_try" in
20513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20514 *) ac_try_echo=$ac_try;;
20516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20517 (eval "$ac_compile") 2>conftest.er1
20519 grep -v '^ *+' conftest.er1 >conftest.err
20521 cat conftest.err >&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } && {
20524 test -z "$ac_c_werror_flag" ||
20525 test ! -s conftest.err
20526 } && test -s conftest.$ac_objext; then
20527 ac_cv_member_sg_io_hdr_t_interface_id=yes
20529 echo "$as_me: failed program was:" >&5
20530 sed 's/^/| /' conftest.$ac_ext >&5
20532 cat >conftest.$ac_ext <<_ACEOF
20535 cat confdefs.h >>conftest.$ac_ext
20536 cat >>conftest.$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20538 #include <sys/types.h>
20539 #ifdef HAVE_SCSI_SG_H
20540 #include <scsi/sg.h>
20546 static sg_io_hdr_t ac_aggr;
20547 if (sizeof ac_aggr.interface_id)
20553 rm -f conftest.$ac_objext
20554 if { (ac_try="$ac_compile"
20555 case "(($ac_try" in
20556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20557 *) ac_try_echo=$ac_try;;
20559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20560 (eval "$ac_compile") 2>conftest.er1
20562 grep -v '^ *+' conftest.er1 >conftest.err
20564 cat conftest.err >&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); } && {
20567 test -z "$ac_c_werror_flag" ||
20568 test ! -s conftest.err
20569 } && test -s conftest.$ac_objext; then
20570 ac_cv_member_sg_io_hdr_t_interface_id=yes
20572 echo "$as_me: failed program was:" >&5
20573 sed 's/^/| /' conftest.$ac_ext >&5
20575 ac_cv_member_sg_io_hdr_t_interface_id=no
20578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20583 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20584 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20585 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20587 cat >>confdefs.h <<_ACEOF
20588 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20595 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20596 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20597 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20598 echo $ECHO_N "(cached) $ECHO_C" >&6
20600 cat >conftest.$ac_ext <<_ACEOF
20603 cat confdefs.h >>conftest.$ac_ext
20604 cat >>conftest.$ac_ext <<_ACEOF
20605 /* end confdefs.h. */
20606 #include <signal.h>
20611 static siginfo_t ac_aggr;
20618 rm -f conftest.$ac_objext
20619 if { (ac_try="$ac_compile"
20620 case "(($ac_try" in
20621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20622 *) ac_try_echo=$ac_try;;
20624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20625 (eval "$ac_compile") 2>conftest.er1
20627 grep -v '^ *+' conftest.er1 >conftest.err
20629 cat conftest.err >&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); } && {
20632 test -z "$ac_c_werror_flag" ||
20633 test ! -s conftest.err
20634 } && test -s conftest.$ac_objext; then
20635 ac_cv_member_siginfo_t_si_fd=yes
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.$ac_ext >&5
20640 cat >conftest.$ac_ext <<_ACEOF
20643 cat confdefs.h >>conftest.$ac_ext
20644 cat >>conftest.$ac_ext <<_ACEOF
20645 /* end confdefs.h. */
20646 #include <signal.h>
20651 static siginfo_t ac_aggr;
20652 if (sizeof ac_aggr.si_fd)
20658 rm -f conftest.$ac_objext
20659 if { (ac_try="$ac_compile"
20660 case "(($ac_try" in
20661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20662 *) ac_try_echo=$ac_try;;
20664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20665 (eval "$ac_compile") 2>conftest.er1
20667 grep -v '^ *+' conftest.er1 >conftest.err
20669 cat conftest.err >&5
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); } && {
20672 test -z "$ac_c_werror_flag" ||
20673 test ! -s conftest.err
20674 } && test -s conftest.$ac_objext; then
20675 ac_cv_member_siginfo_t_si_fd=yes
20677 echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20680 ac_cv_member_siginfo_t_si_fd=no
20683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20688 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20689 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20690 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20692 cat >>confdefs.h <<_ACEOF
20693 #define HAVE_SIGINFO_T_SI_FD 1
20700 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20701 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20702 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20703 echo $ECHO_N "(cached) $ECHO_C" >&6
20705 cat >conftest.$ac_ext <<_ACEOF
20708 cat confdefs.h >>conftest.$ac_ext
20709 cat >>conftest.$ac_ext <<_ACEOF
20710 /* end confdefs.h. */
20711 #include <sys/types.h>
20712 #ifdef HAVE_SYS_MTIO_H
20713 #include <sys/mtio.h>
20719 static struct mtget ac_aggr;
20720 if (ac_aggr.mt_blksiz)
20726 rm -f conftest.$ac_objext
20727 if { (ac_try="$ac_compile"
20728 case "(($ac_try" in
20729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20730 *) ac_try_echo=$ac_try;;
20732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20733 (eval "$ac_compile") 2>conftest.er1
20735 grep -v '^ *+' conftest.er1 >conftest.err
20737 cat conftest.err >&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && {
20740 test -z "$ac_c_werror_flag" ||
20741 test ! -s conftest.err
20742 } && test -s conftest.$ac_objext; then
20743 ac_cv_member_struct_mtget_mt_blksiz=yes
20745 echo "$as_me: failed program was:" >&5
20746 sed 's/^/| /' conftest.$ac_ext >&5
20748 cat >conftest.$ac_ext <<_ACEOF
20751 cat confdefs.h >>conftest.$ac_ext
20752 cat >>conftest.$ac_ext <<_ACEOF
20753 /* end confdefs.h. */
20754 #include <sys/types.h>
20755 #ifdef HAVE_SYS_MTIO_H
20756 #include <sys/mtio.h>
20762 static struct mtget ac_aggr;
20763 if (sizeof ac_aggr.mt_blksiz)
20769 rm -f conftest.$ac_objext
20770 if { (ac_try="$ac_compile"
20771 case "(($ac_try" in
20772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20773 *) ac_try_echo=$ac_try;;
20775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20776 (eval "$ac_compile") 2>conftest.er1
20778 grep -v '^ *+' conftest.er1 >conftest.err
20780 cat conftest.err >&5
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); } && {
20783 test -z "$ac_c_werror_flag" ||
20784 test ! -s conftest.err
20785 } && test -s conftest.$ac_objext; then
20786 ac_cv_member_struct_mtget_mt_blksiz=yes
20788 echo "$as_me: failed program was:" >&5
20789 sed 's/^/| /' conftest.$ac_ext >&5
20791 ac_cv_member_struct_mtget_mt_blksiz=no
20794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20799 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20800 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20801 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20803 cat >>confdefs.h <<_ACEOF
20804 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20809 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20810 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20811 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20812 echo $ECHO_N "(cached) $ECHO_C" >&6
20814 cat >conftest.$ac_ext <<_ACEOF
20817 cat confdefs.h >>conftest.$ac_ext
20818 cat >>conftest.$ac_ext <<_ACEOF
20819 /* end confdefs.h. */
20820 #include <sys/types.h>
20821 #ifdef HAVE_SYS_MTIO_H
20822 #include <sys/mtio.h>
20828 static struct mtget ac_aggr;
20829 if (ac_aggr.mt_gstat)
20835 rm -f conftest.$ac_objext
20836 if { (ac_try="$ac_compile"
20837 case "(($ac_try" in
20838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20839 *) ac_try_echo=$ac_try;;
20841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20842 (eval "$ac_compile") 2>conftest.er1
20844 grep -v '^ *+' conftest.er1 >conftest.err
20846 cat conftest.err >&5
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); } && {
20849 test -z "$ac_c_werror_flag" ||
20850 test ! -s conftest.err
20851 } && test -s conftest.$ac_objext; then
20852 ac_cv_member_struct_mtget_mt_gstat=yes
20854 echo "$as_me: failed program was:" >&5
20855 sed 's/^/| /' conftest.$ac_ext >&5
20857 cat >conftest.$ac_ext <<_ACEOF
20860 cat confdefs.h >>conftest.$ac_ext
20861 cat >>conftest.$ac_ext <<_ACEOF
20862 /* end confdefs.h. */
20863 #include <sys/types.h>
20864 #ifdef HAVE_SYS_MTIO_H
20865 #include <sys/mtio.h>
20871 static struct mtget ac_aggr;
20872 if (sizeof ac_aggr.mt_gstat)
20878 rm -f conftest.$ac_objext
20879 if { (ac_try="$ac_compile"
20880 case "(($ac_try" in
20881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20882 *) ac_try_echo=$ac_try;;
20884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20885 (eval "$ac_compile") 2>conftest.er1
20887 grep -v '^ *+' conftest.er1 >conftest.err
20889 cat conftest.err >&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); } && {
20892 test -z "$ac_c_werror_flag" ||
20893 test ! -s conftest.err
20894 } && test -s conftest.$ac_objext; then
20895 ac_cv_member_struct_mtget_mt_gstat=yes
20897 echo "$as_me: failed program was:" >&5
20898 sed 's/^/| /' conftest.$ac_ext >&5
20900 ac_cv_member_struct_mtget_mt_gstat=no
20903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20908 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20909 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20910 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20912 cat >>confdefs.h <<_ACEOF
20913 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20918 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20919 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20920 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20921 echo $ECHO_N "(cached) $ECHO_C" >&6
20923 cat >conftest.$ac_ext <<_ACEOF
20926 cat confdefs.h >>conftest.$ac_ext
20927 cat >>conftest.$ac_ext <<_ACEOF
20928 /* end confdefs.h. */
20929 #include <sys/types.h>
20930 #ifdef HAVE_SYS_MTIO_H
20931 #include <sys/mtio.h>
20937 static struct mtget ac_aggr;
20938 if (ac_aggr.mt_blkno)
20944 rm -f conftest.$ac_objext
20945 if { (ac_try="$ac_compile"
20946 case "(($ac_try" in
20947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20948 *) ac_try_echo=$ac_try;;
20950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20951 (eval "$ac_compile") 2>conftest.er1
20953 grep -v '^ *+' conftest.er1 >conftest.err
20955 cat conftest.err >&5
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); } && {
20958 test -z "$ac_c_werror_flag" ||
20959 test ! -s conftest.err
20960 } && test -s conftest.$ac_objext; then
20961 ac_cv_member_struct_mtget_mt_blkno=yes
20963 echo "$as_me: failed program was:" >&5
20964 sed 's/^/| /' conftest.$ac_ext >&5
20966 cat >conftest.$ac_ext <<_ACEOF
20969 cat confdefs.h >>conftest.$ac_ext
20970 cat >>conftest.$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20972 #include <sys/types.h>
20973 #ifdef HAVE_SYS_MTIO_H
20974 #include <sys/mtio.h>
20980 static struct mtget ac_aggr;
20981 if (sizeof ac_aggr.mt_blkno)
20987 rm -f conftest.$ac_objext
20988 if { (ac_try="$ac_compile"
20989 case "(($ac_try" in
20990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20991 *) ac_try_echo=$ac_try;;
20993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20994 (eval "$ac_compile") 2>conftest.er1
20996 grep -v '^ *+' conftest.er1 >conftest.err
20998 cat conftest.err >&5
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); } && {
21001 test -z "$ac_c_werror_flag" ||
21002 test ! -s conftest.err
21003 } && test -s conftest.$ac_objext; then
21004 ac_cv_member_struct_mtget_mt_blkno=yes
21006 echo "$as_me: failed program was:" >&5
21007 sed 's/^/| /' conftest.$ac_ext >&5
21009 ac_cv_member_struct_mtget_mt_blkno=no
21012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21017 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
21018 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
21019 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
21021 cat >>confdefs.h <<_ACEOF
21022 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
21029 { echo "$as_me:$LINENO: checking for struct option.name" >&5
21030 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
21031 if test "${ac_cv_member_struct_option_name+set}" = set; then
21032 echo $ECHO_N "(cached) $ECHO_C" >&6
21034 cat >conftest.$ac_ext <<_ACEOF
21037 cat confdefs.h >>conftest.$ac_ext
21038 cat >>conftest.$ac_ext <<_ACEOF
21039 /* end confdefs.h. */
21040 #ifdef HAVE_GETOPT_H
21041 #include <getopt.h>
21047 static struct option ac_aggr;
21054 rm -f conftest.$ac_objext
21055 if { (ac_try="$ac_compile"
21056 case "(($ac_try" in
21057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21058 *) ac_try_echo=$ac_try;;
21060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21061 (eval "$ac_compile") 2>conftest.er1
21063 grep -v '^ *+' conftest.er1 >conftest.err
21065 cat conftest.err >&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } && {
21068 test -z "$ac_c_werror_flag" ||
21069 test ! -s conftest.err
21070 } && test -s conftest.$ac_objext; then
21071 ac_cv_member_struct_option_name=yes
21073 echo "$as_me: failed program was:" >&5
21074 sed 's/^/| /' conftest.$ac_ext >&5
21076 cat >conftest.$ac_ext <<_ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 #ifdef HAVE_GETOPT_H
21083 #include <getopt.h>
21089 static struct option ac_aggr;
21090 if (sizeof ac_aggr.name)
21096 rm -f conftest.$ac_objext
21097 if { (ac_try="$ac_compile"
21098 case "(($ac_try" in
21099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21100 *) ac_try_echo=$ac_try;;
21102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21103 (eval "$ac_compile") 2>conftest.er1
21105 grep -v '^ *+' conftest.er1 >conftest.err
21107 cat conftest.err >&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } && {
21110 test -z "$ac_c_werror_flag" ||
21111 test ! -s conftest.err
21112 } && test -s conftest.$ac_objext; then
21113 ac_cv_member_struct_option_name=yes
21115 echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.$ac_ext >&5
21118 ac_cv_member_struct_option_name=no
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21126 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
21127 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
21128 if test $ac_cv_member_struct_option_name = yes; then
21130 cat >>confdefs.h <<_ACEOF
21131 #define HAVE_STRUCT_OPTION_NAME 1
21138 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
21139 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
21140 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
21141 echo $ECHO_N "(cached) $ECHO_C" >&6
21143 cat >conftest.$ac_ext <<_ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 $ac_includes_default
21153 static struct stat ac_aggr;
21154 if (ac_aggr.st_blocks)
21160 rm -f conftest.$ac_objext
21161 if { (ac_try="$ac_compile"
21162 case "(($ac_try" in
21163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21164 *) ac_try_echo=$ac_try;;
21166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21167 (eval "$ac_compile") 2>conftest.er1
21169 grep -v '^ *+' conftest.er1 >conftest.err
21171 cat conftest.err >&5
21172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173 (exit $ac_status); } && {
21174 test -z "$ac_c_werror_flag" ||
21175 test ! -s conftest.err
21176 } && test -s conftest.$ac_objext; then
21177 ac_cv_member_struct_stat_st_blocks=yes
21179 echo "$as_me: failed program was:" >&5
21180 sed 's/^/| /' conftest.$ac_ext >&5
21182 cat >conftest.$ac_ext <<_ACEOF
21185 cat confdefs.h >>conftest.$ac_ext
21186 cat >>conftest.$ac_ext <<_ACEOF
21187 /* end confdefs.h. */
21188 $ac_includes_default
21192 static struct stat ac_aggr;
21193 if (sizeof ac_aggr.st_blocks)
21199 rm -f conftest.$ac_objext
21200 if { (ac_try="$ac_compile"
21201 case "(($ac_try" in
21202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21203 *) ac_try_echo=$ac_try;;
21205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21206 (eval "$ac_compile") 2>conftest.er1
21208 grep -v '^ *+' conftest.er1 >conftest.err
21210 cat conftest.err >&5
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); } && {
21213 test -z "$ac_c_werror_flag" ||
21214 test ! -s conftest.err
21215 } && test -s conftest.$ac_objext; then
21216 ac_cv_member_struct_stat_st_blocks=yes
21218 echo "$as_me: failed program was:" >&5
21219 sed 's/^/| /' conftest.$ac_ext >&5
21221 ac_cv_member_struct_stat_st_blocks=no
21224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21229 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
21230 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
21231 if test $ac_cv_member_struct_stat_st_blocks = yes; then
21233 cat >>confdefs.h <<_ACEOF
21234 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
21241 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
21242 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
21243 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
21244 echo $ECHO_N "(cached) $ECHO_C" >&6
21246 cat >conftest.$ac_ext <<_ACEOF
21249 cat confdefs.h >>conftest.$ac_ext
21250 cat >>conftest.$ac_ext <<_ACEOF
21251 /* end confdefs.h. */
21252 #ifdef HAVE_SYS_TYPES_H
21253 #include <sys/types.h>
21255 #ifdef HAVE_NETINET_IN_H
21256 #include <netinet/in.h>
21262 static struct sockaddr_in6 ac_aggr;
21263 if (ac_aggr.sin6_scope_id)
21269 rm -f conftest.$ac_objext
21270 if { (ac_try="$ac_compile"
21271 case "(($ac_try" in
21272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21273 *) ac_try_echo=$ac_try;;
21275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21276 (eval "$ac_compile") 2>conftest.er1
21278 grep -v '^ *+' conftest.er1 >conftest.err
21280 cat conftest.err >&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } && {
21283 test -z "$ac_c_werror_flag" ||
21284 test ! -s conftest.err
21285 } && test -s conftest.$ac_objext; then
21286 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21288 echo "$as_me: failed program was:" >&5
21289 sed 's/^/| /' conftest.$ac_ext >&5
21291 cat >conftest.$ac_ext <<_ACEOF
21294 cat confdefs.h >>conftest.$ac_ext
21295 cat >>conftest.$ac_ext <<_ACEOF
21296 /* end confdefs.h. */
21297 #ifdef HAVE_SYS_TYPES_H
21298 #include <sys/types.h>
21300 #ifdef HAVE_NETINET_IN_H
21301 #include <netinet/in.h>
21307 static struct sockaddr_in6 ac_aggr;
21308 if (sizeof ac_aggr.sin6_scope_id)
21314 rm -f conftest.$ac_objext
21315 if { (ac_try="$ac_compile"
21316 case "(($ac_try" in
21317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21318 *) ac_try_echo=$ac_try;;
21320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21321 (eval "$ac_compile") 2>conftest.er1
21323 grep -v '^ *+' conftest.er1 >conftest.err
21325 cat conftest.err >&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); } && {
21328 test -z "$ac_c_werror_flag" ||
21329 test ! -s conftest.err
21330 } && test -s conftest.$ac_objext; then
21331 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21333 echo "$as_me: failed program was:" >&5
21334 sed 's/^/| /' conftest.$ac_ext >&5
21336 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
21339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21344 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21345 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21346 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21348 cat >>confdefs.h <<_ACEOF
21349 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21356 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21357 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21358 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21359 echo $ECHO_N "(cached) $ECHO_C" >&6
21361 cat >conftest.$ac_ext <<_ACEOF
21364 cat confdefs.h >>conftest.$ac_ext
21365 cat >>conftest.$ac_ext <<_ACEOF
21366 /* end confdefs.h. */
21367 #ifdef HAVE_SYS_TYPES_H
21368 #include <sys/types.h>
21370 #ifdef HAVE_NETINET_IN_H
21371 # include <netinet/in.h>
21373 #ifdef HAVE_ARPA_NAMESER_H
21374 # include <arpa/nameser.h>
21380 static ns_msg ac_aggr;
21381 if (ac_aggr._msg_ptr)
21387 rm -f conftest.$ac_objext
21388 if { (ac_try="$ac_compile"
21389 case "(($ac_try" in
21390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21391 *) ac_try_echo=$ac_try;;
21393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21394 (eval "$ac_compile") 2>conftest.er1
21396 grep -v '^ *+' conftest.er1 >conftest.err
21398 cat conftest.err >&5
21399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21400 (exit $ac_status); } && {
21401 test -z "$ac_c_werror_flag" ||
21402 test ! -s conftest.err
21403 } && test -s conftest.$ac_objext; then
21404 ac_cv_member_ns_msg__msg_ptr=yes
21406 echo "$as_me: failed program was:" >&5
21407 sed 's/^/| /' conftest.$ac_ext >&5
21409 cat >conftest.$ac_ext <<_ACEOF
21412 cat confdefs.h >>conftest.$ac_ext
21413 cat >>conftest.$ac_ext <<_ACEOF
21414 /* end confdefs.h. */
21415 #ifdef HAVE_SYS_TYPES_H
21416 #include <sys/types.h>
21418 #ifdef HAVE_NETINET_IN_H
21419 # include <netinet/in.h>
21421 #ifdef HAVE_ARPA_NAMESER_H
21422 # include <arpa/nameser.h>
21428 static ns_msg ac_aggr;
21429 if (sizeof ac_aggr._msg_ptr)
21435 rm -f conftest.$ac_objext
21436 if { (ac_try="$ac_compile"
21437 case "(($ac_try" in
21438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21439 *) ac_try_echo=$ac_try;;
21441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21442 (eval "$ac_compile") 2>conftest.er1
21444 grep -v '^ *+' conftest.er1 >conftest.err
21446 cat conftest.err >&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } && {
21449 test -z "$ac_c_werror_flag" ||
21450 test ! -s conftest.err
21451 } && test -s conftest.$ac_objext; then
21452 ac_cv_member_ns_msg__msg_ptr=yes
21454 echo "$as_me: failed program was:" >&5
21455 sed 's/^/| /' conftest.$ac_ext >&5
21457 ac_cv_member_ns_msg__msg_ptr=no
21460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21465 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21466 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21467 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21469 cat >>confdefs.h <<_ACEOF
21470 #define HAVE_NS_MSG__MSG_PTR 1
21477 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21478 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21479 if test "${ac_cv_have_timezone+set}" = set; then
21480 echo $ECHO_N "(cached) $ECHO_C" >&6
21482 cat >conftest.$ac_ext <<_ACEOF
21485 cat confdefs.h >>conftest.$ac_ext
21486 cat >>conftest.$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21497 rm -f conftest.$ac_objext conftest$ac_exeext
21498 if { (ac_try="$ac_link"
21499 case "(($ac_try" in
21500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_link") 2>conftest.er1
21506 grep -v '^ *+' conftest.er1 >conftest.err
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } && {
21511 test -z "$ac_c_werror_flag" ||
21512 test ! -s conftest.err
21513 } && test -s conftest$ac_exeext &&
21514 $as_test_x conftest$ac_exeext; then
21515 ac_cv_have_timezone="yes"
21517 echo "$as_me: failed program was:" >&5
21518 sed 's/^/| /' conftest.$ac_ext >&5
21520 ac_cv_have_timezone="no"
21523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21524 conftest$ac_exeext conftest.$ac_ext
21526 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21527 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21528 if test "$ac_cv_have_timezone" = "yes"
21531 cat >>confdefs.h <<\_ACEOF
21532 #define HAVE_TIMEZONE 1
21536 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21537 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21538 if test "${ac_cv_have_daylight+set}" = set; then
21539 echo $ECHO_N "(cached) $ECHO_C" >&6
21541 cat >conftest.$ac_ext <<_ACEOF
21544 cat confdefs.h >>conftest.$ac_ext
21545 cat >>conftest.$ac_ext <<_ACEOF
21546 /* end confdefs.h. */
21556 rm -f conftest.$ac_objext conftest$ac_exeext
21557 if { (ac_try="$ac_link"
21558 case "(($ac_try" in
21559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21560 *) ac_try_echo=$ac_try;;
21562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21563 (eval "$ac_link") 2>conftest.er1
21565 grep -v '^ *+' conftest.er1 >conftest.err
21567 cat conftest.err >&5
21568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21569 (exit $ac_status); } && {
21570 test -z "$ac_c_werror_flag" ||
21571 test ! -s conftest.err
21572 } && test -s conftest$ac_exeext &&
21573 $as_test_x conftest$ac_exeext; then
21574 ac_cv_have_daylight="yes"
21576 echo "$as_me: failed program was:" >&5
21577 sed 's/^/| /' conftest.$ac_ext >&5
21579 ac_cv_have_daylight="no"
21582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21583 conftest$ac_exeext conftest.$ac_ext
21585 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21586 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21587 if test "$ac_cv_have_daylight" = "yes"
21590 cat >>confdefs.h <<\_ACEOF
21591 #define HAVE_DAYLIGHT 1
21596 { echo "$as_me:$LINENO: checking for isinf" >&5
21597 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21598 if test "${ac_cv_have_isinf+set}" = set; then
21599 echo $ECHO_N "(cached) $ECHO_C" >&6
21601 cat >conftest.$ac_ext <<_ACEOF
21604 cat confdefs.h >>conftest.$ac_ext
21605 cat >>conftest.$ac_ext <<_ACEOF
21606 /* end confdefs.h. */
21611 float f = 0.0; int i=isinf(f)
21616 rm -f conftest.$ac_objext conftest$ac_exeext
21617 if { (ac_try="$ac_link"
21618 case "(($ac_try" in
21619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21620 *) ac_try_echo=$ac_try;;
21622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21623 (eval "$ac_link") 2>conftest.er1
21625 grep -v '^ *+' conftest.er1 >conftest.err
21627 cat conftest.err >&5
21628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629 (exit $ac_status); } && {
21630 test -z "$ac_c_werror_flag" ||
21631 test ! -s conftest.err
21632 } && test -s conftest$ac_exeext &&
21633 $as_test_x conftest$ac_exeext; then
21634 ac_cv_have_isinf="yes"
21636 echo "$as_me: failed program was:" >&5
21637 sed 's/^/| /' conftest.$ac_ext >&5
21639 ac_cv_have_isinf="no"
21642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21643 conftest$ac_exeext conftest.$ac_ext
21645 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21646 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21647 if test "$ac_cv_have_isinf" = "yes"
21650 cat >>confdefs.h <<\_ACEOF
21651 #define HAVE_ISINF 1
21658 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21659 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21660 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21661 echo $ECHO_N "(cached) $ECHO_C" >&6
21663 cat >conftest.$ac_ext <<_ACEOF
21666 cat confdefs.h >>conftest.$ac_ext
21667 cat >>conftest.$ac_ext <<_ACEOF
21668 /* end confdefs.h. */
21673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21674 $EGREP "yes" >/dev/null 2>&1; then
21675 ac_cv_cpp_def___i386__=yes
21677 ac_cv_cpp_def___i386__=no
21682 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21683 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21684 if test $ac_cv_cpp_def___i386__ = yes; then
21685 CFLAGS="$CFLAGS -D__i386__"
21686 LINTFLAGS="$LINTFLAGS -D__i386__"
21689 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21690 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21691 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21692 echo $ECHO_N "(cached) $ECHO_C" >&6
21694 cat >conftest.$ac_ext <<_ACEOF
21697 cat confdefs.h >>conftest.$ac_ext
21698 cat >>conftest.$ac_ext <<_ACEOF
21699 /* end confdefs.h. */
21704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21705 $EGREP "yes" >/dev/null 2>&1; then
21706 ac_cv_cpp_def___x86_64__=yes
21708 ac_cv_cpp_def___x86_64__=no
21713 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21714 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21715 if test $ac_cv_cpp_def___x86_64__ = yes; then
21716 CFLAGS="$CFLAGS -D__x86_64__"
21717 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21720 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21721 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21722 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21723 echo $ECHO_N "(cached) $ECHO_C" >&6
21725 cat >conftest.$ac_ext <<_ACEOF
21728 cat confdefs.h >>conftest.$ac_ext
21729 cat >>conftest.$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21736 $EGREP "yes" >/dev/null 2>&1; then
21737 ac_cv_cpp_def___ALPHA__=yes
21739 ac_cv_cpp_def___ALPHA__=no
21744 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21745 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21746 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21747 CFLAGS="$CFLAGS -D__ALPHA__"
21748 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21751 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21752 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21753 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21754 echo $ECHO_N "(cached) $ECHO_C" >&6
21756 cat >conftest.$ac_ext <<_ACEOF
21759 cat confdefs.h >>conftest.$ac_ext
21760 cat >>conftest.$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21767 $EGREP "yes" >/dev/null 2>&1; then
21768 ac_cv_cpp_def___sparc__=yes
21770 ac_cv_cpp_def___sparc__=no
21775 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21776 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21777 if test $ac_cv_cpp_def___sparc__ = yes; then
21778 CFLAGS="$CFLAGS -D__sparc__"
21779 LINTFLAGS="$LINTFLAGS -D__sparc__"
21782 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21783 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21784 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21785 echo $ECHO_N "(cached) $ECHO_C" >&6
21787 cat >conftest.$ac_ext <<_ACEOF
21790 cat confdefs.h >>conftest.$ac_ext
21791 cat >>conftest.$ac_ext <<_ACEOF
21792 /* end confdefs.h. */
21793 #ifndef __powerpc__
21797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21798 $EGREP "yes" >/dev/null 2>&1; then
21799 ac_cv_cpp_def___powerpc__=yes
21801 ac_cv_cpp_def___powerpc__=no
21806 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21807 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21808 if test $ac_cv_cpp_def___powerpc__ = yes; then
21809 CFLAGS="$CFLAGS -D__powerpc__"
21810 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21815 case $host_vendor in
21816 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21817 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21818 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21819 echo $ECHO_N "(cached) $ECHO_C" >&6
21821 cat >conftest.$ac_ext <<_ACEOF
21824 cat confdefs.h >>conftest.$ac_ext
21825 cat >>conftest.$ac_ext <<_ACEOF
21826 /* end confdefs.h. */
21831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21832 $EGREP "yes" >/dev/null 2>&1; then
21833 ac_cv_cpp_def___sun__=yes
21835 ac_cv_cpp_def___sun__=no
21840 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21841 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21842 if test $ac_cv_cpp_def___sun__ = yes; then
21843 CFLAGS="$CFLAGS -D__sun__"
21844 LINTFLAGS="$LINTFLAGS -D__sun__"
21850 DEPENDENCIES="### Dependencies:
21855 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21857 \$(OBJS): \$(IDL_GEN_HEADERS)
21858 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21859 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21860 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21861 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21867 ac_config_commands="$ac_config_commands include/stamp-h"
21870 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21872 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21874 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21876 ac_config_commands="$ac_config_commands dlls/user32/resources"
21878 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21880 ac_config_commands="$ac_config_commands include/wine"
21883 MAKE_RULES=Make.rules
21886 MAKE_DLL_RULES=dlls/Makedll.rules
21889 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21892 MAKE_TEST_RULES=dlls/Maketest.rules
21895 MAKE_PROG_RULES=programs/Makeprog.rules
21898 ac_config_files="$ac_config_files Make.rules"
21900 ac_config_files="$ac_config_files dlls/Makedll.rules"
21902 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21904 ac_config_files="$ac_config_files dlls/Maketest.rules"
21906 ac_config_files="$ac_config_files programs/Makeprog.rules"
21908 ac_config_files="$ac_config_files Makefile"
21910 ac_config_files="$ac_config_files dlls/Makefile"
21912 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21914 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21916 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21918 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21920 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21922 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21924 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21926 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21928 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21930 ac_config_files="$ac_config_files dlls/appwiz.cpl/Makefile"
21932 ac_config_files="$ac_config_files dlls/atl/Makefile"
21934 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21936 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21938 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21940 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21942 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21944 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21946 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21948 ac_config_files="$ac_config_files dlls/cards/Makefile"
21950 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21952 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21954 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21956 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21958 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21960 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21962 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21964 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21966 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21968 ac_config_files="$ac_config_files dlls/credui/Makefile"
21970 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21972 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21974 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21976 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21978 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21980 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21982 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21984 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21986 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21988 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21990 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21992 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21994 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21996 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21998 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
22000 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
22002 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
22004 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
22006 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
22008 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
22010 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
22012 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
22014 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
22016 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
22018 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
22020 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
22022 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
22024 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
22026 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
22028 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
22030 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
22032 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
22034 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
22036 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
22038 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
22040 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
22042 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
22044 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
22046 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
22048 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
22050 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
22052 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
22054 ac_config_files="$ac_config_files dlls/devenum/Makefile"
22056 ac_config_files="$ac_config_files dlls/dinput/Makefile"
22058 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
22060 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
22062 ac_config_files="$ac_config_files dlls/dmband/Makefile"
22064 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
22066 ac_config_files="$ac_config_files dlls/dmime/Makefile"
22068 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
22070 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
22072 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
22074 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
22076 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
22078 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
22080 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
22082 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
22084 ac_config_files="$ac_config_files dlls/dplay/Makefile"
22086 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
22088 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
22090 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
22092 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
22094 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
22096 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
22098 ac_config_files="$ac_config_files dlls/dpwsockx/Makefile"
22100 ac_config_files="$ac_config_files dlls/dsound/Makefile"
22102 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
22104 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
22106 ac_config_files="$ac_config_files dlls/dswave/Makefile"
22108 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
22110 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
22112 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
22114 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
22116 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
22118 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
22120 ac_config_files="$ac_config_files dlls/fusion/Makefile"
22122 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
22124 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
22126 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
22128 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
22130 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
22132 ac_config_files="$ac_config_files dlls/glu32/Makefile"
22134 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
22136 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
22138 ac_config_files="$ac_config_files dlls/hal/Makefile"
22140 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
22142 ac_config_files="$ac_config_files dlls/hid/Makefile"
22144 ac_config_files="$ac_config_files dlls/hlink/Makefile"
22146 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
22148 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
22150 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
22152 ac_config_files="$ac_config_files dlls/icmp/Makefile"
22154 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
22156 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
22158 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
22160 ac_config_files="$ac_config_files dlls/imm32/Makefile"
22162 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
22164 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
22166 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
22168 ac_config_files="$ac_config_files dlls/inetmib1/Makefile"
22170 ac_config_files="$ac_config_files dlls/inetmib1/tests/Makefile"
22172 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
22174 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
22176 ac_config_files="$ac_config_files dlls/initpki/Makefile"
22178 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
22180 ac_config_files="$ac_config_files dlls/inseng/Makefile"
22182 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
22184 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
22186 ac_config_files="$ac_config_files dlls/itircl/Makefile"
22188 ac_config_files="$ac_config_files dlls/itss/Makefile"
22190 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
22192 ac_config_files="$ac_config_files dlls/jscript/Makefile"
22194 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
22196 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
22198 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
22200 ac_config_files="$ac_config_files dlls/localspl/Makefile"
22202 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
22204 ac_config_files="$ac_config_files dlls/localui/Makefile"
22206 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
22208 ac_config_files="$ac_config_files dlls/lz32/Makefile"
22210 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
22212 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
22214 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
22216 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
22218 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
22220 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
22222 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
22224 ac_config_files="$ac_config_files dlls/midimap/Makefile"
22226 ac_config_files="$ac_config_files dlls/mlang/Makefile"
22228 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
22230 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
22232 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
22234 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
22236 ac_config_files="$ac_config_files dlls/mpr/Makefile"
22238 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
22240 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
22242 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
22244 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
22246 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
22248 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
22250 ac_config_files="$ac_config_files dlls/mscms/Makefile"
22252 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
22254 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
22256 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
22258 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
22260 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
22262 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
22264 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
22266 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
22268 ac_config_files="$ac_config_files dlls/msi/Makefile"
22270 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
22272 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
22274 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
22276 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
22278 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
22280 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
22282 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
22284 ac_config_files="$ac_config_files dlls/mstask/Makefile"
22286 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
22288 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
22290 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
22292 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
22294 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
22296 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
22298 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
22300 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
22302 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
22304 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
22306 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
22308 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
22310 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
22312 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
22314 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
22316 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
22318 ac_config_files="$ac_config_files dlls/newdev/Makefile"
22320 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
22322 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
22324 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
22326 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
22328 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
22330 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
22332 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
22334 ac_config_files="$ac_config_files dlls/objsel/Makefile"
22336 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
22338 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
22340 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
22342 ac_config_files="$ac_config_files dlls/ole32/Makefile"
22344 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
22346 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
22348 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
22350 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
22352 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
22354 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
22356 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
22358 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
22360 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
22362 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
22364 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
22366 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22368 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22370 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22372 ac_config_files="$ac_config_files dlls/printui/Makefile"
22374 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22376 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22378 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22380 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22382 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22384 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22386 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22388 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22390 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22392 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22394 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22396 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22398 ac_config_files="$ac_config_files dlls/query/Makefile"
22400 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22402 ac_config_files="$ac_config_files dlls/rasapi32/tests/Makefile"
22404 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22406 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22408 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22410 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22412 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22414 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22416 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22418 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22420 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22422 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22424 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22426 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22428 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22430 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22432 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22434 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22436 ac_config_files="$ac_config_files dlls/security/Makefile"
22438 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22440 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22442 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22444 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22446 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22448 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22450 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22452 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22454 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22456 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22458 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22460 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22462 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22464 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22466 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22468 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22470 ac_config_files="$ac_config_files dlls/slc/Makefile"
22472 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22474 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22476 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22478 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22480 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22482 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22484 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22486 ac_config_files="$ac_config_files dlls/sti/Makefile"
22488 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22490 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22492 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22494 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22496 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22498 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22500 ac_config_files="$ac_config_files dlls/url/Makefile"
22502 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22504 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22506 ac_config_files="$ac_config_files dlls/user32/Makefile"
22508 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22510 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22512 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22514 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22516 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22518 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22520 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22522 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22524 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22526 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22528 ac_config_files="$ac_config_files dlls/version/Makefile"
22530 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22532 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22534 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22536 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22538 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22540 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22542 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22544 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22546 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22548 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22550 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22552 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22554 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22556 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22558 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22560 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22562 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22564 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22566 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22568 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22570 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22572 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22574 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22576 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22578 ac_config_files="$ac_config_files dlls/winhttp/tests/Makefile"
22580 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22582 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22584 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22586 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22588 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22590 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22592 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22594 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22596 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22598 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22600 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22602 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22604 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22606 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22608 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22610 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22612 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22614 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22616 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22618 ac_config_files="$ac_config_files documentation/Makefile"
22620 ac_config_files="$ac_config_files fonts/Makefile"
22622 ac_config_files="$ac_config_files include/Makefile"
22624 ac_config_files="$ac_config_files libs/Makefile"
22626 ac_config_files="$ac_config_files libs/port/Makefile"
22628 ac_config_files="$ac_config_files libs/wine/Makefile"
22630 ac_config_files="$ac_config_files libs/wpp/Makefile"
22632 ac_config_files="$ac_config_files loader/Makefile"
22634 ac_config_files="$ac_config_files programs/Makefile"
22636 ac_config_files="$ac_config_files programs/clock/Makefile"
22638 ac_config_files="$ac_config_files programs/cmd/Makefile"
22640 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22642 ac_config_files="$ac_config_files programs/control/Makefile"
22644 ac_config_files="$ac_config_files programs/eject/Makefile"
22646 ac_config_files="$ac_config_files programs/expand/Makefile"
22648 ac_config_files="$ac_config_files programs/explorer/Makefile"
22650 ac_config_files="$ac_config_files programs/hh/Makefile"
22652 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22654 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22656 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22658 ac_config_files="$ac_config_files programs/net/Makefile"
22660 ac_config_files="$ac_config_files programs/notepad/Makefile"
22662 ac_config_files="$ac_config_files programs/oleview/Makefile"
22664 ac_config_files="$ac_config_files programs/progman/Makefile"
22666 ac_config_files="$ac_config_files programs/reg/Makefile"
22668 ac_config_files="$ac_config_files programs/regedit/Makefile"
22670 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22672 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22674 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22676 ac_config_files="$ac_config_files programs/secedit/Makefile"
22678 ac_config_files="$ac_config_files programs/services/Makefile"
22680 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22682 ac_config_files="$ac_config_files programs/start/Makefile"
22684 ac_config_files="$ac_config_files programs/svchost/Makefile"
22686 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22688 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22690 ac_config_files="$ac_config_files programs/view/Makefile"
22692 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22694 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22696 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22698 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22700 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22702 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22704 ac_config_files="$ac_config_files programs/winefile/Makefile"
22706 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22708 ac_config_files="$ac_config_files programs/winemine/Makefile"
22710 ac_config_files="$ac_config_files programs/winepath/Makefile"
22712 ac_config_files="$ac_config_files programs/winetest/Makefile"
22714 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22716 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22718 ac_config_files="$ac_config_files programs/winver/Makefile"
22720 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22722 ac_config_files="$ac_config_files programs/write/Makefile"
22724 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22726 ac_config_files="$ac_config_files server/Makefile"
22728 ac_config_files="$ac_config_files tools/Makefile"
22730 ac_config_files="$ac_config_files tools/widl/Makefile"
22732 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22734 ac_config_files="$ac_config_files tools/winedump/Makefile"
22736 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22738 ac_config_files="$ac_config_files tools/wmc/Makefile"
22740 ac_config_files="$ac_config_files tools/wrc/Makefile"
22743 cat >confcache <<\_ACEOF
22744 # This file is a shell script that caches the results of configure
22745 # tests run on this system so they can be shared between configure
22746 # scripts and configure runs, see configure's option --config-cache.
22747 # It is not useful on other systems. If it contains results you don't
22748 # want to keep, you may remove or edit it.
22750 # config.status only pays attention to the cache file if you give it
22751 # the --recheck option to rerun configure.
22753 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22754 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22755 # following values.
22759 # The following way of writing the cache mishandles newlines in values,
22760 # but we know of no workaround that is simple, portable, and efficient.
22761 # So, we kill variables containing newlines.
22762 # Ultrix sh set writes to stderr and can't be redirected directly,
22763 # and sets the high bit in the cache file unless we assign to the vars.
22765 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22766 eval ac_val=\$$ac_var
22770 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22771 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22774 _ | IFS | as_nl) ;; #(
22775 *) $as_unset $ac_var ;;
22781 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22782 *${as_nl}ac_space=\ *)
22783 # `set' does not quote correctly, so add quotes (double-quote
22784 # substitution turns \\\\ into \\, and sed turns \\ into \).
22787 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22790 # `set' quotes correctly as required by POSIX, so do not add quotes.
22791 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22800 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22802 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22804 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22805 if test -w "$cache_file"; then
22806 test "x$cache_file" != "x/dev/null" &&
22807 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22808 echo "$as_me: updating cache $cache_file" >&6;}
22809 cat confcache >$cache_file
22811 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22812 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22817 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22818 # Let make expand exec_prefix.
22819 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22821 DEFS=-DHAVE_CONFIG_H
22825 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22826 # 1. Remove the extension, and $U if already installed.
22827 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22828 ac_i=`echo "$ac_i" | sed "$ac_script"`
22829 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22830 # will be set to the directory where LIBOBJS objects are built.
22831 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22832 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22834 LIBOBJS=$ac_libobjs
22836 LTLIBOBJS=$ac_ltlibobjs
22840 : ${CONFIG_STATUS=./config.status}
22841 ac_clean_files_save=$ac_clean_files
22842 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22843 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22844 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22845 cat >$CONFIG_STATUS <<_ACEOF
22847 # Generated by $as_me.
22848 # Run this file to recreate the current configuration.
22849 # Compiler output produced by configure, useful for debugging
22850 # configure, is in config.log if it exists.
22853 ac_cs_recheck=false
22855 SHELL=\${CONFIG_SHELL-$SHELL}
22858 cat >>$CONFIG_STATUS <<\_ACEOF
22859 ## --------------------- ##
22860 ## M4sh Initialization. ##
22861 ## --------------------- ##
22863 # Be more Bourne compatible
22864 DUALCASE=1; export DUALCASE # for MKS sh
22865 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22868 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22869 # is contrary to our usage. Disable this feature.
22870 alias -g '${1+"$@"}'='"$@"'
22871 setopt NO_GLOB_SUBST
22873 case `(set -o) 2>/dev/null` in
22874 *posix*) set -o posix ;;
22883 # Avoid depending upon Character Ranges.
22884 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22885 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22886 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22887 as_cr_digits='0123456789'
22888 as_cr_alnum=$as_cr_Letters$as_cr_digits
22890 # The user is always right.
22891 if test "${PATH_SEPARATOR+set}" != set; then
22892 echo "#! /bin/sh" >conf$$.sh
22893 echo "exit 0" >>conf$$.sh
22895 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22903 # Support unset when possible.
22904 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22912 # We need space, tab and new line, in precisely that order. Quoting is
22913 # there to prevent editors from complaining about space-tab.
22914 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22915 # splitting by setting IFS to empty value.)
22920 # Find who we are. Look in the path if we contain no directory separator.
22922 *[\\/]* ) as_myself=$0 ;;
22923 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22924 for as_dir in $PATH
22927 test -z "$as_dir" && as_dir=.
22928 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22934 # We did not find ourselves, most probably we were run as `sh COMMAND'
22935 # in which case we are not to be found in the path.
22936 if test "x$as_myself" = x; then
22939 if test ! -f "$as_myself"; then
22940 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22941 { (exit 1); exit 1; }
22944 # Work around bugs in pre-3.0 UWIN ksh.
22945 for as_var in ENV MAIL MAILPATH
22946 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22954 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22955 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22956 LC_TELEPHONE LC_TIME
22958 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22959 eval $as_var=C; export $as_var
22961 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22965 # Required to use basename.
22966 if expr a : '\(a\)' >/dev/null 2>&1 &&
22967 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22973 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22974 as_basename=basename
22980 # Name of the executable.
22981 as_me=`$as_basename -- "$0" ||
22982 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22983 X"$0" : 'X\(//\)$' \| \
22984 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22986 sed '/^.*\/\([^/][^/]*\)\/*$/{
23005 as_lineno_1=$LINENO
23006 as_lineno_2=$LINENO
23007 test "x$as_lineno_1" != "x$as_lineno_2" &&
23008 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23010 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23011 # uniformly replaced by the line number. The first 'sed' inserts a
23012 # line-number line after each line using $LINENO; the second 'sed'
23013 # does the real work. The second script uses 'N' to pair each
23014 # line-number line with the line containing $LINENO, and appends
23015 # trailing '-' during substitution so that $LINENO is not a special
23016 # case at line end.
23017 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23018 # scripts with optimization help from Paolo Bonzini. Blame Lee
23019 # E. McMahon (1931-1989) for sed's syntax. :-)
23031 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23034 ' >$as_me.lineno &&
23035 chmod +x "$as_me.lineno" ||
23036 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23037 { (exit 1); exit 1; }; }
23039 # Don't try to exec as it changes $[0], causing all sort of problems
23040 # (the dirname of $[0] is not the place where we might find the
23041 # original and so on. Autoconf is especially sensitive to this).
23042 . "./$as_me.lineno"
23043 # Exit status is that of the last command.
23048 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23054 ECHO_C= ECHO_N= ECHO_T=
23055 case `echo -n x` in
23057 case `echo 'x\c'` in
23058 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23065 if expr a : '\(a\)' >/dev/null 2>&1 &&
23066 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23072 rm -f conf$$ conf$$.exe conf$$.file
23073 if test -d conf$$.dir; then
23074 rm -f conf$$.dir/conf$$.file
23080 if ln -s conf$$.file conf$$ 2>/dev/null; then
23082 # ... but there are two gotchas:
23083 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23084 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23085 # In both cases, we have to default to `cp -p'.
23086 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23088 elif ln conf$$.file conf$$ 2>/dev/null; then
23093 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23094 rmdir conf$$.dir 2>/dev/null
23096 if mkdir -p . 2>/dev/null; then
23099 test -d ./-p && rmdir ./-p
23103 if test -x / >/dev/null 2>&1; then
23104 as_test_x='test -x'
23106 if ls -dL / >/dev/null 2>&1; then
23113 if test -d "$1"; then
23119 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23120 ???[sx]*):;;*)false;;esac;fi
23124 as_executable_p=$as_test_x
23126 # Sed expression to map a string onto a valid CPP name.
23127 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23129 # Sed expression to map a string onto a valid variable name.
23130 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23135 # Save the log message, to keep $[0] and so on meaningful, and to
23136 # report actual input values of CONFIG_FILES etc. instead of their
23137 # values after options handling.
23139 This file was extended by Wine $as_me 1.1.1, which was
23140 generated by GNU Autoconf 2.61. Invocation command line was
23142 CONFIG_FILES = $CONFIG_FILES
23143 CONFIG_HEADERS = $CONFIG_HEADERS
23144 CONFIG_LINKS = $CONFIG_LINKS
23145 CONFIG_COMMANDS = $CONFIG_COMMANDS
23148 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23153 cat >>$CONFIG_STATUS <<_ACEOF
23154 # Files that config.status was made for.
23155 config_files="$ac_config_files"
23156 config_headers="$ac_config_headers"
23157 config_commands="$ac_config_commands"
23161 cat >>$CONFIG_STATUS <<\_ACEOF
23163 \`$as_me' instantiates files from templates according to the
23164 current configuration.
23166 Usage: $0 [OPTIONS] [FILE]...
23168 -h, --help print this help, then exit
23169 -V, --version print version number and configuration settings, then exit
23170 -q, --quiet do not print progress messages
23171 -d, --debug don't remove temporary files
23172 --recheck update $as_me by reconfiguring in the same conditions
23173 --file=FILE[:TEMPLATE]
23174 instantiate the configuration file FILE
23175 --header=FILE[:TEMPLATE]
23176 instantiate the configuration header FILE
23178 Configuration files:
23181 Configuration headers:
23184 Configuration commands:
23187 Report bugs to <bug-autoconf@gnu.org>."
23190 cat >>$CONFIG_STATUS <<_ACEOF
23192 Wine config.status 1.1.1
23193 configured by $0, generated by GNU Autoconf 2.61,
23194 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23196 Copyright (C) 2006 Free Software Foundation, Inc.
23197 This config.status script is free software; the Free Software Foundation
23198 gives unlimited permission to copy, distribute and modify it."
23205 cat >>$CONFIG_STATUS <<\_ACEOF
23206 # If no file are specified by the user, then we need to provide default
23207 # value. By we need to know if files were specified by the user.
23213 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23214 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23225 # Handling of the options.
23226 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23228 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23229 echo "$ac_cs_version"; exit ;;
23230 --debug | --debu | --deb | --de | --d | -d )
23232 --file | --fil | --fi | --f )
23234 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23235 ac_need_defaults=false;;
23236 --header | --heade | --head | --hea )
23238 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23239 ac_need_defaults=false;;
23241 # Conflict between --help and --header
23242 { echo "$as_me: error: ambiguous option: $1
23243 Try \`$0 --help' for more information." >&2
23244 { (exit 1); exit 1; }; };;
23245 --help | --hel | -h )
23246 echo "$ac_cs_usage"; exit ;;
23247 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23248 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23251 # This is an error.
23252 -*) { echo "$as_me: error: unrecognized option: $1
23253 Try \`$0 --help' for more information." >&2
23254 { (exit 1); exit 1; }; } ;;
23256 *) ac_config_targets="$ac_config_targets $1"
23257 ac_need_defaults=false ;;
23263 ac_configure_extra_args=
23265 if $ac_cs_silent; then
23267 ac_configure_extra_args="$ac_configure_extra_args --silent"
23271 cat >>$CONFIG_STATUS <<_ACEOF
23272 if \$ac_cs_recheck; then
23273 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23274 CONFIG_SHELL=$SHELL
23275 export CONFIG_SHELL
23276 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23280 cat >>$CONFIG_STATUS <<\_ACEOF
23284 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23285 ## Running $as_me. ##
23291 cat >>$CONFIG_STATUS <<_ACEOF
23294 cat >>$CONFIG_STATUS <<\_ACEOF
23296 # Handling of arguments.
23297 for ac_config_target in $ac_config_targets
23299 case $ac_config_target in
23300 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23301 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23302 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
23303 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
23304 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
23305 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
23306 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
23307 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
23308 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
23309 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
23310 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
23311 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
23312 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
23313 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23314 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
23315 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
23316 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
23317 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
23318 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
23319 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
23320 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
23321 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
23322 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
23323 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
23324 "dlls/appwiz.cpl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/appwiz.cpl/Makefile" ;;
23325 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
23326 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
23327 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
23328 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
23329 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
23330 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
23331 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
23332 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
23333 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
23334 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
23335 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
23336 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
23337 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
23338 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
23339 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
23340 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
23341 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
23342 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
23343 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
23344 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
23345 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
23346 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
23347 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
23348 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
23349 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
23350 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
23351 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
23352 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
23353 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
23354 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
23355 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
23356 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
23357 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
23358 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
23359 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
23360 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
23361 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
23362 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
23363 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
23364 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
23365 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
23366 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
23367 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
23368 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23369 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23370 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23371 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23372 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23373 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23374 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23375 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23376 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23377 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23378 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23379 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23380 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23381 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23382 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23383 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23384 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23385 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23386 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
23387 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
23388 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23389 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23390 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
23391 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23392 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
23393 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23394 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23395 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23396 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23397 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23398 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23399 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23400 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23401 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
23402 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23403 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23404 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23405 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23406 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23407 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23408 "dlls/dpwsockx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpwsockx/Makefile" ;;
23409 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
23410 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23411 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23412 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
23413 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23414 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23415 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23416 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23417 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23418 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23419 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23420 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23421 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23422 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23423 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23424 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23425 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23426 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23427 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23428 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23429 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23430 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23431 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23432 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23433 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23434 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23435 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23436 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23437 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23438 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23439 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23440 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23441 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23442 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23443 "dlls/inetmib1/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
23444 "dlls/inetmib1/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;;
23445 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23446 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23447 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23448 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23449 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23450 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23451 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23452 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23453 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23454 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23455 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23456 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23457 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23458 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23459 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23460 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23461 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23462 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23463 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23464 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23465 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23466 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23467 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23468 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23469 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23470 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23471 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23472 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23473 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23474 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23475 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23476 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23477 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23478 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23479 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23480 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23481 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23482 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23483 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23484 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23485 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23486 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23487 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23488 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23489 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23490 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23491 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23492 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23493 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23494 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23495 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23496 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23497 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23498 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23499 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23500 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23501 "dlls/mstask/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mstask/Makefile" ;;
23502 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23503 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23504 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23505 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23506 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23507 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23508 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23509 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23510 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23511 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23512 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23513 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23514 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23515 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23516 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23517 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23518 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23519 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23520 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23521 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23522 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23523 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23524 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23525 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23526 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23527 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23528 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23529 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23530 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23531 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23532 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23533 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23534 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23535 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23536 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23537 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23538 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23539 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23540 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23541 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23542 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23543 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23544 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23545 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23546 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23547 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23548 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23549 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23550 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23551 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23552 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23553 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23554 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23555 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23556 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23557 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23558 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23559 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23560 "dlls/rasapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/tests/Makefile" ;;
23561 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23562 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23563 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23564 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23565 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23566 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23567 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23568 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23569 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23570 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23571 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23572 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23573 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23574 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23575 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23576 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23577 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23578 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23579 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23580 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23581 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23582 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23583 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23584 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23585 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23586 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23587 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23588 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23589 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23590 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23591 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23592 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23593 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23594 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23595 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23596 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23597 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23598 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23599 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23600 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23601 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23602 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23603 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23604 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23605 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23606 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23607 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23608 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23609 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23610 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23611 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23612 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23613 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23614 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23615 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23616 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23617 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23618 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23619 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23620 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23621 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23622 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23623 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23624 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23625 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23626 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23627 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23628 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23629 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23630 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23631 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23632 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23633 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23634 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23635 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23636 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23637 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23638 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23639 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23640 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23641 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23642 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23643 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23644 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23645 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23646 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23647 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23648 "dlls/winhttp/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/tests/Makefile" ;;
23649 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23650 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23651 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23652 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23653 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23654 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23655 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23656 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23657 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23658 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23659 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23660 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23661 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23662 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23663 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23664 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23665 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23666 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23667 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23668 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23669 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23670 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23671 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23672 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23673 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23674 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23675 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23676 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23677 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23678 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23679 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23680 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23681 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23682 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23683 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23684 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23685 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23686 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23687 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23688 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23689 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23690 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23691 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23692 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23693 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23694 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23695 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23696 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23697 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23698 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23699 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23700 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23701 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23702 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23703 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23704 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23705 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23706 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23707 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23708 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23709 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23710 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23711 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23712 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23713 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23714 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23715 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23716 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23717 "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23718 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23719 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23720 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23721 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23722 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23723 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23724 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23725 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23726 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23727 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23728 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23729 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23731 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23732 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23733 { (exit 1); exit 1; }; };;
23738 # If the user did not use the arguments to specify the items to instantiate,
23739 # then the envvar interface is used. Set only those that are not.
23740 # We use the long form for the default assignment because of an extremely
23741 # bizarre bug on SunOS 4.1.3.
23742 if $ac_need_defaults; then
23743 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23744 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23745 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23748 # Have a temporary directory for convenience. Make it in the build tree
23749 # simply because there is no reason against having it here, and in addition,
23750 # creating and moving files from /tmp can sometimes cause problems.
23751 # Hook for its removal unless debugging.
23752 # Note that there is a small window in which the directory will not be cleaned:
23753 # after its creation but before its name has been assigned to `$tmp'.
23757 trap 'exit_status=$?
23758 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23760 trap '{ (exit 1); exit 1; }' 1 2 13 15
23762 # Create a (secure) tmp directory for tmp files.
23765 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23766 test -n "$tmp" && test -d "$tmp"
23769 tmp=./conf$$-$RANDOM
23770 (umask 077 && mkdir "$tmp")
23773 echo "$me: cannot create a temporary directory in ." >&2
23774 { (exit 1); exit 1; }
23778 # Set up the sed scripts for CONFIG_FILES section.
23781 # No need to generate the scripts if there are no CONFIG_FILES.
23782 # This happens for instance when ./config.status config.h
23783 if test -n "$CONFIG_FILES"; then
23787 # Create sed commands to just substitute file output variables.
23789 # Remaining file output variables are in a fragment that also has non-file
23795 for ac_last_try in false false false false false :; do
23796 cat >conf$$subs.sed <<_ACEOF
23797 SHELL!$SHELL$ac_delim
23798 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23799 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23800 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23801 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23802 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23803 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23804 exec_prefix!$exec_prefix$ac_delim
23805 prefix!$prefix$ac_delim
23806 program_transform_name!$program_transform_name$ac_delim
23807 bindir!$bindir$ac_delim
23808 sbindir!$sbindir$ac_delim
23809 libexecdir!$libexecdir$ac_delim
23810 datarootdir!$datarootdir$ac_delim
23811 datadir!$datadir$ac_delim
23812 sysconfdir!$sysconfdir$ac_delim
23813 sharedstatedir!$sharedstatedir$ac_delim
23814 localstatedir!$localstatedir$ac_delim
23815 includedir!$includedir$ac_delim
23816 oldincludedir!$oldincludedir$ac_delim
23817 docdir!$docdir$ac_delim
23818 infodir!$infodir$ac_delim
23819 htmldir!$htmldir$ac_delim
23820 dvidir!$dvidir$ac_delim
23821 pdfdir!$pdfdir$ac_delim
23822 psdir!$psdir$ac_delim
23823 libdir!$libdir$ac_delim
23824 localedir!$localedir$ac_delim
23825 mandir!$mandir$ac_delim
23826 DEFS!$DEFS$ac_delim
23827 ECHO_C!$ECHO_C$ac_delim
23828 ECHO_N!$ECHO_N$ac_delim
23829 ECHO_T!$ECHO_T$ac_delim
23830 LIBS!$LIBS$ac_delim
23831 build_alias!$build_alias$ac_delim
23832 host_alias!$host_alias$ac_delim
23833 target_alias!$target_alias$ac_delim
23834 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23835 build!$build$ac_delim
23836 build_cpu!$build_cpu$ac_delim
23837 build_vendor!$build_vendor$ac_delim
23838 build_os!$build_os$ac_delim
23839 host!$host$ac_delim
23840 host_cpu!$host_cpu$ac_delim
23841 host_vendor!$host_vendor$ac_delim
23842 host_os!$host_os$ac_delim
23843 WIN16_FILES!$WIN16_FILES$ac_delim
23844 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23845 SET_MAKE!$SET_MAKE$ac_delim
23847 CFLAGS!$CFLAGS$ac_delim
23848 LDFLAGS!$LDFLAGS$ac_delim
23849 CPPFLAGS!$CPPFLAGS$ac_delim
23850 ac_ct_CC!$ac_ct_CC$ac_delim
23851 EXEEXT!$EXEEXT$ac_delim
23852 OBJEXT!$OBJEXT$ac_delim
23854 CXXFLAGS!$CXXFLAGS$ac_delim
23855 ac_ct_CXX!$ac_ct_CXX$ac_delim
23856 CPPBIN!$CPPBIN$ac_delim
23857 TOOLSDIR!$TOOLSDIR$ac_delim
23858 XMKMF!$XMKMF$ac_delim
23860 X_CFLAGS!$X_CFLAGS$ac_delim
23861 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23862 X_LIBS!$X_LIBS$ac_delim
23863 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23864 FLEX!$FLEX$ac_delim
23865 BISON!$BISON$ac_delim
23867 ac_ct_AS!$ac_ct_AS$ac_delim
23869 ac_ct_LD!$ac_ct_LD$ac_delim
23871 ac_ct_NM!$ac_ct_NM$ac_delim
23873 ac_ct_AR!$ac_ct_AR$ac_delim
23874 ARFLAGS!$ARFLAGS$ac_delim
23875 RANLIB!$RANLIB$ac_delim
23876 STRIP!$STRIP$ac_delim
23877 WINDRES!$WINDRES$ac_delim
23878 LN_S!$LN_S$ac_delim
23881 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23883 elif $ac_last_try; then
23884 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23885 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23886 { (exit 1); exit 1; }; }
23888 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23892 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23893 if test -n "$ac_eof"; then
23894 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23895 ac_eof=`expr $ac_eof + 1`
23898 cat >>$CONFIG_STATUS <<_ACEOF
23899 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23900 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23901 /^[ ]*@MAKE_RULES@[ ]*$/{
23905 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23909 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23910 r $MAKE_IMPLIB_RULES
23913 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23917 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23923 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23924 s/^/s,@/; s/!/@,|#_!!_#|/
23927 s/'"$ac_delim"'$/,g/; t
23929 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23930 ' >>$CONFIG_STATUS <conf$$subs.sed
23931 rm -f conf$$subs.sed
23932 cat >>$CONFIG_STATUS <<_ACEOF
23938 for ac_last_try in false false false false false :; do
23939 cat >conf$$subs.sed <<_ACEOF
23941 GREP!$GREP$ac_delim
23942 EGREP!$EGREP$ac_delim
23943 LDCONFIG!$LDCONFIG$ac_delim
23944 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23945 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23946 INSTALL_DATA!$INSTALL_DATA$ac_delim
23947 LINT!$LINT$ac_delim
23948 LINTFLAGS!$LINTFLAGS$ac_delim
23949 FONTFORGE!$FONTFORGE$ac_delim
23950 PKG_CONFIG!$PKG_CONFIG$ac_delim
23951 RSVG!$RSVG$ac_delim
23952 ICOTOOL!$ICOTOOL$ac_delim
23953 PRELINK!$PRELINK$ac_delim
23954 LIBPTHREAD!$LIBPTHREAD$ac_delim
23955 XLIB!$XLIB$ac_delim
23956 XFILES!$XFILES$ac_delim
23957 OPENGLFILES!$OPENGLFILES$ac_delim
23958 GLU32FILES!$GLU32FILES$ac_delim
23959 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23960 QUARTZFILES!$QUARTZFILES$ac_delim
23961 DLLEXT!$DLLEXT$ac_delim
23962 DLLFLAGS!$DLLFLAGS$ac_delim
23963 LDSHARED!$LDSHARED$ac_delim
23964 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23965 LIBEXT!$LIBEXT$ac_delim
23966 IMPLIBEXT!$IMPLIBEXT$ac_delim
23967 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23968 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23970 DLLTOOL!$DLLTOOL$ac_delim
23971 DLLWRAP!$DLLWRAP$ac_delim
23972 MINGWAR!$MINGWAR$ac_delim
23973 SECURITYLIB!$SECURITYLIB$ac_delim
23974 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23975 IOKITLIB!$IOKITLIB$ac_delim
23976 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23977 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23978 COREAUDIO!$COREAUDIO$ac_delim
23979 CARBONLIB!$CARBONLIB$ac_delim
23980 CROSSTEST!$CROSSTEST$ac_delim
23981 CROSSCC!$CROSSCC$ac_delim
23982 CROSSWINDRES!$CROSSWINDRES$ac_delim
23983 NASLIBS!$NASLIBS$ac_delim
23984 XML2LIBS!$XML2LIBS$ac_delim
23985 XML2INCL!$XML2INCL$ac_delim
23986 XSLTLIBS!$XSLTLIBS$ac_delim
23987 XSLTINCL!$XSLTINCL$ac_delim
23988 HALINCL!$HALINCL$ac_delim
23989 sane_devel!$sane_devel$ac_delim
23990 SANEINCL!$SANEINCL$ac_delim
23991 gphoto2_devel!$gphoto2_devel$ac_delim
23992 gphoto2port_devel!$gphoto2port_devel$ac_delim
23993 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23994 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23995 RESOLVLIBS!$RESOLVLIBS$ac_delim
23996 LCMSLIBS!$LCMSLIBS$ac_delim
23997 ft_devel!$ft_devel$ac_delim
23998 FREETYPELIBS!$FREETYPELIBS$ac_delim
23999 FREETYPEINCL!$FREETYPEINCL$ac_delim
24000 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24001 ESDCONFIG!$ESDCONFIG$ac_delim
24002 ESDINCL!$ESDINCL$ac_delim
24003 ESDLIBS!$ESDLIBS$ac_delim
24004 ALSALIBS!$ALSALIBS$ac_delim
24005 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24006 CUPSINCL!$CUPSINCL$ac_delim
24007 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
24008 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24009 BUILTINFLAG!$BUILTINFLAG$ac_delim
24010 LDPATH!$LDPATH$ac_delim
24011 CRTLIBS!$CRTLIBS$ac_delim
24012 SOCKETLIBS!$SOCKETLIBS$ac_delim
24013 MAIN_BINARY!$MAIN_BINARY$ac_delim
24014 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24015 LIBDL!$LIBDL$ac_delim
24016 LIBPOLL!$LIBPOLL$ac_delim
24017 LDAPLIBS!$LDAPLIBS$ac_delim
24018 DEPENDENCIES!$DEPENDENCIES$ac_delim
24019 LIBOBJS!$LIBOBJS$ac_delim
24020 LTLIBOBJS!$LTLIBOBJS$ac_delim
24023 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
24025 elif $ac_last_try; then
24026 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24027 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24028 { (exit 1); exit 1; }; }
24030 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24034 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24035 if test -n "$ac_eof"; then
24036 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24037 ac_eof=`expr $ac_eof + 1`
24040 cat >>$CONFIG_STATUS <<_ACEOF
24041 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24042 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24045 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24046 s/^/s,@/; s/!/@,|#_!!_#|/
24049 s/'"$ac_delim"'$/,g/; t
24051 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24052 ' >>$CONFIG_STATUS <conf$$subs.sed
24053 rm -f conf$$subs.sed
24054 cat >>$CONFIG_STATUS <<_ACEOF
24061 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24062 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24063 # trailing colons and then remove the whole line if VPATH becomes empty
24064 # (actually we leave an empty line to preserve line numbers).
24065 if test "x$srcdir" = x.; then
24066 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24067 s/:*\$(srcdir):*/:/
24068 s/:*\${srcdir}:*/:/
24070 s/^\([^=]*=[ ]*\):*/\1/
24076 cat >>$CONFIG_STATUS <<\_ACEOF
24077 fi # test -n "$CONFIG_FILES"
24080 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24083 :[FHLC]) ac_mode=$ac_tag; continue;;
24085 case $ac_mode$ac_tag in
24087 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24088 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24089 { (exit 1); exit 1; }; };;
24090 :[FH]-) ac_tag=-:-;;
24091 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24108 -) ac_f="$tmp/stdin";;
24109 *) # Look for the file first in the build tree, then in the source tree
24110 # (if the path is not absolute). The absolute path cannot be DOS-style,
24111 # because $ac_f cannot contain `:'.
24115 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24117 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24118 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24119 { (exit 1); exit 1; }; };;
24121 ac_file_inputs="$ac_file_inputs $ac_f"
24124 # Let's still pretend it is `configure' which instantiates (i.e., don't
24125 # use $as_me), people would be surprised to read:
24126 # /* config.h. Generated by config.status. */
24127 configure_input="Generated from "`IFS=:
24128 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24129 if test x"$ac_file" != x-; then
24130 configure_input="$ac_file. $configure_input"
24131 { echo "$as_me:$LINENO: creating $ac_file" >&5
24132 echo "$as_me: creating $ac_file" >&6;}
24136 *:-:* | *:-) cat >"$tmp/stdin";;
24141 ac_dir=`$as_dirname -- "$ac_file" ||
24142 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24143 X"$ac_file" : 'X\(//\)[^/]' \| \
24144 X"$ac_file" : 'X\(//\)$' \| \
24145 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24151 /^X\(\/\/\)[^/].*/{
24166 -*) as_dir=./$as_dir;;
24168 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24172 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24173 *) as_qdir=$as_dir;;
24175 as_dirs="'$as_qdir' $as_dirs"
24176 as_dir=`$as_dirname -- "$as_dir" ||
24177 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24178 X"$as_dir" : 'X\(//\)[^/]' \| \
24179 X"$as_dir" : 'X\(//\)$' \| \
24180 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24186 /^X\(\/\/\)[^/].*/{
24199 test -d "$as_dir" && break
24201 test -z "$as_dirs" || eval "mkdir $as_dirs"
24202 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24203 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24204 { (exit 1); exit 1; }; }; }
24208 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24210 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24211 # A ".." for each directory in $ac_dir_suffix.
24212 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24213 case $ac_top_builddir_sub in
24214 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24215 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24218 ac_abs_top_builddir=$ac_pwd
24219 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24220 # for backward compatibility:
24221 ac_top_builddir=$ac_top_build_prefix
24224 .) # We are building in place.
24226 ac_top_srcdir=$ac_top_builddir_sub
24227 ac_abs_top_srcdir=$ac_pwd ;;
24228 [\\/]* | ?:[\\/]* ) # Absolute name.
24229 ac_srcdir=$srcdir$ac_dir_suffix;
24230 ac_top_srcdir=$srcdir
24231 ac_abs_top_srcdir=$srcdir ;;
24232 *) # Relative name.
24233 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24234 ac_top_srcdir=$ac_top_build_prefix$srcdir
24235 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24237 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24247 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24248 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24252 cat >>$CONFIG_STATUS <<\_ACEOF
24253 # If the template does not know about datarootdir, expand it.
24254 # FIXME: This hack should be removed a few years after 2.60.
24255 ac_datarootdir_hack=; ac_datarootdir_seen=
24257 case `sed -n '/datarootdir/ {
24266 ' $ac_file_inputs` in
24267 *datarootdir*) ac_datarootdir_seen=yes;;
24268 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24269 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24270 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24272 cat >>$CONFIG_STATUS <<_ACEOF
24273 ac_datarootdir_hack='
24274 s&@datadir@&$datadir&g
24275 s&@docdir@&$docdir&g
24276 s&@infodir@&$infodir&g
24277 s&@localedir@&$localedir&g
24278 s&@mandir@&$mandir&g
24279 s&\\\${datarootdir}&$datarootdir&g' ;;
24283 # Neutralize VPATH when `$srcdir' = `.'.
24284 # Shell code in configure.ac might set extrasub.
24285 # FIXME: do we really want to maintain this feature?
24286 cat >>$CONFIG_STATUS <<_ACEOF
24290 cat >>$CONFIG_STATUS <<\_ACEOF
24292 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24293 s&@configure_input@&$configure_input&;t t
24294 s&@top_builddir@&$ac_top_builddir_sub&;t t
24295 s&@srcdir@&$ac_srcdir&;t t
24296 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24297 s&@top_srcdir@&$ac_top_srcdir&;t t
24298 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24299 s&@builddir@&$ac_builddir&;t t
24300 s&@abs_builddir@&$ac_abs_builddir&;t t
24301 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24302 s&@INSTALL@&$ac_INSTALL&;t t
24303 $ac_datarootdir_hack
24304 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
24306 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24307 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24308 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24309 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24310 which seems to be undefined. Please make sure it is defined." >&5
24311 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24312 which seems to be undefined. Please make sure it is defined." >&2;}
24316 -) cat "$tmp/out"; rm -f "$tmp/out";;
24317 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24326 # Transform confdefs.h into a sed script `conftest.defines', that
24327 # substitutes the proper values into config.h.in to produce config.h.
24328 rm -f conftest.defines conftest.tail
24329 # First, append a space to every undef/define line, to ease matching.
24330 echo 's/$/ /' >conftest.defines
24331 # Then, protect against being on the right side of a sed subst, or in
24332 # an unquoted here document, in config.status. If some macros were
24333 # called several times there might be several #defines for the same
24334 # symbol, which is useless. But do not sort them, since the last
24335 # AC_DEFINE must be honored.
24336 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24337 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24338 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24339 # PARAMS is the parameter list in the macro definition--in most cases, it's
24340 # just an empty string.
24341 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24342 ac_dB='\\)[ (].*,\\1define\\2'
24350 s/^[ ]*#[ ]*define[ ][ ]*//
24355 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24356 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24357 ' >>conftest.defines
24359 # Remove the space that was appended to ease matching.
24360 # Then replace #undef with comments. This is necessary, for
24361 # example, in the case of _POSIX_SOURCE, which is predefined and required
24362 # on some systems where configure will not decide to define it.
24363 # (The regexp can be short, since the line contains either #define or #undef.)
24365 s,^[ #]*u.*,/* & */,' >>conftest.defines
24367 # Break up conftest.defines:
24368 ac_max_sed_lines=50
24370 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24371 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24372 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24374 ac_in='$ac_file_inputs'
24375 ac_out='"$tmp/out1"'
24376 ac_nxt='"$tmp/out2"'
24380 # Write a here document:
24381 cat >>$CONFIG_STATUS <<_ACEOF
24382 # First, check the format of the line:
24383 cat >"\$tmp/defines.sed" <<\\CEOF
24384 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24385 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24389 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24391 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24392 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24393 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24394 grep . conftest.tail >/dev/null || break
24395 rm -f conftest.defines
24396 mv conftest.tail conftest.defines
24398 rm -f conftest.defines conftest.tail
24400 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24401 cat >>$CONFIG_STATUS <<\_ACEOF
24402 if test x"$ac_file" != x-; then
24403 echo "/* $configure_input */" >"$tmp/config.h"
24404 cat "$ac_result" >>"$tmp/config.h"
24405 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24406 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24407 echo "$as_me: $ac_file is unchanged" >&6;}
24410 mv "$tmp/config.h" $ac_file
24413 echo "/* $configure_input */"
24419 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24420 echo "$as_me: executing $ac_file commands" >&6;}
24425 case $ac_file$ac_mode in
24426 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24427 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24428 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24429 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24430 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24431 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24432 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24433 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24434 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24435 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24436 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24437 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24438 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24444 { (exit 0); exit 0; }
24446 chmod +x $CONFIG_STATUS
24447 ac_clean_files=$ac_clean_files_save
24450 # configure is writing to config.log, and then calls config.status.
24451 # config.status does its own redirection, appending to config.log.
24452 # Unfortunately, on DOS this fails, as config.log is still kept open
24453 # by configure, so config.status won't be able to write to it; its
24454 # output is simply discarded. So we exec the FD to /dev/null,
24455 # effectively closing config.log, so it can be properly (re)opened and
24456 # appended to by config.status. When coming back to configure, we
24457 # need to make the FD available again.
24458 if test "$no_create" != yes; then
24460 ac_config_status_args=
24461 test "$silent" = yes &&
24462 ac_config_status_args="$ac_config_status_args --quiet"
24464 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24466 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24467 # would make configure fail if this is the last instruction.
24468 $ac_cs_success || { (exit 1); exit 1; }
24472 if test "$no_create" = "yes"
24479 if test "x$wine_notices != "x; then
24481 for msg in $wine_notices; do
24482 if test -n "$msg"; then
24483 { echo "$as_me:$LINENO: $msg" >&5
24484 echo "$as_me: $msg" >&6;}
24488 for msg in $wine_warnings; do
24489 if test -n "$msg"; then
24491 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24492 echo "$as_me: WARNING: $msg" >&2;}
24498 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.