2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.60.
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.60'
578 PACKAGE_STRING='Wine 0.9.60'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
776 ac_subst_files='MAKE_RULES
781 ac_precious_vars='build_alias
796 # Initialize some variables set by options.
798 ac_init_version=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
808 program_transform_name=s,x,x,
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 includedir='${prefix}/include'
831 oldincludedir='/usr/include'
832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir='${datarootdir}/info'
838 libdir='${exec_prefix}/lib'
839 localedir='${datarootdir}/locale'
840 mandir='${datarootdir}/man'
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\$ac_option
854 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
864 -bindir | --bindir | --bindi | --bind | --bin | --bi)
866 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
869 -build | --build | --buil | --bui | --bu)
870 ac_prev=build_alias ;;
871 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872 build_alias=$ac_optarg ;;
874 -cache-file | --cache-file | --cache-fil | --cache-fi \
875 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876 ac_prev=cache_file ;;
877 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879 cache_file=$ac_optarg ;;
882 cache_file=config.cache ;;
884 -datadir | --datadir | --datadi | --datad)
886 -datadir=* | --datadir=* | --datadi=* | --datad=*)
887 datadir=$ac_optarg ;;
889 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890 | --dataroo | --dataro | --datar)
891 ac_prev=datarootdir ;;
892 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894 datarootdir=$ac_optarg ;;
896 -disable-* | --disable-*)
897 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
900 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901 { (exit 1); exit 1; }; }
902 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
903 eval enable_$ac_feature=no ;;
905 -docdir | --docdir | --docdi | --doc | --do)
907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
915 -enable-* | --enable-*)
916 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
919 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920 { (exit 1); exit 1; }; }
921 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
922 eval enable_$ac_feature=\$ac_optarg ;;
924 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926 | --exec | --exe | --ex)
927 ac_prev=exec_prefix ;;
928 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930 | --exec=* | --exe=* | --ex=*)
931 exec_prefix=$ac_optarg ;;
933 -gas | --gas | --ga | --g)
934 # Obsolete; use --with-gas.
937 -help | --help | --hel | --he | -h)
939 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940 ac_init_help=recursive ;;
941 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942 ac_init_help=short ;;
944 -host | --host | --hos | --ho)
945 ac_prev=host_alias ;;
946 -host=* | --host=* | --hos=* | --ho=*)
947 host_alias=$ac_optarg ;;
949 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
951 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
953 htmldir=$ac_optarg ;;
955 -includedir | --includedir | --includedi | --included | --include \
956 | --includ | --inclu | --incl | --inc)
957 ac_prev=includedir ;;
958 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959 | --includ=* | --inclu=* | --incl=* | --inc=*)
960 includedir=$ac_optarg ;;
962 -infodir | --infodir | --infodi | --infod | --info | --inf)
964 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965 infodir=$ac_optarg ;;
967 -libdir | --libdir | --libdi | --libd)
969 -libdir=* | --libdir=* | --libdi=* | --libd=*)
972 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973 | --libexe | --libex | --libe)
974 ac_prev=libexecdir ;;
975 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976 | --libexe=* | --libex=* | --libe=*)
977 libexecdir=$ac_optarg ;;
979 -localedir | --localedir | --localedi | --localed | --locale)
981 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982 localedir=$ac_optarg ;;
984 -localstatedir | --localstatedir | --localstatedi | --localstated \
985 | --localstate | --localstat | --localsta | --localst | --locals)
986 ac_prev=localstatedir ;;
987 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989 localstatedir=$ac_optarg ;;
991 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
993 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
997 # Obsolete; use --without-fp.
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c | -n)
1004 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010 | --oldin | --oldi | --old | --ol | --o)
1011 ac_prev=oldincludedir ;;
1012 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015 oldincludedir=$ac_optarg ;;
1017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020 prefix=$ac_optarg ;;
1022 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023 | --program-pre | --program-pr | --program-p)
1024 ac_prev=program_prefix ;;
1025 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027 program_prefix=$ac_optarg ;;
1029 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030 | --program-suf | --program-su | --program-s)
1031 ac_prev=program_suffix ;;
1032 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034 program_suffix=$ac_optarg ;;
1036 -program-transform-name | --program-transform-name \
1037 | --program-transform-nam | --program-transform-na \
1038 | --program-transform-n | --program-transform- \
1039 | --program-transform | --program-transfor \
1040 | --program-transfo | --program-transf \
1041 | --program-trans | --program-tran \
1042 | --progr-tra | --program-tr | --program-t)
1043 ac_prev=program_transform_name ;;
1044 -program-transform-name=* | --program-transform-name=* \
1045 | --program-transform-nam=* | --program-transform-na=* \
1046 | --program-transform-n=* | --program-transform-=* \
1047 | --program-transform=* | --program-transfor=* \
1048 | --program-transfo=* | --program-transf=* \
1049 | --program-trans=* | --program-tran=* \
1050 | --progr-tra=* | --program-tr=* | --program-t=*)
1051 program_transform_name=$ac_optarg ;;
1053 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1055 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056 pdfdir=$ac_optarg ;;
1058 -psdir | --psdir | --psdi | --psd | --ps)
1060 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1067 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1069 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1071 sbindir=$ac_optarg ;;
1073 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075 | --sharedst | --shareds | --shared | --share | --shar \
1077 ac_prev=sharedstatedir ;;
1078 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1082 sharedstatedir=$ac_optarg ;;
1084 -site | --site | --sit)
1086 -site=* | --site=* | --sit=*)
1089 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1091 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092 srcdir=$ac_optarg ;;
1094 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095 | --syscon | --sysco | --sysc | --sys | --sy)
1096 ac_prev=sysconfdir ;;
1097 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099 sysconfdir=$ac_optarg ;;
1101 -target | --target | --targe | --targ | --tar | --ta | --t)
1102 ac_prev=target_alias ;;
1103 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104 target_alias=$ac_optarg ;;
1106 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 -version | --version | --versio | --versi | --vers | -V)
1110 ac_init_version=: ;;
1113 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_$ac_package=\$ac_optarg ;;
1121 -without-* | --without-*)
1122 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1128 eval with_$ac_package=no ;;
1131 # Obsolete; use --with-x.
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150 { (exit 1); exit 1; }; }
1154 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158 { (exit 1); exit 1; }; }
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 { echo "$as_me: error: missing argument to $ac_option" >&2
1176 { (exit 1); exit 1; }; }
1179 # Be sure to have absolute directory names.
1180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val=\$$ac_var
1187 [\\/$]* | ?:[\\/]* ) continue;;
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1190 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 { echo "$as_me: error: Working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$0" : 'X\(//\)[^/]' \| \
1235 X"$0" : 'X\(//\)$' \| \
1236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1260 ac_srcdir_defaulted=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1296 \`configure' configures Wine 0.9.60 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1354 --x-includes=DIR X include files are in DIR
1355 --x-libraries=DIR X library files are in DIR
1358 --build=BUILD configure for building on BUILD [guessed]
1359 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive ) echo "Configuration of Wine 0.9.60:";;
1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1372 --disable-win16 do not include Win16 support
1373 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1375 --enable-maintainer-mode
1376 enable maintainer-specific build rules
1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381 --without-alsa do not use the Alsa sound support
1382 --without-audioio do not use the AudioIO sound support
1383 --without-capi do not use CAPI (ISDN support)
1384 --without-cms do not use CMS (color management support)
1385 --without-coreaudio do not use the CoreAudio sound support
1386 --without-cups do not use CUPS
1387 --without-curses do not use (n)curses
1388 --without-esd do not use the EsounD sound support
1389 --without-fontconfig do not use fontconfig
1390 --without-gphoto do not use gphoto (Digital Camera support)
1391 --without-hal do not use HAL (dynamic device support)
1392 --without-jack do not use the Jack sound support
1393 --without-jpeg do not use JPEG
1394 --without-ldap do not use LDAP
1395 --without-nas do not use the NAS sound support
1396 --without-opengl do not use OpenGL
1397 --without-openssl do not use OpenSSL
1398 --without-oss do not use the OSS sound support
1399 --without-png do not use PNG
1400 --without-sane do not use SANE (scanner support)
1401 --without-xcomposite do not use the Xcomposite extension
1402 --without-xcursor do not use the Xcursor extension
1403 --without-xinerama do not use Xinerama (multi-monitor support)
1404 --without-xinput do not use the Xinput extension
1405 --without-xml do not use XML
1406 --without-xrandr do not use Xrandr (resolution changes)
1407 --without-xrender do not use the Xrender extension
1408 --without-xshape do not use the Xshape extension
1409 --without-xshm do not use XShm (shared memory extension)
1410 --without-xslt do not use XSLT
1411 --without-xvidmode do not use XFree video mode extension
1412 --with-wine-tools=DIR use Wine tools from directory DIR
1413 --with-x use the X Window System
1415 Some influential environment variables:
1416 CC C compiler command
1417 CFLAGS C compiler flags
1418 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1419 nonstandard directory <lib dir>
1420 LIBS libraries to pass to the linker, e.g. -l<library>
1421 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1422 you have headers in a nonstandard directory <include dir>
1423 CXX C++ compiler command
1424 CXXFLAGS C++ compiler flags
1425 XMKMF Path to xmkmf, Makefile generator for X Window System
1428 Use these variables to override the choices made by `configure' or to help
1429 it to find libraries and programs with nonstandard names/locations.
1431 Report bugs to <wine-devel@winehq.org>.
1436 if test "$ac_init_help" = "recursive"; then
1437 # If there are subdirs, report their specific --help.
1438 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1439 test -d "$ac_dir" || continue
1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1446 # A ".." for each directory in $ac_dir_suffix.
1447 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1448 case $ac_top_builddir_sub in
1449 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1453 ac_abs_top_builddir=$ac_pwd
1454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1455 # for backward compatibility:
1456 ac_top_builddir=$ac_top_build_prefix
1459 .) # We are building in place.
1461 ac_top_srcdir=$ac_top_builddir_sub
1462 ac_abs_top_srcdir=$ac_pwd ;;
1463 [\\/]* | ?:[\\/]* ) # Absolute name.
1464 ac_srcdir=$srcdir$ac_dir_suffix;
1465 ac_top_srcdir=$srcdir
1466 ac_abs_top_srcdir=$srcdir ;;
1468 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1469 ac_top_srcdir=$ac_top_build_prefix$srcdir
1470 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1474 cd "$ac_dir" || { ac_status=$?; continue; }
1475 # Check for guested configure.
1476 if test -f "$ac_srcdir/configure.gnu"; then
1478 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1479 elif test -f "$ac_srcdir/configure"; then
1481 $SHELL "$ac_srcdir/configure" --help=recursive
1483 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1485 cd "$ac_pwd" || { ac_status=$?; break; }
1489 test -n "$ac_init_help" && exit $ac_status
1490 if $ac_init_version; then
1492 Wine configure 0.9.60
1493 generated by GNU Autoconf 2.61
1495 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1496 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1497 This configure script is free software; the Free Software Foundation
1498 gives unlimited permission to copy, distribute and modify it.
1502 cat >config.log <<_ACEOF
1503 This file contains any messages produced by compilers while
1504 running configure, to aid debugging if configure makes a mistake.
1506 It was created by Wine $as_me 0.9.60, which was
1507 generated by GNU Autoconf 2.61. Invocation command line was
1519 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1520 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1521 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1522 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1523 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1525 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1526 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1528 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1529 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1530 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1531 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1532 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1533 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1534 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1542 test -z "$as_dir" && as_dir=.
1543 echo "PATH: $as_dir"
1559 # Keep a trace of the command line.
1560 # Strip out --no-create and --no-recursion so they do not pile up.
1561 # Strip out --silent because we don't want to record it for future runs.
1562 # Also quote any args containing shell meta-characters.
1563 # Make two passes to allow for proper duplicate-argument suppression.
1567 ac_must_keep_next=false
1573 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1574 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1575 | -silent | --silent | --silen | --sile | --sil)
1578 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1581 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1583 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1584 if test $ac_must_keep_next = true; then
1585 ac_must_keep_next=false # Got value, back to normal.
1588 *=* | --config-cache | -C | -disable-* | --disable-* \
1589 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1590 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1591 | -with-* | --with-* | -without-* | --without-* | --x)
1592 case "$ac_configure_args0 " in
1593 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1596 -* ) ac_must_keep_next=true ;;
1599 ac_configure_args="$ac_configure_args '$ac_arg'"
1604 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1605 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1607 # When interrupted or exit'd, cleanup temporary files, and complete
1608 # config.log. We remove comments because anyway the quotes in there
1609 # would cause problems or look ugly.
1610 # WARNING: Use '\'' to represent an apostrophe within the trap.
1611 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1612 trap 'exit_status=$?
1613 # Save into config.log some information that might help in debugging.
1618 ## ---------------- ##
1619 ## Cache variables. ##
1620 ## ---------------- ##
1623 # The following way of writing the cache mishandles newlines in values,
1625 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1626 eval ac_val=\$$ac_var
1630 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1631 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1634 _ | IFS | as_nl) ;; #(
1635 *) $as_unset $ac_var ;;
1640 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1641 *${as_nl}ac_space=\ *)
1643 "s/'\''/'\''\\\\'\'''\''/g;
1644 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1647 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1655 ## ----------------- ##
1656 ## Output variables. ##
1657 ## ----------------- ##
1660 for ac_var in $ac_subst_vars
1662 eval ac_val=\$$ac_var
1664 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1666 echo "$ac_var='\''$ac_val'\''"
1670 if test -n "$ac_subst_files"; then
1672 ## ------------------- ##
1673 ## File substitutions. ##
1674 ## ------------------- ##
1677 for ac_var in $ac_subst_files
1679 eval ac_val=\$$ac_var
1681 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1683 echo "$ac_var='\''$ac_val'\''"
1688 if test -s confdefs.h; then
1698 test "$ac_signal" != 0 &&
1699 echo "$as_me: caught signal $ac_signal"
1700 echo "$as_me: exit $exit_status"
1702 rm -f core *.core core.conftest.* &&
1703 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1706 for ac_signal in 1 2 13 15; do
1707 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1711 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1712 rm -f -r conftest* confdefs.h
1714 # Predefined preprocessor variables.
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_NAME "$PACKAGE_NAME"
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_STRING "$PACKAGE_STRING"
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1741 # Let the site file select an alternate cache file if it wants to.
1742 # Prefer explicitly selected file to automatically selected ones.
1743 if test -n "$CONFIG_SITE"; then
1744 set x "$CONFIG_SITE"
1745 elif test "x$prefix" != xNONE; then
1746 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1748 set x "$ac_default_prefix/share/config.site" \
1749 "$ac_default_prefix/etc/config.site"
1754 if test -r "$ac_site_file"; then
1755 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1756 echo "$as_me: loading site script $ac_site_file" >&6;}
1757 sed 's/^/| /' "$ac_site_file" >&5
1762 if test -r "$cache_file"; then
1763 # Some versions of bash will fail to source /dev/null (special
1764 # files actually), so we avoid doing that.
1765 if test -f "$cache_file"; then
1766 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1767 echo "$as_me: loading cache $cache_file" >&6;}
1769 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1770 *) . "./$cache_file";;
1774 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1775 echo "$as_me: creating cache $cache_file" >&6;}
1779 # Check that the precious variables saved in the cache have kept the same
1781 ac_cache_corrupted=false
1782 for ac_var in $ac_precious_vars; do
1783 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1784 eval ac_new_set=\$ac_env_${ac_var}_set
1785 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1786 eval ac_new_val=\$ac_env_${ac_var}_value
1787 case $ac_old_set,$ac_new_set in
1789 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1790 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1791 ac_cache_corrupted=: ;;
1793 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1794 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1795 ac_cache_corrupted=: ;;
1798 if test "x$ac_old_val" != "x$ac_new_val"; then
1799 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1800 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1801 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1802 echo "$as_me: former value: $ac_old_val" >&2;}
1803 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1804 echo "$as_me: current value: $ac_new_val" >&2;}
1805 ac_cache_corrupted=:
1808 # Pass precious variables to config.status.
1809 if test "$ac_new_set" = set; then
1811 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1812 *) ac_arg=$ac_var=$ac_new_val ;;
1814 case " $ac_configure_args " in
1815 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1816 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1820 if $ac_cache_corrupted; then
1821 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1822 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1823 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1824 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1825 { (exit 1); exit 1; }; }
1853 ac_cpp='$CPP $CPPFLAGS'
1854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1860 ac_config_headers="$ac_config_headers include/config.h"
1863 for ac_dir in tools "$srcdir"/tools; do
1864 if test -f "$ac_dir/install-sh"; then
1866 ac_install_sh="$ac_aux_dir/install-sh -c"
1868 elif test -f "$ac_dir/install.sh"; then
1870 ac_install_sh="$ac_aux_dir/install.sh -c"
1872 elif test -f "$ac_dir/shtool"; then
1874 ac_install_sh="$ac_aux_dir/shtool install -c"
1878 if test -z "$ac_aux_dir"; then
1879 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1880 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1881 { (exit 1); exit 1; }; }
1884 # These three variables are undocumented and unsupported,
1885 # and are intended to be withdrawn in a future Autoconf release.
1886 # They can cause serious problems if a builder's source tree is in a directory
1887 # whose full name contains unusual characters.
1888 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1889 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1890 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1895 # Check whether --enable-win16 was given.
1896 if test "${enable_win16+set}" = set; then
1897 enableval=$enable_win16;
1900 # Check whether --enable-win64 was given.
1901 if test "${enable_win64+set}" = set; then
1902 enableval=$enable_win64;
1905 # Check whether --enable-maintainer-mode was given.
1906 if test "${enable_maintainer_mode+set}" = set; then
1907 enableval=$enable_maintainer_mode;
1915 # Check whether --with-alsa was given.
1916 if test "${with_alsa+set}" = set; then
1917 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1921 # Check whether --with-audioio was given.
1922 if test "${with_audioio+set}" = set; then
1923 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1927 # Check whether --with-capi was given.
1928 if test "${with_capi+set}" = set; then
1929 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1933 # Check whether --with-cms was given.
1934 if test "${with_cms+set}" = set; then
1935 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1939 # Check whether --with-coreaudio was given.
1940 if test "${with_coreaudio+set}" = set; then
1941 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1945 # Check whether --with-cups was given.
1946 if test "${with_cups+set}" = set; then
1947 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1951 # Check whether --with-curses was given.
1952 if test "${with_curses+set}" = set; then
1953 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1957 # Check whether --with-esd was given.
1958 if test "${with_esd+set}" = set; then
1963 # Check whether --with-fontconfig was given.
1964 if test "${with_fontconfig+set}" = set; then
1965 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1969 # Check whether --with-gphoto was given.
1970 if test "${with_gphoto+set}" = set; then
1971 withval=$with_gphoto;
1975 # Check whether --with-hal was given.
1976 if test "${with_hal+set}" = set; then
1981 # Check whether --with-jack was given.
1982 if test "${with_jack+set}" = set; then
1983 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1987 # Check whether --with-jpeg was given.
1988 if test "${with_jpeg+set}" = set; then
1989 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
1993 # Check whether --with-ldap was given.
1994 if test "${with_ldap+set}" = set; then
1995 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
1999 # Check whether --with-nas was given.
2000 if test "${with_nas+set}" = set; then
2001 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2005 # Check whether --with-opengl was given.
2006 if test "${with_opengl+set}" = set; then
2007 withval=$with_opengl;
2011 # Check whether --with-openssl was given.
2012 if test "${with_openssl+set}" = set; then
2013 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2017 # Check whether --with-oss was given.
2018 if test "${with_oss+set}" = set; then
2019 withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi
2023 # Check whether --with-png was given.
2024 if test "${with_png+set}" = set; then
2025 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2029 # Check whether --with-sane was given.
2030 if test "${with_sane+set}" = set; then
2035 # Check whether --with-xcomposite was given.
2036 if test "${with_xcomposite+set}" = set; then
2037 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2041 # Check whether --with-xcursor was given.
2042 if test "${with_xcursor+set}" = set; then
2043 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2047 # Check whether --with-xinerama was given.
2048 if test "${with_xinerama+set}" = set; then
2049 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2053 # Check whether --with-xinput was given.
2054 if test "${with_xinput+set}" = set; then
2055 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2059 # Check whether --with-xml was given.
2060 if test "${with_xml+set}" = set; then
2065 # Check whether --with-xrandr was given.
2066 if test "${with_xrandr+set}" = set; then
2067 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2071 # Check whether --with-xrender was given.
2072 if test "${with_xrender+set}" = set; then
2073 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2077 # Check whether --with-xshape was given.
2078 if test "${with_xshape+set}" = set; then
2079 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2083 # Check whether --with-xshm was given.
2084 if test "${with_xshm+set}" = set; then
2085 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2089 # Check whether --with-xslt was given.
2090 if test "${with_xslt+set}" = set; then
2095 # Check whether --with-xvidmode was given.
2096 if test "${with_xvidmode+set}" = set; then
2097 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2102 # Check whether --with-wine-tools was given.
2103 if test "${with_wine_tools+set}" = set; then
2104 withval=$with_wine_tools;
2108 # Make sure we can run config.sub.
2109 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2110 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2111 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2112 { (exit 1); exit 1; }; }
2114 { echo "$as_me:$LINENO: checking build system type" >&5
2115 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2116 if test "${ac_cv_build+set}" = set; then
2117 echo $ECHO_N "(cached) $ECHO_C" >&6
2119 ac_build_alias=$build_alias
2120 test "x$ac_build_alias" = x &&
2121 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2122 test "x$ac_build_alias" = x &&
2123 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2124 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2125 { (exit 1); exit 1; }; }
2126 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2127 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2128 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2129 { (exit 1); exit 1; }; }
2132 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2133 echo "${ECHO_T}$ac_cv_build" >&6; }
2134 case $ac_cv_build in
2136 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2137 echo "$as_me: error: invalid value of canonical build" >&2;}
2138 { (exit 1); exit 1; }; };;
2141 ac_save_IFS=$IFS; IFS='-'
2147 # Remember, the first character of IFS is used to create $*,
2148 # except with old shells:
2151 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2154 { echo "$as_me:$LINENO: checking host system type" >&5
2155 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2156 if test "${ac_cv_host+set}" = set; then
2157 echo $ECHO_N "(cached) $ECHO_C" >&6
2159 if test "x$host_alias" = x; then
2160 ac_cv_host=$ac_cv_build
2162 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2163 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2164 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2165 { (exit 1); exit 1; }; }
2169 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2170 echo "${ECHO_T}$ac_cv_host" >&6; }
2173 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2174 echo "$as_me: error: invalid value of canonical host" >&2;}
2175 { (exit 1); exit 1; }; };;
2178 ac_save_IFS=$IFS; IFS='-'
2184 # Remember, the first character of IFS is used to create $*,
2185 # except with old shells:
2188 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2193 if test "x$enable_win64" != "xyes"
2195 test -n "$CC" || CC="gcc -m32"
2196 test -n "$CXX"|| CXX="g++ -m32"
2197 test -n "$LD" || LD="ld -m elf_i386"
2198 test -n "$AS" || AS="as --32"
2206 if test "x$enable_win16" != "xno"
2213 WIN16_FILES="\$(WIN16_FILES)"
2215 WIN16_INSTALL="\$(WIN16_INSTALL)"
2217 if test "x$enable_win16" != "xyes"
2225 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2226 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2227 You need to run 'make distclean' in the source tree first." >&5
2228 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2229 You need to run 'make distclean' in the source tree first." >&2;}
2230 { (exit 1); exit 1; }; }
2235 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2236 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2237 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2238 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2241 cat >conftest.make <<\_ACEOF
2244 @echo '@@@%%%=$(MAKE)=@@@%%%'
2246 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2247 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2249 eval ac_cv_prog_make_${ac_make}_set=yes;;
2251 eval ac_cv_prog_make_${ac_make}_set=no;;
2255 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2256 { echo "$as_me:$LINENO: result: yes" >&5
2257 echo "${ECHO_T}yes" >&6; }
2260 { echo "$as_me:$LINENO: result: no" >&5
2261 echo "${ECHO_T}no" >&6; }
2262 SET_MAKE="MAKE=${MAKE-make}"
2266 ac_cpp='$CPP $CPPFLAGS'
2267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2270 if test -n "$ac_tool_prefix"; then
2271 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2272 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2275 if test "${ac_cv_prog_CC+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2278 if test -n "$CC"; then
2279 ac_cv_prog_CC="$CC" # Let the user override the test.
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285 test -z "$as_dir" && as_dir=.
2286 for ac_exec_ext in '' $ac_executable_extensions; do
2287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2288 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2299 if test -n "$CC"; then
2300 { echo "$as_me:$LINENO: result: $CC" >&5
2301 echo "${ECHO_T}$CC" >&6; }
2303 { echo "$as_me:$LINENO: result: no" >&5
2304 echo "${ECHO_T}no" >&6; }
2309 if test -z "$ac_cv_prog_CC"; then
2311 # Extract the first word of "gcc", so it can be a program name with args.
2312 set dummy gcc; ac_word=$2
2313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2315 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2316 echo $ECHO_N "(cached) $ECHO_C" >&6
2318 if test -n "$ac_ct_CC"; then
2319 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2325 test -z "$as_dir" && as_dir=.
2326 for ac_exec_ext in '' $ac_executable_extensions; do
2327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328 ac_cv_prog_ac_ct_CC="gcc"
2329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2339 if test -n "$ac_ct_CC"; then
2340 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2341 echo "${ECHO_T}$ac_ct_CC" >&6; }
2343 { echo "$as_me:$LINENO: result: no" >&5
2344 echo "${ECHO_T}no" >&6; }
2347 if test "x$ac_ct_CC" = x; then
2350 case $cross_compiling:$ac_tool_warned in
2352 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2353 whose name does not start with the host triplet. If you think this
2354 configuration is useful to you, please write to autoconf@gnu.org." >&5
2355 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2356 whose name does not start with the host triplet. If you think this
2357 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2358 ac_tool_warned=yes ;;
2366 if test -z "$CC"; then
2367 if test -n "$ac_tool_prefix"; then
2368 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2369 set dummy ${ac_tool_prefix}cc; ac_word=$2
2370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2372 if test "${ac_cv_prog_CC+set}" = set; then
2373 echo $ECHO_N "(cached) $ECHO_C" >&6
2375 if test -n "$CC"; then
2376 ac_cv_prog_CC="$CC" # Let the user override the test.
2378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2382 test -z "$as_dir" && as_dir=.
2383 for ac_exec_ext in '' $ac_executable_extensions; do
2384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2385 ac_cv_prog_CC="${ac_tool_prefix}cc"
2386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2396 if test -n "$CC"; then
2397 { echo "$as_me:$LINENO: result: $CC" >&5
2398 echo "${ECHO_T}$CC" >&6; }
2400 { echo "$as_me:$LINENO: result: no" >&5
2401 echo "${ECHO_T}no" >&6; }
2407 if test -z "$CC"; then
2408 # Extract the first word of "cc", so it can be a program name with args.
2409 set dummy cc; ac_word=$2
2410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2412 if test "${ac_cv_prog_CC+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6
2415 if test -n "$CC"; then
2416 ac_cv_prog_CC="$CC" # Let the user override the test.
2419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2423 test -z "$as_dir" && as_dir=.
2424 for ac_exec_ext in '' $ac_executable_extensions; do
2425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2426 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2427 ac_prog_rejected=yes
2431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2438 if test $ac_prog_rejected = yes; then
2439 # We found a bogon in the path, so make sure we never use it.
2440 set dummy $ac_cv_prog_CC
2442 if test $# != 0; then
2443 # We chose a different compiler from the bogus one.
2444 # However, it has the same basename, so the bogon will be chosen
2445 # first if we set CC to just the basename; use the full file name.
2447 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2453 if test -n "$CC"; then
2454 { echo "$as_me:$LINENO: result: $CC" >&5
2455 echo "${ECHO_T}$CC" >&6; }
2457 { echo "$as_me:$LINENO: result: no" >&5
2458 echo "${ECHO_T}no" >&6; }
2463 if test -z "$CC"; then
2464 if test -n "$ac_tool_prefix"; then
2465 for ac_prog in cl.exe
2467 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2468 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2471 if test "${ac_cv_prog_CC+set}" = set; then
2472 echo $ECHO_N "(cached) $ECHO_C" >&6
2474 if test -n "$CC"; then
2475 ac_cv_prog_CC="$CC" # Let the user override the test.
2477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2481 test -z "$as_dir" && as_dir=.
2482 for ac_exec_ext in '' $ac_executable_extensions; do
2483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2484 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2495 if test -n "$CC"; then
2496 { echo "$as_me:$LINENO: result: $CC" >&5
2497 echo "${ECHO_T}$CC" >&6; }
2499 { echo "$as_me:$LINENO: result: no" >&5
2500 echo "${ECHO_T}no" >&6; }
2504 test -n "$CC" && break
2507 if test -z "$CC"; then
2509 for ac_prog in cl.exe
2511 # Extract the first word of "$ac_prog", so it can be a program name with args.
2512 set dummy $ac_prog; ac_word=$2
2513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2515 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2518 if test -n "$ac_ct_CC"; then
2519 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 test -z "$as_dir" && as_dir=.
2526 for ac_exec_ext in '' $ac_executable_extensions; do
2527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2528 ac_cv_prog_ac_ct_CC="$ac_prog"
2529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2538 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2539 if test -n "$ac_ct_CC"; then
2540 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2541 echo "${ECHO_T}$ac_ct_CC" >&6; }
2543 { echo "$as_me:$LINENO: result: no" >&5
2544 echo "${ECHO_T}no" >&6; }
2548 test -n "$ac_ct_CC" && break
2551 if test "x$ac_ct_CC" = x; then
2554 case $cross_compiling:$ac_tool_warned in
2556 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2557 whose name does not start with the host triplet. If you think this
2558 configuration is useful to you, please write to autoconf@gnu.org." >&5
2559 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2560 whose name does not start with the host triplet. If you think this
2561 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2562 ac_tool_warned=yes ;;
2571 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2572 See \`config.log' for more details." >&5
2573 echo "$as_me: error: no acceptable C compiler found in \$PATH
2574 See \`config.log' for more details." >&2;}
2575 { (exit 1); exit 1; }; }
2577 # Provide some information about the compiler.
2578 echo "$as_me:$LINENO: checking for C compiler version" >&5
2579 ac_compiler=`set X $ac_compile; echo $2`
2580 { (ac_try="$ac_compiler --version >&5"
2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2586 (eval "$ac_compiler --version >&5") 2>&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); }
2590 { (ac_try="$ac_compiler -v >&5"
2592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2593 *) ac_try_echo=$ac_try;;
2595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2596 (eval "$ac_compiler -v >&5") 2>&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }
2600 { (ac_try="$ac_compiler -V >&5"
2602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2603 *) ac_try_echo=$ac_try;;
2605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2606 (eval "$ac_compiler -V >&5") 2>&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); }
2611 cat >conftest.$ac_ext <<_ACEOF
2614 cat confdefs.h >>conftest.$ac_ext
2615 cat >>conftest.$ac_ext <<_ACEOF
2616 /* end confdefs.h. */
2626 ac_clean_files_save=$ac_clean_files
2627 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2628 # Try to create an executable without -o first, disregard a.out.
2629 # It will help us diagnose broken compilers, and finding out an intuition
2631 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2632 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2633 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2635 # List of possible output files, starting from the most likely.
2636 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2637 # only as a last resort. b.out is created by i960 compilers.
2638 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2640 # The IRIX 6 linker writes into existing files which may not be
2641 # executable, retaining their permissions. Remove them first so a
2642 # subsequent execution test works.
2644 for ac_file in $ac_files
2647 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2648 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2653 if { (ac_try="$ac_link_default"
2655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2659 (eval "$ac_link_default") 2>&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; then
2663 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2664 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2665 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2666 # so that the user can short-circuit this test for compilers unknown to
2668 for ac_file in $ac_files ''
2670 test -f "$ac_file" || continue
2672 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2675 # We found the default executable, but exeext='' is most
2679 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2681 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2683 # We set ac_cv_exeext here because the later test for it is not
2684 # safe: cross compilers may not add the suffix if given an `-o'
2685 # argument, so we may need to know it at that point already.
2686 # Even if this section looks crufty: it has the advantage of
2693 test "$ac_cv_exeext" = no && ac_cv_exeext=
2699 { echo "$as_me:$LINENO: result: $ac_file" >&5
2700 echo "${ECHO_T}$ac_file" >&6; }
2701 if test -z "$ac_file"; then
2702 echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.$ac_ext >&5
2705 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2706 See \`config.log' for more details." >&5
2707 echo "$as_me: error: C compiler cannot create executables
2708 See \`config.log' for more details." >&2;}
2709 { (exit 77); exit 77; }; }
2712 ac_exeext=$ac_cv_exeext
2714 # Check that the compiler produces executables we can run. If not, either
2715 # the compiler is broken, or we cross compile.
2716 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2717 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2718 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2719 # If not cross compiling, check that we can run a simple program.
2720 if test "$cross_compiling" != yes; then
2721 if { ac_try='./$ac_file'
2722 { (case "(($ac_try" in
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2727 (eval "$ac_try") 2>&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); }; }; then
2733 if test "$cross_compiling" = maybe; then
2736 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2737 If you meant to cross compile, use \`--host'.
2738 See \`config.log' for more details." >&5
2739 echo "$as_me: error: cannot run C compiled programs.
2740 If you meant to cross compile, use \`--host'.
2741 See \`config.log' for more details." >&2;}
2742 { (exit 1); exit 1; }; }
2746 { echo "$as_me:$LINENO: result: yes" >&5
2747 echo "${ECHO_T}yes" >&6; }
2749 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2750 ac_clean_files=$ac_clean_files_save
2751 # Check that the compiler produces executables we can run. If not, either
2752 # the compiler is broken, or we cross compile.
2753 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2754 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2755 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2756 echo "${ECHO_T}$cross_compiling" >&6; }
2758 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2759 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2760 if { (ac_try="$ac_link"
2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2766 (eval "$ac_link") 2>&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; then
2770 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2771 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2772 # work properly (i.e., refer to `conftest.exe'), while it won't with
2774 for ac_file in conftest.exe conftest conftest.*; do
2775 test -f "$ac_file" || continue
2777 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2778 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2784 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2785 See \`config.log' for more details." >&5
2786 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2787 See \`config.log' for more details." >&2;}
2788 { (exit 1); exit 1; }; }
2791 rm -f conftest$ac_cv_exeext
2792 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2793 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2795 rm -f conftest.$ac_ext
2796 EXEEXT=$ac_cv_exeext
2798 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2799 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2800 if test "${ac_cv_objext+set}" = set; then
2801 echo $ECHO_N "(cached) $ECHO_C" >&6
2803 cat >conftest.$ac_ext <<_ACEOF
2806 cat confdefs.h >>conftest.$ac_ext
2807 cat >>conftest.$ac_ext <<_ACEOF
2808 /* end confdefs.h. */
2818 rm -f conftest.o conftest.obj
2819 if { (ac_try="$ac_compile"
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2825 (eval "$ac_compile") 2>&5
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); }; then
2829 for ac_file in conftest.o conftest.obj conftest.*; do
2830 test -f "$ac_file" || continue;
2832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2833 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2838 echo "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.$ac_ext >&5
2841 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2842 See \`config.log' for more details." >&5
2843 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2844 See \`config.log' for more details." >&2;}
2845 { (exit 1); exit 1; }; }
2848 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2850 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2851 echo "${ECHO_T}$ac_cv_objext" >&6; }
2852 OBJEXT=$ac_cv_objext
2854 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2855 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2856 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2857 echo $ECHO_N "(cached) $ECHO_C" >&6
2859 cat >conftest.$ac_ext <<_ACEOF
2862 cat confdefs.h >>conftest.$ac_ext
2863 cat >>conftest.$ac_ext <<_ACEOF
2864 /* end confdefs.h. */
2877 rm -f conftest.$ac_objext
2878 if { (ac_try="$ac_compile"
2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2884 (eval "$ac_compile") 2>conftest.er1
2886 grep -v '^ *+' conftest.er1 >conftest.err
2888 cat conftest.err >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); } && {
2891 test -z "$ac_c_werror_flag" ||
2892 test ! -s conftest.err
2893 } && test -s conftest.$ac_objext; then
2896 echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2903 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2906 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2907 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2908 GCC=`test $ac_compiler_gnu = yes && echo yes`
2909 ac_test_CFLAGS=${CFLAGS+set}
2910 ac_save_CFLAGS=$CFLAGS
2911 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2912 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2913 if test "${ac_cv_prog_cc_g+set}" = set; then
2914 echo $ECHO_N "(cached) $ECHO_C" >&6
2916 ac_save_c_werror_flag=$ac_c_werror_flag
2917 ac_c_werror_flag=yes
2920 cat >conftest.$ac_ext <<_ACEOF
2923 cat confdefs.h >>conftest.$ac_ext
2924 cat >>conftest.$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2935 rm -f conftest.$ac_objext
2936 if { (ac_try="$ac_compile"
2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939 *) ac_try_echo=$ac_try;;
2941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2942 (eval "$ac_compile") 2>conftest.er1
2944 grep -v '^ *+' conftest.er1 >conftest.err
2946 cat conftest.err >&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); } && {
2949 test -z "$ac_c_werror_flag" ||
2950 test ! -s conftest.err
2951 } && test -s conftest.$ac_objext; then
2954 echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2958 cat >conftest.$ac_ext <<_ACEOF
2961 cat confdefs.h >>conftest.$ac_ext
2962 cat >>conftest.$ac_ext <<_ACEOF
2963 /* end confdefs.h. */
2973 rm -f conftest.$ac_objext
2974 if { (ac_try="$ac_compile"
2976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2980 (eval "$ac_compile") 2>conftest.er1
2982 grep -v '^ *+' conftest.er1 >conftest.err
2984 cat conftest.err >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); } && {
2987 test -z "$ac_c_werror_flag" ||
2988 test ! -s conftest.err
2989 } && test -s conftest.$ac_objext; then
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2995 ac_c_werror_flag=$ac_save_c_werror_flag
2997 cat >conftest.$ac_ext <<_ACEOF
3000 cat confdefs.h >>conftest.$ac_ext
3001 cat >>conftest.$ac_ext <<_ACEOF
3002 /* end confdefs.h. */
3012 rm -f conftest.$ac_objext
3013 if { (ac_try="$ac_compile"
3015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3019 (eval "$ac_compile") 2>conftest.er1
3021 grep -v '^ *+' conftest.er1 >conftest.err
3023 cat conftest.err >&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); } && {
3026 test -z "$ac_c_werror_flag" ||
3027 test ! -s conftest.err
3028 } && test -s conftest.$ac_objext; then
3031 echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.$ac_ext >&5
3037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3044 ac_c_werror_flag=$ac_save_c_werror_flag
3046 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3047 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3048 if test "$ac_test_CFLAGS" = set; then
3049 CFLAGS=$ac_save_CFLAGS
3050 elif test $ac_cv_prog_cc_g = yes; then
3051 if test "$GCC" = yes; then
3057 if test "$GCC" = yes; then
3063 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3064 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3065 if test "${ac_cv_prog_cc_c89+set}" = set; then
3066 echo $ECHO_N "(cached) $ECHO_C" >&6
3068 ac_cv_prog_cc_c89=no
3070 cat >conftest.$ac_ext <<_ACEOF
3073 cat confdefs.h >>conftest.$ac_ext
3074 cat >>conftest.$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3078 #include <sys/types.h>
3079 #include <sys/stat.h>
3080 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3081 struct buf { int x; };
3082 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3083 static char *e (p, i)
3089 static char *f (char * (*g) (char **, int), char **p, ...)
3094 s = g (p, va_arg (v,int));
3099 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3100 function prototypes and stuff, but not '\xHH' hex character constants.
3101 These don't provoke an error unfortunately, instead are silently treated
3102 as 'x'. The following induces an error, until -std is added to get
3103 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3104 array size at least. It's necessary to write '\x00'==0 to get something
3105 that's true only with -std. */
3106 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3108 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3109 inside strings and character constants. */
3111 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3113 int test (int i, double x);
3114 struct s1 {int (*f) (int a);};
3115 struct s2 {int (*f) (double a);};
3116 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3122 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3127 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3128 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3130 CC="$ac_save_CC $ac_arg"
3131 rm -f conftest.$ac_objext
3132 if { (ac_try="$ac_compile"
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3138 (eval "$ac_compile") 2>conftest.er1
3140 grep -v '^ *+' conftest.er1 >conftest.err
3142 cat conftest.err >&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } && {
3145 test -z "$ac_c_werror_flag" ||
3146 test ! -s conftest.err
3147 } && test -s conftest.$ac_objext; then
3148 ac_cv_prog_cc_c89=$ac_arg
3150 echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3156 rm -f core conftest.err conftest.$ac_objext
3157 test "x$ac_cv_prog_cc_c89" != "xno" && break
3159 rm -f conftest.$ac_ext
3164 case "x$ac_cv_prog_cc_c89" in
3166 { echo "$as_me:$LINENO: result: none needed" >&5
3167 echo "${ECHO_T}none needed" >&6; } ;;
3169 { echo "$as_me:$LINENO: result: unsupported" >&5
3170 echo "${ECHO_T}unsupported" >&6; } ;;
3172 CC="$CC $ac_cv_prog_cc_c89"
3173 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3174 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3179 ac_cpp='$CPP $CPPFLAGS'
3180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3185 ac_cpp='$CXXCPP $CPPFLAGS'
3186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3189 if test -z "$CXX"; then
3190 if test -n "$CCC"; then
3193 if test -n "$ac_tool_prefix"; then
3194 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3196 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3200 if test "${ac_cv_prog_CXX+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 if test -n "$CXX"; then
3204 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir=.
3211 for ac_exec_ext in '' $ac_executable_extensions; do
3212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3213 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 if test -n "$CXX"; then
3225 { echo "$as_me:$LINENO: result: $CXX" >&5
3226 echo "${ECHO_T}$CXX" >&6; }
3228 { echo "$as_me:$LINENO: result: no" >&5
3229 echo "${ECHO_T}no" >&6; }
3233 test -n "$CXX" && break
3236 if test -z "$CXX"; then
3238 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3240 # Extract the first word of "$ac_prog", so it can be a program name with args.
3241 set dummy $ac_prog; ac_word=$2
3242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3244 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 if test -n "$ac_ct_CXX"; then
3248 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3254 test -z "$as_dir" && as_dir=.
3255 for ac_exec_ext in '' $ac_executable_extensions; do
3256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3257 ac_cv_prog_ac_ct_CXX="$ac_prog"
3258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3267 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3268 if test -n "$ac_ct_CXX"; then
3269 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3270 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3272 { echo "$as_me:$LINENO: result: no" >&5
3273 echo "${ECHO_T}no" >&6; }
3277 test -n "$ac_ct_CXX" && break
3280 if test "x$ac_ct_CXX" = x; then
3283 case $cross_compiling:$ac_tool_warned in
3285 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3286 whose name does not start with the host triplet. If you think this
3287 configuration is useful to you, please write to autoconf@gnu.org." >&5
3288 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3289 whose name does not start with the host triplet. If you think this
3290 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3291 ac_tool_warned=yes ;;
3299 # Provide some information about the compiler.
3300 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3301 ac_compiler=`set X $ac_compile; echo $2`
3302 { (ac_try="$ac_compiler --version >&5"
3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305 *) ac_try_echo=$ac_try;;
3307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3308 (eval "$ac_compiler --version >&5") 2>&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }
3312 { (ac_try="$ac_compiler -v >&5"
3314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3315 *) ac_try_echo=$ac_try;;
3317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3318 (eval "$ac_compiler -v >&5") 2>&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }
3322 { (ac_try="$ac_compiler -V >&5"
3324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3325 *) ac_try_echo=$ac_try;;
3327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3328 (eval "$ac_compiler -V >&5") 2>&5
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); }
3333 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3334 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3335 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3336 echo $ECHO_N "(cached) $ECHO_C" >&6
3338 cat >conftest.$ac_ext <<_ACEOF
3341 cat confdefs.h >>conftest.$ac_ext
3342 cat >>conftest.$ac_ext <<_ACEOF
3343 /* end confdefs.h. */
3356 rm -f conftest.$ac_objext
3357 if { (ac_try="$ac_compile"
3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360 *) ac_try_echo=$ac_try;;
3362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3363 (eval "$ac_compile") 2>conftest.er1
3365 grep -v '^ *+' conftest.er1 >conftest.err
3367 cat conftest.err >&5
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); } && {
3370 test -z "$ac_cxx_werror_flag" ||
3371 test ! -s conftest.err
3372 } && test -s conftest.$ac_objext; then
3375 echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.$ac_ext >&5
3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3385 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3386 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3387 GXX=`test $ac_compiler_gnu = yes && echo yes`
3388 ac_test_CXXFLAGS=${CXXFLAGS+set}
3389 ac_save_CXXFLAGS=$CXXFLAGS
3390 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3391 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3392 if test "${ac_cv_prog_cxx_g+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3395 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3396 ac_cxx_werror_flag=yes
3399 cat >conftest.$ac_ext <<_ACEOF
3402 cat confdefs.h >>conftest.$ac_ext
3403 cat >>conftest.$ac_ext <<_ACEOF
3404 /* end confdefs.h. */
3414 rm -f conftest.$ac_objext
3415 if { (ac_try="$ac_compile"
3417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3418 *) ac_try_echo=$ac_try;;
3420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3421 (eval "$ac_compile") 2>conftest.er1
3423 grep -v '^ *+' conftest.er1 >conftest.err
3425 cat conftest.err >&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); } && {
3428 test -z "$ac_cxx_werror_flag" ||
3429 test ! -s conftest.err
3430 } && test -s conftest.$ac_objext; then
3431 ac_cv_prog_cxx_g=yes
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.$ac_ext >&5
3437 cat >conftest.$ac_ext <<_ACEOF
3440 cat confdefs.h >>conftest.$ac_ext
3441 cat >>conftest.$ac_ext <<_ACEOF
3442 /* end confdefs.h. */
3452 rm -f conftest.$ac_objext
3453 if { (ac_try="$ac_compile"
3455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456 *) ac_try_echo=$ac_try;;
3458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3459 (eval "$ac_compile") 2>conftest.er1
3461 grep -v '^ *+' conftest.er1 >conftest.err
3463 cat conftest.err >&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); } && {
3466 test -z "$ac_cxx_werror_flag" ||
3467 test ! -s conftest.err
3468 } && test -s conftest.$ac_objext; then
3471 echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.$ac_ext >&5
3474 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3476 cat >conftest.$ac_ext <<_ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3491 rm -f conftest.$ac_objext
3492 if { (ac_try="$ac_compile"
3494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495 *) ac_try_echo=$ac_try;;
3497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3498 (eval "$ac_compile") 2>conftest.er1
3500 grep -v '^ *+' conftest.er1 >conftest.err
3502 cat conftest.err >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); } && {
3505 test -z "$ac_cxx_werror_flag" ||
3506 test ! -s conftest.err
3507 } && test -s conftest.$ac_objext; then
3508 ac_cv_prog_cxx_g=yes
3510 echo "$as_me: failed program was:" >&5
3511 sed 's/^/| /' conftest.$ac_ext >&5
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3525 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3526 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3527 if test "$ac_test_CXXFLAGS" = set; then
3528 CXXFLAGS=$ac_save_CXXFLAGS
3529 elif test $ac_cv_prog_cxx_g = yes; then
3530 if test "$GXX" = yes; then
3536 if test "$GXX" = yes; then
3543 ac_cpp='$CPP $CPPFLAGS'
3544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3548 if test -n "$ac_tool_prefix"; then
3549 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3550 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3553 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3556 if test -n "$CPPBIN"; then
3557 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3563 test -z "$as_dir" && as_dir=.
3564 for ac_exec_ext in '' $ac_executable_extensions; do
3565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3566 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 CPPBIN=$ac_cv_prog_CPPBIN
3577 if test -n "$CPPBIN"; then
3578 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3579 echo "${ECHO_T}$CPPBIN" >&6; }
3581 { echo "$as_me:$LINENO: result: no" >&5
3582 echo "${ECHO_T}no" >&6; }
3587 if test -z "$ac_cv_prog_CPPBIN"; then
3588 ac_ct_CPPBIN=$CPPBIN
3589 # Extract the first word of "cpp", so it can be a program name with args.
3590 set dummy cpp; ac_word=$2
3591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3593 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3596 if test -n "$ac_ct_CPPBIN"; then
3597 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3603 test -z "$as_dir" && as_dir=.
3604 for ac_exec_ext in '' $ac_executable_extensions; do
3605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3606 ac_cv_prog_ac_ct_CPPBIN="cpp"
3607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3617 if test -n "$ac_ct_CPPBIN"; then
3618 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3619 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3621 { echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6; }
3625 if test "x$ac_ct_CPPBIN" = x; then
3628 case $cross_compiling:$ac_tool_warned in
3630 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3631 whose name does not start with the host triplet. If you think this
3632 configuration is useful to you, please write to autoconf@gnu.org." >&5
3633 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3634 whose name does not start with the host triplet. If you think this
3635 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3636 ac_tool_warned=yes ;;
3638 CPPBIN=$ac_ct_CPPBIN
3641 CPPBIN="$ac_cv_prog_CPPBIN"
3645 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3646 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3647 if test "${wine_cv_toolsdir+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3650 if test -z "$with_wine_tools"; then
3651 if test "$cross_compiling" = "yes"; then
3652 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3653 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3654 { (exit 1); exit 1; }; }
3656 wine_cv_toolsdir="\$(TOPOBJDIR)"
3658 elif test -d "$with_wine_tools/tools/winebuild"; then
3659 case $with_wine_tools in
3660 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3661 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3664 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3665 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3666 { (exit 1); exit 1; }; }
3669 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3670 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3671 TOOLSDIR=$wine_cv_toolsdir
3676 ac_cpp='$CPP $CPPFLAGS'
3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3681 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3682 # On Suns, sometimes $CPP names a directory.
3683 if test -n "$CPP" && test -d "$CPP"; then
3686 if test -z "$CPP"; then
3687 if test "${ac_cv_prog_CPP+set}" = set; then
3688 echo $ECHO_N "(cached) $ECHO_C" >&6
3690 # Double quotes because CPP needs to be expanded
3691 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3694 for ac_c_preproc_warn_flag in '' yes
3696 # Use a header file that comes with gcc, so configuring glibc
3697 # with a fresh cross-compiler works.
3698 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3699 # <limits.h> exists even on freestanding compilers.
3700 # On the NeXT, cc -E runs the code through the compiler's parser,
3701 # not just through cpp. "Syntax error" is here to catch this case.
3702 cat >conftest.$ac_ext <<_ACEOF
3705 cat confdefs.h >>conftest.$ac_ext
3706 cat >>conftest.$ac_ext <<_ACEOF
3707 /* end confdefs.h. */
3709 # include <limits.h>
3711 # include <assert.h>
3715 if { (ac_try="$ac_cpp conftest.$ac_ext"
3717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3718 *) ac_try_echo=$ac_try;;
3720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3723 grep -v '^ *+' conftest.er1 >conftest.err
3725 cat conftest.err >&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); } >/dev/null && {
3728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3729 test ! -s conftest.err
3733 echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3736 # Broken: fails on valid input.
3740 rm -f conftest.err conftest.$ac_ext
3742 # OK, works on sane cases. Now check whether nonexistent headers
3743 # can be detected and how.
3744 cat >conftest.$ac_ext <<_ACEOF
3747 cat confdefs.h >>conftest.$ac_ext
3748 cat >>conftest.$ac_ext <<_ACEOF
3749 /* end confdefs.h. */
3750 #include <ac_nonexistent.h>
3752 if { (ac_try="$ac_cpp conftest.$ac_ext"
3754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3755 *) ac_try_echo=$ac_try;;
3757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3760 grep -v '^ *+' conftest.er1 >conftest.err
3762 cat conftest.err >&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); } >/dev/null && {
3765 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3766 test ! -s conftest.err
3768 # Broken: success on invalid input.
3771 echo "$as_me: failed program was:" >&5
3772 sed 's/^/| /' conftest.$ac_ext >&5
3774 # Passes both tests.
3779 rm -f conftest.err conftest.$ac_ext
3782 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3783 rm -f conftest.err conftest.$ac_ext
3784 if $ac_preproc_ok; then
3796 { echo "$as_me:$LINENO: result: $CPP" >&5
3797 echo "${ECHO_T}$CPP" >&6; }
3799 for ac_c_preproc_warn_flag in '' yes
3801 # Use a header file that comes with gcc, so configuring glibc
3802 # with a fresh cross-compiler works.
3803 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3804 # <limits.h> exists even on freestanding compilers.
3805 # On the NeXT, cc -E runs the code through the compiler's parser,
3806 # not just through cpp. "Syntax error" is here to catch this case.
3807 cat >conftest.$ac_ext <<_ACEOF
3810 cat confdefs.h >>conftest.$ac_ext
3811 cat >>conftest.$ac_ext <<_ACEOF
3812 /* end confdefs.h. */
3814 # include <limits.h>
3816 # include <assert.h>
3820 if { (ac_try="$ac_cpp conftest.$ac_ext"
3822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3823 *) ac_try_echo=$ac_try;;
3825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3828 grep -v '^ *+' conftest.er1 >conftest.err
3830 cat conftest.err >&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); } >/dev/null && {
3833 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3834 test ! -s conftest.err
3838 echo "$as_me: failed program was:" >&5
3839 sed 's/^/| /' conftest.$ac_ext >&5
3841 # Broken: fails on valid input.
3845 rm -f conftest.err conftest.$ac_ext
3847 # OK, works on sane cases. Now check whether nonexistent headers
3848 # can be detected and how.
3849 cat >conftest.$ac_ext <<_ACEOF
3852 cat confdefs.h >>conftest.$ac_ext
3853 cat >>conftest.$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3855 #include <ac_nonexistent.h>
3857 if { (ac_try="$ac_cpp conftest.$ac_ext"
3859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3865 grep -v '^ *+' conftest.er1 >conftest.err
3867 cat conftest.err >&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); } >/dev/null && {
3870 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3871 test ! -s conftest.err
3873 # Broken: success on invalid input.
3876 echo "$as_me: failed program was:" >&5
3877 sed 's/^/| /' conftest.$ac_ext >&5
3879 # Passes both tests.
3884 rm -f conftest.err conftest.$ac_ext
3887 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3888 rm -f conftest.err conftest.$ac_ext
3889 if $ac_preproc_ok; then
3892 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3893 See \`config.log' for more details." >&5
3894 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3895 See \`config.log' for more details." >&2;}
3896 { (exit 1); exit 1; }; }
3900 ac_cpp='$CPP $CPPFLAGS'
3901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3906 { echo "$as_me:$LINENO: checking for X" >&5
3907 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3910 # Check whether --with-x was given.
3911 if test "${with_x+set}" = set; then
3915 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3916 if test "x$with_x" = xno; then
3917 # The user explicitly disabled X.
3920 case $x_includes,$x_libraries in #(
3921 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3922 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3923 { (exit 1); exit 1; }; };; #(
3924 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 # One or both of the vars are not set, and there is no cached value.
3928 ac_x_includes=no ac_x_libraries=no
3929 rm -f -r conftest.dir
3930 if mkdir conftest.dir; then
3932 cat >Imakefile <<'_ACEOF'
3934 @echo incroot='${INCROOT}'
3936 @echo usrlibdir='${USRLIBDIR}'
3938 @echo libdir='${LIBDIR}'
3940 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3941 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3942 for ac_var in incroot usrlibdir libdir; do
3943 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3945 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3946 for ac_extension in a so sl; do
3947 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3948 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3949 ac_im_usrlibdir=$ac_im_libdir; break
3952 # Screen out bogus values from the imake configuration. They are
3953 # bogus both because they are the default anyway, and because
3954 # using them would break gcc on systems where it needs fixed includes.
3955 case $ac_im_incroot in
3956 /usr/include) ac_x_includes= ;;
3957 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3959 case $ac_im_usrlibdir in
3961 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3965 rm -f -r conftest.dir
3968 # Standard set of common directories for X headers.
3969 # Check X11 before X11Rn because it is often a symlink to the current release.
3981 /usr/local/X11/include
3982 /usr/local/X11R6/include
3983 /usr/local/X11R5/include
3984 /usr/local/X11R4/include
3986 /usr/local/include/X11
3987 /usr/local/include/X11R6
3988 /usr/local/include/X11R5
3989 /usr/local/include/X11R4
3993 /usr/XFree86/include/X11
3997 /usr/unsupported/include
3999 /usr/local/x11r5/include
4000 /usr/lpp/Xamples/include
4002 /usr/openwin/include
4003 /usr/openwin/share/include'
4005 if test "$ac_x_includes" = no; then
4006 # Guess where to find include files, by looking for Xlib.h.
4007 # First, try using that file with no special directory specified.
4008 cat >conftest.$ac_ext <<_ACEOF
4011 cat confdefs.h >>conftest.$ac_ext
4012 cat >>conftest.$ac_ext <<_ACEOF
4013 /* end confdefs.h. */
4014 #include <X11/Xlib.h>
4016 if { (ac_try="$ac_cpp conftest.$ac_ext"
4018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019 *) ac_try_echo=$ac_try;;
4021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4022 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4024 grep -v '^ *+' conftest.er1 >conftest.err
4026 cat conftest.err >&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } >/dev/null && {
4029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4030 test ! -s conftest.err
4032 # We can compile using X headers with no special include directory.
4035 echo "$as_me: failed program was:" >&5
4036 sed 's/^/| /' conftest.$ac_ext >&5
4038 for ac_dir in $ac_x_header_dirs; do
4039 if test -r "$ac_dir/X11/Xlib.h"; then
4040 ac_x_includes=$ac_dir
4046 rm -f conftest.err conftest.$ac_ext
4047 fi # $ac_x_includes = no
4049 if test "$ac_x_libraries" = no; then
4050 # Check for the libraries.
4051 # See if we find them without any special options.
4052 # Don't add to $LIBS permanently.
4055 cat >conftest.$ac_ext <<_ACEOF
4058 cat confdefs.h >>conftest.$ac_ext
4059 cat >>conftest.$ac_ext <<_ACEOF
4060 /* end confdefs.h. */
4061 #include <X11/Xlib.h>
4070 rm -f conftest.$ac_objext conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077 (eval "$ac_link") 2>conftest.er1
4079 grep -v '^ *+' conftest.er1 >conftest.err
4081 cat conftest.err >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } && {
4084 test -z "$ac_c_werror_flag" ||
4085 test ! -s conftest.err
4086 } && test -s conftest$ac_exeext &&
4087 $as_test_x conftest$ac_exeext; then
4089 # We can link X programs with no special library path.
4092 echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.$ac_ext >&5
4096 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4098 # Don't even attempt the hair of trying to link an X program!
4099 for ac_extension in a so sl; do
4100 if test -r "$ac_dir/libX11.$ac_extension"; then
4101 ac_x_libraries=$ac_dir
4108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4109 conftest$ac_exeext conftest.$ac_ext
4110 fi # $ac_x_libraries = no
4112 case $ac_x_includes,$ac_x_libraries in #(
4114 # Didn't find X, or a directory has "'" in its name.
4115 ac_cv_have_x="have_x=no";; #(
4117 # Record where we found X for the cache.
4118 ac_cv_have_x="have_x=yes\
4119 ac_x_includes='$ac_x_includes'\
4120 ac_x_libraries='$ac_x_libraries'"
4126 eval "$ac_cv_have_x"
4129 if test "$have_x" != yes; then
4130 { echo "$as_me:$LINENO: result: $have_x" >&5
4131 echo "${ECHO_T}$have_x" >&6; }
4134 # If each of the values was on the command line, it overrides each guess.
4135 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4136 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4137 # Update the cache value to reflect the command line values.
4138 ac_cv_have_x="have_x=yes\
4139 ac_x_includes='$x_includes'\
4140 ac_x_libraries='$x_libraries'"
4141 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4142 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4145 if test "$no_x" = yes; then
4146 # Not all programs may use this symbol, but it does not hurt to define it.
4148 cat >>confdefs.h <<\_ACEOF
4149 #define X_DISPLAY_MISSING 1
4152 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4154 if test -n "$x_includes"; then
4155 X_CFLAGS="$X_CFLAGS -I$x_includes"
4158 # It would also be nice to do this for all -L options, not just this one.
4159 if test -n "$x_libraries"; then
4160 X_LIBS="$X_LIBS -L$x_libraries"
4161 # For Solaris; some versions of Sun CC require a space after -R and
4162 # others require no space. Words are not sufficient . . . .
4163 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4164 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4165 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4166 ac_xsave_c_werror_flag=$ac_c_werror_flag
4167 ac_c_werror_flag=yes
4168 cat >conftest.$ac_ext <<_ACEOF
4171 cat confdefs.h >>conftest.$ac_ext
4172 cat >>conftest.$ac_ext <<_ACEOF
4173 /* end confdefs.h. */
4183 rm -f conftest.$ac_objext conftest$ac_exeext
4184 if { (ac_try="$ac_link"
4186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4187 *) ac_try_echo=$ac_try;;
4189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4190 (eval "$ac_link") 2>conftest.er1
4192 grep -v '^ *+' conftest.er1 >conftest.err
4194 cat conftest.err >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } && {
4197 test -z "$ac_c_werror_flag" ||
4198 test ! -s conftest.err
4199 } && test -s conftest$ac_exeext &&
4200 $as_test_x conftest$ac_exeext; then
4201 { echo "$as_me:$LINENO: result: no" >&5
4202 echo "${ECHO_T}no" >&6; }
4203 X_LIBS="$X_LIBS -R$x_libraries"
4205 echo "$as_me: failed program was:" >&5
4206 sed 's/^/| /' conftest.$ac_ext >&5
4208 LIBS="$ac_xsave_LIBS -R $x_libraries"
4209 cat >conftest.$ac_ext <<_ACEOF
4212 cat confdefs.h >>conftest.$ac_ext
4213 cat >>conftest.$ac_ext <<_ACEOF
4214 /* end confdefs.h. */
4224 rm -f conftest.$ac_objext conftest$ac_exeext
4225 if { (ac_try="$ac_link"
4227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4228 *) ac_try_echo=$ac_try;;
4230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4231 (eval "$ac_link") 2>conftest.er1
4233 grep -v '^ *+' conftest.er1 >conftest.err
4235 cat conftest.err >&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); } && {
4238 test -z "$ac_c_werror_flag" ||
4239 test ! -s conftest.err
4240 } && test -s conftest$ac_exeext &&
4241 $as_test_x conftest$ac_exeext; then
4242 { echo "$as_me:$LINENO: result: yes" >&5
4243 echo "${ECHO_T}yes" >&6; }
4244 X_LIBS="$X_LIBS -R $x_libraries"
4246 echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.$ac_ext >&5
4249 { echo "$as_me:$LINENO: result: neither works" >&5
4250 echo "${ECHO_T}neither works" >&6; }
4253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4254 conftest$ac_exeext conftest.$ac_ext
4257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4258 conftest$ac_exeext conftest.$ac_ext
4259 ac_c_werror_flag=$ac_xsave_c_werror_flag
4263 # Check for system-dependent libraries X programs must link with.
4264 # Do this before checking for the system-independent R6 libraries
4265 # (-lICE), since we may need -lsocket or whatever for X linking.
4267 if test "$ISC" = yes; then
4268 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4270 # Martyn Johnson says this is needed for Ultrix, if the X
4271 # libraries were built with DECnet support. And Karl Berry says
4272 # the Alpha needs dnet_stub (dnet does not exist).
4273 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4274 cat >conftest.$ac_ext <<_ACEOF
4277 cat confdefs.h >>conftest.$ac_ext
4278 cat >>conftest.$ac_ext <<_ACEOF
4279 /* end confdefs.h. */
4281 /* Override any GCC internal prototype to avoid an error.
4282 Use char because int might match the return type of a GCC
4283 builtin and then its argument prototype would still apply. */
4287 char XOpenDisplay ();
4291 return XOpenDisplay ();
4296 rm -f conftest.$ac_objext conftest$ac_exeext
4297 if { (ac_try="$ac_link"
4299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4300 *) ac_try_echo=$ac_try;;
4302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4303 (eval "$ac_link") 2>conftest.er1
4305 grep -v '^ *+' conftest.er1 >conftest.err
4307 cat conftest.err >&5
4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309 (exit $ac_status); } && {
4310 test -z "$ac_c_werror_flag" ||
4311 test ! -s conftest.err
4312 } && test -s conftest$ac_exeext &&
4313 $as_test_x conftest$ac_exeext; then
4316 echo "$as_me: failed program was:" >&5
4317 sed 's/^/| /' conftest.$ac_ext >&5
4319 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4320 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4321 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4322 echo $ECHO_N "(cached) $ECHO_C" >&6
4324 ac_check_lib_save_LIBS=$LIBS
4326 cat >conftest.$ac_ext <<_ACEOF
4329 cat confdefs.h >>conftest.$ac_ext
4330 cat >>conftest.$ac_ext <<_ACEOF
4331 /* end confdefs.h. */
4333 /* Override any GCC internal prototype to avoid an error.
4334 Use char because int might match the return type of a GCC
4335 builtin and then its argument prototype would still apply. */
4343 return dnet_ntoa ();
4348 rm -f conftest.$ac_objext conftest$ac_exeext
4349 if { (ac_try="$ac_link"
4351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4355 (eval "$ac_link") 2>conftest.er1
4357 grep -v '^ *+' conftest.er1 >conftest.err
4359 cat conftest.err >&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } && {
4362 test -z "$ac_c_werror_flag" ||
4363 test ! -s conftest.err
4364 } && test -s conftest$ac_exeext &&
4365 $as_test_x conftest$ac_exeext; then
4366 ac_cv_lib_dnet_dnet_ntoa=yes
4368 echo "$as_me: failed program was:" >&5
4369 sed 's/^/| /' conftest.$ac_ext >&5
4371 ac_cv_lib_dnet_dnet_ntoa=no
4374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4375 conftest$ac_exeext conftest.$ac_ext
4376 LIBS=$ac_check_lib_save_LIBS
4378 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4379 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4380 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4381 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4384 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4385 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4386 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4387 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 ac_check_lib_save_LIBS=$LIBS
4391 LIBS="-ldnet_stub $LIBS"
4392 cat >conftest.$ac_ext <<_ACEOF
4395 cat confdefs.h >>conftest.$ac_ext
4396 cat >>conftest.$ac_ext <<_ACEOF
4397 /* end confdefs.h. */
4399 /* Override any GCC internal prototype to avoid an error.
4400 Use char because int might match the return type of a GCC
4401 builtin and then its argument prototype would still apply. */
4409 return dnet_ntoa ();
4414 rm -f conftest.$ac_objext conftest$ac_exeext
4415 if { (ac_try="$ac_link"
4417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4418 *) ac_try_echo=$ac_try;;
4420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4421 (eval "$ac_link") 2>conftest.er1
4423 grep -v '^ *+' conftest.er1 >conftest.err
4425 cat conftest.err >&5
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); } && {
4428 test -z "$ac_c_werror_flag" ||
4429 test ! -s conftest.err
4430 } && test -s conftest$ac_exeext &&
4431 $as_test_x conftest$ac_exeext; then
4432 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4434 echo "$as_me: failed program was:" >&5
4435 sed 's/^/| /' conftest.$ac_ext >&5
4437 ac_cv_lib_dnet_stub_dnet_ntoa=no
4440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4441 conftest$ac_exeext conftest.$ac_ext
4442 LIBS=$ac_check_lib_save_LIBS
4444 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4445 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4446 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4447 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4454 conftest$ac_exeext conftest.$ac_ext
4455 LIBS="$ac_xsave_LIBS"
4457 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4458 # to get the SysV transport functions.
4459 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4461 # The nsl library prevents programs from opening the X display
4462 # on Irix 5.2, according to T.E. Dickey.
4463 # The functions gethostbyname, getservbyname, and inet_addr are
4464 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4465 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4466 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4467 if test "${ac_cv_func_gethostbyname+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4470 cat >conftest.$ac_ext <<_ACEOF
4473 cat confdefs.h >>conftest.$ac_ext
4474 cat >>conftest.$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4476 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4478 #define gethostbyname innocuous_gethostbyname
4480 /* System header to define __stub macros and hopefully few prototypes,
4481 which can conflict with char gethostbyname (); below.
4482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4483 <limits.h> exists even on freestanding compilers. */
4486 # include <limits.h>
4488 # include <assert.h>
4491 #undef gethostbyname
4493 /* Override any GCC internal prototype to avoid an error.
4494 Use char because int might match the return type of a GCC
4495 builtin and then its argument prototype would still apply. */
4499 char gethostbyname ();
4500 /* The GNU C library defines this for functions which it implements
4501 to always fail with ENOSYS. Some functions are actually named
4502 something starting with __ and the normal name is an alias. */
4503 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4510 return gethostbyname ();
4515 rm -f conftest.$ac_objext conftest$ac_exeext
4516 if { (ac_try="$ac_link"
4518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4519 *) ac_try_echo=$ac_try;;
4521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4522 (eval "$ac_link") 2>conftest.er1
4524 grep -v '^ *+' conftest.er1 >conftest.err
4526 cat conftest.err >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); } && {
4529 test -z "$ac_c_werror_flag" ||
4530 test ! -s conftest.err
4531 } && test -s conftest$ac_exeext &&
4532 $as_test_x conftest$ac_exeext; then
4533 ac_cv_func_gethostbyname=yes
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.$ac_ext >&5
4538 ac_cv_func_gethostbyname=no
4541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4542 conftest$ac_exeext conftest.$ac_ext
4544 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4545 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4547 if test $ac_cv_func_gethostbyname = no; then
4548 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4549 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4550 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 ac_check_lib_save_LIBS=$LIBS
4555 cat >conftest.$ac_ext <<_ACEOF
4558 cat confdefs.h >>conftest.$ac_ext
4559 cat >>conftest.$ac_ext <<_ACEOF
4560 /* end confdefs.h. */
4562 /* Override any GCC internal prototype to avoid an error.
4563 Use char because int might match the return type of a GCC
4564 builtin and then its argument prototype would still apply. */
4568 char gethostbyname ();
4572 return gethostbyname ();
4577 rm -f conftest.$ac_objext conftest$ac_exeext
4578 if { (ac_try="$ac_link"
4580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4581 *) ac_try_echo=$ac_try;;
4583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4584 (eval "$ac_link") 2>conftest.er1
4586 grep -v '^ *+' conftest.er1 >conftest.err
4588 cat conftest.err >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } && {
4591 test -z "$ac_c_werror_flag" ||
4592 test ! -s conftest.err
4593 } && test -s conftest$ac_exeext &&
4594 $as_test_x conftest$ac_exeext; then
4595 ac_cv_lib_nsl_gethostbyname=yes
4597 echo "$as_me: failed program was:" >&5
4598 sed 's/^/| /' conftest.$ac_ext >&5
4600 ac_cv_lib_nsl_gethostbyname=no
4603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4604 conftest$ac_exeext conftest.$ac_ext
4605 LIBS=$ac_check_lib_save_LIBS
4607 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4608 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4609 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4610 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4613 if test $ac_cv_lib_nsl_gethostbyname = no; then
4614 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4615 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4616 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 ac_check_lib_save_LIBS=$LIBS
4621 cat >conftest.$ac_ext <<_ACEOF
4624 cat confdefs.h >>conftest.$ac_ext
4625 cat >>conftest.$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4628 /* Override any GCC internal prototype to avoid an error.
4629 Use char because int might match the return type of a GCC
4630 builtin and then its argument prototype would still apply. */
4634 char gethostbyname ();
4638 return gethostbyname ();
4643 rm -f conftest.$ac_objext conftest$ac_exeext
4644 if { (ac_try="$ac_link"
4646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4647 *) ac_try_echo=$ac_try;;
4649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4650 (eval "$ac_link") 2>conftest.er1
4652 grep -v '^ *+' conftest.er1 >conftest.err
4654 cat conftest.err >&5
4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656 (exit $ac_status); } && {
4657 test -z "$ac_c_werror_flag" ||
4658 test ! -s conftest.err
4659 } && test -s conftest$ac_exeext &&
4660 $as_test_x conftest$ac_exeext; then
4661 ac_cv_lib_bsd_gethostbyname=yes
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.$ac_ext >&5
4666 ac_cv_lib_bsd_gethostbyname=no
4669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4670 conftest$ac_exeext conftest.$ac_ext
4671 LIBS=$ac_check_lib_save_LIBS
4673 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4674 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4675 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4676 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4682 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4683 # socket/setsockopt and other routines are undefined under SCO ODT
4684 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4685 # on later versions), says Simon Leinen: it contains gethostby*
4686 # variants that don't use the name server (or something). -lsocket
4687 # must be given before -lnsl if both are needed. We assume that
4688 # if connect needs -lnsl, so does gethostbyname.
4689 { echo "$as_me:$LINENO: checking for connect" >&5
4690 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4691 if test "${ac_cv_func_connect+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 cat >conftest.$ac_ext <<_ACEOF
4697 cat confdefs.h >>conftest.$ac_ext
4698 cat >>conftest.$ac_ext <<_ACEOF
4699 /* end confdefs.h. */
4700 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4702 #define connect innocuous_connect
4704 /* System header to define __stub macros and hopefully few prototypes,
4705 which can conflict with char connect (); below.
4706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4707 <limits.h> exists even on freestanding compilers. */
4710 # include <limits.h>
4712 # include <assert.h>
4717 /* Override any GCC internal prototype to avoid an error.
4718 Use char because int might match the return type of a GCC
4719 builtin and then its argument prototype would still apply. */
4724 /* The GNU C library defines this for functions which it implements
4725 to always fail with ENOSYS. Some functions are actually named
4726 something starting with __ and the normal name is an alias. */
4727 #if defined __stub_connect || defined __stub___connect
4739 rm -f conftest.$ac_objext conftest$ac_exeext
4740 if { (ac_try="$ac_link"
4742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4743 *) ac_try_echo=$ac_try;;
4745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4746 (eval "$ac_link") 2>conftest.er1
4748 grep -v '^ *+' conftest.er1 >conftest.err
4750 cat conftest.err >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); } && {
4753 test -z "$ac_c_werror_flag" ||
4754 test ! -s conftest.err
4755 } && test -s conftest$ac_exeext &&
4756 $as_test_x conftest$ac_exeext; then
4757 ac_cv_func_connect=yes
4759 echo "$as_me: failed program was:" >&5
4760 sed 's/^/| /' conftest.$ac_ext >&5
4762 ac_cv_func_connect=no
4765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4766 conftest$ac_exeext conftest.$ac_ext
4768 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4769 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4771 if test $ac_cv_func_connect = no; then
4772 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4773 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4774 if test "${ac_cv_lib_socket_connect+set}" = set; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4777 ac_check_lib_save_LIBS=$LIBS
4778 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4779 cat >conftest.$ac_ext <<_ACEOF
4782 cat confdefs.h >>conftest.$ac_ext
4783 cat >>conftest.$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4786 /* Override any GCC internal prototype to avoid an error.
4787 Use char because int might match the return type of a GCC
4788 builtin and then its argument prototype would still apply. */
4801 rm -f conftest.$ac_objext conftest$ac_exeext
4802 if { (ac_try="$ac_link"
4804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4805 *) ac_try_echo=$ac_try;;
4807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4808 (eval "$ac_link") 2>conftest.er1
4810 grep -v '^ *+' conftest.er1 >conftest.err
4812 cat conftest.err >&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); } && {
4815 test -z "$ac_c_werror_flag" ||
4816 test ! -s conftest.err
4817 } && test -s conftest$ac_exeext &&
4818 $as_test_x conftest$ac_exeext; then
4819 ac_cv_lib_socket_connect=yes
4821 echo "$as_me: failed program was:" >&5
4822 sed 's/^/| /' conftest.$ac_ext >&5
4824 ac_cv_lib_socket_connect=no
4827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4828 conftest$ac_exeext conftest.$ac_ext
4829 LIBS=$ac_check_lib_save_LIBS
4831 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4832 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4833 if test $ac_cv_lib_socket_connect = yes; then
4834 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4839 # Guillermo Gomez says -lposix is necessary on A/UX.
4840 { echo "$as_me:$LINENO: checking for remove" >&5
4841 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4842 if test "${ac_cv_func_remove+set}" = set; then
4843 echo $ECHO_N "(cached) $ECHO_C" >&6
4845 cat >conftest.$ac_ext <<_ACEOF
4848 cat confdefs.h >>conftest.$ac_ext
4849 cat >>conftest.$ac_ext <<_ACEOF
4850 /* end confdefs.h. */
4851 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4853 #define remove innocuous_remove
4855 /* System header to define __stub macros and hopefully few prototypes,
4856 which can conflict with char remove (); below.
4857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4858 <limits.h> exists even on freestanding compilers. */
4861 # include <limits.h>
4863 # include <assert.h>
4868 /* Override any GCC internal prototype to avoid an error.
4869 Use char because int might match the return type of a GCC
4870 builtin and then its argument prototype would still apply. */
4875 /* The GNU C library defines this for functions which it implements
4876 to always fail with ENOSYS. Some functions are actually named
4877 something starting with __ and the normal name is an alias. */
4878 #if defined __stub_remove || defined __stub___remove
4890 rm -f conftest.$ac_objext conftest$ac_exeext
4891 if { (ac_try="$ac_link"
4893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4894 *) ac_try_echo=$ac_try;;
4896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4897 (eval "$ac_link") 2>conftest.er1
4899 grep -v '^ *+' conftest.er1 >conftest.err
4901 cat conftest.err >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); } && {
4904 test -z "$ac_c_werror_flag" ||
4905 test ! -s conftest.err
4906 } && test -s conftest$ac_exeext &&
4907 $as_test_x conftest$ac_exeext; then
4908 ac_cv_func_remove=yes
4910 echo "$as_me: failed program was:" >&5
4911 sed 's/^/| /' conftest.$ac_ext >&5
4913 ac_cv_func_remove=no
4916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4917 conftest$ac_exeext conftest.$ac_ext
4919 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4920 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4922 if test $ac_cv_func_remove = no; then
4923 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4924 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4925 if test "${ac_cv_lib_posix_remove+set}" = set; then
4926 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 ac_check_lib_save_LIBS=$LIBS
4929 LIBS="-lposix $LIBS"
4930 cat >conftest.$ac_ext <<_ACEOF
4933 cat confdefs.h >>conftest.$ac_ext
4934 cat >>conftest.$ac_ext <<_ACEOF
4935 /* end confdefs.h. */
4937 /* Override any GCC internal prototype to avoid an error.
4938 Use char because int might match the return type of a GCC
4939 builtin and then its argument prototype would still apply. */
4952 rm -f conftest.$ac_objext conftest$ac_exeext
4953 if { (ac_try="$ac_link"
4955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4956 *) ac_try_echo=$ac_try;;
4958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4959 (eval "$ac_link") 2>conftest.er1
4961 grep -v '^ *+' conftest.er1 >conftest.err
4963 cat conftest.err >&5
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); } && {
4966 test -z "$ac_c_werror_flag" ||
4967 test ! -s conftest.err
4968 } && test -s conftest$ac_exeext &&
4969 $as_test_x conftest$ac_exeext; then
4970 ac_cv_lib_posix_remove=yes
4972 echo "$as_me: failed program was:" >&5
4973 sed 's/^/| /' conftest.$ac_ext >&5
4975 ac_cv_lib_posix_remove=no
4978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4979 conftest$ac_exeext conftest.$ac_ext
4980 LIBS=$ac_check_lib_save_LIBS
4982 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4983 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4984 if test $ac_cv_lib_posix_remove = yes; then
4985 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4990 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4991 { echo "$as_me:$LINENO: checking for shmat" >&5
4992 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4993 if test "${ac_cv_func_shmat+set}" = set; then
4994 echo $ECHO_N "(cached) $ECHO_C" >&6
4996 cat >conftest.$ac_ext <<_ACEOF
4999 cat confdefs.h >>conftest.$ac_ext
5000 cat >>conftest.$ac_ext <<_ACEOF
5001 /* end confdefs.h. */
5002 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5004 #define shmat innocuous_shmat
5006 /* System header to define __stub macros and hopefully few prototypes,
5007 which can conflict with char shmat (); below.
5008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5009 <limits.h> exists even on freestanding compilers. */
5012 # include <limits.h>
5014 # include <assert.h>
5019 /* Override any GCC internal prototype to avoid an error.
5020 Use char because int might match the return type of a GCC
5021 builtin and then its argument prototype would still apply. */
5026 /* The GNU C library defines this for functions which it implements
5027 to always fail with ENOSYS. Some functions are actually named
5028 something starting with __ and the normal name is an alias. */
5029 #if defined __stub_shmat || defined __stub___shmat
5041 rm -f conftest.$ac_objext conftest$ac_exeext
5042 if { (ac_try="$ac_link"
5044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5045 *) ac_try_echo=$ac_try;;
5047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5048 (eval "$ac_link") 2>conftest.er1
5050 grep -v '^ *+' conftest.er1 >conftest.err
5052 cat conftest.err >&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } && {
5055 test -z "$ac_c_werror_flag" ||
5056 test ! -s conftest.err
5057 } && test -s conftest$ac_exeext &&
5058 $as_test_x conftest$ac_exeext; then
5059 ac_cv_func_shmat=yes
5061 echo "$as_me: failed program was:" >&5
5062 sed 's/^/| /' conftest.$ac_ext >&5
5067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5068 conftest$ac_exeext conftest.$ac_ext
5070 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5071 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5073 if test $ac_cv_func_shmat = no; then
5074 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5075 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5076 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5079 ac_check_lib_save_LIBS=$LIBS
5081 cat >conftest.$ac_ext <<_ACEOF
5084 cat confdefs.h >>conftest.$ac_ext
5085 cat >>conftest.$ac_ext <<_ACEOF
5086 /* end confdefs.h. */
5088 /* Override any GCC internal prototype to avoid an error.
5089 Use char because int might match the return type of a GCC
5090 builtin and then its argument prototype would still apply. */
5103 rm -f conftest.$ac_objext conftest$ac_exeext
5104 if { (ac_try="$ac_link"
5106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5107 *) ac_try_echo=$ac_try;;
5109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5110 (eval "$ac_link") 2>conftest.er1
5112 grep -v '^ *+' conftest.er1 >conftest.err
5114 cat conftest.err >&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); } && {
5117 test -z "$ac_c_werror_flag" ||
5118 test ! -s conftest.err
5119 } && test -s conftest$ac_exeext &&
5120 $as_test_x conftest$ac_exeext; then
5121 ac_cv_lib_ipc_shmat=yes
5123 echo "$as_me: failed program was:" >&5
5124 sed 's/^/| /' conftest.$ac_ext >&5
5126 ac_cv_lib_ipc_shmat=no
5129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5130 conftest$ac_exeext conftest.$ac_ext
5131 LIBS=$ac_check_lib_save_LIBS
5133 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5134 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5135 if test $ac_cv_lib_ipc_shmat = yes; then
5136 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5142 # Check for libraries that X11R6 Xt/Xaw programs need.
5143 ac_save_LDFLAGS=$LDFLAGS
5144 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5145 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5146 # check for ICE first), but we must link in the order -lSM -lICE or
5147 # we get undefined symbols. So assume we have SM if we have ICE.
5148 # These have to be linked with before -lX11, unlike the other
5149 # libraries we check for below, so use a different variable.
5150 # John Interrante, Karl Berry
5151 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5152 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5153 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 ac_check_lib_save_LIBS=$LIBS
5157 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5158 cat >conftest.$ac_ext <<_ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5165 /* Override any GCC internal prototype to avoid an error.
5166 Use char because int might match the return type of a GCC
5167 builtin and then its argument prototype would still apply. */
5171 char IceConnectionNumber ();
5175 return IceConnectionNumber ();
5180 rm -f conftest.$ac_objext conftest$ac_exeext
5181 if { (ac_try="$ac_link"
5183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5184 *) ac_try_echo=$ac_try;;
5186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5187 (eval "$ac_link") 2>conftest.er1
5189 grep -v '^ *+' conftest.er1 >conftest.err
5191 cat conftest.err >&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); } && {
5194 test -z "$ac_c_werror_flag" ||
5195 test ! -s conftest.err
5196 } && test -s conftest$ac_exeext &&
5197 $as_test_x conftest$ac_exeext; then
5198 ac_cv_lib_ICE_IceConnectionNumber=yes
5200 echo "$as_me: failed program was:" >&5
5201 sed 's/^/| /' conftest.$ac_ext >&5
5203 ac_cv_lib_ICE_IceConnectionNumber=no
5206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5207 conftest$ac_exeext conftest.$ac_ext
5208 LIBS=$ac_check_lib_save_LIBS
5210 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5211 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5212 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5213 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5216 LDFLAGS=$ac_save_LDFLAGS
5223 # Extract the first word of "$ac_prog", so it can be a program name with args.
5224 set dummy $ac_prog; ac_word=$2
5225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5227 if test "${ac_cv_prog_FLEX+set}" = set; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5230 if test -n "$FLEX"; then
5231 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237 test -z "$as_dir" && as_dir=.
5238 for ac_exec_ext in '' $ac_executable_extensions; do
5239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5240 ac_cv_prog_FLEX="$ac_prog"
5241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 FLEX=$ac_cv_prog_FLEX
5251 if test -n "$FLEX"; then
5252 { echo "$as_me:$LINENO: result: $FLEX" >&5
5253 echo "${ECHO_T}$FLEX" >&6; }
5255 { echo "$as_me:$LINENO: result: no" >&5
5256 echo "${ECHO_T}no" >&6; }
5260 test -n "$FLEX" && break
5262 test -n "$FLEX" || FLEX="none"
5264 if test "$FLEX" = "none"
5266 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5267 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5268 { (exit 1); exit 1; }; }
5271 for ac_prog in bison
5273 # Extract the first word of "$ac_prog", so it can be a program name with args.
5274 set dummy $ac_prog; ac_word=$2
5275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5277 if test "${ac_cv_prog_BISON+set}" = set; then
5278 echo $ECHO_N "(cached) $ECHO_C" >&6
5280 if test -n "$BISON"; then
5281 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 test -z "$as_dir" && as_dir=.
5288 for ac_exec_ext in '' $ac_executable_extensions; do
5289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5290 ac_cv_prog_BISON="$ac_prog"
5291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5300 BISON=$ac_cv_prog_BISON
5301 if test -n "$BISON"; then
5302 { echo "$as_me:$LINENO: result: $BISON" >&5
5303 echo "${ECHO_T}$BISON" >&6; }
5305 { echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6; }
5310 test -n "$BISON" && break
5312 test -n "$BISON" || BISON="none"
5314 if test "$BISON" = "none"
5316 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5317 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5318 { (exit 1); exit 1; }; }
5321 if test -n "$ac_tool_prefix"; then
5322 for ac_prog in gas as
5324 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5325 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5328 if test "${ac_cv_prog_AS+set}" = set; then
5329 echo $ECHO_N "(cached) $ECHO_C" >&6
5331 if test -n "$AS"; then
5332 ac_cv_prog_AS="$AS" # Let the user override the test.
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5338 test -z "$as_dir" && as_dir=.
5339 for ac_exec_ext in '' $ac_executable_extensions; do
5340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5341 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5352 if test -n "$AS"; then
5353 { echo "$as_me:$LINENO: result: $AS" >&5
5354 echo "${ECHO_T}$AS" >&6; }
5356 { echo "$as_me:$LINENO: result: no" >&5
5357 echo "${ECHO_T}no" >&6; }
5361 test -n "$AS" && break
5364 if test -z "$AS"; then
5366 for ac_prog in gas as
5368 # Extract the first word of "$ac_prog", so it can be a program name with args.
5369 set dummy $ac_prog; ac_word=$2
5370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5372 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5373 echo $ECHO_N "(cached) $ECHO_C" >&6
5375 if test -n "$ac_ct_AS"; then
5376 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382 test -z "$as_dir" && as_dir=.
5383 for ac_exec_ext in '' $ac_executable_extensions; do
5384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5385 ac_cv_prog_ac_ct_AS="$ac_prog"
5386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5396 if test -n "$ac_ct_AS"; then
5397 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5398 echo "${ECHO_T}$ac_ct_AS" >&6; }
5400 { echo "$as_me:$LINENO: result: no" >&5
5401 echo "${ECHO_T}no" >&6; }
5405 test -n "$ac_ct_AS" && break
5408 if test "x$ac_ct_AS" = x; then
5411 case $cross_compiling:$ac_tool_warned in
5413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5414 whose name does not start with the host triplet. If you think this
5415 configuration is useful to you, please write to autoconf@gnu.org." >&5
5416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5417 whose name does not start with the host triplet. If you think this
5418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5419 ac_tool_warned=yes ;;
5425 if test -n "$ac_tool_prefix"; then
5426 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5427 set dummy ${ac_tool_prefix}ld; ac_word=$2
5428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5430 if test "${ac_cv_prog_LD+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5433 if test -n "$LD"; then
5434 ac_cv_prog_LD="$LD" # Let the user override the test.
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 ac_cv_prog_LD="${ac_tool_prefix}ld"
5444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5454 if test -n "$LD"; then
5455 { echo "$as_me:$LINENO: result: $LD" >&5
5456 echo "${ECHO_T}$LD" >&6; }
5458 { echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6; }
5464 if test -z "$ac_cv_prog_LD"; then
5466 # Extract the first word of "ld", so it can be a program name with args.
5467 set dummy ld; ac_word=$2
5468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5470 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 if test -n "$ac_ct_LD"; then
5474 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5483 ac_cv_prog_ac_ct_LD="ld"
5484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5494 if test -n "$ac_ct_LD"; then
5495 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5496 echo "${ECHO_T}$ac_ct_LD" >&6; }
5498 { echo "$as_me:$LINENO: result: no" >&5
5499 echo "${ECHO_T}no" >&6; }
5502 if test "x$ac_ct_LD" = x; then
5505 case $cross_compiling:$ac_tool_warned in
5507 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5508 whose name does not start with the host triplet. If you think this
5509 configuration is useful to you, please write to autoconf@gnu.org." >&5
5510 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5511 whose name does not start with the host triplet. If you think this
5512 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5513 ac_tool_warned=yes ;;
5521 if test -n "$ac_tool_prefix"; then
5522 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5523 set dummy ${ac_tool_prefix}ar; ac_word=$2
5524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5526 if test "${ac_cv_prog_AR+set}" = set; then
5527 echo $ECHO_N "(cached) $ECHO_C" >&6
5529 if test -n "$AR"; then
5530 ac_cv_prog_AR="$AR" # Let the user override the test.
5532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5536 test -z "$as_dir" && as_dir=.
5537 for ac_exec_ext in '' $ac_executable_extensions; do
5538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5539 ac_cv_prog_AR="${ac_tool_prefix}ar"
5540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5550 if test -n "$AR"; then
5551 { echo "$as_me:$LINENO: result: $AR" >&5
5552 echo "${ECHO_T}$AR" >&6; }
5554 { echo "$as_me:$LINENO: result: no" >&5
5555 echo "${ECHO_T}no" >&6; }
5560 if test -z "$ac_cv_prog_AR"; then
5562 # Extract the first word of "ar", so it can be a program name with args.
5563 set dummy ar; ac_word=$2
5564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5566 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5567 echo $ECHO_N "(cached) $ECHO_C" >&6
5569 if test -n "$ac_ct_AR"; then
5570 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576 test -z "$as_dir" && as_dir=.
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5579 ac_cv_prog_ac_ct_AR="ar"
5580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5589 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5590 if test -n "$ac_ct_AR"; then
5591 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5592 echo "${ECHO_T}$ac_ct_AR" >&6; }
5594 { echo "$as_me:$LINENO: result: no" >&5
5595 echo "${ECHO_T}no" >&6; }
5598 if test "x$ac_ct_AR" = x; then
5601 case $cross_compiling:$ac_tool_warned in
5603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5604 whose name does not start with the host triplet. If you think this
5605 configuration is useful to you, please write to autoconf@gnu.org." >&5
5606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5607 whose name does not start with the host triplet. If you think this
5608 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5609 ac_tool_warned=yes ;;
5619 if test -n "$ac_tool_prefix"; then
5620 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5621 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5624 if test "${ac_cv_prog_RANLIB+set}" = set; then
5625 echo $ECHO_N "(cached) $ECHO_C" >&6
5627 if test -n "$RANLIB"; then
5628 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 test -z "$as_dir" && as_dir=.
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5637 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5647 RANLIB=$ac_cv_prog_RANLIB
5648 if test -n "$RANLIB"; then
5649 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5650 echo "${ECHO_T}$RANLIB" >&6; }
5652 { echo "$as_me:$LINENO: result: no" >&5
5653 echo "${ECHO_T}no" >&6; }
5658 if test -z "$ac_cv_prog_RANLIB"; then
5659 ac_ct_RANLIB=$RANLIB
5660 # Extract the first word of "ranlib", so it can be a program name with args.
5661 set dummy ranlib; ac_word=$2
5662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5664 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5665 echo $ECHO_N "(cached) $ECHO_C" >&6
5667 if test -n "$ac_ct_RANLIB"; then
5668 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 test -z "$as_dir" && as_dir=.
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5677 ac_cv_prog_ac_ct_RANLIB="ranlib"
5678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5687 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5688 if test -n "$ac_ct_RANLIB"; then
5689 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5690 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5692 { echo "$as_me:$LINENO: result: no" >&5
5693 echo "${ECHO_T}no" >&6; }
5696 if test "x$ac_ct_RANLIB" = x; then
5699 case $cross_compiling:$ac_tool_warned in
5701 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5702 whose name does not start with the host triplet. If you think this
5703 configuration is useful to you, please write to autoconf@gnu.org." >&5
5704 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5705 whose name does not start with the host triplet. If you think this
5706 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5707 ac_tool_warned=yes ;;
5709 RANLIB=$ac_ct_RANLIB
5712 RANLIB="$ac_cv_prog_RANLIB"
5715 if test -n "$ac_tool_prefix"; then
5716 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5717 set dummy ${ac_tool_prefix}strip; ac_word=$2
5718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5720 if test "${ac_cv_prog_STRIP+set}" = set; then
5721 echo $ECHO_N "(cached) $ECHO_C" >&6
5723 if test -n "$STRIP"; then
5724 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730 test -z "$as_dir" && as_dir=.
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5733 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 STRIP=$ac_cv_prog_STRIP
5744 if test -n "$STRIP"; then
5745 { echo "$as_me:$LINENO: result: $STRIP" >&5
5746 echo "${ECHO_T}$STRIP" >&6; }
5748 { echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6; }
5754 if test -z "$ac_cv_prog_STRIP"; then
5756 # Extract the first word of "strip", so it can be a program name with args.
5757 set dummy strip; ac_word=$2
5758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5760 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5761 echo $ECHO_N "(cached) $ECHO_C" >&6
5763 if test -n "$ac_ct_STRIP"; then
5764 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 test -z "$as_dir" && as_dir=.
5771 for ac_exec_ext in '' $ac_executable_extensions; do
5772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5773 ac_cv_prog_ac_ct_STRIP="strip"
5774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5783 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5784 if test -n "$ac_ct_STRIP"; then
5785 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5786 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5788 { echo "$as_me:$LINENO: result: no" >&5
5789 echo "${ECHO_T}no" >&6; }
5792 if test "x$ac_ct_STRIP" = x; then
5795 case $cross_compiling:$ac_tool_warned in
5797 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5798 whose name does not start with the host triplet. If you think this
5799 configuration is useful to you, please write to autoconf@gnu.org." >&5
5800 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5801 whose name does not start with the host triplet. If you think this
5802 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5803 ac_tool_warned=yes ;;
5808 STRIP="$ac_cv_prog_STRIP"
5811 if test -n "$ac_tool_prefix"; then
5812 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5813 set dummy ${ac_tool_prefix}windres; ac_word=$2
5814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5816 if test "${ac_cv_prog_WINDRES+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 if test -n "$WINDRES"; then
5820 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5829 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 WINDRES=$ac_cv_prog_WINDRES
5840 if test -n "$WINDRES"; then
5841 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5842 echo "${ECHO_T}$WINDRES" >&6; }
5844 { echo "$as_me:$LINENO: result: no" >&5
5845 echo "${ECHO_T}no" >&6; }
5850 if test -z "$ac_cv_prog_WINDRES"; then
5851 ac_ct_WINDRES=$WINDRES
5852 # Extract the first word of "windres", so it can be a program name with args.
5853 set dummy windres; ac_word=$2
5854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5856 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5857 echo $ECHO_N "(cached) $ECHO_C" >&6
5859 if test -n "$ac_ct_WINDRES"; then
5860 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 test -z "$as_dir" && as_dir=.
5867 for ac_exec_ext in '' $ac_executable_extensions; do
5868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5869 ac_cv_prog_ac_ct_WINDRES="windres"
5870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5879 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5880 if test -n "$ac_ct_WINDRES"; then
5881 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5882 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5884 { echo "$as_me:$LINENO: result: no" >&5
5885 echo "${ECHO_T}no" >&6; }
5888 if test "x$ac_ct_WINDRES" = x; then
5891 case $cross_compiling:$ac_tool_warned in
5893 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5894 whose name does not start with the host triplet. If you think this
5895 configuration is useful to you, please write to autoconf@gnu.org." >&5
5896 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5897 whose name does not start with the host triplet. If you think this
5898 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5899 ac_tool_warned=yes ;;
5901 WINDRES=$ac_ct_WINDRES
5904 WINDRES="$ac_cv_prog_WINDRES"
5907 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5908 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5910 if test "$LN_S" = "ln -s"; then
5911 { echo "$as_me:$LINENO: result: yes" >&5
5912 echo "${ECHO_T}yes" >&6; }
5914 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5915 echo "${ECHO_T}no, using $LN_S" >&6; }
5918 { echo "$as_me:$LINENO: checking whether ln works" >&5
5919 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5920 rm -f conf$$ conf$$.file
5922 if ln conf$$.file conf$$ 2>/dev/null; then
5925 { echo "$as_me:$LINENO: result: yes" >&5
5926 echo "${ECHO_T}yes" >&6; }
5930 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5931 echo "${ECHO_T}no, using $LN" >&6; }
5933 rm -f conf$$ conf$$.file
5934 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5935 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5936 if test "${ac_cv_path_GREP+set}" = set; then
5937 echo $ECHO_N "(cached) $ECHO_C" >&6
5939 # Extract the first word of "grep ggrep" to use in msg output
5940 if test -z "$GREP"; then
5941 set dummy grep ggrep; ac_prog_name=$2
5942 if test "${ac_cv_path_GREP+set}" = set; then
5943 echo $ECHO_N "(cached) $ECHO_C" >&6
5945 ac_path_GREP_found=false
5946 # Loop through the user's path and test for each of PROGNAME-LIST
5947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5951 test -z "$as_dir" && as_dir=.
5952 for ac_prog in grep ggrep; do
5953 for ac_exec_ext in '' $ac_executable_extensions; do
5954 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5955 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5956 # Check for GNU ac_path_GREP and select it if it is found.
5957 # Check for GNU $ac_path_GREP
5958 case `"$ac_path_GREP" --version 2>&1` in
5960 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5963 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5966 cat "conftest.in" "conftest.in" >"conftest.tmp"
5967 mv "conftest.tmp" "conftest.in"
5968 cp "conftest.in" "conftest.nl"
5969 echo 'GREP' >> "conftest.nl"
5970 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5971 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5972 ac_count=`expr $ac_count + 1`
5973 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5974 # Best one so far, save it but keep looking for a better one
5975 ac_cv_path_GREP="$ac_path_GREP"
5976 ac_path_GREP_max=$ac_count
5978 # 10*(2^10) chars as input seems more than enough
5979 test $ac_count -gt 10 && break
5981 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5985 $ac_path_GREP_found && break 3
5995 GREP="$ac_cv_path_GREP"
5996 if test -z "$GREP"; then
5997 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5998 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5999 { (exit 1); exit 1; }; }
6003 ac_cv_path_GREP=$GREP
6008 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6009 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6010 GREP="$ac_cv_path_GREP"
6013 { echo "$as_me:$LINENO: checking for egrep" >&5
6014 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6015 if test "${ac_cv_path_EGREP+set}" = set; then
6016 echo $ECHO_N "(cached) $ECHO_C" >&6
6018 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6019 then ac_cv_path_EGREP="$GREP -E"
6021 # Extract the first word of "egrep" to use in msg output
6022 if test -z "$EGREP"; then
6023 set dummy egrep; ac_prog_name=$2
6024 if test "${ac_cv_path_EGREP+set}" = set; then
6025 echo $ECHO_N "(cached) $ECHO_C" >&6
6027 ac_path_EGREP_found=false
6028 # Loop through the user's path and test for each of PROGNAME-LIST
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6033 test -z "$as_dir" && as_dir=.
6034 for ac_prog in egrep; do
6035 for ac_exec_ext in '' $ac_executable_extensions; do
6036 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6037 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6038 # Check for GNU ac_path_EGREP and select it if it is found.
6039 # Check for GNU $ac_path_EGREP
6040 case `"$ac_path_EGREP" --version 2>&1` in
6042 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6045 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6048 cat "conftest.in" "conftest.in" >"conftest.tmp"
6049 mv "conftest.tmp" "conftest.in"
6050 cp "conftest.in" "conftest.nl"
6051 echo 'EGREP' >> "conftest.nl"
6052 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6053 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6054 ac_count=`expr $ac_count + 1`
6055 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6056 # Best one so far, save it but keep looking for a better one
6057 ac_cv_path_EGREP="$ac_path_EGREP"
6058 ac_path_EGREP_max=$ac_count
6060 # 10*(2^10) chars as input seems more than enough
6061 test $ac_count -gt 10 && break
6063 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6067 $ac_path_EGREP_found && break 3
6077 EGREP="$ac_cv_path_EGREP"
6078 if test -z "$EGREP"; then
6079 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6080 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6081 { (exit 1); exit 1; }; }
6085 ac_cv_path_EGREP=$EGREP
6091 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6092 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6093 EGREP="$ac_cv_path_EGREP"
6096 # Extract the first word of "ldconfig", so it can be a program name with args.
6097 set dummy ldconfig; ac_word=$2
6098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6100 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6101 echo $ECHO_N "(cached) $ECHO_C" >&6
6105 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in /sbin /usr/sbin $PATH
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6115 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6123 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6127 LDCONFIG=$ac_cv_path_LDCONFIG
6128 if test -n "$LDCONFIG"; then
6129 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6130 echo "${ECHO_T}$LDCONFIG" >&6; }
6132 { echo "$as_me:$LINENO: result: no" >&5
6133 echo "${ECHO_T}no" >&6; }
6137 # Find a good install program. We prefer a C program (faster),
6138 # so one script is as good as another. But avoid the broken or
6139 # incompatible versions:
6140 # SysV /etc/install, /usr/sbin/install
6141 # SunOS /usr/etc/install
6142 # IRIX /sbin/install
6144 # AmigaOS /C/install, which installs bootblocks on floppy discs
6145 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6146 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6147 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6148 # OS/2's system install, which has a completely different semantic
6149 # ./install, which can be erroneously created by make from ./install.sh.
6150 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6151 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6152 if test -z "$INSTALL"; then
6153 if test "${ac_cv_path_install+set}" = set; then
6154 echo $ECHO_N "(cached) $ECHO_C" >&6
6156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6160 test -z "$as_dir" && as_dir=.
6161 # Account for people who put trailing slashes in PATH elements.
6163 ./ | .// | /cC/* | \
6164 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6165 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6168 # OSF1 and SCO ODT 3.0 have their own names for install.
6169 # Don't use installbsd from OSF since it installs stuff as root
6171 for ac_prog in ginstall scoinst install; do
6172 for ac_exec_ext in '' $ac_executable_extensions; do
6173 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6174 if test $ac_prog = install &&
6175 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6176 # AIX install. It has an incompatible calling convention.
6178 elif test $ac_prog = install &&
6179 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6180 # program-specific install script used by HP pwplus--don't use.
6183 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6196 if test "${ac_cv_path_install+set}" = set; then
6197 INSTALL=$ac_cv_path_install
6199 # As a last resort, use the slow shell script. Don't cache a
6200 # value for INSTALL within a source directory, because that will
6201 # break other packages using the cache if that directory is
6202 # removed, or if the value is a relative name.
6203 INSTALL=$ac_install_sh
6206 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6207 echo "${ECHO_T}$INSTALL" >&6; }
6209 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6210 # It thinks the first close brace ends the variable substitution.
6211 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6213 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6215 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6218 [\\/$]* | ?:[\\/]* ) ;;
6219 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6222 for ac_prog in lclint lint
6224 # Extract the first word of "$ac_prog", so it can be a program name with args.
6225 set dummy $ac_prog; ac_word=$2
6226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6228 if test "${ac_cv_prog_LINT+set}" = set; then
6229 echo $ECHO_N "(cached) $ECHO_C" >&6
6231 if test -n "$LINT"; then
6232 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6238 test -z "$as_dir" && as_dir=.
6239 for ac_exec_ext in '' $ac_executable_extensions; do
6240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6241 ac_cv_prog_LINT="$ac_prog"
6242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6251 LINT=$ac_cv_prog_LINT
6252 if test -n "$LINT"; then
6253 { echo "$as_me:$LINENO: result: $LINT" >&5
6254 echo "${ECHO_T}$LINT" >&6; }
6256 { echo "$as_me:$LINENO: result: no" >&5
6257 echo "${ECHO_T}no" >&6; }
6261 test -n "$LINT" && break
6264 if test "$LINT" = "lint"
6266 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6271 for ac_prog in fontforge
6273 # Extract the first word of "$ac_prog", so it can be a program name with args.
6274 set dummy $ac_prog; ac_word=$2
6275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6277 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6278 echo $ECHO_N "(cached) $ECHO_C" >&6
6280 if test -n "$FONTFORGE"; then
6281 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6287 test -z "$as_dir" && as_dir=.
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6290 ac_cv_prog_FONTFORGE="$ac_prog"
6291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 FONTFORGE=$ac_cv_prog_FONTFORGE
6301 if test -n "$FONTFORGE"; then
6302 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6303 echo "${ECHO_T}$FONTFORGE" >&6; }
6305 { echo "$as_me:$LINENO: result: no" >&5
6306 echo "${ECHO_T}no" >&6; }
6310 test -n "$FONTFORGE" && break
6312 test -n "$FONTFORGE" || FONTFORGE="false"
6314 for ac_prog in pkg-config
6316 # Extract the first word of "$ac_prog", so it can be a program name with args.
6317 set dummy $ac_prog; ac_word=$2
6318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6320 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6321 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 if test -n "$PKG_CONFIG"; then
6324 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6330 test -z "$as_dir" && as_dir=.
6331 for ac_exec_ext in '' $ac_executable_extensions; do
6332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6333 ac_cv_prog_PKG_CONFIG="$ac_prog"
6334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6343 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6344 if test -n "$PKG_CONFIG"; then
6345 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6346 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6348 { echo "$as_me:$LINENO: result: no" >&5
6349 echo "${ECHO_T}no" >&6; }
6353 test -n "$PKG_CONFIG" && break
6355 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6359 # Extract the first word of "$ac_prog", so it can be a program name with args.
6360 set dummy $ac_prog; ac_word=$2
6361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6363 if test "${ac_cv_prog_RSVG+set}" = set; then
6364 echo $ECHO_N "(cached) $ECHO_C" >&6
6366 if test -n "$RSVG"; then
6367 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373 test -z "$as_dir" && as_dir=.
6374 for ac_exec_ext in '' $ac_executable_extensions; do
6375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6376 ac_cv_prog_RSVG="$ac_prog"
6377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6386 RSVG=$ac_cv_prog_RSVG
6387 if test -n "$RSVG"; then
6388 { echo "$as_me:$LINENO: result: $RSVG" >&5
6389 echo "${ECHO_T}$RSVG" >&6; }
6391 { echo "$as_me:$LINENO: result: no" >&5
6392 echo "${ECHO_T}no" >&6; }
6396 test -n "$RSVG" && break
6398 test -n "$RSVG" || RSVG="false"
6400 for ac_prog in icotool
6402 # Extract the first word of "$ac_prog", so it can be a program name with args.
6403 set dummy $ac_prog; ac_word=$2
6404 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6406 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6407 echo $ECHO_N "(cached) $ECHO_C" >&6
6409 if test -n "$ICOTOOL"; then
6410 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6416 test -z "$as_dir" && as_dir=.
6417 for ac_exec_ext in '' $ac_executable_extensions; do
6418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6419 ac_cv_prog_ICOTOOL="$ac_prog"
6420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6429 ICOTOOL=$ac_cv_prog_ICOTOOL
6430 if test -n "$ICOTOOL"; then
6431 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6432 echo "${ECHO_T}$ICOTOOL" >&6; }
6434 { echo "$as_me:$LINENO: result: no" >&5
6435 echo "${ECHO_T}no" >&6; }
6439 test -n "$ICOTOOL" && break
6441 test -n "$ICOTOOL" || ICOTOOL="false"
6444 if test "${enable_maintainer_mode+set}" = set
6446 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6447 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6448 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6453 # Extract the first word of "prelink", so it can be a program name with args.
6454 set dummy prelink; ac_word=$2
6455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6457 if test "${ac_cv_path_PRELINK+set}" = set; then
6458 echo $ECHO_N "(cached) $ECHO_C" >&6
6462 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 for as_dir in /sbin /usr/sbin $PATH
6469 test -z "$as_dir" && as_dir=.
6470 for ac_exec_ext in '' $ac_executable_extensions; do
6471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6472 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6480 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6484 PRELINK=$ac_cv_path_PRELINK
6485 if test -n "$PRELINK"; then
6486 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6487 echo "${ECHO_T}$PRELINK" >&6; }
6489 { echo "$as_me:$LINENO: result: no" >&5
6490 echo "${ECHO_T}no" >&6; }
6499 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6500 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6501 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6502 echo $ECHO_N "(cached) $ECHO_C" >&6
6504 ac_check_lib_save_LIBS=$LIBS
6506 cat >conftest.$ac_ext <<_ACEOF
6509 cat confdefs.h >>conftest.$ac_ext
6510 cat >>conftest.$ac_ext <<_ACEOF
6511 /* end confdefs.h. */
6513 /* Override any GCC internal prototype to avoid an error.
6514 Use char because int might match the return type of a GCC
6515 builtin and then its argument prototype would still apply. */
6519 char i386_set_ldt ();
6523 return i386_set_ldt ();
6528 rm -f conftest.$ac_objext conftest$ac_exeext
6529 if { (ac_try="$ac_link"
6531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6532 *) ac_try_echo=$ac_try;;
6534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6535 (eval "$ac_link") 2>conftest.er1
6537 grep -v '^ *+' conftest.er1 >conftest.err
6539 cat conftest.err >&5
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); } && {
6542 test -z "$ac_c_werror_flag" ||
6543 test ! -s conftest.err
6544 } && test -s conftest$ac_exeext &&
6545 $as_test_x conftest$ac_exeext; then
6546 ac_cv_lib_i386_i386_set_ldt=yes
6548 echo "$as_me: failed program was:" >&5
6549 sed 's/^/| /' conftest.$ac_ext >&5
6551 ac_cv_lib_i386_i386_set_ldt=no
6554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6555 conftest$ac_exeext conftest.$ac_ext
6556 LIBS=$ac_check_lib_save_LIBS
6558 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6559 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6560 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6561 cat >>confdefs.h <<_ACEOF
6562 #define HAVE_LIBI386 1
6570 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6571 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6572 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6573 echo $ECHO_N "(cached) $ECHO_C" >&6
6575 ac_check_lib_save_LIBS=$LIBS
6576 LIBS="-lossaudio $LIBS"
6577 cat >conftest.$ac_ext <<_ACEOF
6580 cat confdefs.h >>conftest.$ac_ext
6581 cat >>conftest.$ac_ext <<_ACEOF
6582 /* end confdefs.h. */
6584 /* Override any GCC internal prototype to avoid an error.
6585 Use char because int might match the return type of a GCC
6586 builtin and then its argument prototype would still apply. */
6594 return _oss_ioctl ();
6599 rm -f conftest.$ac_objext conftest$ac_exeext
6600 if { (ac_try="$ac_link"
6602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6603 *) ac_try_echo=$ac_try;;
6605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6606 (eval "$ac_link") 2>conftest.er1
6608 grep -v '^ *+' conftest.er1 >conftest.err
6610 cat conftest.err >&5
6611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612 (exit $ac_status); } && {
6613 test -z "$ac_c_werror_flag" ||
6614 test ! -s conftest.err
6615 } && test -s conftest$ac_exeext &&
6616 $as_test_x conftest$ac_exeext; then
6617 ac_cv_lib_ossaudio__oss_ioctl=yes
6619 echo "$as_me: failed program was:" >&5
6620 sed 's/^/| /' conftest.$ac_ext >&5
6622 ac_cv_lib_ossaudio__oss_ioctl=no
6625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6626 conftest$ac_exeext conftest.$ac_ext
6627 LIBS=$ac_check_lib_save_LIBS
6629 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6630 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6631 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6632 cat >>confdefs.h <<_ACEOF
6633 #define HAVE_LIBOSSAUDIO 1
6636 LIBS="-lossaudio $LIBS"
6640 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6641 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6642 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6643 echo $ECHO_N "(cached) $ECHO_C" >&6
6645 ac_check_lib_save_LIBS=$LIBS
6646 LIBS="-lpthread $LIBS"
6647 cat >conftest.$ac_ext <<_ACEOF
6650 cat confdefs.h >>conftest.$ac_ext
6651 cat >>conftest.$ac_ext <<_ACEOF
6652 /* end confdefs.h. */
6654 /* Override any GCC internal prototype to avoid an error.
6655 Use char because int might match the return type of a GCC
6656 builtin and then its argument prototype would still apply. */
6660 char pthread_create ();
6664 return pthread_create ();
6669 rm -f conftest.$ac_objext conftest$ac_exeext
6670 if { (ac_try="$ac_link"
6672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6673 *) ac_try_echo=$ac_try;;
6675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6676 (eval "$ac_link") 2>conftest.er1
6678 grep -v '^ *+' conftest.er1 >conftest.err
6680 cat conftest.err >&5
6681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682 (exit $ac_status); } && {
6683 test -z "$ac_c_werror_flag" ||
6684 test ! -s conftest.err
6685 } && test -s conftest$ac_exeext &&
6686 $as_test_x conftest$ac_exeext; then
6687 ac_cv_lib_pthread_pthread_create=yes
6689 echo "$as_me: failed program was:" >&5
6690 sed 's/^/| /' conftest.$ac_ext >&5
6692 ac_cv_lib_pthread_pthread_create=no
6695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6696 conftest$ac_exeext conftest.$ac_ext
6697 LIBS=$ac_check_lib_save_LIBS
6699 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6700 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6701 if test $ac_cv_lib_pthread_pthread_create = yes; then
6702 LIBPTHREAD="-lpthread"
6721 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6722 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6723 if test "${ac_cv_header_stdc+set}" = set; then
6724 echo $ECHO_N "(cached) $ECHO_C" >&6
6726 cat >conftest.$ac_ext <<_ACEOF
6729 cat confdefs.h >>conftest.$ac_ext
6730 cat >>conftest.$ac_ext <<_ACEOF
6731 /* end confdefs.h. */
6745 rm -f conftest.$ac_objext
6746 if { (ac_try="$ac_compile"
6748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6749 *) ac_try_echo=$ac_try;;
6751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6752 (eval "$ac_compile") 2>conftest.er1
6754 grep -v '^ *+' conftest.er1 >conftest.err
6756 cat conftest.err >&5
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); } && {
6759 test -z "$ac_c_werror_flag" ||
6760 test ! -s conftest.err
6761 } && test -s conftest.$ac_objext; then
6762 ac_cv_header_stdc=yes
6764 echo "$as_me: failed program was:" >&5
6765 sed 's/^/| /' conftest.$ac_ext >&5
6767 ac_cv_header_stdc=no
6770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6772 if test $ac_cv_header_stdc = yes; then
6773 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6774 cat >conftest.$ac_ext <<_ACEOF
6777 cat confdefs.h >>conftest.$ac_ext
6778 cat >>conftest.$ac_ext <<_ACEOF
6779 /* end confdefs.h. */
6783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6784 $EGREP "memchr" >/dev/null 2>&1; then
6787 ac_cv_header_stdc=no
6793 if test $ac_cv_header_stdc = yes; then
6794 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6795 cat >conftest.$ac_ext <<_ACEOF
6798 cat confdefs.h >>conftest.$ac_ext
6799 cat >>conftest.$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6805 $EGREP "free" >/dev/null 2>&1; then
6808 ac_cv_header_stdc=no
6814 if test $ac_cv_header_stdc = yes; then
6815 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6816 if test "$cross_compiling" = yes; then
6819 cat >conftest.$ac_ext <<_ACEOF
6822 cat confdefs.h >>conftest.$ac_ext
6823 cat >>conftest.$ac_ext <<_ACEOF
6824 /* end confdefs.h. */
6827 #if ((' ' & 0x0FF) == 0x020)
6828 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6829 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6831 # define ISLOWER(c) \
6832 (('a' <= (c) && (c) <= 'i') \
6833 || ('j' <= (c) && (c) <= 'r') \
6834 || ('s' <= (c) && (c) <= 'z'))
6835 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6838 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6843 for (i = 0; i < 256; i++)
6844 if (XOR (islower (i), ISLOWER (i))
6845 || toupper (i) != TOUPPER (i))
6850 rm -f conftest$ac_exeext
6851 if { (ac_try="$ac_link"
6853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6854 *) ac_try_echo=$ac_try;;
6856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6857 (eval "$ac_link") 2>&5
6859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6860 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6861 { (case "(($ac_try" in
6862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6863 *) ac_try_echo=$ac_try;;
6865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6866 (eval "$ac_try") 2>&5
6868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869 (exit $ac_status); }; }; then
6872 echo "$as_me: program exited with status $ac_status" >&5
6873 echo "$as_me: failed program was:" >&5
6874 sed 's/^/| /' conftest.$ac_ext >&5
6877 ac_cv_header_stdc=no
6879 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6885 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6886 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6887 if test $ac_cv_header_stdc = yes; then
6889 cat >>confdefs.h <<\_ACEOF
6890 #define STDC_HEADERS 1
6895 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6905 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6906 inttypes.h stdint.h unistd.h
6908 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6909 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6911 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6912 echo $ECHO_N "(cached) $ECHO_C" >&6
6914 cat >conftest.$ac_ext <<_ACEOF
6917 cat confdefs.h >>conftest.$ac_ext
6918 cat >>conftest.$ac_ext <<_ACEOF
6919 /* end confdefs.h. */
6920 $ac_includes_default
6922 #include <$ac_header>
6924 rm -f conftest.$ac_objext
6925 if { (ac_try="$ac_compile"
6927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6928 *) ac_try_echo=$ac_try;;
6930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6931 (eval "$ac_compile") 2>conftest.er1
6933 grep -v '^ *+' conftest.er1 >conftest.err
6935 cat conftest.err >&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); } && {
6938 test -z "$ac_c_werror_flag" ||
6939 test ! -s conftest.err
6940 } && test -s conftest.$ac_objext; then
6941 eval "$as_ac_Header=yes"
6943 echo "$as_me: failed program was:" >&5
6944 sed 's/^/| /' conftest.$ac_ext >&5
6946 eval "$as_ac_Header=no"
6949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6951 ac_res=`eval echo '${'$as_ac_Header'}'`
6952 { echo "$as_me:$LINENO: result: $ac_res" >&5
6953 echo "${ECHO_T}$ac_res" >&6; }
6954 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6955 cat >>confdefs.h <<_ACEOF
6956 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7075 AudioUnit/AudioUnit.h \
7077 CoreAudio/CoreAudio.h \
7078 DiskArbitration/DiskArbitration.h \
7091 fontconfig/fontconfig.h \
7117 machine/soundcard.h \
7122 netinet/in_systm.h \
7187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7189 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7191 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7192 echo $ECHO_N "(cached) $ECHO_C" >&6
7194 ac_res=`eval echo '${'$as_ac_Header'}'`
7195 { echo "$as_me:$LINENO: result: $ac_res" >&5
7196 echo "${ECHO_T}$ac_res" >&6; }
7198 # Is the header compilable?
7199 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7200 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7201 cat >conftest.$ac_ext <<_ACEOF
7204 cat confdefs.h >>conftest.$ac_ext
7205 cat >>conftest.$ac_ext <<_ACEOF
7206 /* end confdefs.h. */
7207 $ac_includes_default
7208 #include <$ac_header>
7210 rm -f conftest.$ac_objext
7211 if { (ac_try="$ac_compile"
7213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7214 *) ac_try_echo=$ac_try;;
7216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7217 (eval "$ac_compile") 2>conftest.er1
7219 grep -v '^ *+' conftest.er1 >conftest.err
7221 cat conftest.err >&5
7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223 (exit $ac_status); } && {
7224 test -z "$ac_c_werror_flag" ||
7225 test ! -s conftest.err
7226 } && test -s conftest.$ac_objext; then
7227 ac_header_compiler=yes
7229 echo "$as_me: failed program was:" >&5
7230 sed 's/^/| /' conftest.$ac_ext >&5
7232 ac_header_compiler=no
7235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7236 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7237 echo "${ECHO_T}$ac_header_compiler" >&6; }
7239 # Is the header present?
7240 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7242 cat >conftest.$ac_ext <<_ACEOF
7245 cat confdefs.h >>conftest.$ac_ext
7246 cat >>conftest.$ac_ext <<_ACEOF
7247 /* end confdefs.h. */
7248 #include <$ac_header>
7250 if { (ac_try="$ac_cpp conftest.$ac_ext"
7252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7253 *) ac_try_echo=$ac_try;;
7255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7256 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7258 grep -v '^ *+' conftest.er1 >conftest.err
7260 cat conftest.err >&5
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); } >/dev/null && {
7263 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7264 test ! -s conftest.err
7266 ac_header_preproc=yes
7268 echo "$as_me: failed program was:" >&5
7269 sed 's/^/| /' conftest.$ac_ext >&5
7271 ac_header_preproc=no
7274 rm -f conftest.err conftest.$ac_ext
7275 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7276 echo "${ECHO_T}$ac_header_preproc" >&6; }
7278 # So? What about this header?
7279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7281 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7282 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7283 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7284 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7285 ac_header_preproc=yes
7288 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7289 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7290 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7291 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7292 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7293 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7294 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7295 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7297 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7298 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7299 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7301 ## ------------------------------------ ##
7302 ## Report this to wine-devel@winehq.org ##
7303 ## ------------------------------------ ##
7305 ) | sed "s/^/$as_me: WARNING: /" >&2
7308 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7311 echo $ECHO_N "(cached) $ECHO_C" >&6
7313 eval "$as_ac_Header=\$ac_header_preproc"
7315 ac_res=`eval echo '${'$as_ac_Header'}'`
7316 { echo "$as_me:$LINENO: result: $ac_res" >&5
7317 echo "${ECHO_T}$ac_res" >&6; }
7320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7321 cat >>confdefs.h <<_ACEOF
7322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7329 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7330 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7331 if test "${ac_cv_header_stat_broken+set}" = set; then
7332 echo $ECHO_N "(cached) $ECHO_C" >&6
7334 cat >conftest.$ac_ext <<_ACEOF
7337 cat confdefs.h >>conftest.$ac_ext
7338 cat >>conftest.$ac_ext <<_ACEOF
7339 /* end confdefs.h. */
7340 #include <sys/types.h>
7341 #include <sys/stat.h>
7343 #if defined S_ISBLK && defined S_IFDIR
7344 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7347 #if defined S_ISBLK && defined S_IFCHR
7348 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7351 #if defined S_ISLNK && defined S_IFREG
7352 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7355 #if defined S_ISSOCK && defined S_IFREG
7356 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7360 rm -f conftest.$ac_objext
7361 if { (ac_try="$ac_compile"
7363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7364 *) ac_try_echo=$ac_try;;
7366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7367 (eval "$ac_compile") 2>conftest.er1
7369 grep -v '^ *+' conftest.er1 >conftest.err
7371 cat conftest.err >&5
7372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7373 (exit $ac_status); } && {
7374 test -z "$ac_c_werror_flag" ||
7375 test ! -s conftest.err
7376 } && test -s conftest.$ac_objext; then
7377 ac_cv_header_stat_broken=no
7379 echo "$as_me: failed program was:" >&5
7380 sed 's/^/| /' conftest.$ac_ext >&5
7382 ac_cv_header_stat_broken=yes
7385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7387 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7388 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7389 if test $ac_cv_header_stat_broken = yes; then
7391 cat >>confdefs.h <<\_ACEOF
7392 #define STAT_MACROS_BROKEN 1
7403 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7406 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7408 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7409 echo $ECHO_N "(cached) $ECHO_C" >&6
7411 cat >conftest.$ac_ext <<_ACEOF
7414 cat confdefs.h >>conftest.$ac_ext
7415 cat >>conftest.$ac_ext <<_ACEOF
7416 /* end confdefs.h. */
7417 #include <sys/types.h>
7418 #ifdef HAVE_SYS_PARAM_H
7419 # include <sys/param.h>
7422 #include <$ac_header>
7424 rm -f conftest.$ac_objext
7425 if { (ac_try="$ac_compile"
7427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7428 *) ac_try_echo=$ac_try;;
7430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7431 (eval "$ac_compile") 2>conftest.er1
7433 grep -v '^ *+' conftest.er1 >conftest.err
7435 cat conftest.err >&5
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); } && {
7438 test -z "$ac_c_werror_flag" ||
7439 test ! -s conftest.err
7440 } && test -s conftest.$ac_objext; then
7441 eval "$as_ac_Header=yes"
7443 echo "$as_me: failed program was:" >&5
7444 sed 's/^/| /' conftest.$ac_ext >&5
7446 eval "$as_ac_Header=no"
7449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7451 ac_res=`eval echo '${'$as_ac_Header'}'`
7452 { echo "$as_me:$LINENO: result: $ac_res" >&5
7453 echo "${ECHO_T}$ac_res" >&6; }
7454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7455 cat >>confdefs.h <<_ACEOF
7456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7472 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
7474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7475 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7477 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7478 echo $ECHO_N "(cached) $ECHO_C" >&6
7480 cat >conftest.$ac_ext <<_ACEOF
7483 cat confdefs.h >>conftest.$ac_ext
7484 cat >>conftest.$ac_ext <<_ACEOF
7485 /* end confdefs.h. */
7486 #include <sys/types.h>
7487 #ifdef HAVE_SYS_SOCKET_H
7488 # include <sys/socket.h>
7490 #ifdef HAVE_SYS_SOCKETVAR_H
7491 # include <sys/socketvar.h>
7493 #ifdef HAVE_NETINET_IN_H
7494 # include <netinet/in.h>
7497 #include <$ac_header>
7499 rm -f conftest.$ac_objext
7500 if { (ac_try="$ac_compile"
7502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7503 *) ac_try_echo=$ac_try;;
7505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7506 (eval "$ac_compile") 2>conftest.er1
7508 grep -v '^ *+' conftest.er1 >conftest.err
7510 cat conftest.err >&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); } && {
7513 test -z "$ac_c_werror_flag" ||
7514 test ! -s conftest.err
7515 } && test -s conftest.$ac_objext; then
7516 eval "$as_ac_Header=yes"
7518 echo "$as_me: failed program was:" >&5
7519 sed 's/^/| /' conftest.$ac_ext >&5
7521 eval "$as_ac_Header=no"
7524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7526 ac_res=`eval echo '${'$as_ac_Header'}'`
7527 { echo "$as_me:$LINENO: result: $ac_res" >&5
7528 echo "${ECHO_T}$ac_res" >&6; }
7529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7530 cat >>confdefs.h <<_ACEOF
7531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7540 for ac_header in netinet/tcp_var.h
7542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7548 cat >conftest.$ac_ext <<_ACEOF
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7554 #include <sys/types.h>
7555 #ifdef HAVE_SYS_SOCKET_H
7556 # include <sys/socket.h>
7558 #ifdef HAVE_SYS_SOCKETVAR_H
7559 # include <sys/socketvar.h>
7561 #ifdef HAVE_NETINET_IN_H
7562 # include <netinet/in.h>
7564 #ifdef HAVE_NETINET_TCP_H
7565 # include <netinet/tcp.h>
7568 #include <$ac_header>
7570 rm -f conftest.$ac_objext
7571 if { (ac_try="$ac_compile"
7573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7574 *) ac_try_echo=$ac_try;;
7576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7577 (eval "$ac_compile") 2>conftest.er1
7579 grep -v '^ *+' conftest.er1 >conftest.err
7581 cat conftest.err >&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); } && {
7584 test -z "$ac_c_werror_flag" ||
7585 test ! -s conftest.err
7586 } && test -s conftest.$ac_objext; then
7587 eval "$as_ac_Header=yes"
7589 echo "$as_me: failed program was:" >&5
7590 sed 's/^/| /' conftest.$ac_ext >&5
7592 eval "$as_ac_Header=no"
7595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7597 ac_res=`eval echo '${'$as_ac_Header'}'`
7598 { echo "$as_me:$LINENO: result: $ac_res" >&5
7599 echo "${ECHO_T}$ac_res" >&6; }
7600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7601 cat >>confdefs.h <<_ACEOF
7602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7611 for ac_header in linux/ipx.h
7613 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7614 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7616 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7617 echo $ECHO_N "(cached) $ECHO_C" >&6
7619 cat >conftest.$ac_ext <<_ACEOF
7622 cat confdefs.h >>conftest.$ac_ext
7623 cat >>conftest.$ac_ext <<_ACEOF
7624 /* end confdefs.h. */
7625 #include <sys/types.h>
7626 #ifdef HAVE_ASM_TYPES_H
7627 # include <asm/types.h>
7629 #ifdef HAVE_SYS_SOCKET_H
7630 # include <sys/socket.h>
7633 #include <$ac_header>
7635 rm -f conftest.$ac_objext
7636 if { (ac_try="$ac_compile"
7638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7639 *) ac_try_echo=$ac_try;;
7641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7642 (eval "$ac_compile") 2>conftest.er1
7644 grep -v '^ *+' conftest.er1 >conftest.err
7646 cat conftest.err >&5
7647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7648 (exit $ac_status); } && {
7649 test -z "$ac_c_werror_flag" ||
7650 test ! -s conftest.err
7651 } && test -s conftest.$ac_objext; then
7652 eval "$as_ac_Header=yes"
7654 echo "$as_me: failed program was:" >&5
7655 sed 's/^/| /' conftest.$ac_ext >&5
7657 eval "$as_ac_Header=no"
7660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7662 ac_res=`eval echo '${'$as_ac_Header'}'`
7663 { echo "$as_me:$LINENO: result: $ac_res" >&5
7664 echo "${ECHO_T}$ac_res" >&6; }
7665 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7666 cat >>confdefs.h <<_ACEOF
7667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7676 for ac_header in resolv.h
7678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7679 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7682 echo $ECHO_N "(cached) $ECHO_C" >&6
7684 cat >conftest.$ac_ext <<_ACEOF
7687 cat confdefs.h >>conftest.$ac_ext
7688 cat >>conftest.$ac_ext <<_ACEOF
7689 /* end confdefs.h. */
7690 #include <sys/types.h>
7691 #ifdef HAVE_SYS_SOCKET_H
7692 # include <sys/socket.h>
7694 #ifdef HAVE_NETINET_IN_H
7695 # include <netinet/in.h>
7697 #ifdef HAVE_ARPA_NAMESER_H
7698 # include <arpa/nameser.h>
7701 #include <$ac_header>
7703 rm -f conftest.$ac_objext
7704 if { (ac_try="$ac_compile"
7706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7707 *) ac_try_echo=$ac_try;;
7709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7710 (eval "$ac_compile") 2>conftest.er1
7712 grep -v '^ *+' conftest.er1 >conftest.err
7714 cat conftest.err >&5
7715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7716 (exit $ac_status); } && {
7717 test -z "$ac_c_werror_flag" ||
7718 test ! -s conftest.err
7719 } && test -s conftest.$ac_objext; then
7720 eval "$as_ac_Header=yes"
7722 echo "$as_me: failed program was:" >&5
7723 sed 's/^/| /' conftest.$ac_ext >&5
7725 eval "$as_ac_Header=no"
7728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7730 ac_res=`eval echo '${'$as_ac_Header'}'`
7731 { echo "$as_me:$LINENO: result: $ac_res" >&5
7732 echo "${ECHO_T}$ac_res" >&6; }
7733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7734 cat >>confdefs.h <<_ACEOF
7735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7744 for ac_header in ucontext.h
7746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7747 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7749 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7750 echo $ECHO_N "(cached) $ECHO_C" >&6
7752 cat >conftest.$ac_ext <<_ACEOF
7755 cat confdefs.h >>conftest.$ac_ext
7756 cat >>conftest.$ac_ext <<_ACEOF
7757 /* end confdefs.h. */
7760 #include <$ac_header>
7762 rm -f conftest.$ac_objext
7763 if { (ac_try="$ac_compile"
7765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7766 *) ac_try_echo=$ac_try;;
7768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7769 (eval "$ac_compile") 2>conftest.er1
7771 grep -v '^ *+' conftest.er1 >conftest.err
7773 cat conftest.err >&5
7774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775 (exit $ac_status); } && {
7776 test -z "$ac_c_werror_flag" ||
7777 test ! -s conftest.err
7778 } && test -s conftest.$ac_objext; then
7779 eval "$as_ac_Header=yes"
7781 echo "$as_me: failed program was:" >&5
7782 sed 's/^/| /' conftest.$ac_ext >&5
7784 eval "$as_ac_Header=no"
7787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7789 ac_res=`eval echo '${'$as_ac_Header'}'`
7790 { echo "$as_me:$LINENO: result: $ac_res" >&5
7791 echo "${ECHO_T}$ac_res" >&6; }
7792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7793 cat >>confdefs.h <<_ACEOF
7794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7803 for ac_header in sys/thr.h
7805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7806 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7808 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7809 echo $ECHO_N "(cached) $ECHO_C" >&6
7811 cat >conftest.$ac_ext <<_ACEOF
7814 cat confdefs.h >>conftest.$ac_ext
7815 cat >>conftest.$ac_ext <<_ACEOF
7816 /* end confdefs.h. */
7817 #include <sys/types.h>
7818 #ifdef HAVE_UCONTEXT_H
7819 #include <ucontext.h>
7822 #include <$ac_header>
7824 rm -f conftest.$ac_objext
7825 if { (ac_try="$ac_compile"
7827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7828 *) ac_try_echo=$ac_try;;
7830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7831 (eval "$ac_compile") 2>conftest.er1
7833 grep -v '^ *+' conftest.er1 >conftest.err
7835 cat conftest.err >&5
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); } && {
7838 test -z "$ac_c_werror_flag" ||
7839 test ! -s conftest.err
7840 } && test -s conftest.$ac_objext; then
7841 eval "$as_ac_Header=yes"
7843 echo "$as_me: failed program was:" >&5
7844 sed 's/^/| /' conftest.$ac_ext >&5
7846 eval "$as_ac_Header=no"
7849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7851 ac_res=`eval echo '${'$as_ac_Header'}'`
7852 { echo "$as_me:$LINENO: result: $ac_res" >&5
7853 echo "${ECHO_T}$ac_res" >&6; }
7854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7855 cat >>confdefs.h <<_ACEOF
7856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7865 for ac_header in pthread_np.h
7867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7868 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7870 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7871 echo $ECHO_N "(cached) $ECHO_C" >&6
7873 cat >conftest.$ac_ext <<_ACEOF
7876 cat confdefs.h >>conftest.$ac_ext
7877 cat >>conftest.$ac_ext <<_ACEOF
7878 /* end confdefs.h. */
7879 #ifdef HAVE_PTHREAD_H
7880 #include <pthread.h>
7883 #include <$ac_header>
7885 rm -f conftest.$ac_objext
7886 if { (ac_try="$ac_compile"
7888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7889 *) ac_try_echo=$ac_try;;
7891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7892 (eval "$ac_compile") 2>conftest.er1
7894 grep -v '^ *+' conftest.er1 >conftest.err
7896 cat conftest.err >&5
7897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7898 (exit $ac_status); } && {
7899 test -z "$ac_c_werror_flag" ||
7900 test ! -s conftest.err
7901 } && test -s conftest.$ac_objext; then
7902 eval "$as_ac_Header=yes"
7904 echo "$as_me: failed program was:" >&5
7905 sed 's/^/| /' conftest.$ac_ext >&5
7907 eval "$as_ac_Header=no"
7910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7912 ac_res=`eval echo '${'$as_ac_Header'}'`
7913 { echo "$as_me:$LINENO: result: $ac_res" >&5
7914 echo "${ECHO_T}$ac_res" >&6; }
7915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7916 cat >>confdefs.h <<_ACEOF
7917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7926 for ac_header in linux/videodev.h
7928 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7929 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7931 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7932 echo $ECHO_N "(cached) $ECHO_C" >&6
7934 cat >conftest.$ac_ext <<_ACEOF
7937 cat confdefs.h >>conftest.$ac_ext
7938 cat >>conftest.$ac_ext <<_ACEOF
7939 /* end confdefs.h. */
7940 #ifdef HAVE_SYS_TIME_H
7941 #include <sys/time.h>
7943 #include <sys/types.h>
7944 #ifdef HAVE_ASM_TYPES_H
7945 #include <asm/types.h>
7948 #include <$ac_header>
7950 rm -f conftest.$ac_objext
7951 if { (ac_try="$ac_compile"
7953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7954 *) ac_try_echo=$ac_try;;
7956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7957 (eval "$ac_compile") 2>conftest.er1
7959 grep -v '^ *+' conftest.er1 >conftest.err
7961 cat conftest.err >&5
7962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963 (exit $ac_status); } && {
7964 test -z "$ac_c_werror_flag" ||
7965 test ! -s conftest.err
7966 } && test -s conftest.$ac_objext; then
7967 eval "$as_ac_Header=yes"
7969 echo "$as_me: failed program was:" >&5
7970 sed 's/^/| /' conftest.$ac_ext >&5
7972 eval "$as_ac_Header=no"
7975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7977 ac_res=`eval echo '${'$as_ac_Header'}'`
7978 { echo "$as_me:$LINENO: result: $ac_res" >&5
7979 echo "${ECHO_T}$ac_res" >&6; }
7980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7981 cat >>confdefs.h <<_ACEOF
7982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7991 for ac_header in linux/capi.h
7993 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7994 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7997 echo $ECHO_N "(cached) $ECHO_C" >&6
7999 cat >conftest.$ac_ext <<_ACEOF
8002 cat confdefs.h >>conftest.$ac_ext
8003 cat >>conftest.$ac_ext <<_ACEOF
8004 /* end confdefs.h. */
8007 #include <$ac_header>
8009 rm -f conftest.$ac_objext
8010 if { (ac_try="$ac_compile"
8012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8013 *) ac_try_echo=$ac_try;;
8015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8016 (eval "$ac_compile") 2>conftest.er1
8018 grep -v '^ *+' conftest.er1 >conftest.err
8020 cat conftest.err >&5
8021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022 (exit $ac_status); } && {
8023 test -z "$ac_c_werror_flag" ||
8024 test ! -s conftest.err
8025 } && test -s conftest.$ac_objext; then
8026 eval "$as_ac_Header=yes"
8028 echo "$as_me: failed program was:" >&5
8029 sed 's/^/| /' conftest.$ac_ext >&5
8031 eval "$as_ac_Header=no"
8034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8036 ac_res=`eval echo '${'$as_ac_Header'}'`
8037 { echo "$as_me:$LINENO: result: $ac_res" >&5
8038 echo "${ECHO_T}$ac_res" >&6; }
8039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8040 cat >>confdefs.h <<_ACEOF
8041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8052 DLLFLAGS="-D_REENTRANT"
8066 # Extract the first word of "ldd", so it can be a program name with args.
8067 set dummy ldd; ac_word=$2
8068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8070 if test "${ac_cv_path_LDD+set}" = set; then
8071 echo $ECHO_N "(cached) $ECHO_C" >&6
8075 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8079 as_dummy="/sbin:/usr/sbin:$PATH"
8080 for as_dir in $as_dummy
8083 test -z "$as_dir" && as_dir=.
8084 for ac_exec_ext in '' $ac_executable_extensions; do
8085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8086 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8094 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8099 if test -n "$LDD"; then
8100 { echo "$as_me:$LINENO: result: $LDD" >&5
8101 echo "${ECHO_T}$LDD" >&6; }
8103 { echo "$as_me:$LINENO: result: no" >&5
8104 echo "${ECHO_T}no" >&6; }
8111 if test -n "$ac_tool_prefix"; then
8112 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8113 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8116 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8117 echo $ECHO_N "(cached) $ECHO_C" >&6
8119 if test -n "$DLLTOOL"; then
8120 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8126 test -z "$as_dir" && as_dir=.
8127 for ac_exec_ext in '' $ac_executable_extensions; do
8128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8129 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8139 DLLTOOL=$ac_cv_prog_DLLTOOL
8140 if test -n "$DLLTOOL"; then
8141 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8142 echo "${ECHO_T}$DLLTOOL" >&6; }
8144 { echo "$as_me:$LINENO: result: no" >&5
8145 echo "${ECHO_T}no" >&6; }
8150 if test -z "$ac_cv_prog_DLLTOOL"; then
8151 ac_ct_DLLTOOL=$DLLTOOL
8152 # Extract the first word of "dlltool", so it can be a program name with args.
8153 set dummy dlltool; ac_word=$2
8154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8156 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8157 echo $ECHO_N "(cached) $ECHO_C" >&6
8159 if test -n "$ac_ct_DLLTOOL"; then
8160 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8166 test -z "$as_dir" && as_dir=.
8167 for ac_exec_ext in '' $ac_executable_extensions; do
8168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8169 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8179 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8180 if test -n "$ac_ct_DLLTOOL"; then
8181 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8182 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8184 { echo "$as_me:$LINENO: result: no" >&5
8185 echo "${ECHO_T}no" >&6; }
8188 if test "x$ac_ct_DLLTOOL" = x; then
8191 case $cross_compiling:$ac_tool_warned in
8193 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8194 whose name does not start with the host triplet. If you think this
8195 configuration is useful to you, please write to autoconf@gnu.org." >&5
8196 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8197 whose name does not start with the host triplet. If you think this
8198 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8199 ac_tool_warned=yes ;;
8201 DLLTOOL=$ac_ct_DLLTOOL
8204 DLLTOOL="$ac_cv_prog_DLLTOOL"
8207 if test -n "$ac_tool_prefix"; then
8208 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8209 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8212 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8213 echo $ECHO_N "(cached) $ECHO_C" >&6
8215 if test -n "$DLLWRAP"; then
8216 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8222 test -z "$as_dir" && as_dir=.
8223 for ac_exec_ext in '' $ac_executable_extensions; do
8224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8225 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8235 DLLWRAP=$ac_cv_prog_DLLWRAP
8236 if test -n "$DLLWRAP"; then
8237 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8238 echo "${ECHO_T}$DLLWRAP" >&6; }
8240 { echo "$as_me:$LINENO: result: no" >&5
8241 echo "${ECHO_T}no" >&6; }
8246 if test -z "$ac_cv_prog_DLLWRAP"; then
8247 ac_ct_DLLWRAP=$DLLWRAP
8248 # Extract the first word of "dllwrap", so it can be a program name with args.
8249 set dummy dllwrap; ac_word=$2
8250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8252 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8253 echo $ECHO_N "(cached) $ECHO_C" >&6
8255 if test -n "$ac_ct_DLLWRAP"; then
8256 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8262 test -z "$as_dir" && as_dir=.
8263 for ac_exec_ext in '' $ac_executable_extensions; do
8264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8265 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8275 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8276 if test -n "$ac_ct_DLLWRAP"; then
8277 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8278 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8280 { echo "$as_me:$LINENO: result: no" >&5
8281 echo "${ECHO_T}no" >&6; }
8284 if test "x$ac_ct_DLLWRAP" = x; then
8287 case $cross_compiling:$ac_tool_warned in
8289 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8290 whose name does not start with the host triplet. If you think this
8291 configuration is useful to you, please write to autoconf@gnu.org." >&5
8292 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8293 whose name does not start with the host triplet. If you think this
8294 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8295 ac_tool_warned=yes ;;
8297 DLLWRAP=$ac_ct_DLLWRAP
8300 DLLWRAP="$ac_cv_prog_DLLWRAP"
8303 if test -n "$ac_tool_prefix"; then
8304 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8305 set dummy ${ac_tool_prefix}ar; ac_word=$2
8306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8308 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8309 echo $ECHO_N "(cached) $ECHO_C" >&6
8311 if test -n "$MINGWAR"; then
8312 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8318 test -z "$as_dir" && as_dir=.
8319 for ac_exec_ext in '' $ac_executable_extensions; do
8320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8321 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8331 MINGWAR=$ac_cv_prog_MINGWAR
8332 if test -n "$MINGWAR"; then
8333 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8334 echo "${ECHO_T}$MINGWAR" >&6; }
8336 { echo "$as_me:$LINENO: result: no" >&5
8337 echo "${ECHO_T}no" >&6; }
8342 if test -z "$ac_cv_prog_MINGWAR"; then
8343 ac_ct_MINGWAR=$MINGWAR
8344 # Extract the first word of "ar", so it can be a program name with args.
8345 set dummy ar; ac_word=$2
8346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8348 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8349 echo $ECHO_N "(cached) $ECHO_C" >&6
8351 if test -n "$ac_ct_MINGWAR"; then
8352 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8358 test -z "$as_dir" && as_dir=.
8359 for ac_exec_ext in '' $ac_executable_extensions; do
8360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8361 ac_cv_prog_ac_ct_MINGWAR="ar"
8362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8371 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8372 if test -n "$ac_ct_MINGWAR"; then
8373 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8374 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8376 { echo "$as_me:$LINENO: result: no" >&5
8377 echo "${ECHO_T}no" >&6; }
8380 if test "x$ac_ct_MINGWAR" = x; then
8383 case $cross_compiling:$ac_tool_warned in
8385 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8386 whose name does not start with the host triplet. If you think this
8387 configuration is useful to you, please write to autoconf@gnu.org." >&5
8388 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8389 whose name does not start with the host triplet. If you think this
8390 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8391 ac_tool_warned=yes ;;
8393 MINGWAR=$ac_ct_MINGWAR
8396 MINGWAR="$ac_cv_prog_MINGWAR"
8399 if test "$DLLWRAP" = "false"; then
8411 DLLFLAGS="$DLLFLAGS -fPIC"
8412 LDDLLFLAGS="-bundle -multiply_defined suppress"
8413 LIBWINE_LDFLAGS="-multiply_defined suppress"
8414 LDSHARED="\$(CC) -dynamiclib"
8416 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8417 SECURITYLIB="-framework Security -framework CoreFoundation"
8419 COREFOUNDATIONLIB="-framework CoreFoundation"
8421 IOKITLIB="-framework IOKit -framework CoreFoundation"
8423 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8425 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8427 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8430 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8432 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8437 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8439 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8441 CARBONLIB="-framework Carbon"
8443 QUARTZFILES='$(QUARTZFILES)'
8447 DLLFLAGS="$DLLFLAGS -fPIC"
8449 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8450 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8451 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8452 echo $ECHO_N "(cached) $ECHO_C" >&6
8454 ac_wine_try_cflags_saved=$CFLAGS
8455 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8456 cat >conftest.$ac_ext <<_ACEOF
8459 rm -f conftest.$ac_objext conftest$ac_exeext
8460 if { (ac_try="$ac_link"
8462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8463 *) ac_try_echo=$ac_try;;
8465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8466 (eval "$ac_link") 2>conftest.er1
8468 grep -v '^ *+' conftest.er1 >conftest.err
8470 cat conftest.err >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); } && {
8473 test -z "$ac_c_werror_flag" ||
8474 test ! -s conftest.err
8475 } && test -s conftest$ac_exeext &&
8476 $as_test_x conftest$ac_exeext; then
8477 ac_cv_c_dll_gnuelf="yes"
8479 echo "$as_me: failed program was:" >&5
8480 sed 's/^/| /' conftest.$ac_ext >&5
8482 ac_cv_c_dll_gnuelf="no"
8485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8486 conftest$ac_exeext conftest.$ac_ext
8487 CFLAGS=$ac_wine_try_cflags_saved
8489 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8490 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8491 if test "$ac_cv_c_dll_gnuelf" = "yes"
8493 LDSHARED="\$(CC) -shared"
8494 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8495 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8496 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8497 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8498 echo $ECHO_N "(cached) $ECHO_C" >&6
8500 ac_wine_try_cflags_saved=$CFLAGS
8501 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8502 cat >conftest.$ac_ext <<_ACEOF
8505 cat confdefs.h >>conftest.$ac_ext
8506 cat >>conftest.$ac_ext <<_ACEOF
8507 /* end confdefs.h. */
8517 rm -f conftest.$ac_objext conftest$ac_exeext
8518 if { (ac_try="$ac_link"
8520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8521 *) ac_try_echo=$ac_try;;
8523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8524 (eval "$ac_link") 2>conftest.er1
8526 grep -v '^ *+' conftest.er1 >conftest.err
8528 cat conftest.err >&5
8529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 (exit $ac_status); } && {
8531 test -z "$ac_c_werror_flag" ||
8532 test ! -s conftest.err
8533 } && test -s conftest$ac_exeext &&
8534 $as_test_x conftest$ac_exeext; then
8535 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8537 echo "$as_me: failed program was:" >&5
8538 sed 's/^/| /' conftest.$ac_ext >&5
8540 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8544 conftest$ac_exeext conftest.$ac_ext
8545 CFLAGS=$ac_wine_try_cflags_saved
8547 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8548 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8549 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8550 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8552 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8553 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8554 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8555 echo $ECHO_N "(cached) $ECHO_C" >&6
8557 ac_wine_try_cflags_saved=$CFLAGS
8558 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8559 cat >conftest.$ac_ext <<_ACEOF
8562 cat confdefs.h >>conftest.$ac_ext
8563 cat >>conftest.$ac_ext <<_ACEOF
8564 /* end confdefs.h. */
8574 rm -f conftest.$ac_objext conftest$ac_exeext
8575 if { (ac_try="$ac_link"
8577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8578 *) ac_try_echo=$ac_try;;
8580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8581 (eval "$ac_link") 2>conftest.er1
8583 grep -v '^ *+' conftest.er1 >conftest.err
8585 cat conftest.err >&5
8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); } && {
8588 test -z "$ac_c_werror_flag" ||
8589 test ! -s conftest.err
8590 } && test -s conftest$ac_exeext &&
8591 $as_test_x conftest$ac_exeext; then
8592 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8594 echo "$as_me: failed program was:" >&5
8595 sed 's/^/| /' conftest.$ac_ext >&5
8597 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8601 conftest$ac_exeext conftest.$ac_ext
8602 CFLAGS=$ac_wine_try_cflags_saved
8604 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8605 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8606 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8607 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8613 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8614 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8615 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8616 echo $ECHO_N "(cached) $ECHO_C" >&6
8618 ac_wine_try_cflags_saved=$CFLAGS
8619 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8620 cat >conftest.$ac_ext <<_ACEOF
8623 cat confdefs.h >>conftest.$ac_ext
8624 cat >>conftest.$ac_ext <<_ACEOF
8625 /* end confdefs.h. */
8635 rm -f conftest.$ac_objext conftest$ac_exeext
8636 if { (ac_try="$ac_link"
8638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8639 *) ac_try_echo=$ac_try;;
8641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8642 (eval "$ac_link") 2>conftest.er1
8644 grep -v '^ *+' conftest.er1 >conftest.err
8646 cat conftest.err >&5
8647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8648 (exit $ac_status); } && {
8649 test -z "$ac_c_werror_flag" ||
8650 test ! -s conftest.err
8651 } && test -s conftest$ac_exeext &&
8652 $as_test_x conftest$ac_exeext; then
8653 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8655 echo "$as_me: failed program was:" >&5
8656 sed 's/^/| /' conftest.$ac_ext >&5
8658 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8662 conftest$ac_exeext conftest.$ac_ext
8663 CFLAGS=$ac_wine_try_cflags_saved
8665 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8666 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8667 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8668 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8672 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8673 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8674 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8675 echo $ECHO_N "(cached) $ECHO_C" >&6
8677 ac_wine_try_cflags_saved=$CFLAGS
8678 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8679 cat >conftest.$ac_ext <<_ACEOF
8682 cat confdefs.h >>conftest.$ac_ext
8683 cat >>conftest.$ac_ext <<_ACEOF
8684 /* end confdefs.h. */
8694 rm -f conftest.$ac_objext conftest$ac_exeext
8695 if { (ac_try="$ac_link"
8697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8698 *) ac_try_echo=$ac_try;;
8700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8701 (eval "$ac_link") 2>conftest.er1
8703 grep -v '^ *+' conftest.er1 >conftest.err
8705 cat conftest.err >&5
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); } && {
8708 test -z "$ac_c_werror_flag" ||
8709 test ! -s conftest.err
8710 } && test -s conftest$ac_exeext &&
8711 $as_test_x conftest$ac_exeext; then
8712 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8714 echo "$as_me: failed program was:" >&5
8715 sed 's/^/| /' conftest.$ac_ext >&5
8717 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8721 conftest$ac_exeext conftest.$ac_ext
8722 CFLAGS=$ac_wine_try_cflags_saved
8724 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8725 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8726 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8727 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8731 echo '{ global: *; };' >conftest.map
8732 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8733 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8734 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8735 echo $ECHO_N "(cached) $ECHO_C" >&6
8737 ac_wine_try_cflags_saved=$CFLAGS
8738 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8739 cat >conftest.$ac_ext <<_ACEOF
8742 cat confdefs.h >>conftest.$ac_ext
8743 cat >>conftest.$ac_ext <<_ACEOF
8744 /* end confdefs.h. */
8754 rm -f conftest.$ac_objext conftest$ac_exeext
8755 if { (ac_try="$ac_link"
8757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8758 *) ac_try_echo=$ac_try;;
8760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8761 (eval "$ac_link") 2>conftest.er1
8763 grep -v '^ *+' conftest.er1 >conftest.err
8765 cat conftest.err >&5
8766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767 (exit $ac_status); } && {
8768 test -z "$ac_c_werror_flag" ||
8769 test ! -s conftest.err
8770 } && test -s conftest$ac_exeext &&
8771 $as_test_x conftest$ac_exeext; then
8772 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8774 echo "$as_me: failed program was:" >&5
8775 sed 's/^/| /' conftest.$ac_ext >&5
8777 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8781 conftest$ac_exeext conftest.$ac_ext
8782 CFLAGS=$ac_wine_try_cflags_saved
8784 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8785 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8786 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8787 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8792 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8793 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8794 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8795 echo $ECHO_N "(cached) $ECHO_C" >&6
8797 ac_wine_try_cflags_saved=$CFLAGS
8798 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8799 cat >conftest.$ac_ext <<_ACEOF
8802 cat confdefs.h >>conftest.$ac_ext
8803 cat >>conftest.$ac_ext <<_ACEOF
8804 /* end confdefs.h. */
8814 rm -f conftest.$ac_objext conftest$ac_exeext
8815 if { (ac_try="$ac_link"
8817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8818 *) ac_try_echo=$ac_try;;
8820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8821 (eval "$ac_link") 2>conftest.er1
8823 grep -v '^ *+' conftest.er1 >conftest.err
8825 cat conftest.err >&5
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 (exit $ac_status); } && {
8828 test -z "$ac_c_werror_flag" ||
8829 test ! -s conftest.err
8830 } && test -s conftest$ac_exeext &&
8831 $as_test_x conftest$ac_exeext; then
8832 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8834 echo "$as_me: failed program was:" >&5
8835 sed 's/^/| /' conftest.$ac_ext >&5
8837 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8841 conftest$ac_exeext conftest.$ac_ext
8842 CFLAGS=$ac_wine_try_cflags_saved
8844 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8845 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8846 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8847 LDEXECFLAGS="-Wl,--export-dynamic"
8852 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8853 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8854 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8855 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8856 echo $ECHO_N "(cached) $ECHO_C" >&6
8858 ac_wine_try_cflags_saved=$CFLAGS
8859 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8860 cat >conftest.$ac_ext <<_ACEOF
8863 cat confdefs.h >>conftest.$ac_ext
8864 cat >>conftest.$ac_ext <<_ACEOF
8865 /* end confdefs.h. */
8875 rm -f conftest.$ac_objext conftest$ac_exeext
8876 if { (ac_try="$ac_link"
8878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8879 *) ac_try_echo=$ac_try;;
8881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8882 (eval "$ac_link") 2>conftest.er1
8884 grep -v '^ *+' conftest.er1 >conftest.err
8886 cat conftest.err >&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); } && {
8889 test -z "$ac_c_werror_flag" ||
8890 test ! -s conftest.err
8891 } && test -s conftest$ac_exeext &&
8892 $as_test_x conftest$ac_exeext; then
8893 eval "$as_ac_var=yes"
8895 echo "$as_me: failed program was:" >&5
8896 sed 's/^/| /' conftest.$ac_ext >&5
8898 eval "$as_ac_var=no"
8901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8902 conftest$ac_exeext conftest.$ac_ext
8903 CFLAGS=$ac_wine_try_cflags_saved
8905 ac_res=`eval echo '${'$as_ac_var'}'`
8906 { echo "$as_me:$LINENO: result: $ac_res" >&5
8907 echo "${ECHO_T}$ac_res" >&6; }
8908 if test `eval echo '${'$as_ac_var'}'` = yes; then
8909 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8910 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8912 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8913 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8914 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8915 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8916 echo $ECHO_N "(cached) $ECHO_C" >&6
8918 ac_wine_try_cflags_saved=$CFLAGS
8919 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8920 cat >conftest.$ac_ext <<_ACEOF
8923 cat confdefs.h >>conftest.$ac_ext
8924 cat >>conftest.$ac_ext <<_ACEOF
8925 /* end confdefs.h. */
8935 rm -f conftest.$ac_objext conftest$ac_exeext
8936 if { (ac_try="$ac_link"
8938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8939 *) ac_try_echo=$ac_try;;
8941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8942 (eval "$ac_link") 2>conftest.er1
8944 grep -v '^ *+' conftest.er1 >conftest.err
8946 cat conftest.err >&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 (exit $ac_status); } && {
8949 test -z "$ac_c_werror_flag" ||
8950 test ! -s conftest.err
8951 } && test -s conftest$ac_exeext &&
8952 $as_test_x conftest$ac_exeext; then
8953 eval "$as_ac_var=yes"
8955 echo "$as_me: failed program was:" >&5
8956 sed 's/^/| /' conftest.$ac_ext >&5
8958 eval "$as_ac_var=no"
8961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8962 conftest$ac_exeext conftest.$ac_ext
8963 CFLAGS=$ac_wine_try_cflags_saved
8965 ac_res=`eval echo '${'$as_ac_var'}'`
8966 { echo "$as_me:$LINENO: result: $ac_res" >&5
8967 echo "${ECHO_T}$ac_res" >&6; }
8968 if test `eval echo '${'$as_ac_var'}'` = yes; then
8969 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8970 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8976 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8977 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8978 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8979 echo $ECHO_N "(cached) $ECHO_C" >&6
8981 ac_wine_try_cflags_saved=$CFLAGS
8982 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8983 cat >conftest.$ac_ext <<_ACEOF
8986 cat confdefs.h >>conftest.$ac_ext
8987 cat >>conftest.$ac_ext <<_ACEOF
8988 /* end confdefs.h. */
8998 rm -f conftest.$ac_objext conftest$ac_exeext
8999 if { (ac_try="$ac_link"
9001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9002 *) ac_try_echo=$ac_try;;
9004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9005 (eval "$ac_link") 2>conftest.er1
9007 grep -v '^ *+' conftest.er1 >conftest.err
9009 cat conftest.err >&5
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); } && {
9012 test -z "$ac_c_werror_flag" ||
9013 test ! -s conftest.err
9014 } && test -s conftest$ac_exeext &&
9015 $as_test_x conftest$ac_exeext; then
9016 ac_cv_cflags__Wl___enable_new_dtags=yes
9018 echo "$as_me: failed program was:" >&5
9019 sed 's/^/| /' conftest.$ac_ext >&5
9021 ac_cv_cflags__Wl___enable_new_dtags=no
9024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9025 conftest$ac_exeext conftest.$ac_ext
9026 CFLAGS=$ac_wine_try_cflags_saved
9028 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9029 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9030 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9031 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9036 *i[3456789]86* | x86_64)
9037 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9038 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9039 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9040 echo $ECHO_N "(cached) $ECHO_C" >&6
9042 ac_wine_try_cflags_saved=$CFLAGS
9043 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9044 cat >conftest.$ac_ext <<_ACEOF
9047 cat confdefs.h >>conftest.$ac_ext
9048 cat >>conftest.$ac_ext <<_ACEOF
9049 /* end confdefs.h. */
9059 rm -f conftest.$ac_objext conftest$ac_exeext
9060 if { (ac_try="$ac_link"
9062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9063 *) ac_try_echo=$ac_try;;
9065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9066 (eval "$ac_link") 2>conftest.er1
9068 grep -v '^ *+' conftest.er1 >conftest.err
9070 cat conftest.err >&5
9071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9072 (exit $ac_status); } && {
9073 test -z "$ac_c_werror_flag" ||
9074 test ! -s conftest.err
9075 } && test -s conftest$ac_exeext &&
9076 $as_test_x conftest$ac_exeext; then
9077 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9079 echo "$as_me: failed program was:" >&5
9080 sed 's/^/| /' conftest.$ac_ext >&5
9082 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9086 conftest$ac_exeext conftest.$ac_ext
9087 CFLAGS=$ac_wine_try_cflags_saved
9089 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9090 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9091 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9092 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9099 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9100 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9101 if test "${ac_cv_c_dll_unixware+set}" = set; then
9102 echo $ECHO_N "(cached) $ECHO_C" >&6
9104 ac_wine_try_cflags_saved=$CFLAGS
9105 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9106 cat >conftest.$ac_ext <<_ACEOF
9109 rm -f conftest.$ac_objext conftest$ac_exeext
9110 if { (ac_try="$ac_link"
9112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9113 *) ac_try_echo=$ac_try;;
9115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9116 (eval "$ac_link") 2>conftest.er1
9118 grep -v '^ *+' conftest.er1 >conftest.err
9120 cat conftest.err >&5
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); } && {
9123 test -z "$ac_c_werror_flag" ||
9124 test ! -s conftest.err
9125 } && test -s conftest$ac_exeext &&
9126 $as_test_x conftest$ac_exeext; then
9127 ac_cv_c_dll_unixware="yes"
9129 echo "$as_me: failed program was:" >&5
9130 sed 's/^/| /' conftest.$ac_ext >&5
9132 ac_cv_c_dll_unixware="no"
9135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9136 conftest$ac_exeext conftest.$ac_ext
9137 CFLAGS=$ac_wine_try_cflags_saved
9139 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9140 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9141 if test "$ac_cv_c_dll_unixware" = "yes"
9143 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9144 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9147 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9148 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9149 if test "${ac_cv_c_dll_hpux+set}" = set; then
9150 echo $ECHO_N "(cached) $ECHO_C" >&6
9152 ac_wine_try_cflags_saved=$CFLAGS
9153 CFLAGS="$CFLAGS -shared"
9154 cat >conftest.$ac_ext <<_ACEOF
9157 rm -f conftest.$ac_objext conftest$ac_exeext
9158 if { (ac_try="$ac_link"
9160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9161 *) ac_try_echo=$ac_try;;
9163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9164 (eval "$ac_link") 2>conftest.er1
9166 grep -v '^ *+' conftest.er1 >conftest.err
9168 cat conftest.err >&5
9169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170 (exit $ac_status); } && {
9171 test -z "$ac_c_werror_flag" ||
9172 test ! -s conftest.err
9173 } && test -s conftest$ac_exeext &&
9174 $as_test_x conftest$ac_exeext; then
9175 ac_cv_c_dll_hpux="yes"
9177 echo "$as_me: failed program was:" >&5
9178 sed 's/^/| /' conftest.$ac_ext >&5
9180 ac_cv_c_dll_hpux="no"
9183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9184 conftest$ac_exeext conftest.$ac_ext
9185 CFLAGS=$ac_wine_try_cflags_saved
9187 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9188 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9189 if test "$ac_cv_c_dll_hpux" = "yes"
9193 LDDLLFLAGS="-shared -fPIC"
9194 LDSHARED="\$(CC) -shared"
9201 if test "$cross_compiling" = "no"
9203 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9205 # Extract the first word of "$ac_prog", so it can be a program name with args.
9206 set dummy $ac_prog; ac_word=$2
9207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9209 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9210 echo $ECHO_N "(cached) $ECHO_C" >&6
9212 if test -n "$CROSSCC"; then
9213 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9219 test -z "$as_dir" && as_dir=.
9220 for ac_exec_ext in '' $ac_executable_extensions; do
9221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9222 ac_cv_prog_CROSSCC="$ac_prog"
9223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9232 CROSSCC=$ac_cv_prog_CROSSCC
9233 if test -n "$CROSSCC"; then
9234 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9235 echo "${ECHO_T}$CROSSCC" >&6; }
9237 { echo "$as_me:$LINENO: result: no" >&5
9238 echo "${ECHO_T}no" >&6; }
9242 test -n "$CROSSCC" && break
9244 test -n "$CROSSCC" || CROSSCC="false"
9246 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9248 # Extract the first word of "$ac_prog", so it can be a program name with args.
9249 set dummy $ac_prog; ac_word=$2
9250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9252 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9253 echo $ECHO_N "(cached) $ECHO_C" >&6
9255 if test -n "$DLLTOOL"; then
9256 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9262 test -z "$as_dir" && as_dir=.
9263 for ac_exec_ext in '' $ac_executable_extensions; do
9264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9265 ac_cv_prog_DLLTOOL="$ac_prog"
9266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9275 DLLTOOL=$ac_cv_prog_DLLTOOL
9276 if test -n "$DLLTOOL"; then
9277 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9278 echo "${ECHO_T}$DLLTOOL" >&6; }
9280 { echo "$as_me:$LINENO: result: no" >&5
9281 echo "${ECHO_T}no" >&6; }
9285 test -n "$DLLTOOL" && break
9287 test -n "$DLLTOOL" || DLLTOOL="false"
9289 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9291 # Extract the first word of "$ac_prog", so it can be a program name with args.
9292 set dummy $ac_prog; ac_word=$2
9293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9295 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9296 echo $ECHO_N "(cached) $ECHO_C" >&6
9298 if test -n "$CROSSWINDRES"; then
9299 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9305 test -z "$as_dir" && as_dir=.
9306 for ac_exec_ext in '' $ac_executable_extensions; do
9307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9308 ac_cv_prog_CROSSWINDRES="$ac_prog"
9309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9318 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9319 if test -n "$CROSSWINDRES"; then
9320 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9321 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9323 { echo "$as_me:$LINENO: result: no" >&5
9324 echo "${ECHO_T}no" >&6; }
9328 test -n "$CROSSWINDRES" && break
9330 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9332 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9334 # Extract the first word of "$ac_prog", so it can be a program name with args.
9335 set dummy $ac_prog; ac_word=$2
9336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9338 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9339 echo $ECHO_N "(cached) $ECHO_C" >&6
9341 if test -n "$MINGWAR"; then
9342 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9348 test -z "$as_dir" && as_dir=.
9349 for ac_exec_ext in '' $ac_executable_extensions; do
9350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9351 ac_cv_prog_MINGWAR="$ac_prog"
9352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9361 MINGWAR=$ac_cv_prog_MINGWAR
9362 if test -n "$MINGWAR"; then
9363 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9364 echo "${ECHO_T}$MINGWAR" >&6; }
9366 { echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6; }
9371 test -n "$MINGWAR" && break
9373 test -n "$MINGWAR" || MINGWAR="false"
9375 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9380 if test "$LIBEXT" = "a"; then
9381 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9382 It is currently not possible to build Wine without shared library
9383 (.so) support to allow transparent switch between .so and .dll files.
9384 If you are using Linux, you will need a newer binutils.
9386 echo "$as_me: error: could not find a way to build shared libraries.
9387 It is currently not possible to build Wine without shared library
9388 (.so) support to allow transparent switch between .so and .dll files.
9389 If you are using Linux, you will need a newer binutils.
9391 { (exit 1); exit 1; }; }
9395 if test "$have_x" = "yes"
9398 ac_save_CPPFLAGS="$CPPFLAGS"
9399 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9401 { echo "$as_me:$LINENO: checking for -lX11" >&5
9402 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9403 if test "${ac_cv_lib_soname_X11+set}" = set; then
9404 echo $ECHO_N "(cached) $ECHO_C" >&6
9406 ac_check_soname_save_LIBS=$LIBS
9407 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9408 cat >conftest.$ac_ext <<_ACEOF
9411 cat confdefs.h >>conftest.$ac_ext
9412 cat >>conftest.$ac_ext <<_ACEOF
9413 /* end confdefs.h. */
9415 /* Override any GCC internal prototype to avoid an error.
9416 Use char because int might match the return type of a GCC
9417 builtin and then its argument prototype would still apply. */
9421 char XCreateWindow ();
9425 return XCreateWindow ();
9430 rm -f conftest.$ac_objext conftest$ac_exeext
9431 if { (ac_try="$ac_link"
9433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9434 *) ac_try_echo=$ac_try;;
9436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9437 (eval "$ac_link") 2>conftest.er1
9439 grep -v '^ *+' conftest.er1 >conftest.err
9441 cat conftest.err >&5
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443 (exit $ac_status); } && {
9444 test -z "$ac_c_werror_flag" ||
9445 test ! -s conftest.err
9446 } && test -s conftest$ac_exeext &&
9447 $as_test_x conftest$ac_exeext; then
9450 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'` ;;
9451 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9454 echo "$as_me: failed program was:" >&5
9455 sed 's/^/| /' conftest.$ac_ext >&5
9460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9461 conftest$ac_exeext conftest.$ac_ext
9462 LIBS=$ac_check_soname_save_LIBS
9464 if test "x$ac_cv_lib_soname_X11" = "x"; then
9465 { echo "$as_me:$LINENO: result: not found" >&5
9466 echo "${ECHO_T}not found" >&6; }
9469 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9470 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9472 cat >>confdefs.h <<_ACEOF
9473 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9479 { echo "$as_me:$LINENO: checking for -lXext" >&5
9480 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9481 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9482 echo $ECHO_N "(cached) $ECHO_C" >&6
9484 ac_check_soname_save_LIBS=$LIBS
9485 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9486 cat >conftest.$ac_ext <<_ACEOF
9489 cat confdefs.h >>conftest.$ac_ext
9490 cat >>conftest.$ac_ext <<_ACEOF
9491 /* end confdefs.h. */
9493 /* Override any GCC internal prototype to avoid an error.
9494 Use char because int might match the return type of a GCC
9495 builtin and then its argument prototype would still apply. */
9499 char XextCreateExtension ();
9503 return XextCreateExtension ();
9508 rm -f conftest.$ac_objext conftest$ac_exeext
9509 if { (ac_try="$ac_link"
9511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9512 *) ac_try_echo=$ac_try;;
9514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9515 (eval "$ac_link") 2>conftest.er1
9517 grep -v '^ *+' conftest.er1 >conftest.err
9519 cat conftest.err >&5
9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521 (exit $ac_status); } && {
9522 test -z "$ac_c_werror_flag" ||
9523 test ! -s conftest.err
9524 } && test -s conftest$ac_exeext &&
9525 $as_test_x conftest$ac_exeext; then
9528 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'` ;;
9529 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9532 echo "$as_me: failed program was:" >&5
9533 sed 's/^/| /' conftest.$ac_ext >&5
9538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9539 conftest$ac_exeext conftest.$ac_ext
9540 LIBS=$ac_check_soname_save_LIBS
9542 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9543 { echo "$as_me:$LINENO: result: not found" >&5
9544 echo "${ECHO_T}not found" >&6; }
9547 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9548 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9550 cat >>confdefs.h <<_ACEOF
9551 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9570 for ac_header in X11/Xlib.h \
9573 X11/Xcursor/Xcursor.h \
9574 X11/extensions/shape.h \
9575 X11/extensions/XInput.h \
9576 X11/extensions/XShm.h \
9577 X11/extensions/Xcomposite.h \
9578 X11/extensions/Xinerama.h \
9579 X11/extensions/Xrandr.h \
9580 X11/extensions/Xrender.h \
9581 X11/extensions/xf86vmode.h
9583 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9584 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9586 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9587 echo $ECHO_N "(cached) $ECHO_C" >&6
9589 cat >conftest.$ac_ext <<_ACEOF
9592 cat confdefs.h >>conftest.$ac_ext
9593 cat >>conftest.$ac_ext <<_ACEOF
9594 /* end confdefs.h. */
9595 #ifdef HAVE_X11_XLIB_H
9596 # include <X11/Xlib.h>
9598 #ifdef HAVE_X11_XUTIL_H
9599 # include <X11/Xutil.h>
9602 #include <$ac_header>
9604 rm -f conftest.$ac_objext
9605 if { (ac_try="$ac_compile"
9607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9608 *) ac_try_echo=$ac_try;;
9610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9611 (eval "$ac_compile") 2>conftest.er1
9613 grep -v '^ *+' conftest.er1 >conftest.err
9615 cat conftest.err >&5
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); } && {
9618 test -z "$ac_c_werror_flag" ||
9619 test ! -s conftest.err
9620 } && test -s conftest.$ac_objext; then
9621 eval "$as_ac_Header=yes"
9623 echo "$as_me: failed program was:" >&5
9624 sed 's/^/| /' conftest.$ac_ext >&5
9626 eval "$as_ac_Header=no"
9629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9631 ac_res=`eval echo '${'$as_ac_Header'}'`
9632 { echo "$as_me:$LINENO: result: $ac_res" >&5
9633 echo "${ECHO_T}$ac_res" >&6; }
9634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9635 cat >>confdefs.h <<_ACEOF
9636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9644 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9646 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9647 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9648 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9649 echo $ECHO_N "(cached) $ECHO_C" >&6
9651 ac_check_lib_save_LIBS=$LIBS
9652 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9653 cat >conftest.$ac_ext <<_ACEOF
9656 cat confdefs.h >>conftest.$ac_ext
9657 cat >>conftest.$ac_ext <<_ACEOF
9658 /* end confdefs.h. */
9660 /* Override any GCC internal prototype to avoid an error.
9661 Use char because int might match the return type of a GCC
9662 builtin and then its argument prototype would still apply. */
9666 char XkbQueryExtension ();
9670 return XkbQueryExtension ();
9675 rm -f conftest.$ac_objext conftest$ac_exeext
9676 if { (ac_try="$ac_link"
9678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9679 *) ac_try_echo=$ac_try;;
9681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9682 (eval "$ac_link") 2>conftest.er1
9684 grep -v '^ *+' conftest.er1 >conftest.err
9686 cat conftest.err >&5
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); } && {
9689 test -z "$ac_c_werror_flag" ||
9690 test ! -s conftest.err
9691 } && test -s conftest$ac_exeext &&
9692 $as_test_x conftest$ac_exeext; then
9693 ac_cv_lib_X11_XkbQueryExtension=yes
9695 echo "$as_me: failed program was:" >&5
9696 sed 's/^/| /' conftest.$ac_ext >&5
9698 ac_cv_lib_X11_XkbQueryExtension=no
9701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9702 conftest$ac_exeext conftest.$ac_ext
9703 LIBS=$ac_check_lib_save_LIBS
9705 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9706 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9707 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9709 cat >>confdefs.h <<\_ACEOF
9717 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9719 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9720 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9721 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9722 echo $ECHO_N "(cached) $ECHO_C" >&6
9724 ac_check_soname_save_LIBS=$LIBS
9725 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9726 cat >conftest.$ac_ext <<_ACEOF
9729 cat confdefs.h >>conftest.$ac_ext
9730 cat >>conftest.$ac_ext <<_ACEOF
9731 /* end confdefs.h. */
9733 /* Override any GCC internal prototype to avoid an error.
9734 Use char because int might match the return type of a GCC
9735 builtin and then its argument prototype would still apply. */
9739 char XcursorImageLoadCursor ();
9743 return XcursorImageLoadCursor ();
9748 rm -f conftest.$ac_objext conftest$ac_exeext
9749 if { (ac_try="$ac_link"
9751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9752 *) ac_try_echo=$ac_try;;
9754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9755 (eval "$ac_link") 2>conftest.er1
9757 grep -v '^ *+' conftest.er1 >conftest.err
9759 cat conftest.err >&5
9760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761 (exit $ac_status); } && {
9762 test -z "$ac_c_werror_flag" ||
9763 test ! -s conftest.err
9764 } && test -s conftest$ac_exeext &&
9765 $as_test_x conftest$ac_exeext; then
9768 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'` ;;
9769 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9772 echo "$as_me: failed program was:" >&5
9773 sed 's/^/| /' conftest.$ac_ext >&5
9778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9779 conftest$ac_exeext conftest.$ac_ext
9780 LIBS=$ac_check_soname_save_LIBS
9782 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9783 { echo "$as_me:$LINENO: result: not found" >&5
9784 echo "${ECHO_T}not found" >&6; }
9787 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9788 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9790 cat >>confdefs.h <<_ACEOF
9791 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9798 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9799 case "x$with_xcursor" in
9800 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9802 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9803 This is an error since --with-xcursor was requested." >&5
9804 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9805 This is an error since --with-xcursor was requested." >&2;}
9806 { (exit 1); exit 1; }; } ;;
9811 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9813 { echo "$as_me:$LINENO: checking for -lXi" >&5
9814 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9815 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9816 echo $ECHO_N "(cached) $ECHO_C" >&6
9818 ac_check_soname_save_LIBS=$LIBS
9819 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9820 cat >conftest.$ac_ext <<_ACEOF
9823 cat confdefs.h >>conftest.$ac_ext
9824 cat >>conftest.$ac_ext <<_ACEOF
9825 /* end confdefs.h. */
9827 /* Override any GCC internal prototype to avoid an error.
9828 Use char because int might match the return type of a GCC
9829 builtin and then its argument prototype would still apply. */
9833 char XOpenDevice ();
9837 return XOpenDevice ();
9842 rm -f conftest.$ac_objext conftest$ac_exeext
9843 if { (ac_try="$ac_link"
9845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9846 *) ac_try_echo=$ac_try;;
9848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9849 (eval "$ac_link") 2>conftest.er1
9851 grep -v '^ *+' conftest.er1 >conftest.err
9853 cat conftest.err >&5
9854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9855 (exit $ac_status); } && {
9856 test -z "$ac_c_werror_flag" ||
9857 test ! -s conftest.err
9858 } && test -s conftest$ac_exeext &&
9859 $as_test_x conftest$ac_exeext; then
9862 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'` ;;
9863 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9866 echo "$as_me: failed program was:" >&5
9867 sed 's/^/| /' conftest.$ac_ext >&5
9872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9873 conftest$ac_exeext conftest.$ac_ext
9874 LIBS=$ac_check_soname_save_LIBS
9876 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9877 { echo "$as_me:$LINENO: result: not found" >&5
9878 echo "${ECHO_T}not found" >&6; }
9881 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9882 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9884 cat >>confdefs.h <<_ACEOF
9885 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9892 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9893 case "x$with_xinput" in
9894 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9896 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9897 This is an error since --with-xinput was requested." >&5
9898 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9899 This is an error since --with-xinput was requested." >&2;}
9900 { (exit 1); exit 1; }; } ;;
9905 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9907 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9908 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9909 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9910 echo $ECHO_N "(cached) $ECHO_C" >&6
9912 ac_check_lib_save_LIBS=$LIBS
9913 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9914 cat >conftest.$ac_ext <<_ACEOF
9917 cat confdefs.h >>conftest.$ac_ext
9918 cat >>conftest.$ac_ext <<_ACEOF
9919 /* end confdefs.h. */
9921 /* Override any GCC internal prototype to avoid an error.
9922 Use char because int might match the return type of a GCC
9923 builtin and then its argument prototype would still apply. */
9927 char XShmQueryExtension ();
9931 return XShmQueryExtension ();
9936 rm -f conftest.$ac_objext conftest$ac_exeext
9937 if { (ac_try="$ac_link"
9939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9940 *) ac_try_echo=$ac_try;;
9942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9943 (eval "$ac_link") 2>conftest.er1
9945 grep -v '^ *+' conftest.er1 >conftest.err
9947 cat conftest.err >&5
9948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949 (exit $ac_status); } && {
9950 test -z "$ac_c_werror_flag" ||
9951 test ! -s conftest.err
9952 } && test -s conftest$ac_exeext &&
9953 $as_test_x conftest$ac_exeext; then
9954 ac_cv_lib_Xext_XShmQueryExtension=yes
9956 echo "$as_me: failed program was:" >&5
9957 sed 's/^/| /' conftest.$ac_ext >&5
9959 ac_cv_lib_Xext_XShmQueryExtension=no
9962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9963 conftest$ac_exeext conftest.$ac_ext
9964 LIBS=$ac_check_lib_save_LIBS
9966 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9967 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9968 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9970 cat >>confdefs.h <<\_ACEOF
9971 #define HAVE_LIBXXSHM 1
9977 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9978 case "x$with_xshm" in
9979 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9981 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9982 This is an error since --with-xshm was requested." >&5
9983 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9984 This is an error since --with-xshm was requested." >&2;}
9985 { (exit 1); exit 1; }; } ;;
9990 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9992 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9993 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9994 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9995 echo $ECHO_N "(cached) $ECHO_C" >&6
9997 ac_check_lib_save_LIBS=$LIBS
9998 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9999 cat >conftest.$ac_ext <<_ACEOF
10002 cat confdefs.h >>conftest.$ac_ext
10003 cat >>conftest.$ac_ext <<_ACEOF
10004 /* end confdefs.h. */
10006 /* Override any GCC internal prototype to avoid an error.
10007 Use char because int might match the return type of a GCC
10008 builtin and then its argument prototype would still apply. */
10012 char XShapeQueryExtension ();
10016 return XShapeQueryExtension ();
10021 rm -f conftest.$ac_objext conftest$ac_exeext
10022 if { (ac_try="$ac_link"
10023 case "(($ac_try" in
10024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10025 *) ac_try_echo=$ac_try;;
10027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10028 (eval "$ac_link") 2>conftest.er1
10030 grep -v '^ *+' conftest.er1 >conftest.err
10032 cat conftest.err >&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); } && {
10035 test -z "$ac_c_werror_flag" ||
10036 test ! -s conftest.err
10037 } && test -s conftest$ac_exeext &&
10038 $as_test_x conftest$ac_exeext; then
10039 ac_cv_lib_Xext_XShapeQueryExtension=yes
10041 echo "$as_me: failed program was:" >&5
10042 sed 's/^/| /' conftest.$ac_ext >&5
10044 ac_cv_lib_Xext_XShapeQueryExtension=no
10047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10048 conftest$ac_exeext conftest.$ac_ext
10049 LIBS=$ac_check_lib_save_LIBS
10051 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10052 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10053 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10055 cat >>confdefs.h <<\_ACEOF
10056 #define HAVE_LIBXSHAPE 1
10062 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10063 case "x$with_xshape" in
10064 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10066 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10067 This is an error since --with-xshape was requested." >&5
10068 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10069 This is an error since --with-xshape was requested." >&2;}
10070 { (exit 1); exit 1; }; } ;;
10075 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10077 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10078 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10079 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10080 echo $ECHO_N "(cached) $ECHO_C" >&6
10082 ac_check_lib_save_LIBS=$LIBS
10083 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10084 cat >conftest.$ac_ext <<_ACEOF
10087 cat confdefs.h >>conftest.$ac_ext
10088 cat >>conftest.$ac_ext <<_ACEOF
10089 /* end confdefs.h. */
10091 /* Override any GCC internal prototype to avoid an error.
10092 Use char because int might match the return type of a GCC
10093 builtin and then its argument prototype would still apply. */
10097 char XF86VidModeQueryExtension ();
10101 return XF86VidModeQueryExtension ();
10106 rm -f conftest.$ac_objext conftest$ac_exeext
10107 if { (ac_try="$ac_link"
10108 case "(($ac_try" in
10109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10110 *) ac_try_echo=$ac_try;;
10112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10113 (eval "$ac_link") 2>conftest.er1
10115 grep -v '^ *+' conftest.er1 >conftest.err
10117 cat conftest.err >&5
10118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119 (exit $ac_status); } && {
10120 test -z "$ac_c_werror_flag" ||
10121 test ! -s conftest.err
10122 } && test -s conftest$ac_exeext &&
10123 $as_test_x conftest$ac_exeext; then
10124 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10126 echo "$as_me: failed program was:" >&5
10127 sed 's/^/| /' conftest.$ac_ext >&5
10129 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10133 conftest$ac_exeext conftest.$ac_ext
10134 LIBS=$ac_check_lib_save_LIBS
10136 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10137 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10138 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10140 cat >>confdefs.h <<\_ACEOF
10141 #define HAVE_LIBXXF86VM 1
10144 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10149 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10150 case "x$with_xvidmode" in
10151 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10153 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10154 This is an error since --with-xvidmode was requested." >&5
10155 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10156 This is an error since --with-xvidmode was requested." >&2;}
10157 { (exit 1); exit 1; }; } ;;
10162 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"
10164 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10165 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10166 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10167 echo $ECHO_N "(cached) $ECHO_C" >&6
10169 ac_check_soname_save_LIBS=$LIBS
10170 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10171 cat >conftest.$ac_ext <<_ACEOF
10174 cat confdefs.h >>conftest.$ac_ext
10175 cat >>conftest.$ac_ext <<_ACEOF
10176 /* end confdefs.h. */
10178 /* Override any GCC internal prototype to avoid an error.
10179 Use char because int might match the return type of a GCC
10180 builtin and then its argument prototype would still apply. */
10184 char XRenderQueryExtension ();
10188 return XRenderQueryExtension ();
10193 rm -f conftest.$ac_objext conftest$ac_exeext
10194 if { (ac_try="$ac_link"
10195 case "(($ac_try" in
10196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10197 *) ac_try_echo=$ac_try;;
10199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10200 (eval "$ac_link") 2>conftest.er1
10202 grep -v '^ *+' conftest.er1 >conftest.err
10204 cat conftest.err >&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); } && {
10207 test -z "$ac_c_werror_flag" ||
10208 test ! -s conftest.err
10209 } && test -s conftest$ac_exeext &&
10210 $as_test_x conftest$ac_exeext; then
10213 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'` ;;
10214 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10217 echo "$as_me: failed program was:" >&5
10218 sed 's/^/| /' conftest.$ac_ext >&5
10223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10224 conftest$ac_exeext conftest.$ac_ext
10225 LIBS=$ac_check_soname_save_LIBS
10227 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10228 { echo "$as_me:$LINENO: result: not found" >&5
10229 echo "${ECHO_T}not found" >&6; }
10232 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10233 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10235 cat >>confdefs.h <<_ACEOF
10236 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10239 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10240 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10241 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10242 echo $ECHO_N "(cached) $ECHO_C" >&6
10244 ac_check_lib_save_LIBS=$LIBS
10245 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10246 cat >conftest.$ac_ext <<_ACEOF
10249 cat confdefs.h >>conftest.$ac_ext
10250 cat >>conftest.$ac_ext <<_ACEOF
10251 /* end confdefs.h. */
10253 /* Override any GCC internal prototype to avoid an error.
10254 Use char because int might match the return type of a GCC
10255 builtin and then its argument prototype would still apply. */
10259 char XRenderSetPictureTransform ();
10263 return XRenderSetPictureTransform ();
10268 rm -f conftest.$ac_objext conftest$ac_exeext
10269 if { (ac_try="$ac_link"
10270 case "(($ac_try" in
10271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10272 *) ac_try_echo=$ac_try;;
10274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10275 (eval "$ac_link") 2>conftest.er1
10277 grep -v '^ *+' conftest.er1 >conftest.err
10279 cat conftest.err >&5
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); } && {
10282 test -z "$ac_c_werror_flag" ||
10283 test ! -s conftest.err
10284 } && test -s conftest$ac_exeext &&
10285 $as_test_x conftest$ac_exeext; then
10286 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10288 echo "$as_me: failed program was:" >&5
10289 sed 's/^/| /' conftest.$ac_ext >&5
10291 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10295 conftest$ac_exeext conftest.$ac_ext
10296 LIBS=$ac_check_lib_save_LIBS
10298 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10299 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10300 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10302 cat >>confdefs.h <<\_ACEOF
10303 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10312 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10313 case "x$with_xrender" in
10314 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10316 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10317 This is an error since --with-xrender was requested." >&5
10318 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10319 This is an error since --with-xrender was requested." >&2;}
10320 { (exit 1); exit 1; }; } ;;
10325 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10327 cat >conftest.$ac_ext <<_ACEOF
10330 cat confdefs.h >>conftest.$ac_ext
10331 cat >>conftest.$ac_ext <<_ACEOF
10332 /* end confdefs.h. */
10333 #include <X11/Xlib.h>
10334 #include <X11/extensions/Xrandr.h>
10338 static typeof(XRRSetScreenConfigAndRate) * func;
10343 rm -f conftest.$ac_objext
10344 if { (ac_try="$ac_compile"
10345 case "(($ac_try" in
10346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10347 *) ac_try_echo=$ac_try;;
10349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10350 (eval "$ac_compile") 2>conftest.er1
10352 grep -v '^ *+' conftest.er1 >conftest.err
10354 cat conftest.err >&5
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); } && {
10357 test -z "$ac_c_werror_flag" ||
10358 test ! -s conftest.err
10359 } && test -s conftest.$ac_objext; then
10360 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10361 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10362 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10363 echo $ECHO_N "(cached) $ECHO_C" >&6
10365 ac_check_soname_save_LIBS=$LIBS
10366 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10367 cat >conftest.$ac_ext <<_ACEOF
10370 cat confdefs.h >>conftest.$ac_ext
10371 cat >>conftest.$ac_ext <<_ACEOF
10372 /* end confdefs.h. */
10374 /* Override any GCC internal prototype to avoid an error.
10375 Use char because int might match the return type of a GCC
10376 builtin and then its argument prototype would still apply. */
10380 char XRRQueryExtension ();
10384 return XRRQueryExtension ();
10389 rm -f conftest.$ac_objext conftest$ac_exeext
10390 if { (ac_try="$ac_link"
10391 case "(($ac_try" in
10392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10393 *) ac_try_echo=$ac_try;;
10395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10396 (eval "$ac_link") 2>conftest.er1
10398 grep -v '^ *+' conftest.er1 >conftest.err
10400 cat conftest.err >&5
10401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402 (exit $ac_status); } && {
10403 test -z "$ac_c_werror_flag" ||
10404 test ! -s conftest.err
10405 } && test -s conftest$ac_exeext &&
10406 $as_test_x conftest$ac_exeext; then
10409 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'` ;;
10410 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10413 echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.$ac_ext >&5
10419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10420 conftest$ac_exeext conftest.$ac_ext
10421 LIBS=$ac_check_soname_save_LIBS
10423 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10424 { echo "$as_me:$LINENO: result: not found" >&5
10425 echo "${ECHO_T}not found" >&6; }
10428 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10429 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10431 cat >>confdefs.h <<_ACEOF
10432 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10439 echo "$as_me: failed program was:" >&5
10440 sed 's/^/| /' conftest.$ac_ext >&5
10445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10447 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10448 case "x$with_xrandr" in
10449 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10451 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10452 This is an error since --with-xrandr was requested." >&5
10453 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10454 This is an error since --with-xrandr was requested." >&2;}
10455 { (exit 1); exit 1; }; } ;;
10460 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10462 cat >conftest.$ac_ext <<_ACEOF
10465 cat confdefs.h >>conftest.$ac_ext
10466 cat >>conftest.$ac_ext <<_ACEOF
10467 /* end confdefs.h. */
10468 #include <X11/Xlib.h>
10469 #include <X11/extensions/Xinerama.h>
10473 static typeof(XineramaQueryScreens) * func;
10478 rm -f conftest.$ac_objext
10479 if { (ac_try="$ac_compile"
10480 case "(($ac_try" in
10481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10482 *) ac_try_echo=$ac_try;;
10484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10485 (eval "$ac_compile") 2>conftest.er1
10487 grep -v '^ *+' conftest.er1 >conftest.err
10489 cat conftest.err >&5
10490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); } && {
10492 test -z "$ac_c_werror_flag" ||
10493 test ! -s conftest.err
10494 } && test -s conftest.$ac_objext; then
10495 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10496 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10497 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10498 echo $ECHO_N "(cached) $ECHO_C" >&6
10500 ac_check_soname_save_LIBS=$LIBS
10501 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10502 cat >conftest.$ac_ext <<_ACEOF
10505 cat confdefs.h >>conftest.$ac_ext
10506 cat >>conftest.$ac_ext <<_ACEOF
10507 /* end confdefs.h. */
10509 /* Override any GCC internal prototype to avoid an error.
10510 Use char because int might match the return type of a GCC
10511 builtin and then its argument prototype would still apply. */
10515 char XineramaQueryScreens ();
10519 return XineramaQueryScreens ();
10524 rm -f conftest.$ac_objext conftest$ac_exeext
10525 if { (ac_try="$ac_link"
10526 case "(($ac_try" in
10527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10528 *) ac_try_echo=$ac_try;;
10530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10531 (eval "$ac_link") 2>conftest.er1
10533 grep -v '^ *+' conftest.er1 >conftest.err
10535 cat conftest.err >&5
10536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 (exit $ac_status); } && {
10538 test -z "$ac_c_werror_flag" ||
10539 test ! -s conftest.err
10540 } && test -s conftest$ac_exeext &&
10541 $as_test_x conftest$ac_exeext; then
10544 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'` ;;
10545 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10548 echo "$as_me: failed program was:" >&5
10549 sed 's/^/| /' conftest.$ac_ext >&5
10554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10555 conftest$ac_exeext conftest.$ac_ext
10556 LIBS=$ac_check_soname_save_LIBS
10558 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10559 { echo "$as_me:$LINENO: result: not found" >&5
10560 echo "${ECHO_T}not found" >&6; }
10563 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10564 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10566 cat >>confdefs.h <<_ACEOF
10567 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10574 echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.$ac_ext >&5
10580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10582 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10583 case "x$with_xinerama" in
10584 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10586 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10587 This is an error since --with-xinerama was requested." >&5
10588 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10589 This is an error since --with-xinerama was requested." >&2;}
10590 { (exit 1); exit 1; }; } ;;
10595 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10597 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10598 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10599 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10600 echo $ECHO_N "(cached) $ECHO_C" >&6
10602 ac_check_soname_save_LIBS=$LIBS
10603 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10604 cat >conftest.$ac_ext <<_ACEOF
10607 cat confdefs.h >>conftest.$ac_ext
10608 cat >>conftest.$ac_ext <<_ACEOF
10609 /* end confdefs.h. */
10611 /* Override any GCC internal prototype to avoid an error.
10612 Use char because int might match the return type of a GCC
10613 builtin and then its argument prototype would still apply. */
10617 char XCompositeRedirectWindow ();
10621 return XCompositeRedirectWindow ();
10626 rm -f conftest.$ac_objext conftest$ac_exeext
10627 if { (ac_try="$ac_link"
10628 case "(($ac_try" in
10629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10630 *) ac_try_echo=$ac_try;;
10632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10633 (eval "$ac_link") 2>conftest.er1
10635 grep -v '^ *+' conftest.er1 >conftest.err
10637 cat conftest.err >&5
10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); } && {
10640 test -z "$ac_c_werror_flag" ||
10641 test ! -s conftest.err
10642 } && test -s conftest$ac_exeext &&
10643 $as_test_x conftest$ac_exeext; then
10646 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'` ;;
10647 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10650 echo "$as_me: failed program was:" >&5
10651 sed 's/^/| /' conftest.$ac_ext >&5
10656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10657 conftest$ac_exeext conftest.$ac_ext
10658 LIBS=$ac_check_soname_save_LIBS
10660 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10661 { echo "$as_me:$LINENO: result: not found" >&5
10662 echo "${ECHO_T}not found" >&6; }
10665 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10666 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10668 cat >>confdefs.h <<_ACEOF
10669 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10676 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10677 case "x$with_xcomposite" in
10678 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10680 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10681 This is an error since --with-xcomposite was requested." >&5
10682 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10683 This is an error since --with-xcomposite was requested." >&2;}
10684 { (exit 1); exit 1; }; } ;;
10689 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10690 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10691 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10692 echo $ECHO_N "(cached) $ECHO_C" >&6
10694 cat >conftest.$ac_ext <<_ACEOF
10697 cat confdefs.h >>conftest.$ac_ext
10698 cat >>conftest.$ac_ext <<_ACEOF
10699 /* end confdefs.h. */
10700 #ifdef HAVE_X11_XLIB_H
10701 #include <X11/Xlib.h>
10707 static XICCallback ac_aggr;
10708 if (ac_aggr.callback)
10714 rm -f conftest.$ac_objext
10715 if { (ac_try="$ac_compile"
10716 case "(($ac_try" in
10717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10718 *) ac_try_echo=$ac_try;;
10720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10721 (eval "$ac_compile") 2>conftest.er1
10723 grep -v '^ *+' conftest.er1 >conftest.err
10725 cat conftest.err >&5
10726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727 (exit $ac_status); } && {
10728 test -z "$ac_c_werror_flag" ||
10729 test ! -s conftest.err
10730 } && test -s conftest.$ac_objext; then
10731 ac_cv_member_XICCallback_callback=yes
10733 echo "$as_me: failed program was:" >&5
10734 sed 's/^/| /' conftest.$ac_ext >&5
10736 cat >conftest.$ac_ext <<_ACEOF
10739 cat confdefs.h >>conftest.$ac_ext
10740 cat >>conftest.$ac_ext <<_ACEOF
10741 /* end confdefs.h. */
10742 #ifdef HAVE_X11_XLIB_H
10743 #include <X11/Xlib.h>
10749 static XICCallback ac_aggr;
10750 if (sizeof ac_aggr.callback)
10756 rm -f conftest.$ac_objext
10757 if { (ac_try="$ac_compile"
10758 case "(($ac_try" in
10759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10760 *) ac_try_echo=$ac_try;;
10762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10763 (eval "$ac_compile") 2>conftest.er1
10765 grep -v '^ *+' conftest.er1 >conftest.err
10767 cat conftest.err >&5
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); } && {
10770 test -z "$ac_c_werror_flag" ||
10771 test ! -s conftest.err
10772 } && test -s conftest.$ac_objext; then
10773 ac_cv_member_XICCallback_callback=yes
10775 echo "$as_me: failed program was:" >&5
10776 sed 's/^/| /' conftest.$ac_ext >&5
10778 ac_cv_member_XICCallback_callback=no
10781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10786 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10787 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10788 if test $ac_cv_member_XICCallback_callback = yes; then
10790 cat >>confdefs.h <<_ACEOF
10791 #define HAVE_XICCALLBACK_CALLBACK 1
10800 if test "x$with_opengl" != "xno"
10806 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10809 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10811 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10812 echo $ECHO_N "(cached) $ECHO_C" >&6
10814 cat >conftest.$ac_ext <<_ACEOF
10817 cat confdefs.h >>conftest.$ac_ext
10818 cat >>conftest.$ac_ext <<_ACEOF
10819 /* end confdefs.h. */
10820 #ifdef HAVE_GL_GLX_H
10821 # include <GL/glx.h>
10824 #include <$ac_header>
10826 rm -f conftest.$ac_objext
10827 if { (ac_try="$ac_compile"
10828 case "(($ac_try" in
10829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10830 *) ac_try_echo=$ac_try;;
10832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10833 (eval "$ac_compile") 2>conftest.er1
10835 grep -v '^ *+' conftest.er1 >conftest.err
10837 cat conftest.err >&5
10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); } && {
10840 test -z "$ac_c_werror_flag" ||
10841 test ! -s conftest.err
10842 } && test -s conftest.$ac_objext; then
10843 eval "$as_ac_Header=yes"
10845 echo "$as_me: failed program was:" >&5
10846 sed 's/^/| /' conftest.$ac_ext >&5
10848 eval "$as_ac_Header=no"
10851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10853 ac_res=`eval echo '${'$as_ac_Header'}'`
10854 { echo "$as_me:$LINENO: result: $ac_res" >&5
10855 echo "${ECHO_T}$ac_res" >&6; }
10856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10857 cat >>confdefs.h <<_ACEOF
10858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10865 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10867 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10868 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10869 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10870 echo $ECHO_N "(cached) $ECHO_C" >&6
10872 cat >conftest.$ac_ext <<_ACEOF
10875 cat confdefs.h >>conftest.$ac_ext
10876 cat >>conftest.$ac_ext <<_ACEOF
10877 /* end confdefs.h. */
10882 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10887 rm -f conftest.$ac_objext
10888 if { (ac_try="$ac_compile"
10889 case "(($ac_try" in
10890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10891 *) ac_try_echo=$ac_try;;
10893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10894 (eval "$ac_compile") 2>conftest.er1
10896 grep -v '^ *+' conftest.er1 >conftest.err
10898 cat conftest.err >&5
10899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 (exit $ac_status); } && {
10901 test -z "$ac_c_werror_flag" ||
10902 test ! -s conftest.err
10903 } && test -s conftest.$ac_objext; then
10904 wine_cv_opengl_header_version_OK="yes"
10906 echo "$as_me: failed program was:" >&5
10907 sed 's/^/| /' conftest.$ac_ext >&5
10909 wine_cv_opengl_header_version_OK="no"
10912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10914 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10915 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10917 if test "$wine_cv_opengl_header_version_OK" = "yes"
10919 { echo "$as_me:$LINENO: checking for -lGL" >&5
10920 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10921 if test "${ac_cv_lib_soname_GL+set}" = set; then
10922 echo $ECHO_N "(cached) $ECHO_C" >&6
10924 ac_check_soname_save_LIBS=$LIBS
10925 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10926 cat >conftest.$ac_ext <<_ACEOF
10929 cat confdefs.h >>conftest.$ac_ext
10930 cat >>conftest.$ac_ext <<_ACEOF
10931 /* end confdefs.h. */
10933 /* Override any GCC internal prototype to avoid an error.
10934 Use char because int might match the return type of a GCC
10935 builtin and then its argument prototype would still apply. */
10939 char glXCreateContext ();
10943 return glXCreateContext ();
10948 rm -f conftest.$ac_objext conftest$ac_exeext
10949 if { (ac_try="$ac_link"
10950 case "(($ac_try" in
10951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10952 *) ac_try_echo=$ac_try;;
10954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10955 (eval "$ac_link") 2>conftest.er1
10957 grep -v '^ *+' conftest.er1 >conftest.err
10959 cat conftest.err >&5
10960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961 (exit $ac_status); } && {
10962 test -z "$ac_c_werror_flag" ||
10963 test ! -s conftest.err
10964 } && test -s conftest$ac_exeext &&
10965 $as_test_x conftest$ac_exeext; then
10968 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'` ;;
10969 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10972 echo "$as_me: failed program was:" >&5
10973 sed 's/^/| /' conftest.$ac_ext >&5
10978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10979 conftest$ac_exeext conftest.$ac_ext
10980 LIBS=$ac_check_soname_save_LIBS
10982 if test "x$ac_cv_lib_soname_GL" = "x"; then
10983 { echo "$as_me:$LINENO: result: not found" >&5
10984 echo "${ECHO_T}not found" >&6; }
10985 { echo "$as_me:$LINENO: checking for -lGL" >&5
10986 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10987 if test "${ac_cv_lib_soname_GL+set}" = set; then
10988 echo $ECHO_N "(cached) $ECHO_C" >&6
10990 ac_check_soname_save_LIBS=$LIBS
10991 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"
10992 cat >conftest.$ac_ext <<_ACEOF
10995 cat confdefs.h >>conftest.$ac_ext
10996 cat >>conftest.$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
10999 /* Override any GCC internal prototype to avoid an error.
11000 Use char because int might match the return type of a GCC
11001 builtin and then its argument prototype would still apply. */
11005 char glXCreateContext ();
11009 return glXCreateContext ();
11014 rm -f conftest.$ac_objext conftest$ac_exeext
11015 if { (ac_try="$ac_link"
11016 case "(($ac_try" in
11017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11018 *) ac_try_echo=$ac_try;;
11020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11021 (eval "$ac_link") 2>conftest.er1
11023 grep -v '^ *+' conftest.er1 >conftest.err
11025 cat conftest.err >&5
11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027 (exit $ac_status); } && {
11028 test -z "$ac_c_werror_flag" ||
11029 test ! -s conftest.err
11030 } && test -s conftest$ac_exeext &&
11031 $as_test_x conftest$ac_exeext; then
11034 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'` ;;
11035 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11038 echo "$as_me: failed program was:" >&5
11039 sed 's/^/| /' conftest.$ac_ext >&5
11044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11045 conftest$ac_exeext conftest.$ac_ext
11046 LIBS=$ac_check_soname_save_LIBS
11048 if test "x$ac_cv_lib_soname_GL" = "x"; then
11049 { echo "$as_me:$LINENO: result: not found" >&5
11050 echo "${ECHO_T}not found" >&6; }
11051 if test -f /usr/X11R6/lib/libGL.a
11053 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11054 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11056 opengl_msg="No OpenGL library found on this system."
11059 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11060 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11062 cat >>confdefs.h <<_ACEOF
11063 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11066 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"
11067 OPENGLFILES='$(OPENGLFILES)'
11069 cat >>confdefs.h <<\_ACEOF
11070 #define HAVE_OPENGL 1
11076 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11077 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11079 cat >>confdefs.h <<_ACEOF
11080 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11084 OPENGLFILES='$(OPENGLFILES)'
11086 cat >>confdefs.h <<\_ACEOF
11087 #define HAVE_OPENGL 1
11093 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
11094 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
11095 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
11096 echo $ECHO_N "(cached) $ECHO_C" >&6
11098 ac_check_lib_save_LIBS=$LIBS
11099 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11100 cat >conftest.$ac_ext <<_ACEOF
11103 cat confdefs.h >>conftest.$ac_ext
11104 cat >>conftest.$ac_ext <<_ACEOF
11105 /* end confdefs.h. */
11107 /* Override any GCC internal prototype to avoid an error.
11108 Use char because int might match the return type of a GCC
11109 builtin and then its argument prototype would still apply. */
11117 return gluLookAt ();
11122 rm -f conftest.$ac_objext conftest$ac_exeext
11123 if { (ac_try="$ac_link"
11124 case "(($ac_try" in
11125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11126 *) ac_try_echo=$ac_try;;
11128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11129 (eval "$ac_link") 2>conftest.er1
11131 grep -v '^ *+' conftest.er1 >conftest.err
11133 cat conftest.err >&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); } && {
11136 test -z "$ac_c_werror_flag" ||
11137 test ! -s conftest.err
11138 } && test -s conftest$ac_exeext &&
11139 $as_test_x conftest$ac_exeext; then
11140 ac_cv_lib_GLU_gluLookAt=yes
11142 echo "$as_me: failed program was:" >&5
11143 sed 's/^/| /' conftest.$ac_ext >&5
11145 ac_cv_lib_GLU_gluLookAt=no
11148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11149 conftest$ac_exeext conftest.$ac_ext
11150 LIBS=$ac_check_lib_save_LIBS
11152 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
11153 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
11154 if test $ac_cv_lib_GLU_gluLookAt = yes; then
11155 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
11156 GLU32FILES='$(GLU32FILES)'
11161 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11164 opengl_msg="OpenGL development headers not found."
11167 if test -n "$opengl_msg"; then
11168 case "x$with_opengl" in
11169 x) wine_warnings="$wine_warnings|$opengl_msg
11170 OpenGL and Direct3D won't be supported." ;;
11172 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11173 OpenGL and Direct3D won't be supported.
11174 This is an error since --with-opengl was requested." >&5
11175 echo "$as_me: error: $opengl_msg
11176 OpenGL and Direct3D won't be supported.
11177 This is an error since --with-opengl was requested." >&2;}
11178 { (exit 1); exit 1; }; } ;;
11186 for ac_header in audio/audiolib.h
11188 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11189 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11190 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11192 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11193 echo $ECHO_N "(cached) $ECHO_C" >&6
11195 ac_res=`eval echo '${'$as_ac_Header'}'`
11196 { echo "$as_me:$LINENO: result: $ac_res" >&5
11197 echo "${ECHO_T}$ac_res" >&6; }
11199 # Is the header compilable?
11200 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11201 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11202 cat >conftest.$ac_ext <<_ACEOF
11205 cat confdefs.h >>conftest.$ac_ext
11206 cat >>conftest.$ac_ext <<_ACEOF
11207 /* end confdefs.h. */
11208 $ac_includes_default
11209 #include <$ac_header>
11211 rm -f conftest.$ac_objext
11212 if { (ac_try="$ac_compile"
11213 case "(($ac_try" in
11214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11215 *) ac_try_echo=$ac_try;;
11217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11218 (eval "$ac_compile") 2>conftest.er1
11220 grep -v '^ *+' conftest.er1 >conftest.err
11222 cat conftest.err >&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); } && {
11225 test -z "$ac_c_werror_flag" ||
11226 test ! -s conftest.err
11227 } && test -s conftest.$ac_objext; then
11228 ac_header_compiler=yes
11230 echo "$as_me: failed program was:" >&5
11231 sed 's/^/| /' conftest.$ac_ext >&5
11233 ac_header_compiler=no
11236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11237 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11238 echo "${ECHO_T}$ac_header_compiler" >&6; }
11240 # Is the header present?
11241 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11242 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11243 cat >conftest.$ac_ext <<_ACEOF
11246 cat confdefs.h >>conftest.$ac_ext
11247 cat >>conftest.$ac_ext <<_ACEOF
11248 /* end confdefs.h. */
11249 #include <$ac_header>
11251 if { (ac_try="$ac_cpp conftest.$ac_ext"
11252 case "(($ac_try" in
11253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11254 *) ac_try_echo=$ac_try;;
11256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11257 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11259 grep -v '^ *+' conftest.er1 >conftest.err
11261 cat conftest.err >&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); } >/dev/null && {
11264 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11265 test ! -s conftest.err
11267 ac_header_preproc=yes
11269 echo "$as_me: failed program was:" >&5
11270 sed 's/^/| /' conftest.$ac_ext >&5
11272 ac_header_preproc=no
11275 rm -f conftest.err conftest.$ac_ext
11276 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11277 echo "${ECHO_T}$ac_header_preproc" >&6; }
11279 # So? What about this header?
11280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11282 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11285 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11286 ac_header_preproc=yes
11289 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11291 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11292 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11293 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11294 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11295 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11296 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11299 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11300 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11302 ## ------------------------------------ ##
11303 ## Report this to wine-devel@winehq.org ##
11304 ## ------------------------------------ ##
11306 ) | sed "s/^/$as_me: WARNING: /" >&2
11309 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11311 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11312 echo $ECHO_N "(cached) $ECHO_C" >&6
11314 eval "$as_ac_Header=\$ac_header_preproc"
11316 ac_res=`eval echo '${'$as_ac_Header'}'`
11317 { echo "$as_me:$LINENO: result: $ac_res" >&5
11318 echo "${ECHO_T}$ac_res" >&6; }
11321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11322 cat >>confdefs.h <<_ACEOF
11323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11326 for ac_header in audio/soundlib.h
11328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11329 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11332 echo $ECHO_N "(cached) $ECHO_C" >&6
11334 cat >conftest.$ac_ext <<_ACEOF
11337 cat confdefs.h >>conftest.$ac_ext
11338 cat >>conftest.$ac_ext <<_ACEOF
11339 /* end confdefs.h. */
11340 #include <audio/audiolib.h>
11342 #include <$ac_header>
11344 rm -f conftest.$ac_objext
11345 if { (ac_try="$ac_compile"
11346 case "(($ac_try" in
11347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11348 *) ac_try_echo=$ac_try;;
11350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11351 (eval "$ac_compile") 2>conftest.er1
11353 grep -v '^ *+' conftest.er1 >conftest.err
11355 cat conftest.err >&5
11356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357 (exit $ac_status); } && {
11358 test -z "$ac_c_werror_flag" ||
11359 test ! -s conftest.err
11360 } && test -s conftest.$ac_objext; then
11361 eval "$as_ac_Header=yes"
11363 echo "$as_me: failed program was:" >&5
11364 sed 's/^/| /' conftest.$ac_ext >&5
11366 eval "$as_ac_Header=no"
11369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11371 ac_res=`eval echo '${'$as_ac_Header'}'`
11372 { echo "$as_me:$LINENO: result: $ac_res" >&5
11373 echo "${ECHO_T}$ac_res" >&6; }
11374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11375 cat >>confdefs.h <<_ACEOF
11376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11383 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11384 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11385 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11386 echo $ECHO_N "(cached) $ECHO_C" >&6
11388 ac_check_lib_save_LIBS=$LIBS
11389 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11390 cat >conftest.$ac_ext <<_ACEOF
11393 cat confdefs.h >>conftest.$ac_ext
11394 cat >>conftest.$ac_ext <<_ACEOF
11395 /* end confdefs.h. */
11397 /* Override any GCC internal prototype to avoid an error.
11398 Use char because int might match the return type of a GCC
11399 builtin and then its argument prototype would still apply. */
11403 char AuCreateFlow ();
11407 return AuCreateFlow ();
11412 rm -f conftest.$ac_objext conftest$ac_exeext
11413 if { (ac_try="$ac_link"
11414 case "(($ac_try" in
11415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11416 *) ac_try_echo=$ac_try;;
11418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11419 (eval "$ac_link") 2>conftest.er1
11421 grep -v '^ *+' conftest.er1 >conftest.err
11423 cat conftest.err >&5
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); } && {
11426 test -z "$ac_c_werror_flag" ||
11427 test ! -s conftest.err
11428 } && test -s conftest$ac_exeext &&
11429 $as_test_x conftest$ac_exeext; then
11430 ac_cv_lib_audio_AuCreateFlow=yes
11432 echo "$as_me: failed program was:" >&5
11433 sed 's/^/| /' conftest.$ac_ext >&5
11435 ac_cv_lib_audio_AuCreateFlow=no
11438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11439 conftest$ac_exeext conftest.$ac_ext
11440 LIBS=$ac_check_lib_save_LIBS
11442 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11443 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11444 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11446 cat >>confdefs.h <<\_ACEOF
11450 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11451 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11452 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11453 echo $ECHO_N "(cached) $ECHO_C" >&6
11455 ac_check_lib_save_LIBS=$LIBS
11456 LIBS="-lXau $X_LIBS $LIBS"
11457 cat >conftest.$ac_ext <<_ACEOF
11460 cat confdefs.h >>conftest.$ac_ext
11461 cat >>conftest.$ac_ext <<_ACEOF
11462 /* end confdefs.h. */
11464 /* Override any GCC internal prototype to avoid an error.
11465 Use char because int might match the return type of a GCC
11466 builtin and then its argument prototype would still apply. */
11470 char XauGetBestAuthByAddr ();
11474 return XauGetBestAuthByAddr ();
11479 rm -f conftest.$ac_objext conftest$ac_exeext
11480 if { (ac_try="$ac_link"
11481 case "(($ac_try" in
11482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11483 *) ac_try_echo=$ac_try;;
11485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11486 (eval "$ac_link") 2>conftest.er1
11488 grep -v '^ *+' conftest.er1 >conftest.err
11490 cat conftest.err >&5
11491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492 (exit $ac_status); } && {
11493 test -z "$ac_c_werror_flag" ||
11494 test ! -s conftest.err
11495 } && test -s conftest$ac_exeext &&
11496 $as_test_x conftest$ac_exeext; then
11497 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11499 echo "$as_me: failed program was:" >&5
11500 sed 's/^/| /' conftest.$ac_ext >&5
11502 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11506 conftest$ac_exeext conftest.$ac_ext
11507 LIBS=$ac_check_lib_save_LIBS
11509 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11510 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11511 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11512 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11514 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11525 CPPFLAGS="$ac_save_CPPFLAGS"
11532 if test "x$XLIB" = "x"; then
11534 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11535 without X support, which probably isn't what you want. You will need to install
11536 development packages of Xlib/Xfree86 at the very least." ;;
11538 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11539 without X support, which probably isn't what you want. You will need to install
11540 development packages of Xlib/Xfree86 at the very least.
11541 This is an error since --with-x was requested." >&5
11542 echo "$as_me: error: X development files not found. Wine will be built
11543 without X support, which probably isn't what you want. You will need to install
11544 development packages of Xlib/Xfree86 at the very least.
11545 This is an error since --with-x was requested." >&2;}
11546 { (exit 1); exit 1; }; } ;;
11560 if test "x$with_xml" != "xno"
11562 ac_save_CPPFLAGS="$CPPFLAGS"
11563 if test "$PKG_CONFIG" != "false"
11565 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11566 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11568 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11569 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11571 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11573 for ac_header in libxml/parser.h
11575 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11576 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11577 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11579 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11580 echo $ECHO_N "(cached) $ECHO_C" >&6
11582 ac_res=`eval echo '${'$as_ac_Header'}'`
11583 { echo "$as_me:$LINENO: result: $ac_res" >&5
11584 echo "${ECHO_T}$ac_res" >&6; }
11586 # Is the header compilable?
11587 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11588 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11589 cat >conftest.$ac_ext <<_ACEOF
11592 cat confdefs.h >>conftest.$ac_ext
11593 cat >>conftest.$ac_ext <<_ACEOF
11594 /* end confdefs.h. */
11595 $ac_includes_default
11596 #include <$ac_header>
11598 rm -f conftest.$ac_objext
11599 if { (ac_try="$ac_compile"
11600 case "(($ac_try" in
11601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11602 *) ac_try_echo=$ac_try;;
11604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11605 (eval "$ac_compile") 2>conftest.er1
11607 grep -v '^ *+' conftest.er1 >conftest.err
11609 cat conftest.err >&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); } && {
11612 test -z "$ac_c_werror_flag" ||
11613 test ! -s conftest.err
11614 } && test -s conftest.$ac_objext; then
11615 ac_header_compiler=yes
11617 echo "$as_me: failed program was:" >&5
11618 sed 's/^/| /' conftest.$ac_ext >&5
11620 ac_header_compiler=no
11623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11624 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11625 echo "${ECHO_T}$ac_header_compiler" >&6; }
11627 # Is the header present?
11628 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11629 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11630 cat >conftest.$ac_ext <<_ACEOF
11633 cat confdefs.h >>conftest.$ac_ext
11634 cat >>conftest.$ac_ext <<_ACEOF
11635 /* end confdefs.h. */
11636 #include <$ac_header>
11638 if { (ac_try="$ac_cpp conftest.$ac_ext"
11639 case "(($ac_try" in
11640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11641 *) ac_try_echo=$ac_try;;
11643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11644 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11646 grep -v '^ *+' conftest.er1 >conftest.err
11648 cat conftest.err >&5
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); } >/dev/null && {
11651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11652 test ! -s conftest.err
11654 ac_header_preproc=yes
11656 echo "$as_me: failed program was:" >&5
11657 sed 's/^/| /' conftest.$ac_ext >&5
11659 ac_header_preproc=no
11662 rm -f conftest.err conftest.$ac_ext
11663 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11664 echo "${ECHO_T}$ac_header_preproc" >&6; }
11666 # So? What about this header?
11667 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11669 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11670 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11672 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11673 ac_header_preproc=yes
11676 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11677 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11678 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11679 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11680 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11681 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11682 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11683 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11684 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11685 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11686 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11687 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11689 ## ------------------------------------ ##
11690 ## Report this to wine-devel@winehq.org ##
11691 ## ------------------------------------ ##
11693 ) | sed "s/^/$as_me: WARNING: /" >&2
11696 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11699 echo $ECHO_N "(cached) $ECHO_C" >&6
11701 eval "$as_ac_Header=\$ac_header_preproc"
11703 ac_res=`eval echo '${'$as_ac_Header'}'`
11704 { echo "$as_me:$LINENO: result: $ac_res" >&5
11705 echo "${ECHO_T}$ac_res" >&6; }
11708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11709 cat >>confdefs.h <<_ACEOF
11710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11712 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11713 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11714 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11715 echo $ECHO_N "(cached) $ECHO_C" >&6
11717 ac_check_lib_save_LIBS=$LIBS
11718 LIBS="-lxml2 $ac_xml_libs $LIBS"
11719 cat >conftest.$ac_ext <<_ACEOF
11722 cat confdefs.h >>conftest.$ac_ext
11723 cat >>conftest.$ac_ext <<_ACEOF
11724 /* end confdefs.h. */
11726 /* Override any GCC internal prototype to avoid an error.
11727 Use char because int might match the return type of a GCC
11728 builtin and then its argument prototype would still apply. */
11732 char xmlParseMemory ();
11736 return xmlParseMemory ();
11741 rm -f conftest.$ac_objext conftest$ac_exeext
11742 if { (ac_try="$ac_link"
11743 case "(($ac_try" in
11744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11745 *) ac_try_echo=$ac_try;;
11747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11748 (eval "$ac_link") 2>conftest.er1
11750 grep -v '^ *+' conftest.er1 >conftest.err
11752 cat conftest.err >&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); } && {
11755 test -z "$ac_c_werror_flag" ||
11756 test ! -s conftest.err
11757 } && test -s conftest$ac_exeext &&
11758 $as_test_x conftest$ac_exeext; then
11759 ac_cv_lib_xml2_xmlParseMemory=yes
11761 echo "$as_me: failed program was:" >&5
11762 sed 's/^/| /' conftest.$ac_ext >&5
11764 ac_cv_lib_xml2_xmlParseMemory=no
11767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11768 conftest$ac_exeext conftest.$ac_ext
11769 LIBS=$ac_check_lib_save_LIBS
11771 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11772 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11773 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11775 cat >>confdefs.h <<\_ACEOF
11776 #define HAVE_LIBXML2 1
11779 XML2LIBS="$ac_xml_libs"
11780 XML2INCL="$ac_xml_cflags"
11783 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11784 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11785 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11786 echo $ECHO_N "(cached) $ECHO_C" >&6
11788 ac_check_lib_save_LIBS=$LIBS
11789 LIBS="-lxml2 $ac_xml_libs $LIBS"
11790 cat >conftest.$ac_ext <<_ACEOF
11793 cat confdefs.h >>conftest.$ac_ext
11794 cat >>conftest.$ac_ext <<_ACEOF
11795 /* end confdefs.h. */
11797 /* Override any GCC internal prototype to avoid an error.
11798 Use char because int might match the return type of a GCC
11799 builtin and then its argument prototype would still apply. */
11803 char xmlReadMemory ();
11807 return xmlReadMemory ();
11812 rm -f conftest.$ac_objext conftest$ac_exeext
11813 if { (ac_try="$ac_link"
11814 case "(($ac_try" in
11815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11816 *) ac_try_echo=$ac_try;;
11818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11819 (eval "$ac_link") 2>conftest.er1
11821 grep -v '^ *+' conftest.er1 >conftest.err
11823 cat conftest.err >&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); } && {
11826 test -z "$ac_c_werror_flag" ||
11827 test ! -s conftest.err
11828 } && test -s conftest$ac_exeext &&
11829 $as_test_x conftest$ac_exeext; then
11830 ac_cv_lib_xml2_xmlReadMemory=yes
11832 echo "$as_me: failed program was:" >&5
11833 sed 's/^/| /' conftest.$ac_ext >&5
11835 ac_cv_lib_xml2_xmlReadMemory=no
11838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11839 conftest$ac_exeext conftest.$ac_ext
11840 LIBS=$ac_check_lib_save_LIBS
11842 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11843 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11844 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11846 cat >>confdefs.h <<\_ACEOF
11847 #define HAVE_XMLREADMEMORY 1
11852 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11853 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11854 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11855 echo $ECHO_N "(cached) $ECHO_C" >&6
11857 ac_check_lib_save_LIBS=$LIBS
11858 LIBS="-lxml2 $ac_xml_libs $LIBS"
11859 cat >conftest.$ac_ext <<_ACEOF
11862 cat confdefs.h >>conftest.$ac_ext
11863 cat >>conftest.$ac_ext <<_ACEOF
11864 /* end confdefs.h. */
11866 /* Override any GCC internal prototype to avoid an error.
11867 Use char because int might match the return type of a GCC
11868 builtin and then its argument prototype would still apply. */
11872 char xmlNewDocPI ();
11876 return xmlNewDocPI ();
11881 rm -f conftest.$ac_objext conftest$ac_exeext
11882 if { (ac_try="$ac_link"
11883 case "(($ac_try" in
11884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11885 *) ac_try_echo=$ac_try;;
11887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11888 (eval "$ac_link") 2>conftest.er1
11890 grep -v '^ *+' conftest.er1 >conftest.err
11892 cat conftest.err >&5
11893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894 (exit $ac_status); } && {
11895 test -z "$ac_c_werror_flag" ||
11896 test ! -s conftest.err
11897 } && test -s conftest$ac_exeext &&
11898 $as_test_x conftest$ac_exeext; then
11899 ac_cv_lib_xml2_xmlNewDocPI=yes
11901 echo "$as_me: failed program was:" >&5
11902 sed 's/^/| /' conftest.$ac_ext >&5
11904 ac_cv_lib_xml2_xmlNewDocPI=no
11907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11908 conftest$ac_exeext conftest.$ac_ext
11909 LIBS=$ac_check_lib_save_LIBS
11911 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11912 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11913 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11915 cat >>confdefs.h <<\_ACEOF
11916 #define HAVE_XMLNEWDOCPI 1
11926 CPPFLAGS="$ac_save_CPPFLAGS"
11928 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11929 case "x$with_xml" in
11930 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11932 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11933 This is an error since --with-xml was requested." >&5
11934 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11935 This is an error since --with-xml was requested." >&2;}
11936 { (exit 1); exit 1; }; } ;;
11941 if test "x$with_xslt" != "xno"
11943 if test "$PKG_CONFIG" != "false"
11945 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11946 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11948 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11949 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11951 ac_save_CPPFLAGS="$CPPFLAGS"
11952 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11955 for ac_header in libxslt/pattern.h libxslt/transform.h
11957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11958 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11961 echo $ECHO_N "(cached) $ECHO_C" >&6
11963 cat >conftest.$ac_ext <<_ACEOF
11966 cat confdefs.h >>conftest.$ac_ext
11967 cat >>conftest.$ac_ext <<_ACEOF
11968 /* end confdefs.h. */
11969 #ifdef HAVE_LIBXSLT_PATTERN_H
11970 # include <libxslt/pattern.h>
11973 #include <$ac_header>
11975 rm -f conftest.$ac_objext
11976 if { (ac_try="$ac_compile"
11977 case "(($ac_try" in
11978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11979 *) ac_try_echo=$ac_try;;
11981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11982 (eval "$ac_compile") 2>conftest.er1
11984 grep -v '^ *+' conftest.er1 >conftest.err
11986 cat conftest.err >&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); } && {
11989 test -z "$ac_c_werror_flag" ||
11990 test ! -s conftest.err
11991 } && test -s conftest.$ac_objext; then
11992 eval "$as_ac_Header=yes"
11994 echo "$as_me: failed program was:" >&5
11995 sed 's/^/| /' conftest.$ac_ext >&5
11997 eval "$as_ac_Header=no"
12000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12002 ac_res=`eval echo '${'$as_ac_Header'}'`
12003 { echo "$as_me:$LINENO: result: $ac_res" >&5
12004 echo "${ECHO_T}$ac_res" >&6; }
12005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12006 cat >>confdefs.h <<_ACEOF
12007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12014 CPPFLAGS="$ac_save_CPPFLAGS"
12015 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12017 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12018 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12019 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12020 echo $ECHO_N "(cached) $ECHO_C" >&6
12022 ac_check_lib_save_LIBS=$LIBS
12023 LIBS="-lxslt $ac_xslt_libs $LIBS"
12024 cat >conftest.$ac_ext <<_ACEOF
12027 cat confdefs.h >>conftest.$ac_ext
12028 cat >>conftest.$ac_ext <<_ACEOF
12029 /* end confdefs.h. */
12031 /* Override any GCC internal prototype to avoid an error.
12032 Use char because int might match the return type of a GCC
12033 builtin and then its argument prototype would still apply. */
12037 char xsltCompilePattern ();
12041 return xsltCompilePattern ();
12046 rm -f conftest.$ac_objext conftest$ac_exeext
12047 if { (ac_try="$ac_link"
12048 case "(($ac_try" in
12049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12050 *) ac_try_echo=$ac_try;;
12052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12053 (eval "$ac_link") 2>conftest.er1
12055 grep -v '^ *+' conftest.er1 >conftest.err
12057 cat conftest.err >&5
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); } && {
12060 test -z "$ac_c_werror_flag" ||
12061 test ! -s conftest.err
12062 } && test -s conftest$ac_exeext &&
12063 $as_test_x conftest$ac_exeext; then
12064 ac_cv_lib_xslt_xsltCompilePattern=yes
12066 echo "$as_me: failed program was:" >&5
12067 sed 's/^/| /' conftest.$ac_ext >&5
12069 ac_cv_lib_xslt_xsltCompilePattern=no
12072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12073 conftest$ac_exeext conftest.$ac_ext
12074 LIBS=$ac_check_lib_save_LIBS
12076 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12077 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12078 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12080 cat >>confdefs.h <<\_ACEOF
12081 #define HAVE_LIBXSLT 1
12084 XSLTLIBS="$ac_xslt_libs"
12085 XSLTINCL="$ac_xslt_cflags"
12086 ac_save_LIBS="$LIBS"
12087 LIBS="$LIBS $ac_xslt_libs"
12089 for ac_func in xsltInit
12091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12092 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12094 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12095 echo $ECHO_N "(cached) $ECHO_C" >&6
12097 cat >conftest.$ac_ext <<_ACEOF
12100 cat confdefs.h >>conftest.$ac_ext
12101 cat >>conftest.$ac_ext <<_ACEOF
12102 /* end confdefs.h. */
12103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12105 #define $ac_func innocuous_$ac_func
12107 /* System header to define __stub macros and hopefully few prototypes,
12108 which can conflict with char $ac_func (); below.
12109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12110 <limits.h> exists even on freestanding compilers. */
12113 # include <limits.h>
12115 # include <assert.h>
12120 /* Override any GCC internal prototype to avoid an error.
12121 Use char because int might match the return type of a GCC
12122 builtin and then its argument prototype would still apply. */
12127 /* The GNU C library defines this for functions which it implements
12128 to always fail with ENOSYS. Some functions are actually named
12129 something starting with __ and the normal name is an alias. */
12130 #if defined __stub_$ac_func || defined __stub___$ac_func
12137 return $ac_func ();
12142 rm -f conftest.$ac_objext conftest$ac_exeext
12143 if { (ac_try="$ac_link"
12144 case "(($ac_try" in
12145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12146 *) ac_try_echo=$ac_try;;
12148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12149 (eval "$ac_link") 2>conftest.er1
12151 grep -v '^ *+' conftest.er1 >conftest.err
12153 cat conftest.err >&5
12154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); } && {
12156 test -z "$ac_c_werror_flag" ||
12157 test ! -s conftest.err
12158 } && test -s conftest$ac_exeext &&
12159 $as_test_x conftest$ac_exeext; then
12160 eval "$as_ac_var=yes"
12162 echo "$as_me: failed program was:" >&5
12163 sed 's/^/| /' conftest.$ac_ext >&5
12165 eval "$as_ac_var=no"
12168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12169 conftest$ac_exeext conftest.$ac_ext
12171 ac_res=`eval echo '${'$as_ac_var'}'`
12172 { echo "$as_me:$LINENO: result: $ac_res" >&5
12173 echo "${ECHO_T}$ac_res" >&6; }
12174 if test `eval echo '${'$as_ac_var'}'` = yes; then
12175 cat >>confdefs.h <<_ACEOF
12176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12182 LIBS="$ac_save_LIBS"
12187 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12188 case "x$with_xslt" in
12189 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
12191 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12192 This is an error since --with-xslt was requested." >&5
12193 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12194 This is an error since --with-xslt was requested." >&2;}
12195 { (exit 1); exit 1; }; } ;;
12202 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12204 ac_save_CPPFLAGS="$CPPFLAGS"
12205 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12206 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12207 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12210 for ac_header in dbus/dbus.h hal/libhal.h
12212 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12213 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12214 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12216 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12217 echo $ECHO_N "(cached) $ECHO_C" >&6
12219 ac_res=`eval echo '${'$as_ac_Header'}'`
12220 { echo "$as_me:$LINENO: result: $ac_res" >&5
12221 echo "${ECHO_T}$ac_res" >&6; }
12223 # Is the header compilable?
12224 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12225 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12226 cat >conftest.$ac_ext <<_ACEOF
12229 cat confdefs.h >>conftest.$ac_ext
12230 cat >>conftest.$ac_ext <<_ACEOF
12231 /* end confdefs.h. */
12232 $ac_includes_default
12233 #include <$ac_header>
12235 rm -f conftest.$ac_objext
12236 if { (ac_try="$ac_compile"
12237 case "(($ac_try" in
12238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12239 *) ac_try_echo=$ac_try;;
12241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12242 (eval "$ac_compile") 2>conftest.er1
12244 grep -v '^ *+' conftest.er1 >conftest.err
12246 cat conftest.err >&5
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); } && {
12249 test -z "$ac_c_werror_flag" ||
12250 test ! -s conftest.err
12251 } && test -s conftest.$ac_objext; then
12252 ac_header_compiler=yes
12254 echo "$as_me: failed program was:" >&5
12255 sed 's/^/| /' conftest.$ac_ext >&5
12257 ac_header_compiler=no
12260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12261 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12262 echo "${ECHO_T}$ac_header_compiler" >&6; }
12264 # Is the header present?
12265 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12266 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12267 cat >conftest.$ac_ext <<_ACEOF
12270 cat confdefs.h >>conftest.$ac_ext
12271 cat >>conftest.$ac_ext <<_ACEOF
12272 /* end confdefs.h. */
12273 #include <$ac_header>
12275 if { (ac_try="$ac_cpp conftest.$ac_ext"
12276 case "(($ac_try" in
12277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12278 *) ac_try_echo=$ac_try;;
12280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12281 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12283 grep -v '^ *+' conftest.er1 >conftest.err
12285 cat conftest.err >&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); } >/dev/null && {
12288 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12289 test ! -s conftest.err
12291 ac_header_preproc=yes
12293 echo "$as_me: failed program was:" >&5
12294 sed 's/^/| /' conftest.$ac_ext >&5
12296 ac_header_preproc=no
12299 rm -f conftest.err conftest.$ac_ext
12300 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12301 echo "${ECHO_T}$ac_header_preproc" >&6; }
12303 # So? What about this header?
12304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12306 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12310 ac_header_preproc=yes
12313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12317 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12319 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12320 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12323 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12326 ## ------------------------------------ ##
12327 ## Report this to wine-devel@winehq.org ##
12328 ## ------------------------------------ ##
12330 ) | sed "s/^/$as_me: WARNING: /" >&2
12333 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12335 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12336 echo $ECHO_N "(cached) $ECHO_C" >&6
12338 eval "$as_ac_Header=\$ac_header_preproc"
12340 ac_res=`eval echo '${'$as_ac_Header'}'`
12341 { echo "$as_me:$LINENO: result: $ac_res" >&5
12342 echo "${ECHO_T}$ac_res" >&6; }
12345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12346 cat >>confdefs.h <<_ACEOF
12347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12354 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12356 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12357 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12358 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12359 echo $ECHO_N "(cached) $ECHO_C" >&6
12361 ac_check_lib_save_LIBS=$LIBS
12362 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12363 cat >conftest.$ac_ext <<_ACEOF
12366 cat confdefs.h >>conftest.$ac_ext
12367 cat >>conftest.$ac_ext <<_ACEOF
12368 /* end confdefs.h. */
12370 /* Override any GCC internal prototype to avoid an error.
12371 Use char because int might match the return type of a GCC
12372 builtin and then its argument prototype would still apply. */
12376 char dbus_connection_close ();
12380 return dbus_connection_close ();
12385 rm -f conftest.$ac_objext conftest$ac_exeext
12386 if { (ac_try="$ac_link"
12387 case "(($ac_try" in
12388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12389 *) ac_try_echo=$ac_try;;
12391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12392 (eval "$ac_link") 2>conftest.er1
12394 grep -v '^ *+' conftest.er1 >conftest.err
12396 cat conftest.err >&5
12397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12398 (exit $ac_status); } && {
12399 test -z "$ac_c_werror_flag" ||
12400 test ! -s conftest.err
12401 } && test -s conftest$ac_exeext &&
12402 $as_test_x conftest$ac_exeext; then
12403 ac_cv_lib_dbus_1_dbus_connection_close=yes
12405 echo "$as_me: failed program was:" >&5
12406 sed 's/^/| /' conftest.$ac_ext >&5
12408 ac_cv_lib_dbus_1_dbus_connection_close=no
12411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12412 conftest$ac_exeext conftest.$ac_ext
12413 LIBS=$ac_check_lib_save_LIBS
12415 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12416 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12417 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12418 { echo "$as_me:$LINENO: checking for -lhal" >&5
12419 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12420 if test "${ac_cv_lib_soname_hal+set}" = set; then
12421 echo $ECHO_N "(cached) $ECHO_C" >&6
12423 ac_check_soname_save_LIBS=$LIBS
12424 LIBS="-lhal $ac_hal_libs $LIBS"
12425 cat >conftest.$ac_ext <<_ACEOF
12428 cat confdefs.h >>conftest.$ac_ext
12429 cat >>conftest.$ac_ext <<_ACEOF
12430 /* end confdefs.h. */
12432 /* Override any GCC internal prototype to avoid an error.
12433 Use char because int might match the return type of a GCC
12434 builtin and then its argument prototype would still apply. */
12438 char libhal_ctx_new ();
12442 return libhal_ctx_new ();
12447 rm -f conftest.$ac_objext conftest$ac_exeext
12448 if { (ac_try="$ac_link"
12449 case "(($ac_try" in
12450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12451 *) ac_try_echo=$ac_try;;
12453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12454 (eval "$ac_link") 2>conftest.er1
12456 grep -v '^ *+' conftest.er1 >conftest.err
12458 cat conftest.err >&5
12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460 (exit $ac_status); } && {
12461 test -z "$ac_c_werror_flag" ||
12462 test ! -s conftest.err
12463 } && test -s conftest$ac_exeext &&
12464 $as_test_x conftest$ac_exeext; then
12467 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'` ;;
12468 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12471 echo "$as_me: failed program was:" >&5
12472 sed 's/^/| /' conftest.$ac_ext >&5
12477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12478 conftest$ac_exeext conftest.$ac_ext
12479 LIBS=$ac_check_soname_save_LIBS
12481 if test "x$ac_cv_lib_soname_hal" = "x"; then
12482 { echo "$as_me:$LINENO: result: not found" >&5
12483 echo "${ECHO_T}not found" >&6; }
12486 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12487 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12489 cat >>confdefs.h <<_ACEOF
12490 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12493 HALINCL="$ac_hal_cflags"
12499 CPPFLAGS="$ac_save_CPPFLAGS"
12501 if test "x$ac_cv_lib_soname_hal" = "x"; then
12502 case "x$with_hal" in
12503 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12505 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12506 This is an error since --with-hal was requested." >&5
12507 echo "$as_me: error: libhal development files not found, no dynamic device support.
12508 This is an error since --with-hal was requested." >&2;}
12509 { (exit 1); exit 1; }; } ;;
12515 if test "$ac_cv_header_ncurses_h" = "yes"
12517 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12518 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12519 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12520 echo $ECHO_N "(cached) $ECHO_C" >&6
12522 ac_check_soname_save_LIBS=$LIBS
12523 LIBS="-lncurses $LIBS"
12524 cat >conftest.$ac_ext <<_ACEOF
12527 cat confdefs.h >>conftest.$ac_ext
12528 cat >>conftest.$ac_ext <<_ACEOF
12529 /* end confdefs.h. */
12531 /* Override any GCC internal prototype to avoid an error.
12532 Use char because int might match the return type of a GCC
12533 builtin and then its argument prototype would still apply. */
12546 rm -f conftest.$ac_objext conftest$ac_exeext
12547 if { (ac_try="$ac_link"
12548 case "(($ac_try" in
12549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12550 *) ac_try_echo=$ac_try;;
12552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12553 (eval "$ac_link") 2>conftest.er1
12555 grep -v '^ *+' conftest.er1 >conftest.err
12557 cat conftest.err >&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); } && {
12560 test -z "$ac_c_werror_flag" ||
12561 test ! -s conftest.err
12562 } && test -s conftest$ac_exeext &&
12563 $as_test_x conftest$ac_exeext; then
12566 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'` ;;
12567 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12570 echo "$as_me: failed program was:" >&5
12571 sed 's/^/| /' conftest.$ac_ext >&5
12576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12577 conftest$ac_exeext conftest.$ac_ext
12578 LIBS=$ac_check_soname_save_LIBS
12580 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12581 { echo "$as_me:$LINENO: result: not found" >&5
12582 echo "${ECHO_T}not found" >&6; }
12585 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12586 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12588 cat >>confdefs.h <<_ACEOF
12589 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12592 CURSESLIBS="-lncurses"
12595 elif test "$ac_cv_header_curses_h" = "yes"
12597 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12598 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12599 if test "${ac_cv_lib_soname_curses+set}" = set; then
12600 echo $ECHO_N "(cached) $ECHO_C" >&6
12602 ac_check_soname_save_LIBS=$LIBS
12603 LIBS="-lcurses $LIBS"
12604 cat >conftest.$ac_ext <<_ACEOF
12607 cat confdefs.h >>conftest.$ac_ext
12608 cat >>conftest.$ac_ext <<_ACEOF
12609 /* end confdefs.h. */
12611 /* Override any GCC internal prototype to avoid an error.
12612 Use char because int might match the return type of a GCC
12613 builtin and then its argument prototype would still apply. */
12626 rm -f conftest.$ac_objext conftest$ac_exeext
12627 if { (ac_try="$ac_link"
12628 case "(($ac_try" in
12629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12630 *) ac_try_echo=$ac_try;;
12632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12633 (eval "$ac_link") 2>conftest.er1
12635 grep -v '^ *+' conftest.er1 >conftest.err
12637 cat conftest.err >&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); } && {
12640 test -z "$ac_c_werror_flag" ||
12641 test ! -s conftest.err
12642 } && test -s conftest$ac_exeext &&
12643 $as_test_x conftest$ac_exeext; then
12646 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'` ;;
12647 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12650 echo "$as_me: failed program was:" >&5
12651 sed 's/^/| /' conftest.$ac_ext >&5
12656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12657 conftest$ac_exeext conftest.$ac_ext
12658 LIBS=$ac_check_soname_save_LIBS
12660 if test "x$ac_cv_lib_soname_curses" = "x"; then
12661 { echo "$as_me:$LINENO: result: not found" >&5
12662 echo "${ECHO_T}not found" >&6; }
12665 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12666 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12668 cat >>confdefs.h <<_ACEOF
12669 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12672 CURSESLIBS="-lcurses"
12676 ac_save_LIBS="$LIBS"
12677 LIBS="$LIBS $CURSESLIBS"
12679 for ac_func in mousemask
12681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12682 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12684 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12685 echo $ECHO_N "(cached) $ECHO_C" >&6
12687 cat >conftest.$ac_ext <<_ACEOF
12690 cat confdefs.h >>conftest.$ac_ext
12691 cat >>conftest.$ac_ext <<_ACEOF
12692 /* end confdefs.h. */
12693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12695 #define $ac_func innocuous_$ac_func
12697 /* System header to define __stub macros and hopefully few prototypes,
12698 which can conflict with char $ac_func (); below.
12699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12700 <limits.h> exists even on freestanding compilers. */
12703 # include <limits.h>
12705 # include <assert.h>
12710 /* Override any GCC internal prototype to avoid an error.
12711 Use char because int might match the return type of a GCC
12712 builtin and then its argument prototype would still apply. */
12717 /* The GNU C library defines this for functions which it implements
12718 to always fail with ENOSYS. Some functions are actually named
12719 something starting with __ and the normal name is an alias. */
12720 #if defined __stub_$ac_func || defined __stub___$ac_func
12727 return $ac_func ();
12732 rm -f conftest.$ac_objext conftest$ac_exeext
12733 if { (ac_try="$ac_link"
12734 case "(($ac_try" in
12735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12736 *) ac_try_echo=$ac_try;;
12738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12739 (eval "$ac_link") 2>conftest.er1
12741 grep -v '^ *+' conftest.er1 >conftest.err
12743 cat conftest.err >&5
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); } && {
12746 test -z "$ac_c_werror_flag" ||
12747 test ! -s conftest.err
12748 } && test -s conftest$ac_exeext &&
12749 $as_test_x conftest$ac_exeext; then
12750 eval "$as_ac_var=yes"
12752 echo "$as_me: failed program was:" >&5
12753 sed 's/^/| /' conftest.$ac_ext >&5
12755 eval "$as_ac_var=no"
12758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12759 conftest$ac_exeext conftest.$ac_ext
12761 ac_res=`eval echo '${'$as_ac_var'}'`
12762 { echo "$as_me:$LINENO: result: $ac_res" >&5
12763 echo "${ECHO_T}$ac_res" >&6; }
12764 if test `eval echo '${'$as_ac_var'}'` = yes; then
12765 cat >>confdefs.h <<_ACEOF
12766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12772 LIBS="$ac_save_LIBS"
12773 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12774 case "x$with_curses" in
12775 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12777 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12778 This is an error since --with-curses was requested." >&5
12779 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12780 This is an error since --with-curses was requested." >&2;}
12781 { (exit 1); exit 1; }; } ;;
12786 # Extract the first word of "sane-config", so it can be a program name with args.
12787 set dummy sane-config; ac_word=$2
12788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12790 if test "${ac_cv_prog_sane_devel+set}" = set; then
12791 echo $ECHO_N "(cached) $ECHO_C" >&6
12793 if test -n "$sane_devel"; then
12794 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12797 for as_dir in $PATH
12800 test -z "$as_dir" && as_dir=.
12801 for ac_exec_ext in '' $ac_executable_extensions; do
12802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12803 ac_cv_prog_sane_devel="sane-config"
12804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12811 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12814 sane_devel=$ac_cv_prog_sane_devel
12815 if test -n "$sane_devel"; then
12816 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12817 echo "${ECHO_T}$sane_devel" >&6; }
12819 { echo "$as_me:$LINENO: result: no" >&5
12820 echo "${ECHO_T}no" >&6; }
12824 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12826 ac_sane_incl="`$sane_devel --cflags`"
12827 ac_save_CPPFLAGS="$CPPFLAGS"
12828 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12829 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12830 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12831 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12832 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12833 echo $ECHO_N "(cached) $ECHO_C" >&6
12835 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12836 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12838 # Is the header compilable?
12839 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12840 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12841 cat >conftest.$ac_ext <<_ACEOF
12844 cat confdefs.h >>conftest.$ac_ext
12845 cat >>conftest.$ac_ext <<_ACEOF
12846 /* end confdefs.h. */
12847 $ac_includes_default
12848 #include <sane/sane.h>
12850 rm -f conftest.$ac_objext
12851 if { (ac_try="$ac_compile"
12852 case "(($ac_try" in
12853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12854 *) ac_try_echo=$ac_try;;
12856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12857 (eval "$ac_compile") 2>conftest.er1
12859 grep -v '^ *+' conftest.er1 >conftest.err
12861 cat conftest.err >&5
12862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); } && {
12864 test -z "$ac_c_werror_flag" ||
12865 test ! -s conftest.err
12866 } && test -s conftest.$ac_objext; then
12867 ac_header_compiler=yes
12869 echo "$as_me: failed program was:" >&5
12870 sed 's/^/| /' conftest.$ac_ext >&5
12872 ac_header_compiler=no
12875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12876 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12877 echo "${ECHO_T}$ac_header_compiler" >&6; }
12879 # Is the header present?
12880 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12881 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12882 cat >conftest.$ac_ext <<_ACEOF
12885 cat confdefs.h >>conftest.$ac_ext
12886 cat >>conftest.$ac_ext <<_ACEOF
12887 /* end confdefs.h. */
12888 #include <sane/sane.h>
12890 if { (ac_try="$ac_cpp conftest.$ac_ext"
12891 case "(($ac_try" in
12892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12893 *) ac_try_echo=$ac_try;;
12895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12896 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12898 grep -v '^ *+' conftest.er1 >conftest.err
12900 cat conftest.err >&5
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); } >/dev/null && {
12903 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12904 test ! -s conftest.err
12906 ac_header_preproc=yes
12908 echo "$as_me: failed program was:" >&5
12909 sed 's/^/| /' conftest.$ac_ext >&5
12911 ac_header_preproc=no
12914 rm -f conftest.err conftest.$ac_ext
12915 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12916 echo "${ECHO_T}$ac_header_preproc" >&6; }
12918 # So? What about this header?
12919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12921 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12922 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12923 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12924 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12925 ac_header_preproc=yes
12928 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12929 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12930 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12931 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12932 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12933 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12934 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12935 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12936 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12937 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12938 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12939 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12941 ## ------------------------------------ ##
12942 ## Report this to wine-devel@winehq.org ##
12943 ## ------------------------------------ ##
12945 ) | sed "s/^/$as_me: WARNING: /" >&2
12948 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12949 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12950 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12951 echo $ECHO_N "(cached) $ECHO_C" >&6
12953 ac_cv_header_sane_sane_h=$ac_header_preproc
12955 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12956 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12959 if test $ac_cv_header_sane_sane_h = yes; then
12960 { echo "$as_me:$LINENO: checking for -lsane" >&5
12961 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12962 if test "${ac_cv_lib_soname_sane+set}" = set; then
12963 echo $ECHO_N "(cached) $ECHO_C" >&6
12965 ac_check_soname_save_LIBS=$LIBS
12966 LIBS="-lsane $LIBS"
12967 cat >conftest.$ac_ext <<_ACEOF
12970 cat confdefs.h >>conftest.$ac_ext
12971 cat >>conftest.$ac_ext <<_ACEOF
12972 /* end confdefs.h. */
12974 /* Override any GCC internal prototype to avoid an error.
12975 Use char because int might match the return type of a GCC
12976 builtin and then its argument prototype would still apply. */
12984 return sane_init ();
12989 rm -f conftest.$ac_objext conftest$ac_exeext
12990 if { (ac_try="$ac_link"
12991 case "(($ac_try" in
12992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12993 *) ac_try_echo=$ac_try;;
12995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12996 (eval "$ac_link") 2>conftest.er1
12998 grep -v '^ *+' conftest.er1 >conftest.err
13000 cat conftest.err >&5
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); } && {
13003 test -z "$ac_c_werror_flag" ||
13004 test ! -s conftest.err
13005 } && test -s conftest$ac_exeext &&
13006 $as_test_x conftest$ac_exeext; then
13009 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'` ;;
13010 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13013 echo "$as_me: failed program was:" >&5
13014 sed 's/^/| /' conftest.$ac_ext >&5
13019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13020 conftest$ac_exeext conftest.$ac_ext
13021 LIBS=$ac_check_soname_save_LIBS
13023 if test "x$ac_cv_lib_soname_sane" = "x"; then
13024 { echo "$as_me:$LINENO: result: not found" >&5
13025 echo "${ECHO_T}not found" >&6; }
13028 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13029 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13031 cat >>confdefs.h <<_ACEOF
13032 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13035 SANEINCL="$ac_sane_incl"
13042 CPPFLAGS="$ac_save_CPPFLAGS"
13044 if test "x$ac_cv_lib_soname_sane" = "x"; then
13045 case "x$with_sane" in
13046 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13048 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13049 This is an error since --with-sane was requested." >&5
13050 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13051 This is an error since --with-sane was requested." >&2;}
13052 { (exit 1); exit 1; }; } ;;
13057 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13058 set dummy gphoto2-config; ac_word=$2
13059 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13061 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13062 echo $ECHO_N "(cached) $ECHO_C" >&6
13064 if test -n "$gphoto2_devel"; then
13065 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13068 for as_dir in $PATH
13071 test -z "$as_dir" && as_dir=.
13072 for ac_exec_ext in '' $ac_executable_extensions; do
13073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13074 ac_cv_prog_gphoto2_devel="gphoto2-config"
13075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13082 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13085 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13086 if test -n "$gphoto2_devel"; then
13087 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13088 echo "${ECHO_T}$gphoto2_devel" >&6; }
13090 { echo "$as_me:$LINENO: result: no" >&5
13091 echo "${ECHO_T}no" >&6; }
13095 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13096 set dummy gphoto2-port-config; ac_word=$2
13097 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13099 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13100 echo $ECHO_N "(cached) $ECHO_C" >&6
13102 if test -n "$gphoto2port_devel"; then
13103 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13106 for as_dir in $PATH
13109 test -z "$as_dir" && as_dir=.
13110 for ac_exec_ext in '' $ac_executable_extensions; do
13111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13112 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13120 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13123 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13124 if test -n "$gphoto2port_devel"; then
13125 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13126 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13128 { echo "$as_me:$LINENO: result: no" >&5
13129 echo "${ECHO_T}no" >&6; }
13133 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13135 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13137 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13140 -L/usr/lib|-L/usr/lib64) ;;
13141 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13144 ac_save_CPPFLAGS="$CPPFLAGS"
13145 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13146 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13147 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13148 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13149 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13150 echo $ECHO_N "(cached) $ECHO_C" >&6
13152 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13153 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13155 # Is the header compilable?
13156 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13157 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13158 cat >conftest.$ac_ext <<_ACEOF
13161 cat confdefs.h >>conftest.$ac_ext
13162 cat >>conftest.$ac_ext <<_ACEOF
13163 /* end confdefs.h. */
13164 $ac_includes_default
13165 #include <gphoto2-camera.h>
13167 rm -f conftest.$ac_objext
13168 if { (ac_try="$ac_compile"
13169 case "(($ac_try" in
13170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13171 *) ac_try_echo=$ac_try;;
13173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13174 (eval "$ac_compile") 2>conftest.er1
13176 grep -v '^ *+' conftest.er1 >conftest.err
13178 cat conftest.err >&5
13179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180 (exit $ac_status); } && {
13181 test -z "$ac_c_werror_flag" ||
13182 test ! -s conftest.err
13183 } && test -s conftest.$ac_objext; then
13184 ac_header_compiler=yes
13186 echo "$as_me: failed program was:" >&5
13187 sed 's/^/| /' conftest.$ac_ext >&5
13189 ac_header_compiler=no
13192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13193 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13194 echo "${ECHO_T}$ac_header_compiler" >&6; }
13196 # Is the header present?
13197 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13198 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13199 cat >conftest.$ac_ext <<_ACEOF
13202 cat confdefs.h >>conftest.$ac_ext
13203 cat >>conftest.$ac_ext <<_ACEOF
13204 /* end confdefs.h. */
13205 #include <gphoto2-camera.h>
13207 if { (ac_try="$ac_cpp conftest.$ac_ext"
13208 case "(($ac_try" in
13209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13210 *) ac_try_echo=$ac_try;;
13212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13213 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13215 grep -v '^ *+' conftest.er1 >conftest.err
13217 cat conftest.err >&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); } >/dev/null && {
13220 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13221 test ! -s conftest.err
13223 ac_header_preproc=yes
13225 echo "$as_me: failed program was:" >&5
13226 sed 's/^/| /' conftest.$ac_ext >&5
13228 ac_header_preproc=no
13231 rm -f conftest.err conftest.$ac_ext
13232 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13233 echo "${ECHO_T}$ac_header_preproc" >&6; }
13235 # So? What about this header?
13236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13238 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13239 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13240 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13241 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13242 ac_header_preproc=yes
13245 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13246 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13247 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13248 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13249 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13250 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13251 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13252 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13253 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13254 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13255 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13256 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13258 ## ------------------------------------ ##
13259 ## Report this to wine-devel@winehq.org ##
13260 ## ------------------------------------ ##
13262 ) | sed "s/^/$as_me: WARNING: /" >&2
13265 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13266 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13267 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13268 echo $ECHO_N "(cached) $ECHO_C" >&6
13270 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13272 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13273 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13276 if test $ac_cv_header_gphoto2_camera_h = yes; then
13277 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13278 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13279 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13282 ac_check_lib_save_LIBS=$LIBS
13283 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13284 cat >conftest.$ac_ext <<_ACEOF
13287 cat confdefs.h >>conftest.$ac_ext
13288 cat >>conftest.$ac_ext <<_ACEOF
13289 /* end confdefs.h. */
13291 /* Override any GCC internal prototype to avoid an error.
13292 Use char because int might match the return type of a GCC
13293 builtin and then its argument prototype would still apply. */
13297 char gp_camera_new ();
13301 return gp_camera_new ();
13306 rm -f conftest.$ac_objext conftest$ac_exeext
13307 if { (ac_try="$ac_link"
13308 case "(($ac_try" in
13309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13310 *) ac_try_echo=$ac_try;;
13312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13313 (eval "$ac_link") 2>conftest.er1
13315 grep -v '^ *+' conftest.er1 >conftest.err
13317 cat conftest.err >&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); } && {
13320 test -z "$ac_c_werror_flag" ||
13321 test ! -s conftest.err
13322 } && test -s conftest$ac_exeext &&
13323 $as_test_x conftest$ac_exeext; then
13324 ac_cv_lib_gphoto2_gp_camera_new=yes
13326 echo "$as_me: failed program was:" >&5
13327 sed 's/^/| /' conftest.$ac_ext >&5
13329 ac_cv_lib_gphoto2_gp_camera_new=no
13332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13333 conftest$ac_exeext conftest.$ac_ext
13334 LIBS=$ac_check_lib_save_LIBS
13336 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13337 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13338 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13340 cat >>confdefs.h <<\_ACEOF
13341 #define HAVE_GPHOTO2 1
13344 GPHOTO2LIBS="$ac_gphoto2_libs"
13346 GPHOTO2INCL="$ac_gphoto2_incl"
13353 CPPFLAGS="$ac_save_CPPFLAGS"
13355 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13356 case "x$with_gphoto" in
13357 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13359 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13360 This is an error since --with-gphoto was requested." >&5
13361 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13362 This is an error since --with-gphoto was requested." >&2;}
13363 { (exit 1); exit 1; }; } ;;
13371 if test "$ac_cv_header_resolv_h" = "yes"
13373 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13374 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13375 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13378 ac_check_lib_save_LIBS=$LIBS
13379 LIBS="-lresolv $LIBS"
13380 cat >conftest.$ac_ext <<_ACEOF
13383 cat confdefs.h >>conftest.$ac_ext
13384 cat >>conftest.$ac_ext <<_ACEOF
13385 /* end confdefs.h. */
13387 /* Override any GCC internal prototype to avoid an error.
13388 Use char because int might match the return type of a GCC
13389 builtin and then its argument prototype would still apply. */
13397 return res_query ();
13402 rm -f conftest.$ac_objext conftest$ac_exeext
13403 if { (ac_try="$ac_link"
13404 case "(($ac_try" in
13405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13406 *) ac_try_echo=$ac_try;;
13408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13409 (eval "$ac_link") 2>conftest.er1
13411 grep -v '^ *+' conftest.er1 >conftest.err
13413 cat conftest.err >&5
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); } && {
13416 test -z "$ac_c_werror_flag" ||
13417 test ! -s conftest.err
13418 } && test -s conftest$ac_exeext &&
13419 $as_test_x conftest$ac_exeext; then
13420 ac_cv_lib_resolv_res_query=yes
13422 echo "$as_me: failed program was:" >&5
13423 sed 's/^/| /' conftest.$ac_ext >&5
13425 ac_cv_lib_resolv_res_query=no
13428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13429 conftest$ac_exeext conftest.$ac_ext
13430 LIBS=$ac_check_lib_save_LIBS
13432 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13433 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13434 if test $ac_cv_lib_resolv_res_query = yes; then
13436 cat >>confdefs.h <<\_ACEOF
13437 #define HAVE_RESOLV 1
13440 RESOLVLIBS="-lresolv"
13447 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13449 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13450 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13451 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13452 echo $ECHO_N "(cached) $ECHO_C" >&6
13454 ac_check_lib_save_LIBS=$LIBS
13455 LIBS="-llcms $LIBS"
13456 cat >conftest.$ac_ext <<_ACEOF
13459 cat confdefs.h >>conftest.$ac_ext
13460 cat >>conftest.$ac_ext <<_ACEOF
13461 /* end confdefs.h. */
13463 /* Override any GCC internal prototype to avoid an error.
13464 Use char because int might match the return type of a GCC
13465 builtin and then its argument prototype would still apply. */
13469 char cmsOpenProfileFromFile ();
13473 return cmsOpenProfileFromFile ();
13478 rm -f conftest.$ac_objext conftest$ac_exeext
13479 if { (ac_try="$ac_link"
13480 case "(($ac_try" in
13481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13482 *) ac_try_echo=$ac_try;;
13484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13485 (eval "$ac_link") 2>conftest.er1
13487 grep -v '^ *+' conftest.er1 >conftest.err
13489 cat conftest.err >&5
13490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491 (exit $ac_status); } && {
13492 test -z "$ac_c_werror_flag" ||
13493 test ! -s conftest.err
13494 } && test -s conftest$ac_exeext &&
13495 $as_test_x conftest$ac_exeext; then
13496 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13498 echo "$as_me: failed program was:" >&5
13499 sed 's/^/| /' conftest.$ac_ext >&5
13501 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13505 conftest$ac_exeext conftest.$ac_ext
13506 LIBS=$ac_check_lib_save_LIBS
13508 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13509 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13510 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13512 cat >>confdefs.h <<\_ACEOF
13513 #define HAVE_LCMS 1
13520 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13521 case "x$with_cms" in
13522 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13524 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13525 This is an error since --with-cms was requested." >&5
13526 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13527 This is an error since --with-cms was requested." >&2;}
13528 { (exit 1); exit 1; }; } ;;
13535 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13537 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13538 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13539 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13540 echo $ECHO_N "(cached) $ECHO_C" >&6
13542 ac_check_lib_save_LIBS=$LIBS
13543 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13544 cat >conftest.$ac_ext <<_ACEOF
13547 cat confdefs.h >>conftest.$ac_ext
13548 cat >>conftest.$ac_ext <<_ACEOF
13549 /* end confdefs.h. */
13551 /* Override any GCC internal prototype to avoid an error.
13552 Use char because int might match the return type of a GCC
13553 builtin and then its argument prototype would still apply. */
13557 char ldap_initialize ();
13561 return ldap_initialize ();
13566 rm -f conftest.$ac_objext conftest$ac_exeext
13567 if { (ac_try="$ac_link"
13568 case "(($ac_try" in
13569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13570 *) ac_try_echo=$ac_try;;
13572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13573 (eval "$ac_link") 2>conftest.er1
13575 grep -v '^ *+' conftest.er1 >conftest.err
13577 cat conftest.err >&5
13578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579 (exit $ac_status); } && {
13580 test -z "$ac_c_werror_flag" ||
13581 test ! -s conftest.err
13582 } && test -s conftest$ac_exeext &&
13583 $as_test_x conftest$ac_exeext; then
13584 ac_cv_lib_ldap_r_ldap_initialize=yes
13586 echo "$as_me: failed program was:" >&5
13587 sed 's/^/| /' conftest.$ac_ext >&5
13589 ac_cv_lib_ldap_r_ldap_initialize=no
13592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13593 conftest$ac_exeext conftest.$ac_ext
13594 LIBS=$ac_check_lib_save_LIBS
13596 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13597 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13598 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13599 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13600 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13601 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13602 echo $ECHO_N "(cached) $ECHO_C" >&6
13604 ac_check_lib_save_LIBS=$LIBS
13605 LIBS="-llber $LIBPTHREAD $LIBS"
13606 cat >conftest.$ac_ext <<_ACEOF
13609 cat confdefs.h >>conftest.$ac_ext
13610 cat >>conftest.$ac_ext <<_ACEOF
13611 /* end confdefs.h. */
13613 /* Override any GCC internal prototype to avoid an error.
13614 Use char because int might match the return type of a GCC
13615 builtin and then its argument prototype would still apply. */
13623 return ber_init ();
13628 rm -f conftest.$ac_objext conftest$ac_exeext
13629 if { (ac_try="$ac_link"
13630 case "(($ac_try" in
13631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13632 *) ac_try_echo=$ac_try;;
13634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13635 (eval "$ac_link") 2>conftest.er1
13637 grep -v '^ *+' conftest.er1 >conftest.err
13639 cat conftest.err >&5
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); } && {
13642 test -z "$ac_c_werror_flag" ||
13643 test ! -s conftest.err
13644 } && test -s conftest$ac_exeext &&
13645 $as_test_x conftest$ac_exeext; then
13646 ac_cv_lib_lber_ber_init=yes
13648 echo "$as_me: failed program was:" >&5
13649 sed 's/^/| /' conftest.$ac_ext >&5
13651 ac_cv_lib_lber_ber_init=no
13654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13655 conftest$ac_exeext conftest.$ac_ext
13656 LIBS=$ac_check_lib_save_LIBS
13658 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13659 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13660 if test $ac_cv_lib_lber_ber_init = yes; then
13662 cat >>confdefs.h <<\_ACEOF
13663 #define HAVE_LDAP 1
13666 LDAPLIBS="-lldap_r -llber"
13671 ac_wine_check_funcs_save_LIBS="$LIBS"
13672 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13682 ldap_count_references \
13683 ldap_first_reference \
13684 ldap_next_reference \
13685 ldap_parse_reference \
13686 ldap_parse_sort_control \
13687 ldap_parse_sortresponse_control \
13688 ldap_parse_vlv_control \
13689 ldap_parse_vlvresponse_control
13691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13692 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13694 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13695 echo $ECHO_N "(cached) $ECHO_C" >&6
13697 cat >conftest.$ac_ext <<_ACEOF
13700 cat confdefs.h >>conftest.$ac_ext
13701 cat >>conftest.$ac_ext <<_ACEOF
13702 /* end confdefs.h. */
13703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13705 #define $ac_func innocuous_$ac_func
13707 /* System header to define __stub macros and hopefully few prototypes,
13708 which can conflict with char $ac_func (); below.
13709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13710 <limits.h> exists even on freestanding compilers. */
13713 # include <limits.h>
13715 # include <assert.h>
13720 /* Override any GCC internal prototype to avoid an error.
13721 Use char because int might match the return type of a GCC
13722 builtin and then its argument prototype would still apply. */
13727 /* The GNU C library defines this for functions which it implements
13728 to always fail with ENOSYS. Some functions are actually named
13729 something starting with __ and the normal name is an alias. */
13730 #if defined __stub_$ac_func || defined __stub___$ac_func
13737 return $ac_func ();
13742 rm -f conftest.$ac_objext conftest$ac_exeext
13743 if { (ac_try="$ac_link"
13744 case "(($ac_try" in
13745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13746 *) ac_try_echo=$ac_try;;
13748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13749 (eval "$ac_link") 2>conftest.er1
13751 grep -v '^ *+' conftest.er1 >conftest.err
13753 cat conftest.err >&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); } && {
13756 test -z "$ac_c_werror_flag" ||
13757 test ! -s conftest.err
13758 } && test -s conftest$ac_exeext &&
13759 $as_test_x conftest$ac_exeext; then
13760 eval "$as_ac_var=yes"
13762 echo "$as_me: failed program was:" >&5
13763 sed 's/^/| /' conftest.$ac_ext >&5
13765 eval "$as_ac_var=no"
13768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13769 conftest$ac_exeext conftest.$ac_ext
13771 ac_res=`eval echo '${'$as_ac_var'}'`
13772 { echo "$as_me:$LINENO: result: $ac_res" >&5
13773 echo "${ECHO_T}$ac_res" >&6; }
13774 if test `eval echo '${'$as_ac_var'}'` = yes; then
13775 cat >>confdefs.h <<_ACEOF
13776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13782 LIBS="$ac_wine_check_funcs_save_LIBS"
13784 if test "x$LDAPLIBS" = "x"; then
13785 case "x$with_ldap" in
13786 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13788 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13789 This is an error since --with-ldap was requested." >&5
13790 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13791 This is an error since --with-ldap was requested." >&2;}
13792 { (exit 1); exit 1; }; } ;;
13797 for ac_prog in freetype-config freetype2-config
13799 # Extract the first word of "$ac_prog", so it can be a program name with args.
13800 set dummy $ac_prog; ac_word=$2
13801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13803 if test "${ac_cv_prog_ft_devel+set}" = set; then
13804 echo $ECHO_N "(cached) $ECHO_C" >&6
13806 if test -n "$ft_devel"; then
13807 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13810 for as_dir in $PATH
13813 test -z "$as_dir" && as_dir=.
13814 for ac_exec_ext in '' $ac_executable_extensions; do
13815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13816 ac_cv_prog_ft_devel="$ac_prog"
13817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13826 ft_devel=$ac_cv_prog_ft_devel
13827 if test -n "$ft_devel"; then
13828 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13829 echo "${ECHO_T}$ft_devel" >&6; }
13831 { echo "$as_me:$LINENO: result: no" >&5
13832 echo "${ECHO_T}no" >&6; }
13836 test -n "$ft_devel" && break
13838 test -n "$ft_devel" || ft_devel="false"
13840 if test "$ft_devel" != "false"
13842 ac_freetype_libs=`$ft_devel --libs`
13843 ac_freetype_incl=`$ft_devel --cflags`
13844 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13845 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13846 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13847 echo $ECHO_N "(cached) $ECHO_C" >&6
13849 ac_check_soname_save_LIBS=$LIBS
13850 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13851 cat >conftest.$ac_ext <<_ACEOF
13854 cat confdefs.h >>conftest.$ac_ext
13855 cat >>conftest.$ac_ext <<_ACEOF
13856 /* end confdefs.h. */
13858 /* Override any GCC internal prototype to avoid an error.
13859 Use char because int might match the return type of a GCC
13860 builtin and then its argument prototype would still apply. */
13864 char FT_Init_FreeType ();
13868 return FT_Init_FreeType ();
13873 rm -f conftest.$ac_objext conftest$ac_exeext
13874 if { (ac_try="$ac_link"
13875 case "(($ac_try" in
13876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13877 *) ac_try_echo=$ac_try;;
13879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13880 (eval "$ac_link") 2>conftest.er1
13882 grep -v '^ *+' conftest.er1 >conftest.err
13884 cat conftest.err >&5
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); } && {
13887 test -z "$ac_c_werror_flag" ||
13888 test ! -s conftest.err
13889 } && test -s conftest$ac_exeext &&
13890 $as_test_x conftest$ac_exeext; then
13893 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'` ;;
13894 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13897 echo "$as_me: failed program was:" >&5
13898 sed 's/^/| /' conftest.$ac_ext >&5
13903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13904 conftest$ac_exeext conftest.$ac_ext
13905 LIBS=$ac_check_soname_save_LIBS
13907 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13908 { echo "$as_me:$LINENO: result: not found" >&5
13909 echo "${ECHO_T}not found" >&6; }
13912 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13913 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13915 cat >>confdefs.h <<_ACEOF
13916 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13922 if test "$ft_lib" = "yes"
13924 ac_save_CPPFLAGS="$CPPFLAGS"
13925 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13938 for ac_header in ft2build.h \
13939 freetype/freetype.h \
13940 freetype/ftglyph.h \
13941 freetype/fttypes.h \
13942 freetype/tttables.h \
13943 freetype/ftnames.h \
13944 freetype/ftsnames.h \
13945 freetype/ttnameid.h \
13946 freetype/ftoutln.h \
13947 freetype/ftwinfnt.h \
13948 freetype/ftmodapi.h \
13949 freetype/internal/sfnt.h
13951 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13952 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13953 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13954 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13955 echo $ECHO_N "(cached) $ECHO_C" >&6
13957 cat >conftest.$ac_ext <<_ACEOF
13960 cat confdefs.h >>conftest.$ac_ext
13961 cat >>conftest.$ac_ext <<_ACEOF
13962 /* end confdefs.h. */
13963 #ifdef HAVE_FT2BUILD_H
13964 # include <ft2build.h>
13967 #include <$ac_header>
13969 rm -f conftest.$ac_objext
13970 if { (ac_try="$ac_compile"
13971 case "(($ac_try" in
13972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13973 *) ac_try_echo=$ac_try;;
13975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13976 (eval "$ac_compile") 2>conftest.er1
13978 grep -v '^ *+' conftest.er1 >conftest.err
13980 cat conftest.err >&5
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); } && {
13983 test -z "$ac_c_werror_flag" ||
13984 test ! -s conftest.err
13985 } && test -s conftest.$ac_objext; then
13986 eval "$as_ac_Header=yes"
13988 echo "$as_me: failed program was:" >&5
13989 sed 's/^/| /' conftest.$ac_ext >&5
13991 eval "$as_ac_Header=no"
13994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13996 ac_res=`eval echo '${'$as_ac_Header'}'`
13997 { echo "$as_me:$LINENO: result: $ac_res" >&5
13998 echo "${ECHO_T}$ac_res" >&6; }
13999 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14000 cat >>confdefs.h <<_ACEOF
14001 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14008 cat >conftest.$ac_ext <<_ACEOF
14011 cat confdefs.h >>conftest.$ac_ext
14012 cat >>conftest.$ac_ext <<_ACEOF
14013 /* end confdefs.h. */
14014 #include <ft2build.h>
14015 #include <freetype/fttrigon.h>
14017 if { (ac_try="$ac_cpp conftest.$ac_ext"
14018 case "(($ac_try" in
14019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14020 *) ac_try_echo=$ac_try;;
14022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14025 grep -v '^ *+' conftest.er1 >conftest.err
14027 cat conftest.err >&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); } >/dev/null && {
14030 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14031 test ! -s conftest.err
14034 cat >>confdefs.h <<\_ACEOF
14035 #define HAVE_FREETYPE_FTTRIGON_H 1
14038 wine_cv_fttrigon=yes
14040 echo "$as_me: failed program was:" >&5
14041 sed 's/^/| /' conftest.$ac_ext >&5
14043 wine_cv_fttrigon=no
14046 rm -f conftest.err conftest.$ac_ext
14047 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14048 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14049 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14050 echo $ECHO_N "(cached) $ECHO_C" >&6
14052 cat >conftest.$ac_ext <<_ACEOF
14055 cat confdefs.h >>conftest.$ac_ext
14056 cat >>conftest.$ac_ext <<_ACEOF
14057 /* end confdefs.h. */
14058 #include <freetype/ftmodapi.h>
14060 typedef FT_TrueTypeEngineType ac__type_new_;
14064 if ((ac__type_new_ *) 0)
14066 if (sizeof (ac__type_new_))
14072 rm -f conftest.$ac_objext
14073 if { (ac_try="$ac_compile"
14074 case "(($ac_try" in
14075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14076 *) ac_try_echo=$ac_try;;
14078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14079 (eval "$ac_compile") 2>conftest.er1
14081 grep -v '^ *+' conftest.er1 >conftest.err
14083 cat conftest.err >&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); } && {
14086 test -z "$ac_c_werror_flag" ||
14087 test ! -s conftest.err
14088 } && test -s conftest.$ac_objext; then
14089 ac_cv_type_FT_TrueTypeEngineType=yes
14091 echo "$as_me: failed program was:" >&5
14092 sed 's/^/| /' conftest.$ac_ext >&5
14094 ac_cv_type_FT_TrueTypeEngineType=no
14097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14099 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14100 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14101 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14103 cat >>confdefs.h <<_ACEOF
14104 #define HAVE_FT_TRUETYPEENGINETYPE 1
14110 ac_save_CFLAGS="$CFLAGS"
14111 CFLAGS="$CFLAGS $ac_freetype_libs"
14113 for ac_func in FT_Load_Sfnt_Table
14115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14116 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14118 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14119 echo $ECHO_N "(cached) $ECHO_C" >&6
14121 cat >conftest.$ac_ext <<_ACEOF
14124 cat confdefs.h >>conftest.$ac_ext
14125 cat >>conftest.$ac_ext <<_ACEOF
14126 /* end confdefs.h. */
14127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14129 #define $ac_func innocuous_$ac_func
14131 /* System header to define __stub macros and hopefully few prototypes,
14132 which can conflict with char $ac_func (); below.
14133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14134 <limits.h> exists even on freestanding compilers. */
14137 # include <limits.h>
14139 # include <assert.h>
14144 /* Override any GCC internal prototype to avoid an error.
14145 Use char because int might match the return type of a GCC
14146 builtin and then its argument prototype would still apply. */
14151 /* The GNU C library defines this for functions which it implements
14152 to always fail with ENOSYS. Some functions are actually named
14153 something starting with __ and the normal name is an alias. */
14154 #if defined __stub_$ac_func || defined __stub___$ac_func
14161 return $ac_func ();
14166 rm -f conftest.$ac_objext conftest$ac_exeext
14167 if { (ac_try="$ac_link"
14168 case "(($ac_try" in
14169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14170 *) ac_try_echo=$ac_try;;
14172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14173 (eval "$ac_link") 2>conftest.er1
14175 grep -v '^ *+' conftest.er1 >conftest.err
14177 cat conftest.err >&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } && {
14180 test -z "$ac_c_werror_flag" ||
14181 test ! -s conftest.err
14182 } && test -s conftest$ac_exeext &&
14183 $as_test_x conftest$ac_exeext; then
14184 eval "$as_ac_var=yes"
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.$ac_ext >&5
14189 eval "$as_ac_var=no"
14192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14193 conftest$ac_exeext conftest.$ac_ext
14195 ac_res=`eval echo '${'$as_ac_var'}'`
14196 { echo "$as_me:$LINENO: result: $ac_res" >&5
14197 echo "${ECHO_T}$ac_res" >&6; }
14198 if test `eval echo '${'$as_ac_var'}'` = yes; then
14199 cat >>confdefs.h <<_ACEOF
14200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14206 CFLAGS="$ac_save_CFLAGS"
14207 CPPFLAGS="$ac_save_CPPFLAGS"
14208 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14211 cat >>confdefs.h <<\_ACEOF
14212 #define HAVE_FREETYPE 1
14215 FREETYPELIBS="$ac_freetype_libs"
14217 FREETYPEINCL="$ac_freetype_incl"
14223 if test "x$FREETYPELIBS" = "x"
14225 wine_warnings="$wine_warnings|FreeType development files not found.
14226 Fonts will not be built. Dialog text may be invisible or unaligned."
14228 FONTSSUBDIRS="fonts"
14232 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14233 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14234 if test "${ac_cv_c_ppdev+set}" = set; then
14235 echo $ECHO_N "(cached) $ECHO_C" >&6
14237 cat >conftest.$ac_ext <<_ACEOF
14240 cat confdefs.h >>conftest.$ac_ext
14241 cat >>conftest.$ac_ext <<_ACEOF
14242 /* end confdefs.h. */
14243 #include <linux/ppdev.h>
14247 ioctl (1,PPCLAIM,0)
14252 rm -f conftest.$ac_objext
14253 if { (ac_try="$ac_compile"
14254 case "(($ac_try" in
14255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14256 *) ac_try_echo=$ac_try;;
14258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14259 (eval "$ac_compile") 2>conftest.er1
14261 grep -v '^ *+' conftest.er1 >conftest.err
14263 cat conftest.err >&5
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); } && {
14266 test -z "$ac_c_werror_flag" ||
14267 test ! -s conftest.err
14268 } && test -s conftest.$ac_objext; then
14269 ac_cv_c_ppdev="yes"
14271 echo "$as_me: failed program was:" >&5
14272 sed 's/^/| /' conftest.$ac_ext >&5
14277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14279 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14280 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14281 if test "$ac_cv_c_ppdev" = "yes"
14284 cat >>confdefs.h <<\_ACEOF
14285 #define HAVE_PPDEV 1
14290 { echo "$as_me:$LINENO: checking for va_copy" >&5
14291 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14292 if test "${ac_cv_c_va_copy+set}" = set; then
14293 echo $ECHO_N "(cached) $ECHO_C" >&6
14295 cat >conftest.$ac_ext <<_ACEOF
14298 cat confdefs.h >>conftest.$ac_ext
14299 cat >>conftest.$ac_ext <<_ACEOF
14300 /* end confdefs.h. */
14301 #include <stdarg.h>
14305 va_list ap1, ap2; va_copy(ap1,ap2);
14310 rm -f conftest.$ac_objext conftest$ac_exeext
14311 if { (ac_try="$ac_link"
14312 case "(($ac_try" in
14313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14314 *) ac_try_echo=$ac_try;;
14316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14317 (eval "$ac_link") 2>conftest.er1
14319 grep -v '^ *+' conftest.er1 >conftest.err
14321 cat conftest.err >&5
14322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); } && {
14324 test -z "$ac_c_werror_flag" ||
14325 test ! -s conftest.err
14326 } && test -s conftest$ac_exeext &&
14327 $as_test_x conftest$ac_exeext; then
14328 ac_cv_c_va_copy="yes"
14330 echo "$as_me: failed program was:" >&5
14331 sed 's/^/| /' conftest.$ac_ext >&5
14333 ac_cv_c_va_copy="no"
14336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14337 conftest$ac_exeext conftest.$ac_ext
14340 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14341 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14342 if test "$ac_cv_c_va_copy" = "yes"
14345 cat >>confdefs.h <<\_ACEOF
14346 #define HAVE_VA_COPY 1
14350 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14351 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14352 if test "${ac_cv_c___va_copy+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 cat >conftest.$ac_ext <<_ACEOF
14358 cat confdefs.h >>conftest.$ac_ext
14359 cat >>conftest.$ac_ext <<_ACEOF
14360 /* end confdefs.h. */
14361 #include <stdarg.h>
14365 va_list ap1, ap2; __va_copy(ap1,ap2);
14370 rm -f conftest.$ac_objext conftest$ac_exeext
14371 if { (ac_try="$ac_link"
14372 case "(($ac_try" in
14373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14374 *) ac_try_echo=$ac_try;;
14376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14377 (eval "$ac_link") 2>conftest.er1
14379 grep -v '^ *+' conftest.er1 >conftest.err
14381 cat conftest.err >&5
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); } && {
14384 test -z "$ac_c_werror_flag" ||
14385 test ! -s conftest.err
14386 } && test -s conftest$ac_exeext &&
14387 $as_test_x conftest$ac_exeext; then
14388 ac_cv_c___va_copy="yes"
14390 echo "$as_me: failed program was:" >&5
14391 sed 's/^/| /' conftest.$ac_ext >&5
14393 ac_cv_c___va_copy="no"
14396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14397 conftest$ac_exeext conftest.$ac_ext
14400 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14401 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14402 if test "$ac_cv_c___va_copy" = "yes"
14405 cat >>confdefs.h <<\_ACEOF
14406 #define HAVE___VA_COPY 1
14411 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14412 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14413 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14414 echo $ECHO_N "(cached) $ECHO_C" >&6
14416 cat >conftest.$ac_ext <<_ACEOF
14419 cat confdefs.h >>conftest.$ac_ext
14420 cat >>conftest.$ac_ext <<_ACEOF
14421 /* end confdefs.h. */
14422 #include <setjmp.h>
14427 sigsetjmp( buf, 1 );
14428 siglongjmp( buf, 1 );
14433 rm -f conftest.$ac_objext conftest$ac_exeext
14434 if { (ac_try="$ac_link"
14435 case "(($ac_try" in
14436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14437 *) ac_try_echo=$ac_try;;
14439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14440 (eval "$ac_link") 2>conftest.er1
14442 grep -v '^ *+' conftest.er1 >conftest.err
14444 cat conftest.err >&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); } && {
14447 test -z "$ac_c_werror_flag" ||
14448 test ! -s conftest.err
14449 } && test -s conftest$ac_exeext &&
14450 $as_test_x conftest$ac_exeext; then
14451 ac_cv_c_sigsetjmp="yes"
14453 echo "$as_me: failed program was:" >&5
14454 sed 's/^/| /' conftest.$ac_ext >&5
14456 ac_cv_c_sigsetjmp="no"
14459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14460 conftest$ac_exeext conftest.$ac_ext
14463 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14464 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14465 if test "$ac_cv_c_sigsetjmp" = "yes"
14468 cat >>confdefs.h <<\_ACEOF
14469 #define HAVE_SIGSETJMP 1
14474 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14475 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14476 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14477 echo $ECHO_N "(cached) $ECHO_C" >&6
14479 cat >conftest.$ac_ext <<_ACEOF
14482 cat confdefs.h >>conftest.$ac_ext
14483 cat >>conftest.$ac_ext <<_ACEOF
14484 /* end confdefs.h. */
14485 #define _GNU_SOURCE
14486 #include <pthread.h>
14488 typedef pthread_rwlock_t ac__type_new_;
14492 if ((ac__type_new_ *) 0)
14494 if (sizeof (ac__type_new_))
14500 rm -f conftest.$ac_objext
14501 if { (ac_try="$ac_compile"
14502 case "(($ac_try" in
14503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14504 *) ac_try_echo=$ac_try;;
14506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14507 (eval "$ac_compile") 2>conftest.er1
14509 grep -v '^ *+' conftest.er1 >conftest.err
14511 cat conftest.err >&5
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); } && {
14514 test -z "$ac_c_werror_flag" ||
14515 test ! -s conftest.err
14516 } && test -s conftest.$ac_objext; then
14517 ac_cv_type_pthread_rwlock_t=yes
14519 echo "$as_me: failed program was:" >&5
14520 sed 's/^/| /' conftest.$ac_ext >&5
14522 ac_cv_type_pthread_rwlock_t=no
14525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14527 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14528 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14529 if test $ac_cv_type_pthread_rwlock_t = yes; then
14531 cat >>confdefs.h <<_ACEOF
14532 #define HAVE_PTHREAD_RWLOCK_T 1
14537 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14538 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14539 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14540 echo $ECHO_N "(cached) $ECHO_C" >&6
14542 cat >conftest.$ac_ext <<_ACEOF
14545 cat confdefs.h >>conftest.$ac_ext
14546 cat >>conftest.$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14548 #define _GNU_SOURCE
14549 #include <pthread.h>
14551 typedef pthread_rwlockattr_t ac__type_new_;
14555 if ((ac__type_new_ *) 0)
14557 if (sizeof (ac__type_new_))
14563 rm -f conftest.$ac_objext
14564 if { (ac_try="$ac_compile"
14565 case "(($ac_try" in
14566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14567 *) ac_try_echo=$ac_try;;
14569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14570 (eval "$ac_compile") 2>conftest.er1
14572 grep -v '^ *+' conftest.er1 >conftest.err
14574 cat conftest.err >&5
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); } && {
14577 test -z "$ac_c_werror_flag" ||
14578 test ! -s conftest.err
14579 } && test -s conftest.$ac_objext; then
14580 ac_cv_type_pthread_rwlockattr_t=yes
14582 echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.$ac_ext >&5
14585 ac_cv_type_pthread_rwlockattr_t=no
14588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14590 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14591 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14592 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14594 cat >>confdefs.h <<_ACEOF
14595 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14602 ac_wine_check_funcs_save_LIBS="$LIBS"
14603 LIBS="$LIBS $LIBPTHREAD"
14609 pthread_attr_get_np \
14610 pthread_getattr_np \
14611 pthread_get_stackaddr_np \
14612 pthread_get_stacksize_np
14614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14615 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14617 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14618 echo $ECHO_N "(cached) $ECHO_C" >&6
14620 cat >conftest.$ac_ext <<_ACEOF
14623 cat confdefs.h >>conftest.$ac_ext
14624 cat >>conftest.$ac_ext <<_ACEOF
14625 /* end confdefs.h. */
14626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14628 #define $ac_func innocuous_$ac_func
14630 /* System header to define __stub macros and hopefully few prototypes,
14631 which can conflict with char $ac_func (); below.
14632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14633 <limits.h> exists even on freestanding compilers. */
14636 # include <limits.h>
14638 # include <assert.h>
14643 /* Override any GCC internal prototype to avoid an error.
14644 Use char because int might match the return type of a GCC
14645 builtin and then its argument prototype would still apply. */
14650 /* The GNU C library defines this for functions which it implements
14651 to always fail with ENOSYS. Some functions are actually named
14652 something starting with __ and the normal name is an alias. */
14653 #if defined __stub_$ac_func || defined __stub___$ac_func
14660 return $ac_func ();
14665 rm -f conftest.$ac_objext conftest$ac_exeext
14666 if { (ac_try="$ac_link"
14667 case "(($ac_try" in
14668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14669 *) ac_try_echo=$ac_try;;
14671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14672 (eval "$ac_link") 2>conftest.er1
14674 grep -v '^ *+' conftest.er1 >conftest.err
14676 cat conftest.err >&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); } && {
14679 test -z "$ac_c_werror_flag" ||
14680 test ! -s conftest.err
14681 } && test -s conftest$ac_exeext &&
14682 $as_test_x conftest$ac_exeext; then
14683 eval "$as_ac_var=yes"
14685 echo "$as_me: failed program was:" >&5
14686 sed 's/^/| /' conftest.$ac_ext >&5
14688 eval "$as_ac_var=no"
14691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14692 conftest$ac_exeext conftest.$ac_ext
14694 ac_res=`eval echo '${'$as_ac_var'}'`
14695 { echo "$as_me:$LINENO: result: $ac_res" >&5
14696 echo "${ECHO_T}$ac_res" >&6; }
14697 if test `eval echo '${'$as_ac_var'}'` = yes; then
14698 cat >>confdefs.h <<_ACEOF
14699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14705 LIBS="$ac_wine_check_funcs_save_LIBS"
14707 # Extract the first word of "esd-config", so it can be a program name with args.
14708 set dummy esd-config; ac_word=$2
14709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14711 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14712 echo $ECHO_N "(cached) $ECHO_C" >&6
14716 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14720 for as_dir in $PATH
14723 test -z "$as_dir" && as_dir=.
14724 for ac_exec_ext in '' $ac_executable_extensions; do
14725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14726 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14737 ESDCONFIG=$ac_cv_path_ESDCONFIG
14738 if test -n "$ESDCONFIG"; then
14739 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14740 echo "${ECHO_T}$ESDCONFIG" >&6; }
14742 { echo "$as_me:$LINENO: result: no" >&5
14743 echo "${ECHO_T}no" >&6; }
14747 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14750 for i in `$ESDCONFIG --cflags`
14753 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14756 ESD_LIBS=`$ESDCONFIG --libs`
14757 save_CFLAGS="$CFLAGS"
14758 CFLAGS="$CFLAGS $ESD_CFLAGS"
14759 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14760 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14761 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14762 echo $ECHO_N "(cached) $ECHO_C" >&6
14764 ac_check_lib_save_LIBS=$LIBS
14766 cat >conftest.$ac_ext <<_ACEOF
14769 cat confdefs.h >>conftest.$ac_ext
14770 cat >>conftest.$ac_ext <<_ACEOF
14771 /* end confdefs.h. */
14773 /* Override any GCC internal prototype to avoid an error.
14774 Use char because int might match the return type of a GCC
14775 builtin and then its argument prototype would still apply. */
14779 char esd_open_sound ();
14783 return esd_open_sound ();
14788 rm -f conftest.$ac_objext conftest$ac_exeext
14789 if { (ac_try="$ac_link"
14790 case "(($ac_try" in
14791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14792 *) ac_try_echo=$ac_try;;
14794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14795 (eval "$ac_link") 2>conftest.er1
14797 grep -v '^ *+' conftest.er1 >conftest.err
14799 cat conftest.err >&5
14800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14801 (exit $ac_status); } && {
14802 test -z "$ac_c_werror_flag" ||
14803 test ! -s conftest.err
14804 } && test -s conftest$ac_exeext &&
14805 $as_test_x conftest$ac_exeext; then
14806 ac_cv_lib_esd_esd_open_sound=yes
14808 echo "$as_me: failed program was:" >&5
14809 sed 's/^/| /' conftest.$ac_ext >&5
14811 ac_cv_lib_esd_esd_open_sound=no
14814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14815 conftest$ac_exeext conftest.$ac_ext
14816 LIBS=$ac_check_lib_save_LIBS
14818 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14819 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14820 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14823 ESDINCL=$ESD_CFLAGS
14826 cat >>confdefs.h <<\_ACEOF
14832 CFLAGS="$save_CFLAGS"
14837 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14839 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14840 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14841 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14842 echo $ECHO_N "(cached) $ECHO_C" >&6
14844 ac_check_lib_save_LIBS=$LIBS
14845 LIBS="-lasound $LIBS"
14846 cat >conftest.$ac_ext <<_ACEOF
14849 cat confdefs.h >>conftest.$ac_ext
14850 cat >>conftest.$ac_ext <<_ACEOF
14851 /* end confdefs.h. */
14853 /* Override any GCC internal prototype to avoid an error.
14854 Use char because int might match the return type of a GCC
14855 builtin and then its argument prototype would still apply. */
14859 char snd_pcm_hw_params_get_access ();
14863 return snd_pcm_hw_params_get_access ();
14868 rm -f conftest.$ac_objext conftest$ac_exeext
14869 if { (ac_try="$ac_link"
14870 case "(($ac_try" in
14871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14872 *) ac_try_echo=$ac_try;;
14874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14875 (eval "$ac_link") 2>conftest.er1
14877 grep -v '^ *+' conftest.er1 >conftest.err
14879 cat conftest.err >&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); } && {
14882 test -z "$ac_c_werror_flag" ||
14883 test ! -s conftest.err
14884 } && test -s conftest$ac_exeext &&
14885 $as_test_x conftest$ac_exeext; then
14886 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14888 echo "$as_me: failed program was:" >&5
14889 sed 's/^/| /' conftest.$ac_ext >&5
14891 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14895 conftest$ac_exeext conftest.$ac_ext
14896 LIBS=$ac_check_lib_save_LIBS
14898 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14899 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14900 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14901 cat >conftest.$ac_ext <<_ACEOF
14904 cat confdefs.h >>conftest.$ac_ext
14905 cat >>conftest.$ac_ext <<_ACEOF
14906 /* end confdefs.h. */
14907 #ifdef HAVE_ALSA_ASOUNDLIB_H
14908 #include <alsa/asoundlib.h>
14909 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14910 #include <sys/asoundlib.h>
14915 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14920 rm -f conftest.$ac_objext
14921 if { (ac_try="$ac_compile"
14922 case "(($ac_try" in
14923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14924 *) ac_try_echo=$ac_try;;
14926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14927 (eval "$ac_compile") 2>conftest.er1
14929 grep -v '^ *+' conftest.er1 >conftest.err
14931 cat conftest.err >&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); } && {
14934 test -z "$ac_c_werror_flag" ||
14935 test ! -s conftest.err
14936 } && test -s conftest.$ac_objext; then
14938 cat >>confdefs.h <<\_ACEOF
14939 #define HAVE_ALSA 1
14942 ALSALIBS="-lasound"
14944 echo "$as_me: failed program was:" >&5
14945 sed 's/^/| /' conftest.$ac_ext >&5
14950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14957 if test "$ac_cv_header_libaudioio_h" = "yes"
14959 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14960 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14961 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14962 echo $ECHO_N "(cached) $ECHO_C" >&6
14964 ac_check_lib_save_LIBS=$LIBS
14965 LIBS="-laudioio $LIBS"
14966 cat >conftest.$ac_ext <<_ACEOF
14969 cat confdefs.h >>conftest.$ac_ext
14970 cat >>conftest.$ac_ext <<_ACEOF
14971 /* end confdefs.h. */
14973 /* Override any GCC internal prototype to avoid an error.
14974 Use char because int might match the return type of a GCC
14975 builtin and then its argument prototype would still apply. */
14979 char AudioIOGetVersion ();
14983 return AudioIOGetVersion ();
14988 rm -f conftest.$ac_objext conftest$ac_exeext
14989 if { (ac_try="$ac_link"
14990 case "(($ac_try" in
14991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14992 *) ac_try_echo=$ac_try;;
14994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14995 (eval "$ac_link") 2>conftest.er1
14997 grep -v '^ *+' conftest.er1 >conftest.err
14999 cat conftest.err >&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); } && {
15002 test -z "$ac_c_werror_flag" ||
15003 test ! -s conftest.err
15004 } && test -s conftest$ac_exeext &&
15005 $as_test_x conftest$ac_exeext; then
15006 ac_cv_lib_audioio_AudioIOGetVersion=yes
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.$ac_ext >&5
15011 ac_cv_lib_audioio_AudioIOGetVersion=no
15014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15015 conftest$ac_exeext conftest.$ac_ext
15016 LIBS=$ac_check_lib_save_LIBS
15018 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15019 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15020 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15021 AUDIOIOLIBS="-laudioio"
15023 cat >>confdefs.h <<\_ACEOF
15024 #define HAVE_LIBAUDIOIO 1
15032 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15034 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15035 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15036 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15037 echo $ECHO_N "(cached) $ECHO_C" >&6
15039 ac_check_soname_save_LIBS=$LIBS
15040 LIBS="-lcapi20 $LIBS"
15041 cat >conftest.$ac_ext <<_ACEOF
15044 cat confdefs.h >>conftest.$ac_ext
15045 cat >>conftest.$ac_ext <<_ACEOF
15046 /* end confdefs.h. */
15048 /* Override any GCC internal prototype to avoid an error.
15049 Use char because int might match the return type of a GCC
15050 builtin and then its argument prototype would still apply. */
15054 char capi20_register ();
15058 return capi20_register ();
15063 rm -f conftest.$ac_objext conftest$ac_exeext
15064 if { (ac_try="$ac_link"
15065 case "(($ac_try" in
15066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15067 *) ac_try_echo=$ac_try;;
15069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15070 (eval "$ac_link") 2>conftest.er1
15072 grep -v '^ *+' conftest.er1 >conftest.err
15074 cat conftest.err >&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); } && {
15077 test -z "$ac_c_werror_flag" ||
15078 test ! -s conftest.err
15079 } && test -s conftest$ac_exeext &&
15080 $as_test_x conftest$ac_exeext; then
15083 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'` ;;
15084 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.$ac_ext >&5
15093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15094 conftest$ac_exeext conftest.$ac_ext
15095 LIBS=$ac_check_soname_save_LIBS
15097 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15098 { echo "$as_me:$LINENO: result: not found" >&5
15099 echo "${ECHO_T}not found" >&6; }
15102 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15103 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15105 cat >>confdefs.h <<_ACEOF
15106 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15113 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15114 case "x$with_capi" in
15115 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15117 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15118 This is an error since --with-capi was requested." >&5
15119 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15120 This is an error since --with-capi was requested." >&2;}
15121 { (exit 1); exit 1; }; } ;;
15126 if test "$ac_cv_header_cups_cups_h" = "yes"
15128 { echo "$as_me:$LINENO: checking for -lcups" >&5
15129 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15130 if test "${ac_cv_lib_soname_cups+set}" = set; then
15131 echo $ECHO_N "(cached) $ECHO_C" >&6
15133 ac_check_soname_save_LIBS=$LIBS
15134 LIBS="-lcups $LIBS"
15135 cat >conftest.$ac_ext <<_ACEOF
15138 cat confdefs.h >>conftest.$ac_ext
15139 cat >>conftest.$ac_ext <<_ACEOF
15140 /* end confdefs.h. */
15142 /* Override any GCC internal prototype to avoid an error.
15143 Use char because int might match the return type of a GCC
15144 builtin and then its argument prototype would still apply. */
15148 char cupsGetDefault ();
15152 return cupsGetDefault ();
15157 rm -f conftest.$ac_objext conftest$ac_exeext
15158 if { (ac_try="$ac_link"
15159 case "(($ac_try" in
15160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15161 *) ac_try_echo=$ac_try;;
15163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15164 (eval "$ac_link") 2>conftest.er1
15166 grep -v '^ *+' conftest.er1 >conftest.err
15168 cat conftest.err >&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } && {
15171 test -z "$ac_c_werror_flag" ||
15172 test ! -s conftest.err
15173 } && test -s conftest$ac_exeext &&
15174 $as_test_x conftest$ac_exeext; then
15177 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'` ;;
15178 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15181 echo "$as_me: failed program was:" >&5
15182 sed 's/^/| /' conftest.$ac_ext >&5
15187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15188 conftest$ac_exeext conftest.$ac_ext
15189 LIBS=$ac_check_soname_save_LIBS
15191 if test "x$ac_cv_lib_soname_cups" = "x"; then
15192 { echo "$as_me:$LINENO: result: not found" >&5
15193 echo "${ECHO_T}not found" >&6; }
15196 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15197 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15199 cat >>confdefs.h <<_ACEOF
15200 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15207 if test "x$ac_cv_lib_soname_cups" = "x"; then
15208 case "x$with_cups" in
15209 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15211 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15212 This is an error since --with-cups was requested." >&5
15213 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15214 This is an error since --with-cups was requested." >&2;}
15215 { (exit 1); exit 1; }; } ;;
15220 if test "$ac_cv_header_jack_jack_h" = "yes"
15222 { echo "$as_me:$LINENO: checking for -ljack" >&5
15223 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15224 if test "${ac_cv_lib_soname_jack+set}" = set; then
15225 echo $ECHO_N "(cached) $ECHO_C" >&6
15227 ac_check_soname_save_LIBS=$LIBS
15228 LIBS="-ljack $LIBS"
15229 cat >conftest.$ac_ext <<_ACEOF
15232 cat confdefs.h >>conftest.$ac_ext
15233 cat >>conftest.$ac_ext <<_ACEOF
15234 /* end confdefs.h. */
15236 /* Override any GCC internal prototype to avoid an error.
15237 Use char because int might match the return type of a GCC
15238 builtin and then its argument prototype would still apply. */
15242 char jack_client_new ();
15246 return jack_client_new ();
15251 rm -f conftest.$ac_objext conftest$ac_exeext
15252 if { (ac_try="$ac_link"
15253 case "(($ac_try" in
15254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15255 *) ac_try_echo=$ac_try;;
15257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15258 (eval "$ac_link") 2>conftest.er1
15260 grep -v '^ *+' conftest.er1 >conftest.err
15262 cat conftest.err >&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); } && {
15265 test -z "$ac_c_werror_flag" ||
15266 test ! -s conftest.err
15267 } && test -s conftest$ac_exeext &&
15268 $as_test_x conftest$ac_exeext; then
15271 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'` ;;
15272 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15275 echo "$as_me: failed program was:" >&5
15276 sed 's/^/| /' conftest.$ac_ext >&5
15281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15282 conftest$ac_exeext conftest.$ac_ext
15283 LIBS=$ac_check_soname_save_LIBS
15285 if test "x$ac_cv_lib_soname_jack" = "x"; then
15286 { echo "$as_me:$LINENO: result: not found" >&5
15287 echo "${ECHO_T}not found" >&6; }
15290 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15291 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15293 cat >>confdefs.h <<_ACEOF
15294 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15302 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15304 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15305 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15306 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15307 echo $ECHO_N "(cached) $ECHO_C" >&6
15309 ac_check_soname_save_LIBS=$LIBS
15310 LIBS="-lfontconfig $LIBS"
15311 cat >conftest.$ac_ext <<_ACEOF
15314 cat confdefs.h >>conftest.$ac_ext
15315 cat >>conftest.$ac_ext <<_ACEOF
15316 /* end confdefs.h. */
15318 /* Override any GCC internal prototype to avoid an error.
15319 Use char because int might match the return type of a GCC
15320 builtin and then its argument prototype would still apply. */
15333 rm -f conftest.$ac_objext conftest$ac_exeext
15334 if { (ac_try="$ac_link"
15335 case "(($ac_try" in
15336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15337 *) ac_try_echo=$ac_try;;
15339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15340 (eval "$ac_link") 2>conftest.er1
15342 grep -v '^ *+' conftest.er1 >conftest.err
15344 cat conftest.err >&5
15345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15346 (exit $ac_status); } && {
15347 test -z "$ac_c_werror_flag" ||
15348 test ! -s conftest.err
15349 } && test -s conftest$ac_exeext &&
15350 $as_test_x conftest$ac_exeext; then
15353 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'` ;;
15354 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15357 echo "$as_me: failed program was:" >&5
15358 sed 's/^/| /' conftest.$ac_ext >&5
15363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15364 conftest$ac_exeext conftest.$ac_ext
15365 LIBS=$ac_check_soname_save_LIBS
15367 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15368 { echo "$as_me:$LINENO: result: not found" >&5
15369 echo "${ECHO_T}not found" >&6; }
15372 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15373 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15375 cat >>confdefs.h <<_ACEOF
15376 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15382 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15384 ac_save_CPPFLAGS="$CPPFLAGS"
15385 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15386 $as_unset ac_cv_header_fontconfig_fontconfig_h
15388 for ac_header in fontconfig/fontconfig.h
15390 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15392 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15394 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15395 echo $ECHO_N "(cached) $ECHO_C" >&6
15397 ac_res=`eval echo '${'$as_ac_Header'}'`
15398 { echo "$as_me:$LINENO: result: $ac_res" >&5
15399 echo "${ECHO_T}$ac_res" >&6; }
15401 # Is the header compilable?
15402 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15403 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15404 cat >conftest.$ac_ext <<_ACEOF
15407 cat confdefs.h >>conftest.$ac_ext
15408 cat >>conftest.$ac_ext <<_ACEOF
15409 /* end confdefs.h. */
15410 $ac_includes_default
15411 #include <$ac_header>
15413 rm -f conftest.$ac_objext
15414 if { (ac_try="$ac_compile"
15415 case "(($ac_try" in
15416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15417 *) ac_try_echo=$ac_try;;
15419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15420 (eval "$ac_compile") 2>conftest.er1
15422 grep -v '^ *+' conftest.er1 >conftest.err
15424 cat conftest.err >&5
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); } && {
15427 test -z "$ac_c_werror_flag" ||
15428 test ! -s conftest.err
15429 } && test -s conftest.$ac_objext; then
15430 ac_header_compiler=yes
15432 echo "$as_me: failed program was:" >&5
15433 sed 's/^/| /' conftest.$ac_ext >&5
15435 ac_header_compiler=no
15438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15439 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15440 echo "${ECHO_T}$ac_header_compiler" >&6; }
15442 # Is the header present?
15443 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15444 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15445 cat >conftest.$ac_ext <<_ACEOF
15448 cat confdefs.h >>conftest.$ac_ext
15449 cat >>conftest.$ac_ext <<_ACEOF
15450 /* end confdefs.h. */
15451 #include <$ac_header>
15453 if { (ac_try="$ac_cpp conftest.$ac_ext"
15454 case "(($ac_try" in
15455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15456 *) ac_try_echo=$ac_try;;
15458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15459 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15461 grep -v '^ *+' conftest.er1 >conftest.err
15463 cat conftest.err >&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); } >/dev/null && {
15466 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15467 test ! -s conftest.err
15469 ac_header_preproc=yes
15471 echo "$as_me: failed program was:" >&5
15472 sed 's/^/| /' conftest.$ac_ext >&5
15474 ac_header_preproc=no
15477 rm -f conftest.err conftest.$ac_ext
15478 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15479 echo "${ECHO_T}$ac_header_preproc" >&6; }
15481 # So? What about this header?
15482 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15484 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15485 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15486 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15487 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15488 ac_header_preproc=yes
15491 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15492 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15493 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15494 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15495 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15496 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15497 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15498 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15500 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15501 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15502 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15504 ## ------------------------------------ ##
15505 ## Report this to wine-devel@winehq.org ##
15506 ## ------------------------------------ ##
15508 ) | sed "s/^/$as_me: WARNING: /" >&2
15511 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15513 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15514 echo $ECHO_N "(cached) $ECHO_C" >&6
15516 eval "$as_ac_Header=\$ac_header_preproc"
15518 ac_res=`eval echo '${'$as_ac_Header'}'`
15519 { echo "$as_me:$LINENO: result: $ac_res" >&5
15520 echo "${ECHO_T}$ac_res" >&6; }
15523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15524 cat >>confdefs.h <<_ACEOF
15525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15532 CPPFLAGS="$ac_save_CPPFLAGS"
15533 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15535 FONTCONFIGINCL="$X_CFLAGS"
15537 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15538 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15539 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15540 echo $ECHO_N "(cached) $ECHO_C" >&6
15542 ac_check_soname_save_LIBS=$LIBS
15543 LIBS="-lfontconfig $X_LIBS $LIBS"
15544 cat >conftest.$ac_ext <<_ACEOF
15547 cat confdefs.h >>conftest.$ac_ext
15548 cat >>conftest.$ac_ext <<_ACEOF
15549 /* end confdefs.h. */
15551 /* Override any GCC internal prototype to avoid an error.
15552 Use char because int might match the return type of a GCC
15553 builtin and then its argument prototype would still apply. */
15566 rm -f conftest.$ac_objext conftest$ac_exeext
15567 if { (ac_try="$ac_link"
15568 case "(($ac_try" in
15569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15570 *) ac_try_echo=$ac_try;;
15572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15573 (eval "$ac_link") 2>conftest.er1
15575 grep -v '^ *+' conftest.er1 >conftest.err
15577 cat conftest.err >&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } && {
15580 test -z "$ac_c_werror_flag" ||
15581 test ! -s conftest.err
15582 } && test -s conftest$ac_exeext &&
15583 $as_test_x conftest$ac_exeext; then
15586 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'` ;;
15587 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15590 echo "$as_me: failed program was:" >&5
15591 sed 's/^/| /' conftest.$ac_ext >&5
15596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15597 conftest$ac_exeext conftest.$ac_ext
15598 LIBS=$ac_check_soname_save_LIBS
15600 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15601 { echo "$as_me:$LINENO: result: not found" >&5
15602 echo "${ECHO_T}not found" >&6; }
15605 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15606 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15608 cat >>confdefs.h <<_ACEOF
15609 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15617 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15618 case "x$with_fontconfig" in
15619 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15621 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15622 This is an error since --with-fontconfig was requested." >&5
15623 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15624 This is an error since --with-fontconfig was requested." >&2;}
15625 { (exit 1); exit 1; }; } ;;
15630 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15632 { echo "$as_me:$LINENO: checking for -lssl" >&5
15633 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15634 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15635 echo $ECHO_N "(cached) $ECHO_C" >&6
15637 ac_check_soname_save_LIBS=$LIBS
15639 cat >conftest.$ac_ext <<_ACEOF
15642 cat confdefs.h >>conftest.$ac_ext
15643 cat >>conftest.$ac_ext <<_ACEOF
15644 /* end confdefs.h. */
15646 /* Override any GCC internal prototype to avoid an error.
15647 Use char because int might match the return type of a GCC
15648 builtin and then its argument prototype would still apply. */
15652 char SSL_library_init ();
15656 return SSL_library_init ();
15661 rm -f conftest.$ac_objext conftest$ac_exeext
15662 if { (ac_try="$ac_link"
15663 case "(($ac_try" in
15664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15665 *) ac_try_echo=$ac_try;;
15667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15668 (eval "$ac_link") 2>conftest.er1
15670 grep -v '^ *+' conftest.er1 >conftest.err
15672 cat conftest.err >&5
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); } && {
15675 test -z "$ac_c_werror_flag" ||
15676 test ! -s conftest.err
15677 } && test -s conftest$ac_exeext &&
15678 $as_test_x conftest$ac_exeext; then
15681 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'` ;;
15682 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15685 echo "$as_me: failed program was:" >&5
15686 sed 's/^/| /' conftest.$ac_ext >&5
15691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15692 conftest$ac_exeext conftest.$ac_ext
15693 LIBS=$ac_check_soname_save_LIBS
15695 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15696 { echo "$as_me:$LINENO: result: not found" >&5
15697 echo "${ECHO_T}not found" >&6; }
15700 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15701 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15703 cat >>confdefs.h <<_ACEOF
15704 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15710 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15711 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15712 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15713 echo $ECHO_N "(cached) $ECHO_C" >&6
15715 ac_check_soname_save_LIBS=$LIBS
15716 LIBS="-lcrypto $LIBS"
15717 cat >conftest.$ac_ext <<_ACEOF
15720 cat confdefs.h >>conftest.$ac_ext
15721 cat >>conftest.$ac_ext <<_ACEOF
15722 /* end confdefs.h. */
15724 /* Override any GCC internal prototype to avoid an error.
15725 Use char because int might match the return type of a GCC
15726 builtin and then its argument prototype would still apply. */
15730 char BIO_new_socket ();
15734 return BIO_new_socket ();
15739 rm -f conftest.$ac_objext conftest$ac_exeext
15740 if { (ac_try="$ac_link"
15741 case "(($ac_try" in
15742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15743 *) ac_try_echo=$ac_try;;
15745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15746 (eval "$ac_link") 2>conftest.er1
15748 grep -v '^ *+' conftest.er1 >conftest.err
15750 cat conftest.err >&5
15751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752 (exit $ac_status); } && {
15753 test -z "$ac_c_werror_flag" ||
15754 test ! -s conftest.err
15755 } && test -s conftest$ac_exeext &&
15756 $as_test_x conftest$ac_exeext; then
15759 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'` ;;
15760 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15763 echo "$as_me: failed program was:" >&5
15764 sed 's/^/| /' conftest.$ac_ext >&5
15769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15770 conftest$ac_exeext conftest.$ac_ext
15771 LIBS=$ac_check_soname_save_LIBS
15773 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15774 { echo "$as_me:$LINENO: result: not found" >&5
15775 echo "${ECHO_T}not found" >&6; }
15778 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15779 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15781 cat >>confdefs.h <<_ACEOF
15782 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15789 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15790 case "x$with_openssl" in
15791 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15793 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15794 This is an error since --with-openssl was requested." >&5
15795 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15796 This is an error since --with-openssl was requested." >&2;}
15797 { (exit 1); exit 1; }; } ;;
15802 if test "$ac_cv_header_jpeglib_h" = "yes"
15804 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15805 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15806 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15807 echo $ECHO_N "(cached) $ECHO_C" >&6
15809 ac_check_soname_save_LIBS=$LIBS
15810 LIBS="-ljpeg $LIBS"
15811 cat >conftest.$ac_ext <<_ACEOF
15814 cat confdefs.h >>conftest.$ac_ext
15815 cat >>conftest.$ac_ext <<_ACEOF
15816 /* end confdefs.h. */
15818 /* Override any GCC internal prototype to avoid an error.
15819 Use char because int might match the return type of a GCC
15820 builtin and then its argument prototype would still apply. */
15824 char jpeg_start_decompress ();
15828 return jpeg_start_decompress ();
15833 rm -f conftest.$ac_objext conftest$ac_exeext
15834 if { (ac_try="$ac_link"
15835 case "(($ac_try" in
15836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15837 *) ac_try_echo=$ac_try;;
15839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15840 (eval "$ac_link") 2>conftest.er1
15842 grep -v '^ *+' conftest.er1 >conftest.err
15844 cat conftest.err >&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); } && {
15847 test -z "$ac_c_werror_flag" ||
15848 test ! -s conftest.err
15849 } && test -s conftest$ac_exeext &&
15850 $as_test_x conftest$ac_exeext; then
15853 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'` ;;
15854 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15857 echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.$ac_ext >&5
15863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15864 conftest$ac_exeext conftest.$ac_ext
15865 LIBS=$ac_check_soname_save_LIBS
15867 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15868 { echo "$as_me:$LINENO: result: not found" >&5
15869 echo "${ECHO_T}not found" >&6; }
15872 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15873 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15875 cat >>confdefs.h <<_ACEOF
15876 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15883 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15884 case "x$with_jpeg" in
15885 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15887 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15888 This is an error since --with-jpeg was requested." >&5
15889 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15890 This is an error since --with-jpeg was requested." >&2;}
15891 { (exit 1); exit 1; }; } ;;
15896 if test "$ac_cv_header_png_h" = "yes"
15898 { echo "$as_me:$LINENO: checking for -lpng" >&5
15899 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15900 if test "${ac_cv_lib_soname_png+set}" = set; then
15901 echo $ECHO_N "(cached) $ECHO_C" >&6
15903 ac_check_soname_save_LIBS=$LIBS
15905 cat >conftest.$ac_ext <<_ACEOF
15908 cat confdefs.h >>conftest.$ac_ext
15909 cat >>conftest.$ac_ext <<_ACEOF
15910 /* end confdefs.h. */
15912 /* Override any GCC internal prototype to avoid an error.
15913 Use char because int might match the return type of a GCC
15914 builtin and then its argument prototype would still apply. */
15918 char png_create_read_struct ();
15922 return png_create_read_struct ();
15927 rm -f conftest.$ac_objext conftest$ac_exeext
15928 if { (ac_try="$ac_link"
15929 case "(($ac_try" in
15930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15931 *) ac_try_echo=$ac_try;;
15933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15934 (eval "$ac_link") 2>conftest.er1
15936 grep -v '^ *+' conftest.er1 >conftest.err
15938 cat conftest.err >&5
15939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940 (exit $ac_status); } && {
15941 test -z "$ac_c_werror_flag" ||
15942 test ! -s conftest.err
15943 } && test -s conftest$ac_exeext &&
15944 $as_test_x conftest$ac_exeext; then
15947 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'` ;;
15948 *) 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'` ;;
15951 echo "$as_me: failed program was:" >&5
15952 sed 's/^/| /' conftest.$ac_ext >&5
15957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15958 conftest$ac_exeext conftest.$ac_ext
15959 LIBS=$ac_check_soname_save_LIBS
15961 if test "x$ac_cv_lib_soname_png" = "x"; then
15962 { echo "$as_me:$LINENO: result: not found" >&5
15963 echo "${ECHO_T}not found" >&6; }
15966 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15967 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15969 cat >>confdefs.h <<_ACEOF
15970 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15977 if test "x$ac_cv_lib_soname_png" = "x"; then
15978 case "x$with_png" in
15979 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15981 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15982 This is an error since --with-png was requested." >&5
15983 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15984 This is an error since --with-png was requested." >&2;}
15985 { (exit 1); exit 1; }; } ;;
15990 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15991 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15992 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15993 echo $ECHO_N "(cached) $ECHO_C" >&6
15995 ac_check_soname_save_LIBS=$LIBS
15996 LIBS="-lodbc $LIBS"
15997 cat >conftest.$ac_ext <<_ACEOF
16000 cat confdefs.h >>conftest.$ac_ext
16001 cat >>conftest.$ac_ext <<_ACEOF
16002 /* end confdefs.h. */
16004 /* Override any GCC internal prototype to avoid an error.
16005 Use char because int might match the return type of a GCC
16006 builtin and then its argument prototype would still apply. */
16010 char SQLConnect ();
16014 return SQLConnect ();
16019 rm -f conftest.$ac_objext conftest$ac_exeext
16020 if { (ac_try="$ac_link"
16021 case "(($ac_try" in
16022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16023 *) ac_try_echo=$ac_try;;
16025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16026 (eval "$ac_link") 2>conftest.er1
16028 grep -v '^ *+' conftest.er1 >conftest.err
16030 cat conftest.err >&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); } && {
16033 test -z "$ac_c_werror_flag" ||
16034 test ! -s conftest.err
16035 } && test -s conftest$ac_exeext &&
16036 $as_test_x conftest$ac_exeext; then
16039 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'` ;;
16040 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16043 echo "$as_me: failed program was:" >&5
16044 sed 's/^/| /' conftest.$ac_ext >&5
16049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16050 conftest$ac_exeext conftest.$ac_ext
16051 LIBS=$ac_check_soname_save_LIBS
16053 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16054 { echo "$as_me:$LINENO: result: not found" >&5
16055 echo "${ECHO_T}not found" >&6; }
16056 cat >>confdefs.h <<_ACEOF
16057 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16061 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16062 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16064 cat >>confdefs.h <<_ACEOF
16065 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16072 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16073 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16074 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16075 "$ac_cv_header_soundcard_h" != "yes" -a \
16076 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16078 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16084 if test "x${GCC}" = "xyes"
16086 EXTRACFLAGS="-Wall -pipe"
16088 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16089 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16090 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16091 echo $ECHO_N "(cached) $ECHO_C" >&6
16093 if test "$cross_compiling" = yes; then
16094 ac_cv_c_gcc_strength_bug="yes"
16096 cat >conftest.$ac_ext <<_ACEOF
16099 cat confdefs.h >>conftest.$ac_ext
16100 cat >>conftest.$ac_ext <<_ACEOF
16101 /* end confdefs.h. */
16102 int L[4] = {0,1,2,3};
16106 static int Array[3];
16107 unsigned int B = 3;
16109 for(i=0; i<B; i++) Array[i] = i - 3;
16110 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16112 exit( Array[1] != -2 || L[2] != 3)
16117 rm -f conftest$ac_exeext
16118 if { (ac_try="$ac_link"
16119 case "(($ac_try" in
16120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16121 *) ac_try_echo=$ac_try;;
16123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16124 (eval "$ac_link") 2>&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16128 { (case "(($ac_try" in
16129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16130 *) ac_try_echo=$ac_try;;
16132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16133 (eval "$ac_try") 2>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); }; }; then
16137 ac_cv_c_gcc_strength_bug="no"
16139 echo "$as_me: program exited with status $ac_status" >&5
16140 echo "$as_me: failed program was:" >&5
16141 sed 's/^/| /' conftest.$ac_ext >&5
16143 ( exit $ac_status )
16144 ac_cv_c_gcc_strength_bug="yes"
16146 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16151 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16152 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16153 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16155 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16159 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16160 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16161 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16162 echo $ECHO_N "(cached) $ECHO_C" >&6
16164 ac_wine_try_cflags_saved=$CFLAGS
16165 CFLAGS="$CFLAGS -fshort-wchar"
16166 cat >conftest.$ac_ext <<_ACEOF
16169 cat confdefs.h >>conftest.$ac_ext
16170 cat >>conftest.$ac_ext <<_ACEOF
16171 /* end confdefs.h. */
16181 rm -f conftest.$ac_objext conftest$ac_exeext
16182 if { (ac_try="$ac_link"
16183 case "(($ac_try" in
16184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16185 *) ac_try_echo=$ac_try;;
16187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16188 (eval "$ac_link") 2>conftest.er1
16190 grep -v '^ *+' conftest.er1 >conftest.err
16192 cat conftest.err >&5
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); } && {
16195 test -z "$ac_c_werror_flag" ||
16196 test ! -s conftest.err
16197 } && test -s conftest$ac_exeext &&
16198 $as_test_x conftest$ac_exeext; then
16199 ac_cv_cflags__fshort_wchar=yes
16201 echo "$as_me: failed program was:" >&5
16202 sed 's/^/| /' conftest.$ac_ext >&5
16204 ac_cv_cflags__fshort_wchar=no
16207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16208 conftest$ac_exeext conftest.$ac_ext
16209 CFLAGS=$ac_wine_try_cflags_saved
16211 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16212 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16213 if test $ac_cv_cflags__fshort_wchar = yes; then
16215 cat >>confdefs.h <<\_ACEOF
16216 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16221 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16222 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16223 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16224 echo $ECHO_N "(cached) $ECHO_C" >&6
16226 ac_wine_try_cflags_saved=$CFLAGS
16227 CFLAGS="$CFLAGS -fno-strict-aliasing"
16228 cat >conftest.$ac_ext <<_ACEOF
16231 cat confdefs.h >>conftest.$ac_ext
16232 cat >>conftest.$ac_ext <<_ACEOF
16233 /* end confdefs.h. */
16243 rm -f conftest.$ac_objext conftest$ac_exeext
16244 if { (ac_try="$ac_link"
16245 case "(($ac_try" in
16246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16247 *) ac_try_echo=$ac_try;;
16249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16250 (eval "$ac_link") 2>conftest.er1
16252 grep -v '^ *+' conftest.er1 >conftest.err
16254 cat conftest.err >&5
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); } && {
16257 test -z "$ac_c_werror_flag" ||
16258 test ! -s conftest.err
16259 } && test -s conftest$ac_exeext &&
16260 $as_test_x conftest$ac_exeext; then
16261 ac_cv_cflags__fno_strict_aliasing=yes
16263 echo "$as_me: failed program was:" >&5
16264 sed 's/^/| /' conftest.$ac_ext >&5
16266 ac_cv_cflags__fno_strict_aliasing=no
16269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16270 conftest$ac_exeext conftest.$ac_ext
16271 CFLAGS=$ac_wine_try_cflags_saved
16273 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16274 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16275 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16276 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16279 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16280 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16281 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16282 echo $ECHO_N "(cached) $ECHO_C" >&6
16284 ac_wine_try_cflags_saved=$CFLAGS
16285 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16286 cat >conftest.$ac_ext <<_ACEOF
16289 cat confdefs.h >>conftest.$ac_ext
16290 cat >>conftest.$ac_ext <<_ACEOF
16291 /* end confdefs.h. */
16301 rm -f conftest.$ac_objext conftest$ac_exeext
16302 if { (ac_try="$ac_link"
16303 case "(($ac_try" in
16304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16305 *) ac_try_echo=$ac_try;;
16307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16308 (eval "$ac_link") 2>conftest.er1
16310 grep -v '^ *+' conftest.er1 >conftest.err
16312 cat conftest.err >&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); } && {
16315 test -z "$ac_c_werror_flag" ||
16316 test ! -s conftest.err
16317 } && test -s conftest$ac_exeext &&
16318 $as_test_x conftest$ac_exeext; then
16319 ac_cv_cflags__Wdeclaration_after_statement=yes
16321 echo "$as_me: failed program was:" >&5
16322 sed 's/^/| /' conftest.$ac_ext >&5
16324 ac_cv_cflags__Wdeclaration_after_statement=no
16327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16328 conftest$ac_exeext conftest.$ac_ext
16329 CFLAGS=$ac_wine_try_cflags_saved
16331 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16332 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16333 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16334 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16337 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16338 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16339 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16340 echo $ECHO_N "(cached) $ECHO_C" >&6
16342 ac_wine_try_cflags_saved=$CFLAGS
16343 CFLAGS="$CFLAGS -Wwrite-strings"
16344 cat >conftest.$ac_ext <<_ACEOF
16347 cat confdefs.h >>conftest.$ac_ext
16348 cat >>conftest.$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16359 rm -f conftest.$ac_objext conftest$ac_exeext
16360 if { (ac_try="$ac_link"
16361 case "(($ac_try" in
16362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16363 *) ac_try_echo=$ac_try;;
16365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16366 (eval "$ac_link") 2>conftest.er1
16368 grep -v '^ *+' conftest.er1 >conftest.err
16370 cat conftest.err >&5
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); } && {
16373 test -z "$ac_c_werror_flag" ||
16374 test ! -s conftest.err
16375 } && test -s conftest$ac_exeext &&
16376 $as_test_x conftest$ac_exeext; then
16377 ac_cv_cflags__Wwrite_strings=yes
16379 echo "$as_me: failed program was:" >&5
16380 sed 's/^/| /' conftest.$ac_ext >&5
16382 ac_cv_cflags__Wwrite_strings=no
16385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16386 conftest$ac_exeext conftest.$ac_ext
16387 CFLAGS=$ac_wine_try_cflags_saved
16389 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16390 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16391 if test $ac_cv_cflags__Wwrite_strings = yes; then
16392 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16395 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16396 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16397 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16398 echo $ECHO_N "(cached) $ECHO_C" >&6
16400 ac_wine_try_cflags_saved=$CFLAGS
16401 CFLAGS="$CFLAGS -Wtype-limits"
16402 cat >conftest.$ac_ext <<_ACEOF
16405 cat confdefs.h >>conftest.$ac_ext
16406 cat >>conftest.$ac_ext <<_ACEOF
16407 /* end confdefs.h. */
16417 rm -f conftest.$ac_objext conftest$ac_exeext
16418 if { (ac_try="$ac_link"
16419 case "(($ac_try" in
16420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16421 *) ac_try_echo=$ac_try;;
16423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16424 (eval "$ac_link") 2>conftest.er1
16426 grep -v '^ *+' conftest.er1 >conftest.err
16428 cat conftest.err >&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); } && {
16431 test -z "$ac_c_werror_flag" ||
16432 test ! -s conftest.err
16433 } && test -s conftest$ac_exeext &&
16434 $as_test_x conftest$ac_exeext; then
16435 ac_cv_cflags__Wtype_limits=yes
16437 echo "$as_me: failed program was:" >&5
16438 sed 's/^/| /' conftest.$ac_ext >&5
16440 ac_cv_cflags__Wtype_limits=no
16443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16444 conftest$ac_exeext conftest.$ac_ext
16445 CFLAGS=$ac_wine_try_cflags_saved
16447 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16448 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16449 if test $ac_cv_cflags__Wtype_limits = yes; then
16450 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16454 saved_CFLAGS="$CFLAGS"
16455 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16456 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16457 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16458 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16459 echo $ECHO_N "(cached) $ECHO_C" >&6
16461 cat >conftest.$ac_ext <<_ACEOF
16464 cat confdefs.h >>conftest.$ac_ext
16465 cat >>conftest.$ac_ext <<_ACEOF
16466 /* end confdefs.h. */
16467 #include <string.h>
16476 rm -f conftest.$ac_objext
16477 if { (ac_try="$ac_compile"
16478 case "(($ac_try" in
16479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16480 *) ac_try_echo=$ac_try;;
16482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16483 (eval "$ac_compile") 2>conftest.er1
16485 grep -v '^ *+' conftest.er1 >conftest.err
16487 cat conftest.err >&5
16488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16489 (exit $ac_status); } && {
16490 test -z "$ac_c_werror_flag" ||
16491 test ! -s conftest.err
16492 } && test -s conftest.$ac_objext; then
16493 ac_cv_c_string_h_warnings=no
16495 echo "$as_me: failed program was:" >&5
16496 sed 's/^/| /' conftest.$ac_ext >&5
16498 ac_cv_c_string_h_warnings=yes
16501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16503 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16504 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16505 CFLAGS="$saved_CFLAGS"
16506 if test "$ac_cv_c_string_h_warnings" = "no"
16508 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16513 saved_CFLAGS="$CFLAGS"
16514 CFLAGS="$CFLAGS -Werror"
16515 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16516 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16517 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16518 echo $ECHO_N "(cached) $ECHO_C" >&6
16520 cat >conftest.$ac_ext <<_ACEOF
16523 cat confdefs.h >>conftest.$ac_ext
16524 cat >>conftest.$ac_ext <<_ACEOF
16525 /* end confdefs.h. */
16530 int iswlower(unsigned short);
16535 rm -f conftest.$ac_objext
16536 if { (ac_try="$ac_compile"
16537 case "(($ac_try" in
16538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16539 *) ac_try_echo=$ac_try;;
16541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16542 (eval "$ac_compile") 2>conftest.er1
16544 grep -v '^ *+' conftest.er1 >conftest.err
16546 cat conftest.err >&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); } && {
16549 test -z "$ac_c_werror_flag" ||
16550 test ! -s conftest.err
16551 } && test -s conftest.$ac_objext; then
16552 ac_cv_c_builtin_wchar_ctype=no
16554 echo "$as_me: failed program was:" >&5
16555 sed 's/^/| /' conftest.$ac_ext >&5
16557 ac_cv_c_builtin_wchar_ctype=yes
16560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16562 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16563 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16564 CFLAGS="$saved_CFLAGS"
16565 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16567 BUILTINFLAG="-fno-builtin"
16572 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16573 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16574 if test "${ac_cv_asm_func_def+set}" = set; then
16575 echo $ECHO_N "(cached) $ECHO_C" >&6
16577 cat >conftest.$ac_ext <<_ACEOF
16580 cat confdefs.h >>conftest.$ac_ext
16581 cat >>conftest.$ac_ext <<_ACEOF
16582 /* end confdefs.h. */
16587 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16592 rm -f conftest.$ac_objext conftest$ac_exeext
16593 if { (ac_try="$ac_link"
16594 case "(($ac_try" in
16595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16596 *) ac_try_echo=$ac_try;;
16598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16599 (eval "$ac_link") 2>conftest.er1
16601 grep -v '^ *+' conftest.er1 >conftest.err
16603 cat conftest.err >&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); } && {
16606 test -z "$ac_c_werror_flag" ||
16607 test ! -s conftest.err
16608 } && test -s conftest$ac_exeext &&
16609 $as_test_x conftest$ac_exeext; then
16610 ac_cv_asm_func_def=".def"
16612 echo "$as_me: failed program was:" >&5
16613 sed 's/^/| /' conftest.$ac_ext >&5
16615 cat >conftest.$ac_ext <<_ACEOF
16618 cat confdefs.h >>conftest.$ac_ext
16619 cat >>conftest.$ac_ext <<_ACEOF
16620 /* end confdefs.h. */
16625 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16630 rm -f conftest.$ac_objext conftest$ac_exeext
16631 if { (ac_try="$ac_link"
16632 case "(($ac_try" in
16633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16634 *) ac_try_echo=$ac_try;;
16636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16637 (eval "$ac_link") 2>conftest.er1
16639 grep -v '^ *+' conftest.er1 >conftest.err
16641 cat conftest.err >&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); } && {
16644 test -z "$ac_c_werror_flag" ||
16645 test ! -s conftest.err
16646 } && test -s conftest$ac_exeext &&
16647 $as_test_x conftest$ac_exeext; then
16648 ac_cv_asm_func_def=".type @function"
16650 echo "$as_me: failed program was:" >&5
16651 sed 's/^/| /' conftest.$ac_ext >&5
16653 cat >conftest.$ac_ext <<_ACEOF
16656 cat confdefs.h >>conftest.$ac_ext
16657 cat >>conftest.$ac_ext <<_ACEOF
16658 /* end confdefs.h. */
16663 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16668 rm -f conftest.$ac_objext conftest$ac_exeext
16669 if { (ac_try="$ac_link"
16670 case "(($ac_try" in
16671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16672 *) ac_try_echo=$ac_try;;
16674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16675 (eval "$ac_link") 2>conftest.er1
16677 grep -v '^ *+' conftest.er1 >conftest.err
16679 cat conftest.err >&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); } && {
16682 test -z "$ac_c_werror_flag" ||
16683 test ! -s conftest.err
16684 } && test -s conftest$ac_exeext &&
16685 $as_test_x conftest$ac_exeext; then
16686 ac_cv_asm_func_def=".type 2"
16688 echo "$as_me: failed program was:" >&5
16689 sed 's/^/| /' conftest.$ac_ext >&5
16691 ac_cv_asm_func_def="unknown"
16694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16695 conftest$ac_exeext conftest.$ac_ext
16698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16699 conftest$ac_exeext conftest.$ac_ext
16702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16703 conftest$ac_exeext conftest.$ac_ext
16705 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16706 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16710 case "$ac_cv_asm_func_def" in
16712 cat >>confdefs.h <<\_ACEOF
16713 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16717 cat >>confdefs.h <<\_ACEOF
16718 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16722 cat >>confdefs.h <<\_ACEOF
16723 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16727 cat >>confdefs.h <<\_ACEOF
16728 #define __ASM_FUNC(name) ""
16734 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16735 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16736 if test "${ac_cv_c_extern_prefix+set}" = set; then
16737 echo $ECHO_N "(cached) $ECHO_C" >&6
16739 cat >conftest.$ac_ext <<_ACEOF
16742 cat confdefs.h >>conftest.$ac_ext
16743 cat >>conftest.$ac_ext <<_ACEOF
16744 /* end confdefs.h. */
16745 extern int ac_test;
16749 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16754 rm -f conftest.$ac_objext conftest$ac_exeext
16755 if { (ac_try="$ac_link"
16756 case "(($ac_try" in
16757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16758 *) ac_try_echo=$ac_try;;
16760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16761 (eval "$ac_link") 2>conftest.er1
16763 grep -v '^ *+' conftest.er1 >conftest.err
16765 cat conftest.err >&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); } && {
16768 test -z "$ac_c_werror_flag" ||
16769 test ! -s conftest.err
16770 } && test -s conftest$ac_exeext &&
16771 $as_test_x conftest$ac_exeext; then
16772 ac_cv_c_extern_prefix="yes"
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.$ac_ext >&5
16777 ac_cv_c_extern_prefix="no"
16780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16781 conftest$ac_exeext conftest.$ac_ext
16783 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16784 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16788 if test "$ac_cv_c_extern_prefix" = "yes"
16790 cat >>confdefs.h <<\_ACEOF
16791 #define __ASM_NAME(name) "_" name
16795 cat >>confdefs.h <<\_ACEOF
16796 #define __ASM_NAME(name) name
16806 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16810 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16812 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16816 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16824 SOCKETLIBS="-lws2_32"
16829 MAIN_BINARY="wine-pthread"
16833 linux* | k*bsd*-gnu)
16834 MAIN_BINARY="wine-glibc"
16836 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16839 MAIN_BINARY="wine-freebsd"
16841 EXTRA_BINARIES="wine-pthread"
16989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16990 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16992 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16993 echo $ECHO_N "(cached) $ECHO_C" >&6
16995 cat >conftest.$ac_ext <<_ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17003 #define $ac_func innocuous_$ac_func
17005 /* System header to define __stub macros and hopefully few prototypes,
17006 which can conflict with char $ac_func (); below.
17007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17008 <limits.h> exists even on freestanding compilers. */
17011 # include <limits.h>
17013 # include <assert.h>
17018 /* Override any GCC internal prototype to avoid an error.
17019 Use char because int might match the return type of a GCC
17020 builtin and then its argument prototype would still apply. */
17025 /* The GNU C library defines this for functions which it implements
17026 to always fail with ENOSYS. Some functions are actually named
17027 something starting with __ and the normal name is an alias. */
17028 #if defined __stub_$ac_func || defined __stub___$ac_func
17035 return $ac_func ();
17040 rm -f conftest.$ac_objext conftest$ac_exeext
17041 if { (ac_try="$ac_link"
17042 case "(($ac_try" in
17043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17044 *) ac_try_echo=$ac_try;;
17046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17047 (eval "$ac_link") 2>conftest.er1
17049 grep -v '^ *+' conftest.er1 >conftest.err
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } && {
17054 test -z "$ac_c_werror_flag" ||
17055 test ! -s conftest.err
17056 } && test -s conftest$ac_exeext &&
17057 $as_test_x conftest$ac_exeext; then
17058 eval "$as_ac_var=yes"
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17063 eval "$as_ac_var=no"
17066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17067 conftest$ac_exeext conftest.$ac_ext
17069 ac_res=`eval echo '${'$as_ac_var'}'`
17070 { echo "$as_me:$LINENO: result: $ac_res" >&5
17071 echo "${ECHO_T}$ac_res" >&6; }
17072 if test `eval echo '${'$as_ac_var'}'` = yes; then
17073 cat >>confdefs.h <<_ACEOF
17074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17081 if test "$ac_cv_func_dlopen" = no
17083 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17084 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17085 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17086 echo $ECHO_N "(cached) $ECHO_C" >&6
17088 ac_check_lib_save_LIBS=$LIBS
17090 cat >conftest.$ac_ext <<_ACEOF
17093 cat confdefs.h >>conftest.$ac_ext
17094 cat >>conftest.$ac_ext <<_ACEOF
17095 /* end confdefs.h. */
17097 /* Override any GCC internal prototype to avoid an error.
17098 Use char because int might match the return type of a GCC
17099 builtin and then its argument prototype would still apply. */
17112 rm -f conftest.$ac_objext conftest$ac_exeext
17113 if { (ac_try="$ac_link"
17114 case "(($ac_try" in
17115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17116 *) ac_try_echo=$ac_try;;
17118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17119 (eval "$ac_link") 2>conftest.er1
17121 grep -v '^ *+' conftest.er1 >conftest.err
17123 cat conftest.err >&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); } && {
17126 test -z "$ac_c_werror_flag" ||
17127 test ! -s conftest.err
17128 } && test -s conftest$ac_exeext &&
17129 $as_test_x conftest$ac_exeext; then
17130 ac_cv_lib_dl_dlopen=yes
17132 echo "$as_me: failed program was:" >&5
17133 sed 's/^/| /' conftest.$ac_ext >&5
17135 ac_cv_lib_dl_dlopen=no
17138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17139 conftest$ac_exeext conftest.$ac_ext
17140 LIBS=$ac_check_lib_save_LIBS
17142 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17143 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17144 if test $ac_cv_lib_dl_dlopen = yes; then
17145 cat >>confdefs.h <<\_ACEOF
17146 #define HAVE_DLOPEN 1
17153 ac_wine_check_funcs_save_LIBS="$LIBS"
17154 LIBS="$LIBS $LIBDL"
17156 for ac_func in dladdr
17158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17159 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17161 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17162 echo $ECHO_N "(cached) $ECHO_C" >&6
17164 cat >conftest.$ac_ext <<_ACEOF
17167 cat confdefs.h >>conftest.$ac_ext
17168 cat >>conftest.$ac_ext <<_ACEOF
17169 /* end confdefs.h. */
17170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17172 #define $ac_func innocuous_$ac_func
17174 /* System header to define __stub macros and hopefully few prototypes,
17175 which can conflict with char $ac_func (); below.
17176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17177 <limits.h> exists even on freestanding compilers. */
17180 # include <limits.h>
17182 # include <assert.h>
17187 /* Override any GCC internal prototype to avoid an error.
17188 Use char because int might match the return type of a GCC
17189 builtin and then its argument prototype would still apply. */
17194 /* The GNU C library defines this for functions which it implements
17195 to always fail with ENOSYS. Some functions are actually named
17196 something starting with __ and the normal name is an alias. */
17197 #if defined __stub_$ac_func || defined __stub___$ac_func
17204 return $ac_func ();
17209 rm -f conftest.$ac_objext conftest$ac_exeext
17210 if { (ac_try="$ac_link"
17211 case "(($ac_try" in
17212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17213 *) ac_try_echo=$ac_try;;
17215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17216 (eval "$ac_link") 2>conftest.er1
17218 grep -v '^ *+' conftest.er1 >conftest.err
17220 cat conftest.err >&5
17221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222 (exit $ac_status); } && {
17223 test -z "$ac_c_werror_flag" ||
17224 test ! -s conftest.err
17225 } && test -s conftest$ac_exeext &&
17226 $as_test_x conftest$ac_exeext; then
17227 eval "$as_ac_var=yes"
17229 echo "$as_me: failed program was:" >&5
17230 sed 's/^/| /' conftest.$ac_ext >&5
17232 eval "$as_ac_var=no"
17235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17236 conftest$ac_exeext conftest.$ac_ext
17238 ac_res=`eval echo '${'$as_ac_var'}'`
17239 { echo "$as_me:$LINENO: result: $ac_res" >&5
17240 echo "${ECHO_T}$ac_res" >&6; }
17241 if test `eval echo '${'$as_ac_var'}'` = yes; then
17242 cat >>confdefs.h <<_ACEOF
17243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17249 LIBS="$ac_wine_check_funcs_save_LIBS"
17251 if test "$ac_cv_func_poll" = no
17253 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17254 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17255 if test "${ac_cv_lib_poll_poll+set}" = set; then
17256 echo $ECHO_N "(cached) $ECHO_C" >&6
17258 ac_check_lib_save_LIBS=$LIBS
17259 LIBS="-lpoll $LIBS"
17260 cat >conftest.$ac_ext <<_ACEOF
17263 cat confdefs.h >>conftest.$ac_ext
17264 cat >>conftest.$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17267 /* Override any GCC internal prototype to avoid an error.
17268 Use char because int might match the return type of a GCC
17269 builtin and then its argument prototype would still apply. */
17282 rm -f conftest.$ac_objext conftest$ac_exeext
17283 if { (ac_try="$ac_link"
17284 case "(($ac_try" in
17285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17286 *) ac_try_echo=$ac_try;;
17288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17289 (eval "$ac_link") 2>conftest.er1
17291 grep -v '^ *+' conftest.er1 >conftest.err
17293 cat conftest.err >&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); } && {
17296 test -z "$ac_c_werror_flag" ||
17297 test ! -s conftest.err
17298 } && test -s conftest$ac_exeext &&
17299 $as_test_x conftest$ac_exeext; then
17300 ac_cv_lib_poll_poll=yes
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.$ac_ext >&5
17305 ac_cv_lib_poll_poll=no
17308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17309 conftest$ac_exeext conftest.$ac_ext
17310 LIBS=$ac_check_lib_save_LIBS
17312 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17313 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17314 if test $ac_cv_lib_poll_poll = yes; then
17315 cat >>confdefs.h <<\_ACEOF
17316 #define HAVE_POLL 1
17324 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17325 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17326 if test "${ac_cv_search_gethostbyname+set}" = set; then
17327 echo $ECHO_N "(cached) $ECHO_C" >&6
17329 ac_func_search_save_LIBS=$LIBS
17330 cat >conftest.$ac_ext <<_ACEOF
17333 cat confdefs.h >>conftest.$ac_ext
17334 cat >>conftest.$ac_ext <<_ACEOF
17335 /* end confdefs.h. */
17337 /* Override any GCC internal prototype to avoid an error.
17338 Use char because int might match the return type of a GCC
17339 builtin and then its argument prototype would still apply. */
17343 char gethostbyname ();
17347 return gethostbyname ();
17352 for ac_lib in '' nsl; do
17353 if test -z "$ac_lib"; then
17354 ac_res="none required"
17357 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17359 rm -f conftest.$ac_objext conftest$ac_exeext
17360 if { (ac_try="$ac_link"
17361 case "(($ac_try" in
17362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17363 *) ac_try_echo=$ac_try;;
17365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17366 (eval "$ac_link") 2>conftest.er1
17368 grep -v '^ *+' conftest.er1 >conftest.err
17370 cat conftest.err >&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } && {
17373 test -z "$ac_c_werror_flag" ||
17374 test ! -s conftest.err
17375 } && test -s conftest$ac_exeext &&
17376 $as_test_x conftest$ac_exeext; then
17377 ac_cv_search_gethostbyname=$ac_res
17379 echo "$as_me: failed program was:" >&5
17380 sed 's/^/| /' conftest.$ac_ext >&5
17385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17387 if test "${ac_cv_search_gethostbyname+set}" = set; then
17391 if test "${ac_cv_search_gethostbyname+set}" = set; then
17394 ac_cv_search_gethostbyname=no
17396 rm conftest.$ac_ext
17397 LIBS=$ac_func_search_save_LIBS
17399 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17400 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17401 ac_res=$ac_cv_search_gethostbyname
17402 if test "$ac_res" != no; then
17403 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17408 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17409 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17410 if test "${ac_cv_search_connect+set}" = set; then
17411 echo $ECHO_N "(cached) $ECHO_C" >&6
17413 ac_func_search_save_LIBS=$LIBS
17414 cat >conftest.$ac_ext <<_ACEOF
17417 cat confdefs.h >>conftest.$ac_ext
17418 cat >>conftest.$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17421 /* Override any GCC internal prototype to avoid an error.
17422 Use char because int might match the return type of a GCC
17423 builtin and then its argument prototype would still apply. */
17436 for ac_lib in '' socket; do
17437 if test -z "$ac_lib"; then
17438 ac_res="none required"
17441 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17443 rm -f conftest.$ac_objext conftest$ac_exeext
17444 if { (ac_try="$ac_link"
17445 case "(($ac_try" in
17446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17447 *) ac_try_echo=$ac_try;;
17449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17450 (eval "$ac_link") 2>conftest.er1
17452 grep -v '^ *+' conftest.er1 >conftest.err
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } && {
17457 test -z "$ac_c_werror_flag" ||
17458 test ! -s conftest.err
17459 } && test -s conftest$ac_exeext &&
17460 $as_test_x conftest$ac_exeext; then
17461 ac_cv_search_connect=$ac_res
17463 echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.$ac_ext >&5
17469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17471 if test "${ac_cv_search_connect+set}" = set; then
17475 if test "${ac_cv_search_connect+set}" = set; then
17478 ac_cv_search_connect=no
17480 rm conftest.$ac_ext
17481 LIBS=$ac_func_search_save_LIBS
17483 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17484 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17485 ac_res=$ac_cv_search_connect
17486 if test "$ac_res" != no; then
17487 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17492 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17493 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17494 if test "${ac_cv_search_inet_aton+set}" = set; then
17495 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 ac_func_search_save_LIBS=$LIBS
17498 cat >conftest.$ac_ext <<_ACEOF
17501 cat confdefs.h >>conftest.$ac_ext
17502 cat >>conftest.$ac_ext <<_ACEOF
17503 /* end confdefs.h. */
17505 /* Override any GCC internal prototype to avoid an error.
17506 Use char because int might match the return type of a GCC
17507 builtin and then its argument prototype would still apply. */
17515 return inet_aton ();
17520 for ac_lib in '' resolv; do
17521 if test -z "$ac_lib"; then
17522 ac_res="none required"
17525 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17527 rm -f conftest.$ac_objext conftest$ac_exeext
17528 if { (ac_try="$ac_link"
17529 case "(($ac_try" in
17530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17531 *) ac_try_echo=$ac_try;;
17533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17534 (eval "$ac_link") 2>conftest.er1
17536 grep -v '^ *+' conftest.er1 >conftest.err
17538 cat conftest.err >&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); } && {
17541 test -z "$ac_c_werror_flag" ||
17542 test ! -s conftest.err
17543 } && test -s conftest$ac_exeext &&
17544 $as_test_x conftest$ac_exeext; then
17545 ac_cv_search_inet_aton=$ac_res
17547 echo "$as_me: failed program was:" >&5
17548 sed 's/^/| /' conftest.$ac_ext >&5
17553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17555 if test "${ac_cv_search_inet_aton+set}" = set; then
17559 if test "${ac_cv_search_inet_aton+set}" = set; then
17562 ac_cv_search_inet_aton=no
17564 rm conftest.$ac_ext
17565 LIBS=$ac_func_search_save_LIBS
17567 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17568 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17569 ac_res=$ac_cv_search_inet_aton
17570 if test "$ac_res" != no; then
17571 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17596 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17598 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17599 echo $ECHO_N "(cached) $ECHO_C" >&6
17601 cat >conftest.$ac_ext <<_ACEOF
17604 cat confdefs.h >>conftest.$ac_ext
17605 cat >>conftest.$ac_ext <<_ACEOF
17606 /* end confdefs.h. */
17607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17609 #define $ac_func innocuous_$ac_func
17611 /* System header to define __stub macros and hopefully few prototypes,
17612 which can conflict with char $ac_func (); below.
17613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17614 <limits.h> exists even on freestanding compilers. */
17617 # include <limits.h>
17619 # include <assert.h>
17624 /* Override any GCC internal prototype to avoid an error.
17625 Use char because int might match the return type of a GCC
17626 builtin and then its argument prototype would still apply. */
17631 /* The GNU C library defines this for functions which it implements
17632 to always fail with ENOSYS. Some functions are actually named
17633 something starting with __ and the normal name is an alias. */
17634 #if defined __stub_$ac_func || defined __stub___$ac_func
17641 return $ac_func ();
17646 rm -f conftest.$ac_objext conftest$ac_exeext
17647 if { (ac_try="$ac_link"
17648 case "(($ac_try" in
17649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17650 *) ac_try_echo=$ac_try;;
17652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17653 (eval "$ac_link") 2>conftest.er1
17655 grep -v '^ *+' conftest.er1 >conftest.err
17657 cat conftest.err >&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); } && {
17660 test -z "$ac_c_werror_flag" ||
17661 test ! -s conftest.err
17662 } && test -s conftest$ac_exeext &&
17663 $as_test_x conftest$ac_exeext; then
17664 eval "$as_ac_var=yes"
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17669 eval "$as_ac_var=no"
17672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17673 conftest$ac_exeext conftest.$ac_ext
17675 ac_res=`eval echo '${'$as_ac_var'}'`
17676 { echo "$as_me:$LINENO: result: $ac_res" >&5
17677 echo "${ECHO_T}$ac_res" >&6; }
17678 if test `eval echo '${'$as_ac_var'}'` = yes; then
17679 cat >>confdefs.h <<_ACEOF
17680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17688 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17689 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17690 if test "${ac_cv_c_const+set}" = set; then
17691 echo $ECHO_N "(cached) $ECHO_C" >&6
17693 cat >conftest.$ac_ext <<_ACEOF
17696 cat confdefs.h >>conftest.$ac_ext
17697 cat >>conftest.$ac_ext <<_ACEOF
17698 /* end confdefs.h. */
17703 /* FIXME: Include the comments suggested by Paul. */
17704 #ifndef __cplusplus
17705 /* Ultrix mips cc rejects this. */
17706 typedef int charset[2];
17708 /* SunOS 4.1.1 cc rejects this. */
17709 char const *const *pcpcc;
17711 /* NEC SVR4.0.2 mips cc rejects this. */
17712 struct point {int x, y;};
17713 static struct point const zero = {0,0};
17714 /* AIX XL C 1.02.0.0 rejects this.
17715 It does not let you subtract one const X* pointer from another in
17716 an arm of an if-expression whose if-part is not a constant
17718 const char *g = "string";
17719 pcpcc = &g + (g ? g-g : 0);
17720 /* HPUX 7.0 cc rejects these. */
17722 ppc = (char**) pcpcc;
17723 pcpcc = (char const *const *) ppc;
17724 { /* SCO 3.2v4 cc rejects this. */
17726 char const *s = 0 ? (char *) 0 : (char const *) 0;
17731 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17732 int x[] = {25, 17};
17733 const int *foo = &x[0];
17736 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17737 typedef const int *iptr;
17741 { /* AIX XL C 1.02.0.0 rejects this saying
17742 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17743 struct s { int j; const int *ap[3]; };
17744 struct s *b; b->j = 5;
17746 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17747 const int foo = 10;
17748 if (!foo) return 0;
17750 return !cs[0] && !zero.x;
17757 rm -f conftest.$ac_objext
17758 if { (ac_try="$ac_compile"
17759 case "(($ac_try" in
17760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17761 *) ac_try_echo=$ac_try;;
17763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17764 (eval "$ac_compile") 2>conftest.er1
17766 grep -v '^ *+' conftest.er1 >conftest.err
17768 cat conftest.err >&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); } && {
17771 test -z "$ac_c_werror_flag" ||
17772 test ! -s conftest.err
17773 } && test -s conftest.$ac_objext; then
17776 echo "$as_me: failed program was:" >&5
17777 sed 's/^/| /' conftest.$ac_ext >&5
17782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17784 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17785 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17786 if test $ac_cv_c_const = no; then
17788 cat >>confdefs.h <<\_ACEOF
17794 { echo "$as_me:$LINENO: checking for inline" >&5
17795 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17796 if test "${ac_cv_c_inline+set}" = set; then
17797 echo $ECHO_N "(cached) $ECHO_C" >&6
17800 for ac_kw in inline __inline__ __inline; do
17801 cat >conftest.$ac_ext <<_ACEOF
17804 cat confdefs.h >>conftest.$ac_ext
17805 cat >>conftest.$ac_ext <<_ACEOF
17806 /* end confdefs.h. */
17807 #ifndef __cplusplus
17809 static $ac_kw foo_t static_foo () {return 0; }
17810 $ac_kw foo_t foo () {return 0; }
17814 rm -f conftest.$ac_objext
17815 if { (ac_try="$ac_compile"
17816 case "(($ac_try" in
17817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17818 *) ac_try_echo=$ac_try;;
17820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17821 (eval "$ac_compile") 2>conftest.er1
17823 grep -v '^ *+' conftest.er1 >conftest.err
17825 cat conftest.err >&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); } && {
17828 test -z "$ac_c_werror_flag" ||
17829 test ! -s conftest.err
17830 } && test -s conftest.$ac_objext; then
17831 ac_cv_c_inline=$ac_kw
17833 echo "$as_me: failed program was:" >&5
17834 sed 's/^/| /' conftest.$ac_ext >&5
17839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17840 test "$ac_cv_c_inline" != no && break
17844 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17845 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17848 case $ac_cv_c_inline in
17851 case $ac_cv_c_inline in
17853 *) ac_val=$ac_cv_c_inline;;
17855 cat >>confdefs.h <<_ACEOF
17856 #ifndef __cplusplus
17857 #define inline $ac_val
17863 { echo "$as_me:$LINENO: checking for mode_t" >&5
17864 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17865 if test "${ac_cv_type_mode_t+set}" = set; then
17866 echo $ECHO_N "(cached) $ECHO_C" >&6
17868 cat >conftest.$ac_ext <<_ACEOF
17871 cat confdefs.h >>conftest.$ac_ext
17872 cat >>conftest.$ac_ext <<_ACEOF
17873 /* end confdefs.h. */
17874 $ac_includes_default
17875 typedef mode_t ac__type_new_;
17879 if ((ac__type_new_ *) 0)
17881 if (sizeof (ac__type_new_))
17887 rm -f conftest.$ac_objext
17888 if { (ac_try="$ac_compile"
17889 case "(($ac_try" in
17890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17891 *) ac_try_echo=$ac_try;;
17893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17894 (eval "$ac_compile") 2>conftest.er1
17896 grep -v '^ *+' conftest.er1 >conftest.err
17898 cat conftest.err >&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } && {
17901 test -z "$ac_c_werror_flag" ||
17902 test ! -s conftest.err
17903 } && test -s conftest.$ac_objext; then
17904 ac_cv_type_mode_t=yes
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.$ac_ext >&5
17909 ac_cv_type_mode_t=no
17912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17914 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17915 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17916 if test $ac_cv_type_mode_t = yes; then
17918 cat >>confdefs.h <<_ACEOF
17919 #define HAVE_MODE_T 1
17924 { echo "$as_me:$LINENO: checking for off_t" >&5
17925 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17926 if test "${ac_cv_type_off_t+set}" = set; then
17927 echo $ECHO_N "(cached) $ECHO_C" >&6
17929 cat >conftest.$ac_ext <<_ACEOF
17932 cat confdefs.h >>conftest.$ac_ext
17933 cat >>conftest.$ac_ext <<_ACEOF
17934 /* end confdefs.h. */
17935 $ac_includes_default
17936 typedef off_t ac__type_new_;
17940 if ((ac__type_new_ *) 0)
17942 if (sizeof (ac__type_new_))
17948 rm -f conftest.$ac_objext
17949 if { (ac_try="$ac_compile"
17950 case "(($ac_try" in
17951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17952 *) ac_try_echo=$ac_try;;
17954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17955 (eval "$ac_compile") 2>conftest.er1
17957 grep -v '^ *+' conftest.er1 >conftest.err
17959 cat conftest.err >&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); } && {
17962 test -z "$ac_c_werror_flag" ||
17963 test ! -s conftest.err
17964 } && test -s conftest.$ac_objext; then
17965 ac_cv_type_off_t=yes
17967 echo "$as_me: failed program was:" >&5
17968 sed 's/^/| /' conftest.$ac_ext >&5
17970 ac_cv_type_off_t=no
17973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17975 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17976 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17977 if test $ac_cv_type_off_t = yes; then
17979 cat >>confdefs.h <<_ACEOF
17980 #define HAVE_OFF_T 1
17985 { echo "$as_me:$LINENO: checking for pid_t" >&5
17986 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17987 if test "${ac_cv_type_pid_t+set}" = set; then
17988 echo $ECHO_N "(cached) $ECHO_C" >&6
17990 cat >conftest.$ac_ext <<_ACEOF
17993 cat confdefs.h >>conftest.$ac_ext
17994 cat >>conftest.$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
17996 $ac_includes_default
17997 typedef pid_t ac__type_new_;
18001 if ((ac__type_new_ *) 0)
18003 if (sizeof (ac__type_new_))
18009 rm -f conftest.$ac_objext
18010 if { (ac_try="$ac_compile"
18011 case "(($ac_try" in
18012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18013 *) ac_try_echo=$ac_try;;
18015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18016 (eval "$ac_compile") 2>conftest.er1
18018 grep -v '^ *+' conftest.er1 >conftest.err
18020 cat conftest.err >&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); } && {
18023 test -z "$ac_c_werror_flag" ||
18024 test ! -s conftest.err
18025 } && test -s conftest.$ac_objext; then
18026 ac_cv_type_pid_t=yes
18028 echo "$as_me: failed program was:" >&5
18029 sed 's/^/| /' conftest.$ac_ext >&5
18031 ac_cv_type_pid_t=no
18034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18036 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18037 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18038 if test $ac_cv_type_pid_t = yes; then
18040 cat >>confdefs.h <<_ACEOF
18041 #define HAVE_PID_T 1
18046 { echo "$as_me:$LINENO: checking for size_t" >&5
18047 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18048 if test "${ac_cv_type_size_t+set}" = set; then
18049 echo $ECHO_N "(cached) $ECHO_C" >&6
18051 cat >conftest.$ac_ext <<_ACEOF
18054 cat confdefs.h >>conftest.$ac_ext
18055 cat >>conftest.$ac_ext <<_ACEOF
18056 /* end confdefs.h. */
18057 $ac_includes_default
18058 typedef size_t ac__type_new_;
18062 if ((ac__type_new_ *) 0)
18064 if (sizeof (ac__type_new_))
18070 rm -f conftest.$ac_objext
18071 if { (ac_try="$ac_compile"
18072 case "(($ac_try" in
18073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18074 *) ac_try_echo=$ac_try;;
18076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18077 (eval "$ac_compile") 2>conftest.er1
18079 grep -v '^ *+' conftest.er1 >conftest.err
18081 cat conftest.err >&5
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); } && {
18084 test -z "$ac_c_werror_flag" ||
18085 test ! -s conftest.err
18086 } && test -s conftest.$ac_objext; then
18087 ac_cv_type_size_t=yes
18089 echo "$as_me: failed program was:" >&5
18090 sed 's/^/| /' conftest.$ac_ext >&5
18092 ac_cv_type_size_t=no
18095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18097 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18098 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18099 if test $ac_cv_type_size_t = yes; then
18101 cat >>confdefs.h <<_ACEOF
18102 #define HAVE_SIZE_T 1
18107 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18108 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18109 if test "${ac_cv_type_ssize_t+set}" = set; then
18110 echo $ECHO_N "(cached) $ECHO_C" >&6
18112 cat >conftest.$ac_ext <<_ACEOF
18115 cat confdefs.h >>conftest.$ac_ext
18116 cat >>conftest.$ac_ext <<_ACEOF
18117 /* end confdefs.h. */
18118 $ac_includes_default
18119 typedef ssize_t ac__type_new_;
18123 if ((ac__type_new_ *) 0)
18125 if (sizeof (ac__type_new_))
18131 rm -f conftest.$ac_objext
18132 if { (ac_try="$ac_compile"
18133 case "(($ac_try" in
18134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18135 *) ac_try_echo=$ac_try;;
18137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18138 (eval "$ac_compile") 2>conftest.er1
18140 grep -v '^ *+' conftest.er1 >conftest.err
18142 cat conftest.err >&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); } && {
18145 test -z "$ac_c_werror_flag" ||
18146 test ! -s conftest.err
18147 } && test -s conftest.$ac_objext; then
18148 ac_cv_type_ssize_t=yes
18150 echo "$as_me: failed program was:" >&5
18151 sed 's/^/| /' conftest.$ac_ext >&5
18153 ac_cv_type_ssize_t=no
18156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18158 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18159 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18160 if test $ac_cv_type_ssize_t = yes; then
18162 cat >>confdefs.h <<_ACEOF
18163 #define HAVE_SSIZE_T 1
18168 { echo "$as_me:$LINENO: checking for long long" >&5
18169 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18170 if test "${ac_cv_type_long_long+set}" = set; then
18171 echo $ECHO_N "(cached) $ECHO_C" >&6
18173 cat >conftest.$ac_ext <<_ACEOF
18176 cat confdefs.h >>conftest.$ac_ext
18177 cat >>conftest.$ac_ext <<_ACEOF
18178 /* end confdefs.h. */
18179 $ac_includes_default
18180 typedef long long ac__type_new_;
18184 if ((ac__type_new_ *) 0)
18186 if (sizeof (ac__type_new_))
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_type_long_long=yes
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18214 ac_cv_type_long_long=no
18217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18220 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18221 if test $ac_cv_type_long_long = yes; then
18223 cat >>confdefs.h <<_ACEOF
18224 #define HAVE_LONG_LONG 1
18229 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18230 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18231 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18234 cat >conftest.$ac_ext <<_ACEOF
18237 cat confdefs.h >>conftest.$ac_ext
18238 cat >>conftest.$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18240 $ac_includes_default
18241 typedef fsblkcnt_t ac__type_new_;
18245 if ((ac__type_new_ *) 0)
18247 if (sizeof (ac__type_new_))
18253 rm -f conftest.$ac_objext
18254 if { (ac_try="$ac_compile"
18255 case "(($ac_try" in
18256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18257 *) ac_try_echo=$ac_try;;
18259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18260 (eval "$ac_compile") 2>conftest.er1
18262 grep -v '^ *+' conftest.er1 >conftest.err
18264 cat conftest.err >&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } && {
18267 test -z "$ac_c_werror_flag" ||
18268 test ! -s conftest.err
18269 } && test -s conftest.$ac_objext; then
18270 ac_cv_type_fsblkcnt_t=yes
18272 echo "$as_me: failed program was:" >&5
18273 sed 's/^/| /' conftest.$ac_ext >&5
18275 ac_cv_type_fsblkcnt_t=no
18278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18280 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18281 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18282 if test $ac_cv_type_fsblkcnt_t = yes; then
18284 cat >>confdefs.h <<_ACEOF
18285 #define HAVE_FSBLKCNT_T 1
18290 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18291 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18292 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18293 echo $ECHO_N "(cached) $ECHO_C" >&6
18295 cat >conftest.$ac_ext <<_ACEOF
18298 cat confdefs.h >>conftest.$ac_ext
18299 cat >>conftest.$ac_ext <<_ACEOF
18300 /* end confdefs.h. */
18301 $ac_includes_default
18302 typedef fsfilcnt_t ac__type_new_;
18306 if ((ac__type_new_ *) 0)
18308 if (sizeof (ac__type_new_))
18314 rm -f conftest.$ac_objext
18315 if { (ac_try="$ac_compile"
18316 case "(($ac_try" in
18317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18318 *) ac_try_echo=$ac_try;;
18320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18321 (eval "$ac_compile") 2>conftest.er1
18323 grep -v '^ *+' conftest.er1 >conftest.err
18325 cat conftest.err >&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); } && {
18328 test -z "$ac_c_werror_flag" ||
18329 test ! -s conftest.err
18330 } && test -s conftest.$ac_objext; then
18331 ac_cv_type_fsfilcnt_t=yes
18333 echo "$as_me: failed program was:" >&5
18334 sed 's/^/| /' conftest.$ac_ext >&5
18336 ac_cv_type_fsfilcnt_t=no
18339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18341 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18342 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18343 if test $ac_cv_type_fsfilcnt_t = yes; then
18345 cat >>confdefs.h <<_ACEOF
18346 #define HAVE_FSFILCNT_T 1
18352 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18353 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18354 if test "${ac_cv_type_sigset_t+set}" = set; then
18355 echo $ECHO_N "(cached) $ECHO_C" >&6
18357 cat >conftest.$ac_ext <<_ACEOF
18360 cat confdefs.h >>conftest.$ac_ext
18361 cat >>conftest.$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18363 #include <signal.h>
18365 typedef sigset_t ac__type_new_;
18369 if ((ac__type_new_ *) 0)
18371 if (sizeof (ac__type_new_))
18377 rm -f conftest.$ac_objext
18378 if { (ac_try="$ac_compile"
18379 case "(($ac_try" in
18380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18381 *) ac_try_echo=$ac_try;;
18383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18384 (eval "$ac_compile") 2>conftest.er1
18386 grep -v '^ *+' conftest.er1 >conftest.err
18388 cat conftest.err >&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); } && {
18391 test -z "$ac_c_werror_flag" ||
18392 test ! -s conftest.err
18393 } && test -s conftest.$ac_objext; then
18394 ac_cv_type_sigset_t=yes
18396 echo "$as_me: failed program was:" >&5
18397 sed 's/^/| /' conftest.$ac_ext >&5
18399 ac_cv_type_sigset_t=no
18402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18404 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18405 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18406 if test $ac_cv_type_sigset_t = yes; then
18408 cat >>confdefs.h <<_ACEOF
18409 #define HAVE_SIGSET_T 1
18415 { echo "$as_me:$LINENO: checking for request_sense" >&5
18416 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18417 if test "${ac_cv_type_request_sense+set}" = set; then
18418 echo $ECHO_N "(cached) $ECHO_C" >&6
18420 cat >conftest.$ac_ext <<_ACEOF
18423 cat confdefs.h >>conftest.$ac_ext
18424 cat >>conftest.$ac_ext <<_ACEOF
18425 /* end confdefs.h. */
18426 #include <linux/cdrom.h>
18428 typedef request_sense ac__type_new_;
18432 if ((ac__type_new_ *) 0)
18434 if (sizeof (ac__type_new_))
18440 rm -f conftest.$ac_objext
18441 if { (ac_try="$ac_compile"
18442 case "(($ac_try" in
18443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18444 *) ac_try_echo=$ac_try;;
18446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18447 (eval "$ac_compile") 2>conftest.er1
18449 grep -v '^ *+' conftest.er1 >conftest.err
18451 cat conftest.err >&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); } && {
18454 test -z "$ac_c_werror_flag" ||
18455 test ! -s conftest.err
18456 } && test -s conftest.$ac_objext; then
18457 ac_cv_type_request_sense=yes
18459 echo "$as_me: failed program was:" >&5
18460 sed 's/^/| /' conftest.$ac_ext >&5
18462 ac_cv_type_request_sense=no
18465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18467 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18468 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18469 if test $ac_cv_type_request_sense = yes; then
18471 cat >>confdefs.h <<_ACEOF
18472 #define HAVE_REQUEST_SENSE 1
18479 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18480 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18481 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18482 echo $ECHO_N "(cached) $ECHO_C" >&6
18484 cat >conftest.$ac_ext <<_ACEOF
18487 cat confdefs.h >>conftest.$ac_ext
18488 cat >>conftest.$ac_ext <<_ACEOF
18489 /* end confdefs.h. */
18490 #ifdef HAVE_LINUX_INPUT_H
18491 #include <linux/input.h>
18497 static struct ff_effect ac_aggr;
18498 if (ac_aggr.direction)
18504 rm -f conftest.$ac_objext
18505 if { (ac_try="$ac_compile"
18506 case "(($ac_try" in
18507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18508 *) ac_try_echo=$ac_try;;
18510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18511 (eval "$ac_compile") 2>conftest.er1
18513 grep -v '^ *+' conftest.er1 >conftest.err
18515 cat conftest.err >&5
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); } && {
18518 test -z "$ac_c_werror_flag" ||
18519 test ! -s conftest.err
18520 } && test -s conftest.$ac_objext; then
18521 ac_cv_member_struct_ff_effect_direction=yes
18523 echo "$as_me: failed program was:" >&5
18524 sed 's/^/| /' conftest.$ac_ext >&5
18526 cat >conftest.$ac_ext <<_ACEOF
18529 cat confdefs.h >>conftest.$ac_ext
18530 cat >>conftest.$ac_ext <<_ACEOF
18531 /* end confdefs.h. */
18532 #ifdef HAVE_LINUX_INPUT_H
18533 #include <linux/input.h>
18539 static struct ff_effect ac_aggr;
18540 if (sizeof ac_aggr.direction)
18546 rm -f conftest.$ac_objext
18547 if { (ac_try="$ac_compile"
18548 case "(($ac_try" in
18549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18550 *) ac_try_echo=$ac_try;;
18552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18553 (eval "$ac_compile") 2>conftest.er1
18555 grep -v '^ *+' conftest.er1 >conftest.err
18557 cat conftest.err >&5
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); } && {
18560 test -z "$ac_c_werror_flag" ||
18561 test ! -s conftest.err
18562 } && test -s conftest.$ac_objext; then
18563 ac_cv_member_struct_ff_effect_direction=yes
18565 echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.$ac_ext >&5
18568 ac_cv_member_struct_ff_effect_direction=no
18571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18576 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18577 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18578 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18580 cat >>confdefs.h <<_ACEOF
18581 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18588 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18589 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18590 if test "${wine_cv_have_sigaddset+set}" = set; then
18591 echo $ECHO_N "(cached) $ECHO_C" >&6
18593 cat >conftest.$ac_ext <<_ACEOF
18596 cat confdefs.h >>conftest.$ac_ext
18597 cat >>conftest.$ac_ext <<_ACEOF
18598 /* end confdefs.h. */
18599 #include <signal.h>
18603 sigset_t set; sigaddset(&set,SIGTERM);
18608 rm -f conftest.$ac_objext conftest$ac_exeext
18609 if { (ac_try="$ac_link"
18610 case "(($ac_try" in
18611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18612 *) ac_try_echo=$ac_try;;
18614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18615 (eval "$ac_link") 2>conftest.er1
18617 grep -v '^ *+' conftest.er1 >conftest.err
18619 cat conftest.err >&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } && {
18622 test -z "$ac_c_werror_flag" ||
18623 test ! -s conftest.err
18624 } && test -s conftest$ac_exeext &&
18625 $as_test_x conftest$ac_exeext; then
18626 wine_cv_have_sigaddset=yes
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.$ac_ext >&5
18631 wine_cv_have_sigaddset=no
18634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18635 conftest$ac_exeext conftest.$ac_ext
18637 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18638 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18639 if test "$wine_cv_have_sigaddset" = "yes"
18642 cat >>confdefs.h <<\_ACEOF
18643 #define HAVE_SIGADDSET 1
18649 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18650 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18651 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18652 echo $ECHO_N "(cached) $ECHO_C" >&6
18654 cat >conftest.$ac_ext <<_ACEOF
18657 cat confdefs.h >>conftest.$ac_ext
18658 cat >>conftest.$ac_ext <<_ACEOF
18659 /* end confdefs.h. */
18667 struct hostent *result;
18674 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18675 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18681 rm -f conftest.$ac_objext conftest$ac_exeext
18682 if { (ac_try="$ac_link"
18683 case "(($ac_try" in
18684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18685 *) ac_try_echo=$ac_try;;
18687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18688 (eval "$ac_link") 2>conftest.er1
18690 grep -v '^ *+' conftest.er1 >conftest.err
18692 cat conftest.err >&5
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); } && {
18695 test -z "$ac_c_werror_flag" ||
18696 test ! -s conftest.err
18697 } && test -s conftest$ac_exeext &&
18698 $as_test_x conftest$ac_exeext; then
18699 wine_cv_linux_gethostbyname_r_6=yes
18701 echo "$as_me: failed program was:" >&5
18702 sed 's/^/| /' conftest.$ac_ext >&5
18704 wine_cv_linux_gethostbyname_r_6=no
18708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18709 conftest$ac_exeext conftest.$ac_ext
18712 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18713 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18714 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18717 cat >>confdefs.h <<\_ACEOF
18718 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18723 if test "$ac_cv_header_linux_joystick_h" = "yes"
18725 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18726 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18727 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18728 echo $ECHO_N "(cached) $ECHO_C" >&6
18730 cat >conftest.$ac_ext <<_ACEOF
18733 cat confdefs.h >>conftest.$ac_ext
18734 cat >>conftest.$ac_ext <<_ACEOF
18735 /* end confdefs.h. */
18737 #include <sys/ioctl.h>
18738 #include <sys/types.h>
18739 #include <linux/joystick.h>
18741 struct js_event blub;
18742 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18743 #error "no 2.2 header"
18754 rm -f conftest.$ac_objext
18755 if { (ac_try="$ac_compile"
18756 case "(($ac_try" in
18757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18758 *) ac_try_echo=$ac_try;;
18760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18761 (eval "$ac_compile") 2>conftest.er1
18763 grep -v '^ *+' conftest.er1 >conftest.err
18765 cat conftest.err >&5
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); } && {
18768 test -z "$ac_c_werror_flag" ||
18769 test ! -s conftest.err
18770 } && test -s conftest.$ac_objext; then
18771 wine_cv_linux_joystick_22_api=yes
18773 echo "$as_me: failed program was:" >&5
18774 sed 's/^/| /' conftest.$ac_ext >&5
18776 wine_cv_linux_joystick_22_api=no
18779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18782 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18783 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18784 if test "$wine_cv_linux_joystick_22_api" = "yes"
18787 cat >>confdefs.h <<\_ACEOF
18788 #define HAVE_LINUX_22_JOYSTICK_API 1
18795 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18796 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18797 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18798 echo $ECHO_N "(cached) $ECHO_C" >&6
18800 cat >conftest.$ac_ext <<_ACEOF
18803 cat confdefs.h >>conftest.$ac_ext
18804 cat >>conftest.$ac_ext <<_ACEOF
18805 /* end confdefs.h. */
18806 #include <sys/types.h>
18807 #ifdef HAVE_SYS_PARAM_H
18808 # include <sys/param.h>
18810 #ifdef HAVE_SYS_MOUNT_H
18811 # include <sys/mount.h>
18813 #ifdef HAVE_SYS_VFS_H
18814 # include <sys/vfs.h>
18816 #ifdef HAVE_SYS_STATFS_H
18817 # include <sys/statfs.h>
18823 static struct statfs ac_aggr;
18824 if (ac_aggr.f_bfree)
18830 rm -f conftest.$ac_objext
18831 if { (ac_try="$ac_compile"
18832 case "(($ac_try" in
18833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18834 *) ac_try_echo=$ac_try;;
18836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18837 (eval "$ac_compile") 2>conftest.er1
18839 grep -v '^ *+' conftest.er1 >conftest.err
18841 cat conftest.err >&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } && {
18844 test -z "$ac_c_werror_flag" ||
18845 test ! -s conftest.err
18846 } && test -s conftest.$ac_objext; then
18847 ac_cv_member_struct_statfs_f_bfree=yes
18849 echo "$as_me: failed program was:" >&5
18850 sed 's/^/| /' conftest.$ac_ext >&5
18852 cat >conftest.$ac_ext <<_ACEOF
18855 cat confdefs.h >>conftest.$ac_ext
18856 cat >>conftest.$ac_ext <<_ACEOF
18857 /* end confdefs.h. */
18858 #include <sys/types.h>
18859 #ifdef HAVE_SYS_PARAM_H
18860 # include <sys/param.h>
18862 #ifdef HAVE_SYS_MOUNT_H
18863 # include <sys/mount.h>
18865 #ifdef HAVE_SYS_VFS_H
18866 # include <sys/vfs.h>
18868 #ifdef HAVE_SYS_STATFS_H
18869 # include <sys/statfs.h>
18875 static struct statfs ac_aggr;
18876 if (sizeof ac_aggr.f_bfree)
18882 rm -f conftest.$ac_objext
18883 if { (ac_try="$ac_compile"
18884 case "(($ac_try" in
18885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18886 *) ac_try_echo=$ac_try;;
18888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18889 (eval "$ac_compile") 2>conftest.er1
18891 grep -v '^ *+' conftest.er1 >conftest.err
18893 cat conftest.err >&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); } && {
18896 test -z "$ac_c_werror_flag" ||
18897 test ! -s conftest.err
18898 } && test -s conftest.$ac_objext; then
18899 ac_cv_member_struct_statfs_f_bfree=yes
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.$ac_ext >&5
18904 ac_cv_member_struct_statfs_f_bfree=no
18907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18912 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18913 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18914 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18916 cat >>confdefs.h <<_ACEOF
18917 #define HAVE_STRUCT_STATFS_F_BFREE 1
18922 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18923 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18924 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18925 echo $ECHO_N "(cached) $ECHO_C" >&6
18927 cat >conftest.$ac_ext <<_ACEOF
18930 cat confdefs.h >>conftest.$ac_ext
18931 cat >>conftest.$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18933 #include <sys/types.h>
18934 #ifdef HAVE_SYS_PARAM_H
18935 # include <sys/param.h>
18937 #ifdef HAVE_SYS_MOUNT_H
18938 # include <sys/mount.h>
18940 #ifdef HAVE_SYS_VFS_H
18941 # include <sys/vfs.h>
18943 #ifdef HAVE_SYS_STATFS_H
18944 # include <sys/statfs.h>
18950 static struct statfs ac_aggr;
18951 if (ac_aggr.f_bavail)
18957 rm -f conftest.$ac_objext
18958 if { (ac_try="$ac_compile"
18959 case "(($ac_try" in
18960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18961 *) ac_try_echo=$ac_try;;
18963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18964 (eval "$ac_compile") 2>conftest.er1
18966 grep -v '^ *+' conftest.er1 >conftest.err
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } && {
18971 test -z "$ac_c_werror_flag" ||
18972 test ! -s conftest.err
18973 } && test -s conftest.$ac_objext; then
18974 ac_cv_member_struct_statfs_f_bavail=yes
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18979 cat >conftest.$ac_ext <<_ACEOF
18982 cat confdefs.h >>conftest.$ac_ext
18983 cat >>conftest.$ac_ext <<_ACEOF
18984 /* end confdefs.h. */
18985 #include <sys/types.h>
18986 #ifdef HAVE_SYS_PARAM_H
18987 # include <sys/param.h>
18989 #ifdef HAVE_SYS_MOUNT_H
18990 # include <sys/mount.h>
18992 #ifdef HAVE_SYS_VFS_H
18993 # include <sys/vfs.h>
18995 #ifdef HAVE_SYS_STATFS_H
18996 # include <sys/statfs.h>
19002 static struct statfs ac_aggr;
19003 if (sizeof ac_aggr.f_bavail)
19009 rm -f conftest.$ac_objext
19010 if { (ac_try="$ac_compile"
19011 case "(($ac_try" in
19012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19013 *) ac_try_echo=$ac_try;;
19015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19016 (eval "$ac_compile") 2>conftest.er1
19018 grep -v '^ *+' conftest.er1 >conftest.err
19020 cat conftest.err >&5
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); } && {
19023 test -z "$ac_c_werror_flag" ||
19024 test ! -s conftest.err
19025 } && test -s conftest.$ac_objext; then
19026 ac_cv_member_struct_statfs_f_bavail=yes
19028 echo "$as_me: failed program was:" >&5
19029 sed 's/^/| /' conftest.$ac_ext >&5
19031 ac_cv_member_struct_statfs_f_bavail=no
19034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19039 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19040 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19041 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19043 cat >>confdefs.h <<_ACEOF
19044 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19049 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19050 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19051 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19052 echo $ECHO_N "(cached) $ECHO_C" >&6
19054 cat >conftest.$ac_ext <<_ACEOF
19057 cat confdefs.h >>conftest.$ac_ext
19058 cat >>conftest.$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19060 #include <sys/types.h>
19061 #ifdef HAVE_SYS_PARAM_H
19062 # include <sys/param.h>
19064 #ifdef HAVE_SYS_MOUNT_H
19065 # include <sys/mount.h>
19067 #ifdef HAVE_SYS_VFS_H
19068 # include <sys/vfs.h>
19070 #ifdef HAVE_SYS_STATFS_H
19071 # include <sys/statfs.h>
19077 static struct statfs ac_aggr;
19078 if (ac_aggr.f_frsize)
19084 rm -f conftest.$ac_objext
19085 if { (ac_try="$ac_compile"
19086 case "(($ac_try" in
19087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19088 *) ac_try_echo=$ac_try;;
19090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19091 (eval "$ac_compile") 2>conftest.er1
19093 grep -v '^ *+' conftest.er1 >conftest.err
19095 cat conftest.err >&5
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); } && {
19098 test -z "$ac_c_werror_flag" ||
19099 test ! -s conftest.err
19100 } && test -s conftest.$ac_objext; then
19101 ac_cv_member_struct_statfs_f_frsize=yes
19103 echo "$as_me: failed program was:" >&5
19104 sed 's/^/| /' conftest.$ac_ext >&5
19106 cat >conftest.$ac_ext <<_ACEOF
19109 cat confdefs.h >>conftest.$ac_ext
19110 cat >>conftest.$ac_ext <<_ACEOF
19111 /* end confdefs.h. */
19112 #include <sys/types.h>
19113 #ifdef HAVE_SYS_PARAM_H
19114 # include <sys/param.h>
19116 #ifdef HAVE_SYS_MOUNT_H
19117 # include <sys/mount.h>
19119 #ifdef HAVE_SYS_VFS_H
19120 # include <sys/vfs.h>
19122 #ifdef HAVE_SYS_STATFS_H
19123 # include <sys/statfs.h>
19129 static struct statfs ac_aggr;
19130 if (sizeof ac_aggr.f_frsize)
19136 rm -f conftest.$ac_objext
19137 if { (ac_try="$ac_compile"
19138 case "(($ac_try" in
19139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19140 *) ac_try_echo=$ac_try;;
19142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_compile") 2>conftest.er1
19145 grep -v '^ *+' conftest.er1 >conftest.err
19147 cat conftest.err >&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); } && {
19150 test -z "$ac_c_werror_flag" ||
19151 test ! -s conftest.err
19152 } && test -s conftest.$ac_objext; then
19153 ac_cv_member_struct_statfs_f_frsize=yes
19155 echo "$as_me: failed program was:" >&5
19156 sed 's/^/| /' conftest.$ac_ext >&5
19158 ac_cv_member_struct_statfs_f_frsize=no
19161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19166 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19167 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19168 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19170 cat >>confdefs.h <<_ACEOF
19171 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19176 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19177 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19178 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19179 echo $ECHO_N "(cached) $ECHO_C" >&6
19181 cat >conftest.$ac_ext <<_ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 #include <sys/types.h>
19188 #ifdef HAVE_SYS_PARAM_H
19189 # include <sys/param.h>
19191 #ifdef HAVE_SYS_MOUNT_H
19192 # include <sys/mount.h>
19194 #ifdef HAVE_SYS_VFS_H
19195 # include <sys/vfs.h>
19197 #ifdef HAVE_SYS_STATFS_H
19198 # include <sys/statfs.h>
19204 static struct statfs ac_aggr;
19205 if (ac_aggr.f_ffree)
19211 rm -f conftest.$ac_objext
19212 if { (ac_try="$ac_compile"
19213 case "(($ac_try" in
19214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19215 *) ac_try_echo=$ac_try;;
19217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19218 (eval "$ac_compile") 2>conftest.er1
19220 grep -v '^ *+' conftest.er1 >conftest.err
19222 cat conftest.err >&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); } && {
19225 test -z "$ac_c_werror_flag" ||
19226 test ! -s conftest.err
19227 } && test -s conftest.$ac_objext; then
19228 ac_cv_member_struct_statfs_f_ffree=yes
19230 echo "$as_me: failed program was:" >&5
19231 sed 's/^/| /' conftest.$ac_ext >&5
19233 cat >conftest.$ac_ext <<_ACEOF
19236 cat confdefs.h >>conftest.$ac_ext
19237 cat >>conftest.$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 #include <sys/types.h>
19240 #ifdef HAVE_SYS_PARAM_H
19241 # include <sys/param.h>
19243 #ifdef HAVE_SYS_MOUNT_H
19244 # include <sys/mount.h>
19246 #ifdef HAVE_SYS_VFS_H
19247 # include <sys/vfs.h>
19249 #ifdef HAVE_SYS_STATFS_H
19250 # include <sys/statfs.h>
19256 static struct statfs ac_aggr;
19257 if (sizeof ac_aggr.f_ffree)
19263 rm -f conftest.$ac_objext
19264 if { (ac_try="$ac_compile"
19265 case "(($ac_try" in
19266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19267 *) ac_try_echo=$ac_try;;
19269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19270 (eval "$ac_compile") 2>conftest.er1
19272 grep -v '^ *+' conftest.er1 >conftest.err
19274 cat conftest.err >&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); } && {
19277 test -z "$ac_c_werror_flag" ||
19278 test ! -s conftest.err
19279 } && test -s conftest.$ac_objext; then
19280 ac_cv_member_struct_statfs_f_ffree=yes
19282 echo "$as_me: failed program was:" >&5
19283 sed 's/^/| /' conftest.$ac_ext >&5
19285 ac_cv_member_struct_statfs_f_ffree=no
19288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19293 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19294 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19295 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19297 cat >>confdefs.h <<_ACEOF
19298 #define HAVE_STRUCT_STATFS_F_FFREE 1
19303 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19304 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19305 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19306 echo $ECHO_N "(cached) $ECHO_C" >&6
19308 cat >conftest.$ac_ext <<_ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 #include <sys/types.h>
19315 #ifdef HAVE_SYS_PARAM_H
19316 # include <sys/param.h>
19318 #ifdef HAVE_SYS_MOUNT_H
19319 # include <sys/mount.h>
19321 #ifdef HAVE_SYS_VFS_H
19322 # include <sys/vfs.h>
19324 #ifdef HAVE_SYS_STATFS_H
19325 # include <sys/statfs.h>
19331 static struct statfs ac_aggr;
19332 if (ac_aggr.f_favail)
19338 rm -f conftest.$ac_objext
19339 if { (ac_try="$ac_compile"
19340 case "(($ac_try" in
19341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19342 *) ac_try_echo=$ac_try;;
19344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19345 (eval "$ac_compile") 2>conftest.er1
19347 grep -v '^ *+' conftest.er1 >conftest.err
19349 cat conftest.err >&5
19350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19351 (exit $ac_status); } && {
19352 test -z "$ac_c_werror_flag" ||
19353 test ! -s conftest.err
19354 } && test -s conftest.$ac_objext; then
19355 ac_cv_member_struct_statfs_f_favail=yes
19357 echo "$as_me: failed program was:" >&5
19358 sed 's/^/| /' conftest.$ac_ext >&5
19360 cat >conftest.$ac_ext <<_ACEOF
19363 cat confdefs.h >>conftest.$ac_ext
19364 cat >>conftest.$ac_ext <<_ACEOF
19365 /* end confdefs.h. */
19366 #include <sys/types.h>
19367 #ifdef HAVE_SYS_PARAM_H
19368 # include <sys/param.h>
19370 #ifdef HAVE_SYS_MOUNT_H
19371 # include <sys/mount.h>
19373 #ifdef HAVE_SYS_VFS_H
19374 # include <sys/vfs.h>
19376 #ifdef HAVE_SYS_STATFS_H
19377 # include <sys/statfs.h>
19383 static struct statfs ac_aggr;
19384 if (sizeof ac_aggr.f_favail)
19390 rm -f conftest.$ac_objext
19391 if { (ac_try="$ac_compile"
19392 case "(($ac_try" in
19393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19394 *) ac_try_echo=$ac_try;;
19396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19397 (eval "$ac_compile") 2>conftest.er1
19399 grep -v '^ *+' conftest.er1 >conftest.err
19401 cat conftest.err >&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); } && {
19404 test -z "$ac_c_werror_flag" ||
19405 test ! -s conftest.err
19406 } && test -s conftest.$ac_objext; then
19407 ac_cv_member_struct_statfs_f_favail=yes
19409 echo "$as_me: failed program was:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19412 ac_cv_member_struct_statfs_f_favail=no
19415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19420 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19421 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19422 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19424 cat >>confdefs.h <<_ACEOF
19425 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19430 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19431 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19432 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19433 echo $ECHO_N "(cached) $ECHO_C" >&6
19435 cat >conftest.$ac_ext <<_ACEOF
19438 cat confdefs.h >>conftest.$ac_ext
19439 cat >>conftest.$ac_ext <<_ACEOF
19440 /* end confdefs.h. */
19441 #include <sys/types.h>
19442 #ifdef HAVE_SYS_PARAM_H
19443 # include <sys/param.h>
19445 #ifdef HAVE_SYS_MOUNT_H
19446 # include <sys/mount.h>
19448 #ifdef HAVE_SYS_VFS_H
19449 # include <sys/vfs.h>
19451 #ifdef HAVE_SYS_STATFS_H
19452 # include <sys/statfs.h>
19458 static struct statfs ac_aggr;
19459 if (ac_aggr.f_namelen)
19465 rm -f conftest.$ac_objext
19466 if { (ac_try="$ac_compile"
19467 case "(($ac_try" in
19468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19469 *) ac_try_echo=$ac_try;;
19471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19472 (eval "$ac_compile") 2>conftest.er1
19474 grep -v '^ *+' conftest.er1 >conftest.err
19476 cat conftest.err >&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); } && {
19479 test -z "$ac_c_werror_flag" ||
19480 test ! -s conftest.err
19481 } && test -s conftest.$ac_objext; then
19482 ac_cv_member_struct_statfs_f_namelen=yes
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.$ac_ext >&5
19487 cat >conftest.$ac_ext <<_ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 #include <sys/types.h>
19494 #ifdef HAVE_SYS_PARAM_H
19495 # include <sys/param.h>
19497 #ifdef HAVE_SYS_MOUNT_H
19498 # include <sys/mount.h>
19500 #ifdef HAVE_SYS_VFS_H
19501 # include <sys/vfs.h>
19503 #ifdef HAVE_SYS_STATFS_H
19504 # include <sys/statfs.h>
19510 static struct statfs ac_aggr;
19511 if (sizeof ac_aggr.f_namelen)
19517 rm -f conftest.$ac_objext
19518 if { (ac_try="$ac_compile"
19519 case "(($ac_try" in
19520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19521 *) ac_try_echo=$ac_try;;
19523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19524 (eval "$ac_compile") 2>conftest.er1
19526 grep -v '^ *+' conftest.er1 >conftest.err
19528 cat conftest.err >&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } && {
19531 test -z "$ac_c_werror_flag" ||
19532 test ! -s conftest.err
19533 } && test -s conftest.$ac_objext; then
19534 ac_cv_member_struct_statfs_f_namelen=yes
19536 echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.$ac_ext >&5
19539 ac_cv_member_struct_statfs_f_namelen=no
19542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19547 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19548 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19549 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19551 cat >>confdefs.h <<_ACEOF
19552 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19559 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19560 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19561 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19562 echo $ECHO_N "(cached) $ECHO_C" >&6
19564 cat >conftest.$ac_ext <<_ACEOF
19567 cat confdefs.h >>conftest.$ac_ext
19568 cat >>conftest.$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19570 #ifdef HAVE_SYS_STATVFS_H
19571 #include <sys/statvfs.h>
19577 static struct statvfs ac_aggr;
19578 if (ac_aggr.f_blocks)
19584 rm -f conftest.$ac_objext
19585 if { (ac_try="$ac_compile"
19586 case "(($ac_try" in
19587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19588 *) ac_try_echo=$ac_try;;
19590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19591 (eval "$ac_compile") 2>conftest.er1
19593 grep -v '^ *+' conftest.er1 >conftest.err
19595 cat conftest.err >&5
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); } && {
19598 test -z "$ac_c_werror_flag" ||
19599 test ! -s conftest.err
19600 } && test -s conftest.$ac_objext; then
19601 ac_cv_member_struct_statvfs_f_blocks=yes
19603 echo "$as_me: failed program was:" >&5
19604 sed 's/^/| /' conftest.$ac_ext >&5
19606 cat >conftest.$ac_ext <<_ACEOF
19609 cat confdefs.h >>conftest.$ac_ext
19610 cat >>conftest.$ac_ext <<_ACEOF
19611 /* end confdefs.h. */
19612 #ifdef HAVE_SYS_STATVFS_H
19613 #include <sys/statvfs.h>
19619 static struct statvfs ac_aggr;
19620 if (sizeof ac_aggr.f_blocks)
19626 rm -f conftest.$ac_objext
19627 if { (ac_try="$ac_compile"
19628 case "(($ac_try" in
19629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19630 *) ac_try_echo=$ac_try;;
19632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19633 (eval "$ac_compile") 2>conftest.er1
19635 grep -v '^ *+' conftest.er1 >conftest.err
19637 cat conftest.err >&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } && {
19640 test -z "$ac_c_werror_flag" ||
19641 test ! -s conftest.err
19642 } && test -s conftest.$ac_objext; then
19643 ac_cv_member_struct_statvfs_f_blocks=yes
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.$ac_ext >&5
19648 ac_cv_member_struct_statvfs_f_blocks=no
19651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19656 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19657 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19658 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19660 cat >>confdefs.h <<_ACEOF
19661 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19668 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19669 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19670 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19671 echo $ECHO_N "(cached) $ECHO_C" >&6
19673 cat >conftest.$ac_ext <<_ACEOF
19676 cat confdefs.h >>conftest.$ac_ext
19677 cat >>conftest.$ac_ext <<_ACEOF
19678 /* end confdefs.h. */
19679 #include <sys/types.h>
19680 #ifdef HAVE_SYS_SOCKET_H
19681 # include <sys/socket.h>
19683 #ifdef HAVE_SYS_UN_H
19684 # include <sys/un.h>
19690 static struct msghdr ac_aggr;
19691 if (ac_aggr.msg_accrights)
19697 rm -f conftest.$ac_objext
19698 if { (ac_try="$ac_compile"
19699 case "(($ac_try" in
19700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19701 *) ac_try_echo=$ac_try;;
19703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19704 (eval "$ac_compile") 2>conftest.er1
19706 grep -v '^ *+' conftest.er1 >conftest.err
19708 cat conftest.err >&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); } && {
19711 test -z "$ac_c_werror_flag" ||
19712 test ! -s conftest.err
19713 } && test -s conftest.$ac_objext; then
19714 ac_cv_member_struct_msghdr_msg_accrights=yes
19716 echo "$as_me: failed program was:" >&5
19717 sed 's/^/| /' conftest.$ac_ext >&5
19719 cat >conftest.$ac_ext <<_ACEOF
19722 cat confdefs.h >>conftest.$ac_ext
19723 cat >>conftest.$ac_ext <<_ACEOF
19724 /* end confdefs.h. */
19725 #include <sys/types.h>
19726 #ifdef HAVE_SYS_SOCKET_H
19727 # include <sys/socket.h>
19729 #ifdef HAVE_SYS_UN_H
19730 # include <sys/un.h>
19736 static struct msghdr ac_aggr;
19737 if (sizeof ac_aggr.msg_accrights)
19743 rm -f conftest.$ac_objext
19744 if { (ac_try="$ac_compile"
19745 case "(($ac_try" in
19746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19747 *) ac_try_echo=$ac_try;;
19749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19750 (eval "$ac_compile") 2>conftest.er1
19752 grep -v '^ *+' conftest.er1 >conftest.err
19754 cat conftest.err >&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); } && {
19757 test -z "$ac_c_werror_flag" ||
19758 test ! -s conftest.err
19759 } && test -s conftest.$ac_objext; then
19760 ac_cv_member_struct_msghdr_msg_accrights=yes
19762 echo "$as_me: failed program was:" >&5
19763 sed 's/^/| /' conftest.$ac_ext >&5
19765 ac_cv_member_struct_msghdr_msg_accrights=no
19768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19773 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19774 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19775 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19777 cat >>confdefs.h <<_ACEOF
19778 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19783 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19784 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19785 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19786 echo $ECHO_N "(cached) $ECHO_C" >&6
19788 cat >conftest.$ac_ext <<_ACEOF
19791 cat confdefs.h >>conftest.$ac_ext
19792 cat >>conftest.$ac_ext <<_ACEOF
19793 /* end confdefs.h. */
19794 #include <sys/types.h>
19795 #ifdef HAVE_SYS_SOCKET_H
19796 # include <sys/socket.h>
19798 #ifdef HAVE_SYS_UN_H
19799 # include <sys/un.h>
19805 static struct sockaddr ac_aggr;
19806 if (ac_aggr.sa_len)
19812 rm -f conftest.$ac_objext
19813 if { (ac_try="$ac_compile"
19814 case "(($ac_try" in
19815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19816 *) ac_try_echo=$ac_try;;
19818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19819 (eval "$ac_compile") 2>conftest.er1
19821 grep -v '^ *+' conftest.er1 >conftest.err
19823 cat conftest.err >&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); } && {
19826 test -z "$ac_c_werror_flag" ||
19827 test ! -s conftest.err
19828 } && test -s conftest.$ac_objext; then
19829 ac_cv_member_struct_sockaddr_sa_len=yes
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.$ac_ext >&5
19834 cat >conftest.$ac_ext <<_ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 #include <sys/types.h>
19841 #ifdef HAVE_SYS_SOCKET_H
19842 # include <sys/socket.h>
19844 #ifdef HAVE_SYS_UN_H
19845 # include <sys/un.h>
19851 static struct sockaddr ac_aggr;
19852 if (sizeof ac_aggr.sa_len)
19858 rm -f conftest.$ac_objext
19859 if { (ac_try="$ac_compile"
19860 case "(($ac_try" in
19861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19862 *) ac_try_echo=$ac_try;;
19864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19865 (eval "$ac_compile") 2>conftest.er1
19867 grep -v '^ *+' conftest.er1 >conftest.err
19869 cat conftest.err >&5
19870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19871 (exit $ac_status); } && {
19872 test -z "$ac_c_werror_flag" ||
19873 test ! -s conftest.err
19874 } && test -s conftest.$ac_objext; then
19875 ac_cv_member_struct_sockaddr_sa_len=yes
19877 echo "$as_me: failed program was:" >&5
19878 sed 's/^/| /' conftest.$ac_ext >&5
19880 ac_cv_member_struct_sockaddr_sa_len=no
19883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19888 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19889 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19890 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19892 cat >>confdefs.h <<_ACEOF
19893 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19898 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19899 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19900 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19901 echo $ECHO_N "(cached) $ECHO_C" >&6
19903 cat >conftest.$ac_ext <<_ACEOF
19906 cat confdefs.h >>conftest.$ac_ext
19907 cat >>conftest.$ac_ext <<_ACEOF
19908 /* end confdefs.h. */
19909 #include <sys/types.h>
19910 #ifdef HAVE_SYS_SOCKET_H
19911 # include <sys/socket.h>
19913 #ifdef HAVE_SYS_UN_H
19914 # include <sys/un.h>
19920 static struct sockaddr_un ac_aggr;
19921 if (ac_aggr.sun_len)
19927 rm -f conftest.$ac_objext
19928 if { (ac_try="$ac_compile"
19929 case "(($ac_try" in
19930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19931 *) ac_try_echo=$ac_try;;
19933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19934 (eval "$ac_compile") 2>conftest.er1
19936 grep -v '^ *+' conftest.er1 >conftest.err
19938 cat conftest.err >&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); } && {
19941 test -z "$ac_c_werror_flag" ||
19942 test ! -s conftest.err
19943 } && test -s conftest.$ac_objext; then
19944 ac_cv_member_struct_sockaddr_un_sun_len=yes
19946 echo "$as_me: failed program was:" >&5
19947 sed 's/^/| /' conftest.$ac_ext >&5
19949 cat >conftest.$ac_ext <<_ACEOF
19952 cat confdefs.h >>conftest.$ac_ext
19953 cat >>conftest.$ac_ext <<_ACEOF
19954 /* end confdefs.h. */
19955 #include <sys/types.h>
19956 #ifdef HAVE_SYS_SOCKET_H
19957 # include <sys/socket.h>
19959 #ifdef HAVE_SYS_UN_H
19960 # include <sys/un.h>
19966 static struct sockaddr_un ac_aggr;
19967 if (sizeof ac_aggr.sun_len)
19973 rm -f conftest.$ac_objext
19974 if { (ac_try="$ac_compile"
19975 case "(($ac_try" in
19976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19977 *) ac_try_echo=$ac_try;;
19979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19980 (eval "$ac_compile") 2>conftest.er1
19982 grep -v '^ *+' conftest.er1 >conftest.err
19984 cat conftest.err >&5
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); } && {
19987 test -z "$ac_c_werror_flag" ||
19988 test ! -s conftest.err
19989 } && test -s conftest.$ac_objext; then
19990 ac_cv_member_struct_sockaddr_un_sun_len=yes
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.$ac_ext >&5
19995 ac_cv_member_struct_sockaddr_un_sun_len=no
19998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20003 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20004 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20005 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20007 cat >>confdefs.h <<_ACEOF
20008 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20015 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20016 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20017 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20018 echo $ECHO_N "(cached) $ECHO_C" >&6
20020 cat >conftest.$ac_ext <<_ACEOF
20023 cat confdefs.h >>conftest.$ac_ext
20024 cat >>conftest.$ac_ext <<_ACEOF
20025 /* end confdefs.h. */
20026 #include <sys/types.h>
20027 #ifdef HAVE_SCSI_SG_H
20028 #include <scsi/sg.h>
20034 static scsireq_t ac_aggr;
20041 rm -f conftest.$ac_objext
20042 if { (ac_try="$ac_compile"
20043 case "(($ac_try" in
20044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20045 *) ac_try_echo=$ac_try;;
20047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20048 (eval "$ac_compile") 2>conftest.er1
20050 grep -v '^ *+' conftest.er1 >conftest.err
20052 cat conftest.err >&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); } && {
20055 test -z "$ac_c_werror_flag" ||
20056 test ! -s conftest.err
20057 } && test -s conftest.$ac_objext; then
20058 ac_cv_member_scsireq_t_cmd=yes
20060 echo "$as_me: failed program was:" >&5
20061 sed 's/^/| /' conftest.$ac_ext >&5
20063 cat >conftest.$ac_ext <<_ACEOF
20066 cat confdefs.h >>conftest.$ac_ext
20067 cat >>conftest.$ac_ext <<_ACEOF
20068 /* end confdefs.h. */
20069 #include <sys/types.h>
20070 #ifdef HAVE_SCSI_SG_H
20071 #include <scsi/sg.h>
20077 static scsireq_t ac_aggr;
20078 if (sizeof ac_aggr.cmd)
20084 rm -f conftest.$ac_objext
20085 if { (ac_try="$ac_compile"
20086 case "(($ac_try" in
20087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20088 *) ac_try_echo=$ac_try;;
20090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20091 (eval "$ac_compile") 2>conftest.er1
20093 grep -v '^ *+' conftest.er1 >conftest.err
20095 cat conftest.err >&5
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097 (exit $ac_status); } && {
20098 test -z "$ac_c_werror_flag" ||
20099 test ! -s conftest.err
20100 } && test -s conftest.$ac_objext; then
20101 ac_cv_member_scsireq_t_cmd=yes
20103 echo "$as_me: failed program was:" >&5
20104 sed 's/^/| /' conftest.$ac_ext >&5
20106 ac_cv_member_scsireq_t_cmd=no
20109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20114 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20115 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20116 if test $ac_cv_member_scsireq_t_cmd = yes; then
20118 cat >>confdefs.h <<_ACEOF
20119 #define HAVE_SCSIREQ_T_CMD 1
20124 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20125 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20126 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20127 echo $ECHO_N "(cached) $ECHO_C" >&6
20129 cat >conftest.$ac_ext <<_ACEOF
20132 cat confdefs.h >>conftest.$ac_ext
20133 cat >>conftest.$ac_ext <<_ACEOF
20134 /* end confdefs.h. */
20135 #include <sys/types.h>
20136 #ifdef HAVE_SCSI_SG_H
20137 #include <scsi/sg.h>
20143 static sg_io_hdr_t ac_aggr;
20144 if (ac_aggr.interface_id)
20150 rm -f conftest.$ac_objext
20151 if { (ac_try="$ac_compile"
20152 case "(($ac_try" in
20153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20154 *) ac_try_echo=$ac_try;;
20156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20157 (eval "$ac_compile") 2>conftest.er1
20159 grep -v '^ *+' conftest.er1 >conftest.err
20161 cat conftest.err >&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); } && {
20164 test -z "$ac_c_werror_flag" ||
20165 test ! -s conftest.err
20166 } && test -s conftest.$ac_objext; then
20167 ac_cv_member_sg_io_hdr_t_interface_id=yes
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20172 cat >conftest.$ac_ext <<_ACEOF
20175 cat confdefs.h >>conftest.$ac_ext
20176 cat >>conftest.$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20178 #include <sys/types.h>
20179 #ifdef HAVE_SCSI_SG_H
20180 #include <scsi/sg.h>
20186 static sg_io_hdr_t ac_aggr;
20187 if (sizeof ac_aggr.interface_id)
20193 rm -f conftest.$ac_objext
20194 if { (ac_try="$ac_compile"
20195 case "(($ac_try" in
20196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20197 *) ac_try_echo=$ac_try;;
20199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_compile") 2>conftest.er1
20202 grep -v '^ *+' conftest.er1 >conftest.err
20204 cat conftest.err >&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); } && {
20207 test -z "$ac_c_werror_flag" ||
20208 test ! -s conftest.err
20209 } && test -s conftest.$ac_objext; then
20210 ac_cv_member_sg_io_hdr_t_interface_id=yes
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.$ac_ext >&5
20215 ac_cv_member_sg_io_hdr_t_interface_id=no
20218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20223 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20224 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20225 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20227 cat >>confdefs.h <<_ACEOF
20228 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20235 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20236 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20237 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20238 echo $ECHO_N "(cached) $ECHO_C" >&6
20240 cat >conftest.$ac_ext <<_ACEOF
20243 cat confdefs.h >>conftest.$ac_ext
20244 cat >>conftest.$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 #include <signal.h>
20251 static siginfo_t ac_aggr;
20258 rm -f conftest.$ac_objext
20259 if { (ac_try="$ac_compile"
20260 case "(($ac_try" in
20261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20262 *) ac_try_echo=$ac_try;;
20264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20265 (eval "$ac_compile") 2>conftest.er1
20267 grep -v '^ *+' conftest.er1 >conftest.err
20269 cat conftest.err >&5
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); } && {
20272 test -z "$ac_c_werror_flag" ||
20273 test ! -s conftest.err
20274 } && test -s conftest.$ac_objext; then
20275 ac_cv_member_siginfo_t_si_fd=yes
20277 echo "$as_me: failed program was:" >&5
20278 sed 's/^/| /' conftest.$ac_ext >&5
20280 cat >conftest.$ac_ext <<_ACEOF
20283 cat confdefs.h >>conftest.$ac_ext
20284 cat >>conftest.$ac_ext <<_ACEOF
20285 /* end confdefs.h. */
20286 #include <signal.h>
20291 static siginfo_t ac_aggr;
20292 if (sizeof ac_aggr.si_fd)
20298 rm -f conftest.$ac_objext
20299 if { (ac_try="$ac_compile"
20300 case "(($ac_try" in
20301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20302 *) ac_try_echo=$ac_try;;
20304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20305 (eval "$ac_compile") 2>conftest.er1
20307 grep -v '^ *+' conftest.er1 >conftest.err
20309 cat conftest.err >&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); } && {
20312 test -z "$ac_c_werror_flag" ||
20313 test ! -s conftest.err
20314 } && test -s conftest.$ac_objext; then
20315 ac_cv_member_siginfo_t_si_fd=yes
20317 echo "$as_me: failed program was:" >&5
20318 sed 's/^/| /' conftest.$ac_ext >&5
20320 ac_cv_member_siginfo_t_si_fd=no
20323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20328 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20329 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20330 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20332 cat >>confdefs.h <<_ACEOF
20333 #define HAVE_SIGINFO_T_SI_FD 1
20340 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20341 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20342 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20343 echo $ECHO_N "(cached) $ECHO_C" >&6
20345 cat >conftest.$ac_ext <<_ACEOF
20348 cat confdefs.h >>conftest.$ac_ext
20349 cat >>conftest.$ac_ext <<_ACEOF
20350 /* end confdefs.h. */
20351 #include <sys/types.h>
20352 #ifdef HAVE_SYS_MTIO_H
20353 #include <sys/mtio.h>
20359 static struct mtget ac_aggr;
20360 if (ac_aggr.mt_blksiz)
20366 rm -f conftest.$ac_objext
20367 if { (ac_try="$ac_compile"
20368 case "(($ac_try" in
20369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20370 *) ac_try_echo=$ac_try;;
20372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20373 (eval "$ac_compile") 2>conftest.er1
20375 grep -v '^ *+' conftest.er1 >conftest.err
20377 cat conftest.err >&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } && {
20380 test -z "$ac_c_werror_flag" ||
20381 test ! -s conftest.err
20382 } && test -s conftest.$ac_objext; then
20383 ac_cv_member_struct_mtget_mt_blksiz=yes
20385 echo "$as_me: failed program was:" >&5
20386 sed 's/^/| /' conftest.$ac_ext >&5
20388 cat >conftest.$ac_ext <<_ACEOF
20391 cat confdefs.h >>conftest.$ac_ext
20392 cat >>conftest.$ac_ext <<_ACEOF
20393 /* end confdefs.h. */
20394 #include <sys/types.h>
20395 #ifdef HAVE_SYS_MTIO_H
20396 #include <sys/mtio.h>
20402 static struct mtget ac_aggr;
20403 if (sizeof ac_aggr.mt_blksiz)
20409 rm -f conftest.$ac_objext
20410 if { (ac_try="$ac_compile"
20411 case "(($ac_try" in
20412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20413 *) ac_try_echo=$ac_try;;
20415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20416 (eval "$ac_compile") 2>conftest.er1
20418 grep -v '^ *+' conftest.er1 >conftest.err
20420 cat conftest.err >&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); } && {
20423 test -z "$ac_c_werror_flag" ||
20424 test ! -s conftest.err
20425 } && test -s conftest.$ac_objext; then
20426 ac_cv_member_struct_mtget_mt_blksiz=yes
20428 echo "$as_me: failed program was:" >&5
20429 sed 's/^/| /' conftest.$ac_ext >&5
20431 ac_cv_member_struct_mtget_mt_blksiz=no
20434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20439 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20440 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20441 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20443 cat >>confdefs.h <<_ACEOF
20444 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20449 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20450 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20451 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20452 echo $ECHO_N "(cached) $ECHO_C" >&6
20454 cat >conftest.$ac_ext <<_ACEOF
20457 cat confdefs.h >>conftest.$ac_ext
20458 cat >>conftest.$ac_ext <<_ACEOF
20459 /* end confdefs.h. */
20460 #include <sys/types.h>
20461 #ifdef HAVE_SYS_MTIO_H
20462 #include <sys/mtio.h>
20468 static struct mtget ac_aggr;
20469 if (ac_aggr.mt_gstat)
20475 rm -f conftest.$ac_objext
20476 if { (ac_try="$ac_compile"
20477 case "(($ac_try" in
20478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20479 *) ac_try_echo=$ac_try;;
20481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20482 (eval "$ac_compile") 2>conftest.er1
20484 grep -v '^ *+' conftest.er1 >conftest.err
20486 cat conftest.err >&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); } && {
20489 test -z "$ac_c_werror_flag" ||
20490 test ! -s conftest.err
20491 } && test -s conftest.$ac_objext; then
20492 ac_cv_member_struct_mtget_mt_gstat=yes
20494 echo "$as_me: failed program was:" >&5
20495 sed 's/^/| /' conftest.$ac_ext >&5
20497 cat >conftest.$ac_ext <<_ACEOF
20500 cat confdefs.h >>conftest.$ac_ext
20501 cat >>conftest.$ac_ext <<_ACEOF
20502 /* end confdefs.h. */
20503 #include <sys/types.h>
20504 #ifdef HAVE_SYS_MTIO_H
20505 #include <sys/mtio.h>
20511 static struct mtget ac_aggr;
20512 if (sizeof ac_aggr.mt_gstat)
20518 rm -f conftest.$ac_objext
20519 if { (ac_try="$ac_compile"
20520 case "(($ac_try" in
20521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20522 *) ac_try_echo=$ac_try;;
20524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20525 (eval "$ac_compile") 2>conftest.er1
20527 grep -v '^ *+' conftest.er1 >conftest.err
20529 cat conftest.err >&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); } && {
20532 test -z "$ac_c_werror_flag" ||
20533 test ! -s conftest.err
20534 } && test -s conftest.$ac_objext; then
20535 ac_cv_member_struct_mtget_mt_gstat=yes
20537 echo "$as_me: failed program was:" >&5
20538 sed 's/^/| /' conftest.$ac_ext >&5
20540 ac_cv_member_struct_mtget_mt_gstat=no
20543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20548 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20549 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20550 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20552 cat >>confdefs.h <<_ACEOF
20553 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20558 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20559 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20560 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20561 echo $ECHO_N "(cached) $ECHO_C" >&6
20563 cat >conftest.$ac_ext <<_ACEOF
20566 cat confdefs.h >>conftest.$ac_ext
20567 cat >>conftest.$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20569 #include <sys/types.h>
20570 #ifdef HAVE_SYS_MTIO_H
20571 #include <sys/mtio.h>
20577 static struct mtget ac_aggr;
20578 if (ac_aggr.mt_blkno)
20584 rm -f conftest.$ac_objext
20585 if { (ac_try="$ac_compile"
20586 case "(($ac_try" in
20587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20588 *) ac_try_echo=$ac_try;;
20590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20591 (eval "$ac_compile") 2>conftest.er1
20593 grep -v '^ *+' conftest.er1 >conftest.err
20595 cat conftest.err >&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); } && {
20598 test -z "$ac_c_werror_flag" ||
20599 test ! -s conftest.err
20600 } && test -s conftest.$ac_objext; then
20601 ac_cv_member_struct_mtget_mt_blkno=yes
20603 echo "$as_me: failed program was:" >&5
20604 sed 's/^/| /' conftest.$ac_ext >&5
20606 cat >conftest.$ac_ext <<_ACEOF
20609 cat confdefs.h >>conftest.$ac_ext
20610 cat >>conftest.$ac_ext <<_ACEOF
20611 /* end confdefs.h. */
20612 #include <sys/types.h>
20613 #ifdef HAVE_SYS_MTIO_H
20614 #include <sys/mtio.h>
20620 static struct mtget ac_aggr;
20621 if (sizeof ac_aggr.mt_blkno)
20627 rm -f conftest.$ac_objext
20628 if { (ac_try="$ac_compile"
20629 case "(($ac_try" in
20630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20631 *) ac_try_echo=$ac_try;;
20633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20634 (eval "$ac_compile") 2>conftest.er1
20636 grep -v '^ *+' conftest.er1 >conftest.err
20638 cat conftest.err >&5
20639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640 (exit $ac_status); } && {
20641 test -z "$ac_c_werror_flag" ||
20642 test ! -s conftest.err
20643 } && test -s conftest.$ac_objext; then
20644 ac_cv_member_struct_mtget_mt_blkno=yes
20646 echo "$as_me: failed program was:" >&5
20647 sed 's/^/| /' conftest.$ac_ext >&5
20649 ac_cv_member_struct_mtget_mt_blkno=no
20652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20657 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20658 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20659 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20661 cat >>confdefs.h <<_ACEOF
20662 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20669 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20670 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20671 if test "${ac_cv_member_struct_option_name+set}" = set; then
20672 echo $ECHO_N "(cached) $ECHO_C" >&6
20674 cat >conftest.$ac_ext <<_ACEOF
20677 cat confdefs.h >>conftest.$ac_ext
20678 cat >>conftest.$ac_ext <<_ACEOF
20679 /* end confdefs.h. */
20680 #ifdef HAVE_GETOPT_H
20681 #include <getopt.h>
20687 static struct option ac_aggr;
20694 rm -f conftest.$ac_objext
20695 if { (ac_try="$ac_compile"
20696 case "(($ac_try" in
20697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20698 *) ac_try_echo=$ac_try;;
20700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20701 (eval "$ac_compile") 2>conftest.er1
20703 grep -v '^ *+' conftest.er1 >conftest.err
20705 cat conftest.err >&5
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); } && {
20708 test -z "$ac_c_werror_flag" ||
20709 test ! -s conftest.err
20710 } && test -s conftest.$ac_objext; then
20711 ac_cv_member_struct_option_name=yes
20713 echo "$as_me: failed program was:" >&5
20714 sed 's/^/| /' conftest.$ac_ext >&5
20716 cat >conftest.$ac_ext <<_ACEOF
20719 cat confdefs.h >>conftest.$ac_ext
20720 cat >>conftest.$ac_ext <<_ACEOF
20721 /* end confdefs.h. */
20722 #ifdef HAVE_GETOPT_H
20723 #include <getopt.h>
20729 static struct option ac_aggr;
20730 if (sizeof ac_aggr.name)
20736 rm -f conftest.$ac_objext
20737 if { (ac_try="$ac_compile"
20738 case "(($ac_try" in
20739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20740 *) ac_try_echo=$ac_try;;
20742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20743 (eval "$ac_compile") 2>conftest.er1
20745 grep -v '^ *+' conftest.er1 >conftest.err
20747 cat conftest.err >&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); } && {
20750 test -z "$ac_c_werror_flag" ||
20751 test ! -s conftest.err
20752 } && test -s conftest.$ac_objext; then
20753 ac_cv_member_struct_option_name=yes
20755 echo "$as_me: failed program was:" >&5
20756 sed 's/^/| /' conftest.$ac_ext >&5
20758 ac_cv_member_struct_option_name=no
20761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20766 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20767 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20768 if test $ac_cv_member_struct_option_name = yes; then
20770 cat >>confdefs.h <<_ACEOF
20771 #define HAVE_STRUCT_OPTION_NAME 1
20778 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20779 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20780 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20781 echo $ECHO_N "(cached) $ECHO_C" >&6
20783 cat >conftest.$ac_ext <<_ACEOF
20786 cat confdefs.h >>conftest.$ac_ext
20787 cat >>conftest.$ac_ext <<_ACEOF
20788 /* end confdefs.h. */
20789 $ac_includes_default
20793 static struct stat ac_aggr;
20794 if (ac_aggr.st_blocks)
20800 rm -f conftest.$ac_objext
20801 if { (ac_try="$ac_compile"
20802 case "(($ac_try" in
20803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20804 *) ac_try_echo=$ac_try;;
20806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20807 (eval "$ac_compile") 2>conftest.er1
20809 grep -v '^ *+' conftest.er1 >conftest.err
20811 cat conftest.err >&5
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); } && {
20814 test -z "$ac_c_werror_flag" ||
20815 test ! -s conftest.err
20816 } && test -s conftest.$ac_objext; then
20817 ac_cv_member_struct_stat_st_blocks=yes
20819 echo "$as_me: failed program was:" >&5
20820 sed 's/^/| /' conftest.$ac_ext >&5
20822 cat >conftest.$ac_ext <<_ACEOF
20825 cat confdefs.h >>conftest.$ac_ext
20826 cat >>conftest.$ac_ext <<_ACEOF
20827 /* end confdefs.h. */
20828 $ac_includes_default
20832 static struct stat ac_aggr;
20833 if (sizeof ac_aggr.st_blocks)
20839 rm -f conftest.$ac_objext
20840 if { (ac_try="$ac_compile"
20841 case "(($ac_try" in
20842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20843 *) ac_try_echo=$ac_try;;
20845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20846 (eval "$ac_compile") 2>conftest.er1
20848 grep -v '^ *+' conftest.er1 >conftest.err
20850 cat conftest.err >&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } && {
20853 test -z "$ac_c_werror_flag" ||
20854 test ! -s conftest.err
20855 } && test -s conftest.$ac_objext; then
20856 ac_cv_member_struct_stat_st_blocks=yes
20858 echo "$as_me: failed program was:" >&5
20859 sed 's/^/| /' conftest.$ac_ext >&5
20861 ac_cv_member_struct_stat_st_blocks=no
20864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20869 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20870 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20871 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20873 cat >>confdefs.h <<_ACEOF
20874 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20881 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20882 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20883 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20884 echo $ECHO_N "(cached) $ECHO_C" >&6
20886 cat >conftest.$ac_ext <<_ACEOF
20889 cat confdefs.h >>conftest.$ac_ext
20890 cat >>conftest.$ac_ext <<_ACEOF
20891 /* end confdefs.h. */
20892 #ifdef HAVE_SYS_TYPES_H
20893 #include <sys/types.h>
20895 #ifdef HAVE_NETINET_IN_H
20896 #include <netinet/in.h>
20902 static struct sockaddr_in6 ac_aggr;
20903 if (ac_aggr.sin6_scope_id)
20909 rm -f conftest.$ac_objext
20910 if { (ac_try="$ac_compile"
20911 case "(($ac_try" in
20912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20913 *) ac_try_echo=$ac_try;;
20915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20916 (eval "$ac_compile") 2>conftest.er1
20918 grep -v '^ *+' conftest.er1 >conftest.err
20920 cat conftest.err >&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); } && {
20923 test -z "$ac_c_werror_flag" ||
20924 test ! -s conftest.err
20925 } && test -s conftest.$ac_objext; then
20926 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20928 echo "$as_me: failed program was:" >&5
20929 sed 's/^/| /' conftest.$ac_ext >&5
20931 cat >conftest.$ac_ext <<_ACEOF
20934 cat confdefs.h >>conftest.$ac_ext
20935 cat >>conftest.$ac_ext <<_ACEOF
20936 /* end confdefs.h. */
20937 #ifdef HAVE_SYS_TYPES_H
20938 #include <sys/types.h>
20940 #ifdef HAVE_NETINET_IN_H
20941 #include <netinet/in.h>
20947 static struct sockaddr_in6 ac_aggr;
20948 if (sizeof ac_aggr.sin6_scope_id)
20954 rm -f conftest.$ac_objext
20955 if { (ac_try="$ac_compile"
20956 case "(($ac_try" in
20957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20958 *) ac_try_echo=$ac_try;;
20960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20961 (eval "$ac_compile") 2>conftest.er1
20963 grep -v '^ *+' conftest.er1 >conftest.err
20965 cat conftest.err >&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); } && {
20968 test -z "$ac_c_werror_flag" ||
20969 test ! -s conftest.err
20970 } && test -s conftest.$ac_objext; then
20971 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.$ac_ext >&5
20976 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20984 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20985 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20986 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20988 cat >>confdefs.h <<_ACEOF
20989 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20996 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20997 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20998 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20999 echo $ECHO_N "(cached) $ECHO_C" >&6
21001 cat >conftest.$ac_ext <<_ACEOF
21004 cat confdefs.h >>conftest.$ac_ext
21005 cat >>conftest.$ac_ext <<_ACEOF
21006 /* end confdefs.h. */
21007 #ifdef HAVE_SYS_TYPES_H
21008 #include <sys/types.h>
21010 #ifdef HAVE_NETINET_IN_H
21011 # include <netinet/in.h>
21013 #ifdef HAVE_ARPA_NAMESER_H
21014 # include <arpa/nameser.h>
21020 static ns_msg ac_aggr;
21021 if (ac_aggr._msg_ptr)
21027 rm -f conftest.$ac_objext
21028 if { (ac_try="$ac_compile"
21029 case "(($ac_try" in
21030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21031 *) ac_try_echo=$ac_try;;
21033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21034 (eval "$ac_compile") 2>conftest.er1
21036 grep -v '^ *+' conftest.er1 >conftest.err
21038 cat conftest.err >&5
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); } && {
21041 test -z "$ac_c_werror_flag" ||
21042 test ! -s conftest.err
21043 } && test -s conftest.$ac_objext; then
21044 ac_cv_member_ns_msg__msg_ptr=yes
21046 echo "$as_me: failed program was:" >&5
21047 sed 's/^/| /' conftest.$ac_ext >&5
21049 cat >conftest.$ac_ext <<_ACEOF
21052 cat confdefs.h >>conftest.$ac_ext
21053 cat >>conftest.$ac_ext <<_ACEOF
21054 /* end confdefs.h. */
21055 #ifdef HAVE_SYS_TYPES_H
21056 #include <sys/types.h>
21058 #ifdef HAVE_NETINET_IN_H
21059 # include <netinet/in.h>
21061 #ifdef HAVE_ARPA_NAMESER_H
21062 # include <arpa/nameser.h>
21068 static ns_msg ac_aggr;
21069 if (sizeof ac_aggr._msg_ptr)
21075 rm -f conftest.$ac_objext
21076 if { (ac_try="$ac_compile"
21077 case "(($ac_try" in
21078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21079 *) ac_try_echo=$ac_try;;
21081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21082 (eval "$ac_compile") 2>conftest.er1
21084 grep -v '^ *+' conftest.er1 >conftest.err
21086 cat conftest.err >&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); } && {
21089 test -z "$ac_c_werror_flag" ||
21090 test ! -s conftest.err
21091 } && test -s conftest.$ac_objext; then
21092 ac_cv_member_ns_msg__msg_ptr=yes
21094 echo "$as_me: failed program was:" >&5
21095 sed 's/^/| /' conftest.$ac_ext >&5
21097 ac_cv_member_ns_msg__msg_ptr=no
21100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21105 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21106 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21107 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21109 cat >>confdefs.h <<_ACEOF
21110 #define HAVE_NS_MSG__MSG_PTR 1
21117 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21118 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21119 if test "${ac_cv_have_timezone+set}" = set; then
21120 echo $ECHO_N "(cached) $ECHO_C" >&6
21122 cat >conftest.$ac_ext <<_ACEOF
21125 cat confdefs.h >>conftest.$ac_ext
21126 cat >>conftest.$ac_ext <<_ACEOF
21127 /* end confdefs.h. */
21137 rm -f conftest.$ac_objext conftest$ac_exeext
21138 if { (ac_try="$ac_link"
21139 case "(($ac_try" in
21140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21141 *) ac_try_echo=$ac_try;;
21143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21144 (eval "$ac_link") 2>conftest.er1
21146 grep -v '^ *+' conftest.er1 >conftest.err
21148 cat conftest.err >&5
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); } && {
21151 test -z "$ac_c_werror_flag" ||
21152 test ! -s conftest.err
21153 } && test -s conftest$ac_exeext &&
21154 $as_test_x conftest$ac_exeext; then
21155 ac_cv_have_timezone="yes"
21157 echo "$as_me: failed program was:" >&5
21158 sed 's/^/| /' conftest.$ac_ext >&5
21160 ac_cv_have_timezone="no"
21163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21164 conftest$ac_exeext conftest.$ac_ext
21166 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21167 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21168 if test "$ac_cv_have_timezone" = "yes"
21171 cat >>confdefs.h <<\_ACEOF
21172 #define HAVE_TIMEZONE 1
21176 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21177 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21178 if test "${ac_cv_have_daylight+set}" = set; then
21179 echo $ECHO_N "(cached) $ECHO_C" >&6
21181 cat >conftest.$ac_ext <<_ACEOF
21184 cat confdefs.h >>conftest.$ac_ext
21185 cat >>conftest.$ac_ext <<_ACEOF
21186 /* end confdefs.h. */
21196 rm -f conftest.$ac_objext conftest$ac_exeext
21197 if { (ac_try="$ac_link"
21198 case "(($ac_try" in
21199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21200 *) ac_try_echo=$ac_try;;
21202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21203 (eval "$ac_link") 2>conftest.er1
21205 grep -v '^ *+' conftest.er1 >conftest.err
21207 cat conftest.err >&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); } && {
21210 test -z "$ac_c_werror_flag" ||
21211 test ! -s conftest.err
21212 } && test -s conftest$ac_exeext &&
21213 $as_test_x conftest$ac_exeext; then
21214 ac_cv_have_daylight="yes"
21216 echo "$as_me: failed program was:" >&5
21217 sed 's/^/| /' conftest.$ac_ext >&5
21219 ac_cv_have_daylight="no"
21222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21223 conftest$ac_exeext conftest.$ac_ext
21225 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21226 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21227 if test "$ac_cv_have_daylight" = "yes"
21230 cat >>confdefs.h <<\_ACEOF
21231 #define HAVE_DAYLIGHT 1
21238 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21239 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21240 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21241 echo $ECHO_N "(cached) $ECHO_C" >&6
21243 cat >conftest.$ac_ext <<_ACEOF
21246 cat confdefs.h >>conftest.$ac_ext
21247 cat >>conftest.$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21254 $EGREP "yes" >/dev/null 2>&1; then
21255 ac_cv_cpp_def___i386__=yes
21257 ac_cv_cpp_def___i386__=no
21262 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21263 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21264 if test $ac_cv_cpp_def___i386__ = yes; then
21265 CFLAGS="$CFLAGS -D__i386__"
21266 LINTFLAGS="$LINTFLAGS -D__i386__"
21269 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21270 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21271 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21272 echo $ECHO_N "(cached) $ECHO_C" >&6
21274 cat >conftest.$ac_ext <<_ACEOF
21277 cat confdefs.h >>conftest.$ac_ext
21278 cat >>conftest.$ac_ext <<_ACEOF
21279 /* end confdefs.h. */
21284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21285 $EGREP "yes" >/dev/null 2>&1; then
21286 ac_cv_cpp_def___x86_64__=yes
21288 ac_cv_cpp_def___x86_64__=no
21293 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21294 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21295 if test $ac_cv_cpp_def___x86_64__ = yes; then
21296 CFLAGS="$CFLAGS -D__x86_64__"
21297 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21300 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21301 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21302 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21303 echo $ECHO_N "(cached) $ECHO_C" >&6
21305 cat >conftest.$ac_ext <<_ACEOF
21308 cat confdefs.h >>conftest.$ac_ext
21309 cat >>conftest.$ac_ext <<_ACEOF
21310 /* end confdefs.h. */
21315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21316 $EGREP "yes" >/dev/null 2>&1; then
21317 ac_cv_cpp_def___ALPHA__=yes
21319 ac_cv_cpp_def___ALPHA__=no
21324 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21325 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21326 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21327 CFLAGS="$CFLAGS -D__ALPHA__"
21328 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21331 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21332 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21333 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21334 echo $ECHO_N "(cached) $ECHO_C" >&6
21336 cat >conftest.$ac_ext <<_ACEOF
21339 cat confdefs.h >>conftest.$ac_ext
21340 cat >>conftest.$ac_ext <<_ACEOF
21341 /* end confdefs.h. */
21346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21347 $EGREP "yes" >/dev/null 2>&1; then
21348 ac_cv_cpp_def___sparc__=yes
21350 ac_cv_cpp_def___sparc__=no
21355 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21356 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21357 if test $ac_cv_cpp_def___sparc__ = yes; then
21358 CFLAGS="$CFLAGS -D__sparc__"
21359 LINTFLAGS="$LINTFLAGS -D__sparc__"
21362 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21363 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21364 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21365 echo $ECHO_N "(cached) $ECHO_C" >&6
21367 cat >conftest.$ac_ext <<_ACEOF
21370 cat confdefs.h >>conftest.$ac_ext
21371 cat >>conftest.$ac_ext <<_ACEOF
21372 /* end confdefs.h. */
21373 #ifndef __powerpc__
21377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21378 $EGREP "yes" >/dev/null 2>&1; then
21379 ac_cv_cpp_def___powerpc__=yes
21381 ac_cv_cpp_def___powerpc__=no
21386 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21387 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21388 if test $ac_cv_cpp_def___powerpc__ = yes; then
21389 CFLAGS="$CFLAGS -D__powerpc__"
21390 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21395 case $host_vendor in
21396 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21397 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21398 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21399 echo $ECHO_N "(cached) $ECHO_C" >&6
21401 cat >conftest.$ac_ext <<_ACEOF
21404 cat confdefs.h >>conftest.$ac_ext
21405 cat >>conftest.$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21412 $EGREP "yes" >/dev/null 2>&1; then
21413 ac_cv_cpp_def___sun__=yes
21415 ac_cv_cpp_def___sun__=no
21420 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21421 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21422 if test $ac_cv_cpp_def___sun__ = yes; then
21423 CFLAGS="$CFLAGS -D__sun__"
21424 LINTFLAGS="$LINTFLAGS -D__sun__"
21430 DEPENDENCIES="### Dependencies:
21435 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21437 \$(OBJS): \$(IDL_GEN_HEADERS)
21438 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21439 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21440 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21441 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21447 ac_config_commands="$ac_config_commands include/stamp-h"
21450 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21452 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21454 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21456 ac_config_commands="$ac_config_commands dlls/user32/resources"
21458 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21460 ac_config_commands="$ac_config_commands include/wine"
21463 MAKE_RULES=Make.rules
21466 MAKE_DLL_RULES=dlls/Makedll.rules
21469 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21472 MAKE_TEST_RULES=dlls/Maketest.rules
21475 MAKE_PROG_RULES=programs/Makeprog.rules
21478 ac_config_files="$ac_config_files Make.rules"
21480 ac_config_files="$ac_config_files dlls/Makedll.rules"
21482 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21484 ac_config_files="$ac_config_files dlls/Maketest.rules"
21486 ac_config_files="$ac_config_files programs/Makeprog.rules"
21488 ac_config_files="$ac_config_files Makefile"
21490 ac_config_files="$ac_config_files dlls/Makefile"
21492 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21494 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21496 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21498 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21500 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21502 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21504 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21506 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21508 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21510 ac_config_files="$ac_config_files dlls/atl/Makefile"
21512 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21514 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21516 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21518 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21520 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21522 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21524 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21526 ac_config_files="$ac_config_files dlls/cards/Makefile"
21528 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21530 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21532 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21534 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21536 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21538 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21540 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21542 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21544 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21546 ac_config_files="$ac_config_files dlls/credui/Makefile"
21548 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21550 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21552 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21554 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21556 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21558 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21560 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21562 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21564 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21566 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21568 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21570 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21572 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21574 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21576 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21578 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21580 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21582 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21584 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21586 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21588 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21590 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21592 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21594 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21596 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21598 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21600 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21602 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21604 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21606 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21608 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21610 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21612 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21614 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21616 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21618 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21620 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21622 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21624 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21626 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21628 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21630 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21632 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21634 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21636 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21638 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21640 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21642 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21644 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21646 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21648 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21650 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21652 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21654 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21656 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21658 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21660 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21662 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21664 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21666 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21668 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21670 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21672 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21674 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21676 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21678 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21680 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21682 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21684 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21686 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21688 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21690 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21692 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21694 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21696 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21698 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21700 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21702 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21704 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21706 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21708 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21710 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21712 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21714 ac_config_files="$ac_config_files dlls/hal/Makefile"
21716 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21718 ac_config_files="$ac_config_files dlls/hid/Makefile"
21720 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21722 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21724 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21726 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21728 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21730 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21732 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21734 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21736 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21738 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21740 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21742 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21744 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21746 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21748 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21750 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21752 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21754 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21756 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21758 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21760 ac_config_files="$ac_config_files dlls/itss/Makefile"
21762 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21764 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21766 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21768 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21770 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21772 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21774 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21776 ac_config_files="$ac_config_files dlls/localui/Makefile"
21778 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21780 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21782 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21784 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21786 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21788 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21790 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21792 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21794 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21796 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21798 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21800 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21802 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21804 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21806 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21808 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21810 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21812 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21814 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21816 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21818 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21820 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21822 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21824 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21826 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21828 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21830 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21832 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21834 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21836 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21838 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21840 ac_config_files="$ac_config_files dlls/msi/Makefile"
21842 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21844 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21846 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21848 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21850 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21852 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21854 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21856 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21858 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21860 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21862 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21864 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21866 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21868 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21870 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21872 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21874 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21876 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21878 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21880 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21882 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21884 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21886 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21888 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21890 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21892 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21894 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21896 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21898 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21900 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21902 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21904 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21906 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21908 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21910 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21912 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21914 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21916 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21918 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21920 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21922 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21924 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21926 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21928 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21930 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21932 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21934 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21936 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21938 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21940 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21942 ac_config_files="$ac_config_files dlls/printui/Makefile"
21944 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21946 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21948 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21950 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21952 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21954 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21956 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21958 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21960 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
21962 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21964 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21966 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21968 ac_config_files="$ac_config_files dlls/query/Makefile"
21970 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21972 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21974 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21976 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21978 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21980 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21982 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21984 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21986 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21988 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21990 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21992 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21994 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
21996 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21998 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22000 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22002 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22004 ac_config_files="$ac_config_files dlls/security/Makefile"
22006 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22008 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22010 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22012 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22014 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22016 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22018 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22020 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22022 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22024 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22026 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22028 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22030 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22032 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22034 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22036 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22038 ac_config_files="$ac_config_files dlls/slc/Makefile"
22040 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22042 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22044 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22046 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22048 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22050 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22052 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22054 ac_config_files="$ac_config_files dlls/sti/Makefile"
22056 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22058 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22060 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22062 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22064 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22066 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22068 ac_config_files="$ac_config_files dlls/url/Makefile"
22070 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22072 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22074 ac_config_files="$ac_config_files dlls/user32/Makefile"
22076 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22078 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22080 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22082 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22084 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22086 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22088 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22090 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22092 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22094 ac_config_files="$ac_config_files dlls/version/Makefile"
22096 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22098 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22100 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22102 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22104 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22106 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22108 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22110 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22112 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22114 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22116 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22118 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22120 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22122 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22124 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22126 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22128 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22130 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22132 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22134 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22136 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22138 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22140 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22142 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22144 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22146 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22148 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22150 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22152 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22154 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22156 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22158 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22160 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22162 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22164 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22166 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22168 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22170 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22172 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22174 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22176 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22178 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22180 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22182 ac_config_files="$ac_config_files documentation/Makefile"
22184 ac_config_files="$ac_config_files fonts/Makefile"
22186 ac_config_files="$ac_config_files include/Makefile"
22188 ac_config_files="$ac_config_files libs/Makefile"
22190 ac_config_files="$ac_config_files libs/port/Makefile"
22192 ac_config_files="$ac_config_files libs/wine/Makefile"
22194 ac_config_files="$ac_config_files libs/wpp/Makefile"
22196 ac_config_files="$ac_config_files loader/Makefile"
22198 ac_config_files="$ac_config_files programs/Makefile"
22200 ac_config_files="$ac_config_files programs/clock/Makefile"
22202 ac_config_files="$ac_config_files programs/cmd/Makefile"
22204 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22206 ac_config_files="$ac_config_files programs/control/Makefile"
22208 ac_config_files="$ac_config_files programs/eject/Makefile"
22210 ac_config_files="$ac_config_files programs/expand/Makefile"
22212 ac_config_files="$ac_config_files programs/explorer/Makefile"
22214 ac_config_files="$ac_config_files programs/hh/Makefile"
22216 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22218 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22220 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22222 ac_config_files="$ac_config_files programs/net/Makefile"
22224 ac_config_files="$ac_config_files programs/notepad/Makefile"
22226 ac_config_files="$ac_config_files programs/oleview/Makefile"
22228 ac_config_files="$ac_config_files programs/progman/Makefile"
22230 ac_config_files="$ac_config_files programs/reg/Makefile"
22232 ac_config_files="$ac_config_files programs/regedit/Makefile"
22234 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22236 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22238 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22240 ac_config_files="$ac_config_files programs/secedit/Makefile"
22242 ac_config_files="$ac_config_files programs/services/Makefile"
22244 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22246 ac_config_files="$ac_config_files programs/start/Makefile"
22248 ac_config_files="$ac_config_files programs/svchost/Makefile"
22250 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22252 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22254 ac_config_files="$ac_config_files programs/view/Makefile"
22256 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22258 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22260 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22262 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22264 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22266 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22268 ac_config_files="$ac_config_files programs/winefile/Makefile"
22270 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22272 ac_config_files="$ac_config_files programs/winemine/Makefile"
22274 ac_config_files="$ac_config_files programs/winepath/Makefile"
22276 ac_config_files="$ac_config_files programs/winetest/Makefile"
22278 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22280 ac_config_files="$ac_config_files programs/winhelp/Makefile"
22282 ac_config_files="$ac_config_files programs/winver/Makefile"
22284 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22286 ac_config_files="$ac_config_files programs/write/Makefile"
22288 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22290 ac_config_files="$ac_config_files server/Makefile"
22292 ac_config_files="$ac_config_files tools/Makefile"
22294 ac_config_files="$ac_config_files tools/widl/Makefile"
22296 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22298 ac_config_files="$ac_config_files tools/winedump/Makefile"
22300 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22302 ac_config_files="$ac_config_files tools/wmc/Makefile"
22304 ac_config_files="$ac_config_files tools/wrc/Makefile"
22307 cat >confcache <<\_ACEOF
22308 # This file is a shell script that caches the results of configure
22309 # tests run on this system so they can be shared between configure
22310 # scripts and configure runs, see configure's option --config-cache.
22311 # It is not useful on other systems. If it contains results you don't
22312 # want to keep, you may remove or edit it.
22314 # config.status only pays attention to the cache file if you give it
22315 # the --recheck option to rerun configure.
22317 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22318 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22319 # following values.
22323 # The following way of writing the cache mishandles newlines in values,
22324 # but we know of no workaround that is simple, portable, and efficient.
22325 # So, we kill variables containing newlines.
22326 # Ultrix sh set writes to stderr and can't be redirected directly,
22327 # and sets the high bit in the cache file unless we assign to the vars.
22329 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22330 eval ac_val=\$$ac_var
22334 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22335 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22338 _ | IFS | as_nl) ;; #(
22339 *) $as_unset $ac_var ;;
22345 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22346 *${as_nl}ac_space=\ *)
22347 # `set' does not quote correctly, so add quotes (double-quote
22348 # substitution turns \\\\ into \\, and sed turns \\ into \).
22351 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22354 # `set' quotes correctly as required by POSIX, so do not add quotes.
22355 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22364 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22366 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22368 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22369 if test -w "$cache_file"; then
22370 test "x$cache_file" != "x/dev/null" &&
22371 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22372 echo "$as_me: updating cache $cache_file" >&6;}
22373 cat confcache >$cache_file
22375 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22376 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22381 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22382 # Let make expand exec_prefix.
22383 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22385 DEFS=-DHAVE_CONFIG_H
22389 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22390 # 1. Remove the extension, and $U if already installed.
22391 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22392 ac_i=`echo "$ac_i" | sed "$ac_script"`
22393 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22394 # will be set to the directory where LIBOBJS objects are built.
22395 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22396 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22398 LIBOBJS=$ac_libobjs
22400 LTLIBOBJS=$ac_ltlibobjs
22404 : ${CONFIG_STATUS=./config.status}
22405 ac_clean_files_save=$ac_clean_files
22406 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22407 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22408 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22409 cat >$CONFIG_STATUS <<_ACEOF
22411 # Generated by $as_me.
22412 # Run this file to recreate the current configuration.
22413 # Compiler output produced by configure, useful for debugging
22414 # configure, is in config.log if it exists.
22417 ac_cs_recheck=false
22419 SHELL=\${CONFIG_SHELL-$SHELL}
22422 cat >>$CONFIG_STATUS <<\_ACEOF
22423 ## --------------------- ##
22424 ## M4sh Initialization. ##
22425 ## --------------------- ##
22427 # Be more Bourne compatible
22428 DUALCASE=1; export DUALCASE # for MKS sh
22429 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22432 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22433 # is contrary to our usage. Disable this feature.
22434 alias -g '${1+"$@"}'='"$@"'
22435 setopt NO_GLOB_SUBST
22437 case `(set -o) 2>/dev/null` in
22438 *posix*) set -o posix ;;
22447 # Avoid depending upon Character Ranges.
22448 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22449 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22450 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22451 as_cr_digits='0123456789'
22452 as_cr_alnum=$as_cr_Letters$as_cr_digits
22454 # The user is always right.
22455 if test "${PATH_SEPARATOR+set}" != set; then
22456 echo "#! /bin/sh" >conf$$.sh
22457 echo "exit 0" >>conf$$.sh
22459 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22467 # Support unset when possible.
22468 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22476 # We need space, tab and new line, in precisely that order. Quoting is
22477 # there to prevent editors from complaining about space-tab.
22478 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22479 # splitting by setting IFS to empty value.)
22484 # Find who we are. Look in the path if we contain no directory separator.
22486 *[\\/]* ) as_myself=$0 ;;
22487 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22488 for as_dir in $PATH
22491 test -z "$as_dir" && as_dir=.
22492 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22498 # We did not find ourselves, most probably we were run as `sh COMMAND'
22499 # in which case we are not to be found in the path.
22500 if test "x$as_myself" = x; then
22503 if test ! -f "$as_myself"; then
22504 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22505 { (exit 1); exit 1; }
22508 # Work around bugs in pre-3.0 UWIN ksh.
22509 for as_var in ENV MAIL MAILPATH
22510 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22518 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22519 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22520 LC_TELEPHONE LC_TIME
22522 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22523 eval $as_var=C; export $as_var
22525 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22529 # Required to use basename.
22530 if expr a : '\(a\)' >/dev/null 2>&1 &&
22531 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22537 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22538 as_basename=basename
22544 # Name of the executable.
22545 as_me=`$as_basename -- "$0" ||
22546 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22547 X"$0" : 'X\(//\)$' \| \
22548 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22550 sed '/^.*\/\([^/][^/]*\)\/*$/{
22569 as_lineno_1=$LINENO
22570 as_lineno_2=$LINENO
22571 test "x$as_lineno_1" != "x$as_lineno_2" &&
22572 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22574 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22575 # uniformly replaced by the line number. The first 'sed' inserts a
22576 # line-number line after each line using $LINENO; the second 'sed'
22577 # does the real work. The second script uses 'N' to pair each
22578 # line-number line with the line containing $LINENO, and appends
22579 # trailing '-' during substitution so that $LINENO is not a special
22580 # case at line end.
22581 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22582 # scripts with optimization help from Paolo Bonzini. Blame Lee
22583 # E. McMahon (1931-1989) for sed's syntax. :-)
22595 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22598 ' >$as_me.lineno &&
22599 chmod +x "$as_me.lineno" ||
22600 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22601 { (exit 1); exit 1; }; }
22603 # Don't try to exec as it changes $[0], causing all sort of problems
22604 # (the dirname of $[0] is not the place where we might find the
22605 # original and so on. Autoconf is especially sensitive to this).
22606 . "./$as_me.lineno"
22607 # Exit status is that of the last command.
22612 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22618 ECHO_C= ECHO_N= ECHO_T=
22619 case `echo -n x` in
22621 case `echo 'x\c'` in
22622 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22629 if expr a : '\(a\)' >/dev/null 2>&1 &&
22630 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22636 rm -f conf$$ conf$$.exe conf$$.file
22637 if test -d conf$$.dir; then
22638 rm -f conf$$.dir/conf$$.file
22644 if ln -s conf$$.file conf$$ 2>/dev/null; then
22646 # ... but there are two gotchas:
22647 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22648 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22649 # In both cases, we have to default to `cp -p'.
22650 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22652 elif ln conf$$.file conf$$ 2>/dev/null; then
22657 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22658 rmdir conf$$.dir 2>/dev/null
22660 if mkdir -p . 2>/dev/null; then
22663 test -d ./-p && rmdir ./-p
22667 if test -x / >/dev/null 2>&1; then
22668 as_test_x='test -x'
22670 if ls -dL / >/dev/null 2>&1; then
22677 if test -d "$1"; then
22683 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22684 ???[sx]*):;;*)false;;esac;fi
22688 as_executable_p=$as_test_x
22690 # Sed expression to map a string onto a valid CPP name.
22691 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22693 # Sed expression to map a string onto a valid variable name.
22694 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22699 # Save the log message, to keep $[0] and so on meaningful, and to
22700 # report actual input values of CONFIG_FILES etc. instead of their
22701 # values after options handling.
22703 This file was extended by Wine $as_me 0.9.60, which was
22704 generated by GNU Autoconf 2.61. Invocation command line was
22706 CONFIG_FILES = $CONFIG_FILES
22707 CONFIG_HEADERS = $CONFIG_HEADERS
22708 CONFIG_LINKS = $CONFIG_LINKS
22709 CONFIG_COMMANDS = $CONFIG_COMMANDS
22712 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22717 cat >>$CONFIG_STATUS <<_ACEOF
22718 # Files that config.status was made for.
22719 config_files="$ac_config_files"
22720 config_headers="$ac_config_headers"
22721 config_commands="$ac_config_commands"
22725 cat >>$CONFIG_STATUS <<\_ACEOF
22727 \`$as_me' instantiates files from templates according to the
22728 current configuration.
22730 Usage: $0 [OPTIONS] [FILE]...
22732 -h, --help print this help, then exit
22733 -V, --version print version number and configuration settings, then exit
22734 -q, --quiet do not print progress messages
22735 -d, --debug don't remove temporary files
22736 --recheck update $as_me by reconfiguring in the same conditions
22737 --file=FILE[:TEMPLATE]
22738 instantiate the configuration file FILE
22739 --header=FILE[:TEMPLATE]
22740 instantiate the configuration header FILE
22742 Configuration files:
22745 Configuration headers:
22748 Configuration commands:
22751 Report bugs to <bug-autoconf@gnu.org>."
22754 cat >>$CONFIG_STATUS <<_ACEOF
22756 Wine config.status 0.9.60
22757 configured by $0, generated by GNU Autoconf 2.61,
22758 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22760 Copyright (C) 2006 Free Software Foundation, Inc.
22761 This config.status script is free software; the Free Software Foundation
22762 gives unlimited permission to copy, distribute and modify it."
22769 cat >>$CONFIG_STATUS <<\_ACEOF
22770 # If no file are specified by the user, then we need to provide default
22771 # value. By we need to know if files were specified by the user.
22777 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22778 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22789 # Handling of the options.
22790 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22792 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22793 echo "$ac_cs_version"; exit ;;
22794 --debug | --debu | --deb | --de | --d | -d )
22796 --file | --fil | --fi | --f )
22798 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22799 ac_need_defaults=false;;
22800 --header | --heade | --head | --hea )
22802 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22803 ac_need_defaults=false;;
22805 # Conflict between --help and --header
22806 { echo "$as_me: error: ambiguous option: $1
22807 Try \`$0 --help' for more information." >&2
22808 { (exit 1); exit 1; }; };;
22809 --help | --hel | -h )
22810 echo "$ac_cs_usage"; exit ;;
22811 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22812 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22815 # This is an error.
22816 -*) { echo "$as_me: error: unrecognized option: $1
22817 Try \`$0 --help' for more information." >&2
22818 { (exit 1); exit 1; }; } ;;
22820 *) ac_config_targets="$ac_config_targets $1"
22821 ac_need_defaults=false ;;
22827 ac_configure_extra_args=
22829 if $ac_cs_silent; then
22831 ac_configure_extra_args="$ac_configure_extra_args --silent"
22835 cat >>$CONFIG_STATUS <<_ACEOF
22836 if \$ac_cs_recheck; then
22837 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22838 CONFIG_SHELL=$SHELL
22839 export CONFIG_SHELL
22840 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22844 cat >>$CONFIG_STATUS <<\_ACEOF
22848 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22849 ## Running $as_me. ##
22855 cat >>$CONFIG_STATUS <<_ACEOF
22858 cat >>$CONFIG_STATUS <<\_ACEOF
22860 # Handling of arguments.
22861 for ac_config_target in $ac_config_targets
22863 case $ac_config_target in
22864 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22865 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22866 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22867 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22868 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22869 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22870 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22871 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22872 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22873 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22874 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22875 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22876 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22877 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22878 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22879 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22880 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22881 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22882 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22883 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22884 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22885 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22886 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22887 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22888 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22889 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22890 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22891 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22892 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22893 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22894 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22895 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22896 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22897 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22898 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22899 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22900 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22901 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22902 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22903 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22904 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22905 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22906 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22907 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22908 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22909 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22910 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22911 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22912 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22913 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22914 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22915 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
22916 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22917 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22918 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22919 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22920 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22921 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22922 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22923 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22924 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22925 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22926 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22927 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22928 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22929 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22930 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22931 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22932 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22933 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22934 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22935 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22936 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22937 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22938 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22939 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22940 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22941 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
22942 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
22943 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22944 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22945 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22946 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22947 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22948 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22949 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22950 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22951 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22952 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22953 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22954 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22955 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22956 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22957 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22958 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22959 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22960 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22961 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22962 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22963 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22964 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
22965 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22966 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22967 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22968 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22969 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22970 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22971 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
22972 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22973 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22974 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
22975 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22976 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22977 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22978 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22979 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22980 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22981 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
22982 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
22983 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22984 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22985 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22986 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22987 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
22988 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22989 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22990 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
22991 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22992 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
22993 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
22994 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22995 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22996 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22997 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
22998 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22999 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23000 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23001 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23002 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23003 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23004 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23005 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23006 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23007 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23008 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23009 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23010 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23011 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23012 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23013 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23014 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23015 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23016 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23017 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23018 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23019 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23020 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23021 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23022 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23023 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23024 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23025 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23026 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23027 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23028 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23029 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23030 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23031 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23032 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23033 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23034 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23035 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23036 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23037 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23038 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23039 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23040 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23041 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23042 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23043 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23044 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23045 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23046 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23047 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23048 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23049 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23050 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23051 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23052 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23053 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23054 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23055 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23056 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23057 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23058 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23059 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23060 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23061 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23062 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23063 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23064 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23065 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23066 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23067 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23068 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23069 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23070 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23071 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23072 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23073 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23074 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23075 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23076 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23077 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23078 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23079 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23080 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23081 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23082 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23083 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23084 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23085 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23086 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23087 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23088 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23089 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23090 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23091 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23092 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23093 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23094 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23095 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23096 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23097 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23098 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23099 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23100 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23101 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23102 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23103 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23104 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23105 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23106 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23107 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23108 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23109 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23110 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23111 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23112 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23113 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23114 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23115 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23116 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23117 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23118 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23119 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23120 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23121 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23122 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23123 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23124 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23125 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23126 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23127 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23128 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23129 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23130 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23131 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23132 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23133 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23134 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23135 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23136 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23137 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23138 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23139 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23140 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23141 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23142 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23143 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23144 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23145 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23146 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23147 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23148 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23149 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23150 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23151 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23152 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23153 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23154 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23155 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23156 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23157 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23158 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23159 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23160 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23161 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23162 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23163 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23164 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23165 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23166 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23167 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23168 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23169 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23170 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23171 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23172 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23173 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23174 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23175 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23176 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23177 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23178 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23179 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23180 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23181 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23182 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23183 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23184 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23185 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23186 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23187 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23188 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23189 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23190 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23191 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23192 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23193 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23194 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23195 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23196 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23197 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23198 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23199 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23200 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23201 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23202 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23203 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23204 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23205 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23206 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23207 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23208 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23209 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23210 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23211 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23212 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23213 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23214 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23215 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23216 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23217 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23218 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23219 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23220 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23221 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23222 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23223 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23224 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23225 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23226 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23227 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23228 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23229 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23230 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23231 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23232 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23233 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23234 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23235 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23236 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23237 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23238 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23239 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23240 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23241 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23242 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23243 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23244 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23245 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23246 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23247 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23248 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23249 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23250 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23251 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23252 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23253 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23254 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23255 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23256 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23257 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23258 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23259 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23260 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23261 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23262 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23263 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23264 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23265 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23266 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23267 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23268 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23269 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23270 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23271 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23272 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23273 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
23274 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23275 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23276 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23277 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23278 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23279 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23280 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23281 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23282 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23283 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23284 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23285 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23287 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23288 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23289 { (exit 1); exit 1; }; };;
23294 # If the user did not use the arguments to specify the items to instantiate,
23295 # then the envvar interface is used. Set only those that are not.
23296 # We use the long form for the default assignment because of an extremely
23297 # bizarre bug on SunOS 4.1.3.
23298 if $ac_need_defaults; then
23299 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23300 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23301 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23304 # Have a temporary directory for convenience. Make it in the build tree
23305 # simply because there is no reason against having it here, and in addition,
23306 # creating and moving files from /tmp can sometimes cause problems.
23307 # Hook for its removal unless debugging.
23308 # Note that there is a small window in which the directory will not be cleaned:
23309 # after its creation but before its name has been assigned to `$tmp'.
23313 trap 'exit_status=$?
23314 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23316 trap '{ (exit 1); exit 1; }' 1 2 13 15
23318 # Create a (secure) tmp directory for tmp files.
23321 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23322 test -n "$tmp" && test -d "$tmp"
23325 tmp=./conf$$-$RANDOM
23326 (umask 077 && mkdir "$tmp")
23329 echo "$me: cannot create a temporary directory in ." >&2
23330 { (exit 1); exit 1; }
23334 # Set up the sed scripts for CONFIG_FILES section.
23337 # No need to generate the scripts if there are no CONFIG_FILES.
23338 # This happens for instance when ./config.status config.h
23339 if test -n "$CONFIG_FILES"; then
23343 # Create sed commands to just substitute file output variables.
23345 # Remaining file output variables are in a fragment that also has non-file
23351 for ac_last_try in false false false false false :; do
23352 cat >conf$$subs.sed <<_ACEOF
23353 SHELL!$SHELL$ac_delim
23354 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23355 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23356 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23357 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23358 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23359 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23360 exec_prefix!$exec_prefix$ac_delim
23361 prefix!$prefix$ac_delim
23362 program_transform_name!$program_transform_name$ac_delim
23363 bindir!$bindir$ac_delim
23364 sbindir!$sbindir$ac_delim
23365 libexecdir!$libexecdir$ac_delim
23366 datarootdir!$datarootdir$ac_delim
23367 datadir!$datadir$ac_delim
23368 sysconfdir!$sysconfdir$ac_delim
23369 sharedstatedir!$sharedstatedir$ac_delim
23370 localstatedir!$localstatedir$ac_delim
23371 includedir!$includedir$ac_delim
23372 oldincludedir!$oldincludedir$ac_delim
23373 docdir!$docdir$ac_delim
23374 infodir!$infodir$ac_delim
23375 htmldir!$htmldir$ac_delim
23376 dvidir!$dvidir$ac_delim
23377 pdfdir!$pdfdir$ac_delim
23378 psdir!$psdir$ac_delim
23379 libdir!$libdir$ac_delim
23380 localedir!$localedir$ac_delim
23381 mandir!$mandir$ac_delim
23382 DEFS!$DEFS$ac_delim
23383 ECHO_C!$ECHO_C$ac_delim
23384 ECHO_N!$ECHO_N$ac_delim
23385 ECHO_T!$ECHO_T$ac_delim
23386 LIBS!$LIBS$ac_delim
23387 build_alias!$build_alias$ac_delim
23388 host_alias!$host_alias$ac_delim
23389 target_alias!$target_alias$ac_delim
23390 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23391 build!$build$ac_delim
23392 build_cpu!$build_cpu$ac_delim
23393 build_vendor!$build_vendor$ac_delim
23394 build_os!$build_os$ac_delim
23395 host!$host$ac_delim
23396 host_cpu!$host_cpu$ac_delim
23397 host_vendor!$host_vendor$ac_delim
23398 host_os!$host_os$ac_delim
23399 WIN16_FILES!$WIN16_FILES$ac_delim
23400 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23401 SET_MAKE!$SET_MAKE$ac_delim
23403 CFLAGS!$CFLAGS$ac_delim
23404 LDFLAGS!$LDFLAGS$ac_delim
23405 CPPFLAGS!$CPPFLAGS$ac_delim
23406 ac_ct_CC!$ac_ct_CC$ac_delim
23407 EXEEXT!$EXEEXT$ac_delim
23408 OBJEXT!$OBJEXT$ac_delim
23410 CXXFLAGS!$CXXFLAGS$ac_delim
23411 ac_ct_CXX!$ac_ct_CXX$ac_delim
23412 CPPBIN!$CPPBIN$ac_delim
23413 TOOLSDIR!$TOOLSDIR$ac_delim
23414 XMKMF!$XMKMF$ac_delim
23416 X_CFLAGS!$X_CFLAGS$ac_delim
23417 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23418 X_LIBS!$X_LIBS$ac_delim
23419 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23420 FLEX!$FLEX$ac_delim
23421 BISON!$BISON$ac_delim
23423 ac_ct_AS!$ac_ct_AS$ac_delim
23426 ARFLAGS!$ARFLAGS$ac_delim
23427 RANLIB!$RANLIB$ac_delim
23428 STRIP!$STRIP$ac_delim
23429 WINDRES!$WINDRES$ac_delim
23430 LN_S!$LN_S$ac_delim
23432 GREP!$GREP$ac_delim
23433 EGREP!$EGREP$ac_delim
23434 LDCONFIG!$LDCONFIG$ac_delim
23437 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23439 elif $ac_last_try; then
23440 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23441 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23442 { (exit 1); exit 1; }; }
23444 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23448 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23449 if test -n "$ac_eof"; then
23450 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23451 ac_eof=`expr $ac_eof + 1`
23454 cat >>$CONFIG_STATUS <<_ACEOF
23455 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23456 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23457 /^[ ]*@MAKE_RULES@[ ]*$/{
23461 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23465 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23466 r $MAKE_IMPLIB_RULES
23469 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23473 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23479 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23480 s/^/s,@/; s/!/@,|#_!!_#|/
23483 s/'"$ac_delim"'$/,g/; t
23485 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23486 ' >>$CONFIG_STATUS <conf$$subs.sed
23487 rm -f conf$$subs.sed
23488 cat >>$CONFIG_STATUS <<_ACEOF
23494 for ac_last_try in false false false false false :; do
23495 cat >conf$$subs.sed <<_ACEOF
23496 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23497 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23498 INSTALL_DATA!$INSTALL_DATA$ac_delim
23499 LINT!$LINT$ac_delim
23500 LINTFLAGS!$LINTFLAGS$ac_delim
23501 FONTFORGE!$FONTFORGE$ac_delim
23502 PKG_CONFIG!$PKG_CONFIG$ac_delim
23503 RSVG!$RSVG$ac_delim
23504 ICOTOOL!$ICOTOOL$ac_delim
23505 PRELINK!$PRELINK$ac_delim
23506 LIBPTHREAD!$LIBPTHREAD$ac_delim
23507 XLIB!$XLIB$ac_delim
23508 XFILES!$XFILES$ac_delim
23509 OPENGLFILES!$OPENGLFILES$ac_delim
23510 GLU32FILES!$GLU32FILES$ac_delim
23511 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23512 QUARTZFILES!$QUARTZFILES$ac_delim
23513 DLLEXT!$DLLEXT$ac_delim
23514 DLLFLAGS!$DLLFLAGS$ac_delim
23515 LDSHARED!$LDSHARED$ac_delim
23516 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23517 LIBEXT!$LIBEXT$ac_delim
23518 IMPLIBEXT!$IMPLIBEXT$ac_delim
23519 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23520 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23522 DLLTOOL!$DLLTOOL$ac_delim
23523 DLLWRAP!$DLLWRAP$ac_delim
23524 MINGWAR!$MINGWAR$ac_delim
23525 SECURITYLIB!$SECURITYLIB$ac_delim
23526 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23527 IOKITLIB!$IOKITLIB$ac_delim
23528 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23529 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23530 COREAUDIO!$COREAUDIO$ac_delim
23531 CARBONLIB!$CARBONLIB$ac_delim
23532 CROSSTEST!$CROSSTEST$ac_delim
23533 CROSSCC!$CROSSCC$ac_delim
23534 CROSSWINDRES!$CROSSWINDRES$ac_delim
23535 NASLIBS!$NASLIBS$ac_delim
23536 XML2LIBS!$XML2LIBS$ac_delim
23537 XML2INCL!$XML2INCL$ac_delim
23538 XSLTLIBS!$XSLTLIBS$ac_delim
23539 XSLTINCL!$XSLTINCL$ac_delim
23540 HALINCL!$HALINCL$ac_delim
23541 sane_devel!$sane_devel$ac_delim
23542 SANEINCL!$SANEINCL$ac_delim
23543 gphoto2_devel!$gphoto2_devel$ac_delim
23544 gphoto2port_devel!$gphoto2port_devel$ac_delim
23545 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23546 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23547 RESOLVLIBS!$RESOLVLIBS$ac_delim
23548 LCMSLIBS!$LCMSLIBS$ac_delim
23549 LDAPLIBS!$LDAPLIBS$ac_delim
23550 ft_devel!$ft_devel$ac_delim
23551 FREETYPELIBS!$FREETYPELIBS$ac_delim
23552 FREETYPEINCL!$FREETYPEINCL$ac_delim
23553 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23554 ESDCONFIG!$ESDCONFIG$ac_delim
23555 ESDLIBS!$ESDLIBS$ac_delim
23556 ESDINCL!$ESDINCL$ac_delim
23557 ALSALIBS!$ALSALIBS$ac_delim
23558 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23559 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23560 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23561 BUILTINFLAG!$BUILTINFLAG$ac_delim
23562 LDPATH!$LDPATH$ac_delim
23563 CRTLIBS!$CRTLIBS$ac_delim
23564 SOCKETLIBS!$SOCKETLIBS$ac_delim
23565 MAIN_BINARY!$MAIN_BINARY$ac_delim
23566 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23567 LIBDL!$LIBDL$ac_delim
23568 LIBPOLL!$LIBPOLL$ac_delim
23569 DEPENDENCIES!$DEPENDENCIES$ac_delim
23570 LIBOBJS!$LIBOBJS$ac_delim
23571 LTLIBOBJS!$LTLIBOBJS$ac_delim
23574 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23576 elif $ac_last_try; then
23577 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23578 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23579 { (exit 1); exit 1; }; }
23581 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23585 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23586 if test -n "$ac_eof"; then
23587 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23588 ac_eof=`expr $ac_eof + 1`
23591 cat >>$CONFIG_STATUS <<_ACEOF
23592 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23593 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23596 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23597 s/^/s,@/; s/!/@,|#_!!_#|/
23600 s/'"$ac_delim"'$/,g/; t
23602 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23603 ' >>$CONFIG_STATUS <conf$$subs.sed
23604 rm -f conf$$subs.sed
23605 cat >>$CONFIG_STATUS <<_ACEOF
23612 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23613 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23614 # trailing colons and then remove the whole line if VPATH becomes empty
23615 # (actually we leave an empty line to preserve line numbers).
23616 if test "x$srcdir" = x.; then
23617 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23618 s/:*\$(srcdir):*/:/
23619 s/:*\${srcdir}:*/:/
23621 s/^\([^=]*=[ ]*\):*/\1/
23627 cat >>$CONFIG_STATUS <<\_ACEOF
23628 fi # test -n "$CONFIG_FILES"
23631 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23634 :[FHLC]) ac_mode=$ac_tag; continue;;
23636 case $ac_mode$ac_tag in
23638 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23639 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23640 { (exit 1); exit 1; }; };;
23641 :[FH]-) ac_tag=-:-;;
23642 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23659 -) ac_f="$tmp/stdin";;
23660 *) # Look for the file first in the build tree, then in the source tree
23661 # (if the path is not absolute). The absolute path cannot be DOS-style,
23662 # because $ac_f cannot contain `:'.
23666 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23668 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23669 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23670 { (exit 1); exit 1; }; };;
23672 ac_file_inputs="$ac_file_inputs $ac_f"
23675 # Let's still pretend it is `configure' which instantiates (i.e., don't
23676 # use $as_me), people would be surprised to read:
23677 # /* config.h. Generated by config.status. */
23678 configure_input="Generated from "`IFS=:
23679 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23680 if test x"$ac_file" != x-; then
23681 configure_input="$ac_file. $configure_input"
23682 { echo "$as_me:$LINENO: creating $ac_file" >&5
23683 echo "$as_me: creating $ac_file" >&6;}
23687 *:-:* | *:-) cat >"$tmp/stdin";;
23692 ac_dir=`$as_dirname -- "$ac_file" ||
23693 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23694 X"$ac_file" : 'X\(//\)[^/]' \| \
23695 X"$ac_file" : 'X\(//\)$' \| \
23696 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23702 /^X\(\/\/\)[^/].*/{
23717 -*) as_dir=./$as_dir;;
23719 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23723 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23724 *) as_qdir=$as_dir;;
23726 as_dirs="'$as_qdir' $as_dirs"
23727 as_dir=`$as_dirname -- "$as_dir" ||
23728 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23729 X"$as_dir" : 'X\(//\)[^/]' \| \
23730 X"$as_dir" : 'X\(//\)$' \| \
23731 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23737 /^X\(\/\/\)[^/].*/{
23750 test -d "$as_dir" && break
23752 test -z "$as_dirs" || eval "mkdir $as_dirs"
23753 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23754 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23755 { (exit 1); exit 1; }; }; }
23759 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23761 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23762 # A ".." for each directory in $ac_dir_suffix.
23763 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23764 case $ac_top_builddir_sub in
23765 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23766 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23769 ac_abs_top_builddir=$ac_pwd
23770 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23771 # for backward compatibility:
23772 ac_top_builddir=$ac_top_build_prefix
23775 .) # We are building in place.
23777 ac_top_srcdir=$ac_top_builddir_sub
23778 ac_abs_top_srcdir=$ac_pwd ;;
23779 [\\/]* | ?:[\\/]* ) # Absolute name.
23780 ac_srcdir=$srcdir$ac_dir_suffix;
23781 ac_top_srcdir=$srcdir
23782 ac_abs_top_srcdir=$srcdir ;;
23783 *) # Relative name.
23784 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23785 ac_top_srcdir=$ac_top_build_prefix$srcdir
23786 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23788 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23798 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23799 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23803 cat >>$CONFIG_STATUS <<\_ACEOF
23804 # If the template does not know about datarootdir, expand it.
23805 # FIXME: This hack should be removed a few years after 2.60.
23806 ac_datarootdir_hack=; ac_datarootdir_seen=
23808 case `sed -n '/datarootdir/ {
23817 ' $ac_file_inputs` in
23818 *datarootdir*) ac_datarootdir_seen=yes;;
23819 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23820 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23821 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23823 cat >>$CONFIG_STATUS <<_ACEOF
23824 ac_datarootdir_hack='
23825 s&@datadir@&$datadir&g
23826 s&@docdir@&$docdir&g
23827 s&@infodir@&$infodir&g
23828 s&@localedir@&$localedir&g
23829 s&@mandir@&$mandir&g
23830 s&\\\${datarootdir}&$datarootdir&g' ;;
23834 # Neutralize VPATH when `$srcdir' = `.'.
23835 # Shell code in configure.ac might set extrasub.
23836 # FIXME: do we really want to maintain this feature?
23837 cat >>$CONFIG_STATUS <<_ACEOF
23841 cat >>$CONFIG_STATUS <<\_ACEOF
23843 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23844 s&@configure_input@&$configure_input&;t t
23845 s&@top_builddir@&$ac_top_builddir_sub&;t t
23846 s&@srcdir@&$ac_srcdir&;t t
23847 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23848 s&@top_srcdir@&$ac_top_srcdir&;t t
23849 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23850 s&@builddir@&$ac_builddir&;t t
23851 s&@abs_builddir@&$ac_abs_builddir&;t t
23852 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23853 s&@INSTALL@&$ac_INSTALL&;t t
23854 $ac_datarootdir_hack
23855 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23857 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23858 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23859 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23860 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23861 which seems to be undefined. Please make sure it is defined." >&5
23862 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23863 which seems to be undefined. Please make sure it is defined." >&2;}
23867 -) cat "$tmp/out"; rm -f "$tmp/out";;
23868 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23877 # Transform confdefs.h into a sed script `conftest.defines', that
23878 # substitutes the proper values into config.h.in to produce config.h.
23879 rm -f conftest.defines conftest.tail
23880 # First, append a space to every undef/define line, to ease matching.
23881 echo 's/$/ /' >conftest.defines
23882 # Then, protect against being on the right side of a sed subst, or in
23883 # an unquoted here document, in config.status. If some macros were
23884 # called several times there might be several #defines for the same
23885 # symbol, which is useless. But do not sort them, since the last
23886 # AC_DEFINE must be honored.
23887 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23888 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23889 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23890 # PARAMS is the parameter list in the macro definition--in most cases, it's
23891 # just an empty string.
23892 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23893 ac_dB='\\)[ (].*,\\1define\\2'
23901 s/^[ ]*#[ ]*define[ ][ ]*//
23906 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23907 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23908 ' >>conftest.defines
23910 # Remove the space that was appended to ease matching.
23911 # Then replace #undef with comments. This is necessary, for
23912 # example, in the case of _POSIX_SOURCE, which is predefined and required
23913 # on some systems where configure will not decide to define it.
23914 # (The regexp can be short, since the line contains either #define or #undef.)
23916 s,^[ #]*u.*,/* & */,' >>conftest.defines
23918 # Break up conftest.defines:
23919 ac_max_sed_lines=50
23921 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23922 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23923 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23925 ac_in='$ac_file_inputs'
23926 ac_out='"$tmp/out1"'
23927 ac_nxt='"$tmp/out2"'
23931 # Write a here document:
23932 cat >>$CONFIG_STATUS <<_ACEOF
23933 # First, check the format of the line:
23934 cat >"\$tmp/defines.sed" <<\\CEOF
23935 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23936 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23940 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23942 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23943 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23944 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23945 grep . conftest.tail >/dev/null || break
23946 rm -f conftest.defines
23947 mv conftest.tail conftest.defines
23949 rm -f conftest.defines conftest.tail
23951 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23952 cat >>$CONFIG_STATUS <<\_ACEOF
23953 if test x"$ac_file" != x-; then
23954 echo "/* $configure_input */" >"$tmp/config.h"
23955 cat "$ac_result" >>"$tmp/config.h"
23956 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23957 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23958 echo "$as_me: $ac_file is unchanged" >&6;}
23961 mv "$tmp/config.h" $ac_file
23964 echo "/* $configure_input */"
23970 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23971 echo "$as_me: executing $ac_file commands" >&6;}
23976 case $ac_file$ac_mode in
23977 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23978 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23979 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
23980 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23981 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
23982 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23983 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
23984 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23985 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
23986 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23987 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
23988 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
23989 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
23995 { (exit 0); exit 0; }
23997 chmod +x $CONFIG_STATUS
23998 ac_clean_files=$ac_clean_files_save
24001 # configure is writing to config.log, and then calls config.status.
24002 # config.status does its own redirection, appending to config.log.
24003 # Unfortunately, on DOS this fails, as config.log is still kept open
24004 # by configure, so config.status won't be able to write to it; its
24005 # output is simply discarded. So we exec the FD to /dev/null,
24006 # effectively closing config.log, so it can be properly (re)opened and
24007 # appended to by config.status. When coming back to configure, we
24008 # need to make the FD available again.
24009 if test "$no_create" != yes; then
24011 ac_config_status_args=
24012 test "$silent" = yes &&
24013 ac_config_status_args="$ac_config_status_args --quiet"
24015 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24017 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24018 # would make configure fail if this is the last instruction.
24019 $ac_cs_success || { (exit 1); exit 1; }
24023 if test "$no_create" = "yes"
24030 if test "x$wine_notices != "x; then
24032 for msg in $wine_notices; do
24033 if test -n "$msg"; then
24034 { echo "$as_me:$LINENO: $msg" >&5
24035 echo "$as_me: $msg" >&6;}
24039 for msg in $wine_warnings; do
24040 if test -n "$msg"; then
24042 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24043 echo "$as_me: WARNING: $msg" >&2;}
24049 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.