2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.57.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.57'
578 PACKAGE_STRING='Wine 0.9.57'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
773 ac_subst_files='MAKE_RULES
778 ac_precious_vars='build_alias
793 # Initialize some variables set by options.
795 ac_init_version=false
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
805 program_transform_name=s,x,x,
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir='${exec_prefix}/bin'
820 sbindir='${exec_prefix}/sbin'
821 libexecdir='${exec_prefix}/libexec'
822 datarootdir='${prefix}/share'
823 datadir='${datarootdir}'
824 sysconfdir='${prefix}/etc'
825 sharedstatedir='${prefix}/com'
826 localstatedir='${prefix}/var'
827 includedir='${prefix}/include'
828 oldincludedir='/usr/include'
829 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir='${datarootdir}/info'
835 libdir='${exec_prefix}/lib'
836 localedir='${datarootdir}/locale'
837 mandir='${datarootdir}/man'
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\$ac_option
851 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
861 -bindir | --bindir | --bindi | --bind | --bin | --bi)
863 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
866 -build | --build | --buil | --bui | --bu)
867 ac_prev=build_alias ;;
868 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
869 build_alias=$ac_optarg ;;
871 -cache-file | --cache-file | --cache-fil | --cache-fi \
872 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
873 ac_prev=cache_file ;;
874 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
875 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
876 cache_file=$ac_optarg ;;
879 cache_file=config.cache ;;
881 -datadir | --datadir | --datadi | --datad)
883 -datadir=* | --datadir=* | --datadi=* | --datad=*)
884 datadir=$ac_optarg ;;
886 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
887 | --dataroo | --dataro | --datar)
888 ac_prev=datarootdir ;;
889 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
890 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
891 datarootdir=$ac_optarg ;;
893 -disable-* | --disable-*)
894 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
897 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
898 { (exit 1); exit 1; }; }
899 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
900 eval enable_$ac_feature=no ;;
902 -docdir | --docdir | --docdi | --doc | --do)
904 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
907 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
912 -enable-* | --enable-*)
913 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
916 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
917 { (exit 1); exit 1; }; }
918 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
919 eval enable_$ac_feature=\$ac_optarg ;;
921 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
922 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
923 | --exec | --exe | --ex)
924 ac_prev=exec_prefix ;;
925 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
926 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
927 | --exec=* | --exe=* | --ex=*)
928 exec_prefix=$ac_optarg ;;
930 -gas | --gas | --ga | --g)
931 # Obsolete; use --with-gas.
934 -help | --help | --hel | --he | -h)
936 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
937 ac_init_help=recursive ;;
938 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
939 ac_init_help=short ;;
941 -host | --host | --hos | --ho)
942 ac_prev=host_alias ;;
943 -host=* | --host=* | --hos=* | --ho=*)
944 host_alias=$ac_optarg ;;
946 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950 htmldir=$ac_optarg ;;
952 -includedir | --includedir | --includedi | --included | --include \
953 | --includ | --inclu | --incl | --inc)
954 ac_prev=includedir ;;
955 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
956 | --includ=* | --inclu=* | --incl=* | --inc=*)
957 includedir=$ac_optarg ;;
959 -infodir | --infodir | --infodi | --infod | --info | --inf)
961 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
962 infodir=$ac_optarg ;;
964 -libdir | --libdir | --libdi | --libd)
966 -libdir=* | --libdir=* | --libdi=* | --libd=*)
969 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
970 | --libexe | --libex | --libe)
971 ac_prev=libexecdir ;;
972 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
973 | --libexe=* | --libex=* | --libe=*)
974 libexecdir=$ac_optarg ;;
976 -localedir | --localedir | --localedi | --localed | --locale)
978 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
979 localedir=$ac_optarg ;;
981 -localstatedir | --localstatedir | --localstatedi | --localstated \
982 | --localstate | --localstat | --localsta | --localst | --locals)
983 ac_prev=localstatedir ;;
984 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
985 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
986 localstatedir=$ac_optarg ;;
988 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
990 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994 # Obsolete; use --without-fp.
997 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
998 | --no-cr | --no-c | -n)
1001 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1002 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1005 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1006 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1007 | --oldin | --oldi | --old | --ol | --o)
1008 ac_prev=oldincludedir ;;
1009 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1010 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1011 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1012 oldincludedir=$ac_optarg ;;
1014 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1016 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1017 prefix=$ac_optarg ;;
1019 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1020 | --program-pre | --program-pr | --program-p)
1021 ac_prev=program_prefix ;;
1022 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1023 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1024 program_prefix=$ac_optarg ;;
1026 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1027 | --program-suf | --program-su | --program-s)
1028 ac_prev=program_suffix ;;
1029 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1030 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1031 program_suffix=$ac_optarg ;;
1033 -program-transform-name | --program-transform-name \
1034 | --program-transform-nam | --program-transform-na \
1035 | --program-transform-n | --program-transform- \
1036 | --program-transform | --program-transfor \
1037 | --program-transfo | --program-transf \
1038 | --program-trans | --program-tran \
1039 | --progr-tra | --program-tr | --program-t)
1040 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
1050 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1052 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1053 pdfdir=$ac_optarg ;;
1055 -psdir | --psdir | --psdi | --psd | --ps)
1057 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1064 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1066 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1068 sbindir=$ac_optarg ;;
1070 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1071 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1072 | --sharedst | --shareds | --shared | --share | --shar \
1074 ac_prev=sharedstatedir ;;
1075 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1076 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1077 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1079 sharedstatedir=$ac_optarg ;;
1081 -site | --site | --sit)
1083 -site=* | --site=* | --sit=*)
1086 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1088 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1089 srcdir=$ac_optarg ;;
1091 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1092 | --syscon | --sysco | --sysc | --sys | --sy)
1093 ac_prev=sysconfdir ;;
1094 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1095 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1096 sysconfdir=$ac_optarg ;;
1098 -target | --target | --targe | --targ | --tar | --ta | --t)
1099 ac_prev=target_alias ;;
1100 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1101 target_alias=$ac_optarg ;;
1103 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1106 -version | --version | --versio | --versi | --vers | -V)
1107 ac_init_version=: ;;
1110 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1113 { echo "$as_me: error: invalid package name: $ac_package" >&2
1114 { (exit 1); exit 1; }; }
1115 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1116 eval with_$ac_package=\$ac_optarg ;;
1118 -without-* | --without-*)
1119 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1122 { echo "$as_me: error: invalid package name: $ac_package" >&2
1123 { (exit 1); exit 1; }; }
1124 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1125 eval with_$ac_package=no ;;
1128 # Obsolete; use --with-x.
1131 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1132 | --x-incl | --x-inc | --x-in | --x-i)
1133 ac_prev=x_includes ;;
1134 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1135 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1136 x_includes=$ac_optarg ;;
1138 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1139 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1140 ac_prev=x_libraries ;;
1141 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1142 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143 x_libraries=$ac_optarg ;;
1145 -*) { echo "$as_me: error: unrecognized option: $ac_option
1146 Try \`$0 --help' for more information." >&2
1147 { (exit 1); exit 1; }; }
1151 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1154 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1155 { (exit 1); exit 1; }; }
1156 eval $ac_envvar=\$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 if test -n "$ac_prev"; then
1171 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1172 { echo "$as_me: error: missing argument to $ac_option" >&2
1173 { (exit 1); exit 1; }; }
1176 # Be sure to have absolute directory names.
1177 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir
1182 eval ac_val=\$$ac_var
1184 [\\/$]* | ?:[\\/]* ) continue;;
1185 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1187 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1188 { (exit 1); exit 1; }; }
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1196 target=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x; then
1200 if test "x$build_alias" = x; then
1201 cross_compiling=maybe
1202 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then
1210 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1212 test "$silent" = yes && exec 6>/dev/null
1215 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di=`ls -di .` &&
1217 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1218 { echo "$as_me: error: Working directory cannot be determined" >&2
1219 { (exit 1); exit 1; }; }
1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221 { echo "$as_me: error: pwd does not report name of working directory" >&2
1222 { (exit 1); exit 1; }; }
1225 # Find the source files, if location was not specified.
1226 if test -z "$srcdir"; then
1227 ac_srcdir_defaulted=yes
1228 # Try the directory containing this script, then the parent directory.
1229 ac_confdir=`$as_dirname -- "$0" ||
1230 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$0" : 'X\(//\)[^/]' \| \
1232 X"$0" : 'X\(//\)$' \| \
1233 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1257 ac_srcdir_defaulted=no
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1260 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1261 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1262 { (exit 1); exit 1; }; }
1264 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1266 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1267 { (exit 1); exit 1; }; }
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1277 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 for ac_var in $ac_precious_vars; do
1280 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_env_${ac_var}_value=\$${ac_var}
1282 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1283 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1293 \`configure' configures Wine 0.9.57 to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1351 --x-includes=DIR X include files are in DIR
1352 --x-libraries=DIR X library files are in DIR
1355 --build=BUILD configure for building on BUILD [guessed]
1356 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1360 if test -n "$ac_init_help"; then
1361 case $ac_init_help in
1362 short | recursive ) echo "Configuration of Wine 0.9.57:";;
1367 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1368 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1369 --disable-win16 do not include Win16 support
1370 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1374 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1375 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1376 --without-alsa do not use the Alsa sound support
1377 --without-audioio do not use the AudioIO sound support
1378 --without-capi do not use CAPI (ISDN support)
1379 --without-cms do not use CMS (color management support)
1380 --without-coreaudio do not use the CoreAudio sound support
1381 --without-cups do not use CUPS
1382 --without-curses do not use (n)curses
1383 --without-esd do not use the EsounD sound support
1384 --without-fontconfig do not use fontconfig
1385 --without-gphoto do not use gphoto (Digital Camera support)
1386 --without-hal do not use HAL (dynamic device support)
1387 --without-jack do not use the Jack sound support
1388 --without-jpeg do not use JPEG
1389 --without-ldap do not use LDAP
1390 --without-nas do not use the NAS sound support
1391 --without-opengl do not use OpenGL
1392 --without-openssl do not use OpenSSL
1393 --without-oss do not use the OSS sound support
1394 --without-png do not use PNG
1395 --without-sane do not use SANE (scanner support)
1396 --without-xcomposite do not use the Xcomposite extension
1397 --without-xcursor do not use the Xcursor extension
1398 --without-xinerama do not use Xinerama (multi-monitor support)
1399 --without-xinput do not use the Xinput extension
1400 --without-xml do not use XML
1401 --without-xrandr do not use Xrandr (resolution changes)
1402 --without-xrender do not use the Xrender extension
1403 --without-xshape do not use the Xshape extension
1404 --without-xshm do not use XShm (shared memory extension)
1405 --without-xslt do not use XSLT
1406 --without-xvidmode do not use XFree video mode extension
1407 --with-wine-tools=DIR use Wine tools from directory DIR
1408 --with-x use the X Window System
1410 Some influential environment variables:
1411 CC C compiler command
1412 CFLAGS C compiler flags
1413 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1414 nonstandard directory <lib dir>
1415 LIBS libraries to pass to the linker, e.g. -l<library>
1416 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1417 you have headers in a nonstandard directory <include dir>
1418 CXX C++ compiler command
1419 CXXFLAGS C++ compiler flags
1420 XMKMF Path to xmkmf, Makefile generator for X Window System
1423 Use these variables to override the choices made by `configure' or to help
1424 it to find libraries and programs with nonstandard names/locations.
1426 Report bugs to <wine-devel@winehq.org>.
1431 if test "$ac_init_help" = "recursive"; then
1432 # If there are subdirs, report their specific --help.
1433 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1434 test -d "$ac_dir" || continue
1438 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1441 # A ".." for each directory in $ac_dir_suffix.
1442 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1443 case $ac_top_builddir_sub in
1444 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1448 ac_abs_top_builddir=$ac_pwd
1449 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1450 # for backward compatibility:
1451 ac_top_builddir=$ac_top_build_prefix
1454 .) # We are building in place.
1456 ac_top_srcdir=$ac_top_builddir_sub
1457 ac_abs_top_srcdir=$ac_pwd ;;
1458 [\\/]* | ?:[\\/]* ) # Absolute name.
1459 ac_srcdir=$srcdir$ac_dir_suffix;
1460 ac_top_srcdir=$srcdir
1461 ac_abs_top_srcdir=$srcdir ;;
1463 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1464 ac_top_srcdir=$ac_top_build_prefix$srcdir
1465 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1467 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1469 cd "$ac_dir" || { ac_status=$?; continue; }
1470 # Check for guested configure.
1471 if test -f "$ac_srcdir/configure.gnu"; then
1473 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1474 elif test -f "$ac_srcdir/configure"; then
1476 $SHELL "$ac_srcdir/configure" --help=recursive
1478 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1480 cd "$ac_pwd" || { ac_status=$?; break; }
1484 test -n "$ac_init_help" && exit $ac_status
1485 if $ac_init_version; then
1487 Wine configure 0.9.57
1488 generated by GNU Autoconf 2.61
1490 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1491 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1492 This configure script is free software; the Free Software Foundation
1493 gives unlimited permission to copy, distribute and modify it.
1497 cat >config.log <<_ACEOF
1498 This file contains any messages produced by compilers while
1499 running configure, to aid debugging if configure makes a mistake.
1501 It was created by Wine $as_me 0.9.57, which was
1502 generated by GNU Autoconf 2.61. Invocation command line was
1514 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1515 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1516 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1517 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1518 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1520 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1521 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1523 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1524 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1525 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1526 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1527 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1528 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1529 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1537 test -z "$as_dir" && as_dir=.
1538 echo "PATH: $as_dir"
1554 # Keep a trace of the command line.
1555 # Strip out --no-create and --no-recursion so they do not pile up.
1556 # Strip out --silent because we don't want to record it for future runs.
1557 # Also quote any args containing shell meta-characters.
1558 # Make two passes to allow for proper duplicate-argument suppression.
1562 ac_must_keep_next=false
1568 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1569 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1570 | -silent | --silent | --silen | --sile | --sil)
1573 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1576 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1578 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1579 if test $ac_must_keep_next = true; then
1580 ac_must_keep_next=false # Got value, back to normal.
1583 *=* | --config-cache | -C | -disable-* | --disable-* \
1584 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1585 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1586 | -with-* | --with-* | -without-* | --without-* | --x)
1587 case "$ac_configure_args0 " in
1588 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1591 -* ) ac_must_keep_next=true ;;
1594 ac_configure_args="$ac_configure_args '$ac_arg'"
1599 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1600 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1602 # When interrupted or exit'd, cleanup temporary files, and complete
1603 # config.log. We remove comments because anyway the quotes in there
1604 # would cause problems or look ugly.
1605 # WARNING: Use '\'' to represent an apostrophe within the trap.
1606 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1607 trap 'exit_status=$?
1608 # Save into config.log some information that might help in debugging.
1613 ## ---------------- ##
1614 ## Cache variables. ##
1615 ## ---------------- ##
1618 # The following way of writing the cache mishandles newlines in values,
1620 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1621 eval ac_val=\$$ac_var
1625 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1626 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1629 _ | IFS | as_nl) ;; #(
1630 *) $as_unset $ac_var ;;
1635 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1636 *${as_nl}ac_space=\ *)
1638 "s/'\''/'\''\\\\'\'''\''/g;
1639 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1642 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1650 ## ----------------- ##
1651 ## Output variables. ##
1652 ## ----------------- ##
1655 for ac_var in $ac_subst_vars
1657 eval ac_val=\$$ac_var
1659 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1661 echo "$ac_var='\''$ac_val'\''"
1665 if test -n "$ac_subst_files"; then
1667 ## ------------------- ##
1668 ## File substitutions. ##
1669 ## ------------------- ##
1672 for ac_var in $ac_subst_files
1674 eval ac_val=\$$ac_var
1676 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1678 echo "$ac_var='\''$ac_val'\''"
1683 if test -s confdefs.h; then
1693 test "$ac_signal" != 0 &&
1694 echo "$as_me: caught signal $ac_signal"
1695 echo "$as_me: exit $exit_status"
1697 rm -f core *.core core.conftest.* &&
1698 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1701 for ac_signal in 1 2 13 15; do
1702 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1706 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1707 rm -f -r conftest* confdefs.h
1709 # Predefined preprocessor variables.
1711 cat >>confdefs.h <<_ACEOF
1712 #define PACKAGE_NAME "$PACKAGE_NAME"
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_STRING "$PACKAGE_STRING"
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1736 # Let the site file select an alternate cache file if it wants to.
1737 # Prefer explicitly selected file to automatically selected ones.
1738 if test -n "$CONFIG_SITE"; then
1739 set x "$CONFIG_SITE"
1740 elif test "x$prefix" != xNONE; then
1741 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1743 set x "$ac_default_prefix/share/config.site" \
1744 "$ac_default_prefix/etc/config.site"
1749 if test -r "$ac_site_file"; then
1750 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1751 echo "$as_me: loading site script $ac_site_file" >&6;}
1752 sed 's/^/| /' "$ac_site_file" >&5
1757 if test -r "$cache_file"; then
1758 # Some versions of bash will fail to source /dev/null (special
1759 # files actually), so we avoid doing that.
1760 if test -f "$cache_file"; then
1761 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1762 echo "$as_me: loading cache $cache_file" >&6;}
1764 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1765 *) . "./$cache_file";;
1769 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1770 echo "$as_me: creating cache $cache_file" >&6;}
1774 # Check that the precious variables saved in the cache have kept the same
1776 ac_cache_corrupted=false
1777 for ac_var in $ac_precious_vars; do
1778 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1779 eval ac_new_set=\$ac_env_${ac_var}_set
1780 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1781 eval ac_new_val=\$ac_env_${ac_var}_value
1782 case $ac_old_set,$ac_new_set in
1784 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1785 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1786 ac_cache_corrupted=: ;;
1788 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1789 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1790 ac_cache_corrupted=: ;;
1793 if test "x$ac_old_val" != "x$ac_new_val"; then
1794 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1795 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1796 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1797 echo "$as_me: former value: $ac_old_val" >&2;}
1798 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1799 echo "$as_me: current value: $ac_new_val" >&2;}
1800 ac_cache_corrupted=:
1803 # Pass precious variables to config.status.
1804 if test "$ac_new_set" = set; then
1806 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1807 *) ac_arg=$ac_var=$ac_new_val ;;
1809 case " $ac_configure_args " in
1810 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1811 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1815 if $ac_cache_corrupted; then
1816 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1817 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1818 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1819 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1820 { (exit 1); exit 1; }; }
1848 ac_cpp='$CPP $CPPFLAGS'
1849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1855 ac_config_headers="$ac_config_headers include/config.h"
1858 for ac_dir in tools "$srcdir"/tools; do
1859 if test -f "$ac_dir/install-sh"; then
1861 ac_install_sh="$ac_aux_dir/install-sh -c"
1863 elif test -f "$ac_dir/install.sh"; then
1865 ac_install_sh="$ac_aux_dir/install.sh -c"
1867 elif test -f "$ac_dir/shtool"; then
1869 ac_install_sh="$ac_aux_dir/shtool install -c"
1873 if test -z "$ac_aux_dir"; then
1874 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1875 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1876 { (exit 1); exit 1; }; }
1879 # These three variables are undocumented and unsupported,
1880 # and are intended to be withdrawn in a future Autoconf release.
1881 # They can cause serious problems if a builder's source tree is in a directory
1882 # whose full name contains unusual characters.
1883 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1884 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1885 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1890 # Check whether --enable-win16 was given.
1891 if test "${enable_win16+set}" = set; then
1892 enableval=$enable_win16;
1895 # Check whether --enable-win64 was given.
1896 if test "${enable_win64+set}" = set; then
1897 enableval=$enable_win64;
1902 # Check whether --with-alsa was given.
1903 if test "${with_alsa+set}" = set; then
1904 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1908 # Check whether --with-audioio was given.
1909 if test "${with_audioio+set}" = set; then
1910 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1914 # Check whether --with-capi was given.
1915 if test "${with_capi+set}" = set; then
1916 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1920 # Check whether --with-cms was given.
1921 if test "${with_cms+set}" = set; then
1922 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1926 # Check whether --with-coreaudio was given.
1927 if test "${with_coreaudio+set}" = set; then
1928 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1932 # Check whether --with-cups was given.
1933 if test "${with_cups+set}" = set; then
1934 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1938 # Check whether --with-curses was given.
1939 if test "${with_curses+set}" = set; then
1940 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1944 # Check whether --with-esd was given.
1945 if test "${with_esd+set}" = set; then
1950 # Check whether --with-fontconfig was given.
1951 if test "${with_fontconfig+set}" = set; then
1952 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1956 # Check whether --with-gphoto was given.
1957 if test "${with_gphoto+set}" = set; then
1958 withval=$with_gphoto;
1962 # Check whether --with-hal was given.
1963 if test "${with_hal+set}" = set; then
1968 # Check whether --with-jack was given.
1969 if test "${with_jack+set}" = set; then
1970 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1974 # Check whether --with-jpeg was given.
1975 if test "${with_jpeg+set}" = set; then
1976 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
1980 # Check whether --with-ldap was given.
1981 if test "${with_ldap+set}" = set; then
1982 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
1986 # Check whether --with-nas was given.
1987 if test "${with_nas+set}" = set; then
1988 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
1992 # Check whether --with-opengl was given.
1993 if test "${with_opengl+set}" = set; then
1994 withval=$with_opengl;
1998 # Check whether --with-openssl was given.
1999 if test "${with_openssl+set}" = set; then
2000 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2004 # Check whether --with-oss was given.
2005 if test "${with_oss+set}" = set; then
2006 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
2010 # Check whether --with-png was given.
2011 if test "${with_png+set}" = set; then
2012 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2016 # Check whether --with-sane was given.
2017 if test "${with_sane+set}" = set; then
2022 # Check whether --with-xcomposite was given.
2023 if test "${with_xcomposite+set}" = set; then
2024 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2028 # Check whether --with-xcursor was given.
2029 if test "${with_xcursor+set}" = set; then
2030 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2034 # Check whether --with-xinerama was given.
2035 if test "${with_xinerama+set}" = set; then
2036 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2040 # Check whether --with-xinput was given.
2041 if test "${with_xinput+set}" = set; then
2042 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2046 # Check whether --with-xml was given.
2047 if test "${with_xml+set}" = set; then
2052 # Check whether --with-xrandr was given.
2053 if test "${with_xrandr+set}" = set; then
2054 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2058 # Check whether --with-xrender was given.
2059 if test "${with_xrender+set}" = set; then
2060 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2064 # Check whether --with-xshape was given.
2065 if test "${with_xshape+set}" = set; then
2066 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2070 # Check whether --with-xshm was given.
2071 if test "${with_xshm+set}" = set; then
2072 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2076 # Check whether --with-xslt was given.
2077 if test "${with_xslt+set}" = set; then
2082 # Check whether --with-xvidmode was given.
2083 if test "${with_xvidmode+set}" = set; then
2084 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2089 # Check whether --with-wine-tools was given.
2090 if test "${with_wine_tools+set}" = set; then
2091 withval=$with_wine_tools;
2095 # Make sure we can run config.sub.
2096 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2097 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2098 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2099 { (exit 1); exit 1; }; }
2101 { echo "$as_me:$LINENO: checking build system type" >&5
2102 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2103 if test "${ac_cv_build+set}" = set; then
2104 echo $ECHO_N "(cached) $ECHO_C" >&6
2106 ac_build_alias=$build_alias
2107 test "x$ac_build_alias" = x &&
2108 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2109 test "x$ac_build_alias" = x &&
2110 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2111 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2112 { (exit 1); exit 1; }; }
2113 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2114 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2115 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2116 { (exit 1); exit 1; }; }
2119 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2120 echo "${ECHO_T}$ac_cv_build" >&6; }
2121 case $ac_cv_build in
2123 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2124 echo "$as_me: error: invalid value of canonical build" >&2;}
2125 { (exit 1); exit 1; }; };;
2128 ac_save_IFS=$IFS; IFS='-'
2134 # Remember, the first character of IFS is used to create $*,
2135 # except with old shells:
2138 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2141 { echo "$as_me:$LINENO: checking host system type" >&5
2142 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2143 if test "${ac_cv_host+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2146 if test "x$host_alias" = x; then
2147 ac_cv_host=$ac_cv_build
2149 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2150 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2151 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2152 { (exit 1); exit 1; }; }
2156 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2157 echo "${ECHO_T}$ac_cv_host" >&6; }
2160 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2161 echo "$as_me: error: invalid value of canonical host" >&2;}
2162 { (exit 1); exit 1; }; };;
2165 ac_save_IFS=$IFS; IFS='-'
2171 # Remember, the first character of IFS is used to create $*,
2172 # except with old shells:
2175 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2180 if test "x$enable_win64" != "xyes"
2182 test -n "$CC" || CC="gcc -m32"
2183 test -n "$CXX"|| CXX="g++ -m32"
2184 test -n "$LD" || LD="ld -m elf_i386"
2185 test -n "$AS" || AS="as --32"
2193 if test "x$enable_win16" != "xno"
2200 WIN16_FILES="\$(WIN16_FILES)"
2202 WIN16_INSTALL="\$(WIN16_INSTALL)"
2204 if test "x$enable_win16" != "xyes"
2212 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2213 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2214 You need to run 'make distclean' in the source tree first." >&5
2215 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2216 You need to run 'make distclean' in the source tree first." >&2;}
2217 { (exit 1); exit 1; }; }
2222 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2223 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2224 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2225 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2226 echo $ECHO_N "(cached) $ECHO_C" >&6
2228 cat >conftest.make <<\_ACEOF
2231 @echo '@@@%%%=$(MAKE)=@@@%%%'
2233 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2234 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2236 eval ac_cv_prog_make_${ac_make}_set=yes;;
2238 eval ac_cv_prog_make_${ac_make}_set=no;;
2242 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2243 { echo "$as_me:$LINENO: result: yes" >&5
2244 echo "${ECHO_T}yes" >&6; }
2247 { echo "$as_me:$LINENO: result: no" >&5
2248 echo "${ECHO_T}no" >&6; }
2249 SET_MAKE="MAKE=${MAKE-make}"
2253 ac_cpp='$CPP $CPPFLAGS'
2254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2257 if test -n "$ac_tool_prefix"; then
2258 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2259 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2262 if test "${ac_cv_prog_CC+set}" = set; then
2263 echo $ECHO_N "(cached) $ECHO_C" >&6
2265 if test -n "$CC"; then
2266 ac_cv_prog_CC="$CC" # Let the user override the test.
2268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272 test -z "$as_dir" && as_dir=.
2273 for ac_exec_ext in '' $ac_executable_extensions; do
2274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2275 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2286 if test -n "$CC"; then
2287 { echo "$as_me:$LINENO: result: $CC" >&5
2288 echo "${ECHO_T}$CC" >&6; }
2290 { echo "$as_me:$LINENO: result: no" >&5
2291 echo "${ECHO_T}no" >&6; }
2296 if test -z "$ac_cv_prog_CC"; then
2298 # Extract the first word of "gcc", so it can be a program name with args.
2299 set dummy gcc; ac_word=$2
2300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2302 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 if test -n "$ac_ct_CC"; then
2306 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 test -z "$as_dir" && as_dir=.
2313 for ac_exec_ext in '' $ac_executable_extensions; do
2314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2315 ac_cv_prog_ac_ct_CC="gcc"
2316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2326 if test -n "$ac_ct_CC"; then
2327 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2328 echo "${ECHO_T}$ac_ct_CC" >&6; }
2330 { echo "$as_me:$LINENO: result: no" >&5
2331 echo "${ECHO_T}no" >&6; }
2334 if test "x$ac_ct_CC" = x; then
2337 case $cross_compiling:$ac_tool_warned in
2339 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2340 whose name does not start with the host triplet. If you think this
2341 configuration is useful to you, please write to autoconf@gnu.org." >&5
2342 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2343 whose name does not start with the host triplet. If you think this
2344 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2345 ac_tool_warned=yes ;;
2353 if test -z "$CC"; then
2354 if test -n "$ac_tool_prefix"; then
2355 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2356 set dummy ${ac_tool_prefix}cc; ac_word=$2
2357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2359 if test "${ac_cv_prog_CC+set}" = set; then
2360 echo $ECHO_N "(cached) $ECHO_C" >&6
2362 if test -n "$CC"; then
2363 ac_cv_prog_CC="$CC" # Let the user override the test.
2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2369 test -z "$as_dir" && as_dir=.
2370 for ac_exec_ext in '' $ac_executable_extensions; do
2371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2372 ac_cv_prog_CC="${ac_tool_prefix}cc"
2373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2383 if test -n "$CC"; then
2384 { echo "$as_me:$LINENO: result: $CC" >&5
2385 echo "${ECHO_T}$CC" >&6; }
2387 { echo "$as_me:$LINENO: result: no" >&5
2388 echo "${ECHO_T}no" >&6; }
2394 if test -z "$CC"; then
2395 # Extract the first word of "cc", so it can be a program name with args.
2396 set dummy cc; ac_word=$2
2397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2399 if test "${ac_cv_prog_CC+set}" = set; then
2400 echo $ECHO_N "(cached) $ECHO_C" >&6
2402 if test -n "$CC"; then
2403 ac_cv_prog_CC="$CC" # Let the user override the test.
2406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2410 test -z "$as_dir" && as_dir=.
2411 for ac_exec_ext in '' $ac_executable_extensions; do
2412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2413 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2414 ac_prog_rejected=yes
2418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2425 if test $ac_prog_rejected = yes; then
2426 # We found a bogon in the path, so make sure we never use it.
2427 set dummy $ac_cv_prog_CC
2429 if test $# != 0; then
2430 # We chose a different compiler from the bogus one.
2431 # However, it has the same basename, so the bogon will be chosen
2432 # first if we set CC to just the basename; use the full file name.
2434 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2440 if test -n "$CC"; then
2441 { echo "$as_me:$LINENO: result: $CC" >&5
2442 echo "${ECHO_T}$CC" >&6; }
2444 { echo "$as_me:$LINENO: result: no" >&5
2445 echo "${ECHO_T}no" >&6; }
2450 if test -z "$CC"; then
2451 if test -n "$ac_tool_prefix"; then
2452 for ac_prog in cl.exe
2454 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2455 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2458 if test "${ac_cv_prog_CC+set}" = set; then
2459 echo $ECHO_N "(cached) $ECHO_C" >&6
2461 if test -n "$CC"; then
2462 ac_cv_prog_CC="$CC" # Let the user override the test.
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468 test -z "$as_dir" && as_dir=.
2469 for ac_exec_ext in '' $ac_executable_extensions; do
2470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2471 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 if test -n "$CC"; then
2483 { echo "$as_me:$LINENO: result: $CC" >&5
2484 echo "${ECHO_T}$CC" >&6; }
2486 { echo "$as_me:$LINENO: result: no" >&5
2487 echo "${ECHO_T}no" >&6; }
2491 test -n "$CC" && break
2494 if test -z "$CC"; then
2496 for ac_prog in cl.exe
2498 # Extract the first word of "$ac_prog", so it can be a program name with args.
2499 set dummy $ac_prog; ac_word=$2
2500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2502 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test -n "$ac_ct_CC"; then
2506 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir=.
2513 for ac_exec_ext in '' $ac_executable_extensions; do
2514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2515 ac_cv_prog_ac_ct_CC="$ac_prog"
2516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2525 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2526 if test -n "$ac_ct_CC"; then
2527 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2528 echo "${ECHO_T}$ac_ct_CC" >&6; }
2530 { echo "$as_me:$LINENO: result: no" >&5
2531 echo "${ECHO_T}no" >&6; }
2535 test -n "$ac_ct_CC" && break
2538 if test "x$ac_ct_CC" = x; then
2541 case $cross_compiling:$ac_tool_warned in
2543 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2544 whose name does not start with the host triplet. If you think this
2545 configuration is useful to you, please write to autoconf@gnu.org." >&5
2546 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2547 whose name does not start with the host triplet. If you think this
2548 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2549 ac_tool_warned=yes ;;
2558 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: no acceptable C compiler found in \$PATH
2561 See \`config.log' for more details." >&2;}
2562 { (exit 1); exit 1; }; }
2564 # Provide some information about the compiler.
2565 echo "$as_me:$LINENO: checking for C compiler version" >&5
2566 ac_compiler=`set X $ac_compile; echo $2`
2567 { (ac_try="$ac_compiler --version >&5"
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2573 (eval "$ac_compiler --version >&5") 2>&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }
2577 { (ac_try="$ac_compiler -v >&5"
2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2583 (eval "$ac_compiler -v >&5") 2>&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }
2587 { (ac_try="$ac_compiler -V >&5"
2589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590 *) ac_try_echo=$ac_try;;
2592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2593 (eval "$ac_compiler -V >&5") 2>&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }
2598 cat >conftest.$ac_ext <<_ACEOF
2601 cat confdefs.h >>conftest.$ac_ext
2602 cat >>conftest.$ac_ext <<_ACEOF
2603 /* end confdefs.h. */
2613 ac_clean_files_save=$ac_clean_files
2614 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2615 # Try to create an executable without -o first, disregard a.out.
2616 # It will help us diagnose broken compilers, and finding out an intuition
2618 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2619 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2620 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2622 # List of possible output files, starting from the most likely.
2623 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2624 # only as a last resort. b.out is created by i960 compilers.
2625 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2627 # The IRIX 6 linker writes into existing files which may not be
2628 # executable, retaining their permissions. Remove them first so a
2629 # subsequent execution test works.
2631 for ac_file in $ac_files
2634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2635 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2640 if { (ac_try="$ac_link_default"
2642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2643 *) ac_try_echo=$ac_try;;
2645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2646 (eval "$ac_link_default") 2>&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }; then
2650 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2651 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2652 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2653 # so that the user can short-circuit this test for compilers unknown to
2655 for ac_file in $ac_files ''
2657 test -f "$ac_file" || continue
2659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2662 # We found the default executable, but exeext='' is most
2666 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2668 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2670 # We set ac_cv_exeext here because the later test for it is not
2671 # safe: cross compilers may not add the suffix if given an `-o'
2672 # argument, so we may need to know it at that point already.
2673 # Even if this section looks crufty: it has the advantage of
2680 test "$ac_cv_exeext" = no && ac_cv_exeext=
2686 { echo "$as_me:$LINENO: result: $ac_file" >&5
2687 echo "${ECHO_T}$ac_file" >&6; }
2688 if test -z "$ac_file"; then
2689 echo "$as_me: failed program was:" >&5
2690 sed 's/^/| /' conftest.$ac_ext >&5
2692 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2693 See \`config.log' for more details." >&5
2694 echo "$as_me: error: C compiler cannot create executables
2695 See \`config.log' for more details." >&2;}
2696 { (exit 77); exit 77; }; }
2699 ac_exeext=$ac_cv_exeext
2701 # Check that the compiler produces executables we can run. If not, either
2702 # the compiler is broken, or we cross compile.
2703 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2704 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2705 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2706 # If not cross compiling, check that we can run a simple program.
2707 if test "$cross_compiling" != yes; then
2708 if { ac_try='./$ac_file'
2709 { (case "(($ac_try" in
2710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2711 *) ac_try_echo=$ac_try;;
2713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2714 (eval "$ac_try") 2>&5
2716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717 (exit $ac_status); }; }; then
2720 if test "$cross_compiling" = maybe; then
2723 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2724 If you meant to cross compile, use \`--host'.
2725 See \`config.log' for more details." >&5
2726 echo "$as_me: error: cannot run C compiled programs.
2727 If you meant to cross compile, use \`--host'.
2728 See \`config.log' for more details." >&2;}
2729 { (exit 1); exit 1; }; }
2733 { echo "$as_me:$LINENO: result: yes" >&5
2734 echo "${ECHO_T}yes" >&6; }
2736 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2737 ac_clean_files=$ac_clean_files_save
2738 # Check that the compiler produces executables we can run. If not, either
2739 # the compiler is broken, or we cross compile.
2740 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2741 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2742 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2743 echo "${ECHO_T}$cross_compiling" >&6; }
2745 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2746 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2747 if { (ac_try="$ac_link"
2749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 *) ac_try_echo=$ac_try;;
2752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2753 (eval "$ac_link") 2>&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); }; then
2757 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2758 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2759 # work properly (i.e., refer to `conftest.exe'), while it won't with
2761 for ac_file in conftest.exe conftest conftest.*; do
2762 test -f "$ac_file" || continue
2764 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2765 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2771 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2772 See \`config.log' for more details." >&5
2773 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2774 See \`config.log' for more details." >&2;}
2775 { (exit 1); exit 1; }; }
2778 rm -f conftest$ac_cv_exeext
2779 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2780 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2782 rm -f conftest.$ac_ext
2783 EXEEXT=$ac_cv_exeext
2785 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2786 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2787 if test "${ac_cv_objext+set}" = set; then
2788 echo $ECHO_N "(cached) $ECHO_C" >&6
2790 cat >conftest.$ac_ext <<_ACEOF
2793 cat confdefs.h >>conftest.$ac_ext
2794 cat >>conftest.$ac_ext <<_ACEOF
2795 /* end confdefs.h. */
2805 rm -f conftest.o conftest.obj
2806 if { (ac_try="$ac_compile"
2808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2809 *) ac_try_echo=$ac_try;;
2811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2812 (eval "$ac_compile") 2>&5
2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 (exit $ac_status); }; then
2816 for ac_file in conftest.o conftest.obj conftest.*; do
2817 test -f "$ac_file" || continue;
2819 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2820 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2825 echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2828 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2829 See \`config.log' for more details." >&5
2830 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2831 See \`config.log' for more details." >&2;}
2832 { (exit 1); exit 1; }; }
2835 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2837 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2838 echo "${ECHO_T}$ac_cv_objext" >&6; }
2839 OBJEXT=$ac_cv_objext
2841 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2842 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2843 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6
2846 cat >conftest.$ac_ext <<_ACEOF
2849 cat confdefs.h >>conftest.$ac_ext
2850 cat >>conftest.$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2864 rm -f conftest.$ac_objext
2865 if { (ac_try="$ac_compile"
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2871 (eval "$ac_compile") 2>conftest.er1
2873 grep -v '^ *+' conftest.er1 >conftest.err
2875 cat conftest.err >&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); } && {
2878 test -z "$ac_c_werror_flag" ||
2879 test ! -s conftest.err
2880 } && test -s conftest.$ac_objext; then
2883 echo "$as_me: failed program was:" >&5
2884 sed 's/^/| /' conftest.$ac_ext >&5
2889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2890 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2893 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2894 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2895 GCC=`test $ac_compiler_gnu = yes && echo yes`
2896 ac_test_CFLAGS=${CFLAGS+set}
2897 ac_save_CFLAGS=$CFLAGS
2898 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2899 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2900 if test "${ac_cv_prog_cc_g+set}" = set; then
2901 echo $ECHO_N "(cached) $ECHO_C" >&6
2903 ac_save_c_werror_flag=$ac_c_werror_flag
2904 ac_c_werror_flag=yes
2907 cat >conftest.$ac_ext <<_ACEOF
2910 cat confdefs.h >>conftest.$ac_ext
2911 cat >>conftest.$ac_ext <<_ACEOF
2912 /* end confdefs.h. */
2922 rm -f conftest.$ac_objext
2923 if { (ac_try="$ac_compile"
2925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2926 *) ac_try_echo=$ac_try;;
2928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2929 (eval "$ac_compile") 2>conftest.er1
2931 grep -v '^ *+' conftest.er1 >conftest.err
2933 cat conftest.err >&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); } && {
2936 test -z "$ac_c_werror_flag" ||
2937 test ! -s conftest.err
2938 } && test -s conftest.$ac_objext; then
2941 echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.$ac_ext >&5
2945 cat >conftest.$ac_ext <<_ACEOF
2948 cat confdefs.h >>conftest.$ac_ext
2949 cat >>conftest.$ac_ext <<_ACEOF
2950 /* end confdefs.h. */
2960 rm -f conftest.$ac_objext
2961 if { (ac_try="$ac_compile"
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2967 (eval "$ac_compile") 2>conftest.er1
2969 grep -v '^ *+' conftest.er1 >conftest.err
2971 cat conftest.err >&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); } && {
2974 test -z "$ac_c_werror_flag" ||
2975 test ! -s conftest.err
2976 } && test -s conftest.$ac_objext; then
2979 echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2982 ac_c_werror_flag=$ac_save_c_werror_flag
2984 cat >conftest.$ac_ext <<_ACEOF
2987 cat confdefs.h >>conftest.$ac_ext
2988 cat >>conftest.$ac_ext <<_ACEOF
2989 /* end confdefs.h. */
2999 rm -f conftest.$ac_objext
3000 if { (ac_try="$ac_compile"
3002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003 *) ac_try_echo=$ac_try;;
3005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3006 (eval "$ac_compile") 2>conftest.er1
3008 grep -v '^ *+' conftest.er1 >conftest.err
3010 cat conftest.err >&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); } && {
3013 test -z "$ac_c_werror_flag" ||
3014 test ! -s conftest.err
3015 } && test -s conftest.$ac_objext; then
3018 echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3031 ac_c_werror_flag=$ac_save_c_werror_flag
3033 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3034 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3035 if test "$ac_test_CFLAGS" = set; then
3036 CFLAGS=$ac_save_CFLAGS
3037 elif test $ac_cv_prog_cc_g = yes; then
3038 if test "$GCC" = yes; then
3044 if test "$GCC" = yes; then
3050 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3051 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3052 if test "${ac_cv_prog_cc_c89+set}" = set; then
3053 echo $ECHO_N "(cached) $ECHO_C" >&6
3055 ac_cv_prog_cc_c89=no
3057 cat >conftest.$ac_ext <<_ACEOF
3060 cat confdefs.h >>conftest.$ac_ext
3061 cat >>conftest.$ac_ext <<_ACEOF
3062 /* end confdefs.h. */
3065 #include <sys/types.h>
3066 #include <sys/stat.h>
3067 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3068 struct buf { int x; };
3069 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3070 static char *e (p, i)
3076 static char *f (char * (*g) (char **, int), char **p, ...)
3081 s = g (p, va_arg (v,int));
3086 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3087 function prototypes and stuff, but not '\xHH' hex character constants.
3088 These don't provoke an error unfortunately, instead are silently treated
3089 as 'x'. The following induces an error, until -std is added to get
3090 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3091 array size at least. It's necessary to write '\x00'==0 to get something
3092 that's true only with -std. */
3093 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3095 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3096 inside strings and character constants. */
3098 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3100 int test (int i, double x);
3101 struct s1 {int (*f) (int a);};
3102 struct s2 {int (*f) (double a);};
3103 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3109 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3114 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3115 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3117 CC="$ac_save_CC $ac_arg"
3118 rm -f conftest.$ac_objext
3119 if { (ac_try="$ac_compile"
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3125 (eval "$ac_compile") 2>conftest.er1
3127 grep -v '^ *+' conftest.er1 >conftest.err
3129 cat conftest.err >&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); } && {
3132 test -z "$ac_c_werror_flag" ||
3133 test ! -s conftest.err
3134 } && test -s conftest.$ac_objext; then
3135 ac_cv_prog_cc_c89=$ac_arg
3137 echo "$as_me: failed program was:" >&5
3138 sed 's/^/| /' conftest.$ac_ext >&5
3143 rm -f core conftest.err conftest.$ac_objext
3144 test "x$ac_cv_prog_cc_c89" != "xno" && break
3146 rm -f conftest.$ac_ext
3151 case "x$ac_cv_prog_cc_c89" in
3153 { echo "$as_me:$LINENO: result: none needed" >&5
3154 echo "${ECHO_T}none needed" >&6; } ;;
3156 { echo "$as_me:$LINENO: result: unsupported" >&5
3157 echo "${ECHO_T}unsupported" >&6; } ;;
3159 CC="$CC $ac_cv_prog_cc_c89"
3160 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3161 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3166 ac_cpp='$CPP $CPPFLAGS'
3167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3172 ac_cpp='$CXXCPP $CPPFLAGS'
3173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3176 if test -z "$CXX"; then
3177 if test -n "$CCC"; then
3180 if test -n "$ac_tool_prefix"; then
3181 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3183 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3184 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3187 if test "${ac_cv_prog_CXX+set}" = set; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3190 if test -n "$CXX"; then
3191 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197 test -z "$as_dir" && as_dir=.
3198 for ac_exec_ext in '' $ac_executable_extensions; do
3199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3200 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3211 if test -n "$CXX"; then
3212 { echo "$as_me:$LINENO: result: $CXX" >&5
3213 echo "${ECHO_T}$CXX" >&6; }
3215 { echo "$as_me:$LINENO: result: no" >&5
3216 echo "${ECHO_T}no" >&6; }
3220 test -n "$CXX" && break
3223 if test -z "$CXX"; then
3225 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3227 # Extract the first word of "$ac_prog", so it can be a program name with args.
3228 set dummy $ac_prog; ac_word=$2
3229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3231 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3232 echo $ECHO_N "(cached) $ECHO_C" >&6
3234 if test -n "$ac_ct_CXX"; then
3235 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241 test -z "$as_dir" && as_dir=.
3242 for ac_exec_ext in '' $ac_executable_extensions; do
3243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3244 ac_cv_prog_ac_ct_CXX="$ac_prog"
3245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3254 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3255 if test -n "$ac_ct_CXX"; then
3256 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3257 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3259 { echo "$as_me:$LINENO: result: no" >&5
3260 echo "${ECHO_T}no" >&6; }
3264 test -n "$ac_ct_CXX" && break
3267 if test "x$ac_ct_CXX" = x; then
3270 case $cross_compiling:$ac_tool_warned in
3272 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3273 whose name does not start with the host triplet. If you think this
3274 configuration is useful to you, please write to autoconf@gnu.org." >&5
3275 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3276 whose name does not start with the host triplet. If you think this
3277 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3278 ac_tool_warned=yes ;;
3286 # Provide some information about the compiler.
3287 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3288 ac_compiler=`set X $ac_compile; echo $2`
3289 { (ac_try="$ac_compiler --version >&5"
3291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3292 *) ac_try_echo=$ac_try;;
3294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3295 (eval "$ac_compiler --version >&5") 2>&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); }
3299 { (ac_try="$ac_compiler -v >&5"
3301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302 *) ac_try_echo=$ac_try;;
3304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3305 (eval "$ac_compiler -v >&5") 2>&5
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); }
3309 { (ac_try="$ac_compiler -V >&5"
3311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312 *) ac_try_echo=$ac_try;;
3314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3315 (eval "$ac_compiler -V >&5") 2>&5
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); }
3320 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3321 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3322 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3323 echo $ECHO_N "(cached) $ECHO_C" >&6
3325 cat >conftest.$ac_ext <<_ACEOF
3328 cat confdefs.h >>conftest.$ac_ext
3329 cat >>conftest.$ac_ext <<_ACEOF
3330 /* end confdefs.h. */
3343 rm -f conftest.$ac_objext
3344 if { (ac_try="$ac_compile"
3346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347 *) ac_try_echo=$ac_try;;
3349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3350 (eval "$ac_compile") 2>conftest.er1
3352 grep -v '^ *+' conftest.er1 >conftest.err
3354 cat conftest.err >&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); } && {
3357 test -z "$ac_cxx_werror_flag" ||
3358 test ! -s conftest.err
3359 } && test -s conftest.$ac_objext; then
3362 echo "$as_me: failed program was:" >&5
3363 sed 's/^/| /' conftest.$ac_ext >&5
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3372 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3373 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3374 GXX=`test $ac_compiler_gnu = yes && echo yes`
3375 ac_test_CXXFLAGS=${CXXFLAGS+set}
3376 ac_save_CXXFLAGS=$CXXFLAGS
3377 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3378 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3379 if test "${ac_cv_prog_cxx_g+set}" = set; then
3380 echo $ECHO_N "(cached) $ECHO_C" >&6
3382 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3383 ac_cxx_werror_flag=yes
3386 cat >conftest.$ac_ext <<_ACEOF
3389 cat confdefs.h >>conftest.$ac_ext
3390 cat >>conftest.$ac_ext <<_ACEOF
3391 /* end confdefs.h. */
3401 rm -f conftest.$ac_objext
3402 if { (ac_try="$ac_compile"
3404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3405 *) ac_try_echo=$ac_try;;
3407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3408 (eval "$ac_compile") 2>conftest.er1
3410 grep -v '^ *+' conftest.er1 >conftest.err
3412 cat conftest.err >&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); } && {
3415 test -z "$ac_cxx_werror_flag" ||
3416 test ! -s conftest.err
3417 } && test -s conftest.$ac_objext; then
3418 ac_cv_prog_cxx_g=yes
3420 echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.$ac_ext >&5
3424 cat >conftest.$ac_ext <<_ACEOF
3427 cat confdefs.h >>conftest.$ac_ext
3428 cat >>conftest.$ac_ext <<_ACEOF
3429 /* end confdefs.h. */
3439 rm -f conftest.$ac_objext
3440 if { (ac_try="$ac_compile"
3442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3443 *) ac_try_echo=$ac_try;;
3445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3446 (eval "$ac_compile") 2>conftest.er1
3448 grep -v '^ *+' conftest.er1 >conftest.err
3450 cat conftest.err >&5
3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452 (exit $ac_status); } && {
3453 test -z "$ac_cxx_werror_flag" ||
3454 test ! -s conftest.err
3455 } && test -s conftest.$ac_objext; then
3458 echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.$ac_ext >&5
3461 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3463 cat >conftest.$ac_ext <<_ACEOF
3466 cat confdefs.h >>conftest.$ac_ext
3467 cat >>conftest.$ac_ext <<_ACEOF
3468 /* end confdefs.h. */
3478 rm -f conftest.$ac_objext
3479 if { (ac_try="$ac_compile"
3481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3482 *) ac_try_echo=$ac_try;;
3484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3485 (eval "$ac_compile") 2>conftest.er1
3487 grep -v '^ *+' conftest.er1 >conftest.err
3489 cat conftest.err >&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); } && {
3492 test -z "$ac_cxx_werror_flag" ||
3493 test ! -s conftest.err
3494 } && test -s conftest.$ac_objext; then
3495 ac_cv_prog_cxx_g=yes
3497 echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.$ac_ext >&5
3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3510 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3512 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3513 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3514 if test "$ac_test_CXXFLAGS" = set; then
3515 CXXFLAGS=$ac_save_CXXFLAGS
3516 elif test $ac_cv_prog_cxx_g = yes; then
3517 if test "$GXX" = yes; then
3523 if test "$GXX" = yes; then
3530 ac_cpp='$CPP $CPPFLAGS'
3531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3535 if test -n "$ac_tool_prefix"; then
3536 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3537 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3540 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3541 echo $ECHO_N "(cached) $ECHO_C" >&6
3543 if test -n "$CPPBIN"; then
3544 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 test -z "$as_dir" && as_dir=.
3551 for ac_exec_ext in '' $ac_executable_extensions; do
3552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3553 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3563 CPPBIN=$ac_cv_prog_CPPBIN
3564 if test -n "$CPPBIN"; then
3565 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3566 echo "${ECHO_T}$CPPBIN" >&6; }
3568 { echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6; }
3574 if test -z "$ac_cv_prog_CPPBIN"; then
3575 ac_ct_CPPBIN=$CPPBIN
3576 # Extract the first word of "cpp", so it can be a program name with args.
3577 set dummy cpp; ac_word=$2
3578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3580 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3583 if test -n "$ac_ct_CPPBIN"; then
3584 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3590 test -z "$as_dir" && as_dir=.
3591 for ac_exec_ext in '' $ac_executable_extensions; do
3592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3593 ac_cv_prog_ac_ct_CPPBIN="cpp"
3594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3603 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3604 if test -n "$ac_ct_CPPBIN"; then
3605 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3606 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3608 { echo "$as_me:$LINENO: result: no" >&5
3609 echo "${ECHO_T}no" >&6; }
3612 if test "x$ac_ct_CPPBIN" = x; then
3615 case $cross_compiling:$ac_tool_warned in
3617 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3618 whose name does not start with the host triplet. If you think this
3619 configuration is useful to you, please write to autoconf@gnu.org." >&5
3620 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3621 whose name does not start with the host triplet. If you think this
3622 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3623 ac_tool_warned=yes ;;
3625 CPPBIN=$ac_ct_CPPBIN
3628 CPPBIN="$ac_cv_prog_CPPBIN"
3632 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3633 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3634 if test "${wine_cv_toolsdir+set}" = set; then
3635 echo $ECHO_N "(cached) $ECHO_C" >&6
3637 if test -z "$with_wine_tools"; then
3638 if test "$cross_compiling" = "yes"; then
3639 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3640 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3641 { (exit 1); exit 1; }; }
3643 wine_cv_toolsdir="\$(TOPOBJDIR)"
3645 elif test -d "$with_wine_tools/tools/winebuild"; then
3646 case $with_wine_tools in
3647 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3648 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3651 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3652 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3653 { (exit 1); exit 1; }; }
3656 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3657 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3658 TOOLSDIR=$wine_cv_toolsdir
3663 ac_cpp='$CPP $CPPFLAGS'
3664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3667 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3668 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3669 # On Suns, sometimes $CPP names a directory.
3670 if test -n "$CPP" && test -d "$CPP"; then
3673 if test -z "$CPP"; then
3674 if test "${ac_cv_prog_CPP+set}" = set; then
3675 echo $ECHO_N "(cached) $ECHO_C" >&6
3677 # Double quotes because CPP needs to be expanded
3678 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3681 for ac_c_preproc_warn_flag in '' yes
3683 # Use a header file that comes with gcc, so configuring glibc
3684 # with a fresh cross-compiler works.
3685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3686 # <limits.h> exists even on freestanding compilers.
3687 # On the NeXT, cc -E runs the code through the compiler's parser,
3688 # not just through cpp. "Syntax error" is here to catch this case.
3689 cat >conftest.$ac_ext <<_ACEOF
3692 cat confdefs.h >>conftest.$ac_ext
3693 cat >>conftest.$ac_ext <<_ACEOF
3694 /* end confdefs.h. */
3696 # include <limits.h>
3698 # include <assert.h>
3702 if { (ac_try="$ac_cpp conftest.$ac_ext"
3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3705 *) ac_try_echo=$ac_try;;
3707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3710 grep -v '^ *+' conftest.er1 >conftest.err
3712 cat conftest.err >&5
3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); } >/dev/null && {
3715 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3716 test ! -s conftest.err
3720 echo "$as_me: failed program was:" >&5
3721 sed 's/^/| /' conftest.$ac_ext >&5
3723 # Broken: fails on valid input.
3727 rm -f conftest.err conftest.$ac_ext
3729 # OK, works on sane cases. Now check whether nonexistent headers
3730 # can be detected and how.
3731 cat >conftest.$ac_ext <<_ACEOF
3734 cat confdefs.h >>conftest.$ac_ext
3735 cat >>conftest.$ac_ext <<_ACEOF
3736 /* end confdefs.h. */
3737 #include <ac_nonexistent.h>
3739 if { (ac_try="$ac_cpp conftest.$ac_ext"
3741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3742 *) ac_try_echo=$ac_try;;
3744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3747 grep -v '^ *+' conftest.er1 >conftest.err
3749 cat conftest.err >&5
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); } >/dev/null && {
3752 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3753 test ! -s conftest.err
3755 # Broken: success on invalid input.
3758 echo "$as_me: failed program was:" >&5
3759 sed 's/^/| /' conftest.$ac_ext >&5
3761 # Passes both tests.
3766 rm -f conftest.err conftest.$ac_ext
3769 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3770 rm -f conftest.err conftest.$ac_ext
3771 if $ac_preproc_ok; then
3783 { echo "$as_me:$LINENO: result: $CPP" >&5
3784 echo "${ECHO_T}$CPP" >&6; }
3786 for ac_c_preproc_warn_flag in '' yes
3788 # Use a header file that comes with gcc, so configuring glibc
3789 # with a fresh cross-compiler works.
3790 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3791 # <limits.h> exists even on freestanding compilers.
3792 # On the NeXT, cc -E runs the code through the compiler's parser,
3793 # not just through cpp. "Syntax error" is here to catch this case.
3794 cat >conftest.$ac_ext <<_ACEOF
3797 cat confdefs.h >>conftest.$ac_ext
3798 cat >>conftest.$ac_ext <<_ACEOF
3799 /* end confdefs.h. */
3801 # include <limits.h>
3803 # include <assert.h>
3807 if { (ac_try="$ac_cpp conftest.$ac_ext"
3809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3810 *) ac_try_echo=$ac_try;;
3812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3813 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3815 grep -v '^ *+' conftest.er1 >conftest.err
3817 cat conftest.err >&5
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); } >/dev/null && {
3820 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3821 test ! -s conftest.err
3825 echo "$as_me: failed program was:" >&5
3826 sed 's/^/| /' conftest.$ac_ext >&5
3828 # Broken: fails on valid input.
3832 rm -f conftest.err conftest.$ac_ext
3834 # OK, works on sane cases. Now check whether nonexistent headers
3835 # can be detected and how.
3836 cat >conftest.$ac_ext <<_ACEOF
3839 cat confdefs.h >>conftest.$ac_ext
3840 cat >>conftest.$ac_ext <<_ACEOF
3841 /* end confdefs.h. */
3842 #include <ac_nonexistent.h>
3844 if { (ac_try="$ac_cpp conftest.$ac_ext"
3846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3847 *) ac_try_echo=$ac_try;;
3849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3850 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3852 grep -v '^ *+' conftest.er1 >conftest.err
3854 cat conftest.err >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } >/dev/null && {
3857 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3858 test ! -s conftest.err
3860 # Broken: success on invalid input.
3863 echo "$as_me: failed program was:" >&5
3864 sed 's/^/| /' conftest.$ac_ext >&5
3866 # Passes both tests.
3871 rm -f conftest.err conftest.$ac_ext
3874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3875 rm -f conftest.err conftest.$ac_ext
3876 if $ac_preproc_ok; then
3879 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3880 See \`config.log' for more details." >&5
3881 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3882 See \`config.log' for more details." >&2;}
3883 { (exit 1); exit 1; }; }
3887 ac_cpp='$CPP $CPPFLAGS'
3888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3893 { echo "$as_me:$LINENO: checking for X" >&5
3894 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3897 # Check whether --with-x was given.
3898 if test "${with_x+set}" = set; then
3902 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3903 if test "x$with_x" = xno; then
3904 # The user explicitly disabled X.
3907 case $x_includes,$x_libraries in #(
3908 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3909 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3910 { (exit 1); exit 1; }; };; #(
3911 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3914 # One or both of the vars are not set, and there is no cached value.
3915 ac_x_includes=no ac_x_libraries=no
3916 rm -f -r conftest.dir
3917 if mkdir conftest.dir; then
3919 cat >Imakefile <<'_ACEOF'
3921 @echo incroot='${INCROOT}'
3923 @echo usrlibdir='${USRLIBDIR}'
3925 @echo libdir='${LIBDIR}'
3927 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3928 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3929 for ac_var in incroot usrlibdir libdir; do
3930 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3932 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3933 for ac_extension in a so sl; do
3934 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3935 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3936 ac_im_usrlibdir=$ac_im_libdir; break
3939 # Screen out bogus values from the imake configuration. They are
3940 # bogus both because they are the default anyway, and because
3941 # using them would break gcc on systems where it needs fixed includes.
3942 case $ac_im_incroot in
3943 /usr/include) ac_x_includes= ;;
3944 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3946 case $ac_im_usrlibdir in
3948 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3952 rm -f -r conftest.dir
3955 # Standard set of common directories for X headers.
3956 # Check X11 before X11Rn because it is often a symlink to the current release.
3968 /usr/local/X11/include
3969 /usr/local/X11R6/include
3970 /usr/local/X11R5/include
3971 /usr/local/X11R4/include
3973 /usr/local/include/X11
3974 /usr/local/include/X11R6
3975 /usr/local/include/X11R5
3976 /usr/local/include/X11R4
3980 /usr/XFree86/include/X11
3984 /usr/unsupported/include
3986 /usr/local/x11r5/include
3987 /usr/lpp/Xamples/include
3989 /usr/openwin/include
3990 /usr/openwin/share/include'
3992 if test "$ac_x_includes" = no; then
3993 # Guess where to find include files, by looking for Xlib.h.
3994 # First, try using that file with no special directory specified.
3995 cat >conftest.$ac_ext <<_ACEOF
3998 cat confdefs.h >>conftest.$ac_ext
3999 cat >>conftest.$ac_ext <<_ACEOF
4000 /* end confdefs.h. */
4001 #include <X11/Xlib.h>
4003 if { (ac_try="$ac_cpp conftest.$ac_ext"
4005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4006 *) ac_try_echo=$ac_try;;
4008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4009 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4011 grep -v '^ *+' conftest.er1 >conftest.err
4013 cat conftest.err >&5
4014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015 (exit $ac_status); } >/dev/null && {
4016 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4017 test ! -s conftest.err
4019 # We can compile using X headers with no special include directory.
4022 echo "$as_me: failed program was:" >&5
4023 sed 's/^/| /' conftest.$ac_ext >&5
4025 for ac_dir in $ac_x_header_dirs; do
4026 if test -r "$ac_dir/X11/Xlib.h"; then
4027 ac_x_includes=$ac_dir
4033 rm -f conftest.err conftest.$ac_ext
4034 fi # $ac_x_includes = no
4036 if test "$ac_x_libraries" = no; then
4037 # Check for the libraries.
4038 # See if we find them without any special options.
4039 # Don't add to $LIBS permanently.
4042 cat >conftest.$ac_ext <<_ACEOF
4045 cat confdefs.h >>conftest.$ac_ext
4046 cat >>conftest.$ac_ext <<_ACEOF
4047 /* end confdefs.h. */
4048 #include <X11/Xlib.h>
4057 rm -f conftest.$ac_objext conftest$ac_exeext
4058 if { (ac_try="$ac_link"
4060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4064 (eval "$ac_link") 2>conftest.er1
4066 grep -v '^ *+' conftest.er1 >conftest.err
4068 cat conftest.err >&5
4069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 (exit $ac_status); } && {
4071 test -z "$ac_c_werror_flag" ||
4072 test ! -s conftest.err
4073 } && test -s conftest$ac_exeext &&
4074 $as_test_x conftest$ac_exeext; then
4076 # We can link X programs with no special library path.
4079 echo "$as_me: failed program was:" >&5
4080 sed 's/^/| /' conftest.$ac_ext >&5
4083 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4085 # Don't even attempt the hair of trying to link an X program!
4086 for ac_extension in a so sl; do
4087 if test -r "$ac_dir/libX11.$ac_extension"; then
4088 ac_x_libraries=$ac_dir
4095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4096 conftest$ac_exeext conftest.$ac_ext
4097 fi # $ac_x_libraries = no
4099 case $ac_x_includes,$ac_x_libraries in #(
4101 # Didn't find X, or a directory has "'" in its name.
4102 ac_cv_have_x="have_x=no";; #(
4104 # Record where we found X for the cache.
4105 ac_cv_have_x="have_x=yes\
4106 ac_x_includes='$ac_x_includes'\
4107 ac_x_libraries='$ac_x_libraries'"
4113 eval "$ac_cv_have_x"
4116 if test "$have_x" != yes; then
4117 { echo "$as_me:$LINENO: result: $have_x" >&5
4118 echo "${ECHO_T}$have_x" >&6; }
4121 # If each of the values was on the command line, it overrides each guess.
4122 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4123 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4124 # Update the cache value to reflect the command line values.
4125 ac_cv_have_x="have_x=yes\
4126 ac_x_includes='$x_includes'\
4127 ac_x_libraries='$x_libraries'"
4128 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4129 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4132 if test "$no_x" = yes; then
4133 # Not all programs may use this symbol, but it does not hurt to define it.
4135 cat >>confdefs.h <<\_ACEOF
4136 #define X_DISPLAY_MISSING 1
4139 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4141 if test -n "$x_includes"; then
4142 X_CFLAGS="$X_CFLAGS -I$x_includes"
4145 # It would also be nice to do this for all -L options, not just this one.
4146 if test -n "$x_libraries"; then
4147 X_LIBS="$X_LIBS -L$x_libraries"
4148 # For Solaris; some versions of Sun CC require a space after -R and
4149 # others require no space. Words are not sufficient . . . .
4150 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4151 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4152 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4153 ac_xsave_c_werror_flag=$ac_c_werror_flag
4154 ac_c_werror_flag=yes
4155 cat >conftest.$ac_ext <<_ACEOF
4158 cat confdefs.h >>conftest.$ac_ext
4159 cat >>conftest.$ac_ext <<_ACEOF
4160 /* end confdefs.h. */
4170 rm -f conftest.$ac_objext conftest$ac_exeext
4171 if { (ac_try="$ac_link"
4173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4174 *) ac_try_echo=$ac_try;;
4176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4177 (eval "$ac_link") 2>conftest.er1
4179 grep -v '^ *+' conftest.er1 >conftest.err
4181 cat conftest.err >&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); } && {
4184 test -z "$ac_c_werror_flag" ||
4185 test ! -s conftest.err
4186 } && test -s conftest$ac_exeext &&
4187 $as_test_x conftest$ac_exeext; then
4188 { echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6; }
4190 X_LIBS="$X_LIBS -R$x_libraries"
4192 echo "$as_me: failed program was:" >&5
4193 sed 's/^/| /' conftest.$ac_ext >&5
4195 LIBS="$ac_xsave_LIBS -R $x_libraries"
4196 cat >conftest.$ac_ext <<_ACEOF
4199 cat confdefs.h >>conftest.$ac_ext
4200 cat >>conftest.$ac_ext <<_ACEOF
4201 /* end confdefs.h. */
4211 rm -f conftest.$ac_objext conftest$ac_exeext
4212 if { (ac_try="$ac_link"
4214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215 *) ac_try_echo=$ac_try;;
4217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4218 (eval "$ac_link") 2>conftest.er1
4220 grep -v '^ *+' conftest.er1 >conftest.err
4222 cat conftest.err >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } && {
4225 test -z "$ac_c_werror_flag" ||
4226 test ! -s conftest.err
4227 } && test -s conftest$ac_exeext &&
4228 $as_test_x conftest$ac_exeext; then
4229 { echo "$as_me:$LINENO: result: yes" >&5
4230 echo "${ECHO_T}yes" >&6; }
4231 X_LIBS="$X_LIBS -R $x_libraries"
4233 echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.$ac_ext >&5
4236 { echo "$as_me:$LINENO: result: neither works" >&5
4237 echo "${ECHO_T}neither works" >&6; }
4240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4241 conftest$ac_exeext conftest.$ac_ext
4244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4245 conftest$ac_exeext conftest.$ac_ext
4246 ac_c_werror_flag=$ac_xsave_c_werror_flag
4250 # Check for system-dependent libraries X programs must link with.
4251 # Do this before checking for the system-independent R6 libraries
4252 # (-lICE), since we may need -lsocket or whatever for X linking.
4254 if test "$ISC" = yes; then
4255 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4257 # Martyn Johnson says this is needed for Ultrix, if the X
4258 # libraries were built with DECnet support. And Karl Berry says
4259 # the Alpha needs dnet_stub (dnet does not exist).
4260 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4261 cat >conftest.$ac_ext <<_ACEOF
4264 cat confdefs.h >>conftest.$ac_ext
4265 cat >>conftest.$ac_ext <<_ACEOF
4266 /* end confdefs.h. */
4268 /* Override any GCC internal prototype to avoid an error.
4269 Use char because int might match the return type of a GCC
4270 builtin and then its argument prototype would still apply. */
4274 char XOpenDisplay ();
4278 return XOpenDisplay ();
4283 rm -f conftest.$ac_objext conftest$ac_exeext
4284 if { (ac_try="$ac_link"
4286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4287 *) ac_try_echo=$ac_try;;
4289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4290 (eval "$ac_link") 2>conftest.er1
4292 grep -v '^ *+' conftest.er1 >conftest.err
4294 cat conftest.err >&5
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); } && {
4297 test -z "$ac_c_werror_flag" ||
4298 test ! -s conftest.err
4299 } && test -s conftest$ac_exeext &&
4300 $as_test_x conftest$ac_exeext; then
4303 echo "$as_me: failed program was:" >&5
4304 sed 's/^/| /' conftest.$ac_ext >&5
4306 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4307 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4308 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 ac_check_lib_save_LIBS=$LIBS
4313 cat >conftest.$ac_ext <<_ACEOF
4316 cat confdefs.h >>conftest.$ac_ext
4317 cat >>conftest.$ac_ext <<_ACEOF
4318 /* end confdefs.h. */
4320 /* Override any GCC internal prototype to avoid an error.
4321 Use char because int might match the return type of a GCC
4322 builtin and then its argument prototype would still apply. */
4330 return dnet_ntoa ();
4335 rm -f conftest.$ac_objext conftest$ac_exeext
4336 if { (ac_try="$ac_link"
4338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4339 *) ac_try_echo=$ac_try;;
4341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4342 (eval "$ac_link") 2>conftest.er1
4344 grep -v '^ *+' conftest.er1 >conftest.err
4346 cat conftest.err >&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } && {
4349 test -z "$ac_c_werror_flag" ||
4350 test ! -s conftest.err
4351 } && test -s conftest$ac_exeext &&
4352 $as_test_x conftest$ac_exeext; then
4353 ac_cv_lib_dnet_dnet_ntoa=yes
4355 echo "$as_me: failed program was:" >&5
4356 sed 's/^/| /' conftest.$ac_ext >&5
4358 ac_cv_lib_dnet_dnet_ntoa=no
4361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4362 conftest$ac_exeext conftest.$ac_ext
4363 LIBS=$ac_check_lib_save_LIBS
4365 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4366 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4367 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4368 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4371 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4372 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4373 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4374 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4375 echo $ECHO_N "(cached) $ECHO_C" >&6
4377 ac_check_lib_save_LIBS=$LIBS
4378 LIBS="-ldnet_stub $LIBS"
4379 cat >conftest.$ac_ext <<_ACEOF
4382 cat confdefs.h >>conftest.$ac_ext
4383 cat >>conftest.$ac_ext <<_ACEOF
4384 /* end confdefs.h. */
4386 /* Override any GCC internal prototype to avoid an error.
4387 Use char because int might match the return type of a GCC
4388 builtin and then its argument prototype would still apply. */
4396 return dnet_ntoa ();
4401 rm -f conftest.$ac_objext conftest$ac_exeext
4402 if { (ac_try="$ac_link"
4404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4405 *) ac_try_echo=$ac_try;;
4407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4408 (eval "$ac_link") 2>conftest.er1
4410 grep -v '^ *+' conftest.er1 >conftest.err
4412 cat conftest.err >&5
4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414 (exit $ac_status); } && {
4415 test -z "$ac_c_werror_flag" ||
4416 test ! -s conftest.err
4417 } && test -s conftest$ac_exeext &&
4418 $as_test_x conftest$ac_exeext; then
4419 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4421 echo "$as_me: failed program was:" >&5
4422 sed 's/^/| /' conftest.$ac_ext >&5
4424 ac_cv_lib_dnet_stub_dnet_ntoa=no
4427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4428 conftest$ac_exeext conftest.$ac_ext
4429 LIBS=$ac_check_lib_save_LIBS
4431 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4432 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4433 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4434 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4441 conftest$ac_exeext conftest.$ac_ext
4442 LIBS="$ac_xsave_LIBS"
4444 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4445 # to get the SysV transport functions.
4446 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4448 # The nsl library prevents programs from opening the X display
4449 # on Irix 5.2, according to T.E. Dickey.
4450 # The functions gethostbyname, getservbyname, and inet_addr are
4451 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4452 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4453 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4454 if test "${ac_cv_func_gethostbyname+set}" = set; then
4455 echo $ECHO_N "(cached) $ECHO_C" >&6
4457 cat >conftest.$ac_ext <<_ACEOF
4460 cat confdefs.h >>conftest.$ac_ext
4461 cat >>conftest.$ac_ext <<_ACEOF
4462 /* end confdefs.h. */
4463 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4465 #define gethostbyname innocuous_gethostbyname
4467 /* System header to define __stub macros and hopefully few prototypes,
4468 which can conflict with char gethostbyname (); below.
4469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4470 <limits.h> exists even on freestanding compilers. */
4473 # include <limits.h>
4475 # include <assert.h>
4478 #undef gethostbyname
4480 /* Override any GCC internal prototype to avoid an error.
4481 Use char because int might match the return type of a GCC
4482 builtin and then its argument prototype would still apply. */
4486 char gethostbyname ();
4487 /* The GNU C library defines this for functions which it implements
4488 to always fail with ENOSYS. Some functions are actually named
4489 something starting with __ and the normal name is an alias. */
4490 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4497 return gethostbyname ();
4502 rm -f conftest.$ac_objext conftest$ac_exeext
4503 if { (ac_try="$ac_link"
4505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4506 *) ac_try_echo=$ac_try;;
4508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4509 (eval "$ac_link") 2>conftest.er1
4511 grep -v '^ *+' conftest.er1 >conftest.err
4513 cat conftest.err >&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); } && {
4516 test -z "$ac_c_werror_flag" ||
4517 test ! -s conftest.err
4518 } && test -s conftest$ac_exeext &&
4519 $as_test_x conftest$ac_exeext; then
4520 ac_cv_func_gethostbyname=yes
4522 echo "$as_me: failed program was:" >&5
4523 sed 's/^/| /' conftest.$ac_ext >&5
4525 ac_cv_func_gethostbyname=no
4528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4529 conftest$ac_exeext conftest.$ac_ext
4531 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4532 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4534 if test $ac_cv_func_gethostbyname = no; then
4535 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4536 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4537 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4538 echo $ECHO_N "(cached) $ECHO_C" >&6
4540 ac_check_lib_save_LIBS=$LIBS
4542 cat >conftest.$ac_ext <<_ACEOF
4545 cat confdefs.h >>conftest.$ac_ext
4546 cat >>conftest.$ac_ext <<_ACEOF
4547 /* end confdefs.h. */
4549 /* Override any GCC internal prototype to avoid an error.
4550 Use char because int might match the return type of a GCC
4551 builtin and then its argument prototype would still apply. */
4555 char gethostbyname ();
4559 return gethostbyname ();
4564 rm -f conftest.$ac_objext conftest$ac_exeext
4565 if { (ac_try="$ac_link"
4567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4568 *) ac_try_echo=$ac_try;;
4570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4571 (eval "$ac_link") 2>conftest.er1
4573 grep -v '^ *+' conftest.er1 >conftest.err
4575 cat conftest.err >&5
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); } && {
4578 test -z "$ac_c_werror_flag" ||
4579 test ! -s conftest.err
4580 } && test -s conftest$ac_exeext &&
4581 $as_test_x conftest$ac_exeext; then
4582 ac_cv_lib_nsl_gethostbyname=yes
4584 echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.$ac_ext >&5
4587 ac_cv_lib_nsl_gethostbyname=no
4590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4591 conftest$ac_exeext conftest.$ac_ext
4592 LIBS=$ac_check_lib_save_LIBS
4594 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4595 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4596 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4597 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4600 if test $ac_cv_lib_nsl_gethostbyname = no; then
4601 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4602 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4603 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4606 ac_check_lib_save_LIBS=$LIBS
4608 cat >conftest.$ac_ext <<_ACEOF
4611 cat confdefs.h >>conftest.$ac_ext
4612 cat >>conftest.$ac_ext <<_ACEOF
4613 /* end confdefs.h. */
4615 /* Override any GCC internal prototype to avoid an error.
4616 Use char because int might match the return type of a GCC
4617 builtin and then its argument prototype would still apply. */
4621 char gethostbyname ();
4625 return gethostbyname ();
4630 rm -f conftest.$ac_objext conftest$ac_exeext
4631 if { (ac_try="$ac_link"
4633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4634 *) ac_try_echo=$ac_try;;
4636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4637 (eval "$ac_link") 2>conftest.er1
4639 grep -v '^ *+' conftest.er1 >conftest.err
4641 cat conftest.err >&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); } && {
4644 test -z "$ac_c_werror_flag" ||
4645 test ! -s conftest.err
4646 } && test -s conftest$ac_exeext &&
4647 $as_test_x conftest$ac_exeext; then
4648 ac_cv_lib_bsd_gethostbyname=yes
4650 echo "$as_me: failed program was:" >&5
4651 sed 's/^/| /' conftest.$ac_ext >&5
4653 ac_cv_lib_bsd_gethostbyname=no
4656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4657 conftest$ac_exeext conftest.$ac_ext
4658 LIBS=$ac_check_lib_save_LIBS
4660 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4661 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4662 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4663 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4669 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4670 # socket/setsockopt and other routines are undefined under SCO ODT
4671 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4672 # on later versions), says Simon Leinen: it contains gethostby*
4673 # variants that don't use the name server (or something). -lsocket
4674 # must be given before -lnsl if both are needed. We assume that
4675 # if connect needs -lnsl, so does gethostbyname.
4676 { echo "$as_me:$LINENO: checking for connect" >&5
4677 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4678 if test "${ac_cv_func_connect+set}" = set; then
4679 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 cat >conftest.$ac_ext <<_ACEOF
4684 cat confdefs.h >>conftest.$ac_ext
4685 cat >>conftest.$ac_ext <<_ACEOF
4686 /* end confdefs.h. */
4687 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4689 #define connect innocuous_connect
4691 /* System header to define __stub macros and hopefully few prototypes,
4692 which can conflict with char connect (); below.
4693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4694 <limits.h> exists even on freestanding compilers. */
4697 # include <limits.h>
4699 # include <assert.h>
4704 /* Override any GCC internal prototype to avoid an error.
4705 Use char because int might match the return type of a GCC
4706 builtin and then its argument prototype would still apply. */
4711 /* The GNU C library defines this for functions which it implements
4712 to always fail with ENOSYS. Some functions are actually named
4713 something starting with __ and the normal name is an alias. */
4714 #if defined __stub_connect || defined __stub___connect
4726 rm -f conftest.$ac_objext conftest$ac_exeext
4727 if { (ac_try="$ac_link"
4729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4733 (eval "$ac_link") 2>conftest.er1
4735 grep -v '^ *+' conftest.er1 >conftest.err
4737 cat conftest.err >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } && {
4740 test -z "$ac_c_werror_flag" ||
4741 test ! -s conftest.err
4742 } && test -s conftest$ac_exeext &&
4743 $as_test_x conftest$ac_exeext; then
4744 ac_cv_func_connect=yes
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4749 ac_cv_func_connect=no
4752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4753 conftest$ac_exeext conftest.$ac_ext
4755 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4756 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4758 if test $ac_cv_func_connect = no; then
4759 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4760 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4761 if test "${ac_cv_lib_socket_connect+set}" = set; then
4762 echo $ECHO_N "(cached) $ECHO_C" >&6
4764 ac_check_lib_save_LIBS=$LIBS
4765 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4766 cat >conftest.$ac_ext <<_ACEOF
4769 cat confdefs.h >>conftest.$ac_ext
4770 cat >>conftest.$ac_ext <<_ACEOF
4771 /* end confdefs.h. */
4773 /* Override any GCC internal prototype to avoid an error.
4774 Use char because int might match the return type of a GCC
4775 builtin and then its argument prototype would still apply. */
4788 rm -f conftest.$ac_objext conftest$ac_exeext
4789 if { (ac_try="$ac_link"
4791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4792 *) ac_try_echo=$ac_try;;
4794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4795 (eval "$ac_link") 2>conftest.er1
4797 grep -v '^ *+' conftest.er1 >conftest.err
4799 cat conftest.err >&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); } && {
4802 test -z "$ac_c_werror_flag" ||
4803 test ! -s conftest.err
4804 } && test -s conftest$ac_exeext &&
4805 $as_test_x conftest$ac_exeext; then
4806 ac_cv_lib_socket_connect=yes
4808 echo "$as_me: failed program was:" >&5
4809 sed 's/^/| /' conftest.$ac_ext >&5
4811 ac_cv_lib_socket_connect=no
4814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4815 conftest$ac_exeext conftest.$ac_ext
4816 LIBS=$ac_check_lib_save_LIBS
4818 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4819 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4820 if test $ac_cv_lib_socket_connect = yes; then
4821 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4826 # Guillermo Gomez says -lposix is necessary on A/UX.
4827 { echo "$as_me:$LINENO: checking for remove" >&5
4828 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4829 if test "${ac_cv_func_remove+set}" = set; then
4830 echo $ECHO_N "(cached) $ECHO_C" >&6
4832 cat >conftest.$ac_ext <<_ACEOF
4835 cat confdefs.h >>conftest.$ac_ext
4836 cat >>conftest.$ac_ext <<_ACEOF
4837 /* end confdefs.h. */
4838 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4840 #define remove innocuous_remove
4842 /* System header to define __stub macros and hopefully few prototypes,
4843 which can conflict with char remove (); below.
4844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4845 <limits.h> exists even on freestanding compilers. */
4848 # include <limits.h>
4850 # include <assert.h>
4855 /* Override any GCC internal prototype to avoid an error.
4856 Use char because int might match the return type of a GCC
4857 builtin and then its argument prototype would still apply. */
4862 /* The GNU C library defines this for functions which it implements
4863 to always fail with ENOSYS. Some functions are actually named
4864 something starting with __ and the normal name is an alias. */
4865 #if defined __stub_remove || defined __stub___remove
4877 rm -f conftest.$ac_objext conftest$ac_exeext
4878 if { (ac_try="$ac_link"
4880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4881 *) ac_try_echo=$ac_try;;
4883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4884 (eval "$ac_link") 2>conftest.er1
4886 grep -v '^ *+' conftest.er1 >conftest.err
4888 cat conftest.err >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } && {
4891 test -z "$ac_c_werror_flag" ||
4892 test ! -s conftest.err
4893 } && test -s conftest$ac_exeext &&
4894 $as_test_x conftest$ac_exeext; then
4895 ac_cv_func_remove=yes
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4900 ac_cv_func_remove=no
4903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4904 conftest$ac_exeext conftest.$ac_ext
4906 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4907 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4909 if test $ac_cv_func_remove = no; then
4910 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4911 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4912 if test "${ac_cv_lib_posix_remove+set}" = set; then
4913 echo $ECHO_N "(cached) $ECHO_C" >&6
4915 ac_check_lib_save_LIBS=$LIBS
4916 LIBS="-lposix $LIBS"
4917 cat >conftest.$ac_ext <<_ACEOF
4920 cat confdefs.h >>conftest.$ac_ext
4921 cat >>conftest.$ac_ext <<_ACEOF
4922 /* end confdefs.h. */
4924 /* Override any GCC internal prototype to avoid an error.
4925 Use char because int might match the return type of a GCC
4926 builtin and then its argument prototype would still apply. */
4939 rm -f conftest.$ac_objext conftest$ac_exeext
4940 if { (ac_try="$ac_link"
4942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4943 *) ac_try_echo=$ac_try;;
4945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4946 (eval "$ac_link") 2>conftest.er1
4948 grep -v '^ *+' conftest.er1 >conftest.err
4950 cat conftest.err >&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); } && {
4953 test -z "$ac_c_werror_flag" ||
4954 test ! -s conftest.err
4955 } && test -s conftest$ac_exeext &&
4956 $as_test_x conftest$ac_exeext; then
4957 ac_cv_lib_posix_remove=yes
4959 echo "$as_me: failed program was:" >&5
4960 sed 's/^/| /' conftest.$ac_ext >&5
4962 ac_cv_lib_posix_remove=no
4965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4966 conftest$ac_exeext conftest.$ac_ext
4967 LIBS=$ac_check_lib_save_LIBS
4969 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4970 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4971 if test $ac_cv_lib_posix_remove = yes; then
4972 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4977 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4978 { echo "$as_me:$LINENO: checking for shmat" >&5
4979 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4980 if test "${ac_cv_func_shmat+set}" = set; then
4981 echo $ECHO_N "(cached) $ECHO_C" >&6
4983 cat >conftest.$ac_ext <<_ACEOF
4986 cat confdefs.h >>conftest.$ac_ext
4987 cat >>conftest.$ac_ext <<_ACEOF
4988 /* end confdefs.h. */
4989 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4991 #define shmat innocuous_shmat
4993 /* System header to define __stub macros and hopefully few prototypes,
4994 which can conflict with char shmat (); below.
4995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4996 <limits.h> exists even on freestanding compilers. */
4999 # include <limits.h>
5001 # include <assert.h>
5006 /* Override any GCC internal prototype to avoid an error.
5007 Use char because int might match the return type of a GCC
5008 builtin and then its argument prototype would still apply. */
5013 /* The GNU C library defines this for functions which it implements
5014 to always fail with ENOSYS. Some functions are actually named
5015 something starting with __ and the normal name is an alias. */
5016 #if defined __stub_shmat || defined __stub___shmat
5028 rm -f conftest.$ac_objext conftest$ac_exeext
5029 if { (ac_try="$ac_link"
5031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5032 *) ac_try_echo=$ac_try;;
5034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5035 (eval "$ac_link") 2>conftest.er1
5037 grep -v '^ *+' conftest.er1 >conftest.err
5039 cat conftest.err >&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); } && {
5042 test -z "$ac_c_werror_flag" ||
5043 test ! -s conftest.err
5044 } && test -s conftest$ac_exeext &&
5045 $as_test_x conftest$ac_exeext; then
5046 ac_cv_func_shmat=yes
5048 echo "$as_me: failed program was:" >&5
5049 sed 's/^/| /' conftest.$ac_ext >&5
5054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5055 conftest$ac_exeext conftest.$ac_ext
5057 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5058 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5060 if test $ac_cv_func_shmat = no; then
5061 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5062 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5063 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5064 echo $ECHO_N "(cached) $ECHO_C" >&6
5066 ac_check_lib_save_LIBS=$LIBS
5068 cat >conftest.$ac_ext <<_ACEOF
5071 cat confdefs.h >>conftest.$ac_ext
5072 cat >>conftest.$ac_ext <<_ACEOF
5073 /* end confdefs.h. */
5075 /* Override any GCC internal prototype to avoid an error.
5076 Use char because int might match the return type of a GCC
5077 builtin and then its argument prototype would still apply. */
5090 rm -f conftest.$ac_objext conftest$ac_exeext
5091 if { (ac_try="$ac_link"
5093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5094 *) ac_try_echo=$ac_try;;
5096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5097 (eval "$ac_link") 2>conftest.er1
5099 grep -v '^ *+' conftest.er1 >conftest.err
5101 cat conftest.err >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } && {
5104 test -z "$ac_c_werror_flag" ||
5105 test ! -s conftest.err
5106 } && test -s conftest$ac_exeext &&
5107 $as_test_x conftest$ac_exeext; then
5108 ac_cv_lib_ipc_shmat=yes
5110 echo "$as_me: failed program was:" >&5
5111 sed 's/^/| /' conftest.$ac_ext >&5
5113 ac_cv_lib_ipc_shmat=no
5116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5117 conftest$ac_exeext conftest.$ac_ext
5118 LIBS=$ac_check_lib_save_LIBS
5120 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5121 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5122 if test $ac_cv_lib_ipc_shmat = yes; then
5123 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5129 # Check for libraries that X11R6 Xt/Xaw programs need.
5130 ac_save_LDFLAGS=$LDFLAGS
5131 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5132 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5133 # check for ICE first), but we must link in the order -lSM -lICE or
5134 # we get undefined symbols. So assume we have SM if we have ICE.
5135 # These have to be linked with before -lX11, unlike the other
5136 # libraries we check for below, so use a different variable.
5137 # John Interrante, Karl Berry
5138 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5139 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5140 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5141 echo $ECHO_N "(cached) $ECHO_C" >&6
5143 ac_check_lib_save_LIBS=$LIBS
5144 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5145 cat >conftest.$ac_ext <<_ACEOF
5148 cat confdefs.h >>conftest.$ac_ext
5149 cat >>conftest.$ac_ext <<_ACEOF
5150 /* end confdefs.h. */
5152 /* Override any GCC internal prototype to avoid an error.
5153 Use char because int might match the return type of a GCC
5154 builtin and then its argument prototype would still apply. */
5158 char IceConnectionNumber ();
5162 return IceConnectionNumber ();
5167 rm -f conftest.$ac_objext conftest$ac_exeext
5168 if { (ac_try="$ac_link"
5170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5171 *) ac_try_echo=$ac_try;;
5173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5174 (eval "$ac_link") 2>conftest.er1
5176 grep -v '^ *+' conftest.er1 >conftest.err
5178 cat conftest.err >&5
5179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180 (exit $ac_status); } && {
5181 test -z "$ac_c_werror_flag" ||
5182 test ! -s conftest.err
5183 } && test -s conftest$ac_exeext &&
5184 $as_test_x conftest$ac_exeext; then
5185 ac_cv_lib_ICE_IceConnectionNumber=yes
5187 echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.$ac_ext >&5
5190 ac_cv_lib_ICE_IceConnectionNumber=no
5193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5194 conftest$ac_exeext conftest.$ac_ext
5195 LIBS=$ac_check_lib_save_LIBS
5197 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5198 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5199 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5200 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5203 LDFLAGS=$ac_save_LDFLAGS
5210 # Extract the first word of "$ac_prog", so it can be a program name with args.
5211 set dummy $ac_prog; ac_word=$2
5212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5214 if test "${ac_cv_prog_FLEX+set}" = set; then
5215 echo $ECHO_N "(cached) $ECHO_C" >&6
5217 if test -n "$FLEX"; then
5218 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5224 test -z "$as_dir" && as_dir=.
5225 for ac_exec_ext in '' $ac_executable_extensions; do
5226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5227 ac_cv_prog_FLEX="$ac_prog"
5228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 FLEX=$ac_cv_prog_FLEX
5238 if test -n "$FLEX"; then
5239 { echo "$as_me:$LINENO: result: $FLEX" >&5
5240 echo "${ECHO_T}$FLEX" >&6; }
5242 { echo "$as_me:$LINENO: result: no" >&5
5243 echo "${ECHO_T}no" >&6; }
5247 test -n "$FLEX" && break
5249 test -n "$FLEX" || FLEX="none"
5251 if test "$FLEX" = "none"
5253 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5254 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5255 { (exit 1); exit 1; }; }
5258 for ac_prog in bison
5260 # Extract the first word of "$ac_prog", so it can be a program name with args.
5261 set dummy $ac_prog; ac_word=$2
5262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5264 if test "${ac_cv_prog_BISON+set}" = set; then
5265 echo $ECHO_N "(cached) $ECHO_C" >&6
5267 if test -n "$BISON"; then
5268 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5277 ac_cv_prog_BISON="$ac_prog"
5278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 BISON=$ac_cv_prog_BISON
5288 if test -n "$BISON"; then
5289 { echo "$as_me:$LINENO: result: $BISON" >&5
5290 echo "${ECHO_T}$BISON" >&6; }
5292 { echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6; }
5297 test -n "$BISON" && break
5299 test -n "$BISON" || BISON="none"
5301 if test "$BISON" = "none"
5303 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5304 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5305 { (exit 1); exit 1; }; }
5308 if test -n "$ac_tool_prefix"; then
5309 for ac_prog in gas as
5311 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5312 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5315 if test "${ac_cv_prog_AS+set}" = set; then
5316 echo $ECHO_N "(cached) $ECHO_C" >&6
5318 if test -n "$AS"; then
5319 ac_cv_prog_AS="$AS" # Let the user override the test.
5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325 test -z "$as_dir" && as_dir=.
5326 for ac_exec_ext in '' $ac_executable_extensions; do
5327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5328 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5339 if test -n "$AS"; then
5340 { echo "$as_me:$LINENO: result: $AS" >&5
5341 echo "${ECHO_T}$AS" >&6; }
5343 { echo "$as_me:$LINENO: result: no" >&5
5344 echo "${ECHO_T}no" >&6; }
5348 test -n "$AS" && break
5351 if test -z "$AS"; then
5353 for ac_prog in gas as
5355 # Extract the first word of "$ac_prog", so it can be a program name with args.
5356 set dummy $ac_prog; ac_word=$2
5357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5359 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5360 echo $ECHO_N "(cached) $ECHO_C" >&6
5362 if test -n "$ac_ct_AS"; then
5363 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 test -z "$as_dir" && as_dir=.
5370 for ac_exec_ext in '' $ac_executable_extensions; do
5371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5372 ac_cv_prog_ac_ct_AS="$ac_prog"
5373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5382 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5383 if test -n "$ac_ct_AS"; then
5384 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5385 echo "${ECHO_T}$ac_ct_AS" >&6; }
5387 { echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6; }
5392 test -n "$ac_ct_AS" && break
5395 if test "x$ac_ct_AS" = x; then
5398 case $cross_compiling:$ac_tool_warned in
5400 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5401 whose name does not start with the host triplet. If you think this
5402 configuration is useful to you, please write to autoconf@gnu.org." >&5
5403 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5404 whose name does not start with the host triplet. If you think this
5405 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5406 ac_tool_warned=yes ;;
5412 if test -n "$ac_tool_prefix"; then
5413 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5414 set dummy ${ac_tool_prefix}ld; ac_word=$2
5415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5417 if test "${ac_cv_prog_LD+set}" = set; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5420 if test -n "$LD"; then
5421 ac_cv_prog_LD="$LD" # Let the user override the test.
5423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 test -z "$as_dir" && as_dir=.
5428 for ac_exec_ext in '' $ac_executable_extensions; do
5429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5430 ac_cv_prog_LD="${ac_tool_prefix}ld"
5431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5441 if test -n "$LD"; then
5442 { echo "$as_me:$LINENO: result: $LD" >&5
5443 echo "${ECHO_T}$LD" >&6; }
5445 { echo "$as_me:$LINENO: result: no" >&5
5446 echo "${ECHO_T}no" >&6; }
5451 if test -z "$ac_cv_prog_LD"; then
5453 # Extract the first word of "ld", so it can be a program name with args.
5454 set dummy ld; ac_word=$2
5455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5457 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 if test -n "$ac_ct_LD"; then
5461 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir=.
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470 ac_cv_prog_ac_ct_LD="ld"
5471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5481 if test -n "$ac_ct_LD"; then
5482 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5483 echo "${ECHO_T}$ac_ct_LD" >&6; }
5485 { echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6; }
5489 if test "x$ac_ct_LD" = x; then
5492 case $cross_compiling:$ac_tool_warned in
5494 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5495 whose name does not start with the host triplet. If you think this
5496 configuration is useful to you, please write to autoconf@gnu.org." >&5
5497 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5498 whose name does not start with the host triplet. If you think this
5499 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5500 ac_tool_warned=yes ;;
5508 if test -n "$ac_tool_prefix"; then
5509 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5510 set dummy ${ac_tool_prefix}ar; ac_word=$2
5511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5513 if test "${ac_cv_prog_AR+set}" = set; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5516 if test -n "$AR"; then
5517 ac_cv_prog_AR="$AR" # Let the user override the test.
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523 test -z "$as_dir" && as_dir=.
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5526 ac_cv_prog_AR="${ac_tool_prefix}ar"
5527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5537 if test -n "$AR"; then
5538 { echo "$as_me:$LINENO: result: $AR" >&5
5539 echo "${ECHO_T}$AR" >&6; }
5541 { echo "$as_me:$LINENO: result: no" >&5
5542 echo "${ECHO_T}no" >&6; }
5547 if test -z "$ac_cv_prog_AR"; then
5549 # Extract the first word of "ar", so it can be a program name with args.
5550 set dummy ar; ac_word=$2
5551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5553 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5554 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 if test -n "$ac_ct_AR"; then
5557 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 test -z "$as_dir" && as_dir=.
5564 for ac_exec_ext in '' $ac_executable_extensions; do
5565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5566 ac_cv_prog_ac_ct_AR="ar"
5567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5576 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5577 if test -n "$ac_ct_AR"; then
5578 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5579 echo "${ECHO_T}$ac_ct_AR" >&6; }
5581 { echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6; }
5585 if test "x$ac_ct_AR" = x; then
5588 case $cross_compiling:$ac_tool_warned in
5590 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5591 whose name does not start with the host triplet. If you think this
5592 configuration is useful to you, please write to autoconf@gnu.org." >&5
5593 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5594 whose name does not start with the host triplet. If you think this
5595 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5596 ac_tool_warned=yes ;;
5606 if test -n "$ac_tool_prefix"; then
5607 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5608 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5611 if test "${ac_cv_prog_RANLIB+set}" = set; then
5612 echo $ECHO_N "(cached) $ECHO_C" >&6
5614 if test -n "$RANLIB"; then
5615 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir=.
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5624 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 RANLIB=$ac_cv_prog_RANLIB
5635 if test -n "$RANLIB"; then
5636 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5637 echo "${ECHO_T}$RANLIB" >&6; }
5639 { echo "$as_me:$LINENO: result: no" >&5
5640 echo "${ECHO_T}no" >&6; }
5645 if test -z "$ac_cv_prog_RANLIB"; then
5646 ac_ct_RANLIB=$RANLIB
5647 # Extract the first word of "ranlib", so it can be a program name with args.
5648 set dummy ranlib; ac_word=$2
5649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5651 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5652 echo $ECHO_N "(cached) $ECHO_C" >&6
5654 if test -n "$ac_ct_RANLIB"; then
5655 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 test -z "$as_dir" && as_dir=.
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5664 ac_cv_prog_ac_ct_RANLIB="ranlib"
5665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5675 if test -n "$ac_ct_RANLIB"; then
5676 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5677 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5679 { echo "$as_me:$LINENO: result: no" >&5
5680 echo "${ECHO_T}no" >&6; }
5683 if test "x$ac_ct_RANLIB" = x; then
5686 case $cross_compiling:$ac_tool_warned in
5688 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5689 whose name does not start with the host triplet. If you think this
5690 configuration is useful to you, please write to autoconf@gnu.org." >&5
5691 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5692 whose name does not start with the host triplet. If you think this
5693 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5694 ac_tool_warned=yes ;;
5696 RANLIB=$ac_ct_RANLIB
5699 RANLIB="$ac_cv_prog_RANLIB"
5702 if test -n "$ac_tool_prefix"; then
5703 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5704 set dummy ${ac_tool_prefix}strip; ac_word=$2
5705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5707 if test "${ac_cv_prog_STRIP+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 if test -n "$STRIP"; then
5711 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 test -z "$as_dir" && as_dir=.
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5720 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 STRIP=$ac_cv_prog_STRIP
5731 if test -n "$STRIP"; then
5732 { echo "$as_me:$LINENO: result: $STRIP" >&5
5733 echo "${ECHO_T}$STRIP" >&6; }
5735 { echo "$as_me:$LINENO: result: no" >&5
5736 echo "${ECHO_T}no" >&6; }
5741 if test -z "$ac_cv_prog_STRIP"; then
5743 # Extract the first word of "strip", so it can be a program name with args.
5744 set dummy strip; ac_word=$2
5745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5747 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5748 echo $ECHO_N "(cached) $ECHO_C" >&6
5750 if test -n "$ac_ct_STRIP"; then
5751 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 test -z "$as_dir" && as_dir=.
5758 for ac_exec_ext in '' $ac_executable_extensions; do
5759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5760 ac_cv_prog_ac_ct_STRIP="strip"
5761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5771 if test -n "$ac_ct_STRIP"; then
5772 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5773 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5775 { echo "$as_me:$LINENO: result: no" >&5
5776 echo "${ECHO_T}no" >&6; }
5779 if test "x$ac_ct_STRIP" = x; then
5782 case $cross_compiling:$ac_tool_warned in
5784 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5785 whose name does not start with the host triplet. If you think this
5786 configuration is useful to you, please write to autoconf@gnu.org." >&5
5787 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5788 whose name does not start with the host triplet. If you think this
5789 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5790 ac_tool_warned=yes ;;
5795 STRIP="$ac_cv_prog_STRIP"
5798 if test -n "$ac_tool_prefix"; then
5799 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5800 set dummy ${ac_tool_prefix}windres; 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_WINDRES+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5806 if test -n "$WINDRES"; then
5807 ac_cv_prog_WINDRES="$WINDRES" # 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_WINDRES="${ac_tool_prefix}windres"
5817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 WINDRES=$ac_cv_prog_WINDRES
5827 if test -n "$WINDRES"; then
5828 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5829 echo "${ECHO_T}$WINDRES" >&6; }
5831 { echo "$as_me:$LINENO: result: no" >&5
5832 echo "${ECHO_T}no" >&6; }
5837 if test -z "$ac_cv_prog_WINDRES"; then
5838 ac_ct_WINDRES=$WINDRES
5839 # Extract the first word of "windres", so it can be a program name with args.
5840 set dummy windres; ac_word=$2
5841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5843 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5844 echo $ECHO_N "(cached) $ECHO_C" >&6
5846 if test -n "$ac_ct_WINDRES"; then
5847 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853 test -z "$as_dir" && as_dir=.
5854 for ac_exec_ext in '' $ac_executable_extensions; do
5855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5856 ac_cv_prog_ac_ct_WINDRES="windres"
5857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5867 if test -n "$ac_ct_WINDRES"; then
5868 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5869 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5871 { echo "$as_me:$LINENO: result: no" >&5
5872 echo "${ECHO_T}no" >&6; }
5875 if test "x$ac_ct_WINDRES" = x; then
5878 case $cross_compiling:$ac_tool_warned in
5880 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5881 whose name does not start with the host triplet. If you think this
5882 configuration is useful to you, please write to autoconf@gnu.org." >&5
5883 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5884 whose name does not start with the host triplet. If you think this
5885 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5886 ac_tool_warned=yes ;;
5888 WINDRES=$ac_ct_WINDRES
5891 WINDRES="$ac_cv_prog_WINDRES"
5894 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5895 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5897 if test "$LN_S" = "ln -s"; then
5898 { echo "$as_me:$LINENO: result: yes" >&5
5899 echo "${ECHO_T}yes" >&6; }
5901 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5902 echo "${ECHO_T}no, using $LN_S" >&6; }
5905 { echo "$as_me:$LINENO: checking whether ln works" >&5
5906 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5907 rm -f conf$$ conf$$.file
5909 if ln conf$$.file conf$$ 2>/dev/null; then
5912 { echo "$as_me:$LINENO: result: yes" >&5
5913 echo "${ECHO_T}yes" >&6; }
5917 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5918 echo "${ECHO_T}no, using $LN" >&6; }
5920 rm -f conf$$ conf$$.file
5921 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5922 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5923 if test "${ac_cv_path_GREP+set}" = set; then
5924 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 # Extract the first word of "grep ggrep" to use in msg output
5927 if test -z "$GREP"; then
5928 set dummy grep ggrep; ac_prog_name=$2
5929 if test "${ac_cv_path_GREP+set}" = set; then
5930 echo $ECHO_N "(cached) $ECHO_C" >&6
5932 ac_path_GREP_found=false
5933 # Loop through the user's path and test for each of PROGNAME-LIST
5934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5938 test -z "$as_dir" && as_dir=.
5939 for ac_prog in grep ggrep; do
5940 for ac_exec_ext in '' $ac_executable_extensions; do
5941 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5942 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5943 # Check for GNU ac_path_GREP and select it if it is found.
5944 # Check for GNU $ac_path_GREP
5945 case `"$ac_path_GREP" --version 2>&1` in
5947 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5950 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5953 cat "conftest.in" "conftest.in" >"conftest.tmp"
5954 mv "conftest.tmp" "conftest.in"
5955 cp "conftest.in" "conftest.nl"
5956 echo 'GREP' >> "conftest.nl"
5957 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5958 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5959 ac_count=`expr $ac_count + 1`
5960 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5961 # Best one so far, save it but keep looking for a better one
5962 ac_cv_path_GREP="$ac_path_GREP"
5963 ac_path_GREP_max=$ac_count
5965 # 10*(2^10) chars as input seems more than enough
5966 test $ac_count -gt 10 && break
5968 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5972 $ac_path_GREP_found && break 3
5982 GREP="$ac_cv_path_GREP"
5983 if test -z "$GREP"; then
5984 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5985 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5986 { (exit 1); exit 1; }; }
5990 ac_cv_path_GREP=$GREP
5995 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5996 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5997 GREP="$ac_cv_path_GREP"
6000 { echo "$as_me:$LINENO: checking for egrep" >&5
6001 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6002 if test "${ac_cv_path_EGREP+set}" = set; then
6003 echo $ECHO_N "(cached) $ECHO_C" >&6
6005 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6006 then ac_cv_path_EGREP="$GREP -E"
6008 # Extract the first word of "egrep" to use in msg output
6009 if test -z "$EGREP"; then
6010 set dummy egrep; ac_prog_name=$2
6011 if test "${ac_cv_path_EGREP+set}" = set; then
6012 echo $ECHO_N "(cached) $ECHO_C" >&6
6014 ac_path_EGREP_found=false
6015 # Loop through the user's path and test for each of PROGNAME-LIST
6016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6017 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6020 test -z "$as_dir" && as_dir=.
6021 for ac_prog in egrep; do
6022 for ac_exec_ext in '' $ac_executable_extensions; do
6023 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6024 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6025 # Check for GNU ac_path_EGREP and select it if it is found.
6026 # Check for GNU $ac_path_EGREP
6027 case `"$ac_path_EGREP" --version 2>&1` in
6029 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6032 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6035 cat "conftest.in" "conftest.in" >"conftest.tmp"
6036 mv "conftest.tmp" "conftest.in"
6037 cp "conftest.in" "conftest.nl"
6038 echo 'EGREP' >> "conftest.nl"
6039 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6040 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6041 ac_count=`expr $ac_count + 1`
6042 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6043 # Best one so far, save it but keep looking for a better one
6044 ac_cv_path_EGREP="$ac_path_EGREP"
6045 ac_path_EGREP_max=$ac_count
6047 # 10*(2^10) chars as input seems more than enough
6048 test $ac_count -gt 10 && break
6050 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6054 $ac_path_EGREP_found && break 3
6064 EGREP="$ac_cv_path_EGREP"
6065 if test -z "$EGREP"; then
6066 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6067 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6068 { (exit 1); exit 1; }; }
6072 ac_cv_path_EGREP=$EGREP
6078 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6079 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6080 EGREP="$ac_cv_path_EGREP"
6083 # Extract the first word of "ldconfig", so it can be a program name with args.
6084 set dummy ldconfig; ac_word=$2
6085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6087 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6088 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in /sbin /usr/sbin $PATH
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6102 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6114 LDCONFIG=$ac_cv_path_LDCONFIG
6115 if test -n "$LDCONFIG"; then
6116 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6117 echo "${ECHO_T}$LDCONFIG" >&6; }
6119 { echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6; }
6124 # Find a good install program. We prefer a C program (faster),
6125 # so one script is as good as another. But avoid the broken or
6126 # incompatible versions:
6127 # SysV /etc/install, /usr/sbin/install
6128 # SunOS /usr/etc/install
6129 # IRIX /sbin/install
6131 # AmigaOS /C/install, which installs bootblocks on floppy discs
6132 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6133 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6134 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6135 # OS/2's system install, which has a completely different semantic
6136 # ./install, which can be erroneously created by make from ./install.sh.
6137 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6138 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6139 if test -z "$INSTALL"; then
6140 if test "${ac_cv_path_install+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 test -z "$as_dir" && as_dir=.
6148 # Account for people who put trailing slashes in PATH elements.
6150 ./ | .// | /cC/* | \
6151 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6152 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6155 # OSF1 and SCO ODT 3.0 have their own names for install.
6156 # Don't use installbsd from OSF since it installs stuff as root
6158 for ac_prog in ginstall scoinst install; do
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6161 if test $ac_prog = install &&
6162 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6163 # AIX install. It has an incompatible calling convention.
6165 elif test $ac_prog = install &&
6166 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6167 # program-specific install script used by HP pwplus--don't use.
6170 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6183 if test "${ac_cv_path_install+set}" = set; then
6184 INSTALL=$ac_cv_path_install
6186 # As a last resort, use the slow shell script. Don't cache a
6187 # value for INSTALL within a source directory, because that will
6188 # break other packages using the cache if that directory is
6189 # removed, or if the value is a relative name.
6190 INSTALL=$ac_install_sh
6193 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6194 echo "${ECHO_T}$INSTALL" >&6; }
6196 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6197 # It thinks the first close brace ends the variable substitution.
6198 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6200 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6202 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6205 [\\/$]* | ?:[\\/]* ) ;;
6206 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6209 for ac_prog in lclint lint
6211 # Extract the first word of "$ac_prog", so it can be a program name with args.
6212 set dummy $ac_prog; ac_word=$2
6213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6215 if test "${ac_cv_prog_LINT+set}" = set; then
6216 echo $ECHO_N "(cached) $ECHO_C" >&6
6218 if test -n "$LINT"; then
6219 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6225 test -z "$as_dir" && as_dir=.
6226 for ac_exec_ext in '' $ac_executable_extensions; do
6227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6228 ac_cv_prog_LINT="$ac_prog"
6229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6238 LINT=$ac_cv_prog_LINT
6239 if test -n "$LINT"; then
6240 { echo "$as_me:$LINENO: result: $LINT" >&5
6241 echo "${ECHO_T}$LINT" >&6; }
6243 { echo "$as_me:$LINENO: result: no" >&5
6244 echo "${ECHO_T}no" >&6; }
6248 test -n "$LINT" && break
6251 if test "$LINT" = "lint"
6253 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6258 for ac_prog in fontforge
6260 # Extract the first word of "$ac_prog", so it can be a program name with args.
6261 set dummy $ac_prog; ac_word=$2
6262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6264 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6265 echo $ECHO_N "(cached) $ECHO_C" >&6
6267 if test -n "$FONTFORGE"; then
6268 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6274 test -z "$as_dir" && as_dir=.
6275 for ac_exec_ext in '' $ac_executable_extensions; do
6276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6277 ac_cv_prog_FONTFORGE="$ac_prog"
6278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6287 FONTFORGE=$ac_cv_prog_FONTFORGE
6288 if test -n "$FONTFORGE"; then
6289 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6290 echo "${ECHO_T}$FONTFORGE" >&6; }
6292 { echo "$as_me:$LINENO: result: no" >&5
6293 echo "${ECHO_T}no" >&6; }
6297 test -n "$FONTFORGE" && break
6299 test -n "$FONTFORGE" || FONTFORGE="false"
6301 for ac_prog in pkg-config
6303 # Extract the first word of "$ac_prog", so it can be a program name with args.
6304 set dummy $ac_prog; ac_word=$2
6305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6307 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 if test -n "$PKG_CONFIG"; then
6311 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6317 test -z "$as_dir" && as_dir=.
6318 for ac_exec_ext in '' $ac_executable_extensions; do
6319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6320 ac_cv_prog_PKG_CONFIG="$ac_prog"
6321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6330 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6331 if test -n "$PKG_CONFIG"; then
6332 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6333 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6335 { echo "$as_me:$LINENO: result: no" >&5
6336 echo "${ECHO_T}no" >&6; }
6340 test -n "$PKG_CONFIG" && break
6342 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6347 # Extract the first word of "prelink", so it can be a program name with args.
6348 set dummy prelink; ac_word=$2
6349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6351 if test "${ac_cv_path_PRELINK+set}" = set; then
6352 echo $ECHO_N "(cached) $ECHO_C" >&6
6356 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6360 for as_dir in /sbin /usr/sbin $PATH
6363 test -z "$as_dir" && as_dir=.
6364 for ac_exec_ext in '' $ac_executable_extensions; do
6365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6366 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6374 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6378 PRELINK=$ac_cv_path_PRELINK
6379 if test -n "$PRELINK"; then
6380 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6381 echo "${ECHO_T}$PRELINK" >&6; }
6383 { echo "$as_me:$LINENO: result: no" >&5
6384 echo "${ECHO_T}no" >&6; }
6393 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6394 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6395 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6396 echo $ECHO_N "(cached) $ECHO_C" >&6
6398 ac_check_lib_save_LIBS=$LIBS
6400 cat >conftest.$ac_ext <<_ACEOF
6403 cat confdefs.h >>conftest.$ac_ext
6404 cat >>conftest.$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6407 /* Override any GCC internal prototype to avoid an error.
6408 Use char because int might match the return type of a GCC
6409 builtin and then its argument prototype would still apply. */
6413 char i386_set_ldt ();
6417 return i386_set_ldt ();
6422 rm -f conftest.$ac_objext conftest$ac_exeext
6423 if { (ac_try="$ac_link"
6425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6426 *) ac_try_echo=$ac_try;;
6428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6429 (eval "$ac_link") 2>conftest.er1
6431 grep -v '^ *+' conftest.er1 >conftest.err
6433 cat conftest.err >&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); } && {
6436 test -z "$ac_c_werror_flag" ||
6437 test ! -s conftest.err
6438 } && test -s conftest$ac_exeext &&
6439 $as_test_x conftest$ac_exeext; then
6440 ac_cv_lib_i386_i386_set_ldt=yes
6442 echo "$as_me: failed program was:" >&5
6443 sed 's/^/| /' conftest.$ac_ext >&5
6445 ac_cv_lib_i386_i386_set_ldt=no
6448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6449 conftest$ac_exeext conftest.$ac_ext
6450 LIBS=$ac_check_lib_save_LIBS
6452 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6453 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6454 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6455 cat >>confdefs.h <<_ACEOF
6456 #define HAVE_LIBI386 1
6464 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6465 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6466 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6467 echo $ECHO_N "(cached) $ECHO_C" >&6
6469 ac_check_lib_save_LIBS=$LIBS
6470 LIBS="-lossaudio $LIBS"
6471 cat >conftest.$ac_ext <<_ACEOF
6474 cat confdefs.h >>conftest.$ac_ext
6475 cat >>conftest.$ac_ext <<_ACEOF
6476 /* end confdefs.h. */
6478 /* Override any GCC internal prototype to avoid an error.
6479 Use char because int might match the return type of a GCC
6480 builtin and then its argument prototype would still apply. */
6488 return _oss_ioctl ();
6493 rm -f conftest.$ac_objext conftest$ac_exeext
6494 if { (ac_try="$ac_link"
6496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6497 *) ac_try_echo=$ac_try;;
6499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6500 (eval "$ac_link") 2>conftest.er1
6502 grep -v '^ *+' conftest.er1 >conftest.err
6504 cat conftest.err >&5
6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); } && {
6507 test -z "$ac_c_werror_flag" ||
6508 test ! -s conftest.err
6509 } && test -s conftest$ac_exeext &&
6510 $as_test_x conftest$ac_exeext; then
6511 ac_cv_lib_ossaudio__oss_ioctl=yes
6513 echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.$ac_ext >&5
6516 ac_cv_lib_ossaudio__oss_ioctl=no
6519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6520 conftest$ac_exeext conftest.$ac_ext
6521 LIBS=$ac_check_lib_save_LIBS
6523 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6524 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6525 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6526 cat >>confdefs.h <<_ACEOF
6527 #define HAVE_LIBOSSAUDIO 1
6530 LIBS="-lossaudio $LIBS"
6534 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6535 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6536 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6539 ac_check_lib_save_LIBS=$LIBS
6540 LIBS="-lpthread $LIBS"
6541 cat >conftest.$ac_ext <<_ACEOF
6544 cat confdefs.h >>conftest.$ac_ext
6545 cat >>conftest.$ac_ext <<_ACEOF
6546 /* end confdefs.h. */
6548 /* Override any GCC internal prototype to avoid an error.
6549 Use char because int might match the return type of a GCC
6550 builtin and then its argument prototype would still apply. */
6554 char pthread_create ();
6558 return pthread_create ();
6563 rm -f conftest.$ac_objext conftest$ac_exeext
6564 if { (ac_try="$ac_link"
6566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6567 *) ac_try_echo=$ac_try;;
6569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6570 (eval "$ac_link") 2>conftest.er1
6572 grep -v '^ *+' conftest.er1 >conftest.err
6574 cat conftest.err >&5
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); } && {
6577 test -z "$ac_c_werror_flag" ||
6578 test ! -s conftest.err
6579 } && test -s conftest$ac_exeext &&
6580 $as_test_x conftest$ac_exeext; then
6581 ac_cv_lib_pthread_pthread_create=yes
6583 echo "$as_me: failed program was:" >&5
6584 sed 's/^/| /' conftest.$ac_ext >&5
6586 ac_cv_lib_pthread_pthread_create=no
6589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6590 conftest$ac_exeext conftest.$ac_ext
6591 LIBS=$ac_check_lib_save_LIBS
6593 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6594 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6595 if test $ac_cv_lib_pthread_pthread_create = yes; then
6596 LIBPTHREAD="-lpthread"
6615 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6616 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6617 if test "${ac_cv_header_stdc+set}" = set; then
6618 echo $ECHO_N "(cached) $ECHO_C" >&6
6620 cat >conftest.$ac_ext <<_ACEOF
6623 cat confdefs.h >>conftest.$ac_ext
6624 cat >>conftest.$ac_ext <<_ACEOF
6625 /* end confdefs.h. */
6639 rm -f conftest.$ac_objext
6640 if { (ac_try="$ac_compile"
6642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6643 *) ac_try_echo=$ac_try;;
6645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6646 (eval "$ac_compile") 2>conftest.er1
6648 grep -v '^ *+' conftest.er1 >conftest.err
6650 cat conftest.err >&5
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); } && {
6653 test -z "$ac_c_werror_flag" ||
6654 test ! -s conftest.err
6655 } && test -s conftest.$ac_objext; then
6656 ac_cv_header_stdc=yes
6658 echo "$as_me: failed program was:" >&5
6659 sed 's/^/| /' conftest.$ac_ext >&5
6661 ac_cv_header_stdc=no
6664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6666 if test $ac_cv_header_stdc = yes; then
6667 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6668 cat >conftest.$ac_ext <<_ACEOF
6671 cat confdefs.h >>conftest.$ac_ext
6672 cat >>conftest.$ac_ext <<_ACEOF
6673 /* end confdefs.h. */
6677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6678 $EGREP "memchr" >/dev/null 2>&1; then
6681 ac_cv_header_stdc=no
6687 if test $ac_cv_header_stdc = yes; then
6688 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6689 cat >conftest.$ac_ext <<_ACEOF
6692 cat confdefs.h >>conftest.$ac_ext
6693 cat >>conftest.$ac_ext <<_ACEOF
6694 /* end confdefs.h. */
6698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6699 $EGREP "free" >/dev/null 2>&1; then
6702 ac_cv_header_stdc=no
6708 if test $ac_cv_header_stdc = yes; then
6709 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6710 if test "$cross_compiling" = yes; then
6713 cat >conftest.$ac_ext <<_ACEOF
6716 cat confdefs.h >>conftest.$ac_ext
6717 cat >>conftest.$ac_ext <<_ACEOF
6718 /* end confdefs.h. */
6721 #if ((' ' & 0x0FF) == 0x020)
6722 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6723 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6725 # define ISLOWER(c) \
6726 (('a' <= (c) && (c) <= 'i') \
6727 || ('j' <= (c) && (c) <= 'r') \
6728 || ('s' <= (c) && (c) <= 'z'))
6729 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6732 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6737 for (i = 0; i < 256; i++)
6738 if (XOR (islower (i), ISLOWER (i))
6739 || toupper (i) != TOUPPER (i))
6744 rm -f conftest$ac_exeext
6745 if { (ac_try="$ac_link"
6747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6748 *) ac_try_echo=$ac_try;;
6750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6751 (eval "$ac_link") 2>&5
6753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6755 { (case "(($ac_try" in
6756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6757 *) ac_try_echo=$ac_try;;
6759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6760 (eval "$ac_try") 2>&5
6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763 (exit $ac_status); }; }; then
6766 echo "$as_me: program exited with status $ac_status" >&5
6767 echo "$as_me: failed program was:" >&5
6768 sed 's/^/| /' conftest.$ac_ext >&5
6771 ac_cv_header_stdc=no
6773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6779 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6780 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6781 if test $ac_cv_header_stdc = yes; then
6783 cat >>confdefs.h <<\_ACEOF
6784 #define STDC_HEADERS 1
6789 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6799 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6800 inttypes.h stdint.h unistd.h
6802 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6803 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6805 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6806 echo $ECHO_N "(cached) $ECHO_C" >&6
6808 cat >conftest.$ac_ext <<_ACEOF
6811 cat confdefs.h >>conftest.$ac_ext
6812 cat >>conftest.$ac_ext <<_ACEOF
6813 /* end confdefs.h. */
6814 $ac_includes_default
6816 #include <$ac_header>
6818 rm -f conftest.$ac_objext
6819 if { (ac_try="$ac_compile"
6821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6822 *) ac_try_echo=$ac_try;;
6824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6825 (eval "$ac_compile") 2>conftest.er1
6827 grep -v '^ *+' conftest.er1 >conftest.err
6829 cat conftest.err >&5
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); } && {
6832 test -z "$ac_c_werror_flag" ||
6833 test ! -s conftest.err
6834 } && test -s conftest.$ac_objext; then
6835 eval "$as_ac_Header=yes"
6837 echo "$as_me: failed program was:" >&5
6838 sed 's/^/| /' conftest.$ac_ext >&5
6840 eval "$as_ac_Header=no"
6843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6845 ac_res=`eval echo '${'$as_ac_Header'}'`
6846 { echo "$as_me:$LINENO: result: $ac_res" >&5
6847 echo "${ECHO_T}$ac_res" >&6; }
6848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6849 cat >>confdefs.h <<_ACEOF
6850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6969 AudioUnit/AudioUnit.h \
6971 CoreAudio/CoreAudio.h \
6972 DiskArbitration/DiskArbitration.h \
6985 fontconfig/fontconfig.h \
7011 machine/soundcard.h \
7016 netinet/in_systm.h \
7081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7083 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7085 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7086 echo $ECHO_N "(cached) $ECHO_C" >&6
7088 ac_res=`eval echo '${'$as_ac_Header'}'`
7089 { echo "$as_me:$LINENO: result: $ac_res" >&5
7090 echo "${ECHO_T}$ac_res" >&6; }
7092 # Is the header compilable?
7093 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7094 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7095 cat >conftest.$ac_ext <<_ACEOF
7098 cat confdefs.h >>conftest.$ac_ext
7099 cat >>conftest.$ac_ext <<_ACEOF
7100 /* end confdefs.h. */
7101 $ac_includes_default
7102 #include <$ac_header>
7104 rm -f conftest.$ac_objext
7105 if { (ac_try="$ac_compile"
7107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7108 *) ac_try_echo=$ac_try;;
7110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7111 (eval "$ac_compile") 2>conftest.er1
7113 grep -v '^ *+' conftest.er1 >conftest.err
7115 cat conftest.err >&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); } && {
7118 test -z "$ac_c_werror_flag" ||
7119 test ! -s conftest.err
7120 } && test -s conftest.$ac_objext; then
7121 ac_header_compiler=yes
7123 echo "$as_me: failed program was:" >&5
7124 sed 's/^/| /' conftest.$ac_ext >&5
7126 ac_header_compiler=no
7129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7130 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7131 echo "${ECHO_T}$ac_header_compiler" >&6; }
7133 # Is the header present?
7134 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7135 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7136 cat >conftest.$ac_ext <<_ACEOF
7139 cat confdefs.h >>conftest.$ac_ext
7140 cat >>conftest.$ac_ext <<_ACEOF
7141 /* end confdefs.h. */
7142 #include <$ac_header>
7144 if { (ac_try="$ac_cpp conftest.$ac_ext"
7146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7147 *) ac_try_echo=$ac_try;;
7149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7152 grep -v '^ *+' conftest.er1 >conftest.err
7154 cat conftest.err >&5
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); } >/dev/null && {
7157 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7158 test ! -s conftest.err
7160 ac_header_preproc=yes
7162 echo "$as_me: failed program was:" >&5
7163 sed 's/^/| /' conftest.$ac_ext >&5
7165 ac_header_preproc=no
7168 rm -f conftest.err conftest.$ac_ext
7169 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7170 echo "${ECHO_T}$ac_header_preproc" >&6; }
7172 # So? What about this header?
7173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7175 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7176 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7178 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7179 ac_header_preproc=yes
7182 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7183 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7184 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7185 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7186 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7187 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7188 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7189 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7192 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7193 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7195 ## ------------------------------------ ##
7196 ## Report this to wine-devel@winehq.org ##
7197 ## ------------------------------------ ##
7199 ) | sed "s/^/$as_me: WARNING: /" >&2
7202 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7205 echo $ECHO_N "(cached) $ECHO_C" >&6
7207 eval "$as_ac_Header=\$ac_header_preproc"
7209 ac_res=`eval echo '${'$as_ac_Header'}'`
7210 { echo "$as_me:$LINENO: result: $ac_res" >&5
7211 echo "${ECHO_T}$ac_res" >&6; }
7214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7215 cat >>confdefs.h <<_ACEOF
7216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7223 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7224 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7225 if test "${ac_cv_header_stat_broken+set}" = set; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7228 cat >conftest.$ac_ext <<_ACEOF
7231 cat confdefs.h >>conftest.$ac_ext
7232 cat >>conftest.$ac_ext <<_ACEOF
7233 /* end confdefs.h. */
7234 #include <sys/types.h>
7235 #include <sys/stat.h>
7237 #if defined S_ISBLK && defined S_IFDIR
7238 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7241 #if defined S_ISBLK && defined S_IFCHR
7242 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7245 #if defined S_ISLNK && defined S_IFREG
7246 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7249 #if defined S_ISSOCK && defined S_IFREG
7250 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7254 rm -f conftest.$ac_objext
7255 if { (ac_try="$ac_compile"
7257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7258 *) ac_try_echo=$ac_try;;
7260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7261 (eval "$ac_compile") 2>conftest.er1
7263 grep -v '^ *+' conftest.er1 >conftest.err
7265 cat conftest.err >&5
7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); } && {
7268 test -z "$ac_c_werror_flag" ||
7269 test ! -s conftest.err
7270 } && test -s conftest.$ac_objext; then
7271 ac_cv_header_stat_broken=no
7273 echo "$as_me: failed program was:" >&5
7274 sed 's/^/| /' conftest.$ac_ext >&5
7276 ac_cv_header_stat_broken=yes
7279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7281 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7282 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7283 if test $ac_cv_header_stat_broken = yes; then
7285 cat >>confdefs.h <<\_ACEOF
7286 #define STAT_MACROS_BROKEN 1
7297 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7299 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7300 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7302 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7303 echo $ECHO_N "(cached) $ECHO_C" >&6
7305 cat >conftest.$ac_ext <<_ACEOF
7308 cat confdefs.h >>conftest.$ac_ext
7309 cat >>conftest.$ac_ext <<_ACEOF
7310 /* end confdefs.h. */
7311 #include <sys/types.h>
7312 #ifdef HAVE_SYS_PARAM_H
7313 # include <sys/param.h>
7316 #include <$ac_header>
7318 rm -f conftest.$ac_objext
7319 if { (ac_try="$ac_compile"
7321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7322 *) ac_try_echo=$ac_try;;
7324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7325 (eval "$ac_compile") 2>conftest.er1
7327 grep -v '^ *+' conftest.er1 >conftest.err
7329 cat conftest.err >&5
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); } && {
7332 test -z "$ac_c_werror_flag" ||
7333 test ! -s conftest.err
7334 } && test -s conftest.$ac_objext; then
7335 eval "$as_ac_Header=yes"
7337 echo "$as_me: failed program was:" >&5
7338 sed 's/^/| /' conftest.$ac_ext >&5
7340 eval "$as_ac_Header=no"
7343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7345 ac_res=`eval echo '${'$as_ac_Header'}'`
7346 { echo "$as_me:$LINENO: result: $ac_res" >&5
7347 echo "${ECHO_T}$ac_res" >&6; }
7348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7349 cat >>confdefs.h <<_ACEOF
7350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7366 for ac_header in netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7374 cat >conftest.$ac_ext <<_ACEOF
7377 cat confdefs.h >>conftest.$ac_ext
7378 cat >>conftest.$ac_ext <<_ACEOF
7379 /* end confdefs.h. */
7380 #include <sys/types.h>
7381 #ifdef HAVE_SYS_SOCKET_H
7382 # include <sys/socket.h>
7384 #ifdef HAVE_SYS_SOCKETVAR_H
7385 # include <sys/socketvar.h>
7387 #ifdef HAVE_NETINET_IN_H
7388 # include <netinet/in.h>
7391 #include <$ac_header>
7393 rm -f conftest.$ac_objext
7394 if { (ac_try="$ac_compile"
7396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7397 *) ac_try_echo=$ac_try;;
7399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7400 (eval "$ac_compile") 2>conftest.er1
7402 grep -v '^ *+' conftest.er1 >conftest.err
7404 cat conftest.err >&5
7405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406 (exit $ac_status); } && {
7407 test -z "$ac_c_werror_flag" ||
7408 test ! -s conftest.err
7409 } && test -s conftest.$ac_objext; then
7410 eval "$as_ac_Header=yes"
7412 echo "$as_me: failed program was:" >&5
7413 sed 's/^/| /' conftest.$ac_ext >&5
7415 eval "$as_ac_Header=no"
7418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7420 ac_res=`eval echo '${'$as_ac_Header'}'`
7421 { echo "$as_me:$LINENO: result: $ac_res" >&5
7422 echo "${ECHO_T}$ac_res" >&6; }
7423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7424 cat >>confdefs.h <<_ACEOF
7425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7434 for ac_header in netinet/tcp_var.h
7436 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7437 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7439 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7440 echo $ECHO_N "(cached) $ECHO_C" >&6
7442 cat >conftest.$ac_ext <<_ACEOF
7445 cat confdefs.h >>conftest.$ac_ext
7446 cat >>conftest.$ac_ext <<_ACEOF
7447 /* end confdefs.h. */
7448 #include <sys/types.h>
7449 #ifdef HAVE_SYS_SOCKET_H
7450 # include <sys/socket.h>
7452 #ifdef HAVE_SYS_SOCKETVAR_H
7453 # include <sys/socketvar.h>
7455 #ifdef HAVE_NETINET_IN_H
7456 # include <netinet/in.h>
7458 #ifdef HAVE_NETINET_TCP_H
7459 # include <netinet/tcp.h>
7462 #include <$ac_header>
7464 rm -f conftest.$ac_objext
7465 if { (ac_try="$ac_compile"
7467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7468 *) ac_try_echo=$ac_try;;
7470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7471 (eval "$ac_compile") 2>conftest.er1
7473 grep -v '^ *+' conftest.er1 >conftest.err
7475 cat conftest.err >&5
7476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477 (exit $ac_status); } && {
7478 test -z "$ac_c_werror_flag" ||
7479 test ! -s conftest.err
7480 } && test -s conftest.$ac_objext; then
7481 eval "$as_ac_Header=yes"
7483 echo "$as_me: failed program was:" >&5
7484 sed 's/^/| /' conftest.$ac_ext >&5
7486 eval "$as_ac_Header=no"
7489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7491 ac_res=`eval echo '${'$as_ac_Header'}'`
7492 { echo "$as_me:$LINENO: result: $ac_res" >&5
7493 echo "${ECHO_T}$ac_res" >&6; }
7494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7495 cat >>confdefs.h <<_ACEOF
7496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7505 for ac_header in linux/ipx.h
7507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7511 echo $ECHO_N "(cached) $ECHO_C" >&6
7513 cat >conftest.$ac_ext <<_ACEOF
7516 cat confdefs.h >>conftest.$ac_ext
7517 cat >>conftest.$ac_ext <<_ACEOF
7518 /* end confdefs.h. */
7519 #include <sys/types.h>
7520 #ifdef HAVE_ASM_TYPES_H
7521 # include <asm/types.h>
7523 #ifdef HAVE_SYS_SOCKET_H
7524 # include <sys/socket.h>
7527 #include <$ac_header>
7529 rm -f conftest.$ac_objext
7530 if { (ac_try="$ac_compile"
7532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7533 *) ac_try_echo=$ac_try;;
7535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7536 (eval "$ac_compile") 2>conftest.er1
7538 grep -v '^ *+' conftest.er1 >conftest.err
7540 cat conftest.err >&5
7541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542 (exit $ac_status); } && {
7543 test -z "$ac_c_werror_flag" ||
7544 test ! -s conftest.err
7545 } && test -s conftest.$ac_objext; then
7546 eval "$as_ac_Header=yes"
7548 echo "$as_me: failed program was:" >&5
7549 sed 's/^/| /' conftest.$ac_ext >&5
7551 eval "$as_ac_Header=no"
7554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7556 ac_res=`eval echo '${'$as_ac_Header'}'`
7557 { echo "$as_me:$LINENO: result: $ac_res" >&5
7558 echo "${ECHO_T}$ac_res" >&6; }
7559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7560 cat >>confdefs.h <<_ACEOF
7561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7570 for ac_header in resolv.h
7572 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7573 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7576 echo $ECHO_N "(cached) $ECHO_C" >&6
7578 cat >conftest.$ac_ext <<_ACEOF
7581 cat confdefs.h >>conftest.$ac_ext
7582 cat >>conftest.$ac_ext <<_ACEOF
7583 /* end confdefs.h. */
7584 #include <sys/types.h>
7585 #ifdef HAVE_SYS_SOCKET_H
7586 # include <sys/socket.h>
7588 #ifdef HAVE_NETINET_IN_H
7589 # include <netinet/in.h>
7591 #ifdef HAVE_ARPA_NAMESER_H
7592 # include <arpa/nameser.h>
7595 #include <$ac_header>
7597 rm -f conftest.$ac_objext
7598 if { (ac_try="$ac_compile"
7600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7601 *) ac_try_echo=$ac_try;;
7603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7604 (eval "$ac_compile") 2>conftest.er1
7606 grep -v '^ *+' conftest.er1 >conftest.err
7608 cat conftest.err >&5
7609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7610 (exit $ac_status); } && {
7611 test -z "$ac_c_werror_flag" ||
7612 test ! -s conftest.err
7613 } && test -s conftest.$ac_objext; then
7614 eval "$as_ac_Header=yes"
7616 echo "$as_me: failed program was:" >&5
7617 sed 's/^/| /' conftest.$ac_ext >&5
7619 eval "$as_ac_Header=no"
7622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7624 ac_res=`eval echo '${'$as_ac_Header'}'`
7625 { echo "$as_me:$LINENO: result: $ac_res" >&5
7626 echo "${ECHO_T}$ac_res" >&6; }
7627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7628 cat >>confdefs.h <<_ACEOF
7629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7638 for ac_header in ucontext.h
7640 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7641 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7643 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7644 echo $ECHO_N "(cached) $ECHO_C" >&6
7646 cat >conftest.$ac_ext <<_ACEOF
7649 cat confdefs.h >>conftest.$ac_ext
7650 cat >>conftest.$ac_ext <<_ACEOF
7651 /* end confdefs.h. */
7654 #include <$ac_header>
7656 rm -f conftest.$ac_objext
7657 if { (ac_try="$ac_compile"
7659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7660 *) ac_try_echo=$ac_try;;
7662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7663 (eval "$ac_compile") 2>conftest.er1
7665 grep -v '^ *+' conftest.er1 >conftest.err
7667 cat conftest.err >&5
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); } && {
7670 test -z "$ac_c_werror_flag" ||
7671 test ! -s conftest.err
7672 } && test -s conftest.$ac_objext; then
7673 eval "$as_ac_Header=yes"
7675 echo "$as_me: failed program was:" >&5
7676 sed 's/^/| /' conftest.$ac_ext >&5
7678 eval "$as_ac_Header=no"
7681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7683 ac_res=`eval echo '${'$as_ac_Header'}'`
7684 { echo "$as_me:$LINENO: result: $ac_res" >&5
7685 echo "${ECHO_T}$ac_res" >&6; }
7686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7687 cat >>confdefs.h <<_ACEOF
7688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7697 for ac_header in sys/thr.h
7699 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7700 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7702 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7703 echo $ECHO_N "(cached) $ECHO_C" >&6
7705 cat >conftest.$ac_ext <<_ACEOF
7708 cat confdefs.h >>conftest.$ac_ext
7709 cat >>conftest.$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7711 #include <sys/types.h>
7712 #ifdef HAVE_UCONTEXT_H
7713 #include <ucontext.h>
7716 #include <$ac_header>
7718 rm -f conftest.$ac_objext
7719 if { (ac_try="$ac_compile"
7721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7722 *) ac_try_echo=$ac_try;;
7724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7725 (eval "$ac_compile") 2>conftest.er1
7727 grep -v '^ *+' conftest.er1 >conftest.err
7729 cat conftest.err >&5
7730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); } && {
7732 test -z "$ac_c_werror_flag" ||
7733 test ! -s conftest.err
7734 } && test -s conftest.$ac_objext; then
7735 eval "$as_ac_Header=yes"
7737 echo "$as_me: failed program was:" >&5
7738 sed 's/^/| /' conftest.$ac_ext >&5
7740 eval "$as_ac_Header=no"
7743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7745 ac_res=`eval echo '${'$as_ac_Header'}'`
7746 { echo "$as_me:$LINENO: result: $ac_res" >&5
7747 echo "${ECHO_T}$ac_res" >&6; }
7748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7749 cat >>confdefs.h <<_ACEOF
7750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7759 for ac_header in pthread_np.h
7761 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7762 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7764 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7765 echo $ECHO_N "(cached) $ECHO_C" >&6
7767 cat >conftest.$ac_ext <<_ACEOF
7770 cat confdefs.h >>conftest.$ac_ext
7771 cat >>conftest.$ac_ext <<_ACEOF
7772 /* end confdefs.h. */
7773 #ifdef HAVE_PTHREAD_H
7774 #include <pthread.h>
7777 #include <$ac_header>
7779 rm -f conftest.$ac_objext
7780 if { (ac_try="$ac_compile"
7782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7783 *) ac_try_echo=$ac_try;;
7785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7786 (eval "$ac_compile") 2>conftest.er1
7788 grep -v '^ *+' conftest.er1 >conftest.err
7790 cat conftest.err >&5
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); } && {
7793 test -z "$ac_c_werror_flag" ||
7794 test ! -s conftest.err
7795 } && test -s conftest.$ac_objext; then
7796 eval "$as_ac_Header=yes"
7798 echo "$as_me: failed program was:" >&5
7799 sed 's/^/| /' conftest.$ac_ext >&5
7801 eval "$as_ac_Header=no"
7804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7806 ac_res=`eval echo '${'$as_ac_Header'}'`
7807 { echo "$as_me:$LINENO: result: $ac_res" >&5
7808 echo "${ECHO_T}$ac_res" >&6; }
7809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7810 cat >>confdefs.h <<_ACEOF
7811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7820 for ac_header in linux/videodev.h
7822 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7823 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7825 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7826 echo $ECHO_N "(cached) $ECHO_C" >&6
7828 cat >conftest.$ac_ext <<_ACEOF
7831 cat confdefs.h >>conftest.$ac_ext
7832 cat >>conftest.$ac_ext <<_ACEOF
7833 /* end confdefs.h. */
7834 #ifdef HAVE_SYS_TIME_H
7835 #include <sys/time.h>
7837 #include <sys/types.h>
7838 #ifdef HAVE_ASM_TYPES_H
7839 #include <asm/types.h>
7842 #include <$ac_header>
7844 rm -f conftest.$ac_objext
7845 if { (ac_try="$ac_compile"
7847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7848 *) ac_try_echo=$ac_try;;
7850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7851 (eval "$ac_compile") 2>conftest.er1
7853 grep -v '^ *+' conftest.er1 >conftest.err
7855 cat conftest.err >&5
7856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7857 (exit $ac_status); } && {
7858 test -z "$ac_c_werror_flag" ||
7859 test ! -s conftest.err
7860 } && test -s conftest.$ac_objext; then
7861 eval "$as_ac_Header=yes"
7863 echo "$as_me: failed program was:" >&5
7864 sed 's/^/| /' conftest.$ac_ext >&5
7866 eval "$as_ac_Header=no"
7869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7871 ac_res=`eval echo '${'$as_ac_Header'}'`
7872 { echo "$as_me:$LINENO: result: $ac_res" >&5
7873 echo "${ECHO_T}$ac_res" >&6; }
7874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7875 cat >>confdefs.h <<_ACEOF
7876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7885 for ac_header in linux/capi.h
7887 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7888 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7891 echo $ECHO_N "(cached) $ECHO_C" >&6
7893 cat >conftest.$ac_ext <<_ACEOF
7896 cat confdefs.h >>conftest.$ac_ext
7897 cat >>conftest.$ac_ext <<_ACEOF
7898 /* end confdefs.h. */
7901 #include <$ac_header>
7903 rm -f conftest.$ac_objext
7904 if { (ac_try="$ac_compile"
7906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7907 *) ac_try_echo=$ac_try;;
7909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7910 (eval "$ac_compile") 2>conftest.er1
7912 grep -v '^ *+' conftest.er1 >conftest.err
7914 cat conftest.err >&5
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 (exit $ac_status); } && {
7917 test -z "$ac_c_werror_flag" ||
7918 test ! -s conftest.err
7919 } && test -s conftest.$ac_objext; then
7920 eval "$as_ac_Header=yes"
7922 echo "$as_me: failed program was:" >&5
7923 sed 's/^/| /' conftest.$ac_ext >&5
7925 eval "$as_ac_Header=no"
7928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7930 ac_res=`eval echo '${'$as_ac_Header'}'`
7931 { echo "$as_me:$LINENO: result: $ac_res" >&5
7932 echo "${ECHO_T}$ac_res" >&6; }
7933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7934 cat >>confdefs.h <<_ACEOF
7935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7946 DLLFLAGS="-D_REENTRANT"
7960 # Extract the first word of "ldd", so it can be a program name with args.
7961 set dummy ldd; ac_word=$2
7962 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7964 if test "${ac_cv_path_LDD+set}" = set; then
7965 echo $ECHO_N "(cached) $ECHO_C" >&6
7969 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7973 as_dummy="/sbin:/usr/sbin:$PATH"
7974 for as_dir in $as_dummy
7977 test -z "$as_dir" && as_dir=.
7978 for ac_exec_ext in '' $ac_executable_extensions; do
7979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7980 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7988 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7993 if test -n "$LDD"; then
7994 { echo "$as_me:$LINENO: result: $LDD" >&5
7995 echo "${ECHO_T}$LDD" >&6; }
7997 { echo "$as_me:$LINENO: result: no" >&5
7998 echo "${ECHO_T}no" >&6; }
8005 if test -n "$ac_tool_prefix"; then
8006 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8007 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8008 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8010 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8013 if test -n "$DLLTOOL"; then
8014 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8020 test -z "$as_dir" && as_dir=.
8021 for ac_exec_ext in '' $ac_executable_extensions; do
8022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8023 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8033 DLLTOOL=$ac_cv_prog_DLLTOOL
8034 if test -n "$DLLTOOL"; then
8035 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8036 echo "${ECHO_T}$DLLTOOL" >&6; }
8038 { echo "$as_me:$LINENO: result: no" >&5
8039 echo "${ECHO_T}no" >&6; }
8044 if test -z "$ac_cv_prog_DLLTOOL"; then
8045 ac_ct_DLLTOOL=$DLLTOOL
8046 # Extract the first word of "dlltool", so it can be a program name with args.
8047 set dummy dlltool; ac_word=$2
8048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8050 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8051 echo $ECHO_N "(cached) $ECHO_C" >&6
8053 if test -n "$ac_ct_DLLTOOL"; then
8054 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8060 test -z "$as_dir" && as_dir=.
8061 for ac_exec_ext in '' $ac_executable_extensions; do
8062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8063 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8073 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8074 if test -n "$ac_ct_DLLTOOL"; then
8075 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8076 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8078 { echo "$as_me:$LINENO: result: no" >&5
8079 echo "${ECHO_T}no" >&6; }
8082 if test "x$ac_ct_DLLTOOL" = x; then
8085 case $cross_compiling:$ac_tool_warned in
8087 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8088 whose name does not start with the host triplet. If you think this
8089 configuration is useful to you, please write to autoconf@gnu.org." >&5
8090 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8091 whose name does not start with the host triplet. If you think this
8092 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8093 ac_tool_warned=yes ;;
8095 DLLTOOL=$ac_ct_DLLTOOL
8098 DLLTOOL="$ac_cv_prog_DLLTOOL"
8101 if test -n "$ac_tool_prefix"; then
8102 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8103 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8106 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8107 echo $ECHO_N "(cached) $ECHO_C" >&6
8109 if test -n "$DLLWRAP"; then
8110 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8116 test -z "$as_dir" && as_dir=.
8117 for ac_exec_ext in '' $ac_executable_extensions; do
8118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8119 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8129 DLLWRAP=$ac_cv_prog_DLLWRAP
8130 if test -n "$DLLWRAP"; then
8131 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8132 echo "${ECHO_T}$DLLWRAP" >&6; }
8134 { echo "$as_me:$LINENO: result: no" >&5
8135 echo "${ECHO_T}no" >&6; }
8140 if test -z "$ac_cv_prog_DLLWRAP"; then
8141 ac_ct_DLLWRAP=$DLLWRAP
8142 # Extract the first word of "dllwrap", so it can be a program name with args.
8143 set dummy dllwrap; ac_word=$2
8144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8146 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8147 echo $ECHO_N "(cached) $ECHO_C" >&6
8149 if test -n "$ac_ct_DLLWRAP"; then
8150 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8156 test -z "$as_dir" && as_dir=.
8157 for ac_exec_ext in '' $ac_executable_extensions; do
8158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8159 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8169 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8170 if test -n "$ac_ct_DLLWRAP"; then
8171 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8172 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8174 { echo "$as_me:$LINENO: result: no" >&5
8175 echo "${ECHO_T}no" >&6; }
8178 if test "x$ac_ct_DLLWRAP" = x; then
8181 case $cross_compiling:$ac_tool_warned in
8183 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8184 whose name does not start with the host triplet. If you think this
8185 configuration is useful to you, please write to autoconf@gnu.org." >&5
8186 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8187 whose name does not start with the host triplet. If you think this
8188 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8189 ac_tool_warned=yes ;;
8191 DLLWRAP=$ac_ct_DLLWRAP
8194 DLLWRAP="$ac_cv_prog_DLLWRAP"
8197 if test -n "$ac_tool_prefix"; then
8198 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8199 set dummy ${ac_tool_prefix}ar; ac_word=$2
8200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8202 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8205 if test -n "$MINGWAR"; then
8206 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8212 test -z "$as_dir" && as_dir=.
8213 for ac_exec_ext in '' $ac_executable_extensions; do
8214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8215 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8225 MINGWAR=$ac_cv_prog_MINGWAR
8226 if test -n "$MINGWAR"; then
8227 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8228 echo "${ECHO_T}$MINGWAR" >&6; }
8230 { echo "$as_me:$LINENO: result: no" >&5
8231 echo "${ECHO_T}no" >&6; }
8236 if test -z "$ac_cv_prog_MINGWAR"; then
8237 ac_ct_MINGWAR=$MINGWAR
8238 # Extract the first word of "ar", so it can be a program name with args.
8239 set dummy ar; ac_word=$2
8240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8242 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8243 echo $ECHO_N "(cached) $ECHO_C" >&6
8245 if test -n "$ac_ct_MINGWAR"; then
8246 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8252 test -z "$as_dir" && as_dir=.
8253 for ac_exec_ext in '' $ac_executable_extensions; do
8254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8255 ac_cv_prog_ac_ct_MINGWAR="ar"
8256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8265 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8266 if test -n "$ac_ct_MINGWAR"; then
8267 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8268 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8270 { echo "$as_me:$LINENO: result: no" >&5
8271 echo "${ECHO_T}no" >&6; }
8274 if test "x$ac_ct_MINGWAR" = x; then
8277 case $cross_compiling:$ac_tool_warned in
8279 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8280 whose name does not start with the host triplet. If you think this
8281 configuration is useful to you, please write to autoconf@gnu.org." >&5
8282 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8283 whose name does not start with the host triplet. If you think this
8284 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8285 ac_tool_warned=yes ;;
8287 MINGWAR=$ac_ct_MINGWAR
8290 MINGWAR="$ac_cv_prog_MINGWAR"
8293 if test "$DLLWRAP" = "false"; then
8305 DLLFLAGS="$DLLFLAGS -fPIC"
8306 LDDLLFLAGS="-bundle -multiply_defined suppress"
8307 LIBWINE_LDFLAGS="-multiply_defined suppress"
8308 LDSHARED="\$(CC) -dynamiclib"
8310 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8311 SECURITYLIB="-framework Security -framework CoreFoundation"
8313 COREFOUNDATIONLIB="-framework CoreFoundation"
8315 IOKITLIB="-framework IOKit -framework CoreFoundation"
8317 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8319 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8321 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8324 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8326 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8331 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8333 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8335 CARBONLIB="-framework Carbon"
8337 QUARTZFILES='$(QUARTZFILES)'
8341 DLLFLAGS="$DLLFLAGS -fPIC"
8343 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8344 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8345 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8348 ac_wine_try_cflags_saved=$CFLAGS
8349 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8350 cat >conftest.$ac_ext <<_ACEOF
8353 rm -f conftest.$ac_objext conftest$ac_exeext
8354 if { (ac_try="$ac_link"
8356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8357 *) ac_try_echo=$ac_try;;
8359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8360 (eval "$ac_link") 2>conftest.er1
8362 grep -v '^ *+' conftest.er1 >conftest.err
8364 cat conftest.err >&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 (exit $ac_status); } && {
8367 test -z "$ac_c_werror_flag" ||
8368 test ! -s conftest.err
8369 } && test -s conftest$ac_exeext &&
8370 $as_test_x conftest$ac_exeext; then
8371 ac_cv_c_dll_gnuelf="yes"
8373 echo "$as_me: failed program was:" >&5
8374 sed 's/^/| /' conftest.$ac_ext >&5
8376 ac_cv_c_dll_gnuelf="no"
8379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8380 conftest$ac_exeext conftest.$ac_ext
8381 CFLAGS=$ac_wine_try_cflags_saved
8383 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8384 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8385 if test "$ac_cv_c_dll_gnuelf" = "yes"
8387 LDSHARED="\$(CC) -shared"
8388 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8389 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8390 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8391 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8392 echo $ECHO_N "(cached) $ECHO_C" >&6
8394 ac_wine_try_cflags_saved=$CFLAGS
8395 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8396 cat >conftest.$ac_ext <<_ACEOF
8399 cat confdefs.h >>conftest.$ac_ext
8400 cat >>conftest.$ac_ext <<_ACEOF
8401 /* end confdefs.h. */
8411 rm -f conftest.$ac_objext conftest$ac_exeext
8412 if { (ac_try="$ac_link"
8414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8415 *) ac_try_echo=$ac_try;;
8417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8418 (eval "$ac_link") 2>conftest.er1
8420 grep -v '^ *+' conftest.er1 >conftest.err
8422 cat conftest.err >&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 (exit $ac_status); } && {
8425 test -z "$ac_c_werror_flag" ||
8426 test ! -s conftest.err
8427 } && test -s conftest$ac_exeext &&
8428 $as_test_x conftest$ac_exeext; then
8429 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8431 echo "$as_me: failed program was:" >&5
8432 sed 's/^/| /' conftest.$ac_ext >&5
8434 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8438 conftest$ac_exeext conftest.$ac_ext
8439 CFLAGS=$ac_wine_try_cflags_saved
8441 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8442 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8443 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8444 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8446 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8447 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8448 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8449 echo $ECHO_N "(cached) $ECHO_C" >&6
8451 ac_wine_try_cflags_saved=$CFLAGS
8452 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8453 cat >conftest.$ac_ext <<_ACEOF
8456 cat confdefs.h >>conftest.$ac_ext
8457 cat >>conftest.$ac_ext <<_ACEOF
8458 /* end confdefs.h. */
8468 rm -f conftest.$ac_objext conftest$ac_exeext
8469 if { (ac_try="$ac_link"
8471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8472 *) ac_try_echo=$ac_try;;
8474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8475 (eval "$ac_link") 2>conftest.er1
8477 grep -v '^ *+' conftest.er1 >conftest.err
8479 cat conftest.err >&5
8480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 (exit $ac_status); } && {
8482 test -z "$ac_c_werror_flag" ||
8483 test ! -s conftest.err
8484 } && test -s conftest$ac_exeext &&
8485 $as_test_x conftest$ac_exeext; then
8486 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8488 echo "$as_me: failed program was:" >&5
8489 sed 's/^/| /' conftest.$ac_ext >&5
8491 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8495 conftest$ac_exeext conftest.$ac_ext
8496 CFLAGS=$ac_wine_try_cflags_saved
8498 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8499 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8500 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8501 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8507 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8508 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8509 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8510 echo $ECHO_N "(cached) $ECHO_C" >&6
8512 ac_wine_try_cflags_saved=$CFLAGS
8513 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8514 cat >conftest.$ac_ext <<_ACEOF
8517 cat confdefs.h >>conftest.$ac_ext
8518 cat >>conftest.$ac_ext <<_ACEOF
8519 /* end confdefs.h. */
8529 rm -f conftest.$ac_objext conftest$ac_exeext
8530 if { (ac_try="$ac_link"
8532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8533 *) ac_try_echo=$ac_try;;
8535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8536 (eval "$ac_link") 2>conftest.er1
8538 grep -v '^ *+' conftest.er1 >conftest.err
8540 cat conftest.err >&5
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 (exit $ac_status); } && {
8543 test -z "$ac_c_werror_flag" ||
8544 test ! -s conftest.err
8545 } && test -s conftest$ac_exeext &&
8546 $as_test_x conftest$ac_exeext; then
8547 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8549 echo "$as_me: failed program was:" >&5
8550 sed 's/^/| /' conftest.$ac_ext >&5
8552 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8556 conftest$ac_exeext conftest.$ac_ext
8557 CFLAGS=$ac_wine_try_cflags_saved
8559 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8560 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8561 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8562 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8566 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8567 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8568 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8569 echo $ECHO_N "(cached) $ECHO_C" >&6
8571 ac_wine_try_cflags_saved=$CFLAGS
8572 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8573 cat >conftest.$ac_ext <<_ACEOF
8576 cat confdefs.h >>conftest.$ac_ext
8577 cat >>conftest.$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8588 rm -f conftest.$ac_objext conftest$ac_exeext
8589 if { (ac_try="$ac_link"
8591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8592 *) ac_try_echo=$ac_try;;
8594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8595 (eval "$ac_link") 2>conftest.er1
8597 grep -v '^ *+' conftest.er1 >conftest.err
8599 cat conftest.err >&5
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); } && {
8602 test -z "$ac_c_werror_flag" ||
8603 test ! -s conftest.err
8604 } && test -s conftest$ac_exeext &&
8605 $as_test_x conftest$ac_exeext; then
8606 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8608 echo "$as_me: failed program was:" >&5
8609 sed 's/^/| /' conftest.$ac_ext >&5
8611 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8615 conftest$ac_exeext conftest.$ac_ext
8616 CFLAGS=$ac_wine_try_cflags_saved
8618 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8619 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8620 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8621 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8625 echo '{ global: *; };' >conftest.map
8626 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8627 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8628 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8629 echo $ECHO_N "(cached) $ECHO_C" >&6
8631 ac_wine_try_cflags_saved=$CFLAGS
8632 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8633 cat >conftest.$ac_ext <<_ACEOF
8636 cat confdefs.h >>conftest.$ac_ext
8637 cat >>conftest.$ac_ext <<_ACEOF
8638 /* end confdefs.h. */
8648 rm -f conftest.$ac_objext conftest$ac_exeext
8649 if { (ac_try="$ac_link"
8651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8652 *) ac_try_echo=$ac_try;;
8654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8655 (eval "$ac_link") 2>conftest.er1
8657 grep -v '^ *+' conftest.er1 >conftest.err
8659 cat conftest.err >&5
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); } && {
8662 test -z "$ac_c_werror_flag" ||
8663 test ! -s conftest.err
8664 } && test -s conftest$ac_exeext &&
8665 $as_test_x conftest$ac_exeext; then
8666 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8668 echo "$as_me: failed program was:" >&5
8669 sed 's/^/| /' conftest.$ac_ext >&5
8671 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8675 conftest$ac_exeext conftest.$ac_ext
8676 CFLAGS=$ac_wine_try_cflags_saved
8678 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8679 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8680 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8681 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8686 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8687 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8688 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8689 echo $ECHO_N "(cached) $ECHO_C" >&6
8691 ac_wine_try_cflags_saved=$CFLAGS
8692 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8693 cat >conftest.$ac_ext <<_ACEOF
8696 cat confdefs.h >>conftest.$ac_ext
8697 cat >>conftest.$ac_ext <<_ACEOF
8698 /* end confdefs.h. */
8708 rm -f conftest.$ac_objext conftest$ac_exeext
8709 if { (ac_try="$ac_link"
8711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8712 *) ac_try_echo=$ac_try;;
8714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8715 (eval "$ac_link") 2>conftest.er1
8717 grep -v '^ *+' conftest.er1 >conftest.err
8719 cat conftest.err >&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); } && {
8722 test -z "$ac_c_werror_flag" ||
8723 test ! -s conftest.err
8724 } && test -s conftest$ac_exeext &&
8725 $as_test_x conftest$ac_exeext; then
8726 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8728 echo "$as_me: failed program was:" >&5
8729 sed 's/^/| /' conftest.$ac_ext >&5
8731 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8735 conftest$ac_exeext conftest.$ac_ext
8736 CFLAGS=$ac_wine_try_cflags_saved
8738 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8739 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8740 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8741 LDEXECFLAGS="-Wl,--export-dynamic"
8746 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8747 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8748 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8749 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8750 echo $ECHO_N "(cached) $ECHO_C" >&6
8752 ac_wine_try_cflags_saved=$CFLAGS
8753 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8754 cat >conftest.$ac_ext <<_ACEOF
8757 cat confdefs.h >>conftest.$ac_ext
8758 cat >>conftest.$ac_ext <<_ACEOF
8759 /* end confdefs.h. */
8769 rm -f conftest.$ac_objext conftest$ac_exeext
8770 if { (ac_try="$ac_link"
8772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8773 *) ac_try_echo=$ac_try;;
8775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8776 (eval "$ac_link") 2>conftest.er1
8778 grep -v '^ *+' conftest.er1 >conftest.err
8780 cat conftest.err >&5
8781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8782 (exit $ac_status); } && {
8783 test -z "$ac_c_werror_flag" ||
8784 test ! -s conftest.err
8785 } && test -s conftest$ac_exeext &&
8786 $as_test_x conftest$ac_exeext; then
8787 eval "$as_ac_var=yes"
8789 echo "$as_me: failed program was:" >&5
8790 sed 's/^/| /' conftest.$ac_ext >&5
8792 eval "$as_ac_var=no"
8795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8796 conftest$ac_exeext conftest.$ac_ext
8797 CFLAGS=$ac_wine_try_cflags_saved
8799 ac_res=`eval echo '${'$as_ac_var'}'`
8800 { echo "$as_me:$LINENO: result: $ac_res" >&5
8801 echo "${ECHO_T}$ac_res" >&6; }
8802 if test `eval echo '${'$as_ac_var'}'` = yes; then
8803 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8804 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8806 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8807 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8808 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8809 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8810 echo $ECHO_N "(cached) $ECHO_C" >&6
8812 ac_wine_try_cflags_saved=$CFLAGS
8813 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8814 cat >conftest.$ac_ext <<_ACEOF
8817 cat confdefs.h >>conftest.$ac_ext
8818 cat >>conftest.$ac_ext <<_ACEOF
8819 /* end confdefs.h. */
8829 rm -f conftest.$ac_objext conftest$ac_exeext
8830 if { (ac_try="$ac_link"
8832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8833 *) ac_try_echo=$ac_try;;
8835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8836 (eval "$ac_link") 2>conftest.er1
8838 grep -v '^ *+' conftest.er1 >conftest.err
8840 cat conftest.err >&5
8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8842 (exit $ac_status); } && {
8843 test -z "$ac_c_werror_flag" ||
8844 test ! -s conftest.err
8845 } && test -s conftest$ac_exeext &&
8846 $as_test_x conftest$ac_exeext; then
8847 eval "$as_ac_var=yes"
8849 echo "$as_me: failed program was:" >&5
8850 sed 's/^/| /' conftest.$ac_ext >&5
8852 eval "$as_ac_var=no"
8855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8856 conftest$ac_exeext conftest.$ac_ext
8857 CFLAGS=$ac_wine_try_cflags_saved
8859 ac_res=`eval echo '${'$as_ac_var'}'`
8860 { echo "$as_me:$LINENO: result: $ac_res" >&5
8861 echo "${ECHO_T}$ac_res" >&6; }
8862 if test `eval echo '${'$as_ac_var'}'` = yes; then
8863 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8864 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8870 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8871 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8872 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8873 echo $ECHO_N "(cached) $ECHO_C" >&6
8875 ac_wine_try_cflags_saved=$CFLAGS
8876 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8877 cat >conftest.$ac_ext <<_ACEOF
8880 cat confdefs.h >>conftest.$ac_ext
8881 cat >>conftest.$ac_ext <<_ACEOF
8882 /* end confdefs.h. */
8892 rm -f conftest.$ac_objext conftest$ac_exeext
8893 if { (ac_try="$ac_link"
8895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8896 *) ac_try_echo=$ac_try;;
8898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8899 (eval "$ac_link") 2>conftest.er1
8901 grep -v '^ *+' conftest.er1 >conftest.err
8903 cat conftest.err >&5
8904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905 (exit $ac_status); } && {
8906 test -z "$ac_c_werror_flag" ||
8907 test ! -s conftest.err
8908 } && test -s conftest$ac_exeext &&
8909 $as_test_x conftest$ac_exeext; then
8910 ac_cv_cflags__Wl___enable_new_dtags=yes
8912 echo "$as_me: failed program was:" >&5
8913 sed 's/^/| /' conftest.$ac_ext >&5
8915 ac_cv_cflags__Wl___enable_new_dtags=no
8918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8919 conftest$ac_exeext conftest.$ac_ext
8920 CFLAGS=$ac_wine_try_cflags_saved
8922 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8923 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8924 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8925 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8930 *i[3456789]86* | x86_64)
8931 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8932 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8933 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8934 echo $ECHO_N "(cached) $ECHO_C" >&6
8936 ac_wine_try_cflags_saved=$CFLAGS
8937 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8938 cat >conftest.$ac_ext <<_ACEOF
8941 cat confdefs.h >>conftest.$ac_ext
8942 cat >>conftest.$ac_ext <<_ACEOF
8943 /* end confdefs.h. */
8953 rm -f conftest.$ac_objext conftest$ac_exeext
8954 if { (ac_try="$ac_link"
8956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8957 *) ac_try_echo=$ac_try;;
8959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8960 (eval "$ac_link") 2>conftest.er1
8962 grep -v '^ *+' conftest.er1 >conftest.err
8964 cat conftest.err >&5
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); } && {
8967 test -z "$ac_c_werror_flag" ||
8968 test ! -s conftest.err
8969 } && test -s conftest$ac_exeext &&
8970 $as_test_x conftest$ac_exeext; then
8971 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8973 echo "$as_me: failed program was:" >&5
8974 sed 's/^/| /' conftest.$ac_ext >&5
8976 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8980 conftest$ac_exeext conftest.$ac_ext
8981 CFLAGS=$ac_wine_try_cflags_saved
8983 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8984 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8985 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8986 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8993 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8994 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8995 if test "${ac_cv_c_dll_unixware+set}" = set; then
8996 echo $ECHO_N "(cached) $ECHO_C" >&6
8998 ac_wine_try_cflags_saved=$CFLAGS
8999 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9000 cat >conftest.$ac_ext <<_ACEOF
9003 rm -f conftest.$ac_objext conftest$ac_exeext
9004 if { (ac_try="$ac_link"
9006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9007 *) ac_try_echo=$ac_try;;
9009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9010 (eval "$ac_link") 2>conftest.er1
9012 grep -v '^ *+' conftest.er1 >conftest.err
9014 cat conftest.err >&5
9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9016 (exit $ac_status); } && {
9017 test -z "$ac_c_werror_flag" ||
9018 test ! -s conftest.err
9019 } && test -s conftest$ac_exeext &&
9020 $as_test_x conftest$ac_exeext; then
9021 ac_cv_c_dll_unixware="yes"
9023 echo "$as_me: failed program was:" >&5
9024 sed 's/^/| /' conftest.$ac_ext >&5
9026 ac_cv_c_dll_unixware="no"
9029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9030 conftest$ac_exeext conftest.$ac_ext
9031 CFLAGS=$ac_wine_try_cflags_saved
9033 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9034 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9035 if test "$ac_cv_c_dll_unixware" = "yes"
9037 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9038 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9041 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9042 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9043 if test "${ac_cv_c_dll_hpux+set}" = set; then
9044 echo $ECHO_N "(cached) $ECHO_C" >&6
9046 ac_wine_try_cflags_saved=$CFLAGS
9047 CFLAGS="$CFLAGS -shared"
9048 cat >conftest.$ac_ext <<_ACEOF
9051 rm -f conftest.$ac_objext conftest$ac_exeext
9052 if { (ac_try="$ac_link"
9054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9055 *) ac_try_echo=$ac_try;;
9057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9058 (eval "$ac_link") 2>conftest.er1
9060 grep -v '^ *+' conftest.er1 >conftest.err
9062 cat conftest.err >&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); } && {
9065 test -z "$ac_c_werror_flag" ||
9066 test ! -s conftest.err
9067 } && test -s conftest$ac_exeext &&
9068 $as_test_x conftest$ac_exeext; then
9069 ac_cv_c_dll_hpux="yes"
9071 echo "$as_me: failed program was:" >&5
9072 sed 's/^/| /' conftest.$ac_ext >&5
9074 ac_cv_c_dll_hpux="no"
9077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9078 conftest$ac_exeext conftest.$ac_ext
9079 CFLAGS=$ac_wine_try_cflags_saved
9081 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9082 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9083 if test "$ac_cv_c_dll_hpux" = "yes"
9087 LDDLLFLAGS="-shared -fPIC"
9088 LDSHARED="\$(CC) -shared"
9095 if test "$cross_compiling" = "no"
9097 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9099 # Extract the first word of "$ac_prog", so it can be a program name with args.
9100 set dummy $ac_prog; ac_word=$2
9101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9103 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9104 echo $ECHO_N "(cached) $ECHO_C" >&6
9106 if test -n "$CROSSCC"; then
9107 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9113 test -z "$as_dir" && as_dir=.
9114 for ac_exec_ext in '' $ac_executable_extensions; do
9115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9116 ac_cv_prog_CROSSCC="$ac_prog"
9117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9126 CROSSCC=$ac_cv_prog_CROSSCC
9127 if test -n "$CROSSCC"; then
9128 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9129 echo "${ECHO_T}$CROSSCC" >&6; }
9131 { echo "$as_me:$LINENO: result: no" >&5
9132 echo "${ECHO_T}no" >&6; }
9136 test -n "$CROSSCC" && break
9138 test -n "$CROSSCC" || CROSSCC="false"
9140 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9142 # Extract the first word of "$ac_prog", so it can be a program name with args.
9143 set dummy $ac_prog; ac_word=$2
9144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9146 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9147 echo $ECHO_N "(cached) $ECHO_C" >&6
9149 if test -n "$DLLTOOL"; then
9150 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9156 test -z "$as_dir" && as_dir=.
9157 for ac_exec_ext in '' $ac_executable_extensions; do
9158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9159 ac_cv_prog_DLLTOOL="$ac_prog"
9160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9169 DLLTOOL=$ac_cv_prog_DLLTOOL
9170 if test -n "$DLLTOOL"; then
9171 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9172 echo "${ECHO_T}$DLLTOOL" >&6; }
9174 { echo "$as_me:$LINENO: result: no" >&5
9175 echo "${ECHO_T}no" >&6; }
9179 test -n "$DLLTOOL" && break
9181 test -n "$DLLTOOL" || DLLTOOL="false"
9183 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9185 # Extract the first word of "$ac_prog", so it can be a program name with args.
9186 set dummy $ac_prog; ac_word=$2
9187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9189 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9190 echo $ECHO_N "(cached) $ECHO_C" >&6
9192 if test -n "$CROSSWINDRES"; then
9193 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9199 test -z "$as_dir" && as_dir=.
9200 for ac_exec_ext in '' $ac_executable_extensions; do
9201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9202 ac_cv_prog_CROSSWINDRES="$ac_prog"
9203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9212 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9213 if test -n "$CROSSWINDRES"; then
9214 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9215 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9217 { echo "$as_me:$LINENO: result: no" >&5
9218 echo "${ECHO_T}no" >&6; }
9222 test -n "$CROSSWINDRES" && break
9224 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9226 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9228 # Extract the first word of "$ac_prog", so it can be a program name with args.
9229 set dummy $ac_prog; ac_word=$2
9230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9232 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9233 echo $ECHO_N "(cached) $ECHO_C" >&6
9235 if test -n "$MINGWAR"; then
9236 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9242 test -z "$as_dir" && as_dir=.
9243 for ac_exec_ext in '' $ac_executable_extensions; do
9244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9245 ac_cv_prog_MINGWAR="$ac_prog"
9246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9255 MINGWAR=$ac_cv_prog_MINGWAR
9256 if test -n "$MINGWAR"; then
9257 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9258 echo "${ECHO_T}$MINGWAR" >&6; }
9260 { echo "$as_me:$LINENO: result: no" >&5
9261 echo "${ECHO_T}no" >&6; }
9265 test -n "$MINGWAR" && break
9267 test -n "$MINGWAR" || MINGWAR="false"
9269 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9274 if test "$LIBEXT" = "a"; then
9275 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9276 It is currently not possible to build Wine without shared library
9277 (.so) support to allow transparent switch between .so and .dll files.
9278 If you are using Linux, you will need a newer binutils.
9280 echo "$as_me: error: could not find a way to build shared libraries.
9281 It is currently not possible to build Wine without shared library
9282 (.so) support to allow transparent switch between .so and .dll files.
9283 If you are using Linux, you will need a newer binutils.
9285 { (exit 1); exit 1; }; }
9289 if test "$have_x" = "yes"
9292 ac_save_CPPFLAGS="$CPPFLAGS"
9293 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9295 { echo "$as_me:$LINENO: checking for -lX11" >&5
9296 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9297 if test "${ac_cv_lib_soname_X11+set}" = set; then
9298 echo $ECHO_N "(cached) $ECHO_C" >&6
9300 ac_check_soname_save_LIBS=$LIBS
9301 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9302 cat >conftest.$ac_ext <<_ACEOF
9305 cat confdefs.h >>conftest.$ac_ext
9306 cat >>conftest.$ac_ext <<_ACEOF
9307 /* end confdefs.h. */
9309 /* Override any GCC internal prototype to avoid an error.
9310 Use char because int might match the return type of a GCC
9311 builtin and then its argument prototype would still apply. */
9315 char XCreateWindow ();
9319 return XCreateWindow ();
9324 rm -f conftest.$ac_objext conftest$ac_exeext
9325 if { (ac_try="$ac_link"
9327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9328 *) ac_try_echo=$ac_try;;
9330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9331 (eval "$ac_link") 2>conftest.er1
9333 grep -v '^ *+' conftest.er1 >conftest.err
9335 cat conftest.err >&5
9336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 (exit $ac_status); } && {
9338 test -z "$ac_c_werror_flag" ||
9339 test ! -s conftest.err
9340 } && test -s conftest$ac_exeext &&
9341 $as_test_x conftest$ac_exeext; then
9344 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'` ;;
9345 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9348 echo "$as_me: failed program was:" >&5
9349 sed 's/^/| /' conftest.$ac_ext >&5
9354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9355 conftest$ac_exeext conftest.$ac_ext
9356 LIBS=$ac_check_soname_save_LIBS
9358 if test "x$ac_cv_lib_soname_X11" = "x"; then
9359 { echo "$as_me:$LINENO: result: not found" >&5
9360 echo "${ECHO_T}not found" >&6; }
9363 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9364 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9366 cat >>confdefs.h <<_ACEOF
9367 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9373 { echo "$as_me:$LINENO: checking for -lXext" >&5
9374 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9375 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9376 echo $ECHO_N "(cached) $ECHO_C" >&6
9378 ac_check_soname_save_LIBS=$LIBS
9379 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9380 cat >conftest.$ac_ext <<_ACEOF
9383 cat confdefs.h >>conftest.$ac_ext
9384 cat >>conftest.$ac_ext <<_ACEOF
9385 /* end confdefs.h. */
9387 /* Override any GCC internal prototype to avoid an error.
9388 Use char because int might match the return type of a GCC
9389 builtin and then its argument prototype would still apply. */
9393 char XextCreateExtension ();
9397 return XextCreateExtension ();
9402 rm -f conftest.$ac_objext conftest$ac_exeext
9403 if { (ac_try="$ac_link"
9405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9406 *) ac_try_echo=$ac_try;;
9408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9409 (eval "$ac_link") 2>conftest.er1
9411 grep -v '^ *+' conftest.er1 >conftest.err
9413 cat conftest.err >&5
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); } && {
9416 test -z "$ac_c_werror_flag" ||
9417 test ! -s conftest.err
9418 } && test -s conftest$ac_exeext &&
9419 $as_test_x conftest$ac_exeext; then
9422 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'` ;;
9423 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9426 echo "$as_me: failed program was:" >&5
9427 sed 's/^/| /' conftest.$ac_ext >&5
9432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9433 conftest$ac_exeext conftest.$ac_ext
9434 LIBS=$ac_check_soname_save_LIBS
9436 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9437 { echo "$as_me:$LINENO: result: not found" >&5
9438 echo "${ECHO_T}not found" >&6; }
9441 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9442 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9444 cat >>confdefs.h <<_ACEOF
9445 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9464 for ac_header in X11/Xlib.h \
9467 X11/Xcursor/Xcursor.h \
9468 X11/extensions/shape.h \
9469 X11/extensions/XInput.h \
9470 X11/extensions/XShm.h \
9471 X11/extensions/Xcomposite.h \
9472 X11/extensions/Xinerama.h \
9473 X11/extensions/Xrandr.h \
9474 X11/extensions/Xrender.h \
9475 X11/extensions/xf86vmode.h
9477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9478 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9481 echo $ECHO_N "(cached) $ECHO_C" >&6
9483 cat >conftest.$ac_ext <<_ACEOF
9486 cat confdefs.h >>conftest.$ac_ext
9487 cat >>conftest.$ac_ext <<_ACEOF
9488 /* end confdefs.h. */
9489 #ifdef HAVE_X11_XLIB_H
9490 # include <X11/Xlib.h>
9492 #ifdef HAVE_X11_XUTIL_H
9493 # include <X11/Xutil.h>
9496 #include <$ac_header>
9498 rm -f conftest.$ac_objext
9499 if { (ac_try="$ac_compile"
9501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9502 *) ac_try_echo=$ac_try;;
9504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9505 (eval "$ac_compile") 2>conftest.er1
9507 grep -v '^ *+' conftest.er1 >conftest.err
9509 cat conftest.err >&5
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); } && {
9512 test -z "$ac_c_werror_flag" ||
9513 test ! -s conftest.err
9514 } && test -s conftest.$ac_objext; then
9515 eval "$as_ac_Header=yes"
9517 echo "$as_me: failed program was:" >&5
9518 sed 's/^/| /' conftest.$ac_ext >&5
9520 eval "$as_ac_Header=no"
9523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9525 ac_res=`eval echo '${'$as_ac_Header'}'`
9526 { echo "$as_me:$LINENO: result: $ac_res" >&5
9527 echo "${ECHO_T}$ac_res" >&6; }
9528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9529 cat >>confdefs.h <<_ACEOF
9530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9538 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9540 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9541 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9542 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9543 echo $ECHO_N "(cached) $ECHO_C" >&6
9545 ac_check_lib_save_LIBS=$LIBS
9546 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9547 cat >conftest.$ac_ext <<_ACEOF
9550 cat confdefs.h >>conftest.$ac_ext
9551 cat >>conftest.$ac_ext <<_ACEOF
9552 /* end confdefs.h. */
9554 /* Override any GCC internal prototype to avoid an error.
9555 Use char because int might match the return type of a GCC
9556 builtin and then its argument prototype would still apply. */
9560 char XkbQueryExtension ();
9564 return XkbQueryExtension ();
9569 rm -f conftest.$ac_objext conftest$ac_exeext
9570 if { (ac_try="$ac_link"
9572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9573 *) ac_try_echo=$ac_try;;
9575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9576 (eval "$ac_link") 2>conftest.er1
9578 grep -v '^ *+' conftest.er1 >conftest.err
9580 cat conftest.err >&5
9581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9582 (exit $ac_status); } && {
9583 test -z "$ac_c_werror_flag" ||
9584 test ! -s conftest.err
9585 } && test -s conftest$ac_exeext &&
9586 $as_test_x conftest$ac_exeext; then
9587 ac_cv_lib_X11_XkbQueryExtension=yes
9589 echo "$as_me: failed program was:" >&5
9590 sed 's/^/| /' conftest.$ac_ext >&5
9592 ac_cv_lib_X11_XkbQueryExtension=no
9595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9596 conftest$ac_exeext conftest.$ac_ext
9597 LIBS=$ac_check_lib_save_LIBS
9599 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9600 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9601 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9603 cat >>confdefs.h <<\_ACEOF
9611 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9613 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9614 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9615 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9616 echo $ECHO_N "(cached) $ECHO_C" >&6
9618 ac_check_soname_save_LIBS=$LIBS
9619 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9620 cat >conftest.$ac_ext <<_ACEOF
9623 cat confdefs.h >>conftest.$ac_ext
9624 cat >>conftest.$ac_ext <<_ACEOF
9625 /* end confdefs.h. */
9627 /* Override any GCC internal prototype to avoid an error.
9628 Use char because int might match the return type of a GCC
9629 builtin and then its argument prototype would still apply. */
9633 char XcursorImageLoadCursor ();
9637 return XcursorImageLoadCursor ();
9642 rm -f conftest.$ac_objext conftest$ac_exeext
9643 if { (ac_try="$ac_link"
9645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9646 *) ac_try_echo=$ac_try;;
9648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9649 (eval "$ac_link") 2>conftest.er1
9651 grep -v '^ *+' conftest.er1 >conftest.err
9653 cat conftest.err >&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); } && {
9656 test -z "$ac_c_werror_flag" ||
9657 test ! -s conftest.err
9658 } && test -s conftest$ac_exeext &&
9659 $as_test_x conftest$ac_exeext; then
9662 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'` ;;
9663 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9666 echo "$as_me: failed program was:" >&5
9667 sed 's/^/| /' conftest.$ac_ext >&5
9672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9673 conftest$ac_exeext conftest.$ac_ext
9674 LIBS=$ac_check_soname_save_LIBS
9676 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9677 { echo "$as_me:$LINENO: result: not found" >&5
9678 echo "${ECHO_T}not found" >&6; }
9681 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9682 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9684 cat >>confdefs.h <<_ACEOF
9685 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9692 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9693 case "x$with_xcursor" in
9694 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9696 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9697 This is an error since --with-xcursor was requested." >&5
9698 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9699 This is an error since --with-xcursor was requested." >&2;}
9700 { (exit 1); exit 1; }; } ;;
9705 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9707 { echo "$as_me:$LINENO: checking for -lXi" >&5
9708 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9709 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9710 echo $ECHO_N "(cached) $ECHO_C" >&6
9712 ac_check_soname_save_LIBS=$LIBS
9713 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9714 cat >conftest.$ac_ext <<_ACEOF
9717 cat confdefs.h >>conftest.$ac_ext
9718 cat >>conftest.$ac_ext <<_ACEOF
9719 /* end confdefs.h. */
9721 /* Override any GCC internal prototype to avoid an error.
9722 Use char because int might match the return type of a GCC
9723 builtin and then its argument prototype would still apply. */
9727 char XOpenDevice ();
9731 return XOpenDevice ();
9736 rm -f conftest.$ac_objext conftest$ac_exeext
9737 if { (ac_try="$ac_link"
9739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9740 *) ac_try_echo=$ac_try;;
9742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9743 (eval "$ac_link") 2>conftest.er1
9745 grep -v '^ *+' conftest.er1 >conftest.err
9747 cat conftest.err >&5
9748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749 (exit $ac_status); } && {
9750 test -z "$ac_c_werror_flag" ||
9751 test ! -s conftest.err
9752 } && test -s conftest$ac_exeext &&
9753 $as_test_x conftest$ac_exeext; then
9756 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'` ;;
9757 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9760 echo "$as_me: failed program was:" >&5
9761 sed 's/^/| /' conftest.$ac_ext >&5
9766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9767 conftest$ac_exeext conftest.$ac_ext
9768 LIBS=$ac_check_soname_save_LIBS
9770 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9771 { echo "$as_me:$LINENO: result: not found" >&5
9772 echo "${ECHO_T}not found" >&6; }
9775 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9776 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9778 cat >>confdefs.h <<_ACEOF
9779 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9786 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9787 case "x$with_xinput" in
9788 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9790 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9791 This is an error since --with-xinput was requested." >&5
9792 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9793 This is an error since --with-xinput was requested." >&2;}
9794 { (exit 1); exit 1; }; } ;;
9799 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9801 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9802 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9803 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9804 echo $ECHO_N "(cached) $ECHO_C" >&6
9806 ac_check_lib_save_LIBS=$LIBS
9807 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9808 cat >conftest.$ac_ext <<_ACEOF
9811 cat confdefs.h >>conftest.$ac_ext
9812 cat >>conftest.$ac_ext <<_ACEOF
9813 /* end confdefs.h. */
9815 /* Override any GCC internal prototype to avoid an error.
9816 Use char because int might match the return type of a GCC
9817 builtin and then its argument prototype would still apply. */
9821 char XShmQueryExtension ();
9825 return XShmQueryExtension ();
9830 rm -f conftest.$ac_objext conftest$ac_exeext
9831 if { (ac_try="$ac_link"
9833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9834 *) ac_try_echo=$ac_try;;
9836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9837 (eval "$ac_link") 2>conftest.er1
9839 grep -v '^ *+' conftest.er1 >conftest.err
9841 cat conftest.err >&5
9842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843 (exit $ac_status); } && {
9844 test -z "$ac_c_werror_flag" ||
9845 test ! -s conftest.err
9846 } && test -s conftest$ac_exeext &&
9847 $as_test_x conftest$ac_exeext; then
9848 ac_cv_lib_Xext_XShmQueryExtension=yes
9850 echo "$as_me: failed program was:" >&5
9851 sed 's/^/| /' conftest.$ac_ext >&5
9853 ac_cv_lib_Xext_XShmQueryExtension=no
9856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9857 conftest$ac_exeext conftest.$ac_ext
9858 LIBS=$ac_check_lib_save_LIBS
9860 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9861 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9862 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9864 cat >>confdefs.h <<\_ACEOF
9865 #define HAVE_LIBXXSHM 1
9871 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9872 case "x$with_xshm" in
9873 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9875 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9876 This is an error since --with-xshm was requested." >&5
9877 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9878 This is an error since --with-xshm was requested." >&2;}
9879 { (exit 1); exit 1; }; } ;;
9884 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9886 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9887 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9888 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9889 echo $ECHO_N "(cached) $ECHO_C" >&6
9891 ac_check_lib_save_LIBS=$LIBS
9892 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9893 cat >conftest.$ac_ext <<_ACEOF
9896 cat confdefs.h >>conftest.$ac_ext
9897 cat >>conftest.$ac_ext <<_ACEOF
9898 /* end confdefs.h. */
9900 /* Override any GCC internal prototype to avoid an error.
9901 Use char because int might match the return type of a GCC
9902 builtin and then its argument prototype would still apply. */
9906 char XShapeQueryExtension ();
9910 return XShapeQueryExtension ();
9915 rm -f conftest.$ac_objext conftest$ac_exeext
9916 if { (ac_try="$ac_link"
9918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9919 *) ac_try_echo=$ac_try;;
9921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9922 (eval "$ac_link") 2>conftest.er1
9924 grep -v '^ *+' conftest.er1 >conftest.err
9926 cat conftest.err >&5
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); } && {
9929 test -z "$ac_c_werror_flag" ||
9930 test ! -s conftest.err
9931 } && test -s conftest$ac_exeext &&
9932 $as_test_x conftest$ac_exeext; then
9933 ac_cv_lib_Xext_XShapeQueryExtension=yes
9935 echo "$as_me: failed program was:" >&5
9936 sed 's/^/| /' conftest.$ac_ext >&5
9938 ac_cv_lib_Xext_XShapeQueryExtension=no
9941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9942 conftest$ac_exeext conftest.$ac_ext
9943 LIBS=$ac_check_lib_save_LIBS
9945 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9946 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9947 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9949 cat >>confdefs.h <<\_ACEOF
9950 #define HAVE_LIBXSHAPE 1
9956 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9957 case "x$with_xshape" in
9958 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
9960 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
9961 This is an error since --with-xshape was requested." >&5
9962 echo "$as_me: error: XShape development files not found, XShape won't be supported.
9963 This is an error since --with-xshape was requested." >&2;}
9964 { (exit 1); exit 1; }; } ;;
9969 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9971 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9972 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9973 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9974 echo $ECHO_N "(cached) $ECHO_C" >&6
9976 ac_check_lib_save_LIBS=$LIBS
9977 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9978 cat >conftest.$ac_ext <<_ACEOF
9981 cat confdefs.h >>conftest.$ac_ext
9982 cat >>conftest.$ac_ext <<_ACEOF
9983 /* end confdefs.h. */
9985 /* Override any GCC internal prototype to avoid an error.
9986 Use char because int might match the return type of a GCC
9987 builtin and then its argument prototype would still apply. */
9991 char XF86VidModeQueryExtension ();
9995 return XF86VidModeQueryExtension ();
10000 rm -f conftest.$ac_objext conftest$ac_exeext
10001 if { (ac_try="$ac_link"
10002 case "(($ac_try" in
10003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10004 *) ac_try_echo=$ac_try;;
10006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10007 (eval "$ac_link") 2>conftest.er1
10009 grep -v '^ *+' conftest.er1 >conftest.err
10011 cat conftest.err >&5
10012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013 (exit $ac_status); } && {
10014 test -z "$ac_c_werror_flag" ||
10015 test ! -s conftest.err
10016 } && test -s conftest$ac_exeext &&
10017 $as_test_x conftest$ac_exeext; then
10018 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10020 echo "$as_me: failed program was:" >&5
10021 sed 's/^/| /' conftest.$ac_ext >&5
10023 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10027 conftest$ac_exeext conftest.$ac_ext
10028 LIBS=$ac_check_lib_save_LIBS
10030 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10031 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10032 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10034 cat >>confdefs.h <<\_ACEOF
10035 #define HAVE_LIBXXF86VM 1
10038 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10043 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10044 case "x$with_xvidmode" in
10045 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10047 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10048 This is an error since --with-xvidmode was requested." >&5
10049 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10050 This is an error since --with-xvidmode was requested." >&2;}
10051 { (exit 1); exit 1; }; } ;;
10056 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"
10058 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10059 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10060 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10061 echo $ECHO_N "(cached) $ECHO_C" >&6
10063 ac_check_soname_save_LIBS=$LIBS
10064 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10065 cat >conftest.$ac_ext <<_ACEOF
10068 cat confdefs.h >>conftest.$ac_ext
10069 cat >>conftest.$ac_ext <<_ACEOF
10070 /* end confdefs.h. */
10072 /* Override any GCC internal prototype to avoid an error.
10073 Use char because int might match the return type of a GCC
10074 builtin and then its argument prototype would still apply. */
10078 char XRenderQueryExtension ();
10082 return XRenderQueryExtension ();
10087 rm -f conftest.$ac_objext conftest$ac_exeext
10088 if { (ac_try="$ac_link"
10089 case "(($ac_try" in
10090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10091 *) ac_try_echo=$ac_try;;
10093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10094 (eval "$ac_link") 2>conftest.er1
10096 grep -v '^ *+' conftest.er1 >conftest.err
10098 cat conftest.err >&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); } && {
10101 test -z "$ac_c_werror_flag" ||
10102 test ! -s conftest.err
10103 } && test -s conftest$ac_exeext &&
10104 $as_test_x conftest$ac_exeext; then
10107 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'` ;;
10108 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10111 echo "$as_me: failed program was:" >&5
10112 sed 's/^/| /' conftest.$ac_ext >&5
10117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10118 conftest$ac_exeext conftest.$ac_ext
10119 LIBS=$ac_check_soname_save_LIBS
10121 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10122 { echo "$as_me:$LINENO: result: not found" >&5
10123 echo "${ECHO_T}not found" >&6; }
10126 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10127 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10129 cat >>confdefs.h <<_ACEOF
10130 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10133 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10134 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10135 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10136 echo $ECHO_N "(cached) $ECHO_C" >&6
10138 ac_check_lib_save_LIBS=$LIBS
10139 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10140 cat >conftest.$ac_ext <<_ACEOF
10143 cat confdefs.h >>conftest.$ac_ext
10144 cat >>conftest.$ac_ext <<_ACEOF
10145 /* end confdefs.h. */
10147 /* Override any GCC internal prototype to avoid an error.
10148 Use char because int might match the return type of a GCC
10149 builtin and then its argument prototype would still apply. */
10153 char XRenderSetPictureTransform ();
10157 return XRenderSetPictureTransform ();
10162 rm -f conftest.$ac_objext conftest$ac_exeext
10163 if { (ac_try="$ac_link"
10164 case "(($ac_try" in
10165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10166 *) ac_try_echo=$ac_try;;
10168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10169 (eval "$ac_link") 2>conftest.er1
10171 grep -v '^ *+' conftest.er1 >conftest.err
10173 cat conftest.err >&5
10174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175 (exit $ac_status); } && {
10176 test -z "$ac_c_werror_flag" ||
10177 test ! -s conftest.err
10178 } && test -s conftest$ac_exeext &&
10179 $as_test_x conftest$ac_exeext; then
10180 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10182 echo "$as_me: failed program was:" >&5
10183 sed 's/^/| /' conftest.$ac_ext >&5
10185 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10189 conftest$ac_exeext conftest.$ac_ext
10190 LIBS=$ac_check_lib_save_LIBS
10192 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10193 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10194 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10196 cat >>confdefs.h <<\_ACEOF
10197 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10206 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10207 case "x$with_xrender" in
10208 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10210 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10211 This is an error since --with-xrender was requested." >&5
10212 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10213 This is an error since --with-xrender was requested." >&2;}
10214 { (exit 1); exit 1; }; } ;;
10219 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10221 cat >conftest.$ac_ext <<_ACEOF
10224 cat confdefs.h >>conftest.$ac_ext
10225 cat >>conftest.$ac_ext <<_ACEOF
10226 /* end confdefs.h. */
10227 #include <X11/Xlib.h>
10228 #include <X11/extensions/Xrandr.h>
10232 static typeof(XRRSetScreenConfigAndRate) * func;
10237 rm -f conftest.$ac_objext
10238 if { (ac_try="$ac_compile"
10239 case "(($ac_try" in
10240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10241 *) ac_try_echo=$ac_try;;
10243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10244 (eval "$ac_compile") 2>conftest.er1
10246 grep -v '^ *+' conftest.er1 >conftest.err
10248 cat conftest.err >&5
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); } && {
10251 test -z "$ac_c_werror_flag" ||
10252 test ! -s conftest.err
10253 } && test -s conftest.$ac_objext; then
10254 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10255 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10256 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10257 echo $ECHO_N "(cached) $ECHO_C" >&6
10259 ac_check_soname_save_LIBS=$LIBS
10260 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10261 cat >conftest.$ac_ext <<_ACEOF
10264 cat confdefs.h >>conftest.$ac_ext
10265 cat >>conftest.$ac_ext <<_ACEOF
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10274 char XRRQueryExtension ();
10278 return XRRQueryExtension ();
10283 rm -f conftest.$ac_objext conftest$ac_exeext
10284 if { (ac_try="$ac_link"
10285 case "(($ac_try" in
10286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10287 *) ac_try_echo=$ac_try;;
10289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10290 (eval "$ac_link") 2>conftest.er1
10292 grep -v '^ *+' conftest.er1 >conftest.err
10294 cat conftest.err >&5
10295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296 (exit $ac_status); } && {
10297 test -z "$ac_c_werror_flag" ||
10298 test ! -s conftest.err
10299 } && test -s conftest$ac_exeext &&
10300 $as_test_x conftest$ac_exeext; then
10303 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'` ;;
10304 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10307 echo "$as_me: failed program was:" >&5
10308 sed 's/^/| /' conftest.$ac_ext >&5
10313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10314 conftest$ac_exeext conftest.$ac_ext
10315 LIBS=$ac_check_soname_save_LIBS
10317 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10318 { echo "$as_me:$LINENO: result: not found" >&5
10319 echo "${ECHO_T}not found" >&6; }
10322 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10323 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10325 cat >>confdefs.h <<_ACEOF
10326 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10333 echo "$as_me: failed program was:" >&5
10334 sed 's/^/| /' conftest.$ac_ext >&5
10339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10341 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10342 case "x$with_xrandr" in
10343 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10345 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10346 This is an error since --with-xrandr was requested." >&5
10347 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10348 This is an error since --with-xrandr was requested." >&2;}
10349 { (exit 1); exit 1; }; } ;;
10354 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10356 cat >conftest.$ac_ext <<_ACEOF
10359 cat confdefs.h >>conftest.$ac_ext
10360 cat >>conftest.$ac_ext <<_ACEOF
10361 /* end confdefs.h. */
10362 #include <X11/Xlib.h>
10363 #include <X11/extensions/Xinerama.h>
10367 static typeof(XineramaQueryScreens) * func;
10372 rm -f conftest.$ac_objext
10373 if { (ac_try="$ac_compile"
10374 case "(($ac_try" in
10375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10376 *) ac_try_echo=$ac_try;;
10378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10379 (eval "$ac_compile") 2>conftest.er1
10381 grep -v '^ *+' conftest.er1 >conftest.err
10383 cat conftest.err >&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } && {
10386 test -z "$ac_c_werror_flag" ||
10387 test ! -s conftest.err
10388 } && test -s conftest.$ac_objext; then
10389 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10390 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10391 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10392 echo $ECHO_N "(cached) $ECHO_C" >&6
10394 ac_check_soname_save_LIBS=$LIBS
10395 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10396 cat >conftest.$ac_ext <<_ACEOF
10399 cat confdefs.h >>conftest.$ac_ext
10400 cat >>conftest.$ac_ext <<_ACEOF
10401 /* end confdefs.h. */
10403 /* Override any GCC internal prototype to avoid an error.
10404 Use char because int might match the return type of a GCC
10405 builtin and then its argument prototype would still apply. */
10409 char XineramaQueryScreens ();
10413 return XineramaQueryScreens ();
10418 rm -f conftest.$ac_objext conftest$ac_exeext
10419 if { (ac_try="$ac_link"
10420 case "(($ac_try" in
10421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10422 *) ac_try_echo=$ac_try;;
10424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10425 (eval "$ac_link") 2>conftest.er1
10427 grep -v '^ *+' conftest.er1 >conftest.err
10429 cat conftest.err >&5
10430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431 (exit $ac_status); } && {
10432 test -z "$ac_c_werror_flag" ||
10433 test ! -s conftest.err
10434 } && test -s conftest$ac_exeext &&
10435 $as_test_x conftest$ac_exeext; then
10438 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'` ;;
10439 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10442 echo "$as_me: failed program was:" >&5
10443 sed 's/^/| /' conftest.$ac_ext >&5
10448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10449 conftest$ac_exeext conftest.$ac_ext
10450 LIBS=$ac_check_soname_save_LIBS
10452 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10453 { echo "$as_me:$LINENO: result: not found" >&5
10454 echo "${ECHO_T}not found" >&6; }
10457 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10458 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10460 cat >>confdefs.h <<_ACEOF
10461 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10468 echo "$as_me: failed program was:" >&5
10469 sed 's/^/| /' conftest.$ac_ext >&5
10474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10476 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10477 case "x$with_xinerama" in
10478 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10480 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10481 This is an error since --with-xinerama was requested." >&5
10482 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10483 This is an error since --with-xinerama was requested." >&2;}
10484 { (exit 1); exit 1; }; } ;;
10489 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10491 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10492 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10493 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10494 echo $ECHO_N "(cached) $ECHO_C" >&6
10496 ac_check_soname_save_LIBS=$LIBS
10497 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10498 cat >conftest.$ac_ext <<_ACEOF
10501 cat confdefs.h >>conftest.$ac_ext
10502 cat >>conftest.$ac_ext <<_ACEOF
10503 /* end confdefs.h. */
10505 /* Override any GCC internal prototype to avoid an error.
10506 Use char because int might match the return type of a GCC
10507 builtin and then its argument prototype would still apply. */
10511 char XCompositeRedirectWindow ();
10515 return XCompositeRedirectWindow ();
10520 rm -f conftest.$ac_objext conftest$ac_exeext
10521 if { (ac_try="$ac_link"
10522 case "(($ac_try" in
10523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10524 *) ac_try_echo=$ac_try;;
10526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10527 (eval "$ac_link") 2>conftest.er1
10529 grep -v '^ *+' conftest.er1 >conftest.err
10531 cat conftest.err >&5
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); } && {
10534 test -z "$ac_c_werror_flag" ||
10535 test ! -s conftest.err
10536 } && test -s conftest$ac_exeext &&
10537 $as_test_x conftest$ac_exeext; then
10540 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'` ;;
10541 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10544 echo "$as_me: failed program was:" >&5
10545 sed 's/^/| /' conftest.$ac_ext >&5
10550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10551 conftest$ac_exeext conftest.$ac_ext
10552 LIBS=$ac_check_soname_save_LIBS
10554 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10555 { echo "$as_me:$LINENO: result: not found" >&5
10556 echo "${ECHO_T}not found" >&6; }
10559 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10560 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10562 cat >>confdefs.h <<_ACEOF
10563 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10570 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10571 case "x$with_xcomposite" in
10572 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10574 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10575 This is an error since --with-xcomposite was requested." >&5
10576 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10577 This is an error since --with-xcomposite was requested." >&2;}
10578 { (exit 1); exit 1; }; } ;;
10585 if test "x$with_opengl" != "xno"
10591 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10594 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10596 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10597 echo $ECHO_N "(cached) $ECHO_C" >&6
10599 cat >conftest.$ac_ext <<_ACEOF
10602 cat confdefs.h >>conftest.$ac_ext
10603 cat >>conftest.$ac_ext <<_ACEOF
10604 /* end confdefs.h. */
10605 #ifdef HAVE_GL_GLX_H
10606 # include <GL/glx.h>
10609 #include <$ac_header>
10611 rm -f conftest.$ac_objext
10612 if { (ac_try="$ac_compile"
10613 case "(($ac_try" in
10614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10615 *) ac_try_echo=$ac_try;;
10617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10618 (eval "$ac_compile") 2>conftest.er1
10620 grep -v '^ *+' conftest.er1 >conftest.err
10622 cat conftest.err >&5
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); } && {
10625 test -z "$ac_c_werror_flag" ||
10626 test ! -s conftest.err
10627 } && test -s conftest.$ac_objext; then
10628 eval "$as_ac_Header=yes"
10630 echo "$as_me: failed program was:" >&5
10631 sed 's/^/| /' conftest.$ac_ext >&5
10633 eval "$as_ac_Header=no"
10636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10638 ac_res=`eval echo '${'$as_ac_Header'}'`
10639 { echo "$as_me:$LINENO: result: $ac_res" >&5
10640 echo "${ECHO_T}$ac_res" >&6; }
10641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10642 cat >>confdefs.h <<_ACEOF
10643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10650 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10652 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10653 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10654 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10655 echo $ECHO_N "(cached) $ECHO_C" >&6
10657 cat >conftest.$ac_ext <<_ACEOF
10660 cat confdefs.h >>conftest.$ac_ext
10661 cat >>conftest.$ac_ext <<_ACEOF
10662 /* end confdefs.h. */
10667 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10672 rm -f conftest.$ac_objext
10673 if { (ac_try="$ac_compile"
10674 case "(($ac_try" in
10675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10676 *) ac_try_echo=$ac_try;;
10678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10679 (eval "$ac_compile") 2>conftest.er1
10681 grep -v '^ *+' conftest.er1 >conftest.err
10683 cat conftest.err >&5
10684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10685 (exit $ac_status); } && {
10686 test -z "$ac_c_werror_flag" ||
10687 test ! -s conftest.err
10688 } && test -s conftest.$ac_objext; then
10689 wine_cv_opengl_header_version_OK="yes"
10691 echo "$as_me: failed program was:" >&5
10692 sed 's/^/| /' conftest.$ac_ext >&5
10694 wine_cv_opengl_header_version_OK="no"
10697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10699 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10700 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10702 if test "$wine_cv_opengl_header_version_OK" = "yes"
10704 { echo "$as_me:$LINENO: checking for -lGL" >&5
10705 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10706 if test "${ac_cv_lib_soname_GL+set}" = set; then
10707 echo $ECHO_N "(cached) $ECHO_C" >&6
10709 ac_check_soname_save_LIBS=$LIBS
10710 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10711 cat >conftest.$ac_ext <<_ACEOF
10714 cat confdefs.h >>conftest.$ac_ext
10715 cat >>conftest.$ac_ext <<_ACEOF
10716 /* end confdefs.h. */
10718 /* Override any GCC internal prototype to avoid an error.
10719 Use char because int might match the return type of a GCC
10720 builtin and then its argument prototype would still apply. */
10724 char glXCreateContext ();
10728 return glXCreateContext ();
10733 rm -f conftest.$ac_objext conftest$ac_exeext
10734 if { (ac_try="$ac_link"
10735 case "(($ac_try" in
10736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10737 *) ac_try_echo=$ac_try;;
10739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10740 (eval "$ac_link") 2>conftest.er1
10742 grep -v '^ *+' conftest.er1 >conftest.err
10744 cat conftest.err >&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); } && {
10747 test -z "$ac_c_werror_flag" ||
10748 test ! -s conftest.err
10749 } && test -s conftest$ac_exeext &&
10750 $as_test_x conftest$ac_exeext; then
10753 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'` ;;
10754 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10757 echo "$as_me: failed program was:" >&5
10758 sed 's/^/| /' conftest.$ac_ext >&5
10763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10764 conftest$ac_exeext conftest.$ac_ext
10765 LIBS=$ac_check_soname_save_LIBS
10767 if test "x$ac_cv_lib_soname_GL" = "x"; then
10768 { echo "$as_me:$LINENO: result: not found" >&5
10769 echo "${ECHO_T}not found" >&6; }
10770 { echo "$as_me:$LINENO: checking for -lGL" >&5
10771 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10772 if test "${ac_cv_lib_soname_GL+set}" = set; then
10773 echo $ECHO_N "(cached) $ECHO_C" >&6
10775 ac_check_soname_save_LIBS=$LIBS
10776 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"
10777 cat >conftest.$ac_ext <<_ACEOF
10780 cat confdefs.h >>conftest.$ac_ext
10781 cat >>conftest.$ac_ext <<_ACEOF
10782 /* end confdefs.h. */
10784 /* Override any GCC internal prototype to avoid an error.
10785 Use char because int might match the return type of a GCC
10786 builtin and then its argument prototype would still apply. */
10790 char glXCreateContext ();
10794 return glXCreateContext ();
10799 rm -f conftest.$ac_objext conftest$ac_exeext
10800 if { (ac_try="$ac_link"
10801 case "(($ac_try" in
10802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10803 *) ac_try_echo=$ac_try;;
10805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10806 (eval "$ac_link") 2>conftest.er1
10808 grep -v '^ *+' conftest.er1 >conftest.err
10810 cat conftest.err >&5
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); } && {
10813 test -z "$ac_c_werror_flag" ||
10814 test ! -s conftest.err
10815 } && test -s conftest$ac_exeext &&
10816 $as_test_x conftest$ac_exeext; then
10819 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'` ;;
10820 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10823 echo "$as_me: failed program was:" >&5
10824 sed 's/^/| /' conftest.$ac_ext >&5
10829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10830 conftest$ac_exeext conftest.$ac_ext
10831 LIBS=$ac_check_soname_save_LIBS
10833 if test "x$ac_cv_lib_soname_GL" = "x"; then
10834 { echo "$as_me:$LINENO: result: not found" >&5
10835 echo "${ECHO_T}not found" >&6; }
10836 if test -f /usr/X11R6/lib/libGL.a
10838 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10839 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10841 opengl_msg="No OpenGL library found on this system."
10844 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10845 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10847 cat >>confdefs.h <<_ACEOF
10848 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10851 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"
10852 OPENGLFILES='$(OPENGLFILES)'
10854 cat >>confdefs.h <<\_ACEOF
10855 #define HAVE_OPENGL 1
10861 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10862 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10864 cat >>confdefs.h <<_ACEOF
10865 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10869 OPENGLFILES='$(OPENGLFILES)'
10871 cat >>confdefs.h <<\_ACEOF
10872 #define HAVE_OPENGL 1
10878 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10879 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10880 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10881 echo $ECHO_N "(cached) $ECHO_C" >&6
10883 ac_check_lib_save_LIBS=$LIBS
10884 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10885 cat >conftest.$ac_ext <<_ACEOF
10888 cat confdefs.h >>conftest.$ac_ext
10889 cat >>conftest.$ac_ext <<_ACEOF
10890 /* end confdefs.h. */
10892 /* Override any GCC internal prototype to avoid an error.
10893 Use char because int might match the return type of a GCC
10894 builtin and then its argument prototype would still apply. */
10902 return gluLookAt ();
10907 rm -f conftest.$ac_objext conftest$ac_exeext
10908 if { (ac_try="$ac_link"
10909 case "(($ac_try" in
10910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10911 *) ac_try_echo=$ac_try;;
10913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10914 (eval "$ac_link") 2>conftest.er1
10916 grep -v '^ *+' conftest.er1 >conftest.err
10918 cat conftest.err >&5
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); } && {
10921 test -z "$ac_c_werror_flag" ||
10922 test ! -s conftest.err
10923 } && test -s conftest$ac_exeext &&
10924 $as_test_x conftest$ac_exeext; then
10925 ac_cv_lib_GLU_gluLookAt=yes
10927 echo "$as_me: failed program was:" >&5
10928 sed 's/^/| /' conftest.$ac_ext >&5
10930 ac_cv_lib_GLU_gluLookAt=no
10933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10934 conftest$ac_exeext conftest.$ac_ext
10935 LIBS=$ac_check_lib_save_LIBS
10937 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10938 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10939 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10940 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10941 GLU32FILES='$(GLU32FILES)'
10946 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
10949 opengl_msg="OpenGL development headers not found."
10952 if test -n "$opengl_msg"; then
10953 case "x$with_opengl" in
10954 x) wine_warnings="$wine_warnings|$opengl_msg
10955 OpenGL and Direct3D won't be supported." ;;
10957 *) { { echo "$as_me:$LINENO: error: $opengl_msg
10958 OpenGL and Direct3D won't be supported.
10959 This is an error since --with-opengl was requested." >&5
10960 echo "$as_me: error: $opengl_msg
10961 OpenGL and Direct3D won't be supported.
10962 This is an error since --with-opengl was requested." >&2;}
10963 { (exit 1); exit 1; }; } ;;
10971 for ac_header in audio/audiolib.h
10973 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10975 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10978 echo $ECHO_N "(cached) $ECHO_C" >&6
10980 ac_res=`eval echo '${'$as_ac_Header'}'`
10981 { echo "$as_me:$LINENO: result: $ac_res" >&5
10982 echo "${ECHO_T}$ac_res" >&6; }
10984 # Is the header compilable?
10985 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10987 cat >conftest.$ac_ext <<_ACEOF
10990 cat confdefs.h >>conftest.$ac_ext
10991 cat >>conftest.$ac_ext <<_ACEOF
10992 /* end confdefs.h. */
10993 $ac_includes_default
10994 #include <$ac_header>
10996 rm -f conftest.$ac_objext
10997 if { (ac_try="$ac_compile"
10998 case "(($ac_try" in
10999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11000 *) ac_try_echo=$ac_try;;
11002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11003 (eval "$ac_compile") 2>conftest.er1
11005 grep -v '^ *+' conftest.er1 >conftest.err
11007 cat conftest.err >&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } && {
11010 test -z "$ac_c_werror_flag" ||
11011 test ! -s conftest.err
11012 } && test -s conftest.$ac_objext; then
11013 ac_header_compiler=yes
11015 echo "$as_me: failed program was:" >&5
11016 sed 's/^/| /' conftest.$ac_ext >&5
11018 ac_header_compiler=no
11021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11022 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11023 echo "${ECHO_T}$ac_header_compiler" >&6; }
11025 # Is the header present?
11026 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11027 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11028 cat >conftest.$ac_ext <<_ACEOF
11031 cat confdefs.h >>conftest.$ac_ext
11032 cat >>conftest.$ac_ext <<_ACEOF
11033 /* end confdefs.h. */
11034 #include <$ac_header>
11036 if { (ac_try="$ac_cpp conftest.$ac_ext"
11037 case "(($ac_try" in
11038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11039 *) ac_try_echo=$ac_try;;
11041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11042 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11044 grep -v '^ *+' conftest.er1 >conftest.err
11046 cat conftest.err >&5
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); } >/dev/null && {
11049 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11050 test ! -s conftest.err
11052 ac_header_preproc=yes
11054 echo "$as_me: failed program was:" >&5
11055 sed 's/^/| /' conftest.$ac_ext >&5
11057 ac_header_preproc=no
11060 rm -f conftest.err conftest.$ac_ext
11061 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11062 echo "${ECHO_T}$ac_header_preproc" >&6; }
11064 # So? What about this header?
11065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11068 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11070 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11071 ac_header_preproc=yes
11074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11079 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11081 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11085 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11087 ## ------------------------------------ ##
11088 ## Report this to wine-devel@winehq.org ##
11089 ## ------------------------------------ ##
11091 ) | sed "s/^/$as_me: WARNING: /" >&2
11094 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11097 echo $ECHO_N "(cached) $ECHO_C" >&6
11099 eval "$as_ac_Header=\$ac_header_preproc"
11101 ac_res=`eval echo '${'$as_ac_Header'}'`
11102 { echo "$as_me:$LINENO: result: $ac_res" >&5
11103 echo "${ECHO_T}$ac_res" >&6; }
11106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11107 cat >>confdefs.h <<_ACEOF
11108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11111 for ac_header in audio/soundlib.h
11113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11114 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 cat >conftest.$ac_ext <<_ACEOF
11122 cat confdefs.h >>conftest.$ac_ext
11123 cat >>conftest.$ac_ext <<_ACEOF
11124 /* end confdefs.h. */
11125 #include <audio/audiolib.h>
11127 #include <$ac_header>
11129 rm -f conftest.$ac_objext
11130 if { (ac_try="$ac_compile"
11131 case "(($ac_try" in
11132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11133 *) ac_try_echo=$ac_try;;
11135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11136 (eval "$ac_compile") 2>conftest.er1
11138 grep -v '^ *+' conftest.er1 >conftest.err
11140 cat conftest.err >&5
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); } && {
11143 test -z "$ac_c_werror_flag" ||
11144 test ! -s conftest.err
11145 } && test -s conftest.$ac_objext; then
11146 eval "$as_ac_Header=yes"
11148 echo "$as_me: failed program was:" >&5
11149 sed 's/^/| /' conftest.$ac_ext >&5
11151 eval "$as_ac_Header=no"
11154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11156 ac_res=`eval echo '${'$as_ac_Header'}'`
11157 { echo "$as_me:$LINENO: result: $ac_res" >&5
11158 echo "${ECHO_T}$ac_res" >&6; }
11159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11160 cat >>confdefs.h <<_ACEOF
11161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11168 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11169 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11170 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11171 echo $ECHO_N "(cached) $ECHO_C" >&6
11173 ac_check_lib_save_LIBS=$LIBS
11174 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11175 cat >conftest.$ac_ext <<_ACEOF
11178 cat confdefs.h >>conftest.$ac_ext
11179 cat >>conftest.$ac_ext <<_ACEOF
11180 /* end confdefs.h. */
11182 /* Override any GCC internal prototype to avoid an error.
11183 Use char because int might match the return type of a GCC
11184 builtin and then its argument prototype would still apply. */
11188 char AuCreateFlow ();
11192 return AuCreateFlow ();
11197 rm -f conftest.$ac_objext conftest$ac_exeext
11198 if { (ac_try="$ac_link"
11199 case "(($ac_try" in
11200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11201 *) ac_try_echo=$ac_try;;
11203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11204 (eval "$ac_link") 2>conftest.er1
11206 grep -v '^ *+' conftest.er1 >conftest.err
11208 cat conftest.err >&5
11209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11210 (exit $ac_status); } && {
11211 test -z "$ac_c_werror_flag" ||
11212 test ! -s conftest.err
11213 } && test -s conftest$ac_exeext &&
11214 $as_test_x conftest$ac_exeext; then
11215 ac_cv_lib_audio_AuCreateFlow=yes
11217 echo "$as_me: failed program was:" >&5
11218 sed 's/^/| /' conftest.$ac_ext >&5
11220 ac_cv_lib_audio_AuCreateFlow=no
11223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11224 conftest$ac_exeext conftest.$ac_ext
11225 LIBS=$ac_check_lib_save_LIBS
11227 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11228 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11229 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11231 cat >>confdefs.h <<\_ACEOF
11235 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11236 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11237 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11238 echo $ECHO_N "(cached) $ECHO_C" >&6
11240 ac_check_lib_save_LIBS=$LIBS
11241 LIBS="-lXau $X_LIBS $LIBS"
11242 cat >conftest.$ac_ext <<_ACEOF
11245 cat confdefs.h >>conftest.$ac_ext
11246 cat >>conftest.$ac_ext <<_ACEOF
11247 /* end confdefs.h. */
11249 /* Override any GCC internal prototype to avoid an error.
11250 Use char because int might match the return type of a GCC
11251 builtin and then its argument prototype would still apply. */
11255 char XauGetBestAuthByAddr ();
11259 return XauGetBestAuthByAddr ();
11264 rm -f conftest.$ac_objext conftest$ac_exeext
11265 if { (ac_try="$ac_link"
11266 case "(($ac_try" in
11267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11268 *) ac_try_echo=$ac_try;;
11270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11271 (eval "$ac_link") 2>conftest.er1
11273 grep -v '^ *+' conftest.er1 >conftest.err
11275 cat conftest.err >&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); } && {
11278 test -z "$ac_c_werror_flag" ||
11279 test ! -s conftest.err
11280 } && test -s conftest$ac_exeext &&
11281 $as_test_x conftest$ac_exeext; then
11282 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11284 echo "$as_me: failed program was:" >&5
11285 sed 's/^/| /' conftest.$ac_ext >&5
11287 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11291 conftest$ac_exeext conftest.$ac_ext
11292 LIBS=$ac_check_lib_save_LIBS
11294 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11295 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11296 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11297 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11299 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11310 CPPFLAGS="$ac_save_CPPFLAGS"
11317 if test "x$XLIB" = "x"; then
11319 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11320 without X support, which probably isn't what you want. You will need to install
11321 development packages of Xlib/Xfree86 at the very least." ;;
11323 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11324 without X support, which probably isn't what you want. You will need to install
11325 development packages of Xlib/Xfree86 at the very least.
11326 This is an error since --with-x was requested." >&5
11327 echo "$as_me: error: X development files not found. Wine will be built
11328 without X support, which probably isn't what you want. You will need to install
11329 development packages of Xlib/Xfree86 at the very least.
11330 This is an error since --with-x was requested." >&2;}
11331 { (exit 1); exit 1; }; } ;;
11345 if test "x$with_xml" != "xno"
11347 ac_save_CPPFLAGS="$CPPFLAGS"
11348 if test "$PKG_CONFIG" != "false"
11350 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11351 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11353 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11354 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11356 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11358 for ac_header in libxml/parser.h
11360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11367 ac_res=`eval echo '${'$as_ac_Header'}'`
11368 { echo "$as_me:$LINENO: result: $ac_res" >&5
11369 echo "${ECHO_T}$ac_res" >&6; }
11371 # Is the header compilable?
11372 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11373 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11374 cat >conftest.$ac_ext <<_ACEOF
11377 cat confdefs.h >>conftest.$ac_ext
11378 cat >>conftest.$ac_ext <<_ACEOF
11379 /* end confdefs.h. */
11380 $ac_includes_default
11381 #include <$ac_header>
11383 rm -f conftest.$ac_objext
11384 if { (ac_try="$ac_compile"
11385 case "(($ac_try" in
11386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11387 *) ac_try_echo=$ac_try;;
11389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11390 (eval "$ac_compile") 2>conftest.er1
11392 grep -v '^ *+' conftest.er1 >conftest.err
11394 cat conftest.err >&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } && {
11397 test -z "$ac_c_werror_flag" ||
11398 test ! -s conftest.err
11399 } && test -s conftest.$ac_objext; then
11400 ac_header_compiler=yes
11402 echo "$as_me: failed program was:" >&5
11403 sed 's/^/| /' conftest.$ac_ext >&5
11405 ac_header_compiler=no
11408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11409 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11410 echo "${ECHO_T}$ac_header_compiler" >&6; }
11412 # Is the header present?
11413 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11415 cat >conftest.$ac_ext <<_ACEOF
11418 cat confdefs.h >>conftest.$ac_ext
11419 cat >>conftest.$ac_ext <<_ACEOF
11420 /* end confdefs.h. */
11421 #include <$ac_header>
11423 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
11436 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11437 test ! -s conftest.err
11439 ac_header_preproc=yes
11441 echo "$as_me: failed program was:" >&5
11442 sed 's/^/| /' conftest.$ac_ext >&5
11444 ac_header_preproc=no
11447 rm -f conftest.err conftest.$ac_ext
11448 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11449 echo "${ECHO_T}$ac_header_preproc" >&6; }
11451 # So? What about this header?
11452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11454 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11455 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11457 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11458 ac_header_preproc=yes
11461 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11463 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11464 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11465 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11466 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11467 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11468 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11471 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11474 ## ------------------------------------ ##
11475 ## Report this to wine-devel@winehq.org ##
11476 ## ------------------------------------ ##
11478 ) | sed "s/^/$as_me: WARNING: /" >&2
11481 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11483 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11484 echo $ECHO_N "(cached) $ECHO_C" >&6
11486 eval "$as_ac_Header=\$ac_header_preproc"
11488 ac_res=`eval echo '${'$as_ac_Header'}'`
11489 { echo "$as_me:$LINENO: result: $ac_res" >&5
11490 echo "${ECHO_T}$ac_res" >&6; }
11493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11494 cat >>confdefs.h <<_ACEOF
11495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11497 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11498 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11499 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11500 echo $ECHO_N "(cached) $ECHO_C" >&6
11502 ac_check_lib_save_LIBS=$LIBS
11503 LIBS="-lxml2 $ac_xml_libs $LIBS"
11504 cat >conftest.$ac_ext <<_ACEOF
11507 cat confdefs.h >>conftest.$ac_ext
11508 cat >>conftest.$ac_ext <<_ACEOF
11509 /* end confdefs.h. */
11511 /* Override any GCC internal prototype to avoid an error.
11512 Use char because int might match the return type of a GCC
11513 builtin and then its argument prototype would still apply. */
11517 char xmlParseMemory ();
11521 return xmlParseMemory ();
11526 rm -f conftest.$ac_objext conftest$ac_exeext
11527 if { (ac_try="$ac_link"
11528 case "(($ac_try" in
11529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11530 *) ac_try_echo=$ac_try;;
11532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11533 (eval "$ac_link") 2>conftest.er1
11535 grep -v '^ *+' conftest.er1 >conftest.err
11537 cat conftest.err >&5
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); } && {
11540 test -z "$ac_c_werror_flag" ||
11541 test ! -s conftest.err
11542 } && test -s conftest$ac_exeext &&
11543 $as_test_x conftest$ac_exeext; then
11544 ac_cv_lib_xml2_xmlParseMemory=yes
11546 echo "$as_me: failed program was:" >&5
11547 sed 's/^/| /' conftest.$ac_ext >&5
11549 ac_cv_lib_xml2_xmlParseMemory=no
11552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11553 conftest$ac_exeext conftest.$ac_ext
11554 LIBS=$ac_check_lib_save_LIBS
11556 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11557 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11558 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11560 cat >>confdefs.h <<\_ACEOF
11561 #define HAVE_LIBXML2 1
11564 XML2LIBS="$ac_xml_libs"
11565 XML2INCL="$ac_xml_cflags"
11568 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11569 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11570 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11571 echo $ECHO_N "(cached) $ECHO_C" >&6
11573 ac_check_lib_save_LIBS=$LIBS
11574 LIBS="-lxml2 $ac_xml_libs $LIBS"
11575 cat >conftest.$ac_ext <<_ACEOF
11578 cat confdefs.h >>conftest.$ac_ext
11579 cat >>conftest.$ac_ext <<_ACEOF
11580 /* end confdefs.h. */
11582 /* Override any GCC internal prototype to avoid an error.
11583 Use char because int might match the return type of a GCC
11584 builtin and then its argument prototype would still apply. */
11588 char xmlReadMemory ();
11592 return xmlReadMemory ();
11597 rm -f conftest.$ac_objext conftest$ac_exeext
11598 if { (ac_try="$ac_link"
11599 case "(($ac_try" in
11600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11601 *) ac_try_echo=$ac_try;;
11603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11604 (eval "$ac_link") 2>conftest.er1
11606 grep -v '^ *+' conftest.er1 >conftest.err
11608 cat conftest.err >&5
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); } && {
11611 test -z "$ac_c_werror_flag" ||
11612 test ! -s conftest.err
11613 } && test -s conftest$ac_exeext &&
11614 $as_test_x conftest$ac_exeext; then
11615 ac_cv_lib_xml2_xmlReadMemory=yes
11617 echo "$as_me: failed program was:" >&5
11618 sed 's/^/| /' conftest.$ac_ext >&5
11620 ac_cv_lib_xml2_xmlReadMemory=no
11623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11624 conftest$ac_exeext conftest.$ac_ext
11625 LIBS=$ac_check_lib_save_LIBS
11627 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11628 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11629 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11631 cat >>confdefs.h <<\_ACEOF
11632 #define HAVE_XMLREADMEMORY 1
11637 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11638 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11639 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11640 echo $ECHO_N "(cached) $ECHO_C" >&6
11642 ac_check_lib_save_LIBS=$LIBS
11643 LIBS="-lxml2 $ac_xml_libs $LIBS"
11644 cat >conftest.$ac_ext <<_ACEOF
11647 cat confdefs.h >>conftest.$ac_ext
11648 cat >>conftest.$ac_ext <<_ACEOF
11649 /* end confdefs.h. */
11651 /* Override any GCC internal prototype to avoid an error.
11652 Use char because int might match the return type of a GCC
11653 builtin and then its argument prototype would still apply. */
11657 char xmlNewDocPI ();
11661 return xmlNewDocPI ();
11666 rm -f conftest.$ac_objext conftest$ac_exeext
11667 if { (ac_try="$ac_link"
11668 case "(($ac_try" in
11669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11670 *) ac_try_echo=$ac_try;;
11672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11673 (eval "$ac_link") 2>conftest.er1
11675 grep -v '^ *+' conftest.er1 >conftest.err
11677 cat conftest.err >&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); } && {
11680 test -z "$ac_c_werror_flag" ||
11681 test ! -s conftest.err
11682 } && test -s conftest$ac_exeext &&
11683 $as_test_x conftest$ac_exeext; then
11684 ac_cv_lib_xml2_xmlNewDocPI=yes
11686 echo "$as_me: failed program was:" >&5
11687 sed 's/^/| /' conftest.$ac_ext >&5
11689 ac_cv_lib_xml2_xmlNewDocPI=no
11692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11693 conftest$ac_exeext conftest.$ac_ext
11694 LIBS=$ac_check_lib_save_LIBS
11696 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11697 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11698 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11700 cat >>confdefs.h <<\_ACEOF
11701 #define HAVE_XMLNEWDOCPI 1
11711 CPPFLAGS="$ac_save_CPPFLAGS"
11713 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11714 case "x$with_xml" in
11715 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11717 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11718 This is an error since --with-xml was requested." >&5
11719 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11720 This is an error since --with-xml was requested." >&2;}
11721 { (exit 1); exit 1; }; } ;;
11726 if test "x$with_xslt" != "xno"
11728 if test "$PKG_CONFIG" != "false"
11730 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11731 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11733 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11734 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11736 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11739 for ac_header in libxslt/pattern.h libxslt/transform.h
11741 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11742 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11744 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11745 echo $ECHO_N "(cached) $ECHO_C" >&6
11747 cat >conftest.$ac_ext <<_ACEOF
11750 cat confdefs.h >>conftest.$ac_ext
11751 cat >>conftest.$ac_ext <<_ACEOF
11752 /* end confdefs.h. */
11753 #ifdef HAVE_LIBXSLT_PATTERN_H
11754 # include <libxslt/pattern.h>
11757 #include <$ac_header>
11759 rm -f conftest.$ac_objext
11760 if { (ac_try="$ac_compile"
11761 case "(($ac_try" in
11762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11763 *) ac_try_echo=$ac_try;;
11765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11766 (eval "$ac_compile") 2>conftest.er1
11768 grep -v '^ *+' conftest.er1 >conftest.err
11770 cat conftest.err >&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); } && {
11773 test -z "$ac_c_werror_flag" ||
11774 test ! -s conftest.err
11775 } && test -s conftest.$ac_objext; then
11776 eval "$as_ac_Header=yes"
11778 echo "$as_me: failed program was:" >&5
11779 sed 's/^/| /' conftest.$ac_ext >&5
11781 eval "$as_ac_Header=no"
11784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11786 ac_res=`eval echo '${'$as_ac_Header'}'`
11787 { echo "$as_me:$LINENO: result: $ac_res" >&5
11788 echo "${ECHO_T}$ac_res" >&6; }
11789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11790 cat >>confdefs.h <<_ACEOF
11791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11793 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11794 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11795 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11798 ac_check_lib_save_LIBS=$LIBS
11799 LIBS="-lxslt $ac_xslt_libs $LIBS"
11800 cat >conftest.$ac_ext <<_ACEOF
11803 cat confdefs.h >>conftest.$ac_ext
11804 cat >>conftest.$ac_ext <<_ACEOF
11805 /* end confdefs.h. */
11807 /* Override any GCC internal prototype to avoid an error.
11808 Use char because int might match the return type of a GCC
11809 builtin and then its argument prototype would still apply. */
11813 char xsltCompilePattern ();
11817 return xsltCompilePattern ();
11822 rm -f conftest.$ac_objext conftest$ac_exeext
11823 if { (ac_try="$ac_link"
11824 case "(($ac_try" in
11825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11826 *) ac_try_echo=$ac_try;;
11828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11829 (eval "$ac_link") 2>conftest.er1
11831 grep -v '^ *+' conftest.er1 >conftest.err
11833 cat conftest.err >&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } && {
11836 test -z "$ac_c_werror_flag" ||
11837 test ! -s conftest.err
11838 } && test -s conftest$ac_exeext &&
11839 $as_test_x conftest$ac_exeext; then
11840 ac_cv_lib_xslt_xsltCompilePattern=yes
11842 echo "$as_me: failed program was:" >&5
11843 sed 's/^/| /' conftest.$ac_ext >&5
11845 ac_cv_lib_xslt_xsltCompilePattern=no
11848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11849 conftest$ac_exeext conftest.$ac_ext
11850 LIBS=$ac_check_lib_save_LIBS
11852 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11853 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11854 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11856 cat >>confdefs.h <<\_ACEOF
11857 #define HAVE_LIBXSLT 1
11860 XSLTLIBS="$ac_xslt_libs"
11861 XSLTINCL="$ac_xslt_cflags"
11869 CPPFLAGS="$ac_save_CPPFLAGS"
11871 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11872 case "x$with_xslt" in
11873 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
11875 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
11876 This is an error since --with-xslt was requested." >&5
11877 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
11878 This is an error since --with-xslt was requested." >&2;}
11879 { (exit 1); exit 1; }; } ;;
11886 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
11888 ac_save_CPPFLAGS="$CPPFLAGS"
11889 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11890 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11891 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11894 for ac_header in dbus/dbus.h hal/libhal.h
11896 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11897 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11898 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11900 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11903 ac_res=`eval echo '${'$as_ac_Header'}'`
11904 { echo "$as_me:$LINENO: result: $ac_res" >&5
11905 echo "${ECHO_T}$ac_res" >&6; }
11907 # Is the header compilable?
11908 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11909 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11910 cat >conftest.$ac_ext <<_ACEOF
11913 cat confdefs.h >>conftest.$ac_ext
11914 cat >>conftest.$ac_ext <<_ACEOF
11915 /* end confdefs.h. */
11916 $ac_includes_default
11917 #include <$ac_header>
11919 rm -f conftest.$ac_objext
11920 if { (ac_try="$ac_compile"
11921 case "(($ac_try" in
11922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11923 *) ac_try_echo=$ac_try;;
11925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11926 (eval "$ac_compile") 2>conftest.er1
11928 grep -v '^ *+' conftest.er1 >conftest.err
11930 cat conftest.err >&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); } && {
11933 test -z "$ac_c_werror_flag" ||
11934 test ! -s conftest.err
11935 } && test -s conftest.$ac_objext; then
11936 ac_header_compiler=yes
11938 echo "$as_me: failed program was:" >&5
11939 sed 's/^/| /' conftest.$ac_ext >&5
11941 ac_header_compiler=no
11944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11945 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11946 echo "${ECHO_T}$ac_header_compiler" >&6; }
11948 # Is the header present?
11949 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11950 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11951 cat >conftest.$ac_ext <<_ACEOF
11954 cat confdefs.h >>conftest.$ac_ext
11955 cat >>conftest.$ac_ext <<_ACEOF
11956 /* end confdefs.h. */
11957 #include <$ac_header>
11959 if { (ac_try="$ac_cpp conftest.$ac_ext"
11960 case "(($ac_try" in
11961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11962 *) ac_try_echo=$ac_try;;
11964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11967 grep -v '^ *+' conftest.er1 >conftest.err
11969 cat conftest.err >&5
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); } >/dev/null && {
11972 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11973 test ! -s conftest.err
11975 ac_header_preproc=yes
11977 echo "$as_me: failed program was:" >&5
11978 sed 's/^/| /' conftest.$ac_ext >&5
11980 ac_header_preproc=no
11983 rm -f conftest.err conftest.$ac_ext
11984 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11985 echo "${ECHO_T}$ac_header_preproc" >&6; }
11987 # So? What about this header?
11988 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11990 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11991 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11993 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11994 ac_header_preproc=yes
11997 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11998 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11999 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12000 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12001 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12002 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12003 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12004 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12006 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12007 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12008 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12010 ## ------------------------------------ ##
12011 ## Report this to wine-devel@winehq.org ##
12012 ## ------------------------------------ ##
12014 ) | sed "s/^/$as_me: WARNING: /" >&2
12017 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12019 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12020 echo $ECHO_N "(cached) $ECHO_C" >&6
12022 eval "$as_ac_Header=\$ac_header_preproc"
12024 ac_res=`eval echo '${'$as_ac_Header'}'`
12025 { echo "$as_me:$LINENO: result: $ac_res" >&5
12026 echo "${ECHO_T}$ac_res" >&6; }
12029 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12030 cat >>confdefs.h <<_ACEOF
12031 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12038 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12040 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12041 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12042 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12043 echo $ECHO_N "(cached) $ECHO_C" >&6
12045 ac_check_lib_save_LIBS=$LIBS
12046 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12047 cat >conftest.$ac_ext <<_ACEOF
12050 cat confdefs.h >>conftest.$ac_ext
12051 cat >>conftest.$ac_ext <<_ACEOF
12052 /* end confdefs.h. */
12054 /* Override any GCC internal prototype to avoid an error.
12055 Use char because int might match the return type of a GCC
12056 builtin and then its argument prototype would still apply. */
12060 char dbus_connection_close ();
12064 return dbus_connection_close ();
12069 rm -f conftest.$ac_objext conftest$ac_exeext
12070 if { (ac_try="$ac_link"
12071 case "(($ac_try" in
12072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12073 *) ac_try_echo=$ac_try;;
12075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12076 (eval "$ac_link") 2>conftest.er1
12078 grep -v '^ *+' conftest.er1 >conftest.err
12080 cat conftest.err >&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); } && {
12083 test -z "$ac_c_werror_flag" ||
12084 test ! -s conftest.err
12085 } && test -s conftest$ac_exeext &&
12086 $as_test_x conftest$ac_exeext; then
12087 ac_cv_lib_dbus_1_dbus_connection_close=yes
12089 echo "$as_me: failed program was:" >&5
12090 sed 's/^/| /' conftest.$ac_ext >&5
12092 ac_cv_lib_dbus_1_dbus_connection_close=no
12095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12096 conftest$ac_exeext conftest.$ac_ext
12097 LIBS=$ac_check_lib_save_LIBS
12099 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12100 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12101 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12102 { echo "$as_me:$LINENO: checking for -lhal" >&5
12103 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12104 if test "${ac_cv_lib_soname_hal+set}" = set; then
12105 echo $ECHO_N "(cached) $ECHO_C" >&6
12107 ac_check_soname_save_LIBS=$LIBS
12108 LIBS="-lhal $ac_hal_libs $LIBS"
12109 cat >conftest.$ac_ext <<_ACEOF
12112 cat confdefs.h >>conftest.$ac_ext
12113 cat >>conftest.$ac_ext <<_ACEOF
12114 /* end confdefs.h. */
12116 /* Override any GCC internal prototype to avoid an error.
12117 Use char because int might match the return type of a GCC
12118 builtin and then its argument prototype would still apply. */
12122 char libhal_ctx_new ();
12126 return libhal_ctx_new ();
12131 rm -f conftest.$ac_objext conftest$ac_exeext
12132 if { (ac_try="$ac_link"
12133 case "(($ac_try" in
12134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12135 *) ac_try_echo=$ac_try;;
12137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12138 (eval "$ac_link") 2>conftest.er1
12140 grep -v '^ *+' conftest.er1 >conftest.err
12142 cat conftest.err >&5
12143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12144 (exit $ac_status); } && {
12145 test -z "$ac_c_werror_flag" ||
12146 test ! -s conftest.err
12147 } && test -s conftest$ac_exeext &&
12148 $as_test_x conftest$ac_exeext; then
12151 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'` ;;
12152 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12155 echo "$as_me: failed program was:" >&5
12156 sed 's/^/| /' conftest.$ac_ext >&5
12161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12162 conftest$ac_exeext conftest.$ac_ext
12163 LIBS=$ac_check_soname_save_LIBS
12165 if test "x$ac_cv_lib_soname_hal" = "x"; then
12166 { echo "$as_me:$LINENO: result: not found" >&5
12167 echo "${ECHO_T}not found" >&6; }
12170 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12171 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12173 cat >>confdefs.h <<_ACEOF
12174 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12177 HALINCL="$ac_hal_cflags"
12183 CPPFLAGS="$ac_save_CPPFLAGS"
12185 if test "x$ac_cv_lib_soname_hal" = "x"; then
12186 case "x$with_hal" in
12187 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12189 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12190 This is an error since --with-hal was requested." >&5
12191 echo "$as_me: error: libhal development files not found, no dynamic device support.
12192 This is an error since --with-hal was requested." >&2;}
12193 { (exit 1); exit 1; }; } ;;
12199 if test "$ac_cv_header_ncurses_h" = "yes"
12201 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12202 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12203 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12204 echo $ECHO_N "(cached) $ECHO_C" >&6
12206 ac_check_soname_save_LIBS=$LIBS
12207 LIBS="-lncurses $LIBS"
12208 cat >conftest.$ac_ext <<_ACEOF
12211 cat confdefs.h >>conftest.$ac_ext
12212 cat >>conftest.$ac_ext <<_ACEOF
12213 /* end confdefs.h. */
12215 /* Override any GCC internal prototype to avoid an error.
12216 Use char because int might match the return type of a GCC
12217 builtin and then its argument prototype would still apply. */
12230 rm -f conftest.$ac_objext conftest$ac_exeext
12231 if { (ac_try="$ac_link"
12232 case "(($ac_try" in
12233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12234 *) ac_try_echo=$ac_try;;
12236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12237 (eval "$ac_link") 2>conftest.er1
12239 grep -v '^ *+' conftest.er1 >conftest.err
12241 cat conftest.err >&5
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); } && {
12244 test -z "$ac_c_werror_flag" ||
12245 test ! -s conftest.err
12246 } && test -s conftest$ac_exeext &&
12247 $as_test_x conftest$ac_exeext; then
12250 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'` ;;
12251 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12254 echo "$as_me: failed program was:" >&5
12255 sed 's/^/| /' conftest.$ac_ext >&5
12260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12261 conftest$ac_exeext conftest.$ac_ext
12262 LIBS=$ac_check_soname_save_LIBS
12264 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12265 { echo "$as_me:$LINENO: result: not found" >&5
12266 echo "${ECHO_T}not found" >&6; }
12269 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12270 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12272 cat >>confdefs.h <<_ACEOF
12273 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12276 CURSESLIBS="-lncurses"
12279 elif test "$ac_cv_header_curses_h" = "yes"
12281 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12282 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12283 if test "${ac_cv_lib_soname_curses+set}" = set; then
12284 echo $ECHO_N "(cached) $ECHO_C" >&6
12286 ac_check_soname_save_LIBS=$LIBS
12287 LIBS="-lcurses $LIBS"
12288 cat >conftest.$ac_ext <<_ACEOF
12291 cat confdefs.h >>conftest.$ac_ext
12292 cat >>conftest.$ac_ext <<_ACEOF
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12310 rm -f conftest.$ac_objext conftest$ac_exeext
12311 if { (ac_try="$ac_link"
12312 case "(($ac_try" in
12313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12314 *) ac_try_echo=$ac_try;;
12316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12317 (eval "$ac_link") 2>conftest.er1
12319 grep -v '^ *+' conftest.er1 >conftest.err
12321 cat conftest.err >&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } && {
12324 test -z "$ac_c_werror_flag" ||
12325 test ! -s conftest.err
12326 } && test -s conftest$ac_exeext &&
12327 $as_test_x conftest$ac_exeext; then
12330 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'` ;;
12331 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12334 echo "$as_me: failed program was:" >&5
12335 sed 's/^/| /' conftest.$ac_ext >&5
12340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12341 conftest$ac_exeext conftest.$ac_ext
12342 LIBS=$ac_check_soname_save_LIBS
12344 if test "x$ac_cv_lib_soname_curses" = "x"; then
12345 { echo "$as_me:$LINENO: result: not found" >&5
12346 echo "${ECHO_T}not found" >&6; }
12349 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12350 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12352 cat >>confdefs.h <<_ACEOF
12353 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12356 CURSESLIBS="-lcurses"
12360 ac_save_LIBS="$LIBS"
12361 LIBS="$LIBS $CURSESLIBS"
12363 for ac_func in mousemask
12365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12366 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12369 echo $ECHO_N "(cached) $ECHO_C" >&6
12371 cat >conftest.$ac_ext <<_ACEOF
12374 cat confdefs.h >>conftest.$ac_ext
12375 cat >>conftest.$ac_ext <<_ACEOF
12376 /* end confdefs.h. */
12377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12379 #define $ac_func innocuous_$ac_func
12381 /* System header to define __stub macros and hopefully few prototypes,
12382 which can conflict with char $ac_func (); below.
12383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12384 <limits.h> exists even on freestanding compilers. */
12387 # include <limits.h>
12389 # include <assert.h>
12394 /* Override any GCC internal prototype to avoid an error.
12395 Use char because int might match the return type of a GCC
12396 builtin and then its argument prototype would still apply. */
12401 /* The GNU C library defines this for functions which it implements
12402 to always fail with ENOSYS. Some functions are actually named
12403 something starting with __ and the normal name is an alias. */
12404 #if defined __stub_$ac_func || defined __stub___$ac_func
12411 return $ac_func ();
12416 rm -f conftest.$ac_objext conftest$ac_exeext
12417 if { (ac_try="$ac_link"
12418 case "(($ac_try" in
12419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12420 *) ac_try_echo=$ac_try;;
12422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12423 (eval "$ac_link") 2>conftest.er1
12425 grep -v '^ *+' conftest.er1 >conftest.err
12427 cat conftest.err >&5
12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 (exit $ac_status); } && {
12430 test -z "$ac_c_werror_flag" ||
12431 test ! -s conftest.err
12432 } && test -s conftest$ac_exeext &&
12433 $as_test_x conftest$ac_exeext; then
12434 eval "$as_ac_var=yes"
12436 echo "$as_me: failed program was:" >&5
12437 sed 's/^/| /' conftest.$ac_ext >&5
12439 eval "$as_ac_var=no"
12442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12443 conftest$ac_exeext conftest.$ac_ext
12445 ac_res=`eval echo '${'$as_ac_var'}'`
12446 { echo "$as_me:$LINENO: result: $ac_res" >&5
12447 echo "${ECHO_T}$ac_res" >&6; }
12448 if test `eval echo '${'$as_ac_var'}'` = yes; then
12449 cat >>confdefs.h <<_ACEOF
12450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12456 LIBS="$ac_save_LIBS"
12457 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12458 case "x$with_curses" in
12459 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12461 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12462 This is an error since --with-curses was requested." >&5
12463 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12464 This is an error since --with-curses was requested." >&2;}
12465 { (exit 1); exit 1; }; } ;;
12470 # Extract the first word of "sane-config", so it can be a program name with args.
12471 set dummy sane-config; ac_word=$2
12472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12474 if test "${ac_cv_prog_sane_devel+set}" = set; then
12475 echo $ECHO_N "(cached) $ECHO_C" >&6
12477 if test -n "$sane_devel"; then
12478 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12481 for as_dir in $PATH
12484 test -z "$as_dir" && as_dir=.
12485 for ac_exec_ext in '' $ac_executable_extensions; do
12486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12487 ac_cv_prog_sane_devel="sane-config"
12488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12495 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12498 sane_devel=$ac_cv_prog_sane_devel
12499 if test -n "$sane_devel"; then
12500 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12501 echo "${ECHO_T}$sane_devel" >&6; }
12503 { echo "$as_me:$LINENO: result: no" >&5
12504 echo "${ECHO_T}no" >&6; }
12508 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12510 ac_sane_incl="`$sane_devel --cflags`"
12511 ac_save_CPPFLAGS="$CPPFLAGS"
12512 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12513 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12514 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12515 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12516 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12517 echo $ECHO_N "(cached) $ECHO_C" >&6
12519 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12520 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12522 # Is the header compilable?
12523 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12524 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12525 cat >conftest.$ac_ext <<_ACEOF
12528 cat confdefs.h >>conftest.$ac_ext
12529 cat >>conftest.$ac_ext <<_ACEOF
12530 /* end confdefs.h. */
12531 $ac_includes_default
12532 #include <sane/sane.h>
12534 rm -f conftest.$ac_objext
12535 if { (ac_try="$ac_compile"
12536 case "(($ac_try" in
12537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12538 *) ac_try_echo=$ac_try;;
12540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12541 (eval "$ac_compile") 2>conftest.er1
12543 grep -v '^ *+' conftest.er1 >conftest.err
12545 cat conftest.err >&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } && {
12548 test -z "$ac_c_werror_flag" ||
12549 test ! -s conftest.err
12550 } && test -s conftest.$ac_objext; then
12551 ac_header_compiler=yes
12553 echo "$as_me: failed program was:" >&5
12554 sed 's/^/| /' conftest.$ac_ext >&5
12556 ac_header_compiler=no
12559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12560 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12561 echo "${ECHO_T}$ac_header_compiler" >&6; }
12563 # Is the header present?
12564 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12565 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12566 cat >conftest.$ac_ext <<_ACEOF
12569 cat confdefs.h >>conftest.$ac_ext
12570 cat >>conftest.$ac_ext <<_ACEOF
12571 /* end confdefs.h. */
12572 #include <sane/sane.h>
12574 if { (ac_try="$ac_cpp conftest.$ac_ext"
12575 case "(($ac_try" in
12576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12577 *) ac_try_echo=$ac_try;;
12579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12582 grep -v '^ *+' conftest.er1 >conftest.err
12584 cat conftest.err >&5
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); } >/dev/null && {
12587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12588 test ! -s conftest.err
12590 ac_header_preproc=yes
12592 echo "$as_me: failed program was:" >&5
12593 sed 's/^/| /' conftest.$ac_ext >&5
12595 ac_header_preproc=no
12598 rm -f conftest.err conftest.$ac_ext
12599 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12600 echo "${ECHO_T}$ac_header_preproc" >&6; }
12602 # So? What about this header?
12603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12605 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12606 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12607 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12608 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12609 ac_header_preproc=yes
12612 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12613 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12614 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12615 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12616 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12617 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12618 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12619 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12620 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12621 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12622 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12623 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12625 ## ------------------------------------ ##
12626 ## Report this to wine-devel@winehq.org ##
12627 ## ------------------------------------ ##
12629 ) | sed "s/^/$as_me: WARNING: /" >&2
12632 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12633 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12634 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12635 echo $ECHO_N "(cached) $ECHO_C" >&6
12637 ac_cv_header_sane_sane_h=$ac_header_preproc
12639 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12640 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12643 if test $ac_cv_header_sane_sane_h = yes; then
12644 { echo "$as_me:$LINENO: checking for -lsane" >&5
12645 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12646 if test "${ac_cv_lib_soname_sane+set}" = set; then
12647 echo $ECHO_N "(cached) $ECHO_C" >&6
12649 ac_check_soname_save_LIBS=$LIBS
12650 LIBS="-lsane $LIBS"
12651 cat >conftest.$ac_ext <<_ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12658 /* Override any GCC internal prototype to avoid an error.
12659 Use char because int might match the return type of a GCC
12660 builtin and then its argument prototype would still apply. */
12668 return sane_init ();
12673 rm -f conftest.$ac_objext conftest$ac_exeext
12674 if { (ac_try="$ac_link"
12675 case "(($ac_try" in
12676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12677 *) ac_try_echo=$ac_try;;
12679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12680 (eval "$ac_link") 2>conftest.er1
12682 grep -v '^ *+' conftest.er1 >conftest.err
12684 cat conftest.err >&5
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); } && {
12687 test -z "$ac_c_werror_flag" ||
12688 test ! -s conftest.err
12689 } && test -s conftest$ac_exeext &&
12690 $as_test_x conftest$ac_exeext; then
12693 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'` ;;
12694 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12697 echo "$as_me: failed program was:" >&5
12698 sed 's/^/| /' conftest.$ac_ext >&5
12703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12704 conftest$ac_exeext conftest.$ac_ext
12705 LIBS=$ac_check_soname_save_LIBS
12707 if test "x$ac_cv_lib_soname_sane" = "x"; then
12708 { echo "$as_me:$LINENO: result: not found" >&5
12709 echo "${ECHO_T}not found" >&6; }
12712 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12713 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12715 cat >>confdefs.h <<_ACEOF
12716 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12719 SANEINCL="$ac_sane_incl"
12726 CPPFLAGS="$ac_save_CPPFLAGS"
12728 if test "x$ac_cv_lib_soname_sane" = "x"; then
12729 case "x$with_sane" in
12730 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12732 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12733 This is an error since --with-sane was requested." >&5
12734 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12735 This is an error since --with-sane was requested." >&2;}
12736 { (exit 1); exit 1; }; } ;;
12741 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12742 set dummy gphoto2-config; ac_word=$2
12743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12745 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12746 echo $ECHO_N "(cached) $ECHO_C" >&6
12748 if test -n "$gphoto2_devel"; then
12749 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12752 for as_dir in $PATH
12755 test -z "$as_dir" && as_dir=.
12756 for ac_exec_ext in '' $ac_executable_extensions; do
12757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12758 ac_cv_prog_gphoto2_devel="gphoto2-config"
12759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12766 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12769 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12770 if test -n "$gphoto2_devel"; then
12771 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12772 echo "${ECHO_T}$gphoto2_devel" >&6; }
12774 { echo "$as_me:$LINENO: result: no" >&5
12775 echo "${ECHO_T}no" >&6; }
12779 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12780 set dummy gphoto2-port-config; ac_word=$2
12781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12783 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12784 echo $ECHO_N "(cached) $ECHO_C" >&6
12786 if test -n "$gphoto2port_devel"; then
12787 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12790 for as_dir in $PATH
12793 test -z "$as_dir" && as_dir=.
12794 for ac_exec_ext in '' $ac_executable_extensions; do
12795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12796 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12804 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12807 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12808 if test -n "$gphoto2port_devel"; then
12809 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12810 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12812 { echo "$as_me:$LINENO: result: no" >&5
12813 echo "${ECHO_T}no" >&6; }
12817 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12819 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12821 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12824 -L/usr/lib|-L/usr/lib64) ;;
12825 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12828 ac_save_CPPFLAGS="$CPPFLAGS"
12829 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12830 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12831 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12832 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12833 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12834 echo $ECHO_N "(cached) $ECHO_C" >&6
12836 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12837 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12839 # Is the header compilable?
12840 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12841 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12842 cat >conftest.$ac_ext <<_ACEOF
12845 cat confdefs.h >>conftest.$ac_ext
12846 cat >>conftest.$ac_ext <<_ACEOF
12847 /* end confdefs.h. */
12848 $ac_includes_default
12849 #include <gphoto2-camera.h>
12851 rm -f conftest.$ac_objext
12852 if { (ac_try="$ac_compile"
12853 case "(($ac_try" in
12854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12855 *) ac_try_echo=$ac_try;;
12857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12858 (eval "$ac_compile") 2>conftest.er1
12860 grep -v '^ *+' conftest.er1 >conftest.err
12862 cat conftest.err >&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); } && {
12865 test -z "$ac_c_werror_flag" ||
12866 test ! -s conftest.err
12867 } && test -s conftest.$ac_objext; then
12868 ac_header_compiler=yes
12870 echo "$as_me: failed program was:" >&5
12871 sed 's/^/| /' conftest.$ac_ext >&5
12873 ac_header_compiler=no
12876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12877 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12878 echo "${ECHO_T}$ac_header_compiler" >&6; }
12880 # Is the header present?
12881 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12882 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12883 cat >conftest.$ac_ext <<_ACEOF
12886 cat confdefs.h >>conftest.$ac_ext
12887 cat >>conftest.$ac_ext <<_ACEOF
12888 /* end confdefs.h. */
12889 #include <gphoto2-camera.h>
12891 if { (ac_try="$ac_cpp conftest.$ac_ext"
12892 case "(($ac_try" in
12893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12894 *) ac_try_echo=$ac_try;;
12896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12897 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12899 grep -v '^ *+' conftest.er1 >conftest.err
12901 cat conftest.err >&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } >/dev/null && {
12904 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12905 test ! -s conftest.err
12907 ac_header_preproc=yes
12909 echo "$as_me: failed program was:" >&5
12910 sed 's/^/| /' conftest.$ac_ext >&5
12912 ac_header_preproc=no
12915 rm -f conftest.err conftest.$ac_ext
12916 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12917 echo "${ECHO_T}$ac_header_preproc" >&6; }
12919 # So? What about this header?
12920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12922 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12923 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12924 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12925 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12926 ac_header_preproc=yes
12929 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12930 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12931 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12932 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12933 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12934 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12935 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12936 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12937 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12938 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12939 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12940 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12942 ## ------------------------------------ ##
12943 ## Report this to wine-devel@winehq.org ##
12944 ## ------------------------------------ ##
12946 ) | sed "s/^/$as_me: WARNING: /" >&2
12949 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12950 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12951 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12952 echo $ECHO_N "(cached) $ECHO_C" >&6
12954 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12956 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12957 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12960 if test $ac_cv_header_gphoto2_camera_h = yes; then
12961 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12962 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12963 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12964 echo $ECHO_N "(cached) $ECHO_C" >&6
12966 ac_check_lib_save_LIBS=$LIBS
12967 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12968 cat >conftest.$ac_ext <<_ACEOF
12971 cat confdefs.h >>conftest.$ac_ext
12972 cat >>conftest.$ac_ext <<_ACEOF
12973 /* end confdefs.h. */
12975 /* Override any GCC internal prototype to avoid an error.
12976 Use char because int might match the return type of a GCC
12977 builtin and then its argument prototype would still apply. */
12981 char gp_camera_new ();
12985 return gp_camera_new ();
12990 rm -f conftest.$ac_objext conftest$ac_exeext
12991 if { (ac_try="$ac_link"
12992 case "(($ac_try" in
12993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12994 *) ac_try_echo=$ac_try;;
12996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12997 (eval "$ac_link") 2>conftest.er1
12999 grep -v '^ *+' conftest.er1 >conftest.err
13001 cat conftest.err >&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); } && {
13004 test -z "$ac_c_werror_flag" ||
13005 test ! -s conftest.err
13006 } && test -s conftest$ac_exeext &&
13007 $as_test_x conftest$ac_exeext; then
13008 ac_cv_lib_gphoto2_gp_camera_new=yes
13010 echo "$as_me: failed program was:" >&5
13011 sed 's/^/| /' conftest.$ac_ext >&5
13013 ac_cv_lib_gphoto2_gp_camera_new=no
13016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13017 conftest$ac_exeext conftest.$ac_ext
13018 LIBS=$ac_check_lib_save_LIBS
13020 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13021 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13022 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13024 cat >>confdefs.h <<\_ACEOF
13025 #define HAVE_GPHOTO2 1
13028 GPHOTO2LIBS="$ac_gphoto2_libs"
13030 GPHOTO2INCL="$ac_gphoto2_incl"
13037 CPPFLAGS="$ac_save_CPPFLAGS"
13039 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13040 case "x$with_gphoto" in
13041 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13043 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13044 This is an error since --with-gphoto was requested." >&5
13045 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13046 This is an error since --with-gphoto was requested." >&2;}
13047 { (exit 1); exit 1; }; } ;;
13055 if test "$ac_cv_header_resolv_h" = "yes"
13057 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13058 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13059 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13060 echo $ECHO_N "(cached) $ECHO_C" >&6
13062 ac_check_lib_save_LIBS=$LIBS
13063 LIBS="-lresolv $LIBS"
13064 cat >conftest.$ac_ext <<_ACEOF
13067 cat confdefs.h >>conftest.$ac_ext
13068 cat >>conftest.$ac_ext <<_ACEOF
13069 /* end confdefs.h. */
13071 /* Override any GCC internal prototype to avoid an error.
13072 Use char because int might match the return type of a GCC
13073 builtin and then its argument prototype would still apply. */
13081 return res_query ();
13086 rm -f conftest.$ac_objext conftest$ac_exeext
13087 if { (ac_try="$ac_link"
13088 case "(($ac_try" in
13089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13090 *) ac_try_echo=$ac_try;;
13092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13093 (eval "$ac_link") 2>conftest.er1
13095 grep -v '^ *+' conftest.er1 >conftest.err
13097 cat conftest.err >&5
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); } && {
13100 test -z "$ac_c_werror_flag" ||
13101 test ! -s conftest.err
13102 } && test -s conftest$ac_exeext &&
13103 $as_test_x conftest$ac_exeext; then
13104 ac_cv_lib_resolv_res_query=yes
13106 echo "$as_me: failed program was:" >&5
13107 sed 's/^/| /' conftest.$ac_ext >&5
13109 ac_cv_lib_resolv_res_query=no
13112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13113 conftest$ac_exeext conftest.$ac_ext
13114 LIBS=$ac_check_lib_save_LIBS
13116 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13117 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13118 if test $ac_cv_lib_resolv_res_query = yes; then
13120 cat >>confdefs.h <<\_ACEOF
13121 #define HAVE_RESOLV 1
13124 RESOLVLIBS="-lresolv"
13131 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13133 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13134 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13135 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13136 echo $ECHO_N "(cached) $ECHO_C" >&6
13138 ac_check_lib_save_LIBS=$LIBS
13139 LIBS="-llcms $LIBS"
13140 cat >conftest.$ac_ext <<_ACEOF
13143 cat confdefs.h >>conftest.$ac_ext
13144 cat >>conftest.$ac_ext <<_ACEOF
13145 /* end confdefs.h. */
13147 /* Override any GCC internal prototype to avoid an error.
13148 Use char because int might match the return type of a GCC
13149 builtin and then its argument prototype would still apply. */
13153 char cmsOpenProfileFromFile ();
13157 return cmsOpenProfileFromFile ();
13162 rm -f conftest.$ac_objext conftest$ac_exeext
13163 if { (ac_try="$ac_link"
13164 case "(($ac_try" in
13165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13166 *) ac_try_echo=$ac_try;;
13168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13169 (eval "$ac_link") 2>conftest.er1
13171 grep -v '^ *+' conftest.er1 >conftest.err
13173 cat conftest.err >&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); } && {
13176 test -z "$ac_c_werror_flag" ||
13177 test ! -s conftest.err
13178 } && test -s conftest$ac_exeext &&
13179 $as_test_x conftest$ac_exeext; then
13180 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13182 echo "$as_me: failed program was:" >&5
13183 sed 's/^/| /' conftest.$ac_ext >&5
13185 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13189 conftest$ac_exeext conftest.$ac_ext
13190 LIBS=$ac_check_lib_save_LIBS
13192 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13193 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13194 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13196 cat >>confdefs.h <<\_ACEOF
13197 #define HAVE_LCMS 1
13204 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13205 case "x$with_cms" in
13206 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13208 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13209 This is an error since --with-cms was requested." >&5
13210 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13211 This is an error since --with-cms was requested." >&2;}
13212 { (exit 1); exit 1; }; } ;;
13219 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13221 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13222 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13223 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13224 echo $ECHO_N "(cached) $ECHO_C" >&6
13226 ac_check_lib_save_LIBS=$LIBS
13227 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13228 cat >conftest.$ac_ext <<_ACEOF
13231 cat confdefs.h >>conftest.$ac_ext
13232 cat >>conftest.$ac_ext <<_ACEOF
13233 /* end confdefs.h. */
13235 /* Override any GCC internal prototype to avoid an error.
13236 Use char because int might match the return type of a GCC
13237 builtin and then its argument prototype would still apply. */
13241 char ldap_initialize ();
13245 return ldap_initialize ();
13250 rm -f conftest.$ac_objext conftest$ac_exeext
13251 if { (ac_try="$ac_link"
13252 case "(($ac_try" in
13253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13254 *) ac_try_echo=$ac_try;;
13256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13257 (eval "$ac_link") 2>conftest.er1
13259 grep -v '^ *+' conftest.er1 >conftest.err
13261 cat conftest.err >&5
13262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13263 (exit $ac_status); } && {
13264 test -z "$ac_c_werror_flag" ||
13265 test ! -s conftest.err
13266 } && test -s conftest$ac_exeext &&
13267 $as_test_x conftest$ac_exeext; then
13268 ac_cv_lib_ldap_r_ldap_initialize=yes
13270 echo "$as_me: failed program was:" >&5
13271 sed 's/^/| /' conftest.$ac_ext >&5
13273 ac_cv_lib_ldap_r_ldap_initialize=no
13276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13277 conftest$ac_exeext conftest.$ac_ext
13278 LIBS=$ac_check_lib_save_LIBS
13280 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13281 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13282 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13283 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13284 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13285 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13286 echo $ECHO_N "(cached) $ECHO_C" >&6
13288 ac_check_lib_save_LIBS=$LIBS
13289 LIBS="-llber $LIBPTHREAD $LIBS"
13290 cat >conftest.$ac_ext <<_ACEOF
13293 cat confdefs.h >>conftest.$ac_ext
13294 cat >>conftest.$ac_ext <<_ACEOF
13295 /* end confdefs.h. */
13297 /* Override any GCC internal prototype to avoid an error.
13298 Use char because int might match the return type of a GCC
13299 builtin and then its argument prototype would still apply. */
13307 return ber_init ();
13312 rm -f conftest.$ac_objext conftest$ac_exeext
13313 if { (ac_try="$ac_link"
13314 case "(($ac_try" in
13315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13316 *) ac_try_echo=$ac_try;;
13318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13319 (eval "$ac_link") 2>conftest.er1
13321 grep -v '^ *+' conftest.er1 >conftest.err
13323 cat conftest.err >&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); } && {
13326 test -z "$ac_c_werror_flag" ||
13327 test ! -s conftest.err
13328 } && test -s conftest$ac_exeext &&
13329 $as_test_x conftest$ac_exeext; then
13330 ac_cv_lib_lber_ber_init=yes
13332 echo "$as_me: failed program was:" >&5
13333 sed 's/^/| /' conftest.$ac_ext >&5
13335 ac_cv_lib_lber_ber_init=no
13338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13339 conftest$ac_exeext conftest.$ac_ext
13340 LIBS=$ac_check_lib_save_LIBS
13342 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13343 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13344 if test $ac_cv_lib_lber_ber_init = yes; then
13346 cat >>confdefs.h <<\_ACEOF
13347 #define HAVE_LDAP 1
13350 LDAPLIBS="-lldap_r -llber"
13355 ac_wine_check_funcs_save_LIBS="$LIBS"
13356 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13366 ldap_count_references \
13367 ldap_first_reference \
13368 ldap_next_reference \
13369 ldap_parse_reference \
13370 ldap_parse_sort_control \
13371 ldap_parse_sortresponse_control \
13372 ldap_parse_vlv_control \
13373 ldap_parse_vlvresponse_control
13375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13376 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13378 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13379 echo $ECHO_N "(cached) $ECHO_C" >&6
13381 cat >conftest.$ac_ext <<_ACEOF
13384 cat confdefs.h >>conftest.$ac_ext
13385 cat >>conftest.$ac_ext <<_ACEOF
13386 /* end confdefs.h. */
13387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13389 #define $ac_func innocuous_$ac_func
13391 /* System header to define __stub macros and hopefully few prototypes,
13392 which can conflict with char $ac_func (); below.
13393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13394 <limits.h> exists even on freestanding compilers. */
13397 # include <limits.h>
13399 # include <assert.h>
13404 /* Override any GCC internal prototype to avoid an error.
13405 Use char because int might match the return type of a GCC
13406 builtin and then its argument prototype would still apply. */
13411 /* The GNU C library defines this for functions which it implements
13412 to always fail with ENOSYS. Some functions are actually named
13413 something starting with __ and the normal name is an alias. */
13414 #if defined __stub_$ac_func || defined __stub___$ac_func
13421 return $ac_func ();
13426 rm -f conftest.$ac_objext conftest$ac_exeext
13427 if { (ac_try="$ac_link"
13428 case "(($ac_try" in
13429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13430 *) ac_try_echo=$ac_try;;
13432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13433 (eval "$ac_link") 2>conftest.er1
13435 grep -v '^ *+' conftest.er1 >conftest.err
13437 cat conftest.err >&5
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); } && {
13440 test -z "$ac_c_werror_flag" ||
13441 test ! -s conftest.err
13442 } && test -s conftest$ac_exeext &&
13443 $as_test_x conftest$ac_exeext; then
13444 eval "$as_ac_var=yes"
13446 echo "$as_me: failed program was:" >&5
13447 sed 's/^/| /' conftest.$ac_ext >&5
13449 eval "$as_ac_var=no"
13452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13453 conftest$ac_exeext conftest.$ac_ext
13455 ac_res=`eval echo '${'$as_ac_var'}'`
13456 { echo "$as_me:$LINENO: result: $ac_res" >&5
13457 echo "${ECHO_T}$ac_res" >&6; }
13458 if test `eval echo '${'$as_ac_var'}'` = yes; then
13459 cat >>confdefs.h <<_ACEOF
13460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13466 LIBS="$ac_wine_check_funcs_save_LIBS"
13468 if test "x$LDAPLIBS" = "x"; then
13469 case "x$with_ldap" in
13470 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13472 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13473 This is an error since --with-ldap was requested." >&5
13474 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13475 This is an error since --with-ldap was requested." >&2;}
13476 { (exit 1); exit 1; }; } ;;
13481 for ac_prog in freetype-config freetype2-config
13483 # Extract the first word of "$ac_prog", so it can be a program name with args.
13484 set dummy $ac_prog; ac_word=$2
13485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13487 if test "${ac_cv_prog_ft_devel+set}" = set; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13490 if test -n "$ft_devel"; then
13491 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13494 for as_dir in $PATH
13497 test -z "$as_dir" && as_dir=.
13498 for ac_exec_ext in '' $ac_executable_extensions; do
13499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13500 ac_cv_prog_ft_devel="$ac_prog"
13501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13510 ft_devel=$ac_cv_prog_ft_devel
13511 if test -n "$ft_devel"; then
13512 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13513 echo "${ECHO_T}$ft_devel" >&6; }
13515 { echo "$as_me:$LINENO: result: no" >&5
13516 echo "${ECHO_T}no" >&6; }
13520 test -n "$ft_devel" && break
13522 test -n "$ft_devel" || ft_devel="false"
13524 if test "$ft_devel" != "false"
13526 ac_freetype_libs=`$ft_devel --libs`
13527 ac_freetype_incl=`$ft_devel --cflags`
13528 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13529 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13530 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13531 echo $ECHO_N "(cached) $ECHO_C" >&6
13533 ac_check_soname_save_LIBS=$LIBS
13534 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13535 cat >conftest.$ac_ext <<_ACEOF
13538 cat confdefs.h >>conftest.$ac_ext
13539 cat >>conftest.$ac_ext <<_ACEOF
13540 /* end confdefs.h. */
13542 /* Override any GCC internal prototype to avoid an error.
13543 Use char because int might match the return type of a GCC
13544 builtin and then its argument prototype would still apply. */
13548 char FT_Init_FreeType ();
13552 return FT_Init_FreeType ();
13557 rm -f conftest.$ac_objext conftest$ac_exeext
13558 if { (ac_try="$ac_link"
13559 case "(($ac_try" in
13560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13561 *) ac_try_echo=$ac_try;;
13563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13564 (eval "$ac_link") 2>conftest.er1
13566 grep -v '^ *+' conftest.er1 >conftest.err
13568 cat conftest.err >&5
13569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13570 (exit $ac_status); } && {
13571 test -z "$ac_c_werror_flag" ||
13572 test ! -s conftest.err
13573 } && test -s conftest$ac_exeext &&
13574 $as_test_x conftest$ac_exeext; then
13577 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'` ;;
13578 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13581 echo "$as_me: failed program was:" >&5
13582 sed 's/^/| /' conftest.$ac_ext >&5
13587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13588 conftest$ac_exeext conftest.$ac_ext
13589 LIBS=$ac_check_soname_save_LIBS
13591 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13592 { echo "$as_me:$LINENO: result: not found" >&5
13593 echo "${ECHO_T}not found" >&6; }
13596 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13597 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13599 cat >>confdefs.h <<_ACEOF
13600 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13606 if test "$ft_lib" = "yes"
13608 ac_save_CPPFLAGS="$CPPFLAGS"
13609 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13622 for ac_header in ft2build.h \
13623 freetype/freetype.h \
13624 freetype/ftglyph.h \
13625 freetype/fttypes.h \
13626 freetype/tttables.h \
13627 freetype/ftnames.h \
13628 freetype/ftsnames.h \
13629 freetype/ttnameid.h \
13630 freetype/ftoutln.h \
13631 freetype/ftwinfnt.h \
13632 freetype/ftmodapi.h \
13633 freetype/internal/sfnt.h
13635 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13636 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13638 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13639 echo $ECHO_N "(cached) $ECHO_C" >&6
13641 cat >conftest.$ac_ext <<_ACEOF
13644 cat confdefs.h >>conftest.$ac_ext
13645 cat >>conftest.$ac_ext <<_ACEOF
13646 /* end confdefs.h. */
13647 #ifdef HAVE_FT2BUILD_H
13648 # include <ft2build.h>
13651 #include <$ac_header>
13653 rm -f conftest.$ac_objext
13654 if { (ac_try="$ac_compile"
13655 case "(($ac_try" in
13656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13657 *) ac_try_echo=$ac_try;;
13659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13660 (eval "$ac_compile") 2>conftest.er1
13662 grep -v '^ *+' conftest.er1 >conftest.err
13664 cat conftest.err >&5
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); } && {
13667 test -z "$ac_c_werror_flag" ||
13668 test ! -s conftest.err
13669 } && test -s conftest.$ac_objext; then
13670 eval "$as_ac_Header=yes"
13672 echo "$as_me: failed program was:" >&5
13673 sed 's/^/| /' conftest.$ac_ext >&5
13675 eval "$as_ac_Header=no"
13678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13680 ac_res=`eval echo '${'$as_ac_Header'}'`
13681 { echo "$as_me:$LINENO: result: $ac_res" >&5
13682 echo "${ECHO_T}$ac_res" >&6; }
13683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13684 cat >>confdefs.h <<_ACEOF
13685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13692 cat >conftest.$ac_ext <<_ACEOF
13695 cat confdefs.h >>conftest.$ac_ext
13696 cat >>conftest.$ac_ext <<_ACEOF
13697 /* end confdefs.h. */
13698 #include <ft2build.h>
13699 #include <freetype/fttrigon.h>
13701 if { (ac_try="$ac_cpp conftest.$ac_ext"
13702 case "(($ac_try" in
13703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13704 *) ac_try_echo=$ac_try;;
13706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13707 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13709 grep -v '^ *+' conftest.er1 >conftest.err
13711 cat conftest.err >&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); } >/dev/null && {
13714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13715 test ! -s conftest.err
13718 cat >>confdefs.h <<\_ACEOF
13719 #define HAVE_FREETYPE_FTTRIGON_H 1
13722 wine_cv_fttrigon=yes
13724 echo "$as_me: failed program was:" >&5
13725 sed 's/^/| /' conftest.$ac_ext >&5
13727 wine_cv_fttrigon=no
13730 rm -f conftest.err conftest.$ac_ext
13731 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13732 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13733 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13734 echo $ECHO_N "(cached) $ECHO_C" >&6
13736 cat >conftest.$ac_ext <<_ACEOF
13739 cat confdefs.h >>conftest.$ac_ext
13740 cat >>conftest.$ac_ext <<_ACEOF
13741 /* end confdefs.h. */
13742 #include <freetype/ftmodapi.h>
13744 typedef FT_TrueTypeEngineType ac__type_new_;
13748 if ((ac__type_new_ *) 0)
13750 if (sizeof (ac__type_new_))
13756 rm -f conftest.$ac_objext
13757 if { (ac_try="$ac_compile"
13758 case "(($ac_try" in
13759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13760 *) ac_try_echo=$ac_try;;
13762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13763 (eval "$ac_compile") 2>conftest.er1
13765 grep -v '^ *+' conftest.er1 >conftest.err
13767 cat conftest.err >&5
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); } && {
13770 test -z "$ac_c_werror_flag" ||
13771 test ! -s conftest.err
13772 } && test -s conftest.$ac_objext; then
13773 ac_cv_type_FT_TrueTypeEngineType=yes
13775 echo "$as_me: failed program was:" >&5
13776 sed 's/^/| /' conftest.$ac_ext >&5
13778 ac_cv_type_FT_TrueTypeEngineType=no
13781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13783 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13784 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13785 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13787 cat >>confdefs.h <<_ACEOF
13788 #define HAVE_FT_TRUETYPEENGINETYPE 1
13794 ac_save_CFLAGS="$CFLAGS"
13795 CFLAGS="$CFLAGS $ac_freetype_libs"
13797 for ac_func in FT_Load_Sfnt_Table
13799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13800 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13802 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13803 echo $ECHO_N "(cached) $ECHO_C" >&6
13805 cat >conftest.$ac_ext <<_ACEOF
13808 cat confdefs.h >>conftest.$ac_ext
13809 cat >>conftest.$ac_ext <<_ACEOF
13810 /* end confdefs.h. */
13811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13813 #define $ac_func innocuous_$ac_func
13815 /* System header to define __stub macros and hopefully few prototypes,
13816 which can conflict with char $ac_func (); below.
13817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13818 <limits.h> exists even on freestanding compilers. */
13821 # include <limits.h>
13823 # include <assert.h>
13828 /* Override any GCC internal prototype to avoid an error.
13829 Use char because int might match the return type of a GCC
13830 builtin and then its argument prototype would still apply. */
13835 /* The GNU C library defines this for functions which it implements
13836 to always fail with ENOSYS. Some functions are actually named
13837 something starting with __ and the normal name is an alias. */
13838 #if defined __stub_$ac_func || defined __stub___$ac_func
13845 return $ac_func ();
13850 rm -f conftest.$ac_objext conftest$ac_exeext
13851 if { (ac_try="$ac_link"
13852 case "(($ac_try" in
13853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13854 *) ac_try_echo=$ac_try;;
13856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13857 (eval "$ac_link") 2>conftest.er1
13859 grep -v '^ *+' conftest.er1 >conftest.err
13861 cat conftest.err >&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); } && {
13864 test -z "$ac_c_werror_flag" ||
13865 test ! -s conftest.err
13866 } && test -s conftest$ac_exeext &&
13867 $as_test_x conftest$ac_exeext; then
13868 eval "$as_ac_var=yes"
13870 echo "$as_me: failed program was:" >&5
13871 sed 's/^/| /' conftest.$ac_ext >&5
13873 eval "$as_ac_var=no"
13876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13877 conftest$ac_exeext conftest.$ac_ext
13879 ac_res=`eval echo '${'$as_ac_var'}'`
13880 { echo "$as_me:$LINENO: result: $ac_res" >&5
13881 echo "${ECHO_T}$ac_res" >&6; }
13882 if test `eval echo '${'$as_ac_var'}'` = yes; then
13883 cat >>confdefs.h <<_ACEOF
13884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13890 CFLAGS="$ac_save_CFLAGS"
13891 CPPFLAGS="$ac_save_CPPFLAGS"
13892 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13895 cat >>confdefs.h <<\_ACEOF
13896 #define HAVE_FREETYPE 1
13899 FREETYPELIBS="$ac_freetype_libs"
13901 FREETYPEINCL="$ac_freetype_incl"
13907 if test "$FONTFORGE" = "false"
13909 wine_warnings="$wine_warnings|FontForge is missing.
13910 Fonts will not be built. Dialog text may be invisible or unaligned."
13911 elif test "x$FREETYPELIBS" = "x"
13913 wine_warnings="$wine_warnings|FreeType development files not found.
13914 Fonts will not be built. Dialog text may be invisible or unaligned."
13916 FONTSSUBDIRS="fonts"
13920 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13921 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13922 if test "${ac_cv_c_ppdev+set}" = set; then
13923 echo $ECHO_N "(cached) $ECHO_C" >&6
13925 cat >conftest.$ac_ext <<_ACEOF
13928 cat confdefs.h >>conftest.$ac_ext
13929 cat >>conftest.$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13931 #include <linux/ppdev.h>
13935 ioctl (1,PPCLAIM,0)
13940 rm -f conftest.$ac_objext
13941 if { (ac_try="$ac_compile"
13942 case "(($ac_try" in
13943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13944 *) ac_try_echo=$ac_try;;
13946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13947 (eval "$ac_compile") 2>conftest.er1
13949 grep -v '^ *+' conftest.er1 >conftest.err
13951 cat conftest.err >&5
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); } && {
13954 test -z "$ac_c_werror_flag" ||
13955 test ! -s conftest.err
13956 } && test -s conftest.$ac_objext; then
13957 ac_cv_c_ppdev="yes"
13959 echo "$as_me: failed program was:" >&5
13960 sed 's/^/| /' conftest.$ac_ext >&5
13965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13967 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13968 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13969 if test "$ac_cv_c_ppdev" = "yes"
13972 cat >>confdefs.h <<\_ACEOF
13973 #define HAVE_PPDEV 1
13978 { echo "$as_me:$LINENO: checking for va_copy" >&5
13979 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13980 if test "${ac_cv_c_va_copy+set}" = set; then
13981 echo $ECHO_N "(cached) $ECHO_C" >&6
13983 cat >conftest.$ac_ext <<_ACEOF
13986 cat confdefs.h >>conftest.$ac_ext
13987 cat >>conftest.$ac_ext <<_ACEOF
13988 /* end confdefs.h. */
13989 #include <stdarg.h>
13993 va_list ap1, ap2; va_copy(ap1,ap2);
13998 rm -f conftest.$ac_objext conftest$ac_exeext
13999 if { (ac_try="$ac_link"
14000 case "(($ac_try" in
14001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14002 *) ac_try_echo=$ac_try;;
14004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14005 (eval "$ac_link") 2>conftest.er1
14007 grep -v '^ *+' conftest.er1 >conftest.err
14009 cat conftest.err >&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); } && {
14012 test -z "$ac_c_werror_flag" ||
14013 test ! -s conftest.err
14014 } && test -s conftest$ac_exeext &&
14015 $as_test_x conftest$ac_exeext; then
14016 ac_cv_c_va_copy="yes"
14018 echo "$as_me: failed program was:" >&5
14019 sed 's/^/| /' conftest.$ac_ext >&5
14021 ac_cv_c_va_copy="no"
14024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14025 conftest$ac_exeext conftest.$ac_ext
14028 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14029 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14030 if test "$ac_cv_c_va_copy" = "yes"
14033 cat >>confdefs.h <<\_ACEOF
14034 #define HAVE_VA_COPY 1
14038 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14039 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14040 if test "${ac_cv_c___va_copy+set}" = set; then
14041 echo $ECHO_N "(cached) $ECHO_C" >&6
14043 cat >conftest.$ac_ext <<_ACEOF
14046 cat confdefs.h >>conftest.$ac_ext
14047 cat >>conftest.$ac_ext <<_ACEOF
14048 /* end confdefs.h. */
14049 #include <stdarg.h>
14053 va_list ap1, ap2; __va_copy(ap1,ap2);
14058 rm -f conftest.$ac_objext conftest$ac_exeext
14059 if { (ac_try="$ac_link"
14060 case "(($ac_try" in
14061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14062 *) ac_try_echo=$ac_try;;
14064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14065 (eval "$ac_link") 2>conftest.er1
14067 grep -v '^ *+' conftest.er1 >conftest.err
14069 cat conftest.err >&5
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); } && {
14072 test -z "$ac_c_werror_flag" ||
14073 test ! -s conftest.err
14074 } && test -s conftest$ac_exeext &&
14075 $as_test_x conftest$ac_exeext; then
14076 ac_cv_c___va_copy="yes"
14078 echo "$as_me: failed program was:" >&5
14079 sed 's/^/| /' conftest.$ac_ext >&5
14081 ac_cv_c___va_copy="no"
14084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14085 conftest$ac_exeext conftest.$ac_ext
14088 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14089 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14090 if test "$ac_cv_c___va_copy" = "yes"
14093 cat >>confdefs.h <<\_ACEOF
14094 #define HAVE___VA_COPY 1
14099 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14100 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14101 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14102 echo $ECHO_N "(cached) $ECHO_C" >&6
14104 cat >conftest.$ac_ext <<_ACEOF
14107 cat confdefs.h >>conftest.$ac_ext
14108 cat >>conftest.$ac_ext <<_ACEOF
14109 /* end confdefs.h. */
14110 #include <setjmp.h>
14115 sigsetjmp( buf, 1 );
14116 siglongjmp( buf, 1 );
14121 rm -f conftest.$ac_objext conftest$ac_exeext
14122 if { (ac_try="$ac_link"
14123 case "(($ac_try" in
14124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14125 *) ac_try_echo=$ac_try;;
14127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14128 (eval "$ac_link") 2>conftest.er1
14130 grep -v '^ *+' conftest.er1 >conftest.err
14132 cat conftest.err >&5
14133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 (exit $ac_status); } && {
14135 test -z "$ac_c_werror_flag" ||
14136 test ! -s conftest.err
14137 } && test -s conftest$ac_exeext &&
14138 $as_test_x conftest$ac_exeext; then
14139 ac_cv_c_sigsetjmp="yes"
14141 echo "$as_me: failed program was:" >&5
14142 sed 's/^/| /' conftest.$ac_ext >&5
14144 ac_cv_c_sigsetjmp="no"
14147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14148 conftest$ac_exeext conftest.$ac_ext
14151 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14152 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14153 if test "$ac_cv_c_sigsetjmp" = "yes"
14156 cat >>confdefs.h <<\_ACEOF
14157 #define HAVE_SIGSETJMP 1
14162 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14163 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14164 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14165 echo $ECHO_N "(cached) $ECHO_C" >&6
14167 cat >conftest.$ac_ext <<_ACEOF
14170 cat confdefs.h >>conftest.$ac_ext
14171 cat >>conftest.$ac_ext <<_ACEOF
14172 /* end confdefs.h. */
14173 #define _GNU_SOURCE
14174 #include <pthread.h>
14176 typedef pthread_rwlock_t ac__type_new_;
14180 if ((ac__type_new_ *) 0)
14182 if (sizeof (ac__type_new_))
14188 rm -f conftest.$ac_objext
14189 if { (ac_try="$ac_compile"
14190 case "(($ac_try" in
14191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14192 *) ac_try_echo=$ac_try;;
14194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14195 (eval "$ac_compile") 2>conftest.er1
14197 grep -v '^ *+' conftest.er1 >conftest.err
14199 cat conftest.err >&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); } && {
14202 test -z "$ac_c_werror_flag" ||
14203 test ! -s conftest.err
14204 } && test -s conftest.$ac_objext; then
14205 ac_cv_type_pthread_rwlock_t=yes
14207 echo "$as_me: failed program was:" >&5
14208 sed 's/^/| /' conftest.$ac_ext >&5
14210 ac_cv_type_pthread_rwlock_t=no
14213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14215 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14216 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14217 if test $ac_cv_type_pthread_rwlock_t = yes; then
14219 cat >>confdefs.h <<_ACEOF
14220 #define HAVE_PTHREAD_RWLOCK_T 1
14225 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14226 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14227 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14230 cat >conftest.$ac_ext <<_ACEOF
14233 cat confdefs.h >>conftest.$ac_ext
14234 cat >>conftest.$ac_ext <<_ACEOF
14235 /* end confdefs.h. */
14236 #define _GNU_SOURCE
14237 #include <pthread.h>
14239 typedef pthread_rwlockattr_t ac__type_new_;
14243 if ((ac__type_new_ *) 0)
14245 if (sizeof (ac__type_new_))
14251 rm -f conftest.$ac_objext
14252 if { (ac_try="$ac_compile"
14253 case "(($ac_try" in
14254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14255 *) ac_try_echo=$ac_try;;
14257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14258 (eval "$ac_compile") 2>conftest.er1
14260 grep -v '^ *+' conftest.er1 >conftest.err
14262 cat conftest.err >&5
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); } && {
14265 test -z "$ac_c_werror_flag" ||
14266 test ! -s conftest.err
14267 } && test -s conftest.$ac_objext; then
14268 ac_cv_type_pthread_rwlockattr_t=yes
14270 echo "$as_me: failed program was:" >&5
14271 sed 's/^/| /' conftest.$ac_ext >&5
14273 ac_cv_type_pthread_rwlockattr_t=no
14276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14278 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14279 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14280 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14282 cat >>confdefs.h <<_ACEOF
14283 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14290 ac_wine_check_funcs_save_LIBS="$LIBS"
14291 LIBS="$LIBS $LIBPTHREAD"
14297 pthread_attr_get_np \
14298 pthread_getattr_np \
14299 pthread_get_stackaddr_np \
14300 pthread_get_stacksize_np
14302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14303 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14305 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14306 echo $ECHO_N "(cached) $ECHO_C" >&6
14308 cat >conftest.$ac_ext <<_ACEOF
14311 cat confdefs.h >>conftest.$ac_ext
14312 cat >>conftest.$ac_ext <<_ACEOF
14313 /* end confdefs.h. */
14314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14316 #define $ac_func innocuous_$ac_func
14318 /* System header to define __stub macros and hopefully few prototypes,
14319 which can conflict with char $ac_func (); below.
14320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14321 <limits.h> exists even on freestanding compilers. */
14324 # include <limits.h>
14326 # include <assert.h>
14331 /* Override any GCC internal prototype to avoid an error.
14332 Use char because int might match the return type of a GCC
14333 builtin and then its argument prototype would still apply. */
14338 /* The GNU C library defines this for functions which it implements
14339 to always fail with ENOSYS. Some functions are actually named
14340 something starting with __ and the normal name is an alias. */
14341 #if defined __stub_$ac_func || defined __stub___$ac_func
14348 return $ac_func ();
14353 rm -f conftest.$ac_objext conftest$ac_exeext
14354 if { (ac_try="$ac_link"
14355 case "(($ac_try" in
14356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14357 *) ac_try_echo=$ac_try;;
14359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14360 (eval "$ac_link") 2>conftest.er1
14362 grep -v '^ *+' conftest.er1 >conftest.err
14364 cat conftest.err >&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); } && {
14367 test -z "$ac_c_werror_flag" ||
14368 test ! -s conftest.err
14369 } && test -s conftest$ac_exeext &&
14370 $as_test_x conftest$ac_exeext; then
14371 eval "$as_ac_var=yes"
14373 echo "$as_me: failed program was:" >&5
14374 sed 's/^/| /' conftest.$ac_ext >&5
14376 eval "$as_ac_var=no"
14379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14380 conftest$ac_exeext conftest.$ac_ext
14382 ac_res=`eval echo '${'$as_ac_var'}'`
14383 { echo "$as_me:$LINENO: result: $ac_res" >&5
14384 echo "${ECHO_T}$ac_res" >&6; }
14385 if test `eval echo '${'$as_ac_var'}'` = yes; then
14386 cat >>confdefs.h <<_ACEOF
14387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14393 LIBS="$ac_wine_check_funcs_save_LIBS"
14395 # Extract the first word of "esd-config", so it can be a program name with args.
14396 set dummy esd-config; ac_word=$2
14397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14399 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14400 echo $ECHO_N "(cached) $ECHO_C" >&6
14404 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14408 for as_dir in $PATH
14411 test -z "$as_dir" && as_dir=.
14412 for ac_exec_ext in '' $ac_executable_extensions; do
14413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14414 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14425 ESDCONFIG=$ac_cv_path_ESDCONFIG
14426 if test -n "$ESDCONFIG"; then
14427 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14428 echo "${ECHO_T}$ESDCONFIG" >&6; }
14430 { echo "$as_me:$LINENO: result: no" >&5
14431 echo "${ECHO_T}no" >&6; }
14435 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14438 for i in `$ESDCONFIG --cflags`
14441 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14444 ESD_LIBS=`$ESDCONFIG --libs`
14445 save_CFLAGS="$CFLAGS"
14446 CFLAGS="$CFLAGS $ESD_CFLAGS"
14447 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14448 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14449 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14450 echo $ECHO_N "(cached) $ECHO_C" >&6
14452 ac_check_lib_save_LIBS=$LIBS
14454 cat >conftest.$ac_ext <<_ACEOF
14457 cat confdefs.h >>conftest.$ac_ext
14458 cat >>conftest.$ac_ext <<_ACEOF
14459 /* end confdefs.h. */
14461 /* Override any GCC internal prototype to avoid an error.
14462 Use char because int might match the return type of a GCC
14463 builtin and then its argument prototype would still apply. */
14467 char esd_open_sound ();
14471 return esd_open_sound ();
14476 rm -f conftest.$ac_objext conftest$ac_exeext
14477 if { (ac_try="$ac_link"
14478 case "(($ac_try" in
14479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14480 *) ac_try_echo=$ac_try;;
14482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14483 (eval "$ac_link") 2>conftest.er1
14485 grep -v '^ *+' conftest.er1 >conftest.err
14487 cat conftest.err >&5
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); } && {
14490 test -z "$ac_c_werror_flag" ||
14491 test ! -s conftest.err
14492 } && test -s conftest$ac_exeext &&
14493 $as_test_x conftest$ac_exeext; then
14494 ac_cv_lib_esd_esd_open_sound=yes
14496 echo "$as_me: failed program was:" >&5
14497 sed 's/^/| /' conftest.$ac_ext >&5
14499 ac_cv_lib_esd_esd_open_sound=no
14502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14503 conftest$ac_exeext conftest.$ac_ext
14504 LIBS=$ac_check_lib_save_LIBS
14506 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14507 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14508 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14511 ESDINCL=$ESD_CFLAGS
14514 cat >>confdefs.h <<\_ACEOF
14520 CFLAGS="$save_CFLAGS"
14525 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14527 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14528 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14529 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14530 echo $ECHO_N "(cached) $ECHO_C" >&6
14532 ac_check_lib_save_LIBS=$LIBS
14533 LIBS="-lasound $LIBS"
14534 cat >conftest.$ac_ext <<_ACEOF
14537 cat confdefs.h >>conftest.$ac_ext
14538 cat >>conftest.$ac_ext <<_ACEOF
14539 /* end confdefs.h. */
14541 /* Override any GCC internal prototype to avoid an error.
14542 Use char because int might match the return type of a GCC
14543 builtin and then its argument prototype would still apply. */
14547 char snd_pcm_hw_params_get_access ();
14551 return snd_pcm_hw_params_get_access ();
14556 rm -f conftest.$ac_objext conftest$ac_exeext
14557 if { (ac_try="$ac_link"
14558 case "(($ac_try" in
14559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14560 *) ac_try_echo=$ac_try;;
14562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14563 (eval "$ac_link") 2>conftest.er1
14565 grep -v '^ *+' conftest.er1 >conftest.err
14567 cat conftest.err >&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); } && {
14570 test -z "$ac_c_werror_flag" ||
14571 test ! -s conftest.err
14572 } && test -s conftest$ac_exeext &&
14573 $as_test_x conftest$ac_exeext; then
14574 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14576 echo "$as_me: failed program was:" >&5
14577 sed 's/^/| /' conftest.$ac_ext >&5
14579 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14583 conftest$ac_exeext conftest.$ac_ext
14584 LIBS=$ac_check_lib_save_LIBS
14586 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14587 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14588 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14589 cat >conftest.$ac_ext <<_ACEOF
14592 cat confdefs.h >>conftest.$ac_ext
14593 cat >>conftest.$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14595 #ifdef HAVE_ALSA_ASOUNDLIB_H
14596 #include <alsa/asoundlib.h>
14597 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14598 #include <sys/asoundlib.h>
14603 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14608 rm -f conftest.$ac_objext
14609 if { (ac_try="$ac_compile"
14610 case "(($ac_try" in
14611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14612 *) ac_try_echo=$ac_try;;
14614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14615 (eval "$ac_compile") 2>conftest.er1
14617 grep -v '^ *+' conftest.er1 >conftest.err
14619 cat conftest.err >&5
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); } && {
14622 test -z "$ac_c_werror_flag" ||
14623 test ! -s conftest.err
14624 } && test -s conftest.$ac_objext; then
14626 cat >>confdefs.h <<\_ACEOF
14627 #define HAVE_ALSA 1
14630 ALSALIBS="-lasound"
14632 echo "$as_me: failed program was:" >&5
14633 sed 's/^/| /' conftest.$ac_ext >&5
14638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14645 if test "$ac_cv_header_libaudioio_h" = "yes"
14647 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14648 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14649 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14650 echo $ECHO_N "(cached) $ECHO_C" >&6
14652 ac_check_lib_save_LIBS=$LIBS
14653 LIBS="-laudioio $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 AudioIOGetVersion ();
14671 return AudioIOGetVersion ();
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_audioio_AudioIOGetVersion=yes
14696 echo "$as_me: failed program was:" >&5
14697 sed 's/^/| /' conftest.$ac_ext >&5
14699 ac_cv_lib_audioio_AudioIOGetVersion=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_audioio_AudioIOGetVersion" >&5
14707 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14708 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14709 AUDIOIOLIBS="-laudioio"
14711 cat >>confdefs.h <<\_ACEOF
14712 #define HAVE_LIBAUDIOIO 1
14720 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14722 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14723 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14724 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14725 echo $ECHO_N "(cached) $ECHO_C" >&6
14727 ac_check_soname_save_LIBS=$LIBS
14728 LIBS="-lcapi20 $LIBS"
14729 cat >conftest.$ac_ext <<_ACEOF
14732 cat confdefs.h >>conftest.$ac_ext
14733 cat >>conftest.$ac_ext <<_ACEOF
14734 /* end confdefs.h. */
14736 /* Override any GCC internal prototype to avoid an error.
14737 Use char because int might match the return type of a GCC
14738 builtin and then its argument prototype would still apply. */
14742 char capi20_register ();
14746 return capi20_register ();
14751 rm -f conftest.$ac_objext conftest$ac_exeext
14752 if { (ac_try="$ac_link"
14753 case "(($ac_try" in
14754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14755 *) ac_try_echo=$ac_try;;
14757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14758 (eval "$ac_link") 2>conftest.er1
14760 grep -v '^ *+' conftest.er1 >conftest.err
14762 cat conftest.err >&5
14763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14764 (exit $ac_status); } && {
14765 test -z "$ac_c_werror_flag" ||
14766 test ! -s conftest.err
14767 } && test -s conftest$ac_exeext &&
14768 $as_test_x conftest$ac_exeext; then
14771 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'` ;;
14772 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14775 echo "$as_me: failed program was:" >&5
14776 sed 's/^/| /' conftest.$ac_ext >&5
14781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14782 conftest$ac_exeext conftest.$ac_ext
14783 LIBS=$ac_check_soname_save_LIBS
14785 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14786 { echo "$as_me:$LINENO: result: not found" >&5
14787 echo "${ECHO_T}not found" >&6; }
14790 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14791 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14793 cat >>confdefs.h <<_ACEOF
14794 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14801 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14802 case "x$with_capi" in
14803 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14805 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14806 This is an error since --with-capi was requested." >&5
14807 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14808 This is an error since --with-capi was requested." >&2;}
14809 { (exit 1); exit 1; }; } ;;
14814 if test "$ac_cv_header_cups_cups_h" = "yes"
14816 { echo "$as_me:$LINENO: checking for -lcups" >&5
14817 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14818 if test "${ac_cv_lib_soname_cups+set}" = set; then
14819 echo $ECHO_N "(cached) $ECHO_C" >&6
14821 ac_check_soname_save_LIBS=$LIBS
14822 LIBS="-lcups $LIBS"
14823 cat >conftest.$ac_ext <<_ACEOF
14826 cat confdefs.h >>conftest.$ac_ext
14827 cat >>conftest.$ac_ext <<_ACEOF
14828 /* end confdefs.h. */
14830 /* Override any GCC internal prototype to avoid an error.
14831 Use char because int might match the return type of a GCC
14832 builtin and then its argument prototype would still apply. */
14836 char cupsGetDefault ();
14840 return cupsGetDefault ();
14845 rm -f conftest.$ac_objext conftest$ac_exeext
14846 if { (ac_try="$ac_link"
14847 case "(($ac_try" in
14848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14849 *) ac_try_echo=$ac_try;;
14851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14852 (eval "$ac_link") 2>conftest.er1
14854 grep -v '^ *+' conftest.er1 >conftest.err
14856 cat conftest.err >&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); } && {
14859 test -z "$ac_c_werror_flag" ||
14860 test ! -s conftest.err
14861 } && test -s conftest$ac_exeext &&
14862 $as_test_x conftest$ac_exeext; then
14865 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'` ;;
14866 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14869 echo "$as_me: failed program was:" >&5
14870 sed 's/^/| /' conftest.$ac_ext >&5
14875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14876 conftest$ac_exeext conftest.$ac_ext
14877 LIBS=$ac_check_soname_save_LIBS
14879 if test "x$ac_cv_lib_soname_cups" = "x"; then
14880 { echo "$as_me:$LINENO: result: not found" >&5
14881 echo "${ECHO_T}not found" >&6; }
14884 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14885 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14887 cat >>confdefs.h <<_ACEOF
14888 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14895 if test "x$ac_cv_lib_soname_cups" = "x"; then
14896 case "x$with_cups" in
14897 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
14899 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
14900 This is an error since --with-cups was requested." >&5
14901 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
14902 This is an error since --with-cups was requested." >&2;}
14903 { (exit 1); exit 1; }; } ;;
14908 if test "$ac_cv_header_jack_jack_h" = "yes"
14910 { echo "$as_me:$LINENO: checking for -ljack" >&5
14911 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14912 if test "${ac_cv_lib_soname_jack+set}" = set; then
14913 echo $ECHO_N "(cached) $ECHO_C" >&6
14915 ac_check_soname_save_LIBS=$LIBS
14916 LIBS="-ljack $LIBS"
14917 cat >conftest.$ac_ext <<_ACEOF
14920 cat confdefs.h >>conftest.$ac_ext
14921 cat >>conftest.$ac_ext <<_ACEOF
14922 /* end confdefs.h. */
14924 /* Override any GCC internal prototype to avoid an error.
14925 Use char because int might match the return type of a GCC
14926 builtin and then its argument prototype would still apply. */
14930 char jack_client_new ();
14934 return jack_client_new ();
14939 rm -f conftest.$ac_objext conftest$ac_exeext
14940 if { (ac_try="$ac_link"
14941 case "(($ac_try" in
14942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14943 *) ac_try_echo=$ac_try;;
14945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14946 (eval "$ac_link") 2>conftest.er1
14948 grep -v '^ *+' conftest.er1 >conftest.err
14950 cat conftest.err >&5
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); } && {
14953 test -z "$ac_c_werror_flag" ||
14954 test ! -s conftest.err
14955 } && test -s conftest$ac_exeext &&
14956 $as_test_x conftest$ac_exeext; then
14959 dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep "libjack\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14960 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14963 echo "$as_me: failed program was:" >&5
14964 sed 's/^/| /' conftest.$ac_ext >&5
14969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14970 conftest$ac_exeext conftest.$ac_ext
14971 LIBS=$ac_check_soname_save_LIBS
14973 if test "x$ac_cv_lib_soname_jack" = "x"; then
14974 { echo "$as_me:$LINENO: result: not found" >&5
14975 echo "${ECHO_T}not found" >&6; }
14978 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14979 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14981 cat >>confdefs.h <<_ACEOF
14982 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14990 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14992 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14993 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14994 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14997 ac_check_soname_save_LIBS=$LIBS
14998 LIBS="-lfontconfig $LIBS"
14999 cat >conftest.$ac_ext <<_ACEOF
15002 cat confdefs.h >>conftest.$ac_ext
15003 cat >>conftest.$ac_ext <<_ACEOF
15004 /* end confdefs.h. */
15006 /* Override any GCC internal prototype to avoid an error.
15007 Use char because int might match the return type of a GCC
15008 builtin and then its argument prototype would still apply. */
15021 rm -f conftest.$ac_objext conftest$ac_exeext
15022 if { (ac_try="$ac_link"
15023 case "(($ac_try" in
15024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15025 *) ac_try_echo=$ac_try;;
15027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15028 (eval "$ac_link") 2>conftest.er1
15030 grep -v '^ *+' conftest.er1 >conftest.err
15032 cat conftest.err >&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); } && {
15035 test -z "$ac_c_werror_flag" ||
15036 test ! -s conftest.err
15037 } && test -s conftest$ac_exeext &&
15038 $as_test_x conftest$ac_exeext; then
15041 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'` ;;
15042 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15045 echo "$as_me: failed program was:" >&5
15046 sed 's/^/| /' conftest.$ac_ext >&5
15051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15052 conftest$ac_exeext conftest.$ac_ext
15053 LIBS=$ac_check_soname_save_LIBS
15055 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15056 { echo "$as_me:$LINENO: result: not found" >&5
15057 echo "${ECHO_T}not found" >&6; }
15060 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15061 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15063 cat >>confdefs.h <<_ACEOF
15064 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15070 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15072 ac_save_CPPFLAGS="$CPPFLAGS"
15073 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15074 $as_unset ac_cv_header_fontconfig_fontconfig_h
15076 for ac_header in fontconfig/fontconfig.h
15078 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15079 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15080 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15083 echo $ECHO_N "(cached) $ECHO_C" >&6
15085 ac_res=`eval echo '${'$as_ac_Header'}'`
15086 { echo "$as_me:$LINENO: result: $ac_res" >&5
15087 echo "${ECHO_T}$ac_res" >&6; }
15089 # Is the header compilable?
15090 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15092 cat >conftest.$ac_ext <<_ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098 $ac_includes_default
15099 #include <$ac_header>
15101 rm -f conftest.$ac_objext
15102 if { (ac_try="$ac_compile"
15103 case "(($ac_try" in
15104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15105 *) ac_try_echo=$ac_try;;
15107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15108 (eval "$ac_compile") 2>conftest.er1
15110 grep -v '^ *+' conftest.er1 >conftest.err
15112 cat conftest.err >&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); } && {
15115 test -z "$ac_c_werror_flag" ||
15116 test ! -s conftest.err
15117 } && test -s conftest.$ac_objext; then
15118 ac_header_compiler=yes
15120 echo "$as_me: failed program was:" >&5
15121 sed 's/^/| /' conftest.$ac_ext >&5
15123 ac_header_compiler=no
15126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15127 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15128 echo "${ECHO_T}$ac_header_compiler" >&6; }
15130 # Is the header present?
15131 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15133 cat >conftest.$ac_ext <<_ACEOF
15136 cat confdefs.h >>conftest.$ac_ext
15137 cat >>conftest.$ac_ext <<_ACEOF
15138 /* end confdefs.h. */
15139 #include <$ac_header>
15141 if { (ac_try="$ac_cpp conftest.$ac_ext"
15142 case "(($ac_try" in
15143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15144 *) ac_try_echo=$ac_try;;
15146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15149 grep -v '^ *+' conftest.er1 >conftest.err
15151 cat conftest.err >&5
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); } >/dev/null && {
15154 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15155 test ! -s conftest.err
15157 ac_header_preproc=yes
15159 echo "$as_me: failed program was:" >&5
15160 sed 's/^/| /' conftest.$ac_ext >&5
15162 ac_header_preproc=no
15165 rm -f conftest.err conftest.$ac_ext
15166 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15167 echo "${ECHO_T}$ac_header_preproc" >&6; }
15169 # So? What about this header?
15170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15176 ac_header_preproc=yes
15179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15192 ## ------------------------------------ ##
15193 ## Report this to wine-devel@winehq.org ##
15194 ## ------------------------------------ ##
15196 ) | sed "s/^/$as_me: WARNING: /" >&2
15199 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15202 echo $ECHO_N "(cached) $ECHO_C" >&6
15204 eval "$as_ac_Header=\$ac_header_preproc"
15206 ac_res=`eval echo '${'$as_ac_Header'}'`
15207 { echo "$as_me:$LINENO: result: $ac_res" >&5
15208 echo "${ECHO_T}$ac_res" >&6; }
15211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15212 cat >>confdefs.h <<_ACEOF
15213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15220 CPPFLAGS="$ac_save_CPPFLAGS"
15221 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15223 FONTCONFIGINCL="$X_CFLAGS"
15225 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15226 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15227 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15228 echo $ECHO_N "(cached) $ECHO_C" >&6
15230 ac_check_soname_save_LIBS=$LIBS
15231 LIBS="-lfontconfig $X_LIBS $LIBS"
15232 cat >conftest.$ac_ext <<_ACEOF
15235 cat confdefs.h >>conftest.$ac_ext
15236 cat >>conftest.$ac_ext <<_ACEOF
15237 /* end confdefs.h. */
15239 /* Override any GCC internal prototype to avoid an error.
15240 Use char because int might match the return type of a GCC
15241 builtin and then its argument prototype would still apply. */
15254 rm -f conftest.$ac_objext conftest$ac_exeext
15255 if { (ac_try="$ac_link"
15256 case "(($ac_try" in
15257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15258 *) ac_try_echo=$ac_try;;
15260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15261 (eval "$ac_link") 2>conftest.er1
15263 grep -v '^ *+' conftest.er1 >conftest.err
15265 cat conftest.err >&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); } && {
15268 test -z "$ac_c_werror_flag" ||
15269 test ! -s conftest.err
15270 } && test -s conftest$ac_exeext &&
15271 $as_test_x conftest$ac_exeext; then
15274 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'` ;;
15275 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15278 echo "$as_me: failed program was:" >&5
15279 sed 's/^/| /' conftest.$ac_ext >&5
15284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15285 conftest$ac_exeext conftest.$ac_ext
15286 LIBS=$ac_check_soname_save_LIBS
15288 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15289 { echo "$as_me:$LINENO: result: not found" >&5
15290 echo "${ECHO_T}not found" >&6; }
15293 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15294 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15296 cat >>confdefs.h <<_ACEOF
15297 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15305 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15306 case "x$with_fontconfig" in
15307 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15309 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15310 This is an error since --with-fontconfig was requested." >&5
15311 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15312 This is an error since --with-fontconfig was requested." >&2;}
15313 { (exit 1); exit 1; }; } ;;
15318 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15320 { echo "$as_me:$LINENO: checking for -lssl" >&5
15321 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15322 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15323 echo $ECHO_N "(cached) $ECHO_C" >&6
15325 ac_check_soname_save_LIBS=$LIBS
15327 cat >conftest.$ac_ext <<_ACEOF
15330 cat confdefs.h >>conftest.$ac_ext
15331 cat >>conftest.$ac_ext <<_ACEOF
15332 /* end confdefs.h. */
15334 /* Override any GCC internal prototype to avoid an error.
15335 Use char because int might match the return type of a GCC
15336 builtin and then its argument prototype would still apply. */
15340 char SSL_library_init ();
15344 return SSL_library_init ();
15349 rm -f conftest.$ac_objext conftest$ac_exeext
15350 if { (ac_try="$ac_link"
15351 case "(($ac_try" in
15352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15353 *) ac_try_echo=$ac_try;;
15355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15356 (eval "$ac_link") 2>conftest.er1
15358 grep -v '^ *+' conftest.er1 >conftest.err
15360 cat conftest.err >&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } && {
15363 test -z "$ac_c_werror_flag" ||
15364 test ! -s conftest.err
15365 } && test -s conftest$ac_exeext &&
15366 $as_test_x conftest$ac_exeext; then
15369 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'` ;;
15370 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15373 echo "$as_me: failed program was:" >&5
15374 sed 's/^/| /' conftest.$ac_ext >&5
15379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15380 conftest$ac_exeext conftest.$ac_ext
15381 LIBS=$ac_check_soname_save_LIBS
15383 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15384 { echo "$as_me:$LINENO: result: not found" >&5
15385 echo "${ECHO_T}not found" >&6; }
15388 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15389 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15391 cat >>confdefs.h <<_ACEOF
15392 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15398 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15399 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15400 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15403 ac_check_soname_save_LIBS=$LIBS
15404 LIBS="-lcrypto $LIBS"
15405 cat >conftest.$ac_ext <<_ACEOF
15408 cat confdefs.h >>conftest.$ac_ext
15409 cat >>conftest.$ac_ext <<_ACEOF
15410 /* end confdefs.h. */
15412 /* Override any GCC internal prototype to avoid an error.
15413 Use char because int might match the return type of a GCC
15414 builtin and then its argument prototype would still apply. */
15418 char BIO_new_socket ();
15422 return BIO_new_socket ();
15427 rm -f conftest.$ac_objext conftest$ac_exeext
15428 if { (ac_try="$ac_link"
15429 case "(($ac_try" in
15430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15431 *) ac_try_echo=$ac_try;;
15433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15434 (eval "$ac_link") 2>conftest.er1
15436 grep -v '^ *+' conftest.er1 >conftest.err
15438 cat conftest.err >&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); } && {
15441 test -z "$ac_c_werror_flag" ||
15442 test ! -s conftest.err
15443 } && test -s conftest$ac_exeext &&
15444 $as_test_x conftest$ac_exeext; then
15447 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'` ;;
15448 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15451 echo "$as_me: failed program was:" >&5
15452 sed 's/^/| /' conftest.$ac_ext >&5
15457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15458 conftest$ac_exeext conftest.$ac_ext
15459 LIBS=$ac_check_soname_save_LIBS
15461 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15462 { echo "$as_me:$LINENO: result: not found" >&5
15463 echo "${ECHO_T}not found" >&6; }
15466 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15467 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15469 cat >>confdefs.h <<_ACEOF
15470 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15477 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15478 case "x$with_openssl" in
15479 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15481 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15482 This is an error since --with-openssl was requested." >&5
15483 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15484 This is an error since --with-openssl was requested." >&2;}
15485 { (exit 1); exit 1; }; } ;;
15490 if test "$ac_cv_header_jpeglib_h" = "yes"
15492 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15493 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15494 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15495 echo $ECHO_N "(cached) $ECHO_C" >&6
15497 ac_check_soname_save_LIBS=$LIBS
15498 LIBS="-ljpeg $LIBS"
15499 cat >conftest.$ac_ext <<_ACEOF
15502 cat confdefs.h >>conftest.$ac_ext
15503 cat >>conftest.$ac_ext <<_ACEOF
15504 /* end confdefs.h. */
15506 /* Override any GCC internal prototype to avoid an error.
15507 Use char because int might match the return type of a GCC
15508 builtin and then its argument prototype would still apply. */
15512 char jpeg_start_decompress ();
15516 return jpeg_start_decompress ();
15521 rm -f conftest.$ac_objext conftest$ac_exeext
15522 if { (ac_try="$ac_link"
15523 case "(($ac_try" in
15524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15525 *) ac_try_echo=$ac_try;;
15527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15528 (eval "$ac_link") 2>conftest.er1
15530 grep -v '^ *+' conftest.er1 >conftest.err
15532 cat conftest.err >&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); } && {
15535 test -z "$ac_c_werror_flag" ||
15536 test ! -s conftest.err
15537 } && test -s conftest$ac_exeext &&
15538 $as_test_x conftest$ac_exeext; then
15541 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'` ;;
15542 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15545 echo "$as_me: failed program was:" >&5
15546 sed 's/^/| /' conftest.$ac_ext >&5
15551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15552 conftest$ac_exeext conftest.$ac_ext
15553 LIBS=$ac_check_soname_save_LIBS
15555 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15556 { echo "$as_me:$LINENO: result: not found" >&5
15557 echo "${ECHO_T}not found" >&6; }
15560 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15561 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15563 cat >>confdefs.h <<_ACEOF
15564 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15571 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15572 case "x$with_jpeg" in
15573 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15575 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15576 This is an error since --with-jpeg was requested." >&5
15577 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15578 This is an error since --with-jpeg was requested." >&2;}
15579 { (exit 1); exit 1; }; } ;;
15584 if test "$ac_cv_header_png_h" = "yes"
15586 { echo "$as_me:$LINENO: checking for -lpng" >&5
15587 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15588 if test "${ac_cv_lib_soname_png+set}" = set; then
15589 echo $ECHO_N "(cached) $ECHO_C" >&6
15591 ac_check_soname_save_LIBS=$LIBS
15593 cat >conftest.$ac_ext <<_ACEOF
15596 cat confdefs.h >>conftest.$ac_ext
15597 cat >>conftest.$ac_ext <<_ACEOF
15598 /* end confdefs.h. */
15600 /* Override any GCC internal prototype to avoid an error.
15601 Use char because int might match the return type of a GCC
15602 builtin and then its argument prototype would still apply. */
15606 char png_create_read_struct ();
15610 return png_create_read_struct ();
15615 rm -f conftest.$ac_objext conftest$ac_exeext
15616 if { (ac_try="$ac_link"
15617 case "(($ac_try" in
15618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15619 *) ac_try_echo=$ac_try;;
15621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15622 (eval "$ac_link") 2>conftest.er1
15624 grep -v '^ *+' conftest.er1 >conftest.err
15626 cat conftest.err >&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); } && {
15629 test -z "$ac_c_werror_flag" ||
15630 test ! -s conftest.err
15631 } && test -s conftest$ac_exeext &&
15632 $as_test_x conftest$ac_exeext; then
15635 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'` ;;
15636 *) 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'` ;;
15639 echo "$as_me: failed program was:" >&5
15640 sed 's/^/| /' conftest.$ac_ext >&5
15645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15646 conftest$ac_exeext conftest.$ac_ext
15647 LIBS=$ac_check_soname_save_LIBS
15649 if test "x$ac_cv_lib_soname_png" = "x"; then
15650 { echo "$as_me:$LINENO: result: not found" >&5
15651 echo "${ECHO_T}not found" >&6; }
15654 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15655 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15657 cat >>confdefs.h <<_ACEOF
15658 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15665 if test "x$ac_cv_lib_soname_png" = "x"; then
15666 case "x$with_png" in
15667 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15669 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15670 This is an error since --with-png was requested." >&5
15671 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15672 This is an error since --with-png was requested." >&2;}
15673 { (exit 1); exit 1; }; } ;;
15678 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15679 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15680 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15681 echo $ECHO_N "(cached) $ECHO_C" >&6
15683 ac_check_soname_save_LIBS=$LIBS
15684 LIBS="-lodbc $LIBS"
15685 cat >conftest.$ac_ext <<_ACEOF
15688 cat confdefs.h >>conftest.$ac_ext
15689 cat >>conftest.$ac_ext <<_ACEOF
15690 /* end confdefs.h. */
15692 /* Override any GCC internal prototype to avoid an error.
15693 Use char because int might match the return type of a GCC
15694 builtin and then its argument prototype would still apply. */
15698 char SQLConnect ();
15702 return SQLConnect ();
15707 rm -f conftest.$ac_objext conftest$ac_exeext
15708 if { (ac_try="$ac_link"
15709 case "(($ac_try" in
15710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15711 *) ac_try_echo=$ac_try;;
15713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15714 (eval "$ac_link") 2>conftest.er1
15716 grep -v '^ *+' conftest.er1 >conftest.err
15718 cat conftest.err >&5
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); } && {
15721 test -z "$ac_c_werror_flag" ||
15722 test ! -s conftest.err
15723 } && test -s conftest$ac_exeext &&
15724 $as_test_x conftest$ac_exeext; then
15727 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'` ;;
15728 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15731 echo "$as_me: failed program was:" >&5
15732 sed 's/^/| /' conftest.$ac_ext >&5
15737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15738 conftest$ac_exeext conftest.$ac_ext
15739 LIBS=$ac_check_soname_save_LIBS
15741 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15742 { echo "$as_me:$LINENO: result: not found" >&5
15743 echo "${ECHO_T}not found" >&6; }
15744 cat >>confdefs.h <<_ACEOF
15745 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15749 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15750 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15752 cat >>confdefs.h <<_ACEOF
15753 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15760 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15761 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15762 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15763 "$ac_cv_header_soundcard_h" != "yes" -a \
15764 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15766 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15772 if test "x${GCC}" = "xyes"
15774 EXTRACFLAGS="-Wall -pipe"
15776 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15777 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15778 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15779 echo $ECHO_N "(cached) $ECHO_C" >&6
15781 if test "$cross_compiling" = yes; then
15782 ac_cv_c_gcc_strength_bug="yes"
15784 cat >conftest.$ac_ext <<_ACEOF
15787 cat confdefs.h >>conftest.$ac_ext
15788 cat >>conftest.$ac_ext <<_ACEOF
15789 /* end confdefs.h. */
15790 int L[4] = {0,1,2,3};
15794 static int Array[3];
15795 unsigned int B = 3;
15797 for(i=0; i<B; i++) Array[i] = i - 3;
15798 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15800 exit( Array[1] != -2 || L[2] != 3)
15805 rm -f conftest$ac_exeext
15806 if { (ac_try="$ac_link"
15807 case "(($ac_try" in
15808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15809 *) ac_try_echo=$ac_try;;
15811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15812 (eval "$ac_link") 2>&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15816 { (case "(($ac_try" in
15817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15818 *) ac_try_echo=$ac_try;;
15820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15821 (eval "$ac_try") 2>&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; }; then
15825 ac_cv_c_gcc_strength_bug="no"
15827 echo "$as_me: program exited with status $ac_status" >&5
15828 echo "$as_me: failed program was:" >&5
15829 sed 's/^/| /' conftest.$ac_ext >&5
15831 ( exit $ac_status )
15832 ac_cv_c_gcc_strength_bug="yes"
15834 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15839 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15840 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15841 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15843 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15847 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15848 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15849 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15850 echo $ECHO_N "(cached) $ECHO_C" >&6
15852 ac_wine_try_cflags_saved=$CFLAGS
15853 CFLAGS="$CFLAGS -fshort-wchar"
15854 cat >conftest.$ac_ext <<_ACEOF
15857 cat confdefs.h >>conftest.$ac_ext
15858 cat >>conftest.$ac_ext <<_ACEOF
15859 /* end confdefs.h. */
15869 rm -f conftest.$ac_objext conftest$ac_exeext
15870 if { (ac_try="$ac_link"
15871 case "(($ac_try" in
15872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15873 *) ac_try_echo=$ac_try;;
15875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15876 (eval "$ac_link") 2>conftest.er1
15878 grep -v '^ *+' conftest.er1 >conftest.err
15880 cat conftest.err >&5
15881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 (exit $ac_status); } && {
15883 test -z "$ac_c_werror_flag" ||
15884 test ! -s conftest.err
15885 } && test -s conftest$ac_exeext &&
15886 $as_test_x conftest$ac_exeext; then
15887 ac_cv_cflags__fshort_wchar=yes
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.$ac_ext >&5
15892 ac_cv_cflags__fshort_wchar=no
15895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15896 conftest$ac_exeext conftest.$ac_ext
15897 CFLAGS=$ac_wine_try_cflags_saved
15899 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15900 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15901 if test $ac_cv_cflags__fshort_wchar = yes; then
15903 cat >>confdefs.h <<\_ACEOF
15904 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15909 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15910 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15911 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15912 echo $ECHO_N "(cached) $ECHO_C" >&6
15914 ac_wine_try_cflags_saved=$CFLAGS
15915 CFLAGS="$CFLAGS -fno-strict-aliasing"
15916 cat >conftest.$ac_ext <<_ACEOF
15919 cat confdefs.h >>conftest.$ac_ext
15920 cat >>conftest.$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15931 rm -f conftest.$ac_objext conftest$ac_exeext
15932 if { (ac_try="$ac_link"
15933 case "(($ac_try" in
15934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15935 *) ac_try_echo=$ac_try;;
15937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15938 (eval "$ac_link") 2>conftest.er1
15940 grep -v '^ *+' conftest.er1 >conftest.err
15942 cat conftest.err >&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); } && {
15945 test -z "$ac_c_werror_flag" ||
15946 test ! -s conftest.err
15947 } && test -s conftest$ac_exeext &&
15948 $as_test_x conftest$ac_exeext; then
15949 ac_cv_cflags__fno_strict_aliasing=yes
15951 echo "$as_me: failed program was:" >&5
15952 sed 's/^/| /' conftest.$ac_ext >&5
15954 ac_cv_cflags__fno_strict_aliasing=no
15957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15958 conftest$ac_exeext conftest.$ac_ext
15959 CFLAGS=$ac_wine_try_cflags_saved
15961 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15962 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15963 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15964 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15967 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15968 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15969 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15972 ac_wine_try_cflags_saved=$CFLAGS
15973 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15974 cat >conftest.$ac_ext <<_ACEOF
15977 cat confdefs.h >>conftest.$ac_ext
15978 cat >>conftest.$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15989 rm -f conftest.$ac_objext conftest$ac_exeext
15990 if { (ac_try="$ac_link"
15991 case "(($ac_try" in
15992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15993 *) ac_try_echo=$ac_try;;
15995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15996 (eval "$ac_link") 2>conftest.er1
15998 grep -v '^ *+' conftest.er1 >conftest.err
16000 cat conftest.err >&5
16001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16002 (exit $ac_status); } && {
16003 test -z "$ac_c_werror_flag" ||
16004 test ! -s conftest.err
16005 } && test -s conftest$ac_exeext &&
16006 $as_test_x conftest$ac_exeext; then
16007 ac_cv_cflags__Wdeclaration_after_statement=yes
16009 echo "$as_me: failed program was:" >&5
16010 sed 's/^/| /' conftest.$ac_ext >&5
16012 ac_cv_cflags__Wdeclaration_after_statement=no
16015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16016 conftest$ac_exeext conftest.$ac_ext
16017 CFLAGS=$ac_wine_try_cflags_saved
16019 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16020 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16021 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16022 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16025 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16026 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16027 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16028 echo $ECHO_N "(cached) $ECHO_C" >&6
16030 ac_wine_try_cflags_saved=$CFLAGS
16031 CFLAGS="$CFLAGS -Wwrite-strings"
16032 cat >conftest.$ac_ext <<_ACEOF
16035 cat confdefs.h >>conftest.$ac_ext
16036 cat >>conftest.$ac_ext <<_ACEOF
16037 /* end confdefs.h. */
16047 rm -f conftest.$ac_objext conftest$ac_exeext
16048 if { (ac_try="$ac_link"
16049 case "(($ac_try" in
16050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16051 *) ac_try_echo=$ac_try;;
16053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16054 (eval "$ac_link") 2>conftest.er1
16056 grep -v '^ *+' conftest.er1 >conftest.err
16058 cat conftest.err >&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); } && {
16061 test -z "$ac_c_werror_flag" ||
16062 test ! -s conftest.err
16063 } && test -s conftest$ac_exeext &&
16064 $as_test_x conftest$ac_exeext; then
16065 ac_cv_cflags__Wwrite_strings=yes
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.$ac_ext >&5
16070 ac_cv_cflags__Wwrite_strings=no
16073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16074 conftest$ac_exeext conftest.$ac_ext
16075 CFLAGS=$ac_wine_try_cflags_saved
16077 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16078 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16079 if test $ac_cv_cflags__Wwrite_strings = yes; then
16080 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16083 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16084 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16085 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16086 echo $ECHO_N "(cached) $ECHO_C" >&6
16088 ac_wine_try_cflags_saved=$CFLAGS
16089 CFLAGS="$CFLAGS -Wtype-limits"
16090 cat >conftest.$ac_ext <<_ACEOF
16093 cat confdefs.h >>conftest.$ac_ext
16094 cat >>conftest.$ac_ext <<_ACEOF
16095 /* end confdefs.h. */
16105 rm -f conftest.$ac_objext conftest$ac_exeext
16106 if { (ac_try="$ac_link"
16107 case "(($ac_try" in
16108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16109 *) ac_try_echo=$ac_try;;
16111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16112 (eval "$ac_link") 2>conftest.er1
16114 grep -v '^ *+' conftest.er1 >conftest.err
16116 cat conftest.err >&5
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); } && {
16119 test -z "$ac_c_werror_flag" ||
16120 test ! -s conftest.err
16121 } && test -s conftest$ac_exeext &&
16122 $as_test_x conftest$ac_exeext; then
16123 ac_cv_cflags__Wtype_limits=yes
16125 echo "$as_me: failed program was:" >&5
16126 sed 's/^/| /' conftest.$ac_ext >&5
16128 ac_cv_cflags__Wtype_limits=no
16131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16132 conftest$ac_exeext conftest.$ac_ext
16133 CFLAGS=$ac_wine_try_cflags_saved
16135 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16136 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16137 if test $ac_cv_cflags__Wtype_limits = yes; then
16138 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16142 saved_CFLAGS="$CFLAGS"
16143 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16144 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16145 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16146 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16147 echo $ECHO_N "(cached) $ECHO_C" >&6
16149 cat >conftest.$ac_ext <<_ACEOF
16152 cat confdefs.h >>conftest.$ac_ext
16153 cat >>conftest.$ac_ext <<_ACEOF
16154 /* end confdefs.h. */
16155 #include <string.h>
16164 rm -f conftest.$ac_objext
16165 if { (ac_try="$ac_compile"
16166 case "(($ac_try" in
16167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16168 *) ac_try_echo=$ac_try;;
16170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16171 (eval "$ac_compile") 2>conftest.er1
16173 grep -v '^ *+' conftest.er1 >conftest.err
16175 cat conftest.err >&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); } && {
16178 test -z "$ac_c_werror_flag" ||
16179 test ! -s conftest.err
16180 } && test -s conftest.$ac_objext; then
16181 ac_cv_c_string_h_warnings=no
16183 echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.$ac_ext >&5
16186 ac_cv_c_string_h_warnings=yes
16189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16191 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16192 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16193 CFLAGS="$saved_CFLAGS"
16194 if test "$ac_cv_c_string_h_warnings" = "no"
16196 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16201 saved_CFLAGS="$CFLAGS"
16202 CFLAGS="$CFLAGS -Werror"
16203 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16204 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16205 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16206 echo $ECHO_N "(cached) $ECHO_C" >&6
16208 cat >conftest.$ac_ext <<_ACEOF
16211 cat confdefs.h >>conftest.$ac_ext
16212 cat >>conftest.$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16218 int iswlower(unsigned short);
16223 rm -f conftest.$ac_objext
16224 if { (ac_try="$ac_compile"
16225 case "(($ac_try" in
16226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16227 *) ac_try_echo=$ac_try;;
16229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16230 (eval "$ac_compile") 2>conftest.er1
16232 grep -v '^ *+' conftest.er1 >conftest.err
16234 cat conftest.err >&5
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); } && {
16237 test -z "$ac_c_werror_flag" ||
16238 test ! -s conftest.err
16239 } && test -s conftest.$ac_objext; then
16240 ac_cv_c_builtin_wchar_ctype=no
16242 echo "$as_me: failed program was:" >&5
16243 sed 's/^/| /' conftest.$ac_ext >&5
16245 ac_cv_c_builtin_wchar_ctype=yes
16248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16250 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16251 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16252 CFLAGS="$saved_CFLAGS"
16253 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16255 BUILTINFLAG="-fno-builtin"
16260 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16261 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16262 if test "${ac_cv_asm_func_def+set}" = set; then
16263 echo $ECHO_N "(cached) $ECHO_C" >&6
16265 cat >conftest.$ac_ext <<_ACEOF
16268 cat confdefs.h >>conftest.$ac_ext
16269 cat >>conftest.$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16275 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16280 rm -f conftest.$ac_objext conftest$ac_exeext
16281 if { (ac_try="$ac_link"
16282 case "(($ac_try" in
16283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16284 *) ac_try_echo=$ac_try;;
16286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16287 (eval "$ac_link") 2>conftest.er1
16289 grep -v '^ *+' conftest.er1 >conftest.err
16291 cat conftest.err >&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } && {
16294 test -z "$ac_c_werror_flag" ||
16295 test ! -s conftest.err
16296 } && test -s conftest$ac_exeext &&
16297 $as_test_x conftest$ac_exeext; then
16298 ac_cv_asm_func_def=".def"
16300 echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.$ac_ext >&5
16303 cat >conftest.$ac_ext <<_ACEOF
16306 cat confdefs.h >>conftest.$ac_ext
16307 cat >>conftest.$ac_ext <<_ACEOF
16308 /* end confdefs.h. */
16313 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16318 rm -f conftest.$ac_objext conftest$ac_exeext
16319 if { (ac_try="$ac_link"
16320 case "(($ac_try" in
16321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16322 *) ac_try_echo=$ac_try;;
16324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16325 (eval "$ac_link") 2>conftest.er1
16327 grep -v '^ *+' conftest.er1 >conftest.err
16329 cat conftest.err >&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); } && {
16332 test -z "$ac_c_werror_flag" ||
16333 test ! -s conftest.err
16334 } && test -s conftest$ac_exeext &&
16335 $as_test_x conftest$ac_exeext; then
16336 ac_cv_asm_func_def=".type @function"
16338 echo "$as_me: failed program was:" >&5
16339 sed 's/^/| /' conftest.$ac_ext >&5
16341 cat >conftest.$ac_ext <<_ACEOF
16344 cat confdefs.h >>conftest.$ac_ext
16345 cat >>conftest.$ac_ext <<_ACEOF
16346 /* end confdefs.h. */
16351 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16356 rm -f conftest.$ac_objext conftest$ac_exeext
16357 if { (ac_try="$ac_link"
16358 case "(($ac_try" in
16359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16360 *) ac_try_echo=$ac_try;;
16362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16363 (eval "$ac_link") 2>conftest.er1
16365 grep -v '^ *+' conftest.er1 >conftest.err
16367 cat conftest.err >&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } && {
16370 test -z "$ac_c_werror_flag" ||
16371 test ! -s conftest.err
16372 } && test -s conftest$ac_exeext &&
16373 $as_test_x conftest$ac_exeext; then
16374 ac_cv_asm_func_def=".type 2"
16376 echo "$as_me: failed program was:" >&5
16377 sed 's/^/| /' conftest.$ac_ext >&5
16379 ac_cv_asm_func_def="unknown"
16382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16383 conftest$ac_exeext conftest.$ac_ext
16386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16387 conftest$ac_exeext conftest.$ac_ext
16390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16391 conftest$ac_exeext conftest.$ac_ext
16393 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16394 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16398 case "$ac_cv_asm_func_def" in
16400 cat >>confdefs.h <<\_ACEOF
16401 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16405 cat >>confdefs.h <<\_ACEOF
16406 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16410 cat >>confdefs.h <<\_ACEOF
16411 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16415 cat >>confdefs.h <<\_ACEOF
16416 #define __ASM_FUNC(name) ""
16422 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16423 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16424 if test "${ac_cv_c_extern_prefix+set}" = set; then
16425 echo $ECHO_N "(cached) $ECHO_C" >&6
16427 cat >conftest.$ac_ext <<_ACEOF
16430 cat confdefs.h >>conftest.$ac_ext
16431 cat >>conftest.$ac_ext <<_ACEOF
16432 /* end confdefs.h. */
16433 extern int ac_test;
16437 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16442 rm -f conftest.$ac_objext conftest$ac_exeext
16443 if { (ac_try="$ac_link"
16444 case "(($ac_try" in
16445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16446 *) ac_try_echo=$ac_try;;
16448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16449 (eval "$ac_link") 2>conftest.er1
16451 grep -v '^ *+' conftest.er1 >conftest.err
16453 cat conftest.err >&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); } && {
16456 test -z "$ac_c_werror_flag" ||
16457 test ! -s conftest.err
16458 } && test -s conftest$ac_exeext &&
16459 $as_test_x conftest$ac_exeext; then
16460 ac_cv_c_extern_prefix="yes"
16462 echo "$as_me: failed program was:" >&5
16463 sed 's/^/| /' conftest.$ac_ext >&5
16465 ac_cv_c_extern_prefix="no"
16468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16469 conftest$ac_exeext conftest.$ac_ext
16471 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16472 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16476 if test "$ac_cv_c_extern_prefix" = "yes"
16478 cat >>confdefs.h <<\_ACEOF
16479 #define __ASM_NAME(name) "_" name
16483 cat >>confdefs.h <<\_ACEOF
16484 #define __ASM_NAME(name) name
16494 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16498 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16500 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16504 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16512 SOCKETLIBS="-lws2_32"
16517 MAIN_BINARY="wine-pthread"
16521 linux* | k*bsd*-gnu)
16522 MAIN_BINARY="wine-glibc"
16524 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16527 MAIN_BINARY="wine-freebsd"
16529 EXTRA_BINARIES="wine-pthread"
16677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16681 echo $ECHO_N "(cached) $ECHO_C" >&6
16683 cat >conftest.$ac_ext <<_ACEOF
16686 cat confdefs.h >>conftest.$ac_ext
16687 cat >>conftest.$ac_ext <<_ACEOF
16688 /* end confdefs.h. */
16689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16691 #define $ac_func innocuous_$ac_func
16693 /* System header to define __stub macros and hopefully few prototypes,
16694 which can conflict with char $ac_func (); below.
16695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16696 <limits.h> exists even on freestanding compilers. */
16699 # include <limits.h>
16701 # include <assert.h>
16706 /* Override any GCC internal prototype to avoid an error.
16707 Use char because int might match the return type of a GCC
16708 builtin and then its argument prototype would still apply. */
16713 /* The GNU C library defines this for functions which it implements
16714 to always fail with ENOSYS. Some functions are actually named
16715 something starting with __ and the normal name is an alias. */
16716 #if defined __stub_$ac_func || defined __stub___$ac_func
16723 return $ac_func ();
16728 rm -f conftest.$ac_objext conftest$ac_exeext
16729 if { (ac_try="$ac_link"
16730 case "(($ac_try" in
16731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16732 *) ac_try_echo=$ac_try;;
16734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16735 (eval "$ac_link") 2>conftest.er1
16737 grep -v '^ *+' conftest.er1 >conftest.err
16739 cat conftest.err >&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); } && {
16742 test -z "$ac_c_werror_flag" ||
16743 test ! -s conftest.err
16744 } && test -s conftest$ac_exeext &&
16745 $as_test_x conftest$ac_exeext; then
16746 eval "$as_ac_var=yes"
16748 echo "$as_me: failed program was:" >&5
16749 sed 's/^/| /' conftest.$ac_ext >&5
16751 eval "$as_ac_var=no"
16754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16755 conftest$ac_exeext conftest.$ac_ext
16757 ac_res=`eval echo '${'$as_ac_var'}'`
16758 { echo "$as_me:$LINENO: result: $ac_res" >&5
16759 echo "${ECHO_T}$ac_res" >&6; }
16760 if test `eval echo '${'$as_ac_var'}'` = yes; then
16761 cat >>confdefs.h <<_ACEOF
16762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16769 if test "$ac_cv_func_dlopen" = no
16771 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16772 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16773 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16774 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 ac_check_lib_save_LIBS=$LIBS
16778 cat >conftest.$ac_ext <<_ACEOF
16781 cat confdefs.h >>conftest.$ac_ext
16782 cat >>conftest.$ac_ext <<_ACEOF
16783 /* end confdefs.h. */
16785 /* Override any GCC internal prototype to avoid an error.
16786 Use char because int might match the return type of a GCC
16787 builtin and then its argument prototype would still apply. */
16800 rm -f conftest.$ac_objext conftest$ac_exeext
16801 if { (ac_try="$ac_link"
16802 case "(($ac_try" in
16803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16804 *) ac_try_echo=$ac_try;;
16806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16807 (eval "$ac_link") 2>conftest.er1
16809 grep -v '^ *+' conftest.er1 >conftest.err
16811 cat conftest.err >&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } && {
16814 test -z "$ac_c_werror_flag" ||
16815 test ! -s conftest.err
16816 } && test -s conftest$ac_exeext &&
16817 $as_test_x conftest$ac_exeext; then
16818 ac_cv_lib_dl_dlopen=yes
16820 echo "$as_me: failed program was:" >&5
16821 sed 's/^/| /' conftest.$ac_ext >&5
16823 ac_cv_lib_dl_dlopen=no
16826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16827 conftest$ac_exeext conftest.$ac_ext
16828 LIBS=$ac_check_lib_save_LIBS
16830 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16831 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16832 if test $ac_cv_lib_dl_dlopen = yes; then
16833 cat >>confdefs.h <<\_ACEOF
16834 #define HAVE_DLOPEN 1
16841 ac_wine_check_funcs_save_LIBS="$LIBS"
16842 LIBS="$LIBS $LIBDL"
16844 for ac_func in dladdr
16846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16847 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16849 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16852 cat >conftest.$ac_ext <<_ACEOF
16855 cat confdefs.h >>conftest.$ac_ext
16856 cat >>conftest.$ac_ext <<_ACEOF
16857 /* end confdefs.h. */
16858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16860 #define $ac_func innocuous_$ac_func
16862 /* System header to define __stub macros and hopefully few prototypes,
16863 which can conflict with char $ac_func (); below.
16864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16865 <limits.h> exists even on freestanding compilers. */
16868 # include <limits.h>
16870 # include <assert.h>
16875 /* Override any GCC internal prototype to avoid an error.
16876 Use char because int might match the return type of a GCC
16877 builtin and then its argument prototype would still apply. */
16882 /* The GNU C library defines this for functions which it implements
16883 to always fail with ENOSYS. Some functions are actually named
16884 something starting with __ and the normal name is an alias. */
16885 #if defined __stub_$ac_func || defined __stub___$ac_func
16892 return $ac_func ();
16897 rm -f conftest.$ac_objext conftest$ac_exeext
16898 if { (ac_try="$ac_link"
16899 case "(($ac_try" in
16900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16901 *) ac_try_echo=$ac_try;;
16903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16904 (eval "$ac_link") 2>conftest.er1
16906 grep -v '^ *+' conftest.er1 >conftest.err
16908 cat conftest.err >&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); } && {
16911 test -z "$ac_c_werror_flag" ||
16912 test ! -s conftest.err
16913 } && test -s conftest$ac_exeext &&
16914 $as_test_x conftest$ac_exeext; then
16915 eval "$as_ac_var=yes"
16917 echo "$as_me: failed program was:" >&5
16918 sed 's/^/| /' conftest.$ac_ext >&5
16920 eval "$as_ac_var=no"
16923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16924 conftest$ac_exeext conftest.$ac_ext
16926 ac_res=`eval echo '${'$as_ac_var'}'`
16927 { echo "$as_me:$LINENO: result: $ac_res" >&5
16928 echo "${ECHO_T}$ac_res" >&6; }
16929 if test `eval echo '${'$as_ac_var'}'` = yes; then
16930 cat >>confdefs.h <<_ACEOF
16931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16937 LIBS="$ac_wine_check_funcs_save_LIBS"
16939 if test "$ac_cv_func_poll" = no
16941 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16942 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16943 if test "${ac_cv_lib_poll_poll+set}" = set; then
16944 echo $ECHO_N "(cached) $ECHO_C" >&6
16946 ac_check_lib_save_LIBS=$LIBS
16947 LIBS="-lpoll $LIBS"
16948 cat >conftest.$ac_ext <<_ACEOF
16951 cat confdefs.h >>conftest.$ac_ext
16952 cat >>conftest.$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16955 /* Override any GCC internal prototype to avoid an error.
16956 Use char because int might match the return type of a GCC
16957 builtin and then its argument prototype would still apply. */
16970 rm -f conftest.$ac_objext conftest$ac_exeext
16971 if { (ac_try="$ac_link"
16972 case "(($ac_try" in
16973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16974 *) ac_try_echo=$ac_try;;
16976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16977 (eval "$ac_link") 2>conftest.er1
16979 grep -v '^ *+' conftest.er1 >conftest.err
16981 cat conftest.err >&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } && {
16984 test -z "$ac_c_werror_flag" ||
16985 test ! -s conftest.err
16986 } && test -s conftest$ac_exeext &&
16987 $as_test_x conftest$ac_exeext; then
16988 ac_cv_lib_poll_poll=yes
16990 echo "$as_me: failed program was:" >&5
16991 sed 's/^/| /' conftest.$ac_ext >&5
16993 ac_cv_lib_poll_poll=no
16996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16997 conftest$ac_exeext conftest.$ac_ext
16998 LIBS=$ac_check_lib_save_LIBS
17000 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17001 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17002 if test $ac_cv_lib_poll_poll = yes; then
17003 cat >>confdefs.h <<\_ACEOF
17004 #define HAVE_POLL 1
17012 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17013 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17014 if test "${ac_cv_search_gethostbyname+set}" = set; then
17015 echo $ECHO_N "(cached) $ECHO_C" >&6
17017 ac_func_search_save_LIBS=$LIBS
17018 cat >conftest.$ac_ext <<_ACEOF
17021 cat confdefs.h >>conftest.$ac_ext
17022 cat >>conftest.$ac_ext <<_ACEOF
17023 /* end confdefs.h. */
17025 /* Override any GCC internal prototype to avoid an error.
17026 Use char because int might match the return type of a GCC
17027 builtin and then its argument prototype would still apply. */
17031 char gethostbyname ();
17035 return gethostbyname ();
17040 for ac_lib in '' nsl; do
17041 if test -z "$ac_lib"; then
17042 ac_res="none required"
17045 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17047 rm -f conftest.$ac_objext conftest$ac_exeext
17048 if { (ac_try="$ac_link"
17049 case "(($ac_try" in
17050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17051 *) ac_try_echo=$ac_try;;
17053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17054 (eval "$ac_link") 2>conftest.er1
17056 grep -v '^ *+' conftest.er1 >conftest.err
17058 cat conftest.err >&5
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); } && {
17061 test -z "$ac_c_werror_flag" ||
17062 test ! -s conftest.err
17063 } && test -s conftest$ac_exeext &&
17064 $as_test_x conftest$ac_exeext; then
17065 ac_cv_search_gethostbyname=$ac_res
17067 echo "$as_me: failed program was:" >&5
17068 sed 's/^/| /' conftest.$ac_ext >&5
17073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17075 if test "${ac_cv_search_gethostbyname+set}" = set; then
17079 if test "${ac_cv_search_gethostbyname+set}" = set; then
17082 ac_cv_search_gethostbyname=no
17084 rm conftest.$ac_ext
17085 LIBS=$ac_func_search_save_LIBS
17087 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17088 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17089 ac_res=$ac_cv_search_gethostbyname
17090 if test "$ac_res" != no; then
17091 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17096 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17097 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17098 if test "${ac_cv_search_connect+set}" = set; then
17099 echo $ECHO_N "(cached) $ECHO_C" >&6
17101 ac_func_search_save_LIBS=$LIBS
17102 cat >conftest.$ac_ext <<_ACEOF
17105 cat confdefs.h >>conftest.$ac_ext
17106 cat >>conftest.$ac_ext <<_ACEOF
17107 /* end confdefs.h. */
17109 /* Override any GCC internal prototype to avoid an error.
17110 Use char because int might match the return type of a GCC
17111 builtin and then its argument prototype would still apply. */
17124 for ac_lib in '' socket; do
17125 if test -z "$ac_lib"; then
17126 ac_res="none required"
17129 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17131 rm -f conftest.$ac_objext conftest$ac_exeext
17132 if { (ac_try="$ac_link"
17133 case "(($ac_try" in
17134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17135 *) ac_try_echo=$ac_try;;
17137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17138 (eval "$ac_link") 2>conftest.er1
17140 grep -v '^ *+' conftest.er1 >conftest.err
17142 cat conftest.err >&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); } && {
17145 test -z "$ac_c_werror_flag" ||
17146 test ! -s conftest.err
17147 } && test -s conftest$ac_exeext &&
17148 $as_test_x conftest$ac_exeext; then
17149 ac_cv_search_connect=$ac_res
17151 echo "$as_me: failed program was:" >&5
17152 sed 's/^/| /' conftest.$ac_ext >&5
17157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17159 if test "${ac_cv_search_connect+set}" = set; then
17163 if test "${ac_cv_search_connect+set}" = set; then
17166 ac_cv_search_connect=no
17168 rm conftest.$ac_ext
17169 LIBS=$ac_func_search_save_LIBS
17171 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17172 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17173 ac_res=$ac_cv_search_connect
17174 if test "$ac_res" != no; then
17175 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17180 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17181 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17182 if test "${ac_cv_search_inet_aton+set}" = set; then
17183 echo $ECHO_N "(cached) $ECHO_C" >&6
17185 ac_func_search_save_LIBS=$LIBS
17186 cat >conftest.$ac_ext <<_ACEOF
17189 cat confdefs.h >>conftest.$ac_ext
17190 cat >>conftest.$ac_ext <<_ACEOF
17191 /* end confdefs.h. */
17193 /* Override any GCC internal prototype to avoid an error.
17194 Use char because int might match the return type of a GCC
17195 builtin and then its argument prototype would still apply. */
17203 return inet_aton ();
17208 for ac_lib in '' resolv; do
17209 if test -z "$ac_lib"; then
17210 ac_res="none required"
17213 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17215 rm -f conftest.$ac_objext conftest$ac_exeext
17216 if { (ac_try="$ac_link"
17217 case "(($ac_try" in
17218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17219 *) ac_try_echo=$ac_try;;
17221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17222 (eval "$ac_link") 2>conftest.er1
17224 grep -v '^ *+' conftest.er1 >conftest.err
17226 cat conftest.err >&5
17227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17228 (exit $ac_status); } && {
17229 test -z "$ac_c_werror_flag" ||
17230 test ! -s conftest.err
17231 } && test -s conftest$ac_exeext &&
17232 $as_test_x conftest$ac_exeext; then
17233 ac_cv_search_inet_aton=$ac_res
17235 echo "$as_me: failed program was:" >&5
17236 sed 's/^/| /' conftest.$ac_ext >&5
17241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17243 if test "${ac_cv_search_inet_aton+set}" = set; then
17247 if test "${ac_cv_search_inet_aton+set}" = set; then
17250 ac_cv_search_inet_aton=no
17252 rm conftest.$ac_ext
17253 LIBS=$ac_func_search_save_LIBS
17255 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17256 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17257 ac_res=$ac_cv_search_inet_aton
17258 if test "$ac_res" != no; then
17259 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17284 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17286 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17287 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 cat >conftest.$ac_ext <<_ACEOF
17292 cat confdefs.h >>conftest.$ac_ext
17293 cat >>conftest.$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17297 #define $ac_func innocuous_$ac_func
17299 /* System header to define __stub macros and hopefully few prototypes,
17300 which can conflict with char $ac_func (); below.
17301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17302 <limits.h> exists even on freestanding compilers. */
17305 # include <limits.h>
17307 # include <assert.h>
17312 /* Override any GCC internal prototype to avoid an error.
17313 Use char because int might match the return type of a GCC
17314 builtin and then its argument prototype would still apply. */
17319 /* The GNU C library defines this for functions which it implements
17320 to always fail with ENOSYS. Some functions are actually named
17321 something starting with __ and the normal name is an alias. */
17322 #if defined __stub_$ac_func || defined __stub___$ac_func
17329 return $ac_func ();
17334 rm -f conftest.$ac_objext conftest$ac_exeext
17335 if { (ac_try="$ac_link"
17336 case "(($ac_try" in
17337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17338 *) ac_try_echo=$ac_try;;
17340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17341 (eval "$ac_link") 2>conftest.er1
17343 grep -v '^ *+' conftest.er1 >conftest.err
17345 cat conftest.err >&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); } && {
17348 test -z "$ac_c_werror_flag" ||
17349 test ! -s conftest.err
17350 } && test -s conftest$ac_exeext &&
17351 $as_test_x conftest$ac_exeext; then
17352 eval "$as_ac_var=yes"
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17357 eval "$as_ac_var=no"
17360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17361 conftest$ac_exeext conftest.$ac_ext
17363 ac_res=`eval echo '${'$as_ac_var'}'`
17364 { echo "$as_me:$LINENO: result: $ac_res" >&5
17365 echo "${ECHO_T}$ac_res" >&6; }
17366 if test `eval echo '${'$as_ac_var'}'` = yes; then
17367 cat >>confdefs.h <<_ACEOF
17368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17376 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17377 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17378 if test "${ac_cv_c_const+set}" = set; then
17379 echo $ECHO_N "(cached) $ECHO_C" >&6
17381 cat >conftest.$ac_ext <<_ACEOF
17384 cat confdefs.h >>conftest.$ac_ext
17385 cat >>conftest.$ac_ext <<_ACEOF
17386 /* end confdefs.h. */
17391 /* FIXME: Include the comments suggested by Paul. */
17392 #ifndef __cplusplus
17393 /* Ultrix mips cc rejects this. */
17394 typedef int charset[2];
17396 /* SunOS 4.1.1 cc rejects this. */
17397 char const *const *pcpcc;
17399 /* NEC SVR4.0.2 mips cc rejects this. */
17400 struct point {int x, y;};
17401 static struct point const zero = {0,0};
17402 /* AIX XL C 1.02.0.0 rejects this.
17403 It does not let you subtract one const X* pointer from another in
17404 an arm of an if-expression whose if-part is not a constant
17406 const char *g = "string";
17407 pcpcc = &g + (g ? g-g : 0);
17408 /* HPUX 7.0 cc rejects these. */
17410 ppc = (char**) pcpcc;
17411 pcpcc = (char const *const *) ppc;
17412 { /* SCO 3.2v4 cc rejects this. */
17414 char const *s = 0 ? (char *) 0 : (char const *) 0;
17419 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17420 int x[] = {25, 17};
17421 const int *foo = &x[0];
17424 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17425 typedef const int *iptr;
17429 { /* AIX XL C 1.02.0.0 rejects this saying
17430 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17431 struct s { int j; const int *ap[3]; };
17432 struct s *b; b->j = 5;
17434 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17435 const int foo = 10;
17436 if (!foo) return 0;
17438 return !cs[0] && !zero.x;
17445 rm -f conftest.$ac_objext
17446 if { (ac_try="$ac_compile"
17447 case "(($ac_try" in
17448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17449 *) ac_try_echo=$ac_try;;
17451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17452 (eval "$ac_compile") 2>conftest.er1
17454 grep -v '^ *+' conftest.er1 >conftest.err
17456 cat conftest.err >&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } && {
17459 test -z "$ac_c_werror_flag" ||
17460 test ! -s conftest.err
17461 } && test -s conftest.$ac_objext; then
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.$ac_ext >&5
17470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17472 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17473 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17474 if test $ac_cv_c_const = no; then
17476 cat >>confdefs.h <<\_ACEOF
17482 { echo "$as_me:$LINENO: checking for inline" >&5
17483 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17484 if test "${ac_cv_c_inline+set}" = set; then
17485 echo $ECHO_N "(cached) $ECHO_C" >&6
17488 for ac_kw in inline __inline__ __inline; do
17489 cat >conftest.$ac_ext <<_ACEOF
17492 cat confdefs.h >>conftest.$ac_ext
17493 cat >>conftest.$ac_ext <<_ACEOF
17494 /* end confdefs.h. */
17495 #ifndef __cplusplus
17497 static $ac_kw foo_t static_foo () {return 0; }
17498 $ac_kw foo_t foo () {return 0; }
17502 rm -f conftest.$ac_objext
17503 if { (ac_try="$ac_compile"
17504 case "(($ac_try" in
17505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17506 *) ac_try_echo=$ac_try;;
17508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17509 (eval "$ac_compile") 2>conftest.er1
17511 grep -v '^ *+' conftest.er1 >conftest.err
17513 cat conftest.err >&5
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); } && {
17516 test -z "$ac_c_werror_flag" ||
17517 test ! -s conftest.err
17518 } && test -s conftest.$ac_objext; then
17519 ac_cv_c_inline=$ac_kw
17521 echo "$as_me: failed program was:" >&5
17522 sed 's/^/| /' conftest.$ac_ext >&5
17527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17528 test "$ac_cv_c_inline" != no && break
17532 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17533 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17536 case $ac_cv_c_inline in
17539 case $ac_cv_c_inline in
17541 *) ac_val=$ac_cv_c_inline;;
17543 cat >>confdefs.h <<_ACEOF
17544 #ifndef __cplusplus
17545 #define inline $ac_val
17551 { echo "$as_me:$LINENO: checking for mode_t" >&5
17552 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17553 if test "${ac_cv_type_mode_t+set}" = set; then
17554 echo $ECHO_N "(cached) $ECHO_C" >&6
17556 cat >conftest.$ac_ext <<_ACEOF
17559 cat confdefs.h >>conftest.$ac_ext
17560 cat >>conftest.$ac_ext <<_ACEOF
17561 /* end confdefs.h. */
17562 $ac_includes_default
17563 typedef mode_t ac__type_new_;
17567 if ((ac__type_new_ *) 0)
17569 if (sizeof (ac__type_new_))
17575 rm -f conftest.$ac_objext
17576 if { (ac_try="$ac_compile"
17577 case "(($ac_try" in
17578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17579 *) ac_try_echo=$ac_try;;
17581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17582 (eval "$ac_compile") 2>conftest.er1
17584 grep -v '^ *+' conftest.er1 >conftest.err
17586 cat conftest.err >&5
17587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17588 (exit $ac_status); } && {
17589 test -z "$ac_c_werror_flag" ||
17590 test ! -s conftest.err
17591 } && test -s conftest.$ac_objext; then
17592 ac_cv_type_mode_t=yes
17594 echo "$as_me: failed program was:" >&5
17595 sed 's/^/| /' conftest.$ac_ext >&5
17597 ac_cv_type_mode_t=no
17600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17602 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17603 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17604 if test $ac_cv_type_mode_t = yes; then
17606 cat >>confdefs.h <<_ACEOF
17607 #define HAVE_MODE_T 1
17612 { echo "$as_me:$LINENO: checking for off_t" >&5
17613 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17614 if test "${ac_cv_type_off_t+set}" = set; then
17615 echo $ECHO_N "(cached) $ECHO_C" >&6
17617 cat >conftest.$ac_ext <<_ACEOF
17620 cat confdefs.h >>conftest.$ac_ext
17621 cat >>conftest.$ac_ext <<_ACEOF
17622 /* end confdefs.h. */
17623 $ac_includes_default
17624 typedef off_t ac__type_new_;
17628 if ((ac__type_new_ *) 0)
17630 if (sizeof (ac__type_new_))
17636 rm -f conftest.$ac_objext
17637 if { (ac_try="$ac_compile"
17638 case "(($ac_try" in
17639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17640 *) ac_try_echo=$ac_try;;
17642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17643 (eval "$ac_compile") 2>conftest.er1
17645 grep -v '^ *+' conftest.er1 >conftest.err
17647 cat conftest.err >&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); } && {
17650 test -z "$ac_c_werror_flag" ||
17651 test ! -s conftest.err
17652 } && test -s conftest.$ac_objext; then
17653 ac_cv_type_off_t=yes
17655 echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.$ac_ext >&5
17658 ac_cv_type_off_t=no
17661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17663 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17664 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17665 if test $ac_cv_type_off_t = yes; then
17667 cat >>confdefs.h <<_ACEOF
17668 #define HAVE_OFF_T 1
17673 { echo "$as_me:$LINENO: checking for pid_t" >&5
17674 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17675 if test "${ac_cv_type_pid_t+set}" = set; then
17676 echo $ECHO_N "(cached) $ECHO_C" >&6
17678 cat >conftest.$ac_ext <<_ACEOF
17681 cat confdefs.h >>conftest.$ac_ext
17682 cat >>conftest.$ac_ext <<_ACEOF
17683 /* end confdefs.h. */
17684 $ac_includes_default
17685 typedef pid_t ac__type_new_;
17689 if ((ac__type_new_ *) 0)
17691 if (sizeof (ac__type_new_))
17697 rm -f conftest.$ac_objext
17698 if { (ac_try="$ac_compile"
17699 case "(($ac_try" in
17700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17701 *) ac_try_echo=$ac_try;;
17703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17704 (eval "$ac_compile") 2>conftest.er1
17706 grep -v '^ *+' conftest.er1 >conftest.err
17708 cat conftest.err >&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); } && {
17711 test -z "$ac_c_werror_flag" ||
17712 test ! -s conftest.err
17713 } && test -s conftest.$ac_objext; then
17714 ac_cv_type_pid_t=yes
17716 echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.$ac_ext >&5
17719 ac_cv_type_pid_t=no
17722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17724 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17725 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17726 if test $ac_cv_type_pid_t = yes; then
17728 cat >>confdefs.h <<_ACEOF
17729 #define HAVE_PID_T 1
17734 { echo "$as_me:$LINENO: checking for size_t" >&5
17735 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17736 if test "${ac_cv_type_size_t+set}" = set; then
17737 echo $ECHO_N "(cached) $ECHO_C" >&6
17739 cat >conftest.$ac_ext <<_ACEOF
17742 cat confdefs.h >>conftest.$ac_ext
17743 cat >>conftest.$ac_ext <<_ACEOF
17744 /* end confdefs.h. */
17745 $ac_includes_default
17746 typedef size_t ac__type_new_;
17750 if ((ac__type_new_ *) 0)
17752 if (sizeof (ac__type_new_))
17758 rm -f conftest.$ac_objext
17759 if { (ac_try="$ac_compile"
17760 case "(($ac_try" in
17761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17762 *) ac_try_echo=$ac_try;;
17764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17765 (eval "$ac_compile") 2>conftest.er1
17767 grep -v '^ *+' conftest.er1 >conftest.err
17769 cat conftest.err >&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); } && {
17772 test -z "$ac_c_werror_flag" ||
17773 test ! -s conftest.err
17774 } && test -s conftest.$ac_objext; then
17775 ac_cv_type_size_t=yes
17777 echo "$as_me: failed program was:" >&5
17778 sed 's/^/| /' conftest.$ac_ext >&5
17780 ac_cv_type_size_t=no
17783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17785 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17786 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17787 if test $ac_cv_type_size_t = yes; then
17789 cat >>confdefs.h <<_ACEOF
17790 #define HAVE_SIZE_T 1
17795 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17796 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17797 if test "${ac_cv_type_ssize_t+set}" = set; then
17798 echo $ECHO_N "(cached) $ECHO_C" >&6
17800 cat >conftest.$ac_ext <<_ACEOF
17803 cat confdefs.h >>conftest.$ac_ext
17804 cat >>conftest.$ac_ext <<_ACEOF
17805 /* end confdefs.h. */
17806 $ac_includes_default
17807 typedef ssize_t ac__type_new_;
17811 if ((ac__type_new_ *) 0)
17813 if (sizeof (ac__type_new_))
17819 rm -f conftest.$ac_objext
17820 if { (ac_try="$ac_compile"
17821 case "(($ac_try" in
17822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17823 *) ac_try_echo=$ac_try;;
17825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17826 (eval "$ac_compile") 2>conftest.er1
17828 grep -v '^ *+' conftest.er1 >conftest.err
17830 cat conftest.err >&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); } && {
17833 test -z "$ac_c_werror_flag" ||
17834 test ! -s conftest.err
17835 } && test -s conftest.$ac_objext; then
17836 ac_cv_type_ssize_t=yes
17838 echo "$as_me: failed program was:" >&5
17839 sed 's/^/| /' conftest.$ac_ext >&5
17841 ac_cv_type_ssize_t=no
17844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17846 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17847 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17848 if test $ac_cv_type_ssize_t = yes; then
17850 cat >>confdefs.h <<_ACEOF
17851 #define HAVE_SSIZE_T 1
17856 { echo "$as_me:$LINENO: checking for long long" >&5
17857 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17858 if test "${ac_cv_type_long_long+set}" = set; then
17859 echo $ECHO_N "(cached) $ECHO_C" >&6
17861 cat >conftest.$ac_ext <<_ACEOF
17864 cat confdefs.h >>conftest.$ac_ext
17865 cat >>conftest.$ac_ext <<_ACEOF
17866 /* end confdefs.h. */
17867 $ac_includes_default
17868 typedef long long ac__type_new_;
17872 if ((ac__type_new_ *) 0)
17874 if (sizeof (ac__type_new_))
17880 rm -f conftest.$ac_objext
17881 if { (ac_try="$ac_compile"
17882 case "(($ac_try" in
17883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17884 *) ac_try_echo=$ac_try;;
17886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17887 (eval "$ac_compile") 2>conftest.er1
17889 grep -v '^ *+' conftest.er1 >conftest.err
17891 cat conftest.err >&5
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); } && {
17894 test -z "$ac_c_werror_flag" ||
17895 test ! -s conftest.err
17896 } && test -s conftest.$ac_objext; then
17897 ac_cv_type_long_long=yes
17899 echo "$as_me: failed program was:" >&5
17900 sed 's/^/| /' conftest.$ac_ext >&5
17902 ac_cv_type_long_long=no
17905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17907 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17908 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17909 if test $ac_cv_type_long_long = yes; then
17911 cat >>confdefs.h <<_ACEOF
17912 #define HAVE_LONG_LONG 1
17917 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17918 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17919 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17920 echo $ECHO_N "(cached) $ECHO_C" >&6
17922 cat >conftest.$ac_ext <<_ACEOF
17925 cat confdefs.h >>conftest.$ac_ext
17926 cat >>conftest.$ac_ext <<_ACEOF
17927 /* end confdefs.h. */
17928 $ac_includes_default
17929 typedef fsblkcnt_t ac__type_new_;
17933 if ((ac__type_new_ *) 0)
17935 if (sizeof (ac__type_new_))
17941 rm -f conftest.$ac_objext
17942 if { (ac_try="$ac_compile"
17943 case "(($ac_try" in
17944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17945 *) ac_try_echo=$ac_try;;
17947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17948 (eval "$ac_compile") 2>conftest.er1
17950 grep -v '^ *+' conftest.er1 >conftest.err
17952 cat conftest.err >&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); } && {
17955 test -z "$ac_c_werror_flag" ||
17956 test ! -s conftest.err
17957 } && test -s conftest.$ac_objext; then
17958 ac_cv_type_fsblkcnt_t=yes
17960 echo "$as_me: failed program was:" >&5
17961 sed 's/^/| /' conftest.$ac_ext >&5
17963 ac_cv_type_fsblkcnt_t=no
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17968 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17969 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17970 if test $ac_cv_type_fsblkcnt_t = yes; then
17972 cat >>confdefs.h <<_ACEOF
17973 #define HAVE_FSBLKCNT_T 1
17978 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17979 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17980 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17981 echo $ECHO_N "(cached) $ECHO_C" >&6
17983 cat >conftest.$ac_ext <<_ACEOF
17986 cat confdefs.h >>conftest.$ac_ext
17987 cat >>conftest.$ac_ext <<_ACEOF
17988 /* end confdefs.h. */
17989 $ac_includes_default
17990 typedef fsfilcnt_t ac__type_new_;
17994 if ((ac__type_new_ *) 0)
17996 if (sizeof (ac__type_new_))
18002 rm -f conftest.$ac_objext
18003 if { (ac_try="$ac_compile"
18004 case "(($ac_try" in
18005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18006 *) ac_try_echo=$ac_try;;
18008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18009 (eval "$ac_compile") 2>conftest.er1
18011 grep -v '^ *+' conftest.er1 >conftest.err
18013 cat conftest.err >&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); } && {
18016 test -z "$ac_c_werror_flag" ||
18017 test ! -s conftest.err
18018 } && test -s conftest.$ac_objext; then
18019 ac_cv_type_fsfilcnt_t=yes
18021 echo "$as_me: failed program was:" >&5
18022 sed 's/^/| /' conftest.$ac_ext >&5
18024 ac_cv_type_fsfilcnt_t=no
18027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18029 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18030 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18031 if test $ac_cv_type_fsfilcnt_t = yes; then
18033 cat >>confdefs.h <<_ACEOF
18034 #define HAVE_FSFILCNT_T 1
18040 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18041 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18042 if test "${ac_cv_type_sigset_t+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18045 cat >conftest.$ac_ext <<_ACEOF
18048 cat confdefs.h >>conftest.$ac_ext
18049 cat >>conftest.$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 #include <signal.h>
18053 typedef sigset_t ac__type_new_;
18057 if ((ac__type_new_ *) 0)
18059 if (sizeof (ac__type_new_))
18065 rm -f conftest.$ac_objext
18066 if { (ac_try="$ac_compile"
18067 case "(($ac_try" in
18068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18069 *) ac_try_echo=$ac_try;;
18071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18072 (eval "$ac_compile") 2>conftest.er1
18074 grep -v '^ *+' conftest.er1 >conftest.err
18076 cat conftest.err >&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); } && {
18079 test -z "$ac_c_werror_flag" ||
18080 test ! -s conftest.err
18081 } && test -s conftest.$ac_objext; then
18082 ac_cv_type_sigset_t=yes
18084 echo "$as_me: failed program was:" >&5
18085 sed 's/^/| /' conftest.$ac_ext >&5
18087 ac_cv_type_sigset_t=no
18090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18092 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18093 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18094 if test $ac_cv_type_sigset_t = yes; then
18096 cat >>confdefs.h <<_ACEOF
18097 #define HAVE_SIGSET_T 1
18103 { echo "$as_me:$LINENO: checking for request_sense" >&5
18104 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18105 if test "${ac_cv_type_request_sense+set}" = set; then
18106 echo $ECHO_N "(cached) $ECHO_C" >&6
18108 cat >conftest.$ac_ext <<_ACEOF
18111 cat confdefs.h >>conftest.$ac_ext
18112 cat >>conftest.$ac_ext <<_ACEOF
18113 /* end confdefs.h. */
18114 #include <linux/cdrom.h>
18116 typedef request_sense ac__type_new_;
18120 if ((ac__type_new_ *) 0)
18122 if (sizeof (ac__type_new_))
18128 rm -f conftest.$ac_objext
18129 if { (ac_try="$ac_compile"
18130 case "(($ac_try" in
18131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18132 *) ac_try_echo=$ac_try;;
18134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18135 (eval "$ac_compile") 2>conftest.er1
18137 grep -v '^ *+' conftest.er1 >conftest.err
18139 cat conftest.err >&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); } && {
18142 test -z "$ac_c_werror_flag" ||
18143 test ! -s conftest.err
18144 } && test -s conftest.$ac_objext; then
18145 ac_cv_type_request_sense=yes
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.$ac_ext >&5
18150 ac_cv_type_request_sense=no
18153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18155 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18156 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18157 if test $ac_cv_type_request_sense = yes; then
18159 cat >>confdefs.h <<_ACEOF
18160 #define HAVE_REQUEST_SENSE 1
18167 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18168 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18169 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18170 echo $ECHO_N "(cached) $ECHO_C" >&6
18172 cat >conftest.$ac_ext <<_ACEOF
18175 cat confdefs.h >>conftest.$ac_ext
18176 cat >>conftest.$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18178 #ifdef HAVE_LINUX_INPUT_H
18179 #include <linux/input.h>
18185 static struct ff_effect ac_aggr;
18186 if (ac_aggr.direction)
18192 rm -f conftest.$ac_objext
18193 if { (ac_try="$ac_compile"
18194 case "(($ac_try" in
18195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18196 *) ac_try_echo=$ac_try;;
18198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18199 (eval "$ac_compile") 2>conftest.er1
18201 grep -v '^ *+' conftest.er1 >conftest.err
18203 cat conftest.err >&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); } && {
18206 test -z "$ac_c_werror_flag" ||
18207 test ! -s conftest.err
18208 } && test -s conftest.$ac_objext; then
18209 ac_cv_member_struct_ff_effect_direction=yes
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18214 cat >conftest.$ac_ext <<_ACEOF
18217 cat confdefs.h >>conftest.$ac_ext
18218 cat >>conftest.$ac_ext <<_ACEOF
18219 /* end confdefs.h. */
18220 #ifdef HAVE_LINUX_INPUT_H
18221 #include <linux/input.h>
18227 static struct ff_effect ac_aggr;
18228 if (sizeof ac_aggr.direction)
18234 rm -f conftest.$ac_objext
18235 if { (ac_try="$ac_compile"
18236 case "(($ac_try" in
18237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18238 *) ac_try_echo=$ac_try;;
18240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18241 (eval "$ac_compile") 2>conftest.er1
18243 grep -v '^ *+' conftest.er1 >conftest.err
18245 cat conftest.err >&5
18246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247 (exit $ac_status); } && {
18248 test -z "$ac_c_werror_flag" ||
18249 test ! -s conftest.err
18250 } && test -s conftest.$ac_objext; then
18251 ac_cv_member_struct_ff_effect_direction=yes
18253 echo "$as_me: failed program was:" >&5
18254 sed 's/^/| /' conftest.$ac_ext >&5
18256 ac_cv_member_struct_ff_effect_direction=no
18259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18264 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18265 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18266 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18268 cat >>confdefs.h <<_ACEOF
18269 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18276 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18277 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18278 if test "${wine_cv_have_sigaddset+set}" = set; then
18279 echo $ECHO_N "(cached) $ECHO_C" >&6
18281 cat >conftest.$ac_ext <<_ACEOF
18284 cat confdefs.h >>conftest.$ac_ext
18285 cat >>conftest.$ac_ext <<_ACEOF
18286 /* end confdefs.h. */
18287 #include <signal.h>
18291 sigset_t set; sigaddset(&set,SIGTERM);
18296 rm -f conftest.$ac_objext conftest$ac_exeext
18297 if { (ac_try="$ac_link"
18298 case "(($ac_try" in
18299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18300 *) ac_try_echo=$ac_try;;
18302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18303 (eval "$ac_link") 2>conftest.er1
18305 grep -v '^ *+' conftest.er1 >conftest.err
18307 cat conftest.err >&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); } && {
18310 test -z "$ac_c_werror_flag" ||
18311 test ! -s conftest.err
18312 } && test -s conftest$ac_exeext &&
18313 $as_test_x conftest$ac_exeext; then
18314 wine_cv_have_sigaddset=yes
18316 echo "$as_me: failed program was:" >&5
18317 sed 's/^/| /' conftest.$ac_ext >&5
18319 wine_cv_have_sigaddset=no
18322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18323 conftest$ac_exeext conftest.$ac_ext
18325 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18326 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18327 if test "$wine_cv_have_sigaddset" = "yes"
18330 cat >>confdefs.h <<\_ACEOF
18331 #define HAVE_SIGADDSET 1
18337 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18338 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18339 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18340 echo $ECHO_N "(cached) $ECHO_C" >&6
18342 cat >conftest.$ac_ext <<_ACEOF
18345 cat confdefs.h >>conftest.$ac_ext
18346 cat >>conftest.$ac_ext <<_ACEOF
18347 /* end confdefs.h. */
18355 struct hostent *result;
18362 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18363 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18369 rm -f conftest.$ac_objext conftest$ac_exeext
18370 if { (ac_try="$ac_link"
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_link") 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_exeext &&
18386 $as_test_x conftest$ac_exeext; then
18387 wine_cv_linux_gethostbyname_r_6=yes
18389 echo "$as_me: failed program was:" >&5
18390 sed 's/^/| /' conftest.$ac_ext >&5
18392 wine_cv_linux_gethostbyname_r_6=no
18396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18397 conftest$ac_exeext conftest.$ac_ext
18400 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18401 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18402 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18405 cat >>confdefs.h <<\_ACEOF
18406 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18411 if test "$ac_cv_header_linux_joystick_h" = "yes"
18413 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18414 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18415 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18416 echo $ECHO_N "(cached) $ECHO_C" >&6
18418 cat >conftest.$ac_ext <<_ACEOF
18421 cat confdefs.h >>conftest.$ac_ext
18422 cat >>conftest.$ac_ext <<_ACEOF
18423 /* end confdefs.h. */
18425 #include <sys/ioctl.h>
18426 #include <sys/types.h>
18427 #include <linux/joystick.h>
18429 struct js_event blub;
18430 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18431 #error "no 2.2 header"
18442 rm -f conftest.$ac_objext
18443 if { (ac_try="$ac_compile"
18444 case "(($ac_try" in
18445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18446 *) ac_try_echo=$ac_try;;
18448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18449 (eval "$ac_compile") 2>conftest.er1
18451 grep -v '^ *+' conftest.er1 >conftest.err
18453 cat conftest.err >&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } && {
18456 test -z "$ac_c_werror_flag" ||
18457 test ! -s conftest.err
18458 } && test -s conftest.$ac_objext; then
18459 wine_cv_linux_joystick_22_api=yes
18461 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.$ac_ext >&5
18464 wine_cv_linux_joystick_22_api=no
18467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18470 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18471 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18472 if test "$wine_cv_linux_joystick_22_api" = "yes"
18475 cat >>confdefs.h <<\_ACEOF
18476 #define HAVE_LINUX_22_JOYSTICK_API 1
18483 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18484 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18485 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18486 echo $ECHO_N "(cached) $ECHO_C" >&6
18488 cat >conftest.$ac_ext <<_ACEOF
18491 cat confdefs.h >>conftest.$ac_ext
18492 cat >>conftest.$ac_ext <<_ACEOF
18493 /* end confdefs.h. */
18494 #include <sys/types.h>
18495 #ifdef HAVE_SYS_PARAM_H
18496 # include <sys/param.h>
18498 #ifdef HAVE_SYS_MOUNT_H
18499 # include <sys/mount.h>
18501 #ifdef HAVE_SYS_VFS_H
18502 # include <sys/vfs.h>
18504 #ifdef HAVE_SYS_STATFS_H
18505 # include <sys/statfs.h>
18511 static struct statfs ac_aggr;
18512 if (ac_aggr.f_bfree)
18518 rm -f conftest.$ac_objext
18519 if { (ac_try="$ac_compile"
18520 case "(($ac_try" in
18521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18522 *) ac_try_echo=$ac_try;;
18524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18525 (eval "$ac_compile") 2>conftest.er1
18527 grep -v '^ *+' conftest.er1 >conftest.err
18529 cat conftest.err >&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); } && {
18532 test -z "$ac_c_werror_flag" ||
18533 test ! -s conftest.err
18534 } && test -s conftest.$ac_objext; then
18535 ac_cv_member_struct_statfs_f_bfree=yes
18537 echo "$as_me: failed program was:" >&5
18538 sed 's/^/| /' conftest.$ac_ext >&5
18540 cat >conftest.$ac_ext <<_ACEOF
18543 cat confdefs.h >>conftest.$ac_ext
18544 cat >>conftest.$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546 #include <sys/types.h>
18547 #ifdef HAVE_SYS_PARAM_H
18548 # include <sys/param.h>
18550 #ifdef HAVE_SYS_MOUNT_H
18551 # include <sys/mount.h>
18553 #ifdef HAVE_SYS_VFS_H
18554 # include <sys/vfs.h>
18556 #ifdef HAVE_SYS_STATFS_H
18557 # include <sys/statfs.h>
18563 static struct statfs ac_aggr;
18564 if (sizeof ac_aggr.f_bfree)
18570 rm -f conftest.$ac_objext
18571 if { (ac_try="$ac_compile"
18572 case "(($ac_try" in
18573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_compile") 2>conftest.er1
18579 grep -v '^ *+' conftest.er1 >conftest.err
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } && {
18584 test -z "$ac_c_werror_flag" ||
18585 test ! -s conftest.err
18586 } && test -s conftest.$ac_objext; then
18587 ac_cv_member_struct_statfs_f_bfree=yes
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18592 ac_cv_member_struct_statfs_f_bfree=no
18595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18600 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18601 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18602 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18604 cat >>confdefs.h <<_ACEOF
18605 #define HAVE_STRUCT_STATFS_F_BFREE 1
18610 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18611 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18612 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18613 echo $ECHO_N "(cached) $ECHO_C" >&6
18615 cat >conftest.$ac_ext <<_ACEOF
18618 cat confdefs.h >>conftest.$ac_ext
18619 cat >>conftest.$ac_ext <<_ACEOF
18620 /* end confdefs.h. */
18621 #include <sys/types.h>
18622 #ifdef HAVE_SYS_PARAM_H
18623 # include <sys/param.h>
18625 #ifdef HAVE_SYS_MOUNT_H
18626 # include <sys/mount.h>
18628 #ifdef HAVE_SYS_VFS_H
18629 # include <sys/vfs.h>
18631 #ifdef HAVE_SYS_STATFS_H
18632 # include <sys/statfs.h>
18638 static struct statfs ac_aggr;
18639 if (ac_aggr.f_bavail)
18645 rm -f conftest.$ac_objext
18646 if { (ac_try="$ac_compile"
18647 case "(($ac_try" in
18648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18649 *) ac_try_echo=$ac_try;;
18651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18652 (eval "$ac_compile") 2>conftest.er1
18654 grep -v '^ *+' conftest.er1 >conftest.err
18656 cat conftest.err >&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); } && {
18659 test -z "$ac_c_werror_flag" ||
18660 test ! -s conftest.err
18661 } && test -s conftest.$ac_objext; then
18662 ac_cv_member_struct_statfs_f_bavail=yes
18664 echo "$as_me: failed program was:" >&5
18665 sed 's/^/| /' conftest.$ac_ext >&5
18667 cat >conftest.$ac_ext <<_ACEOF
18670 cat confdefs.h >>conftest.$ac_ext
18671 cat >>conftest.$ac_ext <<_ACEOF
18672 /* end confdefs.h. */
18673 #include <sys/types.h>
18674 #ifdef HAVE_SYS_PARAM_H
18675 # include <sys/param.h>
18677 #ifdef HAVE_SYS_MOUNT_H
18678 # include <sys/mount.h>
18680 #ifdef HAVE_SYS_VFS_H
18681 # include <sys/vfs.h>
18683 #ifdef HAVE_SYS_STATFS_H
18684 # include <sys/statfs.h>
18690 static struct statfs ac_aggr;
18691 if (sizeof ac_aggr.f_bavail)
18697 rm -f conftest.$ac_objext
18698 if { (ac_try="$ac_compile"
18699 case "(($ac_try" in
18700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18701 *) ac_try_echo=$ac_try;;
18703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18704 (eval "$ac_compile") 2>conftest.er1
18706 grep -v '^ *+' conftest.er1 >conftest.err
18708 cat conftest.err >&5
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); } && {
18711 test -z "$ac_c_werror_flag" ||
18712 test ! -s conftest.err
18713 } && test -s conftest.$ac_objext; then
18714 ac_cv_member_struct_statfs_f_bavail=yes
18716 echo "$as_me: failed program was:" >&5
18717 sed 's/^/| /' conftest.$ac_ext >&5
18719 ac_cv_member_struct_statfs_f_bavail=no
18722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18727 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18728 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18729 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18731 cat >>confdefs.h <<_ACEOF
18732 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18737 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18738 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18739 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18740 echo $ECHO_N "(cached) $ECHO_C" >&6
18742 cat >conftest.$ac_ext <<_ACEOF
18745 cat confdefs.h >>conftest.$ac_ext
18746 cat >>conftest.$ac_ext <<_ACEOF
18747 /* end confdefs.h. */
18748 #include <sys/types.h>
18749 #ifdef HAVE_SYS_PARAM_H
18750 # include <sys/param.h>
18752 #ifdef HAVE_SYS_MOUNT_H
18753 # include <sys/mount.h>
18755 #ifdef HAVE_SYS_VFS_H
18756 # include <sys/vfs.h>
18758 #ifdef HAVE_SYS_STATFS_H
18759 # include <sys/statfs.h>
18765 static struct statfs ac_aggr;
18766 if (ac_aggr.f_frsize)
18772 rm -f conftest.$ac_objext
18773 if { (ac_try="$ac_compile"
18774 case "(($ac_try" in
18775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18776 *) ac_try_echo=$ac_try;;
18778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18779 (eval "$ac_compile") 2>conftest.er1
18781 grep -v '^ *+' conftest.er1 >conftest.err
18783 cat conftest.err >&5
18784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785 (exit $ac_status); } && {
18786 test -z "$ac_c_werror_flag" ||
18787 test ! -s conftest.err
18788 } && test -s conftest.$ac_objext; then
18789 ac_cv_member_struct_statfs_f_frsize=yes
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.$ac_ext >&5
18794 cat >conftest.$ac_ext <<_ACEOF
18797 cat confdefs.h >>conftest.$ac_ext
18798 cat >>conftest.$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18800 #include <sys/types.h>
18801 #ifdef HAVE_SYS_PARAM_H
18802 # include <sys/param.h>
18804 #ifdef HAVE_SYS_MOUNT_H
18805 # include <sys/mount.h>
18807 #ifdef HAVE_SYS_VFS_H
18808 # include <sys/vfs.h>
18810 #ifdef HAVE_SYS_STATFS_H
18811 # include <sys/statfs.h>
18817 static struct statfs ac_aggr;
18818 if (sizeof ac_aggr.f_frsize)
18824 rm -f conftest.$ac_objext
18825 if { (ac_try="$ac_compile"
18826 case "(($ac_try" in
18827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18828 *) ac_try_echo=$ac_try;;
18830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18831 (eval "$ac_compile") 2>conftest.er1
18833 grep -v '^ *+' conftest.er1 >conftest.err
18835 cat conftest.err >&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); } && {
18838 test -z "$ac_c_werror_flag" ||
18839 test ! -s conftest.err
18840 } && test -s conftest.$ac_objext; then
18841 ac_cv_member_struct_statfs_f_frsize=yes
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.$ac_ext >&5
18846 ac_cv_member_struct_statfs_f_frsize=no
18849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18854 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18855 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18856 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18858 cat >>confdefs.h <<_ACEOF
18859 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18864 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18865 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18866 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18867 echo $ECHO_N "(cached) $ECHO_C" >&6
18869 cat >conftest.$ac_ext <<_ACEOF
18872 cat confdefs.h >>conftest.$ac_ext
18873 cat >>conftest.$ac_ext <<_ACEOF
18874 /* end confdefs.h. */
18875 #include <sys/types.h>
18876 #ifdef HAVE_SYS_PARAM_H
18877 # include <sys/param.h>
18879 #ifdef HAVE_SYS_MOUNT_H
18880 # include <sys/mount.h>
18882 #ifdef HAVE_SYS_VFS_H
18883 # include <sys/vfs.h>
18885 #ifdef HAVE_SYS_STATFS_H
18886 # include <sys/statfs.h>
18892 static struct statfs ac_aggr;
18893 if (ac_aggr.f_ffree)
18899 rm -f conftest.$ac_objext
18900 if { (ac_try="$ac_compile"
18901 case "(($ac_try" in
18902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18903 *) ac_try_echo=$ac_try;;
18905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18906 (eval "$ac_compile") 2>conftest.er1
18908 grep -v '^ *+' conftest.er1 >conftest.err
18910 cat conftest.err >&5
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); } && {
18913 test -z "$ac_c_werror_flag" ||
18914 test ! -s conftest.err
18915 } && test -s conftest.$ac_objext; then
18916 ac_cv_member_struct_statfs_f_ffree=yes
18918 echo "$as_me: failed program was:" >&5
18919 sed 's/^/| /' conftest.$ac_ext >&5
18921 cat >conftest.$ac_ext <<_ACEOF
18924 cat confdefs.h >>conftest.$ac_ext
18925 cat >>conftest.$ac_ext <<_ACEOF
18926 /* end confdefs.h. */
18927 #include <sys/types.h>
18928 #ifdef HAVE_SYS_PARAM_H
18929 # include <sys/param.h>
18931 #ifdef HAVE_SYS_MOUNT_H
18932 # include <sys/mount.h>
18934 #ifdef HAVE_SYS_VFS_H
18935 # include <sys/vfs.h>
18937 #ifdef HAVE_SYS_STATFS_H
18938 # include <sys/statfs.h>
18944 static struct statfs ac_aggr;
18945 if (sizeof ac_aggr.f_ffree)
18951 rm -f conftest.$ac_objext
18952 if { (ac_try="$ac_compile"
18953 case "(($ac_try" in
18954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18955 *) ac_try_echo=$ac_try;;
18957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18958 (eval "$ac_compile") 2>conftest.er1
18960 grep -v '^ *+' conftest.er1 >conftest.err
18962 cat conftest.err >&5
18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18964 (exit $ac_status); } && {
18965 test -z "$ac_c_werror_flag" ||
18966 test ! -s conftest.err
18967 } && test -s conftest.$ac_objext; then
18968 ac_cv_member_struct_statfs_f_ffree=yes
18970 echo "$as_me: failed program was:" >&5
18971 sed 's/^/| /' conftest.$ac_ext >&5
18973 ac_cv_member_struct_statfs_f_ffree=no
18976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18981 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18982 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18983 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18985 cat >>confdefs.h <<_ACEOF
18986 #define HAVE_STRUCT_STATFS_F_FFREE 1
18991 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18992 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18993 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18994 echo $ECHO_N "(cached) $ECHO_C" >&6
18996 cat >conftest.$ac_ext <<_ACEOF
18999 cat confdefs.h >>conftest.$ac_ext
19000 cat >>conftest.$ac_ext <<_ACEOF
19001 /* end confdefs.h. */
19002 #include <sys/types.h>
19003 #ifdef HAVE_SYS_PARAM_H
19004 # include <sys/param.h>
19006 #ifdef HAVE_SYS_MOUNT_H
19007 # include <sys/mount.h>
19009 #ifdef HAVE_SYS_VFS_H
19010 # include <sys/vfs.h>
19012 #ifdef HAVE_SYS_STATFS_H
19013 # include <sys/statfs.h>
19019 static struct statfs ac_aggr;
19020 if (ac_aggr.f_favail)
19026 rm -f conftest.$ac_objext
19027 if { (ac_try="$ac_compile"
19028 case "(($ac_try" in
19029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19030 *) ac_try_echo=$ac_try;;
19032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19033 (eval "$ac_compile") 2>conftest.er1
19035 grep -v '^ *+' conftest.er1 >conftest.err
19037 cat conftest.err >&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); } && {
19040 test -z "$ac_c_werror_flag" ||
19041 test ! -s conftest.err
19042 } && test -s conftest.$ac_objext; then
19043 ac_cv_member_struct_statfs_f_favail=yes
19045 echo "$as_me: failed program was:" >&5
19046 sed 's/^/| /' conftest.$ac_ext >&5
19048 cat >conftest.$ac_ext <<_ACEOF
19051 cat confdefs.h >>conftest.$ac_ext
19052 cat >>conftest.$ac_ext <<_ACEOF
19053 /* end confdefs.h. */
19054 #include <sys/types.h>
19055 #ifdef HAVE_SYS_PARAM_H
19056 # include <sys/param.h>
19058 #ifdef HAVE_SYS_MOUNT_H
19059 # include <sys/mount.h>
19061 #ifdef HAVE_SYS_VFS_H
19062 # include <sys/vfs.h>
19064 #ifdef HAVE_SYS_STATFS_H
19065 # include <sys/statfs.h>
19071 static struct statfs ac_aggr;
19072 if (sizeof ac_aggr.f_favail)
19078 rm -f conftest.$ac_objext
19079 if { (ac_try="$ac_compile"
19080 case "(($ac_try" in
19081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19082 *) ac_try_echo=$ac_try;;
19084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19085 (eval "$ac_compile") 2>conftest.er1
19087 grep -v '^ *+' conftest.er1 >conftest.err
19089 cat conftest.err >&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); } && {
19092 test -z "$ac_c_werror_flag" ||
19093 test ! -s conftest.err
19094 } && test -s conftest.$ac_objext; then
19095 ac_cv_member_struct_statfs_f_favail=yes
19097 echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.$ac_ext >&5
19100 ac_cv_member_struct_statfs_f_favail=no
19103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19108 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19109 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19110 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19112 cat >>confdefs.h <<_ACEOF
19113 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19118 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19119 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19120 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19121 echo $ECHO_N "(cached) $ECHO_C" >&6
19123 cat >conftest.$ac_ext <<_ACEOF
19126 cat confdefs.h >>conftest.$ac_ext
19127 cat >>conftest.$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19129 #include <sys/types.h>
19130 #ifdef HAVE_SYS_PARAM_H
19131 # include <sys/param.h>
19133 #ifdef HAVE_SYS_MOUNT_H
19134 # include <sys/mount.h>
19136 #ifdef HAVE_SYS_VFS_H
19137 # include <sys/vfs.h>
19139 #ifdef HAVE_SYS_STATFS_H
19140 # include <sys/statfs.h>
19146 static struct statfs ac_aggr;
19147 if (ac_aggr.f_namelen)
19153 rm -f conftest.$ac_objext
19154 if { (ac_try="$ac_compile"
19155 case "(($ac_try" in
19156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19157 *) ac_try_echo=$ac_try;;
19159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19160 (eval "$ac_compile") 2>conftest.er1
19162 grep -v '^ *+' conftest.er1 >conftest.err
19164 cat conftest.err >&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); } && {
19167 test -z "$ac_c_werror_flag" ||
19168 test ! -s conftest.err
19169 } && test -s conftest.$ac_objext; then
19170 ac_cv_member_struct_statfs_f_namelen=yes
19172 echo "$as_me: failed program was:" >&5
19173 sed 's/^/| /' conftest.$ac_ext >&5
19175 cat >conftest.$ac_ext <<_ACEOF
19178 cat confdefs.h >>conftest.$ac_ext
19179 cat >>conftest.$ac_ext <<_ACEOF
19180 /* end confdefs.h. */
19181 #include <sys/types.h>
19182 #ifdef HAVE_SYS_PARAM_H
19183 # include <sys/param.h>
19185 #ifdef HAVE_SYS_MOUNT_H
19186 # include <sys/mount.h>
19188 #ifdef HAVE_SYS_VFS_H
19189 # include <sys/vfs.h>
19191 #ifdef HAVE_SYS_STATFS_H
19192 # include <sys/statfs.h>
19198 static struct statfs ac_aggr;
19199 if (sizeof ac_aggr.f_namelen)
19205 rm -f conftest.$ac_objext
19206 if { (ac_try="$ac_compile"
19207 case "(($ac_try" in
19208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19209 *) ac_try_echo=$ac_try;;
19211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19212 (eval "$ac_compile") 2>conftest.er1
19214 grep -v '^ *+' conftest.er1 >conftest.err
19216 cat conftest.err >&5
19217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19218 (exit $ac_status); } && {
19219 test -z "$ac_c_werror_flag" ||
19220 test ! -s conftest.err
19221 } && test -s conftest.$ac_objext; then
19222 ac_cv_member_struct_statfs_f_namelen=yes
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.$ac_ext >&5
19227 ac_cv_member_struct_statfs_f_namelen=no
19230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19235 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19236 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19237 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19239 cat >>confdefs.h <<_ACEOF
19240 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19247 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19248 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19249 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19250 echo $ECHO_N "(cached) $ECHO_C" >&6
19252 cat >conftest.$ac_ext <<_ACEOF
19255 cat confdefs.h >>conftest.$ac_ext
19256 cat >>conftest.$ac_ext <<_ACEOF
19257 /* end confdefs.h. */
19258 #ifdef HAVE_SYS_STATVFS_H
19259 #include <sys/statvfs.h>
19265 static struct statvfs ac_aggr;
19266 if (ac_aggr.f_blocks)
19272 rm -f conftest.$ac_objext
19273 if { (ac_try="$ac_compile"
19274 case "(($ac_try" in
19275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19276 *) ac_try_echo=$ac_try;;
19278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19279 (eval "$ac_compile") 2>conftest.er1
19281 grep -v '^ *+' conftest.er1 >conftest.err
19283 cat conftest.err >&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); } && {
19286 test -z "$ac_c_werror_flag" ||
19287 test ! -s conftest.err
19288 } && test -s conftest.$ac_objext; then
19289 ac_cv_member_struct_statvfs_f_blocks=yes
19291 echo "$as_me: failed program was:" >&5
19292 sed 's/^/| /' conftest.$ac_ext >&5
19294 cat >conftest.$ac_ext <<_ACEOF
19297 cat confdefs.h >>conftest.$ac_ext
19298 cat >>conftest.$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 #ifdef HAVE_SYS_STATVFS_H
19301 #include <sys/statvfs.h>
19307 static struct statvfs ac_aggr;
19308 if (sizeof ac_aggr.f_blocks)
19314 rm -f conftest.$ac_objext
19315 if { (ac_try="$ac_compile"
19316 case "(($ac_try" in
19317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19318 *) ac_try_echo=$ac_try;;
19320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19321 (eval "$ac_compile") 2>conftest.er1
19323 grep -v '^ *+' conftest.er1 >conftest.err
19325 cat conftest.err >&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); } && {
19328 test -z "$ac_c_werror_flag" ||
19329 test ! -s conftest.err
19330 } && test -s conftest.$ac_objext; then
19331 ac_cv_member_struct_statvfs_f_blocks=yes
19333 echo "$as_me: failed program was:" >&5
19334 sed 's/^/| /' conftest.$ac_ext >&5
19336 ac_cv_member_struct_statvfs_f_blocks=no
19339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19344 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19345 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19346 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19348 cat >>confdefs.h <<_ACEOF
19349 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19356 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19357 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19358 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19359 echo $ECHO_N "(cached) $ECHO_C" >&6
19361 cat >conftest.$ac_ext <<_ACEOF
19364 cat confdefs.h >>conftest.$ac_ext
19365 cat >>conftest.$ac_ext <<_ACEOF
19366 /* end confdefs.h. */
19367 #include <sys/types.h>
19368 #ifdef HAVE_SYS_SOCKET_H
19369 # include <sys/socket.h>
19371 #ifdef HAVE_SYS_UN_H
19372 # include <sys/un.h>
19378 static struct msghdr ac_aggr;
19379 if (ac_aggr.msg_accrights)
19385 rm -f conftest.$ac_objext
19386 if { (ac_try="$ac_compile"
19387 case "(($ac_try" in
19388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19389 *) ac_try_echo=$ac_try;;
19391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19392 (eval "$ac_compile") 2>conftest.er1
19394 grep -v '^ *+' conftest.er1 >conftest.err
19396 cat conftest.err >&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); } && {
19399 test -z "$ac_c_werror_flag" ||
19400 test ! -s conftest.err
19401 } && test -s conftest.$ac_objext; then
19402 ac_cv_member_struct_msghdr_msg_accrights=yes
19404 echo "$as_me: failed program was:" >&5
19405 sed 's/^/| /' conftest.$ac_ext >&5
19407 cat >conftest.$ac_ext <<_ACEOF
19410 cat confdefs.h >>conftest.$ac_ext
19411 cat >>conftest.$ac_ext <<_ACEOF
19412 /* end confdefs.h. */
19413 #include <sys/types.h>
19414 #ifdef HAVE_SYS_SOCKET_H
19415 # include <sys/socket.h>
19417 #ifdef HAVE_SYS_UN_H
19418 # include <sys/un.h>
19424 static struct msghdr ac_aggr;
19425 if (sizeof ac_aggr.msg_accrights)
19431 rm -f conftest.$ac_objext
19432 if { (ac_try="$ac_compile"
19433 case "(($ac_try" in
19434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19435 *) ac_try_echo=$ac_try;;
19437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19438 (eval "$ac_compile") 2>conftest.er1
19440 grep -v '^ *+' conftest.er1 >conftest.err
19442 cat conftest.err >&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); } && {
19445 test -z "$ac_c_werror_flag" ||
19446 test ! -s conftest.err
19447 } && test -s conftest.$ac_objext; then
19448 ac_cv_member_struct_msghdr_msg_accrights=yes
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19453 ac_cv_member_struct_msghdr_msg_accrights=no
19456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19461 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19462 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19463 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19465 cat >>confdefs.h <<_ACEOF
19466 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19471 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19472 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19473 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19474 echo $ECHO_N "(cached) $ECHO_C" >&6
19476 cat >conftest.$ac_ext <<_ACEOF
19479 cat confdefs.h >>conftest.$ac_ext
19480 cat >>conftest.$ac_ext <<_ACEOF
19481 /* end confdefs.h. */
19482 #include <sys/types.h>
19483 #ifdef HAVE_SYS_SOCKET_H
19484 # include <sys/socket.h>
19486 #ifdef HAVE_SYS_UN_H
19487 # include <sys/un.h>
19493 static struct sockaddr ac_aggr;
19494 if (ac_aggr.sa_len)
19500 rm -f conftest.$ac_objext
19501 if { (ac_try="$ac_compile"
19502 case "(($ac_try" in
19503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19504 *) ac_try_echo=$ac_try;;
19506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19507 (eval "$ac_compile") 2>conftest.er1
19509 grep -v '^ *+' conftest.er1 >conftest.err
19511 cat conftest.err >&5
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513 (exit $ac_status); } && {
19514 test -z "$ac_c_werror_flag" ||
19515 test ! -s conftest.err
19516 } && test -s conftest.$ac_objext; then
19517 ac_cv_member_struct_sockaddr_sa_len=yes
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.$ac_ext >&5
19522 cat >conftest.$ac_ext <<_ACEOF
19525 cat confdefs.h >>conftest.$ac_ext
19526 cat >>conftest.$ac_ext <<_ACEOF
19527 /* end confdefs.h. */
19528 #include <sys/types.h>
19529 #ifdef HAVE_SYS_SOCKET_H
19530 # include <sys/socket.h>
19532 #ifdef HAVE_SYS_UN_H
19533 # include <sys/un.h>
19539 static struct sockaddr ac_aggr;
19540 if (sizeof ac_aggr.sa_len)
19546 rm -f conftest.$ac_objext
19547 if { (ac_try="$ac_compile"
19548 case "(($ac_try" in
19549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19550 *) ac_try_echo=$ac_try;;
19552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19553 (eval "$ac_compile") 2>conftest.er1
19555 grep -v '^ *+' conftest.er1 >conftest.err
19557 cat conftest.err >&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } && {
19560 test -z "$ac_c_werror_flag" ||
19561 test ! -s conftest.err
19562 } && test -s conftest.$ac_objext; then
19563 ac_cv_member_struct_sockaddr_sa_len=yes
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.$ac_ext >&5
19568 ac_cv_member_struct_sockaddr_sa_len=no
19571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19576 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19577 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19578 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19580 cat >>confdefs.h <<_ACEOF
19581 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19586 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19587 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19588 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19589 echo $ECHO_N "(cached) $ECHO_C" >&6
19591 cat >conftest.$ac_ext <<_ACEOF
19594 cat confdefs.h >>conftest.$ac_ext
19595 cat >>conftest.$ac_ext <<_ACEOF
19596 /* end confdefs.h. */
19597 #include <sys/types.h>
19598 #ifdef HAVE_SYS_SOCKET_H
19599 # include <sys/socket.h>
19601 #ifdef HAVE_SYS_UN_H
19602 # include <sys/un.h>
19608 static struct sockaddr_un ac_aggr;
19609 if (ac_aggr.sun_len)
19615 rm -f conftest.$ac_objext
19616 if { (ac_try="$ac_compile"
19617 case "(($ac_try" in
19618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19619 *) ac_try_echo=$ac_try;;
19621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19622 (eval "$ac_compile") 2>conftest.er1
19624 grep -v '^ *+' conftest.er1 >conftest.err
19626 cat conftest.err >&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); } && {
19629 test -z "$ac_c_werror_flag" ||
19630 test ! -s conftest.err
19631 } && test -s conftest.$ac_objext; then
19632 ac_cv_member_struct_sockaddr_un_sun_len=yes
19634 echo "$as_me: failed program was:" >&5
19635 sed 's/^/| /' conftest.$ac_ext >&5
19637 cat >conftest.$ac_ext <<_ACEOF
19640 cat confdefs.h >>conftest.$ac_ext
19641 cat >>conftest.$ac_ext <<_ACEOF
19642 /* end confdefs.h. */
19643 #include <sys/types.h>
19644 #ifdef HAVE_SYS_SOCKET_H
19645 # include <sys/socket.h>
19647 #ifdef HAVE_SYS_UN_H
19648 # include <sys/un.h>
19654 static struct sockaddr_un ac_aggr;
19655 if (sizeof ac_aggr.sun_len)
19661 rm -f conftest.$ac_objext
19662 if { (ac_try="$ac_compile"
19663 case "(($ac_try" in
19664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19665 *) ac_try_echo=$ac_try;;
19667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19668 (eval "$ac_compile") 2>conftest.er1
19670 grep -v '^ *+' conftest.er1 >conftest.err
19672 cat conftest.err >&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } && {
19675 test -z "$ac_c_werror_flag" ||
19676 test ! -s conftest.err
19677 } && test -s conftest.$ac_objext; then
19678 ac_cv_member_struct_sockaddr_un_sun_len=yes
19680 echo "$as_me: failed program was:" >&5
19681 sed 's/^/| /' conftest.$ac_ext >&5
19683 ac_cv_member_struct_sockaddr_un_sun_len=no
19686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19691 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19692 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19693 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19695 cat >>confdefs.h <<_ACEOF
19696 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19703 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19704 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19705 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19706 echo $ECHO_N "(cached) $ECHO_C" >&6
19708 cat >conftest.$ac_ext <<_ACEOF
19711 cat confdefs.h >>conftest.$ac_ext
19712 cat >>conftest.$ac_ext <<_ACEOF
19713 /* end confdefs.h. */
19714 #include <sys/types.h>
19715 #ifdef HAVE_SCSI_SG_H
19716 #include <scsi/sg.h>
19722 static scsireq_t ac_aggr;
19729 rm -f conftest.$ac_objext
19730 if { (ac_try="$ac_compile"
19731 case "(($ac_try" in
19732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19733 *) ac_try_echo=$ac_try;;
19735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19736 (eval "$ac_compile") 2>conftest.er1
19738 grep -v '^ *+' conftest.er1 >conftest.err
19740 cat conftest.err >&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } && {
19743 test -z "$ac_c_werror_flag" ||
19744 test ! -s conftest.err
19745 } && test -s conftest.$ac_objext; then
19746 ac_cv_member_scsireq_t_cmd=yes
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.$ac_ext >&5
19751 cat >conftest.$ac_ext <<_ACEOF
19754 cat confdefs.h >>conftest.$ac_ext
19755 cat >>conftest.$ac_ext <<_ACEOF
19756 /* end confdefs.h. */
19757 #include <sys/types.h>
19758 #ifdef HAVE_SCSI_SG_H
19759 #include <scsi/sg.h>
19765 static scsireq_t ac_aggr;
19766 if (sizeof ac_aggr.cmd)
19772 rm -f conftest.$ac_objext
19773 if { (ac_try="$ac_compile"
19774 case "(($ac_try" in
19775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19776 *) ac_try_echo=$ac_try;;
19778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19779 (eval "$ac_compile") 2>conftest.er1
19781 grep -v '^ *+' conftest.er1 >conftest.err
19783 cat conftest.err >&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); } && {
19786 test -z "$ac_c_werror_flag" ||
19787 test ! -s conftest.err
19788 } && test -s conftest.$ac_objext; then
19789 ac_cv_member_scsireq_t_cmd=yes
19791 echo "$as_me: failed program was:" >&5
19792 sed 's/^/| /' conftest.$ac_ext >&5
19794 ac_cv_member_scsireq_t_cmd=no
19797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19802 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19803 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19804 if test $ac_cv_member_scsireq_t_cmd = yes; then
19806 cat >>confdefs.h <<_ACEOF
19807 #define HAVE_SCSIREQ_T_CMD 1
19812 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19813 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19814 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19815 echo $ECHO_N "(cached) $ECHO_C" >&6
19817 cat >conftest.$ac_ext <<_ACEOF
19820 cat confdefs.h >>conftest.$ac_ext
19821 cat >>conftest.$ac_ext <<_ACEOF
19822 /* end confdefs.h. */
19823 #include <sys/types.h>
19824 #ifdef HAVE_SCSI_SG_H
19825 #include <scsi/sg.h>
19831 static sg_io_hdr_t ac_aggr;
19832 if (ac_aggr.interface_id)
19838 rm -f conftest.$ac_objext
19839 if { (ac_try="$ac_compile"
19840 case "(($ac_try" in
19841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19842 *) ac_try_echo=$ac_try;;
19844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19845 (eval "$ac_compile") 2>conftest.er1
19847 grep -v '^ *+' conftest.er1 >conftest.err
19849 cat conftest.err >&5
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); } && {
19852 test -z "$ac_c_werror_flag" ||
19853 test ! -s conftest.err
19854 } && test -s conftest.$ac_objext; then
19855 ac_cv_member_sg_io_hdr_t_interface_id=yes
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.$ac_ext >&5
19860 cat >conftest.$ac_ext <<_ACEOF
19863 cat confdefs.h >>conftest.$ac_ext
19864 cat >>conftest.$ac_ext <<_ACEOF
19865 /* end confdefs.h. */
19866 #include <sys/types.h>
19867 #ifdef HAVE_SCSI_SG_H
19868 #include <scsi/sg.h>
19874 static sg_io_hdr_t ac_aggr;
19875 if (sizeof ac_aggr.interface_id)
19881 rm -f conftest.$ac_objext
19882 if { (ac_try="$ac_compile"
19883 case "(($ac_try" in
19884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19885 *) ac_try_echo=$ac_try;;
19887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19888 (eval "$ac_compile") 2>conftest.er1
19890 grep -v '^ *+' conftest.er1 >conftest.err
19892 cat conftest.err >&5
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); } && {
19895 test -z "$ac_c_werror_flag" ||
19896 test ! -s conftest.err
19897 } && test -s conftest.$ac_objext; then
19898 ac_cv_member_sg_io_hdr_t_interface_id=yes
19900 echo "$as_me: failed program was:" >&5
19901 sed 's/^/| /' conftest.$ac_ext >&5
19903 ac_cv_member_sg_io_hdr_t_interface_id=no
19906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19911 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19912 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19913 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19915 cat >>confdefs.h <<_ACEOF
19916 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19923 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19924 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19925 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19926 echo $ECHO_N "(cached) $ECHO_C" >&6
19928 cat >conftest.$ac_ext <<_ACEOF
19931 cat confdefs.h >>conftest.$ac_ext
19932 cat >>conftest.$ac_ext <<_ACEOF
19933 /* end confdefs.h. */
19934 #include <signal.h>
19939 static siginfo_t ac_aggr;
19946 rm -f conftest.$ac_objext
19947 if { (ac_try="$ac_compile"
19948 case "(($ac_try" in
19949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19950 *) ac_try_echo=$ac_try;;
19952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19953 (eval "$ac_compile") 2>conftest.er1
19955 grep -v '^ *+' conftest.er1 >conftest.err
19957 cat conftest.err >&5
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); } && {
19960 test -z "$ac_c_werror_flag" ||
19961 test ! -s conftest.err
19962 } && test -s conftest.$ac_objext; then
19963 ac_cv_member_siginfo_t_si_fd=yes
19965 echo "$as_me: failed program was:" >&5
19966 sed 's/^/| /' conftest.$ac_ext >&5
19968 cat >conftest.$ac_ext <<_ACEOF
19971 cat confdefs.h >>conftest.$ac_ext
19972 cat >>conftest.$ac_ext <<_ACEOF
19973 /* end confdefs.h. */
19974 #include <signal.h>
19979 static siginfo_t ac_aggr;
19980 if (sizeof ac_aggr.si_fd)
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_siginfo_t_si_fd=yes
20005 echo "$as_me: failed program was:" >&5
20006 sed 's/^/| /' conftest.$ac_ext >&5
20008 ac_cv_member_siginfo_t_si_fd=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_siginfo_t_si_fd" >&5
20017 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20018 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20020 cat >>confdefs.h <<_ACEOF
20021 #define HAVE_SIGINFO_T_SI_FD 1
20028 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20029 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20030 if test "${ac_cv_member_struct_mtget_mt_blksiz+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_MTIO_H
20041 #include <sys/mtio.h>
20047 static struct mtget ac_aggr;
20048 if (ac_aggr.mt_blksiz)
20054 rm -f conftest.$ac_objext
20055 if { (ac_try="$ac_compile"
20056 case "(($ac_try" in
20057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20058 *) ac_try_echo=$ac_try;;
20060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20061 (eval "$ac_compile") 2>conftest.er1
20063 grep -v '^ *+' conftest.er1 >conftest.err
20065 cat conftest.err >&5
20066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20067 (exit $ac_status); } && {
20068 test -z "$ac_c_werror_flag" ||
20069 test ! -s conftest.err
20070 } && test -s conftest.$ac_objext; then
20071 ac_cv_member_struct_mtget_mt_blksiz=yes
20073 echo "$as_me: failed program was:" >&5
20074 sed 's/^/| /' conftest.$ac_ext >&5
20076 cat >conftest.$ac_ext <<_ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 #include <sys/types.h>
20083 #ifdef HAVE_SYS_MTIO_H
20084 #include <sys/mtio.h>
20090 static struct mtget ac_aggr;
20091 if (sizeof ac_aggr.mt_blksiz)
20097 rm -f conftest.$ac_objext
20098 if { (ac_try="$ac_compile"
20099 case "(($ac_try" in
20100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20101 *) ac_try_echo=$ac_try;;
20103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20104 (eval "$ac_compile") 2>conftest.er1
20106 grep -v '^ *+' conftest.er1 >conftest.err
20108 cat conftest.err >&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); } && {
20111 test -z "$ac_c_werror_flag" ||
20112 test ! -s conftest.err
20113 } && test -s conftest.$ac_objext; then
20114 ac_cv_member_struct_mtget_mt_blksiz=yes
20116 echo "$as_me: failed program was:" >&5
20117 sed 's/^/| /' conftest.$ac_ext >&5
20119 ac_cv_member_struct_mtget_mt_blksiz=no
20122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20127 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20128 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20129 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20131 cat >>confdefs.h <<_ACEOF
20132 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20137 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20138 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20139 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20140 echo $ECHO_N "(cached) $ECHO_C" >&6
20142 cat >conftest.$ac_ext <<_ACEOF
20145 cat confdefs.h >>conftest.$ac_ext
20146 cat >>conftest.$ac_ext <<_ACEOF
20147 /* end confdefs.h. */
20148 #include <sys/types.h>
20149 #ifdef HAVE_SYS_MTIO_H
20150 #include <sys/mtio.h>
20156 static struct mtget ac_aggr;
20157 if (ac_aggr.mt_gstat)
20163 rm -f conftest.$ac_objext
20164 if { (ac_try="$ac_compile"
20165 case "(($ac_try" in
20166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20167 *) ac_try_echo=$ac_try;;
20169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20170 (eval "$ac_compile") 2>conftest.er1
20172 grep -v '^ *+' conftest.er1 >conftest.err
20174 cat conftest.err >&5
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); } && {
20177 test -z "$ac_c_werror_flag" ||
20178 test ! -s conftest.err
20179 } && test -s conftest.$ac_objext; then
20180 ac_cv_member_struct_mtget_mt_gstat=yes
20182 echo "$as_me: failed program was:" >&5
20183 sed 's/^/| /' conftest.$ac_ext >&5
20185 cat >conftest.$ac_ext <<_ACEOF
20188 cat confdefs.h >>conftest.$ac_ext
20189 cat >>conftest.$ac_ext <<_ACEOF
20190 /* end confdefs.h. */
20191 #include <sys/types.h>
20192 #ifdef HAVE_SYS_MTIO_H
20193 #include <sys/mtio.h>
20199 static struct mtget ac_aggr;
20200 if (sizeof ac_aggr.mt_gstat)
20206 rm -f conftest.$ac_objext
20207 if { (ac_try="$ac_compile"
20208 case "(($ac_try" in
20209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20210 *) ac_try_echo=$ac_try;;
20212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20213 (eval "$ac_compile") 2>conftest.er1
20215 grep -v '^ *+' conftest.er1 >conftest.err
20217 cat conftest.err >&5
20218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219 (exit $ac_status); } && {
20220 test -z "$ac_c_werror_flag" ||
20221 test ! -s conftest.err
20222 } && test -s conftest.$ac_objext; then
20223 ac_cv_member_struct_mtget_mt_gstat=yes
20225 echo "$as_me: failed program was:" >&5
20226 sed 's/^/| /' conftest.$ac_ext >&5
20228 ac_cv_member_struct_mtget_mt_gstat=no
20231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20236 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20237 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20238 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20240 cat >>confdefs.h <<_ACEOF
20241 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20246 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20247 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20248 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20249 echo $ECHO_N "(cached) $ECHO_C" >&6
20251 cat >conftest.$ac_ext <<_ACEOF
20254 cat confdefs.h >>conftest.$ac_ext
20255 cat >>conftest.$ac_ext <<_ACEOF
20256 /* end confdefs.h. */
20257 #include <sys/types.h>
20258 #ifdef HAVE_SYS_MTIO_H
20259 #include <sys/mtio.h>
20265 static struct mtget ac_aggr;
20266 if (ac_aggr.mt_blkno)
20272 rm -f conftest.$ac_objext
20273 if { (ac_try="$ac_compile"
20274 case "(($ac_try" in
20275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20276 *) ac_try_echo=$ac_try;;
20278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20279 (eval "$ac_compile") 2>conftest.er1
20281 grep -v '^ *+' conftest.er1 >conftest.err
20283 cat conftest.err >&5
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); } && {
20286 test -z "$ac_c_werror_flag" ||
20287 test ! -s conftest.err
20288 } && test -s conftest.$ac_objext; then
20289 ac_cv_member_struct_mtget_mt_blkno=yes
20291 echo "$as_me: failed program was:" >&5
20292 sed 's/^/| /' conftest.$ac_ext >&5
20294 cat >conftest.$ac_ext <<_ACEOF
20297 cat confdefs.h >>conftest.$ac_ext
20298 cat >>conftest.$ac_ext <<_ACEOF
20299 /* end confdefs.h. */
20300 #include <sys/types.h>
20301 #ifdef HAVE_SYS_MTIO_H
20302 #include <sys/mtio.h>
20308 static struct mtget ac_aggr;
20309 if (sizeof ac_aggr.mt_blkno)
20315 rm -f conftest.$ac_objext
20316 if { (ac_try="$ac_compile"
20317 case "(($ac_try" in
20318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20319 *) ac_try_echo=$ac_try;;
20321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20322 (eval "$ac_compile") 2>conftest.er1
20324 grep -v '^ *+' conftest.er1 >conftest.err
20326 cat conftest.err >&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); } && {
20329 test -z "$ac_c_werror_flag" ||
20330 test ! -s conftest.err
20331 } && test -s conftest.$ac_objext; then
20332 ac_cv_member_struct_mtget_mt_blkno=yes
20334 echo "$as_me: failed program was:" >&5
20335 sed 's/^/| /' conftest.$ac_ext >&5
20337 ac_cv_member_struct_mtget_mt_blkno=no
20340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20345 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20346 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20347 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20349 cat >>confdefs.h <<_ACEOF
20350 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20357 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20358 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20359 if test "${ac_cv_member_struct_option_name+set}" = set; then
20360 echo $ECHO_N "(cached) $ECHO_C" >&6
20362 cat >conftest.$ac_ext <<_ACEOF
20365 cat confdefs.h >>conftest.$ac_ext
20366 cat >>conftest.$ac_ext <<_ACEOF
20367 /* end confdefs.h. */
20368 #ifdef HAVE_GETOPT_H
20369 #include <getopt.h>
20375 static struct option ac_aggr;
20382 rm -f conftest.$ac_objext
20383 if { (ac_try="$ac_compile"
20384 case "(($ac_try" in
20385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20386 *) ac_try_echo=$ac_try;;
20388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20389 (eval "$ac_compile") 2>conftest.er1
20391 grep -v '^ *+' conftest.er1 >conftest.err
20393 cat conftest.err >&5
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); } && {
20396 test -z "$ac_c_werror_flag" ||
20397 test ! -s conftest.err
20398 } && test -s conftest.$ac_objext; then
20399 ac_cv_member_struct_option_name=yes
20401 echo "$as_me: failed program was:" >&5
20402 sed 's/^/| /' conftest.$ac_ext >&5
20404 cat >conftest.$ac_ext <<_ACEOF
20407 cat confdefs.h >>conftest.$ac_ext
20408 cat >>conftest.$ac_ext <<_ACEOF
20409 /* end confdefs.h. */
20410 #ifdef HAVE_GETOPT_H
20411 #include <getopt.h>
20417 static struct option ac_aggr;
20418 if (sizeof ac_aggr.name)
20424 rm -f conftest.$ac_objext
20425 if { (ac_try="$ac_compile"
20426 case "(($ac_try" in
20427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20428 *) ac_try_echo=$ac_try;;
20430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20431 (eval "$ac_compile") 2>conftest.er1
20433 grep -v '^ *+' conftest.er1 >conftest.err
20435 cat conftest.err >&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); } && {
20438 test -z "$ac_c_werror_flag" ||
20439 test ! -s conftest.err
20440 } && test -s conftest.$ac_objext; then
20441 ac_cv_member_struct_option_name=yes
20443 echo "$as_me: failed program was:" >&5
20444 sed 's/^/| /' conftest.$ac_ext >&5
20446 ac_cv_member_struct_option_name=no
20449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20454 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20455 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20456 if test $ac_cv_member_struct_option_name = yes; then
20458 cat >>confdefs.h <<_ACEOF
20459 #define HAVE_STRUCT_OPTION_NAME 1
20466 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20467 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20468 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20469 echo $ECHO_N "(cached) $ECHO_C" >&6
20471 cat >conftest.$ac_ext <<_ACEOF
20474 cat confdefs.h >>conftest.$ac_ext
20475 cat >>conftest.$ac_ext <<_ACEOF
20476 /* end confdefs.h. */
20477 $ac_includes_default
20481 static struct stat ac_aggr;
20482 if (ac_aggr.st_blocks)
20488 rm -f conftest.$ac_objext
20489 if { (ac_try="$ac_compile"
20490 case "(($ac_try" in
20491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20492 *) ac_try_echo=$ac_try;;
20494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20495 (eval "$ac_compile") 2>conftest.er1
20497 grep -v '^ *+' conftest.er1 >conftest.err
20499 cat conftest.err >&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); } && {
20502 test -z "$ac_c_werror_flag" ||
20503 test ! -s conftest.err
20504 } && test -s conftest.$ac_objext; then
20505 ac_cv_member_struct_stat_st_blocks=yes
20507 echo "$as_me: failed program was:" >&5
20508 sed 's/^/| /' conftest.$ac_ext >&5
20510 cat >conftest.$ac_ext <<_ACEOF
20513 cat confdefs.h >>conftest.$ac_ext
20514 cat >>conftest.$ac_ext <<_ACEOF
20515 /* end confdefs.h. */
20516 $ac_includes_default
20520 static struct stat ac_aggr;
20521 if (sizeof ac_aggr.st_blocks)
20527 rm -f conftest.$ac_objext
20528 if { (ac_try="$ac_compile"
20529 case "(($ac_try" in
20530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20531 *) ac_try_echo=$ac_try;;
20533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20534 (eval "$ac_compile") 2>conftest.er1
20536 grep -v '^ *+' conftest.er1 >conftest.err
20538 cat conftest.err >&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); } && {
20541 test -z "$ac_c_werror_flag" ||
20542 test ! -s conftest.err
20543 } && test -s conftest.$ac_objext; then
20544 ac_cv_member_struct_stat_st_blocks=yes
20546 echo "$as_me: failed program was:" >&5
20547 sed 's/^/| /' conftest.$ac_ext >&5
20549 ac_cv_member_struct_stat_st_blocks=no
20552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20557 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20558 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20559 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20561 cat >>confdefs.h <<_ACEOF
20562 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20569 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20570 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20571 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20572 echo $ECHO_N "(cached) $ECHO_C" >&6
20574 cat >conftest.$ac_ext <<_ACEOF
20577 cat confdefs.h >>conftest.$ac_ext
20578 cat >>conftest.$ac_ext <<_ACEOF
20579 /* end confdefs.h. */
20580 #ifdef HAVE_SYS_TYPES_H
20581 #include <sys/types.h>
20583 #ifdef HAVE_NETINET_IN_H
20584 #include <netinet/in.h>
20590 static struct sockaddr_in6 ac_aggr;
20591 if (ac_aggr.sin6_scope_id)
20597 rm -f conftest.$ac_objext
20598 if { (ac_try="$ac_compile"
20599 case "(($ac_try" in
20600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20601 *) ac_try_echo=$ac_try;;
20603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20604 (eval "$ac_compile") 2>conftest.er1
20606 grep -v '^ *+' conftest.er1 >conftest.err
20608 cat conftest.err >&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } && {
20611 test -z "$ac_c_werror_flag" ||
20612 test ! -s conftest.err
20613 } && test -s conftest.$ac_objext; then
20614 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20616 echo "$as_me: failed program was:" >&5
20617 sed 's/^/| /' conftest.$ac_ext >&5
20619 cat >conftest.$ac_ext <<_ACEOF
20622 cat confdefs.h >>conftest.$ac_ext
20623 cat >>conftest.$ac_ext <<_ACEOF
20624 /* end confdefs.h. */
20625 #ifdef HAVE_SYS_TYPES_H
20626 #include <sys/types.h>
20628 #ifdef HAVE_NETINET_IN_H
20629 #include <netinet/in.h>
20635 static struct sockaddr_in6 ac_aggr;
20636 if (sizeof ac_aggr.sin6_scope_id)
20642 rm -f conftest.$ac_objext
20643 if { (ac_try="$ac_compile"
20644 case "(($ac_try" in
20645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20646 *) ac_try_echo=$ac_try;;
20648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20649 (eval "$ac_compile") 2>conftest.er1
20651 grep -v '^ *+' conftest.er1 >conftest.err
20653 cat conftest.err >&5
20654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20655 (exit $ac_status); } && {
20656 test -z "$ac_c_werror_flag" ||
20657 test ! -s conftest.err
20658 } && test -s conftest.$ac_objext; then
20659 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20661 echo "$as_me: failed program was:" >&5
20662 sed 's/^/| /' conftest.$ac_ext >&5
20664 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20672 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20673 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20674 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20676 cat >>confdefs.h <<_ACEOF
20677 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20684 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20685 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20686 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20687 echo $ECHO_N "(cached) $ECHO_C" >&6
20689 cat >conftest.$ac_ext <<_ACEOF
20692 cat confdefs.h >>conftest.$ac_ext
20693 cat >>conftest.$ac_ext <<_ACEOF
20694 /* end confdefs.h. */
20695 #ifdef HAVE_SYS_TYPES_H
20696 #include <sys/types.h>
20698 #ifdef HAVE_NETINET_IN_H
20699 # include <netinet/in.h>
20701 #ifdef HAVE_ARPA_NAMESER_H
20702 # include <arpa/nameser.h>
20708 static ns_msg ac_aggr;
20709 if (ac_aggr._msg_ptr)
20715 rm -f conftest.$ac_objext
20716 if { (ac_try="$ac_compile"
20717 case "(($ac_try" in
20718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20719 *) ac_try_echo=$ac_try;;
20721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20722 (eval "$ac_compile") 2>conftest.er1
20724 grep -v '^ *+' conftest.er1 >conftest.err
20726 cat conftest.err >&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); } && {
20729 test -z "$ac_c_werror_flag" ||
20730 test ! -s conftest.err
20731 } && test -s conftest.$ac_objext; then
20732 ac_cv_member_ns_msg__msg_ptr=yes
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.$ac_ext >&5
20737 cat >conftest.$ac_ext <<_ACEOF
20740 cat confdefs.h >>conftest.$ac_ext
20741 cat >>conftest.$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 #ifdef HAVE_SYS_TYPES_H
20744 #include <sys/types.h>
20746 #ifdef HAVE_NETINET_IN_H
20747 # include <netinet/in.h>
20749 #ifdef HAVE_ARPA_NAMESER_H
20750 # include <arpa/nameser.h>
20756 static ns_msg ac_aggr;
20757 if (sizeof ac_aggr._msg_ptr)
20763 rm -f conftest.$ac_objext
20764 if { (ac_try="$ac_compile"
20765 case "(($ac_try" in
20766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20767 *) ac_try_echo=$ac_try;;
20769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20770 (eval "$ac_compile") 2>conftest.er1
20772 grep -v '^ *+' conftest.er1 >conftest.err
20774 cat conftest.err >&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); } && {
20777 test -z "$ac_c_werror_flag" ||
20778 test ! -s conftest.err
20779 } && test -s conftest.$ac_objext; then
20780 ac_cv_member_ns_msg__msg_ptr=yes
20782 echo "$as_me: failed program was:" >&5
20783 sed 's/^/| /' conftest.$ac_ext >&5
20785 ac_cv_member_ns_msg__msg_ptr=no
20788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20793 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20794 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20795 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20797 cat >>confdefs.h <<_ACEOF
20798 #define HAVE_NS_MSG__MSG_PTR 1
20805 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20806 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20807 if test "${ac_cv_have_timezone+set}" = set; then
20808 echo $ECHO_N "(cached) $ECHO_C" >&6
20810 cat >conftest.$ac_ext <<_ACEOF
20813 cat confdefs.h >>conftest.$ac_ext
20814 cat >>conftest.$ac_ext <<_ACEOF
20815 /* end confdefs.h. */
20825 rm -f conftest.$ac_objext conftest$ac_exeext
20826 if { (ac_try="$ac_link"
20827 case "(($ac_try" in
20828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20829 *) ac_try_echo=$ac_try;;
20831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20832 (eval "$ac_link") 2>conftest.er1
20834 grep -v '^ *+' conftest.er1 >conftest.err
20836 cat conftest.err >&5
20837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838 (exit $ac_status); } && {
20839 test -z "$ac_c_werror_flag" ||
20840 test ! -s conftest.err
20841 } && test -s conftest$ac_exeext &&
20842 $as_test_x conftest$ac_exeext; then
20843 ac_cv_have_timezone="yes"
20845 echo "$as_me: failed program was:" >&5
20846 sed 's/^/| /' conftest.$ac_ext >&5
20848 ac_cv_have_timezone="no"
20851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20852 conftest$ac_exeext conftest.$ac_ext
20854 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20855 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20856 if test "$ac_cv_have_timezone" = "yes"
20859 cat >>confdefs.h <<\_ACEOF
20860 #define HAVE_TIMEZONE 1
20864 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20865 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20866 if test "${ac_cv_have_daylight+set}" = set; then
20867 echo $ECHO_N "(cached) $ECHO_C" >&6
20869 cat >conftest.$ac_ext <<_ACEOF
20872 cat confdefs.h >>conftest.$ac_ext
20873 cat >>conftest.$ac_ext <<_ACEOF
20874 /* end confdefs.h. */
20884 rm -f conftest.$ac_objext conftest$ac_exeext
20885 if { (ac_try="$ac_link"
20886 case "(($ac_try" in
20887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20888 *) ac_try_echo=$ac_try;;
20890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20891 (eval "$ac_link") 2>conftest.er1
20893 grep -v '^ *+' conftest.er1 >conftest.err
20895 cat conftest.err >&5
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); } && {
20898 test -z "$ac_c_werror_flag" ||
20899 test ! -s conftest.err
20900 } && test -s conftest$ac_exeext &&
20901 $as_test_x conftest$ac_exeext; then
20902 ac_cv_have_daylight="yes"
20904 echo "$as_me: failed program was:" >&5
20905 sed 's/^/| /' conftest.$ac_ext >&5
20907 ac_cv_have_daylight="no"
20910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20911 conftest$ac_exeext conftest.$ac_ext
20913 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20914 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20915 if test "$ac_cv_have_daylight" = "yes"
20918 cat >>confdefs.h <<\_ACEOF
20919 #define HAVE_DAYLIGHT 1
20926 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20927 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20928 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20929 echo $ECHO_N "(cached) $ECHO_C" >&6
20931 cat >conftest.$ac_ext <<_ACEOF
20934 cat confdefs.h >>conftest.$ac_ext
20935 cat >>conftest.$ac_ext <<_ACEOF
20936 /* end confdefs.h. */
20941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20942 $EGREP "yes" >/dev/null 2>&1; then
20943 ac_cv_cpp_def___i386__=yes
20945 ac_cv_cpp_def___i386__=no
20950 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20951 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20952 if test $ac_cv_cpp_def___i386__ = yes; then
20953 CFLAGS="$CFLAGS -D__i386__"
20954 LINTFLAGS="$LINTFLAGS -D__i386__"
20957 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20958 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20959 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20960 echo $ECHO_N "(cached) $ECHO_C" >&6
20962 cat >conftest.$ac_ext <<_ACEOF
20965 cat confdefs.h >>conftest.$ac_ext
20966 cat >>conftest.$ac_ext <<_ACEOF
20967 /* end confdefs.h. */
20972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20973 $EGREP "yes" >/dev/null 2>&1; then
20974 ac_cv_cpp_def___x86_64__=yes
20976 ac_cv_cpp_def___x86_64__=no
20981 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20982 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20983 if test $ac_cv_cpp_def___x86_64__ = yes; then
20984 CFLAGS="$CFLAGS -D__x86_64__"
20985 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20988 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20989 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20990 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20991 echo $ECHO_N "(cached) $ECHO_C" >&6
20993 cat >conftest.$ac_ext <<_ACEOF
20996 cat confdefs.h >>conftest.$ac_ext
20997 cat >>conftest.$ac_ext <<_ACEOF
20998 /* end confdefs.h. */
21003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21004 $EGREP "yes" >/dev/null 2>&1; then
21005 ac_cv_cpp_def___ALPHA__=yes
21007 ac_cv_cpp_def___ALPHA__=no
21012 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21013 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21014 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21015 CFLAGS="$CFLAGS -D__ALPHA__"
21016 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21019 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21020 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21021 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21022 echo $ECHO_N "(cached) $ECHO_C" >&6
21024 cat >conftest.$ac_ext <<_ACEOF
21027 cat confdefs.h >>conftest.$ac_ext
21028 cat >>conftest.$ac_ext <<_ACEOF
21029 /* end confdefs.h. */
21034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21035 $EGREP "yes" >/dev/null 2>&1; then
21036 ac_cv_cpp_def___sparc__=yes
21038 ac_cv_cpp_def___sparc__=no
21043 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21044 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21045 if test $ac_cv_cpp_def___sparc__ = yes; then
21046 CFLAGS="$CFLAGS -D__sparc__"
21047 LINTFLAGS="$LINTFLAGS -D__sparc__"
21050 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21051 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21052 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21053 echo $ECHO_N "(cached) $ECHO_C" >&6
21055 cat >conftest.$ac_ext <<_ACEOF
21058 cat confdefs.h >>conftest.$ac_ext
21059 cat >>conftest.$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21061 #ifndef __powerpc__
21065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21066 $EGREP "yes" >/dev/null 2>&1; then
21067 ac_cv_cpp_def___powerpc__=yes
21069 ac_cv_cpp_def___powerpc__=no
21074 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21075 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21076 if test $ac_cv_cpp_def___powerpc__ = yes; then
21077 CFLAGS="$CFLAGS -D__powerpc__"
21078 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21083 case $host_vendor in
21084 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21085 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21086 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21087 echo $ECHO_N "(cached) $ECHO_C" >&6
21089 cat >conftest.$ac_ext <<_ACEOF
21092 cat confdefs.h >>conftest.$ac_ext
21093 cat >>conftest.$ac_ext <<_ACEOF
21094 /* end confdefs.h. */
21099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21100 $EGREP "yes" >/dev/null 2>&1; then
21101 ac_cv_cpp_def___sun__=yes
21103 ac_cv_cpp_def___sun__=no
21108 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21109 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21110 if test $ac_cv_cpp_def___sun__ = yes; then
21111 CFLAGS="$CFLAGS -D__sun__"
21112 LINTFLAGS="$LINTFLAGS -D__sun__"
21118 DEPENDENCIES="### Dependencies:
21123 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21125 \$(OBJS): \$(IDL_GEN_HEADERS)
21126 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21127 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21128 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21134 ac_config_commands="$ac_config_commands include/stamp-h"
21137 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21139 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21141 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21143 ac_config_commands="$ac_config_commands dlls/user32/resources"
21145 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21147 ac_config_commands="$ac_config_commands include/wine"
21150 MAKE_RULES=Make.rules
21153 MAKE_DLL_RULES=dlls/Makedll.rules
21156 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21159 MAKE_TEST_RULES=dlls/Maketest.rules
21162 MAKE_PROG_RULES=programs/Makeprog.rules
21165 ac_config_files="$ac_config_files Make.rules"
21167 ac_config_files="$ac_config_files dlls/Makedll.rules"
21169 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21171 ac_config_files="$ac_config_files dlls/Maketest.rules"
21173 ac_config_files="$ac_config_files programs/Makeprog.rules"
21175 ac_config_files="$ac_config_files Makefile"
21177 ac_config_files="$ac_config_files dlls/Makefile"
21179 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21181 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21183 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21185 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21187 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21189 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21191 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21193 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21195 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21197 ac_config_files="$ac_config_files dlls/atl/Makefile"
21199 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21201 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21203 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21205 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21207 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21209 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21211 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21213 ac_config_files="$ac_config_files dlls/cards/Makefile"
21215 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21217 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21219 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21221 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21223 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21225 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21227 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21229 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21231 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21233 ac_config_files="$ac_config_files dlls/credui/Makefile"
21235 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21237 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21239 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21241 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21243 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21245 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21247 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21249 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21251 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21253 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21255 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21257 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21259 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21261 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21263 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21265 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21267 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21269 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21271 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21273 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21275 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21277 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21279 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21281 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21283 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21285 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21287 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21289 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21291 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21293 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21295 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21297 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21299 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21301 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21303 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21305 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21307 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21309 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21311 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21313 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21315 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21317 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21319 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21321 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21323 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21325 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21327 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21329 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21331 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21333 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21335 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21337 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21339 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21341 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21343 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21345 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21347 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21349 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21351 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21353 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21355 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21357 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21359 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21361 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21363 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21365 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21367 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21369 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21371 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21373 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21375 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21377 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21379 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21381 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21383 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21385 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21387 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21389 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21391 ac_config_files="$ac_config_files dlls/hal/Makefile"
21393 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21395 ac_config_files="$ac_config_files dlls/hid/Makefile"
21397 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21399 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21401 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21403 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21405 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21407 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21409 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21411 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21413 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21415 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21417 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21419 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21421 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21423 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21425 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21427 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21429 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21431 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21433 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21435 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21437 ac_config_files="$ac_config_files dlls/itss/Makefile"
21439 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21441 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21443 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21445 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21447 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21449 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21451 ac_config_files="$ac_config_files dlls/localui/Makefile"
21453 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21455 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21457 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21459 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21461 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21463 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21465 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21467 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21469 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21471 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21473 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21475 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21477 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21479 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21481 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21483 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21485 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21487 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21489 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21491 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21493 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21495 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21497 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21499 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21501 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21503 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21505 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21507 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21509 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21511 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21513 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21515 ac_config_files="$ac_config_files dlls/msi/Makefile"
21517 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21519 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21521 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21523 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21525 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21527 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21529 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21531 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21533 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21535 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21537 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21539 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21541 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21543 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21545 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21547 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21549 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21551 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21553 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21555 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21557 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21559 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21561 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21563 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21565 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21567 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21569 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21571 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21573 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21575 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21577 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21579 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21581 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21583 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21585 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21587 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21589 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21591 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21593 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21595 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21597 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21599 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21601 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21603 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21605 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21607 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21609 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21611 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21613 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21615 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21617 ac_config_files="$ac_config_files dlls/printui/Makefile"
21619 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21621 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21623 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21625 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21627 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21629 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21631 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21633 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21635 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
21637 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21639 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21641 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21643 ac_config_files="$ac_config_files dlls/query/Makefile"
21645 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21647 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21649 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21651 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21653 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21655 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21657 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21659 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21661 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21663 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
21665 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21667 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21669 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21671 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
21673 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21675 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
21677 ac_config_files="$ac_config_files dlls/secur32/Makefile"
21679 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
21681 ac_config_files="$ac_config_files dlls/security/Makefile"
21683 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
21685 ac_config_files="$ac_config_files dlls/serialui/Makefile"
21687 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
21689 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
21691 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21693 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21695 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21697 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21699 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21701 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21703 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21705 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21707 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21709 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21711 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21713 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
21715 ac_config_files="$ac_config_files dlls/slc/Makefile"
21717 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21719 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21721 ac_config_files="$ac_config_files dlls/softpub/Makefile"
21723 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21725 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21727 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21729 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21731 ac_config_files="$ac_config_files dlls/sti/Makefile"
21733 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21735 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21737 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21739 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21741 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21743 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21745 ac_config_files="$ac_config_files dlls/url/Makefile"
21747 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21749 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21751 ac_config_files="$ac_config_files dlls/user32/Makefile"
21753 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21755 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21757 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21759 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21761 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21763 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21765 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21767 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21769 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21771 ac_config_files="$ac_config_files dlls/version/Makefile"
21773 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21775 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21777 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21779 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21781 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21783 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21785 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21787 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21789 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21791 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21793 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21795 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21797 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21799 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21801 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21803 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21805 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21807 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21809 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21811 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21813 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21815 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21817 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21819 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21821 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21823 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21825 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21827 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21829 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21831 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21833 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21835 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21837 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21839 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21841 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21843 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21845 ac_config_files="$ac_config_files dlls/wmi/Makefile"
21847 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21849 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21851 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21853 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21855 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21857 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21859 ac_config_files="$ac_config_files documentation/Makefile"
21861 ac_config_files="$ac_config_files fonts/Makefile"
21863 ac_config_files="$ac_config_files include/Makefile"
21865 ac_config_files="$ac_config_files libs/Makefile"
21867 ac_config_files="$ac_config_files libs/port/Makefile"
21869 ac_config_files="$ac_config_files libs/wine/Makefile"
21871 ac_config_files="$ac_config_files libs/wpp/Makefile"
21873 ac_config_files="$ac_config_files loader/Makefile"
21875 ac_config_files="$ac_config_files programs/Makefile"
21877 ac_config_files="$ac_config_files programs/clock/Makefile"
21879 ac_config_files="$ac_config_files programs/cmd/Makefile"
21881 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21883 ac_config_files="$ac_config_files programs/control/Makefile"
21885 ac_config_files="$ac_config_files programs/eject/Makefile"
21887 ac_config_files="$ac_config_files programs/expand/Makefile"
21889 ac_config_files="$ac_config_files programs/explorer/Makefile"
21891 ac_config_files="$ac_config_files programs/hh/Makefile"
21893 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21895 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21897 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21899 ac_config_files="$ac_config_files programs/net/Makefile"
21901 ac_config_files="$ac_config_files programs/notepad/Makefile"
21903 ac_config_files="$ac_config_files programs/oleview/Makefile"
21905 ac_config_files="$ac_config_files programs/progman/Makefile"
21907 ac_config_files="$ac_config_files programs/regedit/Makefile"
21909 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21911 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21913 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21915 ac_config_files="$ac_config_files programs/secedit/Makefile"
21917 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21919 ac_config_files="$ac_config_files programs/start/Makefile"
21921 ac_config_files="$ac_config_files programs/svchost/Makefile"
21923 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21925 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21927 ac_config_files="$ac_config_files programs/view/Makefile"
21929 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21931 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21933 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21935 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21937 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21939 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21941 ac_config_files="$ac_config_files programs/winefile/Makefile"
21943 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21945 ac_config_files="$ac_config_files programs/winemine/Makefile"
21947 ac_config_files="$ac_config_files programs/winepath/Makefile"
21949 ac_config_files="$ac_config_files programs/winetest/Makefile"
21951 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21953 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21955 ac_config_files="$ac_config_files programs/winver/Makefile"
21957 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21959 ac_config_files="$ac_config_files programs/write/Makefile"
21961 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21963 ac_config_files="$ac_config_files server/Makefile"
21965 ac_config_files="$ac_config_files tools/Makefile"
21967 ac_config_files="$ac_config_files tools/widl/Makefile"
21969 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21971 ac_config_files="$ac_config_files tools/winedump/Makefile"
21973 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21975 ac_config_files="$ac_config_files tools/wmc/Makefile"
21977 ac_config_files="$ac_config_files tools/wrc/Makefile"
21980 cat >confcache <<\_ACEOF
21981 # This file is a shell script that caches the results of configure
21982 # tests run on this system so they can be shared between configure
21983 # scripts and configure runs, see configure's option --config-cache.
21984 # It is not useful on other systems. If it contains results you don't
21985 # want to keep, you may remove or edit it.
21987 # config.status only pays attention to the cache file if you give it
21988 # the --recheck option to rerun configure.
21990 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21991 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21992 # following values.
21996 # The following way of writing the cache mishandles newlines in values,
21997 # but we know of no workaround that is simple, portable, and efficient.
21998 # So, we kill variables containing newlines.
21999 # Ultrix sh set writes to stderr and can't be redirected directly,
22000 # and sets the high bit in the cache file unless we assign to the vars.
22002 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22003 eval ac_val=\$$ac_var
22007 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22008 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22011 _ | IFS | as_nl) ;; #(
22012 *) $as_unset $ac_var ;;
22018 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22019 *${as_nl}ac_space=\ *)
22020 # `set' does not quote correctly, so add quotes (double-quote
22021 # substitution turns \\\\ into \\, and sed turns \\ into \).
22024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22027 # `set' quotes correctly as required by POSIX, so do not add quotes.
22028 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22037 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22039 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22041 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22042 if test -w "$cache_file"; then
22043 test "x$cache_file" != "x/dev/null" &&
22044 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22045 echo "$as_me: updating cache $cache_file" >&6;}
22046 cat confcache >$cache_file
22048 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22049 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22054 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22055 # Let make expand exec_prefix.
22056 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22058 DEFS=-DHAVE_CONFIG_H
22062 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22063 # 1. Remove the extension, and $U if already installed.
22064 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22065 ac_i=`echo "$ac_i" | sed "$ac_script"`
22066 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22067 # will be set to the directory where LIBOBJS objects are built.
22068 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22069 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22071 LIBOBJS=$ac_libobjs
22073 LTLIBOBJS=$ac_ltlibobjs
22077 : ${CONFIG_STATUS=./config.status}
22078 ac_clean_files_save=$ac_clean_files
22079 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22080 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22081 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22082 cat >$CONFIG_STATUS <<_ACEOF
22084 # Generated by $as_me.
22085 # Run this file to recreate the current configuration.
22086 # Compiler output produced by configure, useful for debugging
22087 # configure, is in config.log if it exists.
22090 ac_cs_recheck=false
22092 SHELL=\${CONFIG_SHELL-$SHELL}
22095 cat >>$CONFIG_STATUS <<\_ACEOF
22096 ## --------------------- ##
22097 ## M4sh Initialization. ##
22098 ## --------------------- ##
22100 # Be more Bourne compatible
22101 DUALCASE=1; export DUALCASE # for MKS sh
22102 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22105 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22106 # is contrary to our usage. Disable this feature.
22107 alias -g '${1+"$@"}'='"$@"'
22108 setopt NO_GLOB_SUBST
22110 case `(set -o) 2>/dev/null` in
22111 *posix*) set -o posix ;;
22120 # Avoid depending upon Character Ranges.
22121 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22122 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22123 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22124 as_cr_digits='0123456789'
22125 as_cr_alnum=$as_cr_Letters$as_cr_digits
22127 # The user is always right.
22128 if test "${PATH_SEPARATOR+set}" != set; then
22129 echo "#! /bin/sh" >conf$$.sh
22130 echo "exit 0" >>conf$$.sh
22132 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22140 # Support unset when possible.
22141 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22149 # We need space, tab and new line, in precisely that order. Quoting is
22150 # there to prevent editors from complaining about space-tab.
22151 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22152 # splitting by setting IFS to empty value.)
22157 # Find who we are. Look in the path if we contain no directory separator.
22159 *[\\/]* ) as_myself=$0 ;;
22160 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22161 for as_dir in $PATH
22164 test -z "$as_dir" && as_dir=.
22165 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22171 # We did not find ourselves, most probably we were run as `sh COMMAND'
22172 # in which case we are not to be found in the path.
22173 if test "x$as_myself" = x; then
22176 if test ! -f "$as_myself"; then
22177 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22178 { (exit 1); exit 1; }
22181 # Work around bugs in pre-3.0 UWIN ksh.
22182 for as_var in ENV MAIL MAILPATH
22183 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22191 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22192 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22193 LC_TELEPHONE LC_TIME
22195 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22196 eval $as_var=C; export $as_var
22198 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22202 # Required to use basename.
22203 if expr a : '\(a\)' >/dev/null 2>&1 &&
22204 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22210 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22211 as_basename=basename
22217 # Name of the executable.
22218 as_me=`$as_basename -- "$0" ||
22219 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22220 X"$0" : 'X\(//\)$' \| \
22221 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22223 sed '/^.*\/\([^/][^/]*\)\/*$/{
22242 as_lineno_1=$LINENO
22243 as_lineno_2=$LINENO
22244 test "x$as_lineno_1" != "x$as_lineno_2" &&
22245 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22247 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22248 # uniformly replaced by the line number. The first 'sed' inserts a
22249 # line-number line after each line using $LINENO; the second 'sed'
22250 # does the real work. The second script uses 'N' to pair each
22251 # line-number line with the line containing $LINENO, and appends
22252 # trailing '-' during substitution so that $LINENO is not a special
22253 # case at line end.
22254 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22255 # scripts with optimization help from Paolo Bonzini. Blame Lee
22256 # E. McMahon (1931-1989) for sed's syntax. :-)
22268 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22271 ' >$as_me.lineno &&
22272 chmod +x "$as_me.lineno" ||
22273 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22274 { (exit 1); exit 1; }; }
22276 # Don't try to exec as it changes $[0], causing all sort of problems
22277 # (the dirname of $[0] is not the place where we might find the
22278 # original and so on. Autoconf is especially sensitive to this).
22279 . "./$as_me.lineno"
22280 # Exit status is that of the last command.
22285 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22291 ECHO_C= ECHO_N= ECHO_T=
22292 case `echo -n x` in
22294 case `echo 'x\c'` in
22295 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22302 if expr a : '\(a\)' >/dev/null 2>&1 &&
22303 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22309 rm -f conf$$ conf$$.exe conf$$.file
22310 if test -d conf$$.dir; then
22311 rm -f conf$$.dir/conf$$.file
22317 if ln -s conf$$.file conf$$ 2>/dev/null; then
22319 # ... but there are two gotchas:
22320 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22321 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22322 # In both cases, we have to default to `cp -p'.
22323 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22325 elif ln conf$$.file conf$$ 2>/dev/null; then
22330 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22331 rmdir conf$$.dir 2>/dev/null
22333 if mkdir -p . 2>/dev/null; then
22336 test -d ./-p && rmdir ./-p
22340 if test -x / >/dev/null 2>&1; then
22341 as_test_x='test -x'
22343 if ls -dL / >/dev/null 2>&1; then
22350 if test -d "$1"; then
22356 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22357 ???[sx]*):;;*)false;;esac;fi
22361 as_executable_p=$as_test_x
22363 # Sed expression to map a string onto a valid CPP name.
22364 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22366 # Sed expression to map a string onto a valid variable name.
22367 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22372 # Save the log message, to keep $[0] and so on meaningful, and to
22373 # report actual input values of CONFIG_FILES etc. instead of their
22374 # values after options handling.
22376 This file was extended by Wine $as_me 0.9.57, which was
22377 generated by GNU Autoconf 2.61. Invocation command line was
22379 CONFIG_FILES = $CONFIG_FILES
22380 CONFIG_HEADERS = $CONFIG_HEADERS
22381 CONFIG_LINKS = $CONFIG_LINKS
22382 CONFIG_COMMANDS = $CONFIG_COMMANDS
22385 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22390 cat >>$CONFIG_STATUS <<_ACEOF
22391 # Files that config.status was made for.
22392 config_files="$ac_config_files"
22393 config_headers="$ac_config_headers"
22394 config_commands="$ac_config_commands"
22398 cat >>$CONFIG_STATUS <<\_ACEOF
22400 \`$as_me' instantiates files from templates according to the
22401 current configuration.
22403 Usage: $0 [OPTIONS] [FILE]...
22405 -h, --help print this help, then exit
22406 -V, --version print version number and configuration settings, then exit
22407 -q, --quiet do not print progress messages
22408 -d, --debug don't remove temporary files
22409 --recheck update $as_me by reconfiguring in the same conditions
22410 --file=FILE[:TEMPLATE]
22411 instantiate the configuration file FILE
22412 --header=FILE[:TEMPLATE]
22413 instantiate the configuration header FILE
22415 Configuration files:
22418 Configuration headers:
22421 Configuration commands:
22424 Report bugs to <bug-autoconf@gnu.org>."
22427 cat >>$CONFIG_STATUS <<_ACEOF
22429 Wine config.status 0.9.57
22430 configured by $0, generated by GNU Autoconf 2.61,
22431 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22433 Copyright (C) 2006 Free Software Foundation, Inc.
22434 This config.status script is free software; the Free Software Foundation
22435 gives unlimited permission to copy, distribute and modify it."
22442 cat >>$CONFIG_STATUS <<\_ACEOF
22443 # If no file are specified by the user, then we need to provide default
22444 # value. By we need to know if files were specified by the user.
22450 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22451 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22462 # Handling of the options.
22463 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22465 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22466 echo "$ac_cs_version"; exit ;;
22467 --debug | --debu | --deb | --de | --d | -d )
22469 --file | --fil | --fi | --f )
22471 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22472 ac_need_defaults=false;;
22473 --header | --heade | --head | --hea )
22475 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22476 ac_need_defaults=false;;
22478 # Conflict between --help and --header
22479 { echo "$as_me: error: ambiguous option: $1
22480 Try \`$0 --help' for more information." >&2
22481 { (exit 1); exit 1; }; };;
22482 --help | --hel | -h )
22483 echo "$ac_cs_usage"; exit ;;
22484 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22485 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22488 # This is an error.
22489 -*) { echo "$as_me: error: unrecognized option: $1
22490 Try \`$0 --help' for more information." >&2
22491 { (exit 1); exit 1; }; } ;;
22493 *) ac_config_targets="$ac_config_targets $1"
22494 ac_need_defaults=false ;;
22500 ac_configure_extra_args=
22502 if $ac_cs_silent; then
22504 ac_configure_extra_args="$ac_configure_extra_args --silent"
22508 cat >>$CONFIG_STATUS <<_ACEOF
22509 if \$ac_cs_recheck; then
22510 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22511 CONFIG_SHELL=$SHELL
22512 export CONFIG_SHELL
22513 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22517 cat >>$CONFIG_STATUS <<\_ACEOF
22521 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22522 ## Running $as_me. ##
22528 cat >>$CONFIG_STATUS <<_ACEOF
22531 cat >>$CONFIG_STATUS <<\_ACEOF
22533 # Handling of arguments.
22534 for ac_config_target in $ac_config_targets
22536 case $ac_config_target in
22537 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22538 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22539 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22540 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22541 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22542 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22543 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22544 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22545 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22546 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22547 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22548 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22549 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22550 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22551 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22552 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22553 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22554 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22555 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22556 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22557 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22558 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22559 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22560 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22561 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22562 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22563 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22564 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22565 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22566 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22567 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22568 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22569 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22570 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22571 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22572 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22573 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22574 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22575 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22576 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22577 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22578 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22579 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22580 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22581 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22582 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22583 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22584 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22585 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22586 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22587 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22588 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22589 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22590 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22591 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22592 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22593 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22594 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22595 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22596 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22597 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22598 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22599 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22600 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22601 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22602 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22603 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22604 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22605 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22606 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22607 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22608 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22609 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22610 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22611 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22612 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22613 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22614 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22615 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22616 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22617 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22618 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22619 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22620 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22621 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22622 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22623 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22624 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22625 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22626 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22627 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22628 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22629 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22630 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22631 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22632 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22633 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22634 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
22635 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22636 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22637 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22638 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22639 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22640 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22641 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
22642 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22643 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22644 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
22645 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22646 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22647 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22648 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22649 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22650 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22651 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22652 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22653 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22654 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22655 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
22656 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22657 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22658 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
22659 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22660 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
22661 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
22662 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22663 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22664 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22665 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
22666 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22667 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22668 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22669 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
22670 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22671 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22672 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22673 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22674 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22675 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
22676 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22677 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
22678 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22679 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22680 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
22681 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
22682 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22683 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
22684 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22685 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22686 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
22687 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22688 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
22689 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22690 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
22691 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22692 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22693 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22694 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22695 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22696 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22697 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22698 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
22699 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
22700 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22701 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22702 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22703 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22704 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
22705 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22706 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22707 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22708 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22709 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22710 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22711 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
22712 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22713 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22714 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22715 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22716 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22717 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22718 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22719 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22720 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
22721 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22722 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22723 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22724 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22725 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22726 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22727 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22728 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22729 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22730 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22731 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22732 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22733 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22734 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22735 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22736 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22737 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22738 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22739 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22740 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22741 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22742 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22743 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22744 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22745 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22746 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22747 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22748 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22749 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22750 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22751 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22752 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22753 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22754 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22755 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22756 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22757 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22758 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22759 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22760 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22761 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22762 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22763 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22764 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22765 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22766 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22767 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22768 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22769 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22770 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22771 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22772 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
22773 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22774 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22775 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22776 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22777 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
22778 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22779 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22780 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22781 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22782 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22783 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22784 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22785 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22786 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22787 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22788 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22789 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22790 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22791 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22792 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22793 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22794 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22795 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22796 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22797 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22798 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22799 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22800 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22801 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22802 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22803 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22804 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22805 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22806 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22807 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22808 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22809 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22810 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22811 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22812 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22813 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22814 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22815 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22816 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22817 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22818 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22819 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22820 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
22821 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22822 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22823 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
22824 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22825 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22826 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22827 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22828 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22829 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22830 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22831 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22832 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22833 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22834 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22835 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22836 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22837 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22838 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22839 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22840 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22841 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22842 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22843 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22844 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22845 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22846 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22847 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22848 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22849 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22850 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22851 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22852 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22853 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22854 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22855 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22856 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22857 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22858 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22859 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22860 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22861 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22862 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22863 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22864 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22865 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22866 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22867 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22868 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22869 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22870 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22871 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22872 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22873 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22874 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22875 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22876 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22877 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22878 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22879 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22880 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22881 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22882 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22883 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22884 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22885 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
22886 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22887 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22888 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22889 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22890 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22891 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22892 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
22893 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
22894 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22895 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
22896 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
22897 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
22898 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
22899 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
22900 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
22901 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
22902 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
22903 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22904 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
22905 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
22906 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
22907 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
22908 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
22909 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
22910 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
22911 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
22912 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
22913 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
22914 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
22915 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
22916 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
22917 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22918 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
22919 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
22920 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
22921 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22922 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
22923 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
22924 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22925 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22926 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
22927 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
22928 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22929 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
22930 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22931 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
22932 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
22933 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
22934 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22935 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
22936 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
22937 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
22938 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
22939 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
22940 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
22941 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
22942 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
22943 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
22944 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
22945 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22946 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
22947 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
22948 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
22949 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
22950 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
22951 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
22953 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22954 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22955 { (exit 1); exit 1; }; };;
22960 # If the user did not use the arguments to specify the items to instantiate,
22961 # then the envvar interface is used. Set only those that are not.
22962 # We use the long form for the default assignment because of an extremely
22963 # bizarre bug on SunOS 4.1.3.
22964 if $ac_need_defaults; then
22965 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22966 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22967 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22970 # Have a temporary directory for convenience. Make it in the build tree
22971 # simply because there is no reason against having it here, and in addition,
22972 # creating and moving files from /tmp can sometimes cause problems.
22973 # Hook for its removal unless debugging.
22974 # Note that there is a small window in which the directory will not be cleaned:
22975 # after its creation but before its name has been assigned to `$tmp'.
22979 trap 'exit_status=$?
22980 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22982 trap '{ (exit 1); exit 1; }' 1 2 13 15
22984 # Create a (secure) tmp directory for tmp files.
22987 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22988 test -n "$tmp" && test -d "$tmp"
22991 tmp=./conf$$-$RANDOM
22992 (umask 077 && mkdir "$tmp")
22995 echo "$me: cannot create a temporary directory in ." >&2
22996 { (exit 1); exit 1; }
23000 # Set up the sed scripts for CONFIG_FILES section.
23003 # No need to generate the scripts if there are no CONFIG_FILES.
23004 # This happens for instance when ./config.status config.h
23005 if test -n "$CONFIG_FILES"; then
23009 # Create sed commands to just substitute file output variables.
23011 # Remaining file output variables are in a fragment that also has non-file
23017 for ac_last_try in false false false false false :; do
23018 cat >conf$$subs.sed <<_ACEOF
23019 SHELL!$SHELL$ac_delim
23020 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23021 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23022 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23023 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23024 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23025 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23026 exec_prefix!$exec_prefix$ac_delim
23027 prefix!$prefix$ac_delim
23028 program_transform_name!$program_transform_name$ac_delim
23029 bindir!$bindir$ac_delim
23030 sbindir!$sbindir$ac_delim
23031 libexecdir!$libexecdir$ac_delim
23032 datarootdir!$datarootdir$ac_delim
23033 datadir!$datadir$ac_delim
23034 sysconfdir!$sysconfdir$ac_delim
23035 sharedstatedir!$sharedstatedir$ac_delim
23036 localstatedir!$localstatedir$ac_delim
23037 includedir!$includedir$ac_delim
23038 oldincludedir!$oldincludedir$ac_delim
23039 docdir!$docdir$ac_delim
23040 infodir!$infodir$ac_delim
23041 htmldir!$htmldir$ac_delim
23042 dvidir!$dvidir$ac_delim
23043 pdfdir!$pdfdir$ac_delim
23044 psdir!$psdir$ac_delim
23045 libdir!$libdir$ac_delim
23046 localedir!$localedir$ac_delim
23047 mandir!$mandir$ac_delim
23048 DEFS!$DEFS$ac_delim
23049 ECHO_C!$ECHO_C$ac_delim
23050 ECHO_N!$ECHO_N$ac_delim
23051 ECHO_T!$ECHO_T$ac_delim
23052 LIBS!$LIBS$ac_delim
23053 build_alias!$build_alias$ac_delim
23054 host_alias!$host_alias$ac_delim
23055 target_alias!$target_alias$ac_delim
23056 build!$build$ac_delim
23057 build_cpu!$build_cpu$ac_delim
23058 build_vendor!$build_vendor$ac_delim
23059 build_os!$build_os$ac_delim
23060 host!$host$ac_delim
23061 host_cpu!$host_cpu$ac_delim
23062 host_vendor!$host_vendor$ac_delim
23063 host_os!$host_os$ac_delim
23064 WIN16_FILES!$WIN16_FILES$ac_delim
23065 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23066 SET_MAKE!$SET_MAKE$ac_delim
23068 CFLAGS!$CFLAGS$ac_delim
23069 LDFLAGS!$LDFLAGS$ac_delim
23070 CPPFLAGS!$CPPFLAGS$ac_delim
23071 ac_ct_CC!$ac_ct_CC$ac_delim
23072 EXEEXT!$EXEEXT$ac_delim
23073 OBJEXT!$OBJEXT$ac_delim
23075 CXXFLAGS!$CXXFLAGS$ac_delim
23076 ac_ct_CXX!$ac_ct_CXX$ac_delim
23077 CPPBIN!$CPPBIN$ac_delim
23078 TOOLSDIR!$TOOLSDIR$ac_delim
23079 XMKMF!$XMKMF$ac_delim
23081 X_CFLAGS!$X_CFLAGS$ac_delim
23082 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23083 X_LIBS!$X_LIBS$ac_delim
23084 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23085 FLEX!$FLEX$ac_delim
23086 BISON!$BISON$ac_delim
23088 ac_ct_AS!$ac_ct_AS$ac_delim
23091 ARFLAGS!$ARFLAGS$ac_delim
23092 RANLIB!$RANLIB$ac_delim
23093 STRIP!$STRIP$ac_delim
23094 WINDRES!$WINDRES$ac_delim
23095 LN_S!$LN_S$ac_delim
23097 GREP!$GREP$ac_delim
23098 EGREP!$EGREP$ac_delim
23099 LDCONFIG!$LDCONFIG$ac_delim
23100 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23103 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23105 elif $ac_last_try; then
23106 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23107 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23108 { (exit 1); exit 1; }; }
23110 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23114 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23115 if test -n "$ac_eof"; then
23116 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23117 ac_eof=`expr $ac_eof + 1`
23120 cat >>$CONFIG_STATUS <<_ACEOF
23121 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23122 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23123 /^[ ]*@MAKE_RULES@[ ]*$/{
23127 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23131 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23132 r $MAKE_IMPLIB_RULES
23135 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23139 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23145 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23146 s/^/s,@/; s/!/@,|#_!!_#|/
23149 s/'"$ac_delim"'$/,g/; t
23151 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23152 ' >>$CONFIG_STATUS <conf$$subs.sed
23153 rm -f conf$$subs.sed
23154 cat >>$CONFIG_STATUS <<_ACEOF
23160 for ac_last_try in false false false false false :; do
23161 cat >conf$$subs.sed <<_ACEOF
23162 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23163 INSTALL_DATA!$INSTALL_DATA$ac_delim
23164 LINT!$LINT$ac_delim
23165 LINTFLAGS!$LINTFLAGS$ac_delim
23166 FONTFORGE!$FONTFORGE$ac_delim
23167 PKG_CONFIG!$PKG_CONFIG$ac_delim
23168 PRELINK!$PRELINK$ac_delim
23169 LIBPTHREAD!$LIBPTHREAD$ac_delim
23170 XLIB!$XLIB$ac_delim
23171 XFILES!$XFILES$ac_delim
23172 OPENGLFILES!$OPENGLFILES$ac_delim
23173 GLU32FILES!$GLU32FILES$ac_delim
23174 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23175 QUARTZFILES!$QUARTZFILES$ac_delim
23176 DLLEXT!$DLLEXT$ac_delim
23177 DLLFLAGS!$DLLFLAGS$ac_delim
23178 LDSHARED!$LDSHARED$ac_delim
23179 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23180 LIBEXT!$LIBEXT$ac_delim
23181 IMPLIBEXT!$IMPLIBEXT$ac_delim
23182 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23183 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23185 DLLTOOL!$DLLTOOL$ac_delim
23186 DLLWRAP!$DLLWRAP$ac_delim
23187 MINGWAR!$MINGWAR$ac_delim
23188 SECURITYLIB!$SECURITYLIB$ac_delim
23189 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23190 IOKITLIB!$IOKITLIB$ac_delim
23191 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23192 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23193 COREAUDIO!$COREAUDIO$ac_delim
23194 CARBONLIB!$CARBONLIB$ac_delim
23195 CROSSTEST!$CROSSTEST$ac_delim
23196 CROSSCC!$CROSSCC$ac_delim
23197 CROSSWINDRES!$CROSSWINDRES$ac_delim
23198 NASLIBS!$NASLIBS$ac_delim
23199 XML2LIBS!$XML2LIBS$ac_delim
23200 XML2INCL!$XML2INCL$ac_delim
23201 XSLTLIBS!$XSLTLIBS$ac_delim
23202 XSLTINCL!$XSLTINCL$ac_delim
23203 HALINCL!$HALINCL$ac_delim
23204 sane_devel!$sane_devel$ac_delim
23205 SANEINCL!$SANEINCL$ac_delim
23206 gphoto2_devel!$gphoto2_devel$ac_delim
23207 gphoto2port_devel!$gphoto2port_devel$ac_delim
23208 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23209 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23210 RESOLVLIBS!$RESOLVLIBS$ac_delim
23211 LCMSLIBS!$LCMSLIBS$ac_delim
23212 LDAPLIBS!$LDAPLIBS$ac_delim
23213 ft_devel!$ft_devel$ac_delim
23214 FREETYPELIBS!$FREETYPELIBS$ac_delim
23215 FREETYPEINCL!$FREETYPEINCL$ac_delim
23216 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23217 ESDCONFIG!$ESDCONFIG$ac_delim
23218 ESDLIBS!$ESDLIBS$ac_delim
23219 ESDINCL!$ESDINCL$ac_delim
23220 ALSALIBS!$ALSALIBS$ac_delim
23221 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23222 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23223 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23224 BUILTINFLAG!$BUILTINFLAG$ac_delim
23225 LDPATH!$LDPATH$ac_delim
23226 CRTLIBS!$CRTLIBS$ac_delim
23227 SOCKETLIBS!$SOCKETLIBS$ac_delim
23228 MAIN_BINARY!$MAIN_BINARY$ac_delim
23229 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23230 LIBDL!$LIBDL$ac_delim
23231 LIBPOLL!$LIBPOLL$ac_delim
23232 DEPENDENCIES!$DEPENDENCIES$ac_delim
23233 LIBOBJS!$LIBOBJS$ac_delim
23234 LTLIBOBJS!$LTLIBOBJS$ac_delim
23237 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
23239 elif $ac_last_try; then
23240 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23241 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23242 { (exit 1); exit 1; }; }
23244 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23248 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23249 if test -n "$ac_eof"; then
23250 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23251 ac_eof=`expr $ac_eof + 1`
23254 cat >>$CONFIG_STATUS <<_ACEOF
23255 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23256 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23259 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23260 s/^/s,@/; s/!/@,|#_!!_#|/
23263 s/'"$ac_delim"'$/,g/; t
23265 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23266 ' >>$CONFIG_STATUS <conf$$subs.sed
23267 rm -f conf$$subs.sed
23268 cat >>$CONFIG_STATUS <<_ACEOF
23275 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23276 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23277 # trailing colons and then remove the whole line if VPATH becomes empty
23278 # (actually we leave an empty line to preserve line numbers).
23279 if test "x$srcdir" = x.; then
23280 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23281 s/:*\$(srcdir):*/:/
23282 s/:*\${srcdir}:*/:/
23284 s/^\([^=]*=[ ]*\):*/\1/
23290 cat >>$CONFIG_STATUS <<\_ACEOF
23291 fi # test -n "$CONFIG_FILES"
23294 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23297 :[FHLC]) ac_mode=$ac_tag; continue;;
23299 case $ac_mode$ac_tag in
23301 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23302 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23303 { (exit 1); exit 1; }; };;
23304 :[FH]-) ac_tag=-:-;;
23305 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23322 -) ac_f="$tmp/stdin";;
23323 *) # Look for the file first in the build tree, then in the source tree
23324 # (if the path is not absolute). The absolute path cannot be DOS-style,
23325 # because $ac_f cannot contain `:'.
23329 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23331 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23332 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23333 { (exit 1); exit 1; }; };;
23335 ac_file_inputs="$ac_file_inputs $ac_f"
23338 # Let's still pretend it is `configure' which instantiates (i.e., don't
23339 # use $as_me), people would be surprised to read:
23340 # /* config.h. Generated by config.status. */
23341 configure_input="Generated from "`IFS=:
23342 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23343 if test x"$ac_file" != x-; then
23344 configure_input="$ac_file. $configure_input"
23345 { echo "$as_me:$LINENO: creating $ac_file" >&5
23346 echo "$as_me: creating $ac_file" >&6;}
23350 *:-:* | *:-) cat >"$tmp/stdin";;
23355 ac_dir=`$as_dirname -- "$ac_file" ||
23356 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23357 X"$ac_file" : 'X\(//\)[^/]' \| \
23358 X"$ac_file" : 'X\(//\)$' \| \
23359 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23365 /^X\(\/\/\)[^/].*/{
23380 -*) as_dir=./$as_dir;;
23382 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23386 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23387 *) as_qdir=$as_dir;;
23389 as_dirs="'$as_qdir' $as_dirs"
23390 as_dir=`$as_dirname -- "$as_dir" ||
23391 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23392 X"$as_dir" : 'X\(//\)[^/]' \| \
23393 X"$as_dir" : 'X\(//\)$' \| \
23394 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23400 /^X\(\/\/\)[^/].*/{
23413 test -d "$as_dir" && break
23415 test -z "$as_dirs" || eval "mkdir $as_dirs"
23416 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23417 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23418 { (exit 1); exit 1; }; }; }
23422 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23424 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23425 # A ".." for each directory in $ac_dir_suffix.
23426 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23427 case $ac_top_builddir_sub in
23428 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23429 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23432 ac_abs_top_builddir=$ac_pwd
23433 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23434 # for backward compatibility:
23435 ac_top_builddir=$ac_top_build_prefix
23438 .) # We are building in place.
23440 ac_top_srcdir=$ac_top_builddir_sub
23441 ac_abs_top_srcdir=$ac_pwd ;;
23442 [\\/]* | ?:[\\/]* ) # Absolute name.
23443 ac_srcdir=$srcdir$ac_dir_suffix;
23444 ac_top_srcdir=$srcdir
23445 ac_abs_top_srcdir=$srcdir ;;
23446 *) # Relative name.
23447 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23448 ac_top_srcdir=$ac_top_build_prefix$srcdir
23449 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23451 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23461 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23462 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23466 cat >>$CONFIG_STATUS <<\_ACEOF
23467 # If the template does not know about datarootdir, expand it.
23468 # FIXME: This hack should be removed a few years after 2.60.
23469 ac_datarootdir_hack=; ac_datarootdir_seen=
23471 case `sed -n '/datarootdir/ {
23480 ' $ac_file_inputs` in
23481 *datarootdir*) ac_datarootdir_seen=yes;;
23482 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23483 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23484 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23486 cat >>$CONFIG_STATUS <<_ACEOF
23487 ac_datarootdir_hack='
23488 s&@datadir@&$datadir&g
23489 s&@docdir@&$docdir&g
23490 s&@infodir@&$infodir&g
23491 s&@localedir@&$localedir&g
23492 s&@mandir@&$mandir&g
23493 s&\\\${datarootdir}&$datarootdir&g' ;;
23497 # Neutralize VPATH when `$srcdir' = `.'.
23498 # Shell code in configure.ac might set extrasub.
23499 # FIXME: do we really want to maintain this feature?
23500 cat >>$CONFIG_STATUS <<_ACEOF
23504 cat >>$CONFIG_STATUS <<\_ACEOF
23506 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23507 s&@configure_input@&$configure_input&;t t
23508 s&@top_builddir@&$ac_top_builddir_sub&;t t
23509 s&@srcdir@&$ac_srcdir&;t t
23510 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23511 s&@top_srcdir@&$ac_top_srcdir&;t t
23512 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23513 s&@builddir@&$ac_builddir&;t t
23514 s&@abs_builddir@&$ac_abs_builddir&;t t
23515 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23516 s&@INSTALL@&$ac_INSTALL&;t t
23517 $ac_datarootdir_hack
23518 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23520 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23521 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23522 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23523 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23524 which seems to be undefined. Please make sure it is defined." >&5
23525 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23526 which seems to be undefined. Please make sure it is defined." >&2;}
23530 -) cat "$tmp/out"; rm -f "$tmp/out";;
23531 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23540 # Transform confdefs.h into a sed script `conftest.defines', that
23541 # substitutes the proper values into config.h.in to produce config.h.
23542 rm -f conftest.defines conftest.tail
23543 # First, append a space to every undef/define line, to ease matching.
23544 echo 's/$/ /' >conftest.defines
23545 # Then, protect against being on the right side of a sed subst, or in
23546 # an unquoted here document, in config.status. If some macros were
23547 # called several times there might be several #defines for the same
23548 # symbol, which is useless. But do not sort them, since the last
23549 # AC_DEFINE must be honored.
23550 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23551 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23552 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23553 # PARAMS is the parameter list in the macro definition--in most cases, it's
23554 # just an empty string.
23555 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23556 ac_dB='\\)[ (].*,\\1define\\2'
23564 s/^[ ]*#[ ]*define[ ][ ]*//
23569 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23570 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23571 ' >>conftest.defines
23573 # Remove the space that was appended to ease matching.
23574 # Then replace #undef with comments. This is necessary, for
23575 # example, in the case of _POSIX_SOURCE, which is predefined and required
23576 # on some systems where configure will not decide to define it.
23577 # (The regexp can be short, since the line contains either #define or #undef.)
23579 s,^[ #]*u.*,/* & */,' >>conftest.defines
23581 # Break up conftest.defines:
23582 ac_max_sed_lines=50
23584 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23585 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23586 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23588 ac_in='$ac_file_inputs'
23589 ac_out='"$tmp/out1"'
23590 ac_nxt='"$tmp/out2"'
23594 # Write a here document:
23595 cat >>$CONFIG_STATUS <<_ACEOF
23596 # First, check the format of the line:
23597 cat >"\$tmp/defines.sed" <<\\CEOF
23598 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23599 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23603 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23605 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23606 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23607 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23608 grep . conftest.tail >/dev/null || break
23609 rm -f conftest.defines
23610 mv conftest.tail conftest.defines
23612 rm -f conftest.defines conftest.tail
23614 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23615 cat >>$CONFIG_STATUS <<\_ACEOF
23616 if test x"$ac_file" != x-; then
23617 echo "/* $configure_input */" >"$tmp/config.h"
23618 cat "$ac_result" >>"$tmp/config.h"
23619 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23620 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23621 echo "$as_me: $ac_file is unchanged" >&6;}
23624 mv "$tmp/config.h" $ac_file
23627 echo "/* $configure_input */"
23633 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23634 echo "$as_me: executing $ac_file commands" >&6;}
23639 case $ac_file$ac_mode in
23640 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23641 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23642 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
23643 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23644 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
23645 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23646 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
23647 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23648 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
23649 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23650 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
23651 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
23652 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
23658 { (exit 0); exit 0; }
23660 chmod +x $CONFIG_STATUS
23661 ac_clean_files=$ac_clean_files_save
23664 # configure is writing to config.log, and then calls config.status.
23665 # config.status does its own redirection, appending to config.log.
23666 # Unfortunately, on DOS this fails, as config.log is still kept open
23667 # by configure, so config.status won't be able to write to it; its
23668 # output is simply discarded. So we exec the FD to /dev/null,
23669 # effectively closing config.log, so it can be properly (re)opened and
23670 # appended to by config.status. When coming back to configure, we
23671 # need to make the FD available again.
23672 if test "$no_create" != yes; then
23674 ac_config_status_args=
23675 test "$silent" = yes &&
23676 ac_config_status_args="$ac_config_status_args --quiet"
23678 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23680 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23681 # would make configure fail if this is the last instruction.
23682 $ac_cs_success || { (exit 1); exit 1; }
23686 if test "$no_create" = "yes"
23693 if test "x$wine_notices != "x; then
23695 for msg in $wine_notices; do
23696 if test -n "$msg"; then
23697 { echo "$as_me:$LINENO: $msg" >&5
23698 echo "$as_me: $msg" >&6;}
23702 for msg in $wine_warnings; do
23703 if test -n "$msg"; then
23705 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23706 echo "$as_me: WARNING: $msg" >&2;}
23712 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.