2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.0-rc2.
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-rc2'
578 PACKAGE_STRING='Wine 1.0-rc2'
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-rc2 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-rc2:";;
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-freetype do not use the FreeType library
1391 --without-gphoto do not use gphoto (Digital Camera support)
1392 --without-glu do not use the GLU library
1393 --without-hal do not use HAL (dynamic device support)
1394 --without-jack do not use the Jack sound support
1395 --without-jpeg do not use JPEG
1396 --without-ldap do not use LDAP
1397 --without-nas do not use the NAS sound support
1398 --without-opengl do not use OpenGL
1399 --without-openssl do not use OpenSSL
1400 --without-oss do not use the OSS sound support
1401 --without-png do not use PNG
1402 --without-sane do not use SANE (scanner support)
1403 --without-xcomposite do not use the Xcomposite extension
1404 --without-xcursor do not use the Xcursor extension
1405 --without-xinerama do not use Xinerama (multi-monitor support)
1406 --without-xinput do not use the Xinput extension
1407 --without-xml do not use XML
1408 --without-xrandr do not use Xrandr (resolution changes)
1409 --without-xrender do not use the Xrender extension
1410 --without-xshape do not use the Xshape extension
1411 --without-xshm do not use XShm (shared memory extension)
1412 --without-xslt do not use XSLT
1413 --without-xvidmode do not use XFree video mode extension
1414 --with-wine-tools=DIR use Wine tools from directory DIR
1415 --with-x use the X Window System
1417 Some influential environment variables:
1418 CC C compiler command
1419 CFLAGS C compiler flags
1420 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1421 nonstandard directory <lib dir>
1422 LIBS libraries to pass to the linker, e.g. -l<library>
1423 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1424 you have headers in a nonstandard directory <include dir>
1425 CXX C++ compiler command
1426 CXXFLAGS C++ compiler flags
1427 XMKMF Path to xmkmf, Makefile generator for X Window System
1430 Use these variables to override the choices made by `configure' or to help
1431 it to find libraries and programs with nonstandard names/locations.
1433 Report bugs to <wine-devel@winehq.org>.
1438 if test "$ac_init_help" = "recursive"; then
1439 # If there are subdirs, report their specific --help.
1440 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1441 test -d "$ac_dir" || continue
1445 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1447 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1448 # A ".." for each directory in $ac_dir_suffix.
1449 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1450 case $ac_top_builddir_sub in
1451 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1455 ac_abs_top_builddir=$ac_pwd
1456 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1457 # for backward compatibility:
1458 ac_top_builddir=$ac_top_build_prefix
1461 .) # We are building in place.
1463 ac_top_srcdir=$ac_top_builddir_sub
1464 ac_abs_top_srcdir=$ac_pwd ;;
1465 [\\/]* | ?:[\\/]* ) # Absolute name.
1466 ac_srcdir=$srcdir$ac_dir_suffix;
1467 ac_top_srcdir=$srcdir
1468 ac_abs_top_srcdir=$srcdir ;;
1470 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1471 ac_top_srcdir=$ac_top_build_prefix$srcdir
1472 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1474 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1476 cd "$ac_dir" || { ac_status=$?; continue; }
1477 # Check for guested configure.
1478 if test -f "$ac_srcdir/configure.gnu"; then
1480 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1481 elif test -f "$ac_srcdir/configure"; then
1483 $SHELL "$ac_srcdir/configure" --help=recursive
1485 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1487 cd "$ac_pwd" || { ac_status=$?; break; }
1491 test -n "$ac_init_help" && exit $ac_status
1492 if $ac_init_version; then
1494 Wine configure 1.0-rc2
1495 generated by GNU Autoconf 2.61
1497 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1498 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1499 This configure script is free software; the Free Software Foundation
1500 gives unlimited permission to copy, distribute and modify it.
1504 cat >config.log <<_ACEOF
1505 This file contains any messages produced by compilers while
1506 running configure, to aid debugging if configure makes a mistake.
1508 It was created by Wine $as_me 1.0-rc2, which was
1509 generated by GNU Autoconf 2.61. Invocation command line was
1521 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1522 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1523 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1524 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1525 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1527 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1528 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1530 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1531 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1532 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1533 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1534 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1535 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1536 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1544 test -z "$as_dir" && as_dir=.
1545 echo "PATH: $as_dir"
1561 # Keep a trace of the command line.
1562 # Strip out --no-create and --no-recursion so they do not pile up.
1563 # Strip out --silent because we don't want to record it for future runs.
1564 # Also quote any args containing shell meta-characters.
1565 # Make two passes to allow for proper duplicate-argument suppression.
1569 ac_must_keep_next=false
1575 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1576 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1577 | -silent | --silent | --silen | --sile | --sil)
1580 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1583 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1585 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1586 if test $ac_must_keep_next = true; then
1587 ac_must_keep_next=false # Got value, back to normal.
1590 *=* | --config-cache | -C | -disable-* | --disable-* \
1591 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1592 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1593 | -with-* | --with-* | -without-* | --without-* | --x)
1594 case "$ac_configure_args0 " in
1595 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1598 -* ) ac_must_keep_next=true ;;
1601 ac_configure_args="$ac_configure_args '$ac_arg'"
1606 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1607 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1609 # When interrupted or exit'd, cleanup temporary files, and complete
1610 # config.log. We remove comments because anyway the quotes in there
1611 # would cause problems or look ugly.
1612 # WARNING: Use '\'' to represent an apostrophe within the trap.
1613 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1614 trap 'exit_status=$?
1615 # Save into config.log some information that might help in debugging.
1620 ## ---------------- ##
1621 ## Cache variables. ##
1622 ## ---------------- ##
1625 # The following way of writing the cache mishandles newlines in values,
1627 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1628 eval ac_val=\$$ac_var
1632 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1633 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1636 _ | IFS | as_nl) ;; #(
1637 *) $as_unset $ac_var ;;
1642 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1643 *${as_nl}ac_space=\ *)
1645 "s/'\''/'\''\\\\'\'''\''/g;
1646 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1649 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1657 ## ----------------- ##
1658 ## Output variables. ##
1659 ## ----------------- ##
1662 for ac_var in $ac_subst_vars
1664 eval ac_val=\$$ac_var
1666 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1668 echo "$ac_var='\''$ac_val'\''"
1672 if test -n "$ac_subst_files"; then
1674 ## ------------------- ##
1675 ## File substitutions. ##
1676 ## ------------------- ##
1679 for ac_var in $ac_subst_files
1681 eval ac_val=\$$ac_var
1683 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1685 echo "$ac_var='\''$ac_val'\''"
1690 if test -s confdefs.h; then
1700 test "$ac_signal" != 0 &&
1701 echo "$as_me: caught signal $ac_signal"
1702 echo "$as_me: exit $exit_status"
1704 rm -f core *.core core.conftest.* &&
1705 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1708 for ac_signal in 1 2 13 15; do
1709 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1713 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1714 rm -f -r conftest* confdefs.h
1716 # Predefined preprocessor variables.
1718 cat >>confdefs.h <<_ACEOF
1719 #define PACKAGE_NAME "$PACKAGE_NAME"
1723 cat >>confdefs.h <<_ACEOF
1724 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1728 cat >>confdefs.h <<_ACEOF
1729 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1733 cat >>confdefs.h <<_ACEOF
1734 #define PACKAGE_STRING "$PACKAGE_STRING"
1738 cat >>confdefs.h <<_ACEOF
1739 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1743 # Let the site file select an alternate cache file if it wants to.
1744 # Prefer explicitly selected file to automatically selected ones.
1745 if test -n "$CONFIG_SITE"; then
1746 set x "$CONFIG_SITE"
1747 elif test "x$prefix" != xNONE; then
1748 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1750 set x "$ac_default_prefix/share/config.site" \
1751 "$ac_default_prefix/etc/config.site"
1756 if test -r "$ac_site_file"; then
1757 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1758 echo "$as_me: loading site script $ac_site_file" >&6;}
1759 sed 's/^/| /' "$ac_site_file" >&5
1764 if test -r "$cache_file"; then
1765 # Some versions of bash will fail to source /dev/null (special
1766 # files actually), so we avoid doing that.
1767 if test -f "$cache_file"; then
1768 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1769 echo "$as_me: loading cache $cache_file" >&6;}
1771 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1772 *) . "./$cache_file";;
1776 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1777 echo "$as_me: creating cache $cache_file" >&6;}
1781 # Check that the precious variables saved in the cache have kept the same
1783 ac_cache_corrupted=false
1784 for ac_var in $ac_precious_vars; do
1785 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1786 eval ac_new_set=\$ac_env_${ac_var}_set
1787 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1788 eval ac_new_val=\$ac_env_${ac_var}_value
1789 case $ac_old_set,$ac_new_set in
1791 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1792 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1793 ac_cache_corrupted=: ;;
1795 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1796 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1797 ac_cache_corrupted=: ;;
1800 if test "x$ac_old_val" != "x$ac_new_val"; then
1801 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1802 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1803 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1804 echo "$as_me: former value: $ac_old_val" >&2;}
1805 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1806 echo "$as_me: current value: $ac_new_val" >&2;}
1807 ac_cache_corrupted=:
1810 # Pass precious variables to config.status.
1811 if test "$ac_new_set" = set; then
1813 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1814 *) ac_arg=$ac_var=$ac_new_val ;;
1816 case " $ac_configure_args " in
1817 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1818 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1822 if $ac_cache_corrupted; then
1823 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1824 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1825 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1826 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1827 { (exit 1); exit 1; }; }
1855 ac_cpp='$CPP $CPPFLAGS'
1856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1862 ac_config_headers="$ac_config_headers include/config.h"
1865 for ac_dir in tools "$srcdir"/tools; do
1866 if test -f "$ac_dir/install-sh"; then
1868 ac_install_sh="$ac_aux_dir/install-sh -c"
1870 elif test -f "$ac_dir/install.sh"; then
1872 ac_install_sh="$ac_aux_dir/install.sh -c"
1874 elif test -f "$ac_dir/shtool"; then
1876 ac_install_sh="$ac_aux_dir/shtool install -c"
1880 if test -z "$ac_aux_dir"; then
1881 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1882 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1883 { (exit 1); exit 1; }; }
1886 # These three variables are undocumented and unsupported,
1887 # and are intended to be withdrawn in a future Autoconf release.
1888 # They can cause serious problems if a builder's source tree is in a directory
1889 # whose full name contains unusual characters.
1890 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1891 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1892 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1897 # Check whether --enable-win16 was given.
1898 if test "${enable_win16+set}" = set; then
1899 enableval=$enable_win16;
1902 # Check whether --enable-win64 was given.
1903 if test "${enable_win64+set}" = set; then
1904 enableval=$enable_win64;
1907 # Check whether --enable-maintainer-mode was given.
1908 if test "${enable_maintainer_mode+set}" = set; then
1909 enableval=$enable_maintainer_mode;
1917 # Check whether --with-alsa was given.
1918 if test "${with_alsa+set}" = set; then
1919 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1923 # Check whether --with-audioio was given.
1924 if test "${with_audioio+set}" = set; then
1925 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1929 # Check whether --with-capi was given.
1930 if test "${with_capi+set}" = set; then
1931 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1935 # Check whether --with-cms was given.
1936 if test "${with_cms+set}" = set; then
1937 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1941 # Check whether --with-coreaudio was given.
1942 if test "${with_coreaudio+set}" = set; then
1943 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1947 # Check whether --with-cups was given.
1948 if test "${with_cups+set}" = set; then
1949 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1953 # Check whether --with-curses was given.
1954 if test "${with_curses+set}" = set; then
1955 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1959 # Check whether --with-esd was given.
1960 if test "${with_esd+set}" = set; then
1965 # Check whether --with-fontconfig was given.
1966 if test "${with_fontconfig+set}" = set; then
1967 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1971 # Check whether --with-freetype was given.
1972 if test "${with_freetype+set}" = set; then
1973 withval=$with_freetype;
1977 # Check whether --with-gphoto was given.
1978 if test "${with_gphoto+set}" = set; then
1979 withval=$with_gphoto;
1983 # Check whether --with-glu was given.
1984 if test "${with_glu+set}" = set; then
1985 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
1989 # Check whether --with-hal was given.
1990 if test "${with_hal+set}" = set; then
1995 # Check whether --with-jack was given.
1996 if test "${with_jack+set}" = set; then
1997 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2001 # Check whether --with-jpeg was given.
2002 if test "${with_jpeg+set}" = set; then
2003 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2007 # Check whether --with-ldap was given.
2008 if test "${with_ldap+set}" = set; then
2009 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2013 # Check whether --with-nas was given.
2014 if test "${with_nas+set}" = set; then
2015 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2019 # Check whether --with-opengl was given.
2020 if test "${with_opengl+set}" = set; then
2021 withval=$with_opengl;
2025 # Check whether --with-openssl was given.
2026 if test "${with_openssl+set}" = set; then
2027 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2031 # Check whether --with-oss was given.
2032 if test "${with_oss+set}" = set; then
2033 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
2037 # Check whether --with-png was given.
2038 if test "${with_png+set}" = set; then
2039 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2043 # Check whether --with-sane was given.
2044 if test "${with_sane+set}" = set; then
2049 # Check whether --with-xcomposite was given.
2050 if test "${with_xcomposite+set}" = set; then
2051 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2055 # Check whether --with-xcursor was given.
2056 if test "${with_xcursor+set}" = set; then
2057 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2061 # Check whether --with-xinerama was given.
2062 if test "${with_xinerama+set}" = set; then
2063 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2067 # Check whether --with-xinput was given.
2068 if test "${with_xinput+set}" = set; then
2069 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2073 # Check whether --with-xml was given.
2074 if test "${with_xml+set}" = set; then
2079 # Check whether --with-xrandr was given.
2080 if test "${with_xrandr+set}" = set; then
2081 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2085 # Check whether --with-xrender was given.
2086 if test "${with_xrender+set}" = set; then
2087 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2091 # Check whether --with-xshape was given.
2092 if test "${with_xshape+set}" = set; then
2093 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2097 # Check whether --with-xshm was given.
2098 if test "${with_xshm+set}" = set; then
2099 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2103 # Check whether --with-xslt was given.
2104 if test "${with_xslt+set}" = set; then
2109 # Check whether --with-xvidmode was given.
2110 if test "${with_xvidmode+set}" = set; then
2111 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2116 # Check whether --with-wine-tools was given.
2117 if test "${with_wine_tools+set}" = set; then
2118 withval=$with_wine_tools;
2122 # Make sure we can run config.sub.
2123 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2124 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2125 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2126 { (exit 1); exit 1; }; }
2128 { echo "$as_me:$LINENO: checking build system type" >&5
2129 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2130 if test "${ac_cv_build+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 ac_build_alias=$build_alias
2134 test "x$ac_build_alias" = x &&
2135 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2136 test "x$ac_build_alias" = x &&
2137 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2138 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2139 { (exit 1); exit 1; }; }
2140 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2141 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2142 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2143 { (exit 1); exit 1; }; }
2146 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2147 echo "${ECHO_T}$ac_cv_build" >&6; }
2148 case $ac_cv_build in
2150 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2151 echo "$as_me: error: invalid value of canonical build" >&2;}
2152 { (exit 1); exit 1; }; };;
2155 ac_save_IFS=$IFS; IFS='-'
2161 # Remember, the first character of IFS is used to create $*,
2162 # except with old shells:
2165 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2168 { echo "$as_me:$LINENO: checking host system type" >&5
2169 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2170 if test "${ac_cv_host+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 if test "x$host_alias" = x; then
2174 ac_cv_host=$ac_cv_build
2176 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2177 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2178 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2179 { (exit 1); exit 1; }; }
2183 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2184 echo "${ECHO_T}$ac_cv_host" >&6; }
2187 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2188 echo "$as_me: error: invalid value of canonical host" >&2;}
2189 { (exit 1); exit 1; }; };;
2192 ac_save_IFS=$IFS; IFS='-'
2198 # Remember, the first character of IFS is used to create $*,
2199 # except with old shells:
2202 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2207 if test "x$enable_win64" != "xyes"
2209 test -n "$CC" || CC="gcc -m32"
2210 test -n "$CXX"|| CXX="g++ -m32"
2211 test -n "$LD" || LD="ld -m elf_i386"
2212 test -n "$AS" || AS="as --32"
2220 if test "x$enable_win16" != "xno"
2227 WIN16_FILES="\$(WIN16_FILES)"
2229 WIN16_INSTALL="\$(WIN16_INSTALL)"
2231 if test "x$enable_win16" != "xyes"
2239 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2240 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2241 You need to run 'make distclean' in the source tree first." >&5
2242 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2243 You need to run 'make distclean' in the source tree first." >&2;}
2244 { (exit 1); exit 1; }; }
2249 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2250 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2251 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2252 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2255 cat >conftest.make <<\_ACEOF
2258 @echo '@@@%%%=$(MAKE)=@@@%%%'
2260 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2261 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2263 eval ac_cv_prog_make_${ac_make}_set=yes;;
2265 eval ac_cv_prog_make_${ac_make}_set=no;;
2269 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2270 { echo "$as_me:$LINENO: result: yes" >&5
2271 echo "${ECHO_T}yes" >&6; }
2274 { echo "$as_me:$LINENO: result: no" >&5
2275 echo "${ECHO_T}no" >&6; }
2276 SET_MAKE="MAKE=${MAKE-make}"
2280 ac_cpp='$CPP $CPPFLAGS'
2281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2284 if test -n "$ac_tool_prefix"; then
2285 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2286 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2292 if test -n "$CC"; then
2293 ac_cv_prog_CC="$CC" # Let the user override the test.
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2299 test -z "$as_dir" && as_dir=.
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2313 if test -n "$CC"; then
2314 { echo "$as_me:$LINENO: result: $CC" >&5
2315 echo "${ECHO_T}$CC" >&6; }
2317 { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2323 if test -z "$ac_cv_prog_CC"; then
2325 # Extract the first word of "gcc", so it can be a program name with args.
2326 set dummy gcc; ac_word=$2
2327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2329 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2330 echo $ECHO_N "(cached) $ECHO_C" >&6
2332 if test -n "$ac_ct_CC"; then
2333 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2339 test -z "$as_dir" && as_dir=.
2340 for ac_exec_ext in '' $ac_executable_extensions; do
2341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2342 ac_cv_prog_ac_ct_CC="gcc"
2343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2352 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2353 if test -n "$ac_ct_CC"; then
2354 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2355 echo "${ECHO_T}$ac_ct_CC" >&6; }
2357 { echo "$as_me:$LINENO: result: no" >&5
2358 echo "${ECHO_T}no" >&6; }
2361 if test "x$ac_ct_CC" = x; then
2364 case $cross_compiling:$ac_tool_warned in
2366 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2367 whose name does not start with the host triplet. If you think this
2368 configuration is useful to you, please write to autoconf@gnu.org." >&5
2369 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2370 whose name does not start with the host triplet. If you think this
2371 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2372 ac_tool_warned=yes ;;
2380 if test -z "$CC"; then
2381 if test -n "$ac_tool_prefix"; then
2382 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2383 set dummy ${ac_tool_prefix}cc; ac_word=$2
2384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2386 if test "${ac_cv_prog_CC+set}" = set; then
2387 echo $ECHO_N "(cached) $ECHO_C" >&6
2389 if test -n "$CC"; then
2390 ac_cv_prog_CC="$CC" # Let the user override the test.
2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396 test -z "$as_dir" && as_dir=.
2397 for ac_exec_ext in '' $ac_executable_extensions; do
2398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2399 ac_cv_prog_CC="${ac_tool_prefix}cc"
2400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2410 if test -n "$CC"; then
2411 { echo "$as_me:$LINENO: result: $CC" >&5
2412 echo "${ECHO_T}$CC" >&6; }
2414 { echo "$as_me:$LINENO: result: no" >&5
2415 echo "${ECHO_T}no" >&6; }
2421 if test -z "$CC"; then
2422 # Extract the first word of "cc", so it can be a program name with args.
2423 set dummy cc; ac_word=$2
2424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2426 if test "${ac_cv_prog_CC+set}" = set; then
2427 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 if test -n "$CC"; then
2430 ac_cv_prog_CC="$CC" # Let the user override the test.
2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir=.
2438 for ac_exec_ext in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2441 ac_prog_rejected=yes
2445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2452 if test $ac_prog_rejected = yes; then
2453 # We found a bogon in the path, so make sure we never use it.
2454 set dummy $ac_cv_prog_CC
2456 if test $# != 0; then
2457 # We chose a different compiler from the bogus one.
2458 # However, it has the same basename, so the bogon will be chosen
2459 # first if we set CC to just the basename; use the full file name.
2461 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2467 if test -n "$CC"; then
2468 { echo "$as_me:$LINENO: result: $CC" >&5
2469 echo "${ECHO_T}$CC" >&6; }
2471 { echo "$as_me:$LINENO: result: no" >&5
2472 echo "${ECHO_T}no" >&6; }
2477 if test -z "$CC"; then
2478 if test -n "$ac_tool_prefix"; then
2479 for ac_prog in cl.exe
2481 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2482 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2485 if test "${ac_cv_prog_CC+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 if test -n "$CC"; then
2489 ac_cv_prog_CC="$CC" # Let the user override the test.
2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2495 test -z "$as_dir" && as_dir=.
2496 for ac_exec_ext in '' $ac_executable_extensions; do
2497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2498 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2509 if test -n "$CC"; then
2510 { echo "$as_me:$LINENO: result: $CC" >&5
2511 echo "${ECHO_T}$CC" >&6; }
2513 { echo "$as_me:$LINENO: result: no" >&5
2514 echo "${ECHO_T}no" >&6; }
2518 test -n "$CC" && break
2521 if test -z "$CC"; then
2523 for ac_prog in cl.exe
2525 # Extract the first word of "$ac_prog", so it can be a program name with args.
2526 set dummy $ac_prog; ac_word=$2
2527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2529 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 if test -n "$ac_ct_CC"; then
2533 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 test -z "$as_dir" && as_dir=.
2540 for ac_exec_ext in '' $ac_executable_extensions; do
2541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542 ac_cv_prog_ac_ct_CC="$ac_prog"
2543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2553 if test -n "$ac_ct_CC"; then
2554 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2555 echo "${ECHO_T}$ac_ct_CC" >&6; }
2557 { echo "$as_me:$LINENO: result: no" >&5
2558 echo "${ECHO_T}no" >&6; }
2562 test -n "$ac_ct_CC" && break
2565 if test "x$ac_ct_CC" = x; then
2568 case $cross_compiling:$ac_tool_warned in
2570 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2571 whose name does not start with the host triplet. If you think this
2572 configuration is useful to you, please write to autoconf@gnu.org." >&5
2573 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2574 whose name does not start with the host triplet. If you think this
2575 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2576 ac_tool_warned=yes ;;
2585 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2586 See \`config.log' for more details." >&5
2587 echo "$as_me: error: no acceptable C compiler found in \$PATH
2588 See \`config.log' for more details." >&2;}
2589 { (exit 1); exit 1; }; }
2591 # Provide some information about the compiler.
2592 echo "$as_me:$LINENO: checking for C compiler version" >&5
2593 ac_compiler=`set X $ac_compile; echo $2`
2594 { (ac_try="$ac_compiler --version >&5"
2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2600 (eval "$ac_compiler --version >&5") 2>&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }
2604 { (ac_try="$ac_compiler -v >&5"
2606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2607 *) ac_try_echo=$ac_try;;
2609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2610 (eval "$ac_compiler -v >&5") 2>&5
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }
2614 { (ac_try="$ac_compiler -V >&5"
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2620 (eval "$ac_compiler -V >&5") 2>&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }
2625 cat >conftest.$ac_ext <<_ACEOF
2628 cat confdefs.h >>conftest.$ac_ext
2629 cat >>conftest.$ac_ext <<_ACEOF
2630 /* end confdefs.h. */
2640 ac_clean_files_save=$ac_clean_files
2641 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2642 # Try to create an executable without -o first, disregard a.out.
2643 # It will help us diagnose broken compilers, and finding out an intuition
2645 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2646 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2647 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2649 # List of possible output files, starting from the most likely.
2650 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2651 # only as a last resort. b.out is created by i960 compilers.
2652 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2654 # The IRIX 6 linker writes into existing files which may not be
2655 # executable, retaining their permissions. Remove them first so a
2656 # subsequent execution test works.
2658 for ac_file in $ac_files
2661 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2662 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2667 if { (ac_try="$ac_link_default"
2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 *) ac_try_echo=$ac_try;;
2672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2673 (eval "$ac_link_default") 2>&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); }; then
2677 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2678 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2679 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2680 # so that the user can short-circuit this test for compilers unknown to
2682 for ac_file in $ac_files ''
2684 test -f "$ac_file" || continue
2686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2689 # We found the default executable, but exeext='' is most
2693 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2695 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2697 # We set ac_cv_exeext here because the later test for it is not
2698 # safe: cross compilers may not add the suffix if given an `-o'
2699 # argument, so we may need to know it at that point already.
2700 # Even if this section looks crufty: it has the advantage of
2707 test "$ac_cv_exeext" = no && ac_cv_exeext=
2713 { echo "$as_me:$LINENO: result: $ac_file" >&5
2714 echo "${ECHO_T}$ac_file" >&6; }
2715 if test -z "$ac_file"; then
2716 echo "$as_me: failed program was:" >&5
2717 sed 's/^/| /' conftest.$ac_ext >&5
2719 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2720 See \`config.log' for more details." >&5
2721 echo "$as_me: error: C compiler cannot create executables
2722 See \`config.log' for more details." >&2;}
2723 { (exit 77); exit 77; }; }
2726 ac_exeext=$ac_cv_exeext
2728 # Check that the compiler produces executables we can run. If not, either
2729 # the compiler is broken, or we cross compile.
2730 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2731 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2732 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2733 # If not cross compiling, check that we can run a simple program.
2734 if test "$cross_compiling" != yes; then
2735 if { ac_try='./$ac_file'
2736 { (case "(($ac_try" in
2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2741 (eval "$ac_try") 2>&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; }; then
2747 if test "$cross_compiling" = maybe; then
2750 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2751 If you meant to cross compile, use \`--host'.
2752 See \`config.log' for more details." >&5
2753 echo "$as_me: error: cannot run C compiled programs.
2754 If you meant to cross compile, use \`--host'.
2755 See \`config.log' for more details." >&2;}
2756 { (exit 1); exit 1; }; }
2760 { echo "$as_me:$LINENO: result: yes" >&5
2761 echo "${ECHO_T}yes" >&6; }
2763 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2764 ac_clean_files=$ac_clean_files_save
2765 # Check that the compiler produces executables we can run. If not, either
2766 # the compiler is broken, or we cross compile.
2767 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2768 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2769 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2770 echo "${ECHO_T}$cross_compiling" >&6; }
2772 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2773 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2774 if { (ac_try="$ac_link"
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_link") 2>&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; then
2784 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2785 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2786 # work properly (i.e., refer to `conftest.exe'), while it won't with
2788 for ac_file in conftest.exe conftest conftest.*; do
2789 test -f "$ac_file" || continue
2791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2792 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2798 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2799 See \`config.log' for more details." >&5
2800 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2801 See \`config.log' for more details." >&2;}
2802 { (exit 1); exit 1; }; }
2805 rm -f conftest$ac_cv_exeext
2806 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2807 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2809 rm -f conftest.$ac_ext
2810 EXEEXT=$ac_cv_exeext
2812 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2813 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2814 if test "${ac_cv_objext+set}" = set; then
2815 echo $ECHO_N "(cached) $ECHO_C" >&6
2817 cat >conftest.$ac_ext <<_ACEOF
2820 cat confdefs.h >>conftest.$ac_ext
2821 cat >>conftest.$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2832 rm -f conftest.o conftest.obj
2833 if { (ac_try="$ac_compile"
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839 (eval "$ac_compile") 2>&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; then
2843 for ac_file in conftest.o conftest.obj conftest.*; do
2844 test -f "$ac_file" || continue;
2846 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2847 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2855 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2856 See \`config.log' for more details." >&5
2857 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2858 See \`config.log' for more details." >&2;}
2859 { (exit 1); exit 1; }; }
2862 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2864 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2865 echo "${ECHO_T}$ac_cv_objext" >&6; }
2866 OBJEXT=$ac_cv_objext
2868 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2869 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2870 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2871 echo $ECHO_N "(cached) $ECHO_C" >&6
2873 cat >conftest.$ac_ext <<_ACEOF
2876 cat confdefs.h >>conftest.$ac_ext
2877 cat >>conftest.$ac_ext <<_ACEOF
2878 /* end confdefs.h. */
2891 rm -f conftest.$ac_objext
2892 if { (ac_try="$ac_compile"
2894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895 *) ac_try_echo=$ac_try;;
2897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2898 (eval "$ac_compile") 2>conftest.er1
2900 grep -v '^ *+' conftest.er1 >conftest.err
2902 cat conftest.err >&5
2903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904 (exit $ac_status); } && {
2905 test -z "$ac_c_werror_flag" ||
2906 test ! -s conftest.err
2907 } && test -s conftest.$ac_objext; then
2910 echo "$as_me: failed program was:" >&5
2911 sed 's/^/| /' conftest.$ac_ext >&5
2916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2917 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2920 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2921 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2922 GCC=`test $ac_compiler_gnu = yes && echo yes`
2923 ac_test_CFLAGS=${CFLAGS+set}
2924 ac_save_CFLAGS=$CFLAGS
2925 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2926 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2927 if test "${ac_cv_prog_cc_g+set}" = set; then
2928 echo $ECHO_N "(cached) $ECHO_C" >&6
2930 ac_save_c_werror_flag=$ac_c_werror_flag
2931 ac_c_werror_flag=yes
2934 cat >conftest.$ac_ext <<_ACEOF
2937 cat confdefs.h >>conftest.$ac_ext
2938 cat >>conftest.$ac_ext <<_ACEOF
2939 /* end confdefs.h. */
2949 rm -f conftest.$ac_objext
2950 if { (ac_try="$ac_compile"
2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
2955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2956 (eval "$ac_compile") 2>conftest.er1
2958 grep -v '^ *+' conftest.er1 >conftest.err
2960 cat conftest.err >&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); } && {
2963 test -z "$ac_c_werror_flag" ||
2964 test ! -s conftest.err
2965 } && test -s conftest.$ac_objext; then
2968 echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2972 cat >conftest.$ac_ext <<_ACEOF
2975 cat confdefs.h >>conftest.$ac_ext
2976 cat >>conftest.$ac_ext <<_ACEOF
2977 /* end confdefs.h. */
2987 rm -f conftest.$ac_objext
2988 if { (ac_try="$ac_compile"
2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2994 (eval "$ac_compile") 2>conftest.er1
2996 grep -v '^ *+' conftest.er1 >conftest.err
2998 cat conftest.err >&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); } && {
3001 test -z "$ac_c_werror_flag" ||
3002 test ! -s conftest.err
3003 } && test -s conftest.$ac_objext; then
3006 echo "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.$ac_ext >&5
3009 ac_c_werror_flag=$ac_save_c_werror_flag
3011 cat >conftest.$ac_ext <<_ACEOF
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3026 rm -f conftest.$ac_objext
3027 if { (ac_try="$ac_compile"
3029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030 *) ac_try_echo=$ac_try;;
3032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3033 (eval "$ac_compile") 2>conftest.er1
3035 grep -v '^ *+' conftest.er1 >conftest.err
3037 cat conftest.err >&5
3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 (exit $ac_status); } && {
3040 test -z "$ac_c_werror_flag" ||
3041 test ! -s conftest.err
3042 } && test -s conftest.$ac_objext; then
3045 echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.$ac_ext >&5
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 ac_c_werror_flag=$ac_save_c_werror_flag
3060 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3061 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3062 if test "$ac_test_CFLAGS" = set; then
3063 CFLAGS=$ac_save_CFLAGS
3064 elif test $ac_cv_prog_cc_g = yes; then
3065 if test "$GCC" = yes; then
3071 if test "$GCC" = yes; then
3077 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3078 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3079 if test "${ac_cv_prog_cc_c89+set}" = set; then
3080 echo $ECHO_N "(cached) $ECHO_C" >&6
3082 ac_cv_prog_cc_c89=no
3084 cat >conftest.$ac_ext <<_ACEOF
3087 cat confdefs.h >>conftest.$ac_ext
3088 cat >>conftest.$ac_ext <<_ACEOF
3089 /* end confdefs.h. */
3092 #include <sys/types.h>
3093 #include <sys/stat.h>
3094 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3095 struct buf { int x; };
3096 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3097 static char *e (p, i)
3103 static char *f (char * (*g) (char **, int), char **p, ...)
3108 s = g (p, va_arg (v,int));
3113 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3114 function prototypes and stuff, but not '\xHH' hex character constants.
3115 These don't provoke an error unfortunately, instead are silently treated
3116 as 'x'. The following induces an error, until -std is added to get
3117 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3118 array size at least. It's necessary to write '\x00'==0 to get something
3119 that's true only with -std. */
3120 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3122 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3123 inside strings and character constants. */
3125 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3127 int test (int i, double x);
3128 struct s1 {int (*f) (int a);};
3129 struct s2 {int (*f) (double a);};
3130 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3136 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3141 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3142 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3144 CC="$ac_save_CC $ac_arg"
3145 rm -f conftest.$ac_objext
3146 if { (ac_try="$ac_compile"
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3152 (eval "$ac_compile") 2>conftest.er1
3154 grep -v '^ *+' conftest.er1 >conftest.err
3156 cat conftest.err >&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); } && {
3159 test -z "$ac_c_werror_flag" ||
3160 test ! -s conftest.err
3161 } && test -s conftest.$ac_objext; then
3162 ac_cv_prog_cc_c89=$ac_arg
3164 echo "$as_me: failed program was:" >&5
3165 sed 's/^/| /' conftest.$ac_ext >&5
3170 rm -f core conftest.err conftest.$ac_objext
3171 test "x$ac_cv_prog_cc_c89" != "xno" && break
3173 rm -f conftest.$ac_ext
3178 case "x$ac_cv_prog_cc_c89" in
3180 { echo "$as_me:$LINENO: result: none needed" >&5
3181 echo "${ECHO_T}none needed" >&6; } ;;
3183 { echo "$as_me:$LINENO: result: unsupported" >&5
3184 echo "${ECHO_T}unsupported" >&6; } ;;
3186 CC="$CC $ac_cv_prog_cc_c89"
3187 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3188 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3193 ac_cpp='$CPP $CPPFLAGS'
3194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3199 ac_cpp='$CXXCPP $CPPFLAGS'
3200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3203 if test -z "$CXX"; then
3204 if test -n "$CCC"; then
3207 if test -n "$ac_tool_prefix"; then
3208 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3210 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3211 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3214 if test "${ac_cv_prog_CXX+set}" = set; then
3215 echo $ECHO_N "(cached) $ECHO_C" >&6
3217 if test -n "$CXX"; then
3218 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3224 test -z "$as_dir" && as_dir=.
3225 for ac_exec_ext in '' $ac_executable_extensions; do
3226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3227 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3238 if test -n "$CXX"; then
3239 { echo "$as_me:$LINENO: result: $CXX" >&5
3240 echo "${ECHO_T}$CXX" >&6; }
3242 { echo "$as_me:$LINENO: result: no" >&5
3243 echo "${ECHO_T}no" >&6; }
3247 test -n "$CXX" && break
3250 if test -z "$CXX"; then
3252 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3254 # Extract the first word of "$ac_prog", so it can be a program name with args.
3255 set dummy $ac_prog; ac_word=$2
3256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3258 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3259 echo $ECHO_N "(cached) $ECHO_C" >&6
3261 if test -n "$ac_ct_CXX"; then
3262 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 test -z "$as_dir" && as_dir=.
3269 for ac_exec_ext in '' $ac_executable_extensions; do
3270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3271 ac_cv_prog_ac_ct_CXX="$ac_prog"
3272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3282 if test -n "$ac_ct_CXX"; then
3283 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3284 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3286 { echo "$as_me:$LINENO: result: no" >&5
3287 echo "${ECHO_T}no" >&6; }
3291 test -n "$ac_ct_CXX" && break
3294 if test "x$ac_ct_CXX" = x; then
3297 case $cross_compiling:$ac_tool_warned in
3299 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3300 whose name does not start with the host triplet. If you think this
3301 configuration is useful to you, please write to autoconf@gnu.org." >&5
3302 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3303 whose name does not start with the host triplet. If you think this
3304 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3305 ac_tool_warned=yes ;;
3313 # Provide some information about the compiler.
3314 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3315 ac_compiler=`set X $ac_compile; echo $2`
3316 { (ac_try="$ac_compiler --version >&5"
3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3322 (eval "$ac_compiler --version >&5") 2>&5
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); }
3326 { (ac_try="$ac_compiler -v >&5"
3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3332 (eval "$ac_compiler -v >&5") 2>&5
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); }
3336 { (ac_try="$ac_compiler -V >&5"
3338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3342 (eval "$ac_compiler -V >&5") 2>&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); }
3347 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3348 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3349 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3350 echo $ECHO_N "(cached) $ECHO_C" >&6
3352 cat >conftest.$ac_ext <<_ACEOF
3355 cat confdefs.h >>conftest.$ac_ext
3356 cat >>conftest.$ac_ext <<_ACEOF
3357 /* end confdefs.h. */
3370 rm -f conftest.$ac_objext
3371 if { (ac_try="$ac_compile"
3373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3374 *) ac_try_echo=$ac_try;;
3376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3377 (eval "$ac_compile") 2>conftest.er1
3379 grep -v '^ *+' conftest.er1 >conftest.err
3381 cat conftest.err >&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); } && {
3384 test -z "$ac_cxx_werror_flag" ||
3385 test ! -s conftest.err
3386 } && test -s conftest.$ac_objext; then
3389 echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.$ac_ext >&5
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3399 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3400 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3401 GXX=`test $ac_compiler_gnu = yes && echo yes`
3402 ac_test_CXXFLAGS=${CXXFLAGS+set}
3403 ac_save_CXXFLAGS=$CXXFLAGS
3404 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3405 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3406 if test "${ac_cv_prog_cxx_g+set}" = set; then
3407 echo $ECHO_N "(cached) $ECHO_C" >&6
3409 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3410 ac_cxx_werror_flag=yes
3413 cat >conftest.$ac_ext <<_ACEOF
3416 cat confdefs.h >>conftest.$ac_ext
3417 cat >>conftest.$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3428 rm -f conftest.$ac_objext
3429 if { (ac_try="$ac_compile"
3431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432 *) ac_try_echo=$ac_try;;
3434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3435 (eval "$ac_compile") 2>conftest.er1
3437 grep -v '^ *+' conftest.er1 >conftest.err
3439 cat conftest.err >&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); } && {
3442 test -z "$ac_cxx_werror_flag" ||
3443 test ! -s conftest.err
3444 } && test -s conftest.$ac_objext; then
3445 ac_cv_prog_cxx_g=yes
3447 echo "$as_me: failed program was:" >&5
3448 sed 's/^/| /' conftest.$ac_ext >&5
3451 cat >conftest.$ac_ext <<_ACEOF
3454 cat confdefs.h >>conftest.$ac_ext
3455 cat >>conftest.$ac_ext <<_ACEOF
3456 /* end confdefs.h. */
3466 rm -f conftest.$ac_objext
3467 if { (ac_try="$ac_compile"
3469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;;
3472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3473 (eval "$ac_compile") 2>conftest.er1
3475 grep -v '^ *+' conftest.er1 >conftest.err
3477 cat conftest.err >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); } && {
3480 test -z "$ac_cxx_werror_flag" ||
3481 test ! -s conftest.err
3482 } && test -s conftest.$ac_objext; then
3485 echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.$ac_ext >&5
3488 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3490 cat >conftest.$ac_ext <<_ACEOF
3493 cat confdefs.h >>conftest.$ac_ext
3494 cat >>conftest.$ac_ext <<_ACEOF
3495 /* end confdefs.h. */
3505 rm -f conftest.$ac_objext
3506 if { (ac_try="$ac_compile"
3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509 *) ac_try_echo=$ac_try;;
3511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3512 (eval "$ac_compile") 2>conftest.er1
3514 grep -v '^ *+' conftest.er1 >conftest.err
3516 cat conftest.err >&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); } && {
3519 test -z "$ac_cxx_werror_flag" ||
3520 test ! -s conftest.err
3521 } && test -s conftest.$ac_objext; then
3522 ac_cv_prog_cxx_g=yes
3524 echo "$as_me: failed program was:" >&5
3525 sed 's/^/| /' conftest.$ac_ext >&5
3530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3539 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3540 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3541 if test "$ac_test_CXXFLAGS" = set; then
3542 CXXFLAGS=$ac_save_CXXFLAGS
3543 elif test $ac_cv_prog_cxx_g = yes; then
3544 if test "$GXX" = yes; then
3550 if test "$GXX" = yes; then
3557 ac_cpp='$CPP $CPPFLAGS'
3558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3562 if test -n "$ac_tool_prefix"; then
3563 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3564 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3567 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3568 echo $ECHO_N "(cached) $ECHO_C" >&6
3570 if test -n "$CPPBIN"; then
3571 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3577 test -z "$as_dir" && as_dir=.
3578 for ac_exec_ext in '' $ac_executable_extensions; do
3579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3580 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3590 CPPBIN=$ac_cv_prog_CPPBIN
3591 if test -n "$CPPBIN"; then
3592 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3593 echo "${ECHO_T}$CPPBIN" >&6; }
3595 { echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6; }
3601 if test -z "$ac_cv_prog_CPPBIN"; then
3602 ac_ct_CPPBIN=$CPPBIN
3603 # Extract the first word of "cpp", so it can be a program name with args.
3604 set dummy cpp; ac_word=$2
3605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3607 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3610 if test -n "$ac_ct_CPPBIN"; then
3611 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3620 ac_cv_prog_ac_ct_CPPBIN="cpp"
3621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3630 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3631 if test -n "$ac_ct_CPPBIN"; then
3632 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3633 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3635 { echo "$as_me:$LINENO: result: no" >&5
3636 echo "${ECHO_T}no" >&6; }
3639 if test "x$ac_ct_CPPBIN" = x; then
3642 case $cross_compiling:$ac_tool_warned in
3644 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3645 whose name does not start with the host triplet. If you think this
3646 configuration is useful to you, please write to autoconf@gnu.org." >&5
3647 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3648 whose name does not start with the host triplet. If you think this
3649 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3650 ac_tool_warned=yes ;;
3652 CPPBIN=$ac_ct_CPPBIN
3655 CPPBIN="$ac_cv_prog_CPPBIN"
3659 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3660 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3661 if test "${wine_cv_toolsdir+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3664 if test -z "$with_wine_tools"; then
3665 if test "$cross_compiling" = "yes"; then
3666 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3667 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3668 { (exit 1); exit 1; }; }
3670 wine_cv_toolsdir="\$(TOPOBJDIR)"
3672 elif test -d "$with_wine_tools/tools/winebuild"; then
3673 case $with_wine_tools in
3674 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3675 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3678 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3679 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3680 { (exit 1); exit 1; }; }
3683 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3684 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3685 TOOLSDIR=$wine_cv_toolsdir
3690 ac_cpp='$CPP $CPPFLAGS'
3691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3694 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3695 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3696 # On Suns, sometimes $CPP names a directory.
3697 if test -n "$CPP" && test -d "$CPP"; then
3700 if test -z "$CPP"; then
3701 if test "${ac_cv_prog_CPP+set}" = set; then
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3704 # Double quotes because CPP needs to be expanded
3705 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3708 for ac_c_preproc_warn_flag in '' yes
3710 # Use a header file that comes with gcc, so configuring glibc
3711 # with a fresh cross-compiler works.
3712 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3713 # <limits.h> exists even on freestanding compilers.
3714 # On the NeXT, cc -E runs the code through the compiler's parser,
3715 # not just through cpp. "Syntax error" is here to catch this case.
3716 cat >conftest.$ac_ext <<_ACEOF
3719 cat confdefs.h >>conftest.$ac_ext
3720 cat >>conftest.$ac_ext <<_ACEOF
3721 /* end confdefs.h. */
3723 # include <limits.h>
3725 # include <assert.h>
3729 if { (ac_try="$ac_cpp conftest.$ac_ext"
3731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732 *) ac_try_echo=$ac_try;;
3734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3737 grep -v '^ *+' conftest.er1 >conftest.err
3739 cat conftest.err >&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); } >/dev/null && {
3742 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3743 test ! -s conftest.err
3747 echo "$as_me: failed program was:" >&5
3748 sed 's/^/| /' conftest.$ac_ext >&5
3750 # Broken: fails on valid input.
3754 rm -f conftest.err conftest.$ac_ext
3756 # OK, works on sane cases. Now check whether nonexistent headers
3757 # can be detected and how.
3758 cat >conftest.$ac_ext <<_ACEOF
3761 cat confdefs.h >>conftest.$ac_ext
3762 cat >>conftest.$ac_ext <<_ACEOF
3763 /* end confdefs.h. */
3764 #include <ac_nonexistent.h>
3766 if { (ac_try="$ac_cpp conftest.$ac_ext"
3768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769 *) ac_try_echo=$ac_try;;
3771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3772 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3774 grep -v '^ *+' conftest.er1 >conftest.err
3776 cat conftest.err >&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); } >/dev/null && {
3779 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3780 test ! -s conftest.err
3782 # Broken: success on invalid input.
3785 echo "$as_me: failed program was:" >&5
3786 sed 's/^/| /' conftest.$ac_ext >&5
3788 # Passes both tests.
3793 rm -f conftest.err conftest.$ac_ext
3796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3797 rm -f conftest.err conftest.$ac_ext
3798 if $ac_preproc_ok; then
3810 { echo "$as_me:$LINENO: result: $CPP" >&5
3811 echo "${ECHO_T}$CPP" >&6; }
3813 for ac_c_preproc_warn_flag in '' yes
3815 # Use a header file that comes with gcc, so configuring glibc
3816 # with a fresh cross-compiler works.
3817 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3818 # <limits.h> exists even on freestanding compilers.
3819 # On the NeXT, cc -E runs the code through the compiler's parser,
3820 # not just through cpp. "Syntax error" is here to catch this case.
3821 cat >conftest.$ac_ext <<_ACEOF
3824 cat confdefs.h >>conftest.$ac_ext
3825 cat >>conftest.$ac_ext <<_ACEOF
3826 /* end confdefs.h. */
3828 # include <limits.h>
3830 # include <assert.h>
3834 if { (ac_try="$ac_cpp conftest.$ac_ext"
3836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837 *) ac_try_echo=$ac_try;;
3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3842 grep -v '^ *+' conftest.er1 >conftest.err
3844 cat conftest.err >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); } >/dev/null && {
3847 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3848 test ! -s conftest.err
3852 echo "$as_me: failed program was:" >&5
3853 sed 's/^/| /' conftest.$ac_ext >&5
3855 # Broken: fails on valid input.
3859 rm -f conftest.err conftest.$ac_ext
3861 # OK, works on sane cases. Now check whether nonexistent headers
3862 # can be detected and how.
3863 cat >conftest.$ac_ext <<_ACEOF
3866 cat confdefs.h >>conftest.$ac_ext
3867 cat >>conftest.$ac_ext <<_ACEOF
3868 /* end confdefs.h. */
3869 #include <ac_nonexistent.h>
3871 if { (ac_try="$ac_cpp conftest.$ac_ext"
3873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874 *) ac_try_echo=$ac_try;;
3876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3877 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3879 grep -v '^ *+' conftest.er1 >conftest.err
3881 cat conftest.err >&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); } >/dev/null && {
3884 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3885 test ! -s conftest.err
3887 # Broken: success on invalid input.
3890 echo "$as_me: failed program was:" >&5
3891 sed 's/^/| /' conftest.$ac_ext >&5
3893 # Passes both tests.
3898 rm -f conftest.err conftest.$ac_ext
3901 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3902 rm -f conftest.err conftest.$ac_ext
3903 if $ac_preproc_ok; then
3906 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3907 See \`config.log' for more details." >&5
3908 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3909 See \`config.log' for more details." >&2;}
3910 { (exit 1); exit 1; }; }
3914 ac_cpp='$CPP $CPPFLAGS'
3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3920 { echo "$as_me:$LINENO: checking for X" >&5
3921 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3924 # Check whether --with-x was given.
3925 if test "${with_x+set}" = set; then
3929 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3930 if test "x$with_x" = xno; then
3931 # The user explicitly disabled X.
3934 case $x_includes,$x_libraries in #(
3935 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3936 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3937 { (exit 1); exit 1; }; };; #(
3938 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3939 echo $ECHO_N "(cached) $ECHO_C" >&6
3941 # One or both of the vars are not set, and there is no cached value.
3942 ac_x_includes=no ac_x_libraries=no
3943 rm -f -r conftest.dir
3944 if mkdir conftest.dir; then
3946 cat >Imakefile <<'_ACEOF'
3948 @echo incroot='${INCROOT}'
3950 @echo usrlibdir='${USRLIBDIR}'
3952 @echo libdir='${LIBDIR}'
3954 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3955 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3956 for ac_var in incroot usrlibdir libdir; do
3957 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3959 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3960 for ac_extension in a so sl; do
3961 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3962 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3963 ac_im_usrlibdir=$ac_im_libdir; break
3966 # Screen out bogus values from the imake configuration. They are
3967 # bogus both because they are the default anyway, and because
3968 # using them would break gcc on systems where it needs fixed includes.
3969 case $ac_im_incroot in
3970 /usr/include) ac_x_includes= ;;
3971 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3973 case $ac_im_usrlibdir in
3975 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3979 rm -f -r conftest.dir
3982 # Standard set of common directories for X headers.
3983 # Check X11 before X11Rn because it is often a symlink to the current release.
3995 /usr/local/X11/include
3996 /usr/local/X11R6/include
3997 /usr/local/X11R5/include
3998 /usr/local/X11R4/include
4000 /usr/local/include/X11
4001 /usr/local/include/X11R6
4002 /usr/local/include/X11R5
4003 /usr/local/include/X11R4
4007 /usr/XFree86/include/X11
4011 /usr/unsupported/include
4013 /usr/local/x11r5/include
4014 /usr/lpp/Xamples/include
4016 /usr/openwin/include
4017 /usr/openwin/share/include'
4019 if test "$ac_x_includes" = no; then
4020 # Guess where to find include files, by looking for Xlib.h.
4021 # First, try using that file with no special directory specified.
4022 cat >conftest.$ac_ext <<_ACEOF
4025 cat confdefs.h >>conftest.$ac_ext
4026 cat >>conftest.$ac_ext <<_ACEOF
4027 /* end confdefs.h. */
4028 #include <X11/Xlib.h>
4030 if { (ac_try="$ac_cpp conftest.$ac_ext"
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4038 grep -v '^ *+' conftest.er1 >conftest.err
4040 cat conftest.err >&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); } >/dev/null && {
4043 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4044 test ! -s conftest.err
4046 # We can compile using X headers with no special include directory.
4049 echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.$ac_ext >&5
4052 for ac_dir in $ac_x_header_dirs; do
4053 if test -r "$ac_dir/X11/Xlib.h"; then
4054 ac_x_includes=$ac_dir
4060 rm -f conftest.err conftest.$ac_ext
4061 fi # $ac_x_includes = no
4063 if test "$ac_x_libraries" = no; then
4064 # Check for the libraries.
4065 # See if we find them without any special options.
4066 # Don't add to $LIBS permanently.
4069 cat >conftest.$ac_ext <<_ACEOF
4072 cat confdefs.h >>conftest.$ac_ext
4073 cat >>conftest.$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4075 #include <X11/Xlib.h>
4084 rm -f conftest.$ac_objext conftest$ac_exeext
4085 if { (ac_try="$ac_link"
4087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4091 (eval "$ac_link") 2>conftest.er1
4093 grep -v '^ *+' conftest.er1 >conftest.err
4095 cat conftest.err >&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); } && {
4098 test -z "$ac_c_werror_flag" ||
4099 test ! -s conftest.err
4100 } && test -s conftest$ac_exeext &&
4101 $as_test_x conftest$ac_exeext; then
4103 # We can link X programs with no special library path.
4106 echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.$ac_ext >&5
4110 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4112 # Don't even attempt the hair of trying to link an X program!
4113 for ac_extension in a so sl; do
4114 if test -r "$ac_dir/libX11.$ac_extension"; then
4115 ac_x_libraries=$ac_dir
4122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4123 conftest$ac_exeext conftest.$ac_ext
4124 fi # $ac_x_libraries = no
4126 case $ac_x_includes,$ac_x_libraries in #(
4128 # Didn't find X, or a directory has "'" in its name.
4129 ac_cv_have_x="have_x=no";; #(
4131 # Record where we found X for the cache.
4132 ac_cv_have_x="have_x=yes\
4133 ac_x_includes='$ac_x_includes'\
4134 ac_x_libraries='$ac_x_libraries'"
4140 eval "$ac_cv_have_x"
4143 if test "$have_x" != yes; then
4144 { echo "$as_me:$LINENO: result: $have_x" >&5
4145 echo "${ECHO_T}$have_x" >&6; }
4148 # If each of the values was on the command line, it overrides each guess.
4149 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4150 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4151 # Update the cache value to reflect the command line values.
4152 ac_cv_have_x="have_x=yes\
4153 ac_x_includes='$x_includes'\
4154 ac_x_libraries='$x_libraries'"
4155 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4156 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4159 if test "$no_x" = yes; then
4160 # Not all programs may use this symbol, but it does not hurt to define it.
4162 cat >>confdefs.h <<\_ACEOF
4163 #define X_DISPLAY_MISSING 1
4166 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4168 if test -n "$x_includes"; then
4169 X_CFLAGS="$X_CFLAGS -I$x_includes"
4172 # It would also be nice to do this for all -L options, not just this one.
4173 if test -n "$x_libraries"; then
4174 X_LIBS="$X_LIBS -L$x_libraries"
4175 # For Solaris; some versions of Sun CC require a space after -R and
4176 # others require no space. Words are not sufficient . . . .
4177 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4178 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4179 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4180 ac_xsave_c_werror_flag=$ac_c_werror_flag
4181 ac_c_werror_flag=yes
4182 cat >conftest.$ac_ext <<_ACEOF
4185 cat confdefs.h >>conftest.$ac_ext
4186 cat >>conftest.$ac_ext <<_ACEOF
4187 /* end confdefs.h. */
4197 rm -f conftest.$ac_objext conftest$ac_exeext
4198 if { (ac_try="$ac_link"
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204 (eval "$ac_link") 2>conftest.er1
4206 grep -v '^ *+' conftest.er1 >conftest.err
4208 cat conftest.err >&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); } && {
4211 test -z "$ac_c_werror_flag" ||
4212 test ! -s conftest.err
4213 } && test -s conftest$ac_exeext &&
4214 $as_test_x conftest$ac_exeext; then
4215 { echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6; }
4217 X_LIBS="$X_LIBS -R$x_libraries"
4219 echo "$as_me: failed program was:" >&5
4220 sed 's/^/| /' conftest.$ac_ext >&5
4222 LIBS="$ac_xsave_LIBS -R $x_libraries"
4223 cat >conftest.$ac_ext <<_ACEOF
4226 cat confdefs.h >>conftest.$ac_ext
4227 cat >>conftest.$ac_ext <<_ACEOF
4228 /* end confdefs.h. */
4238 rm -f conftest.$ac_objext conftest$ac_exeext
4239 if { (ac_try="$ac_link"
4241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4242 *) ac_try_echo=$ac_try;;
4244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4245 (eval "$ac_link") 2>conftest.er1
4247 grep -v '^ *+' conftest.er1 >conftest.err
4249 cat conftest.err >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } && {
4252 test -z "$ac_c_werror_flag" ||
4253 test ! -s conftest.err
4254 } && test -s conftest$ac_exeext &&
4255 $as_test_x conftest$ac_exeext; then
4256 { echo "$as_me:$LINENO: result: yes" >&5
4257 echo "${ECHO_T}yes" >&6; }
4258 X_LIBS="$X_LIBS -R $x_libraries"
4260 echo "$as_me: failed program was:" >&5
4261 sed 's/^/| /' conftest.$ac_ext >&5
4263 { echo "$as_me:$LINENO: result: neither works" >&5
4264 echo "${ECHO_T}neither works" >&6; }
4267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4268 conftest$ac_exeext conftest.$ac_ext
4271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4272 conftest$ac_exeext conftest.$ac_ext
4273 ac_c_werror_flag=$ac_xsave_c_werror_flag
4277 # Check for system-dependent libraries X programs must link with.
4278 # Do this before checking for the system-independent R6 libraries
4279 # (-lICE), since we may need -lsocket or whatever for X linking.
4281 if test "$ISC" = yes; then
4282 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4284 # Martyn Johnson says this is needed for Ultrix, if the X
4285 # libraries were built with DECnet support. And Karl Berry says
4286 # the Alpha needs dnet_stub (dnet does not exist).
4287 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4288 cat >conftest.$ac_ext <<_ACEOF
4291 cat confdefs.h >>conftest.$ac_ext
4292 cat >>conftest.$ac_ext <<_ACEOF
4293 /* end confdefs.h. */
4295 /* Override any GCC internal prototype to avoid an error.
4296 Use char because int might match the return type of a GCC
4297 builtin and then its argument prototype would still apply. */
4301 char XOpenDisplay ();
4305 return XOpenDisplay ();
4310 rm -f conftest.$ac_objext conftest$ac_exeext
4311 if { (ac_try="$ac_link"
4313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4314 *) ac_try_echo=$ac_try;;
4316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4317 (eval "$ac_link") 2>conftest.er1
4319 grep -v '^ *+' conftest.er1 >conftest.err
4321 cat conftest.err >&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); } && {
4324 test -z "$ac_c_werror_flag" ||
4325 test ! -s conftest.err
4326 } && test -s conftest$ac_exeext &&
4327 $as_test_x conftest$ac_exeext; then
4330 echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.$ac_ext >&5
4333 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4334 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4335 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4336 echo $ECHO_N "(cached) $ECHO_C" >&6
4338 ac_check_lib_save_LIBS=$LIBS
4340 cat >conftest.$ac_ext <<_ACEOF
4343 cat confdefs.h >>conftest.$ac_ext
4344 cat >>conftest.$ac_ext <<_ACEOF
4345 /* end confdefs.h. */
4347 /* Override any GCC internal prototype to avoid an error.
4348 Use char because int might match the return type of a GCC
4349 builtin and then its argument prototype would still apply. */
4357 return dnet_ntoa ();
4362 rm -f conftest.$ac_objext conftest$ac_exeext
4363 if { (ac_try="$ac_link"
4365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4366 *) ac_try_echo=$ac_try;;
4368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4369 (eval "$ac_link") 2>conftest.er1
4371 grep -v '^ *+' conftest.er1 >conftest.err
4373 cat conftest.err >&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); } && {
4376 test -z "$ac_c_werror_flag" ||
4377 test ! -s conftest.err
4378 } && test -s conftest$ac_exeext &&
4379 $as_test_x conftest$ac_exeext; then
4380 ac_cv_lib_dnet_dnet_ntoa=yes
4382 echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.$ac_ext >&5
4385 ac_cv_lib_dnet_dnet_ntoa=no
4388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4389 conftest$ac_exeext conftest.$ac_ext
4390 LIBS=$ac_check_lib_save_LIBS
4392 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4393 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4394 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4395 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4398 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4399 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4400 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4401 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4402 echo $ECHO_N "(cached) $ECHO_C" >&6
4404 ac_check_lib_save_LIBS=$LIBS
4405 LIBS="-ldnet_stub $LIBS"
4406 cat >conftest.$ac_ext <<_ACEOF
4409 cat confdefs.h >>conftest.$ac_ext
4410 cat >>conftest.$ac_ext <<_ACEOF
4411 /* end confdefs.h. */
4413 /* Override any GCC internal prototype to avoid an error.
4414 Use char because int might match the return type of a GCC
4415 builtin and then its argument prototype would still apply. */
4423 return dnet_ntoa ();
4428 rm -f conftest.$ac_objext conftest$ac_exeext
4429 if { (ac_try="$ac_link"
4431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4432 *) ac_try_echo=$ac_try;;
4434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4435 (eval "$ac_link") 2>conftest.er1
4437 grep -v '^ *+' conftest.er1 >conftest.err
4439 cat conftest.err >&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); } && {
4442 test -z "$ac_c_werror_flag" ||
4443 test ! -s conftest.err
4444 } && test -s conftest$ac_exeext &&
4445 $as_test_x conftest$ac_exeext; then
4446 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4448 echo "$as_me: failed program was:" >&5
4449 sed 's/^/| /' conftest.$ac_ext >&5
4451 ac_cv_lib_dnet_stub_dnet_ntoa=no
4454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4455 conftest$ac_exeext conftest.$ac_ext
4456 LIBS=$ac_check_lib_save_LIBS
4458 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4459 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4460 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4461 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4468 conftest$ac_exeext conftest.$ac_ext
4469 LIBS="$ac_xsave_LIBS"
4471 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4472 # to get the SysV transport functions.
4473 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4475 # The nsl library prevents programs from opening the X display
4476 # on Irix 5.2, according to T.E. Dickey.
4477 # The functions gethostbyname, getservbyname, and inet_addr are
4478 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4479 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4480 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4481 if test "${ac_cv_func_gethostbyname+set}" = set; then
4482 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 cat >conftest.$ac_ext <<_ACEOF
4487 cat confdefs.h >>conftest.$ac_ext
4488 cat >>conftest.$ac_ext <<_ACEOF
4489 /* end confdefs.h. */
4490 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4492 #define gethostbyname innocuous_gethostbyname
4494 /* System header to define __stub macros and hopefully few prototypes,
4495 which can conflict with char gethostbyname (); below.
4496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4497 <limits.h> exists even on freestanding compilers. */
4500 # include <limits.h>
4502 # include <assert.h>
4505 #undef gethostbyname
4507 /* Override any GCC internal prototype to avoid an error.
4508 Use char because int might match the return type of a GCC
4509 builtin and then its argument prototype would still apply. */
4513 char gethostbyname ();
4514 /* The GNU C library defines this for functions which it implements
4515 to always fail with ENOSYS. Some functions are actually named
4516 something starting with __ and the normal name is an alias. */
4517 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4524 return gethostbyname ();
4529 rm -f conftest.$ac_objext conftest$ac_exeext
4530 if { (ac_try="$ac_link"
4532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533 *) ac_try_echo=$ac_try;;
4535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4536 (eval "$ac_link") 2>conftest.er1
4538 grep -v '^ *+' conftest.er1 >conftest.err
4540 cat conftest.err >&5
4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542 (exit $ac_status); } && {
4543 test -z "$ac_c_werror_flag" ||
4544 test ! -s conftest.err
4545 } && test -s conftest$ac_exeext &&
4546 $as_test_x conftest$ac_exeext; then
4547 ac_cv_func_gethostbyname=yes
4549 echo "$as_me: failed program was:" >&5
4550 sed 's/^/| /' conftest.$ac_ext >&5
4552 ac_cv_func_gethostbyname=no
4555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4556 conftest$ac_exeext conftest.$ac_ext
4558 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4559 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4561 if test $ac_cv_func_gethostbyname = no; then
4562 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4563 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4564 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4565 echo $ECHO_N "(cached) $ECHO_C" >&6
4567 ac_check_lib_save_LIBS=$LIBS
4569 cat >conftest.$ac_ext <<_ACEOF
4572 cat confdefs.h >>conftest.$ac_ext
4573 cat >>conftest.$ac_ext <<_ACEOF
4574 /* end confdefs.h. */
4576 /* Override any GCC internal prototype to avoid an error.
4577 Use char because int might match the return type of a GCC
4578 builtin and then its argument prototype would still apply. */
4582 char gethostbyname ();
4586 return gethostbyname ();
4591 rm -f conftest.$ac_objext conftest$ac_exeext
4592 if { (ac_try="$ac_link"
4594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4595 *) ac_try_echo=$ac_try;;
4597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4598 (eval "$ac_link") 2>conftest.er1
4600 grep -v '^ *+' conftest.er1 >conftest.err
4602 cat conftest.err >&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } && {
4605 test -z "$ac_c_werror_flag" ||
4606 test ! -s conftest.err
4607 } && test -s conftest$ac_exeext &&
4608 $as_test_x conftest$ac_exeext; then
4609 ac_cv_lib_nsl_gethostbyname=yes
4611 echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.$ac_ext >&5
4614 ac_cv_lib_nsl_gethostbyname=no
4617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4618 conftest$ac_exeext conftest.$ac_ext
4619 LIBS=$ac_check_lib_save_LIBS
4621 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4622 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4623 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4624 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4627 if test $ac_cv_lib_nsl_gethostbyname = no; then
4628 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4629 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4630 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4631 echo $ECHO_N "(cached) $ECHO_C" >&6
4633 ac_check_lib_save_LIBS=$LIBS
4635 cat >conftest.$ac_ext <<_ACEOF
4638 cat confdefs.h >>conftest.$ac_ext
4639 cat >>conftest.$ac_ext <<_ACEOF
4640 /* end confdefs.h. */
4642 /* Override any GCC internal prototype to avoid an error.
4643 Use char because int might match the return type of a GCC
4644 builtin and then its argument prototype would still apply. */
4648 char gethostbyname ();
4652 return gethostbyname ();
4657 rm -f conftest.$ac_objext conftest$ac_exeext
4658 if { (ac_try="$ac_link"
4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4664 (eval "$ac_link") 2>conftest.er1
4666 grep -v '^ *+' conftest.er1 >conftest.err
4668 cat conftest.err >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } && {
4671 test -z "$ac_c_werror_flag" ||
4672 test ! -s conftest.err
4673 } && test -s conftest$ac_exeext &&
4674 $as_test_x conftest$ac_exeext; then
4675 ac_cv_lib_bsd_gethostbyname=yes
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.$ac_ext >&5
4680 ac_cv_lib_bsd_gethostbyname=no
4683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4684 conftest$ac_exeext conftest.$ac_ext
4685 LIBS=$ac_check_lib_save_LIBS
4687 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4688 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4689 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4690 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4696 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4697 # socket/setsockopt and other routines are undefined under SCO ODT
4698 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4699 # on later versions), says Simon Leinen: it contains gethostby*
4700 # variants that don't use the name server (or something). -lsocket
4701 # must be given before -lnsl if both are needed. We assume that
4702 # if connect needs -lnsl, so does gethostbyname.
4703 { echo "$as_me:$LINENO: checking for connect" >&5
4704 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4705 if test "${ac_cv_func_connect+set}" = set; then
4706 echo $ECHO_N "(cached) $ECHO_C" >&6
4708 cat >conftest.$ac_ext <<_ACEOF
4711 cat confdefs.h >>conftest.$ac_ext
4712 cat >>conftest.$ac_ext <<_ACEOF
4713 /* end confdefs.h. */
4714 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4716 #define connect innocuous_connect
4718 /* System header to define __stub macros and hopefully few prototypes,
4719 which can conflict with char connect (); below.
4720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4721 <limits.h> exists even on freestanding compilers. */
4724 # include <limits.h>
4726 # include <assert.h>
4731 /* Override any GCC internal prototype to avoid an error.
4732 Use char because int might match the return type of a GCC
4733 builtin and then its argument prototype would still apply. */
4738 /* The GNU C library defines this for functions which it implements
4739 to always fail with ENOSYS. Some functions are actually named
4740 something starting with __ and the normal name is an alias. */
4741 #if defined __stub_connect || defined __stub___connect
4753 rm -f conftest.$ac_objext conftest$ac_exeext
4754 if { (ac_try="$ac_link"
4756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4757 *) ac_try_echo=$ac_try;;
4759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4760 (eval "$ac_link") 2>conftest.er1
4762 grep -v '^ *+' conftest.er1 >conftest.err
4764 cat conftest.err >&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } && {
4767 test -z "$ac_c_werror_flag" ||
4768 test ! -s conftest.err
4769 } && test -s conftest$ac_exeext &&
4770 $as_test_x conftest$ac_exeext; then
4771 ac_cv_func_connect=yes
4773 echo "$as_me: failed program was:" >&5
4774 sed 's/^/| /' conftest.$ac_ext >&5
4776 ac_cv_func_connect=no
4779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4780 conftest$ac_exeext conftest.$ac_ext
4782 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4783 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4785 if test $ac_cv_func_connect = no; then
4786 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4787 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4788 if test "${ac_cv_lib_socket_connect+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 ac_check_lib_save_LIBS=$LIBS
4792 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4793 cat >conftest.$ac_ext <<_ACEOF
4796 cat confdefs.h >>conftest.$ac_ext
4797 cat >>conftest.$ac_ext <<_ACEOF
4798 /* end confdefs.h. */
4800 /* Override any GCC internal prototype to avoid an error.
4801 Use char because int might match the return type of a GCC
4802 builtin and then its argument prototype would still apply. */
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 if { (ac_try="$ac_link"
4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4819 *) ac_try_echo=$ac_try;;
4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4822 (eval "$ac_link") 2>conftest.er1
4824 grep -v '^ *+' conftest.er1 >conftest.err
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } && {
4829 test -z "$ac_c_werror_flag" ||
4830 test ! -s conftest.err
4831 } && test -s conftest$ac_exeext &&
4832 $as_test_x conftest$ac_exeext; then
4833 ac_cv_lib_socket_connect=yes
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4838 ac_cv_lib_socket_connect=no
4841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4842 conftest$ac_exeext conftest.$ac_ext
4843 LIBS=$ac_check_lib_save_LIBS
4845 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4846 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4847 if test $ac_cv_lib_socket_connect = yes; then
4848 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4853 # Guillermo Gomez says -lposix is necessary on A/UX.
4854 { echo "$as_me:$LINENO: checking for remove" >&5
4855 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4856 if test "${ac_cv_func_remove+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4859 cat >conftest.$ac_ext <<_ACEOF
4862 cat confdefs.h >>conftest.$ac_ext
4863 cat >>conftest.$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4865 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4867 #define remove innocuous_remove
4869 /* System header to define __stub macros and hopefully few prototypes,
4870 which can conflict with char remove (); below.
4871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4872 <limits.h> exists even on freestanding compilers. */
4875 # include <limits.h>
4877 # include <assert.h>
4882 /* Override any GCC internal prototype to avoid an error.
4883 Use char because int might match the return type of a GCC
4884 builtin and then its argument prototype would still apply. */
4889 /* The GNU C library defines this for functions which it implements
4890 to always fail with ENOSYS. Some functions are actually named
4891 something starting with __ and the normal name is an alias. */
4892 #if defined __stub_remove || defined __stub___remove
4904 rm -f conftest.$ac_objext conftest$ac_exeext
4905 if { (ac_try="$ac_link"
4907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4908 *) ac_try_echo=$ac_try;;
4910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4911 (eval "$ac_link") 2>conftest.er1
4913 grep -v '^ *+' conftest.er1 >conftest.err
4915 cat conftest.err >&5
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); } && {
4918 test -z "$ac_c_werror_flag" ||
4919 test ! -s conftest.err
4920 } && test -s conftest$ac_exeext &&
4921 $as_test_x conftest$ac_exeext; then
4922 ac_cv_func_remove=yes
4924 echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.$ac_ext >&5
4927 ac_cv_func_remove=no
4930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4931 conftest$ac_exeext conftest.$ac_ext
4933 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4934 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4936 if test $ac_cv_func_remove = no; then
4937 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4938 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4939 if test "${ac_cv_lib_posix_remove+set}" = set; then
4940 echo $ECHO_N "(cached) $ECHO_C" >&6
4942 ac_check_lib_save_LIBS=$LIBS
4943 LIBS="-lposix $LIBS"
4944 cat >conftest.$ac_ext <<_ACEOF
4947 cat confdefs.h >>conftest.$ac_ext
4948 cat >>conftest.$ac_ext <<_ACEOF
4949 /* end confdefs.h. */
4951 /* Override any GCC internal prototype to avoid an error.
4952 Use char because int might match the return type of a GCC
4953 builtin and then its argument prototype would still apply. */
4966 rm -f conftest.$ac_objext conftest$ac_exeext
4967 if { (ac_try="$ac_link"
4969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4970 *) ac_try_echo=$ac_try;;
4972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4973 (eval "$ac_link") 2>conftest.er1
4975 grep -v '^ *+' conftest.er1 >conftest.err
4977 cat conftest.err >&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); } && {
4980 test -z "$ac_c_werror_flag" ||
4981 test ! -s conftest.err
4982 } && test -s conftest$ac_exeext &&
4983 $as_test_x conftest$ac_exeext; then
4984 ac_cv_lib_posix_remove=yes
4986 echo "$as_me: failed program was:" >&5
4987 sed 's/^/| /' conftest.$ac_ext >&5
4989 ac_cv_lib_posix_remove=no
4992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4993 conftest$ac_exeext conftest.$ac_ext
4994 LIBS=$ac_check_lib_save_LIBS
4996 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4997 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4998 if test $ac_cv_lib_posix_remove = yes; then
4999 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5004 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5005 { echo "$as_me:$LINENO: checking for shmat" >&5
5006 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5007 if test "${ac_cv_func_shmat+set}" = set; then
5008 echo $ECHO_N "(cached) $ECHO_C" >&6
5010 cat >conftest.$ac_ext <<_ACEOF
5013 cat confdefs.h >>conftest.$ac_ext
5014 cat >>conftest.$ac_ext <<_ACEOF
5015 /* end confdefs.h. */
5016 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5018 #define shmat innocuous_shmat
5020 /* System header to define __stub macros and hopefully few prototypes,
5021 which can conflict with char shmat (); below.
5022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5023 <limits.h> exists even on freestanding compilers. */
5026 # include <limits.h>
5028 # include <assert.h>
5033 /* Override any GCC internal prototype to avoid an error.
5034 Use char because int might match the return type of a GCC
5035 builtin and then its argument prototype would still apply. */
5040 /* The GNU C library defines this for functions which it implements
5041 to always fail with ENOSYS. Some functions are actually named
5042 something starting with __ and the normal name is an alias. */
5043 #if defined __stub_shmat || defined __stub___shmat
5055 rm -f conftest.$ac_objext conftest$ac_exeext
5056 if { (ac_try="$ac_link"
5058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5059 *) ac_try_echo=$ac_try;;
5061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5062 (eval "$ac_link") 2>conftest.er1
5064 grep -v '^ *+' conftest.er1 >conftest.err
5066 cat conftest.err >&5
5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 (exit $ac_status); } && {
5069 test -z "$ac_c_werror_flag" ||
5070 test ! -s conftest.err
5071 } && test -s conftest$ac_exeext &&
5072 $as_test_x conftest$ac_exeext; then
5073 ac_cv_func_shmat=yes
5075 echo "$as_me: failed program was:" >&5
5076 sed 's/^/| /' conftest.$ac_ext >&5
5081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5082 conftest$ac_exeext conftest.$ac_ext
5084 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5085 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5087 if test $ac_cv_func_shmat = no; then
5088 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5089 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5090 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5091 echo $ECHO_N "(cached) $ECHO_C" >&6
5093 ac_check_lib_save_LIBS=$LIBS
5095 cat >conftest.$ac_ext <<_ACEOF
5098 cat confdefs.h >>conftest.$ac_ext
5099 cat >>conftest.$ac_ext <<_ACEOF
5100 /* end confdefs.h. */
5102 /* Override any GCC internal prototype to avoid an error.
5103 Use char because int might match the return type of a GCC
5104 builtin and then its argument prototype would still apply. */
5117 rm -f conftest.$ac_objext conftest$ac_exeext
5118 if { (ac_try="$ac_link"
5120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5121 *) ac_try_echo=$ac_try;;
5123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5124 (eval "$ac_link") 2>conftest.er1
5126 grep -v '^ *+' conftest.er1 >conftest.err
5128 cat conftest.err >&5
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); } && {
5131 test -z "$ac_c_werror_flag" ||
5132 test ! -s conftest.err
5133 } && test -s conftest$ac_exeext &&
5134 $as_test_x conftest$ac_exeext; then
5135 ac_cv_lib_ipc_shmat=yes
5137 echo "$as_me: failed program was:" >&5
5138 sed 's/^/| /' conftest.$ac_ext >&5
5140 ac_cv_lib_ipc_shmat=no
5143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5144 conftest$ac_exeext conftest.$ac_ext
5145 LIBS=$ac_check_lib_save_LIBS
5147 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5148 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5149 if test $ac_cv_lib_ipc_shmat = yes; then
5150 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5156 # Check for libraries that X11R6 Xt/Xaw programs need.
5157 ac_save_LDFLAGS=$LDFLAGS
5158 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5159 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5160 # check for ICE first), but we must link in the order -lSM -lICE or
5161 # we get undefined symbols. So assume we have SM if we have ICE.
5162 # These have to be linked with before -lX11, unlike the other
5163 # libraries we check for below, so use a different variable.
5164 # John Interrante, Karl Berry
5165 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5166 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5167 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5170 ac_check_lib_save_LIBS=$LIBS
5171 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5172 cat >conftest.$ac_ext <<_ACEOF
5175 cat confdefs.h >>conftest.$ac_ext
5176 cat >>conftest.$ac_ext <<_ACEOF
5177 /* end confdefs.h. */
5179 /* Override any GCC internal prototype to avoid an error.
5180 Use char because int might match the return type of a GCC
5181 builtin and then its argument prototype would still apply. */
5185 char IceConnectionNumber ();
5189 return IceConnectionNumber ();
5194 rm -f conftest.$ac_objext conftest$ac_exeext
5195 if { (ac_try="$ac_link"
5197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5198 *) ac_try_echo=$ac_try;;
5200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5201 (eval "$ac_link") 2>conftest.er1
5203 grep -v '^ *+' conftest.er1 >conftest.err
5205 cat conftest.err >&5
5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 (exit $ac_status); } && {
5208 test -z "$ac_c_werror_flag" ||
5209 test ! -s conftest.err
5210 } && test -s conftest$ac_exeext &&
5211 $as_test_x conftest$ac_exeext; then
5212 ac_cv_lib_ICE_IceConnectionNumber=yes
5214 echo "$as_me: failed program was:" >&5
5215 sed 's/^/| /' conftest.$ac_ext >&5
5217 ac_cv_lib_ICE_IceConnectionNumber=no
5220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5221 conftest$ac_exeext conftest.$ac_ext
5222 LIBS=$ac_check_lib_save_LIBS
5224 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5225 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5226 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5227 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5230 LDFLAGS=$ac_save_LDFLAGS
5237 # Extract the first word of "$ac_prog", so it can be a program name with args.
5238 set dummy $ac_prog; ac_word=$2
5239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5241 if test "${ac_cv_prog_FLEX+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5244 if test -n "$FLEX"; then
5245 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254 ac_cv_prog_FLEX="$ac_prog"
5255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 FLEX=$ac_cv_prog_FLEX
5265 if test -n "$FLEX"; then
5266 { echo "$as_me:$LINENO: result: $FLEX" >&5
5267 echo "${ECHO_T}$FLEX" >&6; }
5269 { echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6; }
5274 test -n "$FLEX" && break
5276 test -n "$FLEX" || FLEX="none"
5278 if test "$FLEX" = "none"
5280 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5281 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5282 { (exit 1); exit 1; }; }
5285 for ac_prog in bison
5287 # Extract the first word of "$ac_prog", so it can be a program name with args.
5288 set dummy $ac_prog; ac_word=$2
5289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5291 if test "${ac_cv_prog_BISON+set}" = set; then
5292 echo $ECHO_N "(cached) $ECHO_C" >&6
5294 if test -n "$BISON"; then
5295 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5301 test -z "$as_dir" && as_dir=.
5302 for ac_exec_ext in '' $ac_executable_extensions; do
5303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5304 ac_cv_prog_BISON="$ac_prog"
5305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 BISON=$ac_cv_prog_BISON
5315 if test -n "$BISON"; then
5316 { echo "$as_me:$LINENO: result: $BISON" >&5
5317 echo "${ECHO_T}$BISON" >&6; }
5319 { echo "$as_me:$LINENO: result: no" >&5
5320 echo "${ECHO_T}no" >&6; }
5324 test -n "$BISON" && break
5326 test -n "$BISON" || BISON="none"
5328 if test "$BISON" = "none"
5330 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5331 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5332 { (exit 1); exit 1; }; }
5335 if test -n "$ac_tool_prefix"; then
5336 for ac_prog in gas as
5338 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5339 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5342 if test "${ac_cv_prog_AS+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 if test -n "$AS"; then
5346 ac_cv_prog_AS="$AS" # Let the user override the test.
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5355 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5366 if test -n "$AS"; then
5367 { echo "$as_me:$LINENO: result: $AS" >&5
5368 echo "${ECHO_T}$AS" >&6; }
5370 { echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6; }
5375 test -n "$AS" && break
5378 if test -z "$AS"; then
5380 for ac_prog in gas as
5382 # Extract the first word of "$ac_prog", so it can be a program name with args.
5383 set dummy $ac_prog; ac_word=$2
5384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5386 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5387 echo $ECHO_N "(cached) $ECHO_C" >&6
5389 if test -n "$ac_ct_AS"; then
5390 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396 test -z "$as_dir" && as_dir=.
5397 for ac_exec_ext in '' $ac_executable_extensions; do
5398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5399 ac_cv_prog_ac_ct_AS="$ac_prog"
5400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5409 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5410 if test -n "$ac_ct_AS"; then
5411 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5412 echo "${ECHO_T}$ac_ct_AS" >&6; }
5414 { echo "$as_me:$LINENO: result: no" >&5
5415 echo "${ECHO_T}no" >&6; }
5419 test -n "$ac_ct_AS" && break
5422 if test "x$ac_ct_AS" = x; then
5425 case $cross_compiling:$ac_tool_warned in
5427 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5428 whose name does not start with the host triplet. If you think this
5429 configuration is useful to you, please write to autoconf@gnu.org." >&5
5430 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5431 whose name does not start with the host triplet. If you think this
5432 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5433 ac_tool_warned=yes ;;
5439 if test -n "$ac_tool_prefix"; then
5440 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5441 set dummy ${ac_tool_prefix}ld; ac_word=$2
5442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5444 if test "${ac_cv_prog_LD+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5447 if test -n "$LD"; then
5448 ac_cv_prog_LD="$LD" # Let the user override the test.
5450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5454 test -z "$as_dir" && as_dir=.
5455 for ac_exec_ext in '' $ac_executable_extensions; do
5456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5457 ac_cv_prog_LD="${ac_tool_prefix}ld"
5458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5468 if test -n "$LD"; then
5469 { echo "$as_me:$LINENO: result: $LD" >&5
5470 echo "${ECHO_T}$LD" >&6; }
5472 { echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6; }
5478 if test -z "$ac_cv_prog_LD"; then
5480 # Extract the first word of "ld", so it can be a program name with args.
5481 set dummy ld; ac_word=$2
5482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5484 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5485 echo $ECHO_N "(cached) $ECHO_C" >&6
5487 if test -n "$ac_ct_LD"; then
5488 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 test -z "$as_dir" && as_dir=.
5495 for ac_exec_ext in '' $ac_executable_extensions; do
5496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5497 ac_cv_prog_ac_ct_LD="ld"
5498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5508 if test -n "$ac_ct_LD"; then
5509 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5510 echo "${ECHO_T}$ac_ct_LD" >&6; }
5512 { echo "$as_me:$LINENO: result: no" >&5
5513 echo "${ECHO_T}no" >&6; }
5516 if test "x$ac_ct_LD" = x; then
5519 case $cross_compiling:$ac_tool_warned in
5521 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5522 whose name does not start with the host triplet. If you think this
5523 configuration is useful to you, please write to autoconf@gnu.org." >&5
5524 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5525 whose name does not start with the host triplet. If you think this
5526 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5527 ac_tool_warned=yes ;;
5535 if test -n "$ac_tool_prefix"; then
5536 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5537 set dummy ${ac_tool_prefix}ar; ac_word=$2
5538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5540 if test "${ac_cv_prog_AR+set}" = set; then
5541 echo $ECHO_N "(cached) $ECHO_C" >&6
5543 if test -n "$AR"; then
5544 ac_cv_prog_AR="$AR" # Let the user override the test.
5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550 test -z "$as_dir" && as_dir=.
5551 for ac_exec_ext in '' $ac_executable_extensions; do
5552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5553 ac_cv_prog_AR="${ac_tool_prefix}ar"
5554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 if test -n "$AR"; then
5565 { echo "$as_me:$LINENO: result: $AR" >&5
5566 echo "${ECHO_T}$AR" >&6; }
5568 { echo "$as_me:$LINENO: result: no" >&5
5569 echo "${ECHO_T}no" >&6; }
5574 if test -z "$ac_cv_prog_AR"; then
5576 # Extract the first word of "ar", so it can be a program name with args.
5577 set dummy ar; ac_word=$2
5578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5580 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5581 echo $ECHO_N "(cached) $ECHO_C" >&6
5583 if test -n "$ac_ct_AR"; then
5584 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5590 test -z "$as_dir" && as_dir=.
5591 for ac_exec_ext in '' $ac_executable_extensions; do
5592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5593 ac_cv_prog_ac_ct_AR="ar"
5594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5603 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5604 if test -n "$ac_ct_AR"; then
5605 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5606 echo "${ECHO_T}$ac_ct_AR" >&6; }
5608 { echo "$as_me:$LINENO: result: no" >&5
5609 echo "${ECHO_T}no" >&6; }
5612 if test "x$ac_ct_AR" = x; then
5615 case $cross_compiling:$ac_tool_warned in
5617 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5618 whose name does not start with the host triplet. If you think this
5619 configuration is useful to you, please write to autoconf@gnu.org." >&5
5620 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5621 whose name does not start with the host triplet. If you think this
5622 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5623 ac_tool_warned=yes ;;
5633 if test -n "$ac_tool_prefix"; then
5634 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5635 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5638 if test "${ac_cv_prog_RANLIB+set}" = set; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 if test -n "$RANLIB"; then
5642 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5651 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 RANLIB=$ac_cv_prog_RANLIB
5662 if test -n "$RANLIB"; then
5663 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5664 echo "${ECHO_T}$RANLIB" >&6; }
5666 { echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6; }
5672 if test -z "$ac_cv_prog_RANLIB"; then
5673 ac_ct_RANLIB=$RANLIB
5674 # Extract the first word of "ranlib", so it can be a program name with args.
5675 set dummy ranlib; ac_word=$2
5676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5678 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5679 echo $ECHO_N "(cached) $ECHO_C" >&6
5681 if test -n "$ac_ct_RANLIB"; then
5682 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5691 ac_cv_prog_ac_ct_RANLIB="ranlib"
5692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5701 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5702 if test -n "$ac_ct_RANLIB"; then
5703 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5704 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5706 { echo "$as_me:$LINENO: result: no" >&5
5707 echo "${ECHO_T}no" >&6; }
5710 if test "x$ac_ct_RANLIB" = x; then
5713 case $cross_compiling:$ac_tool_warned in
5715 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5716 whose name does not start with the host triplet. If you think this
5717 configuration is useful to you, please write to autoconf@gnu.org." >&5
5718 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5719 whose name does not start with the host triplet. If you think this
5720 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5721 ac_tool_warned=yes ;;
5723 RANLIB=$ac_ct_RANLIB
5726 RANLIB="$ac_cv_prog_RANLIB"
5729 if test -n "$ac_tool_prefix"; then
5730 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5731 set dummy ${ac_tool_prefix}strip; ac_word=$2
5732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5734 if test "${ac_cv_prog_STRIP+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5737 if test -n "$STRIP"; then
5738 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5747 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5757 STRIP=$ac_cv_prog_STRIP
5758 if test -n "$STRIP"; then
5759 { echo "$as_me:$LINENO: result: $STRIP" >&5
5760 echo "${ECHO_T}$STRIP" >&6; }
5762 { echo "$as_me:$LINENO: result: no" >&5
5763 echo "${ECHO_T}no" >&6; }
5768 if test -z "$ac_cv_prog_STRIP"; then
5770 # Extract the first word of "strip", so it can be a program name with args.
5771 set dummy strip; ac_word=$2
5772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5774 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5775 echo $ECHO_N "(cached) $ECHO_C" >&6
5777 if test -n "$ac_ct_STRIP"; then
5778 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5784 test -z "$as_dir" && as_dir=.
5785 for ac_exec_ext in '' $ac_executable_extensions; do
5786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5787 ac_cv_prog_ac_ct_STRIP="strip"
5788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5797 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5798 if test -n "$ac_ct_STRIP"; then
5799 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5800 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5802 { echo "$as_me:$LINENO: result: no" >&5
5803 echo "${ECHO_T}no" >&6; }
5806 if test "x$ac_ct_STRIP" = x; then
5809 case $cross_compiling:$ac_tool_warned in
5811 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5812 whose name does not start with the host triplet. If you think this
5813 configuration is useful to you, please write to autoconf@gnu.org." >&5
5814 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5815 whose name does not start with the host triplet. If you think this
5816 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5817 ac_tool_warned=yes ;;
5822 STRIP="$ac_cv_prog_STRIP"
5825 if test -n "$ac_tool_prefix"; then
5826 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5827 set dummy ${ac_tool_prefix}windres; ac_word=$2
5828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5830 if test "${ac_cv_prog_WINDRES+set}" = set; then
5831 echo $ECHO_N "(cached) $ECHO_C" >&6
5833 if test -n "$WINDRES"; then
5834 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5840 test -z "$as_dir" && as_dir=.
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5843 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 WINDRES=$ac_cv_prog_WINDRES
5854 if test -n "$WINDRES"; then
5855 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5856 echo "${ECHO_T}$WINDRES" >&6; }
5858 { echo "$as_me:$LINENO: result: no" >&5
5859 echo "${ECHO_T}no" >&6; }
5864 if test -z "$ac_cv_prog_WINDRES"; then
5865 ac_ct_WINDRES=$WINDRES
5866 # Extract the first word of "windres", so it can be a program name with args.
5867 set dummy windres; ac_word=$2
5868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5870 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6
5873 if test -n "$ac_ct_WINDRES"; then
5874 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5883 ac_cv_prog_ac_ct_WINDRES="windres"
5884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5893 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5894 if test -n "$ac_ct_WINDRES"; then
5895 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5896 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5898 { echo "$as_me:$LINENO: result: no" >&5
5899 echo "${ECHO_T}no" >&6; }
5902 if test "x$ac_ct_WINDRES" = x; then
5905 case $cross_compiling:$ac_tool_warned in
5907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5908 whose name does not start with the host triplet. If you think this
5909 configuration is useful to you, please write to autoconf@gnu.org." >&5
5910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5911 whose name does not start with the host triplet. If you think this
5912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5913 ac_tool_warned=yes ;;
5915 WINDRES=$ac_ct_WINDRES
5918 WINDRES="$ac_cv_prog_WINDRES"
5921 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5922 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5924 if test "$LN_S" = "ln -s"; then
5925 { echo "$as_me:$LINENO: result: yes" >&5
5926 echo "${ECHO_T}yes" >&6; }
5928 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5929 echo "${ECHO_T}no, using $LN_S" >&6; }
5932 { echo "$as_me:$LINENO: checking whether ln works" >&5
5933 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5934 rm -f conf$$ conf$$.file
5936 if ln conf$$.file conf$$ 2>/dev/null; then
5939 { echo "$as_me:$LINENO: result: yes" >&5
5940 echo "${ECHO_T}yes" >&6; }
5944 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5945 echo "${ECHO_T}no, using $LN" >&6; }
5947 rm -f conf$$ conf$$.file
5948 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5949 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5950 if test "${ac_cv_path_GREP+set}" = set; then
5951 echo $ECHO_N "(cached) $ECHO_C" >&6
5953 # Extract the first word of "grep ggrep" to use in msg output
5954 if test -z "$GREP"; then
5955 set dummy grep ggrep; ac_prog_name=$2
5956 if test "${ac_cv_path_GREP+set}" = set; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 ac_path_GREP_found=false
5960 # Loop through the user's path and test for each of PROGNAME-LIST
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5965 test -z "$as_dir" && as_dir=.
5966 for ac_prog in grep ggrep; do
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5969 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5970 # Check for GNU ac_path_GREP and select it if it is found.
5971 # Check for GNU $ac_path_GREP
5972 case `"$ac_path_GREP" --version 2>&1` in
5974 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5977 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5980 cat "conftest.in" "conftest.in" >"conftest.tmp"
5981 mv "conftest.tmp" "conftest.in"
5982 cp "conftest.in" "conftest.nl"
5983 echo 'GREP' >> "conftest.nl"
5984 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5985 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5986 ac_count=`expr $ac_count + 1`
5987 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5988 # Best one so far, save it but keep looking for a better one
5989 ac_cv_path_GREP="$ac_path_GREP"
5990 ac_path_GREP_max=$ac_count
5992 # 10*(2^10) chars as input seems more than enough
5993 test $ac_count -gt 10 && break
5995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5999 $ac_path_GREP_found && break 3
6009 GREP="$ac_cv_path_GREP"
6010 if test -z "$GREP"; then
6011 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6012 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6013 { (exit 1); exit 1; }; }
6017 ac_cv_path_GREP=$GREP
6022 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6023 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6024 GREP="$ac_cv_path_GREP"
6027 { echo "$as_me:$LINENO: checking for egrep" >&5
6028 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6029 if test "${ac_cv_path_EGREP+set}" = set; then
6030 echo $ECHO_N "(cached) $ECHO_C" >&6
6032 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6033 then ac_cv_path_EGREP="$GREP -E"
6035 # Extract the first word of "egrep" to use in msg output
6036 if test -z "$EGREP"; then
6037 set dummy egrep; ac_prog_name=$2
6038 if test "${ac_cv_path_EGREP+set}" = set; then
6039 echo $ECHO_N "(cached) $ECHO_C" >&6
6041 ac_path_EGREP_found=false
6042 # Loop through the user's path and test for each of PROGNAME-LIST
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6047 test -z "$as_dir" && as_dir=.
6048 for ac_prog in egrep; do
6049 for ac_exec_ext in '' $ac_executable_extensions; do
6050 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6051 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6052 # Check for GNU ac_path_EGREP and select it if it is found.
6053 # Check for GNU $ac_path_EGREP
6054 case `"$ac_path_EGREP" --version 2>&1` in
6056 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6059 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6062 cat "conftest.in" "conftest.in" >"conftest.tmp"
6063 mv "conftest.tmp" "conftest.in"
6064 cp "conftest.in" "conftest.nl"
6065 echo 'EGREP' >> "conftest.nl"
6066 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6067 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6068 ac_count=`expr $ac_count + 1`
6069 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6070 # Best one so far, save it but keep looking for a better one
6071 ac_cv_path_EGREP="$ac_path_EGREP"
6072 ac_path_EGREP_max=$ac_count
6074 # 10*(2^10) chars as input seems more than enough
6075 test $ac_count -gt 10 && break
6077 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6081 $ac_path_EGREP_found && break 3
6091 EGREP="$ac_cv_path_EGREP"
6092 if test -z "$EGREP"; then
6093 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6094 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6095 { (exit 1); exit 1; }; }
6099 ac_cv_path_EGREP=$EGREP
6105 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6106 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6107 EGREP="$ac_cv_path_EGREP"
6110 # Extract the first word of "ldconfig", so it can be a program name with args.
6111 set dummy ldconfig; ac_word=$2
6112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6114 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6115 echo $ECHO_N "(cached) $ECHO_C" >&6
6119 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in /sbin /usr/sbin $PATH
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6137 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6141 LDCONFIG=$ac_cv_path_LDCONFIG
6142 if test -n "$LDCONFIG"; then
6143 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6144 echo "${ECHO_T}$LDCONFIG" >&6; }
6146 { echo "$as_me:$LINENO: result: no" >&5
6147 echo "${ECHO_T}no" >&6; }
6151 # Find a good install program. We prefer a C program (faster),
6152 # so one script is as good as another. But avoid the broken or
6153 # incompatible versions:
6154 # SysV /etc/install, /usr/sbin/install
6155 # SunOS /usr/etc/install
6156 # IRIX /sbin/install
6158 # AmigaOS /C/install, which installs bootblocks on floppy discs
6159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6162 # OS/2's system install, which has a completely different semantic
6163 # ./install, which can be erroneously created by make from ./install.sh.
6164 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6165 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6166 if test -z "$INSTALL"; then
6167 if test "${ac_cv_path_install+set}" = set; then
6168 echo $ECHO_N "(cached) $ECHO_C" >&6
6170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 test -z "$as_dir" && as_dir=.
6175 # Account for people who put trailing slashes in PATH elements.
6177 ./ | .// | /cC/* | \
6178 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6179 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6182 # OSF1 and SCO ODT 3.0 have their own names for install.
6183 # Don't use installbsd from OSF since it installs stuff as root
6185 for ac_prog in ginstall scoinst install; do
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6188 if test $ac_prog = install &&
6189 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6190 # AIX install. It has an incompatible calling convention.
6192 elif test $ac_prog = install &&
6193 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6194 # program-specific install script used by HP pwplus--don't use.
6197 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6210 if test "${ac_cv_path_install+set}" = set; then
6211 INSTALL=$ac_cv_path_install
6213 # As a last resort, use the slow shell script. Don't cache a
6214 # value for INSTALL within a source directory, because that will
6215 # break other packages using the cache if that directory is
6216 # removed, or if the value is a relative name.
6217 INSTALL=$ac_install_sh
6220 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6221 echo "${ECHO_T}$INSTALL" >&6; }
6223 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6224 # It thinks the first close brace ends the variable substitution.
6225 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6227 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6229 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6232 [\\/$]* | ?:[\\/]* ) ;;
6233 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6236 for ac_prog in lclint lint
6238 # Extract the first word of "$ac_prog", so it can be a program name with args.
6239 set dummy $ac_prog; ac_word=$2
6240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6242 if test "${ac_cv_prog_LINT+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6245 if test -n "$LINT"; then
6246 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6255 ac_cv_prog_LINT="$ac_prog"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6265 LINT=$ac_cv_prog_LINT
6266 if test -n "$LINT"; then
6267 { echo "$as_me:$LINENO: result: $LINT" >&5
6268 echo "${ECHO_T}$LINT" >&6; }
6270 { echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6; }
6275 test -n "$LINT" && break
6278 if test "$LINT" = "lint"
6280 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6285 for ac_prog in fontforge
6287 # Extract the first word of "$ac_prog", so it can be a program name with args.
6288 set dummy $ac_prog; ac_word=$2
6289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6291 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6292 echo $ECHO_N "(cached) $ECHO_C" >&6
6294 if test -n "$FONTFORGE"; then
6295 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301 test -z "$as_dir" && as_dir=.
6302 for ac_exec_ext in '' $ac_executable_extensions; do
6303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304 ac_cv_prog_FONTFORGE="$ac_prog"
6305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6314 FONTFORGE=$ac_cv_prog_FONTFORGE
6315 if test -n "$FONTFORGE"; then
6316 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6317 echo "${ECHO_T}$FONTFORGE" >&6; }
6319 { echo "$as_me:$LINENO: result: no" >&5
6320 echo "${ECHO_T}no" >&6; }
6324 test -n "$FONTFORGE" && break
6326 test -n "$FONTFORGE" || FONTFORGE="false"
6328 for ac_prog in pkg-config
6330 # Extract the first word of "$ac_prog", so it can be a program name with args.
6331 set dummy $ac_prog; ac_word=$2
6332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6334 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6335 echo $ECHO_N "(cached) $ECHO_C" >&6
6337 if test -n "$PKG_CONFIG"; then
6338 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6344 test -z "$as_dir" && as_dir=.
6345 for ac_exec_ext in '' $ac_executable_extensions; do
6346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6347 ac_cv_prog_PKG_CONFIG="$ac_prog"
6348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6357 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6358 if test -n "$PKG_CONFIG"; then
6359 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6360 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6362 { echo "$as_me:$LINENO: result: no" >&5
6363 echo "${ECHO_T}no" >&6; }
6367 test -n "$PKG_CONFIG" && break
6369 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6373 # Extract the first word of "$ac_prog", so it can be a program name with args.
6374 set dummy $ac_prog; ac_word=$2
6375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6377 if test "${ac_cv_prog_RSVG+set}" = set; then
6378 echo $ECHO_N "(cached) $ECHO_C" >&6
6380 if test -n "$RSVG"; then
6381 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6387 test -z "$as_dir" && as_dir=.
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6390 ac_cv_prog_RSVG="$ac_prog"
6391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6400 RSVG=$ac_cv_prog_RSVG
6401 if test -n "$RSVG"; then
6402 { echo "$as_me:$LINENO: result: $RSVG" >&5
6403 echo "${ECHO_T}$RSVG" >&6; }
6405 { echo "$as_me:$LINENO: result: no" >&5
6406 echo "${ECHO_T}no" >&6; }
6410 test -n "$RSVG" && break
6412 test -n "$RSVG" || RSVG="false"
6414 for ac_prog in icotool
6416 # Extract the first word of "$ac_prog", so it can be a program name with args.
6417 set dummy $ac_prog; ac_word=$2
6418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6420 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6421 echo $ECHO_N "(cached) $ECHO_C" >&6
6423 if test -n "$ICOTOOL"; then
6424 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 test -z "$as_dir" && as_dir=.
6431 for ac_exec_ext in '' $ac_executable_extensions; do
6432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6433 ac_cv_prog_ICOTOOL="$ac_prog"
6434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6443 ICOTOOL=$ac_cv_prog_ICOTOOL
6444 if test -n "$ICOTOOL"; then
6445 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6446 echo "${ECHO_T}$ICOTOOL" >&6; }
6448 { echo "$as_me:$LINENO: result: no" >&5
6449 echo "${ECHO_T}no" >&6; }
6453 test -n "$ICOTOOL" && break
6455 test -n "$ICOTOOL" || ICOTOOL="false"
6458 if test "${enable_maintainer_mode+set}" = set
6460 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6461 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6462 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6467 # Extract the first word of "prelink", so it can be a program name with args.
6468 set dummy prelink; ac_word=$2
6469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6471 if test "${ac_cv_path_PRELINK+set}" = set; then
6472 echo $ECHO_N "(cached) $ECHO_C" >&6
6476 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6480 for as_dir in /sbin /usr/sbin $PATH
6483 test -z "$as_dir" && as_dir=.
6484 for ac_exec_ext in '' $ac_executable_extensions; do
6485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6486 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6494 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6498 PRELINK=$ac_cv_path_PRELINK
6499 if test -n "$PRELINK"; then
6500 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6501 echo "${ECHO_T}$PRELINK" >&6; }
6503 { echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6; }
6513 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6514 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6515 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6516 echo $ECHO_N "(cached) $ECHO_C" >&6
6518 ac_check_lib_save_LIBS=$LIBS
6520 cat >conftest.$ac_ext <<_ACEOF
6523 cat confdefs.h >>conftest.$ac_ext
6524 cat >>conftest.$ac_ext <<_ACEOF
6525 /* end confdefs.h. */
6527 /* Override any GCC internal prototype to avoid an error.
6528 Use char because int might match the return type of a GCC
6529 builtin and then its argument prototype would still apply. */
6533 char i386_set_ldt ();
6537 return i386_set_ldt ();
6542 rm -f conftest.$ac_objext conftest$ac_exeext
6543 if { (ac_try="$ac_link"
6545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6546 *) ac_try_echo=$ac_try;;
6548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6549 (eval "$ac_link") 2>conftest.er1
6551 grep -v '^ *+' conftest.er1 >conftest.err
6553 cat conftest.err >&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); } && {
6556 test -z "$ac_c_werror_flag" ||
6557 test ! -s conftest.err
6558 } && test -s conftest$ac_exeext &&
6559 $as_test_x conftest$ac_exeext; then
6560 ac_cv_lib_i386_i386_set_ldt=yes
6562 echo "$as_me: failed program was:" >&5
6563 sed 's/^/| /' conftest.$ac_ext >&5
6565 ac_cv_lib_i386_i386_set_ldt=no
6568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6569 conftest$ac_exeext conftest.$ac_ext
6570 LIBS=$ac_check_lib_save_LIBS
6572 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6573 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6574 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6575 cat >>confdefs.h <<_ACEOF
6576 #define HAVE_LIBI386 1
6584 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6585 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6586 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6587 echo $ECHO_N "(cached) $ECHO_C" >&6
6589 ac_check_lib_save_LIBS=$LIBS
6590 LIBS="-lossaudio $LIBS"
6591 cat >conftest.$ac_ext <<_ACEOF
6594 cat confdefs.h >>conftest.$ac_ext
6595 cat >>conftest.$ac_ext <<_ACEOF
6596 /* end confdefs.h. */
6598 /* Override any GCC internal prototype to avoid an error.
6599 Use char because int might match the return type of a GCC
6600 builtin and then its argument prototype would still apply. */
6608 return _oss_ioctl ();
6613 rm -f conftest.$ac_objext conftest$ac_exeext
6614 if { (ac_try="$ac_link"
6616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6617 *) ac_try_echo=$ac_try;;
6619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6620 (eval "$ac_link") 2>conftest.er1
6622 grep -v '^ *+' conftest.er1 >conftest.err
6624 cat conftest.err >&5
6625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); } && {
6627 test -z "$ac_c_werror_flag" ||
6628 test ! -s conftest.err
6629 } && test -s conftest$ac_exeext &&
6630 $as_test_x conftest$ac_exeext; then
6631 ac_cv_lib_ossaudio__oss_ioctl=yes
6633 echo "$as_me: failed program was:" >&5
6634 sed 's/^/| /' conftest.$ac_ext >&5
6636 ac_cv_lib_ossaudio__oss_ioctl=no
6639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6640 conftest$ac_exeext conftest.$ac_ext
6641 LIBS=$ac_check_lib_save_LIBS
6643 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6644 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6645 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6646 cat >>confdefs.h <<_ACEOF
6647 #define HAVE_LIBOSSAUDIO 1
6650 LIBS="-lossaudio $LIBS"
6654 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6655 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6656 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6657 echo $ECHO_N "(cached) $ECHO_C" >&6
6659 ac_check_lib_save_LIBS=$LIBS
6660 LIBS="-lpthread $LIBS"
6661 cat >conftest.$ac_ext <<_ACEOF
6664 cat confdefs.h >>conftest.$ac_ext
6665 cat >>conftest.$ac_ext <<_ACEOF
6666 /* end confdefs.h. */
6668 /* Override any GCC internal prototype to avoid an error.
6669 Use char because int might match the return type of a GCC
6670 builtin and then its argument prototype would still apply. */
6674 char pthread_create ();
6678 return pthread_create ();
6683 rm -f conftest.$ac_objext conftest$ac_exeext
6684 if { (ac_try="$ac_link"
6686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6687 *) ac_try_echo=$ac_try;;
6689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6690 (eval "$ac_link") 2>conftest.er1
6692 grep -v '^ *+' conftest.er1 >conftest.err
6694 cat conftest.err >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } && {
6697 test -z "$ac_c_werror_flag" ||
6698 test ! -s conftest.err
6699 } && test -s conftest$ac_exeext &&
6700 $as_test_x conftest$ac_exeext; then
6701 ac_cv_lib_pthread_pthread_create=yes
6703 echo "$as_me: failed program was:" >&5
6704 sed 's/^/| /' conftest.$ac_ext >&5
6706 ac_cv_lib_pthread_pthread_create=no
6709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6710 conftest$ac_exeext conftest.$ac_ext
6711 LIBS=$ac_check_lib_save_LIBS
6713 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6714 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6715 if test $ac_cv_lib_pthread_pthread_create = yes; then
6716 LIBPTHREAD="-lpthread"
6735 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6736 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6737 if test "${ac_cv_header_stdc+set}" = set; then
6738 echo $ECHO_N "(cached) $ECHO_C" >&6
6740 cat >conftest.$ac_ext <<_ACEOF
6743 cat confdefs.h >>conftest.$ac_ext
6744 cat >>conftest.$ac_ext <<_ACEOF
6745 /* end confdefs.h. */
6759 rm -f conftest.$ac_objext
6760 if { (ac_try="$ac_compile"
6762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6763 *) ac_try_echo=$ac_try;;
6765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6766 (eval "$ac_compile") 2>conftest.er1
6768 grep -v '^ *+' conftest.er1 >conftest.err
6770 cat conftest.err >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } && {
6773 test -z "$ac_c_werror_flag" ||
6774 test ! -s conftest.err
6775 } && test -s conftest.$ac_objext; then
6776 ac_cv_header_stdc=yes
6778 echo "$as_me: failed program was:" >&5
6779 sed 's/^/| /' conftest.$ac_ext >&5
6781 ac_cv_header_stdc=no
6784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6786 if test $ac_cv_header_stdc = yes; then
6787 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6788 cat >conftest.$ac_ext <<_ACEOF
6791 cat confdefs.h >>conftest.$ac_ext
6792 cat >>conftest.$ac_ext <<_ACEOF
6793 /* end confdefs.h. */
6797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6798 $EGREP "memchr" >/dev/null 2>&1; then
6801 ac_cv_header_stdc=no
6807 if test $ac_cv_header_stdc = yes; then
6808 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6809 cat >conftest.$ac_ext <<_ACEOF
6812 cat confdefs.h >>conftest.$ac_ext
6813 cat >>conftest.$ac_ext <<_ACEOF
6814 /* end confdefs.h. */
6818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6819 $EGREP "free" >/dev/null 2>&1; then
6822 ac_cv_header_stdc=no
6828 if test $ac_cv_header_stdc = yes; then
6829 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6830 if test "$cross_compiling" = yes; then
6833 cat >conftest.$ac_ext <<_ACEOF
6836 cat confdefs.h >>conftest.$ac_ext
6837 cat >>conftest.$ac_ext <<_ACEOF
6838 /* end confdefs.h. */
6841 #if ((' ' & 0x0FF) == 0x020)
6842 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6843 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6845 # define ISLOWER(c) \
6846 (('a' <= (c) && (c) <= 'i') \
6847 || ('j' <= (c) && (c) <= 'r') \
6848 || ('s' <= (c) && (c) <= 'z'))
6849 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6852 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6857 for (i = 0; i < 256; i++)
6858 if (XOR (islower (i), ISLOWER (i))
6859 || toupper (i) != TOUPPER (i))
6864 rm -f conftest$ac_exeext
6865 if { (ac_try="$ac_link"
6867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6868 *) ac_try_echo=$ac_try;;
6870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6871 (eval "$ac_link") 2>&5
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6875 { (case "(($ac_try" in
6876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6877 *) ac_try_echo=$ac_try;;
6879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6880 (eval "$ac_try") 2>&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); }; }; then
6886 echo "$as_me: program exited with status $ac_status" >&5
6887 echo "$as_me: failed program was:" >&5
6888 sed 's/^/| /' conftest.$ac_ext >&5
6891 ac_cv_header_stdc=no
6893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6899 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6900 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6901 if test $ac_cv_header_stdc = yes; then
6903 cat >>confdefs.h <<\_ACEOF
6904 #define STDC_HEADERS 1
6909 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6919 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6920 inttypes.h stdint.h unistd.h
6922 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6923 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6925 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6926 echo $ECHO_N "(cached) $ECHO_C" >&6
6928 cat >conftest.$ac_ext <<_ACEOF
6931 cat confdefs.h >>conftest.$ac_ext
6932 cat >>conftest.$ac_ext <<_ACEOF
6933 /* end confdefs.h. */
6934 $ac_includes_default
6936 #include <$ac_header>
6938 rm -f conftest.$ac_objext
6939 if { (ac_try="$ac_compile"
6941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6942 *) ac_try_echo=$ac_try;;
6944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6945 (eval "$ac_compile") 2>conftest.er1
6947 grep -v '^ *+' conftest.er1 >conftest.err
6949 cat conftest.err >&5
6950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951 (exit $ac_status); } && {
6952 test -z "$ac_c_werror_flag" ||
6953 test ! -s conftest.err
6954 } && test -s conftest.$ac_objext; then
6955 eval "$as_ac_Header=yes"
6957 echo "$as_me: failed program was:" >&5
6958 sed 's/^/| /' conftest.$ac_ext >&5
6960 eval "$as_ac_Header=no"
6963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6965 ac_res=`eval echo '${'$as_ac_Header'}'`
6966 { echo "$as_me:$LINENO: result: $ac_res" >&5
6967 echo "${ECHO_T}$ac_res" >&6; }
6968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6969 cat >>confdefs.h <<_ACEOF
6970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7089 AudioUnit/AudioUnit.h \
7091 CoreAudio/CoreAudio.h \
7092 DiskArbitration/DiskArbitration.h \
7105 fontconfig/fontconfig.h \
7131 machine/soundcard.h \
7136 netinet/in_systm.h \
7201 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7203 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7205 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7206 echo $ECHO_N "(cached) $ECHO_C" >&6
7208 ac_res=`eval echo '${'$as_ac_Header'}'`
7209 { echo "$as_me:$LINENO: result: $ac_res" >&5
7210 echo "${ECHO_T}$ac_res" >&6; }
7212 # Is the header compilable?
7213 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7215 cat >conftest.$ac_ext <<_ACEOF
7218 cat confdefs.h >>conftest.$ac_ext
7219 cat >>conftest.$ac_ext <<_ACEOF
7220 /* end confdefs.h. */
7221 $ac_includes_default
7222 #include <$ac_header>
7224 rm -f conftest.$ac_objext
7225 if { (ac_try="$ac_compile"
7227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7228 *) ac_try_echo=$ac_try;;
7230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7231 (eval "$ac_compile") 2>conftest.er1
7233 grep -v '^ *+' conftest.er1 >conftest.err
7235 cat conftest.err >&5
7236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237 (exit $ac_status); } && {
7238 test -z "$ac_c_werror_flag" ||
7239 test ! -s conftest.err
7240 } && test -s conftest.$ac_objext; then
7241 ac_header_compiler=yes
7243 echo "$as_me: failed program was:" >&5
7244 sed 's/^/| /' conftest.$ac_ext >&5
7246 ac_header_compiler=no
7249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7250 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7251 echo "${ECHO_T}$ac_header_compiler" >&6; }
7253 # Is the header present?
7254 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7255 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7256 cat >conftest.$ac_ext <<_ACEOF
7259 cat confdefs.h >>conftest.$ac_ext
7260 cat >>conftest.$ac_ext <<_ACEOF
7261 /* end confdefs.h. */
7262 #include <$ac_header>
7264 if { (ac_try="$ac_cpp conftest.$ac_ext"
7266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7267 *) ac_try_echo=$ac_try;;
7269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7270 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7272 grep -v '^ *+' conftest.er1 >conftest.err
7274 cat conftest.err >&5
7275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276 (exit $ac_status); } >/dev/null && {
7277 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7278 test ! -s conftest.err
7280 ac_header_preproc=yes
7282 echo "$as_me: failed program was:" >&5
7283 sed 's/^/| /' conftest.$ac_ext >&5
7285 ac_header_preproc=no
7288 rm -f conftest.err conftest.$ac_ext
7289 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7290 echo "${ECHO_T}$ac_header_preproc" >&6; }
7292 # So? What about this header?
7293 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7295 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7296 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7298 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7299 ac_header_preproc=yes
7302 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7303 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7304 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7305 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7306 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7307 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7308 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7309 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7312 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7313 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7315 ## ------------------------------------ ##
7316 ## Report this to wine-devel@winehq.org ##
7317 ## ------------------------------------ ##
7319 ) | sed "s/^/$as_me: WARNING: /" >&2
7322 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7324 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7325 echo $ECHO_N "(cached) $ECHO_C" >&6
7327 eval "$as_ac_Header=\$ac_header_preproc"
7329 ac_res=`eval echo '${'$as_ac_Header'}'`
7330 { echo "$as_me:$LINENO: result: $ac_res" >&5
7331 echo "${ECHO_T}$ac_res" >&6; }
7334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7335 cat >>confdefs.h <<_ACEOF
7336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7343 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7344 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7345 if test "${ac_cv_header_stat_broken+set}" = set; then
7346 echo $ECHO_N "(cached) $ECHO_C" >&6
7348 cat >conftest.$ac_ext <<_ACEOF
7351 cat confdefs.h >>conftest.$ac_ext
7352 cat >>conftest.$ac_ext <<_ACEOF
7353 /* end confdefs.h. */
7354 #include <sys/types.h>
7355 #include <sys/stat.h>
7357 #if defined S_ISBLK && defined S_IFDIR
7358 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7361 #if defined S_ISBLK && defined S_IFCHR
7362 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7365 #if defined S_ISLNK && defined S_IFREG
7366 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7369 #if defined S_ISSOCK && defined S_IFREG
7370 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7374 rm -f conftest.$ac_objext
7375 if { (ac_try="$ac_compile"
7377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7378 *) ac_try_echo=$ac_try;;
7380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7381 (eval "$ac_compile") 2>conftest.er1
7383 grep -v '^ *+' conftest.er1 >conftest.err
7385 cat conftest.err >&5
7386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387 (exit $ac_status); } && {
7388 test -z "$ac_c_werror_flag" ||
7389 test ! -s conftest.err
7390 } && test -s conftest.$ac_objext; then
7391 ac_cv_header_stat_broken=no
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.$ac_ext >&5
7396 ac_cv_header_stat_broken=yes
7399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7401 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7402 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7403 if test $ac_cv_header_stat_broken = yes; then
7405 cat >>confdefs.h <<\_ACEOF
7406 #define STAT_MACROS_BROKEN 1
7417 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7420 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7423 echo $ECHO_N "(cached) $ECHO_C" >&6
7425 cat >conftest.$ac_ext <<_ACEOF
7428 cat confdefs.h >>conftest.$ac_ext
7429 cat >>conftest.$ac_ext <<_ACEOF
7430 /* end confdefs.h. */
7431 #include <sys/types.h>
7432 #ifdef HAVE_SYS_PARAM_H
7433 # include <sys/param.h>
7436 #include <$ac_header>
7438 rm -f conftest.$ac_objext
7439 if { (ac_try="$ac_compile"
7441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7442 *) ac_try_echo=$ac_try;;
7444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7445 (eval "$ac_compile") 2>conftest.er1
7447 grep -v '^ *+' conftest.er1 >conftest.err
7449 cat conftest.err >&5
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); } && {
7452 test -z "$ac_c_werror_flag" ||
7453 test ! -s conftest.err
7454 } && test -s conftest.$ac_objext; then
7455 eval "$as_ac_Header=yes"
7457 echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.$ac_ext >&5
7460 eval "$as_ac_Header=no"
7463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7465 ac_res=`eval echo '${'$as_ac_Header'}'`
7466 { echo "$as_me:$LINENO: result: $ac_res" >&5
7467 echo "${ECHO_T}$ac_res" >&6; }
7468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7469 cat >>confdefs.h <<_ACEOF
7470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7486 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
7488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7492 echo $ECHO_N "(cached) $ECHO_C" >&6
7494 cat >conftest.$ac_ext <<_ACEOF
7497 cat confdefs.h >>conftest.$ac_ext
7498 cat >>conftest.$ac_ext <<_ACEOF
7499 /* end confdefs.h. */
7500 #include <sys/types.h>
7501 #ifdef HAVE_SYS_SOCKET_H
7502 # include <sys/socket.h>
7504 #ifdef HAVE_SYS_SOCKETVAR_H
7505 # include <sys/socketvar.h>
7507 #ifdef HAVE_NETINET_IN_H
7508 # include <netinet/in.h>
7511 #include <$ac_header>
7513 rm -f conftest.$ac_objext
7514 if { (ac_try="$ac_compile"
7516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7517 *) ac_try_echo=$ac_try;;
7519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7520 (eval "$ac_compile") 2>conftest.er1
7522 grep -v '^ *+' conftest.er1 >conftest.err
7524 cat conftest.err >&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); } && {
7527 test -z "$ac_c_werror_flag" ||
7528 test ! -s conftest.err
7529 } && test -s conftest.$ac_objext; then
7530 eval "$as_ac_Header=yes"
7532 echo "$as_me: failed program was:" >&5
7533 sed 's/^/| /' conftest.$ac_ext >&5
7535 eval "$as_ac_Header=no"
7538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7540 ac_res=`eval echo '${'$as_ac_Header'}'`
7541 { echo "$as_me:$LINENO: result: $ac_res" >&5
7542 echo "${ECHO_T}$ac_res" >&6; }
7543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7544 cat >>confdefs.h <<_ACEOF
7545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7554 for ac_header in netinet/tcp_var.h
7556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7557 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7560 echo $ECHO_N "(cached) $ECHO_C" >&6
7562 cat >conftest.$ac_ext <<_ACEOF
7565 cat confdefs.h >>conftest.$ac_ext
7566 cat >>conftest.$ac_ext <<_ACEOF
7567 /* end confdefs.h. */
7568 #include <sys/types.h>
7569 #ifdef HAVE_SYS_SOCKET_H
7570 # include <sys/socket.h>
7572 #ifdef HAVE_SYS_SOCKETVAR_H
7573 # include <sys/socketvar.h>
7575 #ifdef HAVE_NETINET_IN_H
7576 # include <netinet/in.h>
7578 #ifdef HAVE_NETINET_TCP_H
7579 # include <netinet/tcp.h>
7582 #include <$ac_header>
7584 rm -f conftest.$ac_objext
7585 if { (ac_try="$ac_compile"
7587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7588 *) ac_try_echo=$ac_try;;
7590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7591 (eval "$ac_compile") 2>conftest.er1
7593 grep -v '^ *+' conftest.er1 >conftest.err
7595 cat conftest.err >&5
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597 (exit $ac_status); } && {
7598 test -z "$ac_c_werror_flag" ||
7599 test ! -s conftest.err
7600 } && test -s conftest.$ac_objext; then
7601 eval "$as_ac_Header=yes"
7603 echo "$as_me: failed program was:" >&5
7604 sed 's/^/| /' conftest.$ac_ext >&5
7606 eval "$as_ac_Header=no"
7609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7611 ac_res=`eval echo '${'$as_ac_Header'}'`
7612 { echo "$as_me:$LINENO: result: $ac_res" >&5
7613 echo "${ECHO_T}$ac_res" >&6; }
7614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7615 cat >>confdefs.h <<_ACEOF
7616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7625 for ac_header in linux/ipx.h
7627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7630 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7631 echo $ECHO_N "(cached) $ECHO_C" >&6
7633 cat >conftest.$ac_ext <<_ACEOF
7636 cat confdefs.h >>conftest.$ac_ext
7637 cat >>conftest.$ac_ext <<_ACEOF
7638 /* end confdefs.h. */
7639 #include <sys/types.h>
7640 #ifdef HAVE_ASM_TYPES_H
7641 # include <asm/types.h>
7643 #ifdef HAVE_SYS_SOCKET_H
7644 # include <sys/socket.h>
7647 #include <$ac_header>
7649 rm -f conftest.$ac_objext
7650 if { (ac_try="$ac_compile"
7652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7653 *) ac_try_echo=$ac_try;;
7655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7656 (eval "$ac_compile") 2>conftest.er1
7658 grep -v '^ *+' conftest.er1 >conftest.err
7660 cat conftest.err >&5
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); } && {
7663 test -z "$ac_c_werror_flag" ||
7664 test ! -s conftest.err
7665 } && test -s conftest.$ac_objext; then
7666 eval "$as_ac_Header=yes"
7668 echo "$as_me: failed program was:" >&5
7669 sed 's/^/| /' conftest.$ac_ext >&5
7671 eval "$as_ac_Header=no"
7674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7676 ac_res=`eval echo '${'$as_ac_Header'}'`
7677 { echo "$as_me:$LINENO: result: $ac_res" >&5
7678 echo "${ECHO_T}$ac_res" >&6; }
7679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7680 cat >>confdefs.h <<_ACEOF
7681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7690 for ac_header in resolv.h
7692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7693 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7696 echo $ECHO_N "(cached) $ECHO_C" >&6
7698 cat >conftest.$ac_ext <<_ACEOF
7701 cat confdefs.h >>conftest.$ac_ext
7702 cat >>conftest.$ac_ext <<_ACEOF
7703 /* end confdefs.h. */
7704 #include <sys/types.h>
7705 #ifdef HAVE_SYS_SOCKET_H
7706 # include <sys/socket.h>
7708 #ifdef HAVE_NETINET_IN_H
7709 # include <netinet/in.h>
7711 #ifdef HAVE_ARPA_NAMESER_H
7712 # include <arpa/nameser.h>
7715 #include <$ac_header>
7717 rm -f conftest.$ac_objext
7718 if { (ac_try="$ac_compile"
7720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7721 *) ac_try_echo=$ac_try;;
7723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7724 (eval "$ac_compile") 2>conftest.er1
7726 grep -v '^ *+' conftest.er1 >conftest.err
7728 cat conftest.err >&5
7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7730 (exit $ac_status); } && {
7731 test -z "$ac_c_werror_flag" ||
7732 test ! -s conftest.err
7733 } && test -s conftest.$ac_objext; then
7734 eval "$as_ac_Header=yes"
7736 echo "$as_me: failed program was:" >&5
7737 sed 's/^/| /' conftest.$ac_ext >&5
7739 eval "$as_ac_Header=no"
7742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7744 ac_res=`eval echo '${'$as_ac_Header'}'`
7745 { echo "$as_me:$LINENO: result: $ac_res" >&5
7746 echo "${ECHO_T}$ac_res" >&6; }
7747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7748 cat >>confdefs.h <<_ACEOF
7749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7758 for ac_header in ucontext.h
7760 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7761 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7764 echo $ECHO_N "(cached) $ECHO_C" >&6
7766 cat >conftest.$ac_ext <<_ACEOF
7769 cat confdefs.h >>conftest.$ac_ext
7770 cat >>conftest.$ac_ext <<_ACEOF
7771 /* end confdefs.h. */
7774 #include <$ac_header>
7776 rm -f conftest.$ac_objext
7777 if { (ac_try="$ac_compile"
7779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7780 *) ac_try_echo=$ac_try;;
7782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7783 (eval "$ac_compile") 2>conftest.er1
7785 grep -v '^ *+' conftest.er1 >conftest.err
7787 cat conftest.err >&5
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); } && {
7790 test -z "$ac_c_werror_flag" ||
7791 test ! -s conftest.err
7792 } && test -s conftest.$ac_objext; then
7793 eval "$as_ac_Header=yes"
7795 echo "$as_me: failed program was:" >&5
7796 sed 's/^/| /' conftest.$ac_ext >&5
7798 eval "$as_ac_Header=no"
7801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7803 ac_res=`eval echo '${'$as_ac_Header'}'`
7804 { echo "$as_me:$LINENO: result: $ac_res" >&5
7805 echo "${ECHO_T}$ac_res" >&6; }
7806 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7807 cat >>confdefs.h <<_ACEOF
7808 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7817 for ac_header in sys/thr.h
7819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7820 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7822 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7823 echo $ECHO_N "(cached) $ECHO_C" >&6
7825 cat >conftest.$ac_ext <<_ACEOF
7828 cat confdefs.h >>conftest.$ac_ext
7829 cat >>conftest.$ac_ext <<_ACEOF
7830 /* end confdefs.h. */
7831 #include <sys/types.h>
7832 #ifdef HAVE_UCONTEXT_H
7833 #include <ucontext.h>
7836 #include <$ac_header>
7838 rm -f conftest.$ac_objext
7839 if { (ac_try="$ac_compile"
7841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7842 *) ac_try_echo=$ac_try;;
7844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7845 (eval "$ac_compile") 2>conftest.er1
7847 grep -v '^ *+' conftest.er1 >conftest.err
7849 cat conftest.err >&5
7850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7851 (exit $ac_status); } && {
7852 test -z "$ac_c_werror_flag" ||
7853 test ! -s conftest.err
7854 } && test -s conftest.$ac_objext; then
7855 eval "$as_ac_Header=yes"
7857 echo "$as_me: failed program was:" >&5
7858 sed 's/^/| /' conftest.$ac_ext >&5
7860 eval "$as_ac_Header=no"
7863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7865 ac_res=`eval echo '${'$as_ac_Header'}'`
7866 { echo "$as_me:$LINENO: result: $ac_res" >&5
7867 echo "${ECHO_T}$ac_res" >&6; }
7868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7869 cat >>confdefs.h <<_ACEOF
7870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7879 for ac_header in pthread_np.h
7881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7882 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7884 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7885 echo $ECHO_N "(cached) $ECHO_C" >&6
7887 cat >conftest.$ac_ext <<_ACEOF
7890 cat confdefs.h >>conftest.$ac_ext
7891 cat >>conftest.$ac_ext <<_ACEOF
7892 /* end confdefs.h. */
7893 #ifdef HAVE_PTHREAD_H
7894 #include <pthread.h>
7897 #include <$ac_header>
7899 rm -f conftest.$ac_objext
7900 if { (ac_try="$ac_compile"
7902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7903 *) ac_try_echo=$ac_try;;
7905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7906 (eval "$ac_compile") 2>conftest.er1
7908 grep -v '^ *+' conftest.er1 >conftest.err
7910 cat conftest.err >&5
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 (exit $ac_status); } && {
7913 test -z "$ac_c_werror_flag" ||
7914 test ! -s conftest.err
7915 } && test -s conftest.$ac_objext; then
7916 eval "$as_ac_Header=yes"
7918 echo "$as_me: failed program was:" >&5
7919 sed 's/^/| /' conftest.$ac_ext >&5
7921 eval "$as_ac_Header=no"
7924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7926 ac_res=`eval echo '${'$as_ac_Header'}'`
7927 { echo "$as_me:$LINENO: result: $ac_res" >&5
7928 echo "${ECHO_T}$ac_res" >&6; }
7929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7930 cat >>confdefs.h <<_ACEOF
7931 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7940 for ac_header in linux/videodev.h
7942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7943 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7945 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7946 echo $ECHO_N "(cached) $ECHO_C" >&6
7948 cat >conftest.$ac_ext <<_ACEOF
7951 cat confdefs.h >>conftest.$ac_ext
7952 cat >>conftest.$ac_ext <<_ACEOF
7953 /* end confdefs.h. */
7954 #ifdef HAVE_SYS_TIME_H
7955 #include <sys/time.h>
7957 #include <sys/types.h>
7958 #ifdef HAVE_ASM_TYPES_H
7959 #include <asm/types.h>
7962 #include <$ac_header>
7964 rm -f conftest.$ac_objext
7965 if { (ac_try="$ac_compile"
7967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7968 *) ac_try_echo=$ac_try;;
7970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7971 (eval "$ac_compile") 2>conftest.er1
7973 grep -v '^ *+' conftest.er1 >conftest.err
7975 cat conftest.err >&5
7976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7977 (exit $ac_status); } && {
7978 test -z "$ac_c_werror_flag" ||
7979 test ! -s conftest.err
7980 } && test -s conftest.$ac_objext; then
7981 eval "$as_ac_Header=yes"
7983 echo "$as_me: failed program was:" >&5
7984 sed 's/^/| /' conftest.$ac_ext >&5
7986 eval "$as_ac_Header=no"
7989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7991 ac_res=`eval echo '${'$as_ac_Header'}'`
7992 { echo "$as_me:$LINENO: result: $ac_res" >&5
7993 echo "${ECHO_T}$ac_res" >&6; }
7994 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7995 cat >>confdefs.h <<_ACEOF
7996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8005 for ac_header in linux/capi.h
8007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8013 cat >conftest.$ac_ext <<_ACEOF
8016 cat confdefs.h >>conftest.$ac_ext
8017 cat >>conftest.$ac_ext <<_ACEOF
8018 /* end confdefs.h. */
8021 #include <$ac_header>
8023 rm -f conftest.$ac_objext
8024 if { (ac_try="$ac_compile"
8026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8027 *) ac_try_echo=$ac_try;;
8029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8030 (eval "$ac_compile") 2>conftest.er1
8032 grep -v '^ *+' conftest.er1 >conftest.err
8034 cat conftest.err >&5
8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); } && {
8037 test -z "$ac_c_werror_flag" ||
8038 test ! -s conftest.err
8039 } && test -s conftest.$ac_objext; then
8040 eval "$as_ac_Header=yes"
8042 echo "$as_me: failed program was:" >&5
8043 sed 's/^/| /' conftest.$ac_ext >&5
8045 eval "$as_ac_Header=no"
8048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8050 ac_res=`eval echo '${'$as_ac_Header'}'`
8051 { echo "$as_me:$LINENO: result: $ac_res" >&5
8052 echo "${ECHO_T}$ac_res" >&6; }
8053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8054 cat >>confdefs.h <<_ACEOF
8055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8066 DLLFLAGS="-D_REENTRANT"
8080 # Extract the first word of "ldd", so it can be a program name with args.
8081 set dummy ldd; ac_word=$2
8082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8084 if test "${ac_cv_path_LDD+set}" = set; then
8085 echo $ECHO_N "(cached) $ECHO_C" >&6
8089 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8093 as_dummy="/sbin:/usr/sbin:$PATH"
8094 for as_dir in $as_dummy
8097 test -z "$as_dir" && as_dir=.
8098 for ac_exec_ext in '' $ac_executable_extensions; do
8099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8100 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8108 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8113 if test -n "$LDD"; then
8114 { echo "$as_me:$LINENO: result: $LDD" >&5
8115 echo "${ECHO_T}$LDD" >&6; }
8117 { echo "$as_me:$LINENO: result: no" >&5
8118 echo "${ECHO_T}no" >&6; }
8125 if test -n "$ac_tool_prefix"; then
8126 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8127 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8130 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8131 echo $ECHO_N "(cached) $ECHO_C" >&6
8133 if test -n "$DLLTOOL"; then
8134 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8140 test -z "$as_dir" && as_dir=.
8141 for ac_exec_ext in '' $ac_executable_extensions; do
8142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8143 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8153 DLLTOOL=$ac_cv_prog_DLLTOOL
8154 if test -n "$DLLTOOL"; then
8155 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8156 echo "${ECHO_T}$DLLTOOL" >&6; }
8158 { echo "$as_me:$LINENO: result: no" >&5
8159 echo "${ECHO_T}no" >&6; }
8164 if test -z "$ac_cv_prog_DLLTOOL"; then
8165 ac_ct_DLLTOOL=$DLLTOOL
8166 # Extract the first word of "dlltool", so it can be a program name with args.
8167 set dummy dlltool; ac_word=$2
8168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8170 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8171 echo $ECHO_N "(cached) $ECHO_C" >&6
8173 if test -n "$ac_ct_DLLTOOL"; then
8174 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8180 test -z "$as_dir" && as_dir=.
8181 for ac_exec_ext in '' $ac_executable_extensions; do
8182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8183 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8193 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8194 if test -n "$ac_ct_DLLTOOL"; then
8195 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8196 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8198 { echo "$as_me:$LINENO: result: no" >&5
8199 echo "${ECHO_T}no" >&6; }
8202 if test "x$ac_ct_DLLTOOL" = x; then
8205 case $cross_compiling:$ac_tool_warned in
8207 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8208 whose name does not start with the host triplet. If you think this
8209 configuration is useful to you, please write to autoconf@gnu.org." >&5
8210 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8211 whose name does not start with the host triplet. If you think this
8212 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8213 ac_tool_warned=yes ;;
8215 DLLTOOL=$ac_ct_DLLTOOL
8218 DLLTOOL="$ac_cv_prog_DLLTOOL"
8221 if test -n "$ac_tool_prefix"; then
8222 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8223 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8226 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8229 if test -n "$DLLWRAP"; then
8230 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8236 test -z "$as_dir" && as_dir=.
8237 for ac_exec_ext in '' $ac_executable_extensions; do
8238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8239 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8249 DLLWRAP=$ac_cv_prog_DLLWRAP
8250 if test -n "$DLLWRAP"; then
8251 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8252 echo "${ECHO_T}$DLLWRAP" >&6; }
8254 { echo "$as_me:$LINENO: result: no" >&5
8255 echo "${ECHO_T}no" >&6; }
8260 if test -z "$ac_cv_prog_DLLWRAP"; then
8261 ac_ct_DLLWRAP=$DLLWRAP
8262 # Extract the first word of "dllwrap", so it can be a program name with args.
8263 set dummy dllwrap; ac_word=$2
8264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8266 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8267 echo $ECHO_N "(cached) $ECHO_C" >&6
8269 if test -n "$ac_ct_DLLWRAP"; then
8270 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8276 test -z "$as_dir" && as_dir=.
8277 for ac_exec_ext in '' $ac_executable_extensions; do
8278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8279 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8289 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8290 if test -n "$ac_ct_DLLWRAP"; then
8291 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8292 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8294 { echo "$as_me:$LINENO: result: no" >&5
8295 echo "${ECHO_T}no" >&6; }
8298 if test "x$ac_ct_DLLWRAP" = x; then
8301 case $cross_compiling:$ac_tool_warned in
8303 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8304 whose name does not start with the host triplet. If you think this
8305 configuration is useful to you, please write to autoconf@gnu.org." >&5
8306 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8307 whose name does not start with the host triplet. If you think this
8308 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8309 ac_tool_warned=yes ;;
8311 DLLWRAP=$ac_ct_DLLWRAP
8314 DLLWRAP="$ac_cv_prog_DLLWRAP"
8317 if test -n "$ac_tool_prefix"; then
8318 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8319 set dummy ${ac_tool_prefix}ar; ac_word=$2
8320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8322 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8323 echo $ECHO_N "(cached) $ECHO_C" >&6
8325 if test -n "$MINGWAR"; then
8326 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8332 test -z "$as_dir" && as_dir=.
8333 for ac_exec_ext in '' $ac_executable_extensions; do
8334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8335 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8345 MINGWAR=$ac_cv_prog_MINGWAR
8346 if test -n "$MINGWAR"; then
8347 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8348 echo "${ECHO_T}$MINGWAR" >&6; }
8350 { echo "$as_me:$LINENO: result: no" >&5
8351 echo "${ECHO_T}no" >&6; }
8356 if test -z "$ac_cv_prog_MINGWAR"; then
8357 ac_ct_MINGWAR=$MINGWAR
8358 # Extract the first word of "ar", so it can be a program name with args.
8359 set dummy ar; ac_word=$2
8360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8362 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8363 echo $ECHO_N "(cached) $ECHO_C" >&6
8365 if test -n "$ac_ct_MINGWAR"; then
8366 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8372 test -z "$as_dir" && as_dir=.
8373 for ac_exec_ext in '' $ac_executable_extensions; do
8374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8375 ac_cv_prog_ac_ct_MINGWAR="ar"
8376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8385 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8386 if test -n "$ac_ct_MINGWAR"; then
8387 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8388 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8390 { echo "$as_me:$LINENO: result: no" >&5
8391 echo "${ECHO_T}no" >&6; }
8394 if test "x$ac_ct_MINGWAR" = x; then
8397 case $cross_compiling:$ac_tool_warned in
8399 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8400 whose name does not start with the host triplet. If you think this
8401 configuration is useful to you, please write to autoconf@gnu.org." >&5
8402 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8403 whose name does not start with the host triplet. If you think this
8404 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8405 ac_tool_warned=yes ;;
8407 MINGWAR=$ac_ct_MINGWAR
8410 MINGWAR="$ac_cv_prog_MINGWAR"
8413 if test "$DLLWRAP" = "false"; then
8425 DLLFLAGS="$DLLFLAGS -fPIC"
8426 LDDLLFLAGS="-bundle -multiply_defined suppress"
8427 LIBWINE_LDFLAGS="-multiply_defined suppress"
8428 LDSHARED="\$(CC) -dynamiclib"
8430 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8431 SECURITYLIB="-framework Security -framework CoreFoundation"
8433 COREFOUNDATIONLIB="-framework CoreFoundation"
8435 IOKITLIB="-framework IOKit -framework CoreFoundation"
8437 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8439 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8441 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8444 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8446 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8451 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8453 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8455 CARBONLIB="-framework Carbon"
8457 QUARTZFILES='$(QUARTZFILES)'
8461 DLLFLAGS="$DLLFLAGS -fPIC"
8463 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8464 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8465 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8466 echo $ECHO_N "(cached) $ECHO_C" >&6
8468 ac_wine_try_cflags_saved=$CFLAGS
8469 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8470 cat >conftest.$ac_ext <<_ACEOF
8473 rm -f conftest.$ac_objext conftest$ac_exeext
8474 if { (ac_try="$ac_link"
8476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8477 *) ac_try_echo=$ac_try;;
8479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8480 (eval "$ac_link") 2>conftest.er1
8482 grep -v '^ *+' conftest.er1 >conftest.err
8484 cat conftest.err >&5
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 (exit $ac_status); } && {
8487 test -z "$ac_c_werror_flag" ||
8488 test ! -s conftest.err
8489 } && test -s conftest$ac_exeext &&
8490 $as_test_x conftest$ac_exeext; then
8491 ac_cv_c_dll_gnuelf="yes"
8493 echo "$as_me: failed program was:" >&5
8494 sed 's/^/| /' conftest.$ac_ext >&5
8496 ac_cv_c_dll_gnuelf="no"
8499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8500 conftest$ac_exeext conftest.$ac_ext
8501 CFLAGS=$ac_wine_try_cflags_saved
8503 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8504 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8505 if test "$ac_cv_c_dll_gnuelf" = "yes"
8507 LDSHARED="\$(CC) -shared"
8508 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8509 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8510 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8511 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8512 echo $ECHO_N "(cached) $ECHO_C" >&6
8514 ac_wine_try_cflags_saved=$CFLAGS
8515 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8516 cat >conftest.$ac_ext <<_ACEOF
8519 cat confdefs.h >>conftest.$ac_ext
8520 cat >>conftest.$ac_ext <<_ACEOF
8521 /* end confdefs.h. */
8531 rm -f conftest.$ac_objext conftest$ac_exeext
8532 if { (ac_try="$ac_link"
8534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8535 *) ac_try_echo=$ac_try;;
8537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8538 (eval "$ac_link") 2>conftest.er1
8540 grep -v '^ *+' conftest.er1 >conftest.err
8542 cat conftest.err >&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); } && {
8545 test -z "$ac_c_werror_flag" ||
8546 test ! -s conftest.err
8547 } && test -s conftest$ac_exeext &&
8548 $as_test_x conftest$ac_exeext; then
8549 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8551 echo "$as_me: failed program was:" >&5
8552 sed 's/^/| /' conftest.$ac_ext >&5
8554 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8558 conftest$ac_exeext conftest.$ac_ext
8559 CFLAGS=$ac_wine_try_cflags_saved
8561 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8562 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8563 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8564 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8566 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8567 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8568 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8569 echo $ECHO_N "(cached) $ECHO_C" >&6
8571 ac_wine_try_cflags_saved=$CFLAGS
8572 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8573 cat >conftest.$ac_ext <<_ACEOF
8576 cat confdefs.h >>conftest.$ac_ext
8577 cat >>conftest.$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8588 rm -f conftest.$ac_objext conftest$ac_exeext
8589 if { (ac_try="$ac_link"
8591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8592 *) ac_try_echo=$ac_try;;
8594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8595 (eval "$ac_link") 2>conftest.er1
8597 grep -v '^ *+' conftest.er1 >conftest.err
8599 cat conftest.err >&5
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); } && {
8602 test -z "$ac_c_werror_flag" ||
8603 test ! -s conftest.err
8604 } && test -s conftest$ac_exeext &&
8605 $as_test_x conftest$ac_exeext; then
8606 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8608 echo "$as_me: failed program was:" >&5
8609 sed 's/^/| /' conftest.$ac_ext >&5
8611 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8615 conftest$ac_exeext conftest.$ac_ext
8616 CFLAGS=$ac_wine_try_cflags_saved
8618 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8619 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8620 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8621 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8627 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8628 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8629 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8632 ac_wine_try_cflags_saved=$CFLAGS
8633 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8634 cat >conftest.$ac_ext <<_ACEOF
8637 cat confdefs.h >>conftest.$ac_ext
8638 cat >>conftest.$ac_ext <<_ACEOF
8639 /* end confdefs.h. */
8649 rm -f conftest.$ac_objext conftest$ac_exeext
8650 if { (ac_try="$ac_link"
8652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8653 *) ac_try_echo=$ac_try;;
8655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8656 (eval "$ac_link") 2>conftest.er1
8658 grep -v '^ *+' conftest.er1 >conftest.err
8660 cat conftest.err >&5
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); } && {
8663 test -z "$ac_c_werror_flag" ||
8664 test ! -s conftest.err
8665 } && test -s conftest$ac_exeext &&
8666 $as_test_x conftest$ac_exeext; then
8667 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8669 echo "$as_me: failed program was:" >&5
8670 sed 's/^/| /' conftest.$ac_ext >&5
8672 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8676 conftest$ac_exeext conftest.$ac_ext
8677 CFLAGS=$ac_wine_try_cflags_saved
8679 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8680 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8681 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8682 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8686 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8687 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8688 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8689 echo $ECHO_N "(cached) $ECHO_C" >&6
8691 ac_wine_try_cflags_saved=$CFLAGS
8692 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8693 cat >conftest.$ac_ext <<_ACEOF
8696 cat confdefs.h >>conftest.$ac_ext
8697 cat >>conftest.$ac_ext <<_ACEOF
8698 /* end confdefs.h. */
8708 rm -f conftest.$ac_objext conftest$ac_exeext
8709 if { (ac_try="$ac_link"
8711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8712 *) ac_try_echo=$ac_try;;
8714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8715 (eval "$ac_link") 2>conftest.er1
8717 grep -v '^ *+' conftest.er1 >conftest.err
8719 cat conftest.err >&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); } && {
8722 test -z "$ac_c_werror_flag" ||
8723 test ! -s conftest.err
8724 } && test -s conftest$ac_exeext &&
8725 $as_test_x conftest$ac_exeext; then
8726 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8728 echo "$as_me: failed program was:" >&5
8729 sed 's/^/| /' conftest.$ac_ext >&5
8731 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8735 conftest$ac_exeext conftest.$ac_ext
8736 CFLAGS=$ac_wine_try_cflags_saved
8738 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8739 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8740 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8741 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8745 echo '{ global: *; };' >conftest.map
8746 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8747 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8748 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8749 echo $ECHO_N "(cached) $ECHO_C" >&6
8751 ac_wine_try_cflags_saved=$CFLAGS
8752 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8753 cat >conftest.$ac_ext <<_ACEOF
8756 cat confdefs.h >>conftest.$ac_ext
8757 cat >>conftest.$ac_ext <<_ACEOF
8758 /* end confdefs.h. */
8768 rm -f conftest.$ac_objext conftest$ac_exeext
8769 if { (ac_try="$ac_link"
8771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8772 *) ac_try_echo=$ac_try;;
8774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8775 (eval "$ac_link") 2>conftest.er1
8777 grep -v '^ *+' conftest.er1 >conftest.err
8779 cat conftest.err >&5
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); } && {
8782 test -z "$ac_c_werror_flag" ||
8783 test ! -s conftest.err
8784 } && test -s conftest$ac_exeext &&
8785 $as_test_x conftest$ac_exeext; then
8786 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8788 echo "$as_me: failed program was:" >&5
8789 sed 's/^/| /' conftest.$ac_ext >&5
8791 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8795 conftest$ac_exeext conftest.$ac_ext
8796 CFLAGS=$ac_wine_try_cflags_saved
8798 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8799 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8800 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8801 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8806 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8807 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8808 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8809 echo $ECHO_N "(cached) $ECHO_C" >&6
8811 ac_wine_try_cflags_saved=$CFLAGS
8812 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8813 cat >conftest.$ac_ext <<_ACEOF
8816 cat confdefs.h >>conftest.$ac_ext
8817 cat >>conftest.$ac_ext <<_ACEOF
8818 /* end confdefs.h. */
8828 rm -f conftest.$ac_objext conftest$ac_exeext
8829 if { (ac_try="$ac_link"
8831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8832 *) ac_try_echo=$ac_try;;
8834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8835 (eval "$ac_link") 2>conftest.er1
8837 grep -v '^ *+' conftest.er1 >conftest.err
8839 cat conftest.err >&5
8840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8841 (exit $ac_status); } && {
8842 test -z "$ac_c_werror_flag" ||
8843 test ! -s conftest.err
8844 } && test -s conftest$ac_exeext &&
8845 $as_test_x conftest$ac_exeext; then
8846 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8848 echo "$as_me: failed program was:" >&5
8849 sed 's/^/| /' conftest.$ac_ext >&5
8851 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8855 conftest$ac_exeext conftest.$ac_ext
8856 CFLAGS=$ac_wine_try_cflags_saved
8858 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8859 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8860 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8861 LDEXECFLAGS="-Wl,--export-dynamic"
8866 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8867 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8868 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8869 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8870 echo $ECHO_N "(cached) $ECHO_C" >&6
8872 ac_wine_try_cflags_saved=$CFLAGS
8873 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8874 cat >conftest.$ac_ext <<_ACEOF
8877 cat confdefs.h >>conftest.$ac_ext
8878 cat >>conftest.$ac_ext <<_ACEOF
8879 /* end confdefs.h. */
8889 rm -f conftest.$ac_objext conftest$ac_exeext
8890 if { (ac_try="$ac_link"
8892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8893 *) ac_try_echo=$ac_try;;
8895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8896 (eval "$ac_link") 2>conftest.er1
8898 grep -v '^ *+' conftest.er1 >conftest.err
8900 cat conftest.err >&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); } && {
8903 test -z "$ac_c_werror_flag" ||
8904 test ! -s conftest.err
8905 } && test -s conftest$ac_exeext &&
8906 $as_test_x conftest$ac_exeext; then
8907 eval "$as_ac_var=yes"
8909 echo "$as_me: failed program was:" >&5
8910 sed 's/^/| /' conftest.$ac_ext >&5
8912 eval "$as_ac_var=no"
8915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8916 conftest$ac_exeext conftest.$ac_ext
8917 CFLAGS=$ac_wine_try_cflags_saved
8919 ac_res=`eval echo '${'$as_ac_var'}'`
8920 { echo "$as_me:$LINENO: result: $ac_res" >&5
8921 echo "${ECHO_T}$ac_res" >&6; }
8922 if test `eval echo '${'$as_ac_var'}'` = yes; then
8923 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8924 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8926 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8927 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8928 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8929 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8930 echo $ECHO_N "(cached) $ECHO_C" >&6
8932 ac_wine_try_cflags_saved=$CFLAGS
8933 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8934 cat >conftest.$ac_ext <<_ACEOF
8937 cat confdefs.h >>conftest.$ac_ext
8938 cat >>conftest.$ac_ext <<_ACEOF
8939 /* end confdefs.h. */
8949 rm -f conftest.$ac_objext conftest$ac_exeext
8950 if { (ac_try="$ac_link"
8952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8953 *) ac_try_echo=$ac_try;;
8955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8956 (eval "$ac_link") 2>conftest.er1
8958 grep -v '^ *+' conftest.er1 >conftest.err
8960 cat conftest.err >&5
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); } && {
8963 test -z "$ac_c_werror_flag" ||
8964 test ! -s conftest.err
8965 } && test -s conftest$ac_exeext &&
8966 $as_test_x conftest$ac_exeext; then
8967 eval "$as_ac_var=yes"
8969 echo "$as_me: failed program was:" >&5
8970 sed 's/^/| /' conftest.$ac_ext >&5
8972 eval "$as_ac_var=no"
8975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8976 conftest$ac_exeext conftest.$ac_ext
8977 CFLAGS=$ac_wine_try_cflags_saved
8979 ac_res=`eval echo '${'$as_ac_var'}'`
8980 { echo "$as_me:$LINENO: result: $ac_res" >&5
8981 echo "${ECHO_T}$ac_res" >&6; }
8982 if test `eval echo '${'$as_ac_var'}'` = yes; then
8983 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8984 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8990 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8991 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8992 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6
8995 ac_wine_try_cflags_saved=$CFLAGS
8996 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8997 cat >conftest.$ac_ext <<_ACEOF
9000 cat confdefs.h >>conftest.$ac_ext
9001 cat >>conftest.$ac_ext <<_ACEOF
9002 /* end confdefs.h. */
9012 rm -f conftest.$ac_objext conftest$ac_exeext
9013 if { (ac_try="$ac_link"
9015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9016 *) ac_try_echo=$ac_try;;
9018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9019 (eval "$ac_link") 2>conftest.er1
9021 grep -v '^ *+' conftest.er1 >conftest.err
9023 cat conftest.err >&5
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 (exit $ac_status); } && {
9026 test -z "$ac_c_werror_flag" ||
9027 test ! -s conftest.err
9028 } && test -s conftest$ac_exeext &&
9029 $as_test_x conftest$ac_exeext; then
9030 ac_cv_cflags__Wl___enable_new_dtags=yes
9032 echo "$as_me: failed program was:" >&5
9033 sed 's/^/| /' conftest.$ac_ext >&5
9035 ac_cv_cflags__Wl___enable_new_dtags=no
9038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9039 conftest$ac_exeext conftest.$ac_ext
9040 CFLAGS=$ac_wine_try_cflags_saved
9042 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9043 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9044 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9045 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9050 *i[3456789]86* | x86_64)
9051 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9052 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9053 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9054 echo $ECHO_N "(cached) $ECHO_C" >&6
9056 ac_wine_try_cflags_saved=$CFLAGS
9057 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9058 cat >conftest.$ac_ext <<_ACEOF
9061 cat confdefs.h >>conftest.$ac_ext
9062 cat >>conftest.$ac_ext <<_ACEOF
9063 /* end confdefs.h. */
9073 rm -f conftest.$ac_objext conftest$ac_exeext
9074 if { (ac_try="$ac_link"
9076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9077 *) ac_try_echo=$ac_try;;
9079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9080 (eval "$ac_link") 2>conftest.er1
9082 grep -v '^ *+' conftest.er1 >conftest.err
9084 cat conftest.err >&5
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); } && {
9087 test -z "$ac_c_werror_flag" ||
9088 test ! -s conftest.err
9089 } && test -s conftest$ac_exeext &&
9090 $as_test_x conftest$ac_exeext; then
9091 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9093 echo "$as_me: failed program was:" >&5
9094 sed 's/^/| /' conftest.$ac_ext >&5
9096 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9100 conftest$ac_exeext conftest.$ac_ext
9101 CFLAGS=$ac_wine_try_cflags_saved
9103 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9104 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9105 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9106 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9113 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9114 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9115 if test "${ac_cv_c_dll_unixware+set}" = set; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9118 ac_wine_try_cflags_saved=$CFLAGS
9119 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9120 cat >conftest.$ac_ext <<_ACEOF
9123 rm -f conftest.$ac_objext conftest$ac_exeext
9124 if { (ac_try="$ac_link"
9126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9127 *) ac_try_echo=$ac_try;;
9129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9130 (eval "$ac_link") 2>conftest.er1
9132 grep -v '^ *+' conftest.er1 >conftest.err
9134 cat conftest.err >&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); } && {
9137 test -z "$ac_c_werror_flag" ||
9138 test ! -s conftest.err
9139 } && test -s conftest$ac_exeext &&
9140 $as_test_x conftest$ac_exeext; then
9141 ac_cv_c_dll_unixware="yes"
9143 echo "$as_me: failed program was:" >&5
9144 sed 's/^/| /' conftest.$ac_ext >&5
9146 ac_cv_c_dll_unixware="no"
9149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9150 conftest$ac_exeext conftest.$ac_ext
9151 CFLAGS=$ac_wine_try_cflags_saved
9153 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9154 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9155 if test "$ac_cv_c_dll_unixware" = "yes"
9157 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9158 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9161 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9162 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9163 if test "${ac_cv_c_dll_hpux+set}" = set; then
9164 echo $ECHO_N "(cached) $ECHO_C" >&6
9166 ac_wine_try_cflags_saved=$CFLAGS
9167 CFLAGS="$CFLAGS -shared"
9168 cat >conftest.$ac_ext <<_ACEOF
9171 rm -f conftest.$ac_objext conftest$ac_exeext
9172 if { (ac_try="$ac_link"
9174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9175 *) ac_try_echo=$ac_try;;
9177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9178 (eval "$ac_link") 2>conftest.er1
9180 grep -v '^ *+' conftest.er1 >conftest.err
9182 cat conftest.err >&5
9183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); } && {
9185 test -z "$ac_c_werror_flag" ||
9186 test ! -s conftest.err
9187 } && test -s conftest$ac_exeext &&
9188 $as_test_x conftest$ac_exeext; then
9189 ac_cv_c_dll_hpux="yes"
9191 echo "$as_me: failed program was:" >&5
9192 sed 's/^/| /' conftest.$ac_ext >&5
9194 ac_cv_c_dll_hpux="no"
9197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9198 conftest$ac_exeext conftest.$ac_ext
9199 CFLAGS=$ac_wine_try_cflags_saved
9201 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9202 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9203 if test "$ac_cv_c_dll_hpux" = "yes"
9207 LDDLLFLAGS="-shared -fPIC"
9208 LDSHARED="\$(CC) -shared"
9215 if test "$cross_compiling" = "no"
9217 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9219 # Extract the first word of "$ac_prog", so it can be a program name with args.
9220 set dummy $ac_prog; ac_word=$2
9221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9223 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9224 echo $ECHO_N "(cached) $ECHO_C" >&6
9226 if test -n "$CROSSCC"; then
9227 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9233 test -z "$as_dir" && as_dir=.
9234 for ac_exec_ext in '' $ac_executable_extensions; do
9235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9236 ac_cv_prog_CROSSCC="$ac_prog"
9237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9246 CROSSCC=$ac_cv_prog_CROSSCC
9247 if test -n "$CROSSCC"; then
9248 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9249 echo "${ECHO_T}$CROSSCC" >&6; }
9251 { echo "$as_me:$LINENO: result: no" >&5
9252 echo "${ECHO_T}no" >&6; }
9256 test -n "$CROSSCC" && break
9258 test -n "$CROSSCC" || CROSSCC="false"
9260 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9262 # Extract the first word of "$ac_prog", so it can be a program name with args.
9263 set dummy $ac_prog; ac_word=$2
9264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9266 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9267 echo $ECHO_N "(cached) $ECHO_C" >&6
9269 if test -n "$DLLTOOL"; then
9270 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9276 test -z "$as_dir" && as_dir=.
9277 for ac_exec_ext in '' $ac_executable_extensions; do
9278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9279 ac_cv_prog_DLLTOOL="$ac_prog"
9280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9289 DLLTOOL=$ac_cv_prog_DLLTOOL
9290 if test -n "$DLLTOOL"; then
9291 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9292 echo "${ECHO_T}$DLLTOOL" >&6; }
9294 { echo "$as_me:$LINENO: result: no" >&5
9295 echo "${ECHO_T}no" >&6; }
9299 test -n "$DLLTOOL" && break
9301 test -n "$DLLTOOL" || DLLTOOL="false"
9303 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9305 # Extract the first word of "$ac_prog", so it can be a program name with args.
9306 set dummy $ac_prog; ac_word=$2
9307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9309 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9310 echo $ECHO_N "(cached) $ECHO_C" >&6
9312 if test -n "$CROSSWINDRES"; then
9313 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9319 test -z "$as_dir" && as_dir=.
9320 for ac_exec_ext in '' $ac_executable_extensions; do
9321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9322 ac_cv_prog_CROSSWINDRES="$ac_prog"
9323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9332 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9333 if test -n "$CROSSWINDRES"; then
9334 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9335 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9337 { echo "$as_me:$LINENO: result: no" >&5
9338 echo "${ECHO_T}no" >&6; }
9342 test -n "$CROSSWINDRES" && break
9344 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9346 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9348 # Extract the first word of "$ac_prog", so it can be a program name with args.
9349 set dummy $ac_prog; ac_word=$2
9350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9352 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9353 echo $ECHO_N "(cached) $ECHO_C" >&6
9355 if test -n "$MINGWAR"; then
9356 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9362 test -z "$as_dir" && as_dir=.
9363 for ac_exec_ext in '' $ac_executable_extensions; do
9364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9365 ac_cv_prog_MINGWAR="$ac_prog"
9366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9375 MINGWAR=$ac_cv_prog_MINGWAR
9376 if test -n "$MINGWAR"; then
9377 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9378 echo "${ECHO_T}$MINGWAR" >&6; }
9380 { echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6; }
9385 test -n "$MINGWAR" && break
9387 test -n "$MINGWAR" || MINGWAR="false"
9389 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9394 if test "$LIBEXT" = "a"; then
9395 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9396 It is currently not possible to build Wine without shared library
9397 (.so) support to allow transparent switch between .so and .dll files.
9398 If you are using Linux, you will need a newer binutils.
9400 echo "$as_me: error: could not find a way to build shared libraries.
9401 It is currently not possible to build Wine without shared library
9402 (.so) support to allow transparent switch between .so and .dll files.
9403 If you are using Linux, you will need a newer binutils.
9405 { (exit 1); exit 1; }; }
9409 if test "$have_x" = "yes"
9412 ac_save_CPPFLAGS="$CPPFLAGS"
9413 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9415 { echo "$as_me:$LINENO: checking for -lX11" >&5
9416 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9417 if test "${ac_cv_lib_soname_X11+set}" = set; then
9418 echo $ECHO_N "(cached) $ECHO_C" >&6
9420 ac_check_soname_save_LIBS=$LIBS
9421 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9422 cat >conftest.$ac_ext <<_ACEOF
9425 cat confdefs.h >>conftest.$ac_ext
9426 cat >>conftest.$ac_ext <<_ACEOF
9427 /* end confdefs.h. */
9429 /* Override any GCC internal prototype to avoid an error.
9430 Use char because int might match the return type of a GCC
9431 builtin and then its argument prototype would still apply. */
9435 char XCreateWindow ();
9439 return XCreateWindow ();
9444 rm -f conftest.$ac_objext conftest$ac_exeext
9445 if { (ac_try="$ac_link"
9447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9448 *) ac_try_echo=$ac_try;;
9450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9451 (eval "$ac_link") 2>conftest.er1
9453 grep -v '^ *+' conftest.er1 >conftest.err
9455 cat conftest.err >&5
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); } && {
9458 test -z "$ac_c_werror_flag" ||
9459 test ! -s conftest.err
9460 } && test -s conftest$ac_exeext &&
9461 $as_test_x conftest$ac_exeext; then
9464 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'` ;;
9465 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9468 echo "$as_me: failed program was:" >&5
9469 sed 's/^/| /' conftest.$ac_ext >&5
9474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9475 conftest$ac_exeext conftest.$ac_ext
9476 LIBS=$ac_check_soname_save_LIBS
9478 if test "x$ac_cv_lib_soname_X11" = "x"; then
9479 { echo "$as_me:$LINENO: result: not found" >&5
9480 echo "${ECHO_T}not found" >&6; }
9483 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9484 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9486 cat >>confdefs.h <<_ACEOF
9487 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9493 { echo "$as_me:$LINENO: checking for -lXext" >&5
9494 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9495 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9498 ac_check_soname_save_LIBS=$LIBS
9499 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9500 cat >conftest.$ac_ext <<_ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9507 /* Override any GCC internal prototype to avoid an error.
9508 Use char because int might match the return type of a GCC
9509 builtin and then its argument prototype would still apply. */
9513 char XextCreateExtension ();
9517 return XextCreateExtension ();
9522 rm -f conftest.$ac_objext conftest$ac_exeext
9523 if { (ac_try="$ac_link"
9525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9526 *) ac_try_echo=$ac_try;;
9528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9529 (eval "$ac_link") 2>conftest.er1
9531 grep -v '^ *+' conftest.er1 >conftest.err
9533 cat conftest.err >&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); } && {
9536 test -z "$ac_c_werror_flag" ||
9537 test ! -s conftest.err
9538 } && test -s conftest$ac_exeext &&
9539 $as_test_x conftest$ac_exeext; then
9542 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'` ;;
9543 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9546 echo "$as_me: failed program was:" >&5
9547 sed 's/^/| /' conftest.$ac_ext >&5
9552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9553 conftest$ac_exeext conftest.$ac_ext
9554 LIBS=$ac_check_soname_save_LIBS
9556 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9557 { echo "$as_me:$LINENO: result: not found" >&5
9558 echo "${ECHO_T}not found" >&6; }
9561 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9562 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9564 cat >>confdefs.h <<_ACEOF
9565 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9584 for ac_header in X11/Xlib.h \
9587 X11/Xcursor/Xcursor.h \
9588 X11/extensions/shape.h \
9589 X11/extensions/XInput.h \
9590 X11/extensions/XShm.h \
9591 X11/extensions/Xcomposite.h \
9592 X11/extensions/Xinerama.h \
9593 X11/extensions/Xrandr.h \
9594 X11/extensions/Xrender.h \
9595 X11/extensions/xf86vmode.h
9597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9598 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9600 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9601 echo $ECHO_N "(cached) $ECHO_C" >&6
9603 cat >conftest.$ac_ext <<_ACEOF
9606 cat confdefs.h >>conftest.$ac_ext
9607 cat >>conftest.$ac_ext <<_ACEOF
9608 /* end confdefs.h. */
9609 #ifdef HAVE_X11_XLIB_H
9610 # include <X11/Xlib.h>
9612 #ifdef HAVE_X11_XUTIL_H
9613 # include <X11/Xutil.h>
9616 #include <$ac_header>
9618 rm -f conftest.$ac_objext
9619 if { (ac_try="$ac_compile"
9621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9622 *) ac_try_echo=$ac_try;;
9624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9625 (eval "$ac_compile") 2>conftest.er1
9627 grep -v '^ *+' conftest.er1 >conftest.err
9629 cat conftest.err >&5
9630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 (exit $ac_status); } && {
9632 test -z "$ac_c_werror_flag" ||
9633 test ! -s conftest.err
9634 } && test -s conftest.$ac_objext; then
9635 eval "$as_ac_Header=yes"
9637 echo "$as_me: failed program was:" >&5
9638 sed 's/^/| /' conftest.$ac_ext >&5
9640 eval "$as_ac_Header=no"
9643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9645 ac_res=`eval echo '${'$as_ac_Header'}'`
9646 { echo "$as_me:$LINENO: result: $ac_res" >&5
9647 echo "${ECHO_T}$ac_res" >&6; }
9648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9649 cat >>confdefs.h <<_ACEOF
9650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9658 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9660 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9661 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9662 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9663 echo $ECHO_N "(cached) $ECHO_C" >&6
9665 ac_check_lib_save_LIBS=$LIBS
9666 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9667 cat >conftest.$ac_ext <<_ACEOF
9670 cat confdefs.h >>conftest.$ac_ext
9671 cat >>conftest.$ac_ext <<_ACEOF
9672 /* end confdefs.h. */
9674 /* Override any GCC internal prototype to avoid an error.
9675 Use char because int might match the return type of a GCC
9676 builtin and then its argument prototype would still apply. */
9680 char XkbQueryExtension ();
9684 return XkbQueryExtension ();
9689 rm -f conftest.$ac_objext conftest$ac_exeext
9690 if { (ac_try="$ac_link"
9692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9693 *) ac_try_echo=$ac_try;;
9695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9696 (eval "$ac_link") 2>conftest.er1
9698 grep -v '^ *+' conftest.er1 >conftest.err
9700 cat conftest.err >&5
9701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702 (exit $ac_status); } && {
9703 test -z "$ac_c_werror_flag" ||
9704 test ! -s conftest.err
9705 } && test -s conftest$ac_exeext &&
9706 $as_test_x conftest$ac_exeext; then
9707 ac_cv_lib_X11_XkbQueryExtension=yes
9709 echo "$as_me: failed program was:" >&5
9710 sed 's/^/| /' conftest.$ac_ext >&5
9712 ac_cv_lib_X11_XkbQueryExtension=no
9715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9716 conftest$ac_exeext conftest.$ac_ext
9717 LIBS=$ac_check_lib_save_LIBS
9719 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9720 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9721 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9723 cat >>confdefs.h <<\_ACEOF
9731 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9733 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9734 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9735 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9736 echo $ECHO_N "(cached) $ECHO_C" >&6
9738 ac_check_soname_save_LIBS=$LIBS
9739 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9740 cat >conftest.$ac_ext <<_ACEOF
9743 cat confdefs.h >>conftest.$ac_ext
9744 cat >>conftest.$ac_ext <<_ACEOF
9745 /* end confdefs.h. */
9747 /* Override any GCC internal prototype to avoid an error.
9748 Use char because int might match the return type of a GCC
9749 builtin and then its argument prototype would still apply. */
9753 char XcursorImageLoadCursor ();
9757 return XcursorImageLoadCursor ();
9762 rm -f conftest.$ac_objext conftest$ac_exeext
9763 if { (ac_try="$ac_link"
9765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9766 *) ac_try_echo=$ac_try;;
9768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9769 (eval "$ac_link") 2>conftest.er1
9771 grep -v '^ *+' conftest.er1 >conftest.err
9773 cat conftest.err >&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); } && {
9776 test -z "$ac_c_werror_flag" ||
9777 test ! -s conftest.err
9778 } && test -s conftest$ac_exeext &&
9779 $as_test_x conftest$ac_exeext; then
9782 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'` ;;
9783 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9786 echo "$as_me: failed program was:" >&5
9787 sed 's/^/| /' conftest.$ac_ext >&5
9792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9793 conftest$ac_exeext conftest.$ac_ext
9794 LIBS=$ac_check_soname_save_LIBS
9796 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9797 { echo "$as_me:$LINENO: result: not found" >&5
9798 echo "${ECHO_T}not found" >&6; }
9801 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9802 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9804 cat >>confdefs.h <<_ACEOF
9805 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9812 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9813 case "x$with_xcursor" in
9814 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9816 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9817 This is an error since --with-xcursor was requested." >&5
9818 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9819 This is an error since --with-xcursor was requested." >&2;}
9820 { (exit 1); exit 1; }; } ;;
9825 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9827 { echo "$as_me:$LINENO: checking for -lXi" >&5
9828 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9829 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9830 echo $ECHO_N "(cached) $ECHO_C" >&6
9832 ac_check_soname_save_LIBS=$LIBS
9833 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9834 cat >conftest.$ac_ext <<_ACEOF
9837 cat confdefs.h >>conftest.$ac_ext
9838 cat >>conftest.$ac_ext <<_ACEOF
9839 /* end confdefs.h. */
9841 /* Override any GCC internal prototype to avoid an error.
9842 Use char because int might match the return type of a GCC
9843 builtin and then its argument prototype would still apply. */
9847 char XOpenDevice ();
9851 return XOpenDevice ();
9856 rm -f conftest.$ac_objext conftest$ac_exeext
9857 if { (ac_try="$ac_link"
9859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9860 *) ac_try_echo=$ac_try;;
9862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9863 (eval "$ac_link") 2>conftest.er1
9865 grep -v '^ *+' conftest.er1 >conftest.err
9867 cat conftest.err >&5
9868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869 (exit $ac_status); } && {
9870 test -z "$ac_c_werror_flag" ||
9871 test ! -s conftest.err
9872 } && test -s conftest$ac_exeext &&
9873 $as_test_x conftest$ac_exeext; then
9876 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'` ;;
9877 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9880 echo "$as_me: failed program was:" >&5
9881 sed 's/^/| /' conftest.$ac_ext >&5
9886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9887 conftest$ac_exeext conftest.$ac_ext
9888 LIBS=$ac_check_soname_save_LIBS
9890 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9891 { echo "$as_me:$LINENO: result: not found" >&5
9892 echo "${ECHO_T}not found" >&6; }
9895 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9896 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9898 cat >>confdefs.h <<_ACEOF
9899 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9906 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9907 case "x$with_xinput" in
9908 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9910 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9911 This is an error since --with-xinput was requested." >&5
9912 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9913 This is an error since --with-xinput was requested." >&2;}
9914 { (exit 1); exit 1; }; } ;;
9919 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9921 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9922 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9923 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9924 echo $ECHO_N "(cached) $ECHO_C" >&6
9926 ac_check_lib_save_LIBS=$LIBS
9927 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9928 cat >conftest.$ac_ext <<_ACEOF
9931 cat confdefs.h >>conftest.$ac_ext
9932 cat >>conftest.$ac_ext <<_ACEOF
9933 /* end confdefs.h. */
9935 /* Override any GCC internal prototype to avoid an error.
9936 Use char because int might match the return type of a GCC
9937 builtin and then its argument prototype would still apply. */
9941 char XShmQueryExtension ();
9945 return XShmQueryExtension ();
9950 rm -f conftest.$ac_objext conftest$ac_exeext
9951 if { (ac_try="$ac_link"
9953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9954 *) ac_try_echo=$ac_try;;
9956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9957 (eval "$ac_link") 2>conftest.er1
9959 grep -v '^ *+' conftest.er1 >conftest.err
9961 cat conftest.err >&5
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); } && {
9964 test -z "$ac_c_werror_flag" ||
9965 test ! -s conftest.err
9966 } && test -s conftest$ac_exeext &&
9967 $as_test_x conftest$ac_exeext; then
9968 ac_cv_lib_Xext_XShmQueryExtension=yes
9970 echo "$as_me: failed program was:" >&5
9971 sed 's/^/| /' conftest.$ac_ext >&5
9973 ac_cv_lib_Xext_XShmQueryExtension=no
9976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9977 conftest$ac_exeext conftest.$ac_ext
9978 LIBS=$ac_check_lib_save_LIBS
9980 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9981 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9982 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9984 cat >>confdefs.h <<\_ACEOF
9985 #define HAVE_LIBXXSHM 1
9991 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9992 case "x$with_xshm" in
9993 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9995 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9996 This is an error since --with-xshm was requested." >&5
9997 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9998 This is an error since --with-xshm was requested." >&2;}
9999 { (exit 1); exit 1; }; } ;;
10004 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10006 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10007 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10008 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10009 echo $ECHO_N "(cached) $ECHO_C" >&6
10011 ac_check_lib_save_LIBS=$LIBS
10012 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10013 cat >conftest.$ac_ext <<_ACEOF
10016 cat confdefs.h >>conftest.$ac_ext
10017 cat >>conftest.$ac_ext <<_ACEOF
10018 /* end confdefs.h. */
10020 /* Override any GCC internal prototype to avoid an error.
10021 Use char because int might match the return type of a GCC
10022 builtin and then its argument prototype would still apply. */
10026 char XShapeQueryExtension ();
10030 return XShapeQueryExtension ();
10035 rm -f conftest.$ac_objext conftest$ac_exeext
10036 if { (ac_try="$ac_link"
10037 case "(($ac_try" in
10038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10039 *) ac_try_echo=$ac_try;;
10041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10042 (eval "$ac_link") 2>conftest.er1
10044 grep -v '^ *+' conftest.er1 >conftest.err
10046 cat conftest.err >&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); } && {
10049 test -z "$ac_c_werror_flag" ||
10050 test ! -s conftest.err
10051 } && test -s conftest$ac_exeext &&
10052 $as_test_x conftest$ac_exeext; then
10053 ac_cv_lib_Xext_XShapeQueryExtension=yes
10055 echo "$as_me: failed program was:" >&5
10056 sed 's/^/| /' conftest.$ac_ext >&5
10058 ac_cv_lib_Xext_XShapeQueryExtension=no
10061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10062 conftest$ac_exeext conftest.$ac_ext
10063 LIBS=$ac_check_lib_save_LIBS
10065 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10066 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10067 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10069 cat >>confdefs.h <<\_ACEOF
10070 #define HAVE_LIBXSHAPE 1
10076 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10077 case "x$with_xshape" in
10078 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10080 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10081 This is an error since --with-xshape was requested." >&5
10082 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10083 This is an error since --with-xshape was requested." >&2;}
10084 { (exit 1); exit 1; }; } ;;
10089 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10091 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10092 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10093 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10094 echo $ECHO_N "(cached) $ECHO_C" >&6
10096 ac_check_lib_save_LIBS=$LIBS
10097 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10098 cat >conftest.$ac_ext <<_ACEOF
10101 cat confdefs.h >>conftest.$ac_ext
10102 cat >>conftest.$ac_ext <<_ACEOF
10103 /* end confdefs.h. */
10105 /* Override any GCC internal prototype to avoid an error.
10106 Use char because int might match the return type of a GCC
10107 builtin and then its argument prototype would still apply. */
10111 char XF86VidModeQueryExtension ();
10115 return XF86VidModeQueryExtension ();
10120 rm -f conftest.$ac_objext conftest$ac_exeext
10121 if { (ac_try="$ac_link"
10122 case "(($ac_try" in
10123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10124 *) ac_try_echo=$ac_try;;
10126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10127 (eval "$ac_link") 2>conftest.er1
10129 grep -v '^ *+' conftest.er1 >conftest.err
10131 cat conftest.err >&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); } && {
10134 test -z "$ac_c_werror_flag" ||
10135 test ! -s conftest.err
10136 } && test -s conftest$ac_exeext &&
10137 $as_test_x conftest$ac_exeext; then
10138 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10140 echo "$as_me: failed program was:" >&5
10141 sed 's/^/| /' conftest.$ac_ext >&5
10143 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10147 conftest$ac_exeext conftest.$ac_ext
10148 LIBS=$ac_check_lib_save_LIBS
10150 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10151 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10152 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10154 cat >>confdefs.h <<\_ACEOF
10155 #define HAVE_LIBXXF86VM 1
10158 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10163 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10164 case "x$with_xvidmode" in
10165 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10167 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10168 This is an error since --with-xvidmode was requested." >&5
10169 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10170 This is an error since --with-xvidmode was requested." >&2;}
10171 { (exit 1); exit 1; }; } ;;
10176 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"
10178 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10179 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10180 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10181 echo $ECHO_N "(cached) $ECHO_C" >&6
10183 ac_check_soname_save_LIBS=$LIBS
10184 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10185 cat >conftest.$ac_ext <<_ACEOF
10188 cat confdefs.h >>conftest.$ac_ext
10189 cat >>conftest.$ac_ext <<_ACEOF
10190 /* end confdefs.h. */
10192 /* Override any GCC internal prototype to avoid an error.
10193 Use char because int might match the return type of a GCC
10194 builtin and then its argument prototype would still apply. */
10198 char XRenderQueryExtension ();
10202 return XRenderQueryExtension ();
10207 rm -f conftest.$ac_objext conftest$ac_exeext
10208 if { (ac_try="$ac_link"
10209 case "(($ac_try" in
10210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10211 *) ac_try_echo=$ac_try;;
10213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10214 (eval "$ac_link") 2>conftest.er1
10216 grep -v '^ *+' conftest.er1 >conftest.err
10218 cat conftest.err >&5
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); } && {
10221 test -z "$ac_c_werror_flag" ||
10222 test ! -s conftest.err
10223 } && test -s conftest$ac_exeext &&
10224 $as_test_x conftest$ac_exeext; then
10227 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'` ;;
10228 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10231 echo "$as_me: failed program was:" >&5
10232 sed 's/^/| /' conftest.$ac_ext >&5
10237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10238 conftest$ac_exeext conftest.$ac_ext
10239 LIBS=$ac_check_soname_save_LIBS
10241 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10242 { echo "$as_me:$LINENO: result: not found" >&5
10243 echo "${ECHO_T}not found" >&6; }
10246 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10247 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10249 cat >>confdefs.h <<_ACEOF
10250 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10253 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10254 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10255 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10256 echo $ECHO_N "(cached) $ECHO_C" >&6
10258 ac_check_lib_save_LIBS=$LIBS
10259 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10260 cat >conftest.$ac_ext <<_ACEOF
10263 cat confdefs.h >>conftest.$ac_ext
10264 cat >>conftest.$ac_ext <<_ACEOF
10265 /* end confdefs.h. */
10267 /* Override any GCC internal prototype to avoid an error.
10268 Use char because int might match the return type of a GCC
10269 builtin and then its argument prototype would still apply. */
10273 char XRenderSetPictureTransform ();
10277 return XRenderSetPictureTransform ();
10282 rm -f conftest.$ac_objext conftest$ac_exeext
10283 if { (ac_try="$ac_link"
10284 case "(($ac_try" in
10285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10286 *) ac_try_echo=$ac_try;;
10288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10289 (eval "$ac_link") 2>conftest.er1
10291 grep -v '^ *+' conftest.er1 >conftest.err
10293 cat conftest.err >&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); } && {
10296 test -z "$ac_c_werror_flag" ||
10297 test ! -s conftest.err
10298 } && test -s conftest$ac_exeext &&
10299 $as_test_x conftest$ac_exeext; then
10300 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10302 echo "$as_me: failed program was:" >&5
10303 sed 's/^/| /' conftest.$ac_ext >&5
10305 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10309 conftest$ac_exeext conftest.$ac_ext
10310 LIBS=$ac_check_lib_save_LIBS
10312 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10313 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10314 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10316 cat >>confdefs.h <<\_ACEOF
10317 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10326 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10327 case "x$with_xrender" in
10328 x) wine_warnings="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10330 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10331 This is an error since --with-xrender was requested." >&5
10332 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10333 This is an error since --with-xrender was requested." >&2;}
10334 { (exit 1); exit 1; }; } ;;
10339 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10341 cat >conftest.$ac_ext <<_ACEOF
10344 cat confdefs.h >>conftest.$ac_ext
10345 cat >>conftest.$ac_ext <<_ACEOF
10346 /* end confdefs.h. */
10347 #include <X11/Xlib.h>
10348 #include <X11/extensions/Xrandr.h>
10352 static typeof(XRRSetScreenConfigAndRate) * func;
10357 rm -f conftest.$ac_objext
10358 if { (ac_try="$ac_compile"
10359 case "(($ac_try" in
10360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10361 *) ac_try_echo=$ac_try;;
10363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10364 (eval "$ac_compile") 2>conftest.er1
10366 grep -v '^ *+' conftest.er1 >conftest.err
10368 cat conftest.err >&5
10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); } && {
10371 test -z "$ac_c_werror_flag" ||
10372 test ! -s conftest.err
10373 } && test -s conftest.$ac_objext; then
10374 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10375 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10376 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10377 echo $ECHO_N "(cached) $ECHO_C" >&6
10379 ac_check_soname_save_LIBS=$LIBS
10380 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10381 cat >conftest.$ac_ext <<_ACEOF
10384 cat confdefs.h >>conftest.$ac_ext
10385 cat >>conftest.$ac_ext <<_ACEOF
10386 /* end confdefs.h. */
10388 /* Override any GCC internal prototype to avoid an error.
10389 Use char because int might match the return type of a GCC
10390 builtin and then its argument prototype would still apply. */
10394 char XRRQueryExtension ();
10398 return XRRQueryExtension ();
10403 rm -f conftest.$ac_objext conftest$ac_exeext
10404 if { (ac_try="$ac_link"
10405 case "(($ac_try" in
10406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10407 *) ac_try_echo=$ac_try;;
10409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10410 (eval "$ac_link") 2>conftest.er1
10412 grep -v '^ *+' conftest.er1 >conftest.err
10414 cat conftest.err >&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); } && {
10417 test -z "$ac_c_werror_flag" ||
10418 test ! -s conftest.err
10419 } && test -s conftest$ac_exeext &&
10420 $as_test_x conftest$ac_exeext; then
10423 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'` ;;
10424 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10427 echo "$as_me: failed program was:" >&5
10428 sed 's/^/| /' conftest.$ac_ext >&5
10433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10434 conftest$ac_exeext conftest.$ac_ext
10435 LIBS=$ac_check_soname_save_LIBS
10437 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10438 { echo "$as_me:$LINENO: result: not found" >&5
10439 echo "${ECHO_T}not found" >&6; }
10442 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10443 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10445 cat >>confdefs.h <<_ACEOF
10446 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10453 echo "$as_me: failed program was:" >&5
10454 sed 's/^/| /' conftest.$ac_ext >&5
10459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10461 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10462 case "x$with_xrandr" in
10463 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10465 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10466 This is an error since --with-xrandr was requested." >&5
10467 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10468 This is an error since --with-xrandr was requested." >&2;}
10469 { (exit 1); exit 1; }; } ;;
10474 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10476 cat >conftest.$ac_ext <<_ACEOF
10479 cat confdefs.h >>conftest.$ac_ext
10480 cat >>conftest.$ac_ext <<_ACEOF
10481 /* end confdefs.h. */
10482 #include <X11/Xlib.h>
10483 #include <X11/extensions/Xinerama.h>
10487 static typeof(XineramaQueryScreens) * func;
10492 rm -f conftest.$ac_objext
10493 if { (ac_try="$ac_compile"
10494 case "(($ac_try" in
10495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10496 *) ac_try_echo=$ac_try;;
10498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10499 (eval "$ac_compile") 2>conftest.er1
10501 grep -v '^ *+' conftest.er1 >conftest.err
10503 cat conftest.err >&5
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); } && {
10506 test -z "$ac_c_werror_flag" ||
10507 test ! -s conftest.err
10508 } && test -s conftest.$ac_objext; then
10509 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10510 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10511 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10512 echo $ECHO_N "(cached) $ECHO_C" >&6
10514 ac_check_soname_save_LIBS=$LIBS
10515 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10516 cat >conftest.$ac_ext <<_ACEOF
10519 cat confdefs.h >>conftest.$ac_ext
10520 cat >>conftest.$ac_ext <<_ACEOF
10521 /* end confdefs.h. */
10523 /* Override any GCC internal prototype to avoid an error.
10524 Use char because int might match the return type of a GCC
10525 builtin and then its argument prototype would still apply. */
10529 char XineramaQueryScreens ();
10533 return XineramaQueryScreens ();
10538 rm -f conftest.$ac_objext conftest$ac_exeext
10539 if { (ac_try="$ac_link"
10540 case "(($ac_try" in
10541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10542 *) ac_try_echo=$ac_try;;
10544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10545 (eval "$ac_link") 2>conftest.er1
10547 grep -v '^ *+' conftest.er1 >conftest.err
10549 cat conftest.err >&5
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); } && {
10552 test -z "$ac_c_werror_flag" ||
10553 test ! -s conftest.err
10554 } && test -s conftest$ac_exeext &&
10555 $as_test_x conftest$ac_exeext; then
10558 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'` ;;
10559 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10562 echo "$as_me: failed program was:" >&5
10563 sed 's/^/| /' conftest.$ac_ext >&5
10568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10569 conftest$ac_exeext conftest.$ac_ext
10570 LIBS=$ac_check_soname_save_LIBS
10572 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10573 { echo "$as_me:$LINENO: result: not found" >&5
10574 echo "${ECHO_T}not found" >&6; }
10577 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10578 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10580 cat >>confdefs.h <<_ACEOF
10581 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10588 echo "$as_me: failed program was:" >&5
10589 sed 's/^/| /' conftest.$ac_ext >&5
10594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10596 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10597 case "x$with_xinerama" in
10598 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10600 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10601 This is an error since --with-xinerama was requested." >&5
10602 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10603 This is an error since --with-xinerama was requested." >&2;}
10604 { (exit 1); exit 1; }; } ;;
10609 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10611 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10612 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10613 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10614 echo $ECHO_N "(cached) $ECHO_C" >&6
10616 ac_check_soname_save_LIBS=$LIBS
10617 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10618 cat >conftest.$ac_ext <<_ACEOF
10621 cat confdefs.h >>conftest.$ac_ext
10622 cat >>conftest.$ac_ext <<_ACEOF
10623 /* end confdefs.h. */
10625 /* Override any GCC internal prototype to avoid an error.
10626 Use char because int might match the return type of a GCC
10627 builtin and then its argument prototype would still apply. */
10631 char XCompositeRedirectWindow ();
10635 return XCompositeRedirectWindow ();
10640 rm -f conftest.$ac_objext conftest$ac_exeext
10641 if { (ac_try="$ac_link"
10642 case "(($ac_try" in
10643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10644 *) ac_try_echo=$ac_try;;
10646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10647 (eval "$ac_link") 2>conftest.er1
10649 grep -v '^ *+' conftest.er1 >conftest.err
10651 cat conftest.err >&5
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); } && {
10654 test -z "$ac_c_werror_flag" ||
10655 test ! -s conftest.err
10656 } && test -s conftest$ac_exeext &&
10657 $as_test_x conftest$ac_exeext; then
10660 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'` ;;
10661 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10664 echo "$as_me: failed program was:" >&5
10665 sed 's/^/| /' conftest.$ac_ext >&5
10670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10671 conftest$ac_exeext conftest.$ac_ext
10672 LIBS=$ac_check_soname_save_LIBS
10674 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10675 { echo "$as_me:$LINENO: result: not found" >&5
10676 echo "${ECHO_T}not found" >&6; }
10679 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10680 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10682 cat >>confdefs.h <<_ACEOF
10683 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10690 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10691 case "x$with_xcomposite" in
10692 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10694 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10695 This is an error since --with-xcomposite was requested." >&5
10696 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10697 This is an error since --with-xcomposite was requested." >&2;}
10698 { (exit 1); exit 1; }; } ;;
10703 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10704 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10705 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10706 echo $ECHO_N "(cached) $ECHO_C" >&6
10708 cat >conftest.$ac_ext <<_ACEOF
10711 cat confdefs.h >>conftest.$ac_ext
10712 cat >>conftest.$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10714 #ifdef HAVE_X11_XLIB_H
10715 #include <X11/Xlib.h>
10721 static XICCallback ac_aggr;
10722 if (ac_aggr.callback)
10728 rm -f conftest.$ac_objext
10729 if { (ac_try="$ac_compile"
10730 case "(($ac_try" in
10731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10732 *) ac_try_echo=$ac_try;;
10734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10735 (eval "$ac_compile") 2>conftest.er1
10737 grep -v '^ *+' conftest.er1 >conftest.err
10739 cat conftest.err >&5
10740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10741 (exit $ac_status); } && {
10742 test -z "$ac_c_werror_flag" ||
10743 test ! -s conftest.err
10744 } && test -s conftest.$ac_objext; then
10745 ac_cv_member_XICCallback_callback=yes
10747 echo "$as_me: failed program was:" >&5
10748 sed 's/^/| /' conftest.$ac_ext >&5
10750 cat >conftest.$ac_ext <<_ACEOF
10753 cat confdefs.h >>conftest.$ac_ext
10754 cat >>conftest.$ac_ext <<_ACEOF
10755 /* end confdefs.h. */
10756 #ifdef HAVE_X11_XLIB_H
10757 #include <X11/Xlib.h>
10763 static XICCallback ac_aggr;
10764 if (sizeof ac_aggr.callback)
10770 rm -f conftest.$ac_objext
10771 if { (ac_try="$ac_compile"
10772 case "(($ac_try" in
10773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10774 *) ac_try_echo=$ac_try;;
10776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10777 (eval "$ac_compile") 2>conftest.er1
10779 grep -v '^ *+' conftest.er1 >conftest.err
10781 cat conftest.err >&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); } && {
10784 test -z "$ac_c_werror_flag" ||
10785 test ! -s conftest.err
10786 } && test -s conftest.$ac_objext; then
10787 ac_cv_member_XICCallback_callback=yes
10789 echo "$as_me: failed program was:" >&5
10790 sed 's/^/| /' conftest.$ac_ext >&5
10792 ac_cv_member_XICCallback_callback=no
10795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10800 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10801 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10802 if test $ac_cv_member_XICCallback_callback = yes; then
10804 cat >>confdefs.h <<_ACEOF
10805 #define HAVE_XICCALLBACK_CALLBACK 1
10814 if test "x$with_opengl" != "xno"
10820 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10822 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10823 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10825 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10826 echo $ECHO_N "(cached) $ECHO_C" >&6
10828 cat >conftest.$ac_ext <<_ACEOF
10831 cat confdefs.h >>conftest.$ac_ext
10832 cat >>conftest.$ac_ext <<_ACEOF
10833 /* end confdefs.h. */
10834 #ifdef HAVE_GL_GLX_H
10835 # include <GL/glx.h>
10838 #include <$ac_header>
10840 rm -f conftest.$ac_objext
10841 if { (ac_try="$ac_compile"
10842 case "(($ac_try" in
10843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10844 *) ac_try_echo=$ac_try;;
10846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10847 (eval "$ac_compile") 2>conftest.er1
10849 grep -v '^ *+' conftest.er1 >conftest.err
10851 cat conftest.err >&5
10852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10853 (exit $ac_status); } && {
10854 test -z "$ac_c_werror_flag" ||
10855 test ! -s conftest.err
10856 } && test -s conftest.$ac_objext; then
10857 eval "$as_ac_Header=yes"
10859 echo "$as_me: failed program was:" >&5
10860 sed 's/^/| /' conftest.$ac_ext >&5
10862 eval "$as_ac_Header=no"
10865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10867 ac_res=`eval echo '${'$as_ac_Header'}'`
10868 { echo "$as_me:$LINENO: result: $ac_res" >&5
10869 echo "${ECHO_T}$ac_res" >&6; }
10870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10871 cat >>confdefs.h <<_ACEOF
10872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10879 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10881 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10882 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10883 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10884 echo $ECHO_N "(cached) $ECHO_C" >&6
10886 cat >conftest.$ac_ext <<_ACEOF
10889 cat confdefs.h >>conftest.$ac_ext
10890 cat >>conftest.$ac_ext <<_ACEOF
10891 /* end confdefs.h. */
10896 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10901 rm -f conftest.$ac_objext
10902 if { (ac_try="$ac_compile"
10903 case "(($ac_try" in
10904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10905 *) ac_try_echo=$ac_try;;
10907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10908 (eval "$ac_compile") 2>conftest.er1
10910 grep -v '^ *+' conftest.er1 >conftest.err
10912 cat conftest.err >&5
10913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10914 (exit $ac_status); } && {
10915 test -z "$ac_c_werror_flag" ||
10916 test ! -s conftest.err
10917 } && test -s conftest.$ac_objext; then
10918 wine_cv_opengl_header_version_OK="yes"
10920 echo "$as_me: failed program was:" >&5
10921 sed 's/^/| /' conftest.$ac_ext >&5
10923 wine_cv_opengl_header_version_OK="no"
10926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10928 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10929 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10931 if test "$wine_cv_opengl_header_version_OK" = "yes"
10933 { echo "$as_me:$LINENO: checking for -lGL" >&5
10934 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10935 if test "${ac_cv_lib_soname_GL+set}" = set; then
10936 echo $ECHO_N "(cached) $ECHO_C" >&6
10938 ac_check_soname_save_LIBS=$LIBS
10939 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10940 cat >conftest.$ac_ext <<_ACEOF
10943 cat confdefs.h >>conftest.$ac_ext
10944 cat >>conftest.$ac_ext <<_ACEOF
10945 /* end confdefs.h. */
10947 /* Override any GCC internal prototype to avoid an error.
10948 Use char because int might match the return type of a GCC
10949 builtin and then its argument prototype would still apply. */
10953 char glXCreateContext ();
10957 return glXCreateContext ();
10962 rm -f conftest.$ac_objext conftest$ac_exeext
10963 if { (ac_try="$ac_link"
10964 case "(($ac_try" in
10965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10966 *) ac_try_echo=$ac_try;;
10968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10969 (eval "$ac_link") 2>conftest.er1
10971 grep -v '^ *+' conftest.er1 >conftest.err
10973 cat conftest.err >&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); } && {
10976 test -z "$ac_c_werror_flag" ||
10977 test ! -s conftest.err
10978 } && test -s conftest$ac_exeext &&
10979 $as_test_x conftest$ac_exeext; then
10982 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'` ;;
10983 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10986 echo "$as_me: failed program was:" >&5
10987 sed 's/^/| /' conftest.$ac_ext >&5
10992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10993 conftest$ac_exeext conftest.$ac_ext
10994 LIBS=$ac_check_soname_save_LIBS
10996 if test "x$ac_cv_lib_soname_GL" = "x"; then
10997 { echo "$as_me:$LINENO: result: not found" >&5
10998 echo "${ECHO_T}not found" >&6; }
10999 { echo "$as_me:$LINENO: checking for -lGL" >&5
11000 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11001 if test "${ac_cv_lib_soname_GL+set}" = set; then
11002 echo $ECHO_N "(cached) $ECHO_C" >&6
11004 ac_check_soname_save_LIBS=$LIBS
11005 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"
11006 cat >conftest.$ac_ext <<_ACEOF
11009 cat confdefs.h >>conftest.$ac_ext
11010 cat >>conftest.$ac_ext <<_ACEOF
11011 /* end confdefs.h. */
11013 /* Override any GCC internal prototype to avoid an error.
11014 Use char because int might match the return type of a GCC
11015 builtin and then its argument prototype would still apply. */
11019 char glXCreateContext ();
11023 return glXCreateContext ();
11028 rm -f conftest.$ac_objext conftest$ac_exeext
11029 if { (ac_try="$ac_link"
11030 case "(($ac_try" in
11031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11032 *) ac_try_echo=$ac_try;;
11034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11035 (eval "$ac_link") 2>conftest.er1
11037 grep -v '^ *+' conftest.er1 >conftest.err
11039 cat conftest.err >&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); } && {
11042 test -z "$ac_c_werror_flag" ||
11043 test ! -s conftest.err
11044 } && test -s conftest$ac_exeext &&
11045 $as_test_x conftest$ac_exeext; then
11048 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'` ;;
11049 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11052 echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.$ac_ext >&5
11058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11059 conftest$ac_exeext conftest.$ac_ext
11060 LIBS=$ac_check_soname_save_LIBS
11062 if test "x$ac_cv_lib_soname_GL" = "x"; then
11063 { echo "$as_me:$LINENO: result: not found" >&5
11064 echo "${ECHO_T}not found" >&6; }
11065 if test -f /usr/X11R6/lib/libGL.a
11067 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11068 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11070 opengl_msg="No OpenGL library found on this system."
11073 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11074 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11076 cat >>confdefs.h <<_ACEOF
11077 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11080 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"
11081 OPENGLFILES='$(OPENGLFILES)'
11083 cat >>confdefs.h <<\_ACEOF
11084 #define HAVE_OPENGL 1
11090 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11091 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11093 cat >>confdefs.h <<_ACEOF
11094 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11098 OPENGLFILES='$(OPENGLFILES)'
11100 cat >>confdefs.h <<\_ACEOF
11101 #define HAVE_OPENGL 1
11106 if test "$ac_cv_header_GL_glu_h" = "yes"
11108 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11109 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11110 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11111 echo $ECHO_N "(cached) $ECHO_C" >&6
11113 ac_check_soname_save_LIBS=$LIBS
11114 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11115 cat >conftest.$ac_ext <<_ACEOF
11118 cat confdefs.h >>conftest.$ac_ext
11119 cat >>conftest.$ac_ext <<_ACEOF
11120 /* end confdefs.h. */
11122 /* Override any GCC internal prototype to avoid an error.
11123 Use char because int might match the return type of a GCC
11124 builtin and then its argument prototype would still apply. */
11132 return gluLookAt ();
11137 rm -f conftest.$ac_objext conftest$ac_exeext
11138 if { (ac_try="$ac_link"
11139 case "(($ac_try" in
11140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11141 *) ac_try_echo=$ac_try;;
11143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11144 (eval "$ac_link") 2>conftest.er1
11146 grep -v '^ *+' conftest.er1 >conftest.err
11148 cat conftest.err >&5
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); } && {
11151 test -z "$ac_c_werror_flag" ||
11152 test ! -s conftest.err
11153 } && test -s conftest$ac_exeext &&
11154 $as_test_x conftest$ac_exeext; then
11157 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'` ;;
11158 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11161 echo "$as_me: failed program was:" >&5
11162 sed 's/^/| /' conftest.$ac_ext >&5
11167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11168 conftest$ac_exeext conftest.$ac_ext
11169 LIBS=$ac_check_soname_save_LIBS
11171 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11172 { echo "$as_me:$LINENO: result: not found" >&5
11173 echo "${ECHO_T}not found" >&6; }
11176 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11177 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11179 cat >>confdefs.h <<_ACEOF
11180 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11183 GLU32FILES='$(GLU32FILES)'
11187 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11188 case "x$with_glu" in
11189 x) wine_notices="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11191 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11192 This is an error since --with-glu was requested." >&5
11193 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11194 This is an error since --with-glu was requested." >&2;}
11195 { (exit 1); exit 1; }; } ;;
11200 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11203 opengl_msg="OpenGL development headers not found."
11206 if test -n "$opengl_msg"; then
11207 case "x$with_opengl" in
11208 x) wine_warnings="$wine_warnings|$opengl_msg
11209 OpenGL and Direct3D won't be supported." ;;
11211 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11212 OpenGL and Direct3D won't be supported.
11213 This is an error since --with-opengl was requested." >&5
11214 echo "$as_me: error: $opengl_msg
11215 OpenGL and Direct3D won't be supported.
11216 This is an error since --with-opengl was requested." >&2;}
11217 { (exit 1); exit 1; }; } ;;
11225 for ac_header in audio/audiolib.h
11227 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11229 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11231 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11232 echo $ECHO_N "(cached) $ECHO_C" >&6
11234 ac_res=`eval echo '${'$as_ac_Header'}'`
11235 { echo "$as_me:$LINENO: result: $ac_res" >&5
11236 echo "${ECHO_T}$ac_res" >&6; }
11238 # Is the header compilable?
11239 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11240 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11241 cat >conftest.$ac_ext <<_ACEOF
11244 cat confdefs.h >>conftest.$ac_ext
11245 cat >>conftest.$ac_ext <<_ACEOF
11246 /* end confdefs.h. */
11247 $ac_includes_default
11248 #include <$ac_header>
11250 rm -f conftest.$ac_objext
11251 if { (ac_try="$ac_compile"
11252 case "(($ac_try" in
11253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11254 *) ac_try_echo=$ac_try;;
11256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11257 (eval "$ac_compile") 2>conftest.er1
11259 grep -v '^ *+' conftest.er1 >conftest.err
11261 cat conftest.err >&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); } && {
11264 test -z "$ac_c_werror_flag" ||
11265 test ! -s conftest.err
11266 } && test -s conftest.$ac_objext; then
11267 ac_header_compiler=yes
11269 echo "$as_me: failed program was:" >&5
11270 sed 's/^/| /' conftest.$ac_ext >&5
11272 ac_header_compiler=no
11275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11276 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11277 echo "${ECHO_T}$ac_header_compiler" >&6; }
11279 # Is the header present?
11280 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11282 cat >conftest.$ac_ext <<_ACEOF
11285 cat confdefs.h >>conftest.$ac_ext
11286 cat >>conftest.$ac_ext <<_ACEOF
11287 /* end confdefs.h. */
11288 #include <$ac_header>
11290 if { (ac_try="$ac_cpp conftest.$ac_ext"
11291 case "(($ac_try" in
11292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11293 *) ac_try_echo=$ac_try;;
11295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11296 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11298 grep -v '^ *+' conftest.er1 >conftest.err
11300 cat conftest.err >&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); } >/dev/null && {
11303 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11304 test ! -s conftest.err
11306 ac_header_preproc=yes
11308 echo "$as_me: failed program was:" >&5
11309 sed 's/^/| /' conftest.$ac_ext >&5
11311 ac_header_preproc=no
11314 rm -f conftest.err conftest.$ac_ext
11315 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11316 echo "${ECHO_T}$ac_header_preproc" >&6; }
11318 # So? What about this header?
11319 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11321 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11322 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11324 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11325 ac_header_preproc=yes
11328 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11329 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11330 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11331 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11332 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11333 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11334 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11335 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11337 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11338 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11339 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11341 ## ------------------------------------ ##
11342 ## Report this to wine-devel@winehq.org ##
11343 ## ------------------------------------ ##
11345 ) | sed "s/^/$as_me: WARNING: /" >&2
11348 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11351 echo $ECHO_N "(cached) $ECHO_C" >&6
11353 eval "$as_ac_Header=\$ac_header_preproc"
11355 ac_res=`eval echo '${'$as_ac_Header'}'`
11356 { echo "$as_me:$LINENO: result: $ac_res" >&5
11357 echo "${ECHO_T}$ac_res" >&6; }
11360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11361 cat >>confdefs.h <<_ACEOF
11362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11365 for ac_header in audio/soundlib.h
11367 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11368 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11373 cat >conftest.$ac_ext <<_ACEOF
11376 cat confdefs.h >>conftest.$ac_ext
11377 cat >>conftest.$ac_ext <<_ACEOF
11378 /* end confdefs.h. */
11379 #include <audio/audiolib.h>
11381 #include <$ac_header>
11383 rm -f conftest.$ac_objext
11384 if { (ac_try="$ac_compile"
11385 case "(($ac_try" in
11386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11387 *) ac_try_echo=$ac_try;;
11389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11390 (eval "$ac_compile") 2>conftest.er1
11392 grep -v '^ *+' conftest.er1 >conftest.err
11394 cat conftest.err >&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } && {
11397 test -z "$ac_c_werror_flag" ||
11398 test ! -s conftest.err
11399 } && test -s conftest.$ac_objext; then
11400 eval "$as_ac_Header=yes"
11402 echo "$as_me: failed program was:" >&5
11403 sed 's/^/| /' conftest.$ac_ext >&5
11405 eval "$as_ac_Header=no"
11408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11410 ac_res=`eval echo '${'$as_ac_Header'}'`
11411 { echo "$as_me:$LINENO: result: $ac_res" >&5
11412 echo "${ECHO_T}$ac_res" >&6; }
11413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11414 cat >>confdefs.h <<_ACEOF
11415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11422 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11423 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11424 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11425 echo $ECHO_N "(cached) $ECHO_C" >&6
11427 ac_check_lib_save_LIBS=$LIBS
11428 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11429 cat >conftest.$ac_ext <<_ACEOF
11432 cat confdefs.h >>conftest.$ac_ext
11433 cat >>conftest.$ac_ext <<_ACEOF
11434 /* end confdefs.h. */
11436 /* Override any GCC internal prototype to avoid an error.
11437 Use char because int might match the return type of a GCC
11438 builtin and then its argument prototype would still apply. */
11442 char AuCreateFlow ();
11446 return AuCreateFlow ();
11451 rm -f conftest.$ac_objext conftest$ac_exeext
11452 if { (ac_try="$ac_link"
11453 case "(($ac_try" in
11454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11455 *) ac_try_echo=$ac_try;;
11457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11458 (eval "$ac_link") 2>conftest.er1
11460 grep -v '^ *+' conftest.er1 >conftest.err
11462 cat conftest.err >&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); } && {
11465 test -z "$ac_c_werror_flag" ||
11466 test ! -s conftest.err
11467 } && test -s conftest$ac_exeext &&
11468 $as_test_x conftest$ac_exeext; then
11469 ac_cv_lib_audio_AuCreateFlow=yes
11471 echo "$as_me: failed program was:" >&5
11472 sed 's/^/| /' conftest.$ac_ext >&5
11474 ac_cv_lib_audio_AuCreateFlow=no
11477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11478 conftest$ac_exeext conftest.$ac_ext
11479 LIBS=$ac_check_lib_save_LIBS
11481 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11482 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11483 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11485 cat >>confdefs.h <<\_ACEOF
11489 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11490 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11491 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11492 echo $ECHO_N "(cached) $ECHO_C" >&6
11494 ac_check_lib_save_LIBS=$LIBS
11495 LIBS="-lXau $X_LIBS $LIBS"
11496 cat >conftest.$ac_ext <<_ACEOF
11499 cat confdefs.h >>conftest.$ac_ext
11500 cat >>conftest.$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11503 /* Override any GCC internal prototype to avoid an error.
11504 Use char because int might match the return type of a GCC
11505 builtin and then its argument prototype would still apply. */
11509 char XauGetBestAuthByAddr ();
11513 return XauGetBestAuthByAddr ();
11518 rm -f conftest.$ac_objext conftest$ac_exeext
11519 if { (ac_try="$ac_link"
11520 case "(($ac_try" in
11521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11522 *) ac_try_echo=$ac_try;;
11524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11525 (eval "$ac_link") 2>conftest.er1
11527 grep -v '^ *+' conftest.er1 >conftest.err
11529 cat conftest.err >&5
11530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); } && {
11532 test -z "$ac_c_werror_flag" ||
11533 test ! -s conftest.err
11534 } && test -s conftest$ac_exeext &&
11535 $as_test_x conftest$ac_exeext; then
11536 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11538 echo "$as_me: failed program was:" >&5
11539 sed 's/^/| /' conftest.$ac_ext >&5
11541 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11545 conftest$ac_exeext conftest.$ac_ext
11546 LIBS=$ac_check_lib_save_LIBS
11548 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11549 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11550 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11551 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11553 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11564 CPPFLAGS="$ac_save_CPPFLAGS"
11571 if test "x$XLIB" = "x"; then
11574 *) { { echo "$as_me:$LINENO: 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 Use the --without-x option if you really want this." >&5
11578 echo "$as_me: error: X development files not found. Wine will be built
11579 without X support, which probably isn't what you want. You will need to install
11580 development packages of Xlib/Xfree86 at the very least.
11581 Use the --without-x option if you really want this." >&2;}
11582 { (exit 1); exit 1; }; } ;;
11596 if test "x$with_xml" != "xno"
11598 ac_save_CPPFLAGS="$CPPFLAGS"
11599 if test "$PKG_CONFIG" != "false"
11601 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11602 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11604 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11605 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11607 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11609 for ac_header in libxml/parser.h
11611 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11613 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11616 echo $ECHO_N "(cached) $ECHO_C" >&6
11618 ac_res=`eval echo '${'$as_ac_Header'}'`
11619 { echo "$as_me:$LINENO: result: $ac_res" >&5
11620 echo "${ECHO_T}$ac_res" >&6; }
11622 # Is the header compilable?
11623 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11625 cat >conftest.$ac_ext <<_ACEOF
11628 cat confdefs.h >>conftest.$ac_ext
11629 cat >>conftest.$ac_ext <<_ACEOF
11630 /* end confdefs.h. */
11631 $ac_includes_default
11632 #include <$ac_header>
11634 rm -f conftest.$ac_objext
11635 if { (ac_try="$ac_compile"
11636 case "(($ac_try" in
11637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11638 *) ac_try_echo=$ac_try;;
11640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11641 (eval "$ac_compile") 2>conftest.er1
11643 grep -v '^ *+' conftest.er1 >conftest.err
11645 cat conftest.err >&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); } && {
11648 test -z "$ac_c_werror_flag" ||
11649 test ! -s conftest.err
11650 } && test -s conftest.$ac_objext; then
11651 ac_header_compiler=yes
11653 echo "$as_me: failed program was:" >&5
11654 sed 's/^/| /' conftest.$ac_ext >&5
11656 ac_header_compiler=no
11659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11660 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11661 echo "${ECHO_T}$ac_header_compiler" >&6; }
11663 # Is the header present?
11664 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11666 cat >conftest.$ac_ext <<_ACEOF
11669 cat confdefs.h >>conftest.$ac_ext
11670 cat >>conftest.$ac_ext <<_ACEOF
11671 /* end confdefs.h. */
11672 #include <$ac_header>
11674 if { (ac_try="$ac_cpp conftest.$ac_ext"
11675 case "(($ac_try" in
11676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11677 *) ac_try_echo=$ac_try;;
11679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11680 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11682 grep -v '^ *+' conftest.er1 >conftest.err
11684 cat conftest.err >&5
11685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11686 (exit $ac_status); } >/dev/null && {
11687 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11688 test ! -s conftest.err
11690 ac_header_preproc=yes
11692 echo "$as_me: failed program was:" >&5
11693 sed 's/^/| /' conftest.$ac_ext >&5
11695 ac_header_preproc=no
11698 rm -f conftest.err conftest.$ac_ext
11699 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11700 echo "${ECHO_T}$ac_header_preproc" >&6; }
11702 # So? What about this header?
11703 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11705 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11706 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11708 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11709 ac_header_preproc=yes
11712 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11713 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11714 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11715 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11716 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11717 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11718 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11719 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11722 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11723 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11725 ## ------------------------------------ ##
11726 ## Report this to wine-devel@winehq.org ##
11727 ## ------------------------------------ ##
11729 ) | sed "s/^/$as_me: WARNING: /" >&2
11732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11735 echo $ECHO_N "(cached) $ECHO_C" >&6
11737 eval "$as_ac_Header=\$ac_header_preproc"
11739 ac_res=`eval echo '${'$as_ac_Header'}'`
11740 { echo "$as_me:$LINENO: result: $ac_res" >&5
11741 echo "${ECHO_T}$ac_res" >&6; }
11744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11745 cat >>confdefs.h <<_ACEOF
11746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11748 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11749 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11750 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11751 echo $ECHO_N "(cached) $ECHO_C" >&6
11753 ac_check_lib_save_LIBS=$LIBS
11754 LIBS="-lxml2 $ac_xml_libs $LIBS"
11755 cat >conftest.$ac_ext <<_ACEOF
11758 cat confdefs.h >>conftest.$ac_ext
11759 cat >>conftest.$ac_ext <<_ACEOF
11760 /* end confdefs.h. */
11762 /* Override any GCC internal prototype to avoid an error.
11763 Use char because int might match the return type of a GCC
11764 builtin and then its argument prototype would still apply. */
11768 char xmlParseMemory ();
11772 return xmlParseMemory ();
11777 rm -f conftest.$ac_objext conftest$ac_exeext
11778 if { (ac_try="$ac_link"
11779 case "(($ac_try" in
11780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11781 *) ac_try_echo=$ac_try;;
11783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11784 (eval "$ac_link") 2>conftest.er1
11786 grep -v '^ *+' conftest.er1 >conftest.err
11788 cat conftest.err >&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); } && {
11791 test -z "$ac_c_werror_flag" ||
11792 test ! -s conftest.err
11793 } && test -s conftest$ac_exeext &&
11794 $as_test_x conftest$ac_exeext; then
11795 ac_cv_lib_xml2_xmlParseMemory=yes
11797 echo "$as_me: failed program was:" >&5
11798 sed 's/^/| /' conftest.$ac_ext >&5
11800 ac_cv_lib_xml2_xmlParseMemory=no
11803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11804 conftest$ac_exeext conftest.$ac_ext
11805 LIBS=$ac_check_lib_save_LIBS
11807 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11808 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11809 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11811 cat >>confdefs.h <<\_ACEOF
11812 #define HAVE_LIBXML2 1
11815 XML2LIBS="$ac_xml_libs"
11816 XML2INCL="$ac_xml_cflags"
11819 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11820 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11821 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11822 echo $ECHO_N "(cached) $ECHO_C" >&6
11824 ac_check_lib_save_LIBS=$LIBS
11825 LIBS="-lxml2 $ac_xml_libs $LIBS"
11826 cat >conftest.$ac_ext <<_ACEOF
11829 cat confdefs.h >>conftest.$ac_ext
11830 cat >>conftest.$ac_ext <<_ACEOF
11831 /* end confdefs.h. */
11833 /* Override any GCC internal prototype to avoid an error.
11834 Use char because int might match the return type of a GCC
11835 builtin and then its argument prototype would still apply. */
11839 char xmlReadMemory ();
11843 return xmlReadMemory ();
11848 rm -f conftest.$ac_objext conftest$ac_exeext
11849 if { (ac_try="$ac_link"
11850 case "(($ac_try" in
11851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11852 *) ac_try_echo=$ac_try;;
11854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11855 (eval "$ac_link") 2>conftest.er1
11857 grep -v '^ *+' conftest.er1 >conftest.err
11859 cat conftest.err >&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); } && {
11862 test -z "$ac_c_werror_flag" ||
11863 test ! -s conftest.err
11864 } && test -s conftest$ac_exeext &&
11865 $as_test_x conftest$ac_exeext; then
11866 ac_cv_lib_xml2_xmlReadMemory=yes
11868 echo "$as_me: failed program was:" >&5
11869 sed 's/^/| /' conftest.$ac_ext >&5
11871 ac_cv_lib_xml2_xmlReadMemory=no
11874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11875 conftest$ac_exeext conftest.$ac_ext
11876 LIBS=$ac_check_lib_save_LIBS
11878 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11879 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11880 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11882 cat >>confdefs.h <<\_ACEOF
11883 #define HAVE_XMLREADMEMORY 1
11888 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11889 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11890 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11891 echo $ECHO_N "(cached) $ECHO_C" >&6
11893 ac_check_lib_save_LIBS=$LIBS
11894 LIBS="-lxml2 $ac_xml_libs $LIBS"
11895 cat >conftest.$ac_ext <<_ACEOF
11898 cat confdefs.h >>conftest.$ac_ext
11899 cat >>conftest.$ac_ext <<_ACEOF
11900 /* end confdefs.h. */
11902 /* Override any GCC internal prototype to avoid an error.
11903 Use char because int might match the return type of a GCC
11904 builtin and then its argument prototype would still apply. */
11908 char xmlNewDocPI ();
11912 return xmlNewDocPI ();
11917 rm -f conftest.$ac_objext conftest$ac_exeext
11918 if { (ac_try="$ac_link"
11919 case "(($ac_try" in
11920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11921 *) ac_try_echo=$ac_try;;
11923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11924 (eval "$ac_link") 2>conftest.er1
11926 grep -v '^ *+' conftest.er1 >conftest.err
11928 cat conftest.err >&5
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); } && {
11931 test -z "$ac_c_werror_flag" ||
11932 test ! -s conftest.err
11933 } && test -s conftest$ac_exeext &&
11934 $as_test_x conftest$ac_exeext; then
11935 ac_cv_lib_xml2_xmlNewDocPI=yes
11937 echo "$as_me: failed program was:" >&5
11938 sed 's/^/| /' conftest.$ac_ext >&5
11940 ac_cv_lib_xml2_xmlNewDocPI=no
11943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11944 conftest$ac_exeext conftest.$ac_ext
11945 LIBS=$ac_check_lib_save_LIBS
11947 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11948 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11949 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11951 cat >>confdefs.h <<\_ACEOF
11952 #define HAVE_XMLNEWDOCPI 1
11962 CPPFLAGS="$ac_save_CPPFLAGS"
11964 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11965 case "x$with_xml" in
11966 x) wine_warnings="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
11968 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11969 This is an error since --with-xml was requested." >&5
11970 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11971 This is an error since --with-xml was requested." >&2;}
11972 { (exit 1); exit 1; }; } ;;
11977 if test "x$with_xslt" != "xno"
11979 if test "$PKG_CONFIG" != "false"
11981 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11982 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11984 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11985 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11987 ac_save_CPPFLAGS="$CPPFLAGS"
11988 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11991 for ac_header in libxslt/pattern.h libxslt/transform.h
11993 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11994 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11997 echo $ECHO_N "(cached) $ECHO_C" >&6
11999 cat >conftest.$ac_ext <<_ACEOF
12002 cat confdefs.h >>conftest.$ac_ext
12003 cat >>conftest.$ac_ext <<_ACEOF
12004 /* end confdefs.h. */
12005 #ifdef HAVE_LIBXSLT_PATTERN_H
12006 # include <libxslt/pattern.h>
12009 #include <$ac_header>
12011 rm -f conftest.$ac_objext
12012 if { (ac_try="$ac_compile"
12013 case "(($ac_try" in
12014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12015 *) ac_try_echo=$ac_try;;
12017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12018 (eval "$ac_compile") 2>conftest.er1
12020 grep -v '^ *+' conftest.er1 >conftest.err
12022 cat conftest.err >&5
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); } && {
12025 test -z "$ac_c_werror_flag" ||
12026 test ! -s conftest.err
12027 } && test -s conftest.$ac_objext; then
12028 eval "$as_ac_Header=yes"
12030 echo "$as_me: failed program was:" >&5
12031 sed 's/^/| /' conftest.$ac_ext >&5
12033 eval "$as_ac_Header=no"
12036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12038 ac_res=`eval echo '${'$as_ac_Header'}'`
12039 { echo "$as_me:$LINENO: result: $ac_res" >&5
12040 echo "${ECHO_T}$ac_res" >&6; }
12041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12042 cat >>confdefs.h <<_ACEOF
12043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12050 CPPFLAGS="$ac_save_CPPFLAGS"
12051 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12053 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12054 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12055 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12056 echo $ECHO_N "(cached) $ECHO_C" >&6
12058 ac_check_lib_save_LIBS=$LIBS
12059 LIBS="-lxslt $ac_xslt_libs $LIBS"
12060 cat >conftest.$ac_ext <<_ACEOF
12063 cat confdefs.h >>conftest.$ac_ext
12064 cat >>conftest.$ac_ext <<_ACEOF
12065 /* end confdefs.h. */
12067 /* Override any GCC internal prototype to avoid an error.
12068 Use char because int might match the return type of a GCC
12069 builtin and then its argument prototype would still apply. */
12073 char xsltCompilePattern ();
12077 return xsltCompilePattern ();
12082 rm -f conftest.$ac_objext conftest$ac_exeext
12083 if { (ac_try="$ac_link"
12084 case "(($ac_try" in
12085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12086 *) ac_try_echo=$ac_try;;
12088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12089 (eval "$ac_link") 2>conftest.er1
12091 grep -v '^ *+' conftest.er1 >conftest.err
12093 cat conftest.err >&5
12094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12095 (exit $ac_status); } && {
12096 test -z "$ac_c_werror_flag" ||
12097 test ! -s conftest.err
12098 } && test -s conftest$ac_exeext &&
12099 $as_test_x conftest$ac_exeext; then
12100 ac_cv_lib_xslt_xsltCompilePattern=yes
12102 echo "$as_me: failed program was:" >&5
12103 sed 's/^/| /' conftest.$ac_ext >&5
12105 ac_cv_lib_xslt_xsltCompilePattern=no
12108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12109 conftest$ac_exeext conftest.$ac_ext
12110 LIBS=$ac_check_lib_save_LIBS
12112 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12113 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12114 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12116 cat >>confdefs.h <<\_ACEOF
12117 #define HAVE_LIBXSLT 1
12120 XSLTLIBS="$ac_xslt_libs"
12121 XSLTINCL="$ac_xslt_cflags"
12122 ac_save_LIBS="$LIBS"
12123 LIBS="$LIBS $ac_xslt_libs"
12125 for ac_func in xsltInit
12127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12130 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12131 echo $ECHO_N "(cached) $ECHO_C" >&6
12133 cat >conftest.$ac_ext <<_ACEOF
12136 cat confdefs.h >>conftest.$ac_ext
12137 cat >>conftest.$ac_ext <<_ACEOF
12138 /* end confdefs.h. */
12139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12141 #define $ac_func innocuous_$ac_func
12143 /* System header to define __stub macros and hopefully few prototypes,
12144 which can conflict with char $ac_func (); below.
12145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12146 <limits.h> exists even on freestanding compilers. */
12149 # include <limits.h>
12151 # include <assert.h>
12156 /* Override any GCC internal prototype to avoid an error.
12157 Use char because int might match the return type of a GCC
12158 builtin and then its argument prototype would still apply. */
12163 /* The GNU C library defines this for functions which it implements
12164 to always fail with ENOSYS. Some functions are actually named
12165 something starting with __ and the normal name is an alias. */
12166 #if defined __stub_$ac_func || defined __stub___$ac_func
12173 return $ac_func ();
12178 rm -f conftest.$ac_objext conftest$ac_exeext
12179 if { (ac_try="$ac_link"
12180 case "(($ac_try" in
12181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12182 *) ac_try_echo=$ac_try;;
12184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12185 (eval "$ac_link") 2>conftest.er1
12187 grep -v '^ *+' conftest.er1 >conftest.err
12189 cat conftest.err >&5
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); } && {
12192 test -z "$ac_c_werror_flag" ||
12193 test ! -s conftest.err
12194 } && test -s conftest$ac_exeext &&
12195 $as_test_x conftest$ac_exeext; then
12196 eval "$as_ac_var=yes"
12198 echo "$as_me: failed program was:" >&5
12199 sed 's/^/| /' conftest.$ac_ext >&5
12201 eval "$as_ac_var=no"
12204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12205 conftest$ac_exeext conftest.$ac_ext
12207 ac_res=`eval echo '${'$as_ac_var'}'`
12208 { echo "$as_me:$LINENO: result: $ac_res" >&5
12209 echo "${ECHO_T}$ac_res" >&6; }
12210 if test `eval echo '${'$as_ac_var'}'` = yes; then
12211 cat >>confdefs.h <<_ACEOF
12212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12218 LIBS="$ac_save_LIBS"
12223 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12224 case "x$with_xslt" in
12225 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12227 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12228 This is an error since --with-xslt was requested." >&5
12229 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12230 This is an error since --with-xslt was requested." >&2;}
12231 { (exit 1); exit 1; }; } ;;
12238 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12240 ac_save_CPPFLAGS="$CPPFLAGS"
12241 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12242 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12243 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12246 for ac_header in dbus/dbus.h hal/libhal.h
12248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12250 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12255 ac_res=`eval echo '${'$as_ac_Header'}'`
12256 { echo "$as_me:$LINENO: result: $ac_res" >&5
12257 echo "${ECHO_T}$ac_res" >&6; }
12259 # Is the header compilable?
12260 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12262 cat >conftest.$ac_ext <<_ACEOF
12265 cat confdefs.h >>conftest.$ac_ext
12266 cat >>conftest.$ac_ext <<_ACEOF
12267 /* end confdefs.h. */
12268 $ac_includes_default
12269 #include <$ac_header>
12271 rm -f conftest.$ac_objext
12272 if { (ac_try="$ac_compile"
12273 case "(($ac_try" in
12274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12275 *) ac_try_echo=$ac_try;;
12277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12278 (eval "$ac_compile") 2>conftest.er1
12280 grep -v '^ *+' conftest.er1 >conftest.err
12282 cat conftest.err >&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); } && {
12285 test -z "$ac_c_werror_flag" ||
12286 test ! -s conftest.err
12287 } && test -s conftest.$ac_objext; then
12288 ac_header_compiler=yes
12290 echo "$as_me: failed program was:" >&5
12291 sed 's/^/| /' conftest.$ac_ext >&5
12293 ac_header_compiler=no
12296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12297 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12298 echo "${ECHO_T}$ac_header_compiler" >&6; }
12300 # Is the header present?
12301 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12303 cat >conftest.$ac_ext <<_ACEOF
12306 cat confdefs.h >>conftest.$ac_ext
12307 cat >>conftest.$ac_ext <<_ACEOF
12308 /* end confdefs.h. */
12309 #include <$ac_header>
12311 if { (ac_try="$ac_cpp conftest.$ac_ext"
12312 case "(($ac_try" in
12313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12314 *) ac_try_echo=$ac_try;;
12316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12317 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12319 grep -v '^ *+' conftest.er1 >conftest.err
12321 cat conftest.err >&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } >/dev/null && {
12324 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12325 test ! -s conftest.err
12327 ac_header_preproc=yes
12329 echo "$as_me: failed program was:" >&5
12330 sed 's/^/| /' conftest.$ac_ext >&5
12332 ac_header_preproc=no
12335 rm -f conftest.err conftest.$ac_ext
12336 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12337 echo "${ECHO_T}$ac_header_preproc" >&6; }
12339 # So? What about this header?
12340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12346 ac_header_preproc=yes
12349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12362 ## ------------------------------------ ##
12363 ## Report this to wine-devel@winehq.org ##
12364 ## ------------------------------------ ##
12366 ) | sed "s/^/$as_me: WARNING: /" >&2
12369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12372 echo $ECHO_N "(cached) $ECHO_C" >&6
12374 eval "$as_ac_Header=\$ac_header_preproc"
12376 ac_res=`eval echo '${'$as_ac_Header'}'`
12377 { echo "$as_me:$LINENO: result: $ac_res" >&5
12378 echo "${ECHO_T}$ac_res" >&6; }
12381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12382 cat >>confdefs.h <<_ACEOF
12383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12390 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12392 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12393 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12394 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12395 echo $ECHO_N "(cached) $ECHO_C" >&6
12397 ac_check_lib_save_LIBS=$LIBS
12398 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12399 cat >conftest.$ac_ext <<_ACEOF
12402 cat confdefs.h >>conftest.$ac_ext
12403 cat >>conftest.$ac_ext <<_ACEOF
12404 /* end confdefs.h. */
12406 /* Override any GCC internal prototype to avoid an error.
12407 Use char because int might match the return type of a GCC
12408 builtin and then its argument prototype would still apply. */
12412 char dbus_connection_close ();
12416 return dbus_connection_close ();
12421 rm -f conftest.$ac_objext conftest$ac_exeext
12422 if { (ac_try="$ac_link"
12423 case "(($ac_try" in
12424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12425 *) ac_try_echo=$ac_try;;
12427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12428 (eval "$ac_link") 2>conftest.er1
12430 grep -v '^ *+' conftest.er1 >conftest.err
12432 cat conftest.err >&5
12433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); } && {
12435 test -z "$ac_c_werror_flag" ||
12436 test ! -s conftest.err
12437 } && test -s conftest$ac_exeext &&
12438 $as_test_x conftest$ac_exeext; then
12439 ac_cv_lib_dbus_1_dbus_connection_close=yes
12441 echo "$as_me: failed program was:" >&5
12442 sed 's/^/| /' conftest.$ac_ext >&5
12444 ac_cv_lib_dbus_1_dbus_connection_close=no
12447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12448 conftest$ac_exeext conftest.$ac_ext
12449 LIBS=$ac_check_lib_save_LIBS
12451 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12452 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12453 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12454 { echo "$as_me:$LINENO: checking for -lhal" >&5
12455 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12456 if test "${ac_cv_lib_soname_hal+set}" = set; then
12457 echo $ECHO_N "(cached) $ECHO_C" >&6
12459 ac_check_soname_save_LIBS=$LIBS
12460 LIBS="-lhal $ac_hal_libs $LIBS"
12461 cat >conftest.$ac_ext <<_ACEOF
12464 cat confdefs.h >>conftest.$ac_ext
12465 cat >>conftest.$ac_ext <<_ACEOF
12466 /* end confdefs.h. */
12468 /* Override any GCC internal prototype to avoid an error.
12469 Use char because int might match the return type of a GCC
12470 builtin and then its argument prototype would still apply. */
12474 char libhal_ctx_new ();
12478 return libhal_ctx_new ();
12483 rm -f conftest.$ac_objext conftest$ac_exeext
12484 if { (ac_try="$ac_link"
12485 case "(($ac_try" in
12486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12487 *) ac_try_echo=$ac_try;;
12489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12490 (eval "$ac_link") 2>conftest.er1
12492 grep -v '^ *+' conftest.er1 >conftest.err
12494 cat conftest.err >&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); } && {
12497 test -z "$ac_c_werror_flag" ||
12498 test ! -s conftest.err
12499 } && test -s conftest$ac_exeext &&
12500 $as_test_x conftest$ac_exeext; then
12503 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'` ;;
12504 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12507 echo "$as_me: failed program was:" >&5
12508 sed 's/^/| /' conftest.$ac_ext >&5
12513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12514 conftest$ac_exeext conftest.$ac_ext
12515 LIBS=$ac_check_soname_save_LIBS
12517 if test "x$ac_cv_lib_soname_hal" = "x"; then
12518 { echo "$as_me:$LINENO: result: not found" >&5
12519 echo "${ECHO_T}not found" >&6; }
12522 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12523 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12525 cat >>confdefs.h <<_ACEOF
12526 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12529 HALINCL="$ac_hal_cflags"
12535 CPPFLAGS="$ac_save_CPPFLAGS"
12537 if test "x$ac_cv_lib_soname_hal" = "x"; then
12538 case "x$with_hal" in
12539 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12541 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12542 This is an error since --with-hal was requested." >&5
12543 echo "$as_me: error: libhal development files not found, no dynamic device support.
12544 This is an error since --with-hal was requested." >&2;}
12545 { (exit 1); exit 1; }; } ;;
12551 if test "$ac_cv_header_ncurses_h" = "yes"
12553 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12554 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12555 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12556 echo $ECHO_N "(cached) $ECHO_C" >&6
12558 ac_check_soname_save_LIBS=$LIBS
12559 LIBS="-lncurses $LIBS"
12560 cat >conftest.$ac_ext <<_ACEOF
12563 cat confdefs.h >>conftest.$ac_ext
12564 cat >>conftest.$ac_ext <<_ACEOF
12565 /* end confdefs.h. */
12567 /* Override any GCC internal prototype to avoid an error.
12568 Use char because int might match the return type of a GCC
12569 builtin and then its argument prototype would still apply. */
12582 rm -f conftest.$ac_objext conftest$ac_exeext
12583 if { (ac_try="$ac_link"
12584 case "(($ac_try" in
12585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12586 *) ac_try_echo=$ac_try;;
12588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12589 (eval "$ac_link") 2>conftest.er1
12591 grep -v '^ *+' conftest.er1 >conftest.err
12593 cat conftest.err >&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } && {
12596 test -z "$ac_c_werror_flag" ||
12597 test ! -s conftest.err
12598 } && test -s conftest$ac_exeext &&
12599 $as_test_x conftest$ac_exeext; then
12602 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'` ;;
12603 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12606 echo "$as_me: failed program was:" >&5
12607 sed 's/^/| /' conftest.$ac_ext >&5
12612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12613 conftest$ac_exeext conftest.$ac_ext
12614 LIBS=$ac_check_soname_save_LIBS
12616 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12617 { echo "$as_me:$LINENO: result: not found" >&5
12618 echo "${ECHO_T}not found" >&6; }
12621 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12622 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12624 cat >>confdefs.h <<_ACEOF
12625 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12628 CURSESLIBS="-lncurses"
12631 elif test "$ac_cv_header_curses_h" = "yes"
12633 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12634 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12635 if test "${ac_cv_lib_soname_curses+set}" = set; then
12636 echo $ECHO_N "(cached) $ECHO_C" >&6
12638 ac_check_soname_save_LIBS=$LIBS
12639 LIBS="-lcurses $LIBS"
12640 cat >conftest.$ac_ext <<_ACEOF
12643 cat confdefs.h >>conftest.$ac_ext
12644 cat >>conftest.$ac_ext <<_ACEOF
12645 /* end confdefs.h. */
12647 /* Override any GCC internal prototype to avoid an error.
12648 Use char because int might match the return type of a GCC
12649 builtin and then its argument prototype would still apply. */
12662 rm -f conftest.$ac_objext conftest$ac_exeext
12663 if { (ac_try="$ac_link"
12664 case "(($ac_try" in
12665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12666 *) ac_try_echo=$ac_try;;
12668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12669 (eval "$ac_link") 2>conftest.er1
12671 grep -v '^ *+' conftest.er1 >conftest.err
12673 cat conftest.err >&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); } && {
12676 test -z "$ac_c_werror_flag" ||
12677 test ! -s conftest.err
12678 } && test -s conftest$ac_exeext &&
12679 $as_test_x conftest$ac_exeext; then
12682 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'` ;;
12683 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12686 echo "$as_me: failed program was:" >&5
12687 sed 's/^/| /' conftest.$ac_ext >&5
12692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12693 conftest$ac_exeext conftest.$ac_ext
12694 LIBS=$ac_check_soname_save_LIBS
12696 if test "x$ac_cv_lib_soname_curses" = "x"; then
12697 { echo "$as_me:$LINENO: result: not found" >&5
12698 echo "${ECHO_T}not found" >&6; }
12701 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12702 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12704 cat >>confdefs.h <<_ACEOF
12705 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12708 CURSESLIBS="-lcurses"
12712 ac_save_LIBS="$LIBS"
12713 LIBS="$LIBS $CURSESLIBS"
12715 for ac_func in mousemask
12717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12723 cat >conftest.$ac_ext <<_ACEOF
12726 cat confdefs.h >>conftest.$ac_ext
12727 cat >>conftest.$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12731 #define $ac_func innocuous_$ac_func
12733 /* System header to define __stub macros and hopefully few prototypes,
12734 which can conflict with char $ac_func (); below.
12735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12736 <limits.h> exists even on freestanding compilers. */
12739 # include <limits.h>
12741 # include <assert.h>
12746 /* Override any GCC internal prototype to avoid an error.
12747 Use char because int might match the return type of a GCC
12748 builtin and then its argument prototype would still apply. */
12753 /* The GNU C library defines this for functions which it implements
12754 to always fail with ENOSYS. Some functions are actually named
12755 something starting with __ and the normal name is an alias. */
12756 #if defined __stub_$ac_func || defined __stub___$ac_func
12763 return $ac_func ();
12768 rm -f conftest.$ac_objext conftest$ac_exeext
12769 if { (ac_try="$ac_link"
12770 case "(($ac_try" in
12771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12772 *) ac_try_echo=$ac_try;;
12774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12775 (eval "$ac_link") 2>conftest.er1
12777 grep -v '^ *+' conftest.er1 >conftest.err
12779 cat conftest.err >&5
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); } && {
12782 test -z "$ac_c_werror_flag" ||
12783 test ! -s conftest.err
12784 } && test -s conftest$ac_exeext &&
12785 $as_test_x conftest$ac_exeext; then
12786 eval "$as_ac_var=yes"
12788 echo "$as_me: failed program was:" >&5
12789 sed 's/^/| /' conftest.$ac_ext >&5
12791 eval "$as_ac_var=no"
12794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12795 conftest$ac_exeext conftest.$ac_ext
12797 ac_res=`eval echo '${'$as_ac_var'}'`
12798 { echo "$as_me:$LINENO: result: $ac_res" >&5
12799 echo "${ECHO_T}$ac_res" >&6; }
12800 if test `eval echo '${'$as_ac_var'}'` = yes; then
12801 cat >>confdefs.h <<_ACEOF
12802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12808 LIBS="$ac_save_LIBS"
12809 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12810 case "x$with_curses" in
12811 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12813 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12814 This is an error since --with-curses was requested." >&5
12815 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12816 This is an error since --with-curses was requested." >&2;}
12817 { (exit 1); exit 1; }; } ;;
12822 # Extract the first word of "sane-config", so it can be a program name with args.
12823 set dummy sane-config; ac_word=$2
12824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12826 if test "${ac_cv_prog_sane_devel+set}" = set; then
12827 echo $ECHO_N "(cached) $ECHO_C" >&6
12829 if test -n "$sane_devel"; then
12830 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12833 for as_dir in $PATH
12836 test -z "$as_dir" && as_dir=.
12837 for ac_exec_ext in '' $ac_executable_extensions; do
12838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12839 ac_cv_prog_sane_devel="sane-config"
12840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12847 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12850 sane_devel=$ac_cv_prog_sane_devel
12851 if test -n "$sane_devel"; then
12852 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12853 echo "${ECHO_T}$sane_devel" >&6; }
12855 { echo "$as_me:$LINENO: result: no" >&5
12856 echo "${ECHO_T}no" >&6; }
12860 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12862 ac_sane_incl="`$sane_devel --cflags`"
12863 ac_save_CPPFLAGS="$CPPFLAGS"
12864 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12865 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12866 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12867 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12868 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12869 echo $ECHO_N "(cached) $ECHO_C" >&6
12871 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12872 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12874 # Is the header compilable?
12875 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12876 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12877 cat >conftest.$ac_ext <<_ACEOF
12880 cat confdefs.h >>conftest.$ac_ext
12881 cat >>conftest.$ac_ext <<_ACEOF
12882 /* end confdefs.h. */
12883 $ac_includes_default
12884 #include <sane/sane.h>
12886 rm -f conftest.$ac_objext
12887 if { (ac_try="$ac_compile"
12888 case "(($ac_try" in
12889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12890 *) ac_try_echo=$ac_try;;
12892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12893 (eval "$ac_compile") 2>conftest.er1
12895 grep -v '^ *+' conftest.er1 >conftest.err
12897 cat conftest.err >&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } && {
12900 test -z "$ac_c_werror_flag" ||
12901 test ! -s conftest.err
12902 } && test -s conftest.$ac_objext; then
12903 ac_header_compiler=yes
12905 echo "$as_me: failed program was:" >&5
12906 sed 's/^/| /' conftest.$ac_ext >&5
12908 ac_header_compiler=no
12911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12912 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12913 echo "${ECHO_T}$ac_header_compiler" >&6; }
12915 # Is the header present?
12916 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12917 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12918 cat >conftest.$ac_ext <<_ACEOF
12921 cat confdefs.h >>conftest.$ac_ext
12922 cat >>conftest.$ac_ext <<_ACEOF
12923 /* end confdefs.h. */
12924 #include <sane/sane.h>
12926 if { (ac_try="$ac_cpp conftest.$ac_ext"
12927 case "(($ac_try" in
12928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12929 *) ac_try_echo=$ac_try;;
12931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12934 grep -v '^ *+' conftest.er1 >conftest.err
12936 cat conftest.err >&5
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); } >/dev/null && {
12939 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12940 test ! -s conftest.err
12942 ac_header_preproc=yes
12944 echo "$as_me: failed program was:" >&5
12945 sed 's/^/| /' conftest.$ac_ext >&5
12947 ac_header_preproc=no
12950 rm -f conftest.err conftest.$ac_ext
12951 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12952 echo "${ECHO_T}$ac_header_preproc" >&6; }
12954 # So? What about this header?
12955 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12957 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12958 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12959 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12960 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12961 ac_header_preproc=yes
12964 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12965 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12966 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12967 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12968 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12969 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12970 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12971 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12972 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12973 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12974 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12975 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12977 ## ------------------------------------ ##
12978 ## Report this to wine-devel@winehq.org ##
12979 ## ------------------------------------ ##
12981 ) | sed "s/^/$as_me: WARNING: /" >&2
12984 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12985 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12986 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12987 echo $ECHO_N "(cached) $ECHO_C" >&6
12989 ac_cv_header_sane_sane_h=$ac_header_preproc
12991 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12992 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12995 if test $ac_cv_header_sane_sane_h = yes; then
12996 { echo "$as_me:$LINENO: checking for -lsane" >&5
12997 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12998 if test "${ac_cv_lib_soname_sane+set}" = set; then
12999 echo $ECHO_N "(cached) $ECHO_C" >&6
13001 ac_check_soname_save_LIBS=$LIBS
13002 LIBS="-lsane $LIBS"
13003 cat >conftest.$ac_ext <<_ACEOF
13006 cat confdefs.h >>conftest.$ac_ext
13007 cat >>conftest.$ac_ext <<_ACEOF
13008 /* end confdefs.h. */
13010 /* Override any GCC internal prototype to avoid an error.
13011 Use char because int might match the return type of a GCC
13012 builtin and then its argument prototype would still apply. */
13020 return sane_init ();
13025 rm -f conftest.$ac_objext conftest$ac_exeext
13026 if { (ac_try="$ac_link"
13027 case "(($ac_try" in
13028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13029 *) ac_try_echo=$ac_try;;
13031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13032 (eval "$ac_link") 2>conftest.er1
13034 grep -v '^ *+' conftest.er1 >conftest.err
13036 cat conftest.err >&5
13037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13038 (exit $ac_status); } && {
13039 test -z "$ac_c_werror_flag" ||
13040 test ! -s conftest.err
13041 } && test -s conftest$ac_exeext &&
13042 $as_test_x conftest$ac_exeext; then
13045 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'` ;;
13046 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13049 echo "$as_me: failed program was:" >&5
13050 sed 's/^/| /' conftest.$ac_ext >&5
13055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13056 conftest$ac_exeext conftest.$ac_ext
13057 LIBS=$ac_check_soname_save_LIBS
13059 if test "x$ac_cv_lib_soname_sane" = "x"; then
13060 { echo "$as_me:$LINENO: result: not found" >&5
13061 echo "${ECHO_T}not found" >&6; }
13064 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13065 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13067 cat >>confdefs.h <<_ACEOF
13068 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13071 SANEINCL="$ac_sane_incl"
13078 CPPFLAGS="$ac_save_CPPFLAGS"
13080 if test "x$ac_cv_lib_soname_sane" = "x"; then
13081 case "x$with_sane" in
13082 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13084 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13085 This is an error since --with-sane was requested." >&5
13086 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13087 This is an error since --with-sane was requested." >&2;}
13088 { (exit 1); exit 1; }; } ;;
13093 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13094 set dummy gphoto2-config; ac_word=$2
13095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13097 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13098 echo $ECHO_N "(cached) $ECHO_C" >&6
13100 if test -n "$gphoto2_devel"; then
13101 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13104 for as_dir in $PATH
13107 test -z "$as_dir" && as_dir=.
13108 for ac_exec_ext in '' $ac_executable_extensions; do
13109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13110 ac_cv_prog_gphoto2_devel="gphoto2-config"
13111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13118 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13121 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13122 if test -n "$gphoto2_devel"; then
13123 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13124 echo "${ECHO_T}$gphoto2_devel" >&6; }
13126 { echo "$as_me:$LINENO: result: no" >&5
13127 echo "${ECHO_T}no" >&6; }
13131 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13132 set dummy gphoto2-port-config; ac_word=$2
13133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13135 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13136 echo $ECHO_N "(cached) $ECHO_C" >&6
13138 if test -n "$gphoto2port_devel"; then
13139 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13142 for as_dir in $PATH
13145 test -z "$as_dir" && as_dir=.
13146 for ac_exec_ext in '' $ac_executable_extensions; do
13147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13148 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13156 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13159 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13160 if test -n "$gphoto2port_devel"; then
13161 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13162 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13164 { echo "$as_me:$LINENO: result: no" >&5
13165 echo "${ECHO_T}no" >&6; }
13169 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13171 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13173 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13176 -L/usr/lib|-L/usr/lib64) ;;
13177 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13180 ac_save_CPPFLAGS="$CPPFLAGS"
13181 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13182 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13183 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13184 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13185 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13188 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13189 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13191 # Is the header compilable?
13192 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13193 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13194 cat >conftest.$ac_ext <<_ACEOF
13197 cat confdefs.h >>conftest.$ac_ext
13198 cat >>conftest.$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13200 $ac_includes_default
13201 #include <gphoto2-camera.h>
13203 rm -f conftest.$ac_objext
13204 if { (ac_try="$ac_compile"
13205 case "(($ac_try" in
13206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13207 *) ac_try_echo=$ac_try;;
13209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13210 (eval "$ac_compile") 2>conftest.er1
13212 grep -v '^ *+' conftest.er1 >conftest.err
13214 cat conftest.err >&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); } && {
13217 test -z "$ac_c_werror_flag" ||
13218 test ! -s conftest.err
13219 } && test -s conftest.$ac_objext; then
13220 ac_header_compiler=yes
13222 echo "$as_me: failed program was:" >&5
13223 sed 's/^/| /' conftest.$ac_ext >&5
13225 ac_header_compiler=no
13228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13229 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13230 echo "${ECHO_T}$ac_header_compiler" >&6; }
13232 # Is the header present?
13233 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13234 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13235 cat >conftest.$ac_ext <<_ACEOF
13238 cat confdefs.h >>conftest.$ac_ext
13239 cat >>conftest.$ac_ext <<_ACEOF
13240 /* end confdefs.h. */
13241 #include <gphoto2-camera.h>
13243 if { (ac_try="$ac_cpp conftest.$ac_ext"
13244 case "(($ac_try" in
13245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13246 *) ac_try_echo=$ac_try;;
13248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13249 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13251 grep -v '^ *+' conftest.er1 >conftest.err
13253 cat conftest.err >&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } >/dev/null && {
13256 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13257 test ! -s conftest.err
13259 ac_header_preproc=yes
13261 echo "$as_me: failed program was:" >&5
13262 sed 's/^/| /' conftest.$ac_ext >&5
13264 ac_header_preproc=no
13267 rm -f conftest.err conftest.$ac_ext
13268 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13269 echo "${ECHO_T}$ac_header_preproc" >&6; }
13271 # So? What about this header?
13272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13274 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13275 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13276 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13277 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13278 ac_header_preproc=yes
13281 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13282 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13283 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13284 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13285 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13286 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13287 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13288 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13289 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13290 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13291 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13292 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13294 ## ------------------------------------ ##
13295 ## Report this to wine-devel@winehq.org ##
13296 ## ------------------------------------ ##
13298 ) | sed "s/^/$as_me: WARNING: /" >&2
13301 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13302 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13303 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13304 echo $ECHO_N "(cached) $ECHO_C" >&6
13306 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13308 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13309 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13312 if test $ac_cv_header_gphoto2_camera_h = yes; then
13313 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13314 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13315 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13316 echo $ECHO_N "(cached) $ECHO_C" >&6
13318 ac_check_lib_save_LIBS=$LIBS
13319 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13320 cat >conftest.$ac_ext <<_ACEOF
13323 cat confdefs.h >>conftest.$ac_ext
13324 cat >>conftest.$ac_ext <<_ACEOF
13325 /* end confdefs.h. */
13327 /* Override any GCC internal prototype to avoid an error.
13328 Use char because int might match the return type of a GCC
13329 builtin and then its argument prototype would still apply. */
13333 char gp_camera_new ();
13337 return gp_camera_new ();
13342 rm -f conftest.$ac_objext conftest$ac_exeext
13343 if { (ac_try="$ac_link"
13344 case "(($ac_try" in
13345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13346 *) ac_try_echo=$ac_try;;
13348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13349 (eval "$ac_link") 2>conftest.er1
13351 grep -v '^ *+' conftest.er1 >conftest.err
13353 cat conftest.err >&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); } && {
13356 test -z "$ac_c_werror_flag" ||
13357 test ! -s conftest.err
13358 } && test -s conftest$ac_exeext &&
13359 $as_test_x conftest$ac_exeext; then
13360 ac_cv_lib_gphoto2_gp_camera_new=yes
13362 echo "$as_me: failed program was:" >&5
13363 sed 's/^/| /' conftest.$ac_ext >&5
13365 ac_cv_lib_gphoto2_gp_camera_new=no
13368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13369 conftest$ac_exeext conftest.$ac_ext
13370 LIBS=$ac_check_lib_save_LIBS
13372 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13373 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13374 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13376 cat >>confdefs.h <<\_ACEOF
13377 #define HAVE_GPHOTO2 1
13380 GPHOTO2LIBS="$ac_gphoto2_libs"
13382 GPHOTO2INCL="$ac_gphoto2_incl"
13389 CPPFLAGS="$ac_save_CPPFLAGS"
13391 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13392 case "x$with_gphoto" in
13393 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13395 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13396 This is an error since --with-gphoto was requested." >&5
13397 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13398 This is an error since --with-gphoto was requested." >&2;}
13399 { (exit 1); exit 1; }; } ;;
13407 if test "$ac_cv_header_resolv_h" = "yes"
13409 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13410 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13411 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13414 ac_check_lib_save_LIBS=$LIBS
13415 LIBS="-lresolv $LIBS"
13416 cat >conftest.$ac_ext <<_ACEOF
13419 cat confdefs.h >>conftest.$ac_ext
13420 cat >>conftest.$ac_ext <<_ACEOF
13421 /* end confdefs.h. */
13423 /* Override any GCC internal prototype to avoid an error.
13424 Use char because int might match the return type of a GCC
13425 builtin and then its argument prototype would still apply. */
13433 return res_query ();
13438 rm -f conftest.$ac_objext conftest$ac_exeext
13439 if { (ac_try="$ac_link"
13440 case "(($ac_try" in
13441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13442 *) ac_try_echo=$ac_try;;
13444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13445 (eval "$ac_link") 2>conftest.er1
13447 grep -v '^ *+' conftest.er1 >conftest.err
13449 cat conftest.err >&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); } && {
13452 test -z "$ac_c_werror_flag" ||
13453 test ! -s conftest.err
13454 } && test -s conftest$ac_exeext &&
13455 $as_test_x conftest$ac_exeext; then
13456 ac_cv_lib_resolv_res_query=yes
13458 echo "$as_me: failed program was:" >&5
13459 sed 's/^/| /' conftest.$ac_ext >&5
13461 ac_cv_lib_resolv_res_query=no
13464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13465 conftest$ac_exeext conftest.$ac_ext
13466 LIBS=$ac_check_lib_save_LIBS
13468 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13469 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13470 if test $ac_cv_lib_resolv_res_query = yes; then
13472 cat >>confdefs.h <<\_ACEOF
13473 #define HAVE_RESOLV 1
13476 RESOLVLIBS="-lresolv"
13483 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13485 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13486 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13487 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13490 ac_check_lib_save_LIBS=$LIBS
13491 LIBS="-llcms $LIBS"
13492 cat >conftest.$ac_ext <<_ACEOF
13495 cat confdefs.h >>conftest.$ac_ext
13496 cat >>conftest.$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13499 /* Override any GCC internal prototype to avoid an error.
13500 Use char because int might match the return type of a GCC
13501 builtin and then its argument prototype would still apply. */
13505 char cmsOpenProfileFromFile ();
13509 return cmsOpenProfileFromFile ();
13514 rm -f conftest.$ac_objext conftest$ac_exeext
13515 if { (ac_try="$ac_link"
13516 case "(($ac_try" in
13517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13518 *) ac_try_echo=$ac_try;;
13520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13521 (eval "$ac_link") 2>conftest.er1
13523 grep -v '^ *+' conftest.er1 >conftest.err
13525 cat conftest.err >&5
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); } && {
13528 test -z "$ac_c_werror_flag" ||
13529 test ! -s conftest.err
13530 } && test -s conftest$ac_exeext &&
13531 $as_test_x conftest$ac_exeext; then
13532 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13534 echo "$as_me: failed program was:" >&5
13535 sed 's/^/| /' conftest.$ac_ext >&5
13537 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13541 conftest$ac_exeext conftest.$ac_ext
13542 LIBS=$ac_check_lib_save_LIBS
13544 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13545 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13546 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13548 cat >>confdefs.h <<\_ACEOF
13549 #define HAVE_LCMS 1
13556 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13557 case "x$with_cms" in
13558 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13560 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13561 This is an error since --with-cms was requested." >&5
13562 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13563 This is an error since --with-cms was requested." >&2;}
13564 { (exit 1); exit 1; }; } ;;
13571 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13573 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13574 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13575 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13576 echo $ECHO_N "(cached) $ECHO_C" >&6
13578 ac_check_lib_save_LIBS=$LIBS
13579 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13580 cat >conftest.$ac_ext <<_ACEOF
13583 cat confdefs.h >>conftest.$ac_ext
13584 cat >>conftest.$ac_ext <<_ACEOF
13585 /* end confdefs.h. */
13587 /* Override any GCC internal prototype to avoid an error.
13588 Use char because int might match the return type of a GCC
13589 builtin and then its argument prototype would still apply. */
13593 char ldap_initialize ();
13597 return ldap_initialize ();
13602 rm -f conftest.$ac_objext conftest$ac_exeext
13603 if { (ac_try="$ac_link"
13604 case "(($ac_try" in
13605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13606 *) ac_try_echo=$ac_try;;
13608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13609 (eval "$ac_link") 2>conftest.er1
13611 grep -v '^ *+' conftest.er1 >conftest.err
13613 cat conftest.err >&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); } && {
13616 test -z "$ac_c_werror_flag" ||
13617 test ! -s conftest.err
13618 } && test -s conftest$ac_exeext &&
13619 $as_test_x conftest$ac_exeext; then
13620 ac_cv_lib_ldap_r_ldap_initialize=yes
13622 echo "$as_me: failed program was:" >&5
13623 sed 's/^/| /' conftest.$ac_ext >&5
13625 ac_cv_lib_ldap_r_ldap_initialize=no
13628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13629 conftest$ac_exeext conftest.$ac_ext
13630 LIBS=$ac_check_lib_save_LIBS
13632 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13633 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13634 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13635 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13636 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13637 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13638 echo $ECHO_N "(cached) $ECHO_C" >&6
13640 ac_check_lib_save_LIBS=$LIBS
13641 LIBS="-llber $LIBPTHREAD $LIBS"
13642 cat >conftest.$ac_ext <<_ACEOF
13645 cat confdefs.h >>conftest.$ac_ext
13646 cat >>conftest.$ac_ext <<_ACEOF
13647 /* end confdefs.h. */
13649 /* Override any GCC internal prototype to avoid an error.
13650 Use char because int might match the return type of a GCC
13651 builtin and then its argument prototype would still apply. */
13659 return ber_init ();
13664 rm -f conftest.$ac_objext conftest$ac_exeext
13665 if { (ac_try="$ac_link"
13666 case "(($ac_try" in
13667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13668 *) ac_try_echo=$ac_try;;
13670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13671 (eval "$ac_link") 2>conftest.er1
13673 grep -v '^ *+' conftest.er1 >conftest.err
13675 cat conftest.err >&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); } && {
13678 test -z "$ac_c_werror_flag" ||
13679 test ! -s conftest.err
13680 } && test -s conftest$ac_exeext &&
13681 $as_test_x conftest$ac_exeext; then
13682 ac_cv_lib_lber_ber_init=yes
13684 echo "$as_me: failed program was:" >&5
13685 sed 's/^/| /' conftest.$ac_ext >&5
13687 ac_cv_lib_lber_ber_init=no
13690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13691 conftest$ac_exeext conftest.$ac_ext
13692 LIBS=$ac_check_lib_save_LIBS
13694 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13695 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13696 if test $ac_cv_lib_lber_ber_init = yes; then
13698 cat >>confdefs.h <<\_ACEOF
13699 #define HAVE_LDAP 1
13702 LDAPLIBS="-lldap_r -llber"
13707 ac_wine_check_funcs_save_LIBS="$LIBS"
13708 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13718 ldap_count_references \
13719 ldap_first_reference \
13720 ldap_next_reference \
13721 ldap_parse_reference \
13722 ldap_parse_sort_control \
13723 ldap_parse_sortresponse_control \
13724 ldap_parse_vlv_control \
13725 ldap_parse_vlvresponse_control
13727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13728 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13730 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13731 echo $ECHO_N "(cached) $ECHO_C" >&6
13733 cat >conftest.$ac_ext <<_ACEOF
13736 cat confdefs.h >>conftest.$ac_ext
13737 cat >>conftest.$ac_ext <<_ACEOF
13738 /* end confdefs.h. */
13739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13741 #define $ac_func innocuous_$ac_func
13743 /* System header to define __stub macros and hopefully few prototypes,
13744 which can conflict with char $ac_func (); below.
13745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13746 <limits.h> exists even on freestanding compilers. */
13749 # include <limits.h>
13751 # include <assert.h>
13756 /* Override any GCC internal prototype to avoid an error.
13757 Use char because int might match the return type of a GCC
13758 builtin and then its argument prototype would still apply. */
13763 /* The GNU C library defines this for functions which it implements
13764 to always fail with ENOSYS. Some functions are actually named
13765 something starting with __ and the normal name is an alias. */
13766 #if defined __stub_$ac_func || defined __stub___$ac_func
13773 return $ac_func ();
13778 rm -f conftest.$ac_objext conftest$ac_exeext
13779 if { (ac_try="$ac_link"
13780 case "(($ac_try" in
13781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13782 *) ac_try_echo=$ac_try;;
13784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13785 (eval "$ac_link") 2>conftest.er1
13787 grep -v '^ *+' conftest.er1 >conftest.err
13789 cat conftest.err >&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); } && {
13792 test -z "$ac_c_werror_flag" ||
13793 test ! -s conftest.err
13794 } && test -s conftest$ac_exeext &&
13795 $as_test_x conftest$ac_exeext; then
13796 eval "$as_ac_var=yes"
13798 echo "$as_me: failed program was:" >&5
13799 sed 's/^/| /' conftest.$ac_ext >&5
13801 eval "$as_ac_var=no"
13804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13805 conftest$ac_exeext conftest.$ac_ext
13807 ac_res=`eval echo '${'$as_ac_var'}'`
13808 { echo "$as_me:$LINENO: result: $ac_res" >&5
13809 echo "${ECHO_T}$ac_res" >&6; }
13810 if test `eval echo '${'$as_ac_var'}'` = yes; then
13811 cat >>confdefs.h <<_ACEOF
13812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13818 LIBS="$ac_wine_check_funcs_save_LIBS"
13820 if test "x$LDAPLIBS" = "x"; then
13821 case "x$with_ldap" in
13822 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13824 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13825 This is an error since --with-ldap was requested." >&5
13826 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13827 This is an error since --with-ldap was requested." >&2;}
13828 { (exit 1); exit 1; }; } ;;
13833 for ac_prog in freetype-config freetype2-config
13835 # Extract the first word of "$ac_prog", so it can be a program name with args.
13836 set dummy $ac_prog; ac_word=$2
13837 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13839 if test "${ac_cv_prog_ft_devel+set}" = set; then
13840 echo $ECHO_N "(cached) $ECHO_C" >&6
13842 if test -n "$ft_devel"; then
13843 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13846 for as_dir in $PATH
13849 test -z "$as_dir" && as_dir=.
13850 for ac_exec_ext in '' $ac_executable_extensions; do
13851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13852 ac_cv_prog_ft_devel="$ac_prog"
13853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13862 ft_devel=$ac_cv_prog_ft_devel
13863 if test -n "$ft_devel"; then
13864 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13865 echo "${ECHO_T}$ft_devel" >&6; }
13867 { echo "$as_me:$LINENO: result: no" >&5
13868 echo "${ECHO_T}no" >&6; }
13872 test -n "$ft_devel" && break
13874 test -n "$ft_devel" || ft_devel="false"
13876 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
13878 ac_freetype_libs=`$ft_devel --libs`
13879 ac_freetype_incl=`$ft_devel --cflags`
13880 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13881 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13882 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13883 echo $ECHO_N "(cached) $ECHO_C" >&6
13885 ac_check_soname_save_LIBS=$LIBS
13886 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13887 cat >conftest.$ac_ext <<_ACEOF
13890 cat confdefs.h >>conftest.$ac_ext
13891 cat >>conftest.$ac_ext <<_ACEOF
13892 /* end confdefs.h. */
13894 /* Override any GCC internal prototype to avoid an error.
13895 Use char because int might match the return type of a GCC
13896 builtin and then its argument prototype would still apply. */
13900 char FT_Init_FreeType ();
13904 return FT_Init_FreeType ();
13909 rm -f conftest.$ac_objext conftest$ac_exeext
13910 if { (ac_try="$ac_link"
13911 case "(($ac_try" in
13912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13913 *) ac_try_echo=$ac_try;;
13915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13916 (eval "$ac_link") 2>conftest.er1
13918 grep -v '^ *+' conftest.er1 >conftest.err
13920 cat conftest.err >&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); } && {
13923 test -z "$ac_c_werror_flag" ||
13924 test ! -s conftest.err
13925 } && test -s conftest$ac_exeext &&
13926 $as_test_x conftest$ac_exeext; then
13929 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'` ;;
13930 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13933 echo "$as_me: failed program was:" >&5
13934 sed 's/^/| /' conftest.$ac_ext >&5
13939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13940 conftest$ac_exeext conftest.$ac_ext
13941 LIBS=$ac_check_soname_save_LIBS
13943 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13944 { echo "$as_me:$LINENO: result: not found" >&5
13945 echo "${ECHO_T}not found" >&6; }
13948 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13949 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13951 cat >>confdefs.h <<_ACEOF
13952 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13958 if test "$ft_lib" = "yes"
13960 ac_save_CPPFLAGS="$CPPFLAGS"
13961 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13974 for ac_header in ft2build.h \
13975 freetype/freetype.h \
13976 freetype/ftglyph.h \
13977 freetype/fttypes.h \
13978 freetype/tttables.h \
13979 freetype/ftnames.h \
13980 freetype/ftsnames.h \
13981 freetype/ttnameid.h \
13982 freetype/ftoutln.h \
13983 freetype/ftwinfnt.h \
13984 freetype/ftmodapi.h \
13985 freetype/internal/sfnt.h
13987 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13988 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13991 echo $ECHO_N "(cached) $ECHO_C" >&6
13993 cat >conftest.$ac_ext <<_ACEOF
13996 cat confdefs.h >>conftest.$ac_ext
13997 cat >>conftest.$ac_ext <<_ACEOF
13998 /* end confdefs.h. */
13999 #ifdef HAVE_FT2BUILD_H
14000 # include <ft2build.h>
14003 #include <$ac_header>
14005 rm -f conftest.$ac_objext
14006 if { (ac_try="$ac_compile"
14007 case "(($ac_try" in
14008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14009 *) ac_try_echo=$ac_try;;
14011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14012 (eval "$ac_compile") 2>conftest.er1
14014 grep -v '^ *+' conftest.er1 >conftest.err
14016 cat conftest.err >&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); } && {
14019 test -z "$ac_c_werror_flag" ||
14020 test ! -s conftest.err
14021 } && test -s conftest.$ac_objext; then
14022 eval "$as_ac_Header=yes"
14024 echo "$as_me: failed program was:" >&5
14025 sed 's/^/| /' conftest.$ac_ext >&5
14027 eval "$as_ac_Header=no"
14030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14032 ac_res=`eval echo '${'$as_ac_Header'}'`
14033 { echo "$as_me:$LINENO: result: $ac_res" >&5
14034 echo "${ECHO_T}$ac_res" >&6; }
14035 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14036 cat >>confdefs.h <<_ACEOF
14037 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14044 cat >conftest.$ac_ext <<_ACEOF
14047 cat confdefs.h >>conftest.$ac_ext
14048 cat >>conftest.$ac_ext <<_ACEOF
14049 /* end confdefs.h. */
14050 #include <ft2build.h>
14051 #include <freetype/fttrigon.h>
14053 if { (ac_try="$ac_cpp conftest.$ac_ext"
14054 case "(($ac_try" in
14055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14056 *) ac_try_echo=$ac_try;;
14058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14061 grep -v '^ *+' conftest.er1 >conftest.err
14063 cat conftest.err >&5
14064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065 (exit $ac_status); } >/dev/null && {
14066 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14067 test ! -s conftest.err
14070 cat >>confdefs.h <<\_ACEOF
14071 #define HAVE_FREETYPE_FTTRIGON_H 1
14074 wine_cv_fttrigon=yes
14076 echo "$as_me: failed program was:" >&5
14077 sed 's/^/| /' conftest.$ac_ext >&5
14079 wine_cv_fttrigon=no
14082 rm -f conftest.err conftest.$ac_ext
14083 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14084 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14085 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14086 echo $ECHO_N "(cached) $ECHO_C" >&6
14088 cat >conftest.$ac_ext <<_ACEOF
14091 cat confdefs.h >>conftest.$ac_ext
14092 cat >>conftest.$ac_ext <<_ACEOF
14093 /* end confdefs.h. */
14094 #include <freetype/ftmodapi.h>
14096 typedef FT_TrueTypeEngineType ac__type_new_;
14100 if ((ac__type_new_ *) 0)
14102 if (sizeof (ac__type_new_))
14108 rm -f conftest.$ac_objext
14109 if { (ac_try="$ac_compile"
14110 case "(($ac_try" in
14111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14112 *) ac_try_echo=$ac_try;;
14114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14115 (eval "$ac_compile") 2>conftest.er1
14117 grep -v '^ *+' conftest.er1 >conftest.err
14119 cat conftest.err >&5
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); } && {
14122 test -z "$ac_c_werror_flag" ||
14123 test ! -s conftest.err
14124 } && test -s conftest.$ac_objext; then
14125 ac_cv_type_FT_TrueTypeEngineType=yes
14127 echo "$as_me: failed program was:" >&5
14128 sed 's/^/| /' conftest.$ac_ext >&5
14130 ac_cv_type_FT_TrueTypeEngineType=no
14133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14135 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14136 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14137 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14139 cat >>confdefs.h <<_ACEOF
14140 #define HAVE_FT_TRUETYPEENGINETYPE 1
14146 ac_save_CFLAGS="$CFLAGS"
14147 CFLAGS="$CFLAGS $ac_freetype_libs"
14149 for ac_func in FT_Load_Sfnt_Table
14151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14152 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14154 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14155 echo $ECHO_N "(cached) $ECHO_C" >&6
14157 cat >conftest.$ac_ext <<_ACEOF
14160 cat confdefs.h >>conftest.$ac_ext
14161 cat >>conftest.$ac_ext <<_ACEOF
14162 /* end confdefs.h. */
14163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14165 #define $ac_func innocuous_$ac_func
14167 /* System header to define __stub macros and hopefully few prototypes,
14168 which can conflict with char $ac_func (); below.
14169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14170 <limits.h> exists even on freestanding compilers. */
14173 # include <limits.h>
14175 # include <assert.h>
14180 /* Override any GCC internal prototype to avoid an error.
14181 Use char because int might match the return type of a GCC
14182 builtin and then its argument prototype would still apply. */
14187 /* The GNU C library defines this for functions which it implements
14188 to always fail with ENOSYS. Some functions are actually named
14189 something starting with __ and the normal name is an alias. */
14190 #if defined __stub_$ac_func || defined __stub___$ac_func
14197 return $ac_func ();
14202 rm -f conftest.$ac_objext conftest$ac_exeext
14203 if { (ac_try="$ac_link"
14204 case "(($ac_try" in
14205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14206 *) ac_try_echo=$ac_try;;
14208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14209 (eval "$ac_link") 2>conftest.er1
14211 grep -v '^ *+' conftest.er1 >conftest.err
14213 cat conftest.err >&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); } && {
14216 test -z "$ac_c_werror_flag" ||
14217 test ! -s conftest.err
14218 } && test -s conftest$ac_exeext &&
14219 $as_test_x conftest$ac_exeext; then
14220 eval "$as_ac_var=yes"
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.$ac_ext >&5
14225 eval "$as_ac_var=no"
14228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14229 conftest$ac_exeext conftest.$ac_ext
14231 ac_res=`eval echo '${'$as_ac_var'}'`
14232 { echo "$as_me:$LINENO: result: $ac_res" >&5
14233 echo "${ECHO_T}$ac_res" >&6; }
14234 if test `eval echo '${'$as_ac_var'}'` = yes; then
14235 cat >>confdefs.h <<_ACEOF
14236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14242 CFLAGS="$ac_save_CFLAGS"
14243 CPPFLAGS="$ac_save_CPPFLAGS"
14244 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14247 cat >>confdefs.h <<\_ACEOF
14248 #define HAVE_FREETYPE 1
14251 FREETYPELIBS="$ac_freetype_libs"
14253 FREETYPEINCL="$ac_freetype_incl"
14255 FONTSSUBDIRS="fonts"
14260 if test "x$FREETYPELIBS" = "x"; then
14261 case "x$with_freetype" in
14263 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14264 Fonts will not be built. Dialog text may be invisible or unaligned.
14265 Use the --without-freetype option if you really want this." >&5
14266 echo "$as_me: error: FreeType development files not found.
14267 Fonts will not be built. Dialog text may be invisible or unaligned.
14268 Use the --without-freetype option if you really want this." >&2;}
14269 { (exit 1); exit 1; }; } ;;
14274 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14275 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14276 if test "${ac_cv_c_ppdev+set}" = set; then
14277 echo $ECHO_N "(cached) $ECHO_C" >&6
14279 cat >conftest.$ac_ext <<_ACEOF
14282 cat confdefs.h >>conftest.$ac_ext
14283 cat >>conftest.$ac_ext <<_ACEOF
14284 /* end confdefs.h. */
14285 #include <linux/ppdev.h>
14289 ioctl (1,PPCLAIM,0)
14294 rm -f conftest.$ac_objext
14295 if { (ac_try="$ac_compile"
14296 case "(($ac_try" in
14297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14298 *) ac_try_echo=$ac_try;;
14300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14301 (eval "$ac_compile") 2>conftest.er1
14303 grep -v '^ *+' conftest.er1 >conftest.err
14305 cat conftest.err >&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); } && {
14308 test -z "$ac_c_werror_flag" ||
14309 test ! -s conftest.err
14310 } && test -s conftest.$ac_objext; then
14311 ac_cv_c_ppdev="yes"
14313 echo "$as_me: failed program was:" >&5
14314 sed 's/^/| /' conftest.$ac_ext >&5
14319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14321 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14322 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14323 if test "$ac_cv_c_ppdev" = "yes"
14326 cat >>confdefs.h <<\_ACEOF
14327 #define HAVE_PPDEV 1
14332 { echo "$as_me:$LINENO: checking for va_copy" >&5
14333 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14334 if test "${ac_cv_c_va_copy+set}" = set; then
14335 echo $ECHO_N "(cached) $ECHO_C" >&6
14337 cat >conftest.$ac_ext <<_ACEOF
14340 cat confdefs.h >>conftest.$ac_ext
14341 cat >>conftest.$ac_ext <<_ACEOF
14342 /* end confdefs.h. */
14343 #include <stdarg.h>
14347 va_list ap1, ap2; va_copy(ap1,ap2);
14352 rm -f conftest.$ac_objext conftest$ac_exeext
14353 if { (ac_try="$ac_link"
14354 case "(($ac_try" in
14355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14356 *) ac_try_echo=$ac_try;;
14358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14359 (eval "$ac_link") 2>conftest.er1
14361 grep -v '^ *+' conftest.er1 >conftest.err
14363 cat conftest.err >&5
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); } && {
14366 test -z "$ac_c_werror_flag" ||
14367 test ! -s conftest.err
14368 } && test -s conftest$ac_exeext &&
14369 $as_test_x conftest$ac_exeext; then
14370 ac_cv_c_va_copy="yes"
14372 echo "$as_me: failed program was:" >&5
14373 sed 's/^/| /' conftest.$ac_ext >&5
14375 ac_cv_c_va_copy="no"
14378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14379 conftest$ac_exeext conftest.$ac_ext
14382 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14383 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14384 if test "$ac_cv_c_va_copy" = "yes"
14387 cat >>confdefs.h <<\_ACEOF
14388 #define HAVE_VA_COPY 1
14392 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14393 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14394 if test "${ac_cv_c___va_copy+set}" = set; then
14395 echo $ECHO_N "(cached) $ECHO_C" >&6
14397 cat >conftest.$ac_ext <<_ACEOF
14400 cat confdefs.h >>conftest.$ac_ext
14401 cat >>conftest.$ac_ext <<_ACEOF
14402 /* end confdefs.h. */
14403 #include <stdarg.h>
14407 va_list ap1, ap2; __va_copy(ap1,ap2);
14412 rm -f conftest.$ac_objext conftest$ac_exeext
14413 if { (ac_try="$ac_link"
14414 case "(($ac_try" in
14415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14416 *) ac_try_echo=$ac_try;;
14418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14419 (eval "$ac_link") 2>conftest.er1
14421 grep -v '^ *+' conftest.er1 >conftest.err
14423 cat conftest.err >&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); } && {
14426 test -z "$ac_c_werror_flag" ||
14427 test ! -s conftest.err
14428 } && test -s conftest$ac_exeext &&
14429 $as_test_x conftest$ac_exeext; then
14430 ac_cv_c___va_copy="yes"
14432 echo "$as_me: failed program was:" >&5
14433 sed 's/^/| /' conftest.$ac_ext >&5
14435 ac_cv_c___va_copy="no"
14438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14439 conftest$ac_exeext conftest.$ac_ext
14442 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14443 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14444 if test "$ac_cv_c___va_copy" = "yes"
14447 cat >>confdefs.h <<\_ACEOF
14448 #define HAVE___VA_COPY 1
14453 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14454 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14455 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14456 echo $ECHO_N "(cached) $ECHO_C" >&6
14458 cat >conftest.$ac_ext <<_ACEOF
14461 cat confdefs.h >>conftest.$ac_ext
14462 cat >>conftest.$ac_ext <<_ACEOF
14463 /* end confdefs.h. */
14464 #define _GNU_SOURCE
14465 #include <pthread.h>
14467 typedef pthread_rwlock_t ac__type_new_;
14471 if ((ac__type_new_ *) 0)
14473 if (sizeof (ac__type_new_))
14479 rm -f conftest.$ac_objext
14480 if { (ac_try="$ac_compile"
14481 case "(($ac_try" in
14482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14483 *) ac_try_echo=$ac_try;;
14485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14486 (eval "$ac_compile") 2>conftest.er1
14488 grep -v '^ *+' conftest.er1 >conftest.err
14490 cat conftest.err >&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); } && {
14493 test -z "$ac_c_werror_flag" ||
14494 test ! -s conftest.err
14495 } && test -s conftest.$ac_objext; then
14496 ac_cv_type_pthread_rwlock_t=yes
14498 echo "$as_me: failed program was:" >&5
14499 sed 's/^/| /' conftest.$ac_ext >&5
14501 ac_cv_type_pthread_rwlock_t=no
14504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14506 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14507 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14508 if test $ac_cv_type_pthread_rwlock_t = yes; then
14510 cat >>confdefs.h <<_ACEOF
14511 #define HAVE_PTHREAD_RWLOCK_T 1
14516 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14517 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14518 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14519 echo $ECHO_N "(cached) $ECHO_C" >&6
14521 cat >conftest.$ac_ext <<_ACEOF
14524 cat confdefs.h >>conftest.$ac_ext
14525 cat >>conftest.$ac_ext <<_ACEOF
14526 /* end confdefs.h. */
14527 #define _GNU_SOURCE
14528 #include <pthread.h>
14530 typedef pthread_rwlockattr_t ac__type_new_;
14534 if ((ac__type_new_ *) 0)
14536 if (sizeof (ac__type_new_))
14542 rm -f conftest.$ac_objext
14543 if { (ac_try="$ac_compile"
14544 case "(($ac_try" in
14545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 *) ac_try_echo=$ac_try;;
14548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_compile") 2>conftest.er1
14551 grep -v '^ *+' conftest.er1 >conftest.err
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } && {
14556 test -z "$ac_c_werror_flag" ||
14557 test ! -s conftest.err
14558 } && test -s conftest.$ac_objext; then
14559 ac_cv_type_pthread_rwlockattr_t=yes
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.$ac_ext >&5
14564 ac_cv_type_pthread_rwlockattr_t=no
14567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14569 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14570 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14571 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14573 cat >>confdefs.h <<_ACEOF
14574 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14581 ac_wine_check_funcs_save_LIBS="$LIBS"
14582 LIBS="$LIBS $LIBPTHREAD"
14588 pthread_attr_get_np \
14589 pthread_getattr_np \
14590 pthread_get_stackaddr_np \
14591 pthread_get_stacksize_np
14593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14594 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14596 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14597 echo $ECHO_N "(cached) $ECHO_C" >&6
14599 cat >conftest.$ac_ext <<_ACEOF
14602 cat confdefs.h >>conftest.$ac_ext
14603 cat >>conftest.$ac_ext <<_ACEOF
14604 /* end confdefs.h. */
14605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14607 #define $ac_func innocuous_$ac_func
14609 /* System header to define __stub macros and hopefully few prototypes,
14610 which can conflict with char $ac_func (); below.
14611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14612 <limits.h> exists even on freestanding compilers. */
14615 # include <limits.h>
14617 # include <assert.h>
14622 /* Override any GCC internal prototype to avoid an error.
14623 Use char because int might match the return type of a GCC
14624 builtin and then its argument prototype would still apply. */
14629 /* The GNU C library defines this for functions which it implements
14630 to always fail with ENOSYS. Some functions are actually named
14631 something starting with __ and the normal name is an alias. */
14632 #if defined __stub_$ac_func || defined __stub___$ac_func
14639 return $ac_func ();
14644 rm -f conftest.$ac_objext conftest$ac_exeext
14645 if { (ac_try="$ac_link"
14646 case "(($ac_try" in
14647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14648 *) ac_try_echo=$ac_try;;
14650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14651 (eval "$ac_link") 2>conftest.er1
14653 grep -v '^ *+' conftest.er1 >conftest.err
14655 cat conftest.err >&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } && {
14658 test -z "$ac_c_werror_flag" ||
14659 test ! -s conftest.err
14660 } && test -s conftest$ac_exeext &&
14661 $as_test_x conftest$ac_exeext; then
14662 eval "$as_ac_var=yes"
14664 echo "$as_me: failed program was:" >&5
14665 sed 's/^/| /' conftest.$ac_ext >&5
14667 eval "$as_ac_var=no"
14670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14671 conftest$ac_exeext conftest.$ac_ext
14673 ac_res=`eval echo '${'$as_ac_var'}'`
14674 { echo "$as_me:$LINENO: result: $ac_res" >&5
14675 echo "${ECHO_T}$ac_res" >&6; }
14676 if test `eval echo '${'$as_ac_var'}'` = yes; then
14677 cat >>confdefs.h <<_ACEOF
14678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14684 LIBS="$ac_wine_check_funcs_save_LIBS"
14686 # Extract the first word of "esd-config", so it can be a program name with args.
14687 set dummy esd-config; ac_word=$2
14688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14690 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14691 echo $ECHO_N "(cached) $ECHO_C" >&6
14695 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14699 for as_dir in $PATH
14702 test -z "$as_dir" && as_dir=.
14703 for ac_exec_ext in '' $ac_executable_extensions; do
14704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14705 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14716 ESDCONFIG=$ac_cv_path_ESDCONFIG
14717 if test -n "$ESDCONFIG"; then
14718 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14719 echo "${ECHO_T}$ESDCONFIG" >&6; }
14721 { echo "$as_me:$LINENO: result: no" >&5
14722 echo "${ECHO_T}no" >&6; }
14726 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14729 for i in `$ESDCONFIG --cflags`
14732 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14735 ESD_LIBS=`$ESDCONFIG --libs`
14736 save_CFLAGS="$CFLAGS"
14737 CFLAGS="$CFLAGS $ESD_CFLAGS"
14738 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14739 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14740 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14741 echo $ECHO_N "(cached) $ECHO_C" >&6
14743 ac_check_lib_save_LIBS=$LIBS
14745 cat >conftest.$ac_ext <<_ACEOF
14748 cat confdefs.h >>conftest.$ac_ext
14749 cat >>conftest.$ac_ext <<_ACEOF
14750 /* end confdefs.h. */
14752 /* Override any GCC internal prototype to avoid an error.
14753 Use char because int might match the return type of a GCC
14754 builtin and then its argument prototype would still apply. */
14758 char esd_open_sound ();
14762 return esd_open_sound ();
14767 rm -f conftest.$ac_objext conftest$ac_exeext
14768 if { (ac_try="$ac_link"
14769 case "(($ac_try" in
14770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14771 *) ac_try_echo=$ac_try;;
14773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14774 (eval "$ac_link") 2>conftest.er1
14776 grep -v '^ *+' conftest.er1 >conftest.err
14778 cat conftest.err >&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); } && {
14781 test -z "$ac_c_werror_flag" ||
14782 test ! -s conftest.err
14783 } && test -s conftest$ac_exeext &&
14784 $as_test_x conftest$ac_exeext; then
14785 ac_cv_lib_esd_esd_open_sound=yes
14787 echo "$as_me: failed program was:" >&5
14788 sed 's/^/| /' conftest.$ac_ext >&5
14790 ac_cv_lib_esd_esd_open_sound=no
14793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14794 conftest$ac_exeext conftest.$ac_ext
14795 LIBS=$ac_check_lib_save_LIBS
14797 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14798 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14799 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14802 ESDINCL=$ESD_CFLAGS
14805 cat >>confdefs.h <<\_ACEOF
14811 CFLAGS="$save_CFLAGS"
14816 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14818 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14819 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14820 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14821 echo $ECHO_N "(cached) $ECHO_C" >&6
14823 ac_check_lib_save_LIBS=$LIBS
14824 LIBS="-lasound $LIBS"
14825 cat >conftest.$ac_ext <<_ACEOF
14828 cat confdefs.h >>conftest.$ac_ext
14829 cat >>conftest.$ac_ext <<_ACEOF
14830 /* end confdefs.h. */
14832 /* Override any GCC internal prototype to avoid an error.
14833 Use char because int might match the return type of a GCC
14834 builtin and then its argument prototype would still apply. */
14838 char snd_pcm_hw_params_get_access ();
14842 return snd_pcm_hw_params_get_access ();
14847 rm -f conftest.$ac_objext conftest$ac_exeext
14848 if { (ac_try="$ac_link"
14849 case "(($ac_try" in
14850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14851 *) ac_try_echo=$ac_try;;
14853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14854 (eval "$ac_link") 2>conftest.er1
14856 grep -v '^ *+' conftest.er1 >conftest.err
14858 cat conftest.err >&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); } && {
14861 test -z "$ac_c_werror_flag" ||
14862 test ! -s conftest.err
14863 } && test -s conftest$ac_exeext &&
14864 $as_test_x conftest$ac_exeext; then
14865 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14867 echo "$as_me: failed program was:" >&5
14868 sed 's/^/| /' conftest.$ac_ext >&5
14870 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14874 conftest$ac_exeext conftest.$ac_ext
14875 LIBS=$ac_check_lib_save_LIBS
14877 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14878 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14879 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14880 cat >conftest.$ac_ext <<_ACEOF
14883 cat confdefs.h >>conftest.$ac_ext
14884 cat >>conftest.$ac_ext <<_ACEOF
14885 /* end confdefs.h. */
14886 #ifdef HAVE_ALSA_ASOUNDLIB_H
14887 #include <alsa/asoundlib.h>
14888 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14889 #include <sys/asoundlib.h>
14894 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14899 rm -f conftest.$ac_objext
14900 if { (ac_try="$ac_compile"
14901 case "(($ac_try" in
14902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14903 *) ac_try_echo=$ac_try;;
14905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14906 (eval "$ac_compile") 2>conftest.er1
14908 grep -v '^ *+' conftest.er1 >conftest.err
14910 cat conftest.err >&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); } && {
14913 test -z "$ac_c_werror_flag" ||
14914 test ! -s conftest.err
14915 } && test -s conftest.$ac_objext; then
14917 cat >>confdefs.h <<\_ACEOF
14918 #define HAVE_ALSA 1
14921 ALSALIBS="-lasound"
14923 echo "$as_me: failed program was:" >&5
14924 sed 's/^/| /' conftest.$ac_ext >&5
14929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14936 if test "$ac_cv_header_libaudioio_h" = "yes"
14938 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14939 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14940 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14941 echo $ECHO_N "(cached) $ECHO_C" >&6
14943 ac_check_lib_save_LIBS=$LIBS
14944 LIBS="-laudioio $LIBS"
14945 cat >conftest.$ac_ext <<_ACEOF
14948 cat confdefs.h >>conftest.$ac_ext
14949 cat >>conftest.$ac_ext <<_ACEOF
14950 /* end confdefs.h. */
14952 /* Override any GCC internal prototype to avoid an error.
14953 Use char because int might match the return type of a GCC
14954 builtin and then its argument prototype would still apply. */
14958 char AudioIOGetVersion ();
14962 return AudioIOGetVersion ();
14967 rm -f conftest.$ac_objext conftest$ac_exeext
14968 if { (ac_try="$ac_link"
14969 case "(($ac_try" in
14970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14971 *) ac_try_echo=$ac_try;;
14973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14974 (eval "$ac_link") 2>conftest.er1
14976 grep -v '^ *+' conftest.er1 >conftest.err
14978 cat conftest.err >&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } && {
14981 test -z "$ac_c_werror_flag" ||
14982 test ! -s conftest.err
14983 } && test -s conftest$ac_exeext &&
14984 $as_test_x conftest$ac_exeext; then
14985 ac_cv_lib_audioio_AudioIOGetVersion=yes
14987 echo "$as_me: failed program was:" >&5
14988 sed 's/^/| /' conftest.$ac_ext >&5
14990 ac_cv_lib_audioio_AudioIOGetVersion=no
14993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14994 conftest$ac_exeext conftest.$ac_ext
14995 LIBS=$ac_check_lib_save_LIBS
14997 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14998 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14999 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15000 AUDIOIOLIBS="-laudioio"
15002 cat >>confdefs.h <<\_ACEOF
15003 #define HAVE_LIBAUDIOIO 1
15011 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15013 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15014 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15015 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15016 echo $ECHO_N "(cached) $ECHO_C" >&6
15018 ac_check_soname_save_LIBS=$LIBS
15019 LIBS="-lcapi20 $LIBS"
15020 cat >conftest.$ac_ext <<_ACEOF
15023 cat confdefs.h >>conftest.$ac_ext
15024 cat >>conftest.$ac_ext <<_ACEOF
15025 /* end confdefs.h. */
15027 /* Override any GCC internal prototype to avoid an error.
15028 Use char because int might match the return type of a GCC
15029 builtin and then its argument prototype would still apply. */
15033 char capi20_register ();
15037 return capi20_register ();
15042 rm -f conftest.$ac_objext conftest$ac_exeext
15043 if { (ac_try="$ac_link"
15044 case "(($ac_try" in
15045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15046 *) ac_try_echo=$ac_try;;
15048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15049 (eval "$ac_link") 2>conftest.er1
15051 grep -v '^ *+' conftest.er1 >conftest.err
15053 cat conftest.err >&5
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); } && {
15056 test -z "$ac_c_werror_flag" ||
15057 test ! -s conftest.err
15058 } && test -s conftest$ac_exeext &&
15059 $as_test_x conftest$ac_exeext; then
15062 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'` ;;
15063 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15066 echo "$as_me: failed program was:" >&5
15067 sed 's/^/| /' conftest.$ac_ext >&5
15072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15073 conftest$ac_exeext conftest.$ac_ext
15074 LIBS=$ac_check_soname_save_LIBS
15076 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15077 { echo "$as_me:$LINENO: result: not found" >&5
15078 echo "${ECHO_T}not found" >&6; }
15081 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15082 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15084 cat >>confdefs.h <<_ACEOF
15085 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15092 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15093 case "x$with_capi" in
15094 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15096 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15097 This is an error since --with-capi was requested." >&5
15098 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15099 This is an error since --with-capi was requested." >&2;}
15100 { (exit 1); exit 1; }; } ;;
15105 if test "$ac_cv_header_cups_cups_h" = "yes"
15107 { echo "$as_me:$LINENO: checking for -lcups" >&5
15108 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15109 if test "${ac_cv_lib_soname_cups+set}" = set; then
15110 echo $ECHO_N "(cached) $ECHO_C" >&6
15112 ac_check_soname_save_LIBS=$LIBS
15113 LIBS="-lcups $LIBS"
15114 cat >conftest.$ac_ext <<_ACEOF
15117 cat confdefs.h >>conftest.$ac_ext
15118 cat >>conftest.$ac_ext <<_ACEOF
15119 /* end confdefs.h. */
15121 /* Override any GCC internal prototype to avoid an error.
15122 Use char because int might match the return type of a GCC
15123 builtin and then its argument prototype would still apply. */
15127 char cupsGetDefault ();
15131 return cupsGetDefault ();
15136 rm -f conftest.$ac_objext conftest$ac_exeext
15137 if { (ac_try="$ac_link"
15138 case "(($ac_try" in
15139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15140 *) ac_try_echo=$ac_try;;
15142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15143 (eval "$ac_link") 2>conftest.er1
15145 grep -v '^ *+' conftest.er1 >conftest.err
15147 cat conftest.err >&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); } && {
15150 test -z "$ac_c_werror_flag" ||
15151 test ! -s conftest.err
15152 } && test -s conftest$ac_exeext &&
15153 $as_test_x conftest$ac_exeext; then
15156 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'` ;;
15157 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15160 echo "$as_me: failed program was:" >&5
15161 sed 's/^/| /' conftest.$ac_ext >&5
15166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15167 conftest$ac_exeext conftest.$ac_ext
15168 LIBS=$ac_check_soname_save_LIBS
15170 if test "x$ac_cv_lib_soname_cups" = "x"; then
15171 { echo "$as_me:$LINENO: result: not found" >&5
15172 echo "${ECHO_T}not found" >&6; }
15175 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15176 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15178 cat >>confdefs.h <<_ACEOF
15179 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15186 if test "x$ac_cv_lib_soname_cups" = "x"; then
15187 case "x$with_cups" in
15188 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15190 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15191 This is an error since --with-cups was requested." >&5
15192 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15193 This is an error since --with-cups was requested." >&2;}
15194 { (exit 1); exit 1; }; } ;;
15199 if test "$ac_cv_header_jack_jack_h" = "yes"
15201 { echo "$as_me:$LINENO: checking for -ljack" >&5
15202 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15203 if test "${ac_cv_lib_soname_jack+set}" = set; then
15204 echo $ECHO_N "(cached) $ECHO_C" >&6
15206 ac_check_soname_save_LIBS=$LIBS
15207 LIBS="-ljack $LIBS"
15208 cat >conftest.$ac_ext <<_ACEOF
15211 cat confdefs.h >>conftest.$ac_ext
15212 cat >>conftest.$ac_ext <<_ACEOF
15213 /* end confdefs.h. */
15215 /* Override any GCC internal prototype to avoid an error.
15216 Use char because int might match the return type of a GCC
15217 builtin and then its argument prototype would still apply. */
15221 char jack_client_new ();
15225 return jack_client_new ();
15230 rm -f conftest.$ac_objext conftest$ac_exeext
15231 if { (ac_try="$ac_link"
15232 case "(($ac_try" in
15233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15234 *) ac_try_echo=$ac_try;;
15236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15237 (eval "$ac_link") 2>conftest.er1
15239 grep -v '^ *+' conftest.er1 >conftest.err
15241 cat conftest.err >&5
15242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15243 (exit $ac_status); } && {
15244 test -z "$ac_c_werror_flag" ||
15245 test ! -s conftest.err
15246 } && test -s conftest$ac_exeext &&
15247 $as_test_x conftest$ac_exeext; then
15250 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'` ;;
15251 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15254 echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.$ac_ext >&5
15260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15261 conftest$ac_exeext conftest.$ac_ext
15262 LIBS=$ac_check_soname_save_LIBS
15264 if test "x$ac_cv_lib_soname_jack" = "x"; then
15265 { echo "$as_me:$LINENO: result: not found" >&5
15266 echo "${ECHO_T}not found" >&6; }
15269 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15270 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15272 cat >>confdefs.h <<_ACEOF
15273 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15281 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15283 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15284 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15285 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15286 echo $ECHO_N "(cached) $ECHO_C" >&6
15288 ac_check_soname_save_LIBS=$LIBS
15289 LIBS="-lfontconfig $LIBS"
15290 cat >conftest.$ac_ext <<_ACEOF
15293 cat confdefs.h >>conftest.$ac_ext
15294 cat >>conftest.$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15297 /* Override any GCC internal prototype to avoid an error.
15298 Use char because int might match the return type of a GCC
15299 builtin and then its argument prototype would still apply. */
15312 rm -f conftest.$ac_objext conftest$ac_exeext
15313 if { (ac_try="$ac_link"
15314 case "(($ac_try" in
15315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15316 *) ac_try_echo=$ac_try;;
15318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15319 (eval "$ac_link") 2>conftest.er1
15321 grep -v '^ *+' conftest.er1 >conftest.err
15323 cat conftest.err >&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); } && {
15326 test -z "$ac_c_werror_flag" ||
15327 test ! -s conftest.err
15328 } && test -s conftest$ac_exeext &&
15329 $as_test_x conftest$ac_exeext; then
15332 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'` ;;
15333 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15336 echo "$as_me: failed program was:" >&5
15337 sed 's/^/| /' conftest.$ac_ext >&5
15342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15343 conftest$ac_exeext conftest.$ac_ext
15344 LIBS=$ac_check_soname_save_LIBS
15346 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15347 { echo "$as_me:$LINENO: result: not found" >&5
15348 echo "${ECHO_T}not found" >&6; }
15351 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15352 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15354 cat >>confdefs.h <<_ACEOF
15355 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15361 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15363 ac_save_CPPFLAGS="$CPPFLAGS"
15364 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15365 $as_unset ac_cv_header_fontconfig_fontconfig_h
15367 for ac_header in fontconfig/fontconfig.h
15369 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15371 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15373 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15374 echo $ECHO_N "(cached) $ECHO_C" >&6
15376 ac_res=`eval echo '${'$as_ac_Header'}'`
15377 { echo "$as_me:$LINENO: result: $ac_res" >&5
15378 echo "${ECHO_T}$ac_res" >&6; }
15380 # Is the header compilable?
15381 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15382 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15383 cat >conftest.$ac_ext <<_ACEOF
15386 cat confdefs.h >>conftest.$ac_ext
15387 cat >>conftest.$ac_ext <<_ACEOF
15388 /* end confdefs.h. */
15389 $ac_includes_default
15390 #include <$ac_header>
15392 rm -f conftest.$ac_objext
15393 if { (ac_try="$ac_compile"
15394 case "(($ac_try" in
15395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15396 *) ac_try_echo=$ac_try;;
15398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15399 (eval "$ac_compile") 2>conftest.er1
15401 grep -v '^ *+' conftest.er1 >conftest.err
15403 cat conftest.err >&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); } && {
15406 test -z "$ac_c_werror_flag" ||
15407 test ! -s conftest.err
15408 } && test -s conftest.$ac_objext; then
15409 ac_header_compiler=yes
15411 echo "$as_me: failed program was:" >&5
15412 sed 's/^/| /' conftest.$ac_ext >&5
15414 ac_header_compiler=no
15417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15418 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15419 echo "${ECHO_T}$ac_header_compiler" >&6; }
15421 # Is the header present?
15422 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15424 cat >conftest.$ac_ext <<_ACEOF
15427 cat confdefs.h >>conftest.$ac_ext
15428 cat >>conftest.$ac_ext <<_ACEOF
15429 /* end confdefs.h. */
15430 #include <$ac_header>
15432 if { (ac_try="$ac_cpp conftest.$ac_ext"
15433 case "(($ac_try" in
15434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15435 *) ac_try_echo=$ac_try;;
15437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15438 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15440 grep -v '^ *+' conftest.er1 >conftest.err
15442 cat conftest.err >&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); } >/dev/null && {
15445 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15446 test ! -s conftest.err
15448 ac_header_preproc=yes
15450 echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.$ac_ext >&5
15453 ac_header_preproc=no
15456 rm -f conftest.err conftest.$ac_ext
15457 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15458 echo "${ECHO_T}$ac_header_preproc" >&6; }
15460 # So? What about this header?
15461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15463 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15464 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15466 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15467 ac_header_preproc=yes
15470 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15471 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15472 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15473 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15474 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15475 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15476 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15477 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15480 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15481 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15483 ## ------------------------------------ ##
15484 ## Report this to wine-devel@winehq.org ##
15485 ## ------------------------------------ ##
15487 ) | sed "s/^/$as_me: WARNING: /" >&2
15490 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15492 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15493 echo $ECHO_N "(cached) $ECHO_C" >&6
15495 eval "$as_ac_Header=\$ac_header_preproc"
15497 ac_res=`eval echo '${'$as_ac_Header'}'`
15498 { echo "$as_me:$LINENO: result: $ac_res" >&5
15499 echo "${ECHO_T}$ac_res" >&6; }
15502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15503 cat >>confdefs.h <<_ACEOF
15504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15511 CPPFLAGS="$ac_save_CPPFLAGS"
15512 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15514 FONTCONFIGINCL="$X_CFLAGS"
15516 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15517 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15518 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15519 echo $ECHO_N "(cached) $ECHO_C" >&6
15521 ac_check_soname_save_LIBS=$LIBS
15522 LIBS="-lfontconfig $X_LIBS $LIBS"
15523 cat >conftest.$ac_ext <<_ACEOF
15526 cat confdefs.h >>conftest.$ac_ext
15527 cat >>conftest.$ac_ext <<_ACEOF
15528 /* end confdefs.h. */
15530 /* Override any GCC internal prototype to avoid an error.
15531 Use char because int might match the return type of a GCC
15532 builtin and then its argument prototype would still apply. */
15545 rm -f conftest.$ac_objext conftest$ac_exeext
15546 if { (ac_try="$ac_link"
15547 case "(($ac_try" in
15548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15549 *) ac_try_echo=$ac_try;;
15551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15552 (eval "$ac_link") 2>conftest.er1
15554 grep -v '^ *+' conftest.er1 >conftest.err
15556 cat conftest.err >&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); } && {
15559 test -z "$ac_c_werror_flag" ||
15560 test ! -s conftest.err
15561 } && test -s conftest$ac_exeext &&
15562 $as_test_x conftest$ac_exeext; then
15565 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'` ;;
15566 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15569 echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.$ac_ext >&5
15575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15576 conftest$ac_exeext conftest.$ac_ext
15577 LIBS=$ac_check_soname_save_LIBS
15579 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15580 { echo "$as_me:$LINENO: result: not found" >&5
15581 echo "${ECHO_T}not found" >&6; }
15584 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15585 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15587 cat >>confdefs.h <<_ACEOF
15588 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15596 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15597 case "x$with_fontconfig" in
15598 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15600 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15601 This is an error since --with-fontconfig was requested." >&5
15602 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15603 This is an error since --with-fontconfig was requested." >&2;}
15604 { (exit 1); exit 1; }; } ;;
15609 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15611 { echo "$as_me:$LINENO: checking for -lssl" >&5
15612 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15613 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15614 echo $ECHO_N "(cached) $ECHO_C" >&6
15616 ac_check_soname_save_LIBS=$LIBS
15618 cat >conftest.$ac_ext <<_ACEOF
15621 cat confdefs.h >>conftest.$ac_ext
15622 cat >>conftest.$ac_ext <<_ACEOF
15623 /* end confdefs.h. */
15625 /* Override any GCC internal prototype to avoid an error.
15626 Use char because int might match the return type of a GCC
15627 builtin and then its argument prototype would still apply. */
15631 char SSL_library_init ();
15635 return SSL_library_init ();
15640 rm -f conftest.$ac_objext conftest$ac_exeext
15641 if { (ac_try="$ac_link"
15642 case "(($ac_try" in
15643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15644 *) ac_try_echo=$ac_try;;
15646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15647 (eval "$ac_link") 2>conftest.er1
15649 grep -v '^ *+' conftest.er1 >conftest.err
15651 cat conftest.err >&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); } && {
15654 test -z "$ac_c_werror_flag" ||
15655 test ! -s conftest.err
15656 } && test -s conftest$ac_exeext &&
15657 $as_test_x conftest$ac_exeext; then
15660 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'` ;;
15661 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15664 echo "$as_me: failed program was:" >&5
15665 sed 's/^/| /' conftest.$ac_ext >&5
15670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15671 conftest$ac_exeext conftest.$ac_ext
15672 LIBS=$ac_check_soname_save_LIBS
15674 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15675 { echo "$as_me:$LINENO: result: not found" >&5
15676 echo "${ECHO_T}not found" >&6; }
15679 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15680 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15682 cat >>confdefs.h <<_ACEOF
15683 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15689 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15690 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15691 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15694 ac_check_soname_save_LIBS=$LIBS
15695 LIBS="-lcrypto $LIBS"
15696 cat >conftest.$ac_ext <<_ACEOF
15699 cat confdefs.h >>conftest.$ac_ext
15700 cat >>conftest.$ac_ext <<_ACEOF
15701 /* end confdefs.h. */
15703 /* Override any GCC internal prototype to avoid an error.
15704 Use char because int might match the return type of a GCC
15705 builtin and then its argument prototype would still apply. */
15709 char BIO_new_socket ();
15713 return BIO_new_socket ();
15718 rm -f conftest.$ac_objext conftest$ac_exeext
15719 if { (ac_try="$ac_link"
15720 case "(($ac_try" in
15721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15722 *) ac_try_echo=$ac_try;;
15724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15725 (eval "$ac_link") 2>conftest.er1
15727 grep -v '^ *+' conftest.er1 >conftest.err
15729 cat conftest.err >&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } && {
15732 test -z "$ac_c_werror_flag" ||
15733 test ! -s conftest.err
15734 } && test -s conftest$ac_exeext &&
15735 $as_test_x conftest$ac_exeext; then
15738 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'` ;;
15739 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15742 echo "$as_me: failed program was:" >&5
15743 sed 's/^/| /' conftest.$ac_ext >&5
15748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15749 conftest$ac_exeext conftest.$ac_ext
15750 LIBS=$ac_check_soname_save_LIBS
15752 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15753 { echo "$as_me:$LINENO: result: not found" >&5
15754 echo "${ECHO_T}not found" >&6; }
15757 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15758 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15760 cat >>confdefs.h <<_ACEOF
15761 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15768 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15769 case "x$with_openssl" in
15770 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15772 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15773 This is an error since --with-openssl was requested." >&5
15774 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15775 This is an error since --with-openssl was requested." >&2;}
15776 { (exit 1); exit 1; }; } ;;
15781 if test "$ac_cv_header_jpeglib_h" = "yes"
15783 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15784 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15785 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15786 echo $ECHO_N "(cached) $ECHO_C" >&6
15788 ac_check_soname_save_LIBS=$LIBS
15789 LIBS="-ljpeg $LIBS"
15790 cat >conftest.$ac_ext <<_ACEOF
15793 cat confdefs.h >>conftest.$ac_ext
15794 cat >>conftest.$ac_ext <<_ACEOF
15795 /* end confdefs.h. */
15797 /* Override any GCC internal prototype to avoid an error.
15798 Use char because int might match the return type of a GCC
15799 builtin and then its argument prototype would still apply. */
15803 char jpeg_start_decompress ();
15807 return jpeg_start_decompress ();
15812 rm -f conftest.$ac_objext conftest$ac_exeext
15813 if { (ac_try="$ac_link"
15814 case "(($ac_try" in
15815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15816 *) ac_try_echo=$ac_try;;
15818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15819 (eval "$ac_link") 2>conftest.er1
15821 grep -v '^ *+' conftest.er1 >conftest.err
15823 cat conftest.err >&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } && {
15826 test -z "$ac_c_werror_flag" ||
15827 test ! -s conftest.err
15828 } && test -s conftest$ac_exeext &&
15829 $as_test_x conftest$ac_exeext; then
15832 dylib) ac_cv_lib_soname_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'` ;;
15833 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.$ac_ext >&5
15842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15843 conftest$ac_exeext conftest.$ac_ext
15844 LIBS=$ac_check_soname_save_LIBS
15846 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15847 { echo "$as_me:$LINENO: result: not found" >&5
15848 echo "${ECHO_T}not found" >&6; }
15851 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15852 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15854 cat >>confdefs.h <<_ACEOF
15855 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15862 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15863 case "x$with_jpeg" in
15864 x) wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
15866 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15867 This is an error since --with-jpeg was requested." >&5
15868 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15869 This is an error since --with-jpeg was requested." >&2;}
15870 { (exit 1); exit 1; }; } ;;
15875 if test "$ac_cv_header_png_h" = "yes"
15877 { echo "$as_me:$LINENO: checking for -lpng" >&5
15878 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15879 if test "${ac_cv_lib_soname_png+set}" = set; then
15880 echo $ECHO_N "(cached) $ECHO_C" >&6
15882 ac_check_soname_save_LIBS=$LIBS
15884 cat >conftest.$ac_ext <<_ACEOF
15887 cat confdefs.h >>conftest.$ac_ext
15888 cat >>conftest.$ac_ext <<_ACEOF
15889 /* end confdefs.h. */
15891 /* Override any GCC internal prototype to avoid an error.
15892 Use char because int might match the return type of a GCC
15893 builtin and then its argument prototype would still apply. */
15897 char png_create_read_struct ();
15901 return png_create_read_struct ();
15906 rm -f conftest.$ac_objext conftest$ac_exeext
15907 if { (ac_try="$ac_link"
15908 case "(($ac_try" in
15909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15910 *) ac_try_echo=$ac_try;;
15912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15913 (eval "$ac_link") 2>conftest.er1
15915 grep -v '^ *+' conftest.er1 >conftest.err
15917 cat conftest.err >&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); } && {
15920 test -z "$ac_c_werror_flag" ||
15921 test ! -s conftest.err
15922 } && test -s conftest$ac_exeext &&
15923 $as_test_x conftest$ac_exeext; then
15926 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'` ;;
15927 *) 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'` ;;
15930 echo "$as_me: failed program was:" >&5
15931 sed 's/^/| /' conftest.$ac_ext >&5
15936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15937 conftest$ac_exeext conftest.$ac_ext
15938 LIBS=$ac_check_soname_save_LIBS
15940 if test "x$ac_cv_lib_soname_png" = "x"; then
15941 { echo "$as_me:$LINENO: result: not found" >&5
15942 echo "${ECHO_T}not found" >&6; }
15945 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15946 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15948 cat >>confdefs.h <<_ACEOF
15949 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15956 if test "x$ac_cv_lib_soname_png" = "x"; then
15957 case "x$with_png" in
15958 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
15960 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15961 This is an error since --with-png was requested." >&5
15962 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15963 This is an error since --with-png was requested." >&2;}
15964 { (exit 1); exit 1; }; } ;;
15969 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15970 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15971 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15972 echo $ECHO_N "(cached) $ECHO_C" >&6
15974 ac_check_soname_save_LIBS=$LIBS
15975 LIBS="-lodbc $LIBS"
15976 cat >conftest.$ac_ext <<_ACEOF
15979 cat confdefs.h >>conftest.$ac_ext
15980 cat >>conftest.$ac_ext <<_ACEOF
15981 /* end confdefs.h. */
15983 /* Override any GCC internal prototype to avoid an error.
15984 Use char because int might match the return type of a GCC
15985 builtin and then its argument prototype would still apply. */
15989 char SQLConnect ();
15993 return SQLConnect ();
15998 rm -f conftest.$ac_objext conftest$ac_exeext
15999 if { (ac_try="$ac_link"
16000 case "(($ac_try" in
16001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16002 *) ac_try_echo=$ac_try;;
16004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16005 (eval "$ac_link") 2>conftest.er1
16007 grep -v '^ *+' conftest.er1 >conftest.err
16009 cat conftest.err >&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); } && {
16012 test -z "$ac_c_werror_flag" ||
16013 test ! -s conftest.err
16014 } && test -s conftest$ac_exeext &&
16015 $as_test_x conftest$ac_exeext; then
16018 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'` ;;
16019 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16022 echo "$as_me: failed program was:" >&5
16023 sed 's/^/| /' conftest.$ac_ext >&5
16028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16029 conftest$ac_exeext conftest.$ac_ext
16030 LIBS=$ac_check_soname_save_LIBS
16032 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16033 { echo "$as_me:$LINENO: result: not found" >&5
16034 echo "${ECHO_T}not found" >&6; }
16035 cat >>confdefs.h <<_ACEOF
16036 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16040 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16041 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16043 cat >>confdefs.h <<_ACEOF
16044 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16051 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16052 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16053 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16054 "$ac_cv_header_soundcard_h" != "yes" -a \
16055 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16057 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16063 if test "x${GCC}" = "xyes"
16065 EXTRACFLAGS="-Wall -pipe"
16067 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16068 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16069 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16070 echo $ECHO_N "(cached) $ECHO_C" >&6
16072 if test "$cross_compiling" = yes; then
16073 ac_cv_c_gcc_strength_bug="yes"
16075 cat >conftest.$ac_ext <<_ACEOF
16078 cat confdefs.h >>conftest.$ac_ext
16079 cat >>conftest.$ac_ext <<_ACEOF
16080 /* end confdefs.h. */
16081 int L[4] = {0,1,2,3};
16085 static int Array[3];
16086 unsigned int B = 3;
16088 for(i=0; i<B; i++) Array[i] = i - 3;
16089 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16091 exit( Array[1] != -2 || L[2] != 3)
16096 rm -f conftest$ac_exeext
16097 if { (ac_try="$ac_link"
16098 case "(($ac_try" in
16099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16100 *) ac_try_echo=$ac_try;;
16102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16103 (eval "$ac_link") 2>&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16107 { (case "(($ac_try" in
16108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16109 *) ac_try_echo=$ac_try;;
16111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16112 (eval "$ac_try") 2>&5
16114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16115 (exit $ac_status); }; }; then
16116 ac_cv_c_gcc_strength_bug="no"
16118 echo "$as_me: program exited with status $ac_status" >&5
16119 echo "$as_me: failed program was:" >&5
16120 sed 's/^/| /' conftest.$ac_ext >&5
16122 ( exit $ac_status )
16123 ac_cv_c_gcc_strength_bug="yes"
16125 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16130 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16131 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16132 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16134 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16138 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16139 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16140 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16141 echo $ECHO_N "(cached) $ECHO_C" >&6
16143 ac_wine_try_cflags_saved=$CFLAGS
16144 CFLAGS="$CFLAGS -fshort-wchar"
16145 cat >conftest.$ac_ext <<_ACEOF
16148 cat confdefs.h >>conftest.$ac_ext
16149 cat >>conftest.$ac_ext <<_ACEOF
16150 /* end confdefs.h. */
16160 rm -f conftest.$ac_objext conftest$ac_exeext
16161 if { (ac_try="$ac_link"
16162 case "(($ac_try" in
16163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16164 *) ac_try_echo=$ac_try;;
16166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16167 (eval "$ac_link") 2>conftest.er1
16169 grep -v '^ *+' conftest.er1 >conftest.err
16171 cat conftest.err >&5
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); } && {
16174 test -z "$ac_c_werror_flag" ||
16175 test ! -s conftest.err
16176 } && test -s conftest$ac_exeext &&
16177 $as_test_x conftest$ac_exeext; then
16178 ac_cv_cflags__fshort_wchar=yes
16180 echo "$as_me: failed program was:" >&5
16181 sed 's/^/| /' conftest.$ac_ext >&5
16183 ac_cv_cflags__fshort_wchar=no
16186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16187 conftest$ac_exeext conftest.$ac_ext
16188 CFLAGS=$ac_wine_try_cflags_saved
16190 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16191 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16192 if test $ac_cv_cflags__fshort_wchar = yes; then
16194 cat >>confdefs.h <<\_ACEOF
16195 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16200 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16201 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16202 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16203 echo $ECHO_N "(cached) $ECHO_C" >&6
16205 ac_wine_try_cflags_saved=$CFLAGS
16206 CFLAGS="$CFLAGS -fno-strict-aliasing"
16207 cat >conftest.$ac_ext <<_ACEOF
16210 cat confdefs.h >>conftest.$ac_ext
16211 cat >>conftest.$ac_ext <<_ACEOF
16212 /* end confdefs.h. */
16222 rm -f conftest.$ac_objext conftest$ac_exeext
16223 if { (ac_try="$ac_link"
16224 case "(($ac_try" in
16225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16226 *) ac_try_echo=$ac_try;;
16228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16229 (eval "$ac_link") 2>conftest.er1
16231 grep -v '^ *+' conftest.er1 >conftest.err
16233 cat conftest.err >&5
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); } && {
16236 test -z "$ac_c_werror_flag" ||
16237 test ! -s conftest.err
16238 } && test -s conftest$ac_exeext &&
16239 $as_test_x conftest$ac_exeext; then
16240 ac_cv_cflags__fno_strict_aliasing=yes
16242 echo "$as_me: failed program was:" >&5
16243 sed 's/^/| /' conftest.$ac_ext >&5
16245 ac_cv_cflags__fno_strict_aliasing=no
16248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16249 conftest$ac_exeext conftest.$ac_ext
16250 CFLAGS=$ac_wine_try_cflags_saved
16252 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16253 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16254 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16255 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16258 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16259 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16260 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16261 echo $ECHO_N "(cached) $ECHO_C" >&6
16263 ac_wine_try_cflags_saved=$CFLAGS
16264 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16265 cat >conftest.$ac_ext <<_ACEOF
16268 cat confdefs.h >>conftest.$ac_ext
16269 cat >>conftest.$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16280 rm -f conftest.$ac_objext conftest$ac_exeext
16281 if { (ac_try="$ac_link"
16282 case "(($ac_try" in
16283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16284 *) ac_try_echo=$ac_try;;
16286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16287 (eval "$ac_link") 2>conftest.er1
16289 grep -v '^ *+' conftest.er1 >conftest.err
16291 cat conftest.err >&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } && {
16294 test -z "$ac_c_werror_flag" ||
16295 test ! -s conftest.err
16296 } && test -s conftest$ac_exeext &&
16297 $as_test_x conftest$ac_exeext; then
16298 ac_cv_cflags__Wdeclaration_after_statement=yes
16300 echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.$ac_ext >&5
16303 ac_cv_cflags__Wdeclaration_after_statement=no
16306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16307 conftest$ac_exeext conftest.$ac_ext
16308 CFLAGS=$ac_wine_try_cflags_saved
16310 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16311 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16312 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16313 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16316 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16317 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16318 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16319 echo $ECHO_N "(cached) $ECHO_C" >&6
16321 ac_wine_try_cflags_saved=$CFLAGS
16322 CFLAGS="$CFLAGS -Wwrite-strings"
16323 cat >conftest.$ac_ext <<_ACEOF
16326 cat confdefs.h >>conftest.$ac_ext
16327 cat >>conftest.$ac_ext <<_ACEOF
16328 /* end confdefs.h. */
16338 rm -f conftest.$ac_objext conftest$ac_exeext
16339 if { (ac_try="$ac_link"
16340 case "(($ac_try" in
16341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16342 *) ac_try_echo=$ac_try;;
16344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16345 (eval "$ac_link") 2>conftest.er1
16347 grep -v '^ *+' conftest.er1 >conftest.err
16349 cat conftest.err >&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); } && {
16352 test -z "$ac_c_werror_flag" ||
16353 test ! -s conftest.err
16354 } && test -s conftest$ac_exeext &&
16355 $as_test_x conftest$ac_exeext; then
16356 ac_cv_cflags__Wwrite_strings=yes
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.$ac_ext >&5
16361 ac_cv_cflags__Wwrite_strings=no
16364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16365 conftest$ac_exeext conftest.$ac_ext
16366 CFLAGS=$ac_wine_try_cflags_saved
16368 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16369 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16370 if test $ac_cv_cflags__Wwrite_strings = yes; then
16371 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16374 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16375 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16376 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16377 echo $ECHO_N "(cached) $ECHO_C" >&6
16379 ac_wine_try_cflags_saved=$CFLAGS
16380 CFLAGS="$CFLAGS -Wtype-limits"
16381 cat >conftest.$ac_ext <<_ACEOF
16384 cat confdefs.h >>conftest.$ac_ext
16385 cat >>conftest.$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16396 rm -f conftest.$ac_objext conftest$ac_exeext
16397 if { (ac_try="$ac_link"
16398 case "(($ac_try" in
16399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16400 *) ac_try_echo=$ac_try;;
16402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16403 (eval "$ac_link") 2>conftest.er1
16405 grep -v '^ *+' conftest.er1 >conftest.err
16407 cat conftest.err >&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); } && {
16410 test -z "$ac_c_werror_flag" ||
16411 test ! -s conftest.err
16412 } && test -s conftest$ac_exeext &&
16413 $as_test_x conftest$ac_exeext; then
16414 ac_cv_cflags__Wtype_limits=yes
16416 echo "$as_me: failed program was:" >&5
16417 sed 's/^/| /' conftest.$ac_ext >&5
16419 ac_cv_cflags__Wtype_limits=no
16422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16423 conftest$ac_exeext conftest.$ac_ext
16424 CFLAGS=$ac_wine_try_cflags_saved
16426 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16427 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16428 if test $ac_cv_cflags__Wtype_limits = yes; then
16429 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16433 saved_CFLAGS="$CFLAGS"
16434 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16435 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16436 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16437 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16438 echo $ECHO_N "(cached) $ECHO_C" >&6
16440 cat >conftest.$ac_ext <<_ACEOF
16443 cat confdefs.h >>conftest.$ac_ext
16444 cat >>conftest.$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16446 #include <string.h>
16455 rm -f conftest.$ac_objext
16456 if { (ac_try="$ac_compile"
16457 case "(($ac_try" in
16458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16459 *) ac_try_echo=$ac_try;;
16461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16462 (eval "$ac_compile") 2>conftest.er1
16464 grep -v '^ *+' conftest.er1 >conftest.err
16466 cat conftest.err >&5
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); } && {
16469 test -z "$ac_c_werror_flag" ||
16470 test ! -s conftest.err
16471 } && test -s conftest.$ac_objext; then
16472 ac_cv_c_string_h_warnings=no
16474 echo "$as_me: failed program was:" >&5
16475 sed 's/^/| /' conftest.$ac_ext >&5
16477 ac_cv_c_string_h_warnings=yes
16480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16482 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16483 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16484 CFLAGS="$saved_CFLAGS"
16485 if test "$ac_cv_c_string_h_warnings" = "no"
16487 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16492 saved_CFLAGS="$CFLAGS"
16493 CFLAGS="$CFLAGS -Werror"
16494 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16495 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16496 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16497 echo $ECHO_N "(cached) $ECHO_C" >&6
16499 cat >conftest.$ac_ext <<_ACEOF
16502 cat confdefs.h >>conftest.$ac_ext
16503 cat >>conftest.$ac_ext <<_ACEOF
16504 /* end confdefs.h. */
16509 int iswlower(unsigned short);
16514 rm -f conftest.$ac_objext
16515 if { (ac_try="$ac_compile"
16516 case "(($ac_try" in
16517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16518 *) ac_try_echo=$ac_try;;
16520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16521 (eval "$ac_compile") 2>conftest.er1
16523 grep -v '^ *+' conftest.er1 >conftest.err
16525 cat conftest.err >&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); } && {
16528 test -z "$ac_c_werror_flag" ||
16529 test ! -s conftest.err
16530 } && test -s conftest.$ac_objext; then
16531 ac_cv_c_builtin_wchar_ctype=no
16533 echo "$as_me: failed program was:" >&5
16534 sed 's/^/| /' conftest.$ac_ext >&5
16536 ac_cv_c_builtin_wchar_ctype=yes
16539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16541 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16542 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16543 CFLAGS="$saved_CFLAGS"
16544 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16546 BUILTINFLAG="-fno-builtin"
16551 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16552 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16553 if test "${ac_cv_asm_func_def+set}" = set; then
16554 echo $ECHO_N "(cached) $ECHO_C" >&6
16556 cat >conftest.$ac_ext <<_ACEOF
16559 cat confdefs.h >>conftest.$ac_ext
16560 cat >>conftest.$ac_ext <<_ACEOF
16561 /* end confdefs.h. */
16566 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16571 rm -f conftest.$ac_objext conftest$ac_exeext
16572 if { (ac_try="$ac_link"
16573 case "(($ac_try" in
16574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16575 *) ac_try_echo=$ac_try;;
16577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16578 (eval "$ac_link") 2>conftest.er1
16580 grep -v '^ *+' conftest.er1 >conftest.err
16582 cat conftest.err >&5
16583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 (exit $ac_status); } && {
16585 test -z "$ac_c_werror_flag" ||
16586 test ! -s conftest.err
16587 } && test -s conftest$ac_exeext &&
16588 $as_test_x conftest$ac_exeext; then
16589 ac_cv_asm_func_def=".def"
16591 echo "$as_me: failed program was:" >&5
16592 sed 's/^/| /' conftest.$ac_ext >&5
16594 cat >conftest.$ac_ext <<_ACEOF
16597 cat confdefs.h >>conftest.$ac_ext
16598 cat >>conftest.$ac_ext <<_ACEOF
16599 /* end confdefs.h. */
16604 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16609 rm -f conftest.$ac_objext conftest$ac_exeext
16610 if { (ac_try="$ac_link"
16611 case "(($ac_try" in
16612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16613 *) ac_try_echo=$ac_try;;
16615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16616 (eval "$ac_link") 2>conftest.er1
16618 grep -v '^ *+' conftest.er1 >conftest.err
16620 cat conftest.err >&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); } && {
16623 test -z "$ac_c_werror_flag" ||
16624 test ! -s conftest.err
16625 } && test -s conftest$ac_exeext &&
16626 $as_test_x conftest$ac_exeext; then
16627 ac_cv_asm_func_def=".type @function"
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.$ac_ext >&5
16632 cat >conftest.$ac_ext <<_ACEOF
16635 cat confdefs.h >>conftest.$ac_ext
16636 cat >>conftest.$ac_ext <<_ACEOF
16637 /* end confdefs.h. */
16642 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16647 rm -f conftest.$ac_objext conftest$ac_exeext
16648 if { (ac_try="$ac_link"
16649 case "(($ac_try" in
16650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16651 *) ac_try_echo=$ac_try;;
16653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16654 (eval "$ac_link") 2>conftest.er1
16656 grep -v '^ *+' conftest.er1 >conftest.err
16658 cat conftest.err >&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } && {
16661 test -z "$ac_c_werror_flag" ||
16662 test ! -s conftest.err
16663 } && test -s conftest$ac_exeext &&
16664 $as_test_x conftest$ac_exeext; then
16665 ac_cv_asm_func_def=".type 2"
16667 echo "$as_me: failed program was:" >&5
16668 sed 's/^/| /' conftest.$ac_ext >&5
16670 ac_cv_asm_func_def="unknown"
16673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16674 conftest$ac_exeext conftest.$ac_ext
16677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16678 conftest$ac_exeext conftest.$ac_ext
16681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16682 conftest$ac_exeext conftest.$ac_ext
16684 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16685 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16689 case "$ac_cv_asm_func_def" in
16691 cat >>confdefs.h <<\_ACEOF
16692 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16696 cat >>confdefs.h <<\_ACEOF
16697 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16701 cat >>confdefs.h <<\_ACEOF
16702 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16706 cat >>confdefs.h <<\_ACEOF
16707 #define __ASM_FUNC(name) ""
16713 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16714 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16715 if test "${ac_cv_c_extern_prefix+set}" = set; then
16716 echo $ECHO_N "(cached) $ECHO_C" >&6
16718 cat >conftest.$ac_ext <<_ACEOF
16721 cat confdefs.h >>conftest.$ac_ext
16722 cat >>conftest.$ac_ext <<_ACEOF
16723 /* end confdefs.h. */
16724 extern int ac_test;
16728 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16733 rm -f conftest.$ac_objext conftest$ac_exeext
16734 if { (ac_try="$ac_link"
16735 case "(($ac_try" in
16736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16737 *) ac_try_echo=$ac_try;;
16739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16740 (eval "$ac_link") 2>conftest.er1
16742 grep -v '^ *+' conftest.er1 >conftest.err
16744 cat conftest.err >&5
16745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746 (exit $ac_status); } && {
16747 test -z "$ac_c_werror_flag" ||
16748 test ! -s conftest.err
16749 } && test -s conftest$ac_exeext &&
16750 $as_test_x conftest$ac_exeext; then
16751 ac_cv_c_extern_prefix="yes"
16753 echo "$as_me: failed program was:" >&5
16754 sed 's/^/| /' conftest.$ac_ext >&5
16756 ac_cv_c_extern_prefix="no"
16759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16760 conftest$ac_exeext conftest.$ac_ext
16762 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16763 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16767 if test "$ac_cv_c_extern_prefix" = "yes"
16769 cat >>confdefs.h <<\_ACEOF
16770 #define __ASM_NAME(name) "_" name
16774 cat >>confdefs.h <<\_ACEOF
16775 #define __ASM_NAME(name) name
16785 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16789 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16791 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16795 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16803 SOCKETLIBS="-lws2_32"
16808 MAIN_BINARY="wine-pthread"
16812 linux* | k*bsd*-gnu)
16813 MAIN_BINARY="wine-glibc"
16815 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16818 MAIN_BINARY="wine-freebsd"
16820 EXTRA_BINARIES="wine-pthread"
16968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16969 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16971 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16972 echo $ECHO_N "(cached) $ECHO_C" >&6
16974 cat >conftest.$ac_ext <<_ACEOF
16977 cat confdefs.h >>conftest.$ac_ext
16978 cat >>conftest.$ac_ext <<_ACEOF
16979 /* end confdefs.h. */
16980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16982 #define $ac_func innocuous_$ac_func
16984 /* System header to define __stub macros and hopefully few prototypes,
16985 which can conflict with char $ac_func (); below.
16986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16987 <limits.h> exists even on freestanding compilers. */
16990 # include <limits.h>
16992 # include <assert.h>
16997 /* Override any GCC internal prototype to avoid an error.
16998 Use char because int might match the return type of a GCC
16999 builtin and then its argument prototype would still apply. */
17004 /* The GNU C library defines this for functions which it implements
17005 to always fail with ENOSYS. Some functions are actually named
17006 something starting with __ and the normal name is an alias. */
17007 #if defined __stub_$ac_func || defined __stub___$ac_func
17014 return $ac_func ();
17019 rm -f conftest.$ac_objext conftest$ac_exeext
17020 if { (ac_try="$ac_link"
17021 case "(($ac_try" in
17022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17023 *) ac_try_echo=$ac_try;;
17025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17026 (eval "$ac_link") 2>conftest.er1
17028 grep -v '^ *+' conftest.er1 >conftest.err
17030 cat conftest.err >&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); } && {
17033 test -z "$ac_c_werror_flag" ||
17034 test ! -s conftest.err
17035 } && test -s conftest$ac_exeext &&
17036 $as_test_x conftest$ac_exeext; then
17037 eval "$as_ac_var=yes"
17039 echo "$as_me: failed program was:" >&5
17040 sed 's/^/| /' conftest.$ac_ext >&5
17042 eval "$as_ac_var=no"
17045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17046 conftest$ac_exeext conftest.$ac_ext
17048 ac_res=`eval echo '${'$as_ac_var'}'`
17049 { echo "$as_me:$LINENO: result: $ac_res" >&5
17050 echo "${ECHO_T}$ac_res" >&6; }
17051 if test `eval echo '${'$as_ac_var'}'` = yes; then
17052 cat >>confdefs.h <<_ACEOF
17053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17060 if test "$ac_cv_func_dlopen" = no
17062 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17063 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17064 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17065 echo $ECHO_N "(cached) $ECHO_C" >&6
17067 ac_check_lib_save_LIBS=$LIBS
17069 cat >conftest.$ac_ext <<_ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17076 /* Override any GCC internal prototype to avoid an error.
17077 Use char because int might match the return type of a GCC
17078 builtin and then its argument prototype would still apply. */
17091 rm -f conftest.$ac_objext conftest$ac_exeext
17092 if { (ac_try="$ac_link"
17093 case "(($ac_try" in
17094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17095 *) ac_try_echo=$ac_try;;
17097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17098 (eval "$ac_link") 2>conftest.er1
17100 grep -v '^ *+' conftest.er1 >conftest.err
17102 cat conftest.err >&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); } && {
17105 test -z "$ac_c_werror_flag" ||
17106 test ! -s conftest.err
17107 } && test -s conftest$ac_exeext &&
17108 $as_test_x conftest$ac_exeext; then
17109 ac_cv_lib_dl_dlopen=yes
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.$ac_ext >&5
17114 ac_cv_lib_dl_dlopen=no
17117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17118 conftest$ac_exeext conftest.$ac_ext
17119 LIBS=$ac_check_lib_save_LIBS
17121 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17122 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17123 if test $ac_cv_lib_dl_dlopen = yes; then
17124 cat >>confdefs.h <<\_ACEOF
17125 #define HAVE_DLOPEN 1
17132 ac_wine_check_funcs_save_LIBS="$LIBS"
17133 LIBS="$LIBS $LIBDL"
17135 for ac_func in dladdr
17137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17138 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17140 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17141 echo $ECHO_N "(cached) $ECHO_C" >&6
17143 cat >conftest.$ac_ext <<_ACEOF
17146 cat confdefs.h >>conftest.$ac_ext
17147 cat >>conftest.$ac_ext <<_ACEOF
17148 /* end confdefs.h. */
17149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17151 #define $ac_func innocuous_$ac_func
17153 /* System header to define __stub macros and hopefully few prototypes,
17154 which can conflict with char $ac_func (); below.
17155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17156 <limits.h> exists even on freestanding compilers. */
17159 # include <limits.h>
17161 # include <assert.h>
17166 /* Override any GCC internal prototype to avoid an error.
17167 Use char because int might match the return type of a GCC
17168 builtin and then its argument prototype would still apply. */
17173 /* The GNU C library defines this for functions which it implements
17174 to always fail with ENOSYS. Some functions are actually named
17175 something starting with __ and the normal name is an alias. */
17176 #if defined __stub_$ac_func || defined __stub___$ac_func
17183 return $ac_func ();
17188 rm -f conftest.$ac_objext conftest$ac_exeext
17189 if { (ac_try="$ac_link"
17190 case "(($ac_try" in
17191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17192 *) ac_try_echo=$ac_try;;
17194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17195 (eval "$ac_link") 2>conftest.er1
17197 grep -v '^ *+' conftest.er1 >conftest.err
17199 cat conftest.err >&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); } && {
17202 test -z "$ac_c_werror_flag" ||
17203 test ! -s conftest.err
17204 } && test -s conftest$ac_exeext &&
17205 $as_test_x conftest$ac_exeext; then
17206 eval "$as_ac_var=yes"
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17211 eval "$as_ac_var=no"
17214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17215 conftest$ac_exeext conftest.$ac_ext
17217 ac_res=`eval echo '${'$as_ac_var'}'`
17218 { echo "$as_me:$LINENO: result: $ac_res" >&5
17219 echo "${ECHO_T}$ac_res" >&6; }
17220 if test `eval echo '${'$as_ac_var'}'` = yes; then
17221 cat >>confdefs.h <<_ACEOF
17222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17228 LIBS="$ac_wine_check_funcs_save_LIBS"
17230 if test "$ac_cv_func_poll" = no
17232 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17233 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17234 if test "${ac_cv_lib_poll_poll+set}" = set; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17237 ac_check_lib_save_LIBS=$LIBS
17238 LIBS="-lpoll $LIBS"
17239 cat >conftest.$ac_ext <<_ACEOF
17242 cat confdefs.h >>conftest.$ac_ext
17243 cat >>conftest.$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17246 /* Override any GCC internal prototype to avoid an error.
17247 Use char because int might match the return type of a GCC
17248 builtin and then its argument prototype would still apply. */
17261 rm -f conftest.$ac_objext conftest$ac_exeext
17262 if { (ac_try="$ac_link"
17263 case "(($ac_try" in
17264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17265 *) ac_try_echo=$ac_try;;
17267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17268 (eval "$ac_link") 2>conftest.er1
17270 grep -v '^ *+' conftest.er1 >conftest.err
17272 cat conftest.err >&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } && {
17275 test -z "$ac_c_werror_flag" ||
17276 test ! -s conftest.err
17277 } && test -s conftest$ac_exeext &&
17278 $as_test_x conftest$ac_exeext; then
17279 ac_cv_lib_poll_poll=yes
17281 echo "$as_me: failed program was:" >&5
17282 sed 's/^/| /' conftest.$ac_ext >&5
17284 ac_cv_lib_poll_poll=no
17287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17288 conftest$ac_exeext conftest.$ac_ext
17289 LIBS=$ac_check_lib_save_LIBS
17291 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17292 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17293 if test $ac_cv_lib_poll_poll = yes; then
17294 cat >>confdefs.h <<\_ACEOF
17295 #define HAVE_POLL 1
17303 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17304 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17305 if test "${ac_cv_search_gethostbyname+set}" = set; then
17306 echo $ECHO_N "(cached) $ECHO_C" >&6
17308 ac_func_search_save_LIBS=$LIBS
17309 cat >conftest.$ac_ext <<_ACEOF
17312 cat confdefs.h >>conftest.$ac_ext
17313 cat >>conftest.$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17316 /* Override any GCC internal prototype to avoid an error.
17317 Use char because int might match the return type of a GCC
17318 builtin and then its argument prototype would still apply. */
17322 char gethostbyname ();
17326 return gethostbyname ();
17331 for ac_lib in '' nsl; do
17332 if test -z "$ac_lib"; then
17333 ac_res="none required"
17336 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17338 rm -f conftest.$ac_objext conftest$ac_exeext
17339 if { (ac_try="$ac_link"
17340 case "(($ac_try" in
17341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17342 *) ac_try_echo=$ac_try;;
17344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17345 (eval "$ac_link") 2>conftest.er1
17347 grep -v '^ *+' conftest.er1 >conftest.err
17349 cat conftest.err >&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); } && {
17352 test -z "$ac_c_werror_flag" ||
17353 test ! -s conftest.err
17354 } && test -s conftest$ac_exeext &&
17355 $as_test_x conftest$ac_exeext; then
17356 ac_cv_search_gethostbyname=$ac_res
17358 echo "$as_me: failed program was:" >&5
17359 sed 's/^/| /' conftest.$ac_ext >&5
17364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17366 if test "${ac_cv_search_gethostbyname+set}" = set; then
17370 if test "${ac_cv_search_gethostbyname+set}" = set; then
17373 ac_cv_search_gethostbyname=no
17375 rm conftest.$ac_ext
17376 LIBS=$ac_func_search_save_LIBS
17378 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17379 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17380 ac_res=$ac_cv_search_gethostbyname
17381 if test "$ac_res" != no; then
17382 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17387 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17388 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17389 if test "${ac_cv_search_connect+set}" = set; then
17390 echo $ECHO_N "(cached) $ECHO_C" >&6
17392 ac_func_search_save_LIBS=$LIBS
17393 cat >conftest.$ac_ext <<_ACEOF
17396 cat confdefs.h >>conftest.$ac_ext
17397 cat >>conftest.$ac_ext <<_ACEOF
17398 /* end confdefs.h. */
17400 /* Override any GCC internal prototype to avoid an error.
17401 Use char because int might match the return type of a GCC
17402 builtin and then its argument prototype would still apply. */
17415 for ac_lib in '' socket; do
17416 if test -z "$ac_lib"; then
17417 ac_res="none required"
17420 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17422 rm -f conftest.$ac_objext conftest$ac_exeext
17423 if { (ac_try="$ac_link"
17424 case "(($ac_try" in
17425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17426 *) ac_try_echo=$ac_try;;
17428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17429 (eval "$ac_link") 2>conftest.er1
17431 grep -v '^ *+' conftest.er1 >conftest.err
17433 cat conftest.err >&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); } && {
17436 test -z "$ac_c_werror_flag" ||
17437 test ! -s conftest.err
17438 } && test -s conftest$ac_exeext &&
17439 $as_test_x conftest$ac_exeext; then
17440 ac_cv_search_connect=$ac_res
17442 echo "$as_me: failed program was:" >&5
17443 sed 's/^/| /' conftest.$ac_ext >&5
17448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17450 if test "${ac_cv_search_connect+set}" = set; then
17454 if test "${ac_cv_search_connect+set}" = set; then
17457 ac_cv_search_connect=no
17459 rm conftest.$ac_ext
17460 LIBS=$ac_func_search_save_LIBS
17462 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17463 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17464 ac_res=$ac_cv_search_connect
17465 if test "$ac_res" != no; then
17466 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17471 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17472 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17473 if test "${ac_cv_search_inet_aton+set}" = set; then
17474 echo $ECHO_N "(cached) $ECHO_C" >&6
17476 ac_func_search_save_LIBS=$LIBS
17477 cat >conftest.$ac_ext <<_ACEOF
17480 cat confdefs.h >>conftest.$ac_ext
17481 cat >>conftest.$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17484 /* Override any GCC internal prototype to avoid an error.
17485 Use char because int might match the return type of a GCC
17486 builtin and then its argument prototype would still apply. */
17494 return inet_aton ();
17499 for ac_lib in '' resolv; do
17500 if test -z "$ac_lib"; then
17501 ac_res="none required"
17504 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17506 rm -f conftest.$ac_objext conftest$ac_exeext
17507 if { (ac_try="$ac_link"
17508 case "(($ac_try" in
17509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17510 *) ac_try_echo=$ac_try;;
17512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17513 (eval "$ac_link") 2>conftest.er1
17515 grep -v '^ *+' conftest.er1 >conftest.err
17517 cat conftest.err >&5
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); } && {
17520 test -z "$ac_c_werror_flag" ||
17521 test ! -s conftest.err
17522 } && test -s conftest$ac_exeext &&
17523 $as_test_x conftest$ac_exeext; then
17524 ac_cv_search_inet_aton=$ac_res
17526 echo "$as_me: failed program was:" >&5
17527 sed 's/^/| /' conftest.$ac_ext >&5
17532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17534 if test "${ac_cv_search_inet_aton+set}" = set; then
17538 if test "${ac_cv_search_inet_aton+set}" = set; then
17541 ac_cv_search_inet_aton=no
17543 rm conftest.$ac_ext
17544 LIBS=$ac_func_search_save_LIBS
17546 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17547 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17548 ac_res=$ac_cv_search_inet_aton
17549 if test "$ac_res" != no; then
17550 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17575 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17577 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17578 echo $ECHO_N "(cached) $ECHO_C" >&6
17580 cat >conftest.$ac_ext <<_ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17588 #define $ac_func innocuous_$ac_func
17590 /* System header to define __stub macros and hopefully few prototypes,
17591 which can conflict with char $ac_func (); below.
17592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17593 <limits.h> exists even on freestanding compilers. */
17596 # include <limits.h>
17598 # include <assert.h>
17603 /* Override any GCC internal prototype to avoid an error.
17604 Use char because int might match the return type of a GCC
17605 builtin and then its argument prototype would still apply. */
17610 /* The GNU C library defines this for functions which it implements
17611 to always fail with ENOSYS. Some functions are actually named
17612 something starting with __ and the normal name is an alias. */
17613 #if defined __stub_$ac_func || defined __stub___$ac_func
17620 return $ac_func ();
17625 rm -f conftest.$ac_objext conftest$ac_exeext
17626 if { (ac_try="$ac_link"
17627 case "(($ac_try" in
17628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17629 *) ac_try_echo=$ac_try;;
17631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17632 (eval "$ac_link") 2>conftest.er1
17634 grep -v '^ *+' conftest.er1 >conftest.err
17636 cat conftest.err >&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); } && {
17639 test -z "$ac_c_werror_flag" ||
17640 test ! -s conftest.err
17641 } && test -s conftest$ac_exeext &&
17642 $as_test_x conftest$ac_exeext; then
17643 eval "$as_ac_var=yes"
17645 echo "$as_me: failed program was:" >&5
17646 sed 's/^/| /' conftest.$ac_ext >&5
17648 eval "$as_ac_var=no"
17651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17652 conftest$ac_exeext conftest.$ac_ext
17654 ac_res=`eval echo '${'$as_ac_var'}'`
17655 { echo "$as_me:$LINENO: result: $ac_res" >&5
17656 echo "${ECHO_T}$ac_res" >&6; }
17657 if test `eval echo '${'$as_ac_var'}'` = yes; then
17658 cat >>confdefs.h <<_ACEOF
17659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17667 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17668 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17669 if test "${ac_cv_c_const+set}" = set; then
17670 echo $ECHO_N "(cached) $ECHO_C" >&6
17672 cat >conftest.$ac_ext <<_ACEOF
17675 cat confdefs.h >>conftest.$ac_ext
17676 cat >>conftest.$ac_ext <<_ACEOF
17677 /* end confdefs.h. */
17682 /* FIXME: Include the comments suggested by Paul. */
17683 #ifndef __cplusplus
17684 /* Ultrix mips cc rejects this. */
17685 typedef int charset[2];
17687 /* SunOS 4.1.1 cc rejects this. */
17688 char const *const *pcpcc;
17690 /* NEC SVR4.0.2 mips cc rejects this. */
17691 struct point {int x, y;};
17692 static struct point const zero = {0,0};
17693 /* AIX XL C 1.02.0.0 rejects this.
17694 It does not let you subtract one const X* pointer from another in
17695 an arm of an if-expression whose if-part is not a constant
17697 const char *g = "string";
17698 pcpcc = &g + (g ? g-g : 0);
17699 /* HPUX 7.0 cc rejects these. */
17701 ppc = (char**) pcpcc;
17702 pcpcc = (char const *const *) ppc;
17703 { /* SCO 3.2v4 cc rejects this. */
17705 char const *s = 0 ? (char *) 0 : (char const *) 0;
17710 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17711 int x[] = {25, 17};
17712 const int *foo = &x[0];
17715 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17716 typedef const int *iptr;
17720 { /* AIX XL C 1.02.0.0 rejects this saying
17721 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17722 struct s { int j; const int *ap[3]; };
17723 struct s *b; b->j = 5;
17725 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17726 const int foo = 10;
17727 if (!foo) return 0;
17729 return !cs[0] && !zero.x;
17736 rm -f conftest.$ac_objext
17737 if { (ac_try="$ac_compile"
17738 case "(($ac_try" in
17739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17740 *) ac_try_echo=$ac_try;;
17742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17743 (eval "$ac_compile") 2>conftest.er1
17745 grep -v '^ *+' conftest.er1 >conftest.err
17747 cat conftest.err >&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } && {
17750 test -z "$ac_c_werror_flag" ||
17751 test ! -s conftest.err
17752 } && test -s conftest.$ac_objext; then
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17763 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17764 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17765 if test $ac_cv_c_const = no; then
17767 cat >>confdefs.h <<\_ACEOF
17773 { echo "$as_me:$LINENO: checking for inline" >&5
17774 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17775 if test "${ac_cv_c_inline+set}" = set; then
17776 echo $ECHO_N "(cached) $ECHO_C" >&6
17779 for ac_kw in inline __inline__ __inline; do
17780 cat >conftest.$ac_ext <<_ACEOF
17783 cat confdefs.h >>conftest.$ac_ext
17784 cat >>conftest.$ac_ext <<_ACEOF
17785 /* end confdefs.h. */
17786 #ifndef __cplusplus
17788 static $ac_kw foo_t static_foo () {return 0; }
17789 $ac_kw foo_t foo () {return 0; }
17793 rm -f conftest.$ac_objext
17794 if { (ac_try="$ac_compile"
17795 case "(($ac_try" in
17796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17797 *) ac_try_echo=$ac_try;;
17799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17800 (eval "$ac_compile") 2>conftest.er1
17802 grep -v '^ *+' conftest.er1 >conftest.err
17804 cat conftest.err >&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } && {
17807 test -z "$ac_c_werror_flag" ||
17808 test ! -s conftest.err
17809 } && test -s conftest.$ac_objext; then
17810 ac_cv_c_inline=$ac_kw
17812 echo "$as_me: failed program was:" >&5
17813 sed 's/^/| /' conftest.$ac_ext >&5
17818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17819 test "$ac_cv_c_inline" != no && break
17823 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17824 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17827 case $ac_cv_c_inline in
17830 case $ac_cv_c_inline in
17832 *) ac_val=$ac_cv_c_inline;;
17834 cat >>confdefs.h <<_ACEOF
17835 #ifndef __cplusplus
17836 #define inline $ac_val
17842 { echo "$as_me:$LINENO: checking for mode_t" >&5
17843 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17844 if test "${ac_cv_type_mode_t+set}" = set; then
17845 echo $ECHO_N "(cached) $ECHO_C" >&6
17847 cat >conftest.$ac_ext <<_ACEOF
17850 cat confdefs.h >>conftest.$ac_ext
17851 cat >>conftest.$ac_ext <<_ACEOF
17852 /* end confdefs.h. */
17853 $ac_includes_default
17854 typedef mode_t ac__type_new_;
17858 if ((ac__type_new_ *) 0)
17860 if (sizeof (ac__type_new_))
17866 rm -f conftest.$ac_objext
17867 if { (ac_try="$ac_compile"
17868 case "(($ac_try" in
17869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17870 *) ac_try_echo=$ac_try;;
17872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17873 (eval "$ac_compile") 2>conftest.er1
17875 grep -v '^ *+' conftest.er1 >conftest.err
17877 cat conftest.err >&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); } && {
17880 test -z "$ac_c_werror_flag" ||
17881 test ! -s conftest.err
17882 } && test -s conftest.$ac_objext; then
17883 ac_cv_type_mode_t=yes
17885 echo "$as_me: failed program was:" >&5
17886 sed 's/^/| /' conftest.$ac_ext >&5
17888 ac_cv_type_mode_t=no
17891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17893 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17894 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17895 if test $ac_cv_type_mode_t = yes; then
17897 cat >>confdefs.h <<_ACEOF
17898 #define HAVE_MODE_T 1
17903 { echo "$as_me:$LINENO: checking for off_t" >&5
17904 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17905 if test "${ac_cv_type_off_t+set}" = set; then
17906 echo $ECHO_N "(cached) $ECHO_C" >&6
17908 cat >conftest.$ac_ext <<_ACEOF
17911 cat confdefs.h >>conftest.$ac_ext
17912 cat >>conftest.$ac_ext <<_ACEOF
17913 /* end confdefs.h. */
17914 $ac_includes_default
17915 typedef off_t ac__type_new_;
17919 if ((ac__type_new_ *) 0)
17921 if (sizeof (ac__type_new_))
17927 rm -f conftest.$ac_objext
17928 if { (ac_try="$ac_compile"
17929 case "(($ac_try" in
17930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17931 *) ac_try_echo=$ac_try;;
17933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17934 (eval "$ac_compile") 2>conftest.er1
17936 grep -v '^ *+' conftest.er1 >conftest.err
17938 cat conftest.err >&5
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); } && {
17941 test -z "$ac_c_werror_flag" ||
17942 test ! -s conftest.err
17943 } && test -s conftest.$ac_objext; then
17944 ac_cv_type_off_t=yes
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.$ac_ext >&5
17949 ac_cv_type_off_t=no
17952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17954 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17955 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17956 if test $ac_cv_type_off_t = yes; then
17958 cat >>confdefs.h <<_ACEOF
17959 #define HAVE_OFF_T 1
17964 { echo "$as_me:$LINENO: checking for pid_t" >&5
17965 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17966 if test "${ac_cv_type_pid_t+set}" = set; then
17967 echo $ECHO_N "(cached) $ECHO_C" >&6
17969 cat >conftest.$ac_ext <<_ACEOF
17972 cat confdefs.h >>conftest.$ac_ext
17973 cat >>conftest.$ac_ext <<_ACEOF
17974 /* end confdefs.h. */
17975 $ac_includes_default
17976 typedef pid_t ac__type_new_;
17980 if ((ac__type_new_ *) 0)
17982 if (sizeof (ac__type_new_))
17988 rm -f conftest.$ac_objext
17989 if { (ac_try="$ac_compile"
17990 case "(($ac_try" in
17991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17992 *) ac_try_echo=$ac_try;;
17994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17995 (eval "$ac_compile") 2>conftest.er1
17997 grep -v '^ *+' conftest.er1 >conftest.err
17999 cat conftest.err >&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); } && {
18002 test -z "$ac_c_werror_flag" ||
18003 test ! -s conftest.err
18004 } && test -s conftest.$ac_objext; then
18005 ac_cv_type_pid_t=yes
18007 echo "$as_me: failed program was:" >&5
18008 sed 's/^/| /' conftest.$ac_ext >&5
18010 ac_cv_type_pid_t=no
18013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18015 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18016 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18017 if test $ac_cv_type_pid_t = yes; then
18019 cat >>confdefs.h <<_ACEOF
18020 #define HAVE_PID_T 1
18025 { echo "$as_me:$LINENO: checking for size_t" >&5
18026 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18027 if test "${ac_cv_type_size_t+set}" = set; then
18028 echo $ECHO_N "(cached) $ECHO_C" >&6
18030 cat >conftest.$ac_ext <<_ACEOF
18033 cat confdefs.h >>conftest.$ac_ext
18034 cat >>conftest.$ac_ext <<_ACEOF
18035 /* end confdefs.h. */
18036 $ac_includes_default
18037 typedef size_t ac__type_new_;
18041 if ((ac__type_new_ *) 0)
18043 if (sizeof (ac__type_new_))
18049 rm -f conftest.$ac_objext
18050 if { (ac_try="$ac_compile"
18051 case "(($ac_try" in
18052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18053 *) ac_try_echo=$ac_try;;
18055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18056 (eval "$ac_compile") 2>conftest.er1
18058 grep -v '^ *+' conftest.er1 >conftest.err
18060 cat conftest.err >&5
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); } && {
18063 test -z "$ac_c_werror_flag" ||
18064 test ! -s conftest.err
18065 } && test -s conftest.$ac_objext; then
18066 ac_cv_type_size_t=yes
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.$ac_ext >&5
18071 ac_cv_type_size_t=no
18074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18076 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18077 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18078 if test $ac_cv_type_size_t = yes; then
18080 cat >>confdefs.h <<_ACEOF
18081 #define HAVE_SIZE_T 1
18086 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18087 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18088 if test "${ac_cv_type_ssize_t+set}" = set; then
18089 echo $ECHO_N "(cached) $ECHO_C" >&6
18091 cat >conftest.$ac_ext <<_ACEOF
18094 cat confdefs.h >>conftest.$ac_ext
18095 cat >>conftest.$ac_ext <<_ACEOF
18096 /* end confdefs.h. */
18097 $ac_includes_default
18098 typedef ssize_t ac__type_new_;
18102 if ((ac__type_new_ *) 0)
18104 if (sizeof (ac__type_new_))
18110 rm -f conftest.$ac_objext
18111 if { (ac_try="$ac_compile"
18112 case "(($ac_try" in
18113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18114 *) ac_try_echo=$ac_try;;
18116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18117 (eval "$ac_compile") 2>conftest.er1
18119 grep -v '^ *+' conftest.er1 >conftest.err
18121 cat conftest.err >&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); } && {
18124 test -z "$ac_c_werror_flag" ||
18125 test ! -s conftest.err
18126 } && test -s conftest.$ac_objext; then
18127 ac_cv_type_ssize_t=yes
18129 echo "$as_me: failed program was:" >&5
18130 sed 's/^/| /' conftest.$ac_ext >&5
18132 ac_cv_type_ssize_t=no
18135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18137 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18138 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18139 if test $ac_cv_type_ssize_t = yes; then
18141 cat >>confdefs.h <<_ACEOF
18142 #define HAVE_SSIZE_T 1
18147 { echo "$as_me:$LINENO: checking for long long" >&5
18148 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18149 if test "${ac_cv_type_long_long+set}" = set; then
18150 echo $ECHO_N "(cached) $ECHO_C" >&6
18152 cat >conftest.$ac_ext <<_ACEOF
18155 cat confdefs.h >>conftest.$ac_ext
18156 cat >>conftest.$ac_ext <<_ACEOF
18157 /* end confdefs.h. */
18158 $ac_includes_default
18159 typedef long long ac__type_new_;
18163 if ((ac__type_new_ *) 0)
18165 if (sizeof (ac__type_new_))
18171 rm -f conftest.$ac_objext
18172 if { (ac_try="$ac_compile"
18173 case "(($ac_try" in
18174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18175 *) ac_try_echo=$ac_try;;
18177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18178 (eval "$ac_compile") 2>conftest.er1
18180 grep -v '^ *+' conftest.er1 >conftest.err
18182 cat conftest.err >&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); } && {
18185 test -z "$ac_c_werror_flag" ||
18186 test ! -s conftest.err
18187 } && test -s conftest.$ac_objext; then
18188 ac_cv_type_long_long=yes
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.$ac_ext >&5
18193 ac_cv_type_long_long=no
18196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18198 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18199 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18200 if test $ac_cv_type_long_long = yes; then
18202 cat >>confdefs.h <<_ACEOF
18203 #define HAVE_LONG_LONG 1
18208 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18209 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18210 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18211 echo $ECHO_N "(cached) $ECHO_C" >&6
18213 cat >conftest.$ac_ext <<_ACEOF
18216 cat confdefs.h >>conftest.$ac_ext
18217 cat >>conftest.$ac_ext <<_ACEOF
18218 /* end confdefs.h. */
18219 $ac_includes_default
18220 typedef fsblkcnt_t ac__type_new_;
18224 if ((ac__type_new_ *) 0)
18226 if (sizeof (ac__type_new_))
18232 rm -f conftest.$ac_objext
18233 if { (ac_try="$ac_compile"
18234 case "(($ac_try" in
18235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18236 *) ac_try_echo=$ac_try;;
18238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18239 (eval "$ac_compile") 2>conftest.er1
18241 grep -v '^ *+' conftest.er1 >conftest.err
18243 cat conftest.err >&5
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); } && {
18246 test -z "$ac_c_werror_flag" ||
18247 test ! -s conftest.err
18248 } && test -s conftest.$ac_objext; then
18249 ac_cv_type_fsblkcnt_t=yes
18251 echo "$as_me: failed program was:" >&5
18252 sed 's/^/| /' conftest.$ac_ext >&5
18254 ac_cv_type_fsblkcnt_t=no
18257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18259 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18260 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18261 if test $ac_cv_type_fsblkcnt_t = yes; then
18263 cat >>confdefs.h <<_ACEOF
18264 #define HAVE_FSBLKCNT_T 1
18269 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18270 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18271 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18272 echo $ECHO_N "(cached) $ECHO_C" >&6
18274 cat >conftest.$ac_ext <<_ACEOF
18277 cat confdefs.h >>conftest.$ac_ext
18278 cat >>conftest.$ac_ext <<_ACEOF
18279 /* end confdefs.h. */
18280 $ac_includes_default
18281 typedef fsfilcnt_t ac__type_new_;
18285 if ((ac__type_new_ *) 0)
18287 if (sizeof (ac__type_new_))
18293 rm -f conftest.$ac_objext
18294 if { (ac_try="$ac_compile"
18295 case "(($ac_try" in
18296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18297 *) ac_try_echo=$ac_try;;
18299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18300 (eval "$ac_compile") 2>conftest.er1
18302 grep -v '^ *+' conftest.er1 >conftest.err
18304 cat conftest.err >&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); } && {
18307 test -z "$ac_c_werror_flag" ||
18308 test ! -s conftest.err
18309 } && test -s conftest.$ac_objext; then
18310 ac_cv_type_fsfilcnt_t=yes
18312 echo "$as_me: failed program was:" >&5
18313 sed 's/^/| /' conftest.$ac_ext >&5
18315 ac_cv_type_fsfilcnt_t=no
18318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18320 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18321 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18322 if test $ac_cv_type_fsfilcnt_t = yes; then
18324 cat >>confdefs.h <<_ACEOF
18325 #define HAVE_FSFILCNT_T 1
18331 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18332 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18333 if test "${ac_cv_type_sigset_t+set}" = set; then
18334 echo $ECHO_N "(cached) $ECHO_C" >&6
18336 cat >conftest.$ac_ext <<_ACEOF
18339 cat confdefs.h >>conftest.$ac_ext
18340 cat >>conftest.$ac_ext <<_ACEOF
18341 /* end confdefs.h. */
18342 #include <signal.h>
18344 typedef sigset_t ac__type_new_;
18348 if ((ac__type_new_ *) 0)
18350 if (sizeof (ac__type_new_))
18356 rm -f conftest.$ac_objext
18357 if { (ac_try="$ac_compile"
18358 case "(($ac_try" in
18359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18360 *) ac_try_echo=$ac_try;;
18362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18363 (eval "$ac_compile") 2>conftest.er1
18365 grep -v '^ *+' conftest.er1 >conftest.err
18367 cat conftest.err >&5
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); } && {
18370 test -z "$ac_c_werror_flag" ||
18371 test ! -s conftest.err
18372 } && test -s conftest.$ac_objext; then
18373 ac_cv_type_sigset_t=yes
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.$ac_ext >&5
18378 ac_cv_type_sigset_t=no
18381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18383 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18384 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18385 if test $ac_cv_type_sigset_t = yes; then
18387 cat >>confdefs.h <<_ACEOF
18388 #define HAVE_SIGSET_T 1
18394 { echo "$as_me:$LINENO: checking for request_sense" >&5
18395 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18396 if test "${ac_cv_type_request_sense+set}" = set; then
18397 echo $ECHO_N "(cached) $ECHO_C" >&6
18399 cat >conftest.$ac_ext <<_ACEOF
18402 cat confdefs.h >>conftest.$ac_ext
18403 cat >>conftest.$ac_ext <<_ACEOF
18404 /* end confdefs.h. */
18405 #include <linux/cdrom.h>
18407 typedef request_sense ac__type_new_;
18411 if ((ac__type_new_ *) 0)
18413 if (sizeof (ac__type_new_))
18419 rm -f conftest.$ac_objext
18420 if { (ac_try="$ac_compile"
18421 case "(($ac_try" in
18422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18423 *) ac_try_echo=$ac_try;;
18425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18426 (eval "$ac_compile") 2>conftest.er1
18428 grep -v '^ *+' conftest.er1 >conftest.err
18430 cat conftest.err >&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); } && {
18433 test -z "$ac_c_werror_flag" ||
18434 test ! -s conftest.err
18435 } && test -s conftest.$ac_objext; then
18436 ac_cv_type_request_sense=yes
18438 echo "$as_me: failed program was:" >&5
18439 sed 's/^/| /' conftest.$ac_ext >&5
18441 ac_cv_type_request_sense=no
18444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18446 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18447 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18448 if test $ac_cv_type_request_sense = yes; then
18450 cat >>confdefs.h <<_ACEOF
18451 #define HAVE_REQUEST_SENSE 1
18458 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18459 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18460 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18461 echo $ECHO_N "(cached) $ECHO_C" >&6
18463 cat >conftest.$ac_ext <<_ACEOF
18466 cat confdefs.h >>conftest.$ac_ext
18467 cat >>conftest.$ac_ext <<_ACEOF
18468 /* end confdefs.h. */
18469 #ifdef HAVE_LINUX_INPUT_H
18470 #include <linux/input.h>
18476 static struct ff_effect ac_aggr;
18477 if (ac_aggr.direction)
18483 rm -f conftest.$ac_objext
18484 if { (ac_try="$ac_compile"
18485 case "(($ac_try" in
18486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18487 *) ac_try_echo=$ac_try;;
18489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18490 (eval "$ac_compile") 2>conftest.er1
18492 grep -v '^ *+' conftest.er1 >conftest.err
18494 cat conftest.err >&5
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); } && {
18497 test -z "$ac_c_werror_flag" ||
18498 test ! -s conftest.err
18499 } && test -s conftest.$ac_objext; then
18500 ac_cv_member_struct_ff_effect_direction=yes
18502 echo "$as_me: failed program was:" >&5
18503 sed 's/^/| /' conftest.$ac_ext >&5
18505 cat >conftest.$ac_ext <<_ACEOF
18508 cat confdefs.h >>conftest.$ac_ext
18509 cat >>conftest.$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511 #ifdef HAVE_LINUX_INPUT_H
18512 #include <linux/input.h>
18518 static struct ff_effect ac_aggr;
18519 if (sizeof ac_aggr.direction)
18525 rm -f conftest.$ac_objext
18526 if { (ac_try="$ac_compile"
18527 case "(($ac_try" in
18528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18529 *) ac_try_echo=$ac_try;;
18531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18532 (eval "$ac_compile") 2>conftest.er1
18534 grep -v '^ *+' conftest.er1 >conftest.err
18536 cat conftest.err >&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); } && {
18539 test -z "$ac_c_werror_flag" ||
18540 test ! -s conftest.err
18541 } && test -s conftest.$ac_objext; then
18542 ac_cv_member_struct_ff_effect_direction=yes
18544 echo "$as_me: failed program was:" >&5
18545 sed 's/^/| /' conftest.$ac_ext >&5
18547 ac_cv_member_struct_ff_effect_direction=no
18550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18555 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18556 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18557 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18559 cat >>confdefs.h <<_ACEOF
18560 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18567 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18568 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18569 if test "${wine_cv_have_sigaddset+set}" = set; then
18570 echo $ECHO_N "(cached) $ECHO_C" >&6
18572 cat >conftest.$ac_ext <<_ACEOF
18575 cat confdefs.h >>conftest.$ac_ext
18576 cat >>conftest.$ac_ext <<_ACEOF
18577 /* end confdefs.h. */
18578 #include <signal.h>
18582 sigset_t set; sigaddset(&set,SIGTERM);
18587 rm -f conftest.$ac_objext conftest$ac_exeext
18588 if { (ac_try="$ac_link"
18589 case "(($ac_try" in
18590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18591 *) ac_try_echo=$ac_try;;
18593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18594 (eval "$ac_link") 2>conftest.er1
18596 grep -v '^ *+' conftest.er1 >conftest.err
18598 cat conftest.err >&5
18599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18600 (exit $ac_status); } && {
18601 test -z "$ac_c_werror_flag" ||
18602 test ! -s conftest.err
18603 } && test -s conftest$ac_exeext &&
18604 $as_test_x conftest$ac_exeext; then
18605 wine_cv_have_sigaddset=yes
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.$ac_ext >&5
18610 wine_cv_have_sigaddset=no
18613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18614 conftest$ac_exeext conftest.$ac_ext
18616 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18617 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18618 if test "$wine_cv_have_sigaddset" = "yes"
18621 cat >>confdefs.h <<\_ACEOF
18622 #define HAVE_SIGADDSET 1
18628 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18629 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18630 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18631 echo $ECHO_N "(cached) $ECHO_C" >&6
18633 cat >conftest.$ac_ext <<_ACEOF
18636 cat confdefs.h >>conftest.$ac_ext
18637 cat >>conftest.$ac_ext <<_ACEOF
18638 /* end confdefs.h. */
18646 struct hostent *result;
18653 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18654 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18660 rm -f conftest.$ac_objext conftest$ac_exeext
18661 if { (ac_try="$ac_link"
18662 case "(($ac_try" in
18663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18664 *) ac_try_echo=$ac_try;;
18666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18667 (eval "$ac_link") 2>conftest.er1
18669 grep -v '^ *+' conftest.er1 >conftest.err
18671 cat conftest.err >&5
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); } && {
18674 test -z "$ac_c_werror_flag" ||
18675 test ! -s conftest.err
18676 } && test -s conftest$ac_exeext &&
18677 $as_test_x conftest$ac_exeext; then
18678 wine_cv_linux_gethostbyname_r_6=yes
18680 echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.$ac_ext >&5
18683 wine_cv_linux_gethostbyname_r_6=no
18687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18688 conftest$ac_exeext conftest.$ac_ext
18691 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18692 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18693 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18696 cat >>confdefs.h <<\_ACEOF
18697 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18702 if test "$ac_cv_header_linux_joystick_h" = "yes"
18704 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18705 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18706 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18707 echo $ECHO_N "(cached) $ECHO_C" >&6
18709 cat >conftest.$ac_ext <<_ACEOF
18712 cat confdefs.h >>conftest.$ac_ext
18713 cat >>conftest.$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18716 #include <sys/ioctl.h>
18717 #include <sys/types.h>
18718 #include <linux/joystick.h>
18720 struct js_event blub;
18721 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18722 #error "no 2.2 header"
18733 rm -f conftest.$ac_objext
18734 if { (ac_try="$ac_compile"
18735 case "(($ac_try" in
18736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18737 *) ac_try_echo=$ac_try;;
18739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18740 (eval "$ac_compile") 2>conftest.er1
18742 grep -v '^ *+' conftest.er1 >conftest.err
18744 cat conftest.err >&5
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); } && {
18747 test -z "$ac_c_werror_flag" ||
18748 test ! -s conftest.err
18749 } && test -s conftest.$ac_objext; then
18750 wine_cv_linux_joystick_22_api=yes
18752 echo "$as_me: failed program was:" >&5
18753 sed 's/^/| /' conftest.$ac_ext >&5
18755 wine_cv_linux_joystick_22_api=no
18758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18761 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18762 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18763 if test "$wine_cv_linux_joystick_22_api" = "yes"
18766 cat >>confdefs.h <<\_ACEOF
18767 #define HAVE_LINUX_22_JOYSTICK_API 1
18774 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18775 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18776 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18777 echo $ECHO_N "(cached) $ECHO_C" >&6
18779 cat >conftest.$ac_ext <<_ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 #include <sys/types.h>
18786 #ifdef HAVE_SYS_PARAM_H
18787 # include <sys/param.h>
18789 #ifdef HAVE_SYS_MOUNT_H
18790 # include <sys/mount.h>
18792 #ifdef HAVE_SYS_VFS_H
18793 # include <sys/vfs.h>
18795 #ifdef HAVE_SYS_STATFS_H
18796 # include <sys/statfs.h>
18802 static struct statfs ac_aggr;
18803 if (ac_aggr.f_bfree)
18809 rm -f conftest.$ac_objext
18810 if { (ac_try="$ac_compile"
18811 case "(($ac_try" in
18812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18813 *) ac_try_echo=$ac_try;;
18815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18816 (eval "$ac_compile") 2>conftest.er1
18818 grep -v '^ *+' conftest.er1 >conftest.err
18820 cat conftest.err >&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); } && {
18823 test -z "$ac_c_werror_flag" ||
18824 test ! -s conftest.err
18825 } && test -s conftest.$ac_objext; then
18826 ac_cv_member_struct_statfs_f_bfree=yes
18828 echo "$as_me: failed program was:" >&5
18829 sed 's/^/| /' conftest.$ac_ext >&5
18831 cat >conftest.$ac_ext <<_ACEOF
18834 cat confdefs.h >>conftest.$ac_ext
18835 cat >>conftest.$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18837 #include <sys/types.h>
18838 #ifdef HAVE_SYS_PARAM_H
18839 # include <sys/param.h>
18841 #ifdef HAVE_SYS_MOUNT_H
18842 # include <sys/mount.h>
18844 #ifdef HAVE_SYS_VFS_H
18845 # include <sys/vfs.h>
18847 #ifdef HAVE_SYS_STATFS_H
18848 # include <sys/statfs.h>
18854 static struct statfs ac_aggr;
18855 if (sizeof ac_aggr.f_bfree)
18861 rm -f conftest.$ac_objext
18862 if { (ac_try="$ac_compile"
18863 case "(($ac_try" in
18864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18865 *) ac_try_echo=$ac_try;;
18867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18868 (eval "$ac_compile") 2>conftest.er1
18870 grep -v '^ *+' conftest.er1 >conftest.err
18872 cat conftest.err >&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); } && {
18875 test -z "$ac_c_werror_flag" ||
18876 test ! -s conftest.err
18877 } && test -s conftest.$ac_objext; then
18878 ac_cv_member_struct_statfs_f_bfree=yes
18880 echo "$as_me: failed program was:" >&5
18881 sed 's/^/| /' conftest.$ac_ext >&5
18883 ac_cv_member_struct_statfs_f_bfree=no
18886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18891 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18892 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18893 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18895 cat >>confdefs.h <<_ACEOF
18896 #define HAVE_STRUCT_STATFS_F_BFREE 1
18901 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18902 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18903 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18904 echo $ECHO_N "(cached) $ECHO_C" >&6
18906 cat >conftest.$ac_ext <<_ACEOF
18909 cat confdefs.h >>conftest.$ac_ext
18910 cat >>conftest.$ac_ext <<_ACEOF
18911 /* end confdefs.h. */
18912 #include <sys/types.h>
18913 #ifdef HAVE_SYS_PARAM_H
18914 # include <sys/param.h>
18916 #ifdef HAVE_SYS_MOUNT_H
18917 # include <sys/mount.h>
18919 #ifdef HAVE_SYS_VFS_H
18920 # include <sys/vfs.h>
18922 #ifdef HAVE_SYS_STATFS_H
18923 # include <sys/statfs.h>
18929 static struct statfs ac_aggr;
18930 if (ac_aggr.f_bavail)
18936 rm -f conftest.$ac_objext
18937 if { (ac_try="$ac_compile"
18938 case "(($ac_try" in
18939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18940 *) ac_try_echo=$ac_try;;
18942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18943 (eval "$ac_compile") 2>conftest.er1
18945 grep -v '^ *+' conftest.er1 >conftest.err
18947 cat conftest.err >&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } && {
18950 test -z "$ac_c_werror_flag" ||
18951 test ! -s conftest.err
18952 } && test -s conftest.$ac_objext; then
18953 ac_cv_member_struct_statfs_f_bavail=yes
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.$ac_ext >&5
18958 cat >conftest.$ac_ext <<_ACEOF
18961 cat confdefs.h >>conftest.$ac_ext
18962 cat >>conftest.$ac_ext <<_ACEOF
18963 /* end confdefs.h. */
18964 #include <sys/types.h>
18965 #ifdef HAVE_SYS_PARAM_H
18966 # include <sys/param.h>
18968 #ifdef HAVE_SYS_MOUNT_H
18969 # include <sys/mount.h>
18971 #ifdef HAVE_SYS_VFS_H
18972 # include <sys/vfs.h>
18974 #ifdef HAVE_SYS_STATFS_H
18975 # include <sys/statfs.h>
18981 static struct statfs ac_aggr;
18982 if (sizeof ac_aggr.f_bavail)
18988 rm -f conftest.$ac_objext
18989 if { (ac_try="$ac_compile"
18990 case "(($ac_try" in
18991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18992 *) ac_try_echo=$ac_try;;
18994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18995 (eval "$ac_compile") 2>conftest.er1
18997 grep -v '^ *+' conftest.er1 >conftest.err
18999 cat conftest.err >&5
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); } && {
19002 test -z "$ac_c_werror_flag" ||
19003 test ! -s conftest.err
19004 } && test -s conftest.$ac_objext; then
19005 ac_cv_member_struct_statfs_f_bavail=yes
19007 echo "$as_me: failed program was:" >&5
19008 sed 's/^/| /' conftest.$ac_ext >&5
19010 ac_cv_member_struct_statfs_f_bavail=no
19013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19019 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19020 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19022 cat >>confdefs.h <<_ACEOF
19023 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19028 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19029 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19030 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19031 echo $ECHO_N "(cached) $ECHO_C" >&6
19033 cat >conftest.$ac_ext <<_ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039 #include <sys/types.h>
19040 #ifdef HAVE_SYS_PARAM_H
19041 # include <sys/param.h>
19043 #ifdef HAVE_SYS_MOUNT_H
19044 # include <sys/mount.h>
19046 #ifdef HAVE_SYS_VFS_H
19047 # include <sys/vfs.h>
19049 #ifdef HAVE_SYS_STATFS_H
19050 # include <sys/statfs.h>
19056 static struct statfs ac_aggr;
19057 if (ac_aggr.f_frsize)
19063 rm -f conftest.$ac_objext
19064 if { (ac_try="$ac_compile"
19065 case "(($ac_try" in
19066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19067 *) ac_try_echo=$ac_try;;
19069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19070 (eval "$ac_compile") 2>conftest.er1
19072 grep -v '^ *+' conftest.er1 >conftest.err
19074 cat conftest.err >&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); } && {
19077 test -z "$ac_c_werror_flag" ||
19078 test ! -s conftest.err
19079 } && test -s conftest.$ac_objext; then
19080 ac_cv_member_struct_statfs_f_frsize=yes
19082 echo "$as_me: failed program was:" >&5
19083 sed 's/^/| /' conftest.$ac_ext >&5
19085 cat >conftest.$ac_ext <<_ACEOF
19088 cat confdefs.h >>conftest.$ac_ext
19089 cat >>conftest.$ac_ext <<_ACEOF
19090 /* end confdefs.h. */
19091 #include <sys/types.h>
19092 #ifdef HAVE_SYS_PARAM_H
19093 # include <sys/param.h>
19095 #ifdef HAVE_SYS_MOUNT_H
19096 # include <sys/mount.h>
19098 #ifdef HAVE_SYS_VFS_H
19099 # include <sys/vfs.h>
19101 #ifdef HAVE_SYS_STATFS_H
19102 # include <sys/statfs.h>
19108 static struct statfs ac_aggr;
19109 if (sizeof ac_aggr.f_frsize)
19115 rm -f conftest.$ac_objext
19116 if { (ac_try="$ac_compile"
19117 case "(($ac_try" in
19118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19119 *) ac_try_echo=$ac_try;;
19121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19122 (eval "$ac_compile") 2>conftest.er1
19124 grep -v '^ *+' conftest.er1 >conftest.err
19126 cat conftest.err >&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); } && {
19129 test -z "$ac_c_werror_flag" ||
19130 test ! -s conftest.err
19131 } && test -s conftest.$ac_objext; then
19132 ac_cv_member_struct_statfs_f_frsize=yes
19134 echo "$as_me: failed program was:" >&5
19135 sed 's/^/| /' conftest.$ac_ext >&5
19137 ac_cv_member_struct_statfs_f_frsize=no
19140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19145 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19146 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19147 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19149 cat >>confdefs.h <<_ACEOF
19150 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19155 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19156 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19157 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19158 echo $ECHO_N "(cached) $ECHO_C" >&6
19160 cat >conftest.$ac_ext <<_ACEOF
19163 cat confdefs.h >>conftest.$ac_ext
19164 cat >>conftest.$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19166 #include <sys/types.h>
19167 #ifdef HAVE_SYS_PARAM_H
19168 # include <sys/param.h>
19170 #ifdef HAVE_SYS_MOUNT_H
19171 # include <sys/mount.h>
19173 #ifdef HAVE_SYS_VFS_H
19174 # include <sys/vfs.h>
19176 #ifdef HAVE_SYS_STATFS_H
19177 # include <sys/statfs.h>
19183 static struct statfs ac_aggr;
19184 if (ac_aggr.f_ffree)
19190 rm -f conftest.$ac_objext
19191 if { (ac_try="$ac_compile"
19192 case "(($ac_try" in
19193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19194 *) ac_try_echo=$ac_try;;
19196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19197 (eval "$ac_compile") 2>conftest.er1
19199 grep -v '^ *+' conftest.er1 >conftest.err
19201 cat conftest.err >&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); } && {
19204 test -z "$ac_c_werror_flag" ||
19205 test ! -s conftest.err
19206 } && test -s conftest.$ac_objext; then
19207 ac_cv_member_struct_statfs_f_ffree=yes
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19212 cat >conftest.$ac_ext <<_ACEOF
19215 cat confdefs.h >>conftest.$ac_ext
19216 cat >>conftest.$ac_ext <<_ACEOF
19217 /* end confdefs.h. */
19218 #include <sys/types.h>
19219 #ifdef HAVE_SYS_PARAM_H
19220 # include <sys/param.h>
19222 #ifdef HAVE_SYS_MOUNT_H
19223 # include <sys/mount.h>
19225 #ifdef HAVE_SYS_VFS_H
19226 # include <sys/vfs.h>
19228 #ifdef HAVE_SYS_STATFS_H
19229 # include <sys/statfs.h>
19235 static struct statfs ac_aggr;
19236 if (sizeof ac_aggr.f_ffree)
19242 rm -f conftest.$ac_objext
19243 if { (ac_try="$ac_compile"
19244 case "(($ac_try" in
19245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19246 *) ac_try_echo=$ac_try;;
19248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19249 (eval "$ac_compile") 2>conftest.er1
19251 grep -v '^ *+' conftest.er1 >conftest.err
19253 cat conftest.err >&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } && {
19256 test -z "$ac_c_werror_flag" ||
19257 test ! -s conftest.err
19258 } && test -s conftest.$ac_objext; then
19259 ac_cv_member_struct_statfs_f_ffree=yes
19261 echo "$as_me: failed program was:" >&5
19262 sed 's/^/| /' conftest.$ac_ext >&5
19264 ac_cv_member_struct_statfs_f_ffree=no
19267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19272 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19273 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19274 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19276 cat >>confdefs.h <<_ACEOF
19277 #define HAVE_STRUCT_STATFS_F_FFREE 1
19282 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19283 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19284 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19285 echo $ECHO_N "(cached) $ECHO_C" >&6
19287 cat >conftest.$ac_ext <<_ACEOF
19290 cat confdefs.h >>conftest.$ac_ext
19291 cat >>conftest.$ac_ext <<_ACEOF
19292 /* end confdefs.h. */
19293 #include <sys/types.h>
19294 #ifdef HAVE_SYS_PARAM_H
19295 # include <sys/param.h>
19297 #ifdef HAVE_SYS_MOUNT_H
19298 # include <sys/mount.h>
19300 #ifdef HAVE_SYS_VFS_H
19301 # include <sys/vfs.h>
19303 #ifdef HAVE_SYS_STATFS_H
19304 # include <sys/statfs.h>
19310 static struct statfs ac_aggr;
19311 if (ac_aggr.f_favail)
19317 rm -f conftest.$ac_objext
19318 if { (ac_try="$ac_compile"
19319 case "(($ac_try" in
19320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19321 *) ac_try_echo=$ac_try;;
19323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19324 (eval "$ac_compile") 2>conftest.er1
19326 grep -v '^ *+' conftest.er1 >conftest.err
19328 cat conftest.err >&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); } && {
19331 test -z "$ac_c_werror_flag" ||
19332 test ! -s conftest.err
19333 } && test -s conftest.$ac_objext; then
19334 ac_cv_member_struct_statfs_f_favail=yes
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.$ac_ext >&5
19339 cat >conftest.$ac_ext <<_ACEOF
19342 cat confdefs.h >>conftest.$ac_ext
19343 cat >>conftest.$ac_ext <<_ACEOF
19344 /* end confdefs.h. */
19345 #include <sys/types.h>
19346 #ifdef HAVE_SYS_PARAM_H
19347 # include <sys/param.h>
19349 #ifdef HAVE_SYS_MOUNT_H
19350 # include <sys/mount.h>
19352 #ifdef HAVE_SYS_VFS_H
19353 # include <sys/vfs.h>
19355 #ifdef HAVE_SYS_STATFS_H
19356 # include <sys/statfs.h>
19362 static struct statfs ac_aggr;
19363 if (sizeof ac_aggr.f_favail)
19369 rm -f conftest.$ac_objext
19370 if { (ac_try="$ac_compile"
19371 case "(($ac_try" in
19372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19373 *) ac_try_echo=$ac_try;;
19375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19376 (eval "$ac_compile") 2>conftest.er1
19378 grep -v '^ *+' conftest.er1 >conftest.err
19380 cat conftest.err >&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); } && {
19383 test -z "$ac_c_werror_flag" ||
19384 test ! -s conftest.err
19385 } && test -s conftest.$ac_objext; then
19386 ac_cv_member_struct_statfs_f_favail=yes
19388 echo "$as_me: failed program was:" >&5
19389 sed 's/^/| /' conftest.$ac_ext >&5
19391 ac_cv_member_struct_statfs_f_favail=no
19394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19399 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19400 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19401 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19403 cat >>confdefs.h <<_ACEOF
19404 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19409 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19410 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19411 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19412 echo $ECHO_N "(cached) $ECHO_C" >&6
19414 cat >conftest.$ac_ext <<_ACEOF
19417 cat confdefs.h >>conftest.$ac_ext
19418 cat >>conftest.$ac_ext <<_ACEOF
19419 /* end confdefs.h. */
19420 #include <sys/types.h>
19421 #ifdef HAVE_SYS_PARAM_H
19422 # include <sys/param.h>
19424 #ifdef HAVE_SYS_MOUNT_H
19425 # include <sys/mount.h>
19427 #ifdef HAVE_SYS_VFS_H
19428 # include <sys/vfs.h>
19430 #ifdef HAVE_SYS_STATFS_H
19431 # include <sys/statfs.h>
19437 static struct statfs ac_aggr;
19438 if (ac_aggr.f_namelen)
19444 rm -f conftest.$ac_objext
19445 if { (ac_try="$ac_compile"
19446 case "(($ac_try" in
19447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19448 *) ac_try_echo=$ac_try;;
19450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19451 (eval "$ac_compile") 2>conftest.er1
19453 grep -v '^ *+' conftest.er1 >conftest.err
19455 cat conftest.err >&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } && {
19458 test -z "$ac_c_werror_flag" ||
19459 test ! -s conftest.err
19460 } && test -s conftest.$ac_objext; then
19461 ac_cv_member_struct_statfs_f_namelen=yes
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.$ac_ext >&5
19466 cat >conftest.$ac_ext <<_ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472 #include <sys/types.h>
19473 #ifdef HAVE_SYS_PARAM_H
19474 # include <sys/param.h>
19476 #ifdef HAVE_SYS_MOUNT_H
19477 # include <sys/mount.h>
19479 #ifdef HAVE_SYS_VFS_H
19480 # include <sys/vfs.h>
19482 #ifdef HAVE_SYS_STATFS_H
19483 # include <sys/statfs.h>
19489 static struct statfs ac_aggr;
19490 if (sizeof ac_aggr.f_namelen)
19496 rm -f conftest.$ac_objext
19497 if { (ac_try="$ac_compile"
19498 case "(($ac_try" in
19499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19500 *) ac_try_echo=$ac_try;;
19502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19503 (eval "$ac_compile") 2>conftest.er1
19505 grep -v '^ *+' conftest.er1 >conftest.err
19507 cat conftest.err >&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } && {
19510 test -z "$ac_c_werror_flag" ||
19511 test ! -s conftest.err
19512 } && test -s conftest.$ac_objext; then
19513 ac_cv_member_struct_statfs_f_namelen=yes
19515 echo "$as_me: failed program was:" >&5
19516 sed 's/^/| /' conftest.$ac_ext >&5
19518 ac_cv_member_struct_statfs_f_namelen=no
19521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19526 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19527 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19528 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19530 cat >>confdefs.h <<_ACEOF
19531 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19538 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19539 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19540 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19541 echo $ECHO_N "(cached) $ECHO_C" >&6
19543 cat >conftest.$ac_ext <<_ACEOF
19546 cat confdefs.h >>conftest.$ac_ext
19547 cat >>conftest.$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549 #ifdef HAVE_SYS_STATVFS_H
19550 #include <sys/statvfs.h>
19556 static struct statvfs ac_aggr;
19557 if (ac_aggr.f_blocks)
19563 rm -f conftest.$ac_objext
19564 if { (ac_try="$ac_compile"
19565 case "(($ac_try" in
19566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19567 *) ac_try_echo=$ac_try;;
19569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19570 (eval "$ac_compile") 2>conftest.er1
19572 grep -v '^ *+' conftest.er1 >conftest.err
19574 cat conftest.err >&5
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); } && {
19577 test -z "$ac_c_werror_flag" ||
19578 test ! -s conftest.err
19579 } && test -s conftest.$ac_objext; then
19580 ac_cv_member_struct_statvfs_f_blocks=yes
19582 echo "$as_me: failed program was:" >&5
19583 sed 's/^/| /' conftest.$ac_ext >&5
19585 cat >conftest.$ac_ext <<_ACEOF
19588 cat confdefs.h >>conftest.$ac_ext
19589 cat >>conftest.$ac_ext <<_ACEOF
19590 /* end confdefs.h. */
19591 #ifdef HAVE_SYS_STATVFS_H
19592 #include <sys/statvfs.h>
19598 static struct statvfs ac_aggr;
19599 if (sizeof ac_aggr.f_blocks)
19605 rm -f conftest.$ac_objext
19606 if { (ac_try="$ac_compile"
19607 case "(($ac_try" in
19608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19609 *) ac_try_echo=$ac_try;;
19611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19612 (eval "$ac_compile") 2>conftest.er1
19614 grep -v '^ *+' conftest.er1 >conftest.err
19616 cat conftest.err >&5
19617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19618 (exit $ac_status); } && {
19619 test -z "$ac_c_werror_flag" ||
19620 test ! -s conftest.err
19621 } && test -s conftest.$ac_objext; then
19622 ac_cv_member_struct_statvfs_f_blocks=yes
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19627 ac_cv_member_struct_statvfs_f_blocks=no
19630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19635 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19636 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19637 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19639 cat >>confdefs.h <<_ACEOF
19640 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19647 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19648 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19649 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19650 echo $ECHO_N "(cached) $ECHO_C" >&6
19652 cat >conftest.$ac_ext <<_ACEOF
19655 cat confdefs.h >>conftest.$ac_ext
19656 cat >>conftest.$ac_ext <<_ACEOF
19657 /* end confdefs.h. */
19658 #include <sys/types.h>
19659 #ifdef HAVE_SYS_SOCKET_H
19660 # include <sys/socket.h>
19662 #ifdef HAVE_SYS_UN_H
19663 # include <sys/un.h>
19669 static struct msghdr ac_aggr;
19670 if (ac_aggr.msg_accrights)
19676 rm -f conftest.$ac_objext
19677 if { (ac_try="$ac_compile"
19678 case "(($ac_try" in
19679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19680 *) ac_try_echo=$ac_try;;
19682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19683 (eval "$ac_compile") 2>conftest.er1
19685 grep -v '^ *+' conftest.er1 >conftest.err
19687 cat conftest.err >&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); } && {
19690 test -z "$ac_c_werror_flag" ||
19691 test ! -s conftest.err
19692 } && test -s conftest.$ac_objext; then
19693 ac_cv_member_struct_msghdr_msg_accrights=yes
19695 echo "$as_me: failed program was:" >&5
19696 sed 's/^/| /' conftest.$ac_ext >&5
19698 cat >conftest.$ac_ext <<_ACEOF
19701 cat confdefs.h >>conftest.$ac_ext
19702 cat >>conftest.$ac_ext <<_ACEOF
19703 /* end confdefs.h. */
19704 #include <sys/types.h>
19705 #ifdef HAVE_SYS_SOCKET_H
19706 # include <sys/socket.h>
19708 #ifdef HAVE_SYS_UN_H
19709 # include <sys/un.h>
19715 static struct msghdr ac_aggr;
19716 if (sizeof ac_aggr.msg_accrights)
19722 rm -f conftest.$ac_objext
19723 if { (ac_try="$ac_compile"
19724 case "(($ac_try" in
19725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19726 *) ac_try_echo=$ac_try;;
19728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19729 (eval "$ac_compile") 2>conftest.er1
19731 grep -v '^ *+' conftest.er1 >conftest.err
19733 cat conftest.err >&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); } && {
19736 test -z "$ac_c_werror_flag" ||
19737 test ! -s conftest.err
19738 } && test -s conftest.$ac_objext; then
19739 ac_cv_member_struct_msghdr_msg_accrights=yes
19741 echo "$as_me: failed program was:" >&5
19742 sed 's/^/| /' conftest.$ac_ext >&5
19744 ac_cv_member_struct_msghdr_msg_accrights=no
19747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19752 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19753 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19754 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19756 cat >>confdefs.h <<_ACEOF
19757 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19762 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19763 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19764 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19765 echo $ECHO_N "(cached) $ECHO_C" >&6
19767 cat >conftest.$ac_ext <<_ACEOF
19770 cat confdefs.h >>conftest.$ac_ext
19771 cat >>conftest.$ac_ext <<_ACEOF
19772 /* end confdefs.h. */
19773 #include <sys/types.h>
19774 #ifdef HAVE_SYS_SOCKET_H
19775 # include <sys/socket.h>
19777 #ifdef HAVE_SYS_UN_H
19778 # include <sys/un.h>
19784 static struct sockaddr ac_aggr;
19785 if (ac_aggr.sa_len)
19791 rm -f conftest.$ac_objext
19792 if { (ac_try="$ac_compile"
19793 case "(($ac_try" in
19794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19795 *) ac_try_echo=$ac_try;;
19797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19798 (eval "$ac_compile") 2>conftest.er1
19800 grep -v '^ *+' conftest.er1 >conftest.err
19802 cat conftest.err >&5
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); } && {
19805 test -z "$ac_c_werror_flag" ||
19806 test ! -s conftest.err
19807 } && test -s conftest.$ac_objext; then
19808 ac_cv_member_struct_sockaddr_sa_len=yes
19810 echo "$as_me: failed program was:" >&5
19811 sed 's/^/| /' conftest.$ac_ext >&5
19813 cat >conftest.$ac_ext <<_ACEOF
19816 cat confdefs.h >>conftest.$ac_ext
19817 cat >>conftest.$ac_ext <<_ACEOF
19818 /* end confdefs.h. */
19819 #include <sys/types.h>
19820 #ifdef HAVE_SYS_SOCKET_H
19821 # include <sys/socket.h>
19823 #ifdef HAVE_SYS_UN_H
19824 # include <sys/un.h>
19830 static struct sockaddr ac_aggr;
19831 if (sizeof ac_aggr.sa_len)
19837 rm -f conftest.$ac_objext
19838 if { (ac_try="$ac_compile"
19839 case "(($ac_try" in
19840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19841 *) ac_try_echo=$ac_try;;
19843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19844 (eval "$ac_compile") 2>conftest.er1
19846 grep -v '^ *+' conftest.er1 >conftest.err
19848 cat conftest.err >&5
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); } && {
19851 test -z "$ac_c_werror_flag" ||
19852 test ! -s conftest.err
19853 } && test -s conftest.$ac_objext; then
19854 ac_cv_member_struct_sockaddr_sa_len=yes
19856 echo "$as_me: failed program was:" >&5
19857 sed 's/^/| /' conftest.$ac_ext >&5
19859 ac_cv_member_struct_sockaddr_sa_len=no
19862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19868 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19869 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19871 cat >>confdefs.h <<_ACEOF
19872 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19877 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19878 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19879 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19880 echo $ECHO_N "(cached) $ECHO_C" >&6
19882 cat >conftest.$ac_ext <<_ACEOF
19885 cat confdefs.h >>conftest.$ac_ext
19886 cat >>conftest.$ac_ext <<_ACEOF
19887 /* end confdefs.h. */
19888 #include <sys/types.h>
19889 #ifdef HAVE_SYS_SOCKET_H
19890 # include <sys/socket.h>
19892 #ifdef HAVE_SYS_UN_H
19893 # include <sys/un.h>
19899 static struct sockaddr_un ac_aggr;
19900 if (ac_aggr.sun_len)
19906 rm -f conftest.$ac_objext
19907 if { (ac_try="$ac_compile"
19908 case "(($ac_try" in
19909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19910 *) ac_try_echo=$ac_try;;
19912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19913 (eval "$ac_compile") 2>conftest.er1
19915 grep -v '^ *+' conftest.er1 >conftest.err
19917 cat conftest.err >&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } && {
19920 test -z "$ac_c_werror_flag" ||
19921 test ! -s conftest.err
19922 } && test -s conftest.$ac_objext; then
19923 ac_cv_member_struct_sockaddr_un_sun_len=yes
19925 echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.$ac_ext >&5
19928 cat >conftest.$ac_ext <<_ACEOF
19931 cat confdefs.h >>conftest.$ac_ext
19932 cat >>conftest.$ac_ext <<_ACEOF
19933 /* end confdefs.h. */
19934 #include <sys/types.h>
19935 #ifdef HAVE_SYS_SOCKET_H
19936 # include <sys/socket.h>
19938 #ifdef HAVE_SYS_UN_H
19939 # include <sys/un.h>
19945 static struct sockaddr_un ac_aggr;
19946 if (sizeof ac_aggr.sun_len)
19952 rm -f conftest.$ac_objext
19953 if { (ac_try="$ac_compile"
19954 case "(($ac_try" in
19955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19956 *) ac_try_echo=$ac_try;;
19958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19959 (eval "$ac_compile") 2>conftest.er1
19961 grep -v '^ *+' conftest.er1 >conftest.err
19963 cat conftest.err >&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); } && {
19966 test -z "$ac_c_werror_flag" ||
19967 test ! -s conftest.err
19968 } && test -s conftest.$ac_objext; then
19969 ac_cv_member_struct_sockaddr_un_sun_len=yes
19971 echo "$as_me: failed program was:" >&5
19972 sed 's/^/| /' conftest.$ac_ext >&5
19974 ac_cv_member_struct_sockaddr_un_sun_len=no
19977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19982 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19983 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19984 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19986 cat >>confdefs.h <<_ACEOF
19987 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19994 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19995 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19996 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19997 echo $ECHO_N "(cached) $ECHO_C" >&6
19999 cat >conftest.$ac_ext <<_ACEOF
20002 cat confdefs.h >>conftest.$ac_ext
20003 cat >>conftest.$ac_ext <<_ACEOF
20004 /* end confdefs.h. */
20005 #include <sys/types.h>
20006 #ifdef HAVE_SCSI_SG_H
20007 #include <scsi/sg.h>
20013 static scsireq_t ac_aggr;
20020 rm -f conftest.$ac_objext
20021 if { (ac_try="$ac_compile"
20022 case "(($ac_try" in
20023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20024 *) ac_try_echo=$ac_try;;
20026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_compile") 2>conftest.er1
20029 grep -v '^ *+' conftest.er1 >conftest.err
20031 cat conftest.err >&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); } && {
20034 test -z "$ac_c_werror_flag" ||
20035 test ! -s conftest.err
20036 } && test -s conftest.$ac_objext; then
20037 ac_cv_member_scsireq_t_cmd=yes
20039 echo "$as_me: failed program was:" >&5
20040 sed 's/^/| /' conftest.$ac_ext >&5
20042 cat >conftest.$ac_ext <<_ACEOF
20045 cat confdefs.h >>conftest.$ac_ext
20046 cat >>conftest.$ac_ext <<_ACEOF
20047 /* end confdefs.h. */
20048 #include <sys/types.h>
20049 #ifdef HAVE_SCSI_SG_H
20050 #include <scsi/sg.h>
20056 static scsireq_t ac_aggr;
20057 if (sizeof ac_aggr.cmd)
20063 rm -f conftest.$ac_objext
20064 if { (ac_try="$ac_compile"
20065 case "(($ac_try" in
20066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20067 *) ac_try_echo=$ac_try;;
20069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20070 (eval "$ac_compile") 2>conftest.er1
20072 grep -v '^ *+' conftest.er1 >conftest.err
20074 cat conftest.err >&5
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); } && {
20077 test -z "$ac_c_werror_flag" ||
20078 test ! -s conftest.err
20079 } && test -s conftest.$ac_objext; then
20080 ac_cv_member_scsireq_t_cmd=yes
20082 echo "$as_me: failed program was:" >&5
20083 sed 's/^/| /' conftest.$ac_ext >&5
20085 ac_cv_member_scsireq_t_cmd=no
20088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20093 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20094 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20095 if test $ac_cv_member_scsireq_t_cmd = yes; then
20097 cat >>confdefs.h <<_ACEOF
20098 #define HAVE_SCSIREQ_T_CMD 1
20103 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20104 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20105 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20106 echo $ECHO_N "(cached) $ECHO_C" >&6
20108 cat >conftest.$ac_ext <<_ACEOF
20111 cat confdefs.h >>conftest.$ac_ext
20112 cat >>conftest.$ac_ext <<_ACEOF
20113 /* end confdefs.h. */
20114 #include <sys/types.h>
20115 #ifdef HAVE_SCSI_SG_H
20116 #include <scsi/sg.h>
20122 static sg_io_hdr_t ac_aggr;
20123 if (ac_aggr.interface_id)
20129 rm -f conftest.$ac_objext
20130 if { (ac_try="$ac_compile"
20131 case "(($ac_try" in
20132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20133 *) ac_try_echo=$ac_try;;
20135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20136 (eval "$ac_compile") 2>conftest.er1
20138 grep -v '^ *+' conftest.er1 >conftest.err
20140 cat conftest.err >&5
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); } && {
20143 test -z "$ac_c_werror_flag" ||
20144 test ! -s conftest.err
20145 } && test -s conftest.$ac_objext; then
20146 ac_cv_member_sg_io_hdr_t_interface_id=yes
20148 echo "$as_me: failed program was:" >&5
20149 sed 's/^/| /' conftest.$ac_ext >&5
20151 cat >conftest.$ac_ext <<_ACEOF
20154 cat confdefs.h >>conftest.$ac_ext
20155 cat >>conftest.$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20157 #include <sys/types.h>
20158 #ifdef HAVE_SCSI_SG_H
20159 #include <scsi/sg.h>
20165 static sg_io_hdr_t ac_aggr;
20166 if (sizeof ac_aggr.interface_id)
20172 rm -f conftest.$ac_objext
20173 if { (ac_try="$ac_compile"
20174 case "(($ac_try" in
20175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20176 *) ac_try_echo=$ac_try;;
20178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20179 (eval "$ac_compile") 2>conftest.er1
20181 grep -v '^ *+' conftest.er1 >conftest.err
20183 cat conftest.err >&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); } && {
20186 test -z "$ac_c_werror_flag" ||
20187 test ! -s conftest.err
20188 } && test -s conftest.$ac_objext; then
20189 ac_cv_member_sg_io_hdr_t_interface_id=yes
20191 echo "$as_me: failed program was:" >&5
20192 sed 's/^/| /' conftest.$ac_ext >&5
20194 ac_cv_member_sg_io_hdr_t_interface_id=no
20197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20202 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20203 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20204 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20206 cat >>confdefs.h <<_ACEOF
20207 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20214 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20215 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20216 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20217 echo $ECHO_N "(cached) $ECHO_C" >&6
20219 cat >conftest.$ac_ext <<_ACEOF
20222 cat confdefs.h >>conftest.$ac_ext
20223 cat >>conftest.$ac_ext <<_ACEOF
20224 /* end confdefs.h. */
20225 #include <signal.h>
20230 static siginfo_t ac_aggr;
20237 rm -f conftest.$ac_objext
20238 if { (ac_try="$ac_compile"
20239 case "(($ac_try" in
20240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20241 *) ac_try_echo=$ac_try;;
20243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20244 (eval "$ac_compile") 2>conftest.er1
20246 grep -v '^ *+' conftest.er1 >conftest.err
20248 cat conftest.err >&5
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); } && {
20251 test -z "$ac_c_werror_flag" ||
20252 test ! -s conftest.err
20253 } && test -s conftest.$ac_objext; then
20254 ac_cv_member_siginfo_t_si_fd=yes
20256 echo "$as_me: failed program was:" >&5
20257 sed 's/^/| /' conftest.$ac_ext >&5
20259 cat >conftest.$ac_ext <<_ACEOF
20262 cat confdefs.h >>conftest.$ac_ext
20263 cat >>conftest.$ac_ext <<_ACEOF
20264 /* end confdefs.h. */
20265 #include <signal.h>
20270 static siginfo_t ac_aggr;
20271 if (sizeof ac_aggr.si_fd)
20277 rm -f conftest.$ac_objext
20278 if { (ac_try="$ac_compile"
20279 case "(($ac_try" in
20280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20281 *) ac_try_echo=$ac_try;;
20283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20284 (eval "$ac_compile") 2>conftest.er1
20286 grep -v '^ *+' conftest.er1 >conftest.err
20288 cat conftest.err >&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } && {
20291 test -z "$ac_c_werror_flag" ||
20292 test ! -s conftest.err
20293 } && test -s conftest.$ac_objext; then
20294 ac_cv_member_siginfo_t_si_fd=yes
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20299 ac_cv_member_siginfo_t_si_fd=no
20302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20307 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20308 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20309 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20311 cat >>confdefs.h <<_ACEOF
20312 #define HAVE_SIGINFO_T_SI_FD 1
20319 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20320 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20321 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20322 echo $ECHO_N "(cached) $ECHO_C" >&6
20324 cat >conftest.$ac_ext <<_ACEOF
20327 cat confdefs.h >>conftest.$ac_ext
20328 cat >>conftest.$ac_ext <<_ACEOF
20329 /* end confdefs.h. */
20330 #include <sys/types.h>
20331 #ifdef HAVE_SYS_MTIO_H
20332 #include <sys/mtio.h>
20338 static struct mtget ac_aggr;
20339 if (ac_aggr.mt_blksiz)
20345 rm -f conftest.$ac_objext
20346 if { (ac_try="$ac_compile"
20347 case "(($ac_try" in
20348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20349 *) ac_try_echo=$ac_try;;
20351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20352 (eval "$ac_compile") 2>conftest.er1
20354 grep -v '^ *+' conftest.er1 >conftest.err
20356 cat conftest.err >&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); } && {
20359 test -z "$ac_c_werror_flag" ||
20360 test ! -s conftest.err
20361 } && test -s conftest.$ac_objext; then
20362 ac_cv_member_struct_mtget_mt_blksiz=yes
20364 echo "$as_me: failed program was:" >&5
20365 sed 's/^/| /' conftest.$ac_ext >&5
20367 cat >conftest.$ac_ext <<_ACEOF
20370 cat confdefs.h >>conftest.$ac_ext
20371 cat >>conftest.$ac_ext <<_ACEOF
20372 /* end confdefs.h. */
20373 #include <sys/types.h>
20374 #ifdef HAVE_SYS_MTIO_H
20375 #include <sys/mtio.h>
20381 static struct mtget ac_aggr;
20382 if (sizeof ac_aggr.mt_blksiz)
20388 rm -f conftest.$ac_objext
20389 if { (ac_try="$ac_compile"
20390 case "(($ac_try" in
20391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20392 *) ac_try_echo=$ac_try;;
20394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20395 (eval "$ac_compile") 2>conftest.er1
20397 grep -v '^ *+' conftest.er1 >conftest.err
20399 cat conftest.err >&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } && {
20402 test -z "$ac_c_werror_flag" ||
20403 test ! -s conftest.err
20404 } && test -s conftest.$ac_objext; then
20405 ac_cv_member_struct_mtget_mt_blksiz=yes
20407 echo "$as_me: failed program was:" >&5
20408 sed 's/^/| /' conftest.$ac_ext >&5
20410 ac_cv_member_struct_mtget_mt_blksiz=no
20413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20418 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20419 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20420 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20422 cat >>confdefs.h <<_ACEOF
20423 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20428 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20429 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20430 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20431 echo $ECHO_N "(cached) $ECHO_C" >&6
20433 cat >conftest.$ac_ext <<_ACEOF
20436 cat confdefs.h >>conftest.$ac_ext
20437 cat >>conftest.$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20439 #include <sys/types.h>
20440 #ifdef HAVE_SYS_MTIO_H
20441 #include <sys/mtio.h>
20447 static struct mtget ac_aggr;
20448 if (ac_aggr.mt_gstat)
20454 rm -f conftest.$ac_objext
20455 if { (ac_try="$ac_compile"
20456 case "(($ac_try" in
20457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20458 *) ac_try_echo=$ac_try;;
20460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20461 (eval "$ac_compile") 2>conftest.er1
20463 grep -v '^ *+' conftest.er1 >conftest.err
20465 cat conftest.err >&5
20466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 (exit $ac_status); } && {
20468 test -z "$ac_c_werror_flag" ||
20469 test ! -s conftest.err
20470 } && test -s conftest.$ac_objext; then
20471 ac_cv_member_struct_mtget_mt_gstat=yes
20473 echo "$as_me: failed program was:" >&5
20474 sed 's/^/| /' conftest.$ac_ext >&5
20476 cat >conftest.$ac_ext <<_ACEOF
20479 cat confdefs.h >>conftest.$ac_ext
20480 cat >>conftest.$ac_ext <<_ACEOF
20481 /* end confdefs.h. */
20482 #include <sys/types.h>
20483 #ifdef HAVE_SYS_MTIO_H
20484 #include <sys/mtio.h>
20490 static struct mtget ac_aggr;
20491 if (sizeof ac_aggr.mt_gstat)
20497 rm -f conftest.$ac_objext
20498 if { (ac_try="$ac_compile"
20499 case "(($ac_try" in
20500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20501 *) ac_try_echo=$ac_try;;
20503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20504 (eval "$ac_compile") 2>conftest.er1
20506 grep -v '^ *+' conftest.er1 >conftest.err
20508 cat conftest.err >&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } && {
20511 test -z "$ac_c_werror_flag" ||
20512 test ! -s conftest.err
20513 } && test -s conftest.$ac_objext; then
20514 ac_cv_member_struct_mtget_mt_gstat=yes
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20519 ac_cv_member_struct_mtget_mt_gstat=no
20522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20527 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20528 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20529 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20531 cat >>confdefs.h <<_ACEOF
20532 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20537 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20538 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20539 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20540 echo $ECHO_N "(cached) $ECHO_C" >&6
20542 cat >conftest.$ac_ext <<_ACEOF
20545 cat confdefs.h >>conftest.$ac_ext
20546 cat >>conftest.$ac_ext <<_ACEOF
20547 /* end confdefs.h. */
20548 #include <sys/types.h>
20549 #ifdef HAVE_SYS_MTIO_H
20550 #include <sys/mtio.h>
20556 static struct mtget ac_aggr;
20557 if (ac_aggr.mt_blkno)
20563 rm -f conftest.$ac_objext
20564 if { (ac_try="$ac_compile"
20565 case "(($ac_try" in
20566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20567 *) ac_try_echo=$ac_try;;
20569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20570 (eval "$ac_compile") 2>conftest.er1
20572 grep -v '^ *+' conftest.er1 >conftest.err
20574 cat conftest.err >&5
20575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20576 (exit $ac_status); } && {
20577 test -z "$ac_c_werror_flag" ||
20578 test ! -s conftest.err
20579 } && test -s conftest.$ac_objext; then
20580 ac_cv_member_struct_mtget_mt_blkno=yes
20582 echo "$as_me: failed program was:" >&5
20583 sed 's/^/| /' conftest.$ac_ext >&5
20585 cat >conftest.$ac_ext <<_ACEOF
20588 cat confdefs.h >>conftest.$ac_ext
20589 cat >>conftest.$ac_ext <<_ACEOF
20590 /* end confdefs.h. */
20591 #include <sys/types.h>
20592 #ifdef HAVE_SYS_MTIO_H
20593 #include <sys/mtio.h>
20599 static struct mtget ac_aggr;
20600 if (sizeof ac_aggr.mt_blkno)
20606 rm -f conftest.$ac_objext
20607 if { (ac_try="$ac_compile"
20608 case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_compile") 2>conftest.er1
20615 grep -v '^ *+' conftest.er1 >conftest.err
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } && {
20620 test -z "$ac_c_werror_flag" ||
20621 test ! -s conftest.err
20622 } && test -s conftest.$ac_objext; then
20623 ac_cv_member_struct_mtget_mt_blkno=yes
20625 echo "$as_me: failed program was:" >&5
20626 sed 's/^/| /' conftest.$ac_ext >&5
20628 ac_cv_member_struct_mtget_mt_blkno=no
20631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20636 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20637 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20638 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20640 cat >>confdefs.h <<_ACEOF
20641 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20648 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20649 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20650 if test "${ac_cv_member_struct_option_name+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20653 cat >conftest.$ac_ext <<_ACEOF
20656 cat confdefs.h >>conftest.$ac_ext
20657 cat >>conftest.$ac_ext <<_ACEOF
20658 /* end confdefs.h. */
20659 #ifdef HAVE_GETOPT_H
20660 #include <getopt.h>
20666 static struct option ac_aggr;
20673 rm -f conftest.$ac_objext
20674 if { (ac_try="$ac_compile"
20675 case "(($ac_try" in
20676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20677 *) ac_try_echo=$ac_try;;
20679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20680 (eval "$ac_compile") 2>conftest.er1
20682 grep -v '^ *+' conftest.er1 >conftest.err
20684 cat conftest.err >&5
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); } && {
20687 test -z "$ac_c_werror_flag" ||
20688 test ! -s conftest.err
20689 } && test -s conftest.$ac_objext; then
20690 ac_cv_member_struct_option_name=yes
20692 echo "$as_me: failed program was:" >&5
20693 sed 's/^/| /' conftest.$ac_ext >&5
20695 cat >conftest.$ac_ext <<_ACEOF
20698 cat confdefs.h >>conftest.$ac_ext
20699 cat >>conftest.$ac_ext <<_ACEOF
20700 /* end confdefs.h. */
20701 #ifdef HAVE_GETOPT_H
20702 #include <getopt.h>
20708 static struct option ac_aggr;
20709 if (sizeof ac_aggr.name)
20715 rm -f conftest.$ac_objext
20716 if { (ac_try="$ac_compile"
20717 case "(($ac_try" in
20718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20719 *) ac_try_echo=$ac_try;;
20721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20722 (eval "$ac_compile") 2>conftest.er1
20724 grep -v '^ *+' conftest.er1 >conftest.err
20726 cat conftest.err >&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); } && {
20729 test -z "$ac_c_werror_flag" ||
20730 test ! -s conftest.err
20731 } && test -s conftest.$ac_objext; then
20732 ac_cv_member_struct_option_name=yes
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.$ac_ext >&5
20737 ac_cv_member_struct_option_name=no
20740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20745 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20746 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20747 if test $ac_cv_member_struct_option_name = yes; then
20749 cat >>confdefs.h <<_ACEOF
20750 #define HAVE_STRUCT_OPTION_NAME 1
20757 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20758 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20759 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20760 echo $ECHO_N "(cached) $ECHO_C" >&6
20762 cat >conftest.$ac_ext <<_ACEOF
20765 cat confdefs.h >>conftest.$ac_ext
20766 cat >>conftest.$ac_ext <<_ACEOF
20767 /* end confdefs.h. */
20768 $ac_includes_default
20772 static struct stat ac_aggr;
20773 if (ac_aggr.st_blocks)
20779 rm -f conftest.$ac_objext
20780 if { (ac_try="$ac_compile"
20781 case "(($ac_try" in
20782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20783 *) ac_try_echo=$ac_try;;
20785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20786 (eval "$ac_compile") 2>conftest.er1
20788 grep -v '^ *+' conftest.er1 >conftest.err
20790 cat conftest.err >&5
20791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792 (exit $ac_status); } && {
20793 test -z "$ac_c_werror_flag" ||
20794 test ! -s conftest.err
20795 } && test -s conftest.$ac_objext; then
20796 ac_cv_member_struct_stat_st_blocks=yes
20798 echo "$as_me: failed program was:" >&5
20799 sed 's/^/| /' conftest.$ac_ext >&5
20801 cat >conftest.$ac_ext <<_ACEOF
20804 cat confdefs.h >>conftest.$ac_ext
20805 cat >>conftest.$ac_ext <<_ACEOF
20806 /* end confdefs.h. */
20807 $ac_includes_default
20811 static struct stat ac_aggr;
20812 if (sizeof ac_aggr.st_blocks)
20818 rm -f conftest.$ac_objext
20819 if { (ac_try="$ac_compile"
20820 case "(($ac_try" in
20821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20822 *) ac_try_echo=$ac_try;;
20824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20825 (eval "$ac_compile") 2>conftest.er1
20827 grep -v '^ *+' conftest.er1 >conftest.err
20829 cat conftest.err >&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); } && {
20832 test -z "$ac_c_werror_flag" ||
20833 test ! -s conftest.err
20834 } && test -s conftest.$ac_objext; then
20835 ac_cv_member_struct_stat_st_blocks=yes
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20840 ac_cv_member_struct_stat_st_blocks=no
20843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20848 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20849 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20850 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20852 cat >>confdefs.h <<_ACEOF
20853 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20860 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20861 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20862 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20863 echo $ECHO_N "(cached) $ECHO_C" >&6
20865 cat >conftest.$ac_ext <<_ACEOF
20868 cat confdefs.h >>conftest.$ac_ext
20869 cat >>conftest.$ac_ext <<_ACEOF
20870 /* end confdefs.h. */
20871 #ifdef HAVE_SYS_TYPES_H
20872 #include <sys/types.h>
20874 #ifdef HAVE_NETINET_IN_H
20875 #include <netinet/in.h>
20881 static struct sockaddr_in6 ac_aggr;
20882 if (ac_aggr.sin6_scope_id)
20888 rm -f conftest.$ac_objext
20889 if { (ac_try="$ac_compile"
20890 case "(($ac_try" in
20891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20892 *) ac_try_echo=$ac_try;;
20894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20895 (eval "$ac_compile") 2>conftest.er1
20897 grep -v '^ *+' conftest.er1 >conftest.err
20899 cat conftest.err >&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); } && {
20902 test -z "$ac_c_werror_flag" ||
20903 test ! -s conftest.err
20904 } && test -s conftest.$ac_objext; then
20905 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20907 echo "$as_me: failed program was:" >&5
20908 sed 's/^/| /' conftest.$ac_ext >&5
20910 cat >conftest.$ac_ext <<_ACEOF
20913 cat confdefs.h >>conftest.$ac_ext
20914 cat >>conftest.$ac_ext <<_ACEOF
20915 /* end confdefs.h. */
20916 #ifdef HAVE_SYS_TYPES_H
20917 #include <sys/types.h>
20919 #ifdef HAVE_NETINET_IN_H
20920 #include <netinet/in.h>
20926 static struct sockaddr_in6 ac_aggr;
20927 if (sizeof ac_aggr.sin6_scope_id)
20933 rm -f conftest.$ac_objext
20934 if { (ac_try="$ac_compile"
20935 case "(($ac_try" in
20936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20937 *) ac_try_echo=$ac_try;;
20939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20940 (eval "$ac_compile") 2>conftest.er1
20942 grep -v '^ *+' conftest.er1 >conftest.err
20944 cat conftest.err >&5
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); } && {
20947 test -z "$ac_c_werror_flag" ||
20948 test ! -s conftest.err
20949 } && test -s conftest.$ac_objext; then
20950 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20952 echo "$as_me: failed program was:" >&5
20953 sed 's/^/| /' conftest.$ac_ext >&5
20955 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20963 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20964 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20965 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20967 cat >>confdefs.h <<_ACEOF
20968 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20975 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20976 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20977 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20978 echo $ECHO_N "(cached) $ECHO_C" >&6
20980 cat >conftest.$ac_ext <<_ACEOF
20983 cat confdefs.h >>conftest.$ac_ext
20984 cat >>conftest.$ac_ext <<_ACEOF
20985 /* end confdefs.h. */
20986 #ifdef HAVE_SYS_TYPES_H
20987 #include <sys/types.h>
20989 #ifdef HAVE_NETINET_IN_H
20990 # include <netinet/in.h>
20992 #ifdef HAVE_ARPA_NAMESER_H
20993 # include <arpa/nameser.h>
20999 static ns_msg ac_aggr;
21000 if (ac_aggr._msg_ptr)
21006 rm -f conftest.$ac_objext
21007 if { (ac_try="$ac_compile"
21008 case "(($ac_try" in
21009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21010 *) ac_try_echo=$ac_try;;
21012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21013 (eval "$ac_compile") 2>conftest.er1
21015 grep -v '^ *+' conftest.er1 >conftest.err
21017 cat conftest.err >&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } && {
21020 test -z "$ac_c_werror_flag" ||
21021 test ! -s conftest.err
21022 } && test -s conftest.$ac_objext; then
21023 ac_cv_member_ns_msg__msg_ptr=yes
21025 echo "$as_me: failed program was:" >&5
21026 sed 's/^/| /' conftest.$ac_ext >&5
21028 cat >conftest.$ac_ext <<_ACEOF
21031 cat confdefs.h >>conftest.$ac_ext
21032 cat >>conftest.$ac_ext <<_ACEOF
21033 /* end confdefs.h. */
21034 #ifdef HAVE_SYS_TYPES_H
21035 #include <sys/types.h>
21037 #ifdef HAVE_NETINET_IN_H
21038 # include <netinet/in.h>
21040 #ifdef HAVE_ARPA_NAMESER_H
21041 # include <arpa/nameser.h>
21047 static ns_msg ac_aggr;
21048 if (sizeof ac_aggr._msg_ptr)
21054 rm -f conftest.$ac_objext
21055 if { (ac_try="$ac_compile"
21056 case "(($ac_try" in
21057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21058 *) ac_try_echo=$ac_try;;
21060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21061 (eval "$ac_compile") 2>conftest.er1
21063 grep -v '^ *+' conftest.er1 >conftest.err
21065 cat conftest.err >&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } && {
21068 test -z "$ac_c_werror_flag" ||
21069 test ! -s conftest.err
21070 } && test -s conftest.$ac_objext; then
21071 ac_cv_member_ns_msg__msg_ptr=yes
21073 echo "$as_me: failed program was:" >&5
21074 sed 's/^/| /' conftest.$ac_ext >&5
21076 ac_cv_member_ns_msg__msg_ptr=no
21079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21084 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21085 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21086 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21088 cat >>confdefs.h <<_ACEOF
21089 #define HAVE_NS_MSG__MSG_PTR 1
21096 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21097 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21098 if test "${ac_cv_have_timezone+set}" = set; then
21099 echo $ECHO_N "(cached) $ECHO_C" >&6
21101 cat >conftest.$ac_ext <<_ACEOF
21104 cat confdefs.h >>conftest.$ac_ext
21105 cat >>conftest.$ac_ext <<_ACEOF
21106 /* end confdefs.h. */
21116 rm -f conftest.$ac_objext conftest$ac_exeext
21117 if { (ac_try="$ac_link"
21118 case "(($ac_try" in
21119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21120 *) ac_try_echo=$ac_try;;
21122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21123 (eval "$ac_link") 2>conftest.er1
21125 grep -v '^ *+' conftest.er1 >conftest.err
21127 cat conftest.err >&5
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); } && {
21130 test -z "$ac_c_werror_flag" ||
21131 test ! -s conftest.err
21132 } && test -s conftest$ac_exeext &&
21133 $as_test_x conftest$ac_exeext; then
21134 ac_cv_have_timezone="yes"
21136 echo "$as_me: failed program was:" >&5
21137 sed 's/^/| /' conftest.$ac_ext >&5
21139 ac_cv_have_timezone="no"
21142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21143 conftest$ac_exeext conftest.$ac_ext
21145 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21146 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21147 if test "$ac_cv_have_timezone" = "yes"
21150 cat >>confdefs.h <<\_ACEOF
21151 #define HAVE_TIMEZONE 1
21155 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21156 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21157 if test "${ac_cv_have_daylight+set}" = set; then
21158 echo $ECHO_N "(cached) $ECHO_C" >&6
21160 cat >conftest.$ac_ext <<_ACEOF
21163 cat confdefs.h >>conftest.$ac_ext
21164 cat >>conftest.$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21175 rm -f conftest.$ac_objext conftest$ac_exeext
21176 if { (ac_try="$ac_link"
21177 case "(($ac_try" in
21178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21179 *) ac_try_echo=$ac_try;;
21181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21182 (eval "$ac_link") 2>conftest.er1
21184 grep -v '^ *+' conftest.er1 >conftest.err
21186 cat conftest.err >&5
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); } && {
21189 test -z "$ac_c_werror_flag" ||
21190 test ! -s conftest.err
21191 } && test -s conftest$ac_exeext &&
21192 $as_test_x conftest$ac_exeext; then
21193 ac_cv_have_daylight="yes"
21195 echo "$as_me: failed program was:" >&5
21196 sed 's/^/| /' conftest.$ac_ext >&5
21198 ac_cv_have_daylight="no"
21201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21202 conftest$ac_exeext conftest.$ac_ext
21204 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21205 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21206 if test "$ac_cv_have_daylight" = "yes"
21209 cat >>confdefs.h <<\_ACEOF
21210 #define HAVE_DAYLIGHT 1
21215 { echo "$as_me:$LINENO: checking for isinf" >&5
21216 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21217 if test "${ac_cv_have_isinf+set}" = set; then
21218 echo $ECHO_N "(cached) $ECHO_C" >&6
21220 cat >conftest.$ac_ext <<_ACEOF
21223 cat confdefs.h >>conftest.$ac_ext
21224 cat >>conftest.$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21230 float f = 0.0; isinf(f)
21235 rm -f conftest.$ac_objext conftest$ac_exeext
21236 if { (ac_try="$ac_link"
21237 case "(($ac_try" in
21238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21239 *) ac_try_echo=$ac_try;;
21241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21242 (eval "$ac_link") 2>conftest.er1
21244 grep -v '^ *+' conftest.er1 >conftest.err
21246 cat conftest.err >&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } && {
21249 test -z "$ac_c_werror_flag" ||
21250 test ! -s conftest.err
21251 } && test -s conftest$ac_exeext &&
21252 $as_test_x conftest$ac_exeext; then
21253 ac_cv_have_isinf="yes"
21255 echo "$as_me: failed program was:" >&5
21256 sed 's/^/| /' conftest.$ac_ext >&5
21258 ac_cv_have_isinf="no"
21261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21262 conftest$ac_exeext conftest.$ac_ext
21264 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21265 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21266 if test "$ac_cv_have_isinf" = "yes"
21269 cat >>confdefs.h <<\_ACEOF
21270 #define HAVE_ISINF 1
21277 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21278 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21279 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21280 echo $ECHO_N "(cached) $ECHO_C" >&6
21282 cat >conftest.$ac_ext <<_ACEOF
21285 cat confdefs.h >>conftest.$ac_ext
21286 cat >>conftest.$ac_ext <<_ACEOF
21287 /* end confdefs.h. */
21292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21293 $EGREP "yes" >/dev/null 2>&1; then
21294 ac_cv_cpp_def___i386__=yes
21296 ac_cv_cpp_def___i386__=no
21301 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21302 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21303 if test $ac_cv_cpp_def___i386__ = yes; then
21304 CFLAGS="$CFLAGS -D__i386__"
21305 LINTFLAGS="$LINTFLAGS -D__i386__"
21308 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21309 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21310 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21311 echo $ECHO_N "(cached) $ECHO_C" >&6
21313 cat >conftest.$ac_ext <<_ACEOF
21316 cat confdefs.h >>conftest.$ac_ext
21317 cat >>conftest.$ac_ext <<_ACEOF
21318 /* end confdefs.h. */
21323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21324 $EGREP "yes" >/dev/null 2>&1; then
21325 ac_cv_cpp_def___x86_64__=yes
21327 ac_cv_cpp_def___x86_64__=no
21332 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21333 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21334 if test $ac_cv_cpp_def___x86_64__ = yes; then
21335 CFLAGS="$CFLAGS -D__x86_64__"
21336 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21339 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21340 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21341 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21342 echo $ECHO_N "(cached) $ECHO_C" >&6
21344 cat >conftest.$ac_ext <<_ACEOF
21347 cat confdefs.h >>conftest.$ac_ext
21348 cat >>conftest.$ac_ext <<_ACEOF
21349 /* end confdefs.h. */
21354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21355 $EGREP "yes" >/dev/null 2>&1; then
21356 ac_cv_cpp_def___ALPHA__=yes
21358 ac_cv_cpp_def___ALPHA__=no
21363 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21364 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21365 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21366 CFLAGS="$CFLAGS -D__ALPHA__"
21367 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21370 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21371 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21372 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21373 echo $ECHO_N "(cached) $ECHO_C" >&6
21375 cat >conftest.$ac_ext <<_ACEOF
21378 cat confdefs.h >>conftest.$ac_ext
21379 cat >>conftest.$ac_ext <<_ACEOF
21380 /* end confdefs.h. */
21385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21386 $EGREP "yes" >/dev/null 2>&1; then
21387 ac_cv_cpp_def___sparc__=yes
21389 ac_cv_cpp_def___sparc__=no
21394 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21395 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21396 if test $ac_cv_cpp_def___sparc__ = yes; then
21397 CFLAGS="$CFLAGS -D__sparc__"
21398 LINTFLAGS="$LINTFLAGS -D__sparc__"
21401 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21402 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21403 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21404 echo $ECHO_N "(cached) $ECHO_C" >&6
21406 cat >conftest.$ac_ext <<_ACEOF
21409 cat confdefs.h >>conftest.$ac_ext
21410 cat >>conftest.$ac_ext <<_ACEOF
21411 /* end confdefs.h. */
21412 #ifndef __powerpc__
21416 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21417 $EGREP "yes" >/dev/null 2>&1; then
21418 ac_cv_cpp_def___powerpc__=yes
21420 ac_cv_cpp_def___powerpc__=no
21425 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21426 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21427 if test $ac_cv_cpp_def___powerpc__ = yes; then
21428 CFLAGS="$CFLAGS -D__powerpc__"
21429 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21434 case $host_vendor in
21435 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21436 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21437 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21438 echo $ECHO_N "(cached) $ECHO_C" >&6
21440 cat >conftest.$ac_ext <<_ACEOF
21443 cat confdefs.h >>conftest.$ac_ext
21444 cat >>conftest.$ac_ext <<_ACEOF
21445 /* end confdefs.h. */
21450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21451 $EGREP "yes" >/dev/null 2>&1; then
21452 ac_cv_cpp_def___sun__=yes
21454 ac_cv_cpp_def___sun__=no
21459 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21460 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21461 if test $ac_cv_cpp_def___sun__ = yes; then
21462 CFLAGS="$CFLAGS -D__sun__"
21463 LINTFLAGS="$LINTFLAGS -D__sun__"
21469 DEPENDENCIES="### Dependencies:
21474 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21476 \$(OBJS): \$(IDL_GEN_HEADERS)
21477 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21478 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21479 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21480 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21486 ac_config_commands="$ac_config_commands include/stamp-h"
21489 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21491 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21493 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21495 ac_config_commands="$ac_config_commands dlls/user32/resources"
21497 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21499 ac_config_commands="$ac_config_commands include/wine"
21502 MAKE_RULES=Make.rules
21505 MAKE_DLL_RULES=dlls/Makedll.rules
21508 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21511 MAKE_TEST_RULES=dlls/Maketest.rules
21514 MAKE_PROG_RULES=programs/Makeprog.rules
21517 ac_config_files="$ac_config_files Make.rules"
21519 ac_config_files="$ac_config_files dlls/Makedll.rules"
21521 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21523 ac_config_files="$ac_config_files dlls/Maketest.rules"
21525 ac_config_files="$ac_config_files programs/Makeprog.rules"
21527 ac_config_files="$ac_config_files Makefile"
21529 ac_config_files="$ac_config_files dlls/Makefile"
21531 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21533 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21535 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21537 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21539 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21541 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21543 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21545 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21547 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21549 ac_config_files="$ac_config_files dlls/atl/Makefile"
21551 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21553 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21555 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21557 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21559 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21561 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21563 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21565 ac_config_files="$ac_config_files dlls/cards/Makefile"
21567 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21569 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21571 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21573 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21575 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21577 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21579 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21581 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21583 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21585 ac_config_files="$ac_config_files dlls/credui/Makefile"
21587 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21589 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21591 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21593 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21595 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21597 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21599 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21601 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21603 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21605 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21607 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21609 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21611 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21613 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21615 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21617 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21619 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21621 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21623 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21625 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21627 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21629 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21631 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21633 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21635 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21637 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21639 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21641 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21643 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21645 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21647 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21649 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21651 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21653 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21655 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21657 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21659 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21661 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21663 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21665 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21667 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21669 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21671 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21673 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21675 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21677 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21679 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21681 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21683 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21685 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21687 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21689 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21691 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21693 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21695 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21697 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21699 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21701 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21703 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21705 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21707 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21709 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21711 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21713 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21715 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21717 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21719 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21721 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21723 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21725 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21727 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21729 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21731 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21733 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21735 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21737 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21739 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21741 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21743 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21745 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21747 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21749 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21751 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21753 ac_config_files="$ac_config_files dlls/hal/Makefile"
21755 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21757 ac_config_files="$ac_config_files dlls/hid/Makefile"
21759 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21761 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21763 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21765 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21767 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21769 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21771 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21773 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21775 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21777 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21779 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21781 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21783 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21785 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21787 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21789 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21791 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21793 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21795 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21797 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21799 ac_config_files="$ac_config_files dlls/itss/Makefile"
21801 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21803 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21805 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21807 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21809 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21811 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21813 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21815 ac_config_files="$ac_config_files dlls/localui/Makefile"
21817 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21819 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21821 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21823 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21825 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21827 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21829 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21831 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21833 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21835 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21837 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21839 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21841 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21843 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21845 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21847 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21849 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21851 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21853 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21855 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21857 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21859 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21861 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21863 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21865 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21867 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21869 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21871 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21873 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21875 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21877 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21879 ac_config_files="$ac_config_files dlls/msi/Makefile"
21881 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21883 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21885 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21887 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21889 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21891 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21893 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21895 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21897 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21899 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21901 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21903 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21905 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21907 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21909 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21911 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21913 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21915 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21917 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21919 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21921 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21923 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21925 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21927 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21929 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21931 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21933 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21935 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21937 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21939 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21941 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21943 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21945 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21947 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21949 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21951 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21953 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21955 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21957 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21959 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21961 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21963 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21965 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21967 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21969 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21971 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21973 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21975 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21977 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21979 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21981 ac_config_files="$ac_config_files dlls/printui/Makefile"
21983 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21985 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21987 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21989 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21991 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21993 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21995 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21997 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21999 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22001 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22003 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22005 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22007 ac_config_files="$ac_config_files dlls/query/Makefile"
22009 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22011 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22013 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22015 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22017 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22019 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22021 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22023 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22025 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22027 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22029 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22031 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22033 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22035 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22037 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22039 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22041 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22043 ac_config_files="$ac_config_files dlls/security/Makefile"
22045 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22047 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22049 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22051 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22053 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22055 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22057 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22059 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22061 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22063 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22065 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22067 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22069 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22071 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22073 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22075 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22077 ac_config_files="$ac_config_files dlls/slc/Makefile"
22079 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22081 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22083 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22085 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22087 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22089 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22091 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22093 ac_config_files="$ac_config_files dlls/sti/Makefile"
22095 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22097 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22099 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22101 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22103 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22105 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22107 ac_config_files="$ac_config_files dlls/url/Makefile"
22109 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22111 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22113 ac_config_files="$ac_config_files dlls/user32/Makefile"
22115 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22117 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22119 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22121 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22123 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22125 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22127 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22129 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22131 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22133 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22135 ac_config_files="$ac_config_files dlls/version/Makefile"
22137 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22139 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22141 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22143 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22145 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22147 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22149 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22151 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22153 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22155 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22157 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22159 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22161 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22163 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22165 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22167 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22169 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22171 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22173 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22175 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22177 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22179 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22181 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22183 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22185 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22187 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22189 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22191 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22193 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22195 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22197 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22199 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22201 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22203 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22205 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22207 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22209 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22211 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22213 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22215 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22217 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22219 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22221 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22223 ac_config_files="$ac_config_files documentation/Makefile"
22225 ac_config_files="$ac_config_files fonts/Makefile"
22227 ac_config_files="$ac_config_files include/Makefile"
22229 ac_config_files="$ac_config_files libs/Makefile"
22231 ac_config_files="$ac_config_files libs/port/Makefile"
22233 ac_config_files="$ac_config_files libs/wine/Makefile"
22235 ac_config_files="$ac_config_files libs/wpp/Makefile"
22237 ac_config_files="$ac_config_files loader/Makefile"
22239 ac_config_files="$ac_config_files programs/Makefile"
22241 ac_config_files="$ac_config_files programs/clock/Makefile"
22243 ac_config_files="$ac_config_files programs/cmd/Makefile"
22245 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22247 ac_config_files="$ac_config_files programs/control/Makefile"
22249 ac_config_files="$ac_config_files programs/eject/Makefile"
22251 ac_config_files="$ac_config_files programs/expand/Makefile"
22253 ac_config_files="$ac_config_files programs/explorer/Makefile"
22255 ac_config_files="$ac_config_files programs/hh/Makefile"
22257 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22259 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22261 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22263 ac_config_files="$ac_config_files programs/net/Makefile"
22265 ac_config_files="$ac_config_files programs/notepad/Makefile"
22267 ac_config_files="$ac_config_files programs/oleview/Makefile"
22269 ac_config_files="$ac_config_files programs/progman/Makefile"
22271 ac_config_files="$ac_config_files programs/reg/Makefile"
22273 ac_config_files="$ac_config_files programs/regedit/Makefile"
22275 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22277 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22279 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22281 ac_config_files="$ac_config_files programs/secedit/Makefile"
22283 ac_config_files="$ac_config_files programs/services/Makefile"
22285 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22287 ac_config_files="$ac_config_files programs/start/Makefile"
22289 ac_config_files="$ac_config_files programs/svchost/Makefile"
22291 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22293 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22295 ac_config_files="$ac_config_files programs/view/Makefile"
22297 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22299 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22301 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22303 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22305 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22307 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22309 ac_config_files="$ac_config_files programs/winefile/Makefile"
22311 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22313 ac_config_files="$ac_config_files programs/winemine/Makefile"
22315 ac_config_files="$ac_config_files programs/winepath/Makefile"
22317 ac_config_files="$ac_config_files programs/winetest/Makefile"
22319 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22321 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22323 ac_config_files="$ac_config_files programs/winver/Makefile"
22325 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22327 ac_config_files="$ac_config_files programs/write/Makefile"
22329 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22331 ac_config_files="$ac_config_files server/Makefile"
22333 ac_config_files="$ac_config_files tools/Makefile"
22335 ac_config_files="$ac_config_files tools/widl/Makefile"
22337 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22339 ac_config_files="$ac_config_files tools/winedump/Makefile"
22341 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22343 ac_config_files="$ac_config_files tools/wmc/Makefile"
22345 ac_config_files="$ac_config_files tools/wrc/Makefile"
22348 cat >confcache <<\_ACEOF
22349 # This file is a shell script that caches the results of configure
22350 # tests run on this system so they can be shared between configure
22351 # scripts and configure runs, see configure's option --config-cache.
22352 # It is not useful on other systems. If it contains results you don't
22353 # want to keep, you may remove or edit it.
22355 # config.status only pays attention to the cache file if you give it
22356 # the --recheck option to rerun configure.
22358 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22359 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22360 # following values.
22364 # The following way of writing the cache mishandles newlines in values,
22365 # but we know of no workaround that is simple, portable, and efficient.
22366 # So, we kill variables containing newlines.
22367 # Ultrix sh set writes to stderr and can't be redirected directly,
22368 # and sets the high bit in the cache file unless we assign to the vars.
22370 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22371 eval ac_val=\$$ac_var
22375 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22376 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22379 _ | IFS | as_nl) ;; #(
22380 *) $as_unset $ac_var ;;
22386 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22387 *${as_nl}ac_space=\ *)
22388 # `set' does not quote correctly, so add quotes (double-quote
22389 # substitution turns \\\\ into \\, and sed turns \\ into \).
22392 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22395 # `set' quotes correctly as required by POSIX, so do not add quotes.
22396 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22405 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22407 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22409 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22410 if test -w "$cache_file"; then
22411 test "x$cache_file" != "x/dev/null" &&
22412 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22413 echo "$as_me: updating cache $cache_file" >&6;}
22414 cat confcache >$cache_file
22416 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22417 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22422 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22423 # Let make expand exec_prefix.
22424 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22426 DEFS=-DHAVE_CONFIG_H
22430 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22431 # 1. Remove the extension, and $U if already installed.
22432 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22433 ac_i=`echo "$ac_i" | sed "$ac_script"`
22434 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22435 # will be set to the directory where LIBOBJS objects are built.
22436 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22437 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22439 LIBOBJS=$ac_libobjs
22441 LTLIBOBJS=$ac_ltlibobjs
22445 : ${CONFIG_STATUS=./config.status}
22446 ac_clean_files_save=$ac_clean_files
22447 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22448 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22449 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22450 cat >$CONFIG_STATUS <<_ACEOF
22452 # Generated by $as_me.
22453 # Run this file to recreate the current configuration.
22454 # Compiler output produced by configure, useful for debugging
22455 # configure, is in config.log if it exists.
22458 ac_cs_recheck=false
22460 SHELL=\${CONFIG_SHELL-$SHELL}
22463 cat >>$CONFIG_STATUS <<\_ACEOF
22464 ## --------------------- ##
22465 ## M4sh Initialization. ##
22466 ## --------------------- ##
22468 # Be more Bourne compatible
22469 DUALCASE=1; export DUALCASE # for MKS sh
22470 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22473 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22474 # is contrary to our usage. Disable this feature.
22475 alias -g '${1+"$@"}'='"$@"'
22476 setopt NO_GLOB_SUBST
22478 case `(set -o) 2>/dev/null` in
22479 *posix*) set -o posix ;;
22488 # Avoid depending upon Character Ranges.
22489 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22490 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22491 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22492 as_cr_digits='0123456789'
22493 as_cr_alnum=$as_cr_Letters$as_cr_digits
22495 # The user is always right.
22496 if test "${PATH_SEPARATOR+set}" != set; then
22497 echo "#! /bin/sh" >conf$$.sh
22498 echo "exit 0" >>conf$$.sh
22500 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22508 # Support unset when possible.
22509 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22517 # We need space, tab and new line, in precisely that order. Quoting is
22518 # there to prevent editors from complaining about space-tab.
22519 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22520 # splitting by setting IFS to empty value.)
22525 # Find who we are. Look in the path if we contain no directory separator.
22527 *[\\/]* ) as_myself=$0 ;;
22528 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22529 for as_dir in $PATH
22532 test -z "$as_dir" && as_dir=.
22533 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22539 # We did not find ourselves, most probably we were run as `sh COMMAND'
22540 # in which case we are not to be found in the path.
22541 if test "x$as_myself" = x; then
22544 if test ! -f "$as_myself"; then
22545 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22546 { (exit 1); exit 1; }
22549 # Work around bugs in pre-3.0 UWIN ksh.
22550 for as_var in ENV MAIL MAILPATH
22551 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22559 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22560 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22561 LC_TELEPHONE LC_TIME
22563 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22564 eval $as_var=C; export $as_var
22566 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22570 # Required to use basename.
22571 if expr a : '\(a\)' >/dev/null 2>&1 &&
22572 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22578 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22579 as_basename=basename
22585 # Name of the executable.
22586 as_me=`$as_basename -- "$0" ||
22587 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22588 X"$0" : 'X\(//\)$' \| \
22589 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22591 sed '/^.*\/\([^/][^/]*\)\/*$/{
22610 as_lineno_1=$LINENO
22611 as_lineno_2=$LINENO
22612 test "x$as_lineno_1" != "x$as_lineno_2" &&
22613 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22615 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22616 # uniformly replaced by the line number. The first 'sed' inserts a
22617 # line-number line after each line using $LINENO; the second 'sed'
22618 # does the real work. The second script uses 'N' to pair each
22619 # line-number line with the line containing $LINENO, and appends
22620 # trailing '-' during substitution so that $LINENO is not a special
22621 # case at line end.
22622 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22623 # scripts with optimization help from Paolo Bonzini. Blame Lee
22624 # E. McMahon (1931-1989) for sed's syntax. :-)
22636 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22639 ' >$as_me.lineno &&
22640 chmod +x "$as_me.lineno" ||
22641 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22642 { (exit 1); exit 1; }; }
22644 # Don't try to exec as it changes $[0], causing all sort of problems
22645 # (the dirname of $[0] is not the place where we might find the
22646 # original and so on. Autoconf is especially sensitive to this).
22647 . "./$as_me.lineno"
22648 # Exit status is that of the last command.
22653 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22659 ECHO_C= ECHO_N= ECHO_T=
22660 case `echo -n x` in
22662 case `echo 'x\c'` in
22663 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22670 if expr a : '\(a\)' >/dev/null 2>&1 &&
22671 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22677 rm -f conf$$ conf$$.exe conf$$.file
22678 if test -d conf$$.dir; then
22679 rm -f conf$$.dir/conf$$.file
22685 if ln -s conf$$.file conf$$ 2>/dev/null; then
22687 # ... but there are two gotchas:
22688 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22689 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22690 # In both cases, we have to default to `cp -p'.
22691 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22693 elif ln conf$$.file conf$$ 2>/dev/null; then
22698 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22699 rmdir conf$$.dir 2>/dev/null
22701 if mkdir -p . 2>/dev/null; then
22704 test -d ./-p && rmdir ./-p
22708 if test -x / >/dev/null 2>&1; then
22709 as_test_x='test -x'
22711 if ls -dL / >/dev/null 2>&1; then
22718 if test -d "$1"; then
22724 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22725 ???[sx]*):;;*)false;;esac;fi
22729 as_executable_p=$as_test_x
22731 # Sed expression to map a string onto a valid CPP name.
22732 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22734 # Sed expression to map a string onto a valid variable name.
22735 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22740 # Save the log message, to keep $[0] and so on meaningful, and to
22741 # report actual input values of CONFIG_FILES etc. instead of their
22742 # values after options handling.
22744 This file was extended by Wine $as_me 1.0-rc2, which was
22745 generated by GNU Autoconf 2.61. Invocation command line was
22747 CONFIG_FILES = $CONFIG_FILES
22748 CONFIG_HEADERS = $CONFIG_HEADERS
22749 CONFIG_LINKS = $CONFIG_LINKS
22750 CONFIG_COMMANDS = $CONFIG_COMMANDS
22753 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22758 cat >>$CONFIG_STATUS <<_ACEOF
22759 # Files that config.status was made for.
22760 config_files="$ac_config_files"
22761 config_headers="$ac_config_headers"
22762 config_commands="$ac_config_commands"
22766 cat >>$CONFIG_STATUS <<\_ACEOF
22768 \`$as_me' instantiates files from templates according to the
22769 current configuration.
22771 Usage: $0 [OPTIONS] [FILE]...
22773 -h, --help print this help, then exit
22774 -V, --version print version number and configuration settings, then exit
22775 -q, --quiet do not print progress messages
22776 -d, --debug don't remove temporary files
22777 --recheck update $as_me by reconfiguring in the same conditions
22778 --file=FILE[:TEMPLATE]
22779 instantiate the configuration file FILE
22780 --header=FILE[:TEMPLATE]
22781 instantiate the configuration header FILE
22783 Configuration files:
22786 Configuration headers:
22789 Configuration commands:
22792 Report bugs to <bug-autoconf@gnu.org>."
22795 cat >>$CONFIG_STATUS <<_ACEOF
22797 Wine config.status 1.0-rc2
22798 configured by $0, generated by GNU Autoconf 2.61,
22799 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22801 Copyright (C) 2006 Free Software Foundation, Inc.
22802 This config.status script is free software; the Free Software Foundation
22803 gives unlimited permission to copy, distribute and modify it."
22810 cat >>$CONFIG_STATUS <<\_ACEOF
22811 # If no file are specified by the user, then we need to provide default
22812 # value. By we need to know if files were specified by the user.
22818 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22819 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22830 # Handling of the options.
22831 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22833 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22834 echo "$ac_cs_version"; exit ;;
22835 --debug | --debu | --deb | --de | --d | -d )
22837 --file | --fil | --fi | --f )
22839 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22840 ac_need_defaults=false;;
22841 --header | --heade | --head | --hea )
22843 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22844 ac_need_defaults=false;;
22846 # Conflict between --help and --header
22847 { echo "$as_me: error: ambiguous option: $1
22848 Try \`$0 --help' for more information." >&2
22849 { (exit 1); exit 1; }; };;
22850 --help | --hel | -h )
22851 echo "$ac_cs_usage"; exit ;;
22852 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22853 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22856 # This is an error.
22857 -*) { echo "$as_me: error: unrecognized option: $1
22858 Try \`$0 --help' for more information." >&2
22859 { (exit 1); exit 1; }; } ;;
22861 *) ac_config_targets="$ac_config_targets $1"
22862 ac_need_defaults=false ;;
22868 ac_configure_extra_args=
22870 if $ac_cs_silent; then
22872 ac_configure_extra_args="$ac_configure_extra_args --silent"
22876 cat >>$CONFIG_STATUS <<_ACEOF
22877 if \$ac_cs_recheck; then
22878 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22879 CONFIG_SHELL=$SHELL
22880 export CONFIG_SHELL
22881 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22885 cat >>$CONFIG_STATUS <<\_ACEOF
22889 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22890 ## Running $as_me. ##
22896 cat >>$CONFIG_STATUS <<_ACEOF
22899 cat >>$CONFIG_STATUS <<\_ACEOF
22901 # Handling of arguments.
22902 for ac_config_target in $ac_config_targets
22904 case $ac_config_target in
22905 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22906 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22907 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22908 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22909 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22910 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22911 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22912 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22913 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22914 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22915 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22916 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22917 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22918 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22919 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22920 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22921 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22922 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22923 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22924 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22925 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22926 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22927 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22928 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22929 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22930 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22931 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22932 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22933 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22934 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22935 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22936 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22937 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22938 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22939 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22940 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22941 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22942 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22943 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22944 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22945 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22946 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22947 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22948 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22949 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22950 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22951 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22952 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22953 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22954 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22955 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22956 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
22957 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22958 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22959 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22960 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22961 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22962 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22963 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22964 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22965 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22966 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22967 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22968 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22969 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22970 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22971 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22972 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22973 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22974 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22975 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22976 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22977 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22978 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22979 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22980 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22981 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22982 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
22983 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
22984 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22985 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22986 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22987 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22988 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22989 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22990 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22991 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22992 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22993 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22994 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22995 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22996 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22997 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22998 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22999 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23000 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23001 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23002 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23003 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23004 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23005 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
23006 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23007 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23008 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23009 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23010 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23011 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23012 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
23013 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23014 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23015 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
23016 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23017 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23018 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23019 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23020 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23021 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23022 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23023 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23024 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23025 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23026 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23027 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23028 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23029 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23030 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23031 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23032 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23033 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23034 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23035 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23036 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23037 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23038 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23039 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23040 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23041 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23042 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23043 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23044 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23045 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23046 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23047 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23048 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23049 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23050 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23051 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23052 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23053 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23054 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23055 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23056 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23057 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23058 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23059 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23060 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23061 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23062 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23063 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23064 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23065 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23066 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23067 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23068 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23069 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23070 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23071 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23072 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23073 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23074 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23075 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23076 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23077 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23078 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23079 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23080 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23081 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23082 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23083 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23084 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23085 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23086 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23087 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23088 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23089 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23090 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23091 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23092 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23093 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23094 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23095 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23096 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23097 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23098 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23099 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23100 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23101 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23102 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23103 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23104 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23105 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23106 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23107 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23108 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23109 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23110 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23111 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23112 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23113 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23114 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23115 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23116 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23117 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23118 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23119 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23120 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23121 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23122 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23123 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23124 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23125 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23126 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23127 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23128 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23129 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23130 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23131 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23132 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23133 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23134 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23135 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23136 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23137 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23138 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23139 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23140 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23141 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23142 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23143 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23144 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23145 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23146 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23147 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23148 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23149 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23150 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23151 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23152 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23153 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23154 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23155 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23156 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23157 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23158 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23159 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23160 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23161 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23162 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23163 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23164 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23165 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23166 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23167 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23168 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23169 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23170 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23171 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23172 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23173 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23174 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23175 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23176 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23177 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23178 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23179 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23180 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23181 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23182 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23183 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23184 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23185 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23186 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23187 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23188 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23189 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23190 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23191 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23192 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23193 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23194 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23195 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23196 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23197 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23198 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23199 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23200 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23201 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23202 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23203 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23204 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23205 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23206 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23207 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23208 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23209 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23210 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23211 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23212 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23213 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23214 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23215 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23216 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23217 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23218 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23219 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23220 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23221 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23222 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23223 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23224 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23225 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23226 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23227 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23228 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23229 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23230 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23231 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23232 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23233 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23234 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23235 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23236 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23237 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23238 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23239 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23240 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23241 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23242 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23243 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23244 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23245 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23246 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23247 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23248 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23249 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23250 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23251 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23252 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23253 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23254 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23255 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23256 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23257 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23258 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23259 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23260 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23261 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23262 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23263 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23264 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23265 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23266 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23267 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23268 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23269 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23270 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23271 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23272 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23273 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23274 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23275 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23276 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23277 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23278 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23279 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23280 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23281 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23282 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23283 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23284 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23285 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23286 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23287 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23288 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23289 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23290 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23291 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23292 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23293 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23294 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23295 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23296 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23297 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23298 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23299 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23300 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23301 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23302 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23303 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23304 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23305 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23306 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23307 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23308 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23309 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23310 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23311 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23312 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23313 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23314 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23315 "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23316 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23317 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23318 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23319 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23320 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23321 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23322 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23323 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23324 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23325 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23326 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23327 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23329 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23330 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23331 { (exit 1); exit 1; }; };;
23336 # If the user did not use the arguments to specify the items to instantiate,
23337 # then the envvar interface is used. Set only those that are not.
23338 # We use the long form for the default assignment because of an extremely
23339 # bizarre bug on SunOS 4.1.3.
23340 if $ac_need_defaults; then
23341 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23342 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23343 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23346 # Have a temporary directory for convenience. Make it in the build tree
23347 # simply because there is no reason against having it here, and in addition,
23348 # creating and moving files from /tmp can sometimes cause problems.
23349 # Hook for its removal unless debugging.
23350 # Note that there is a small window in which the directory will not be cleaned:
23351 # after its creation but before its name has been assigned to `$tmp'.
23355 trap 'exit_status=$?
23356 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23358 trap '{ (exit 1); exit 1; }' 1 2 13 15
23360 # Create a (secure) tmp directory for tmp files.
23363 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23364 test -n "$tmp" && test -d "$tmp"
23367 tmp=./conf$$-$RANDOM
23368 (umask 077 && mkdir "$tmp")
23371 echo "$me: cannot create a temporary directory in ." >&2
23372 { (exit 1); exit 1; }
23376 # Set up the sed scripts for CONFIG_FILES section.
23379 # No need to generate the scripts if there are no CONFIG_FILES.
23380 # This happens for instance when ./config.status config.h
23381 if test -n "$CONFIG_FILES"; then
23385 # Create sed commands to just substitute file output variables.
23387 # Remaining file output variables are in a fragment that also has non-file
23393 for ac_last_try in false false false false false :; do
23394 cat >conf$$subs.sed <<_ACEOF
23395 SHELL!$SHELL$ac_delim
23396 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23397 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23398 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23399 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23400 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23401 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23402 exec_prefix!$exec_prefix$ac_delim
23403 prefix!$prefix$ac_delim
23404 program_transform_name!$program_transform_name$ac_delim
23405 bindir!$bindir$ac_delim
23406 sbindir!$sbindir$ac_delim
23407 libexecdir!$libexecdir$ac_delim
23408 datarootdir!$datarootdir$ac_delim
23409 datadir!$datadir$ac_delim
23410 sysconfdir!$sysconfdir$ac_delim
23411 sharedstatedir!$sharedstatedir$ac_delim
23412 localstatedir!$localstatedir$ac_delim
23413 includedir!$includedir$ac_delim
23414 oldincludedir!$oldincludedir$ac_delim
23415 docdir!$docdir$ac_delim
23416 infodir!$infodir$ac_delim
23417 htmldir!$htmldir$ac_delim
23418 dvidir!$dvidir$ac_delim
23419 pdfdir!$pdfdir$ac_delim
23420 psdir!$psdir$ac_delim
23421 libdir!$libdir$ac_delim
23422 localedir!$localedir$ac_delim
23423 mandir!$mandir$ac_delim
23424 DEFS!$DEFS$ac_delim
23425 ECHO_C!$ECHO_C$ac_delim
23426 ECHO_N!$ECHO_N$ac_delim
23427 ECHO_T!$ECHO_T$ac_delim
23428 LIBS!$LIBS$ac_delim
23429 build_alias!$build_alias$ac_delim
23430 host_alias!$host_alias$ac_delim
23431 target_alias!$target_alias$ac_delim
23432 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23433 build!$build$ac_delim
23434 build_cpu!$build_cpu$ac_delim
23435 build_vendor!$build_vendor$ac_delim
23436 build_os!$build_os$ac_delim
23437 host!$host$ac_delim
23438 host_cpu!$host_cpu$ac_delim
23439 host_vendor!$host_vendor$ac_delim
23440 host_os!$host_os$ac_delim
23441 WIN16_FILES!$WIN16_FILES$ac_delim
23442 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23443 SET_MAKE!$SET_MAKE$ac_delim
23445 CFLAGS!$CFLAGS$ac_delim
23446 LDFLAGS!$LDFLAGS$ac_delim
23447 CPPFLAGS!$CPPFLAGS$ac_delim
23448 ac_ct_CC!$ac_ct_CC$ac_delim
23449 EXEEXT!$EXEEXT$ac_delim
23450 OBJEXT!$OBJEXT$ac_delim
23452 CXXFLAGS!$CXXFLAGS$ac_delim
23453 ac_ct_CXX!$ac_ct_CXX$ac_delim
23454 CPPBIN!$CPPBIN$ac_delim
23455 TOOLSDIR!$TOOLSDIR$ac_delim
23456 XMKMF!$XMKMF$ac_delim
23458 X_CFLAGS!$X_CFLAGS$ac_delim
23459 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23460 X_LIBS!$X_LIBS$ac_delim
23461 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23462 FLEX!$FLEX$ac_delim
23463 BISON!$BISON$ac_delim
23465 ac_ct_AS!$ac_ct_AS$ac_delim
23468 ARFLAGS!$ARFLAGS$ac_delim
23469 RANLIB!$RANLIB$ac_delim
23470 STRIP!$STRIP$ac_delim
23471 WINDRES!$WINDRES$ac_delim
23472 LN_S!$LN_S$ac_delim
23474 GREP!$GREP$ac_delim
23475 EGREP!$EGREP$ac_delim
23476 LDCONFIG!$LDCONFIG$ac_delim
23479 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23481 elif $ac_last_try; then
23482 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23483 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23484 { (exit 1); exit 1; }; }
23486 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23490 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23491 if test -n "$ac_eof"; then
23492 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23493 ac_eof=`expr $ac_eof + 1`
23496 cat >>$CONFIG_STATUS <<_ACEOF
23497 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23498 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23499 /^[ ]*@MAKE_RULES@[ ]*$/{
23503 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23507 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23508 r $MAKE_IMPLIB_RULES
23511 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23515 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23521 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23522 s/^/s,@/; s/!/@,|#_!!_#|/
23525 s/'"$ac_delim"'$/,g/; t
23527 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23528 ' >>$CONFIG_STATUS <conf$$subs.sed
23529 rm -f conf$$subs.sed
23530 cat >>$CONFIG_STATUS <<_ACEOF
23536 for ac_last_try in false false false false false :; do
23537 cat >conf$$subs.sed <<_ACEOF
23538 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23539 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23540 INSTALL_DATA!$INSTALL_DATA$ac_delim
23541 LINT!$LINT$ac_delim
23542 LINTFLAGS!$LINTFLAGS$ac_delim
23543 FONTFORGE!$FONTFORGE$ac_delim
23544 PKG_CONFIG!$PKG_CONFIG$ac_delim
23545 RSVG!$RSVG$ac_delim
23546 ICOTOOL!$ICOTOOL$ac_delim
23547 PRELINK!$PRELINK$ac_delim
23548 LIBPTHREAD!$LIBPTHREAD$ac_delim
23549 XLIB!$XLIB$ac_delim
23550 XFILES!$XFILES$ac_delim
23551 OPENGLFILES!$OPENGLFILES$ac_delim
23552 GLU32FILES!$GLU32FILES$ac_delim
23553 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23554 QUARTZFILES!$QUARTZFILES$ac_delim
23555 DLLEXT!$DLLEXT$ac_delim
23556 DLLFLAGS!$DLLFLAGS$ac_delim
23557 LDSHARED!$LDSHARED$ac_delim
23558 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23559 LIBEXT!$LIBEXT$ac_delim
23560 IMPLIBEXT!$IMPLIBEXT$ac_delim
23561 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23562 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23564 DLLTOOL!$DLLTOOL$ac_delim
23565 DLLWRAP!$DLLWRAP$ac_delim
23566 MINGWAR!$MINGWAR$ac_delim
23567 SECURITYLIB!$SECURITYLIB$ac_delim
23568 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23569 IOKITLIB!$IOKITLIB$ac_delim
23570 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23571 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23572 COREAUDIO!$COREAUDIO$ac_delim
23573 CARBONLIB!$CARBONLIB$ac_delim
23574 CROSSTEST!$CROSSTEST$ac_delim
23575 CROSSCC!$CROSSCC$ac_delim
23576 CROSSWINDRES!$CROSSWINDRES$ac_delim
23577 NASLIBS!$NASLIBS$ac_delim
23578 XML2LIBS!$XML2LIBS$ac_delim
23579 XML2INCL!$XML2INCL$ac_delim
23580 XSLTLIBS!$XSLTLIBS$ac_delim
23581 XSLTINCL!$XSLTINCL$ac_delim
23582 HALINCL!$HALINCL$ac_delim
23583 sane_devel!$sane_devel$ac_delim
23584 SANEINCL!$SANEINCL$ac_delim
23585 gphoto2_devel!$gphoto2_devel$ac_delim
23586 gphoto2port_devel!$gphoto2port_devel$ac_delim
23587 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23588 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23589 RESOLVLIBS!$RESOLVLIBS$ac_delim
23590 LCMSLIBS!$LCMSLIBS$ac_delim
23591 LDAPLIBS!$LDAPLIBS$ac_delim
23592 ft_devel!$ft_devel$ac_delim
23593 FREETYPELIBS!$FREETYPELIBS$ac_delim
23594 FREETYPEINCL!$FREETYPEINCL$ac_delim
23595 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23596 ESDCONFIG!$ESDCONFIG$ac_delim
23597 ESDLIBS!$ESDLIBS$ac_delim
23598 ESDINCL!$ESDINCL$ac_delim
23599 ALSALIBS!$ALSALIBS$ac_delim
23600 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23601 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23602 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23603 BUILTINFLAG!$BUILTINFLAG$ac_delim
23604 LDPATH!$LDPATH$ac_delim
23605 CRTLIBS!$CRTLIBS$ac_delim
23606 SOCKETLIBS!$SOCKETLIBS$ac_delim
23607 MAIN_BINARY!$MAIN_BINARY$ac_delim
23608 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23609 LIBDL!$LIBDL$ac_delim
23610 LIBPOLL!$LIBPOLL$ac_delim
23611 DEPENDENCIES!$DEPENDENCIES$ac_delim
23612 LIBOBJS!$LIBOBJS$ac_delim
23613 LTLIBOBJS!$LTLIBOBJS$ac_delim
23616 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23618 elif $ac_last_try; then
23619 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23620 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23621 { (exit 1); exit 1; }; }
23623 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23627 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23628 if test -n "$ac_eof"; then
23629 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23630 ac_eof=`expr $ac_eof + 1`
23633 cat >>$CONFIG_STATUS <<_ACEOF
23634 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23635 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23638 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23639 s/^/s,@/; s/!/@,|#_!!_#|/
23642 s/'"$ac_delim"'$/,g/; t
23644 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23645 ' >>$CONFIG_STATUS <conf$$subs.sed
23646 rm -f conf$$subs.sed
23647 cat >>$CONFIG_STATUS <<_ACEOF
23654 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23655 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23656 # trailing colons and then remove the whole line if VPATH becomes empty
23657 # (actually we leave an empty line to preserve line numbers).
23658 if test "x$srcdir" = x.; then
23659 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23660 s/:*\$(srcdir):*/:/
23661 s/:*\${srcdir}:*/:/
23663 s/^\([^=]*=[ ]*\):*/\1/
23669 cat >>$CONFIG_STATUS <<\_ACEOF
23670 fi # test -n "$CONFIG_FILES"
23673 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23676 :[FHLC]) ac_mode=$ac_tag; continue;;
23678 case $ac_mode$ac_tag in
23680 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23681 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23682 { (exit 1); exit 1; }; };;
23683 :[FH]-) ac_tag=-:-;;
23684 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23701 -) ac_f="$tmp/stdin";;
23702 *) # Look for the file first in the build tree, then in the source tree
23703 # (if the path is not absolute). The absolute path cannot be DOS-style,
23704 # because $ac_f cannot contain `:'.
23708 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23710 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23711 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23712 { (exit 1); exit 1; }; };;
23714 ac_file_inputs="$ac_file_inputs $ac_f"
23717 # Let's still pretend it is `configure' which instantiates (i.e., don't
23718 # use $as_me), people would be surprised to read:
23719 # /* config.h. Generated by config.status. */
23720 configure_input="Generated from "`IFS=:
23721 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23722 if test x"$ac_file" != x-; then
23723 configure_input="$ac_file. $configure_input"
23724 { echo "$as_me:$LINENO: creating $ac_file" >&5
23725 echo "$as_me: creating $ac_file" >&6;}
23729 *:-:* | *:-) cat >"$tmp/stdin";;
23734 ac_dir=`$as_dirname -- "$ac_file" ||
23735 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23736 X"$ac_file" : 'X\(//\)[^/]' \| \
23737 X"$ac_file" : 'X\(//\)$' \| \
23738 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23744 /^X\(\/\/\)[^/].*/{
23759 -*) as_dir=./$as_dir;;
23761 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23765 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23766 *) as_qdir=$as_dir;;
23768 as_dirs="'$as_qdir' $as_dirs"
23769 as_dir=`$as_dirname -- "$as_dir" ||
23770 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23771 X"$as_dir" : 'X\(//\)[^/]' \| \
23772 X"$as_dir" : 'X\(//\)$' \| \
23773 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23779 /^X\(\/\/\)[^/].*/{
23792 test -d "$as_dir" && break
23794 test -z "$as_dirs" || eval "mkdir $as_dirs"
23795 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23796 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23797 { (exit 1); exit 1; }; }; }
23801 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23803 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23804 # A ".." for each directory in $ac_dir_suffix.
23805 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23806 case $ac_top_builddir_sub in
23807 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23808 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23811 ac_abs_top_builddir=$ac_pwd
23812 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23813 # for backward compatibility:
23814 ac_top_builddir=$ac_top_build_prefix
23817 .) # We are building in place.
23819 ac_top_srcdir=$ac_top_builddir_sub
23820 ac_abs_top_srcdir=$ac_pwd ;;
23821 [\\/]* | ?:[\\/]* ) # Absolute name.
23822 ac_srcdir=$srcdir$ac_dir_suffix;
23823 ac_top_srcdir=$srcdir
23824 ac_abs_top_srcdir=$srcdir ;;
23825 *) # Relative name.
23826 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23827 ac_top_srcdir=$ac_top_build_prefix$srcdir
23828 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23830 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23840 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23841 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23845 cat >>$CONFIG_STATUS <<\_ACEOF
23846 # If the template does not know about datarootdir, expand it.
23847 # FIXME: This hack should be removed a few years after 2.60.
23848 ac_datarootdir_hack=; ac_datarootdir_seen=
23850 case `sed -n '/datarootdir/ {
23859 ' $ac_file_inputs` in
23860 *datarootdir*) ac_datarootdir_seen=yes;;
23861 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23862 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23863 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23865 cat >>$CONFIG_STATUS <<_ACEOF
23866 ac_datarootdir_hack='
23867 s&@datadir@&$datadir&g
23868 s&@docdir@&$docdir&g
23869 s&@infodir@&$infodir&g
23870 s&@localedir@&$localedir&g
23871 s&@mandir@&$mandir&g
23872 s&\\\${datarootdir}&$datarootdir&g' ;;
23876 # Neutralize VPATH when `$srcdir' = `.'.
23877 # Shell code in configure.ac might set extrasub.
23878 # FIXME: do we really want to maintain this feature?
23879 cat >>$CONFIG_STATUS <<_ACEOF
23883 cat >>$CONFIG_STATUS <<\_ACEOF
23885 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23886 s&@configure_input@&$configure_input&;t t
23887 s&@top_builddir@&$ac_top_builddir_sub&;t t
23888 s&@srcdir@&$ac_srcdir&;t t
23889 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23890 s&@top_srcdir@&$ac_top_srcdir&;t t
23891 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23892 s&@builddir@&$ac_builddir&;t t
23893 s&@abs_builddir@&$ac_abs_builddir&;t t
23894 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23895 s&@INSTALL@&$ac_INSTALL&;t t
23896 $ac_datarootdir_hack
23897 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23899 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23900 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23901 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23902 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23903 which seems to be undefined. Please make sure it is defined." >&5
23904 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23905 which seems to be undefined. Please make sure it is defined." >&2;}
23909 -) cat "$tmp/out"; rm -f "$tmp/out";;
23910 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23919 # Transform confdefs.h into a sed script `conftest.defines', that
23920 # substitutes the proper values into config.h.in to produce config.h.
23921 rm -f conftest.defines conftest.tail
23922 # First, append a space to every undef/define line, to ease matching.
23923 echo 's/$/ /' >conftest.defines
23924 # Then, protect against being on the right side of a sed subst, or in
23925 # an unquoted here document, in config.status. If some macros were
23926 # called several times there might be several #defines for the same
23927 # symbol, which is useless. But do not sort them, since the last
23928 # AC_DEFINE must be honored.
23929 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23930 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23931 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23932 # PARAMS is the parameter list in the macro definition--in most cases, it's
23933 # just an empty string.
23934 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23935 ac_dB='\\)[ (].*,\\1define\\2'
23943 s/^[ ]*#[ ]*define[ ][ ]*//
23948 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23949 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23950 ' >>conftest.defines
23952 # Remove the space that was appended to ease matching.
23953 # Then replace #undef with comments. This is necessary, for
23954 # example, in the case of _POSIX_SOURCE, which is predefined and required
23955 # on some systems where configure will not decide to define it.
23956 # (The regexp can be short, since the line contains either #define or #undef.)
23958 s,^[ #]*u.*,/* & */,' >>conftest.defines
23960 # Break up conftest.defines:
23961 ac_max_sed_lines=50
23963 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23964 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23965 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23967 ac_in='$ac_file_inputs'
23968 ac_out='"$tmp/out1"'
23969 ac_nxt='"$tmp/out2"'
23973 # Write a here document:
23974 cat >>$CONFIG_STATUS <<_ACEOF
23975 # First, check the format of the line:
23976 cat >"\$tmp/defines.sed" <<\\CEOF
23977 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23978 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23982 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23984 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23985 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23986 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23987 grep . conftest.tail >/dev/null || break
23988 rm -f conftest.defines
23989 mv conftest.tail conftest.defines
23991 rm -f conftest.defines conftest.tail
23993 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23994 cat >>$CONFIG_STATUS <<\_ACEOF
23995 if test x"$ac_file" != x-; then
23996 echo "/* $configure_input */" >"$tmp/config.h"
23997 cat "$ac_result" >>"$tmp/config.h"
23998 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23999 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24000 echo "$as_me: $ac_file is unchanged" >&6;}
24003 mv "$tmp/config.h" $ac_file
24006 echo "/* $configure_input */"
24012 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24013 echo "$as_me: executing $ac_file commands" >&6;}
24018 case $ac_file$ac_mode in
24019 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24020 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24021 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24022 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24023 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24024 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24025 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24026 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24027 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24028 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24029 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24030 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24031 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24037 { (exit 0); exit 0; }
24039 chmod +x $CONFIG_STATUS
24040 ac_clean_files=$ac_clean_files_save
24043 # configure is writing to config.log, and then calls config.status.
24044 # config.status does its own redirection, appending to config.log.
24045 # Unfortunately, on DOS this fails, as config.log is still kept open
24046 # by configure, so config.status won't be able to write to it; its
24047 # output is simply discarded. So we exec the FD to /dev/null,
24048 # effectively closing config.log, so it can be properly (re)opened and
24049 # appended to by config.status. When coming back to configure, we
24050 # need to make the FD available again.
24051 if test "$no_create" != yes; then
24053 ac_config_status_args=
24054 test "$silent" = yes &&
24055 ac_config_status_args="$ac_config_status_args --quiet"
24057 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24059 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24060 # would make configure fail if this is the last instruction.
24061 $ac_cs_success || { (exit 1); exit 1; }
24065 if test "$no_create" = "yes"
24072 if test "x$wine_notices != "x; then
24074 for msg in $wine_notices; do
24075 if test -n "$msg"; then
24076 { echo "$as_me:$LINENO: $msg" >&5
24077 echo "$as_me: $msg" >&6;}
24081 for msg in $wine_warnings; do
24082 if test -n "$msg"; then
24084 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24085 echo "$as_me: WARNING: $msg" >&2;}
24091 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.