2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.0-rc1.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='1.0-rc1'
578 PACKAGE_STRING='Wine 1.0-rc1'
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 1.0-rc1 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 1.0-rc1:";;
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-glu do not use the GLU library
1392 --without-hal do not use HAL (dynamic device support)
1393 --without-jack do not use the Jack sound support
1394 --without-jpeg do not use JPEG
1395 --without-ldap do not use LDAP
1396 --without-nas do not use the NAS sound support
1397 --without-opengl do not use OpenGL
1398 --without-openssl do not use OpenSSL
1399 --without-oss do not use the OSS sound support
1400 --without-png do not use PNG
1401 --without-sane do not use SANE (scanner support)
1402 --without-xcomposite do not use the Xcomposite extension
1403 --without-xcursor do not use the Xcursor extension
1404 --without-xinerama do not use Xinerama (multi-monitor support)
1405 --without-xinput do not use the Xinput extension
1406 --without-xml do not use XML
1407 --without-xrandr do not use Xrandr (resolution changes)
1408 --without-xrender do not use the Xrender extension
1409 --without-xshape do not use the Xshape extension
1410 --without-xshm do not use XShm (shared memory extension)
1411 --without-xslt do not use XSLT
1412 --without-xvidmode do not use XFree video mode extension
1413 --with-wine-tools=DIR use Wine tools from directory DIR
1414 --with-x use the X Window System
1416 Some influential environment variables:
1417 CC C compiler command
1418 CFLAGS C compiler flags
1419 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1420 nonstandard directory <lib dir>
1421 LIBS libraries to pass to the linker, e.g. -l<library>
1422 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1423 you have headers in a nonstandard directory <include dir>
1424 CXX C++ compiler command
1425 CXXFLAGS C++ compiler flags
1426 XMKMF Path to xmkmf, Makefile generator for X Window System
1429 Use these variables to override the choices made by `configure' or to help
1430 it to find libraries and programs with nonstandard names/locations.
1432 Report bugs to <wine-devel@winehq.org>.
1437 if test "$ac_init_help" = "recursive"; then
1438 # If there are subdirs, report their specific --help.
1439 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1440 test -d "$ac_dir" || continue
1444 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1446 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1447 # A ".." for each directory in $ac_dir_suffix.
1448 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1449 case $ac_top_builddir_sub in
1450 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1451 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1454 ac_abs_top_builddir=$ac_pwd
1455 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1456 # for backward compatibility:
1457 ac_top_builddir=$ac_top_build_prefix
1460 .) # We are building in place.
1462 ac_top_srcdir=$ac_top_builddir_sub
1463 ac_abs_top_srcdir=$ac_pwd ;;
1464 [\\/]* | ?:[\\/]* ) # Absolute name.
1465 ac_srcdir=$srcdir$ac_dir_suffix;
1466 ac_top_srcdir=$srcdir
1467 ac_abs_top_srcdir=$srcdir ;;
1469 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1470 ac_top_srcdir=$ac_top_build_prefix$srcdir
1471 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1473 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1475 cd "$ac_dir" || { ac_status=$?; continue; }
1476 # Check for guested configure.
1477 if test -f "$ac_srcdir/configure.gnu"; then
1479 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1480 elif test -f "$ac_srcdir/configure"; then
1482 $SHELL "$ac_srcdir/configure" --help=recursive
1484 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1486 cd "$ac_pwd" || { ac_status=$?; break; }
1490 test -n "$ac_init_help" && exit $ac_status
1491 if $ac_init_version; then
1493 Wine configure 1.0-rc1
1494 generated by GNU Autoconf 2.61
1496 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1497 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1498 This configure script is free software; the Free Software Foundation
1499 gives unlimited permission to copy, distribute and modify it.
1503 cat >config.log <<_ACEOF
1504 This file contains any messages produced by compilers while
1505 running configure, to aid debugging if configure makes a mistake.
1507 It was created by Wine $as_me 1.0-rc1, which was
1508 generated by GNU Autoconf 2.61. Invocation command line was
1520 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1521 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1522 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1523 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1524 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1526 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1527 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1529 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1530 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1531 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1532 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1533 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1534 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1535 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1543 test -z "$as_dir" && as_dir=.
1544 echo "PATH: $as_dir"
1560 # Keep a trace of the command line.
1561 # Strip out --no-create and --no-recursion so they do not pile up.
1562 # Strip out --silent because we don't want to record it for future runs.
1563 # Also quote any args containing shell meta-characters.
1564 # Make two passes to allow for proper duplicate-argument suppression.
1568 ac_must_keep_next=false
1574 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1575 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1576 | -silent | --silent | --silen | --sile | --sil)
1579 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1582 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1584 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1585 if test $ac_must_keep_next = true; then
1586 ac_must_keep_next=false # Got value, back to normal.
1589 *=* | --config-cache | -C | -disable-* | --disable-* \
1590 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1591 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1592 | -with-* | --with-* | -without-* | --without-* | --x)
1593 case "$ac_configure_args0 " in
1594 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1597 -* ) ac_must_keep_next=true ;;
1600 ac_configure_args="$ac_configure_args '$ac_arg'"
1605 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1606 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1608 # When interrupted or exit'd, cleanup temporary files, and complete
1609 # config.log. We remove comments because anyway the quotes in there
1610 # would cause problems or look ugly.
1611 # WARNING: Use '\'' to represent an apostrophe within the trap.
1612 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1613 trap 'exit_status=$?
1614 # Save into config.log some information that might help in debugging.
1619 ## ---------------- ##
1620 ## Cache variables. ##
1621 ## ---------------- ##
1624 # The following way of writing the cache mishandles newlines in values,
1626 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1627 eval ac_val=\$$ac_var
1631 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1632 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1635 _ | IFS | as_nl) ;; #(
1636 *) $as_unset $ac_var ;;
1641 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1642 *${as_nl}ac_space=\ *)
1644 "s/'\''/'\''\\\\'\'''\''/g;
1645 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1648 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1656 ## ----------------- ##
1657 ## Output variables. ##
1658 ## ----------------- ##
1661 for ac_var in $ac_subst_vars
1663 eval ac_val=\$$ac_var
1665 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1667 echo "$ac_var='\''$ac_val'\''"
1671 if test -n "$ac_subst_files"; then
1673 ## ------------------- ##
1674 ## File substitutions. ##
1675 ## ------------------- ##
1678 for ac_var in $ac_subst_files
1680 eval ac_val=\$$ac_var
1682 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1684 echo "$ac_var='\''$ac_val'\''"
1689 if test -s confdefs.h; then
1699 test "$ac_signal" != 0 &&
1700 echo "$as_me: caught signal $ac_signal"
1701 echo "$as_me: exit $exit_status"
1703 rm -f core *.core core.conftest.* &&
1704 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1707 for ac_signal in 1 2 13 15; do
1708 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1712 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1713 rm -f -r conftest* confdefs.h
1715 # Predefined preprocessor variables.
1717 cat >>confdefs.h <<_ACEOF
1718 #define PACKAGE_NAME "$PACKAGE_NAME"
1722 cat >>confdefs.h <<_ACEOF
1723 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1727 cat >>confdefs.h <<_ACEOF
1728 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1732 cat >>confdefs.h <<_ACEOF
1733 #define PACKAGE_STRING "$PACKAGE_STRING"
1737 cat >>confdefs.h <<_ACEOF
1738 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1742 # Let the site file select an alternate cache file if it wants to.
1743 # Prefer explicitly selected file to automatically selected ones.
1744 if test -n "$CONFIG_SITE"; then
1745 set x "$CONFIG_SITE"
1746 elif test "x$prefix" != xNONE; then
1747 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1749 set x "$ac_default_prefix/share/config.site" \
1750 "$ac_default_prefix/etc/config.site"
1755 if test -r "$ac_site_file"; then
1756 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1757 echo "$as_me: loading site script $ac_site_file" >&6;}
1758 sed 's/^/| /' "$ac_site_file" >&5
1763 if test -r "$cache_file"; then
1764 # Some versions of bash will fail to source /dev/null (special
1765 # files actually), so we avoid doing that.
1766 if test -f "$cache_file"; then
1767 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1768 echo "$as_me: loading cache $cache_file" >&6;}
1770 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1771 *) . "./$cache_file";;
1775 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1776 echo "$as_me: creating cache $cache_file" >&6;}
1780 # Check that the precious variables saved in the cache have kept the same
1782 ac_cache_corrupted=false
1783 for ac_var in $ac_precious_vars; do
1784 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1785 eval ac_new_set=\$ac_env_${ac_var}_set
1786 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1787 eval ac_new_val=\$ac_env_${ac_var}_value
1788 case $ac_old_set,$ac_new_set in
1790 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1791 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1792 ac_cache_corrupted=: ;;
1794 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1795 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1796 ac_cache_corrupted=: ;;
1799 if test "x$ac_old_val" != "x$ac_new_val"; then
1800 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1801 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1802 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1803 echo "$as_me: former value: $ac_old_val" >&2;}
1804 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1805 echo "$as_me: current value: $ac_new_val" >&2;}
1806 ac_cache_corrupted=:
1809 # Pass precious variables to config.status.
1810 if test "$ac_new_set" = set; then
1812 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1813 *) ac_arg=$ac_var=$ac_new_val ;;
1815 case " $ac_configure_args " in
1816 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1817 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1821 if $ac_cache_corrupted; then
1822 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1823 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1824 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1825 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1826 { (exit 1); exit 1; }; }
1854 ac_cpp='$CPP $CPPFLAGS'
1855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1861 ac_config_headers="$ac_config_headers include/config.h"
1864 for ac_dir in tools "$srcdir"/tools; do
1865 if test -f "$ac_dir/install-sh"; then
1867 ac_install_sh="$ac_aux_dir/install-sh -c"
1869 elif test -f "$ac_dir/install.sh"; then
1871 ac_install_sh="$ac_aux_dir/install.sh -c"
1873 elif test -f "$ac_dir/shtool"; then
1875 ac_install_sh="$ac_aux_dir/shtool install -c"
1879 if test -z "$ac_aux_dir"; then
1880 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1881 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1882 { (exit 1); exit 1; }; }
1885 # These three variables are undocumented and unsupported,
1886 # and are intended to be withdrawn in a future Autoconf release.
1887 # They can cause serious problems if a builder's source tree is in a directory
1888 # whose full name contains unusual characters.
1889 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1890 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1891 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1896 # Check whether --enable-win16 was given.
1897 if test "${enable_win16+set}" = set; then
1898 enableval=$enable_win16;
1901 # Check whether --enable-win64 was given.
1902 if test "${enable_win64+set}" = set; then
1903 enableval=$enable_win64;
1906 # Check whether --enable-maintainer-mode was given.
1907 if test "${enable_maintainer_mode+set}" = set; then
1908 enableval=$enable_maintainer_mode;
1916 # Check whether --with-alsa was given.
1917 if test "${with_alsa+set}" = set; then
1918 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1922 # Check whether --with-audioio was given.
1923 if test "${with_audioio+set}" = set; then
1924 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1928 # Check whether --with-capi was given.
1929 if test "${with_capi+set}" = set; then
1930 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1934 # Check whether --with-cms was given.
1935 if test "${with_cms+set}" = set; then
1936 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1940 # Check whether --with-coreaudio was given.
1941 if test "${with_coreaudio+set}" = set; then
1942 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1946 # Check whether --with-cups was given.
1947 if test "${with_cups+set}" = set; then
1948 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1952 # Check whether --with-curses was given.
1953 if test "${with_curses+set}" = set; then
1954 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1958 # Check whether --with-esd was given.
1959 if test "${with_esd+set}" = set; then
1964 # Check whether --with-fontconfig was given.
1965 if test "${with_fontconfig+set}" = set; then
1966 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1970 # Check whether --with-gphoto was given.
1971 if test "${with_gphoto+set}" = set; then
1972 withval=$with_gphoto;
1976 # Check whether --with-glu was given.
1977 if test "${with_glu+set}" = set; then
1978 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
1982 # Check whether --with-hal was given.
1983 if test "${with_hal+set}" = set; then
1988 # Check whether --with-jack was given.
1989 if test "${with_jack+set}" = set; then
1990 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1994 # Check whether --with-jpeg was given.
1995 if test "${with_jpeg+set}" = set; then
1996 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2000 # Check whether --with-ldap was given.
2001 if test "${with_ldap+set}" = set; then
2002 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2006 # Check whether --with-nas was given.
2007 if test "${with_nas+set}" = set; then
2008 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2012 # Check whether --with-opengl was given.
2013 if test "${with_opengl+set}" = set; then
2014 withval=$with_opengl;
2018 # Check whether --with-openssl was given.
2019 if test "${with_openssl+set}" = set; then
2020 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2024 # Check whether --with-oss was given.
2025 if test "${with_oss+set}" = set; then
2026 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
2030 # Check whether --with-png was given.
2031 if test "${with_png+set}" = set; then
2032 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2036 # Check whether --with-sane was given.
2037 if test "${with_sane+set}" = set; then
2042 # Check whether --with-xcomposite was given.
2043 if test "${with_xcomposite+set}" = set; then
2044 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2048 # Check whether --with-xcursor was given.
2049 if test "${with_xcursor+set}" = set; then
2050 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2054 # Check whether --with-xinerama was given.
2055 if test "${with_xinerama+set}" = set; then
2056 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2060 # Check whether --with-xinput was given.
2061 if test "${with_xinput+set}" = set; then
2062 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2066 # Check whether --with-xml was given.
2067 if test "${with_xml+set}" = set; then
2072 # Check whether --with-xrandr was given.
2073 if test "${with_xrandr+set}" = set; then
2074 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2078 # Check whether --with-xrender was given.
2079 if test "${with_xrender+set}" = set; then
2080 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2084 # Check whether --with-xshape was given.
2085 if test "${with_xshape+set}" = set; then
2086 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2090 # Check whether --with-xshm was given.
2091 if test "${with_xshm+set}" = set; then
2092 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2096 # Check whether --with-xslt was given.
2097 if test "${with_xslt+set}" = set; then
2102 # Check whether --with-xvidmode was given.
2103 if test "${with_xvidmode+set}" = set; then
2104 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2109 # Check whether --with-wine-tools was given.
2110 if test "${with_wine_tools+set}" = set; then
2111 withval=$with_wine_tools;
2115 # Make sure we can run config.sub.
2116 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2117 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2118 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2119 { (exit 1); exit 1; }; }
2121 { echo "$as_me:$LINENO: checking build system type" >&5
2122 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2123 if test "${ac_cv_build+set}" = set; then
2124 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 ac_build_alias=$build_alias
2127 test "x$ac_build_alias" = x &&
2128 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2129 test "x$ac_build_alias" = x &&
2130 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2131 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2132 { (exit 1); exit 1; }; }
2133 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2134 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2135 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2136 { (exit 1); exit 1; }; }
2139 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2140 echo "${ECHO_T}$ac_cv_build" >&6; }
2141 case $ac_cv_build in
2143 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2144 echo "$as_me: error: invalid value of canonical build" >&2;}
2145 { (exit 1); exit 1; }; };;
2148 ac_save_IFS=$IFS; IFS='-'
2154 # Remember, the first character of IFS is used to create $*,
2155 # except with old shells:
2158 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2161 { echo "$as_me:$LINENO: checking host system type" >&5
2162 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2163 if test "${ac_cv_host+set}" = set; then
2164 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 if test "x$host_alias" = x; then
2167 ac_cv_host=$ac_cv_build
2169 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2170 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2171 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2172 { (exit 1); exit 1; }; }
2176 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2177 echo "${ECHO_T}$ac_cv_host" >&6; }
2180 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2181 echo "$as_me: error: invalid value of canonical host" >&2;}
2182 { (exit 1); exit 1; }; };;
2185 ac_save_IFS=$IFS; IFS='-'
2191 # Remember, the first character of IFS is used to create $*,
2192 # except with old shells:
2195 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2200 if test "x$enable_win64" != "xyes"
2202 test -n "$CC" || CC="gcc -m32"
2203 test -n "$CXX"|| CXX="g++ -m32"
2204 test -n "$LD" || LD="ld -m elf_i386"
2205 test -n "$AS" || AS="as --32"
2213 if test "x$enable_win16" != "xno"
2220 WIN16_FILES="\$(WIN16_FILES)"
2222 WIN16_INSTALL="\$(WIN16_INSTALL)"
2224 if test "x$enable_win16" != "xyes"
2232 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2233 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2234 You need to run 'make distclean' in the source tree first." >&5
2235 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2236 You need to run 'make distclean' in the source tree first." >&2;}
2237 { (exit 1); exit 1; }; }
2242 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2243 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2244 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2245 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 cat >conftest.make <<\_ACEOF
2251 @echo '@@@%%%=$(MAKE)=@@@%%%'
2253 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2254 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2256 eval ac_cv_prog_make_${ac_make}_set=yes;;
2258 eval ac_cv_prog_make_${ac_make}_set=no;;
2262 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2263 { echo "$as_me:$LINENO: result: yes" >&5
2264 echo "${ECHO_T}yes" >&6; }
2267 { echo "$as_me:$LINENO: result: no" >&5
2268 echo "${ECHO_T}no" >&6; }
2269 SET_MAKE="MAKE=${MAKE-make}"
2273 ac_cpp='$CPP $CPPFLAGS'
2274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2277 if test -n "$ac_tool_prefix"; then
2278 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2279 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2282 if test "${ac_cv_prog_CC+set}" = set; then
2283 echo $ECHO_N "(cached) $ECHO_C" >&6
2285 if test -n "$CC"; then
2286 ac_cv_prog_CC="$CC" # Let the user override the test.
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2295 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 if test -n "$CC"; then
2307 { echo "$as_me:$LINENO: result: $CC" >&5
2308 echo "${ECHO_T}$CC" >&6; }
2310 { echo "$as_me:$LINENO: result: no" >&5
2311 echo "${ECHO_T}no" >&6; }
2316 if test -z "$ac_cv_prog_CC"; then
2318 # Extract the first word of "gcc", so it can be a program name with args.
2319 set dummy gcc; ac_word=$2
2320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 if test -n "$ac_ct_CC"; then
2326 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_ac_ct_CC="gcc"
2336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2346 if test -n "$ac_ct_CC"; then
2347 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2348 echo "${ECHO_T}$ac_ct_CC" >&6; }
2350 { echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6; }
2354 if test "x$ac_ct_CC" = x; then
2357 case $cross_compiling:$ac_tool_warned in
2359 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2360 whose name does not start with the host triplet. If you think this
2361 configuration is useful to you, please write to autoconf@gnu.org." >&5
2362 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2363 whose name does not start with the host triplet. If you think this
2364 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2365 ac_tool_warned=yes ;;
2373 if test -z "$CC"; then
2374 if test -n "$ac_tool_prefix"; then
2375 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2376 set dummy ${ac_tool_prefix}cc; ac_word=$2
2377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2379 if test "${ac_cv_prog_CC+set}" = set; then
2380 echo $ECHO_N "(cached) $ECHO_C" >&6
2382 if test -n "$CC"; then
2383 ac_cv_prog_CC="$CC" # Let the user override the test.
2385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir=.
2390 for ac_exec_ext in '' $ac_executable_extensions; do
2391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2392 ac_cv_prog_CC="${ac_tool_prefix}cc"
2393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 if test -n "$CC"; then
2404 { echo "$as_me:$LINENO: result: $CC" >&5
2405 echo "${ECHO_T}$CC" >&6; }
2407 { echo "$as_me:$LINENO: result: no" >&5
2408 echo "${ECHO_T}no" >&6; }
2414 if test -z "$CC"; then
2415 # Extract the first word of "cc", so it can be a program name with args.
2416 set dummy cc; ac_word=$2
2417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2419 if test "${ac_cv_prog_CC+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 if test -n "$CC"; then
2423 ac_cv_prog_CC="$CC" # Let the user override the test.
2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2430 test -z "$as_dir" && as_dir=.
2431 for ac_exec_ext in '' $ac_executable_extensions; do
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2433 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2434 ac_prog_rejected=yes
2438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2445 if test $ac_prog_rejected = yes; then
2446 # We found a bogon in the path, so make sure we never use it.
2447 set dummy $ac_cv_prog_CC
2449 if test $# != 0; then
2450 # We chose a different compiler from the bogus one.
2451 # However, it has the same basename, so the bogon will be chosen
2452 # first if we set CC to just the basename; use the full file name.
2454 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2460 if test -n "$CC"; then
2461 { echo "$as_me:$LINENO: result: $CC" >&5
2462 echo "${ECHO_T}$CC" >&6; }
2464 { echo "$as_me:$LINENO: result: no" >&5
2465 echo "${ECHO_T}no" >&6; }
2470 if test -z "$CC"; then
2471 if test -n "$ac_tool_prefix"; then
2472 for ac_prog in cl.exe
2474 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2475 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2478 if test "${ac_cv_prog_CC+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 if test -n "$CC"; then
2482 ac_cv_prog_CC="$CC" # Let the user override the test.
2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488 test -z "$as_dir" && as_dir=.
2489 for ac_exec_ext in '' $ac_executable_extensions; do
2490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2491 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2502 if test -n "$CC"; then
2503 { echo "$as_me:$LINENO: result: $CC" >&5
2504 echo "${ECHO_T}$CC" >&6; }
2506 { echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6; }
2511 test -n "$CC" && break
2514 if test -z "$CC"; then
2516 for ac_prog in cl.exe
2518 # Extract the first word of "$ac_prog", so it can be a program name with args.
2519 set dummy $ac_prog; ac_word=$2
2520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2522 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2523 echo $ECHO_N "(cached) $ECHO_C" >&6
2525 if test -n "$ac_ct_CC"; then
2526 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532 test -z "$as_dir" && as_dir=.
2533 for ac_exec_ext in '' $ac_executable_extensions; do
2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2535 ac_cv_prog_ac_ct_CC="$ac_prog"
2536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2545 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2546 if test -n "$ac_ct_CC"; then
2547 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2548 echo "${ECHO_T}$ac_ct_CC" >&6; }
2550 { echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6; }
2555 test -n "$ac_ct_CC" && break
2558 if test "x$ac_ct_CC" = x; then
2561 case $cross_compiling:$ac_tool_warned in
2563 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2564 whose name does not start with the host triplet. If you think this
2565 configuration is useful to you, please write to autoconf@gnu.org." >&5
2566 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2567 whose name does not start with the host triplet. If you think this
2568 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2569 ac_tool_warned=yes ;;
2578 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2579 See \`config.log' for more details." >&5
2580 echo "$as_me: error: no acceptable C compiler found in \$PATH
2581 See \`config.log' for more details." >&2;}
2582 { (exit 1); exit 1; }; }
2584 # Provide some information about the compiler.
2585 echo "$as_me:$LINENO: checking for C compiler version" >&5
2586 ac_compiler=`set X $ac_compile; echo $2`
2587 { (ac_try="$ac_compiler --version >&5"
2589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590 *) ac_try_echo=$ac_try;;
2592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2593 (eval "$ac_compiler --version >&5") 2>&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }
2597 { (ac_try="$ac_compiler -v >&5"
2599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2600 *) ac_try_echo=$ac_try;;
2602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2603 (eval "$ac_compiler -v >&5") 2>&5
2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); }
2607 { (ac_try="$ac_compiler -V >&5"
2609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2610 *) ac_try_echo=$ac_try;;
2612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2613 (eval "$ac_compiler -V >&5") 2>&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }
2618 cat >conftest.$ac_ext <<_ACEOF
2621 cat confdefs.h >>conftest.$ac_ext
2622 cat >>conftest.$ac_ext <<_ACEOF
2623 /* end confdefs.h. */
2633 ac_clean_files_save=$ac_clean_files
2634 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2635 # Try to create an executable without -o first, disregard a.out.
2636 # It will help us diagnose broken compilers, and finding out an intuition
2638 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2639 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2640 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2642 # List of possible output files, starting from the most likely.
2643 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2644 # only as a last resort. b.out is created by i960 compilers.
2645 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2647 # The IRIX 6 linker writes into existing files which may not be
2648 # executable, retaining their permissions. Remove them first so a
2649 # subsequent execution test works.
2651 for ac_file in $ac_files
2654 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2655 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2660 if { (ac_try="$ac_link_default"
2662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2663 *) ac_try_echo=$ac_try;;
2665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2666 (eval "$ac_link_default") 2>&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; then
2670 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2671 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2672 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2673 # so that the user can short-circuit this test for compilers unknown to
2675 for ac_file in $ac_files ''
2677 test -f "$ac_file" || continue
2679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2682 # We found the default executable, but exeext='' is most
2686 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2688 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2690 # We set ac_cv_exeext here because the later test for it is not
2691 # safe: cross compilers may not add the suffix if given an `-o'
2692 # argument, so we may need to know it at that point already.
2693 # Even if this section looks crufty: it has the advantage of
2700 test "$ac_cv_exeext" = no && ac_cv_exeext=
2706 { echo "$as_me:$LINENO: result: $ac_file" >&5
2707 echo "${ECHO_T}$ac_file" >&6; }
2708 if test -z "$ac_file"; then
2709 echo "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.$ac_ext >&5
2712 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2713 See \`config.log' for more details." >&5
2714 echo "$as_me: error: C compiler cannot create executables
2715 See \`config.log' for more details." >&2;}
2716 { (exit 77); exit 77; }; }
2719 ac_exeext=$ac_cv_exeext
2721 # Check that the compiler produces executables we can run. If not, either
2722 # the compiler is broken, or we cross compile.
2723 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2724 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2725 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2726 # If not cross compiling, check that we can run a simple program.
2727 if test "$cross_compiling" != yes; then
2728 if { ac_try='./$ac_file'
2729 { (case "(($ac_try" in
2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2734 (eval "$ac_try") 2>&5
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); }; }; then
2740 if test "$cross_compiling" = maybe; then
2743 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2744 If you meant to cross compile, use \`--host'.
2745 See \`config.log' for more details." >&5
2746 echo "$as_me: error: cannot run C compiled programs.
2747 If you meant to cross compile, use \`--host'.
2748 See \`config.log' for more details." >&2;}
2749 { (exit 1); exit 1; }; }
2753 { echo "$as_me:$LINENO: result: yes" >&5
2754 echo "${ECHO_T}yes" >&6; }
2756 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2757 ac_clean_files=$ac_clean_files_save
2758 # Check that the compiler produces executables we can run. If not, either
2759 # the compiler is broken, or we cross compile.
2760 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2761 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2762 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2763 echo "${ECHO_T}$cross_compiling" >&6; }
2765 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2766 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2767 if { (ac_try="$ac_link"
2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2773 (eval "$ac_link") 2>&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; then
2777 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2778 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2779 # work properly (i.e., refer to `conftest.exe'), while it won't with
2781 for ac_file in conftest.exe conftest conftest.*; do
2782 test -f "$ac_file" || continue
2784 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2785 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2791 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2792 See \`config.log' for more details." >&5
2793 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2794 See \`config.log' for more details." >&2;}
2795 { (exit 1); exit 1; }; }
2798 rm -f conftest$ac_cv_exeext
2799 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2800 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2802 rm -f conftest.$ac_ext
2803 EXEEXT=$ac_cv_exeext
2805 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2806 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2807 if test "${ac_cv_objext+set}" = set; then
2808 echo $ECHO_N "(cached) $ECHO_C" >&6
2810 cat >conftest.$ac_ext <<_ACEOF
2813 cat confdefs.h >>conftest.$ac_ext
2814 cat >>conftest.$ac_ext <<_ACEOF
2815 /* end confdefs.h. */
2825 rm -f conftest.o conftest.obj
2826 if { (ac_try="$ac_compile"
2828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2832 (eval "$ac_compile") 2>&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); }; then
2836 for ac_file in conftest.o conftest.obj conftest.*; do
2837 test -f "$ac_file" || continue;
2839 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2840 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2845 echo "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.$ac_ext >&5
2848 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2849 See \`config.log' for more details." >&5
2850 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2851 See \`config.log' for more details." >&2;}
2852 { (exit 1); exit 1; }; }
2855 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2857 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2858 echo "${ECHO_T}$ac_cv_objext" >&6; }
2859 OBJEXT=$ac_cv_objext
2861 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2862 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2863 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2864 echo $ECHO_N "(cached) $ECHO_C" >&6
2866 cat >conftest.$ac_ext <<_ACEOF
2869 cat confdefs.h >>conftest.$ac_ext
2870 cat >>conftest.$ac_ext <<_ACEOF
2871 /* end confdefs.h. */
2884 rm -f conftest.$ac_objext
2885 if { (ac_try="$ac_compile"
2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2891 (eval "$ac_compile") 2>conftest.er1
2893 grep -v '^ *+' conftest.er1 >conftest.err
2895 cat conftest.err >&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); } && {
2898 test -z "$ac_c_werror_flag" ||
2899 test ! -s conftest.err
2900 } && test -s conftest.$ac_objext; then
2903 echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5
2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2913 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2914 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2915 GCC=`test $ac_compiler_gnu = yes && echo yes`
2916 ac_test_CFLAGS=${CFLAGS+set}
2917 ac_save_CFLAGS=$CFLAGS
2918 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2919 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2920 if test "${ac_cv_prog_cc_g+set}" = set; then
2921 echo $ECHO_N "(cached) $ECHO_C" >&6
2923 ac_save_c_werror_flag=$ac_c_werror_flag
2924 ac_c_werror_flag=yes
2927 cat >conftest.$ac_ext <<_ACEOF
2930 cat confdefs.h >>conftest.$ac_ext
2931 cat >>conftest.$ac_ext <<_ACEOF
2932 /* end confdefs.h. */
2942 rm -f conftest.$ac_objext
2943 if { (ac_try="$ac_compile"
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2949 (eval "$ac_compile") 2>conftest.er1
2951 grep -v '^ *+' conftest.er1 >conftest.err
2953 cat conftest.err >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } && {
2956 test -z "$ac_c_werror_flag" ||
2957 test ! -s conftest.err
2958 } && test -s conftest.$ac_objext; then
2961 echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2965 cat >conftest.$ac_ext <<_ACEOF
2968 cat confdefs.h >>conftest.$ac_ext
2969 cat >>conftest.$ac_ext <<_ACEOF
2970 /* end confdefs.h. */
2980 rm -f conftest.$ac_objext
2981 if { (ac_try="$ac_compile"
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2987 (eval "$ac_compile") 2>conftest.er1
2989 grep -v '^ *+' conftest.er1 >conftest.err
2991 cat conftest.err >&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); } && {
2994 test -z "$ac_c_werror_flag" ||
2995 test ! -s conftest.err
2996 } && test -s conftest.$ac_objext; then
2999 echo "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.$ac_ext >&5
3002 ac_c_werror_flag=$ac_save_c_werror_flag
3004 cat >conftest.$ac_ext <<_ACEOF
3007 cat confdefs.h >>conftest.$ac_ext
3008 cat >>conftest.$ac_ext <<_ACEOF
3009 /* end confdefs.h. */
3019 rm -f conftest.$ac_objext
3020 if { (ac_try="$ac_compile"
3022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3026 (eval "$ac_compile") 2>conftest.er1
3028 grep -v '^ *+' conftest.er1 >conftest.err
3030 cat conftest.err >&5
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); } && {
3033 test -z "$ac_c_werror_flag" ||
3034 test ! -s conftest.err
3035 } && test -s conftest.$ac_objext; then
3038 echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 ac_c_werror_flag=$ac_save_c_werror_flag
3053 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3054 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3055 if test "$ac_test_CFLAGS" = set; then
3056 CFLAGS=$ac_save_CFLAGS
3057 elif test $ac_cv_prog_cc_g = yes; then
3058 if test "$GCC" = yes; then
3064 if test "$GCC" = yes; then
3070 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3071 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3072 if test "${ac_cv_prog_cc_c89+set}" = set; then
3073 echo $ECHO_N "(cached) $ECHO_C" >&6
3075 ac_cv_prog_cc_c89=no
3077 cat >conftest.$ac_ext <<_ACEOF
3080 cat confdefs.h >>conftest.$ac_ext
3081 cat >>conftest.$ac_ext <<_ACEOF
3082 /* end confdefs.h. */
3085 #include <sys/types.h>
3086 #include <sys/stat.h>
3087 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3088 struct buf { int x; };
3089 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3090 static char *e (p, i)
3096 static char *f (char * (*g) (char **, int), char **p, ...)
3101 s = g (p, va_arg (v,int));
3106 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3107 function prototypes and stuff, but not '\xHH' hex character constants.
3108 These don't provoke an error unfortunately, instead are silently treated
3109 as 'x'. The following induces an error, until -std is added to get
3110 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3111 array size at least. It's necessary to write '\x00'==0 to get something
3112 that's true only with -std. */
3113 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3115 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3116 inside strings and character constants. */
3118 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3120 int test (int i, double x);
3121 struct s1 {int (*f) (int a);};
3122 struct s2 {int (*f) (double a);};
3123 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3129 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3134 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3135 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3137 CC="$ac_save_CC $ac_arg"
3138 rm -f conftest.$ac_objext
3139 if { (ac_try="$ac_compile"
3141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3142 *) ac_try_echo=$ac_try;;
3144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3145 (eval "$ac_compile") 2>conftest.er1
3147 grep -v '^ *+' conftest.er1 >conftest.err
3149 cat conftest.err >&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } && {
3152 test -z "$ac_c_werror_flag" ||
3153 test ! -s conftest.err
3154 } && test -s conftest.$ac_objext; then
3155 ac_cv_prog_cc_c89=$ac_arg
3157 echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3163 rm -f core conftest.err conftest.$ac_objext
3164 test "x$ac_cv_prog_cc_c89" != "xno" && break
3166 rm -f conftest.$ac_ext
3171 case "x$ac_cv_prog_cc_c89" in
3173 { echo "$as_me:$LINENO: result: none needed" >&5
3174 echo "${ECHO_T}none needed" >&6; } ;;
3176 { echo "$as_me:$LINENO: result: unsupported" >&5
3177 echo "${ECHO_T}unsupported" >&6; } ;;
3179 CC="$CC $ac_cv_prog_cc_c89"
3180 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3181 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3186 ac_cpp='$CPP $CPPFLAGS'
3187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3192 ac_cpp='$CXXCPP $CPPFLAGS'
3193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3196 if test -z "$CXX"; then
3197 if test -n "$CCC"; then
3200 if test -n "$ac_tool_prefix"; then
3201 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3203 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3204 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3207 if test "${ac_cv_prog_CXX+set}" = set; then
3208 echo $ECHO_N "(cached) $ECHO_C" >&6
3210 if test -n "$CXX"; then
3211 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3217 test -z "$as_dir" && as_dir=.
3218 for ac_exec_ext in '' $ac_executable_extensions; do
3219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3220 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3231 if test -n "$CXX"; then
3232 { echo "$as_me:$LINENO: result: $CXX" >&5
3233 echo "${ECHO_T}$CXX" >&6; }
3235 { echo "$as_me:$LINENO: result: no" >&5
3236 echo "${ECHO_T}no" >&6; }
3240 test -n "$CXX" && break
3243 if test -z "$CXX"; then
3245 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3247 # Extract the first word of "$ac_prog", so it can be a program name with args.
3248 set dummy $ac_prog; ac_word=$2
3249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3251 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3252 echo $ECHO_N "(cached) $ECHO_C" >&6
3254 if test -n "$ac_ct_CXX"; then
3255 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3261 test -z "$as_dir" && as_dir=.
3262 for ac_exec_ext in '' $ac_executable_extensions; do
3263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3264 ac_cv_prog_ac_ct_CXX="$ac_prog"
3265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3274 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3275 if test -n "$ac_ct_CXX"; then
3276 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3277 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3279 { echo "$as_me:$LINENO: result: no" >&5
3280 echo "${ECHO_T}no" >&6; }
3284 test -n "$ac_ct_CXX" && break
3287 if test "x$ac_ct_CXX" = x; then
3290 case $cross_compiling:$ac_tool_warned in
3292 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3293 whose name does not start with the host triplet. If you think this
3294 configuration is useful to you, please write to autoconf@gnu.org." >&5
3295 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3296 whose name does not start with the host triplet. If you think this
3297 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3298 ac_tool_warned=yes ;;
3306 # Provide some information about the compiler.
3307 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3308 ac_compiler=`set X $ac_compile; echo $2`
3309 { (ac_try="$ac_compiler --version >&5"
3311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312 *) ac_try_echo=$ac_try;;
3314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3315 (eval "$ac_compiler --version >&5") 2>&5
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); }
3319 { (ac_try="$ac_compiler -v >&5"
3321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3325 (eval "$ac_compiler -v >&5") 2>&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }
3329 { (ac_try="$ac_compiler -V >&5"
3331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3335 (eval "$ac_compiler -V >&5") 2>&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); }
3340 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3341 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3342 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3343 echo $ECHO_N "(cached) $ECHO_C" >&6
3345 cat >conftest.$ac_ext <<_ACEOF
3348 cat confdefs.h >>conftest.$ac_ext
3349 cat >>conftest.$ac_ext <<_ACEOF
3350 /* end confdefs.h. */
3363 rm -f conftest.$ac_objext
3364 if { (ac_try="$ac_compile"
3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3367 *) ac_try_echo=$ac_try;;
3369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3370 (eval "$ac_compile") 2>conftest.er1
3372 grep -v '^ *+' conftest.er1 >conftest.err
3374 cat conftest.err >&5
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); } && {
3377 test -z "$ac_cxx_werror_flag" ||
3378 test ! -s conftest.err
3379 } && test -s conftest.$ac_objext; then
3382 echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.$ac_ext >&5
3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3389 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3392 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3393 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3394 GXX=`test $ac_compiler_gnu = yes && echo yes`
3395 ac_test_CXXFLAGS=${CXXFLAGS+set}
3396 ac_save_CXXFLAGS=$CXXFLAGS
3397 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3398 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3399 if test "${ac_cv_prog_cxx_g+set}" = set; then
3400 echo $ECHO_N "(cached) $ECHO_C" >&6
3402 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3403 ac_cxx_werror_flag=yes
3406 cat >conftest.$ac_ext <<_ACEOF
3409 cat confdefs.h >>conftest.$ac_ext
3410 cat >>conftest.$ac_ext <<_ACEOF
3411 /* end confdefs.h. */
3421 rm -f conftest.$ac_objext
3422 if { (ac_try="$ac_compile"
3424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3425 *) ac_try_echo=$ac_try;;
3427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3428 (eval "$ac_compile") 2>conftest.er1
3430 grep -v '^ *+' conftest.er1 >conftest.err
3432 cat conftest.err >&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); } && {
3435 test -z "$ac_cxx_werror_flag" ||
3436 test ! -s conftest.err
3437 } && test -s conftest.$ac_objext; then
3438 ac_cv_prog_cxx_g=yes
3440 echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3444 cat >conftest.$ac_ext <<_ACEOF
3447 cat confdefs.h >>conftest.$ac_ext
3448 cat >>conftest.$ac_ext <<_ACEOF
3449 /* end confdefs.h. */
3459 rm -f conftest.$ac_objext
3460 if { (ac_try="$ac_compile"
3462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3463 *) ac_try_echo=$ac_try;;
3465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3466 (eval "$ac_compile") 2>conftest.er1
3468 grep -v '^ *+' conftest.er1 >conftest.err
3470 cat conftest.err >&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); } && {
3473 test -z "$ac_cxx_werror_flag" ||
3474 test ! -s conftest.err
3475 } && test -s conftest.$ac_objext; then
3478 echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.$ac_ext >&5
3481 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3483 cat >conftest.$ac_ext <<_ACEOF
3486 cat confdefs.h >>conftest.$ac_ext
3487 cat >>conftest.$ac_ext <<_ACEOF
3488 /* end confdefs.h. */
3498 rm -f conftest.$ac_objext
3499 if { (ac_try="$ac_compile"
3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502 *) ac_try_echo=$ac_try;;
3504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3505 (eval "$ac_compile") 2>conftest.er1
3507 grep -v '^ *+' conftest.er1 >conftest.err
3509 cat conftest.err >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } && {
3512 test -z "$ac_cxx_werror_flag" ||
3513 test ! -s conftest.err
3514 } && test -s conftest.$ac_objext; then
3515 ac_cv_prog_cxx_g=yes
3517 echo "$as_me: failed program was:" >&5
3518 sed 's/^/| /' conftest.$ac_ext >&5
3523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3530 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3532 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3533 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3534 if test "$ac_test_CXXFLAGS" = set; then
3535 CXXFLAGS=$ac_save_CXXFLAGS
3536 elif test $ac_cv_prog_cxx_g = yes; then
3537 if test "$GXX" = yes; then
3543 if test "$GXX" = yes; then
3550 ac_cpp='$CPP $CPPFLAGS'
3551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3555 if test -n "$ac_tool_prefix"; then
3556 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3557 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3560 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 if test -n "$CPPBIN"; then
3564 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 CPPBIN=$ac_cv_prog_CPPBIN
3584 if test -n "$CPPBIN"; then
3585 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3586 echo "${ECHO_T}$CPPBIN" >&6; }
3588 { echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6; }
3594 if test -z "$ac_cv_prog_CPPBIN"; then
3595 ac_ct_CPPBIN=$CPPBIN
3596 # Extract the first word of "cpp", so it can be a program name with args.
3597 set dummy cpp; ac_word=$2
3598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3600 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3603 if test -n "$ac_ct_CPPBIN"; then
3604 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 test -z "$as_dir" && as_dir=.
3611 for ac_exec_ext in '' $ac_executable_extensions; do
3612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3613 ac_cv_prog_ac_ct_CPPBIN="cpp"
3614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3624 if test -n "$ac_ct_CPPBIN"; then
3625 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3626 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3628 { echo "$as_me:$LINENO: result: no" >&5
3629 echo "${ECHO_T}no" >&6; }
3632 if test "x$ac_ct_CPPBIN" = x; then
3635 case $cross_compiling:$ac_tool_warned in
3637 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3638 whose name does not start with the host triplet. If you think this
3639 configuration is useful to you, please write to autoconf@gnu.org." >&5
3640 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3641 whose name does not start with the host triplet. If you think this
3642 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3643 ac_tool_warned=yes ;;
3645 CPPBIN=$ac_ct_CPPBIN
3648 CPPBIN="$ac_cv_prog_CPPBIN"
3652 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3653 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3654 if test "${wine_cv_toolsdir+set}" = set; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6
3657 if test -z "$with_wine_tools"; then
3658 if test "$cross_compiling" = "yes"; then
3659 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3660 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3661 { (exit 1); exit 1; }; }
3663 wine_cv_toolsdir="\$(TOPOBJDIR)"
3665 elif test -d "$with_wine_tools/tools/winebuild"; then
3666 case $with_wine_tools in
3667 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3668 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3671 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3672 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3673 { (exit 1); exit 1; }; }
3676 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3677 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3678 TOOLSDIR=$wine_cv_toolsdir
3683 ac_cpp='$CPP $CPPFLAGS'
3684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3687 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3688 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3689 # On Suns, sometimes $CPP names a directory.
3690 if test -n "$CPP" && test -d "$CPP"; then
3693 if test -z "$CPP"; then
3694 if test "${ac_cv_prog_CPP+set}" = set; then
3695 echo $ECHO_N "(cached) $ECHO_C" >&6
3697 # Double quotes because CPP needs to be expanded
3698 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3701 for ac_c_preproc_warn_flag in '' yes
3703 # Use a header file that comes with gcc, so configuring glibc
3704 # with a fresh cross-compiler works.
3705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3706 # <limits.h> exists even on freestanding compilers.
3707 # On the NeXT, cc -E runs the code through the compiler's parser,
3708 # not just through cpp. "Syntax error" is here to catch this case.
3709 cat >conftest.$ac_ext <<_ACEOF
3712 cat confdefs.h >>conftest.$ac_ext
3713 cat >>conftest.$ac_ext <<_ACEOF
3714 /* end confdefs.h. */
3716 # include <limits.h>
3718 # include <assert.h>
3722 if { (ac_try="$ac_cpp conftest.$ac_ext"
3724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725 *) ac_try_echo=$ac_try;;
3727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3728 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3730 grep -v '^ *+' conftest.er1 >conftest.err
3732 cat conftest.err >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); } >/dev/null && {
3735 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3736 test ! -s conftest.err
3740 echo "$as_me: failed program was:" >&5
3741 sed 's/^/| /' conftest.$ac_ext >&5
3743 # Broken: fails on valid input.
3747 rm -f conftest.err conftest.$ac_ext
3749 # OK, works on sane cases. Now check whether nonexistent headers
3750 # can be detected and how.
3751 cat >conftest.$ac_ext <<_ACEOF
3754 cat confdefs.h >>conftest.$ac_ext
3755 cat >>conftest.$ac_ext <<_ACEOF
3756 /* end confdefs.h. */
3757 #include <ac_nonexistent.h>
3759 if { (ac_try="$ac_cpp conftest.$ac_ext"
3761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762 *) ac_try_echo=$ac_try;;
3764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3765 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3767 grep -v '^ *+' conftest.er1 >conftest.err
3769 cat conftest.err >&5
3770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771 (exit $ac_status); } >/dev/null && {
3772 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3773 test ! -s conftest.err
3775 # Broken: success on invalid input.
3778 echo "$as_me: failed program was:" >&5
3779 sed 's/^/| /' conftest.$ac_ext >&5
3781 # Passes both tests.
3786 rm -f conftest.err conftest.$ac_ext
3789 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3790 rm -f conftest.err conftest.$ac_ext
3791 if $ac_preproc_ok; then
3803 { echo "$as_me:$LINENO: result: $CPP" >&5
3804 echo "${ECHO_T}$CPP" >&6; }
3806 for ac_c_preproc_warn_flag in '' yes
3808 # Use a header file that comes with gcc, so configuring glibc
3809 # with a fresh cross-compiler works.
3810 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3811 # <limits.h> exists even on freestanding compilers.
3812 # On the NeXT, cc -E runs the code through the compiler's parser,
3813 # not just through cpp. "Syntax error" is here to catch this case.
3814 cat >conftest.$ac_ext <<_ACEOF
3817 cat confdefs.h >>conftest.$ac_ext
3818 cat >>conftest.$ac_ext <<_ACEOF
3819 /* end confdefs.h. */
3821 # include <limits.h>
3823 # include <assert.h>
3827 if { (ac_try="$ac_cpp conftest.$ac_ext"
3829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3830 *) ac_try_echo=$ac_try;;
3832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3835 grep -v '^ *+' conftest.er1 >conftest.err
3837 cat conftest.err >&5
3838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839 (exit $ac_status); } >/dev/null && {
3840 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3841 test ! -s conftest.err
3845 echo "$as_me: failed program was:" >&5
3846 sed 's/^/| /' conftest.$ac_ext >&5
3848 # Broken: fails on valid input.
3852 rm -f conftest.err conftest.$ac_ext
3854 # OK, works on sane cases. Now check whether nonexistent headers
3855 # can be detected and how.
3856 cat >conftest.$ac_ext <<_ACEOF
3859 cat confdefs.h >>conftest.$ac_ext
3860 cat >>conftest.$ac_ext <<_ACEOF
3861 /* end confdefs.h. */
3862 #include <ac_nonexistent.h>
3864 if { (ac_try="$ac_cpp conftest.$ac_ext"
3866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3867 *) ac_try_echo=$ac_try;;
3869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3870 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3872 grep -v '^ *+' conftest.er1 >conftest.err
3874 cat conftest.err >&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); } >/dev/null && {
3877 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3878 test ! -s conftest.err
3880 # Broken: success on invalid input.
3883 echo "$as_me: failed program was:" >&5
3884 sed 's/^/| /' conftest.$ac_ext >&5
3886 # Passes both tests.
3891 rm -f conftest.err conftest.$ac_ext
3894 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3895 rm -f conftest.err conftest.$ac_ext
3896 if $ac_preproc_ok; then
3899 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3900 See \`config.log' for more details." >&5
3901 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3902 See \`config.log' for more details." >&2;}
3903 { (exit 1); exit 1; }; }
3907 ac_cpp='$CPP $CPPFLAGS'
3908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3913 { echo "$as_me:$LINENO: checking for X" >&5
3914 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3917 # Check whether --with-x was given.
3918 if test "${with_x+set}" = set; then
3922 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3923 if test "x$with_x" = xno; then
3924 # The user explicitly disabled X.
3927 case $x_includes,$x_libraries in #(
3928 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3929 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3930 { (exit 1); exit 1; }; };; #(
3931 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
3934 # One or both of the vars are not set, and there is no cached value.
3935 ac_x_includes=no ac_x_libraries=no
3936 rm -f -r conftest.dir
3937 if mkdir conftest.dir; then
3939 cat >Imakefile <<'_ACEOF'
3941 @echo incroot='${INCROOT}'
3943 @echo usrlibdir='${USRLIBDIR}'
3945 @echo libdir='${LIBDIR}'
3947 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3948 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3949 for ac_var in incroot usrlibdir libdir; do
3950 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3952 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3953 for ac_extension in a so sl; do
3954 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3955 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3956 ac_im_usrlibdir=$ac_im_libdir; break
3959 # Screen out bogus values from the imake configuration. They are
3960 # bogus both because they are the default anyway, and because
3961 # using them would break gcc on systems where it needs fixed includes.
3962 case $ac_im_incroot in
3963 /usr/include) ac_x_includes= ;;
3964 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3966 case $ac_im_usrlibdir in
3968 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3972 rm -f -r conftest.dir
3975 # Standard set of common directories for X headers.
3976 # Check X11 before X11Rn because it is often a symlink to the current release.
3988 /usr/local/X11/include
3989 /usr/local/X11R6/include
3990 /usr/local/X11R5/include
3991 /usr/local/X11R4/include
3993 /usr/local/include/X11
3994 /usr/local/include/X11R6
3995 /usr/local/include/X11R5
3996 /usr/local/include/X11R4
4000 /usr/XFree86/include/X11
4004 /usr/unsupported/include
4006 /usr/local/x11r5/include
4007 /usr/lpp/Xamples/include
4009 /usr/openwin/include
4010 /usr/openwin/share/include'
4012 if test "$ac_x_includes" = no; then
4013 # Guess where to find include files, by looking for Xlib.h.
4014 # First, try using that file with no special directory specified.
4015 cat >conftest.$ac_ext <<_ACEOF
4018 cat confdefs.h >>conftest.$ac_ext
4019 cat >>conftest.$ac_ext <<_ACEOF
4020 /* end confdefs.h. */
4021 #include <X11/Xlib.h>
4023 if { (ac_try="$ac_cpp conftest.$ac_ext"
4025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4026 *) ac_try_echo=$ac_try;;
4028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4031 grep -v '^ *+' conftest.er1 >conftest.err
4033 cat conftest.err >&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } >/dev/null && {
4036 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4037 test ! -s conftest.err
4039 # We can compile using X headers with no special include directory.
4042 echo "$as_me: failed program was:" >&5
4043 sed 's/^/| /' conftest.$ac_ext >&5
4045 for ac_dir in $ac_x_header_dirs; do
4046 if test -r "$ac_dir/X11/Xlib.h"; then
4047 ac_x_includes=$ac_dir
4053 rm -f conftest.err conftest.$ac_ext
4054 fi # $ac_x_includes = no
4056 if test "$ac_x_libraries" = no; then
4057 # Check for the libraries.
4058 # See if we find them without any special options.
4059 # Don't add to $LIBS permanently.
4062 cat >conftest.$ac_ext <<_ACEOF
4065 cat confdefs.h >>conftest.$ac_ext
4066 cat >>conftest.$ac_ext <<_ACEOF
4067 /* end confdefs.h. */
4068 #include <X11/Xlib.h>
4077 rm -f conftest.$ac_objext conftest$ac_exeext
4078 if { (ac_try="$ac_link"
4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;;
4083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4084 (eval "$ac_link") 2>conftest.er1
4086 grep -v '^ *+' conftest.er1 >conftest.err
4088 cat conftest.err >&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } && {
4091 test -z "$ac_c_werror_flag" ||
4092 test ! -s conftest.err
4093 } && test -s conftest$ac_exeext &&
4094 $as_test_x conftest$ac_exeext; then
4096 # We can link X programs with no special library path.
4099 echo "$as_me: failed program was:" >&5
4100 sed 's/^/| /' conftest.$ac_ext >&5
4103 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4105 # Don't even attempt the hair of trying to link an X program!
4106 for ac_extension in a so sl; do
4107 if test -r "$ac_dir/libX11.$ac_extension"; then
4108 ac_x_libraries=$ac_dir
4115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4116 conftest$ac_exeext conftest.$ac_ext
4117 fi # $ac_x_libraries = no
4119 case $ac_x_includes,$ac_x_libraries in #(
4121 # Didn't find X, or a directory has "'" in its name.
4122 ac_cv_have_x="have_x=no";; #(
4124 # Record where we found X for the cache.
4125 ac_cv_have_x="have_x=yes\
4126 ac_x_includes='$ac_x_includes'\
4127 ac_x_libraries='$ac_x_libraries'"
4133 eval "$ac_cv_have_x"
4136 if test "$have_x" != yes; then
4137 { echo "$as_me:$LINENO: result: $have_x" >&5
4138 echo "${ECHO_T}$have_x" >&6; }
4141 # If each of the values was on the command line, it overrides each guess.
4142 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4143 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4144 # Update the cache value to reflect the command line values.
4145 ac_cv_have_x="have_x=yes\
4146 ac_x_includes='$x_includes'\
4147 ac_x_libraries='$x_libraries'"
4148 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4149 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4152 if test "$no_x" = yes; then
4153 # Not all programs may use this symbol, but it does not hurt to define it.
4155 cat >>confdefs.h <<\_ACEOF
4156 #define X_DISPLAY_MISSING 1
4159 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4161 if test -n "$x_includes"; then
4162 X_CFLAGS="$X_CFLAGS -I$x_includes"
4165 # It would also be nice to do this for all -L options, not just this one.
4166 if test -n "$x_libraries"; then
4167 X_LIBS="$X_LIBS -L$x_libraries"
4168 # For Solaris; some versions of Sun CC require a space after -R and
4169 # others require no space. Words are not sufficient . . . .
4170 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4171 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4172 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4173 ac_xsave_c_werror_flag=$ac_c_werror_flag
4174 ac_c_werror_flag=yes
4175 cat >conftest.$ac_ext <<_ACEOF
4178 cat confdefs.h >>conftest.$ac_ext
4179 cat >>conftest.$ac_ext <<_ACEOF
4180 /* end confdefs.h. */
4190 rm -f conftest.$ac_objext conftest$ac_exeext
4191 if { (ac_try="$ac_link"
4193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194 *) ac_try_echo=$ac_try;;
4196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4197 (eval "$ac_link") 2>conftest.er1
4199 grep -v '^ *+' conftest.er1 >conftest.err
4201 cat conftest.err >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); } && {
4204 test -z "$ac_c_werror_flag" ||
4205 test ! -s conftest.err
4206 } && test -s conftest$ac_exeext &&
4207 $as_test_x conftest$ac_exeext; then
4208 { echo "$as_me:$LINENO: result: no" >&5
4209 echo "${ECHO_T}no" >&6; }
4210 X_LIBS="$X_LIBS -R$x_libraries"
4212 echo "$as_me: failed program was:" >&5
4213 sed 's/^/| /' conftest.$ac_ext >&5
4215 LIBS="$ac_xsave_LIBS -R $x_libraries"
4216 cat >conftest.$ac_ext <<_ACEOF
4219 cat confdefs.h >>conftest.$ac_ext
4220 cat >>conftest.$ac_ext <<_ACEOF
4221 /* end confdefs.h. */
4231 rm -f conftest.$ac_objext conftest$ac_exeext
4232 if { (ac_try="$ac_link"
4234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235 *) ac_try_echo=$ac_try;;
4237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4238 (eval "$ac_link") 2>conftest.er1
4240 grep -v '^ *+' conftest.er1 >conftest.err
4242 cat conftest.err >&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); } && {
4245 test -z "$ac_c_werror_flag" ||
4246 test ! -s conftest.err
4247 } && test -s conftest$ac_exeext &&
4248 $as_test_x conftest$ac_exeext; then
4249 { echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6; }
4251 X_LIBS="$X_LIBS -R $x_libraries"
4253 echo "$as_me: failed program was:" >&5
4254 sed 's/^/| /' conftest.$ac_ext >&5
4256 { echo "$as_me:$LINENO: result: neither works" >&5
4257 echo "${ECHO_T}neither works" >&6; }
4260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4261 conftest$ac_exeext conftest.$ac_ext
4264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4265 conftest$ac_exeext conftest.$ac_ext
4266 ac_c_werror_flag=$ac_xsave_c_werror_flag
4270 # Check for system-dependent libraries X programs must link with.
4271 # Do this before checking for the system-independent R6 libraries
4272 # (-lICE), since we may need -lsocket or whatever for X linking.
4274 if test "$ISC" = yes; then
4275 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4277 # Martyn Johnson says this is needed for Ultrix, if the X
4278 # libraries were built with DECnet support. And Karl Berry says
4279 # the Alpha needs dnet_stub (dnet does not exist).
4280 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4281 cat >conftest.$ac_ext <<_ACEOF
4284 cat confdefs.h >>conftest.$ac_ext
4285 cat >>conftest.$ac_ext <<_ACEOF
4286 /* end confdefs.h. */
4288 /* Override any GCC internal prototype to avoid an error.
4289 Use char because int might match the return type of a GCC
4290 builtin and then its argument prototype would still apply. */
4294 char XOpenDisplay ();
4298 return XOpenDisplay ();
4303 rm -f conftest.$ac_objext conftest$ac_exeext
4304 if { (ac_try="$ac_link"
4306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4307 *) ac_try_echo=$ac_try;;
4309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4310 (eval "$ac_link") 2>conftest.er1
4312 grep -v '^ *+' conftest.er1 >conftest.err
4314 cat conftest.err >&5
4315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316 (exit $ac_status); } && {
4317 test -z "$ac_c_werror_flag" ||
4318 test ! -s conftest.err
4319 } && test -s conftest$ac_exeext &&
4320 $as_test_x conftest$ac_exeext; then
4323 echo "$as_me: failed program was:" >&5
4324 sed 's/^/| /' conftest.$ac_ext >&5
4326 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4327 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4328 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4329 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 ac_check_lib_save_LIBS=$LIBS
4333 cat >conftest.$ac_ext <<_ACEOF
4336 cat confdefs.h >>conftest.$ac_ext
4337 cat >>conftest.$ac_ext <<_ACEOF
4338 /* end confdefs.h. */
4340 /* Override any GCC internal prototype to avoid an error.
4341 Use char because int might match the return type of a GCC
4342 builtin and then its argument prototype would still apply. */
4350 return dnet_ntoa ();
4355 rm -f conftest.$ac_objext conftest$ac_exeext
4356 if { (ac_try="$ac_link"
4358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4359 *) ac_try_echo=$ac_try;;
4361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4362 (eval "$ac_link") 2>conftest.er1
4364 grep -v '^ *+' conftest.er1 >conftest.err
4366 cat conftest.err >&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } && {
4369 test -z "$ac_c_werror_flag" ||
4370 test ! -s conftest.err
4371 } && test -s conftest$ac_exeext &&
4372 $as_test_x conftest$ac_exeext; then
4373 ac_cv_lib_dnet_dnet_ntoa=yes
4375 echo "$as_me: failed program was:" >&5
4376 sed 's/^/| /' conftest.$ac_ext >&5
4378 ac_cv_lib_dnet_dnet_ntoa=no
4381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4382 conftest$ac_exeext conftest.$ac_ext
4383 LIBS=$ac_check_lib_save_LIBS
4385 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4386 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4387 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4388 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4391 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4392 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4393 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4394 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 ac_check_lib_save_LIBS=$LIBS
4398 LIBS="-ldnet_stub $LIBS"
4399 cat >conftest.$ac_ext <<_ACEOF
4402 cat confdefs.h >>conftest.$ac_ext
4403 cat >>conftest.$ac_ext <<_ACEOF
4404 /* end confdefs.h. */
4406 /* Override any GCC internal prototype to avoid an error.
4407 Use char because int might match the return type of a GCC
4408 builtin and then its argument prototype would still apply. */
4416 return dnet_ntoa ();
4421 rm -f conftest.$ac_objext conftest$ac_exeext
4422 if { (ac_try="$ac_link"
4424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4425 *) ac_try_echo=$ac_try;;
4427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4428 (eval "$ac_link") 2>conftest.er1
4430 grep -v '^ *+' conftest.er1 >conftest.err
4432 cat conftest.err >&5
4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4434 (exit $ac_status); } && {
4435 test -z "$ac_c_werror_flag" ||
4436 test ! -s conftest.err
4437 } && test -s conftest$ac_exeext &&
4438 $as_test_x conftest$ac_exeext; then
4439 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4441 echo "$as_me: failed program was:" >&5
4442 sed 's/^/| /' conftest.$ac_ext >&5
4444 ac_cv_lib_dnet_stub_dnet_ntoa=no
4447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4448 conftest$ac_exeext conftest.$ac_ext
4449 LIBS=$ac_check_lib_save_LIBS
4451 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4452 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4453 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4454 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4461 conftest$ac_exeext conftest.$ac_ext
4462 LIBS="$ac_xsave_LIBS"
4464 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4465 # to get the SysV transport functions.
4466 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4468 # The nsl library prevents programs from opening the X display
4469 # on Irix 5.2, according to T.E. Dickey.
4470 # The functions gethostbyname, getservbyname, and inet_addr are
4471 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4472 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4473 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4474 if test "${ac_cv_func_gethostbyname+set}" = set; then
4475 echo $ECHO_N "(cached) $ECHO_C" >&6
4477 cat >conftest.$ac_ext <<_ACEOF
4480 cat confdefs.h >>conftest.$ac_ext
4481 cat >>conftest.$ac_ext <<_ACEOF
4482 /* end confdefs.h. */
4483 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4485 #define gethostbyname innocuous_gethostbyname
4487 /* System header to define __stub macros and hopefully few prototypes,
4488 which can conflict with char gethostbyname (); below.
4489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4490 <limits.h> exists even on freestanding compilers. */
4493 # include <limits.h>
4495 # include <assert.h>
4498 #undef gethostbyname
4500 /* Override any GCC internal prototype to avoid an error.
4501 Use char because int might match the return type of a GCC
4502 builtin and then its argument prototype would still apply. */
4506 char gethostbyname ();
4507 /* The GNU C library defines this for functions which it implements
4508 to always fail with ENOSYS. Some functions are actually named
4509 something starting with __ and the normal name is an alias. */
4510 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4517 return gethostbyname ();
4522 rm -f conftest.$ac_objext conftest$ac_exeext
4523 if { (ac_try="$ac_link"
4525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4526 *) ac_try_echo=$ac_try;;
4528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4529 (eval "$ac_link") 2>conftest.er1
4531 grep -v '^ *+' conftest.er1 >conftest.err
4533 cat conftest.err >&5
4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); } && {
4536 test -z "$ac_c_werror_flag" ||
4537 test ! -s conftest.err
4538 } && test -s conftest$ac_exeext &&
4539 $as_test_x conftest$ac_exeext; then
4540 ac_cv_func_gethostbyname=yes
4542 echo "$as_me: failed program was:" >&5
4543 sed 's/^/| /' conftest.$ac_ext >&5
4545 ac_cv_func_gethostbyname=no
4548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4549 conftest$ac_exeext conftest.$ac_ext
4551 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4552 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4554 if test $ac_cv_func_gethostbyname = no; then
4555 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4556 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4557 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4558 echo $ECHO_N "(cached) $ECHO_C" >&6
4560 ac_check_lib_save_LIBS=$LIBS
4562 cat >conftest.$ac_ext <<_ACEOF
4565 cat confdefs.h >>conftest.$ac_ext
4566 cat >>conftest.$ac_ext <<_ACEOF
4567 /* end confdefs.h. */
4569 /* Override any GCC internal prototype to avoid an error.
4570 Use char because int might match the return type of a GCC
4571 builtin and then its argument prototype would still apply. */
4575 char gethostbyname ();
4579 return gethostbyname ();
4584 rm -f conftest.$ac_objext conftest$ac_exeext
4585 if { (ac_try="$ac_link"
4587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4588 *) ac_try_echo=$ac_try;;
4590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4591 (eval "$ac_link") 2>conftest.er1
4593 grep -v '^ *+' conftest.er1 >conftest.err
4595 cat conftest.err >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); } && {
4598 test -z "$ac_c_werror_flag" ||
4599 test ! -s conftest.err
4600 } && test -s conftest$ac_exeext &&
4601 $as_test_x conftest$ac_exeext; then
4602 ac_cv_lib_nsl_gethostbyname=yes
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.$ac_ext >&5
4607 ac_cv_lib_nsl_gethostbyname=no
4610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4611 conftest$ac_exeext conftest.$ac_ext
4612 LIBS=$ac_check_lib_save_LIBS
4614 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4615 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4616 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4617 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4620 if test $ac_cv_lib_nsl_gethostbyname = no; then
4621 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4622 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4623 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4624 echo $ECHO_N "(cached) $ECHO_C" >&6
4626 ac_check_lib_save_LIBS=$LIBS
4628 cat >conftest.$ac_ext <<_ACEOF
4631 cat confdefs.h >>conftest.$ac_ext
4632 cat >>conftest.$ac_ext <<_ACEOF
4633 /* end confdefs.h. */
4635 /* Override any GCC internal prototype to avoid an error.
4636 Use char because int might match the return type of a GCC
4637 builtin and then its argument prototype would still apply. */
4641 char gethostbyname ();
4645 return gethostbyname ();
4650 rm -f conftest.$ac_objext conftest$ac_exeext
4651 if { (ac_try="$ac_link"
4653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4654 *) ac_try_echo=$ac_try;;
4656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4657 (eval "$ac_link") 2>conftest.er1
4659 grep -v '^ *+' conftest.er1 >conftest.err
4661 cat conftest.err >&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); } && {
4664 test -z "$ac_c_werror_flag" ||
4665 test ! -s conftest.err
4666 } && test -s conftest$ac_exeext &&
4667 $as_test_x conftest$ac_exeext; then
4668 ac_cv_lib_bsd_gethostbyname=yes
4670 echo "$as_me: failed program was:" >&5
4671 sed 's/^/| /' conftest.$ac_ext >&5
4673 ac_cv_lib_bsd_gethostbyname=no
4676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4677 conftest$ac_exeext conftest.$ac_ext
4678 LIBS=$ac_check_lib_save_LIBS
4680 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4681 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4682 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4683 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4689 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4690 # socket/setsockopt and other routines are undefined under SCO ODT
4691 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4692 # on later versions), says Simon Leinen: it contains gethostby*
4693 # variants that don't use the name server (or something). -lsocket
4694 # must be given before -lnsl if both are needed. We assume that
4695 # if connect needs -lnsl, so does gethostbyname.
4696 { echo "$as_me:$LINENO: checking for connect" >&5
4697 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4698 if test "${ac_cv_func_connect+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 cat >conftest.$ac_ext <<_ACEOF
4704 cat confdefs.h >>conftest.$ac_ext
4705 cat >>conftest.$ac_ext <<_ACEOF
4706 /* end confdefs.h. */
4707 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4709 #define connect innocuous_connect
4711 /* System header to define __stub macros and hopefully few prototypes,
4712 which can conflict with char connect (); below.
4713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4714 <limits.h> exists even on freestanding compilers. */
4717 # include <limits.h>
4719 # include <assert.h>
4724 /* Override any GCC internal prototype to avoid an error.
4725 Use char because int might match the return type of a GCC
4726 builtin and then its argument prototype would still apply. */
4731 /* The GNU C library defines this for functions which it implements
4732 to always fail with ENOSYS. Some functions are actually named
4733 something starting with __ and the normal name is an alias. */
4734 #if defined __stub_connect || defined __stub___connect
4746 rm -f conftest.$ac_objext conftest$ac_exeext
4747 if { (ac_try="$ac_link"
4749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4750 *) ac_try_echo=$ac_try;;
4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4753 (eval "$ac_link") 2>conftest.er1
4755 grep -v '^ *+' conftest.er1 >conftest.err
4757 cat conftest.err >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } && {
4760 test -z "$ac_c_werror_flag" ||
4761 test ! -s conftest.err
4762 } && test -s conftest$ac_exeext &&
4763 $as_test_x conftest$ac_exeext; then
4764 ac_cv_func_connect=yes
4766 echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.$ac_ext >&5
4769 ac_cv_func_connect=no
4772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4773 conftest$ac_exeext conftest.$ac_ext
4775 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4776 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4778 if test $ac_cv_func_connect = no; then
4779 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4780 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4781 if test "${ac_cv_lib_socket_connect+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 ac_check_lib_save_LIBS=$LIBS
4785 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4786 cat >conftest.$ac_ext <<_ACEOF
4789 cat confdefs.h >>conftest.$ac_ext
4790 cat >>conftest.$ac_ext <<_ACEOF
4791 /* end confdefs.h. */
4793 /* Override any GCC internal prototype to avoid an error.
4794 Use char because int might match the return type of a GCC
4795 builtin and then its argument prototype would still apply. */
4808 rm -f conftest.$ac_objext conftest$ac_exeext
4809 if { (ac_try="$ac_link"
4811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812 *) ac_try_echo=$ac_try;;
4814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4815 (eval "$ac_link") 2>conftest.er1
4817 grep -v '^ *+' conftest.er1 >conftest.err
4819 cat conftest.err >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); } && {
4822 test -z "$ac_c_werror_flag" ||
4823 test ! -s conftest.err
4824 } && test -s conftest$ac_exeext &&
4825 $as_test_x conftest$ac_exeext; then
4826 ac_cv_lib_socket_connect=yes
4828 echo "$as_me: failed program was:" >&5
4829 sed 's/^/| /' conftest.$ac_ext >&5
4831 ac_cv_lib_socket_connect=no
4834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4835 conftest$ac_exeext conftest.$ac_ext
4836 LIBS=$ac_check_lib_save_LIBS
4838 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4839 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4840 if test $ac_cv_lib_socket_connect = yes; then
4841 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4846 # Guillermo Gomez says -lposix is necessary on A/UX.
4847 { echo "$as_me:$LINENO: checking for remove" >&5
4848 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4849 if test "${ac_cv_func_remove+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4852 cat >conftest.$ac_ext <<_ACEOF
4855 cat confdefs.h >>conftest.$ac_ext
4856 cat >>conftest.$ac_ext <<_ACEOF
4857 /* end confdefs.h. */
4858 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4860 #define remove innocuous_remove
4862 /* System header to define __stub macros and hopefully few prototypes,
4863 which can conflict with char remove (); below.
4864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4865 <limits.h> exists even on freestanding compilers. */
4868 # include <limits.h>
4870 # include <assert.h>
4875 /* Override any GCC internal prototype to avoid an error.
4876 Use char because int might match the return type of a GCC
4877 builtin and then its argument prototype would still apply. */
4882 /* The GNU C library defines this for functions which it implements
4883 to always fail with ENOSYS. Some functions are actually named
4884 something starting with __ and the normal name is an alias. */
4885 #if defined __stub_remove || defined __stub___remove
4897 rm -f conftest.$ac_objext conftest$ac_exeext
4898 if { (ac_try="$ac_link"
4900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4901 *) ac_try_echo=$ac_try;;
4903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4904 (eval "$ac_link") 2>conftest.er1
4906 grep -v '^ *+' conftest.er1 >conftest.err
4908 cat conftest.err >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); } && {
4911 test -z "$ac_c_werror_flag" ||
4912 test ! -s conftest.err
4913 } && test -s conftest$ac_exeext &&
4914 $as_test_x conftest$ac_exeext; then
4915 ac_cv_func_remove=yes
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.$ac_ext >&5
4920 ac_cv_func_remove=no
4923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4924 conftest$ac_exeext conftest.$ac_ext
4926 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4927 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4929 if test $ac_cv_func_remove = no; then
4930 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4931 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4932 if test "${ac_cv_lib_posix_remove+set}" = set; then
4933 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 ac_check_lib_save_LIBS=$LIBS
4936 LIBS="-lposix $LIBS"
4937 cat >conftest.$ac_ext <<_ACEOF
4940 cat confdefs.h >>conftest.$ac_ext
4941 cat >>conftest.$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4944 /* Override any GCC internal prototype to avoid an error.
4945 Use char because int might match the return type of a GCC
4946 builtin and then its argument prototype would still apply. */
4959 rm -f conftest.$ac_objext conftest$ac_exeext
4960 if { (ac_try="$ac_link"
4962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4963 *) ac_try_echo=$ac_try;;
4965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4966 (eval "$ac_link") 2>conftest.er1
4968 grep -v '^ *+' conftest.er1 >conftest.err
4970 cat conftest.err >&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); } && {
4973 test -z "$ac_c_werror_flag" ||
4974 test ! -s conftest.err
4975 } && test -s conftest$ac_exeext &&
4976 $as_test_x conftest$ac_exeext; then
4977 ac_cv_lib_posix_remove=yes
4979 echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.$ac_ext >&5
4982 ac_cv_lib_posix_remove=no
4985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4986 conftest$ac_exeext conftest.$ac_ext
4987 LIBS=$ac_check_lib_save_LIBS
4989 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4990 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4991 if test $ac_cv_lib_posix_remove = yes; then
4992 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4997 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4998 { echo "$as_me:$LINENO: checking for shmat" >&5
4999 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5000 if test "${ac_cv_func_shmat+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 cat >conftest.$ac_ext <<_ACEOF
5006 cat confdefs.h >>conftest.$ac_ext
5007 cat >>conftest.$ac_ext <<_ACEOF
5008 /* end confdefs.h. */
5009 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5011 #define shmat innocuous_shmat
5013 /* System header to define __stub macros and hopefully few prototypes,
5014 which can conflict with char shmat (); below.
5015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5016 <limits.h> exists even on freestanding compilers. */
5019 # include <limits.h>
5021 # include <assert.h>
5026 /* Override any GCC internal prototype to avoid an error.
5027 Use char because int might match the return type of a GCC
5028 builtin and then its argument prototype would still apply. */
5033 /* The GNU C library defines this for functions which it implements
5034 to always fail with ENOSYS. Some functions are actually named
5035 something starting with __ and the normal name is an alias. */
5036 #if defined __stub_shmat || defined __stub___shmat
5048 rm -f conftest.$ac_objext conftest$ac_exeext
5049 if { (ac_try="$ac_link"
5051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5052 *) ac_try_echo=$ac_try;;
5054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5055 (eval "$ac_link") 2>conftest.er1
5057 grep -v '^ *+' conftest.er1 >conftest.err
5059 cat conftest.err >&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); } && {
5062 test -z "$ac_c_werror_flag" ||
5063 test ! -s conftest.err
5064 } && test -s conftest$ac_exeext &&
5065 $as_test_x conftest$ac_exeext; then
5066 ac_cv_func_shmat=yes
5068 echo "$as_me: failed program was:" >&5
5069 sed 's/^/| /' conftest.$ac_ext >&5
5074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5075 conftest$ac_exeext conftest.$ac_ext
5077 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5078 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5080 if test $ac_cv_func_shmat = no; then
5081 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5082 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5083 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6
5086 ac_check_lib_save_LIBS=$LIBS
5088 cat >conftest.$ac_ext <<_ACEOF
5091 cat confdefs.h >>conftest.$ac_ext
5092 cat >>conftest.$ac_ext <<_ACEOF
5093 /* end confdefs.h. */
5095 /* Override any GCC internal prototype to avoid an error.
5096 Use char because int might match the return type of a GCC
5097 builtin and then its argument prototype would still apply. */
5110 rm -f conftest.$ac_objext conftest$ac_exeext
5111 if { (ac_try="$ac_link"
5113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5114 *) ac_try_echo=$ac_try;;
5116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5117 (eval "$ac_link") 2>conftest.er1
5119 grep -v '^ *+' conftest.er1 >conftest.err
5121 cat conftest.err >&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); } && {
5124 test -z "$ac_c_werror_flag" ||
5125 test ! -s conftest.err
5126 } && test -s conftest$ac_exeext &&
5127 $as_test_x conftest$ac_exeext; then
5128 ac_cv_lib_ipc_shmat=yes
5130 echo "$as_me: failed program was:" >&5
5131 sed 's/^/| /' conftest.$ac_ext >&5
5133 ac_cv_lib_ipc_shmat=no
5136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5137 conftest$ac_exeext conftest.$ac_ext
5138 LIBS=$ac_check_lib_save_LIBS
5140 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5141 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5142 if test $ac_cv_lib_ipc_shmat = yes; then
5143 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5149 # Check for libraries that X11R6 Xt/Xaw programs need.
5150 ac_save_LDFLAGS=$LDFLAGS
5151 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5152 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5153 # check for ICE first), but we must link in the order -lSM -lICE or
5154 # we get undefined symbols. So assume we have SM if we have ICE.
5155 # These have to be linked with before -lX11, unlike the other
5156 # libraries we check for below, so use a different variable.
5157 # John Interrante, Karl Berry
5158 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5159 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5160 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5161 echo $ECHO_N "(cached) $ECHO_C" >&6
5163 ac_check_lib_save_LIBS=$LIBS
5164 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5165 cat >conftest.$ac_ext <<_ACEOF
5168 cat confdefs.h >>conftest.$ac_ext
5169 cat >>conftest.$ac_ext <<_ACEOF
5170 /* end confdefs.h. */
5172 /* Override any GCC internal prototype to avoid an error.
5173 Use char because int might match the return type of a GCC
5174 builtin and then its argument prototype would still apply. */
5178 char IceConnectionNumber ();
5182 return IceConnectionNumber ();
5187 rm -f conftest.$ac_objext conftest$ac_exeext
5188 if { (ac_try="$ac_link"
5190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5191 *) ac_try_echo=$ac_try;;
5193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5194 (eval "$ac_link") 2>conftest.er1
5196 grep -v '^ *+' conftest.er1 >conftest.err
5198 cat conftest.err >&5
5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 (exit $ac_status); } && {
5201 test -z "$ac_c_werror_flag" ||
5202 test ! -s conftest.err
5203 } && test -s conftest$ac_exeext &&
5204 $as_test_x conftest$ac_exeext; then
5205 ac_cv_lib_ICE_IceConnectionNumber=yes
5207 echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.$ac_ext >&5
5210 ac_cv_lib_ICE_IceConnectionNumber=no
5213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5214 conftest$ac_exeext conftest.$ac_ext
5215 LIBS=$ac_check_lib_save_LIBS
5217 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5218 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5219 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5220 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5223 LDFLAGS=$ac_save_LDFLAGS
5230 # Extract the first word of "$ac_prog", so it can be a program name with args.
5231 set dummy $ac_prog; ac_word=$2
5232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5234 if test "${ac_cv_prog_FLEX+set}" = set; then
5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 if test -n "$FLEX"; then
5238 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5244 test -z "$as_dir" && as_dir=.
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5247 ac_cv_prog_FLEX="$ac_prog"
5248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 FLEX=$ac_cv_prog_FLEX
5258 if test -n "$FLEX"; then
5259 { echo "$as_me:$LINENO: result: $FLEX" >&5
5260 echo "${ECHO_T}$FLEX" >&6; }
5262 { echo "$as_me:$LINENO: result: no" >&5
5263 echo "${ECHO_T}no" >&6; }
5267 test -n "$FLEX" && break
5269 test -n "$FLEX" || FLEX="none"
5271 if test "$FLEX" = "none"
5273 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5274 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5275 { (exit 1); exit 1; }; }
5278 for ac_prog in bison
5280 # Extract the first word of "$ac_prog", so it can be a program name with args.
5281 set dummy $ac_prog; ac_word=$2
5282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5284 if test "${ac_cv_prog_BISON+set}" = set; then
5285 echo $ECHO_N "(cached) $ECHO_C" >&6
5287 if test -n "$BISON"; then
5288 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5297 ac_cv_prog_BISON="$ac_prog"
5298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5307 BISON=$ac_cv_prog_BISON
5308 if test -n "$BISON"; then
5309 { echo "$as_me:$LINENO: result: $BISON" >&5
5310 echo "${ECHO_T}$BISON" >&6; }
5312 { echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6; }
5317 test -n "$BISON" && break
5319 test -n "$BISON" || BISON="none"
5321 if test "$BISON" = "none"
5323 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5324 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5325 { (exit 1); exit 1; }; }
5328 if test -n "$ac_tool_prefix"; then
5329 for ac_prog in gas as
5331 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5332 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5335 if test "${ac_cv_prog_AS+set}" = set; then
5336 echo $ECHO_N "(cached) $ECHO_C" >&6
5338 if test -n "$AS"; then
5339 ac_cv_prog_AS="$AS" # Let the user override the test.
5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345 test -z "$as_dir" && as_dir=.
5346 for ac_exec_ext in '' $ac_executable_extensions; do
5347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5348 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5359 if test -n "$AS"; then
5360 { echo "$as_me:$LINENO: result: $AS" >&5
5361 echo "${ECHO_T}$AS" >&6; }
5363 { echo "$as_me:$LINENO: result: no" >&5
5364 echo "${ECHO_T}no" >&6; }
5368 test -n "$AS" && break
5371 if test -z "$AS"; then
5373 for ac_prog in gas as
5375 # Extract the first word of "$ac_prog", so it can be a program name with args.
5376 set dummy $ac_prog; ac_word=$2
5377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5379 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5380 echo $ECHO_N "(cached) $ECHO_C" >&6
5382 if test -n "$ac_ct_AS"; then
5383 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 test -z "$as_dir" && as_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5392 ac_cv_prog_ac_ct_AS="$ac_prog"
5393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5402 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5403 if test -n "$ac_ct_AS"; then
5404 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5405 echo "${ECHO_T}$ac_ct_AS" >&6; }
5407 { echo "$as_me:$LINENO: result: no" >&5
5408 echo "${ECHO_T}no" >&6; }
5412 test -n "$ac_ct_AS" && break
5415 if test "x$ac_ct_AS" = x; then
5418 case $cross_compiling:$ac_tool_warned in
5420 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5421 whose name does not start with the host triplet. If you think this
5422 configuration is useful to you, please write to autoconf@gnu.org." >&5
5423 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5424 whose name does not start with the host triplet. If you think this
5425 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5426 ac_tool_warned=yes ;;
5432 if test -n "$ac_tool_prefix"; then
5433 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5434 set dummy ${ac_tool_prefix}ld; ac_word=$2
5435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5437 if test "${ac_cv_prog_LD+set}" = set; then
5438 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 if test -n "$LD"; then
5441 ac_cv_prog_LD="$LD" # Let the user override the test.
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5450 ac_cv_prog_LD="${ac_tool_prefix}ld"
5451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 if test -n "$LD"; then
5462 { echo "$as_me:$LINENO: result: $LD" >&5
5463 echo "${ECHO_T}$LD" >&6; }
5465 { echo "$as_me:$LINENO: result: no" >&5
5466 echo "${ECHO_T}no" >&6; }
5471 if test -z "$ac_cv_prog_LD"; then
5473 # Extract the first word of "ld", so it can be a program name with args.
5474 set dummy ld; ac_word=$2
5475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5477 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 if test -n "$ac_ct_LD"; then
5481 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5487 test -z "$as_dir" && as_dir=.
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5490 ac_cv_prog_ac_ct_LD="ld"
5491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5500 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5501 if test -n "$ac_ct_LD"; then
5502 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5503 echo "${ECHO_T}$ac_ct_LD" >&6; }
5505 { echo "$as_me:$LINENO: result: no" >&5
5506 echo "${ECHO_T}no" >&6; }
5509 if test "x$ac_ct_LD" = x; then
5512 case $cross_compiling:$ac_tool_warned in
5514 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5515 whose name does not start with the host triplet. If you think this
5516 configuration is useful to you, please write to autoconf@gnu.org." >&5
5517 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5518 whose name does not start with the host triplet. If you think this
5519 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5520 ac_tool_warned=yes ;;
5528 if test -n "$ac_tool_prefix"; then
5529 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5530 set dummy ${ac_tool_prefix}ar; ac_word=$2
5531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5533 if test "${ac_cv_prog_AR+set}" = set; then
5534 echo $ECHO_N "(cached) $ECHO_C" >&6
5536 if test -n "$AR"; then
5537 ac_cv_prog_AR="$AR" # Let the user override the test.
5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5543 test -z "$as_dir" && as_dir=.
5544 for ac_exec_ext in '' $ac_executable_extensions; do
5545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5546 ac_cv_prog_AR="${ac_tool_prefix}ar"
5547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 if test -n "$AR"; then
5558 { echo "$as_me:$LINENO: result: $AR" >&5
5559 echo "${ECHO_T}$AR" >&6; }
5561 { echo "$as_me:$LINENO: result: no" >&5
5562 echo "${ECHO_T}no" >&6; }
5567 if test -z "$ac_cv_prog_AR"; then
5569 # Extract the first word of "ar", so it can be a program name with args.
5570 set dummy ar; ac_word=$2
5571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5573 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5574 echo $ECHO_N "(cached) $ECHO_C" >&6
5576 if test -n "$ac_ct_AR"; then
5577 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5583 test -z "$as_dir" && as_dir=.
5584 for ac_exec_ext in '' $ac_executable_extensions; do
5585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5586 ac_cv_prog_ac_ct_AR="ar"
5587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5596 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5597 if test -n "$ac_ct_AR"; then
5598 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5599 echo "${ECHO_T}$ac_ct_AR" >&6; }
5601 { echo "$as_me:$LINENO: result: no" >&5
5602 echo "${ECHO_T}no" >&6; }
5605 if test "x$ac_ct_AR" = x; then
5608 case $cross_compiling:$ac_tool_warned in
5610 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5611 whose name does not start with the host triplet. If you think this
5612 configuration is useful to you, please write to autoconf@gnu.org." >&5
5613 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5614 whose name does not start with the host triplet. If you think this
5615 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5616 ac_tool_warned=yes ;;
5626 if test -n "$ac_tool_prefix"; then
5627 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5628 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5631 if test "${ac_cv_prog_RANLIB+set}" = set; then
5632 echo $ECHO_N "(cached) $ECHO_C" >&6
5634 if test -n "$RANLIB"; then
5635 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5641 test -z "$as_dir" && as_dir=.
5642 for ac_exec_ext in '' $ac_executable_extensions; do
5643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5644 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5654 RANLIB=$ac_cv_prog_RANLIB
5655 if test -n "$RANLIB"; then
5656 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5657 echo "${ECHO_T}$RANLIB" >&6; }
5659 { echo "$as_me:$LINENO: result: no" >&5
5660 echo "${ECHO_T}no" >&6; }
5665 if test -z "$ac_cv_prog_RANLIB"; then
5666 ac_ct_RANLIB=$RANLIB
5667 # Extract the first word of "ranlib", so it can be a program name with args.
5668 set dummy ranlib; ac_word=$2
5669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5671 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5672 echo $ECHO_N "(cached) $ECHO_C" >&6
5674 if test -n "$ac_ct_RANLIB"; then
5675 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 test -z "$as_dir" && as_dir=.
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5684 ac_cv_prog_ac_ct_RANLIB="ranlib"
5685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5694 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5695 if test -n "$ac_ct_RANLIB"; then
5696 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5697 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5699 { echo "$as_me:$LINENO: result: no" >&5
5700 echo "${ECHO_T}no" >&6; }
5703 if test "x$ac_ct_RANLIB" = x; then
5706 case $cross_compiling:$ac_tool_warned in
5708 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5709 whose name does not start with the host triplet. If you think this
5710 configuration is useful to you, please write to autoconf@gnu.org." >&5
5711 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5712 whose name does not start with the host triplet. If you think this
5713 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5714 ac_tool_warned=yes ;;
5716 RANLIB=$ac_ct_RANLIB
5719 RANLIB="$ac_cv_prog_RANLIB"
5722 if test -n "$ac_tool_prefix"; then
5723 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5724 set dummy ${ac_tool_prefix}strip; ac_word=$2
5725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5727 if test "${ac_cv_prog_STRIP+set}" = set; then
5728 echo $ECHO_N "(cached) $ECHO_C" >&6
5730 if test -n "$STRIP"; then
5731 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 test -z "$as_dir" && as_dir=.
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5740 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 STRIP=$ac_cv_prog_STRIP
5751 if test -n "$STRIP"; then
5752 { echo "$as_me:$LINENO: result: $STRIP" >&5
5753 echo "${ECHO_T}$STRIP" >&6; }
5755 { echo "$as_me:$LINENO: result: no" >&5
5756 echo "${ECHO_T}no" >&6; }
5761 if test -z "$ac_cv_prog_STRIP"; then
5763 # Extract the first word of "strip", so it can be a program name with args.
5764 set dummy strip; ac_word=$2
5765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5767 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5768 echo $ECHO_N "(cached) $ECHO_C" >&6
5770 if test -n "$ac_ct_STRIP"; then
5771 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5780 ac_cv_prog_ac_ct_STRIP="strip"
5781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5791 if test -n "$ac_ct_STRIP"; then
5792 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5793 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5795 { echo "$as_me:$LINENO: result: no" >&5
5796 echo "${ECHO_T}no" >&6; }
5799 if test "x$ac_ct_STRIP" = x; then
5802 case $cross_compiling:$ac_tool_warned in
5804 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5805 whose name does not start with the host triplet. If you think this
5806 configuration is useful to you, please write to autoconf@gnu.org." >&5
5807 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5808 whose name does not start with the host triplet. If you think this
5809 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5810 ac_tool_warned=yes ;;
5815 STRIP="$ac_cv_prog_STRIP"
5818 if test -n "$ac_tool_prefix"; then
5819 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5820 set dummy ${ac_tool_prefix}windres; ac_word=$2
5821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5823 if test "${ac_cv_prog_WINDRES+set}" = set; then
5824 echo $ECHO_N "(cached) $ECHO_C" >&6
5826 if test -n "$WINDRES"; then
5827 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5836 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 WINDRES=$ac_cv_prog_WINDRES
5847 if test -n "$WINDRES"; then
5848 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5849 echo "${ECHO_T}$WINDRES" >&6; }
5851 { echo "$as_me:$LINENO: result: no" >&5
5852 echo "${ECHO_T}no" >&6; }
5857 if test -z "$ac_cv_prog_WINDRES"; then
5858 ac_ct_WINDRES=$WINDRES
5859 # Extract the first word of "windres", so it can be a program name with args.
5860 set dummy windres; ac_word=$2
5861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5863 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5864 echo $ECHO_N "(cached) $ECHO_C" >&6
5866 if test -n "$ac_ct_WINDRES"; then
5867 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5873 test -z "$as_dir" && as_dir=.
5874 for ac_exec_ext in '' $ac_executable_extensions; do
5875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5876 ac_cv_prog_ac_ct_WINDRES="windres"
5877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5887 if test -n "$ac_ct_WINDRES"; then
5888 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5889 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5891 { echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6; }
5895 if test "x$ac_ct_WINDRES" = x; then
5898 case $cross_compiling:$ac_tool_warned in
5900 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5901 whose name does not start with the host triplet. If you think this
5902 configuration is useful to you, please write to autoconf@gnu.org." >&5
5903 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5904 whose name does not start with the host triplet. If you think this
5905 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5906 ac_tool_warned=yes ;;
5908 WINDRES=$ac_ct_WINDRES
5911 WINDRES="$ac_cv_prog_WINDRES"
5914 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5915 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5917 if test "$LN_S" = "ln -s"; then
5918 { echo "$as_me:$LINENO: result: yes" >&5
5919 echo "${ECHO_T}yes" >&6; }
5921 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5922 echo "${ECHO_T}no, using $LN_S" >&6; }
5925 { echo "$as_me:$LINENO: checking whether ln works" >&5
5926 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5927 rm -f conf$$ conf$$.file
5929 if ln conf$$.file conf$$ 2>/dev/null; then
5932 { echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6; }
5937 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5938 echo "${ECHO_T}no, using $LN" >&6; }
5940 rm -f conf$$ conf$$.file
5941 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5942 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5943 if test "${ac_cv_path_GREP+set}" = set; then
5944 echo $ECHO_N "(cached) $ECHO_C" >&6
5946 # Extract the first word of "grep ggrep" to use in msg output
5947 if test -z "$GREP"; then
5948 set dummy grep ggrep; ac_prog_name=$2
5949 if test "${ac_cv_path_GREP+set}" = set; then
5950 echo $ECHO_N "(cached) $ECHO_C" >&6
5952 ac_path_GREP_found=false
5953 # Loop through the user's path and test for each of PROGNAME-LIST
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5958 test -z "$as_dir" && as_dir=.
5959 for ac_prog in grep ggrep; do
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5962 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5963 # Check for GNU ac_path_GREP and select it if it is found.
5964 # Check for GNU $ac_path_GREP
5965 case `"$ac_path_GREP" --version 2>&1` in
5967 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5970 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5973 cat "conftest.in" "conftest.in" >"conftest.tmp"
5974 mv "conftest.tmp" "conftest.in"
5975 cp "conftest.in" "conftest.nl"
5976 echo 'GREP' >> "conftest.nl"
5977 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5978 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5979 ac_count=`expr $ac_count + 1`
5980 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5981 # Best one so far, save it but keep looking for a better one
5982 ac_cv_path_GREP="$ac_path_GREP"
5983 ac_path_GREP_max=$ac_count
5985 # 10*(2^10) chars as input seems more than enough
5986 test $ac_count -gt 10 && break
5988 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5992 $ac_path_GREP_found && break 3
6002 GREP="$ac_cv_path_GREP"
6003 if test -z "$GREP"; then
6004 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6005 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6006 { (exit 1); exit 1; }; }
6010 ac_cv_path_GREP=$GREP
6015 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6016 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6017 GREP="$ac_cv_path_GREP"
6020 { echo "$as_me:$LINENO: checking for egrep" >&5
6021 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6022 if test "${ac_cv_path_EGREP+set}" = set; then
6023 echo $ECHO_N "(cached) $ECHO_C" >&6
6025 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6026 then ac_cv_path_EGREP="$GREP -E"
6028 # Extract the first word of "egrep" to use in msg output
6029 if test -z "$EGREP"; then
6030 set dummy egrep; ac_prog_name=$2
6031 if test "${ac_cv_path_EGREP+set}" = set; then
6032 echo $ECHO_N "(cached) $ECHO_C" >&6
6034 ac_path_EGREP_found=false
6035 # Loop through the user's path and test for each of PROGNAME-LIST
6036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6040 test -z "$as_dir" && as_dir=.
6041 for ac_prog in egrep; do
6042 for ac_exec_ext in '' $ac_executable_extensions; do
6043 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6044 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6045 # Check for GNU ac_path_EGREP and select it if it is found.
6046 # Check for GNU $ac_path_EGREP
6047 case `"$ac_path_EGREP" --version 2>&1` in
6049 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6052 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6055 cat "conftest.in" "conftest.in" >"conftest.tmp"
6056 mv "conftest.tmp" "conftest.in"
6057 cp "conftest.in" "conftest.nl"
6058 echo 'EGREP' >> "conftest.nl"
6059 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6060 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6061 ac_count=`expr $ac_count + 1`
6062 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6063 # Best one so far, save it but keep looking for a better one
6064 ac_cv_path_EGREP="$ac_path_EGREP"
6065 ac_path_EGREP_max=$ac_count
6067 # 10*(2^10) chars as input seems more than enough
6068 test $ac_count -gt 10 && break
6070 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6074 $ac_path_EGREP_found && break 3
6084 EGREP="$ac_cv_path_EGREP"
6085 if test -z "$EGREP"; then
6086 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6087 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6088 { (exit 1); exit 1; }; }
6092 ac_cv_path_EGREP=$EGREP
6098 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6099 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6100 EGREP="$ac_cv_path_EGREP"
6103 # Extract the first word of "ldconfig", so it can be a program name with args.
6104 set dummy ldconfig; ac_word=$2
6105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6107 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6108 echo $ECHO_N "(cached) $ECHO_C" >&6
6112 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in /sbin /usr/sbin $PATH
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6134 LDCONFIG=$ac_cv_path_LDCONFIG
6135 if test -n "$LDCONFIG"; then
6136 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6137 echo "${ECHO_T}$LDCONFIG" >&6; }
6139 { echo "$as_me:$LINENO: result: no" >&5
6140 echo "${ECHO_T}no" >&6; }
6144 # Find a good install program. We prefer a C program (faster),
6145 # so one script is as good as another. But avoid the broken or
6146 # incompatible versions:
6147 # SysV /etc/install, /usr/sbin/install
6148 # SunOS /usr/etc/install
6149 # IRIX /sbin/install
6151 # AmigaOS /C/install, which installs bootblocks on floppy discs
6152 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6153 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6154 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6155 # OS/2's system install, which has a completely different semantic
6156 # ./install, which can be erroneously created by make from ./install.sh.
6157 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6158 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6159 if test -z "$INSTALL"; then
6160 if test "${ac_cv_path_install+set}" = set; then
6161 echo $ECHO_N "(cached) $ECHO_C" >&6
6163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6167 test -z "$as_dir" && as_dir=.
6168 # Account for people who put trailing slashes in PATH elements.
6170 ./ | .// | /cC/* | \
6171 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6172 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6175 # OSF1 and SCO ODT 3.0 have their own names for install.
6176 # Don't use installbsd from OSF since it installs stuff as root
6178 for ac_prog in ginstall scoinst install; do
6179 for ac_exec_ext in '' $ac_executable_extensions; do
6180 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6181 if test $ac_prog = install &&
6182 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6183 # AIX install. It has an incompatible calling convention.
6185 elif test $ac_prog = install &&
6186 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6187 # program-specific install script used by HP pwplus--don't use.
6190 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6203 if test "${ac_cv_path_install+set}" = set; then
6204 INSTALL=$ac_cv_path_install
6206 # As a last resort, use the slow shell script. Don't cache a
6207 # value for INSTALL within a source directory, because that will
6208 # break other packages using the cache if that directory is
6209 # removed, or if the value is a relative name.
6210 INSTALL=$ac_install_sh
6213 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6214 echo "${ECHO_T}$INSTALL" >&6; }
6216 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6217 # It thinks the first close brace ends the variable substitution.
6218 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6220 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6222 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6225 [\\/$]* | ?:[\\/]* ) ;;
6226 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6229 for ac_prog in lclint lint
6231 # Extract the first word of "$ac_prog", so it can be a program name with args.
6232 set dummy $ac_prog; ac_word=$2
6233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6235 if test "${ac_cv_prog_LINT+set}" = set; then
6236 echo $ECHO_N "(cached) $ECHO_C" >&6
6238 if test -n "$LINT"; then
6239 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245 test -z "$as_dir" && as_dir=.
6246 for ac_exec_ext in '' $ac_executable_extensions; do
6247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6248 ac_cv_prog_LINT="$ac_prog"
6249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6258 LINT=$ac_cv_prog_LINT
6259 if test -n "$LINT"; then
6260 { echo "$as_me:$LINENO: result: $LINT" >&5
6261 echo "${ECHO_T}$LINT" >&6; }
6263 { echo "$as_me:$LINENO: result: no" >&5
6264 echo "${ECHO_T}no" >&6; }
6268 test -n "$LINT" && break
6271 if test "$LINT" = "lint"
6273 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6278 for ac_prog in fontforge
6280 # Extract the first word of "$ac_prog", so it can be a program name with args.
6281 set dummy $ac_prog; ac_word=$2
6282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6284 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6285 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 if test -n "$FONTFORGE"; then
6288 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6294 test -z "$as_dir" && as_dir=.
6295 for ac_exec_ext in '' $ac_executable_extensions; do
6296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6297 ac_cv_prog_FONTFORGE="$ac_prog"
6298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6307 FONTFORGE=$ac_cv_prog_FONTFORGE
6308 if test -n "$FONTFORGE"; then
6309 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6310 echo "${ECHO_T}$FONTFORGE" >&6; }
6312 { echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6; }
6317 test -n "$FONTFORGE" && break
6319 test -n "$FONTFORGE" || FONTFORGE="false"
6321 for ac_prog in pkg-config
6323 # Extract the first word of "$ac_prog", so it can be a program name with args.
6324 set dummy $ac_prog; ac_word=$2
6325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6327 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6328 echo $ECHO_N "(cached) $ECHO_C" >&6
6330 if test -n "$PKG_CONFIG"; then
6331 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6337 test -z "$as_dir" && as_dir=.
6338 for ac_exec_ext in '' $ac_executable_extensions; do
6339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6340 ac_cv_prog_PKG_CONFIG="$ac_prog"
6341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6350 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6351 if test -n "$PKG_CONFIG"; then
6352 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6353 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6355 { echo "$as_me:$LINENO: result: no" >&5
6356 echo "${ECHO_T}no" >&6; }
6360 test -n "$PKG_CONFIG" && break
6362 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6366 # Extract the first word of "$ac_prog", so it can be a program name with args.
6367 set dummy $ac_prog; ac_word=$2
6368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6370 if test "${ac_cv_prog_RSVG+set}" = set; then
6371 echo $ECHO_N "(cached) $ECHO_C" >&6
6373 if test -n "$RSVG"; then
6374 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6380 test -z "$as_dir" && as_dir=.
6381 for ac_exec_ext in '' $ac_executable_extensions; do
6382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6383 ac_cv_prog_RSVG="$ac_prog"
6384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6393 RSVG=$ac_cv_prog_RSVG
6394 if test -n "$RSVG"; then
6395 { echo "$as_me:$LINENO: result: $RSVG" >&5
6396 echo "${ECHO_T}$RSVG" >&6; }
6398 { echo "$as_me:$LINENO: result: no" >&5
6399 echo "${ECHO_T}no" >&6; }
6403 test -n "$RSVG" && break
6405 test -n "$RSVG" || RSVG="false"
6407 for ac_prog in icotool
6409 # Extract the first word of "$ac_prog", so it can be a program name with args.
6410 set dummy $ac_prog; ac_word=$2
6411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6413 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6414 echo $ECHO_N "(cached) $ECHO_C" >&6
6416 if test -n "$ICOTOOL"; then
6417 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423 test -z "$as_dir" && as_dir=.
6424 for ac_exec_ext in '' $ac_executable_extensions; do
6425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6426 ac_cv_prog_ICOTOOL="$ac_prog"
6427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6436 ICOTOOL=$ac_cv_prog_ICOTOOL
6437 if test -n "$ICOTOOL"; then
6438 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6439 echo "${ECHO_T}$ICOTOOL" >&6; }
6441 { echo "$as_me:$LINENO: result: no" >&5
6442 echo "${ECHO_T}no" >&6; }
6446 test -n "$ICOTOOL" && break
6448 test -n "$ICOTOOL" || ICOTOOL="false"
6451 if test "${enable_maintainer_mode+set}" = set
6453 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6454 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6455 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6460 # Extract the first word of "prelink", so it can be a program name with args.
6461 set dummy prelink; ac_word=$2
6462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6464 if test "${ac_cv_path_PRELINK+set}" = set; then
6465 echo $ECHO_N "(cached) $ECHO_C" >&6
6469 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473 for as_dir in /sbin /usr/sbin $PATH
6476 test -z "$as_dir" && as_dir=.
6477 for ac_exec_ext in '' $ac_executable_extensions; do
6478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6479 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6487 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6491 PRELINK=$ac_cv_path_PRELINK
6492 if test -n "$PRELINK"; then
6493 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6494 echo "${ECHO_T}$PRELINK" >&6; }
6496 { echo "$as_me:$LINENO: result: no" >&5
6497 echo "${ECHO_T}no" >&6; }
6506 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6507 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6508 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6509 echo $ECHO_N "(cached) $ECHO_C" >&6
6511 ac_check_lib_save_LIBS=$LIBS
6513 cat >conftest.$ac_ext <<_ACEOF
6516 cat confdefs.h >>conftest.$ac_ext
6517 cat >>conftest.$ac_ext <<_ACEOF
6518 /* end confdefs.h. */
6520 /* Override any GCC internal prototype to avoid an error.
6521 Use char because int might match the return type of a GCC
6522 builtin and then its argument prototype would still apply. */
6526 char i386_set_ldt ();
6530 return i386_set_ldt ();
6535 rm -f conftest.$ac_objext conftest$ac_exeext
6536 if { (ac_try="$ac_link"
6538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6539 *) ac_try_echo=$ac_try;;
6541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6542 (eval "$ac_link") 2>conftest.er1
6544 grep -v '^ *+' conftest.er1 >conftest.err
6546 cat conftest.err >&5
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); } && {
6549 test -z "$ac_c_werror_flag" ||
6550 test ! -s conftest.err
6551 } && test -s conftest$ac_exeext &&
6552 $as_test_x conftest$ac_exeext; then
6553 ac_cv_lib_i386_i386_set_ldt=yes
6555 echo "$as_me: failed program was:" >&5
6556 sed 's/^/| /' conftest.$ac_ext >&5
6558 ac_cv_lib_i386_i386_set_ldt=no
6561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6562 conftest$ac_exeext conftest.$ac_ext
6563 LIBS=$ac_check_lib_save_LIBS
6565 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6566 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6567 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6568 cat >>confdefs.h <<_ACEOF
6569 #define HAVE_LIBI386 1
6577 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6578 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6579 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6580 echo $ECHO_N "(cached) $ECHO_C" >&6
6582 ac_check_lib_save_LIBS=$LIBS
6583 LIBS="-lossaudio $LIBS"
6584 cat >conftest.$ac_ext <<_ACEOF
6587 cat confdefs.h >>conftest.$ac_ext
6588 cat >>conftest.$ac_ext <<_ACEOF
6589 /* end confdefs.h. */
6591 /* Override any GCC internal prototype to avoid an error.
6592 Use char because int might match the return type of a GCC
6593 builtin and then its argument prototype would still apply. */
6601 return _oss_ioctl ();
6606 rm -f conftest.$ac_objext conftest$ac_exeext
6607 if { (ac_try="$ac_link"
6609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6610 *) ac_try_echo=$ac_try;;
6612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6613 (eval "$ac_link") 2>conftest.er1
6615 grep -v '^ *+' conftest.er1 >conftest.err
6617 cat conftest.err >&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); } && {
6620 test -z "$ac_c_werror_flag" ||
6621 test ! -s conftest.err
6622 } && test -s conftest$ac_exeext &&
6623 $as_test_x conftest$ac_exeext; then
6624 ac_cv_lib_ossaudio__oss_ioctl=yes
6626 echo "$as_me: failed program was:" >&5
6627 sed 's/^/| /' conftest.$ac_ext >&5
6629 ac_cv_lib_ossaudio__oss_ioctl=no
6632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6633 conftest$ac_exeext conftest.$ac_ext
6634 LIBS=$ac_check_lib_save_LIBS
6636 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6637 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6638 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6639 cat >>confdefs.h <<_ACEOF
6640 #define HAVE_LIBOSSAUDIO 1
6643 LIBS="-lossaudio $LIBS"
6647 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6648 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6649 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6650 echo $ECHO_N "(cached) $ECHO_C" >&6
6652 ac_check_lib_save_LIBS=$LIBS
6653 LIBS="-lpthread $LIBS"
6654 cat >conftest.$ac_ext <<_ACEOF
6657 cat confdefs.h >>conftest.$ac_ext
6658 cat >>conftest.$ac_ext <<_ACEOF
6659 /* end confdefs.h. */
6661 /* Override any GCC internal prototype to avoid an error.
6662 Use char because int might match the return type of a GCC
6663 builtin and then its argument prototype would still apply. */
6667 char pthread_create ();
6671 return pthread_create ();
6676 rm -f conftest.$ac_objext conftest$ac_exeext
6677 if { (ac_try="$ac_link"
6679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6680 *) ac_try_echo=$ac_try;;
6682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6683 (eval "$ac_link") 2>conftest.er1
6685 grep -v '^ *+' conftest.er1 >conftest.err
6687 cat conftest.err >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } && {
6690 test -z "$ac_c_werror_flag" ||
6691 test ! -s conftest.err
6692 } && test -s conftest$ac_exeext &&
6693 $as_test_x conftest$ac_exeext; then
6694 ac_cv_lib_pthread_pthread_create=yes
6696 echo "$as_me: failed program was:" >&5
6697 sed 's/^/| /' conftest.$ac_ext >&5
6699 ac_cv_lib_pthread_pthread_create=no
6702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6703 conftest$ac_exeext conftest.$ac_ext
6704 LIBS=$ac_check_lib_save_LIBS
6706 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6707 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6708 if test $ac_cv_lib_pthread_pthread_create = yes; then
6709 LIBPTHREAD="-lpthread"
6728 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6729 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6730 if test "${ac_cv_header_stdc+set}" = set; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6733 cat >conftest.$ac_ext <<_ACEOF
6736 cat confdefs.h >>conftest.$ac_ext
6737 cat >>conftest.$ac_ext <<_ACEOF
6738 /* end confdefs.h. */
6752 rm -f conftest.$ac_objext
6753 if { (ac_try="$ac_compile"
6755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6756 *) ac_try_echo=$ac_try;;
6758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6759 (eval "$ac_compile") 2>conftest.er1
6761 grep -v '^ *+' conftest.er1 >conftest.err
6763 cat conftest.err >&5
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); } && {
6766 test -z "$ac_c_werror_flag" ||
6767 test ! -s conftest.err
6768 } && test -s conftest.$ac_objext; then
6769 ac_cv_header_stdc=yes
6771 echo "$as_me: failed program was:" >&5
6772 sed 's/^/| /' conftest.$ac_ext >&5
6774 ac_cv_header_stdc=no
6777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6779 if test $ac_cv_header_stdc = yes; then
6780 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6781 cat >conftest.$ac_ext <<_ACEOF
6784 cat confdefs.h >>conftest.$ac_ext
6785 cat >>conftest.$ac_ext <<_ACEOF
6786 /* end confdefs.h. */
6790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6791 $EGREP "memchr" >/dev/null 2>&1; then
6794 ac_cv_header_stdc=no
6800 if test $ac_cv_header_stdc = yes; then
6801 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6802 cat >conftest.$ac_ext <<_ACEOF
6805 cat confdefs.h >>conftest.$ac_ext
6806 cat >>conftest.$ac_ext <<_ACEOF
6807 /* end confdefs.h. */
6811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6812 $EGREP "free" >/dev/null 2>&1; then
6815 ac_cv_header_stdc=no
6821 if test $ac_cv_header_stdc = yes; then
6822 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6823 if test "$cross_compiling" = yes; then
6826 cat >conftest.$ac_ext <<_ACEOF
6829 cat confdefs.h >>conftest.$ac_ext
6830 cat >>conftest.$ac_ext <<_ACEOF
6831 /* end confdefs.h. */
6834 #if ((' ' & 0x0FF) == 0x020)
6835 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6836 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6838 # define ISLOWER(c) \
6839 (('a' <= (c) && (c) <= 'i') \
6840 || ('j' <= (c) && (c) <= 'r') \
6841 || ('s' <= (c) && (c) <= 'z'))
6842 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6845 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6850 for (i = 0; i < 256; i++)
6851 if (XOR (islower (i), ISLOWER (i))
6852 || toupper (i) != TOUPPER (i))
6857 rm -f conftest$ac_exeext
6858 if { (ac_try="$ac_link"
6860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6861 *) ac_try_echo=$ac_try;;
6863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6864 (eval "$ac_link") 2>&5
6866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6868 { (case "(($ac_try" in
6869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6870 *) ac_try_echo=$ac_try;;
6872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6873 (eval "$ac_try") 2>&5
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); }; }; then
6879 echo "$as_me: program exited with status $ac_status" >&5
6880 echo "$as_me: failed program was:" >&5
6881 sed 's/^/| /' conftest.$ac_ext >&5
6884 ac_cv_header_stdc=no
6886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6892 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6893 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6894 if test $ac_cv_header_stdc = yes; then
6896 cat >>confdefs.h <<\_ACEOF
6897 #define STDC_HEADERS 1
6902 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6912 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6913 inttypes.h stdint.h unistd.h
6915 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6916 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6918 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6919 echo $ECHO_N "(cached) $ECHO_C" >&6
6921 cat >conftest.$ac_ext <<_ACEOF
6924 cat confdefs.h >>conftest.$ac_ext
6925 cat >>conftest.$ac_ext <<_ACEOF
6926 /* end confdefs.h. */
6927 $ac_includes_default
6929 #include <$ac_header>
6931 rm -f conftest.$ac_objext
6932 if { (ac_try="$ac_compile"
6934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6935 *) ac_try_echo=$ac_try;;
6937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6938 (eval "$ac_compile") 2>conftest.er1
6940 grep -v '^ *+' conftest.er1 >conftest.err
6942 cat conftest.err >&5
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); } && {
6945 test -z "$ac_c_werror_flag" ||
6946 test ! -s conftest.err
6947 } && test -s conftest.$ac_objext; then
6948 eval "$as_ac_Header=yes"
6950 echo "$as_me: failed program was:" >&5
6951 sed 's/^/| /' conftest.$ac_ext >&5
6953 eval "$as_ac_Header=no"
6956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6958 ac_res=`eval echo '${'$as_ac_Header'}'`
6959 { echo "$as_me:$LINENO: result: $ac_res" >&5
6960 echo "${ECHO_T}$ac_res" >&6; }
6961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6962 cat >>confdefs.h <<_ACEOF
6963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7082 AudioUnit/AudioUnit.h \
7084 CoreAudio/CoreAudio.h \
7085 DiskArbitration/DiskArbitration.h \
7098 fontconfig/fontconfig.h \
7124 machine/soundcard.h \
7129 netinet/in_systm.h \
7194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7195 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7196 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7198 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7199 echo $ECHO_N "(cached) $ECHO_C" >&6
7201 ac_res=`eval echo '${'$as_ac_Header'}'`
7202 { echo "$as_me:$LINENO: result: $ac_res" >&5
7203 echo "${ECHO_T}$ac_res" >&6; }
7205 # Is the header compilable?
7206 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7207 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7208 cat >conftest.$ac_ext <<_ACEOF
7211 cat confdefs.h >>conftest.$ac_ext
7212 cat >>conftest.$ac_ext <<_ACEOF
7213 /* end confdefs.h. */
7214 $ac_includes_default
7215 #include <$ac_header>
7217 rm -f conftest.$ac_objext
7218 if { (ac_try="$ac_compile"
7220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7221 *) ac_try_echo=$ac_try;;
7223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7224 (eval "$ac_compile") 2>conftest.er1
7226 grep -v '^ *+' conftest.er1 >conftest.err
7228 cat conftest.err >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); } && {
7231 test -z "$ac_c_werror_flag" ||
7232 test ! -s conftest.err
7233 } && test -s conftest.$ac_objext; then
7234 ac_header_compiler=yes
7236 echo "$as_me: failed program was:" >&5
7237 sed 's/^/| /' conftest.$ac_ext >&5
7239 ac_header_compiler=no
7242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7243 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7244 echo "${ECHO_T}$ac_header_compiler" >&6; }
7246 # Is the header present?
7247 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7248 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7249 cat >conftest.$ac_ext <<_ACEOF
7252 cat confdefs.h >>conftest.$ac_ext
7253 cat >>conftest.$ac_ext <<_ACEOF
7254 /* end confdefs.h. */
7255 #include <$ac_header>
7257 if { (ac_try="$ac_cpp conftest.$ac_ext"
7259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7260 *) ac_try_echo=$ac_try;;
7262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7263 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7265 grep -v '^ *+' conftest.er1 >conftest.err
7267 cat conftest.err >&5
7268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269 (exit $ac_status); } >/dev/null && {
7270 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7271 test ! -s conftest.err
7273 ac_header_preproc=yes
7275 echo "$as_me: failed program was:" >&5
7276 sed 's/^/| /' conftest.$ac_ext >&5
7278 ac_header_preproc=no
7281 rm -f conftest.err conftest.$ac_ext
7282 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7283 echo "${ECHO_T}$ac_header_preproc" >&6; }
7285 # So? What about this header?
7286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7291 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7292 ac_header_preproc=yes
7295 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7297 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7298 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7299 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7300 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7301 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7302 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7305 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7308 ## ------------------------------------ ##
7309 ## Report this to wine-devel@winehq.org ##
7310 ## ------------------------------------ ##
7312 ) | sed "s/^/$as_me: WARNING: /" >&2
7315 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7318 echo $ECHO_N "(cached) $ECHO_C" >&6
7320 eval "$as_ac_Header=\$ac_header_preproc"
7322 ac_res=`eval echo '${'$as_ac_Header'}'`
7323 { echo "$as_me:$LINENO: result: $ac_res" >&5
7324 echo "${ECHO_T}$ac_res" >&6; }
7327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7328 cat >>confdefs.h <<_ACEOF
7329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7336 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7337 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7338 if test "${ac_cv_header_stat_broken+set}" = set; then
7339 echo $ECHO_N "(cached) $ECHO_C" >&6
7341 cat >conftest.$ac_ext <<_ACEOF
7344 cat confdefs.h >>conftest.$ac_ext
7345 cat >>conftest.$ac_ext <<_ACEOF
7346 /* end confdefs.h. */
7347 #include <sys/types.h>
7348 #include <sys/stat.h>
7350 #if defined S_ISBLK && defined S_IFDIR
7351 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7354 #if defined S_ISBLK && defined S_IFCHR
7355 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7358 #if defined S_ISLNK && defined S_IFREG
7359 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7362 #if defined S_ISSOCK && defined S_IFREG
7363 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7367 rm -f conftest.$ac_objext
7368 if { (ac_try="$ac_compile"
7370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7371 *) ac_try_echo=$ac_try;;
7373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7374 (eval "$ac_compile") 2>conftest.er1
7376 grep -v '^ *+' conftest.er1 >conftest.err
7378 cat conftest.err >&5
7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380 (exit $ac_status); } && {
7381 test -z "$ac_c_werror_flag" ||
7382 test ! -s conftest.err
7383 } && test -s conftest.$ac_objext; then
7384 ac_cv_header_stat_broken=no
7386 echo "$as_me: failed program was:" >&5
7387 sed 's/^/| /' conftest.$ac_ext >&5
7389 ac_cv_header_stat_broken=yes
7392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7394 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7395 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7396 if test $ac_cv_header_stat_broken = yes; then
7398 cat >>confdefs.h <<\_ACEOF
7399 #define STAT_MACROS_BROKEN 1
7410 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7412 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7413 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7415 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7416 echo $ECHO_N "(cached) $ECHO_C" >&6
7418 cat >conftest.$ac_ext <<_ACEOF
7421 cat confdefs.h >>conftest.$ac_ext
7422 cat >>conftest.$ac_ext <<_ACEOF
7423 /* end confdefs.h. */
7424 #include <sys/types.h>
7425 #ifdef HAVE_SYS_PARAM_H
7426 # include <sys/param.h>
7429 #include <$ac_header>
7431 rm -f conftest.$ac_objext
7432 if { (ac_try="$ac_compile"
7434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7435 *) ac_try_echo=$ac_try;;
7437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7438 (eval "$ac_compile") 2>conftest.er1
7440 grep -v '^ *+' conftest.er1 >conftest.err
7442 cat conftest.err >&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); } && {
7445 test -z "$ac_c_werror_flag" ||
7446 test ! -s conftest.err
7447 } && test -s conftest.$ac_objext; then
7448 eval "$as_ac_Header=yes"
7450 echo "$as_me: failed program was:" >&5
7451 sed 's/^/| /' conftest.$ac_ext >&5
7453 eval "$as_ac_Header=no"
7456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7458 ac_res=`eval echo '${'$as_ac_Header'}'`
7459 { echo "$as_me:$LINENO: result: $ac_res" >&5
7460 echo "${ECHO_T}$ac_res" >&6; }
7461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7462 cat >>confdefs.h <<_ACEOF
7463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7479 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
7481 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7482 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7484 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7485 echo $ECHO_N "(cached) $ECHO_C" >&6
7487 cat >conftest.$ac_ext <<_ACEOF
7490 cat confdefs.h >>conftest.$ac_ext
7491 cat >>conftest.$ac_ext <<_ACEOF
7492 /* end confdefs.h. */
7493 #include <sys/types.h>
7494 #ifdef HAVE_SYS_SOCKET_H
7495 # include <sys/socket.h>
7497 #ifdef HAVE_SYS_SOCKETVAR_H
7498 # include <sys/socketvar.h>
7500 #ifdef HAVE_NETINET_IN_H
7501 # include <netinet/in.h>
7504 #include <$ac_header>
7506 rm -f conftest.$ac_objext
7507 if { (ac_try="$ac_compile"
7509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7510 *) ac_try_echo=$ac_try;;
7512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7513 (eval "$ac_compile") 2>conftest.er1
7515 grep -v '^ *+' conftest.er1 >conftest.err
7517 cat conftest.err >&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); } && {
7520 test -z "$ac_c_werror_flag" ||
7521 test ! -s conftest.err
7522 } && test -s conftest.$ac_objext; then
7523 eval "$as_ac_Header=yes"
7525 echo "$as_me: failed program was:" >&5
7526 sed 's/^/| /' conftest.$ac_ext >&5
7528 eval "$as_ac_Header=no"
7531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7533 ac_res=`eval echo '${'$as_ac_Header'}'`
7534 { echo "$as_me:$LINENO: result: $ac_res" >&5
7535 echo "${ECHO_T}$ac_res" >&6; }
7536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7537 cat >>confdefs.h <<_ACEOF
7538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7547 for ac_header in netinet/tcp_var.h
7549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7550 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7555 cat >conftest.$ac_ext <<_ACEOF
7558 cat confdefs.h >>conftest.$ac_ext
7559 cat >>conftest.$ac_ext <<_ACEOF
7560 /* end confdefs.h. */
7561 #include <sys/types.h>
7562 #ifdef HAVE_SYS_SOCKET_H
7563 # include <sys/socket.h>
7565 #ifdef HAVE_SYS_SOCKETVAR_H
7566 # include <sys/socketvar.h>
7568 #ifdef HAVE_NETINET_IN_H
7569 # include <netinet/in.h>
7571 #ifdef HAVE_NETINET_TCP_H
7572 # include <netinet/tcp.h>
7575 #include <$ac_header>
7577 rm -f conftest.$ac_objext
7578 if { (ac_try="$ac_compile"
7580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7581 *) ac_try_echo=$ac_try;;
7583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7584 (eval "$ac_compile") 2>conftest.er1
7586 grep -v '^ *+' conftest.er1 >conftest.err
7588 cat conftest.err >&5
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); } && {
7591 test -z "$ac_c_werror_flag" ||
7592 test ! -s conftest.err
7593 } && test -s conftest.$ac_objext; then
7594 eval "$as_ac_Header=yes"
7596 echo "$as_me: failed program was:" >&5
7597 sed 's/^/| /' conftest.$ac_ext >&5
7599 eval "$as_ac_Header=no"
7602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7604 ac_res=`eval echo '${'$as_ac_Header'}'`
7605 { echo "$as_me:$LINENO: result: $ac_res" >&5
7606 echo "${ECHO_T}$ac_res" >&6; }
7607 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7608 cat >>confdefs.h <<_ACEOF
7609 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7618 for ac_header in linux/ipx.h
7620 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7624 echo $ECHO_N "(cached) $ECHO_C" >&6
7626 cat >conftest.$ac_ext <<_ACEOF
7629 cat confdefs.h >>conftest.$ac_ext
7630 cat >>conftest.$ac_ext <<_ACEOF
7631 /* end confdefs.h. */
7632 #include <sys/types.h>
7633 #ifdef HAVE_ASM_TYPES_H
7634 # include <asm/types.h>
7636 #ifdef HAVE_SYS_SOCKET_H
7637 # include <sys/socket.h>
7640 #include <$ac_header>
7642 rm -f conftest.$ac_objext
7643 if { (ac_try="$ac_compile"
7645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7646 *) ac_try_echo=$ac_try;;
7648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7649 (eval "$ac_compile") 2>conftest.er1
7651 grep -v '^ *+' conftest.er1 >conftest.err
7653 cat conftest.err >&5
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); } && {
7656 test -z "$ac_c_werror_flag" ||
7657 test ! -s conftest.err
7658 } && test -s conftest.$ac_objext; then
7659 eval "$as_ac_Header=yes"
7661 echo "$as_me: failed program was:" >&5
7662 sed 's/^/| /' conftest.$ac_ext >&5
7664 eval "$as_ac_Header=no"
7667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7669 ac_res=`eval echo '${'$as_ac_Header'}'`
7670 { echo "$as_me:$LINENO: result: $ac_res" >&5
7671 echo "${ECHO_T}$ac_res" >&6; }
7672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7673 cat >>confdefs.h <<_ACEOF
7674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7683 for ac_header in resolv.h
7685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7686 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7689 echo $ECHO_N "(cached) $ECHO_C" >&6
7691 cat >conftest.$ac_ext <<_ACEOF
7694 cat confdefs.h >>conftest.$ac_ext
7695 cat >>conftest.$ac_ext <<_ACEOF
7696 /* end confdefs.h. */
7697 #include <sys/types.h>
7698 #ifdef HAVE_SYS_SOCKET_H
7699 # include <sys/socket.h>
7701 #ifdef HAVE_NETINET_IN_H
7702 # include <netinet/in.h>
7704 #ifdef HAVE_ARPA_NAMESER_H
7705 # include <arpa/nameser.h>
7708 #include <$ac_header>
7710 rm -f conftest.$ac_objext
7711 if { (ac_try="$ac_compile"
7713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7714 *) ac_try_echo=$ac_try;;
7716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7717 (eval "$ac_compile") 2>conftest.er1
7719 grep -v '^ *+' conftest.er1 >conftest.err
7721 cat conftest.err >&5
7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); } && {
7724 test -z "$ac_c_werror_flag" ||
7725 test ! -s conftest.err
7726 } && test -s conftest.$ac_objext; then
7727 eval "$as_ac_Header=yes"
7729 echo "$as_me: failed program was:" >&5
7730 sed 's/^/| /' conftest.$ac_ext >&5
7732 eval "$as_ac_Header=no"
7735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7737 ac_res=`eval echo '${'$as_ac_Header'}'`
7738 { echo "$as_me:$LINENO: result: $ac_res" >&5
7739 echo "${ECHO_T}$ac_res" >&6; }
7740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7741 cat >>confdefs.h <<_ACEOF
7742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7751 for ac_header in ucontext.h
7753 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7754 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7756 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7757 echo $ECHO_N "(cached) $ECHO_C" >&6
7759 cat >conftest.$ac_ext <<_ACEOF
7762 cat confdefs.h >>conftest.$ac_ext
7763 cat >>conftest.$ac_ext <<_ACEOF
7764 /* end confdefs.h. */
7767 #include <$ac_header>
7769 rm -f conftest.$ac_objext
7770 if { (ac_try="$ac_compile"
7772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7773 *) ac_try_echo=$ac_try;;
7775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7776 (eval "$ac_compile") 2>conftest.er1
7778 grep -v '^ *+' conftest.er1 >conftest.err
7780 cat conftest.err >&5
7781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782 (exit $ac_status); } && {
7783 test -z "$ac_c_werror_flag" ||
7784 test ! -s conftest.err
7785 } && test -s conftest.$ac_objext; then
7786 eval "$as_ac_Header=yes"
7788 echo "$as_me: failed program was:" >&5
7789 sed 's/^/| /' conftest.$ac_ext >&5
7791 eval "$as_ac_Header=no"
7794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7796 ac_res=`eval echo '${'$as_ac_Header'}'`
7797 { echo "$as_me:$LINENO: result: $ac_res" >&5
7798 echo "${ECHO_T}$ac_res" >&6; }
7799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7800 cat >>confdefs.h <<_ACEOF
7801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7810 for ac_header in sys/thr.h
7812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7813 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7815 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7816 echo $ECHO_N "(cached) $ECHO_C" >&6
7818 cat >conftest.$ac_ext <<_ACEOF
7821 cat confdefs.h >>conftest.$ac_ext
7822 cat >>conftest.$ac_ext <<_ACEOF
7823 /* end confdefs.h. */
7824 #include <sys/types.h>
7825 #ifdef HAVE_UCONTEXT_H
7826 #include <ucontext.h>
7829 #include <$ac_header>
7831 rm -f conftest.$ac_objext
7832 if { (ac_try="$ac_compile"
7834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7835 *) ac_try_echo=$ac_try;;
7837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7838 (eval "$ac_compile") 2>conftest.er1
7840 grep -v '^ *+' conftest.er1 >conftest.err
7842 cat conftest.err >&5
7843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7844 (exit $ac_status); } && {
7845 test -z "$ac_c_werror_flag" ||
7846 test ! -s conftest.err
7847 } && test -s conftest.$ac_objext; then
7848 eval "$as_ac_Header=yes"
7850 echo "$as_me: failed program was:" >&5
7851 sed 's/^/| /' conftest.$ac_ext >&5
7853 eval "$as_ac_Header=no"
7856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7858 ac_res=`eval echo '${'$as_ac_Header'}'`
7859 { echo "$as_me:$LINENO: result: $ac_res" >&5
7860 echo "${ECHO_T}$ac_res" >&6; }
7861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7862 cat >>confdefs.h <<_ACEOF
7863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7872 for ac_header in pthread_np.h
7874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7875 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7878 echo $ECHO_N "(cached) $ECHO_C" >&6
7880 cat >conftest.$ac_ext <<_ACEOF
7883 cat confdefs.h >>conftest.$ac_ext
7884 cat >>conftest.$ac_ext <<_ACEOF
7885 /* end confdefs.h. */
7886 #ifdef HAVE_PTHREAD_H
7887 #include <pthread.h>
7890 #include <$ac_header>
7892 rm -f conftest.$ac_objext
7893 if { (ac_try="$ac_compile"
7895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7896 *) ac_try_echo=$ac_try;;
7898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7899 (eval "$ac_compile") 2>conftest.er1
7901 grep -v '^ *+' conftest.er1 >conftest.err
7903 cat conftest.err >&5
7904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7905 (exit $ac_status); } && {
7906 test -z "$ac_c_werror_flag" ||
7907 test ! -s conftest.err
7908 } && test -s conftest.$ac_objext; then
7909 eval "$as_ac_Header=yes"
7911 echo "$as_me: failed program was:" >&5
7912 sed 's/^/| /' conftest.$ac_ext >&5
7914 eval "$as_ac_Header=no"
7917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7919 ac_res=`eval echo '${'$as_ac_Header'}'`
7920 { echo "$as_me:$LINENO: result: $ac_res" >&5
7921 echo "${ECHO_T}$ac_res" >&6; }
7922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7923 cat >>confdefs.h <<_ACEOF
7924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7933 for ac_header in linux/videodev.h
7935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7936 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7939 echo $ECHO_N "(cached) $ECHO_C" >&6
7941 cat >conftest.$ac_ext <<_ACEOF
7944 cat confdefs.h >>conftest.$ac_ext
7945 cat >>conftest.$ac_ext <<_ACEOF
7946 /* end confdefs.h. */
7947 #ifdef HAVE_SYS_TIME_H
7948 #include <sys/time.h>
7950 #include <sys/types.h>
7951 #ifdef HAVE_ASM_TYPES_H
7952 #include <asm/types.h>
7955 #include <$ac_header>
7957 rm -f conftest.$ac_objext
7958 if { (ac_try="$ac_compile"
7960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7961 *) ac_try_echo=$ac_try;;
7963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7964 (eval "$ac_compile") 2>conftest.er1
7966 grep -v '^ *+' conftest.er1 >conftest.err
7968 cat conftest.err >&5
7969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970 (exit $ac_status); } && {
7971 test -z "$ac_c_werror_flag" ||
7972 test ! -s conftest.err
7973 } && test -s conftest.$ac_objext; then
7974 eval "$as_ac_Header=yes"
7976 echo "$as_me: failed program was:" >&5
7977 sed 's/^/| /' conftest.$ac_ext >&5
7979 eval "$as_ac_Header=no"
7982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7984 ac_res=`eval echo '${'$as_ac_Header'}'`
7985 { echo "$as_me:$LINENO: result: $ac_res" >&5
7986 echo "${ECHO_T}$ac_res" >&6; }
7987 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7988 cat >>confdefs.h <<_ACEOF
7989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7998 for ac_header in linux/capi.h
8000 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8001 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8003 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8004 echo $ECHO_N "(cached) $ECHO_C" >&6
8006 cat >conftest.$ac_ext <<_ACEOF
8009 cat confdefs.h >>conftest.$ac_ext
8010 cat >>conftest.$ac_ext <<_ACEOF
8011 /* end confdefs.h. */
8014 #include <$ac_header>
8016 rm -f conftest.$ac_objext
8017 if { (ac_try="$ac_compile"
8019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8020 *) ac_try_echo=$ac_try;;
8022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8023 (eval "$ac_compile") 2>conftest.er1
8025 grep -v '^ *+' conftest.er1 >conftest.err
8027 cat conftest.err >&5
8028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8029 (exit $ac_status); } && {
8030 test -z "$ac_c_werror_flag" ||
8031 test ! -s conftest.err
8032 } && test -s conftest.$ac_objext; then
8033 eval "$as_ac_Header=yes"
8035 echo "$as_me: failed program was:" >&5
8036 sed 's/^/| /' conftest.$ac_ext >&5
8038 eval "$as_ac_Header=no"
8041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8043 ac_res=`eval echo '${'$as_ac_Header'}'`
8044 { echo "$as_me:$LINENO: result: $ac_res" >&5
8045 echo "${ECHO_T}$ac_res" >&6; }
8046 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8047 cat >>confdefs.h <<_ACEOF
8048 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8059 DLLFLAGS="-D_REENTRANT"
8073 # Extract the first word of "ldd", so it can be a program name with args.
8074 set dummy ldd; ac_word=$2
8075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8077 if test "${ac_cv_path_LDD+set}" = set; then
8078 echo $ECHO_N "(cached) $ECHO_C" >&6
8082 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8086 as_dummy="/sbin:/usr/sbin:$PATH"
8087 for as_dir in $as_dummy
8090 test -z "$as_dir" && as_dir=.
8091 for ac_exec_ext in '' $ac_executable_extensions; do
8092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8093 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8101 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8106 if test -n "$LDD"; then
8107 { echo "$as_me:$LINENO: result: $LDD" >&5
8108 echo "${ECHO_T}$LDD" >&6; }
8110 { echo "$as_me:$LINENO: result: no" >&5
8111 echo "${ECHO_T}no" >&6; }
8118 if test -n "$ac_tool_prefix"; then
8119 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8120 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8123 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8124 echo $ECHO_N "(cached) $ECHO_C" >&6
8126 if test -n "$DLLTOOL"; then
8127 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8133 test -z "$as_dir" && as_dir=.
8134 for ac_exec_ext in '' $ac_executable_extensions; do
8135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8136 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8146 DLLTOOL=$ac_cv_prog_DLLTOOL
8147 if test -n "$DLLTOOL"; then
8148 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8149 echo "${ECHO_T}$DLLTOOL" >&6; }
8151 { echo "$as_me:$LINENO: result: no" >&5
8152 echo "${ECHO_T}no" >&6; }
8157 if test -z "$ac_cv_prog_DLLTOOL"; then
8158 ac_ct_DLLTOOL=$DLLTOOL
8159 # Extract the first word of "dlltool", so it can be a program name with args.
8160 set dummy dlltool; ac_word=$2
8161 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8163 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8164 echo $ECHO_N "(cached) $ECHO_C" >&6
8166 if test -n "$ac_ct_DLLTOOL"; then
8167 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8173 test -z "$as_dir" && as_dir=.
8174 for ac_exec_ext in '' $ac_executable_extensions; do
8175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8176 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8186 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8187 if test -n "$ac_ct_DLLTOOL"; then
8188 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8189 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8191 { echo "$as_me:$LINENO: result: no" >&5
8192 echo "${ECHO_T}no" >&6; }
8195 if test "x$ac_ct_DLLTOOL" = x; then
8198 case $cross_compiling:$ac_tool_warned in
8200 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8201 whose name does not start with the host triplet. If you think this
8202 configuration is useful to you, please write to autoconf@gnu.org." >&5
8203 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8204 whose name does not start with the host triplet. If you think this
8205 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8206 ac_tool_warned=yes ;;
8208 DLLTOOL=$ac_ct_DLLTOOL
8211 DLLTOOL="$ac_cv_prog_DLLTOOL"
8214 if test -n "$ac_tool_prefix"; then
8215 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8216 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8219 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8220 echo $ECHO_N "(cached) $ECHO_C" >&6
8222 if test -n "$DLLWRAP"; then
8223 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8229 test -z "$as_dir" && as_dir=.
8230 for ac_exec_ext in '' $ac_executable_extensions; do
8231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8232 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8242 DLLWRAP=$ac_cv_prog_DLLWRAP
8243 if test -n "$DLLWRAP"; then
8244 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8245 echo "${ECHO_T}$DLLWRAP" >&6; }
8247 { echo "$as_me:$LINENO: result: no" >&5
8248 echo "${ECHO_T}no" >&6; }
8253 if test -z "$ac_cv_prog_DLLWRAP"; then
8254 ac_ct_DLLWRAP=$DLLWRAP
8255 # Extract the first word of "dllwrap", so it can be a program name with args.
8256 set dummy dllwrap; ac_word=$2
8257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8259 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8260 echo $ECHO_N "(cached) $ECHO_C" >&6
8262 if test -n "$ac_ct_DLLWRAP"; then
8263 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8269 test -z "$as_dir" && as_dir=.
8270 for ac_exec_ext in '' $ac_executable_extensions; do
8271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8272 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8282 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8283 if test -n "$ac_ct_DLLWRAP"; then
8284 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8285 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8287 { echo "$as_me:$LINENO: result: no" >&5
8288 echo "${ECHO_T}no" >&6; }
8291 if test "x$ac_ct_DLLWRAP" = x; then
8294 case $cross_compiling:$ac_tool_warned in
8296 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8297 whose name does not start with the host triplet. If you think this
8298 configuration is useful to you, please write to autoconf@gnu.org." >&5
8299 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8300 whose name does not start with the host triplet. If you think this
8301 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8302 ac_tool_warned=yes ;;
8304 DLLWRAP=$ac_ct_DLLWRAP
8307 DLLWRAP="$ac_cv_prog_DLLWRAP"
8310 if test -n "$ac_tool_prefix"; then
8311 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8312 set dummy ${ac_tool_prefix}ar; ac_word=$2
8313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8315 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8316 echo $ECHO_N "(cached) $ECHO_C" >&6
8318 if test -n "$MINGWAR"; then
8319 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8325 test -z "$as_dir" && as_dir=.
8326 for ac_exec_ext in '' $ac_executable_extensions; do
8327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8328 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8338 MINGWAR=$ac_cv_prog_MINGWAR
8339 if test -n "$MINGWAR"; then
8340 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8341 echo "${ECHO_T}$MINGWAR" >&6; }
8343 { echo "$as_me:$LINENO: result: no" >&5
8344 echo "${ECHO_T}no" >&6; }
8349 if test -z "$ac_cv_prog_MINGWAR"; then
8350 ac_ct_MINGWAR=$MINGWAR
8351 # Extract the first word of "ar", so it can be a program name with args.
8352 set dummy ar; ac_word=$2
8353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8355 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8356 echo $ECHO_N "(cached) $ECHO_C" >&6
8358 if test -n "$ac_ct_MINGWAR"; then
8359 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8365 test -z "$as_dir" && as_dir=.
8366 for ac_exec_ext in '' $ac_executable_extensions; do
8367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8368 ac_cv_prog_ac_ct_MINGWAR="ar"
8369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8378 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8379 if test -n "$ac_ct_MINGWAR"; then
8380 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8381 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8383 { echo "$as_me:$LINENO: result: no" >&5
8384 echo "${ECHO_T}no" >&6; }
8387 if test "x$ac_ct_MINGWAR" = x; then
8390 case $cross_compiling:$ac_tool_warned in
8392 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8393 whose name does not start with the host triplet. If you think this
8394 configuration is useful to you, please write to autoconf@gnu.org." >&5
8395 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8396 whose name does not start with the host triplet. If you think this
8397 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8398 ac_tool_warned=yes ;;
8400 MINGWAR=$ac_ct_MINGWAR
8403 MINGWAR="$ac_cv_prog_MINGWAR"
8406 if test "$DLLWRAP" = "false"; then
8418 DLLFLAGS="$DLLFLAGS -fPIC"
8419 LDDLLFLAGS="-bundle -multiply_defined suppress"
8420 LIBWINE_LDFLAGS="-multiply_defined suppress"
8421 LDSHARED="\$(CC) -dynamiclib"
8423 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8424 SECURITYLIB="-framework Security -framework CoreFoundation"
8426 COREFOUNDATIONLIB="-framework CoreFoundation"
8428 IOKITLIB="-framework IOKit -framework CoreFoundation"
8430 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8432 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8434 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8437 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8439 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8444 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8446 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8448 CARBONLIB="-framework Carbon"
8450 QUARTZFILES='$(QUARTZFILES)'
8454 DLLFLAGS="$DLLFLAGS -fPIC"
8456 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8457 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8458 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8459 echo $ECHO_N "(cached) $ECHO_C" >&6
8461 ac_wine_try_cflags_saved=$CFLAGS
8462 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8463 cat >conftest.$ac_ext <<_ACEOF
8466 rm -f conftest.$ac_objext conftest$ac_exeext
8467 if { (ac_try="$ac_link"
8469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8470 *) ac_try_echo=$ac_try;;
8472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8473 (eval "$ac_link") 2>conftest.er1
8475 grep -v '^ *+' conftest.er1 >conftest.err
8477 cat conftest.err >&5
8478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8479 (exit $ac_status); } && {
8480 test -z "$ac_c_werror_flag" ||
8481 test ! -s conftest.err
8482 } && test -s conftest$ac_exeext &&
8483 $as_test_x conftest$ac_exeext; then
8484 ac_cv_c_dll_gnuelf="yes"
8486 echo "$as_me: failed program was:" >&5
8487 sed 's/^/| /' conftest.$ac_ext >&5
8489 ac_cv_c_dll_gnuelf="no"
8492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8493 conftest$ac_exeext conftest.$ac_ext
8494 CFLAGS=$ac_wine_try_cflags_saved
8496 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8497 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8498 if test "$ac_cv_c_dll_gnuelf" = "yes"
8500 LDSHARED="\$(CC) -shared"
8501 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8502 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8503 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8504 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8505 echo $ECHO_N "(cached) $ECHO_C" >&6
8507 ac_wine_try_cflags_saved=$CFLAGS
8508 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8509 cat >conftest.$ac_ext <<_ACEOF
8512 cat confdefs.h >>conftest.$ac_ext
8513 cat >>conftest.$ac_ext <<_ACEOF
8514 /* end confdefs.h. */
8524 rm -f conftest.$ac_objext conftest$ac_exeext
8525 if { (ac_try="$ac_link"
8527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8528 *) ac_try_echo=$ac_try;;
8530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8531 (eval "$ac_link") 2>conftest.er1
8533 grep -v '^ *+' conftest.er1 >conftest.err
8535 cat conftest.err >&5
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); } && {
8538 test -z "$ac_c_werror_flag" ||
8539 test ! -s conftest.err
8540 } && test -s conftest$ac_exeext &&
8541 $as_test_x conftest$ac_exeext; then
8542 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8544 echo "$as_me: failed program was:" >&5
8545 sed 's/^/| /' conftest.$ac_ext >&5
8547 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8551 conftest$ac_exeext conftest.$ac_ext
8552 CFLAGS=$ac_wine_try_cflags_saved
8554 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8555 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8556 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8557 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8559 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8560 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8561 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8562 echo $ECHO_N "(cached) $ECHO_C" >&6
8564 ac_wine_try_cflags_saved=$CFLAGS
8565 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8566 cat >conftest.$ac_ext <<_ACEOF
8569 cat confdefs.h >>conftest.$ac_ext
8570 cat >>conftest.$ac_ext <<_ACEOF
8571 /* end confdefs.h. */
8581 rm -f conftest.$ac_objext conftest$ac_exeext
8582 if { (ac_try="$ac_link"
8584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8585 *) ac_try_echo=$ac_try;;
8587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8588 (eval "$ac_link") 2>conftest.er1
8590 grep -v '^ *+' conftest.er1 >conftest.err
8592 cat conftest.err >&5
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); } && {
8595 test -z "$ac_c_werror_flag" ||
8596 test ! -s conftest.err
8597 } && test -s conftest$ac_exeext &&
8598 $as_test_x conftest$ac_exeext; then
8599 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8601 echo "$as_me: failed program was:" >&5
8602 sed 's/^/| /' conftest.$ac_ext >&5
8604 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8608 conftest$ac_exeext conftest.$ac_ext
8609 CFLAGS=$ac_wine_try_cflags_saved
8611 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8612 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8613 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8614 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8620 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8621 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8622 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8623 echo $ECHO_N "(cached) $ECHO_C" >&6
8625 ac_wine_try_cflags_saved=$CFLAGS
8626 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8627 cat >conftest.$ac_ext <<_ACEOF
8630 cat confdefs.h >>conftest.$ac_ext
8631 cat >>conftest.$ac_ext <<_ACEOF
8632 /* end confdefs.h. */
8642 rm -f conftest.$ac_objext conftest$ac_exeext
8643 if { (ac_try="$ac_link"
8645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8646 *) ac_try_echo=$ac_try;;
8648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8649 (eval "$ac_link") 2>conftest.er1
8651 grep -v '^ *+' conftest.er1 >conftest.err
8653 cat conftest.err >&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); } && {
8656 test -z "$ac_c_werror_flag" ||
8657 test ! -s conftest.err
8658 } && test -s conftest$ac_exeext &&
8659 $as_test_x conftest$ac_exeext; then
8660 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8662 echo "$as_me: failed program was:" >&5
8663 sed 's/^/| /' conftest.$ac_ext >&5
8665 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8669 conftest$ac_exeext conftest.$ac_ext
8670 CFLAGS=$ac_wine_try_cflags_saved
8672 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8673 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8674 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8675 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8679 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8680 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8681 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8682 echo $ECHO_N "(cached) $ECHO_C" >&6
8684 ac_wine_try_cflags_saved=$CFLAGS
8685 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8686 cat >conftest.$ac_ext <<_ACEOF
8689 cat confdefs.h >>conftest.$ac_ext
8690 cat >>conftest.$ac_ext <<_ACEOF
8691 /* end confdefs.h. */
8701 rm -f conftest.$ac_objext conftest$ac_exeext
8702 if { (ac_try="$ac_link"
8704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8705 *) ac_try_echo=$ac_try;;
8707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8708 (eval "$ac_link") 2>conftest.er1
8710 grep -v '^ *+' conftest.er1 >conftest.err
8712 cat conftest.err >&5
8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8714 (exit $ac_status); } && {
8715 test -z "$ac_c_werror_flag" ||
8716 test ! -s conftest.err
8717 } && test -s conftest$ac_exeext &&
8718 $as_test_x conftest$ac_exeext; then
8719 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8721 echo "$as_me: failed program was:" >&5
8722 sed 's/^/| /' conftest.$ac_ext >&5
8724 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8728 conftest$ac_exeext conftest.$ac_ext
8729 CFLAGS=$ac_wine_try_cflags_saved
8731 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8732 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8733 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8734 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8738 echo '{ global: *; };' >conftest.map
8739 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8740 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8741 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8742 echo $ECHO_N "(cached) $ECHO_C" >&6
8744 ac_wine_try_cflags_saved=$CFLAGS
8745 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8746 cat >conftest.$ac_ext <<_ACEOF
8749 cat confdefs.h >>conftest.$ac_ext
8750 cat >>conftest.$ac_ext <<_ACEOF
8751 /* end confdefs.h. */
8761 rm -f conftest.$ac_objext conftest$ac_exeext
8762 if { (ac_try="$ac_link"
8764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8765 *) ac_try_echo=$ac_try;;
8767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8768 (eval "$ac_link") 2>conftest.er1
8770 grep -v '^ *+' conftest.er1 >conftest.err
8772 cat conftest.err >&5
8773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774 (exit $ac_status); } && {
8775 test -z "$ac_c_werror_flag" ||
8776 test ! -s conftest.err
8777 } && test -s conftest$ac_exeext &&
8778 $as_test_x conftest$ac_exeext; then
8779 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8781 echo "$as_me: failed program was:" >&5
8782 sed 's/^/| /' conftest.$ac_ext >&5
8784 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8788 conftest$ac_exeext conftest.$ac_ext
8789 CFLAGS=$ac_wine_try_cflags_saved
8791 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8792 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8793 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8794 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8799 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8800 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8801 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8802 echo $ECHO_N "(cached) $ECHO_C" >&6
8804 ac_wine_try_cflags_saved=$CFLAGS
8805 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8806 cat >conftest.$ac_ext <<_ACEOF
8809 cat confdefs.h >>conftest.$ac_ext
8810 cat >>conftest.$ac_ext <<_ACEOF
8811 /* end confdefs.h. */
8821 rm -f conftest.$ac_objext conftest$ac_exeext
8822 if { (ac_try="$ac_link"
8824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8825 *) ac_try_echo=$ac_try;;
8827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8828 (eval "$ac_link") 2>conftest.er1
8830 grep -v '^ *+' conftest.er1 >conftest.err
8832 cat conftest.err >&5
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); } && {
8835 test -z "$ac_c_werror_flag" ||
8836 test ! -s conftest.err
8837 } && test -s conftest$ac_exeext &&
8838 $as_test_x conftest$ac_exeext; then
8839 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8841 echo "$as_me: failed program was:" >&5
8842 sed 's/^/| /' conftest.$ac_ext >&5
8844 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8848 conftest$ac_exeext conftest.$ac_ext
8849 CFLAGS=$ac_wine_try_cflags_saved
8851 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8852 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8853 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8854 LDEXECFLAGS="-Wl,--export-dynamic"
8859 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8860 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8861 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8862 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8863 echo $ECHO_N "(cached) $ECHO_C" >&6
8865 ac_wine_try_cflags_saved=$CFLAGS
8866 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8867 cat >conftest.$ac_ext <<_ACEOF
8870 cat confdefs.h >>conftest.$ac_ext
8871 cat >>conftest.$ac_ext <<_ACEOF
8872 /* end confdefs.h. */
8882 rm -f conftest.$ac_objext conftest$ac_exeext
8883 if { (ac_try="$ac_link"
8885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8886 *) ac_try_echo=$ac_try;;
8888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8889 (eval "$ac_link") 2>conftest.er1
8891 grep -v '^ *+' conftest.er1 >conftest.err
8893 cat conftest.err >&5
8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895 (exit $ac_status); } && {
8896 test -z "$ac_c_werror_flag" ||
8897 test ! -s conftest.err
8898 } && test -s conftest$ac_exeext &&
8899 $as_test_x conftest$ac_exeext; then
8900 eval "$as_ac_var=yes"
8902 echo "$as_me: failed program was:" >&5
8903 sed 's/^/| /' conftest.$ac_ext >&5
8905 eval "$as_ac_var=no"
8908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8909 conftest$ac_exeext conftest.$ac_ext
8910 CFLAGS=$ac_wine_try_cflags_saved
8912 ac_res=`eval echo '${'$as_ac_var'}'`
8913 { echo "$as_me:$LINENO: result: $ac_res" >&5
8914 echo "${ECHO_T}$ac_res" >&6; }
8915 if test `eval echo '${'$as_ac_var'}'` = yes; then
8916 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8917 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8919 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8920 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8921 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8922 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8923 echo $ECHO_N "(cached) $ECHO_C" >&6
8925 ac_wine_try_cflags_saved=$CFLAGS
8926 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8927 cat >conftest.$ac_ext <<_ACEOF
8930 cat confdefs.h >>conftest.$ac_ext
8931 cat >>conftest.$ac_ext <<_ACEOF
8932 /* end confdefs.h. */
8942 rm -f conftest.$ac_objext conftest$ac_exeext
8943 if { (ac_try="$ac_link"
8945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8946 *) ac_try_echo=$ac_try;;
8948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8949 (eval "$ac_link") 2>conftest.er1
8951 grep -v '^ *+' conftest.er1 >conftest.err
8953 cat conftest.err >&5
8954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955 (exit $ac_status); } && {
8956 test -z "$ac_c_werror_flag" ||
8957 test ! -s conftest.err
8958 } && test -s conftest$ac_exeext &&
8959 $as_test_x conftest$ac_exeext; then
8960 eval "$as_ac_var=yes"
8962 echo "$as_me: failed program was:" >&5
8963 sed 's/^/| /' conftest.$ac_ext >&5
8965 eval "$as_ac_var=no"
8968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8969 conftest$ac_exeext conftest.$ac_ext
8970 CFLAGS=$ac_wine_try_cflags_saved
8972 ac_res=`eval echo '${'$as_ac_var'}'`
8973 { echo "$as_me:$LINENO: result: $ac_res" >&5
8974 echo "${ECHO_T}$ac_res" >&6; }
8975 if test `eval echo '${'$as_ac_var'}'` = yes; then
8976 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8977 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8983 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8984 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8985 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8986 echo $ECHO_N "(cached) $ECHO_C" >&6
8988 ac_wine_try_cflags_saved=$CFLAGS
8989 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8990 cat >conftest.$ac_ext <<_ACEOF
8993 cat confdefs.h >>conftest.$ac_ext
8994 cat >>conftest.$ac_ext <<_ACEOF
8995 /* end confdefs.h. */
9005 rm -f conftest.$ac_objext conftest$ac_exeext
9006 if { (ac_try="$ac_link"
9008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9009 *) ac_try_echo=$ac_try;;
9011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9012 (eval "$ac_link") 2>conftest.er1
9014 grep -v '^ *+' conftest.er1 >conftest.err
9016 cat conftest.err >&5
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 (exit $ac_status); } && {
9019 test -z "$ac_c_werror_flag" ||
9020 test ! -s conftest.err
9021 } && test -s conftest$ac_exeext &&
9022 $as_test_x conftest$ac_exeext; then
9023 ac_cv_cflags__Wl___enable_new_dtags=yes
9025 echo "$as_me: failed program was:" >&5
9026 sed 's/^/| /' conftest.$ac_ext >&5
9028 ac_cv_cflags__Wl___enable_new_dtags=no
9031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9032 conftest$ac_exeext conftest.$ac_ext
9033 CFLAGS=$ac_wine_try_cflags_saved
9035 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9036 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9037 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9038 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9043 *i[3456789]86* | x86_64)
9044 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9045 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9046 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9047 echo $ECHO_N "(cached) $ECHO_C" >&6
9049 ac_wine_try_cflags_saved=$CFLAGS
9050 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9051 cat >conftest.$ac_ext <<_ACEOF
9054 cat confdefs.h >>conftest.$ac_ext
9055 cat >>conftest.$ac_ext <<_ACEOF
9056 /* end confdefs.h. */
9066 rm -f conftest.$ac_objext conftest$ac_exeext
9067 if { (ac_try="$ac_link"
9069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9070 *) ac_try_echo=$ac_try;;
9072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9073 (eval "$ac_link") 2>conftest.er1
9075 grep -v '^ *+' conftest.er1 >conftest.err
9077 cat conftest.err >&5
9078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079 (exit $ac_status); } && {
9080 test -z "$ac_c_werror_flag" ||
9081 test ! -s conftest.err
9082 } && test -s conftest$ac_exeext &&
9083 $as_test_x conftest$ac_exeext; then
9084 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9086 echo "$as_me: failed program was:" >&5
9087 sed 's/^/| /' conftest.$ac_ext >&5
9089 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9093 conftest$ac_exeext conftest.$ac_ext
9094 CFLAGS=$ac_wine_try_cflags_saved
9096 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9097 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9098 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9099 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9106 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9107 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9108 if test "${ac_cv_c_dll_unixware+set}" = set; then
9109 echo $ECHO_N "(cached) $ECHO_C" >&6
9111 ac_wine_try_cflags_saved=$CFLAGS
9112 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9113 cat >conftest.$ac_ext <<_ACEOF
9116 rm -f conftest.$ac_objext conftest$ac_exeext
9117 if { (ac_try="$ac_link"
9119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9120 *) ac_try_echo=$ac_try;;
9122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9123 (eval "$ac_link") 2>conftest.er1
9125 grep -v '^ *+' conftest.er1 >conftest.err
9127 cat conftest.err >&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); } && {
9130 test -z "$ac_c_werror_flag" ||
9131 test ! -s conftest.err
9132 } && test -s conftest$ac_exeext &&
9133 $as_test_x conftest$ac_exeext; then
9134 ac_cv_c_dll_unixware="yes"
9136 echo "$as_me: failed program was:" >&5
9137 sed 's/^/| /' conftest.$ac_ext >&5
9139 ac_cv_c_dll_unixware="no"
9142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9143 conftest$ac_exeext conftest.$ac_ext
9144 CFLAGS=$ac_wine_try_cflags_saved
9146 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9147 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9148 if test "$ac_cv_c_dll_unixware" = "yes"
9150 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9151 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9154 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9155 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9156 if test "${ac_cv_c_dll_hpux+set}" = set; then
9157 echo $ECHO_N "(cached) $ECHO_C" >&6
9159 ac_wine_try_cflags_saved=$CFLAGS
9160 CFLAGS="$CFLAGS -shared"
9161 cat >conftest.$ac_ext <<_ACEOF
9164 rm -f conftest.$ac_objext conftest$ac_exeext
9165 if { (ac_try="$ac_link"
9167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9168 *) ac_try_echo=$ac_try;;
9170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9171 (eval "$ac_link") 2>conftest.er1
9173 grep -v '^ *+' conftest.er1 >conftest.err
9175 cat conftest.err >&5
9176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9177 (exit $ac_status); } && {
9178 test -z "$ac_c_werror_flag" ||
9179 test ! -s conftest.err
9180 } && test -s conftest$ac_exeext &&
9181 $as_test_x conftest$ac_exeext; then
9182 ac_cv_c_dll_hpux="yes"
9184 echo "$as_me: failed program was:" >&5
9185 sed 's/^/| /' conftest.$ac_ext >&5
9187 ac_cv_c_dll_hpux="no"
9190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9191 conftest$ac_exeext conftest.$ac_ext
9192 CFLAGS=$ac_wine_try_cflags_saved
9194 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9195 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9196 if test "$ac_cv_c_dll_hpux" = "yes"
9200 LDDLLFLAGS="-shared -fPIC"
9201 LDSHARED="\$(CC) -shared"
9208 if test "$cross_compiling" = "no"
9210 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9212 # Extract the first word of "$ac_prog", so it can be a program name with args.
9213 set dummy $ac_prog; ac_word=$2
9214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9216 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9217 echo $ECHO_N "(cached) $ECHO_C" >&6
9219 if test -n "$CROSSCC"; then
9220 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9226 test -z "$as_dir" && as_dir=.
9227 for ac_exec_ext in '' $ac_executable_extensions; do
9228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9229 ac_cv_prog_CROSSCC="$ac_prog"
9230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9239 CROSSCC=$ac_cv_prog_CROSSCC
9240 if test -n "$CROSSCC"; then
9241 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9242 echo "${ECHO_T}$CROSSCC" >&6; }
9244 { echo "$as_me:$LINENO: result: no" >&5
9245 echo "${ECHO_T}no" >&6; }
9249 test -n "$CROSSCC" && break
9251 test -n "$CROSSCC" || CROSSCC="false"
9253 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9255 # Extract the first word of "$ac_prog", so it can be a program name with args.
9256 set dummy $ac_prog; ac_word=$2
9257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9259 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9260 echo $ECHO_N "(cached) $ECHO_C" >&6
9262 if test -n "$DLLTOOL"; then
9263 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9269 test -z "$as_dir" && as_dir=.
9270 for ac_exec_ext in '' $ac_executable_extensions; do
9271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9272 ac_cv_prog_DLLTOOL="$ac_prog"
9273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9282 DLLTOOL=$ac_cv_prog_DLLTOOL
9283 if test -n "$DLLTOOL"; then
9284 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9285 echo "${ECHO_T}$DLLTOOL" >&6; }
9287 { echo "$as_me:$LINENO: result: no" >&5
9288 echo "${ECHO_T}no" >&6; }
9292 test -n "$DLLTOOL" && break
9294 test -n "$DLLTOOL" || DLLTOOL="false"
9296 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9298 # Extract the first word of "$ac_prog", so it can be a program name with args.
9299 set dummy $ac_prog; ac_word=$2
9300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9302 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9303 echo $ECHO_N "(cached) $ECHO_C" >&6
9305 if test -n "$CROSSWINDRES"; then
9306 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9312 test -z "$as_dir" && as_dir=.
9313 for ac_exec_ext in '' $ac_executable_extensions; do
9314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9315 ac_cv_prog_CROSSWINDRES="$ac_prog"
9316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9325 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9326 if test -n "$CROSSWINDRES"; then
9327 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9328 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9330 { echo "$as_me:$LINENO: result: no" >&5
9331 echo "${ECHO_T}no" >&6; }
9335 test -n "$CROSSWINDRES" && break
9337 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9339 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9341 # Extract the first word of "$ac_prog", so it can be a program name with args.
9342 set dummy $ac_prog; ac_word=$2
9343 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9345 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9346 echo $ECHO_N "(cached) $ECHO_C" >&6
9348 if test -n "$MINGWAR"; then
9349 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9355 test -z "$as_dir" && as_dir=.
9356 for ac_exec_ext in '' $ac_executable_extensions; do
9357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9358 ac_cv_prog_MINGWAR="$ac_prog"
9359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9368 MINGWAR=$ac_cv_prog_MINGWAR
9369 if test -n "$MINGWAR"; then
9370 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9371 echo "${ECHO_T}$MINGWAR" >&6; }
9373 { echo "$as_me:$LINENO: result: no" >&5
9374 echo "${ECHO_T}no" >&6; }
9378 test -n "$MINGWAR" && break
9380 test -n "$MINGWAR" || MINGWAR="false"
9382 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9387 if test "$LIBEXT" = "a"; then
9388 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9389 It is currently not possible to build Wine without shared library
9390 (.so) support to allow transparent switch between .so and .dll files.
9391 If you are using Linux, you will need a newer binutils.
9393 echo "$as_me: error: could not find a way to build shared libraries.
9394 It is currently not possible to build Wine without shared library
9395 (.so) support to allow transparent switch between .so and .dll files.
9396 If you are using Linux, you will need a newer binutils.
9398 { (exit 1); exit 1; }; }
9402 if test "$have_x" = "yes"
9405 ac_save_CPPFLAGS="$CPPFLAGS"
9406 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9408 { echo "$as_me:$LINENO: checking for -lX11" >&5
9409 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9410 if test "${ac_cv_lib_soname_X11+set}" = set; then
9411 echo $ECHO_N "(cached) $ECHO_C" >&6
9413 ac_check_soname_save_LIBS=$LIBS
9414 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9415 cat >conftest.$ac_ext <<_ACEOF
9418 cat confdefs.h >>conftest.$ac_ext
9419 cat >>conftest.$ac_ext <<_ACEOF
9420 /* end confdefs.h. */
9422 /* Override any GCC internal prototype to avoid an error.
9423 Use char because int might match the return type of a GCC
9424 builtin and then its argument prototype would still apply. */
9428 char XCreateWindow ();
9432 return XCreateWindow ();
9437 rm -f conftest.$ac_objext conftest$ac_exeext
9438 if { (ac_try="$ac_link"
9440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9441 *) ac_try_echo=$ac_try;;
9443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9444 (eval "$ac_link") 2>conftest.er1
9446 grep -v '^ *+' conftest.er1 >conftest.err
9448 cat conftest.err >&5
9449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450 (exit $ac_status); } && {
9451 test -z "$ac_c_werror_flag" ||
9452 test ! -s conftest.err
9453 } && test -s conftest$ac_exeext &&
9454 $as_test_x conftest$ac_exeext; then
9457 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'` ;;
9458 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9461 echo "$as_me: failed program was:" >&5
9462 sed 's/^/| /' conftest.$ac_ext >&5
9467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9468 conftest$ac_exeext conftest.$ac_ext
9469 LIBS=$ac_check_soname_save_LIBS
9471 if test "x$ac_cv_lib_soname_X11" = "x"; then
9472 { echo "$as_me:$LINENO: result: not found" >&5
9473 echo "${ECHO_T}not found" >&6; }
9476 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9477 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9479 cat >>confdefs.h <<_ACEOF
9480 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9486 { echo "$as_me:$LINENO: checking for -lXext" >&5
9487 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9488 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9489 echo $ECHO_N "(cached) $ECHO_C" >&6
9491 ac_check_soname_save_LIBS=$LIBS
9492 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9493 cat >conftest.$ac_ext <<_ACEOF
9496 cat confdefs.h >>conftest.$ac_ext
9497 cat >>conftest.$ac_ext <<_ACEOF
9498 /* end confdefs.h. */
9500 /* Override any GCC internal prototype to avoid an error.
9501 Use char because int might match the return type of a GCC
9502 builtin and then its argument prototype would still apply. */
9506 char XextCreateExtension ();
9510 return XextCreateExtension ();
9515 rm -f conftest.$ac_objext conftest$ac_exeext
9516 if { (ac_try="$ac_link"
9518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9519 *) ac_try_echo=$ac_try;;
9521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9522 (eval "$ac_link") 2>conftest.er1
9524 grep -v '^ *+' conftest.er1 >conftest.err
9526 cat conftest.err >&5
9527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528 (exit $ac_status); } && {
9529 test -z "$ac_c_werror_flag" ||
9530 test ! -s conftest.err
9531 } && test -s conftest$ac_exeext &&
9532 $as_test_x conftest$ac_exeext; then
9535 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'` ;;
9536 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9539 echo "$as_me: failed program was:" >&5
9540 sed 's/^/| /' conftest.$ac_ext >&5
9545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9546 conftest$ac_exeext conftest.$ac_ext
9547 LIBS=$ac_check_soname_save_LIBS
9549 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9550 { echo "$as_me:$LINENO: result: not found" >&5
9551 echo "${ECHO_T}not found" >&6; }
9554 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9555 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9557 cat >>confdefs.h <<_ACEOF
9558 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9577 for ac_header in X11/Xlib.h \
9580 X11/Xcursor/Xcursor.h \
9581 X11/extensions/shape.h \
9582 X11/extensions/XInput.h \
9583 X11/extensions/XShm.h \
9584 X11/extensions/Xcomposite.h \
9585 X11/extensions/Xinerama.h \
9586 X11/extensions/Xrandr.h \
9587 X11/extensions/Xrender.h \
9588 X11/extensions/xf86vmode.h
9590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9591 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9594 echo $ECHO_N "(cached) $ECHO_C" >&6
9596 cat >conftest.$ac_ext <<_ACEOF
9599 cat confdefs.h >>conftest.$ac_ext
9600 cat >>conftest.$ac_ext <<_ACEOF
9601 /* end confdefs.h. */
9602 #ifdef HAVE_X11_XLIB_H
9603 # include <X11/Xlib.h>
9605 #ifdef HAVE_X11_XUTIL_H
9606 # include <X11/Xutil.h>
9609 #include <$ac_header>
9611 rm -f conftest.$ac_objext
9612 if { (ac_try="$ac_compile"
9614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9615 *) ac_try_echo=$ac_try;;
9617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9618 (eval "$ac_compile") 2>conftest.er1
9620 grep -v '^ *+' conftest.er1 >conftest.err
9622 cat conftest.err >&5
9623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9624 (exit $ac_status); } && {
9625 test -z "$ac_c_werror_flag" ||
9626 test ! -s conftest.err
9627 } && test -s conftest.$ac_objext; then
9628 eval "$as_ac_Header=yes"
9630 echo "$as_me: failed program was:" >&5
9631 sed 's/^/| /' conftest.$ac_ext >&5
9633 eval "$as_ac_Header=no"
9636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9638 ac_res=`eval echo '${'$as_ac_Header'}'`
9639 { echo "$as_me:$LINENO: result: $ac_res" >&5
9640 echo "${ECHO_T}$ac_res" >&6; }
9641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9642 cat >>confdefs.h <<_ACEOF
9643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9651 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9653 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9654 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9655 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9656 echo $ECHO_N "(cached) $ECHO_C" >&6
9658 ac_check_lib_save_LIBS=$LIBS
9659 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9660 cat >conftest.$ac_ext <<_ACEOF
9663 cat confdefs.h >>conftest.$ac_ext
9664 cat >>conftest.$ac_ext <<_ACEOF
9665 /* end confdefs.h. */
9667 /* Override any GCC internal prototype to avoid an error.
9668 Use char because int might match the return type of a GCC
9669 builtin and then its argument prototype would still apply. */
9673 char XkbQueryExtension ();
9677 return XkbQueryExtension ();
9682 rm -f conftest.$ac_objext conftest$ac_exeext
9683 if { (ac_try="$ac_link"
9685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9686 *) ac_try_echo=$ac_try;;
9688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9689 (eval "$ac_link") 2>conftest.er1
9691 grep -v '^ *+' conftest.er1 >conftest.err
9693 cat conftest.err >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); } && {
9696 test -z "$ac_c_werror_flag" ||
9697 test ! -s conftest.err
9698 } && test -s conftest$ac_exeext &&
9699 $as_test_x conftest$ac_exeext; then
9700 ac_cv_lib_X11_XkbQueryExtension=yes
9702 echo "$as_me: failed program was:" >&5
9703 sed 's/^/| /' conftest.$ac_ext >&5
9705 ac_cv_lib_X11_XkbQueryExtension=no
9708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9709 conftest$ac_exeext conftest.$ac_ext
9710 LIBS=$ac_check_lib_save_LIBS
9712 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9713 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9714 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9716 cat >>confdefs.h <<\_ACEOF
9724 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9726 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9727 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9728 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9729 echo $ECHO_N "(cached) $ECHO_C" >&6
9731 ac_check_soname_save_LIBS=$LIBS
9732 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9733 cat >conftest.$ac_ext <<_ACEOF
9736 cat confdefs.h >>conftest.$ac_ext
9737 cat >>conftest.$ac_ext <<_ACEOF
9738 /* end confdefs.h. */
9740 /* Override any GCC internal prototype to avoid an error.
9741 Use char because int might match the return type of a GCC
9742 builtin and then its argument prototype would still apply. */
9746 char XcursorImageLoadCursor ();
9750 return XcursorImageLoadCursor ();
9755 rm -f conftest.$ac_objext conftest$ac_exeext
9756 if { (ac_try="$ac_link"
9758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9759 *) ac_try_echo=$ac_try;;
9761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9762 (eval "$ac_link") 2>conftest.er1
9764 grep -v '^ *+' conftest.er1 >conftest.err
9766 cat conftest.err >&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); } && {
9769 test -z "$ac_c_werror_flag" ||
9770 test ! -s conftest.err
9771 } && test -s conftest$ac_exeext &&
9772 $as_test_x conftest$ac_exeext; then
9775 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'` ;;
9776 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9779 echo "$as_me: failed program was:" >&5
9780 sed 's/^/| /' conftest.$ac_ext >&5
9785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9786 conftest$ac_exeext conftest.$ac_ext
9787 LIBS=$ac_check_soname_save_LIBS
9789 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9790 { echo "$as_me:$LINENO: result: not found" >&5
9791 echo "${ECHO_T}not found" >&6; }
9794 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9795 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9797 cat >>confdefs.h <<_ACEOF
9798 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9805 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9806 case "x$with_xcursor" in
9807 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9809 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9810 This is an error since --with-xcursor was requested." >&5
9811 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9812 This is an error since --with-xcursor was requested." >&2;}
9813 { (exit 1); exit 1; }; } ;;
9818 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9820 { echo "$as_me:$LINENO: checking for -lXi" >&5
9821 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9822 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9823 echo $ECHO_N "(cached) $ECHO_C" >&6
9825 ac_check_soname_save_LIBS=$LIBS
9826 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9827 cat >conftest.$ac_ext <<_ACEOF
9830 cat confdefs.h >>conftest.$ac_ext
9831 cat >>conftest.$ac_ext <<_ACEOF
9832 /* end confdefs.h. */
9834 /* Override any GCC internal prototype to avoid an error.
9835 Use char because int might match the return type of a GCC
9836 builtin and then its argument prototype would still apply. */
9840 char XOpenDevice ();
9844 return XOpenDevice ();
9849 rm -f conftest.$ac_objext conftest$ac_exeext
9850 if { (ac_try="$ac_link"
9852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9853 *) ac_try_echo=$ac_try;;
9855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9856 (eval "$ac_link") 2>conftest.er1
9858 grep -v '^ *+' conftest.er1 >conftest.err
9860 cat conftest.err >&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); } && {
9863 test -z "$ac_c_werror_flag" ||
9864 test ! -s conftest.err
9865 } && test -s conftest$ac_exeext &&
9866 $as_test_x conftest$ac_exeext; then
9869 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'` ;;
9870 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9873 echo "$as_me: failed program was:" >&5
9874 sed 's/^/| /' conftest.$ac_ext >&5
9879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9880 conftest$ac_exeext conftest.$ac_ext
9881 LIBS=$ac_check_soname_save_LIBS
9883 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9884 { echo "$as_me:$LINENO: result: not found" >&5
9885 echo "${ECHO_T}not found" >&6; }
9888 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9889 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9891 cat >>confdefs.h <<_ACEOF
9892 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9899 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9900 case "x$with_xinput" in
9901 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9903 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9904 This is an error since --with-xinput was requested." >&5
9905 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9906 This is an error since --with-xinput was requested." >&2;}
9907 { (exit 1); exit 1; }; } ;;
9912 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9914 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9915 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9916 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9917 echo $ECHO_N "(cached) $ECHO_C" >&6
9919 ac_check_lib_save_LIBS=$LIBS
9920 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9921 cat >conftest.$ac_ext <<_ACEOF
9924 cat confdefs.h >>conftest.$ac_ext
9925 cat >>conftest.$ac_ext <<_ACEOF
9926 /* end confdefs.h. */
9928 /* Override any GCC internal prototype to avoid an error.
9929 Use char because int might match the return type of a GCC
9930 builtin and then its argument prototype would still apply. */
9934 char XShmQueryExtension ();
9938 return XShmQueryExtension ();
9943 rm -f conftest.$ac_objext conftest$ac_exeext
9944 if { (ac_try="$ac_link"
9946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9947 *) ac_try_echo=$ac_try;;
9949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9950 (eval "$ac_link") 2>conftest.er1
9952 grep -v '^ *+' conftest.er1 >conftest.err
9954 cat conftest.err >&5
9955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9956 (exit $ac_status); } && {
9957 test -z "$ac_c_werror_flag" ||
9958 test ! -s conftest.err
9959 } && test -s conftest$ac_exeext &&
9960 $as_test_x conftest$ac_exeext; then
9961 ac_cv_lib_Xext_XShmQueryExtension=yes
9963 echo "$as_me: failed program was:" >&5
9964 sed 's/^/| /' conftest.$ac_ext >&5
9966 ac_cv_lib_Xext_XShmQueryExtension=no
9969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9970 conftest$ac_exeext conftest.$ac_ext
9971 LIBS=$ac_check_lib_save_LIBS
9973 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9974 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9975 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9977 cat >>confdefs.h <<\_ACEOF
9978 #define HAVE_LIBXXSHM 1
9984 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9985 case "x$with_xshm" in
9986 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9988 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9989 This is an error since --with-xshm was requested." >&5
9990 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9991 This is an error since --with-xshm was requested." >&2;}
9992 { (exit 1); exit 1; }; } ;;
9997 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9999 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10000 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10001 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10002 echo $ECHO_N "(cached) $ECHO_C" >&6
10004 ac_check_lib_save_LIBS=$LIBS
10005 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10006 cat >conftest.$ac_ext <<_ACEOF
10009 cat confdefs.h >>conftest.$ac_ext
10010 cat >>conftest.$ac_ext <<_ACEOF
10011 /* end confdefs.h. */
10013 /* Override any GCC internal prototype to avoid an error.
10014 Use char because int might match the return type of a GCC
10015 builtin and then its argument prototype would still apply. */
10019 char XShapeQueryExtension ();
10023 return XShapeQueryExtension ();
10028 rm -f conftest.$ac_objext conftest$ac_exeext
10029 if { (ac_try="$ac_link"
10030 case "(($ac_try" in
10031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10032 *) ac_try_echo=$ac_try;;
10034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10035 (eval "$ac_link") 2>conftest.er1
10037 grep -v '^ *+' conftest.er1 >conftest.err
10039 cat conftest.err >&5
10040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10041 (exit $ac_status); } && {
10042 test -z "$ac_c_werror_flag" ||
10043 test ! -s conftest.err
10044 } && test -s conftest$ac_exeext &&
10045 $as_test_x conftest$ac_exeext; then
10046 ac_cv_lib_Xext_XShapeQueryExtension=yes
10048 echo "$as_me: failed program was:" >&5
10049 sed 's/^/| /' conftest.$ac_ext >&5
10051 ac_cv_lib_Xext_XShapeQueryExtension=no
10054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10055 conftest$ac_exeext conftest.$ac_ext
10056 LIBS=$ac_check_lib_save_LIBS
10058 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10059 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10060 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10062 cat >>confdefs.h <<\_ACEOF
10063 #define HAVE_LIBXSHAPE 1
10069 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10070 case "x$with_xshape" in
10071 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10073 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10074 This is an error since --with-xshape was requested." >&5
10075 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10076 This is an error since --with-xshape was requested." >&2;}
10077 { (exit 1); exit 1; }; } ;;
10082 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10084 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10085 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10086 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10087 echo $ECHO_N "(cached) $ECHO_C" >&6
10089 ac_check_lib_save_LIBS=$LIBS
10090 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10091 cat >conftest.$ac_ext <<_ACEOF
10094 cat confdefs.h >>conftest.$ac_ext
10095 cat >>conftest.$ac_ext <<_ACEOF
10096 /* end confdefs.h. */
10098 /* Override any GCC internal prototype to avoid an error.
10099 Use char because int might match the return type of a GCC
10100 builtin and then its argument prototype would still apply. */
10104 char XF86VidModeQueryExtension ();
10108 return XF86VidModeQueryExtension ();
10113 rm -f conftest.$ac_objext conftest$ac_exeext
10114 if { (ac_try="$ac_link"
10115 case "(($ac_try" in
10116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10117 *) ac_try_echo=$ac_try;;
10119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10120 (eval "$ac_link") 2>conftest.er1
10122 grep -v '^ *+' conftest.er1 >conftest.err
10124 cat conftest.err >&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 (exit $ac_status); } && {
10127 test -z "$ac_c_werror_flag" ||
10128 test ! -s conftest.err
10129 } && test -s conftest$ac_exeext &&
10130 $as_test_x conftest$ac_exeext; then
10131 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10133 echo "$as_me: failed program was:" >&5
10134 sed 's/^/| /' conftest.$ac_ext >&5
10136 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10140 conftest$ac_exeext conftest.$ac_ext
10141 LIBS=$ac_check_lib_save_LIBS
10143 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10144 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10145 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10147 cat >>confdefs.h <<\_ACEOF
10148 #define HAVE_LIBXXF86VM 1
10151 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10156 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10157 case "x$with_xvidmode" in
10158 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10160 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10161 This is an error since --with-xvidmode was requested." >&5
10162 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10163 This is an error since --with-xvidmode was requested." >&2;}
10164 { (exit 1); exit 1; }; } ;;
10169 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"
10171 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10172 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10173 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10174 echo $ECHO_N "(cached) $ECHO_C" >&6
10176 ac_check_soname_save_LIBS=$LIBS
10177 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10178 cat >conftest.$ac_ext <<_ACEOF
10181 cat confdefs.h >>conftest.$ac_ext
10182 cat >>conftest.$ac_ext <<_ACEOF
10183 /* end confdefs.h. */
10185 /* Override any GCC internal prototype to avoid an error.
10186 Use char because int might match the return type of a GCC
10187 builtin and then its argument prototype would still apply. */
10191 char XRenderQueryExtension ();
10195 return XRenderQueryExtension ();
10200 rm -f conftest.$ac_objext conftest$ac_exeext
10201 if { (ac_try="$ac_link"
10202 case "(($ac_try" in
10203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10204 *) ac_try_echo=$ac_try;;
10206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10207 (eval "$ac_link") 2>conftest.er1
10209 grep -v '^ *+' conftest.er1 >conftest.err
10211 cat conftest.err >&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); } && {
10214 test -z "$ac_c_werror_flag" ||
10215 test ! -s conftest.err
10216 } && test -s conftest$ac_exeext &&
10217 $as_test_x conftest$ac_exeext; then
10220 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'` ;;
10221 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10224 echo "$as_me: failed program was:" >&5
10225 sed 's/^/| /' conftest.$ac_ext >&5
10230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10231 conftest$ac_exeext conftest.$ac_ext
10232 LIBS=$ac_check_soname_save_LIBS
10234 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10235 { echo "$as_me:$LINENO: result: not found" >&5
10236 echo "${ECHO_T}not found" >&6; }
10239 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10240 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10242 cat >>confdefs.h <<_ACEOF
10243 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10246 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10247 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10248 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10249 echo $ECHO_N "(cached) $ECHO_C" >&6
10251 ac_check_lib_save_LIBS=$LIBS
10252 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10253 cat >conftest.$ac_ext <<_ACEOF
10256 cat confdefs.h >>conftest.$ac_ext
10257 cat >>conftest.$ac_ext <<_ACEOF
10258 /* end confdefs.h. */
10260 /* Override any GCC internal prototype to avoid an error.
10261 Use char because int might match the return type of a GCC
10262 builtin and then its argument prototype would still apply. */
10266 char XRenderSetPictureTransform ();
10270 return XRenderSetPictureTransform ();
10275 rm -f conftest.$ac_objext conftest$ac_exeext
10276 if { (ac_try="$ac_link"
10277 case "(($ac_try" in
10278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10279 *) ac_try_echo=$ac_try;;
10281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10282 (eval "$ac_link") 2>conftest.er1
10284 grep -v '^ *+' conftest.er1 >conftest.err
10286 cat conftest.err >&5
10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288 (exit $ac_status); } && {
10289 test -z "$ac_c_werror_flag" ||
10290 test ! -s conftest.err
10291 } && test -s conftest$ac_exeext &&
10292 $as_test_x conftest$ac_exeext; then
10293 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10295 echo "$as_me: failed program was:" >&5
10296 sed 's/^/| /' conftest.$ac_ext >&5
10298 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10302 conftest$ac_exeext conftest.$ac_ext
10303 LIBS=$ac_check_lib_save_LIBS
10305 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10306 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10307 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10309 cat >>confdefs.h <<\_ACEOF
10310 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10319 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10320 case "x$with_xrender" in
10321 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10323 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10324 This is an error since --with-xrender was requested." >&5
10325 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10326 This is an error since --with-xrender was requested." >&2;}
10327 { (exit 1); exit 1; }; } ;;
10332 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10334 cat >conftest.$ac_ext <<_ACEOF
10337 cat confdefs.h >>conftest.$ac_ext
10338 cat >>conftest.$ac_ext <<_ACEOF
10339 /* end confdefs.h. */
10340 #include <X11/Xlib.h>
10341 #include <X11/extensions/Xrandr.h>
10345 static typeof(XRRSetScreenConfigAndRate) * func;
10350 rm -f conftest.$ac_objext
10351 if { (ac_try="$ac_compile"
10352 case "(($ac_try" in
10353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10354 *) ac_try_echo=$ac_try;;
10356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10357 (eval "$ac_compile") 2>conftest.er1
10359 grep -v '^ *+' conftest.er1 >conftest.err
10361 cat conftest.err >&5
10362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10363 (exit $ac_status); } && {
10364 test -z "$ac_c_werror_flag" ||
10365 test ! -s conftest.err
10366 } && test -s conftest.$ac_objext; then
10367 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10368 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10369 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10372 ac_check_soname_save_LIBS=$LIBS
10373 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10374 cat >conftest.$ac_ext <<_ACEOF
10377 cat confdefs.h >>conftest.$ac_ext
10378 cat >>conftest.$ac_ext <<_ACEOF
10379 /* end confdefs.h. */
10381 /* Override any GCC internal prototype to avoid an error.
10382 Use char because int might match the return type of a GCC
10383 builtin and then its argument prototype would still apply. */
10387 char XRRQueryExtension ();
10391 return XRRQueryExtension ();
10396 rm -f conftest.$ac_objext conftest$ac_exeext
10397 if { (ac_try="$ac_link"
10398 case "(($ac_try" in
10399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10400 *) ac_try_echo=$ac_try;;
10402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10403 (eval "$ac_link") 2>conftest.er1
10405 grep -v '^ *+' conftest.er1 >conftest.err
10407 cat conftest.err >&5
10408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409 (exit $ac_status); } && {
10410 test -z "$ac_c_werror_flag" ||
10411 test ! -s conftest.err
10412 } && test -s conftest$ac_exeext &&
10413 $as_test_x conftest$ac_exeext; then
10416 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'` ;;
10417 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10420 echo "$as_me: failed program was:" >&5
10421 sed 's/^/| /' conftest.$ac_ext >&5
10426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10427 conftest$ac_exeext conftest.$ac_ext
10428 LIBS=$ac_check_soname_save_LIBS
10430 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10431 { echo "$as_me:$LINENO: result: not found" >&5
10432 echo "${ECHO_T}not found" >&6; }
10435 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10436 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10438 cat >>confdefs.h <<_ACEOF
10439 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10446 echo "$as_me: failed program was:" >&5
10447 sed 's/^/| /' conftest.$ac_ext >&5
10452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10454 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10455 case "x$with_xrandr" in
10456 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10458 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10459 This is an error since --with-xrandr was requested." >&5
10460 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10461 This is an error since --with-xrandr was requested." >&2;}
10462 { (exit 1); exit 1; }; } ;;
10467 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10469 cat >conftest.$ac_ext <<_ACEOF
10472 cat confdefs.h >>conftest.$ac_ext
10473 cat >>conftest.$ac_ext <<_ACEOF
10474 /* end confdefs.h. */
10475 #include <X11/Xlib.h>
10476 #include <X11/extensions/Xinerama.h>
10480 static typeof(XineramaQueryScreens) * func;
10485 rm -f conftest.$ac_objext
10486 if { (ac_try="$ac_compile"
10487 case "(($ac_try" in
10488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10489 *) ac_try_echo=$ac_try;;
10491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10492 (eval "$ac_compile") 2>conftest.er1
10494 grep -v '^ *+' conftest.er1 >conftest.err
10496 cat conftest.err >&5
10497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498 (exit $ac_status); } && {
10499 test -z "$ac_c_werror_flag" ||
10500 test ! -s conftest.err
10501 } && test -s conftest.$ac_objext; then
10502 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10503 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10504 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10505 echo $ECHO_N "(cached) $ECHO_C" >&6
10507 ac_check_soname_save_LIBS=$LIBS
10508 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10509 cat >conftest.$ac_ext <<_ACEOF
10512 cat confdefs.h >>conftest.$ac_ext
10513 cat >>conftest.$ac_ext <<_ACEOF
10514 /* end confdefs.h. */
10516 /* Override any GCC internal prototype to avoid an error.
10517 Use char because int might match the return type of a GCC
10518 builtin and then its argument prototype would still apply. */
10522 char XineramaQueryScreens ();
10526 return XineramaQueryScreens ();
10531 rm -f conftest.$ac_objext conftest$ac_exeext
10532 if { (ac_try="$ac_link"
10533 case "(($ac_try" in
10534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10535 *) ac_try_echo=$ac_try;;
10537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10538 (eval "$ac_link") 2>conftest.er1
10540 grep -v '^ *+' conftest.er1 >conftest.err
10542 cat conftest.err >&5
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); } && {
10545 test -z "$ac_c_werror_flag" ||
10546 test ! -s conftest.err
10547 } && test -s conftest$ac_exeext &&
10548 $as_test_x conftest$ac_exeext; then
10551 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'` ;;
10552 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10555 echo "$as_me: failed program was:" >&5
10556 sed 's/^/| /' conftest.$ac_ext >&5
10561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10562 conftest$ac_exeext conftest.$ac_ext
10563 LIBS=$ac_check_soname_save_LIBS
10565 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10566 { echo "$as_me:$LINENO: result: not found" >&5
10567 echo "${ECHO_T}not found" >&6; }
10570 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10571 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10573 cat >>confdefs.h <<_ACEOF
10574 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10581 echo "$as_me: failed program was:" >&5
10582 sed 's/^/| /' conftest.$ac_ext >&5
10587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10589 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10590 case "x$with_xinerama" in
10591 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10593 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10594 This is an error since --with-xinerama was requested." >&5
10595 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10596 This is an error since --with-xinerama was requested." >&2;}
10597 { (exit 1); exit 1; }; } ;;
10602 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10604 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10605 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10606 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10607 echo $ECHO_N "(cached) $ECHO_C" >&6
10609 ac_check_soname_save_LIBS=$LIBS
10610 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10611 cat >conftest.$ac_ext <<_ACEOF
10614 cat confdefs.h >>conftest.$ac_ext
10615 cat >>conftest.$ac_ext <<_ACEOF
10616 /* end confdefs.h. */
10618 /* Override any GCC internal prototype to avoid an error.
10619 Use char because int might match the return type of a GCC
10620 builtin and then its argument prototype would still apply. */
10624 char XCompositeRedirectWindow ();
10628 return XCompositeRedirectWindow ();
10633 rm -f conftest.$ac_objext conftest$ac_exeext
10634 if { (ac_try="$ac_link"
10635 case "(($ac_try" in
10636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10637 *) ac_try_echo=$ac_try;;
10639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10640 (eval "$ac_link") 2>conftest.er1
10642 grep -v '^ *+' conftest.er1 >conftest.err
10644 cat conftest.err >&5
10645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10646 (exit $ac_status); } && {
10647 test -z "$ac_c_werror_flag" ||
10648 test ! -s conftest.err
10649 } && test -s conftest$ac_exeext &&
10650 $as_test_x conftest$ac_exeext; then
10653 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'` ;;
10654 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10657 echo "$as_me: failed program was:" >&5
10658 sed 's/^/| /' conftest.$ac_ext >&5
10663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10664 conftest$ac_exeext conftest.$ac_ext
10665 LIBS=$ac_check_soname_save_LIBS
10667 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10668 { echo "$as_me:$LINENO: result: not found" >&5
10669 echo "${ECHO_T}not found" >&6; }
10672 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10673 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10675 cat >>confdefs.h <<_ACEOF
10676 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10683 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10684 case "x$with_xcomposite" in
10685 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10687 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10688 This is an error since --with-xcomposite was requested." >&5
10689 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10690 This is an error since --with-xcomposite was requested." >&2;}
10691 { (exit 1); exit 1; }; } ;;
10696 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10697 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10698 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10699 echo $ECHO_N "(cached) $ECHO_C" >&6
10701 cat >conftest.$ac_ext <<_ACEOF
10704 cat confdefs.h >>conftest.$ac_ext
10705 cat >>conftest.$ac_ext <<_ACEOF
10706 /* end confdefs.h. */
10707 #ifdef HAVE_X11_XLIB_H
10708 #include <X11/Xlib.h>
10714 static XICCallback ac_aggr;
10715 if (ac_aggr.callback)
10721 rm -f conftest.$ac_objext
10722 if { (ac_try="$ac_compile"
10723 case "(($ac_try" in
10724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10725 *) ac_try_echo=$ac_try;;
10727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10728 (eval "$ac_compile") 2>conftest.er1
10730 grep -v '^ *+' conftest.er1 >conftest.err
10732 cat conftest.err >&5
10733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10734 (exit $ac_status); } && {
10735 test -z "$ac_c_werror_flag" ||
10736 test ! -s conftest.err
10737 } && test -s conftest.$ac_objext; then
10738 ac_cv_member_XICCallback_callback=yes
10740 echo "$as_me: failed program was:" >&5
10741 sed 's/^/| /' conftest.$ac_ext >&5
10743 cat >conftest.$ac_ext <<_ACEOF
10746 cat confdefs.h >>conftest.$ac_ext
10747 cat >>conftest.$ac_ext <<_ACEOF
10748 /* end confdefs.h. */
10749 #ifdef HAVE_X11_XLIB_H
10750 #include <X11/Xlib.h>
10756 static XICCallback ac_aggr;
10757 if (sizeof ac_aggr.callback)
10763 rm -f conftest.$ac_objext
10764 if { (ac_try="$ac_compile"
10765 case "(($ac_try" in
10766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10767 *) ac_try_echo=$ac_try;;
10769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10770 (eval "$ac_compile") 2>conftest.er1
10772 grep -v '^ *+' conftest.er1 >conftest.err
10774 cat conftest.err >&5
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); } && {
10777 test -z "$ac_c_werror_flag" ||
10778 test ! -s conftest.err
10779 } && test -s conftest.$ac_objext; then
10780 ac_cv_member_XICCallback_callback=yes
10782 echo "$as_me: failed program was:" >&5
10783 sed 's/^/| /' conftest.$ac_ext >&5
10785 ac_cv_member_XICCallback_callback=no
10788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10793 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10794 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10795 if test $ac_cv_member_XICCallback_callback = yes; then
10797 cat >>confdefs.h <<_ACEOF
10798 #define HAVE_XICCALLBACK_CALLBACK 1
10807 if test "x$with_opengl" != "xno"
10813 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10816 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10818 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10819 echo $ECHO_N "(cached) $ECHO_C" >&6
10821 cat >conftest.$ac_ext <<_ACEOF
10824 cat confdefs.h >>conftest.$ac_ext
10825 cat >>conftest.$ac_ext <<_ACEOF
10826 /* end confdefs.h. */
10827 #ifdef HAVE_GL_GLX_H
10828 # include <GL/glx.h>
10831 #include <$ac_header>
10833 rm -f conftest.$ac_objext
10834 if { (ac_try="$ac_compile"
10835 case "(($ac_try" in
10836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10837 *) ac_try_echo=$ac_try;;
10839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10840 (eval "$ac_compile") 2>conftest.er1
10842 grep -v '^ *+' conftest.er1 >conftest.err
10844 cat conftest.err >&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); } && {
10847 test -z "$ac_c_werror_flag" ||
10848 test ! -s conftest.err
10849 } && test -s conftest.$ac_objext; then
10850 eval "$as_ac_Header=yes"
10852 echo "$as_me: failed program was:" >&5
10853 sed 's/^/| /' conftest.$ac_ext >&5
10855 eval "$as_ac_Header=no"
10858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10860 ac_res=`eval echo '${'$as_ac_Header'}'`
10861 { echo "$as_me:$LINENO: result: $ac_res" >&5
10862 echo "${ECHO_T}$ac_res" >&6; }
10863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10864 cat >>confdefs.h <<_ACEOF
10865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10872 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10874 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10875 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10876 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10877 echo $ECHO_N "(cached) $ECHO_C" >&6
10879 cat >conftest.$ac_ext <<_ACEOF
10882 cat confdefs.h >>conftest.$ac_ext
10883 cat >>conftest.$ac_ext <<_ACEOF
10884 /* end confdefs.h. */
10889 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10894 rm -f conftest.$ac_objext
10895 if { (ac_try="$ac_compile"
10896 case "(($ac_try" in
10897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10898 *) ac_try_echo=$ac_try;;
10900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10901 (eval "$ac_compile") 2>conftest.er1
10903 grep -v '^ *+' conftest.er1 >conftest.err
10905 cat conftest.err >&5
10906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10907 (exit $ac_status); } && {
10908 test -z "$ac_c_werror_flag" ||
10909 test ! -s conftest.err
10910 } && test -s conftest.$ac_objext; then
10911 wine_cv_opengl_header_version_OK="yes"
10913 echo "$as_me: failed program was:" >&5
10914 sed 's/^/| /' conftest.$ac_ext >&5
10916 wine_cv_opengl_header_version_OK="no"
10919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10921 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10922 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10924 if test "$wine_cv_opengl_header_version_OK" = "yes"
10926 { echo "$as_me:$LINENO: checking for -lGL" >&5
10927 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10928 if test "${ac_cv_lib_soname_GL+set}" = set; then
10929 echo $ECHO_N "(cached) $ECHO_C" >&6
10931 ac_check_soname_save_LIBS=$LIBS
10932 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10933 cat >conftest.$ac_ext <<_ACEOF
10936 cat confdefs.h >>conftest.$ac_ext
10937 cat >>conftest.$ac_ext <<_ACEOF
10938 /* end confdefs.h. */
10940 /* Override any GCC internal prototype to avoid an error.
10941 Use char because int might match the return type of a GCC
10942 builtin and then its argument prototype would still apply. */
10946 char glXCreateContext ();
10950 return glXCreateContext ();
10955 rm -f conftest.$ac_objext conftest$ac_exeext
10956 if { (ac_try="$ac_link"
10957 case "(($ac_try" in
10958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10959 *) ac_try_echo=$ac_try;;
10961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10962 (eval "$ac_link") 2>conftest.er1
10964 grep -v '^ *+' conftest.er1 >conftest.err
10966 cat conftest.err >&5
10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968 (exit $ac_status); } && {
10969 test -z "$ac_c_werror_flag" ||
10970 test ! -s conftest.err
10971 } && test -s conftest$ac_exeext &&
10972 $as_test_x conftest$ac_exeext; then
10975 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'` ;;
10976 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10979 echo "$as_me: failed program was:" >&5
10980 sed 's/^/| /' conftest.$ac_ext >&5
10985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10986 conftest$ac_exeext conftest.$ac_ext
10987 LIBS=$ac_check_soname_save_LIBS
10989 if test "x$ac_cv_lib_soname_GL" = "x"; then
10990 { echo "$as_me:$LINENO: result: not found" >&5
10991 echo "${ECHO_T}not found" >&6; }
10992 { echo "$as_me:$LINENO: checking for -lGL" >&5
10993 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10994 if test "${ac_cv_lib_soname_GL+set}" = set; then
10995 echo $ECHO_N "(cached) $ECHO_C" >&6
10997 ac_check_soname_save_LIBS=$LIBS
10998 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"
10999 cat >conftest.$ac_ext <<_ACEOF
11002 cat confdefs.h >>conftest.$ac_ext
11003 cat >>conftest.$ac_ext <<_ACEOF
11004 /* end confdefs.h. */
11006 /* Override any GCC internal prototype to avoid an error.
11007 Use char because int might match the return type of a GCC
11008 builtin and then its argument prototype would still apply. */
11012 char glXCreateContext ();
11016 return glXCreateContext ();
11021 rm -f conftest.$ac_objext conftest$ac_exeext
11022 if { (ac_try="$ac_link"
11023 case "(($ac_try" in
11024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11025 *) ac_try_echo=$ac_try;;
11027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11028 (eval "$ac_link") 2>conftest.er1
11030 grep -v '^ *+' conftest.er1 >conftest.err
11032 cat conftest.err >&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); } && {
11035 test -z "$ac_c_werror_flag" ||
11036 test ! -s conftest.err
11037 } && test -s conftest$ac_exeext &&
11038 $as_test_x conftest$ac_exeext; then
11041 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'` ;;
11042 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11045 echo "$as_me: failed program was:" >&5
11046 sed 's/^/| /' conftest.$ac_ext >&5
11051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11052 conftest$ac_exeext conftest.$ac_ext
11053 LIBS=$ac_check_soname_save_LIBS
11055 if test "x$ac_cv_lib_soname_GL" = "x"; then
11056 { echo "$as_me:$LINENO: result: not found" >&5
11057 echo "${ECHO_T}not found" >&6; }
11058 if test -f /usr/X11R6/lib/libGL.a
11060 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11061 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11063 opengl_msg="No OpenGL library found on this system."
11066 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11067 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11069 cat >>confdefs.h <<_ACEOF
11070 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11073 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"
11074 OPENGLFILES='$(OPENGLFILES)'
11076 cat >>confdefs.h <<\_ACEOF
11077 #define HAVE_OPENGL 1
11083 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11084 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11086 cat >>confdefs.h <<_ACEOF
11087 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11091 OPENGLFILES='$(OPENGLFILES)'
11093 cat >>confdefs.h <<\_ACEOF
11094 #define HAVE_OPENGL 1
11099 if test "$ac_cv_header_GL_glu_h" = "yes"
11101 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11102 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11103 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6
11106 ac_check_soname_save_LIBS=$LIBS
11107 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11108 cat >conftest.$ac_ext <<_ACEOF
11111 cat confdefs.h >>conftest.$ac_ext
11112 cat >>conftest.$ac_ext <<_ACEOF
11113 /* end confdefs.h. */
11115 /* Override any GCC internal prototype to avoid an error.
11116 Use char because int might match the return type of a GCC
11117 builtin and then its argument prototype would still apply. */
11125 return gluLookAt ();
11130 rm -f conftest.$ac_objext conftest$ac_exeext
11131 if { (ac_try="$ac_link"
11132 case "(($ac_try" in
11133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11134 *) ac_try_echo=$ac_try;;
11136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11137 (eval "$ac_link") 2>conftest.er1
11139 grep -v '^ *+' conftest.er1 >conftest.err
11141 cat conftest.err >&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); } && {
11144 test -z "$ac_c_werror_flag" ||
11145 test ! -s conftest.err
11146 } && test -s conftest$ac_exeext &&
11147 $as_test_x conftest$ac_exeext; then
11150 dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11151 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11154 echo "$as_me: failed program was:" >&5
11155 sed 's/^/| /' conftest.$ac_ext >&5
11160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11161 conftest$ac_exeext conftest.$ac_ext
11162 LIBS=$ac_check_soname_save_LIBS
11164 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11165 { echo "$as_me:$LINENO: result: not found" >&5
11166 echo "${ECHO_T}not found" >&6; }
11169 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11170 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11172 cat >>confdefs.h <<_ACEOF
11173 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11176 GLU32FILES='$(GLU32FILES)'
11180 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11181 case "x$with_glu" in
11182 x) wine_notices="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11184 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11185 This is an error since --with-glu was requested." >&5
11186 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11187 This is an error since --with-glu was requested." >&2;}
11188 { (exit 1); exit 1; }; } ;;
11193 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11196 opengl_msg="OpenGL development headers not found."
11199 if test -n "$opengl_msg"; then
11200 case "x$with_opengl" in
11201 x) wine_warnings="$wine_warnings|$opengl_msg
11202 OpenGL and Direct3D won't be supported." ;;
11204 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11205 OpenGL and Direct3D won't be supported.
11206 This is an error since --with-opengl was requested." >&5
11207 echo "$as_me: error: $opengl_msg
11208 OpenGL and Direct3D won't be supported.
11209 This is an error since --with-opengl was requested." >&2;}
11210 { (exit 1); exit 1; }; } ;;
11218 for ac_header in audio/audiolib.h
11220 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11221 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11222 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11224 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11225 echo $ECHO_N "(cached) $ECHO_C" >&6
11227 ac_res=`eval echo '${'$as_ac_Header'}'`
11228 { echo "$as_me:$LINENO: result: $ac_res" >&5
11229 echo "${ECHO_T}$ac_res" >&6; }
11231 # Is the header compilable?
11232 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11233 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11234 cat >conftest.$ac_ext <<_ACEOF
11237 cat confdefs.h >>conftest.$ac_ext
11238 cat >>conftest.$ac_ext <<_ACEOF
11239 /* end confdefs.h. */
11240 $ac_includes_default
11241 #include <$ac_header>
11243 rm -f conftest.$ac_objext
11244 if { (ac_try="$ac_compile"
11245 case "(($ac_try" in
11246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11247 *) ac_try_echo=$ac_try;;
11249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11250 (eval "$ac_compile") 2>conftest.er1
11252 grep -v '^ *+' conftest.er1 >conftest.err
11254 cat conftest.err >&5
11255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11256 (exit $ac_status); } && {
11257 test -z "$ac_c_werror_flag" ||
11258 test ! -s conftest.err
11259 } && test -s conftest.$ac_objext; then
11260 ac_header_compiler=yes
11262 echo "$as_me: failed program was:" >&5
11263 sed 's/^/| /' conftest.$ac_ext >&5
11265 ac_header_compiler=no
11268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11269 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11270 echo "${ECHO_T}$ac_header_compiler" >&6; }
11272 # Is the header present?
11273 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11274 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11275 cat >conftest.$ac_ext <<_ACEOF
11278 cat confdefs.h >>conftest.$ac_ext
11279 cat >>conftest.$ac_ext <<_ACEOF
11280 /* end confdefs.h. */
11281 #include <$ac_header>
11283 if { (ac_try="$ac_cpp conftest.$ac_ext"
11284 case "(($ac_try" in
11285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11286 *) ac_try_echo=$ac_try;;
11288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11289 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11291 grep -v '^ *+' conftest.er1 >conftest.err
11293 cat conftest.err >&5
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); } >/dev/null && {
11296 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11297 test ! -s conftest.err
11299 ac_header_preproc=yes
11301 echo "$as_me: failed program was:" >&5
11302 sed 's/^/| /' conftest.$ac_ext >&5
11304 ac_header_preproc=no
11307 rm -f conftest.err conftest.$ac_ext
11308 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11309 echo "${ECHO_T}$ac_header_preproc" >&6; }
11311 # So? What about this header?
11312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11314 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11317 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11318 ac_header_preproc=yes
11321 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11322 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11323 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11324 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11325 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11326 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11327 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11328 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11331 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11332 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11334 ## ------------------------------------ ##
11335 ## Report this to wine-devel@winehq.org ##
11336 ## ------------------------------------ ##
11338 ) | sed "s/^/$as_me: WARNING: /" >&2
11341 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11344 echo $ECHO_N "(cached) $ECHO_C" >&6
11346 eval "$as_ac_Header=\$ac_header_preproc"
11348 ac_res=`eval echo '${'$as_ac_Header'}'`
11349 { echo "$as_me:$LINENO: result: $ac_res" >&5
11350 echo "${ECHO_T}$ac_res" >&6; }
11353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11354 cat >>confdefs.h <<_ACEOF
11355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11358 for ac_header in audio/soundlib.h
11360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11361 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11364 echo $ECHO_N "(cached) $ECHO_C" >&6
11366 cat >conftest.$ac_ext <<_ACEOF
11369 cat confdefs.h >>conftest.$ac_ext
11370 cat >>conftest.$ac_ext <<_ACEOF
11371 /* end confdefs.h. */
11372 #include <audio/audiolib.h>
11374 #include <$ac_header>
11376 rm -f conftest.$ac_objext
11377 if { (ac_try="$ac_compile"
11378 case "(($ac_try" in
11379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11380 *) ac_try_echo=$ac_try;;
11382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11383 (eval "$ac_compile") 2>conftest.er1
11385 grep -v '^ *+' conftest.er1 >conftest.err
11387 cat conftest.err >&5
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); } && {
11390 test -z "$ac_c_werror_flag" ||
11391 test ! -s conftest.err
11392 } && test -s conftest.$ac_objext; then
11393 eval "$as_ac_Header=yes"
11395 echo "$as_me: failed program was:" >&5
11396 sed 's/^/| /' conftest.$ac_ext >&5
11398 eval "$as_ac_Header=no"
11401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11403 ac_res=`eval echo '${'$as_ac_Header'}'`
11404 { echo "$as_me:$LINENO: result: $ac_res" >&5
11405 echo "${ECHO_T}$ac_res" >&6; }
11406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11407 cat >>confdefs.h <<_ACEOF
11408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11415 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11416 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11417 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11418 echo $ECHO_N "(cached) $ECHO_C" >&6
11420 ac_check_lib_save_LIBS=$LIBS
11421 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11422 cat >conftest.$ac_ext <<_ACEOF
11425 cat confdefs.h >>conftest.$ac_ext
11426 cat >>conftest.$ac_ext <<_ACEOF
11427 /* end confdefs.h. */
11429 /* Override any GCC internal prototype to avoid an error.
11430 Use char because int might match the return type of a GCC
11431 builtin and then its argument prototype would still apply. */
11435 char AuCreateFlow ();
11439 return AuCreateFlow ();
11444 rm -f conftest.$ac_objext conftest$ac_exeext
11445 if { (ac_try="$ac_link"
11446 case "(($ac_try" in
11447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11448 *) ac_try_echo=$ac_try;;
11450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11451 (eval "$ac_link") 2>conftest.er1
11453 grep -v '^ *+' conftest.er1 >conftest.err
11455 cat conftest.err >&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); } && {
11458 test -z "$ac_c_werror_flag" ||
11459 test ! -s conftest.err
11460 } && test -s conftest$ac_exeext &&
11461 $as_test_x conftest$ac_exeext; then
11462 ac_cv_lib_audio_AuCreateFlow=yes
11464 echo "$as_me: failed program was:" >&5
11465 sed 's/^/| /' conftest.$ac_ext >&5
11467 ac_cv_lib_audio_AuCreateFlow=no
11470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11474 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11475 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11476 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11478 cat >>confdefs.h <<\_ACEOF
11482 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11483 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11484 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11485 echo $ECHO_N "(cached) $ECHO_C" >&6
11487 ac_check_lib_save_LIBS=$LIBS
11488 LIBS="-lXau $X_LIBS $LIBS"
11489 cat >conftest.$ac_ext <<_ACEOF
11492 cat confdefs.h >>conftest.$ac_ext
11493 cat >>conftest.$ac_ext <<_ACEOF
11494 /* end confdefs.h. */
11496 /* Override any GCC internal prototype to avoid an error.
11497 Use char because int might match the return type of a GCC
11498 builtin and then its argument prototype would still apply. */
11502 char XauGetBestAuthByAddr ();
11506 return XauGetBestAuthByAddr ();
11511 rm -f conftest.$ac_objext conftest$ac_exeext
11512 if { (ac_try="$ac_link"
11513 case "(($ac_try" in
11514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11515 *) ac_try_echo=$ac_try;;
11517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11518 (eval "$ac_link") 2>conftest.er1
11520 grep -v '^ *+' conftest.er1 >conftest.err
11522 cat conftest.err >&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); } && {
11525 test -z "$ac_c_werror_flag" ||
11526 test ! -s conftest.err
11527 } && test -s conftest$ac_exeext &&
11528 $as_test_x conftest$ac_exeext; then
11529 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11531 echo "$as_me: failed program was:" >&5
11532 sed 's/^/| /' conftest.$ac_ext >&5
11534 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11538 conftest$ac_exeext conftest.$ac_ext
11539 LIBS=$ac_check_lib_save_LIBS
11541 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11542 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11543 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11544 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11546 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11557 CPPFLAGS="$ac_save_CPPFLAGS"
11564 if test "x$XLIB" = "x"; then
11566 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11567 without X support, which probably isn't what you want. You will need to install
11568 development packages of Xlib/Xfree86 at the very least." ;;
11570 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11571 without X support, which probably isn't what you want. You will need to install
11572 development packages of Xlib/Xfree86 at the very least.
11573 This is an error since --with-x was requested." >&5
11574 echo "$as_me: error: X development files not found. Wine will be built
11575 without X support, which probably isn't what you want. You will need to install
11576 development packages of Xlib/Xfree86 at the very least.
11577 This is an error since --with-x was requested." >&2;}
11578 { (exit 1); exit 1; }; } ;;
11592 if test "x$with_xml" != "xno"
11594 ac_save_CPPFLAGS="$CPPFLAGS"
11595 if test "$PKG_CONFIG" != "false"
11597 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11598 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11600 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11601 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11603 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11605 for ac_header in libxml/parser.h
11607 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11612 echo $ECHO_N "(cached) $ECHO_C" >&6
11614 ac_res=`eval echo '${'$as_ac_Header'}'`
11615 { echo "$as_me:$LINENO: result: $ac_res" >&5
11616 echo "${ECHO_T}$ac_res" >&6; }
11618 # Is the header compilable?
11619 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11620 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11621 cat >conftest.$ac_ext <<_ACEOF
11624 cat confdefs.h >>conftest.$ac_ext
11625 cat >>conftest.$ac_ext <<_ACEOF
11626 /* end confdefs.h. */
11627 $ac_includes_default
11628 #include <$ac_header>
11630 rm -f conftest.$ac_objext
11631 if { (ac_try="$ac_compile"
11632 case "(($ac_try" in
11633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11634 *) ac_try_echo=$ac_try;;
11636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11637 (eval "$ac_compile") 2>conftest.er1
11639 grep -v '^ *+' conftest.er1 >conftest.err
11641 cat conftest.err >&5
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); } && {
11644 test -z "$ac_c_werror_flag" ||
11645 test ! -s conftest.err
11646 } && test -s conftest.$ac_objext; then
11647 ac_header_compiler=yes
11649 echo "$as_me: failed program was:" >&5
11650 sed 's/^/| /' conftest.$ac_ext >&5
11652 ac_header_compiler=no
11655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11656 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11657 echo "${ECHO_T}$ac_header_compiler" >&6; }
11659 # Is the header present?
11660 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11661 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11662 cat >conftest.$ac_ext <<_ACEOF
11665 cat confdefs.h >>conftest.$ac_ext
11666 cat >>conftest.$ac_ext <<_ACEOF
11667 /* end confdefs.h. */
11668 #include <$ac_header>
11670 if { (ac_try="$ac_cpp conftest.$ac_ext"
11671 case "(($ac_try" in
11672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11673 *) ac_try_echo=$ac_try;;
11675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11678 grep -v '^ *+' conftest.er1 >conftest.err
11680 cat conftest.err >&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); } >/dev/null && {
11683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11684 test ! -s conftest.err
11686 ac_header_preproc=yes
11688 echo "$as_me: failed program was:" >&5
11689 sed 's/^/| /' conftest.$ac_ext >&5
11691 ac_header_preproc=no
11694 rm -f conftest.err conftest.$ac_ext
11695 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11696 echo "${ECHO_T}$ac_header_preproc" >&6; }
11698 # So? What about this header?
11699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11701 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11702 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11704 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11705 ac_header_preproc=yes
11708 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11709 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11710 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11711 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11712 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11713 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11714 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11715 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11718 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11719 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11721 ## ------------------------------------ ##
11722 ## Report this to wine-devel@winehq.org ##
11723 ## ------------------------------------ ##
11725 ) | sed "s/^/$as_me: WARNING: /" >&2
11728 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11730 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11731 echo $ECHO_N "(cached) $ECHO_C" >&6
11733 eval "$as_ac_Header=\$ac_header_preproc"
11735 ac_res=`eval echo '${'$as_ac_Header'}'`
11736 { echo "$as_me:$LINENO: result: $ac_res" >&5
11737 echo "${ECHO_T}$ac_res" >&6; }
11740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11741 cat >>confdefs.h <<_ACEOF
11742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11744 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11745 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11746 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11747 echo $ECHO_N "(cached) $ECHO_C" >&6
11749 ac_check_lib_save_LIBS=$LIBS
11750 LIBS="-lxml2 $ac_xml_libs $LIBS"
11751 cat >conftest.$ac_ext <<_ACEOF
11754 cat confdefs.h >>conftest.$ac_ext
11755 cat >>conftest.$ac_ext <<_ACEOF
11756 /* end confdefs.h. */
11758 /* Override any GCC internal prototype to avoid an error.
11759 Use char because int might match the return type of a GCC
11760 builtin and then its argument prototype would still apply. */
11764 char xmlParseMemory ();
11768 return xmlParseMemory ();
11773 rm -f conftest.$ac_objext conftest$ac_exeext
11774 if { (ac_try="$ac_link"
11775 case "(($ac_try" in
11776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11777 *) ac_try_echo=$ac_try;;
11779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11780 (eval "$ac_link") 2>conftest.er1
11782 grep -v '^ *+' conftest.er1 >conftest.err
11784 cat conftest.err >&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); } && {
11787 test -z "$ac_c_werror_flag" ||
11788 test ! -s conftest.err
11789 } && test -s conftest$ac_exeext &&
11790 $as_test_x conftest$ac_exeext; then
11791 ac_cv_lib_xml2_xmlParseMemory=yes
11793 echo "$as_me: failed program was:" >&5
11794 sed 's/^/| /' conftest.$ac_ext >&5
11796 ac_cv_lib_xml2_xmlParseMemory=no
11799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11800 conftest$ac_exeext conftest.$ac_ext
11801 LIBS=$ac_check_lib_save_LIBS
11803 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11804 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11805 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11807 cat >>confdefs.h <<\_ACEOF
11808 #define HAVE_LIBXML2 1
11811 XML2LIBS="$ac_xml_libs"
11812 XML2INCL="$ac_xml_cflags"
11815 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11816 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11817 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11818 echo $ECHO_N "(cached) $ECHO_C" >&6
11820 ac_check_lib_save_LIBS=$LIBS
11821 LIBS="-lxml2 $ac_xml_libs $LIBS"
11822 cat >conftest.$ac_ext <<_ACEOF
11825 cat confdefs.h >>conftest.$ac_ext
11826 cat >>conftest.$ac_ext <<_ACEOF
11827 /* end confdefs.h. */
11829 /* Override any GCC internal prototype to avoid an error.
11830 Use char because int might match the return type of a GCC
11831 builtin and then its argument prototype would still apply. */
11835 char xmlReadMemory ();
11839 return xmlReadMemory ();
11844 rm -f conftest.$ac_objext conftest$ac_exeext
11845 if { (ac_try="$ac_link"
11846 case "(($ac_try" in
11847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11848 *) ac_try_echo=$ac_try;;
11850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11851 (eval "$ac_link") 2>conftest.er1
11853 grep -v '^ *+' conftest.er1 >conftest.err
11855 cat conftest.err >&5
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); } && {
11858 test -z "$ac_c_werror_flag" ||
11859 test ! -s conftest.err
11860 } && test -s conftest$ac_exeext &&
11861 $as_test_x conftest$ac_exeext; then
11862 ac_cv_lib_xml2_xmlReadMemory=yes
11864 echo "$as_me: failed program was:" >&5
11865 sed 's/^/| /' conftest.$ac_ext >&5
11867 ac_cv_lib_xml2_xmlReadMemory=no
11870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11871 conftest$ac_exeext conftest.$ac_ext
11872 LIBS=$ac_check_lib_save_LIBS
11874 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11875 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11876 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11878 cat >>confdefs.h <<\_ACEOF
11879 #define HAVE_XMLREADMEMORY 1
11884 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11885 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11886 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11887 echo $ECHO_N "(cached) $ECHO_C" >&6
11889 ac_check_lib_save_LIBS=$LIBS
11890 LIBS="-lxml2 $ac_xml_libs $LIBS"
11891 cat >conftest.$ac_ext <<_ACEOF
11894 cat confdefs.h >>conftest.$ac_ext
11895 cat >>conftest.$ac_ext <<_ACEOF
11896 /* end confdefs.h. */
11898 /* Override any GCC internal prototype to avoid an error.
11899 Use char because int might match the return type of a GCC
11900 builtin and then its argument prototype would still apply. */
11904 char xmlNewDocPI ();
11908 return xmlNewDocPI ();
11913 rm -f conftest.$ac_objext conftest$ac_exeext
11914 if { (ac_try="$ac_link"
11915 case "(($ac_try" in
11916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11917 *) ac_try_echo=$ac_try;;
11919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11920 (eval "$ac_link") 2>conftest.er1
11922 grep -v '^ *+' conftest.er1 >conftest.err
11924 cat conftest.err >&5
11925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); } && {
11927 test -z "$ac_c_werror_flag" ||
11928 test ! -s conftest.err
11929 } && test -s conftest$ac_exeext &&
11930 $as_test_x conftest$ac_exeext; then
11931 ac_cv_lib_xml2_xmlNewDocPI=yes
11933 echo "$as_me: failed program was:" >&5
11934 sed 's/^/| /' conftest.$ac_ext >&5
11936 ac_cv_lib_xml2_xmlNewDocPI=no
11939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11940 conftest$ac_exeext conftest.$ac_ext
11941 LIBS=$ac_check_lib_save_LIBS
11943 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11944 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11945 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11947 cat >>confdefs.h <<\_ACEOF
11948 #define HAVE_XMLNEWDOCPI 1
11958 CPPFLAGS="$ac_save_CPPFLAGS"
11960 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11961 case "x$with_xml" in
11962 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11964 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11965 This is an error since --with-xml was requested." >&5
11966 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11967 This is an error since --with-xml was requested." >&2;}
11968 { (exit 1); exit 1; }; } ;;
11973 if test "x$with_xslt" != "xno"
11975 if test "$PKG_CONFIG" != "false"
11977 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11978 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11980 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11981 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11983 ac_save_CPPFLAGS="$CPPFLAGS"
11984 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11987 for ac_header in libxslt/pattern.h libxslt/transform.h
11989 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11990 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11992 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11993 echo $ECHO_N "(cached) $ECHO_C" >&6
11995 cat >conftest.$ac_ext <<_ACEOF
11998 cat confdefs.h >>conftest.$ac_ext
11999 cat >>conftest.$ac_ext <<_ACEOF
12000 /* end confdefs.h. */
12001 #ifdef HAVE_LIBXSLT_PATTERN_H
12002 # include <libxslt/pattern.h>
12005 #include <$ac_header>
12007 rm -f conftest.$ac_objext
12008 if { (ac_try="$ac_compile"
12009 case "(($ac_try" in
12010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12011 *) ac_try_echo=$ac_try;;
12013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12014 (eval "$ac_compile") 2>conftest.er1
12016 grep -v '^ *+' conftest.er1 >conftest.err
12018 cat conftest.err >&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); } && {
12021 test -z "$ac_c_werror_flag" ||
12022 test ! -s conftest.err
12023 } && test -s conftest.$ac_objext; then
12024 eval "$as_ac_Header=yes"
12026 echo "$as_me: failed program was:" >&5
12027 sed 's/^/| /' conftest.$ac_ext >&5
12029 eval "$as_ac_Header=no"
12032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12034 ac_res=`eval echo '${'$as_ac_Header'}'`
12035 { echo "$as_me:$LINENO: result: $ac_res" >&5
12036 echo "${ECHO_T}$ac_res" >&6; }
12037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12038 cat >>confdefs.h <<_ACEOF
12039 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12046 CPPFLAGS="$ac_save_CPPFLAGS"
12047 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12049 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12050 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12051 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12054 ac_check_lib_save_LIBS=$LIBS
12055 LIBS="-lxslt $ac_xslt_libs $LIBS"
12056 cat >conftest.$ac_ext <<_ACEOF
12059 cat confdefs.h >>conftest.$ac_ext
12060 cat >>conftest.$ac_ext <<_ACEOF
12061 /* end confdefs.h. */
12063 /* Override any GCC internal prototype to avoid an error.
12064 Use char because int might match the return type of a GCC
12065 builtin and then its argument prototype would still apply. */
12069 char xsltCompilePattern ();
12073 return xsltCompilePattern ();
12078 rm -f conftest.$ac_objext conftest$ac_exeext
12079 if { (ac_try="$ac_link"
12080 case "(($ac_try" in
12081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12082 *) ac_try_echo=$ac_try;;
12084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12085 (eval "$ac_link") 2>conftest.er1
12087 grep -v '^ *+' conftest.er1 >conftest.err
12089 cat conftest.err >&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); } && {
12092 test -z "$ac_c_werror_flag" ||
12093 test ! -s conftest.err
12094 } && test -s conftest$ac_exeext &&
12095 $as_test_x conftest$ac_exeext; then
12096 ac_cv_lib_xslt_xsltCompilePattern=yes
12098 echo "$as_me: failed program was:" >&5
12099 sed 's/^/| /' conftest.$ac_ext >&5
12101 ac_cv_lib_xslt_xsltCompilePattern=no
12104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12105 conftest$ac_exeext conftest.$ac_ext
12106 LIBS=$ac_check_lib_save_LIBS
12108 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12109 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12110 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12112 cat >>confdefs.h <<\_ACEOF
12113 #define HAVE_LIBXSLT 1
12116 XSLTLIBS="$ac_xslt_libs"
12117 XSLTINCL="$ac_xslt_cflags"
12118 ac_save_LIBS="$LIBS"
12119 LIBS="$LIBS $ac_xslt_libs"
12121 for ac_func in xsltInit
12123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12124 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12126 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12127 echo $ECHO_N "(cached) $ECHO_C" >&6
12129 cat >conftest.$ac_ext <<_ACEOF
12132 cat confdefs.h >>conftest.$ac_ext
12133 cat >>conftest.$ac_ext <<_ACEOF
12134 /* end confdefs.h. */
12135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12137 #define $ac_func innocuous_$ac_func
12139 /* System header to define __stub macros and hopefully few prototypes,
12140 which can conflict with char $ac_func (); below.
12141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12142 <limits.h> exists even on freestanding compilers. */
12145 # include <limits.h>
12147 # include <assert.h>
12152 /* Override any GCC internal prototype to avoid an error.
12153 Use char because int might match the return type of a GCC
12154 builtin and then its argument prototype would still apply. */
12159 /* The GNU C library defines this for functions which it implements
12160 to always fail with ENOSYS. Some functions are actually named
12161 something starting with __ and the normal name is an alias. */
12162 #if defined __stub_$ac_func || defined __stub___$ac_func
12169 return $ac_func ();
12174 rm -f conftest.$ac_objext conftest$ac_exeext
12175 if { (ac_try="$ac_link"
12176 case "(($ac_try" in
12177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12178 *) ac_try_echo=$ac_try;;
12180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12181 (eval "$ac_link") 2>conftest.er1
12183 grep -v '^ *+' conftest.er1 >conftest.err
12185 cat conftest.err >&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); } && {
12188 test -z "$ac_c_werror_flag" ||
12189 test ! -s conftest.err
12190 } && test -s conftest$ac_exeext &&
12191 $as_test_x conftest$ac_exeext; then
12192 eval "$as_ac_var=yes"
12194 echo "$as_me: failed program was:" >&5
12195 sed 's/^/| /' conftest.$ac_ext >&5
12197 eval "$as_ac_var=no"
12200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12201 conftest$ac_exeext conftest.$ac_ext
12203 ac_res=`eval echo '${'$as_ac_var'}'`
12204 { echo "$as_me:$LINENO: result: $ac_res" >&5
12205 echo "${ECHO_T}$ac_res" >&6; }
12206 if test `eval echo '${'$as_ac_var'}'` = yes; then
12207 cat >>confdefs.h <<_ACEOF
12208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12214 LIBS="$ac_save_LIBS"
12219 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12220 case "x$with_xslt" in
12221 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
12223 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12224 This is an error since --with-xslt was requested." >&5
12225 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12226 This is an error since --with-xslt was requested." >&2;}
12227 { (exit 1); exit 1; }; } ;;
12234 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12236 ac_save_CPPFLAGS="$CPPFLAGS"
12237 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12238 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12239 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12242 for ac_header in dbus/dbus.h hal/libhal.h
12244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12245 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12246 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12249 echo $ECHO_N "(cached) $ECHO_C" >&6
12251 ac_res=`eval echo '${'$as_ac_Header'}'`
12252 { echo "$as_me:$LINENO: result: $ac_res" >&5
12253 echo "${ECHO_T}$ac_res" >&6; }
12255 # Is the header compilable?
12256 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12257 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12258 cat >conftest.$ac_ext <<_ACEOF
12261 cat confdefs.h >>conftest.$ac_ext
12262 cat >>conftest.$ac_ext <<_ACEOF
12263 /* end confdefs.h. */
12264 $ac_includes_default
12265 #include <$ac_header>
12267 rm -f conftest.$ac_objext
12268 if { (ac_try="$ac_compile"
12269 case "(($ac_try" in
12270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12271 *) ac_try_echo=$ac_try;;
12273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12274 (eval "$ac_compile") 2>conftest.er1
12276 grep -v '^ *+' conftest.er1 >conftest.err
12278 cat conftest.err >&5
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); } && {
12281 test -z "$ac_c_werror_flag" ||
12282 test ! -s conftest.err
12283 } && test -s conftest.$ac_objext; then
12284 ac_header_compiler=yes
12286 echo "$as_me: failed program was:" >&5
12287 sed 's/^/| /' conftest.$ac_ext >&5
12289 ac_header_compiler=no
12292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12293 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12294 echo "${ECHO_T}$ac_header_compiler" >&6; }
12296 # Is the header present?
12297 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12298 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12299 cat >conftest.$ac_ext <<_ACEOF
12302 cat confdefs.h >>conftest.$ac_ext
12303 cat >>conftest.$ac_ext <<_ACEOF
12304 /* end confdefs.h. */
12305 #include <$ac_header>
12307 if { (ac_try="$ac_cpp conftest.$ac_ext"
12308 case "(($ac_try" in
12309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12310 *) ac_try_echo=$ac_try;;
12312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12313 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12315 grep -v '^ *+' conftest.er1 >conftest.err
12317 cat conftest.err >&5
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); } >/dev/null && {
12320 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12321 test ! -s conftest.err
12323 ac_header_preproc=yes
12325 echo "$as_me: failed program was:" >&5
12326 sed 's/^/| /' conftest.$ac_ext >&5
12328 ac_header_preproc=no
12331 rm -f conftest.err conftest.$ac_ext
12332 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12333 echo "${ECHO_T}$ac_header_preproc" >&6; }
12335 # So? What about this header?
12336 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12338 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12339 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12341 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12342 ac_header_preproc=yes
12345 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12346 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12347 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12348 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12349 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12350 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12351 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12352 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12354 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12355 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12356 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12358 ## ------------------------------------ ##
12359 ## Report this to wine-devel@winehq.org ##
12360 ## ------------------------------------ ##
12362 ) | sed "s/^/$as_me: WARNING: /" >&2
12365 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12367 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12368 echo $ECHO_N "(cached) $ECHO_C" >&6
12370 eval "$as_ac_Header=\$ac_header_preproc"
12372 ac_res=`eval echo '${'$as_ac_Header'}'`
12373 { echo "$as_me:$LINENO: result: $ac_res" >&5
12374 echo "${ECHO_T}$ac_res" >&6; }
12377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12378 cat >>confdefs.h <<_ACEOF
12379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12386 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12388 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12389 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12390 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12391 echo $ECHO_N "(cached) $ECHO_C" >&6
12393 ac_check_lib_save_LIBS=$LIBS
12394 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12395 cat >conftest.$ac_ext <<_ACEOF
12398 cat confdefs.h >>conftest.$ac_ext
12399 cat >>conftest.$ac_ext <<_ACEOF
12400 /* end confdefs.h. */
12402 /* Override any GCC internal prototype to avoid an error.
12403 Use char because int might match the return type of a GCC
12404 builtin and then its argument prototype would still apply. */
12408 char dbus_connection_close ();
12412 return dbus_connection_close ();
12417 rm -f conftest.$ac_objext conftest$ac_exeext
12418 if { (ac_try="$ac_link"
12419 case "(($ac_try" in
12420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12421 *) ac_try_echo=$ac_try;;
12423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12424 (eval "$ac_link") 2>conftest.er1
12426 grep -v '^ *+' conftest.er1 >conftest.err
12428 cat conftest.err >&5
12429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430 (exit $ac_status); } && {
12431 test -z "$ac_c_werror_flag" ||
12432 test ! -s conftest.err
12433 } && test -s conftest$ac_exeext &&
12434 $as_test_x conftest$ac_exeext; then
12435 ac_cv_lib_dbus_1_dbus_connection_close=yes
12437 echo "$as_me: failed program was:" >&5
12438 sed 's/^/| /' conftest.$ac_ext >&5
12440 ac_cv_lib_dbus_1_dbus_connection_close=no
12443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12444 conftest$ac_exeext conftest.$ac_ext
12445 LIBS=$ac_check_lib_save_LIBS
12447 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12448 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12449 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12450 { echo "$as_me:$LINENO: checking for -lhal" >&5
12451 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12452 if test "${ac_cv_lib_soname_hal+set}" = set; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12455 ac_check_soname_save_LIBS=$LIBS
12456 LIBS="-lhal $ac_hal_libs $LIBS"
12457 cat >conftest.$ac_ext <<_ACEOF
12460 cat confdefs.h >>conftest.$ac_ext
12461 cat >>conftest.$ac_ext <<_ACEOF
12462 /* end confdefs.h. */
12464 /* Override any GCC internal prototype to avoid an error.
12465 Use char because int might match the return type of a GCC
12466 builtin and then its argument prototype would still apply. */
12470 char libhal_ctx_new ();
12474 return libhal_ctx_new ();
12479 rm -f conftest.$ac_objext conftest$ac_exeext
12480 if { (ac_try="$ac_link"
12481 case "(($ac_try" in
12482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12483 *) ac_try_echo=$ac_try;;
12485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12486 (eval "$ac_link") 2>conftest.er1
12488 grep -v '^ *+' conftest.er1 >conftest.err
12490 cat conftest.err >&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); } && {
12493 test -z "$ac_c_werror_flag" ||
12494 test ! -s conftest.err
12495 } && test -s conftest$ac_exeext &&
12496 $as_test_x conftest$ac_exeext; then
12499 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'` ;;
12500 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12503 echo "$as_me: failed program was:" >&5
12504 sed 's/^/| /' conftest.$ac_ext >&5
12509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12510 conftest$ac_exeext conftest.$ac_ext
12511 LIBS=$ac_check_soname_save_LIBS
12513 if test "x$ac_cv_lib_soname_hal" = "x"; then
12514 { echo "$as_me:$LINENO: result: not found" >&5
12515 echo "${ECHO_T}not found" >&6; }
12518 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12519 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12521 cat >>confdefs.h <<_ACEOF
12522 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12525 HALINCL="$ac_hal_cflags"
12531 CPPFLAGS="$ac_save_CPPFLAGS"
12533 if test "x$ac_cv_lib_soname_hal" = "x"; then
12534 case "x$with_hal" in
12535 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12537 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12538 This is an error since --with-hal was requested." >&5
12539 echo "$as_me: error: libhal development files not found, no dynamic device support.
12540 This is an error since --with-hal was requested." >&2;}
12541 { (exit 1); exit 1; }; } ;;
12547 if test "$ac_cv_header_ncurses_h" = "yes"
12549 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12550 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12551 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12552 echo $ECHO_N "(cached) $ECHO_C" >&6
12554 ac_check_soname_save_LIBS=$LIBS
12555 LIBS="-lncurses $LIBS"
12556 cat >conftest.$ac_ext <<_ACEOF
12559 cat confdefs.h >>conftest.$ac_ext
12560 cat >>conftest.$ac_ext <<_ACEOF
12561 /* end confdefs.h. */
12563 /* Override any GCC internal prototype to avoid an error.
12564 Use char because int might match the return type of a GCC
12565 builtin and then its argument prototype would still apply. */
12578 rm -f conftest.$ac_objext conftest$ac_exeext
12579 if { (ac_try="$ac_link"
12580 case "(($ac_try" in
12581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12582 *) ac_try_echo=$ac_try;;
12584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12585 (eval "$ac_link") 2>conftest.er1
12587 grep -v '^ *+' conftest.er1 >conftest.err
12589 cat conftest.err >&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); } && {
12592 test -z "$ac_c_werror_flag" ||
12593 test ! -s conftest.err
12594 } && test -s conftest$ac_exeext &&
12595 $as_test_x conftest$ac_exeext; then
12598 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'` ;;
12599 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12602 echo "$as_me: failed program was:" >&5
12603 sed 's/^/| /' conftest.$ac_ext >&5
12608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12609 conftest$ac_exeext conftest.$ac_ext
12610 LIBS=$ac_check_soname_save_LIBS
12612 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12613 { echo "$as_me:$LINENO: result: not found" >&5
12614 echo "${ECHO_T}not found" >&6; }
12617 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12618 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12620 cat >>confdefs.h <<_ACEOF
12621 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12624 CURSESLIBS="-lncurses"
12627 elif test "$ac_cv_header_curses_h" = "yes"
12629 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12630 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12631 if test "${ac_cv_lib_soname_curses+set}" = set; then
12632 echo $ECHO_N "(cached) $ECHO_C" >&6
12634 ac_check_soname_save_LIBS=$LIBS
12635 LIBS="-lcurses $LIBS"
12636 cat >conftest.$ac_ext <<_ACEOF
12639 cat confdefs.h >>conftest.$ac_ext
12640 cat >>conftest.$ac_ext <<_ACEOF
12641 /* end confdefs.h. */
12643 /* Override any GCC internal prototype to avoid an error.
12644 Use char because int might match the return type of a GCC
12645 builtin and then its argument prototype would still apply. */
12658 rm -f conftest.$ac_objext conftest$ac_exeext
12659 if { (ac_try="$ac_link"
12660 case "(($ac_try" in
12661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12662 *) ac_try_echo=$ac_try;;
12664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12665 (eval "$ac_link") 2>conftest.er1
12667 grep -v '^ *+' conftest.er1 >conftest.err
12669 cat conftest.err >&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); } && {
12672 test -z "$ac_c_werror_flag" ||
12673 test ! -s conftest.err
12674 } && test -s conftest$ac_exeext &&
12675 $as_test_x conftest$ac_exeext; then
12678 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'` ;;
12679 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12682 echo "$as_me: failed program was:" >&5
12683 sed 's/^/| /' conftest.$ac_ext >&5
12688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12689 conftest$ac_exeext conftest.$ac_ext
12690 LIBS=$ac_check_soname_save_LIBS
12692 if test "x$ac_cv_lib_soname_curses" = "x"; then
12693 { echo "$as_me:$LINENO: result: not found" >&5
12694 echo "${ECHO_T}not found" >&6; }
12697 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12698 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12700 cat >>confdefs.h <<_ACEOF
12701 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12704 CURSESLIBS="-lcurses"
12708 ac_save_LIBS="$LIBS"
12709 LIBS="$LIBS $CURSESLIBS"
12711 for ac_func in mousemask
12713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12714 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12716 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12717 echo $ECHO_N "(cached) $ECHO_C" >&6
12719 cat >conftest.$ac_ext <<_ACEOF
12722 cat confdefs.h >>conftest.$ac_ext
12723 cat >>conftest.$ac_ext <<_ACEOF
12724 /* end confdefs.h. */
12725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12727 #define $ac_func innocuous_$ac_func
12729 /* System header to define __stub macros and hopefully few prototypes,
12730 which can conflict with char $ac_func (); below.
12731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12732 <limits.h> exists even on freestanding compilers. */
12735 # include <limits.h>
12737 # include <assert.h>
12742 /* Override any GCC internal prototype to avoid an error.
12743 Use char because int might match the return type of a GCC
12744 builtin and then its argument prototype would still apply. */
12749 /* The GNU C library defines this for functions which it implements
12750 to always fail with ENOSYS. Some functions are actually named
12751 something starting with __ and the normal name is an alias. */
12752 #if defined __stub_$ac_func || defined __stub___$ac_func
12759 return $ac_func ();
12764 rm -f conftest.$ac_objext conftest$ac_exeext
12765 if { (ac_try="$ac_link"
12766 case "(($ac_try" in
12767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12768 *) ac_try_echo=$ac_try;;
12770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12771 (eval "$ac_link") 2>conftest.er1
12773 grep -v '^ *+' conftest.er1 >conftest.err
12775 cat conftest.err >&5
12776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12777 (exit $ac_status); } && {
12778 test -z "$ac_c_werror_flag" ||
12779 test ! -s conftest.err
12780 } && test -s conftest$ac_exeext &&
12781 $as_test_x conftest$ac_exeext; then
12782 eval "$as_ac_var=yes"
12784 echo "$as_me: failed program was:" >&5
12785 sed 's/^/| /' conftest.$ac_ext >&5
12787 eval "$as_ac_var=no"
12790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12791 conftest$ac_exeext conftest.$ac_ext
12793 ac_res=`eval echo '${'$as_ac_var'}'`
12794 { echo "$as_me:$LINENO: result: $ac_res" >&5
12795 echo "${ECHO_T}$ac_res" >&6; }
12796 if test `eval echo '${'$as_ac_var'}'` = yes; then
12797 cat >>confdefs.h <<_ACEOF
12798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12804 LIBS="$ac_save_LIBS"
12805 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12806 case "x$with_curses" in
12807 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12809 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12810 This is an error since --with-curses was requested." >&5
12811 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12812 This is an error since --with-curses was requested." >&2;}
12813 { (exit 1); exit 1; }; } ;;
12818 # Extract the first word of "sane-config", so it can be a program name with args.
12819 set dummy sane-config; ac_word=$2
12820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12822 if test "${ac_cv_prog_sane_devel+set}" = set; then
12823 echo $ECHO_N "(cached) $ECHO_C" >&6
12825 if test -n "$sane_devel"; then
12826 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12829 for as_dir in $PATH
12832 test -z "$as_dir" && as_dir=.
12833 for ac_exec_ext in '' $ac_executable_extensions; do
12834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12835 ac_cv_prog_sane_devel="sane-config"
12836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12843 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12846 sane_devel=$ac_cv_prog_sane_devel
12847 if test -n "$sane_devel"; then
12848 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12849 echo "${ECHO_T}$sane_devel" >&6; }
12851 { echo "$as_me:$LINENO: result: no" >&5
12852 echo "${ECHO_T}no" >&6; }
12856 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12858 ac_sane_incl="`$sane_devel --cflags`"
12859 ac_save_CPPFLAGS="$CPPFLAGS"
12860 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12861 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12862 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12863 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12864 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12865 echo $ECHO_N "(cached) $ECHO_C" >&6
12867 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12868 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12870 # Is the header compilable?
12871 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12872 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12873 cat >conftest.$ac_ext <<_ACEOF
12876 cat confdefs.h >>conftest.$ac_ext
12877 cat >>conftest.$ac_ext <<_ACEOF
12878 /* end confdefs.h. */
12879 $ac_includes_default
12880 #include <sane/sane.h>
12882 rm -f conftest.$ac_objext
12883 if { (ac_try="$ac_compile"
12884 case "(($ac_try" in
12885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12886 *) ac_try_echo=$ac_try;;
12888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12889 (eval "$ac_compile") 2>conftest.er1
12891 grep -v '^ *+' conftest.er1 >conftest.err
12893 cat conftest.err >&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); } && {
12896 test -z "$ac_c_werror_flag" ||
12897 test ! -s conftest.err
12898 } && test -s conftest.$ac_objext; then
12899 ac_header_compiler=yes
12901 echo "$as_me: failed program was:" >&5
12902 sed 's/^/| /' conftest.$ac_ext >&5
12904 ac_header_compiler=no
12907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12908 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12909 echo "${ECHO_T}$ac_header_compiler" >&6; }
12911 # Is the header present?
12912 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12913 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12914 cat >conftest.$ac_ext <<_ACEOF
12917 cat confdefs.h >>conftest.$ac_ext
12918 cat >>conftest.$ac_ext <<_ACEOF
12919 /* end confdefs.h. */
12920 #include <sane/sane.h>
12922 if { (ac_try="$ac_cpp conftest.$ac_ext"
12923 case "(($ac_try" in
12924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12925 *) ac_try_echo=$ac_try;;
12927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12928 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12930 grep -v '^ *+' conftest.er1 >conftest.err
12932 cat conftest.err >&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); } >/dev/null && {
12935 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12936 test ! -s conftest.err
12938 ac_header_preproc=yes
12940 echo "$as_me: failed program was:" >&5
12941 sed 's/^/| /' conftest.$ac_ext >&5
12943 ac_header_preproc=no
12946 rm -f conftest.err conftest.$ac_ext
12947 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12948 echo "${ECHO_T}$ac_header_preproc" >&6; }
12950 # So? What about this header?
12951 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12953 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12954 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12955 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12956 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12957 ac_header_preproc=yes
12960 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12961 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12962 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12963 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12964 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12965 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12966 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12967 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12968 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12969 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12970 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12971 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12973 ## ------------------------------------ ##
12974 ## Report this to wine-devel@winehq.org ##
12975 ## ------------------------------------ ##
12977 ) | sed "s/^/$as_me: WARNING: /" >&2
12980 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12981 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12982 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12983 echo $ECHO_N "(cached) $ECHO_C" >&6
12985 ac_cv_header_sane_sane_h=$ac_header_preproc
12987 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12988 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12991 if test $ac_cv_header_sane_sane_h = yes; then
12992 { echo "$as_me:$LINENO: checking for -lsane" >&5
12993 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12994 if test "${ac_cv_lib_soname_sane+set}" = set; then
12995 echo $ECHO_N "(cached) $ECHO_C" >&6
12997 ac_check_soname_save_LIBS=$LIBS
12998 LIBS="-lsane $LIBS"
12999 cat >conftest.$ac_ext <<_ACEOF
13002 cat confdefs.h >>conftest.$ac_ext
13003 cat >>conftest.$ac_ext <<_ACEOF
13004 /* end confdefs.h. */
13006 /* Override any GCC internal prototype to avoid an error.
13007 Use char because int might match the return type of a GCC
13008 builtin and then its argument prototype would still apply. */
13016 return sane_init ();
13021 rm -f conftest.$ac_objext conftest$ac_exeext
13022 if { (ac_try="$ac_link"
13023 case "(($ac_try" in
13024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13025 *) ac_try_echo=$ac_try;;
13027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13028 (eval "$ac_link") 2>conftest.er1
13030 grep -v '^ *+' conftest.er1 >conftest.err
13032 cat conftest.err >&5
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); } && {
13035 test -z "$ac_c_werror_flag" ||
13036 test ! -s conftest.err
13037 } && test -s conftest$ac_exeext &&
13038 $as_test_x conftest$ac_exeext; then
13041 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'` ;;
13042 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13045 echo "$as_me: failed program was:" >&5
13046 sed 's/^/| /' conftest.$ac_ext >&5
13051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13052 conftest$ac_exeext conftest.$ac_ext
13053 LIBS=$ac_check_soname_save_LIBS
13055 if test "x$ac_cv_lib_soname_sane" = "x"; then
13056 { echo "$as_me:$LINENO: result: not found" >&5
13057 echo "${ECHO_T}not found" >&6; }
13060 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13061 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13063 cat >>confdefs.h <<_ACEOF
13064 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13067 SANEINCL="$ac_sane_incl"
13074 CPPFLAGS="$ac_save_CPPFLAGS"
13076 if test "x$ac_cv_lib_soname_sane" = "x"; then
13077 case "x$with_sane" in
13078 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13080 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13081 This is an error since --with-sane was requested." >&5
13082 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13083 This is an error since --with-sane was requested." >&2;}
13084 { (exit 1); exit 1; }; } ;;
13089 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13090 set dummy gphoto2-config; ac_word=$2
13091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13093 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13094 echo $ECHO_N "(cached) $ECHO_C" >&6
13096 if test -n "$gphoto2_devel"; then
13097 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13100 for as_dir in $PATH
13103 test -z "$as_dir" && as_dir=.
13104 for ac_exec_ext in '' $ac_executable_extensions; do
13105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13106 ac_cv_prog_gphoto2_devel="gphoto2-config"
13107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13114 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13117 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13118 if test -n "$gphoto2_devel"; then
13119 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13120 echo "${ECHO_T}$gphoto2_devel" >&6; }
13122 { echo "$as_me:$LINENO: result: no" >&5
13123 echo "${ECHO_T}no" >&6; }
13127 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13128 set dummy gphoto2-port-config; ac_word=$2
13129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13131 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13132 echo $ECHO_N "(cached) $ECHO_C" >&6
13134 if test -n "$gphoto2port_devel"; then
13135 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13138 for as_dir in $PATH
13141 test -z "$as_dir" && as_dir=.
13142 for ac_exec_ext in '' $ac_executable_extensions; do
13143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13144 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13152 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13155 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13156 if test -n "$gphoto2port_devel"; then
13157 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13158 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13160 { echo "$as_me:$LINENO: result: no" >&5
13161 echo "${ECHO_T}no" >&6; }
13165 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13167 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13169 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13172 -L/usr/lib|-L/usr/lib64) ;;
13173 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13176 ac_save_CPPFLAGS="$CPPFLAGS"
13177 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13178 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13179 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13180 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13181 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13182 echo $ECHO_N "(cached) $ECHO_C" >&6
13184 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13185 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13187 # Is the header compilable?
13188 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13189 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13190 cat >conftest.$ac_ext <<_ACEOF
13193 cat confdefs.h >>conftest.$ac_ext
13194 cat >>conftest.$ac_ext <<_ACEOF
13195 /* end confdefs.h. */
13196 $ac_includes_default
13197 #include <gphoto2-camera.h>
13199 rm -f conftest.$ac_objext
13200 if { (ac_try="$ac_compile"
13201 case "(($ac_try" in
13202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13203 *) ac_try_echo=$ac_try;;
13205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13206 (eval "$ac_compile") 2>conftest.er1
13208 grep -v '^ *+' conftest.er1 >conftest.err
13210 cat conftest.err >&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); } && {
13213 test -z "$ac_c_werror_flag" ||
13214 test ! -s conftest.err
13215 } && test -s conftest.$ac_objext; then
13216 ac_header_compiler=yes
13218 echo "$as_me: failed program was:" >&5
13219 sed 's/^/| /' conftest.$ac_ext >&5
13221 ac_header_compiler=no
13224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13225 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13226 echo "${ECHO_T}$ac_header_compiler" >&6; }
13228 # Is the header present?
13229 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13230 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13231 cat >conftest.$ac_ext <<_ACEOF
13234 cat confdefs.h >>conftest.$ac_ext
13235 cat >>conftest.$ac_ext <<_ACEOF
13236 /* end confdefs.h. */
13237 #include <gphoto2-camera.h>
13239 if { (ac_try="$ac_cpp conftest.$ac_ext"
13240 case "(($ac_try" in
13241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13242 *) ac_try_echo=$ac_try;;
13244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13247 grep -v '^ *+' conftest.er1 >conftest.err
13249 cat conftest.err >&5
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); } >/dev/null && {
13252 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13253 test ! -s conftest.err
13255 ac_header_preproc=yes
13257 echo "$as_me: failed program was:" >&5
13258 sed 's/^/| /' conftest.$ac_ext >&5
13260 ac_header_preproc=no
13263 rm -f conftest.err conftest.$ac_ext
13264 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13265 echo "${ECHO_T}$ac_header_preproc" >&6; }
13267 # So? What about this header?
13268 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13270 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13271 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13272 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13273 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13274 ac_header_preproc=yes
13277 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13278 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13279 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13280 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13281 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13282 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13283 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13284 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13285 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13286 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13287 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13288 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13290 ## ------------------------------------ ##
13291 ## Report this to wine-devel@winehq.org ##
13292 ## ------------------------------------ ##
13294 ) | sed "s/^/$as_me: WARNING: /" >&2
13297 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13298 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13299 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13300 echo $ECHO_N "(cached) $ECHO_C" >&6
13302 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13304 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13305 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13308 if test $ac_cv_header_gphoto2_camera_h = yes; then
13309 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13310 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13311 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13314 ac_check_lib_save_LIBS=$LIBS
13315 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13316 cat >conftest.$ac_ext <<_ACEOF
13319 cat confdefs.h >>conftest.$ac_ext
13320 cat >>conftest.$ac_ext <<_ACEOF
13321 /* end confdefs.h. */
13323 /* Override any GCC internal prototype to avoid an error.
13324 Use char because int might match the return type of a GCC
13325 builtin and then its argument prototype would still apply. */
13329 char gp_camera_new ();
13333 return gp_camera_new ();
13338 rm -f conftest.$ac_objext conftest$ac_exeext
13339 if { (ac_try="$ac_link"
13340 case "(($ac_try" in
13341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13342 *) ac_try_echo=$ac_try;;
13344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13345 (eval "$ac_link") 2>conftest.er1
13347 grep -v '^ *+' conftest.er1 >conftest.err
13349 cat conftest.err >&5
13350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351 (exit $ac_status); } && {
13352 test -z "$ac_c_werror_flag" ||
13353 test ! -s conftest.err
13354 } && test -s conftest$ac_exeext &&
13355 $as_test_x conftest$ac_exeext; then
13356 ac_cv_lib_gphoto2_gp_camera_new=yes
13358 echo "$as_me: failed program was:" >&5
13359 sed 's/^/| /' conftest.$ac_ext >&5
13361 ac_cv_lib_gphoto2_gp_camera_new=no
13364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13365 conftest$ac_exeext conftest.$ac_ext
13366 LIBS=$ac_check_lib_save_LIBS
13368 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13369 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13370 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13372 cat >>confdefs.h <<\_ACEOF
13373 #define HAVE_GPHOTO2 1
13376 GPHOTO2LIBS="$ac_gphoto2_libs"
13378 GPHOTO2INCL="$ac_gphoto2_incl"
13385 CPPFLAGS="$ac_save_CPPFLAGS"
13387 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13388 case "x$with_gphoto" in
13389 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13391 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13392 This is an error since --with-gphoto was requested." >&5
13393 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13394 This is an error since --with-gphoto was requested." >&2;}
13395 { (exit 1); exit 1; }; } ;;
13403 if test "$ac_cv_header_resolv_h" = "yes"
13405 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13406 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13407 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13408 echo $ECHO_N "(cached) $ECHO_C" >&6
13410 ac_check_lib_save_LIBS=$LIBS
13411 LIBS="-lresolv $LIBS"
13412 cat >conftest.$ac_ext <<_ACEOF
13415 cat confdefs.h >>conftest.$ac_ext
13416 cat >>conftest.$ac_ext <<_ACEOF
13417 /* end confdefs.h. */
13419 /* Override any GCC internal prototype to avoid an error.
13420 Use char because int might match the return type of a GCC
13421 builtin and then its argument prototype would still apply. */
13429 return res_query ();
13434 rm -f conftest.$ac_objext conftest$ac_exeext
13435 if { (ac_try="$ac_link"
13436 case "(($ac_try" in
13437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13438 *) ac_try_echo=$ac_try;;
13440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13441 (eval "$ac_link") 2>conftest.er1
13443 grep -v '^ *+' conftest.er1 >conftest.err
13445 cat conftest.err >&5
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); } && {
13448 test -z "$ac_c_werror_flag" ||
13449 test ! -s conftest.err
13450 } && test -s conftest$ac_exeext &&
13451 $as_test_x conftest$ac_exeext; then
13452 ac_cv_lib_resolv_res_query=yes
13454 echo "$as_me: failed program was:" >&5
13455 sed 's/^/| /' conftest.$ac_ext >&5
13457 ac_cv_lib_resolv_res_query=no
13460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13461 conftest$ac_exeext conftest.$ac_ext
13462 LIBS=$ac_check_lib_save_LIBS
13464 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13465 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13466 if test $ac_cv_lib_resolv_res_query = yes; then
13468 cat >>confdefs.h <<\_ACEOF
13469 #define HAVE_RESOLV 1
13472 RESOLVLIBS="-lresolv"
13479 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13481 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13482 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13483 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 ac_check_lib_save_LIBS=$LIBS
13487 LIBS="-llcms $LIBS"
13488 cat >conftest.$ac_ext <<_ACEOF
13491 cat confdefs.h >>conftest.$ac_ext
13492 cat >>conftest.$ac_ext <<_ACEOF
13493 /* end confdefs.h. */
13495 /* Override any GCC internal prototype to avoid an error.
13496 Use char because int might match the return type of a GCC
13497 builtin and then its argument prototype would still apply. */
13501 char cmsOpenProfileFromFile ();
13505 return cmsOpenProfileFromFile ();
13510 rm -f conftest.$ac_objext conftest$ac_exeext
13511 if { (ac_try="$ac_link"
13512 case "(($ac_try" in
13513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13514 *) ac_try_echo=$ac_try;;
13516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13517 (eval "$ac_link") 2>conftest.er1
13519 grep -v '^ *+' conftest.er1 >conftest.err
13521 cat conftest.err >&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); } && {
13524 test -z "$ac_c_werror_flag" ||
13525 test ! -s conftest.err
13526 } && test -s conftest$ac_exeext &&
13527 $as_test_x conftest$ac_exeext; then
13528 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13530 echo "$as_me: failed program was:" >&5
13531 sed 's/^/| /' conftest.$ac_ext >&5
13533 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13537 conftest$ac_exeext conftest.$ac_ext
13538 LIBS=$ac_check_lib_save_LIBS
13540 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13541 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13542 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13544 cat >>confdefs.h <<\_ACEOF
13545 #define HAVE_LCMS 1
13552 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13553 case "x$with_cms" in
13554 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13556 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13557 This is an error since --with-cms was requested." >&5
13558 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13559 This is an error since --with-cms was requested." >&2;}
13560 { (exit 1); exit 1; }; } ;;
13567 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13569 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13570 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13571 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13572 echo $ECHO_N "(cached) $ECHO_C" >&6
13574 ac_check_lib_save_LIBS=$LIBS
13575 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13576 cat >conftest.$ac_ext <<_ACEOF
13579 cat confdefs.h >>conftest.$ac_ext
13580 cat >>conftest.$ac_ext <<_ACEOF
13581 /* end confdefs.h. */
13583 /* Override any GCC internal prototype to avoid an error.
13584 Use char because int might match the return type of a GCC
13585 builtin and then its argument prototype would still apply. */
13589 char ldap_initialize ();
13593 return ldap_initialize ();
13598 rm -f conftest.$ac_objext conftest$ac_exeext
13599 if { (ac_try="$ac_link"
13600 case "(($ac_try" in
13601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13602 *) ac_try_echo=$ac_try;;
13604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13605 (eval "$ac_link") 2>conftest.er1
13607 grep -v '^ *+' conftest.er1 >conftest.err
13609 cat conftest.err >&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } && {
13612 test -z "$ac_c_werror_flag" ||
13613 test ! -s conftest.err
13614 } && test -s conftest$ac_exeext &&
13615 $as_test_x conftest$ac_exeext; then
13616 ac_cv_lib_ldap_r_ldap_initialize=yes
13618 echo "$as_me: failed program was:" >&5
13619 sed 's/^/| /' conftest.$ac_ext >&5
13621 ac_cv_lib_ldap_r_ldap_initialize=no
13624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13625 conftest$ac_exeext conftest.$ac_ext
13626 LIBS=$ac_check_lib_save_LIBS
13628 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13629 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13630 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13631 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13632 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13633 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13634 echo $ECHO_N "(cached) $ECHO_C" >&6
13636 ac_check_lib_save_LIBS=$LIBS
13637 LIBS="-llber $LIBPTHREAD $LIBS"
13638 cat >conftest.$ac_ext <<_ACEOF
13641 cat confdefs.h >>conftest.$ac_ext
13642 cat >>conftest.$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13645 /* Override any GCC internal prototype to avoid an error.
13646 Use char because int might match the return type of a GCC
13647 builtin and then its argument prototype would still apply. */
13655 return ber_init ();
13660 rm -f conftest.$ac_objext conftest$ac_exeext
13661 if { (ac_try="$ac_link"
13662 case "(($ac_try" in
13663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13664 *) ac_try_echo=$ac_try;;
13666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13667 (eval "$ac_link") 2>conftest.er1
13669 grep -v '^ *+' conftest.er1 >conftest.err
13671 cat conftest.err >&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); } && {
13674 test -z "$ac_c_werror_flag" ||
13675 test ! -s conftest.err
13676 } && test -s conftest$ac_exeext &&
13677 $as_test_x conftest$ac_exeext; then
13678 ac_cv_lib_lber_ber_init=yes
13680 echo "$as_me: failed program was:" >&5
13681 sed 's/^/| /' conftest.$ac_ext >&5
13683 ac_cv_lib_lber_ber_init=no
13686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13687 conftest$ac_exeext conftest.$ac_ext
13688 LIBS=$ac_check_lib_save_LIBS
13690 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13691 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13692 if test $ac_cv_lib_lber_ber_init = yes; then
13694 cat >>confdefs.h <<\_ACEOF
13695 #define HAVE_LDAP 1
13698 LDAPLIBS="-lldap_r -llber"
13703 ac_wine_check_funcs_save_LIBS="$LIBS"
13704 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13714 ldap_count_references \
13715 ldap_first_reference \
13716 ldap_next_reference \
13717 ldap_parse_reference \
13718 ldap_parse_sort_control \
13719 ldap_parse_sortresponse_control \
13720 ldap_parse_vlv_control \
13721 ldap_parse_vlvresponse_control
13723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13727 echo $ECHO_N "(cached) $ECHO_C" >&6
13729 cat >conftest.$ac_ext <<_ACEOF
13732 cat confdefs.h >>conftest.$ac_ext
13733 cat >>conftest.$ac_ext <<_ACEOF
13734 /* end confdefs.h. */
13735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13737 #define $ac_func innocuous_$ac_func
13739 /* System header to define __stub macros and hopefully few prototypes,
13740 which can conflict with char $ac_func (); below.
13741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13742 <limits.h> exists even on freestanding compilers. */
13745 # include <limits.h>
13747 # include <assert.h>
13752 /* Override any GCC internal prototype to avoid an error.
13753 Use char because int might match the return type of a GCC
13754 builtin and then its argument prototype would still apply. */
13759 /* The GNU C library defines this for functions which it implements
13760 to always fail with ENOSYS. Some functions are actually named
13761 something starting with __ and the normal name is an alias. */
13762 #if defined __stub_$ac_func || defined __stub___$ac_func
13769 return $ac_func ();
13774 rm -f conftest.$ac_objext conftest$ac_exeext
13775 if { (ac_try="$ac_link"
13776 case "(($ac_try" in
13777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13778 *) ac_try_echo=$ac_try;;
13780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13781 (eval "$ac_link") 2>conftest.er1
13783 grep -v '^ *+' conftest.er1 >conftest.err
13785 cat conftest.err >&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); } && {
13788 test -z "$ac_c_werror_flag" ||
13789 test ! -s conftest.err
13790 } && test -s conftest$ac_exeext &&
13791 $as_test_x conftest$ac_exeext; then
13792 eval "$as_ac_var=yes"
13794 echo "$as_me: failed program was:" >&5
13795 sed 's/^/| /' conftest.$ac_ext >&5
13797 eval "$as_ac_var=no"
13800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13801 conftest$ac_exeext conftest.$ac_ext
13803 ac_res=`eval echo '${'$as_ac_var'}'`
13804 { echo "$as_me:$LINENO: result: $ac_res" >&5
13805 echo "${ECHO_T}$ac_res" >&6; }
13806 if test `eval echo '${'$as_ac_var'}'` = yes; then
13807 cat >>confdefs.h <<_ACEOF
13808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13814 LIBS="$ac_wine_check_funcs_save_LIBS"
13816 if test "x$LDAPLIBS" = "x"; then
13817 case "x$with_ldap" in
13818 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13820 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13821 This is an error since --with-ldap was requested." >&5
13822 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13823 This is an error since --with-ldap was requested." >&2;}
13824 { (exit 1); exit 1; }; } ;;
13829 for ac_prog in freetype-config freetype2-config
13831 # Extract the first word of "$ac_prog", so it can be a program name with args.
13832 set dummy $ac_prog; ac_word=$2
13833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13835 if test "${ac_cv_prog_ft_devel+set}" = set; then
13836 echo $ECHO_N "(cached) $ECHO_C" >&6
13838 if test -n "$ft_devel"; then
13839 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13842 for as_dir in $PATH
13845 test -z "$as_dir" && as_dir=.
13846 for ac_exec_ext in '' $ac_executable_extensions; do
13847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13848 ac_cv_prog_ft_devel="$ac_prog"
13849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13858 ft_devel=$ac_cv_prog_ft_devel
13859 if test -n "$ft_devel"; then
13860 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13861 echo "${ECHO_T}$ft_devel" >&6; }
13863 { echo "$as_me:$LINENO: result: no" >&5
13864 echo "${ECHO_T}no" >&6; }
13868 test -n "$ft_devel" && break
13870 test -n "$ft_devel" || ft_devel="false"
13872 if test "$ft_devel" != "false"
13874 ac_freetype_libs=`$ft_devel --libs`
13875 ac_freetype_incl=`$ft_devel --cflags`
13876 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13877 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13878 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13879 echo $ECHO_N "(cached) $ECHO_C" >&6
13881 ac_check_soname_save_LIBS=$LIBS
13882 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13883 cat >conftest.$ac_ext <<_ACEOF
13886 cat confdefs.h >>conftest.$ac_ext
13887 cat >>conftest.$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13890 /* Override any GCC internal prototype to avoid an error.
13891 Use char because int might match the return type of a GCC
13892 builtin and then its argument prototype would still apply. */
13896 char FT_Init_FreeType ();
13900 return FT_Init_FreeType ();
13905 rm -f conftest.$ac_objext conftest$ac_exeext
13906 if { (ac_try="$ac_link"
13907 case "(($ac_try" in
13908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13909 *) ac_try_echo=$ac_try;;
13911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13912 (eval "$ac_link") 2>conftest.er1
13914 grep -v '^ *+' conftest.er1 >conftest.err
13916 cat conftest.err >&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); } && {
13919 test -z "$ac_c_werror_flag" ||
13920 test ! -s conftest.err
13921 } && test -s conftest$ac_exeext &&
13922 $as_test_x conftest$ac_exeext; then
13925 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'` ;;
13926 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13929 echo "$as_me: failed program was:" >&5
13930 sed 's/^/| /' conftest.$ac_ext >&5
13935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13936 conftest$ac_exeext conftest.$ac_ext
13937 LIBS=$ac_check_soname_save_LIBS
13939 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13940 { echo "$as_me:$LINENO: result: not found" >&5
13941 echo "${ECHO_T}not found" >&6; }
13944 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13945 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13947 cat >>confdefs.h <<_ACEOF
13948 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13954 if test "$ft_lib" = "yes"
13956 ac_save_CPPFLAGS="$CPPFLAGS"
13957 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13970 for ac_header in ft2build.h \
13971 freetype/freetype.h \
13972 freetype/ftglyph.h \
13973 freetype/fttypes.h \
13974 freetype/tttables.h \
13975 freetype/ftnames.h \
13976 freetype/ftsnames.h \
13977 freetype/ttnameid.h \
13978 freetype/ftoutln.h \
13979 freetype/ftwinfnt.h \
13980 freetype/ftmodapi.h \
13981 freetype/internal/sfnt.h
13983 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13984 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13986 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13987 echo $ECHO_N "(cached) $ECHO_C" >&6
13989 cat >conftest.$ac_ext <<_ACEOF
13992 cat confdefs.h >>conftest.$ac_ext
13993 cat >>conftest.$ac_ext <<_ACEOF
13994 /* end confdefs.h. */
13995 #ifdef HAVE_FT2BUILD_H
13996 # include <ft2build.h>
13999 #include <$ac_header>
14001 rm -f conftest.$ac_objext
14002 if { (ac_try="$ac_compile"
14003 case "(($ac_try" in
14004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14005 *) ac_try_echo=$ac_try;;
14007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14008 (eval "$ac_compile") 2>conftest.er1
14010 grep -v '^ *+' conftest.er1 >conftest.err
14012 cat conftest.err >&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); } && {
14015 test -z "$ac_c_werror_flag" ||
14016 test ! -s conftest.err
14017 } && test -s conftest.$ac_objext; then
14018 eval "$as_ac_Header=yes"
14020 echo "$as_me: failed program was:" >&5
14021 sed 's/^/| /' conftest.$ac_ext >&5
14023 eval "$as_ac_Header=no"
14026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14028 ac_res=`eval echo '${'$as_ac_Header'}'`
14029 { echo "$as_me:$LINENO: result: $ac_res" >&5
14030 echo "${ECHO_T}$ac_res" >&6; }
14031 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14032 cat >>confdefs.h <<_ACEOF
14033 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14040 cat >conftest.$ac_ext <<_ACEOF
14043 cat confdefs.h >>conftest.$ac_ext
14044 cat >>conftest.$ac_ext <<_ACEOF
14045 /* end confdefs.h. */
14046 #include <ft2build.h>
14047 #include <freetype/fttrigon.h>
14049 if { (ac_try="$ac_cpp conftest.$ac_ext"
14050 case "(($ac_try" in
14051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14052 *) ac_try_echo=$ac_try;;
14054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14055 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14057 grep -v '^ *+' conftest.er1 >conftest.err
14059 cat conftest.err >&5
14060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061 (exit $ac_status); } >/dev/null && {
14062 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14063 test ! -s conftest.err
14066 cat >>confdefs.h <<\_ACEOF
14067 #define HAVE_FREETYPE_FTTRIGON_H 1
14070 wine_cv_fttrigon=yes
14072 echo "$as_me: failed program was:" >&5
14073 sed 's/^/| /' conftest.$ac_ext >&5
14075 wine_cv_fttrigon=no
14078 rm -f conftest.err conftest.$ac_ext
14079 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14080 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14081 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14082 echo $ECHO_N "(cached) $ECHO_C" >&6
14084 cat >conftest.$ac_ext <<_ACEOF
14087 cat confdefs.h >>conftest.$ac_ext
14088 cat >>conftest.$ac_ext <<_ACEOF
14089 /* end confdefs.h. */
14090 #include <freetype/ftmodapi.h>
14092 typedef FT_TrueTypeEngineType ac__type_new_;
14096 if ((ac__type_new_ *) 0)
14098 if (sizeof (ac__type_new_))
14104 rm -f conftest.$ac_objext
14105 if { (ac_try="$ac_compile"
14106 case "(($ac_try" in
14107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14108 *) ac_try_echo=$ac_try;;
14110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14111 (eval "$ac_compile") 2>conftest.er1
14113 grep -v '^ *+' conftest.er1 >conftest.err
14115 cat conftest.err >&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); } && {
14118 test -z "$ac_c_werror_flag" ||
14119 test ! -s conftest.err
14120 } && test -s conftest.$ac_objext; then
14121 ac_cv_type_FT_TrueTypeEngineType=yes
14123 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.$ac_ext >&5
14126 ac_cv_type_FT_TrueTypeEngineType=no
14129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14131 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14132 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14133 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14135 cat >>confdefs.h <<_ACEOF
14136 #define HAVE_FT_TRUETYPEENGINETYPE 1
14142 ac_save_CFLAGS="$CFLAGS"
14143 CFLAGS="$CFLAGS $ac_freetype_libs"
14145 for ac_func in FT_Load_Sfnt_Table
14147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14148 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14150 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14151 echo $ECHO_N "(cached) $ECHO_C" >&6
14153 cat >conftest.$ac_ext <<_ACEOF
14156 cat confdefs.h >>conftest.$ac_ext
14157 cat >>conftest.$ac_ext <<_ACEOF
14158 /* end confdefs.h. */
14159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14161 #define $ac_func innocuous_$ac_func
14163 /* System header to define __stub macros and hopefully few prototypes,
14164 which can conflict with char $ac_func (); below.
14165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14166 <limits.h> exists even on freestanding compilers. */
14169 # include <limits.h>
14171 # include <assert.h>
14176 /* Override any GCC internal prototype to avoid an error.
14177 Use char because int might match the return type of a GCC
14178 builtin and then its argument prototype would still apply. */
14183 /* The GNU C library defines this for functions which it implements
14184 to always fail with ENOSYS. Some functions are actually named
14185 something starting with __ and the normal name is an alias. */
14186 #if defined __stub_$ac_func || defined __stub___$ac_func
14193 return $ac_func ();
14198 rm -f conftest.$ac_objext conftest$ac_exeext
14199 if { (ac_try="$ac_link"
14200 case "(($ac_try" in
14201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14202 *) ac_try_echo=$ac_try;;
14204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14205 (eval "$ac_link") 2>conftest.er1
14207 grep -v '^ *+' conftest.er1 >conftest.err
14209 cat conftest.err >&5
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); } && {
14212 test -z "$ac_c_werror_flag" ||
14213 test ! -s conftest.err
14214 } && test -s conftest$ac_exeext &&
14215 $as_test_x conftest$ac_exeext; then
14216 eval "$as_ac_var=yes"
14218 echo "$as_me: failed program was:" >&5
14219 sed 's/^/| /' conftest.$ac_ext >&5
14221 eval "$as_ac_var=no"
14224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14225 conftest$ac_exeext conftest.$ac_ext
14227 ac_res=`eval echo '${'$as_ac_var'}'`
14228 { echo "$as_me:$LINENO: result: $ac_res" >&5
14229 echo "${ECHO_T}$ac_res" >&6; }
14230 if test `eval echo '${'$as_ac_var'}'` = yes; then
14231 cat >>confdefs.h <<_ACEOF
14232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14238 CFLAGS="$ac_save_CFLAGS"
14239 CPPFLAGS="$ac_save_CPPFLAGS"
14240 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14243 cat >>confdefs.h <<\_ACEOF
14244 #define HAVE_FREETYPE 1
14247 FREETYPELIBS="$ac_freetype_libs"
14249 FREETYPEINCL="$ac_freetype_incl"
14255 if test "x$FREETYPELIBS" = "x"
14257 wine_warnings="$wine_warnings|FreeType development files not found.
14258 Fonts will not be built. Dialog text may be invisible or unaligned."
14260 FONTSSUBDIRS="fonts"
14264 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14265 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14266 if test "${ac_cv_c_ppdev+set}" = set; then
14267 echo $ECHO_N "(cached) $ECHO_C" >&6
14269 cat >conftest.$ac_ext <<_ACEOF
14272 cat confdefs.h >>conftest.$ac_ext
14273 cat >>conftest.$ac_ext <<_ACEOF
14274 /* end confdefs.h. */
14275 #include <linux/ppdev.h>
14279 ioctl (1,PPCLAIM,0)
14284 rm -f conftest.$ac_objext
14285 if { (ac_try="$ac_compile"
14286 case "(($ac_try" in
14287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14288 *) ac_try_echo=$ac_try;;
14290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14291 (eval "$ac_compile") 2>conftest.er1
14293 grep -v '^ *+' conftest.er1 >conftest.err
14295 cat conftest.err >&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); } && {
14298 test -z "$ac_c_werror_flag" ||
14299 test ! -s conftest.err
14300 } && test -s conftest.$ac_objext; then
14301 ac_cv_c_ppdev="yes"
14303 echo "$as_me: failed program was:" >&5
14304 sed 's/^/| /' conftest.$ac_ext >&5
14309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14311 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14312 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14313 if test "$ac_cv_c_ppdev" = "yes"
14316 cat >>confdefs.h <<\_ACEOF
14317 #define HAVE_PPDEV 1
14322 { echo "$as_me:$LINENO: checking for va_copy" >&5
14323 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14324 if test "${ac_cv_c_va_copy+set}" = set; then
14325 echo $ECHO_N "(cached) $ECHO_C" >&6
14327 cat >conftest.$ac_ext <<_ACEOF
14330 cat confdefs.h >>conftest.$ac_ext
14331 cat >>conftest.$ac_ext <<_ACEOF
14332 /* end confdefs.h. */
14333 #include <stdarg.h>
14337 va_list ap1, ap2; va_copy(ap1,ap2);
14342 rm -f conftest.$ac_objext conftest$ac_exeext
14343 if { (ac_try="$ac_link"
14344 case "(($ac_try" in
14345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14346 *) ac_try_echo=$ac_try;;
14348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14349 (eval "$ac_link") 2>conftest.er1
14351 grep -v '^ *+' conftest.er1 >conftest.err
14353 cat conftest.err >&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); } && {
14356 test -z "$ac_c_werror_flag" ||
14357 test ! -s conftest.err
14358 } && test -s conftest$ac_exeext &&
14359 $as_test_x conftest$ac_exeext; then
14360 ac_cv_c_va_copy="yes"
14362 echo "$as_me: failed program was:" >&5
14363 sed 's/^/| /' conftest.$ac_ext >&5
14365 ac_cv_c_va_copy="no"
14368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14369 conftest$ac_exeext conftest.$ac_ext
14372 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14373 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14374 if test "$ac_cv_c_va_copy" = "yes"
14377 cat >>confdefs.h <<\_ACEOF
14378 #define HAVE_VA_COPY 1
14382 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14383 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14384 if test "${ac_cv_c___va_copy+set}" = set; then
14385 echo $ECHO_N "(cached) $ECHO_C" >&6
14387 cat >conftest.$ac_ext <<_ACEOF
14390 cat confdefs.h >>conftest.$ac_ext
14391 cat >>conftest.$ac_ext <<_ACEOF
14392 /* end confdefs.h. */
14393 #include <stdarg.h>
14397 va_list ap1, ap2; __va_copy(ap1,ap2);
14402 rm -f conftest.$ac_objext conftest$ac_exeext
14403 if { (ac_try="$ac_link"
14404 case "(($ac_try" in
14405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14406 *) ac_try_echo=$ac_try;;
14408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14409 (eval "$ac_link") 2>conftest.er1
14411 grep -v '^ *+' conftest.er1 >conftest.err
14413 cat conftest.err >&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); } && {
14416 test -z "$ac_c_werror_flag" ||
14417 test ! -s conftest.err
14418 } && test -s conftest$ac_exeext &&
14419 $as_test_x conftest$ac_exeext; then
14420 ac_cv_c___va_copy="yes"
14422 echo "$as_me: failed program was:" >&5
14423 sed 's/^/| /' conftest.$ac_ext >&5
14425 ac_cv_c___va_copy="no"
14428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14429 conftest$ac_exeext conftest.$ac_ext
14432 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14433 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14434 if test "$ac_cv_c___va_copy" = "yes"
14437 cat >>confdefs.h <<\_ACEOF
14438 #define HAVE___VA_COPY 1
14443 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14444 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14445 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14446 echo $ECHO_N "(cached) $ECHO_C" >&6
14448 cat >conftest.$ac_ext <<_ACEOF
14451 cat confdefs.h >>conftest.$ac_ext
14452 cat >>conftest.$ac_ext <<_ACEOF
14453 /* end confdefs.h. */
14454 #include <setjmp.h>
14459 sigsetjmp( buf, 1 );
14460 siglongjmp( buf, 1 );
14465 rm -f conftest.$ac_objext conftest$ac_exeext
14466 if { (ac_try="$ac_link"
14467 case "(($ac_try" in
14468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14469 *) ac_try_echo=$ac_try;;
14471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14472 (eval "$ac_link") 2>conftest.er1
14474 grep -v '^ *+' conftest.er1 >conftest.err
14476 cat conftest.err >&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); } && {
14479 test -z "$ac_c_werror_flag" ||
14480 test ! -s conftest.err
14481 } && test -s conftest$ac_exeext &&
14482 $as_test_x conftest$ac_exeext; then
14483 ac_cv_c_sigsetjmp="yes"
14485 echo "$as_me: failed program was:" >&5
14486 sed 's/^/| /' conftest.$ac_ext >&5
14488 ac_cv_c_sigsetjmp="no"
14491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14492 conftest$ac_exeext conftest.$ac_ext
14495 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14496 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14497 if test "$ac_cv_c_sigsetjmp" = "yes"
14500 cat >>confdefs.h <<\_ACEOF
14501 #define HAVE_SIGSETJMP 1
14506 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14507 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14508 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14511 cat >conftest.$ac_ext <<_ACEOF
14514 cat confdefs.h >>conftest.$ac_ext
14515 cat >>conftest.$ac_ext <<_ACEOF
14516 /* end confdefs.h. */
14517 #define _GNU_SOURCE
14518 #include <pthread.h>
14520 typedef pthread_rwlock_t ac__type_new_;
14524 if ((ac__type_new_ *) 0)
14526 if (sizeof (ac__type_new_))
14532 rm -f conftest.$ac_objext
14533 if { (ac_try="$ac_compile"
14534 case "(($ac_try" in
14535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14536 *) ac_try_echo=$ac_try;;
14538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14539 (eval "$ac_compile") 2>conftest.er1
14541 grep -v '^ *+' conftest.er1 >conftest.err
14543 cat conftest.err >&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); } && {
14546 test -z "$ac_c_werror_flag" ||
14547 test ! -s conftest.err
14548 } && test -s conftest.$ac_objext; then
14549 ac_cv_type_pthread_rwlock_t=yes
14551 echo "$as_me: failed program was:" >&5
14552 sed 's/^/| /' conftest.$ac_ext >&5
14554 ac_cv_type_pthread_rwlock_t=no
14557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14559 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14560 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14561 if test $ac_cv_type_pthread_rwlock_t = yes; then
14563 cat >>confdefs.h <<_ACEOF
14564 #define HAVE_PTHREAD_RWLOCK_T 1
14569 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14570 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14571 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14572 echo $ECHO_N "(cached) $ECHO_C" >&6
14574 cat >conftest.$ac_ext <<_ACEOF
14577 cat confdefs.h >>conftest.$ac_ext
14578 cat >>conftest.$ac_ext <<_ACEOF
14579 /* end confdefs.h. */
14580 #define _GNU_SOURCE
14581 #include <pthread.h>
14583 typedef pthread_rwlockattr_t ac__type_new_;
14587 if ((ac__type_new_ *) 0)
14589 if (sizeof (ac__type_new_))
14595 rm -f conftest.$ac_objext
14596 if { (ac_try="$ac_compile"
14597 case "(($ac_try" in
14598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14599 *) ac_try_echo=$ac_try;;
14601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14602 (eval "$ac_compile") 2>conftest.er1
14604 grep -v '^ *+' conftest.er1 >conftest.err
14606 cat conftest.err >&5
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); } && {
14609 test -z "$ac_c_werror_flag" ||
14610 test ! -s conftest.err
14611 } && test -s conftest.$ac_objext; then
14612 ac_cv_type_pthread_rwlockattr_t=yes
14614 echo "$as_me: failed program was:" >&5
14615 sed 's/^/| /' conftest.$ac_ext >&5
14617 ac_cv_type_pthread_rwlockattr_t=no
14620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14622 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14623 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14624 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14626 cat >>confdefs.h <<_ACEOF
14627 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14634 ac_wine_check_funcs_save_LIBS="$LIBS"
14635 LIBS="$LIBS $LIBPTHREAD"
14641 pthread_attr_get_np \
14642 pthread_getattr_np \
14643 pthread_get_stackaddr_np \
14644 pthread_get_stacksize_np
14646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14649 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14650 echo $ECHO_N "(cached) $ECHO_C" >&6
14652 cat >conftest.$ac_ext <<_ACEOF
14655 cat confdefs.h >>conftest.$ac_ext
14656 cat >>conftest.$ac_ext <<_ACEOF
14657 /* end confdefs.h. */
14658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14660 #define $ac_func innocuous_$ac_func
14662 /* System header to define __stub macros and hopefully few prototypes,
14663 which can conflict with char $ac_func (); below.
14664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14665 <limits.h> exists even on freestanding compilers. */
14668 # include <limits.h>
14670 # include <assert.h>
14675 /* Override any GCC internal prototype to avoid an error.
14676 Use char because int might match the return type of a GCC
14677 builtin and then its argument prototype would still apply. */
14682 /* The GNU C library defines this for functions which it implements
14683 to always fail with ENOSYS. Some functions are actually named
14684 something starting with __ and the normal name is an alias. */
14685 #if defined __stub_$ac_func || defined __stub___$ac_func
14692 return $ac_func ();
14697 rm -f conftest.$ac_objext conftest$ac_exeext
14698 if { (ac_try="$ac_link"
14699 case "(($ac_try" in
14700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14701 *) ac_try_echo=$ac_try;;
14703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14704 (eval "$ac_link") 2>conftest.er1
14706 grep -v '^ *+' conftest.er1 >conftest.err
14708 cat conftest.err >&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); } && {
14711 test -z "$ac_c_werror_flag" ||
14712 test ! -s conftest.err
14713 } && test -s conftest$ac_exeext &&
14714 $as_test_x conftest$ac_exeext; then
14715 eval "$as_ac_var=yes"
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.$ac_ext >&5
14720 eval "$as_ac_var=no"
14723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14724 conftest$ac_exeext conftest.$ac_ext
14726 ac_res=`eval echo '${'$as_ac_var'}'`
14727 { echo "$as_me:$LINENO: result: $ac_res" >&5
14728 echo "${ECHO_T}$ac_res" >&6; }
14729 if test `eval echo '${'$as_ac_var'}'` = yes; then
14730 cat >>confdefs.h <<_ACEOF
14731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14737 LIBS="$ac_wine_check_funcs_save_LIBS"
14739 # Extract the first word of "esd-config", so it can be a program name with args.
14740 set dummy esd-config; ac_word=$2
14741 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14743 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14744 echo $ECHO_N "(cached) $ECHO_C" >&6
14748 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14752 for as_dir in $PATH
14755 test -z "$as_dir" && as_dir=.
14756 for ac_exec_ext in '' $ac_executable_extensions; do
14757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14758 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14769 ESDCONFIG=$ac_cv_path_ESDCONFIG
14770 if test -n "$ESDCONFIG"; then
14771 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14772 echo "${ECHO_T}$ESDCONFIG" >&6; }
14774 { echo "$as_me:$LINENO: result: no" >&5
14775 echo "${ECHO_T}no" >&6; }
14779 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14782 for i in `$ESDCONFIG --cflags`
14785 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14788 ESD_LIBS=`$ESDCONFIG --libs`
14789 save_CFLAGS="$CFLAGS"
14790 CFLAGS="$CFLAGS $ESD_CFLAGS"
14791 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14792 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14793 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14794 echo $ECHO_N "(cached) $ECHO_C" >&6
14796 ac_check_lib_save_LIBS=$LIBS
14798 cat >conftest.$ac_ext <<_ACEOF
14801 cat confdefs.h >>conftest.$ac_ext
14802 cat >>conftest.$ac_ext <<_ACEOF
14803 /* end confdefs.h. */
14805 /* Override any GCC internal prototype to avoid an error.
14806 Use char because int might match the return type of a GCC
14807 builtin and then its argument prototype would still apply. */
14811 char esd_open_sound ();
14815 return esd_open_sound ();
14820 rm -f conftest.$ac_objext conftest$ac_exeext
14821 if { (ac_try="$ac_link"
14822 case "(($ac_try" in
14823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14824 *) ac_try_echo=$ac_try;;
14826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14827 (eval "$ac_link") 2>conftest.er1
14829 grep -v '^ *+' conftest.er1 >conftest.err
14831 cat conftest.err >&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); } && {
14834 test -z "$ac_c_werror_flag" ||
14835 test ! -s conftest.err
14836 } && test -s conftest$ac_exeext &&
14837 $as_test_x conftest$ac_exeext; then
14838 ac_cv_lib_esd_esd_open_sound=yes
14840 echo "$as_me: failed program was:" >&5
14841 sed 's/^/| /' conftest.$ac_ext >&5
14843 ac_cv_lib_esd_esd_open_sound=no
14846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14847 conftest$ac_exeext conftest.$ac_ext
14848 LIBS=$ac_check_lib_save_LIBS
14850 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14851 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14852 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14855 ESDINCL=$ESD_CFLAGS
14858 cat >>confdefs.h <<\_ACEOF
14864 CFLAGS="$save_CFLAGS"
14869 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14871 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14872 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14873 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14874 echo $ECHO_N "(cached) $ECHO_C" >&6
14876 ac_check_lib_save_LIBS=$LIBS
14877 LIBS="-lasound $LIBS"
14878 cat >conftest.$ac_ext <<_ACEOF
14881 cat confdefs.h >>conftest.$ac_ext
14882 cat >>conftest.$ac_ext <<_ACEOF
14883 /* end confdefs.h. */
14885 /* Override any GCC internal prototype to avoid an error.
14886 Use char because int might match the return type of a GCC
14887 builtin and then its argument prototype would still apply. */
14891 char snd_pcm_hw_params_get_access ();
14895 return snd_pcm_hw_params_get_access ();
14900 rm -f conftest.$ac_objext conftest$ac_exeext
14901 if { (ac_try="$ac_link"
14902 case "(($ac_try" in
14903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14904 *) ac_try_echo=$ac_try;;
14906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14907 (eval "$ac_link") 2>conftest.er1
14909 grep -v '^ *+' conftest.er1 >conftest.err
14911 cat conftest.err >&5
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); } && {
14914 test -z "$ac_c_werror_flag" ||
14915 test ! -s conftest.err
14916 } && test -s conftest$ac_exeext &&
14917 $as_test_x conftest$ac_exeext; then
14918 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14920 echo "$as_me: failed program was:" >&5
14921 sed 's/^/| /' conftest.$ac_ext >&5
14923 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14927 conftest$ac_exeext conftest.$ac_ext
14928 LIBS=$ac_check_lib_save_LIBS
14930 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14931 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14932 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14933 cat >conftest.$ac_ext <<_ACEOF
14936 cat confdefs.h >>conftest.$ac_ext
14937 cat >>conftest.$ac_ext <<_ACEOF
14938 /* end confdefs.h. */
14939 #ifdef HAVE_ALSA_ASOUNDLIB_H
14940 #include <alsa/asoundlib.h>
14941 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14942 #include <sys/asoundlib.h>
14947 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14952 rm -f conftest.$ac_objext
14953 if { (ac_try="$ac_compile"
14954 case "(($ac_try" in
14955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14956 *) ac_try_echo=$ac_try;;
14958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14959 (eval "$ac_compile") 2>conftest.er1
14961 grep -v '^ *+' conftest.er1 >conftest.err
14963 cat conftest.err >&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); } && {
14966 test -z "$ac_c_werror_flag" ||
14967 test ! -s conftest.err
14968 } && test -s conftest.$ac_objext; then
14970 cat >>confdefs.h <<\_ACEOF
14971 #define HAVE_ALSA 1
14974 ALSALIBS="-lasound"
14976 echo "$as_me: failed program was:" >&5
14977 sed 's/^/| /' conftest.$ac_ext >&5
14982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14989 if test "$ac_cv_header_libaudioio_h" = "yes"
14991 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14992 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14993 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14994 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 ac_check_lib_save_LIBS=$LIBS
14997 LIBS="-laudioio $LIBS"
14998 cat >conftest.$ac_ext <<_ACEOF
15001 cat confdefs.h >>conftest.$ac_ext
15002 cat >>conftest.$ac_ext <<_ACEOF
15003 /* end confdefs.h. */
15005 /* Override any GCC internal prototype to avoid an error.
15006 Use char because int might match the return type of a GCC
15007 builtin and then its argument prototype would still apply. */
15011 char AudioIOGetVersion ();
15015 return AudioIOGetVersion ();
15020 rm -f conftest.$ac_objext conftest$ac_exeext
15021 if { (ac_try="$ac_link"
15022 case "(($ac_try" in
15023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15024 *) ac_try_echo=$ac_try;;
15026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15027 (eval "$ac_link") 2>conftest.er1
15029 grep -v '^ *+' conftest.er1 >conftest.err
15031 cat conftest.err >&5
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); } && {
15034 test -z "$ac_c_werror_flag" ||
15035 test ! -s conftest.err
15036 } && test -s conftest$ac_exeext &&
15037 $as_test_x conftest$ac_exeext; then
15038 ac_cv_lib_audioio_AudioIOGetVersion=yes
15040 echo "$as_me: failed program was:" >&5
15041 sed 's/^/| /' conftest.$ac_ext >&5
15043 ac_cv_lib_audioio_AudioIOGetVersion=no
15046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15047 conftest$ac_exeext conftest.$ac_ext
15048 LIBS=$ac_check_lib_save_LIBS
15050 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15051 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15052 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15053 AUDIOIOLIBS="-laudioio"
15055 cat >>confdefs.h <<\_ACEOF
15056 #define HAVE_LIBAUDIOIO 1
15064 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15066 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15067 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15068 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15069 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 ac_check_soname_save_LIBS=$LIBS
15072 LIBS="-lcapi20 $LIBS"
15073 cat >conftest.$ac_ext <<_ACEOF
15076 cat confdefs.h >>conftest.$ac_ext
15077 cat >>conftest.$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15080 /* Override any GCC internal prototype to avoid an error.
15081 Use char because int might match the return type of a GCC
15082 builtin and then its argument prototype would still apply. */
15086 char capi20_register ();
15090 return capi20_register ();
15095 rm -f conftest.$ac_objext conftest$ac_exeext
15096 if { (ac_try="$ac_link"
15097 case "(($ac_try" in
15098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15099 *) ac_try_echo=$ac_try;;
15101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15102 (eval "$ac_link") 2>conftest.er1
15104 grep -v '^ *+' conftest.er1 >conftest.err
15106 cat conftest.err >&5
15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108 (exit $ac_status); } && {
15109 test -z "$ac_c_werror_flag" ||
15110 test ! -s conftest.err
15111 } && test -s conftest$ac_exeext &&
15112 $as_test_x conftest$ac_exeext; then
15115 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'` ;;
15116 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15119 echo "$as_me: failed program was:" >&5
15120 sed 's/^/| /' conftest.$ac_ext >&5
15125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15126 conftest$ac_exeext conftest.$ac_ext
15127 LIBS=$ac_check_soname_save_LIBS
15129 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15130 { echo "$as_me:$LINENO: result: not found" >&5
15131 echo "${ECHO_T}not found" >&6; }
15134 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15135 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15137 cat >>confdefs.h <<_ACEOF
15138 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15145 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15146 case "x$with_capi" in
15147 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15149 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15150 This is an error since --with-capi was requested." >&5
15151 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15152 This is an error since --with-capi was requested." >&2;}
15153 { (exit 1); exit 1; }; } ;;
15158 if test "$ac_cv_header_cups_cups_h" = "yes"
15160 { echo "$as_me:$LINENO: checking for -lcups" >&5
15161 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15162 if test "${ac_cv_lib_soname_cups+set}" = set; then
15163 echo $ECHO_N "(cached) $ECHO_C" >&6
15165 ac_check_soname_save_LIBS=$LIBS
15166 LIBS="-lcups $LIBS"
15167 cat >conftest.$ac_ext <<_ACEOF
15170 cat confdefs.h >>conftest.$ac_ext
15171 cat >>conftest.$ac_ext <<_ACEOF
15172 /* end confdefs.h. */
15174 /* Override any GCC internal prototype to avoid an error.
15175 Use char because int might match the return type of a GCC
15176 builtin and then its argument prototype would still apply. */
15180 char cupsGetDefault ();
15184 return cupsGetDefault ();
15189 rm -f conftest.$ac_objext conftest$ac_exeext
15190 if { (ac_try="$ac_link"
15191 case "(($ac_try" in
15192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15193 *) ac_try_echo=$ac_try;;
15195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15196 (eval "$ac_link") 2>conftest.er1
15198 grep -v '^ *+' conftest.er1 >conftest.err
15200 cat conftest.err >&5
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); } && {
15203 test -z "$ac_c_werror_flag" ||
15204 test ! -s conftest.err
15205 } && test -s conftest$ac_exeext &&
15206 $as_test_x conftest$ac_exeext; then
15209 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'` ;;
15210 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15213 echo "$as_me: failed program was:" >&5
15214 sed 's/^/| /' conftest.$ac_ext >&5
15219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15220 conftest$ac_exeext conftest.$ac_ext
15221 LIBS=$ac_check_soname_save_LIBS
15223 if test "x$ac_cv_lib_soname_cups" = "x"; then
15224 { echo "$as_me:$LINENO: result: not found" >&5
15225 echo "${ECHO_T}not found" >&6; }
15228 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15229 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15231 cat >>confdefs.h <<_ACEOF
15232 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15239 if test "x$ac_cv_lib_soname_cups" = "x"; then
15240 case "x$with_cups" in
15241 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15243 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15244 This is an error since --with-cups was requested." >&5
15245 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15246 This is an error since --with-cups was requested." >&2;}
15247 { (exit 1); exit 1; }; } ;;
15252 if test "$ac_cv_header_jack_jack_h" = "yes"
15254 { echo "$as_me:$LINENO: checking for -ljack" >&5
15255 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15256 if test "${ac_cv_lib_soname_jack+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15259 ac_check_soname_save_LIBS=$LIBS
15260 LIBS="-ljack $LIBS"
15261 cat >conftest.$ac_ext <<_ACEOF
15264 cat confdefs.h >>conftest.$ac_ext
15265 cat >>conftest.$ac_ext <<_ACEOF
15266 /* end confdefs.h. */
15268 /* Override any GCC internal prototype to avoid an error.
15269 Use char because int might match the return type of a GCC
15270 builtin and then its argument prototype would still apply. */
15274 char jack_client_new ();
15278 return jack_client_new ();
15283 rm -f conftest.$ac_objext conftest$ac_exeext
15284 if { (ac_try="$ac_link"
15285 case "(($ac_try" in
15286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15287 *) ac_try_echo=$ac_try;;
15289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15290 (eval "$ac_link") 2>conftest.er1
15292 grep -v '^ *+' conftest.er1 >conftest.err
15294 cat conftest.err >&5
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); } && {
15297 test -z "$ac_c_werror_flag" ||
15298 test ! -s conftest.err
15299 } && test -s conftest$ac_exeext &&
15300 $as_test_x conftest$ac_exeext; then
15303 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'` ;;
15304 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15307 echo "$as_me: failed program was:" >&5
15308 sed 's/^/| /' conftest.$ac_ext >&5
15313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15314 conftest$ac_exeext conftest.$ac_ext
15315 LIBS=$ac_check_soname_save_LIBS
15317 if test "x$ac_cv_lib_soname_jack" = "x"; then
15318 { echo "$as_me:$LINENO: result: not found" >&5
15319 echo "${ECHO_T}not found" >&6; }
15322 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15323 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15325 cat >>confdefs.h <<_ACEOF
15326 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15334 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15336 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15337 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15338 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15339 echo $ECHO_N "(cached) $ECHO_C" >&6
15341 ac_check_soname_save_LIBS=$LIBS
15342 LIBS="-lfontconfig $LIBS"
15343 cat >conftest.$ac_ext <<_ACEOF
15346 cat confdefs.h >>conftest.$ac_ext
15347 cat >>conftest.$ac_ext <<_ACEOF
15348 /* end confdefs.h. */
15350 /* Override any GCC internal prototype to avoid an error.
15351 Use char because int might match the return type of a GCC
15352 builtin and then its argument prototype would still apply. */
15365 rm -f conftest.$ac_objext conftest$ac_exeext
15366 if { (ac_try="$ac_link"
15367 case "(($ac_try" in
15368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15369 *) ac_try_echo=$ac_try;;
15371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15372 (eval "$ac_link") 2>conftest.er1
15374 grep -v '^ *+' conftest.er1 >conftest.err
15376 cat conftest.err >&5
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); } && {
15379 test -z "$ac_c_werror_flag" ||
15380 test ! -s conftest.err
15381 } && test -s conftest$ac_exeext &&
15382 $as_test_x conftest$ac_exeext; then
15385 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'` ;;
15386 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15389 echo "$as_me: failed program was:" >&5
15390 sed 's/^/| /' conftest.$ac_ext >&5
15395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15396 conftest$ac_exeext conftest.$ac_ext
15397 LIBS=$ac_check_soname_save_LIBS
15399 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15400 { echo "$as_me:$LINENO: result: not found" >&5
15401 echo "${ECHO_T}not found" >&6; }
15404 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15405 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15407 cat >>confdefs.h <<_ACEOF
15408 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15414 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15416 ac_save_CPPFLAGS="$CPPFLAGS"
15417 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15418 $as_unset ac_cv_header_fontconfig_fontconfig_h
15420 for ac_header in fontconfig/fontconfig.h
15422 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15423 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15424 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15426 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15427 echo $ECHO_N "(cached) $ECHO_C" >&6
15429 ac_res=`eval echo '${'$as_ac_Header'}'`
15430 { echo "$as_me:$LINENO: result: $ac_res" >&5
15431 echo "${ECHO_T}$ac_res" >&6; }
15433 # Is the header compilable?
15434 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15436 cat >conftest.$ac_ext <<_ACEOF
15439 cat confdefs.h >>conftest.$ac_ext
15440 cat >>conftest.$ac_ext <<_ACEOF
15441 /* end confdefs.h. */
15442 $ac_includes_default
15443 #include <$ac_header>
15445 rm -f conftest.$ac_objext
15446 if { (ac_try="$ac_compile"
15447 case "(($ac_try" in
15448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15449 *) ac_try_echo=$ac_try;;
15451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15452 (eval "$ac_compile") 2>conftest.er1
15454 grep -v '^ *+' conftest.er1 >conftest.err
15456 cat conftest.err >&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); } && {
15459 test -z "$ac_c_werror_flag" ||
15460 test ! -s conftest.err
15461 } && test -s conftest.$ac_objext; then
15462 ac_header_compiler=yes
15464 echo "$as_me: failed program was:" >&5
15465 sed 's/^/| /' conftest.$ac_ext >&5
15467 ac_header_compiler=no
15470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15471 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15472 echo "${ECHO_T}$ac_header_compiler" >&6; }
15474 # Is the header present?
15475 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15476 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15477 cat >conftest.$ac_ext <<_ACEOF
15480 cat confdefs.h >>conftest.$ac_ext
15481 cat >>conftest.$ac_ext <<_ACEOF
15482 /* end confdefs.h. */
15483 #include <$ac_header>
15485 if { (ac_try="$ac_cpp conftest.$ac_ext"
15486 case "(($ac_try" in
15487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15488 *) ac_try_echo=$ac_try;;
15490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15491 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15493 grep -v '^ *+' conftest.er1 >conftest.err
15495 cat conftest.err >&5
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); } >/dev/null && {
15498 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15499 test ! -s conftest.err
15501 ac_header_preproc=yes
15503 echo "$as_me: failed program was:" >&5
15504 sed 's/^/| /' conftest.$ac_ext >&5
15506 ac_header_preproc=no
15509 rm -f conftest.err conftest.$ac_ext
15510 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15511 echo "${ECHO_T}$ac_header_preproc" >&6; }
15513 # So? What about this header?
15514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15516 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15517 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15519 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15520 ac_header_preproc=yes
15523 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15524 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15525 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15526 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15527 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15528 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15529 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15530 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15536 ## ------------------------------------ ##
15537 ## Report this to wine-devel@winehq.org ##
15538 ## ------------------------------------ ##
15540 ) | sed "s/^/$as_me: WARNING: /" >&2
15543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15546 echo $ECHO_N "(cached) $ECHO_C" >&6
15548 eval "$as_ac_Header=\$ac_header_preproc"
15550 ac_res=`eval echo '${'$as_ac_Header'}'`
15551 { echo "$as_me:$LINENO: result: $ac_res" >&5
15552 echo "${ECHO_T}$ac_res" >&6; }
15555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15556 cat >>confdefs.h <<_ACEOF
15557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15564 CPPFLAGS="$ac_save_CPPFLAGS"
15565 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15567 FONTCONFIGINCL="$X_CFLAGS"
15569 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15570 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15571 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15572 echo $ECHO_N "(cached) $ECHO_C" >&6
15574 ac_check_soname_save_LIBS=$LIBS
15575 LIBS="-lfontconfig $X_LIBS $LIBS"
15576 cat >conftest.$ac_ext <<_ACEOF
15579 cat confdefs.h >>conftest.$ac_ext
15580 cat >>conftest.$ac_ext <<_ACEOF
15581 /* end confdefs.h. */
15583 /* Override any GCC internal prototype to avoid an error.
15584 Use char because int might match the return type of a GCC
15585 builtin and then its argument prototype would still apply. */
15598 rm -f conftest.$ac_objext conftest$ac_exeext
15599 if { (ac_try="$ac_link"
15600 case "(($ac_try" in
15601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15602 *) ac_try_echo=$ac_try;;
15604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15605 (eval "$ac_link") 2>conftest.er1
15607 grep -v '^ *+' conftest.er1 >conftest.err
15609 cat conftest.err >&5
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); } && {
15612 test -z "$ac_c_werror_flag" ||
15613 test ! -s conftest.err
15614 } && test -s conftest$ac_exeext &&
15615 $as_test_x conftest$ac_exeext; then
15618 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'` ;;
15619 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15622 echo "$as_me: failed program was:" >&5
15623 sed 's/^/| /' conftest.$ac_ext >&5
15628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15629 conftest$ac_exeext conftest.$ac_ext
15630 LIBS=$ac_check_soname_save_LIBS
15632 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15633 { echo "$as_me:$LINENO: result: not found" >&5
15634 echo "${ECHO_T}not found" >&6; }
15637 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15638 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15640 cat >>confdefs.h <<_ACEOF
15641 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15649 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15650 case "x$with_fontconfig" in
15651 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15653 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15654 This is an error since --with-fontconfig was requested." >&5
15655 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15656 This is an error since --with-fontconfig was requested." >&2;}
15657 { (exit 1); exit 1; }; } ;;
15662 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15664 { echo "$as_me:$LINENO: checking for -lssl" >&5
15665 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15666 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15667 echo $ECHO_N "(cached) $ECHO_C" >&6
15669 ac_check_soname_save_LIBS=$LIBS
15671 cat >conftest.$ac_ext <<_ACEOF
15674 cat confdefs.h >>conftest.$ac_ext
15675 cat >>conftest.$ac_ext <<_ACEOF
15676 /* end confdefs.h. */
15678 /* Override any GCC internal prototype to avoid an error.
15679 Use char because int might match the return type of a GCC
15680 builtin and then its argument prototype would still apply. */
15684 char SSL_library_init ();
15688 return SSL_library_init ();
15693 rm -f conftest.$ac_objext conftest$ac_exeext
15694 if { (ac_try="$ac_link"
15695 case "(($ac_try" in
15696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15697 *) ac_try_echo=$ac_try;;
15699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15700 (eval "$ac_link") 2>conftest.er1
15702 grep -v '^ *+' conftest.er1 >conftest.err
15704 cat conftest.err >&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); } && {
15707 test -z "$ac_c_werror_flag" ||
15708 test ! -s conftest.err
15709 } && test -s conftest$ac_exeext &&
15710 $as_test_x conftest$ac_exeext; then
15713 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'` ;;
15714 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15717 echo "$as_me: failed program was:" >&5
15718 sed 's/^/| /' conftest.$ac_ext >&5
15723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15724 conftest$ac_exeext conftest.$ac_ext
15725 LIBS=$ac_check_soname_save_LIBS
15727 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15728 { echo "$as_me:$LINENO: result: not found" >&5
15729 echo "${ECHO_T}not found" >&6; }
15732 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15733 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15735 cat >>confdefs.h <<_ACEOF
15736 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15742 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15743 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15744 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15745 echo $ECHO_N "(cached) $ECHO_C" >&6
15747 ac_check_soname_save_LIBS=$LIBS
15748 LIBS="-lcrypto $LIBS"
15749 cat >conftest.$ac_ext <<_ACEOF
15752 cat confdefs.h >>conftest.$ac_ext
15753 cat >>conftest.$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15756 /* Override any GCC internal prototype to avoid an error.
15757 Use char because int might match the return type of a GCC
15758 builtin and then its argument prototype would still apply. */
15762 char BIO_new_socket ();
15766 return BIO_new_socket ();
15771 rm -f conftest.$ac_objext conftest$ac_exeext
15772 if { (ac_try="$ac_link"
15773 case "(($ac_try" in
15774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15775 *) ac_try_echo=$ac_try;;
15777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15778 (eval "$ac_link") 2>conftest.er1
15780 grep -v '^ *+' conftest.er1 >conftest.err
15782 cat conftest.err >&5
15783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784 (exit $ac_status); } && {
15785 test -z "$ac_c_werror_flag" ||
15786 test ! -s conftest.err
15787 } && test -s conftest$ac_exeext &&
15788 $as_test_x conftest$ac_exeext; then
15791 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'` ;;
15792 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15795 echo "$as_me: failed program was:" >&5
15796 sed 's/^/| /' conftest.$ac_ext >&5
15801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15802 conftest$ac_exeext conftest.$ac_ext
15803 LIBS=$ac_check_soname_save_LIBS
15805 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15806 { echo "$as_me:$LINENO: result: not found" >&5
15807 echo "${ECHO_T}not found" >&6; }
15810 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15811 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15813 cat >>confdefs.h <<_ACEOF
15814 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15821 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15822 case "x$with_openssl" in
15823 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15825 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15826 This is an error since --with-openssl was requested." >&5
15827 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15828 This is an error since --with-openssl was requested." >&2;}
15829 { (exit 1); exit 1; }; } ;;
15834 if test "$ac_cv_header_jpeglib_h" = "yes"
15836 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15837 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15838 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15839 echo $ECHO_N "(cached) $ECHO_C" >&6
15841 ac_check_soname_save_LIBS=$LIBS
15842 LIBS="-ljpeg $LIBS"
15843 cat >conftest.$ac_ext <<_ACEOF
15846 cat confdefs.h >>conftest.$ac_ext
15847 cat >>conftest.$ac_ext <<_ACEOF
15848 /* end confdefs.h. */
15850 /* Override any GCC internal prototype to avoid an error.
15851 Use char because int might match the return type of a GCC
15852 builtin and then its argument prototype would still apply. */
15856 char jpeg_start_decompress ();
15860 return jpeg_start_decompress ();
15865 rm -f conftest.$ac_objext conftest$ac_exeext
15866 if { (ac_try="$ac_link"
15867 case "(($ac_try" in
15868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15869 *) ac_try_echo=$ac_try;;
15871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15872 (eval "$ac_link") 2>conftest.er1
15874 grep -v '^ *+' conftest.er1 >conftest.err
15876 cat conftest.err >&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); } && {
15879 test -z "$ac_c_werror_flag" ||
15880 test ! -s conftest.err
15881 } && test -s conftest$ac_exeext &&
15882 $as_test_x conftest$ac_exeext; then
15885 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'` ;;
15886 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.$ac_ext >&5
15895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15896 conftest$ac_exeext conftest.$ac_ext
15897 LIBS=$ac_check_soname_save_LIBS
15899 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15900 { echo "$as_me:$LINENO: result: not found" >&5
15901 echo "${ECHO_T}not found" >&6; }
15904 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15905 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15907 cat >>confdefs.h <<_ACEOF
15908 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15915 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15916 case "x$with_jpeg" in
15917 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15919 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15920 This is an error since --with-jpeg was requested." >&5
15921 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15922 This is an error since --with-jpeg was requested." >&2;}
15923 { (exit 1); exit 1; }; } ;;
15928 if test "$ac_cv_header_png_h" = "yes"
15930 { echo "$as_me:$LINENO: checking for -lpng" >&5
15931 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15932 if test "${ac_cv_lib_soname_png+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15935 ac_check_soname_save_LIBS=$LIBS
15937 cat >conftest.$ac_ext <<_ACEOF
15940 cat confdefs.h >>conftest.$ac_ext
15941 cat >>conftest.$ac_ext <<_ACEOF
15942 /* end confdefs.h. */
15944 /* Override any GCC internal prototype to avoid an error.
15945 Use char because int might match the return type of a GCC
15946 builtin and then its argument prototype would still apply. */
15950 char png_create_read_struct ();
15954 return png_create_read_struct ();
15959 rm -f conftest.$ac_objext conftest$ac_exeext
15960 if { (ac_try="$ac_link"
15961 case "(($ac_try" in
15962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15963 *) ac_try_echo=$ac_try;;
15965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15966 (eval "$ac_link") 2>conftest.er1
15968 grep -v '^ *+' conftest.er1 >conftest.err
15970 cat conftest.err >&5
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); } && {
15973 test -z "$ac_c_werror_flag" ||
15974 test ! -s conftest.err
15975 } && test -s conftest$ac_exeext &&
15976 $as_test_x conftest$ac_exeext; then
15979 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'` ;;
15980 *) 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'` ;;
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.$ac_ext >&5
15989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15990 conftest$ac_exeext conftest.$ac_ext
15991 LIBS=$ac_check_soname_save_LIBS
15993 if test "x$ac_cv_lib_soname_png" = "x"; then
15994 { echo "$as_me:$LINENO: result: not found" >&5
15995 echo "${ECHO_T}not found" >&6; }
15998 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15999 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16001 cat >>confdefs.h <<_ACEOF
16002 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16009 if test "x$ac_cv_lib_soname_png" = "x"; then
16010 case "x$with_png" in
16011 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
16013 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16014 This is an error since --with-png was requested." >&5
16015 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16016 This is an error since --with-png was requested." >&2;}
16017 { (exit 1); exit 1; }; } ;;
16022 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16023 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16024 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16025 echo $ECHO_N "(cached) $ECHO_C" >&6
16027 ac_check_soname_save_LIBS=$LIBS
16028 LIBS="-lodbc $LIBS"
16029 cat >conftest.$ac_ext <<_ACEOF
16032 cat confdefs.h >>conftest.$ac_ext
16033 cat >>conftest.$ac_ext <<_ACEOF
16034 /* end confdefs.h. */
16036 /* Override any GCC internal prototype to avoid an error.
16037 Use char because int might match the return type of a GCC
16038 builtin and then its argument prototype would still apply. */
16042 char SQLConnect ();
16046 return SQLConnect ();
16051 rm -f conftest.$ac_objext conftest$ac_exeext
16052 if { (ac_try="$ac_link"
16053 case "(($ac_try" in
16054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16055 *) ac_try_echo=$ac_try;;
16057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16058 (eval "$ac_link") 2>conftest.er1
16060 grep -v '^ *+' conftest.er1 >conftest.err
16062 cat conftest.err >&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } && {
16065 test -z "$ac_c_werror_flag" ||
16066 test ! -s conftest.err
16067 } && test -s conftest$ac_exeext &&
16068 $as_test_x conftest$ac_exeext; then
16071 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'` ;;
16072 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16075 echo "$as_me: failed program was:" >&5
16076 sed 's/^/| /' conftest.$ac_ext >&5
16081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16082 conftest$ac_exeext conftest.$ac_ext
16083 LIBS=$ac_check_soname_save_LIBS
16085 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16086 { echo "$as_me:$LINENO: result: not found" >&5
16087 echo "${ECHO_T}not found" >&6; }
16088 cat >>confdefs.h <<_ACEOF
16089 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16093 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16094 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16096 cat >>confdefs.h <<_ACEOF
16097 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16104 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16105 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16106 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16107 "$ac_cv_header_soundcard_h" != "yes" -a \
16108 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16110 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16116 if test "x${GCC}" = "xyes"
16118 EXTRACFLAGS="-Wall -pipe"
16120 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16121 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16122 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16123 echo $ECHO_N "(cached) $ECHO_C" >&6
16125 if test "$cross_compiling" = yes; then
16126 ac_cv_c_gcc_strength_bug="yes"
16128 cat >conftest.$ac_ext <<_ACEOF
16131 cat confdefs.h >>conftest.$ac_ext
16132 cat >>conftest.$ac_ext <<_ACEOF
16133 /* end confdefs.h. */
16134 int L[4] = {0,1,2,3};
16138 static int Array[3];
16139 unsigned int B = 3;
16141 for(i=0; i<B; i++) Array[i] = i - 3;
16142 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16144 exit( Array[1] != -2 || L[2] != 3)
16149 rm -f conftest$ac_exeext
16150 if { (ac_try="$ac_link"
16151 case "(($ac_try" in
16152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16153 *) ac_try_echo=$ac_try;;
16155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16156 (eval "$ac_link") 2>&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16160 { (case "(($ac_try" in
16161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16162 *) ac_try_echo=$ac_try;;
16164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16165 (eval "$ac_try") 2>&5
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; }; then
16169 ac_cv_c_gcc_strength_bug="no"
16171 echo "$as_me: program exited with status $ac_status" >&5
16172 echo "$as_me: failed program was:" >&5
16173 sed 's/^/| /' conftest.$ac_ext >&5
16175 ( exit $ac_status )
16176 ac_cv_c_gcc_strength_bug="yes"
16178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16183 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16184 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16185 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16187 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16191 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16192 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16193 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16196 ac_wine_try_cflags_saved=$CFLAGS
16197 CFLAGS="$CFLAGS -fshort-wchar"
16198 cat >conftest.$ac_ext <<_ACEOF
16201 cat confdefs.h >>conftest.$ac_ext
16202 cat >>conftest.$ac_ext <<_ACEOF
16203 /* end confdefs.h. */
16213 rm -f conftest.$ac_objext conftest$ac_exeext
16214 if { (ac_try="$ac_link"
16215 case "(($ac_try" in
16216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16217 *) ac_try_echo=$ac_try;;
16219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16220 (eval "$ac_link") 2>conftest.er1
16222 grep -v '^ *+' conftest.er1 >conftest.err
16224 cat conftest.err >&5
16225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16226 (exit $ac_status); } && {
16227 test -z "$ac_c_werror_flag" ||
16228 test ! -s conftest.err
16229 } && test -s conftest$ac_exeext &&
16230 $as_test_x conftest$ac_exeext; then
16231 ac_cv_cflags__fshort_wchar=yes
16233 echo "$as_me: failed program was:" >&5
16234 sed 's/^/| /' conftest.$ac_ext >&5
16236 ac_cv_cflags__fshort_wchar=no
16239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16240 conftest$ac_exeext conftest.$ac_ext
16241 CFLAGS=$ac_wine_try_cflags_saved
16243 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16244 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16245 if test $ac_cv_cflags__fshort_wchar = yes; then
16247 cat >>confdefs.h <<\_ACEOF
16248 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16253 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16254 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16255 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16256 echo $ECHO_N "(cached) $ECHO_C" >&6
16258 ac_wine_try_cflags_saved=$CFLAGS
16259 CFLAGS="$CFLAGS -fno-strict-aliasing"
16260 cat >conftest.$ac_ext <<_ACEOF
16263 cat confdefs.h >>conftest.$ac_ext
16264 cat >>conftest.$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16275 rm -f conftest.$ac_objext conftest$ac_exeext
16276 if { (ac_try="$ac_link"
16277 case "(($ac_try" in
16278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16279 *) ac_try_echo=$ac_try;;
16281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16282 (eval "$ac_link") 2>conftest.er1
16284 grep -v '^ *+' conftest.er1 >conftest.err
16286 cat conftest.err >&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); } && {
16289 test -z "$ac_c_werror_flag" ||
16290 test ! -s conftest.err
16291 } && test -s conftest$ac_exeext &&
16292 $as_test_x conftest$ac_exeext; then
16293 ac_cv_cflags__fno_strict_aliasing=yes
16295 echo "$as_me: failed program was:" >&5
16296 sed 's/^/| /' conftest.$ac_ext >&5
16298 ac_cv_cflags__fno_strict_aliasing=no
16301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16302 conftest$ac_exeext conftest.$ac_ext
16303 CFLAGS=$ac_wine_try_cflags_saved
16305 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16306 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16307 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16308 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16311 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16312 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16313 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16314 echo $ECHO_N "(cached) $ECHO_C" >&6
16316 ac_wine_try_cflags_saved=$CFLAGS
16317 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16318 cat >conftest.$ac_ext <<_ACEOF
16321 cat confdefs.h >>conftest.$ac_ext
16322 cat >>conftest.$ac_ext <<_ACEOF
16323 /* end confdefs.h. */
16333 rm -f conftest.$ac_objext conftest$ac_exeext
16334 if { (ac_try="$ac_link"
16335 case "(($ac_try" in
16336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16337 *) ac_try_echo=$ac_try;;
16339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16340 (eval "$ac_link") 2>conftest.er1
16342 grep -v '^ *+' conftest.er1 >conftest.err
16344 cat conftest.err >&5
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); } && {
16347 test -z "$ac_c_werror_flag" ||
16348 test ! -s conftest.err
16349 } && test -s conftest$ac_exeext &&
16350 $as_test_x conftest$ac_exeext; then
16351 ac_cv_cflags__Wdeclaration_after_statement=yes
16353 echo "$as_me: failed program was:" >&5
16354 sed 's/^/| /' conftest.$ac_ext >&5
16356 ac_cv_cflags__Wdeclaration_after_statement=no
16359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16360 conftest$ac_exeext conftest.$ac_ext
16361 CFLAGS=$ac_wine_try_cflags_saved
16363 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16364 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16365 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16366 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16369 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16370 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16371 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16372 echo $ECHO_N "(cached) $ECHO_C" >&6
16374 ac_wine_try_cflags_saved=$CFLAGS
16375 CFLAGS="$CFLAGS -Wwrite-strings"
16376 cat >conftest.$ac_ext <<_ACEOF
16379 cat confdefs.h >>conftest.$ac_ext
16380 cat >>conftest.$ac_ext <<_ACEOF
16381 /* end confdefs.h. */
16391 rm -f conftest.$ac_objext conftest$ac_exeext
16392 if { (ac_try="$ac_link"
16393 case "(($ac_try" in
16394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16395 *) ac_try_echo=$ac_try;;
16397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16398 (eval "$ac_link") 2>conftest.er1
16400 grep -v '^ *+' conftest.er1 >conftest.err
16402 cat conftest.err >&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); } && {
16405 test -z "$ac_c_werror_flag" ||
16406 test ! -s conftest.err
16407 } && test -s conftest$ac_exeext &&
16408 $as_test_x conftest$ac_exeext; then
16409 ac_cv_cflags__Wwrite_strings=yes
16411 echo "$as_me: failed program was:" >&5
16412 sed 's/^/| /' conftest.$ac_ext >&5
16414 ac_cv_cflags__Wwrite_strings=no
16417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16418 conftest$ac_exeext conftest.$ac_ext
16419 CFLAGS=$ac_wine_try_cflags_saved
16421 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16422 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16423 if test $ac_cv_cflags__Wwrite_strings = yes; then
16424 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16427 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16428 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16429 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16430 echo $ECHO_N "(cached) $ECHO_C" >&6
16432 ac_wine_try_cflags_saved=$CFLAGS
16433 CFLAGS="$CFLAGS -Wtype-limits"
16434 cat >conftest.$ac_ext <<_ACEOF
16437 cat confdefs.h >>conftest.$ac_ext
16438 cat >>conftest.$ac_ext <<_ACEOF
16439 /* end confdefs.h. */
16449 rm -f conftest.$ac_objext conftest$ac_exeext
16450 if { (ac_try="$ac_link"
16451 case "(($ac_try" in
16452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16453 *) ac_try_echo=$ac_try;;
16455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16456 (eval "$ac_link") 2>conftest.er1
16458 grep -v '^ *+' conftest.er1 >conftest.err
16460 cat conftest.err >&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } && {
16463 test -z "$ac_c_werror_flag" ||
16464 test ! -s conftest.err
16465 } && test -s conftest$ac_exeext &&
16466 $as_test_x conftest$ac_exeext; then
16467 ac_cv_cflags__Wtype_limits=yes
16469 echo "$as_me: failed program was:" >&5
16470 sed 's/^/| /' conftest.$ac_ext >&5
16472 ac_cv_cflags__Wtype_limits=no
16475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16476 conftest$ac_exeext conftest.$ac_ext
16477 CFLAGS=$ac_wine_try_cflags_saved
16479 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16480 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16481 if test $ac_cv_cflags__Wtype_limits = yes; then
16482 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16486 saved_CFLAGS="$CFLAGS"
16487 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16488 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16489 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16490 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16491 echo $ECHO_N "(cached) $ECHO_C" >&6
16493 cat >conftest.$ac_ext <<_ACEOF
16496 cat confdefs.h >>conftest.$ac_ext
16497 cat >>conftest.$ac_ext <<_ACEOF
16498 /* end confdefs.h. */
16499 #include <string.h>
16508 rm -f conftest.$ac_objext
16509 if { (ac_try="$ac_compile"
16510 case "(($ac_try" in
16511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16512 *) ac_try_echo=$ac_try;;
16514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16515 (eval "$ac_compile") 2>conftest.er1
16517 grep -v '^ *+' conftest.er1 >conftest.err
16519 cat conftest.err >&5
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); } && {
16522 test -z "$ac_c_werror_flag" ||
16523 test ! -s conftest.err
16524 } && test -s conftest.$ac_objext; then
16525 ac_cv_c_string_h_warnings=no
16527 echo "$as_me: failed program was:" >&5
16528 sed 's/^/| /' conftest.$ac_ext >&5
16530 ac_cv_c_string_h_warnings=yes
16533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16535 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16536 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16537 CFLAGS="$saved_CFLAGS"
16538 if test "$ac_cv_c_string_h_warnings" = "no"
16540 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16545 saved_CFLAGS="$CFLAGS"
16546 CFLAGS="$CFLAGS -Werror"
16547 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16548 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16549 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16550 echo $ECHO_N "(cached) $ECHO_C" >&6
16552 cat >conftest.$ac_ext <<_ACEOF
16555 cat confdefs.h >>conftest.$ac_ext
16556 cat >>conftest.$ac_ext <<_ACEOF
16557 /* end confdefs.h. */
16562 int iswlower(unsigned short);
16567 rm -f conftest.$ac_objext
16568 if { (ac_try="$ac_compile"
16569 case "(($ac_try" in
16570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16571 *) ac_try_echo=$ac_try;;
16573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16574 (eval "$ac_compile") 2>conftest.er1
16576 grep -v '^ *+' conftest.er1 >conftest.err
16578 cat conftest.err >&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); } && {
16581 test -z "$ac_c_werror_flag" ||
16582 test ! -s conftest.err
16583 } && test -s conftest.$ac_objext; then
16584 ac_cv_c_builtin_wchar_ctype=no
16586 echo "$as_me: failed program was:" >&5
16587 sed 's/^/| /' conftest.$ac_ext >&5
16589 ac_cv_c_builtin_wchar_ctype=yes
16592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16594 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16595 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16596 CFLAGS="$saved_CFLAGS"
16597 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16599 BUILTINFLAG="-fno-builtin"
16604 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16605 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16606 if test "${ac_cv_asm_func_def+set}" = set; then
16607 echo $ECHO_N "(cached) $ECHO_C" >&6
16609 cat >conftest.$ac_ext <<_ACEOF
16612 cat confdefs.h >>conftest.$ac_ext
16613 cat >>conftest.$ac_ext <<_ACEOF
16614 /* end confdefs.h. */
16619 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16624 rm -f conftest.$ac_objext conftest$ac_exeext
16625 if { (ac_try="$ac_link"
16626 case "(($ac_try" in
16627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16628 *) ac_try_echo=$ac_try;;
16630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16631 (eval "$ac_link") 2>conftest.er1
16633 grep -v '^ *+' conftest.er1 >conftest.err
16635 cat conftest.err >&5
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); } && {
16638 test -z "$ac_c_werror_flag" ||
16639 test ! -s conftest.err
16640 } && test -s conftest$ac_exeext &&
16641 $as_test_x conftest$ac_exeext; then
16642 ac_cv_asm_func_def=".def"
16644 echo "$as_me: failed program was:" >&5
16645 sed 's/^/| /' conftest.$ac_ext >&5
16647 cat >conftest.$ac_ext <<_ACEOF
16650 cat confdefs.h >>conftest.$ac_ext
16651 cat >>conftest.$ac_ext <<_ACEOF
16652 /* end confdefs.h. */
16657 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16662 rm -f conftest.$ac_objext conftest$ac_exeext
16663 if { (ac_try="$ac_link"
16664 case "(($ac_try" in
16665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16666 *) ac_try_echo=$ac_try;;
16668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16669 (eval "$ac_link") 2>conftest.er1
16671 grep -v '^ *+' conftest.er1 >conftest.err
16673 cat conftest.err >&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); } && {
16676 test -z "$ac_c_werror_flag" ||
16677 test ! -s conftest.err
16678 } && test -s conftest$ac_exeext &&
16679 $as_test_x conftest$ac_exeext; then
16680 ac_cv_asm_func_def=".type @function"
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.$ac_ext >&5
16685 cat >conftest.$ac_ext <<_ACEOF
16688 cat confdefs.h >>conftest.$ac_ext
16689 cat >>conftest.$ac_ext <<_ACEOF
16690 /* end confdefs.h. */
16695 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16700 rm -f conftest.$ac_objext conftest$ac_exeext
16701 if { (ac_try="$ac_link"
16702 case "(($ac_try" in
16703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16704 *) ac_try_echo=$ac_try;;
16706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16707 (eval "$ac_link") 2>conftest.er1
16709 grep -v '^ *+' conftest.er1 >conftest.err
16711 cat conftest.err >&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); } && {
16714 test -z "$ac_c_werror_flag" ||
16715 test ! -s conftest.err
16716 } && test -s conftest$ac_exeext &&
16717 $as_test_x conftest$ac_exeext; then
16718 ac_cv_asm_func_def=".type 2"
16720 echo "$as_me: failed program was:" >&5
16721 sed 's/^/| /' conftest.$ac_ext >&5
16723 ac_cv_asm_func_def="unknown"
16726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16727 conftest$ac_exeext conftest.$ac_ext
16730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16731 conftest$ac_exeext conftest.$ac_ext
16734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16735 conftest$ac_exeext conftest.$ac_ext
16737 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16738 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16742 case "$ac_cv_asm_func_def" in
16744 cat >>confdefs.h <<\_ACEOF
16745 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16749 cat >>confdefs.h <<\_ACEOF
16750 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16754 cat >>confdefs.h <<\_ACEOF
16755 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16759 cat >>confdefs.h <<\_ACEOF
16760 #define __ASM_FUNC(name) ""
16766 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16767 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16768 if test "${ac_cv_c_extern_prefix+set}" = set; then
16769 echo $ECHO_N "(cached) $ECHO_C" >&6
16771 cat >conftest.$ac_ext <<_ACEOF
16774 cat confdefs.h >>conftest.$ac_ext
16775 cat >>conftest.$ac_ext <<_ACEOF
16776 /* end confdefs.h. */
16777 extern int ac_test;
16781 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16786 rm -f conftest.$ac_objext conftest$ac_exeext
16787 if { (ac_try="$ac_link"
16788 case "(($ac_try" in
16789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16790 *) ac_try_echo=$ac_try;;
16792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16793 (eval "$ac_link") 2>conftest.er1
16795 grep -v '^ *+' conftest.er1 >conftest.err
16797 cat conftest.err >&5
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); } && {
16800 test -z "$ac_c_werror_flag" ||
16801 test ! -s conftest.err
16802 } && test -s conftest$ac_exeext &&
16803 $as_test_x conftest$ac_exeext; then
16804 ac_cv_c_extern_prefix="yes"
16806 echo "$as_me: failed program was:" >&5
16807 sed 's/^/| /' conftest.$ac_ext >&5
16809 ac_cv_c_extern_prefix="no"
16812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16813 conftest$ac_exeext conftest.$ac_ext
16815 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16816 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16820 if test "$ac_cv_c_extern_prefix" = "yes"
16822 cat >>confdefs.h <<\_ACEOF
16823 #define __ASM_NAME(name) "_" name
16827 cat >>confdefs.h <<\_ACEOF
16828 #define __ASM_NAME(name) name
16838 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16842 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16844 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16848 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16856 SOCKETLIBS="-lws2_32"
16861 MAIN_BINARY="wine-pthread"
16865 linux* | k*bsd*-gnu)
16866 MAIN_BINARY="wine-glibc"
16868 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16871 MAIN_BINARY="wine-freebsd"
16873 EXTRA_BINARIES="wine-pthread"
17021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17024 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17027 cat >conftest.$ac_ext <<_ACEOF
17030 cat confdefs.h >>conftest.$ac_ext
17031 cat >>conftest.$ac_ext <<_ACEOF
17032 /* end confdefs.h. */
17033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17035 #define $ac_func innocuous_$ac_func
17037 /* System header to define __stub macros and hopefully few prototypes,
17038 which can conflict with char $ac_func (); below.
17039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17040 <limits.h> exists even on freestanding compilers. */
17043 # include <limits.h>
17045 # include <assert.h>
17050 /* Override any GCC internal prototype to avoid an error.
17051 Use char because int might match the return type of a GCC
17052 builtin and then its argument prototype would still apply. */
17057 /* The GNU C library defines this for functions which it implements
17058 to always fail with ENOSYS. Some functions are actually named
17059 something starting with __ and the normal name is an alias. */
17060 #if defined __stub_$ac_func || defined __stub___$ac_func
17067 return $ac_func ();
17072 rm -f conftest.$ac_objext conftest$ac_exeext
17073 if { (ac_try="$ac_link"
17074 case "(($ac_try" in
17075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17076 *) ac_try_echo=$ac_try;;
17078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17079 (eval "$ac_link") 2>conftest.er1
17081 grep -v '^ *+' conftest.er1 >conftest.err
17083 cat conftest.err >&5
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); } && {
17086 test -z "$ac_c_werror_flag" ||
17087 test ! -s conftest.err
17088 } && test -s conftest$ac_exeext &&
17089 $as_test_x conftest$ac_exeext; then
17090 eval "$as_ac_var=yes"
17092 echo "$as_me: failed program was:" >&5
17093 sed 's/^/| /' conftest.$ac_ext >&5
17095 eval "$as_ac_var=no"
17098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17099 conftest$ac_exeext conftest.$ac_ext
17101 ac_res=`eval echo '${'$as_ac_var'}'`
17102 { echo "$as_me:$LINENO: result: $ac_res" >&5
17103 echo "${ECHO_T}$ac_res" >&6; }
17104 if test `eval echo '${'$as_ac_var'}'` = yes; then
17105 cat >>confdefs.h <<_ACEOF
17106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17113 if test "$ac_cv_func_dlopen" = no
17115 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17116 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17117 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17118 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 ac_check_lib_save_LIBS=$LIBS
17122 cat >conftest.$ac_ext <<_ACEOF
17125 cat confdefs.h >>conftest.$ac_ext
17126 cat >>conftest.$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17129 /* Override any GCC internal prototype to avoid an error.
17130 Use char because int might match the return type of a GCC
17131 builtin and then its argument prototype would still apply. */
17144 rm -f conftest.$ac_objext conftest$ac_exeext
17145 if { (ac_try="$ac_link"
17146 case "(($ac_try" in
17147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17148 *) ac_try_echo=$ac_try;;
17150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17151 (eval "$ac_link") 2>conftest.er1
17153 grep -v '^ *+' conftest.er1 >conftest.err
17155 cat conftest.err >&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } && {
17158 test -z "$ac_c_werror_flag" ||
17159 test ! -s conftest.err
17160 } && test -s conftest$ac_exeext &&
17161 $as_test_x conftest$ac_exeext; then
17162 ac_cv_lib_dl_dlopen=yes
17164 echo "$as_me: failed program was:" >&5
17165 sed 's/^/| /' conftest.$ac_ext >&5
17167 ac_cv_lib_dl_dlopen=no
17170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17171 conftest$ac_exeext conftest.$ac_ext
17172 LIBS=$ac_check_lib_save_LIBS
17174 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17175 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17176 if test $ac_cv_lib_dl_dlopen = yes; then
17177 cat >>confdefs.h <<\_ACEOF
17178 #define HAVE_DLOPEN 1
17185 ac_wine_check_funcs_save_LIBS="$LIBS"
17186 LIBS="$LIBS $LIBDL"
17188 for ac_func in dladdr
17190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17196 cat >conftest.$ac_ext <<_ACEOF
17199 cat confdefs.h >>conftest.$ac_ext
17200 cat >>conftest.$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17204 #define $ac_func innocuous_$ac_func
17206 /* System header to define __stub macros and hopefully few prototypes,
17207 which can conflict with char $ac_func (); below.
17208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17209 <limits.h> exists even on freestanding compilers. */
17212 # include <limits.h>
17214 # include <assert.h>
17219 /* Override any GCC internal prototype to avoid an error.
17220 Use char because int might match the return type of a GCC
17221 builtin and then its argument prototype would still apply. */
17226 /* The GNU C library defines this for functions which it implements
17227 to always fail with ENOSYS. Some functions are actually named
17228 something starting with __ and the normal name is an alias. */
17229 #if defined __stub_$ac_func || defined __stub___$ac_func
17236 return $ac_func ();
17241 rm -f conftest.$ac_objext conftest$ac_exeext
17242 if { (ac_try="$ac_link"
17243 case "(($ac_try" in
17244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17245 *) ac_try_echo=$ac_try;;
17247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17248 (eval "$ac_link") 2>conftest.er1
17250 grep -v '^ *+' conftest.er1 >conftest.err
17252 cat conftest.err >&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); } && {
17255 test -z "$ac_c_werror_flag" ||
17256 test ! -s conftest.err
17257 } && test -s conftest$ac_exeext &&
17258 $as_test_x conftest$ac_exeext; then
17259 eval "$as_ac_var=yes"
17261 echo "$as_me: failed program was:" >&5
17262 sed 's/^/| /' conftest.$ac_ext >&5
17264 eval "$as_ac_var=no"
17267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17268 conftest$ac_exeext conftest.$ac_ext
17270 ac_res=`eval echo '${'$as_ac_var'}'`
17271 { echo "$as_me:$LINENO: result: $ac_res" >&5
17272 echo "${ECHO_T}$ac_res" >&6; }
17273 if test `eval echo '${'$as_ac_var'}'` = yes; then
17274 cat >>confdefs.h <<_ACEOF
17275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17281 LIBS="$ac_wine_check_funcs_save_LIBS"
17283 if test "$ac_cv_func_poll" = no
17285 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17286 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17287 if test "${ac_cv_lib_poll_poll+set}" = set; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17290 ac_check_lib_save_LIBS=$LIBS
17291 LIBS="-lpoll $LIBS"
17292 cat >conftest.$ac_ext <<_ACEOF
17295 cat confdefs.h >>conftest.$ac_ext
17296 cat >>conftest.$ac_ext <<_ACEOF
17297 /* end confdefs.h. */
17299 /* Override any GCC internal prototype to avoid an error.
17300 Use char because int might match the return type of a GCC
17301 builtin and then its argument prototype would still apply. */
17314 rm -f conftest.$ac_objext conftest$ac_exeext
17315 if { (ac_try="$ac_link"
17316 case "(($ac_try" in
17317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17318 *) ac_try_echo=$ac_try;;
17320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17321 (eval "$ac_link") 2>conftest.er1
17323 grep -v '^ *+' conftest.er1 >conftest.err
17325 cat conftest.err >&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); } && {
17328 test -z "$ac_c_werror_flag" ||
17329 test ! -s conftest.err
17330 } && test -s conftest$ac_exeext &&
17331 $as_test_x conftest$ac_exeext; then
17332 ac_cv_lib_poll_poll=yes
17334 echo "$as_me: failed program was:" >&5
17335 sed 's/^/| /' conftest.$ac_ext >&5
17337 ac_cv_lib_poll_poll=no
17340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17341 conftest$ac_exeext conftest.$ac_ext
17342 LIBS=$ac_check_lib_save_LIBS
17344 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17345 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17346 if test $ac_cv_lib_poll_poll = yes; then
17347 cat >>confdefs.h <<\_ACEOF
17348 #define HAVE_POLL 1
17356 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17357 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17358 if test "${ac_cv_search_gethostbyname+set}" = set; then
17359 echo $ECHO_N "(cached) $ECHO_C" >&6
17361 ac_func_search_save_LIBS=$LIBS
17362 cat >conftest.$ac_ext <<_ACEOF
17365 cat confdefs.h >>conftest.$ac_ext
17366 cat >>conftest.$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17369 /* Override any GCC internal prototype to avoid an error.
17370 Use char because int might match the return type of a GCC
17371 builtin and then its argument prototype would still apply. */
17375 char gethostbyname ();
17379 return gethostbyname ();
17384 for ac_lib in '' nsl; do
17385 if test -z "$ac_lib"; then
17386 ac_res="none required"
17389 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17391 rm -f conftest.$ac_objext conftest$ac_exeext
17392 if { (ac_try="$ac_link"
17393 case "(($ac_try" in
17394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17395 *) ac_try_echo=$ac_try;;
17397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17398 (eval "$ac_link") 2>conftest.er1
17400 grep -v '^ *+' conftest.er1 >conftest.err
17402 cat conftest.err >&5
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); } && {
17405 test -z "$ac_c_werror_flag" ||
17406 test ! -s conftest.err
17407 } && test -s conftest$ac_exeext &&
17408 $as_test_x conftest$ac_exeext; then
17409 ac_cv_search_gethostbyname=$ac_res
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17419 if test "${ac_cv_search_gethostbyname+set}" = set; then
17423 if test "${ac_cv_search_gethostbyname+set}" = set; then
17426 ac_cv_search_gethostbyname=no
17428 rm conftest.$ac_ext
17429 LIBS=$ac_func_search_save_LIBS
17431 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17432 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17433 ac_res=$ac_cv_search_gethostbyname
17434 if test "$ac_res" != no; then
17435 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17440 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17441 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17442 if test "${ac_cv_search_connect+set}" = set; then
17443 echo $ECHO_N "(cached) $ECHO_C" >&6
17445 ac_func_search_save_LIBS=$LIBS
17446 cat >conftest.$ac_ext <<_ACEOF
17449 cat confdefs.h >>conftest.$ac_ext
17450 cat >>conftest.$ac_ext <<_ACEOF
17451 /* end confdefs.h. */
17453 /* Override any GCC internal prototype to avoid an error.
17454 Use char because int might match the return type of a GCC
17455 builtin and then its argument prototype would still apply. */
17468 for ac_lib in '' socket; do
17469 if test -z "$ac_lib"; then
17470 ac_res="none required"
17473 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17475 rm -f conftest.$ac_objext conftest$ac_exeext
17476 if { (ac_try="$ac_link"
17477 case "(($ac_try" in
17478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17479 *) ac_try_echo=$ac_try;;
17481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17482 (eval "$ac_link") 2>conftest.er1
17484 grep -v '^ *+' conftest.er1 >conftest.err
17486 cat conftest.err >&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } && {
17489 test -z "$ac_c_werror_flag" ||
17490 test ! -s conftest.err
17491 } && test -s conftest$ac_exeext &&
17492 $as_test_x conftest$ac_exeext; then
17493 ac_cv_search_connect=$ac_res
17495 echo "$as_me: failed program was:" >&5
17496 sed 's/^/| /' conftest.$ac_ext >&5
17501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17503 if test "${ac_cv_search_connect+set}" = set; then
17507 if test "${ac_cv_search_connect+set}" = set; then
17510 ac_cv_search_connect=no
17512 rm conftest.$ac_ext
17513 LIBS=$ac_func_search_save_LIBS
17515 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17516 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17517 ac_res=$ac_cv_search_connect
17518 if test "$ac_res" != no; then
17519 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17524 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17525 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17526 if test "${ac_cv_search_inet_aton+set}" = set; then
17527 echo $ECHO_N "(cached) $ECHO_C" >&6
17529 ac_func_search_save_LIBS=$LIBS
17530 cat >conftest.$ac_ext <<_ACEOF
17533 cat confdefs.h >>conftest.$ac_ext
17534 cat >>conftest.$ac_ext <<_ACEOF
17535 /* end confdefs.h. */
17537 /* Override any GCC internal prototype to avoid an error.
17538 Use char because int might match the return type of a GCC
17539 builtin and then its argument prototype would still apply. */
17547 return inet_aton ();
17552 for ac_lib in '' resolv; do
17553 if test -z "$ac_lib"; then
17554 ac_res="none required"
17557 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17559 rm -f conftest.$ac_objext conftest$ac_exeext
17560 if { (ac_try="$ac_link"
17561 case "(($ac_try" in
17562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17563 *) ac_try_echo=$ac_try;;
17565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17566 (eval "$ac_link") 2>conftest.er1
17568 grep -v '^ *+' conftest.er1 >conftest.err
17570 cat conftest.err >&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); } && {
17573 test -z "$ac_c_werror_flag" ||
17574 test ! -s conftest.err
17575 } && test -s conftest$ac_exeext &&
17576 $as_test_x conftest$ac_exeext; then
17577 ac_cv_search_inet_aton=$ac_res
17579 echo "$as_me: failed program was:" >&5
17580 sed 's/^/| /' conftest.$ac_ext >&5
17585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17587 if test "${ac_cv_search_inet_aton+set}" = set; then
17591 if test "${ac_cv_search_inet_aton+set}" = set; then
17594 ac_cv_search_inet_aton=no
17596 rm conftest.$ac_ext
17597 LIBS=$ac_func_search_save_LIBS
17599 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17600 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17601 ac_res=$ac_cv_search_inet_aton
17602 if test "$ac_res" != no; then
17603 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17628 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17630 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17631 echo $ECHO_N "(cached) $ECHO_C" >&6
17633 cat >conftest.$ac_ext <<_ACEOF
17636 cat confdefs.h >>conftest.$ac_ext
17637 cat >>conftest.$ac_ext <<_ACEOF
17638 /* end confdefs.h. */
17639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17641 #define $ac_func innocuous_$ac_func
17643 /* System header to define __stub macros and hopefully few prototypes,
17644 which can conflict with char $ac_func (); below.
17645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17646 <limits.h> exists even on freestanding compilers. */
17649 # include <limits.h>
17651 # include <assert.h>
17656 /* Override any GCC internal prototype to avoid an error.
17657 Use char because int might match the return type of a GCC
17658 builtin and then its argument prototype would still apply. */
17663 /* The GNU C library defines this for functions which it implements
17664 to always fail with ENOSYS. Some functions are actually named
17665 something starting with __ and the normal name is an alias. */
17666 #if defined __stub_$ac_func || defined __stub___$ac_func
17673 return $ac_func ();
17678 rm -f conftest.$ac_objext conftest$ac_exeext
17679 if { (ac_try="$ac_link"
17680 case "(($ac_try" in
17681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17682 *) ac_try_echo=$ac_try;;
17684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17685 (eval "$ac_link") 2>conftest.er1
17687 grep -v '^ *+' conftest.er1 >conftest.err
17689 cat conftest.err >&5
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); } && {
17692 test -z "$ac_c_werror_flag" ||
17693 test ! -s conftest.err
17694 } && test -s conftest$ac_exeext &&
17695 $as_test_x conftest$ac_exeext; then
17696 eval "$as_ac_var=yes"
17698 echo "$as_me: failed program was:" >&5
17699 sed 's/^/| /' conftest.$ac_ext >&5
17701 eval "$as_ac_var=no"
17704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17705 conftest$ac_exeext conftest.$ac_ext
17707 ac_res=`eval echo '${'$as_ac_var'}'`
17708 { echo "$as_me:$LINENO: result: $ac_res" >&5
17709 echo "${ECHO_T}$ac_res" >&6; }
17710 if test `eval echo '${'$as_ac_var'}'` = yes; then
17711 cat >>confdefs.h <<_ACEOF
17712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17720 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17721 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17722 if test "${ac_cv_c_const+set}" = set; then
17723 echo $ECHO_N "(cached) $ECHO_C" >&6
17725 cat >conftest.$ac_ext <<_ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17735 /* FIXME: Include the comments suggested by Paul. */
17736 #ifndef __cplusplus
17737 /* Ultrix mips cc rejects this. */
17738 typedef int charset[2];
17740 /* SunOS 4.1.1 cc rejects this. */
17741 char const *const *pcpcc;
17743 /* NEC SVR4.0.2 mips cc rejects this. */
17744 struct point {int x, y;};
17745 static struct point const zero = {0,0};
17746 /* AIX XL C 1.02.0.0 rejects this.
17747 It does not let you subtract one const X* pointer from another in
17748 an arm of an if-expression whose if-part is not a constant
17750 const char *g = "string";
17751 pcpcc = &g + (g ? g-g : 0);
17752 /* HPUX 7.0 cc rejects these. */
17754 ppc = (char**) pcpcc;
17755 pcpcc = (char const *const *) ppc;
17756 { /* SCO 3.2v4 cc rejects this. */
17758 char const *s = 0 ? (char *) 0 : (char const *) 0;
17763 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17764 int x[] = {25, 17};
17765 const int *foo = &x[0];
17768 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17769 typedef const int *iptr;
17773 { /* AIX XL C 1.02.0.0 rejects this saying
17774 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17775 struct s { int j; const int *ap[3]; };
17776 struct s *b; b->j = 5;
17778 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17779 const int foo = 10;
17780 if (!foo) return 0;
17782 return !cs[0] && !zero.x;
17789 rm -f conftest.$ac_objext
17790 if { (ac_try="$ac_compile"
17791 case "(($ac_try" in
17792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17793 *) ac_try_echo=$ac_try;;
17795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17796 (eval "$ac_compile") 2>conftest.er1
17798 grep -v '^ *+' conftest.er1 >conftest.err
17800 cat conftest.err >&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } && {
17803 test -z "$ac_c_werror_flag" ||
17804 test ! -s conftest.err
17805 } && test -s conftest.$ac_objext; then
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17816 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17817 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17818 if test $ac_cv_c_const = no; then
17820 cat >>confdefs.h <<\_ACEOF
17826 { echo "$as_me:$LINENO: checking for inline" >&5
17827 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17828 if test "${ac_cv_c_inline+set}" = set; then
17829 echo $ECHO_N "(cached) $ECHO_C" >&6
17832 for ac_kw in inline __inline__ __inline; do
17833 cat >conftest.$ac_ext <<_ACEOF
17836 cat confdefs.h >>conftest.$ac_ext
17837 cat >>conftest.$ac_ext <<_ACEOF
17838 /* end confdefs.h. */
17839 #ifndef __cplusplus
17841 static $ac_kw foo_t static_foo () {return 0; }
17842 $ac_kw foo_t foo () {return 0; }
17846 rm -f conftest.$ac_objext
17847 if { (ac_try="$ac_compile"
17848 case "(($ac_try" in
17849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17850 *) ac_try_echo=$ac_try;;
17852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17853 (eval "$ac_compile") 2>conftest.er1
17855 grep -v '^ *+' conftest.er1 >conftest.err
17857 cat conftest.err >&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); } && {
17860 test -z "$ac_c_werror_flag" ||
17861 test ! -s conftest.err
17862 } && test -s conftest.$ac_objext; then
17863 ac_cv_c_inline=$ac_kw
17865 echo "$as_me: failed program was:" >&5
17866 sed 's/^/| /' conftest.$ac_ext >&5
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872 test "$ac_cv_c_inline" != no && break
17876 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17877 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17880 case $ac_cv_c_inline in
17883 case $ac_cv_c_inline in
17885 *) ac_val=$ac_cv_c_inline;;
17887 cat >>confdefs.h <<_ACEOF
17888 #ifndef __cplusplus
17889 #define inline $ac_val
17895 { echo "$as_me:$LINENO: checking for mode_t" >&5
17896 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17897 if test "${ac_cv_type_mode_t+set}" = set; then
17898 echo $ECHO_N "(cached) $ECHO_C" >&6
17900 cat >conftest.$ac_ext <<_ACEOF
17903 cat confdefs.h >>conftest.$ac_ext
17904 cat >>conftest.$ac_ext <<_ACEOF
17905 /* end confdefs.h. */
17906 $ac_includes_default
17907 typedef mode_t ac__type_new_;
17911 if ((ac__type_new_ *) 0)
17913 if (sizeof (ac__type_new_))
17919 rm -f conftest.$ac_objext
17920 if { (ac_try="$ac_compile"
17921 case "(($ac_try" in
17922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17923 *) ac_try_echo=$ac_try;;
17925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17926 (eval "$ac_compile") 2>conftest.er1
17928 grep -v '^ *+' conftest.er1 >conftest.err
17930 cat conftest.err >&5
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); } && {
17933 test -z "$ac_c_werror_flag" ||
17934 test ! -s conftest.err
17935 } && test -s conftest.$ac_objext; then
17936 ac_cv_type_mode_t=yes
17938 echo "$as_me: failed program was:" >&5
17939 sed 's/^/| /' conftest.$ac_ext >&5
17941 ac_cv_type_mode_t=no
17944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17946 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17947 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17948 if test $ac_cv_type_mode_t = yes; then
17950 cat >>confdefs.h <<_ACEOF
17951 #define HAVE_MODE_T 1
17956 { echo "$as_me:$LINENO: checking for off_t" >&5
17957 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17958 if test "${ac_cv_type_off_t+set}" = set; then
17959 echo $ECHO_N "(cached) $ECHO_C" >&6
17961 cat >conftest.$ac_ext <<_ACEOF
17964 cat confdefs.h >>conftest.$ac_ext
17965 cat >>conftest.$ac_ext <<_ACEOF
17966 /* end confdefs.h. */
17967 $ac_includes_default
17968 typedef off_t ac__type_new_;
17972 if ((ac__type_new_ *) 0)
17974 if (sizeof (ac__type_new_))
17980 rm -f conftest.$ac_objext
17981 if { (ac_try="$ac_compile"
17982 case "(($ac_try" in
17983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17984 *) ac_try_echo=$ac_try;;
17986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17987 (eval "$ac_compile") 2>conftest.er1
17989 grep -v '^ *+' conftest.er1 >conftest.err
17991 cat conftest.err >&5
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); } && {
17994 test -z "$ac_c_werror_flag" ||
17995 test ! -s conftest.err
17996 } && test -s conftest.$ac_objext; then
17997 ac_cv_type_off_t=yes
17999 echo "$as_me: failed program was:" >&5
18000 sed 's/^/| /' conftest.$ac_ext >&5
18002 ac_cv_type_off_t=no
18005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18007 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18008 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
18009 if test $ac_cv_type_off_t = yes; then
18011 cat >>confdefs.h <<_ACEOF
18012 #define HAVE_OFF_T 1
18017 { echo "$as_me:$LINENO: checking for pid_t" >&5
18018 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18019 if test "${ac_cv_type_pid_t+set}" = set; then
18020 echo $ECHO_N "(cached) $ECHO_C" >&6
18022 cat >conftest.$ac_ext <<_ACEOF
18025 cat confdefs.h >>conftest.$ac_ext
18026 cat >>conftest.$ac_ext <<_ACEOF
18027 /* end confdefs.h. */
18028 $ac_includes_default
18029 typedef pid_t ac__type_new_;
18033 if ((ac__type_new_ *) 0)
18035 if (sizeof (ac__type_new_))
18041 rm -f conftest.$ac_objext
18042 if { (ac_try="$ac_compile"
18043 case "(($ac_try" in
18044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18045 *) ac_try_echo=$ac_try;;
18047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18048 (eval "$ac_compile") 2>conftest.er1
18050 grep -v '^ *+' conftest.er1 >conftest.err
18052 cat conftest.err >&5
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); } && {
18055 test -z "$ac_c_werror_flag" ||
18056 test ! -s conftest.err
18057 } && test -s conftest.$ac_objext; then
18058 ac_cv_type_pid_t=yes
18060 echo "$as_me: failed program was:" >&5
18061 sed 's/^/| /' conftest.$ac_ext >&5
18063 ac_cv_type_pid_t=no
18066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18068 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18069 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18070 if test $ac_cv_type_pid_t = yes; then
18072 cat >>confdefs.h <<_ACEOF
18073 #define HAVE_PID_T 1
18078 { echo "$as_me:$LINENO: checking for size_t" >&5
18079 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18080 if test "${ac_cv_type_size_t+set}" = set; then
18081 echo $ECHO_N "(cached) $ECHO_C" >&6
18083 cat >conftest.$ac_ext <<_ACEOF
18086 cat confdefs.h >>conftest.$ac_ext
18087 cat >>conftest.$ac_ext <<_ACEOF
18088 /* end confdefs.h. */
18089 $ac_includes_default
18090 typedef size_t ac__type_new_;
18094 if ((ac__type_new_ *) 0)
18096 if (sizeof (ac__type_new_))
18102 rm -f conftest.$ac_objext
18103 if { (ac_try="$ac_compile"
18104 case "(($ac_try" in
18105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18106 *) ac_try_echo=$ac_try;;
18108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18109 (eval "$ac_compile") 2>conftest.er1
18111 grep -v '^ *+' conftest.er1 >conftest.err
18113 cat conftest.err >&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); } && {
18116 test -z "$ac_c_werror_flag" ||
18117 test ! -s conftest.err
18118 } && test -s conftest.$ac_objext; then
18119 ac_cv_type_size_t=yes
18121 echo "$as_me: failed program was:" >&5
18122 sed 's/^/| /' conftest.$ac_ext >&5
18124 ac_cv_type_size_t=no
18127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18129 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18130 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18131 if test $ac_cv_type_size_t = yes; then
18133 cat >>confdefs.h <<_ACEOF
18134 #define HAVE_SIZE_T 1
18139 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18140 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18141 if test "${ac_cv_type_ssize_t+set}" = set; then
18142 echo $ECHO_N "(cached) $ECHO_C" >&6
18144 cat >conftest.$ac_ext <<_ACEOF
18147 cat confdefs.h >>conftest.$ac_ext
18148 cat >>conftest.$ac_ext <<_ACEOF
18149 /* end confdefs.h. */
18150 $ac_includes_default
18151 typedef ssize_t ac__type_new_;
18155 if ((ac__type_new_ *) 0)
18157 if (sizeof (ac__type_new_))
18163 rm -f conftest.$ac_objext
18164 if { (ac_try="$ac_compile"
18165 case "(($ac_try" in
18166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18167 *) ac_try_echo=$ac_try;;
18169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18170 (eval "$ac_compile") 2>conftest.er1
18172 grep -v '^ *+' conftest.er1 >conftest.err
18174 cat conftest.err >&5
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); } && {
18177 test -z "$ac_c_werror_flag" ||
18178 test ! -s conftest.err
18179 } && test -s conftest.$ac_objext; then
18180 ac_cv_type_ssize_t=yes
18182 echo "$as_me: failed program was:" >&5
18183 sed 's/^/| /' conftest.$ac_ext >&5
18185 ac_cv_type_ssize_t=no
18188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18190 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18191 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18192 if test $ac_cv_type_ssize_t = yes; then
18194 cat >>confdefs.h <<_ACEOF
18195 #define HAVE_SSIZE_T 1
18200 { echo "$as_me:$LINENO: checking for long long" >&5
18201 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18202 if test "${ac_cv_type_long_long+set}" = set; then
18203 echo $ECHO_N "(cached) $ECHO_C" >&6
18205 cat >conftest.$ac_ext <<_ACEOF
18208 cat confdefs.h >>conftest.$ac_ext
18209 cat >>conftest.$ac_ext <<_ACEOF
18210 /* end confdefs.h. */
18211 $ac_includes_default
18212 typedef long long ac__type_new_;
18216 if ((ac__type_new_ *) 0)
18218 if (sizeof (ac__type_new_))
18224 rm -f conftest.$ac_objext
18225 if { (ac_try="$ac_compile"
18226 case "(($ac_try" in
18227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18228 *) ac_try_echo=$ac_try;;
18230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18231 (eval "$ac_compile") 2>conftest.er1
18233 grep -v '^ *+' conftest.er1 >conftest.err
18235 cat conftest.err >&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); } && {
18238 test -z "$ac_c_werror_flag" ||
18239 test ! -s conftest.err
18240 } && test -s conftest.$ac_objext; then
18241 ac_cv_type_long_long=yes
18243 echo "$as_me: failed program was:" >&5
18244 sed 's/^/| /' conftest.$ac_ext >&5
18246 ac_cv_type_long_long=no
18249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18251 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18252 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18253 if test $ac_cv_type_long_long = yes; then
18255 cat >>confdefs.h <<_ACEOF
18256 #define HAVE_LONG_LONG 1
18261 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18262 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18263 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18266 cat >conftest.$ac_ext <<_ACEOF
18269 cat confdefs.h >>conftest.$ac_ext
18270 cat >>conftest.$ac_ext <<_ACEOF
18271 /* end confdefs.h. */
18272 $ac_includes_default
18273 typedef fsblkcnt_t ac__type_new_;
18277 if ((ac__type_new_ *) 0)
18279 if (sizeof (ac__type_new_))
18285 rm -f conftest.$ac_objext
18286 if { (ac_try="$ac_compile"
18287 case "(($ac_try" in
18288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18289 *) ac_try_echo=$ac_try;;
18291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18292 (eval "$ac_compile") 2>conftest.er1
18294 grep -v '^ *+' conftest.er1 >conftest.err
18296 cat conftest.err >&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); } && {
18299 test -z "$ac_c_werror_flag" ||
18300 test ! -s conftest.err
18301 } && test -s conftest.$ac_objext; then
18302 ac_cv_type_fsblkcnt_t=yes
18304 echo "$as_me: failed program was:" >&5
18305 sed 's/^/| /' conftest.$ac_ext >&5
18307 ac_cv_type_fsblkcnt_t=no
18310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18312 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18313 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18314 if test $ac_cv_type_fsblkcnt_t = yes; then
18316 cat >>confdefs.h <<_ACEOF
18317 #define HAVE_FSBLKCNT_T 1
18322 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18323 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18324 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18325 echo $ECHO_N "(cached) $ECHO_C" >&6
18327 cat >conftest.$ac_ext <<_ACEOF
18330 cat confdefs.h >>conftest.$ac_ext
18331 cat >>conftest.$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18333 $ac_includes_default
18334 typedef fsfilcnt_t ac__type_new_;
18338 if ((ac__type_new_ *) 0)
18340 if (sizeof (ac__type_new_))
18346 rm -f conftest.$ac_objext
18347 if { (ac_try="$ac_compile"
18348 case "(($ac_try" in
18349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18350 *) ac_try_echo=$ac_try;;
18352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18353 (eval "$ac_compile") 2>conftest.er1
18355 grep -v '^ *+' conftest.er1 >conftest.err
18357 cat conftest.err >&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); } && {
18360 test -z "$ac_c_werror_flag" ||
18361 test ! -s conftest.err
18362 } && test -s conftest.$ac_objext; then
18363 ac_cv_type_fsfilcnt_t=yes
18365 echo "$as_me: failed program was:" >&5
18366 sed 's/^/| /' conftest.$ac_ext >&5
18368 ac_cv_type_fsfilcnt_t=no
18371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18373 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18374 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18375 if test $ac_cv_type_fsfilcnt_t = yes; then
18377 cat >>confdefs.h <<_ACEOF
18378 #define HAVE_FSFILCNT_T 1
18384 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18385 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18386 if test "${ac_cv_type_sigset_t+set}" = set; then
18387 echo $ECHO_N "(cached) $ECHO_C" >&6
18389 cat >conftest.$ac_ext <<_ACEOF
18392 cat confdefs.h >>conftest.$ac_ext
18393 cat >>conftest.$ac_ext <<_ACEOF
18394 /* end confdefs.h. */
18395 #include <signal.h>
18397 typedef sigset_t ac__type_new_;
18401 if ((ac__type_new_ *) 0)
18403 if (sizeof (ac__type_new_))
18409 rm -f conftest.$ac_objext
18410 if { (ac_try="$ac_compile"
18411 case "(($ac_try" in
18412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18413 *) ac_try_echo=$ac_try;;
18415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18416 (eval "$ac_compile") 2>conftest.er1
18418 grep -v '^ *+' conftest.er1 >conftest.err
18420 cat conftest.err >&5
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); } && {
18423 test -z "$ac_c_werror_flag" ||
18424 test ! -s conftest.err
18425 } && test -s conftest.$ac_objext; then
18426 ac_cv_type_sigset_t=yes
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.$ac_ext >&5
18431 ac_cv_type_sigset_t=no
18434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18436 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18437 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18438 if test $ac_cv_type_sigset_t = yes; then
18440 cat >>confdefs.h <<_ACEOF
18441 #define HAVE_SIGSET_T 1
18447 { echo "$as_me:$LINENO: checking for request_sense" >&5
18448 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18449 if test "${ac_cv_type_request_sense+set}" = set; then
18450 echo $ECHO_N "(cached) $ECHO_C" >&6
18452 cat >conftest.$ac_ext <<_ACEOF
18455 cat confdefs.h >>conftest.$ac_ext
18456 cat >>conftest.$ac_ext <<_ACEOF
18457 /* end confdefs.h. */
18458 #include <linux/cdrom.h>
18460 typedef request_sense ac__type_new_;
18464 if ((ac__type_new_ *) 0)
18466 if (sizeof (ac__type_new_))
18472 rm -f conftest.$ac_objext
18473 if { (ac_try="$ac_compile"
18474 case "(($ac_try" in
18475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18476 *) ac_try_echo=$ac_try;;
18478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18479 (eval "$ac_compile") 2>conftest.er1
18481 grep -v '^ *+' conftest.er1 >conftest.err
18483 cat conftest.err >&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); } && {
18486 test -z "$ac_c_werror_flag" ||
18487 test ! -s conftest.err
18488 } && test -s conftest.$ac_objext; then
18489 ac_cv_type_request_sense=yes
18491 echo "$as_me: failed program was:" >&5
18492 sed 's/^/| /' conftest.$ac_ext >&5
18494 ac_cv_type_request_sense=no
18497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18499 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18500 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18501 if test $ac_cv_type_request_sense = yes; then
18503 cat >>confdefs.h <<_ACEOF
18504 #define HAVE_REQUEST_SENSE 1
18511 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18512 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18513 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18514 echo $ECHO_N "(cached) $ECHO_C" >&6
18516 cat >conftest.$ac_ext <<_ACEOF
18519 cat confdefs.h >>conftest.$ac_ext
18520 cat >>conftest.$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18522 #ifdef HAVE_LINUX_INPUT_H
18523 #include <linux/input.h>
18529 static struct ff_effect ac_aggr;
18530 if (ac_aggr.direction)
18536 rm -f conftest.$ac_objext
18537 if { (ac_try="$ac_compile"
18538 case "(($ac_try" in
18539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18540 *) ac_try_echo=$ac_try;;
18542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18543 (eval "$ac_compile") 2>conftest.er1
18545 grep -v '^ *+' conftest.er1 >conftest.err
18547 cat conftest.err >&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); } && {
18550 test -z "$ac_c_werror_flag" ||
18551 test ! -s conftest.err
18552 } && test -s conftest.$ac_objext; then
18553 ac_cv_member_struct_ff_effect_direction=yes
18555 echo "$as_me: failed program was:" >&5
18556 sed 's/^/| /' conftest.$ac_ext >&5
18558 cat >conftest.$ac_ext <<_ACEOF
18561 cat confdefs.h >>conftest.$ac_ext
18562 cat >>conftest.$ac_ext <<_ACEOF
18563 /* end confdefs.h. */
18564 #ifdef HAVE_LINUX_INPUT_H
18565 #include <linux/input.h>
18571 static struct ff_effect ac_aggr;
18572 if (sizeof ac_aggr.direction)
18578 rm -f conftest.$ac_objext
18579 if { (ac_try="$ac_compile"
18580 case "(($ac_try" in
18581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18582 *) ac_try_echo=$ac_try;;
18584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18585 (eval "$ac_compile") 2>conftest.er1
18587 grep -v '^ *+' conftest.er1 >conftest.err
18589 cat conftest.err >&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } && {
18592 test -z "$ac_c_werror_flag" ||
18593 test ! -s conftest.err
18594 } && test -s conftest.$ac_objext; then
18595 ac_cv_member_struct_ff_effect_direction=yes
18597 echo "$as_me: failed program was:" >&5
18598 sed 's/^/| /' conftest.$ac_ext >&5
18600 ac_cv_member_struct_ff_effect_direction=no
18603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18608 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18609 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18610 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18612 cat >>confdefs.h <<_ACEOF
18613 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18620 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18621 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18622 if test "${wine_cv_have_sigaddset+set}" = set; then
18623 echo $ECHO_N "(cached) $ECHO_C" >&6
18625 cat >conftest.$ac_ext <<_ACEOF
18628 cat confdefs.h >>conftest.$ac_ext
18629 cat >>conftest.$ac_ext <<_ACEOF
18630 /* end confdefs.h. */
18631 #include <signal.h>
18635 sigset_t set; sigaddset(&set,SIGTERM);
18640 rm -f conftest.$ac_objext conftest$ac_exeext
18641 if { (ac_try="$ac_link"
18642 case "(($ac_try" in
18643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18644 *) ac_try_echo=$ac_try;;
18646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18647 (eval "$ac_link") 2>conftest.er1
18649 grep -v '^ *+' conftest.er1 >conftest.err
18651 cat conftest.err >&5
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); } && {
18654 test -z "$ac_c_werror_flag" ||
18655 test ! -s conftest.err
18656 } && test -s conftest$ac_exeext &&
18657 $as_test_x conftest$ac_exeext; then
18658 wine_cv_have_sigaddset=yes
18660 echo "$as_me: failed program was:" >&5
18661 sed 's/^/| /' conftest.$ac_ext >&5
18663 wine_cv_have_sigaddset=no
18666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18667 conftest$ac_exeext conftest.$ac_ext
18669 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18670 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18671 if test "$wine_cv_have_sigaddset" = "yes"
18674 cat >>confdefs.h <<\_ACEOF
18675 #define HAVE_SIGADDSET 1
18681 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18682 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18683 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18684 echo $ECHO_N "(cached) $ECHO_C" >&6
18686 cat >conftest.$ac_ext <<_ACEOF
18689 cat confdefs.h >>conftest.$ac_ext
18690 cat >>conftest.$ac_ext <<_ACEOF
18691 /* end confdefs.h. */
18699 struct hostent *result;
18706 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18707 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18713 rm -f conftest.$ac_objext conftest$ac_exeext
18714 if { (ac_try="$ac_link"
18715 case "(($ac_try" in
18716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18717 *) ac_try_echo=$ac_try;;
18719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18720 (eval "$ac_link") 2>conftest.er1
18722 grep -v '^ *+' conftest.er1 >conftest.err
18724 cat conftest.err >&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); } && {
18727 test -z "$ac_c_werror_flag" ||
18728 test ! -s conftest.err
18729 } && test -s conftest$ac_exeext &&
18730 $as_test_x conftest$ac_exeext; then
18731 wine_cv_linux_gethostbyname_r_6=yes
18733 echo "$as_me: failed program was:" >&5
18734 sed 's/^/| /' conftest.$ac_ext >&5
18736 wine_cv_linux_gethostbyname_r_6=no
18740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18741 conftest$ac_exeext conftest.$ac_ext
18744 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18745 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18746 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18749 cat >>confdefs.h <<\_ACEOF
18750 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18755 if test "$ac_cv_header_linux_joystick_h" = "yes"
18757 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18758 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18759 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18760 echo $ECHO_N "(cached) $ECHO_C" >&6
18762 cat >conftest.$ac_ext <<_ACEOF
18765 cat confdefs.h >>conftest.$ac_ext
18766 cat >>conftest.$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18769 #include <sys/ioctl.h>
18770 #include <sys/types.h>
18771 #include <linux/joystick.h>
18773 struct js_event blub;
18774 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18775 #error "no 2.2 header"
18786 rm -f conftest.$ac_objext
18787 if { (ac_try="$ac_compile"
18788 case "(($ac_try" in
18789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18790 *) ac_try_echo=$ac_try;;
18792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18793 (eval "$ac_compile") 2>conftest.er1
18795 grep -v '^ *+' conftest.er1 >conftest.err
18797 cat conftest.err >&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } && {
18800 test -z "$ac_c_werror_flag" ||
18801 test ! -s conftest.err
18802 } && test -s conftest.$ac_objext; then
18803 wine_cv_linux_joystick_22_api=yes
18805 echo "$as_me: failed program was:" >&5
18806 sed 's/^/| /' conftest.$ac_ext >&5
18808 wine_cv_linux_joystick_22_api=no
18811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18814 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18815 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18816 if test "$wine_cv_linux_joystick_22_api" = "yes"
18819 cat >>confdefs.h <<\_ACEOF
18820 #define HAVE_LINUX_22_JOYSTICK_API 1
18827 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18828 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18829 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18830 echo $ECHO_N "(cached) $ECHO_C" >&6
18832 cat >conftest.$ac_ext <<_ACEOF
18835 cat confdefs.h >>conftest.$ac_ext
18836 cat >>conftest.$ac_ext <<_ACEOF
18837 /* end confdefs.h. */
18838 #include <sys/types.h>
18839 #ifdef HAVE_SYS_PARAM_H
18840 # include <sys/param.h>
18842 #ifdef HAVE_SYS_MOUNT_H
18843 # include <sys/mount.h>
18845 #ifdef HAVE_SYS_VFS_H
18846 # include <sys/vfs.h>
18848 #ifdef HAVE_SYS_STATFS_H
18849 # include <sys/statfs.h>
18855 static struct statfs ac_aggr;
18856 if (ac_aggr.f_bfree)
18862 rm -f conftest.$ac_objext
18863 if { (ac_try="$ac_compile"
18864 case "(($ac_try" in
18865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18866 *) ac_try_echo=$ac_try;;
18868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18869 (eval "$ac_compile") 2>conftest.er1
18871 grep -v '^ *+' conftest.er1 >conftest.err
18873 cat conftest.err >&5
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); } && {
18876 test -z "$ac_c_werror_flag" ||
18877 test ! -s conftest.err
18878 } && test -s conftest.$ac_objext; then
18879 ac_cv_member_struct_statfs_f_bfree=yes
18881 echo "$as_me: failed program was:" >&5
18882 sed 's/^/| /' conftest.$ac_ext >&5
18884 cat >conftest.$ac_ext <<_ACEOF
18887 cat confdefs.h >>conftest.$ac_ext
18888 cat >>conftest.$ac_ext <<_ACEOF
18889 /* end confdefs.h. */
18890 #include <sys/types.h>
18891 #ifdef HAVE_SYS_PARAM_H
18892 # include <sys/param.h>
18894 #ifdef HAVE_SYS_MOUNT_H
18895 # include <sys/mount.h>
18897 #ifdef HAVE_SYS_VFS_H
18898 # include <sys/vfs.h>
18900 #ifdef HAVE_SYS_STATFS_H
18901 # include <sys/statfs.h>
18907 static struct statfs ac_aggr;
18908 if (sizeof ac_aggr.f_bfree)
18914 rm -f conftest.$ac_objext
18915 if { (ac_try="$ac_compile"
18916 case "(($ac_try" in
18917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18918 *) ac_try_echo=$ac_try;;
18920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18921 (eval "$ac_compile") 2>conftest.er1
18923 grep -v '^ *+' conftest.er1 >conftest.err
18925 cat conftest.err >&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } && {
18928 test -z "$ac_c_werror_flag" ||
18929 test ! -s conftest.err
18930 } && test -s conftest.$ac_objext; then
18931 ac_cv_member_struct_statfs_f_bfree=yes
18933 echo "$as_me: failed program was:" >&5
18934 sed 's/^/| /' conftest.$ac_ext >&5
18936 ac_cv_member_struct_statfs_f_bfree=no
18939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18944 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18945 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18946 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18948 cat >>confdefs.h <<_ACEOF
18949 #define HAVE_STRUCT_STATFS_F_BFREE 1
18954 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18955 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18956 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18957 echo $ECHO_N "(cached) $ECHO_C" >&6
18959 cat >conftest.$ac_ext <<_ACEOF
18962 cat confdefs.h >>conftest.$ac_ext
18963 cat >>conftest.$ac_ext <<_ACEOF
18964 /* end confdefs.h. */
18965 #include <sys/types.h>
18966 #ifdef HAVE_SYS_PARAM_H
18967 # include <sys/param.h>
18969 #ifdef HAVE_SYS_MOUNT_H
18970 # include <sys/mount.h>
18972 #ifdef HAVE_SYS_VFS_H
18973 # include <sys/vfs.h>
18975 #ifdef HAVE_SYS_STATFS_H
18976 # include <sys/statfs.h>
18982 static struct statfs ac_aggr;
18983 if (ac_aggr.f_bavail)
18989 rm -f conftest.$ac_objext
18990 if { (ac_try="$ac_compile"
18991 case "(($ac_try" in
18992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18993 *) ac_try_echo=$ac_try;;
18995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18996 (eval "$ac_compile") 2>conftest.er1
18998 grep -v '^ *+' conftest.er1 >conftest.err
19000 cat conftest.err >&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } && {
19003 test -z "$ac_c_werror_flag" ||
19004 test ! -s conftest.err
19005 } && test -s conftest.$ac_objext; then
19006 ac_cv_member_struct_statfs_f_bavail=yes
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.$ac_ext >&5
19011 cat >conftest.$ac_ext <<_ACEOF
19014 cat confdefs.h >>conftest.$ac_ext
19015 cat >>conftest.$ac_ext <<_ACEOF
19016 /* end confdefs.h. */
19017 #include <sys/types.h>
19018 #ifdef HAVE_SYS_PARAM_H
19019 # include <sys/param.h>
19021 #ifdef HAVE_SYS_MOUNT_H
19022 # include <sys/mount.h>
19024 #ifdef HAVE_SYS_VFS_H
19025 # include <sys/vfs.h>
19027 #ifdef HAVE_SYS_STATFS_H
19028 # include <sys/statfs.h>
19034 static struct statfs ac_aggr;
19035 if (sizeof ac_aggr.f_bavail)
19041 rm -f conftest.$ac_objext
19042 if { (ac_try="$ac_compile"
19043 case "(($ac_try" in
19044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19045 *) ac_try_echo=$ac_try;;
19047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19048 (eval "$ac_compile") 2>conftest.er1
19050 grep -v '^ *+' conftest.er1 >conftest.err
19052 cat conftest.err >&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); } && {
19055 test -z "$ac_c_werror_flag" ||
19056 test ! -s conftest.err
19057 } && test -s conftest.$ac_objext; then
19058 ac_cv_member_struct_statfs_f_bavail=yes
19060 echo "$as_me: failed program was:" >&5
19061 sed 's/^/| /' conftest.$ac_ext >&5
19063 ac_cv_member_struct_statfs_f_bavail=no
19066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19071 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19072 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19073 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19075 cat >>confdefs.h <<_ACEOF
19076 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19081 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19082 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19083 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19084 echo $ECHO_N "(cached) $ECHO_C" >&6
19086 cat >conftest.$ac_ext <<_ACEOF
19089 cat confdefs.h >>conftest.$ac_ext
19090 cat >>conftest.$ac_ext <<_ACEOF
19091 /* end confdefs.h. */
19092 #include <sys/types.h>
19093 #ifdef HAVE_SYS_PARAM_H
19094 # include <sys/param.h>
19096 #ifdef HAVE_SYS_MOUNT_H
19097 # include <sys/mount.h>
19099 #ifdef HAVE_SYS_VFS_H
19100 # include <sys/vfs.h>
19102 #ifdef HAVE_SYS_STATFS_H
19103 # include <sys/statfs.h>
19109 static struct statfs ac_aggr;
19110 if (ac_aggr.f_frsize)
19116 rm -f conftest.$ac_objext
19117 if { (ac_try="$ac_compile"
19118 case "(($ac_try" in
19119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19120 *) ac_try_echo=$ac_try;;
19122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19123 (eval "$ac_compile") 2>conftest.er1
19125 grep -v '^ *+' conftest.er1 >conftest.err
19127 cat conftest.err >&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); } && {
19130 test -z "$ac_c_werror_flag" ||
19131 test ! -s conftest.err
19132 } && test -s conftest.$ac_objext; then
19133 ac_cv_member_struct_statfs_f_frsize=yes
19135 echo "$as_me: failed program was:" >&5
19136 sed 's/^/| /' conftest.$ac_ext >&5
19138 cat >conftest.$ac_ext <<_ACEOF
19141 cat confdefs.h >>conftest.$ac_ext
19142 cat >>conftest.$ac_ext <<_ACEOF
19143 /* end confdefs.h. */
19144 #include <sys/types.h>
19145 #ifdef HAVE_SYS_PARAM_H
19146 # include <sys/param.h>
19148 #ifdef HAVE_SYS_MOUNT_H
19149 # include <sys/mount.h>
19151 #ifdef HAVE_SYS_VFS_H
19152 # include <sys/vfs.h>
19154 #ifdef HAVE_SYS_STATFS_H
19155 # include <sys/statfs.h>
19161 static struct statfs ac_aggr;
19162 if (sizeof ac_aggr.f_frsize)
19168 rm -f conftest.$ac_objext
19169 if { (ac_try="$ac_compile"
19170 case "(($ac_try" in
19171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19172 *) ac_try_echo=$ac_try;;
19174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19175 (eval "$ac_compile") 2>conftest.er1
19177 grep -v '^ *+' conftest.er1 >conftest.err
19179 cat conftest.err >&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); } && {
19182 test -z "$ac_c_werror_flag" ||
19183 test ! -s conftest.err
19184 } && test -s conftest.$ac_objext; then
19185 ac_cv_member_struct_statfs_f_frsize=yes
19187 echo "$as_me: failed program was:" >&5
19188 sed 's/^/| /' conftest.$ac_ext >&5
19190 ac_cv_member_struct_statfs_f_frsize=no
19193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19198 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19199 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19200 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19202 cat >>confdefs.h <<_ACEOF
19203 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19208 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19209 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19210 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19211 echo $ECHO_N "(cached) $ECHO_C" >&6
19213 cat >conftest.$ac_ext <<_ACEOF
19216 cat confdefs.h >>conftest.$ac_ext
19217 cat >>conftest.$ac_ext <<_ACEOF
19218 /* end confdefs.h. */
19219 #include <sys/types.h>
19220 #ifdef HAVE_SYS_PARAM_H
19221 # include <sys/param.h>
19223 #ifdef HAVE_SYS_MOUNT_H
19224 # include <sys/mount.h>
19226 #ifdef HAVE_SYS_VFS_H
19227 # include <sys/vfs.h>
19229 #ifdef HAVE_SYS_STATFS_H
19230 # include <sys/statfs.h>
19236 static struct statfs ac_aggr;
19237 if (ac_aggr.f_ffree)
19243 rm -f conftest.$ac_objext
19244 if { (ac_try="$ac_compile"
19245 case "(($ac_try" in
19246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19247 *) ac_try_echo=$ac_try;;
19249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19250 (eval "$ac_compile") 2>conftest.er1
19252 grep -v '^ *+' conftest.er1 >conftest.err
19254 cat conftest.err >&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } && {
19257 test -z "$ac_c_werror_flag" ||
19258 test ! -s conftest.err
19259 } && test -s conftest.$ac_objext; then
19260 ac_cv_member_struct_statfs_f_ffree=yes
19262 echo "$as_me: failed program was:" >&5
19263 sed 's/^/| /' conftest.$ac_ext >&5
19265 cat >conftest.$ac_ext <<_ACEOF
19268 cat confdefs.h >>conftest.$ac_ext
19269 cat >>conftest.$ac_ext <<_ACEOF
19270 /* end confdefs.h. */
19271 #include <sys/types.h>
19272 #ifdef HAVE_SYS_PARAM_H
19273 # include <sys/param.h>
19275 #ifdef HAVE_SYS_MOUNT_H
19276 # include <sys/mount.h>
19278 #ifdef HAVE_SYS_VFS_H
19279 # include <sys/vfs.h>
19281 #ifdef HAVE_SYS_STATFS_H
19282 # include <sys/statfs.h>
19288 static struct statfs ac_aggr;
19289 if (sizeof ac_aggr.f_ffree)
19295 rm -f conftest.$ac_objext
19296 if { (ac_try="$ac_compile"
19297 case "(($ac_try" in
19298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19299 *) ac_try_echo=$ac_try;;
19301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19302 (eval "$ac_compile") 2>conftest.er1
19304 grep -v '^ *+' conftest.er1 >conftest.err
19306 cat conftest.err >&5
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); } && {
19309 test -z "$ac_c_werror_flag" ||
19310 test ! -s conftest.err
19311 } && test -s conftest.$ac_objext; then
19312 ac_cv_member_struct_statfs_f_ffree=yes
19314 echo "$as_me: failed program was:" >&5
19315 sed 's/^/| /' conftest.$ac_ext >&5
19317 ac_cv_member_struct_statfs_f_ffree=no
19320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19325 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19326 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19327 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19329 cat >>confdefs.h <<_ACEOF
19330 #define HAVE_STRUCT_STATFS_F_FFREE 1
19335 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19336 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19337 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19338 echo $ECHO_N "(cached) $ECHO_C" >&6
19340 cat >conftest.$ac_ext <<_ACEOF
19343 cat confdefs.h >>conftest.$ac_ext
19344 cat >>conftest.$ac_ext <<_ACEOF
19345 /* end confdefs.h. */
19346 #include <sys/types.h>
19347 #ifdef HAVE_SYS_PARAM_H
19348 # include <sys/param.h>
19350 #ifdef HAVE_SYS_MOUNT_H
19351 # include <sys/mount.h>
19353 #ifdef HAVE_SYS_VFS_H
19354 # include <sys/vfs.h>
19356 #ifdef HAVE_SYS_STATFS_H
19357 # include <sys/statfs.h>
19363 static struct statfs ac_aggr;
19364 if (ac_aggr.f_favail)
19370 rm -f conftest.$ac_objext
19371 if { (ac_try="$ac_compile"
19372 case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_compile") 2>conftest.er1
19379 grep -v '^ *+' conftest.er1 >conftest.err
19381 cat conftest.err >&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); } && {
19384 test -z "$ac_c_werror_flag" ||
19385 test ! -s conftest.err
19386 } && test -s conftest.$ac_objext; then
19387 ac_cv_member_struct_statfs_f_favail=yes
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.$ac_ext >&5
19392 cat >conftest.$ac_ext <<_ACEOF
19395 cat confdefs.h >>conftest.$ac_ext
19396 cat >>conftest.$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19398 #include <sys/types.h>
19399 #ifdef HAVE_SYS_PARAM_H
19400 # include <sys/param.h>
19402 #ifdef HAVE_SYS_MOUNT_H
19403 # include <sys/mount.h>
19405 #ifdef HAVE_SYS_VFS_H
19406 # include <sys/vfs.h>
19408 #ifdef HAVE_SYS_STATFS_H
19409 # include <sys/statfs.h>
19415 static struct statfs ac_aggr;
19416 if (sizeof ac_aggr.f_favail)
19422 rm -f conftest.$ac_objext
19423 if { (ac_try="$ac_compile"
19424 case "(($ac_try" in
19425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19426 *) ac_try_echo=$ac_try;;
19428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19429 (eval "$ac_compile") 2>conftest.er1
19431 grep -v '^ *+' conftest.er1 >conftest.err
19433 cat conftest.err >&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); } && {
19436 test -z "$ac_c_werror_flag" ||
19437 test ! -s conftest.err
19438 } && test -s conftest.$ac_objext; then
19439 ac_cv_member_struct_statfs_f_favail=yes
19441 echo "$as_me: failed program was:" >&5
19442 sed 's/^/| /' conftest.$ac_ext >&5
19444 ac_cv_member_struct_statfs_f_favail=no
19447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19452 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19453 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19454 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19456 cat >>confdefs.h <<_ACEOF
19457 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19462 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19463 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19464 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19465 echo $ECHO_N "(cached) $ECHO_C" >&6
19467 cat >conftest.$ac_ext <<_ACEOF
19470 cat confdefs.h >>conftest.$ac_ext
19471 cat >>conftest.$ac_ext <<_ACEOF
19472 /* end confdefs.h. */
19473 #include <sys/types.h>
19474 #ifdef HAVE_SYS_PARAM_H
19475 # include <sys/param.h>
19477 #ifdef HAVE_SYS_MOUNT_H
19478 # include <sys/mount.h>
19480 #ifdef HAVE_SYS_VFS_H
19481 # include <sys/vfs.h>
19483 #ifdef HAVE_SYS_STATFS_H
19484 # include <sys/statfs.h>
19490 static struct statfs ac_aggr;
19491 if (ac_aggr.f_namelen)
19497 rm -f conftest.$ac_objext
19498 if { (ac_try="$ac_compile"
19499 case "(($ac_try" in
19500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19501 *) ac_try_echo=$ac_try;;
19503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19504 (eval "$ac_compile") 2>conftest.er1
19506 grep -v '^ *+' conftest.er1 >conftest.err
19508 cat conftest.err >&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } && {
19511 test -z "$ac_c_werror_flag" ||
19512 test ! -s conftest.err
19513 } && test -s conftest.$ac_objext; then
19514 ac_cv_member_struct_statfs_f_namelen=yes
19516 echo "$as_me: failed program was:" >&5
19517 sed 's/^/| /' conftest.$ac_ext >&5
19519 cat >conftest.$ac_ext <<_ACEOF
19522 cat confdefs.h >>conftest.$ac_ext
19523 cat >>conftest.$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19525 #include <sys/types.h>
19526 #ifdef HAVE_SYS_PARAM_H
19527 # include <sys/param.h>
19529 #ifdef HAVE_SYS_MOUNT_H
19530 # include <sys/mount.h>
19532 #ifdef HAVE_SYS_VFS_H
19533 # include <sys/vfs.h>
19535 #ifdef HAVE_SYS_STATFS_H
19536 # include <sys/statfs.h>
19542 static struct statfs ac_aggr;
19543 if (sizeof ac_aggr.f_namelen)
19549 rm -f conftest.$ac_objext
19550 if { (ac_try="$ac_compile"
19551 case "(($ac_try" in
19552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19553 *) ac_try_echo=$ac_try;;
19555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19556 (eval "$ac_compile") 2>conftest.er1
19558 grep -v '^ *+' conftest.er1 >conftest.err
19560 cat conftest.err >&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); } && {
19563 test -z "$ac_c_werror_flag" ||
19564 test ! -s conftest.err
19565 } && test -s conftest.$ac_objext; then
19566 ac_cv_member_struct_statfs_f_namelen=yes
19568 echo "$as_me: failed program was:" >&5
19569 sed 's/^/| /' conftest.$ac_ext >&5
19571 ac_cv_member_struct_statfs_f_namelen=no
19574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19579 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19580 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19581 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19583 cat >>confdefs.h <<_ACEOF
19584 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19591 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19592 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19593 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19594 echo $ECHO_N "(cached) $ECHO_C" >&6
19596 cat >conftest.$ac_ext <<_ACEOF
19599 cat confdefs.h >>conftest.$ac_ext
19600 cat >>conftest.$ac_ext <<_ACEOF
19601 /* end confdefs.h. */
19602 #ifdef HAVE_SYS_STATVFS_H
19603 #include <sys/statvfs.h>
19609 static struct statvfs ac_aggr;
19610 if (ac_aggr.f_blocks)
19616 rm -f conftest.$ac_objext
19617 if { (ac_try="$ac_compile"
19618 case "(($ac_try" in
19619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19620 *) ac_try_echo=$ac_try;;
19622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19623 (eval "$ac_compile") 2>conftest.er1
19625 grep -v '^ *+' conftest.er1 >conftest.err
19627 cat conftest.err >&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); } && {
19630 test -z "$ac_c_werror_flag" ||
19631 test ! -s conftest.err
19632 } && test -s conftest.$ac_objext; then
19633 ac_cv_member_struct_statvfs_f_blocks=yes
19635 echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.$ac_ext >&5
19638 cat >conftest.$ac_ext <<_ACEOF
19641 cat confdefs.h >>conftest.$ac_ext
19642 cat >>conftest.$ac_ext <<_ACEOF
19643 /* end confdefs.h. */
19644 #ifdef HAVE_SYS_STATVFS_H
19645 #include <sys/statvfs.h>
19651 static struct statvfs ac_aggr;
19652 if (sizeof ac_aggr.f_blocks)
19658 rm -f conftest.$ac_objext
19659 if { (ac_try="$ac_compile"
19660 case "(($ac_try" in
19661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19662 *) ac_try_echo=$ac_try;;
19664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19665 (eval "$ac_compile") 2>conftest.er1
19667 grep -v '^ *+' conftest.er1 >conftest.err
19669 cat conftest.err >&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); } && {
19672 test -z "$ac_c_werror_flag" ||
19673 test ! -s conftest.err
19674 } && test -s conftest.$ac_objext; then
19675 ac_cv_member_struct_statvfs_f_blocks=yes
19677 echo "$as_me: failed program was:" >&5
19678 sed 's/^/| /' conftest.$ac_ext >&5
19680 ac_cv_member_struct_statvfs_f_blocks=no
19683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19688 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19689 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19690 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19692 cat >>confdefs.h <<_ACEOF
19693 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19700 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19701 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19702 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19703 echo $ECHO_N "(cached) $ECHO_C" >&6
19705 cat >conftest.$ac_ext <<_ACEOF
19708 cat confdefs.h >>conftest.$ac_ext
19709 cat >>conftest.$ac_ext <<_ACEOF
19710 /* end confdefs.h. */
19711 #include <sys/types.h>
19712 #ifdef HAVE_SYS_SOCKET_H
19713 # include <sys/socket.h>
19715 #ifdef HAVE_SYS_UN_H
19716 # include <sys/un.h>
19722 static struct msghdr ac_aggr;
19723 if (ac_aggr.msg_accrights)
19729 rm -f conftest.$ac_objext
19730 if { (ac_try="$ac_compile"
19731 case "(($ac_try" in
19732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19733 *) ac_try_echo=$ac_try;;
19735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19736 (eval "$ac_compile") 2>conftest.er1
19738 grep -v '^ *+' conftest.er1 >conftest.err
19740 cat conftest.err >&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } && {
19743 test -z "$ac_c_werror_flag" ||
19744 test ! -s conftest.err
19745 } && test -s conftest.$ac_objext; then
19746 ac_cv_member_struct_msghdr_msg_accrights=yes
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.$ac_ext >&5
19751 cat >conftest.$ac_ext <<_ACEOF
19754 cat confdefs.h >>conftest.$ac_ext
19755 cat >>conftest.$ac_ext <<_ACEOF
19756 /* end confdefs.h. */
19757 #include <sys/types.h>
19758 #ifdef HAVE_SYS_SOCKET_H
19759 # include <sys/socket.h>
19761 #ifdef HAVE_SYS_UN_H
19762 # include <sys/un.h>
19768 static struct msghdr ac_aggr;
19769 if (sizeof ac_aggr.msg_accrights)
19775 rm -f conftest.$ac_objext
19776 if { (ac_try="$ac_compile"
19777 case "(($ac_try" in
19778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19779 *) ac_try_echo=$ac_try;;
19781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19782 (eval "$ac_compile") 2>conftest.er1
19784 grep -v '^ *+' conftest.er1 >conftest.err
19786 cat conftest.err >&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); } && {
19789 test -z "$ac_c_werror_flag" ||
19790 test ! -s conftest.err
19791 } && test -s conftest.$ac_objext; then
19792 ac_cv_member_struct_msghdr_msg_accrights=yes
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19797 ac_cv_member_struct_msghdr_msg_accrights=no
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19805 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19806 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19807 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19809 cat >>confdefs.h <<_ACEOF
19810 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19815 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19816 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19817 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19818 echo $ECHO_N "(cached) $ECHO_C" >&6
19820 cat >conftest.$ac_ext <<_ACEOF
19823 cat confdefs.h >>conftest.$ac_ext
19824 cat >>conftest.$ac_ext <<_ACEOF
19825 /* end confdefs.h. */
19826 #include <sys/types.h>
19827 #ifdef HAVE_SYS_SOCKET_H
19828 # include <sys/socket.h>
19830 #ifdef HAVE_SYS_UN_H
19831 # include <sys/un.h>
19837 static struct sockaddr ac_aggr;
19838 if (ac_aggr.sa_len)
19844 rm -f conftest.$ac_objext
19845 if { (ac_try="$ac_compile"
19846 case "(($ac_try" in
19847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19848 *) ac_try_echo=$ac_try;;
19850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19851 (eval "$ac_compile") 2>conftest.er1
19853 grep -v '^ *+' conftest.er1 >conftest.err
19855 cat conftest.err >&5
19856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857 (exit $ac_status); } && {
19858 test -z "$ac_c_werror_flag" ||
19859 test ! -s conftest.err
19860 } && test -s conftest.$ac_objext; then
19861 ac_cv_member_struct_sockaddr_sa_len=yes
19863 echo "$as_me: failed program was:" >&5
19864 sed 's/^/| /' conftest.$ac_ext >&5
19866 cat >conftest.$ac_ext <<_ACEOF
19869 cat confdefs.h >>conftest.$ac_ext
19870 cat >>conftest.$ac_ext <<_ACEOF
19871 /* end confdefs.h. */
19872 #include <sys/types.h>
19873 #ifdef HAVE_SYS_SOCKET_H
19874 # include <sys/socket.h>
19876 #ifdef HAVE_SYS_UN_H
19877 # include <sys/un.h>
19883 static struct sockaddr ac_aggr;
19884 if (sizeof ac_aggr.sa_len)
19890 rm -f conftest.$ac_objext
19891 if { (ac_try="$ac_compile"
19892 case "(($ac_try" in
19893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19894 *) ac_try_echo=$ac_try;;
19896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19897 (eval "$ac_compile") 2>conftest.er1
19899 grep -v '^ *+' conftest.er1 >conftest.err
19901 cat conftest.err >&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } && {
19904 test -z "$ac_c_werror_flag" ||
19905 test ! -s conftest.err
19906 } && test -s conftest.$ac_objext; then
19907 ac_cv_member_struct_sockaddr_sa_len=yes
19909 echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.$ac_ext >&5
19912 ac_cv_member_struct_sockaddr_sa_len=no
19915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19920 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19921 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19922 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19924 cat >>confdefs.h <<_ACEOF
19925 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19930 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19931 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19932 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19933 echo $ECHO_N "(cached) $ECHO_C" >&6
19935 cat >conftest.$ac_ext <<_ACEOF
19938 cat confdefs.h >>conftest.$ac_ext
19939 cat >>conftest.$ac_ext <<_ACEOF
19940 /* end confdefs.h. */
19941 #include <sys/types.h>
19942 #ifdef HAVE_SYS_SOCKET_H
19943 # include <sys/socket.h>
19945 #ifdef HAVE_SYS_UN_H
19946 # include <sys/un.h>
19952 static struct sockaddr_un ac_aggr;
19953 if (ac_aggr.sun_len)
19959 rm -f conftest.$ac_objext
19960 if { (ac_try="$ac_compile"
19961 case "(($ac_try" in
19962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19963 *) ac_try_echo=$ac_try;;
19965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19966 (eval "$ac_compile") 2>conftest.er1
19968 grep -v '^ *+' conftest.er1 >conftest.err
19970 cat conftest.err >&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } && {
19973 test -z "$ac_c_werror_flag" ||
19974 test ! -s conftest.err
19975 } && test -s conftest.$ac_objext; then
19976 ac_cv_member_struct_sockaddr_un_sun_len=yes
19978 echo "$as_me: failed program was:" >&5
19979 sed 's/^/| /' conftest.$ac_ext >&5
19981 cat >conftest.$ac_ext <<_ACEOF
19984 cat confdefs.h >>conftest.$ac_ext
19985 cat >>conftest.$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 #include <sys/types.h>
19988 #ifdef HAVE_SYS_SOCKET_H
19989 # include <sys/socket.h>
19991 #ifdef HAVE_SYS_UN_H
19992 # include <sys/un.h>
19998 static struct sockaddr_un ac_aggr;
19999 if (sizeof ac_aggr.sun_len)
20005 rm -f conftest.$ac_objext
20006 if { (ac_try="$ac_compile"
20007 case "(($ac_try" in
20008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20009 *) ac_try_echo=$ac_try;;
20011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20012 (eval "$ac_compile") 2>conftest.er1
20014 grep -v '^ *+' conftest.er1 >conftest.err
20016 cat conftest.err >&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } && {
20019 test -z "$ac_c_werror_flag" ||
20020 test ! -s conftest.err
20021 } && test -s conftest.$ac_objext; then
20022 ac_cv_member_struct_sockaddr_un_sun_len=yes
20024 echo "$as_me: failed program was:" >&5
20025 sed 's/^/| /' conftest.$ac_ext >&5
20027 ac_cv_member_struct_sockaddr_un_sun_len=no
20030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20035 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20036 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20037 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20039 cat >>confdefs.h <<_ACEOF
20040 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20047 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20048 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20049 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20050 echo $ECHO_N "(cached) $ECHO_C" >&6
20052 cat >conftest.$ac_ext <<_ACEOF
20055 cat confdefs.h >>conftest.$ac_ext
20056 cat >>conftest.$ac_ext <<_ACEOF
20057 /* end confdefs.h. */
20058 #include <sys/types.h>
20059 #ifdef HAVE_SCSI_SG_H
20060 #include <scsi/sg.h>
20066 static scsireq_t ac_aggr;
20073 rm -f conftest.$ac_objext
20074 if { (ac_try="$ac_compile"
20075 case "(($ac_try" in
20076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20077 *) ac_try_echo=$ac_try;;
20079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20080 (eval "$ac_compile") 2>conftest.er1
20082 grep -v '^ *+' conftest.er1 >conftest.err
20084 cat conftest.err >&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); } && {
20087 test -z "$ac_c_werror_flag" ||
20088 test ! -s conftest.err
20089 } && test -s conftest.$ac_objext; then
20090 ac_cv_member_scsireq_t_cmd=yes
20092 echo "$as_me: failed program was:" >&5
20093 sed 's/^/| /' conftest.$ac_ext >&5
20095 cat >conftest.$ac_ext <<_ACEOF
20098 cat confdefs.h >>conftest.$ac_ext
20099 cat >>conftest.$ac_ext <<_ACEOF
20100 /* end confdefs.h. */
20101 #include <sys/types.h>
20102 #ifdef HAVE_SCSI_SG_H
20103 #include <scsi/sg.h>
20109 static scsireq_t ac_aggr;
20110 if (sizeof ac_aggr.cmd)
20116 rm -f conftest.$ac_objext
20117 if { (ac_try="$ac_compile"
20118 case "(($ac_try" in
20119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20120 *) ac_try_echo=$ac_try;;
20122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20123 (eval "$ac_compile") 2>conftest.er1
20125 grep -v '^ *+' conftest.er1 >conftest.err
20127 cat conftest.err >&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); } && {
20130 test -z "$ac_c_werror_flag" ||
20131 test ! -s conftest.err
20132 } && test -s conftest.$ac_objext; then
20133 ac_cv_member_scsireq_t_cmd=yes
20135 echo "$as_me: failed program was:" >&5
20136 sed 's/^/| /' conftest.$ac_ext >&5
20138 ac_cv_member_scsireq_t_cmd=no
20141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20146 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20147 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20148 if test $ac_cv_member_scsireq_t_cmd = yes; then
20150 cat >>confdefs.h <<_ACEOF
20151 #define HAVE_SCSIREQ_T_CMD 1
20156 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20157 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20158 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20159 echo $ECHO_N "(cached) $ECHO_C" >&6
20161 cat >conftest.$ac_ext <<_ACEOF
20164 cat confdefs.h >>conftest.$ac_ext
20165 cat >>conftest.$ac_ext <<_ACEOF
20166 /* end confdefs.h. */
20167 #include <sys/types.h>
20168 #ifdef HAVE_SCSI_SG_H
20169 #include <scsi/sg.h>
20175 static sg_io_hdr_t ac_aggr;
20176 if (ac_aggr.interface_id)
20182 rm -f conftest.$ac_objext
20183 if { (ac_try="$ac_compile"
20184 case "(($ac_try" in
20185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20186 *) ac_try_echo=$ac_try;;
20188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20189 (eval "$ac_compile") 2>conftest.er1
20191 grep -v '^ *+' conftest.er1 >conftest.err
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } && {
20196 test -z "$ac_c_werror_flag" ||
20197 test ! -s conftest.err
20198 } && test -s conftest.$ac_objext; then
20199 ac_cv_member_sg_io_hdr_t_interface_id=yes
20201 echo "$as_me: failed program was:" >&5
20202 sed 's/^/| /' conftest.$ac_ext >&5
20204 cat >conftest.$ac_ext <<_ACEOF
20207 cat confdefs.h >>conftest.$ac_ext
20208 cat >>conftest.$ac_ext <<_ACEOF
20209 /* end confdefs.h. */
20210 #include <sys/types.h>
20211 #ifdef HAVE_SCSI_SG_H
20212 #include <scsi/sg.h>
20218 static sg_io_hdr_t ac_aggr;
20219 if (sizeof ac_aggr.interface_id)
20225 rm -f conftest.$ac_objext
20226 if { (ac_try="$ac_compile"
20227 case "(($ac_try" in
20228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20229 *) ac_try_echo=$ac_try;;
20231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20232 (eval "$ac_compile") 2>conftest.er1
20234 grep -v '^ *+' conftest.er1 >conftest.err
20236 cat conftest.err >&5
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); } && {
20239 test -z "$ac_c_werror_flag" ||
20240 test ! -s conftest.err
20241 } && test -s conftest.$ac_objext; then
20242 ac_cv_member_sg_io_hdr_t_interface_id=yes
20244 echo "$as_me: failed program was:" >&5
20245 sed 's/^/| /' conftest.$ac_ext >&5
20247 ac_cv_member_sg_io_hdr_t_interface_id=no
20250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20255 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20256 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20257 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20259 cat >>confdefs.h <<_ACEOF
20260 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20267 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20268 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20269 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20270 echo $ECHO_N "(cached) $ECHO_C" >&6
20272 cat >conftest.$ac_ext <<_ACEOF
20275 cat confdefs.h >>conftest.$ac_ext
20276 cat >>conftest.$ac_ext <<_ACEOF
20277 /* end confdefs.h. */
20278 #include <signal.h>
20283 static siginfo_t ac_aggr;
20290 rm -f conftest.$ac_objext
20291 if { (ac_try="$ac_compile"
20292 case "(($ac_try" in
20293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20294 *) ac_try_echo=$ac_try;;
20296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20297 (eval "$ac_compile") 2>conftest.er1
20299 grep -v '^ *+' conftest.er1 >conftest.err
20301 cat conftest.err >&5
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); } && {
20304 test -z "$ac_c_werror_flag" ||
20305 test ! -s conftest.err
20306 } && test -s conftest.$ac_objext; then
20307 ac_cv_member_siginfo_t_si_fd=yes
20309 echo "$as_me: failed program was:" >&5
20310 sed 's/^/| /' conftest.$ac_ext >&5
20312 cat >conftest.$ac_ext <<_ACEOF
20315 cat confdefs.h >>conftest.$ac_ext
20316 cat >>conftest.$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20318 #include <signal.h>
20323 static siginfo_t ac_aggr;
20324 if (sizeof ac_aggr.si_fd)
20330 rm -f conftest.$ac_objext
20331 if { (ac_try="$ac_compile"
20332 case "(($ac_try" in
20333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20334 *) ac_try_echo=$ac_try;;
20336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20337 (eval "$ac_compile") 2>conftest.er1
20339 grep -v '^ *+' conftest.er1 >conftest.err
20341 cat conftest.err >&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); } && {
20344 test -z "$ac_c_werror_flag" ||
20345 test ! -s conftest.err
20346 } && test -s conftest.$ac_objext; then
20347 ac_cv_member_siginfo_t_si_fd=yes
20349 echo "$as_me: failed program was:" >&5
20350 sed 's/^/| /' conftest.$ac_ext >&5
20352 ac_cv_member_siginfo_t_si_fd=no
20355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20360 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20361 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20362 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20364 cat >>confdefs.h <<_ACEOF
20365 #define HAVE_SIGINFO_T_SI_FD 1
20372 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20373 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20374 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20375 echo $ECHO_N "(cached) $ECHO_C" >&6
20377 cat >conftest.$ac_ext <<_ACEOF
20380 cat confdefs.h >>conftest.$ac_ext
20381 cat >>conftest.$ac_ext <<_ACEOF
20382 /* end confdefs.h. */
20383 #include <sys/types.h>
20384 #ifdef HAVE_SYS_MTIO_H
20385 #include <sys/mtio.h>
20391 static struct mtget ac_aggr;
20392 if (ac_aggr.mt_blksiz)
20398 rm -f conftest.$ac_objext
20399 if { (ac_try="$ac_compile"
20400 case "(($ac_try" in
20401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20402 *) ac_try_echo=$ac_try;;
20404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20405 (eval "$ac_compile") 2>conftest.er1
20407 grep -v '^ *+' conftest.er1 >conftest.err
20409 cat conftest.err >&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } && {
20412 test -z "$ac_c_werror_flag" ||
20413 test ! -s conftest.err
20414 } && test -s conftest.$ac_objext; then
20415 ac_cv_member_struct_mtget_mt_blksiz=yes
20417 echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.$ac_ext >&5
20420 cat >conftest.$ac_ext <<_ACEOF
20423 cat confdefs.h >>conftest.$ac_ext
20424 cat >>conftest.$ac_ext <<_ACEOF
20425 /* end confdefs.h. */
20426 #include <sys/types.h>
20427 #ifdef HAVE_SYS_MTIO_H
20428 #include <sys/mtio.h>
20434 static struct mtget ac_aggr;
20435 if (sizeof ac_aggr.mt_blksiz)
20441 rm -f conftest.$ac_objext
20442 if { (ac_try="$ac_compile"
20443 case "(($ac_try" in
20444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20445 *) ac_try_echo=$ac_try;;
20447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20448 (eval "$ac_compile") 2>conftest.er1
20450 grep -v '^ *+' conftest.er1 >conftest.err
20452 cat conftest.err >&5
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); } && {
20455 test -z "$ac_c_werror_flag" ||
20456 test ! -s conftest.err
20457 } && test -s conftest.$ac_objext; then
20458 ac_cv_member_struct_mtget_mt_blksiz=yes
20460 echo "$as_me: failed program was:" >&5
20461 sed 's/^/| /' conftest.$ac_ext >&5
20463 ac_cv_member_struct_mtget_mt_blksiz=no
20466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20471 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20472 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20473 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20475 cat >>confdefs.h <<_ACEOF
20476 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20481 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20482 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20483 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20484 echo $ECHO_N "(cached) $ECHO_C" >&6
20486 cat >conftest.$ac_ext <<_ACEOF
20489 cat confdefs.h >>conftest.$ac_ext
20490 cat >>conftest.$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492 #include <sys/types.h>
20493 #ifdef HAVE_SYS_MTIO_H
20494 #include <sys/mtio.h>
20500 static struct mtget ac_aggr;
20501 if (ac_aggr.mt_gstat)
20507 rm -f conftest.$ac_objext
20508 if { (ac_try="$ac_compile"
20509 case "(($ac_try" in
20510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20511 *) ac_try_echo=$ac_try;;
20513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20514 (eval "$ac_compile") 2>conftest.er1
20516 grep -v '^ *+' conftest.er1 >conftest.err
20518 cat conftest.err >&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } && {
20521 test -z "$ac_c_werror_flag" ||
20522 test ! -s conftest.err
20523 } && test -s conftest.$ac_objext; then
20524 ac_cv_member_struct_mtget_mt_gstat=yes
20526 echo "$as_me: failed program was:" >&5
20527 sed 's/^/| /' conftest.$ac_ext >&5
20529 cat >conftest.$ac_ext <<_ACEOF
20532 cat confdefs.h >>conftest.$ac_ext
20533 cat >>conftest.$ac_ext <<_ACEOF
20534 /* end confdefs.h. */
20535 #include <sys/types.h>
20536 #ifdef HAVE_SYS_MTIO_H
20537 #include <sys/mtio.h>
20543 static struct mtget ac_aggr;
20544 if (sizeof ac_aggr.mt_gstat)
20550 rm -f conftest.$ac_objext
20551 if { (ac_try="$ac_compile"
20552 case "(($ac_try" in
20553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20554 *) ac_try_echo=$ac_try;;
20556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20557 (eval "$ac_compile") 2>conftest.er1
20559 grep -v '^ *+' conftest.er1 >conftest.err
20561 cat conftest.err >&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); } && {
20564 test -z "$ac_c_werror_flag" ||
20565 test ! -s conftest.err
20566 } && test -s conftest.$ac_objext; then
20567 ac_cv_member_struct_mtget_mt_gstat=yes
20569 echo "$as_me: failed program was:" >&5
20570 sed 's/^/| /' conftest.$ac_ext >&5
20572 ac_cv_member_struct_mtget_mt_gstat=no
20575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20580 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20581 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20582 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20584 cat >>confdefs.h <<_ACEOF
20585 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20590 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20591 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20592 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20593 echo $ECHO_N "(cached) $ECHO_C" >&6
20595 cat >conftest.$ac_ext <<_ACEOF
20598 cat confdefs.h >>conftest.$ac_ext
20599 cat >>conftest.$ac_ext <<_ACEOF
20600 /* end confdefs.h. */
20601 #include <sys/types.h>
20602 #ifdef HAVE_SYS_MTIO_H
20603 #include <sys/mtio.h>
20609 static struct mtget ac_aggr;
20610 if (ac_aggr.mt_blkno)
20616 rm -f conftest.$ac_objext
20617 if { (ac_try="$ac_compile"
20618 case "(($ac_try" in
20619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20620 *) ac_try_echo=$ac_try;;
20622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20623 (eval "$ac_compile") 2>conftest.er1
20625 grep -v '^ *+' conftest.er1 >conftest.err
20627 cat conftest.err >&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); } && {
20630 test -z "$ac_c_werror_flag" ||
20631 test ! -s conftest.err
20632 } && test -s conftest.$ac_objext; then
20633 ac_cv_member_struct_mtget_mt_blkno=yes
20635 echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.$ac_ext >&5
20638 cat >conftest.$ac_ext <<_ACEOF
20641 cat confdefs.h >>conftest.$ac_ext
20642 cat >>conftest.$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644 #include <sys/types.h>
20645 #ifdef HAVE_SYS_MTIO_H
20646 #include <sys/mtio.h>
20652 static struct mtget ac_aggr;
20653 if (sizeof ac_aggr.mt_blkno)
20659 rm -f conftest.$ac_objext
20660 if { (ac_try="$ac_compile"
20661 case "(($ac_try" in
20662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20663 *) ac_try_echo=$ac_try;;
20665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20666 (eval "$ac_compile") 2>conftest.er1
20668 grep -v '^ *+' conftest.er1 >conftest.err
20670 cat conftest.err >&5
20671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20672 (exit $ac_status); } && {
20673 test -z "$ac_c_werror_flag" ||
20674 test ! -s conftest.err
20675 } && test -s conftest.$ac_objext; then
20676 ac_cv_member_struct_mtget_mt_blkno=yes
20678 echo "$as_me: failed program was:" >&5
20679 sed 's/^/| /' conftest.$ac_ext >&5
20681 ac_cv_member_struct_mtget_mt_blkno=no
20684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20689 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20690 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20691 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20693 cat >>confdefs.h <<_ACEOF
20694 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20701 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20702 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20703 if test "${ac_cv_member_struct_option_name+set}" = set; then
20704 echo $ECHO_N "(cached) $ECHO_C" >&6
20706 cat >conftest.$ac_ext <<_ACEOF
20709 cat confdefs.h >>conftest.$ac_ext
20710 cat >>conftest.$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20712 #ifdef HAVE_GETOPT_H
20713 #include <getopt.h>
20719 static struct option ac_aggr;
20726 rm -f conftest.$ac_objext
20727 if { (ac_try="$ac_compile"
20728 case "(($ac_try" in
20729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20730 *) ac_try_echo=$ac_try;;
20732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20733 (eval "$ac_compile") 2>conftest.er1
20735 grep -v '^ *+' conftest.er1 >conftest.err
20737 cat conftest.err >&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && {
20740 test -z "$ac_c_werror_flag" ||
20741 test ! -s conftest.err
20742 } && test -s conftest.$ac_objext; then
20743 ac_cv_member_struct_option_name=yes
20745 echo "$as_me: failed program was:" >&5
20746 sed 's/^/| /' conftest.$ac_ext >&5
20748 cat >conftest.$ac_ext <<_ACEOF
20751 cat confdefs.h >>conftest.$ac_ext
20752 cat >>conftest.$ac_ext <<_ACEOF
20753 /* end confdefs.h. */
20754 #ifdef HAVE_GETOPT_H
20755 #include <getopt.h>
20761 static struct option ac_aggr;
20762 if (sizeof ac_aggr.name)
20768 rm -f conftest.$ac_objext
20769 if { (ac_try="$ac_compile"
20770 case "(($ac_try" in
20771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20772 *) ac_try_echo=$ac_try;;
20774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20775 (eval "$ac_compile") 2>conftest.er1
20777 grep -v '^ *+' conftest.er1 >conftest.err
20779 cat conftest.err >&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); } && {
20782 test -z "$ac_c_werror_flag" ||
20783 test ! -s conftest.err
20784 } && test -s conftest.$ac_objext; then
20785 ac_cv_member_struct_option_name=yes
20787 echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.$ac_ext >&5
20790 ac_cv_member_struct_option_name=no
20793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20798 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20799 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20800 if test $ac_cv_member_struct_option_name = yes; then
20802 cat >>confdefs.h <<_ACEOF
20803 #define HAVE_STRUCT_OPTION_NAME 1
20810 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20811 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20812 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20813 echo $ECHO_N "(cached) $ECHO_C" >&6
20815 cat >conftest.$ac_ext <<_ACEOF
20818 cat confdefs.h >>conftest.$ac_ext
20819 cat >>conftest.$ac_ext <<_ACEOF
20820 /* end confdefs.h. */
20821 $ac_includes_default
20825 static struct stat ac_aggr;
20826 if (ac_aggr.st_blocks)
20832 rm -f conftest.$ac_objext
20833 if { (ac_try="$ac_compile"
20834 case "(($ac_try" in
20835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20836 *) ac_try_echo=$ac_try;;
20838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20839 (eval "$ac_compile") 2>conftest.er1
20841 grep -v '^ *+' conftest.er1 >conftest.err
20843 cat conftest.err >&5
20844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20845 (exit $ac_status); } && {
20846 test -z "$ac_c_werror_flag" ||
20847 test ! -s conftest.err
20848 } && test -s conftest.$ac_objext; then
20849 ac_cv_member_struct_stat_st_blocks=yes
20851 echo "$as_me: failed program was:" >&5
20852 sed 's/^/| /' conftest.$ac_ext >&5
20854 cat >conftest.$ac_ext <<_ACEOF
20857 cat confdefs.h >>conftest.$ac_ext
20858 cat >>conftest.$ac_ext <<_ACEOF
20859 /* end confdefs.h. */
20860 $ac_includes_default
20864 static struct stat ac_aggr;
20865 if (sizeof ac_aggr.st_blocks)
20871 rm -f conftest.$ac_objext
20872 if { (ac_try="$ac_compile"
20873 case "(($ac_try" in
20874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20875 *) ac_try_echo=$ac_try;;
20877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20878 (eval "$ac_compile") 2>conftest.er1
20880 grep -v '^ *+' conftest.er1 >conftest.err
20882 cat conftest.err >&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); } && {
20885 test -z "$ac_c_werror_flag" ||
20886 test ! -s conftest.err
20887 } && test -s conftest.$ac_objext; then
20888 ac_cv_member_struct_stat_st_blocks=yes
20890 echo "$as_me: failed program was:" >&5
20891 sed 's/^/| /' conftest.$ac_ext >&5
20893 ac_cv_member_struct_stat_st_blocks=no
20896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20901 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20902 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20903 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20905 cat >>confdefs.h <<_ACEOF
20906 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20913 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20914 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20915 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20916 echo $ECHO_N "(cached) $ECHO_C" >&6
20918 cat >conftest.$ac_ext <<_ACEOF
20921 cat confdefs.h >>conftest.$ac_ext
20922 cat >>conftest.$ac_ext <<_ACEOF
20923 /* end confdefs.h. */
20924 #ifdef HAVE_SYS_TYPES_H
20925 #include <sys/types.h>
20927 #ifdef HAVE_NETINET_IN_H
20928 #include <netinet/in.h>
20934 static struct sockaddr_in6 ac_aggr;
20935 if (ac_aggr.sin6_scope_id)
20941 rm -f conftest.$ac_objext
20942 if { (ac_try="$ac_compile"
20943 case "(($ac_try" in
20944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20945 *) ac_try_echo=$ac_try;;
20947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20948 (eval "$ac_compile") 2>conftest.er1
20950 grep -v '^ *+' conftest.er1 >conftest.err
20952 cat conftest.err >&5
20953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954 (exit $ac_status); } && {
20955 test -z "$ac_c_werror_flag" ||
20956 test ! -s conftest.err
20957 } && test -s conftest.$ac_objext; then
20958 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20960 echo "$as_me: failed program was:" >&5
20961 sed 's/^/| /' conftest.$ac_ext >&5
20963 cat >conftest.$ac_ext <<_ACEOF
20966 cat confdefs.h >>conftest.$ac_ext
20967 cat >>conftest.$ac_ext <<_ACEOF
20968 /* end confdefs.h. */
20969 #ifdef HAVE_SYS_TYPES_H
20970 #include <sys/types.h>
20972 #ifdef HAVE_NETINET_IN_H
20973 #include <netinet/in.h>
20979 static struct sockaddr_in6 ac_aggr;
20980 if (sizeof ac_aggr.sin6_scope_id)
20986 rm -f conftest.$ac_objext
20987 if { (ac_try="$ac_compile"
20988 case "(($ac_try" in
20989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20990 *) ac_try_echo=$ac_try;;
20992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20993 (eval "$ac_compile") 2>conftest.er1
20995 grep -v '^ *+' conftest.er1 >conftest.err
20997 cat conftest.err >&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); } && {
21000 test -z "$ac_c_werror_flag" ||
21001 test ! -s conftest.err
21002 } && test -s conftest.$ac_objext; then
21003 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21005 echo "$as_me: failed program was:" >&5
21006 sed 's/^/| /' conftest.$ac_ext >&5
21008 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
21011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21016 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21017 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21018 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21020 cat >>confdefs.h <<_ACEOF
21021 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21028 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21029 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21030 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21031 echo $ECHO_N "(cached) $ECHO_C" >&6
21033 cat >conftest.$ac_ext <<_ACEOF
21036 cat confdefs.h >>conftest.$ac_ext
21037 cat >>conftest.$ac_ext <<_ACEOF
21038 /* end confdefs.h. */
21039 #ifdef HAVE_SYS_TYPES_H
21040 #include <sys/types.h>
21042 #ifdef HAVE_NETINET_IN_H
21043 # include <netinet/in.h>
21045 #ifdef HAVE_ARPA_NAMESER_H
21046 # include <arpa/nameser.h>
21052 static ns_msg ac_aggr;
21053 if (ac_aggr._msg_ptr)
21059 rm -f conftest.$ac_objext
21060 if { (ac_try="$ac_compile"
21061 case "(($ac_try" in
21062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21063 *) ac_try_echo=$ac_try;;
21065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21066 (eval "$ac_compile") 2>conftest.er1
21068 grep -v '^ *+' conftest.er1 >conftest.err
21070 cat conftest.err >&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } && {
21073 test -z "$ac_c_werror_flag" ||
21074 test ! -s conftest.err
21075 } && test -s conftest.$ac_objext; then
21076 ac_cv_member_ns_msg__msg_ptr=yes
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.$ac_ext >&5
21081 cat >conftest.$ac_ext <<_ACEOF
21084 cat confdefs.h >>conftest.$ac_ext
21085 cat >>conftest.$ac_ext <<_ACEOF
21086 /* end confdefs.h. */
21087 #ifdef HAVE_SYS_TYPES_H
21088 #include <sys/types.h>
21090 #ifdef HAVE_NETINET_IN_H
21091 # include <netinet/in.h>
21093 #ifdef HAVE_ARPA_NAMESER_H
21094 # include <arpa/nameser.h>
21100 static ns_msg ac_aggr;
21101 if (sizeof ac_aggr._msg_ptr)
21107 rm -f conftest.$ac_objext
21108 if { (ac_try="$ac_compile"
21109 case "(($ac_try" in
21110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21111 *) ac_try_echo=$ac_try;;
21113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21114 (eval "$ac_compile") 2>conftest.er1
21116 grep -v '^ *+' conftest.er1 >conftest.err
21118 cat conftest.err >&5
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); } && {
21121 test -z "$ac_c_werror_flag" ||
21122 test ! -s conftest.err
21123 } && test -s conftest.$ac_objext; then
21124 ac_cv_member_ns_msg__msg_ptr=yes
21126 echo "$as_me: failed program was:" >&5
21127 sed 's/^/| /' conftest.$ac_ext >&5
21129 ac_cv_member_ns_msg__msg_ptr=no
21132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21137 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21138 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21139 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21141 cat >>confdefs.h <<_ACEOF
21142 #define HAVE_NS_MSG__MSG_PTR 1
21149 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21150 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21151 if test "${ac_cv_have_timezone+set}" = set; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21154 cat >conftest.$ac_ext <<_ACEOF
21157 cat confdefs.h >>conftest.$ac_ext
21158 cat >>conftest.$ac_ext <<_ACEOF
21159 /* end confdefs.h. */
21169 rm -f conftest.$ac_objext conftest$ac_exeext
21170 if { (ac_try="$ac_link"
21171 case "(($ac_try" in
21172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21173 *) ac_try_echo=$ac_try;;
21175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21176 (eval "$ac_link") 2>conftest.er1
21178 grep -v '^ *+' conftest.er1 >conftest.err
21180 cat conftest.err >&5
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); } && {
21183 test -z "$ac_c_werror_flag" ||
21184 test ! -s conftest.err
21185 } && test -s conftest$ac_exeext &&
21186 $as_test_x conftest$ac_exeext; then
21187 ac_cv_have_timezone="yes"
21189 echo "$as_me: failed program was:" >&5
21190 sed 's/^/| /' conftest.$ac_ext >&5
21192 ac_cv_have_timezone="no"
21195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21196 conftest$ac_exeext conftest.$ac_ext
21198 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21199 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21200 if test "$ac_cv_have_timezone" = "yes"
21203 cat >>confdefs.h <<\_ACEOF
21204 #define HAVE_TIMEZONE 1
21208 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21209 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21210 if test "${ac_cv_have_daylight+set}" = set; then
21211 echo $ECHO_N "(cached) $ECHO_C" >&6
21213 cat >conftest.$ac_ext <<_ACEOF
21216 cat confdefs.h >>conftest.$ac_ext
21217 cat >>conftest.$ac_ext <<_ACEOF
21218 /* end confdefs.h. */
21228 rm -f conftest.$ac_objext conftest$ac_exeext
21229 if { (ac_try="$ac_link"
21230 case "(($ac_try" in
21231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21232 *) ac_try_echo=$ac_try;;
21234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21235 (eval "$ac_link") 2>conftest.er1
21237 grep -v '^ *+' conftest.er1 >conftest.err
21239 cat conftest.err >&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); } && {
21242 test -z "$ac_c_werror_flag" ||
21243 test ! -s conftest.err
21244 } && test -s conftest$ac_exeext &&
21245 $as_test_x conftest$ac_exeext; then
21246 ac_cv_have_daylight="yes"
21248 echo "$as_me: failed program was:" >&5
21249 sed 's/^/| /' conftest.$ac_ext >&5
21251 ac_cv_have_daylight="no"
21254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21255 conftest$ac_exeext conftest.$ac_ext
21257 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21258 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21259 if test "$ac_cv_have_daylight" = "yes"
21262 cat >>confdefs.h <<\_ACEOF
21263 #define HAVE_DAYLIGHT 1
21268 { echo "$as_me:$LINENO: checking for isinf" >&5
21269 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21270 if test "${ac_cv_have_isinf+set}" = set; then
21271 echo $ECHO_N "(cached) $ECHO_C" >&6
21273 cat >conftest.$ac_ext <<_ACEOF
21276 cat confdefs.h >>conftest.$ac_ext
21277 cat >>conftest.$ac_ext <<_ACEOF
21278 /* end confdefs.h. */
21283 float f = 0.0; isinf(f)
21288 rm -f conftest.$ac_objext conftest$ac_exeext
21289 if { (ac_try="$ac_link"
21290 case "(($ac_try" in
21291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21292 *) ac_try_echo=$ac_try;;
21294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21295 (eval "$ac_link") 2>conftest.er1
21297 grep -v '^ *+' conftest.er1 >conftest.err
21299 cat conftest.err >&5
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); } && {
21302 test -z "$ac_c_werror_flag" ||
21303 test ! -s conftest.err
21304 } && test -s conftest$ac_exeext &&
21305 $as_test_x conftest$ac_exeext; then
21306 ac_cv_have_isinf="yes"
21308 echo "$as_me: failed program was:" >&5
21309 sed 's/^/| /' conftest.$ac_ext >&5
21311 ac_cv_have_isinf="no"
21314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21315 conftest$ac_exeext conftest.$ac_ext
21317 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21318 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21319 if test "$ac_cv_have_isinf" = "yes"
21322 cat >>confdefs.h <<\_ACEOF
21323 #define HAVE_ISINF 1
21330 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21331 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21332 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21333 echo $ECHO_N "(cached) $ECHO_C" >&6
21335 cat >conftest.$ac_ext <<_ACEOF
21338 cat confdefs.h >>conftest.$ac_ext
21339 cat >>conftest.$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21346 $EGREP "yes" >/dev/null 2>&1; then
21347 ac_cv_cpp_def___i386__=yes
21349 ac_cv_cpp_def___i386__=no
21354 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21355 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21356 if test $ac_cv_cpp_def___i386__ = yes; then
21357 CFLAGS="$CFLAGS -D__i386__"
21358 LINTFLAGS="$LINTFLAGS -D__i386__"
21361 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21362 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21363 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21364 echo $ECHO_N "(cached) $ECHO_C" >&6
21366 cat >conftest.$ac_ext <<_ACEOF
21369 cat confdefs.h >>conftest.$ac_ext
21370 cat >>conftest.$ac_ext <<_ACEOF
21371 /* end confdefs.h. */
21376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21377 $EGREP "yes" >/dev/null 2>&1; then
21378 ac_cv_cpp_def___x86_64__=yes
21380 ac_cv_cpp_def___x86_64__=no
21385 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21386 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21387 if test $ac_cv_cpp_def___x86_64__ = yes; then
21388 CFLAGS="$CFLAGS -D__x86_64__"
21389 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21392 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21393 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21394 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21395 echo $ECHO_N "(cached) $ECHO_C" >&6
21397 cat >conftest.$ac_ext <<_ACEOF
21400 cat confdefs.h >>conftest.$ac_ext
21401 cat >>conftest.$ac_ext <<_ACEOF
21402 /* end confdefs.h. */
21407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21408 $EGREP "yes" >/dev/null 2>&1; then
21409 ac_cv_cpp_def___ALPHA__=yes
21411 ac_cv_cpp_def___ALPHA__=no
21416 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21417 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21418 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21419 CFLAGS="$CFLAGS -D__ALPHA__"
21420 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21423 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21424 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21425 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21426 echo $ECHO_N "(cached) $ECHO_C" >&6
21428 cat >conftest.$ac_ext <<_ACEOF
21431 cat confdefs.h >>conftest.$ac_ext
21432 cat >>conftest.$ac_ext <<_ACEOF
21433 /* end confdefs.h. */
21438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21439 $EGREP "yes" >/dev/null 2>&1; then
21440 ac_cv_cpp_def___sparc__=yes
21442 ac_cv_cpp_def___sparc__=no
21447 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21448 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21449 if test $ac_cv_cpp_def___sparc__ = yes; then
21450 CFLAGS="$CFLAGS -D__sparc__"
21451 LINTFLAGS="$LINTFLAGS -D__sparc__"
21454 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21455 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21456 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21457 echo $ECHO_N "(cached) $ECHO_C" >&6
21459 cat >conftest.$ac_ext <<_ACEOF
21462 cat confdefs.h >>conftest.$ac_ext
21463 cat >>conftest.$ac_ext <<_ACEOF
21464 /* end confdefs.h. */
21465 #ifndef __powerpc__
21469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21470 $EGREP "yes" >/dev/null 2>&1; then
21471 ac_cv_cpp_def___powerpc__=yes
21473 ac_cv_cpp_def___powerpc__=no
21478 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21479 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21480 if test $ac_cv_cpp_def___powerpc__ = yes; then
21481 CFLAGS="$CFLAGS -D__powerpc__"
21482 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21487 case $host_vendor in
21488 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21489 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21490 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21491 echo $ECHO_N "(cached) $ECHO_C" >&6
21493 cat >conftest.$ac_ext <<_ACEOF
21496 cat confdefs.h >>conftest.$ac_ext
21497 cat >>conftest.$ac_ext <<_ACEOF
21498 /* end confdefs.h. */
21503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21504 $EGREP "yes" >/dev/null 2>&1; then
21505 ac_cv_cpp_def___sun__=yes
21507 ac_cv_cpp_def___sun__=no
21512 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21513 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21514 if test $ac_cv_cpp_def___sun__ = yes; then
21515 CFLAGS="$CFLAGS -D__sun__"
21516 LINTFLAGS="$LINTFLAGS -D__sun__"
21522 DEPENDENCIES="### Dependencies:
21527 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21529 \$(OBJS): \$(IDL_GEN_HEADERS)
21530 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21531 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21532 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21533 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21539 ac_config_commands="$ac_config_commands include/stamp-h"
21542 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21544 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21546 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21548 ac_config_commands="$ac_config_commands dlls/user32/resources"
21550 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21552 ac_config_commands="$ac_config_commands include/wine"
21555 MAKE_RULES=Make.rules
21558 MAKE_DLL_RULES=dlls/Makedll.rules
21561 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21564 MAKE_TEST_RULES=dlls/Maketest.rules
21567 MAKE_PROG_RULES=programs/Makeprog.rules
21570 ac_config_files="$ac_config_files Make.rules"
21572 ac_config_files="$ac_config_files dlls/Makedll.rules"
21574 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21576 ac_config_files="$ac_config_files dlls/Maketest.rules"
21578 ac_config_files="$ac_config_files programs/Makeprog.rules"
21580 ac_config_files="$ac_config_files Makefile"
21582 ac_config_files="$ac_config_files dlls/Makefile"
21584 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21586 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21588 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21590 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21592 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21594 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21596 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21598 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21600 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21602 ac_config_files="$ac_config_files dlls/atl/Makefile"
21604 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21606 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21608 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21610 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21612 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21614 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21616 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21618 ac_config_files="$ac_config_files dlls/cards/Makefile"
21620 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21622 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21624 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21626 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21628 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21630 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21632 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21634 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21636 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21638 ac_config_files="$ac_config_files dlls/credui/Makefile"
21640 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21642 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21644 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21646 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21648 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21650 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21652 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21654 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21656 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21658 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21660 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21662 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21664 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21666 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21668 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21670 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21672 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21674 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21676 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21678 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21680 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21682 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21684 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21686 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21688 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21690 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21692 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21694 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21696 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21698 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21700 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21702 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21704 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21706 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21708 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21710 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21712 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21714 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21716 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21718 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21720 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21722 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21724 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21726 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21728 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21730 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21732 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21734 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21736 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21738 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21740 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21742 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21744 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21746 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21748 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21750 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21752 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21754 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21756 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21758 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21760 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21762 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21764 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21766 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21768 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21770 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21772 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21774 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21776 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21778 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21780 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21782 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21784 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21786 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21788 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21790 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21792 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21794 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21796 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21798 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21800 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21802 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21804 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21806 ac_config_files="$ac_config_files dlls/hal/Makefile"
21808 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21810 ac_config_files="$ac_config_files dlls/hid/Makefile"
21812 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21814 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21816 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21818 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21820 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21822 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21824 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21826 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21828 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21830 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21832 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21834 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21836 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21838 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21840 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21842 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21844 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21846 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21848 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21850 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21852 ac_config_files="$ac_config_files dlls/itss/Makefile"
21854 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21856 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21858 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21860 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21862 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21864 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21866 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21868 ac_config_files="$ac_config_files dlls/localui/Makefile"
21870 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21872 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21874 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21876 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21878 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21880 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21882 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21884 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21886 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21888 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21890 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21892 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21894 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21896 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21898 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21900 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21902 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21904 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21906 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21908 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21910 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21912 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21914 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21916 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21918 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21920 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21922 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21924 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21926 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21928 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21930 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21932 ac_config_files="$ac_config_files dlls/msi/Makefile"
21934 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21936 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21938 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21940 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21942 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21944 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21946 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21948 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21950 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21952 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21954 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21956 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21958 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21960 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21962 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21964 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21966 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21968 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21970 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21972 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21974 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21976 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21978 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21980 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21982 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21984 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21986 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21988 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21990 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21992 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21994 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21996 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21998 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
22000 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
22002 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
22004 ac_config_files="$ac_config_files dlls/ole32/Makefile"
22006 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
22008 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
22010 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
22012 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
22014 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
22016 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
22018 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
22020 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
22022 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
22024 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
22026 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
22028 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22030 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22032 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22034 ac_config_files="$ac_config_files dlls/printui/Makefile"
22036 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22038 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22040 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22042 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22044 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22046 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22048 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22050 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22052 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22054 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22056 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22058 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22060 ac_config_files="$ac_config_files dlls/query/Makefile"
22062 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22064 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22066 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22068 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22070 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22072 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22074 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22076 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22078 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22080 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22082 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22084 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22086 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22088 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22090 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22092 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22094 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22096 ac_config_files="$ac_config_files dlls/security/Makefile"
22098 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22100 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22102 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22104 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22106 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22108 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22110 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22112 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22114 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22116 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22118 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22120 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22122 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22124 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22126 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22128 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22130 ac_config_files="$ac_config_files dlls/slc/Makefile"
22132 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22134 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22136 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22138 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22140 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22142 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22144 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22146 ac_config_files="$ac_config_files dlls/sti/Makefile"
22148 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22150 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22152 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22154 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22156 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22158 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22160 ac_config_files="$ac_config_files dlls/url/Makefile"
22162 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22164 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22166 ac_config_files="$ac_config_files dlls/user32/Makefile"
22168 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22170 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22172 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22174 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22176 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22178 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22180 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22182 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22184 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22186 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22188 ac_config_files="$ac_config_files dlls/version/Makefile"
22190 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22192 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22194 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22196 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22198 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22200 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22202 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22204 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22206 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22208 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22210 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22212 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22214 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22216 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22218 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22220 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22222 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22224 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22226 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22228 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22230 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22232 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22234 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22236 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22238 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22240 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22242 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22244 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22246 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22248 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22250 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22252 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22254 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22256 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22258 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22260 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22262 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22264 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22266 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22268 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22270 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22272 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22274 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22276 ac_config_files="$ac_config_files documentation/Makefile"
22278 ac_config_files="$ac_config_files fonts/Makefile"
22280 ac_config_files="$ac_config_files include/Makefile"
22282 ac_config_files="$ac_config_files libs/Makefile"
22284 ac_config_files="$ac_config_files libs/port/Makefile"
22286 ac_config_files="$ac_config_files libs/wine/Makefile"
22288 ac_config_files="$ac_config_files libs/wpp/Makefile"
22290 ac_config_files="$ac_config_files loader/Makefile"
22292 ac_config_files="$ac_config_files programs/Makefile"
22294 ac_config_files="$ac_config_files programs/clock/Makefile"
22296 ac_config_files="$ac_config_files programs/cmd/Makefile"
22298 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22300 ac_config_files="$ac_config_files programs/control/Makefile"
22302 ac_config_files="$ac_config_files programs/eject/Makefile"
22304 ac_config_files="$ac_config_files programs/expand/Makefile"
22306 ac_config_files="$ac_config_files programs/explorer/Makefile"
22308 ac_config_files="$ac_config_files programs/hh/Makefile"
22310 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22312 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22314 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22316 ac_config_files="$ac_config_files programs/net/Makefile"
22318 ac_config_files="$ac_config_files programs/notepad/Makefile"
22320 ac_config_files="$ac_config_files programs/oleview/Makefile"
22322 ac_config_files="$ac_config_files programs/progman/Makefile"
22324 ac_config_files="$ac_config_files programs/reg/Makefile"
22326 ac_config_files="$ac_config_files programs/regedit/Makefile"
22328 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22330 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22332 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22334 ac_config_files="$ac_config_files programs/secedit/Makefile"
22336 ac_config_files="$ac_config_files programs/services/Makefile"
22338 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22340 ac_config_files="$ac_config_files programs/start/Makefile"
22342 ac_config_files="$ac_config_files programs/svchost/Makefile"
22344 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22346 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22348 ac_config_files="$ac_config_files programs/view/Makefile"
22350 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22352 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22354 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22356 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22358 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22360 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22362 ac_config_files="$ac_config_files programs/winefile/Makefile"
22364 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22366 ac_config_files="$ac_config_files programs/winemine/Makefile"
22368 ac_config_files="$ac_config_files programs/winepath/Makefile"
22370 ac_config_files="$ac_config_files programs/winetest/Makefile"
22372 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22374 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22376 ac_config_files="$ac_config_files programs/winver/Makefile"
22378 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22380 ac_config_files="$ac_config_files programs/write/Makefile"
22382 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22384 ac_config_files="$ac_config_files server/Makefile"
22386 ac_config_files="$ac_config_files tools/Makefile"
22388 ac_config_files="$ac_config_files tools/widl/Makefile"
22390 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22392 ac_config_files="$ac_config_files tools/winedump/Makefile"
22394 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22396 ac_config_files="$ac_config_files tools/wmc/Makefile"
22398 ac_config_files="$ac_config_files tools/wrc/Makefile"
22401 cat >confcache <<\_ACEOF
22402 # This file is a shell script that caches the results of configure
22403 # tests run on this system so they can be shared between configure
22404 # scripts and configure runs, see configure's option --config-cache.
22405 # It is not useful on other systems. If it contains results you don't
22406 # want to keep, you may remove or edit it.
22408 # config.status only pays attention to the cache file if you give it
22409 # the --recheck option to rerun configure.
22411 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22412 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22413 # following values.
22417 # The following way of writing the cache mishandles newlines in values,
22418 # but we know of no workaround that is simple, portable, and efficient.
22419 # So, we kill variables containing newlines.
22420 # Ultrix sh set writes to stderr and can't be redirected directly,
22421 # and sets the high bit in the cache file unless we assign to the vars.
22423 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22424 eval ac_val=\$$ac_var
22428 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22429 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22432 _ | IFS | as_nl) ;; #(
22433 *) $as_unset $ac_var ;;
22439 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22440 *${as_nl}ac_space=\ *)
22441 # `set' does not quote correctly, so add quotes (double-quote
22442 # substitution turns \\\\ into \\, and sed turns \\ into \).
22445 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22448 # `set' quotes correctly as required by POSIX, so do not add quotes.
22449 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22458 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22460 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22462 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22463 if test -w "$cache_file"; then
22464 test "x$cache_file" != "x/dev/null" &&
22465 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22466 echo "$as_me: updating cache $cache_file" >&6;}
22467 cat confcache >$cache_file
22469 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22470 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22475 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22476 # Let make expand exec_prefix.
22477 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22479 DEFS=-DHAVE_CONFIG_H
22483 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22484 # 1. Remove the extension, and $U if already installed.
22485 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22486 ac_i=`echo "$ac_i" | sed "$ac_script"`
22487 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22488 # will be set to the directory where LIBOBJS objects are built.
22489 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22490 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22492 LIBOBJS=$ac_libobjs
22494 LTLIBOBJS=$ac_ltlibobjs
22498 : ${CONFIG_STATUS=./config.status}
22499 ac_clean_files_save=$ac_clean_files
22500 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22501 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22502 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22503 cat >$CONFIG_STATUS <<_ACEOF
22505 # Generated by $as_me.
22506 # Run this file to recreate the current configuration.
22507 # Compiler output produced by configure, useful for debugging
22508 # configure, is in config.log if it exists.
22511 ac_cs_recheck=false
22513 SHELL=\${CONFIG_SHELL-$SHELL}
22516 cat >>$CONFIG_STATUS <<\_ACEOF
22517 ## --------------------- ##
22518 ## M4sh Initialization. ##
22519 ## --------------------- ##
22521 # Be more Bourne compatible
22522 DUALCASE=1; export DUALCASE # for MKS sh
22523 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22526 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22527 # is contrary to our usage. Disable this feature.
22528 alias -g '${1+"$@"}'='"$@"'
22529 setopt NO_GLOB_SUBST
22531 case `(set -o) 2>/dev/null` in
22532 *posix*) set -o posix ;;
22541 # Avoid depending upon Character Ranges.
22542 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22543 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22544 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22545 as_cr_digits='0123456789'
22546 as_cr_alnum=$as_cr_Letters$as_cr_digits
22548 # The user is always right.
22549 if test "${PATH_SEPARATOR+set}" != set; then
22550 echo "#! /bin/sh" >conf$$.sh
22551 echo "exit 0" >>conf$$.sh
22553 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22561 # Support unset when possible.
22562 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22570 # We need space, tab and new line, in precisely that order. Quoting is
22571 # there to prevent editors from complaining about space-tab.
22572 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22573 # splitting by setting IFS to empty value.)
22578 # Find who we are. Look in the path if we contain no directory separator.
22580 *[\\/]* ) as_myself=$0 ;;
22581 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22582 for as_dir in $PATH
22585 test -z "$as_dir" && as_dir=.
22586 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22592 # We did not find ourselves, most probably we were run as `sh COMMAND'
22593 # in which case we are not to be found in the path.
22594 if test "x$as_myself" = x; then
22597 if test ! -f "$as_myself"; then
22598 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22599 { (exit 1); exit 1; }
22602 # Work around bugs in pre-3.0 UWIN ksh.
22603 for as_var in ENV MAIL MAILPATH
22604 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22612 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22613 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22614 LC_TELEPHONE LC_TIME
22616 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22617 eval $as_var=C; export $as_var
22619 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22623 # Required to use basename.
22624 if expr a : '\(a\)' >/dev/null 2>&1 &&
22625 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22631 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22632 as_basename=basename
22638 # Name of the executable.
22639 as_me=`$as_basename -- "$0" ||
22640 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22641 X"$0" : 'X\(//\)$' \| \
22642 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22644 sed '/^.*\/\([^/][^/]*\)\/*$/{
22663 as_lineno_1=$LINENO
22664 as_lineno_2=$LINENO
22665 test "x$as_lineno_1" != "x$as_lineno_2" &&
22666 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22668 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22669 # uniformly replaced by the line number. The first 'sed' inserts a
22670 # line-number line after each line using $LINENO; the second 'sed'
22671 # does the real work. The second script uses 'N' to pair each
22672 # line-number line with the line containing $LINENO, and appends
22673 # trailing '-' during substitution so that $LINENO is not a special
22674 # case at line end.
22675 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22676 # scripts with optimization help from Paolo Bonzini. Blame Lee
22677 # E. McMahon (1931-1989) for sed's syntax. :-)
22689 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22692 ' >$as_me.lineno &&
22693 chmod +x "$as_me.lineno" ||
22694 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22695 { (exit 1); exit 1; }; }
22697 # Don't try to exec as it changes $[0], causing all sort of problems
22698 # (the dirname of $[0] is not the place where we might find the
22699 # original and so on. Autoconf is especially sensitive to this).
22700 . "./$as_me.lineno"
22701 # Exit status is that of the last command.
22706 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22712 ECHO_C= ECHO_N= ECHO_T=
22713 case `echo -n x` in
22715 case `echo 'x\c'` in
22716 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22723 if expr a : '\(a\)' >/dev/null 2>&1 &&
22724 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22730 rm -f conf$$ conf$$.exe conf$$.file
22731 if test -d conf$$.dir; then
22732 rm -f conf$$.dir/conf$$.file
22738 if ln -s conf$$.file conf$$ 2>/dev/null; then
22740 # ... but there are two gotchas:
22741 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22742 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22743 # In both cases, we have to default to `cp -p'.
22744 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22746 elif ln conf$$.file conf$$ 2>/dev/null; then
22751 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22752 rmdir conf$$.dir 2>/dev/null
22754 if mkdir -p . 2>/dev/null; then
22757 test -d ./-p && rmdir ./-p
22761 if test -x / >/dev/null 2>&1; then
22762 as_test_x='test -x'
22764 if ls -dL / >/dev/null 2>&1; then
22771 if test -d "$1"; then
22777 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22778 ???[sx]*):;;*)false;;esac;fi
22782 as_executable_p=$as_test_x
22784 # Sed expression to map a string onto a valid CPP name.
22785 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22787 # Sed expression to map a string onto a valid variable name.
22788 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22793 # Save the log message, to keep $[0] and so on meaningful, and to
22794 # report actual input values of CONFIG_FILES etc. instead of their
22795 # values after options handling.
22797 This file was extended by Wine $as_me 1.0-rc1, which was
22798 generated by GNU Autoconf 2.61. Invocation command line was
22800 CONFIG_FILES = $CONFIG_FILES
22801 CONFIG_HEADERS = $CONFIG_HEADERS
22802 CONFIG_LINKS = $CONFIG_LINKS
22803 CONFIG_COMMANDS = $CONFIG_COMMANDS
22806 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22811 cat >>$CONFIG_STATUS <<_ACEOF
22812 # Files that config.status was made for.
22813 config_files="$ac_config_files"
22814 config_headers="$ac_config_headers"
22815 config_commands="$ac_config_commands"
22819 cat >>$CONFIG_STATUS <<\_ACEOF
22821 \`$as_me' instantiates files from templates according to the
22822 current configuration.
22824 Usage: $0 [OPTIONS] [FILE]...
22826 -h, --help print this help, then exit
22827 -V, --version print version number and configuration settings, then exit
22828 -q, --quiet do not print progress messages
22829 -d, --debug don't remove temporary files
22830 --recheck update $as_me by reconfiguring in the same conditions
22831 --file=FILE[:TEMPLATE]
22832 instantiate the configuration file FILE
22833 --header=FILE[:TEMPLATE]
22834 instantiate the configuration header FILE
22836 Configuration files:
22839 Configuration headers:
22842 Configuration commands:
22845 Report bugs to <bug-autoconf@gnu.org>."
22848 cat >>$CONFIG_STATUS <<_ACEOF
22850 Wine config.status 1.0-rc1
22851 configured by $0, generated by GNU Autoconf 2.61,
22852 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22854 Copyright (C) 2006 Free Software Foundation, Inc.
22855 This config.status script is free software; the Free Software Foundation
22856 gives unlimited permission to copy, distribute and modify it."
22863 cat >>$CONFIG_STATUS <<\_ACEOF
22864 # If no file are specified by the user, then we need to provide default
22865 # value. By we need to know if files were specified by the user.
22871 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22872 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22883 # Handling of the options.
22884 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22886 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22887 echo "$ac_cs_version"; exit ;;
22888 --debug | --debu | --deb | --de | --d | -d )
22890 --file | --fil | --fi | --f )
22892 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22893 ac_need_defaults=false;;
22894 --header | --heade | --head | --hea )
22896 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22897 ac_need_defaults=false;;
22899 # Conflict between --help and --header
22900 { echo "$as_me: error: ambiguous option: $1
22901 Try \`$0 --help' for more information." >&2
22902 { (exit 1); exit 1; }; };;
22903 --help | --hel | -h )
22904 echo "$ac_cs_usage"; exit ;;
22905 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22906 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22909 # This is an error.
22910 -*) { echo "$as_me: error: unrecognized option: $1
22911 Try \`$0 --help' for more information." >&2
22912 { (exit 1); exit 1; }; } ;;
22914 *) ac_config_targets="$ac_config_targets $1"
22915 ac_need_defaults=false ;;
22921 ac_configure_extra_args=
22923 if $ac_cs_silent; then
22925 ac_configure_extra_args="$ac_configure_extra_args --silent"
22929 cat >>$CONFIG_STATUS <<_ACEOF
22930 if \$ac_cs_recheck; then
22931 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22932 CONFIG_SHELL=$SHELL
22933 export CONFIG_SHELL
22934 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22938 cat >>$CONFIG_STATUS <<\_ACEOF
22942 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22943 ## Running $as_me. ##
22949 cat >>$CONFIG_STATUS <<_ACEOF
22952 cat >>$CONFIG_STATUS <<\_ACEOF
22954 # Handling of arguments.
22955 for ac_config_target in $ac_config_targets
22957 case $ac_config_target in
22958 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22959 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22960 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22961 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22962 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22963 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22964 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22965 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22966 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22967 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22968 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22969 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22970 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22971 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22972 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22973 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22974 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22975 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22976 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22977 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22978 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22979 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22980 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22981 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22982 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22983 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22984 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22985 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22986 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22987 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22988 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22989 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22990 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22991 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22992 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22993 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22994 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22995 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22996 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22997 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22998 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22999 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
23000 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
23001 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
23002 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
23003 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
23004 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
23005 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
23006 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
23007 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
23008 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
23009 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
23010 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
23011 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
23012 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
23013 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
23014 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
23015 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
23016 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
23017 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
23018 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
23019 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
23020 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
23021 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
23022 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
23023 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
23024 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
23025 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23026 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23027 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23028 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23029 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23030 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23031 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23032 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23033 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23034 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23035 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23036 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23037 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23038 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23039 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23040 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23041 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23042 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23043 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
23044 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
23045 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23046 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23047 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
23048 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23049 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
23050 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23051 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23052 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23053 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23054 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23055 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23056 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23057 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23058 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
23059 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23060 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23061 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23062 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23063 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23064 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23065 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
23066 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23067 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23068 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
23069 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23070 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23071 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23072 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23073 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23074 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23075 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23076 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23077 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23078 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23079 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23080 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23081 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23082 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23083 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23084 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23085 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23086 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23087 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23088 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23089 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23090 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23091 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23092 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23093 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23094 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23095 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23096 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23097 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23098 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23099 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23100 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23101 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23102 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23103 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23104 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23105 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23106 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23107 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23108 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23109 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23110 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23111 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23112 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23113 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23114 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23115 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23116 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23117 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23118 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23119 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23120 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23121 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23122 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23123 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23124 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23125 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23126 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23127 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23128 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23129 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23130 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23131 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23132 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23133 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23134 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23135 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23136 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23137 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23138 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23139 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23140 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23141 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23142 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23143 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23144 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23145 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23146 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23147 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23148 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23149 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23150 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23151 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23152 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23153 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23154 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23155 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23156 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23157 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23158 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23159 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23160 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23161 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23162 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23163 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23164 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23165 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23166 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23167 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23168 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23169 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23170 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23171 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23172 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23173 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23174 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23175 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23176 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23177 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23178 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23179 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23180 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23181 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23182 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23183 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23184 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23185 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23186 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23187 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23188 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23189 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23190 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23191 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23192 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23193 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23194 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23195 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23196 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23197 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23198 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23199 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23200 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23201 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23202 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23203 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23204 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23205 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23206 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23207 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23208 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23209 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23210 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23211 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23212 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23213 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23214 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23215 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23216 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23217 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23218 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23219 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23220 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23221 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23222 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23223 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23224 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23225 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23226 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23227 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23228 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23229 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23230 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23231 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23232 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23233 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23234 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23235 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23236 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23237 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23238 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23239 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23240 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23241 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23242 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23243 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23244 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23245 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23246 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23247 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23248 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23249 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23250 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23251 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23252 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23253 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23254 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23255 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23256 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23257 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23258 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23259 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23260 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23261 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23262 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23263 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23264 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23265 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23266 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23267 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23268 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23269 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23270 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23271 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23272 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23273 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23274 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23275 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23276 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23277 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23278 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23279 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23280 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23281 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23282 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23283 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23284 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23285 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23286 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23287 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23288 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23289 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23290 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23291 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23292 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23293 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23294 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23295 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23296 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23297 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23298 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23299 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23300 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23301 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23302 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23303 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23304 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23305 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23306 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23307 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23308 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23309 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23310 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23311 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23312 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23313 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23314 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23315 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23316 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23317 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23318 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23319 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23320 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23321 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23322 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23323 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23324 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23325 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23326 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23327 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23328 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23329 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23330 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23331 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23332 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23333 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23334 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23335 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23336 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23337 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23338 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23339 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23340 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23341 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23342 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23343 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23344 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23345 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23346 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23347 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23348 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23349 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23350 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23351 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23352 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23353 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23354 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23355 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23356 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23357 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23358 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23359 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23360 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23361 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23362 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23363 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23364 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23365 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23366 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23367 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23368 "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23369 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23370 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23371 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23372 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23373 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23374 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23375 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23376 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23377 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23378 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23379 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23380 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23382 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23383 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23384 { (exit 1); exit 1; }; };;
23389 # If the user did not use the arguments to specify the items to instantiate,
23390 # then the envvar interface is used. Set only those that are not.
23391 # We use the long form for the default assignment because of an extremely
23392 # bizarre bug on SunOS 4.1.3.
23393 if $ac_need_defaults; then
23394 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23395 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23396 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23399 # Have a temporary directory for convenience. Make it in the build tree
23400 # simply because there is no reason against having it here, and in addition,
23401 # creating and moving files from /tmp can sometimes cause problems.
23402 # Hook for its removal unless debugging.
23403 # Note that there is a small window in which the directory will not be cleaned:
23404 # after its creation but before its name has been assigned to `$tmp'.
23408 trap 'exit_status=$?
23409 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23411 trap '{ (exit 1); exit 1; }' 1 2 13 15
23413 # Create a (secure) tmp directory for tmp files.
23416 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23417 test -n "$tmp" && test -d "$tmp"
23420 tmp=./conf$$-$RANDOM
23421 (umask 077 && mkdir "$tmp")
23424 echo "$me: cannot create a temporary directory in ." >&2
23425 { (exit 1); exit 1; }
23429 # Set up the sed scripts for CONFIG_FILES section.
23432 # No need to generate the scripts if there are no CONFIG_FILES.
23433 # This happens for instance when ./config.status config.h
23434 if test -n "$CONFIG_FILES"; then
23438 # Create sed commands to just substitute file output variables.
23440 # Remaining file output variables are in a fragment that also has non-file
23446 for ac_last_try in false false false false false :; do
23447 cat >conf$$subs.sed <<_ACEOF
23448 SHELL!$SHELL$ac_delim
23449 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23450 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23451 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23452 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23453 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23454 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23455 exec_prefix!$exec_prefix$ac_delim
23456 prefix!$prefix$ac_delim
23457 program_transform_name!$program_transform_name$ac_delim
23458 bindir!$bindir$ac_delim
23459 sbindir!$sbindir$ac_delim
23460 libexecdir!$libexecdir$ac_delim
23461 datarootdir!$datarootdir$ac_delim
23462 datadir!$datadir$ac_delim
23463 sysconfdir!$sysconfdir$ac_delim
23464 sharedstatedir!$sharedstatedir$ac_delim
23465 localstatedir!$localstatedir$ac_delim
23466 includedir!$includedir$ac_delim
23467 oldincludedir!$oldincludedir$ac_delim
23468 docdir!$docdir$ac_delim
23469 infodir!$infodir$ac_delim
23470 htmldir!$htmldir$ac_delim
23471 dvidir!$dvidir$ac_delim
23472 pdfdir!$pdfdir$ac_delim
23473 psdir!$psdir$ac_delim
23474 libdir!$libdir$ac_delim
23475 localedir!$localedir$ac_delim
23476 mandir!$mandir$ac_delim
23477 DEFS!$DEFS$ac_delim
23478 ECHO_C!$ECHO_C$ac_delim
23479 ECHO_N!$ECHO_N$ac_delim
23480 ECHO_T!$ECHO_T$ac_delim
23481 LIBS!$LIBS$ac_delim
23482 build_alias!$build_alias$ac_delim
23483 host_alias!$host_alias$ac_delim
23484 target_alias!$target_alias$ac_delim
23485 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23486 build!$build$ac_delim
23487 build_cpu!$build_cpu$ac_delim
23488 build_vendor!$build_vendor$ac_delim
23489 build_os!$build_os$ac_delim
23490 host!$host$ac_delim
23491 host_cpu!$host_cpu$ac_delim
23492 host_vendor!$host_vendor$ac_delim
23493 host_os!$host_os$ac_delim
23494 WIN16_FILES!$WIN16_FILES$ac_delim
23495 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23496 SET_MAKE!$SET_MAKE$ac_delim
23498 CFLAGS!$CFLAGS$ac_delim
23499 LDFLAGS!$LDFLAGS$ac_delim
23500 CPPFLAGS!$CPPFLAGS$ac_delim
23501 ac_ct_CC!$ac_ct_CC$ac_delim
23502 EXEEXT!$EXEEXT$ac_delim
23503 OBJEXT!$OBJEXT$ac_delim
23505 CXXFLAGS!$CXXFLAGS$ac_delim
23506 ac_ct_CXX!$ac_ct_CXX$ac_delim
23507 CPPBIN!$CPPBIN$ac_delim
23508 TOOLSDIR!$TOOLSDIR$ac_delim
23509 XMKMF!$XMKMF$ac_delim
23511 X_CFLAGS!$X_CFLAGS$ac_delim
23512 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23513 X_LIBS!$X_LIBS$ac_delim
23514 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23515 FLEX!$FLEX$ac_delim
23516 BISON!$BISON$ac_delim
23518 ac_ct_AS!$ac_ct_AS$ac_delim
23521 ARFLAGS!$ARFLAGS$ac_delim
23522 RANLIB!$RANLIB$ac_delim
23523 STRIP!$STRIP$ac_delim
23524 WINDRES!$WINDRES$ac_delim
23525 LN_S!$LN_S$ac_delim
23527 GREP!$GREP$ac_delim
23528 EGREP!$EGREP$ac_delim
23529 LDCONFIG!$LDCONFIG$ac_delim
23532 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23534 elif $ac_last_try; then
23535 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23536 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23537 { (exit 1); exit 1; }; }
23539 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23543 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23544 if test -n "$ac_eof"; then
23545 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23546 ac_eof=`expr $ac_eof + 1`
23549 cat >>$CONFIG_STATUS <<_ACEOF
23550 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23551 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23552 /^[ ]*@MAKE_RULES@[ ]*$/{
23556 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23560 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23561 r $MAKE_IMPLIB_RULES
23564 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23568 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23574 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23575 s/^/s,@/; s/!/@,|#_!!_#|/
23578 s/'"$ac_delim"'$/,g/; t
23580 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23581 ' >>$CONFIG_STATUS <conf$$subs.sed
23582 rm -f conf$$subs.sed
23583 cat >>$CONFIG_STATUS <<_ACEOF
23589 for ac_last_try in false false false false false :; do
23590 cat >conf$$subs.sed <<_ACEOF
23591 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23592 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23593 INSTALL_DATA!$INSTALL_DATA$ac_delim
23594 LINT!$LINT$ac_delim
23595 LINTFLAGS!$LINTFLAGS$ac_delim
23596 FONTFORGE!$FONTFORGE$ac_delim
23597 PKG_CONFIG!$PKG_CONFIG$ac_delim
23598 RSVG!$RSVG$ac_delim
23599 ICOTOOL!$ICOTOOL$ac_delim
23600 PRELINK!$PRELINK$ac_delim
23601 LIBPTHREAD!$LIBPTHREAD$ac_delim
23602 XLIB!$XLIB$ac_delim
23603 XFILES!$XFILES$ac_delim
23604 OPENGLFILES!$OPENGLFILES$ac_delim
23605 GLU32FILES!$GLU32FILES$ac_delim
23606 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23607 QUARTZFILES!$QUARTZFILES$ac_delim
23608 DLLEXT!$DLLEXT$ac_delim
23609 DLLFLAGS!$DLLFLAGS$ac_delim
23610 LDSHARED!$LDSHARED$ac_delim
23611 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23612 LIBEXT!$LIBEXT$ac_delim
23613 IMPLIBEXT!$IMPLIBEXT$ac_delim
23614 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23615 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23617 DLLTOOL!$DLLTOOL$ac_delim
23618 DLLWRAP!$DLLWRAP$ac_delim
23619 MINGWAR!$MINGWAR$ac_delim
23620 SECURITYLIB!$SECURITYLIB$ac_delim
23621 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23622 IOKITLIB!$IOKITLIB$ac_delim
23623 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23624 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23625 COREAUDIO!$COREAUDIO$ac_delim
23626 CARBONLIB!$CARBONLIB$ac_delim
23627 CROSSTEST!$CROSSTEST$ac_delim
23628 CROSSCC!$CROSSCC$ac_delim
23629 CROSSWINDRES!$CROSSWINDRES$ac_delim
23630 NASLIBS!$NASLIBS$ac_delim
23631 XML2LIBS!$XML2LIBS$ac_delim
23632 XML2INCL!$XML2INCL$ac_delim
23633 XSLTLIBS!$XSLTLIBS$ac_delim
23634 XSLTINCL!$XSLTINCL$ac_delim
23635 HALINCL!$HALINCL$ac_delim
23636 sane_devel!$sane_devel$ac_delim
23637 SANEINCL!$SANEINCL$ac_delim
23638 gphoto2_devel!$gphoto2_devel$ac_delim
23639 gphoto2port_devel!$gphoto2port_devel$ac_delim
23640 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23641 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23642 RESOLVLIBS!$RESOLVLIBS$ac_delim
23643 LCMSLIBS!$LCMSLIBS$ac_delim
23644 LDAPLIBS!$LDAPLIBS$ac_delim
23645 ft_devel!$ft_devel$ac_delim
23646 FREETYPELIBS!$FREETYPELIBS$ac_delim
23647 FREETYPEINCL!$FREETYPEINCL$ac_delim
23648 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23649 ESDCONFIG!$ESDCONFIG$ac_delim
23650 ESDLIBS!$ESDLIBS$ac_delim
23651 ESDINCL!$ESDINCL$ac_delim
23652 ALSALIBS!$ALSALIBS$ac_delim
23653 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23654 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23655 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23656 BUILTINFLAG!$BUILTINFLAG$ac_delim
23657 LDPATH!$LDPATH$ac_delim
23658 CRTLIBS!$CRTLIBS$ac_delim
23659 SOCKETLIBS!$SOCKETLIBS$ac_delim
23660 MAIN_BINARY!$MAIN_BINARY$ac_delim
23661 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23662 LIBDL!$LIBDL$ac_delim
23663 LIBPOLL!$LIBPOLL$ac_delim
23664 DEPENDENCIES!$DEPENDENCIES$ac_delim
23665 LIBOBJS!$LIBOBJS$ac_delim
23666 LTLIBOBJS!$LTLIBOBJS$ac_delim
23669 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23671 elif $ac_last_try; then
23672 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23673 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23674 { (exit 1); exit 1; }; }
23676 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23680 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23681 if test -n "$ac_eof"; then
23682 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23683 ac_eof=`expr $ac_eof + 1`
23686 cat >>$CONFIG_STATUS <<_ACEOF
23687 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23688 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23691 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23692 s/^/s,@/; s/!/@,|#_!!_#|/
23695 s/'"$ac_delim"'$/,g/; t
23697 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23698 ' >>$CONFIG_STATUS <conf$$subs.sed
23699 rm -f conf$$subs.sed
23700 cat >>$CONFIG_STATUS <<_ACEOF
23707 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23708 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23709 # trailing colons and then remove the whole line if VPATH becomes empty
23710 # (actually we leave an empty line to preserve line numbers).
23711 if test "x$srcdir" = x.; then
23712 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23713 s/:*\$(srcdir):*/:/
23714 s/:*\${srcdir}:*/:/
23716 s/^\([^=]*=[ ]*\):*/\1/
23722 cat >>$CONFIG_STATUS <<\_ACEOF
23723 fi # test -n "$CONFIG_FILES"
23726 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23729 :[FHLC]) ac_mode=$ac_tag; continue;;
23731 case $ac_mode$ac_tag in
23733 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23734 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23735 { (exit 1); exit 1; }; };;
23736 :[FH]-) ac_tag=-:-;;
23737 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23754 -) ac_f="$tmp/stdin";;
23755 *) # Look for the file first in the build tree, then in the source tree
23756 # (if the path is not absolute). The absolute path cannot be DOS-style,
23757 # because $ac_f cannot contain `:'.
23761 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23763 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23764 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23765 { (exit 1); exit 1; }; };;
23767 ac_file_inputs="$ac_file_inputs $ac_f"
23770 # Let's still pretend it is `configure' which instantiates (i.e., don't
23771 # use $as_me), people would be surprised to read:
23772 # /* config.h. Generated by config.status. */
23773 configure_input="Generated from "`IFS=:
23774 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23775 if test x"$ac_file" != x-; then
23776 configure_input="$ac_file. $configure_input"
23777 { echo "$as_me:$LINENO: creating $ac_file" >&5
23778 echo "$as_me: creating $ac_file" >&6;}
23782 *:-:* | *:-) cat >"$tmp/stdin";;
23787 ac_dir=`$as_dirname -- "$ac_file" ||
23788 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23789 X"$ac_file" : 'X\(//\)[^/]' \| \
23790 X"$ac_file" : 'X\(//\)$' \| \
23791 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23793 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23797 /^X\(\/\/\)[^/].*/{
23812 -*) as_dir=./$as_dir;;
23814 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23818 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23819 *) as_qdir=$as_dir;;
23821 as_dirs="'$as_qdir' $as_dirs"
23822 as_dir=`$as_dirname -- "$as_dir" ||
23823 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23824 X"$as_dir" : 'X\(//\)[^/]' \| \
23825 X"$as_dir" : 'X\(//\)$' \| \
23826 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23828 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23832 /^X\(\/\/\)[^/].*/{
23845 test -d "$as_dir" && break
23847 test -z "$as_dirs" || eval "mkdir $as_dirs"
23848 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23849 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23850 { (exit 1); exit 1; }; }; }
23854 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23856 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23857 # A ".." for each directory in $ac_dir_suffix.
23858 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23859 case $ac_top_builddir_sub in
23860 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23861 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23864 ac_abs_top_builddir=$ac_pwd
23865 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23866 # for backward compatibility:
23867 ac_top_builddir=$ac_top_build_prefix
23870 .) # We are building in place.
23872 ac_top_srcdir=$ac_top_builddir_sub
23873 ac_abs_top_srcdir=$ac_pwd ;;
23874 [\\/]* | ?:[\\/]* ) # Absolute name.
23875 ac_srcdir=$srcdir$ac_dir_suffix;
23876 ac_top_srcdir=$srcdir
23877 ac_abs_top_srcdir=$srcdir ;;
23878 *) # Relative name.
23879 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23880 ac_top_srcdir=$ac_top_build_prefix$srcdir
23881 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23883 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23893 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23894 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23898 cat >>$CONFIG_STATUS <<\_ACEOF
23899 # If the template does not know about datarootdir, expand it.
23900 # FIXME: This hack should be removed a few years after 2.60.
23901 ac_datarootdir_hack=; ac_datarootdir_seen=
23903 case `sed -n '/datarootdir/ {
23912 ' $ac_file_inputs` in
23913 *datarootdir*) ac_datarootdir_seen=yes;;
23914 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23915 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23916 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23918 cat >>$CONFIG_STATUS <<_ACEOF
23919 ac_datarootdir_hack='
23920 s&@datadir@&$datadir&g
23921 s&@docdir@&$docdir&g
23922 s&@infodir@&$infodir&g
23923 s&@localedir@&$localedir&g
23924 s&@mandir@&$mandir&g
23925 s&\\\${datarootdir}&$datarootdir&g' ;;
23929 # Neutralize VPATH when `$srcdir' = `.'.
23930 # Shell code in configure.ac might set extrasub.
23931 # FIXME: do we really want to maintain this feature?
23932 cat >>$CONFIG_STATUS <<_ACEOF
23936 cat >>$CONFIG_STATUS <<\_ACEOF
23938 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23939 s&@configure_input@&$configure_input&;t t
23940 s&@top_builddir@&$ac_top_builddir_sub&;t t
23941 s&@srcdir@&$ac_srcdir&;t t
23942 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23943 s&@top_srcdir@&$ac_top_srcdir&;t t
23944 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23945 s&@builddir@&$ac_builddir&;t t
23946 s&@abs_builddir@&$ac_abs_builddir&;t t
23947 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23948 s&@INSTALL@&$ac_INSTALL&;t t
23949 $ac_datarootdir_hack
23950 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23952 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23953 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23954 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23955 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23956 which seems to be undefined. Please make sure it is defined." >&5
23957 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23958 which seems to be undefined. Please make sure it is defined." >&2;}
23962 -) cat "$tmp/out"; rm -f "$tmp/out";;
23963 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23972 # Transform confdefs.h into a sed script `conftest.defines', that
23973 # substitutes the proper values into config.h.in to produce config.h.
23974 rm -f conftest.defines conftest.tail
23975 # First, append a space to every undef/define line, to ease matching.
23976 echo 's/$/ /' >conftest.defines
23977 # Then, protect against being on the right side of a sed subst, or in
23978 # an unquoted here document, in config.status. If some macros were
23979 # called several times there might be several #defines for the same
23980 # symbol, which is useless. But do not sort them, since the last
23981 # AC_DEFINE must be honored.
23982 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23983 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23984 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23985 # PARAMS is the parameter list in the macro definition--in most cases, it's
23986 # just an empty string.
23987 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23988 ac_dB='\\)[ (].*,\\1define\\2'
23996 s/^[ ]*#[ ]*define[ ][ ]*//
24001 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24002 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24003 ' >>conftest.defines
24005 # Remove the space that was appended to ease matching.
24006 # Then replace #undef with comments. This is necessary, for
24007 # example, in the case of _POSIX_SOURCE, which is predefined and required
24008 # on some systems where configure will not decide to define it.
24009 # (The regexp can be short, since the line contains either #define or #undef.)
24011 s,^[ #]*u.*,/* & */,' >>conftest.defines
24013 # Break up conftest.defines:
24014 ac_max_sed_lines=50
24016 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24017 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24018 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24020 ac_in='$ac_file_inputs'
24021 ac_out='"$tmp/out1"'
24022 ac_nxt='"$tmp/out2"'
24026 # Write a here document:
24027 cat >>$CONFIG_STATUS <<_ACEOF
24028 # First, check the format of the line:
24029 cat >"\$tmp/defines.sed" <<\\CEOF
24030 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24031 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24035 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24037 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24038 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24039 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24040 grep . conftest.tail >/dev/null || break
24041 rm -f conftest.defines
24042 mv conftest.tail conftest.defines
24044 rm -f conftest.defines conftest.tail
24046 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24047 cat >>$CONFIG_STATUS <<\_ACEOF
24048 if test x"$ac_file" != x-; then
24049 echo "/* $configure_input */" >"$tmp/config.h"
24050 cat "$ac_result" >>"$tmp/config.h"
24051 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24052 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24053 echo "$as_me: $ac_file is unchanged" >&6;}
24056 mv "$tmp/config.h" $ac_file
24059 echo "/* $configure_input */"
24065 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24066 echo "$as_me: executing $ac_file commands" >&6;}
24071 case $ac_file$ac_mode in
24072 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24073 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24074 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24075 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24076 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24077 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24078 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24079 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24080 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24081 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24082 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24083 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24084 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24090 { (exit 0); exit 0; }
24092 chmod +x $CONFIG_STATUS
24093 ac_clean_files=$ac_clean_files_save
24096 # configure is writing to config.log, and then calls config.status.
24097 # config.status does its own redirection, appending to config.log.
24098 # Unfortunately, on DOS this fails, as config.log is still kept open
24099 # by configure, so config.status won't be able to write to it; its
24100 # output is simply discarded. So we exec the FD to /dev/null,
24101 # effectively closing config.log, so it can be properly (re)opened and
24102 # appended to by config.status. When coming back to configure, we
24103 # need to make the FD available again.
24104 if test "$no_create" != yes; then
24106 ac_config_status_args=
24107 test "$silent" = yes &&
24108 ac_config_status_args="$ac_config_status_args --quiet"
24110 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24112 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24113 # would make configure fail if this is the last instruction.
24114 $ac_cs_success || { (exit 1); exit 1; }
24118 if test "$no_create" = "yes"
24125 if test "x$wine_notices != "x; then
24127 for msg in $wine_notices; do
24128 if test -n "$msg"; then
24129 { echo "$as_me:$LINENO: $msg" >&5
24130 echo "$as_me: $msg" >&6;}
24134 for msg in $wine_warnings; do
24135 if test -n "$msg"; then
24137 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24138 echo "$as_me: WARNING: $msg" >&2;}
24144 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.